Mercurial > hg > xemacs-beta
comparison configure @ 720:128e95ac472f
[xemacs-hg @ 2001-12-30 04:12:04 by wmperry]
Avoid lots of warnings when using GTK by slapping -Wno-shadow onto the CFLAGS. Make sure to use toolbar-common.o with gtk builds now.
author | wmperry |
---|---|
date | Sun, 30 Dec 2001 04:12:08 +0000 |
parents | 512e4a478e9d |
children | 76d5a3dd827a |
comparison
equal
deleted
inserted
replaced
719:4918199aa355 | 720:128e95ac472f |
---|---|
4466 | 4466 |
4467 cat > conftest.$ac_ext <<EOF | 4467 cat > conftest.$ac_ext <<EOF |
4468 #line 4469 "configure" | 4468 #line 4469 "configure" |
4469 #include "confdefs.h" | 4469 #include "confdefs.h" |
4470 #include <stdio.h> | 4470 #include <stdio.h> |
4471 #include <sys/types.h> | |
4471 main() | 4472 main() |
4472 { | 4473 { |
4473 FILE *f=fopen("conftestval", "w"); | 4474 FILE *f=fopen("conftestval", "w"); |
4474 if (!f) exit(1); | 4475 if (!f) exit(1); |
4475 fprintf(f, "%d\n", sizeof(short)); | 4476 fprintf(f, "%d\n", sizeof(short)); |
4476 exit(0); | 4477 exit(0); |
4477 } | 4478 } |
4478 EOF | 4479 EOF |
4479 if { (eval echo configure:4480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4480 if { (eval echo configure:4481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4480 then | 4481 then |
4481 ac_cv_sizeof_short=`cat conftestval` | 4482 ac_cv_sizeof_short=`cat conftestval` |
4482 else | 4483 else |
4483 conftest_rc="$?" | 4484 conftest_rc="$?" |
4484 echo "configure: failed program was:" >&5 | 4485 echo "configure: failed program was:" >&5 |
4502 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4503 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4503 echo "*** PANIC *** Please examine config.log for compilation errors." | 4504 echo "*** PANIC *** Please examine config.log for compilation errors." |
4504 exit 1 | 4505 exit 1 |
4505 fi | 4506 fi |
4506 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4507 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4507 echo "configure:4508: checking size of int" >&5 | 4508 echo "configure:4509: checking size of int" >&5 |
4508 | 4509 |
4509 cat > conftest.$ac_ext <<EOF | 4510 cat > conftest.$ac_ext <<EOF |
4510 #line 4511 "configure" | 4511 #line 4512 "configure" |
4511 #include "confdefs.h" | 4512 #include "confdefs.h" |
4512 #include <stdio.h> | 4513 #include <stdio.h> |
4514 #include <sys/types.h> | |
4513 main() | 4515 main() |
4514 { | 4516 { |
4515 FILE *f=fopen("conftestval", "w"); | 4517 FILE *f=fopen("conftestval", "w"); |
4516 if (!f) exit(1); | 4518 if (!f) exit(1); |
4517 fprintf(f, "%d\n", sizeof(int)); | 4519 fprintf(f, "%d\n", sizeof(int)); |
4518 exit(0); | 4520 exit(0); |
4519 } | 4521 } |
4520 EOF | 4522 EOF |
4521 if { (eval echo configure:4522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4523 if { (eval echo configure:4524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4522 then | 4524 then |
4523 ac_cv_sizeof_int=`cat conftestval` | 4525 ac_cv_sizeof_int=`cat conftestval` |
4524 else | 4526 else |
4525 conftest_rc="$?" | 4527 conftest_rc="$?" |
4526 echo "configure: failed program was:" >&5 | 4528 echo "configure: failed program was:" >&5 |
4538 EOF | 4540 EOF |
4539 } | 4541 } |
4540 | 4542 |
4541 | 4543 |
4542 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4544 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4543 echo "configure:4544: checking size of long" >&5 | 4545 echo "configure:4546: checking size of long" >&5 |
4544 | 4546 |
4545 cat > conftest.$ac_ext <<EOF | 4547 cat > conftest.$ac_ext <<EOF |
4546 #line 4547 "configure" | 4548 #line 4549 "configure" |
4547 #include "confdefs.h" | 4549 #include "confdefs.h" |
4548 #include <stdio.h> | 4550 #include <stdio.h> |
4551 #include <sys/types.h> | |
4549 main() | 4552 main() |
4550 { | 4553 { |
4551 FILE *f=fopen("conftestval", "w"); | 4554 FILE *f=fopen("conftestval", "w"); |
4552 if (!f) exit(1); | 4555 if (!f) exit(1); |
4553 fprintf(f, "%d\n", sizeof(long)); | 4556 fprintf(f, "%d\n", sizeof(long)); |
4554 exit(0); | 4557 exit(0); |
4555 } | 4558 } |
4556 EOF | 4559 EOF |
4557 if { (eval echo configure:4558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4560 if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4558 then | 4561 then |
4559 ac_cv_sizeof_long=`cat conftestval` | 4562 ac_cv_sizeof_long=`cat conftestval` |
4560 else | 4563 else |
4561 conftest_rc="$?" | 4564 conftest_rc="$?" |
4562 echo "configure: failed program was:" >&5 | 4565 echo "configure: failed program was:" >&5 |
4574 EOF | 4577 EOF |
4575 } | 4578 } |
4576 | 4579 |
4577 | 4580 |
4578 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4581 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4579 echo "configure:4580: checking size of long long" >&5 | 4582 echo "configure:4583: checking size of long long" >&5 |
4580 | 4583 |
4581 cat > conftest.$ac_ext <<EOF | 4584 cat > conftest.$ac_ext <<EOF |
4582 #line 4583 "configure" | 4585 #line 4586 "configure" |
4583 #include "confdefs.h" | 4586 #include "confdefs.h" |
4584 #include <stdio.h> | 4587 #include <stdio.h> |
4588 #include <sys/types.h> | |
4585 main() | 4589 main() |
4586 { | 4590 { |
4587 FILE *f=fopen("conftestval", "w"); | 4591 FILE *f=fopen("conftestval", "w"); |
4588 if (!f) exit(1); | 4592 if (!f) exit(1); |
4589 fprintf(f, "%d\n", sizeof(long long)); | 4593 fprintf(f, "%d\n", sizeof(long long)); |
4590 exit(0); | 4594 exit(0); |
4591 } | 4595 } |
4592 EOF | 4596 EOF |
4593 if { (eval echo configure:4594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4597 if { (eval echo configure:4598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4594 then | 4598 then |
4595 ac_cv_sizeof_long_long=`cat conftestval` | 4599 ac_cv_sizeof_long_long=`cat conftestval` |
4596 else | 4600 else |
4597 conftest_rc="$?" | 4601 conftest_rc="$?" |
4598 echo "configure: failed program was:" >&5 | 4602 echo "configure: failed program was:" >&5 |
4610 EOF | 4614 EOF |
4611 } | 4615 } |
4612 | 4616 |
4613 | 4617 |
4614 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4618 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4615 echo "configure:4616: checking size of void *" >&5 | 4619 echo "configure:4620: checking size of void *" >&5 |
4616 | 4620 |
4617 cat > conftest.$ac_ext <<EOF | 4621 cat > conftest.$ac_ext <<EOF |
4618 #line 4619 "configure" | 4622 #line 4623 "configure" |
4619 #include "confdefs.h" | 4623 #include "confdefs.h" |
4620 #include <stdio.h> | 4624 #include <stdio.h> |
4625 #include <sys/types.h> | |
4621 main() | 4626 main() |
4622 { | 4627 { |
4623 FILE *f=fopen("conftestval", "w"); | 4628 FILE *f=fopen("conftestval", "w"); |
4624 if (!f) exit(1); | 4629 if (!f) exit(1); |
4625 fprintf(f, "%d\n", sizeof(void *)); | 4630 fprintf(f, "%d\n", sizeof(void *)); |
4626 exit(0); | 4631 exit(0); |
4627 } | 4632 } |
4628 EOF | 4633 EOF |
4629 if { (eval echo configure:4630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4634 if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4630 then | 4635 then |
4631 ac_cv_sizeof_void_p=`cat conftestval` | 4636 ac_cv_sizeof_void_p=`cat conftestval` |
4632 else | 4637 else |
4633 conftest_rc="$?" | 4638 conftest_rc="$?" |
4634 echo "configure: failed program was:" >&5 | 4639 echo "configure: failed program was:" >&5 |
4647 } | 4652 } |
4648 | 4653 |
4649 | 4654 |
4650 | 4655 |
4651 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4656 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4652 echo "configure:4653: checking for long file names" >&5 | 4657 echo "configure:4658: checking for long file names" >&5 |
4653 | 4658 |
4654 ac_cv_sys_long_file_names=yes | 4659 ac_cv_sys_long_file_names=yes |
4655 # Test for long file names in all the places we know might matter: | 4660 # Test for long file names in all the places we know might matter: |
4656 # . the current directory, where building will happen | 4661 # . the current directory, where building will happen |
4657 # $prefix/lib where we will be installing things | 4662 # $prefix/lib where we will be installing things |
4693 | 4698 |
4694 fi | 4699 fi |
4695 | 4700 |
4696 | 4701 |
4697 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4702 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4698 echo "configure:4699: checking for sin" >&5 | 4703 echo "configure:4704: checking for sin" >&5 |
4699 | 4704 |
4700 cat > conftest.$ac_ext <<EOF | 4705 cat > conftest.$ac_ext <<EOF |
4701 #line 4702 "configure" | 4706 #line 4707 "configure" |
4702 #include "confdefs.h" | 4707 #include "confdefs.h" |
4703 /* System header to define __stub macros and hopefully few prototypes, | 4708 /* System header to define __stub macros and hopefully few prototypes, |
4704 which can conflict with char sin(); below. */ | 4709 which can conflict with char sin(); below. */ |
4705 #include <assert.h> | 4710 #include <assert.h> |
4706 /* Override any gcc2 internal prototype to avoid an error. */ | 4711 /* Override any gcc2 internal prototype to avoid an error. */ |
4719 sin(); | 4724 sin(); |
4720 #endif | 4725 #endif |
4721 | 4726 |
4722 ; return 0; } | 4727 ; return 0; } |
4723 EOF | 4728 EOF |
4724 if { (eval echo configure:4725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4729 if { (eval echo configure:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4725 rm -rf conftest* | 4730 rm -rf conftest* |
4726 eval "ac_cv_func_sin=yes" | 4731 eval "ac_cv_func_sin=yes" |
4727 else | 4732 else |
4728 echo "configure: failed program was:" >&5 | 4733 echo "configure: failed program was:" >&5 |
4729 cat conftest.$ac_ext >&5 | 4734 cat conftest.$ac_ext >&5 |
4737 : | 4742 : |
4738 else | 4743 else |
4739 echo "$ac_t""no" 1>&6 | 4744 echo "$ac_t""no" 1>&6 |
4740 | 4745 |
4741 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4746 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4742 echo "configure:4743: checking for sin in -lm" >&5 | 4747 echo "configure:4748: checking for sin in -lm" >&5 |
4743 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4748 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4744 | 4749 |
4745 xe_check_libs=" -lm " | 4750 xe_check_libs=" -lm " |
4746 cat > conftest.$ac_ext <<EOF | 4751 cat > conftest.$ac_ext <<EOF |
4747 #line 4748 "configure" | 4752 #line 4753 "configure" |
4748 #include "confdefs.h" | 4753 #include "confdefs.h" |
4749 /* Override any gcc2 internal prototype to avoid an error. */ | 4754 /* Override any gcc2 internal prototype to avoid an error. */ |
4750 /* We use char because int might match the return type of a gcc2 | 4755 /* We use char because int might match the return type of a gcc2 |
4751 builtin and then its argument prototype would still apply. */ | 4756 builtin and then its argument prototype would still apply. */ |
4752 char sin(); | 4757 char sin(); |
4753 | 4758 |
4754 int main() { | 4759 int main() { |
4755 sin() | 4760 sin() |
4756 ; return 0; } | 4761 ; return 0; } |
4757 EOF | 4762 EOF |
4758 if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4763 if { (eval echo configure:4764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4759 rm -rf conftest* | 4764 rm -rf conftest* |
4760 eval "ac_cv_lib_$ac_lib_var=yes" | 4765 eval "ac_cv_lib_$ac_lib_var=yes" |
4761 else | 4766 else |
4762 echo "configure: failed program was:" >&5 | 4767 echo "configure: failed program was:" >&5 |
4763 cat conftest.$ac_ext >&5 | 4768 cat conftest.$ac_ext >&5 |
4797 EOF | 4802 EOF |
4798 } | 4803 } |
4799 | 4804 |
4800 | 4805 |
4801 cat > conftest.$ac_ext <<EOF | 4806 cat > conftest.$ac_ext <<EOF |
4802 #line 4803 "configure" | 4807 #line 4808 "configure" |
4803 #include "confdefs.h" | 4808 #include "confdefs.h" |
4804 #include <math.h> | 4809 #include <math.h> |
4805 int main() { | 4810 int main() { |
4806 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4811 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4807 ; return 0; } | 4812 ; return 0; } |
4808 EOF | 4813 EOF |
4809 if { (eval echo configure:4810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4814 if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4810 rm -rf conftest* | 4815 rm -rf conftest* |
4811 { test "$extra_verbose" = "yes" && cat << \EOF | 4816 { test "$extra_verbose" = "yes" && cat << \EOF |
4812 Defining HAVE_INVERSE_HYPERBOLIC | 4817 Defining HAVE_INVERSE_HYPERBOLIC |
4813 EOF | 4818 EOF |
4814 cat >> confdefs.h <<\EOF | 4819 cat >> confdefs.h <<\EOF |
4823 rm -f conftest* | 4828 rm -f conftest* |
4824 | 4829 |
4825 for ac_func in mkstemp | 4830 for ac_func in mkstemp |
4826 do | 4831 do |
4827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4828 echo "configure:4829: checking for $ac_func" >&5 | 4833 echo "configure:4834: checking for $ac_func" >&5 |
4829 | 4834 |
4830 cat > conftest.$ac_ext <<EOF | 4835 cat > conftest.$ac_ext <<EOF |
4831 #line 4832 "configure" | 4836 #line 4837 "configure" |
4832 #include "confdefs.h" | 4837 #include "confdefs.h" |
4833 /* System header to define __stub macros and hopefully few prototypes, | 4838 /* System header to define __stub macros and hopefully few prototypes, |
4834 which can conflict with char $ac_func(); below. */ | 4839 which can conflict with char $ac_func(); below. */ |
4835 #include <assert.h> | 4840 #include <assert.h> |
4836 /* Override any gcc2 internal prototype to avoid an error. */ | 4841 /* Override any gcc2 internal prototype to avoid an error. */ |
4849 $ac_func(); | 4854 $ac_func(); |
4850 #endif | 4855 #endif |
4851 | 4856 |
4852 ; return 0; } | 4857 ; return 0; } |
4853 EOF | 4858 EOF |
4854 if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4859 if { (eval echo configure:4860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4855 rm -rf conftest* | 4860 rm -rf conftest* |
4856 eval "ac_cv_func_$ac_func=yes" | 4861 eval "ac_cv_func_$ac_func=yes" |
4857 else | 4862 else |
4858 echo "configure: failed program was:" >&5 | 4863 echo "configure: failed program was:" >&5 |
4859 cat conftest.$ac_ext >&5 | 4864 cat conftest.$ac_ext >&5 |
4878 fi | 4883 fi |
4879 done | 4884 done |
4880 | 4885 |
4881 | 4886 |
4882 echo "checking type of mail spool file locking" 1>&6 | 4887 echo "checking type of mail spool file locking" 1>&6 |
4883 echo "configure:4884: checking type of mail spool file locking" >&5 | 4888 echo "configure:4889: checking type of mail spool file locking" >&5 |
4884 for ac_func in lockf flock | 4889 for ac_func in lockf flock |
4885 do | 4890 do |
4886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4887 echo "configure:4888: checking for $ac_func" >&5 | 4892 echo "configure:4893: checking for $ac_func" >&5 |
4888 | 4893 |
4889 cat > conftest.$ac_ext <<EOF | 4894 cat > conftest.$ac_ext <<EOF |
4890 #line 4891 "configure" | 4895 #line 4896 "configure" |
4891 #include "confdefs.h" | 4896 #include "confdefs.h" |
4892 /* System header to define __stub macros and hopefully few prototypes, | 4897 /* System header to define __stub macros and hopefully few prototypes, |
4893 which can conflict with char $ac_func(); below. */ | 4898 which can conflict with char $ac_func(); below. */ |
4894 #include <assert.h> | 4899 #include <assert.h> |
4895 /* Override any gcc2 internal prototype to avoid an error. */ | 4900 /* Override any gcc2 internal prototype to avoid an error. */ |
4908 $ac_func(); | 4913 $ac_func(); |
4909 #endif | 4914 #endif |
4910 | 4915 |
4911 ; return 0; } | 4916 ; return 0; } |
4912 EOF | 4917 EOF |
4913 if { (eval echo configure:4914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4918 if { (eval echo configure:4919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4914 rm -rf conftest* | 4919 rm -rf conftest* |
4915 eval "ac_cv_func_$ac_func=yes" | 4920 eval "ac_cv_func_$ac_func=yes" |
4916 else | 4921 else |
4917 echo "configure: failed program was:" >&5 | 4922 echo "configure: failed program was:" >&5 |
4918 cat conftest.$ac_ext >&5 | 4923 cat conftest.$ac_ext >&5 |
4990 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4995 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4991 | 4996 |
4992 case "$opsys" in decosf*) | 4997 case "$opsys" in decosf*) |
4993 | 4998 |
4994 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4999 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4995 echo "configure:4996: checking for cma_open in -lpthreads" >&5 | 5000 echo "configure:5001: checking for cma_open in -lpthreads" >&5 |
4996 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5001 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4997 | 5002 |
4998 xe_check_libs=" -lpthreads " | 5003 xe_check_libs=" -lpthreads " |
4999 cat > conftest.$ac_ext <<EOF | 5004 cat > conftest.$ac_ext <<EOF |
5000 #line 5001 "configure" | 5005 #line 5006 "configure" |
5001 #include "confdefs.h" | 5006 #include "confdefs.h" |
5002 /* Override any gcc2 internal prototype to avoid an error. */ | 5007 /* Override any gcc2 internal prototype to avoid an error. */ |
5003 /* We use char because int might match the return type of a gcc2 | 5008 /* We use char because int might match the return type of a gcc2 |
5004 builtin and then its argument prototype would still apply. */ | 5009 builtin and then its argument prototype would still apply. */ |
5005 char cma_open(); | 5010 char cma_open(); |
5006 | 5011 |
5007 int main() { | 5012 int main() { |
5008 cma_open() | 5013 cma_open() |
5009 ; return 0; } | 5014 ; return 0; } |
5010 EOF | 5015 EOF |
5011 if { (eval echo configure:5012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5016 if { (eval echo configure:5017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5012 rm -rf conftest* | 5017 rm -rf conftest* |
5013 eval "ac_cv_lib_$ac_lib_var=yes" | 5018 eval "ac_cv_lib_$ac_lib_var=yes" |
5014 else | 5019 else |
5015 echo "configure: failed program was:" >&5 | 5020 echo "configure: failed program was:" >&5 |
5016 cat conftest.$ac_ext >&5 | 5021 cat conftest.$ac_ext >&5 |
5043 c_switch_site="$c_switch_site -threads" ;; | 5048 c_switch_site="$c_switch_site -threads" ;; |
5044 esac | 5049 esac |
5045 | 5050 |
5046 | 5051 |
5047 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5052 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5048 echo "configure:5049: checking whether the -xildoff compiler flag is required" >&5 | 5053 echo "configure:5054: checking whether the -xildoff compiler flag is required" >&5 |
5049 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5054 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5050 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5055 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5051 then echo "$ac_t""no" 1>&6; | 5056 then echo "$ac_t""no" 1>&6; |
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 | 5057 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 |
5053 fi | 5058 fi |
5055 fi | 5060 fi |
5056 | 5061 |
5057 if test "$opsys" = "sol2"; then | 5062 if test "$opsys" = "sol2"; then |
5058 if test "$os_release" -ge 56; then | 5063 if test "$os_release" -ge 56; then |
5059 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5064 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5060 echo "configure:5061: checking for \"-z ignore\" linker flag" >&5 | 5065 echo "configure:5066: checking for \"-z ignore\" linker flag" >&5 |
5061 case "`ld -h 2>&1`" in | 5066 case "`ld -h 2>&1`" in |
5062 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5067 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5063 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5068 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5064 *) echo "$ac_t""no" 1>&6 ;; | 5069 *) echo "$ac_t""no" 1>&6 ;; |
5065 esac | 5070 esac |
5066 fi | 5071 fi |
5067 fi | 5072 fi |
5068 | 5073 |
5069 if test "$pdump" != "yes"; then | 5074 if test "$pdump" != "yes"; then |
5070 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 5075 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
5071 echo "configure:5072: checking for \"-z nocombreloc\" linker flag" >&5 | 5076 echo "configure:5077: checking for \"-z nocombreloc\" linker flag" >&5 |
5072 case "`ld --help 2>&1`" in | 5077 case "`ld --help 2>&1`" in |
5073 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 5078 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
5074 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 5079 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
5075 *) echo "$ac_t""no" 1>&6 ;; | 5080 *) echo "$ac_t""no" 1>&6 ;; |
5076 esac | 5081 esac |
5077 fi | 5082 fi |
5078 | 5083 |
5079 | 5084 |
5080 echo "checking "for specified window system"" 1>&6 | 5085 echo "checking "for specified window system"" 1>&6 |
5081 echo "configure:5082: checking "for specified window system"" >&5 | 5086 echo "configure:5087: checking "for specified window system"" >&5 |
5082 | 5087 |
5083 | 5088 |
5084 GNOME_CONFIG=no | 5089 GNOME_CONFIG=no |
5085 GTK_CONFIG=no | 5090 GTK_CONFIG=no |
5086 | 5091 |
5087 if test "$with_gnome" != "no"; then | 5092 if test "$with_gnome" != "no"; then |
5088 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5093 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5089 echo "configure:5090: checking for GNOME configuration script" >&5 | 5094 echo "configure:5095: checking for GNOME configuration script" >&5 |
5090 for possible in gnome-config | 5095 for possible in gnome-config |
5091 do | 5096 do |
5092 possible_version=`${possible} --version 2> /dev/null` | 5097 possible_version=`${possible} --version 2> /dev/null` |
5093 if test "x${possible_version}" != "x"; then | 5098 if test "x${possible_version}" != "x"; then |
5094 GNOME_CONFIG="${possible}" | 5099 GNOME_CONFIG="${possible}" |
5115 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5120 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5116 fi | 5121 fi |
5117 | 5122 |
5118 if test "$with_gtk" != "no";then | 5123 if test "$with_gtk" != "no";then |
5119 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5124 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5120 echo "configure:5121: checking for GTK configuration script" >&5 | 5125 echo "configure:5126: checking for GTK configuration script" >&5 |
5121 for possible in gtk12-config gtk14-config gtk-config | 5126 for possible in gtk12-config gtk14-config gtk-config |
5122 do | 5127 do |
5123 possible_version=`${possible} --version 2> /dev/null` | 5128 possible_version=`${possible} --version 2> /dev/null` |
5124 if test "x${possible_version}" != "x"; then | 5129 if test "x${possible_version}" != "x"; then |
5125 GTK_CONFIG="${possible}" | 5130 GTK_CONFIG="${possible}" |
5137 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5142 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5138 fi | 5143 fi |
5139 | 5144 |
5140 if test "${GTK_CONFIG}" != "no"; then | 5145 if test "${GTK_CONFIG}" != "no"; then |
5141 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5146 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5142 echo "configure:5143: checking gtk version" >&5 | 5147 echo "configure:5148: checking gtk version" >&5 |
5143 GTK_VERSION=`${GTK_CONFIG} --version` | 5148 GTK_VERSION=`${GTK_CONFIG} --version` |
5144 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5149 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5145 | 5150 |
5146 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5151 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5147 echo "configure:5148: checking gtk libs" >&5 | 5152 echo "configure:5153: checking gtk libs" >&5 |
5148 GTK_LIBS=`${GTK_CONFIG} --libs` | 5153 GTK_LIBS=`${GTK_CONFIG} --libs` |
5149 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5154 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5150 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5155 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5151 | 5156 |
5152 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5157 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5153 echo "configure:5154: checking gtk cflags" >&5 | 5158 echo "configure:5159: checking gtk cflags" >&5 |
5154 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5159 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5160 if test "$GCC" = "yes"; then | |
5161 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | |
5162 fi | |
5155 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5163 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5156 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5164 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5157 | 5165 |
5158 | 5166 |
5159 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5167 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5160 echo "configure:5161: checking for main in -lgdk_imlib" >&5 | 5168 echo "configure:5169: checking for main in -lgdk_imlib" >&5 |
5161 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5169 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5162 | 5170 |
5163 xe_check_libs=" -lgdk_imlib " | 5171 xe_check_libs=" -lgdk_imlib " |
5164 cat > conftest.$ac_ext <<EOF | 5172 cat > conftest.$ac_ext <<EOF |
5165 #line 5166 "configure" | 5173 #line 5174 "configure" |
5166 #include "confdefs.h" | 5174 #include "confdefs.h" |
5167 | 5175 |
5168 int main() { | 5176 int main() { |
5169 main() | 5177 main() |
5170 ; return 0; } | 5178 ; return 0; } |
5171 EOF | 5179 EOF |
5172 if { (eval echo configure:5173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5180 if { (eval echo configure:5181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5173 rm -rf conftest* | 5181 rm -rf conftest* |
5174 eval "ac_cv_lib_$ac_lib_var=yes" | 5182 eval "ac_cv_lib_$ac_lib_var=yes" |
5175 else | 5183 else |
5176 echo "configure: failed program was:" >&5 | 5184 echo "configure: failed program was:" >&5 |
5177 cat conftest.$ac_ext >&5 | 5185 cat conftest.$ac_ext >&5 |
5189 fi | 5197 fi |
5190 | 5198 |
5191 | 5199 |
5192 | 5200 |
5193 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5201 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5194 echo "configure:5195: checking for Imlib_init in -lImlib" >&5 | 5202 echo "configure:5203: checking for Imlib_init in -lImlib" >&5 |
5195 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5203 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5196 | 5204 |
5197 xe_check_libs=" -lImlib " | 5205 xe_check_libs=" -lImlib " |
5198 cat > conftest.$ac_ext <<EOF | 5206 cat > conftest.$ac_ext <<EOF |
5199 #line 5200 "configure" | 5207 #line 5208 "configure" |
5200 #include "confdefs.h" | 5208 #include "confdefs.h" |
5201 /* Override any gcc2 internal prototype to avoid an error. */ | 5209 /* Override any gcc2 internal prototype to avoid an error. */ |
5202 /* We use char because int might match the return type of a gcc2 | 5210 /* We use char because int might match the return type of a gcc2 |
5203 builtin and then its argument prototype would still apply. */ | 5211 builtin and then its argument prototype would still apply. */ |
5204 char Imlib_init(); | 5212 char Imlib_init(); |
5205 | 5213 |
5206 int main() { | 5214 int main() { |
5207 Imlib_init() | 5215 Imlib_init() |
5208 ; return 0; } | 5216 ; return 0; } |
5209 EOF | 5217 EOF |
5210 if { (eval echo configure:5211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5218 if { (eval echo configure:5219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5211 rm -rf conftest* | 5219 rm -rf conftest* |
5212 eval "ac_cv_lib_$ac_lib_var=yes" | 5220 eval "ac_cv_lib_$ac_lib_var=yes" |
5213 else | 5221 else |
5214 echo "configure: failed program was:" >&5 | 5222 echo "configure: failed program was:" >&5 |
5215 cat conftest.$ac_ext >&5 | 5223 cat conftest.$ac_ext >&5 |
5228 | 5236 |
5229 | 5237 |
5230 for ac_func in gdk_imlib_init | 5238 for ac_func in gdk_imlib_init |
5231 do | 5239 do |
5232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5233 echo "configure:5234: checking for $ac_func" >&5 | 5241 echo "configure:5242: checking for $ac_func" >&5 |
5234 | 5242 |
5235 cat > conftest.$ac_ext <<EOF | 5243 cat > conftest.$ac_ext <<EOF |
5236 #line 5237 "configure" | 5244 #line 5245 "configure" |
5237 #include "confdefs.h" | 5245 #include "confdefs.h" |
5238 /* System header to define __stub macros and hopefully few prototypes, | 5246 /* System header to define __stub macros and hopefully few prototypes, |
5239 which can conflict with char $ac_func(); below. */ | 5247 which can conflict with char $ac_func(); below. */ |
5240 #include <assert.h> | 5248 #include <assert.h> |
5241 /* Override any gcc2 internal prototype to avoid an error. */ | 5249 /* Override any gcc2 internal prototype to avoid an error. */ |
5254 $ac_func(); | 5262 $ac_func(); |
5255 #endif | 5263 #endif |
5256 | 5264 |
5257 ; return 0; } | 5265 ; return 0; } |
5258 EOF | 5266 EOF |
5259 if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5267 if { (eval echo configure:5268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5260 rm -rf conftest* | 5268 rm -rf conftest* |
5261 eval "ac_cv_func_$ac_func=yes" | 5269 eval "ac_cv_func_$ac_func=yes" |
5262 else | 5270 else |
5263 echo "configure: failed program was:" >&5 | 5271 echo "configure: failed program was:" >&5 |
5264 cat conftest.$ac_ext >&5 | 5272 cat conftest.$ac_ext >&5 |
5331 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5339 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5332 for ac_hdr in glade/glade.h glade.h | 5340 for ac_hdr in glade/glade.h glade.h |
5333 do | 5341 do |
5334 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5342 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5335 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5343 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5336 echo "configure:5337: checking for $ac_hdr" >&5 | 5344 echo "configure:5345: checking for $ac_hdr" >&5 |
5337 | 5345 |
5338 cat > conftest.$ac_ext <<EOF | 5346 cat > conftest.$ac_ext <<EOF |
5339 #line 5340 "configure" | 5347 #line 5348 "configure" |
5340 #include "confdefs.h" | 5348 #include "confdefs.h" |
5341 #include <$ac_hdr> | 5349 #include <$ac_hdr> |
5342 EOF | 5350 EOF |
5343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5344 { (eval echo configure:5345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5352 { (eval echo configure:5353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5346 if test -z "$ac_err"; then | 5354 if test -z "$ac_err"; then |
5347 rm -rf conftest* | 5355 rm -rf conftest* |
5348 eval "ac_cv_header_$ac_safe=yes" | 5356 eval "ac_cv_header_$ac_safe=yes" |
5349 else | 5357 else |
5370 fi | 5378 fi |
5371 done | 5379 done |
5372 | 5380 |
5373 | 5381 |
5374 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5382 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5375 echo "configure:5376: checking for main in -lxml" >&5 | 5383 echo "configure:5384: checking for main in -lxml" >&5 |
5376 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5384 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5377 | 5385 |
5378 xe_check_libs=" -lxml " | 5386 xe_check_libs=" -lxml " |
5379 cat > conftest.$ac_ext <<EOF | 5387 cat > conftest.$ac_ext <<EOF |
5380 #line 5381 "configure" | 5388 #line 5389 "configure" |
5381 #include "confdefs.h" | 5389 #include "confdefs.h" |
5382 | 5390 |
5383 int main() { | 5391 int main() { |
5384 main() | 5392 main() |
5385 ; return 0; } | 5393 ; return 0; } |
5386 EOF | 5394 EOF |
5387 if { (eval echo configure:5388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5395 if { (eval echo configure:5396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5388 rm -rf conftest* | 5396 rm -rf conftest* |
5389 eval "ac_cv_lib_$ac_lib_var=yes" | 5397 eval "ac_cv_lib_$ac_lib_var=yes" |
5390 else | 5398 else |
5391 echo "configure: failed program was:" >&5 | 5399 echo "configure: failed program was:" >&5 |
5392 cat conftest.$ac_ext >&5 | 5400 cat conftest.$ac_ext >&5 |
5404 fi | 5412 fi |
5405 | 5413 |
5406 | 5414 |
5407 | 5415 |
5408 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5416 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5409 echo "configure:5410: checking for main in -lglade" >&5 | 5417 echo "configure:5418: checking for main in -lglade" >&5 |
5410 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5418 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5411 | 5419 |
5412 xe_check_libs=" -lglade " | 5420 xe_check_libs=" -lglade " |
5413 cat > conftest.$ac_ext <<EOF | 5421 cat > conftest.$ac_ext <<EOF |
5414 #line 5415 "configure" | 5422 #line 5423 "configure" |
5415 #include "confdefs.h" | 5423 #include "confdefs.h" |
5416 | 5424 |
5417 int main() { | 5425 int main() { |
5418 main() | 5426 main() |
5419 ; return 0; } | 5427 ; return 0; } |
5420 EOF | 5428 EOF |
5421 if { (eval echo configure:5422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5422 rm -rf conftest* | 5430 rm -rf conftest* |
5423 eval "ac_cv_lib_$ac_lib_var=yes" | 5431 eval "ac_cv_lib_$ac_lib_var=yes" |
5424 else | 5432 else |
5425 echo "configure: failed program was:" >&5 | 5433 echo "configure: failed program was:" >&5 |
5426 cat conftest.$ac_ext >&5 | 5434 cat conftest.$ac_ext >&5 |
5438 fi | 5446 fi |
5439 | 5447 |
5440 | 5448 |
5441 | 5449 |
5442 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5450 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5443 echo "configure:5444: checking for main in -lglade-gnome" >&5 | 5451 echo "configure:5452: checking for main in -lglade-gnome" >&5 |
5444 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5452 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5445 | 5453 |
5446 xe_check_libs=" -lglade-gnome " | 5454 xe_check_libs=" -lglade-gnome " |
5447 cat > conftest.$ac_ext <<EOF | 5455 cat > conftest.$ac_ext <<EOF |
5448 #line 5449 "configure" | 5456 #line 5457 "configure" |
5449 #include "confdefs.h" | 5457 #include "confdefs.h" |
5450 | 5458 |
5451 int main() { | 5459 int main() { |
5452 main() | 5460 main() |
5453 ; return 0; } | 5461 ; return 0; } |
5454 EOF | 5462 EOF |
5455 if { (eval echo configure:5456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5463 if { (eval echo configure:5464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5456 rm -rf conftest* | 5464 rm -rf conftest* |
5457 eval "ac_cv_lib_$ac_lib_var=yes" | 5465 eval "ac_cv_lib_$ac_lib_var=yes" |
5458 else | 5466 else |
5459 echo "configure: failed program was:" >&5 | 5467 echo "configure: failed program was:" >&5 |
5460 cat conftest.$ac_ext >&5 | 5468 cat conftest.$ac_ext >&5 |
5471 echo "$ac_t""no" 1>&6 | 5479 echo "$ac_t""no" 1>&6 |
5472 fi | 5480 fi |
5473 | 5481 |
5474 | 5482 |
5475 cat > conftest.$ac_ext <<EOF | 5483 cat > conftest.$ac_ext <<EOF |
5476 #line 5477 "configure" | 5484 #line 5485 "configure" |
5477 #include "confdefs.h" | 5485 #include "confdefs.h" |
5478 #include <glade/glade-xml.h> | 5486 #include <glade/glade-xml.h> |
5479 EOF | 5487 EOF |
5480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5481 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5489 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5529 # If we find X, set shell vars x_includes and x_libraries to the | 5537 # If we find X, set shell vars x_includes and x_libraries to the |
5530 # paths, otherwise set no_x=yes. | 5538 # paths, otherwise set no_x=yes. |
5531 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5539 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5532 # --without-x overrides everything else, but does not touch the cache. | 5540 # --without-x overrides everything else, but does not touch the cache. |
5533 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5541 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5534 echo "configure:5535: checking for X" >&5 | 5542 echo "configure:5543: checking for X" >&5 |
5535 | 5543 |
5536 # Check whether --with-x or --without-x was given. | 5544 # Check whether --with-x or --without-x was given. |
5537 if test "${with_x+set}" = set; then | 5545 if test "${with_x+set}" = set; then |
5538 withval="$with_x" | 5546 withval="$with_x" |
5539 : | 5547 : |
5589 # Guess where to find include files, by looking for this one X11 .h file. | 5597 # Guess where to find include files, by looking for this one X11 .h file. |
5590 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5598 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5591 | 5599 |
5592 # First, try using that file with no special directory specified. | 5600 # First, try using that file with no special directory specified. |
5593 cat > conftest.$ac_ext <<EOF | 5601 cat > conftest.$ac_ext <<EOF |
5594 #line 5595 "configure" | 5602 #line 5603 "configure" |
5595 #include "confdefs.h" | 5603 #include "confdefs.h" |
5596 #include <$x_direct_test_include> | 5604 #include <$x_direct_test_include> |
5597 EOF | 5605 EOF |
5598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5599 { (eval echo configure:5600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5607 { (eval echo configure:5608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5601 if test -z "$ac_err"; then | 5609 if test -z "$ac_err"; then |
5602 rm -rf conftest* | 5610 rm -rf conftest* |
5603 # We can compile using X headers with no special include directory. | 5611 # We can compile using X headers with no special include directory. |
5604 ac_x_includes= | 5612 ac_x_includes= |
5663 # See if we find them without any special options. | 5671 # See if we find them without any special options. |
5664 # Don't add to $LIBS permanently. | 5672 # Don't add to $LIBS permanently. |
5665 ac_save_LIBS="$LIBS" | 5673 ac_save_LIBS="$LIBS" |
5666 LIBS="-l$x_direct_test_library $LIBS" | 5674 LIBS="-l$x_direct_test_library $LIBS" |
5667 cat > conftest.$ac_ext <<EOF | 5675 cat > conftest.$ac_ext <<EOF |
5668 #line 5669 "configure" | 5676 #line 5677 "configure" |
5669 #include "confdefs.h" | 5677 #include "confdefs.h" |
5670 | 5678 |
5671 int main() { | 5679 int main() { |
5672 ${x_direct_test_function}() | 5680 ${x_direct_test_function}() |
5673 ; return 0; } | 5681 ; return 0; } |
5674 EOF | 5682 EOF |
5675 if { (eval echo configure:5676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5683 if { (eval echo configure:5684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5676 rm -rf conftest* | 5684 rm -rf conftest* |
5677 LIBS="$ac_save_LIBS" | 5685 LIBS="$ac_save_LIBS" |
5678 # We can link X programs with no special library path. | 5686 # We can link X programs with no special library path. |
5679 ac_x_libraries= | 5687 ac_x_libraries= |
5680 else | 5688 else |
5779 # For Solaris; some versions of Sun CC require a space after -R and | 5787 # For Solaris; some versions of Sun CC require a space after -R and |
5780 # others require no space. Words are not sufficient . . . . | 5788 # others require no space. Words are not sufficient . . . . |
5781 case "`(uname -sr) 2>/dev/null`" in | 5789 case "`(uname -sr) 2>/dev/null`" in |
5782 "SunOS 5"*) | 5790 "SunOS 5"*) |
5783 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5791 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5784 echo "configure:5785: checking whether -R must be followed by a space" >&5 | 5792 echo "configure:5793: checking whether -R must be followed by a space" >&5 |
5785 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5793 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5786 cat > conftest.$ac_ext <<EOF | 5794 cat > conftest.$ac_ext <<EOF |
5787 #line 5788 "configure" | 5795 #line 5796 "configure" |
5788 #include "confdefs.h" | 5796 #include "confdefs.h" |
5789 | 5797 |
5790 int main() { | 5798 int main() { |
5791 | 5799 |
5792 ; return 0; } | 5800 ; return 0; } |
5793 EOF | 5801 EOF |
5794 if { (eval echo configure:5795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5802 if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5795 rm -rf conftest* | 5803 rm -rf conftest* |
5796 ac_R_nospace=yes | 5804 ac_R_nospace=yes |
5797 else | 5805 else |
5798 echo "configure: failed program was:" >&5 | 5806 echo "configure: failed program was:" >&5 |
5799 cat conftest.$ac_ext >&5 | 5807 cat conftest.$ac_ext >&5 |
5805 echo "$ac_t""no" 1>&6 | 5813 echo "$ac_t""no" 1>&6 |
5806 X_LIBS="$X_LIBS -R$x_libraries" | 5814 X_LIBS="$X_LIBS -R$x_libraries" |
5807 else | 5815 else |
5808 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5816 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5809 cat > conftest.$ac_ext <<EOF | 5817 cat > conftest.$ac_ext <<EOF |
5810 #line 5811 "configure" | 5818 #line 5819 "configure" |
5811 #include "confdefs.h" | 5819 #include "confdefs.h" |
5812 | 5820 |
5813 int main() { | 5821 int main() { |
5814 | 5822 |
5815 ; return 0; } | 5823 ; return 0; } |
5816 EOF | 5824 EOF |
5817 if { (eval echo configure:5818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5825 if { (eval echo configure:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5818 rm -rf conftest* | 5826 rm -rf conftest* |
5819 ac_R_space=yes | 5827 ac_R_space=yes |
5820 else | 5828 else |
5821 echo "configure: failed program was:" >&5 | 5829 echo "configure: failed program was:" >&5 |
5822 cat conftest.$ac_ext >&5 | 5830 cat conftest.$ac_ext >&5 |
5848 if test "$with_dnet" = "no" ; then | 5856 if test "$with_dnet" = "no" ; then |
5849 ac_cv_lib_dnet_dnet_ntoa=no | 5857 ac_cv_lib_dnet_dnet_ntoa=no |
5850 else | 5858 else |
5851 | 5859 |
5852 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5860 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5853 echo "configure:5854: checking for dnet_ntoa in -ldnet" >&5 | 5861 echo "configure:5862: checking for dnet_ntoa in -ldnet" >&5 |
5854 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5862 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5855 | 5863 |
5856 xe_check_libs=" -ldnet " | 5864 xe_check_libs=" -ldnet " |
5857 cat > conftest.$ac_ext <<EOF | 5865 cat > conftest.$ac_ext <<EOF |
5858 #line 5859 "configure" | 5866 #line 5867 "configure" |
5859 #include "confdefs.h" | 5867 #include "confdefs.h" |
5860 /* Override any gcc2 internal prototype to avoid an error. */ | 5868 /* Override any gcc2 internal prototype to avoid an error. */ |
5861 /* We use char because int might match the return type of a gcc2 | 5869 /* We use char because int might match the return type of a gcc2 |
5862 builtin and then its argument prototype would still apply. */ | 5870 builtin and then its argument prototype would still apply. */ |
5863 char dnet_ntoa(); | 5871 char dnet_ntoa(); |
5864 | 5872 |
5865 int main() { | 5873 int main() { |
5866 dnet_ntoa() | 5874 dnet_ntoa() |
5867 ; return 0; } | 5875 ; return 0; } |
5868 EOF | 5876 EOF |
5869 if { (eval echo configure:5870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5877 if { (eval echo configure:5878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5870 rm -rf conftest* | 5878 rm -rf conftest* |
5871 eval "ac_cv_lib_$ac_lib_var=yes" | 5879 eval "ac_cv_lib_$ac_lib_var=yes" |
5872 else | 5880 else |
5873 echo "configure: failed program was:" >&5 | 5881 echo "configure: failed program was:" >&5 |
5874 cat conftest.$ac_ext >&5 | 5882 cat conftest.$ac_ext >&5 |
5888 fi | 5896 fi |
5889 | 5897 |
5890 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5898 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5891 | 5899 |
5892 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5900 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5893 echo "configure:5894: checking for dnet_ntoa in -ldnet_stub" >&5 | 5901 echo "configure:5902: checking for dnet_ntoa in -ldnet_stub" >&5 |
5894 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5902 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5895 | 5903 |
5896 xe_check_libs=" -ldnet_stub " | 5904 xe_check_libs=" -ldnet_stub " |
5897 cat > conftest.$ac_ext <<EOF | 5905 cat > conftest.$ac_ext <<EOF |
5898 #line 5899 "configure" | 5906 #line 5907 "configure" |
5899 #include "confdefs.h" | 5907 #include "confdefs.h" |
5900 /* Override any gcc2 internal prototype to avoid an error. */ | 5908 /* Override any gcc2 internal prototype to avoid an error. */ |
5901 /* We use char because int might match the return type of a gcc2 | 5909 /* We use char because int might match the return type of a gcc2 |
5902 builtin and then its argument prototype would still apply. */ | 5910 builtin and then its argument prototype would still apply. */ |
5903 char dnet_ntoa(); | 5911 char dnet_ntoa(); |
5904 | 5912 |
5905 int main() { | 5913 int main() { |
5906 dnet_ntoa() | 5914 dnet_ntoa() |
5907 ; return 0; } | 5915 ; return 0; } |
5908 EOF | 5916 EOF |
5909 if { (eval echo configure:5910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5917 if { (eval echo configure:5918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5910 rm -rf conftest* | 5918 rm -rf conftest* |
5911 eval "ac_cv_lib_$ac_lib_var=yes" | 5919 eval "ac_cv_lib_$ac_lib_var=yes" |
5912 else | 5920 else |
5913 echo "configure: failed program was:" >&5 | 5921 echo "configure: failed program was:" >&5 |
5914 cat conftest.$ac_ext >&5 | 5922 cat conftest.$ac_ext >&5 |
5933 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5941 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5934 # needs -lnsl. | 5942 # needs -lnsl. |
5935 # The nsl library prevents programs from opening the X display | 5943 # The nsl library prevents programs from opening the X display |
5936 # on Irix 5.2, according to dickey@clark.net. | 5944 # on Irix 5.2, according to dickey@clark.net. |
5937 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5945 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5938 echo "configure:5939: checking for gethostbyname" >&5 | 5946 echo "configure:5947: checking for gethostbyname" >&5 |
5939 | 5947 |
5940 cat > conftest.$ac_ext <<EOF | 5948 cat > conftest.$ac_ext <<EOF |
5941 #line 5942 "configure" | 5949 #line 5950 "configure" |
5942 #include "confdefs.h" | 5950 #include "confdefs.h" |
5943 /* System header to define __stub macros and hopefully few prototypes, | 5951 /* System header to define __stub macros and hopefully few prototypes, |
5944 which can conflict with char gethostbyname(); below. */ | 5952 which can conflict with char gethostbyname(); below. */ |
5945 #include <assert.h> | 5953 #include <assert.h> |
5946 /* Override any gcc2 internal prototype to avoid an error. */ | 5954 /* Override any gcc2 internal prototype to avoid an error. */ |
5959 gethostbyname(); | 5967 gethostbyname(); |
5960 #endif | 5968 #endif |
5961 | 5969 |
5962 ; return 0; } | 5970 ; return 0; } |
5963 EOF | 5971 EOF |
5964 if { (eval echo configure:5965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5972 if { (eval echo configure:5973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5965 rm -rf conftest* | 5973 rm -rf conftest* |
5966 eval "ac_cv_func_gethostbyname=yes" | 5974 eval "ac_cv_func_gethostbyname=yes" |
5967 else | 5975 else |
5968 echo "configure: failed program was:" >&5 | 5976 echo "configure: failed program was:" >&5 |
5969 cat conftest.$ac_ext >&5 | 5977 cat conftest.$ac_ext >&5 |
5980 fi | 5988 fi |
5981 | 5989 |
5982 if test $ac_cv_func_gethostbyname = no; then | 5990 if test $ac_cv_func_gethostbyname = no; then |
5983 | 5991 |
5984 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5992 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5985 echo "configure:5986: checking for gethostbyname in -lnsl" >&5 | 5993 echo "configure:5994: checking for gethostbyname in -lnsl" >&5 |
5986 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5994 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5987 | 5995 |
5988 xe_check_libs=" -lnsl " | 5996 xe_check_libs=" -lnsl " |
5989 cat > conftest.$ac_ext <<EOF | 5997 cat > conftest.$ac_ext <<EOF |
5990 #line 5991 "configure" | 5998 #line 5999 "configure" |
5991 #include "confdefs.h" | 5999 #include "confdefs.h" |
5992 /* Override any gcc2 internal prototype to avoid an error. */ | 6000 /* Override any gcc2 internal prototype to avoid an error. */ |
5993 /* We use char because int might match the return type of a gcc2 | 6001 /* We use char because int might match the return type of a gcc2 |
5994 builtin and then its argument prototype would still apply. */ | 6002 builtin and then its argument prototype would still apply. */ |
5995 char gethostbyname(); | 6003 char gethostbyname(); |
5996 | 6004 |
5997 int main() { | 6005 int main() { |
5998 gethostbyname() | 6006 gethostbyname() |
5999 ; return 0; } | 6007 ; return 0; } |
6000 EOF | 6008 EOF |
6001 if { (eval echo configure:6002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6009 if { (eval echo configure:6010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6002 rm -rf conftest* | 6010 rm -rf conftest* |
6003 eval "ac_cv_lib_$ac_lib_var=yes" | 6011 eval "ac_cv_lib_$ac_lib_var=yes" |
6004 else | 6012 else |
6005 echo "configure: failed program was:" >&5 | 6013 echo "configure: failed program was:" >&5 |
6006 cat conftest.$ac_ext >&5 | 6014 cat conftest.$ac_ext >&5 |
6026 # on later versions), says simon@lia.di.epfl.ch: it contains | 6034 # on later versions), says simon@lia.di.epfl.ch: it contains |
6027 # gethostby* variants that don't use the nameserver (or something). | 6035 # gethostby* variants that don't use the nameserver (or something). |
6028 # -lsocket must be given before -lnsl if both are needed. | 6036 # -lsocket must be given before -lnsl if both are needed. |
6029 # We assume that if connect needs -lnsl, so does gethostbyname. | 6037 # We assume that if connect needs -lnsl, so does gethostbyname. |
6030 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6038 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6031 echo "configure:6032: checking for connect" >&5 | 6039 echo "configure:6040: checking for connect" >&5 |
6032 | 6040 |
6033 cat > conftest.$ac_ext <<EOF | 6041 cat > conftest.$ac_ext <<EOF |
6034 #line 6035 "configure" | 6042 #line 6043 "configure" |
6035 #include "confdefs.h" | 6043 #include "confdefs.h" |
6036 /* System header to define __stub macros and hopefully few prototypes, | 6044 /* System header to define __stub macros and hopefully few prototypes, |
6037 which can conflict with char connect(); below. */ | 6045 which can conflict with char connect(); below. */ |
6038 #include <assert.h> | 6046 #include <assert.h> |
6039 /* Override any gcc2 internal prototype to avoid an error. */ | 6047 /* Override any gcc2 internal prototype to avoid an error. */ |
6052 connect(); | 6060 connect(); |
6053 #endif | 6061 #endif |
6054 | 6062 |
6055 ; return 0; } | 6063 ; return 0; } |
6056 EOF | 6064 EOF |
6057 if { (eval echo configure:6058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6065 if { (eval echo configure:6066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6058 rm -rf conftest* | 6066 rm -rf conftest* |
6059 eval "ac_cv_func_connect=yes" | 6067 eval "ac_cv_func_connect=yes" |
6060 else | 6068 else |
6061 echo "configure: failed program was:" >&5 | 6069 echo "configure: failed program was:" >&5 |
6062 cat conftest.$ac_ext >&5 | 6070 cat conftest.$ac_ext >&5 |
6075 if test $ac_cv_func_connect = no; then | 6083 if test $ac_cv_func_connect = no; then |
6076 | 6084 |
6077 xe_msg_checking="for connect in -lsocket" | 6085 xe_msg_checking="for connect in -lsocket" |
6078 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6086 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6079 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6087 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6080 echo "configure:6081: checking "$xe_msg_checking"" >&5 | 6088 echo "configure:6089: checking "$xe_msg_checking"" >&5 |
6081 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6089 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6082 | 6090 |
6083 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6091 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6084 cat > conftest.$ac_ext <<EOF | 6092 cat > conftest.$ac_ext <<EOF |
6085 #line 6086 "configure" | 6093 #line 6094 "configure" |
6086 #include "confdefs.h" | 6094 #include "confdefs.h" |
6087 /* Override any gcc2 internal prototype to avoid an error. */ | 6095 /* Override any gcc2 internal prototype to avoid an error. */ |
6088 /* We use char because int might match the return type of a gcc2 | 6096 /* We use char because int might match the return type of a gcc2 |
6089 builtin and then its argument prototype would still apply. */ | 6097 builtin and then its argument prototype would still apply. */ |
6090 char connect(); | 6098 char connect(); |
6091 | 6099 |
6092 int main() { | 6100 int main() { |
6093 connect() | 6101 connect() |
6094 ; return 0; } | 6102 ; return 0; } |
6095 EOF | 6103 EOF |
6096 if { (eval echo configure:6097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6104 if { (eval echo configure:6105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6097 rm -rf conftest* | 6105 rm -rf conftest* |
6098 eval "ac_cv_lib_$ac_lib_var=yes" | 6106 eval "ac_cv_lib_$ac_lib_var=yes" |
6099 else | 6107 else |
6100 echo "configure: failed program was:" >&5 | 6108 echo "configure: failed program was:" >&5 |
6101 cat conftest.$ac_ext >&5 | 6109 cat conftest.$ac_ext >&5 |
6115 | 6123 |
6116 fi | 6124 fi |
6117 | 6125 |
6118 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6126 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6119 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6127 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6120 echo "configure:6121: checking for remove" >&5 | 6128 echo "configure:6129: checking for remove" >&5 |
6121 | 6129 |
6122 cat > conftest.$ac_ext <<EOF | 6130 cat > conftest.$ac_ext <<EOF |
6123 #line 6124 "configure" | 6131 #line 6132 "configure" |
6124 #include "confdefs.h" | 6132 #include "confdefs.h" |
6125 /* System header to define __stub macros and hopefully few prototypes, | 6133 /* System header to define __stub macros and hopefully few prototypes, |
6126 which can conflict with char remove(); below. */ | 6134 which can conflict with char remove(); below. */ |
6127 #include <assert.h> | 6135 #include <assert.h> |
6128 /* Override any gcc2 internal prototype to avoid an error. */ | 6136 /* Override any gcc2 internal prototype to avoid an error. */ |
6141 remove(); | 6149 remove(); |
6142 #endif | 6150 #endif |
6143 | 6151 |
6144 ; return 0; } | 6152 ; return 0; } |
6145 EOF | 6153 EOF |
6146 if { (eval echo configure:6147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6154 if { (eval echo configure:6155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6147 rm -rf conftest* | 6155 rm -rf conftest* |
6148 eval "ac_cv_func_remove=yes" | 6156 eval "ac_cv_func_remove=yes" |
6149 else | 6157 else |
6150 echo "configure: failed program was:" >&5 | 6158 echo "configure: failed program was:" >&5 |
6151 cat conftest.$ac_ext >&5 | 6159 cat conftest.$ac_ext >&5 |
6162 fi | 6170 fi |
6163 | 6171 |
6164 if test $ac_cv_func_remove = no; then | 6172 if test $ac_cv_func_remove = no; then |
6165 | 6173 |
6166 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6174 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6167 echo "configure:6168: checking for remove in -lposix" >&5 | 6175 echo "configure:6176: checking for remove in -lposix" >&5 |
6168 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6176 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6169 | 6177 |
6170 xe_check_libs=" -lposix " | 6178 xe_check_libs=" -lposix " |
6171 cat > conftest.$ac_ext <<EOF | 6179 cat > conftest.$ac_ext <<EOF |
6172 #line 6173 "configure" | 6180 #line 6181 "configure" |
6173 #include "confdefs.h" | 6181 #include "confdefs.h" |
6174 /* Override any gcc2 internal prototype to avoid an error. */ | 6182 /* Override any gcc2 internal prototype to avoid an error. */ |
6175 /* We use char because int might match the return type of a gcc2 | 6183 /* We use char because int might match the return type of a gcc2 |
6176 builtin and then its argument prototype would still apply. */ | 6184 builtin and then its argument prototype would still apply. */ |
6177 char remove(); | 6185 char remove(); |
6178 | 6186 |
6179 int main() { | 6187 int main() { |
6180 remove() | 6188 remove() |
6181 ; return 0; } | 6189 ; return 0; } |
6182 EOF | 6190 EOF |
6183 if { (eval echo configure:6184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6191 if { (eval echo configure:6192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6184 rm -rf conftest* | 6192 rm -rf conftest* |
6185 eval "ac_cv_lib_$ac_lib_var=yes" | 6193 eval "ac_cv_lib_$ac_lib_var=yes" |
6186 else | 6194 else |
6187 echo "configure: failed program was:" >&5 | 6195 echo "configure: failed program was:" >&5 |
6188 cat conftest.$ac_ext >&5 | 6196 cat conftest.$ac_ext >&5 |
6202 | 6210 |
6203 fi | 6211 fi |
6204 | 6212 |
6205 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6213 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6206 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6214 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6207 echo "configure:6208: checking for shmat" >&5 | 6215 echo "configure:6216: checking for shmat" >&5 |
6208 | 6216 |
6209 cat > conftest.$ac_ext <<EOF | 6217 cat > conftest.$ac_ext <<EOF |
6210 #line 6211 "configure" | 6218 #line 6219 "configure" |
6211 #include "confdefs.h" | 6219 #include "confdefs.h" |
6212 /* System header to define __stub macros and hopefully few prototypes, | 6220 /* System header to define __stub macros and hopefully few prototypes, |
6213 which can conflict with char shmat(); below. */ | 6221 which can conflict with char shmat(); below. */ |
6214 #include <assert.h> | 6222 #include <assert.h> |
6215 /* Override any gcc2 internal prototype to avoid an error. */ | 6223 /* Override any gcc2 internal prototype to avoid an error. */ |
6228 shmat(); | 6236 shmat(); |
6229 #endif | 6237 #endif |
6230 | 6238 |
6231 ; return 0; } | 6239 ; return 0; } |
6232 EOF | 6240 EOF |
6233 if { (eval echo configure:6234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6241 if { (eval echo configure:6242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6234 rm -rf conftest* | 6242 rm -rf conftest* |
6235 eval "ac_cv_func_shmat=yes" | 6243 eval "ac_cv_func_shmat=yes" |
6236 else | 6244 else |
6237 echo "configure: failed program was:" >&5 | 6245 echo "configure: failed program was:" >&5 |
6238 cat conftest.$ac_ext >&5 | 6246 cat conftest.$ac_ext >&5 |
6249 fi | 6257 fi |
6250 | 6258 |
6251 if test $ac_cv_func_shmat = no; then | 6259 if test $ac_cv_func_shmat = no; then |
6252 | 6260 |
6253 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6261 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6254 echo "configure:6255: checking for shmat in -lipc" >&5 | 6262 echo "configure:6263: checking for shmat in -lipc" >&5 |
6255 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6263 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6256 | 6264 |
6257 xe_check_libs=" -lipc " | 6265 xe_check_libs=" -lipc " |
6258 cat > conftest.$ac_ext <<EOF | 6266 cat > conftest.$ac_ext <<EOF |
6259 #line 6260 "configure" | 6267 #line 6268 "configure" |
6260 #include "confdefs.h" | 6268 #include "confdefs.h" |
6261 /* Override any gcc2 internal prototype to avoid an error. */ | 6269 /* Override any gcc2 internal prototype to avoid an error. */ |
6262 /* We use char because int might match the return type of a gcc2 | 6270 /* We use char because int might match the return type of a gcc2 |
6263 builtin and then its argument prototype would still apply. */ | 6271 builtin and then its argument prototype would still apply. */ |
6264 char shmat(); | 6272 char shmat(); |
6265 | 6273 |
6266 int main() { | 6274 int main() { |
6267 shmat() | 6275 shmat() |
6268 ; return 0; } | 6276 ; return 0; } |
6269 EOF | 6277 EOF |
6270 if { (eval echo configure:6271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6278 if { (eval echo configure:6279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6271 rm -rf conftest* | 6279 rm -rf conftest* |
6272 eval "ac_cv_lib_$ac_lib_var=yes" | 6280 eval "ac_cv_lib_$ac_lib_var=yes" |
6273 else | 6281 else |
6274 echo "configure: failed program was:" >&5 | 6282 echo "configure: failed program was:" >&5 |
6275 cat conftest.$ac_ext >&5 | 6283 cat conftest.$ac_ext >&5 |
6301 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6309 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6302 | 6310 |
6303 xe_msg_checking="for IceConnectionNumber in -lICE" | 6311 xe_msg_checking="for IceConnectionNumber in -lICE" |
6304 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6312 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6305 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6313 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6306 echo "configure:6307: checking "$xe_msg_checking"" >&5 | 6314 echo "configure:6315: checking "$xe_msg_checking"" >&5 |
6307 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6315 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6308 | 6316 |
6309 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6317 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6310 cat > conftest.$ac_ext <<EOF | 6318 cat > conftest.$ac_ext <<EOF |
6311 #line 6312 "configure" | 6319 #line 6320 "configure" |
6312 #include "confdefs.h" | 6320 #include "confdefs.h" |
6313 /* Override any gcc2 internal prototype to avoid an error. */ | 6321 /* Override any gcc2 internal prototype to avoid an error. */ |
6314 /* We use char because int might match the return type of a gcc2 | 6322 /* We use char because int might match the return type of a gcc2 |
6315 builtin and then its argument prototype would still apply. */ | 6323 builtin and then its argument prototype would still apply. */ |
6316 char IceConnectionNumber(); | 6324 char IceConnectionNumber(); |
6317 | 6325 |
6318 int main() { | 6326 int main() { |
6319 IceConnectionNumber() | 6327 IceConnectionNumber() |
6320 ; return 0; } | 6328 ; return 0; } |
6321 EOF | 6329 EOF |
6322 if { (eval echo configure:6323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6330 if { (eval echo configure:6331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6323 rm -rf conftest* | 6331 rm -rf conftest* |
6324 eval "ac_cv_lib_$ac_lib_var=yes" | 6332 eval "ac_cv_lib_$ac_lib_var=yes" |
6325 else | 6333 else |
6326 echo "configure: failed program was:" >&5 | 6334 echo "configure: failed program was:" >&5 |
6327 cat conftest.$ac_ext >&5 | 6335 cat conftest.$ac_ext >&5 |
6484 EOF | 6492 EOF |
6485 } | 6493 } |
6486 | 6494 |
6487 | 6495 |
6488 echo "checking for X defines extracted by xmkmf" 1>&6 | 6496 echo "checking for X defines extracted by xmkmf" 1>&6 |
6489 echo "configure:6490: checking for X defines extracted by xmkmf" >&5 | 6497 echo "configure:6498: checking for X defines extracted by xmkmf" >&5 |
6490 rm -fr conftestdir | 6498 rm -fr conftestdir |
6491 if mkdir conftestdir; then | 6499 if mkdir conftestdir; then |
6492 cd conftestdir | 6500 cd conftestdir |
6493 cat > Imakefile <<'EOF' | 6501 cat > Imakefile <<'EOF' |
6494 xetest: | 6502 xetest: |
6533 done | 6541 done |
6534 fi | 6542 fi |
6535 | 6543 |
6536 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6544 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6537 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6545 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6538 echo "configure:6539: checking for X11/Intrinsic.h" >&5 | 6546 echo "configure:6547: checking for X11/Intrinsic.h" >&5 |
6539 | 6547 |
6540 cat > conftest.$ac_ext <<EOF | 6548 cat > conftest.$ac_ext <<EOF |
6541 #line 6542 "configure" | 6549 #line 6550 "configure" |
6542 #include "confdefs.h" | 6550 #include "confdefs.h" |
6543 #include <X11/Intrinsic.h> | 6551 #include <X11/Intrinsic.h> |
6544 EOF | 6552 EOF |
6545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6546 { (eval echo configure:6547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6554 { (eval echo configure:6555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6548 if test -z "$ac_err"; then | 6556 if test -z "$ac_err"; then |
6549 rm -rf conftest* | 6557 rm -rf conftest* |
6550 eval "ac_cv_header_$ac_safe=yes" | 6558 eval "ac_cv_header_$ac_safe=yes" |
6551 else | 6559 else |
6565 fi | 6573 fi |
6566 | 6574 |
6567 | 6575 |
6568 | 6576 |
6569 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6577 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6570 echo "configure:6571: checking for XOpenDisplay in -lX11" >&5 | 6578 echo "configure:6579: checking for XOpenDisplay in -lX11" >&5 |
6571 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6579 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6572 | 6580 |
6573 xe_check_libs=" -lX11 " | 6581 xe_check_libs=" -lX11 " |
6574 cat > conftest.$ac_ext <<EOF | 6582 cat > conftest.$ac_ext <<EOF |
6575 #line 6576 "configure" | 6583 #line 6584 "configure" |
6576 #include "confdefs.h" | 6584 #include "confdefs.h" |
6577 /* Override any gcc2 internal prototype to avoid an error. */ | 6585 /* Override any gcc2 internal prototype to avoid an error. */ |
6578 /* We use char because int might match the return type of a gcc2 | 6586 /* We use char because int might match the return type of a gcc2 |
6579 builtin and then its argument prototype would still apply. */ | 6587 builtin and then its argument prototype would still apply. */ |
6580 char XOpenDisplay(); | 6588 char XOpenDisplay(); |
6581 | 6589 |
6582 int main() { | 6590 int main() { |
6583 XOpenDisplay() | 6591 XOpenDisplay() |
6584 ; return 0; } | 6592 ; return 0; } |
6585 EOF | 6593 EOF |
6586 if { (eval echo configure:6587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6594 if { (eval echo configure:6595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6587 rm -rf conftest* | 6595 rm -rf conftest* |
6588 eval "ac_cv_lib_$ac_lib_var=yes" | 6596 eval "ac_cv_lib_$ac_lib_var=yes" |
6589 else | 6597 else |
6590 echo "configure: failed program was:" >&5 | 6598 echo "configure: failed program was:" >&5 |
6591 cat conftest.$ac_ext >&5 | 6599 cat conftest.$ac_ext >&5 |
6606 if test "$have_lib_x11" != "yes"; then | 6614 if test "$have_lib_x11" != "yes"; then |
6607 | 6615 |
6608 xe_msg_checking="for XGetFontProperty in -lX11" | 6616 xe_msg_checking="for XGetFontProperty in -lX11" |
6609 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6617 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6610 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6618 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6611 echo "configure:6612: checking "$xe_msg_checking"" >&5 | 6619 echo "configure:6620: checking "$xe_msg_checking"" >&5 |
6612 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6620 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6613 | 6621 |
6614 xe_check_libs=" -lX11 -b i486-linuxaout" | 6622 xe_check_libs=" -lX11 -b i486-linuxaout" |
6615 cat > conftest.$ac_ext <<EOF | 6623 cat > conftest.$ac_ext <<EOF |
6616 #line 6617 "configure" | 6624 #line 6625 "configure" |
6617 #include "confdefs.h" | 6625 #include "confdefs.h" |
6618 /* Override any gcc2 internal prototype to avoid an error. */ | 6626 /* Override any gcc2 internal prototype to avoid an error. */ |
6619 /* We use char because int might match the return type of a gcc2 | 6627 /* We use char because int might match the return type of a gcc2 |
6620 builtin and then its argument prototype would still apply. */ | 6628 builtin and then its argument prototype would still apply. */ |
6621 char XGetFontProperty(); | 6629 char XGetFontProperty(); |
6622 | 6630 |
6623 int main() { | 6631 int main() { |
6624 XGetFontProperty() | 6632 XGetFontProperty() |
6625 ; return 0; } | 6633 ; return 0; } |
6626 EOF | 6634 EOF |
6627 if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6635 if { (eval echo configure:6636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6628 rm -rf conftest* | 6636 rm -rf conftest* |
6629 eval "ac_cv_lib_$ac_lib_var=yes" | 6637 eval "ac_cv_lib_$ac_lib_var=yes" |
6630 else | 6638 else |
6631 echo "configure: failed program was:" >&5 | 6639 echo "configure: failed program was:" >&5 |
6632 cat conftest.$ac_ext >&5 | 6640 cat conftest.$ac_ext >&5 |
6649 libs_x="-lX11" | 6657 libs_x="-lX11" |
6650 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6658 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6651 | 6659 |
6652 | 6660 |
6653 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6661 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6654 echo "configure:6655: checking for XShapeSelectInput in -lXext" >&5 | 6662 echo "configure:6663: checking for XShapeSelectInput in -lXext" >&5 |
6655 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6663 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6656 | 6664 |
6657 xe_check_libs=" -lXext " | 6665 xe_check_libs=" -lXext " |
6658 cat > conftest.$ac_ext <<EOF | 6666 cat > conftest.$ac_ext <<EOF |
6659 #line 6660 "configure" | 6667 #line 6668 "configure" |
6660 #include "confdefs.h" | 6668 #include "confdefs.h" |
6661 /* Override any gcc2 internal prototype to avoid an error. */ | 6669 /* Override any gcc2 internal prototype to avoid an error. */ |
6662 /* We use char because int might match the return type of a gcc2 | 6670 /* We use char because int might match the return type of a gcc2 |
6663 builtin and then its argument prototype would still apply. */ | 6671 builtin and then its argument prototype would still apply. */ |
6664 char XShapeSelectInput(); | 6672 char XShapeSelectInput(); |
6665 | 6673 |
6666 int main() { | 6674 int main() { |
6667 XShapeSelectInput() | 6675 XShapeSelectInput() |
6668 ; return 0; } | 6676 ; return 0; } |
6669 EOF | 6677 EOF |
6670 if { (eval echo configure:6671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6678 if { (eval echo configure:6679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6671 rm -rf conftest* | 6679 rm -rf conftest* |
6672 eval "ac_cv_lib_$ac_lib_var=yes" | 6680 eval "ac_cv_lib_$ac_lib_var=yes" |
6673 else | 6681 else |
6674 echo "configure: failed program was:" >&5 | 6682 echo "configure: failed program was:" >&5 |
6675 cat conftest.$ac_ext >&5 | 6683 cat conftest.$ac_ext >&5 |
6688 | 6696 |
6689 | 6697 |
6690 | 6698 |
6691 | 6699 |
6692 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6700 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6693 echo "configure:6694: checking for XtOpenDisplay in -lXt" >&5 | 6701 echo "configure:6702: checking for XtOpenDisplay in -lXt" >&5 |
6694 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6702 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6695 | 6703 |
6696 xe_check_libs=" -lXt " | 6704 xe_check_libs=" -lXt " |
6697 cat > conftest.$ac_ext <<EOF | 6705 cat > conftest.$ac_ext <<EOF |
6698 #line 6699 "configure" | 6706 #line 6707 "configure" |
6699 #include "confdefs.h" | 6707 #include "confdefs.h" |
6700 /* Override any gcc2 internal prototype to avoid an error. */ | 6708 /* Override any gcc2 internal prototype to avoid an error. */ |
6701 /* We use char because int might match the return type of a gcc2 | 6709 /* We use char because int might match the return type of a gcc2 |
6702 builtin and then its argument prototype would still apply. */ | 6710 builtin and then its argument prototype would still apply. */ |
6703 char XtOpenDisplay(); | 6711 char XtOpenDisplay(); |
6704 | 6712 |
6705 int main() { | 6713 int main() { |
6706 XtOpenDisplay() | 6714 XtOpenDisplay() |
6707 ; return 0; } | 6715 ; return 0; } |
6708 EOF | 6716 EOF |
6709 if { (eval echo configure:6710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6717 if { (eval echo configure:6718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6710 rm -rf conftest* | 6718 rm -rf conftest* |
6711 eval "ac_cv_lib_$ac_lib_var=yes" | 6719 eval "ac_cv_lib_$ac_lib_var=yes" |
6712 else | 6720 else |
6713 echo "configure: failed program was:" >&5 | 6721 echo "configure: failed program was:" >&5 |
6714 cat conftest.$ac_ext >&5 | 6722 cat conftest.$ac_ext >&5 |
6727 fi | 6735 fi |
6728 | 6736 |
6729 | 6737 |
6730 | 6738 |
6731 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6739 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6732 echo "configure:6733: checking the version of X11 being used" >&5 | 6740 echo "configure:6741: checking the version of X11 being used" >&5 |
6733 cat > conftest.$ac_ext <<EOF | 6741 cat > conftest.$ac_ext <<EOF |
6734 #line 6735 "configure" | 6742 #line 6743 "configure" |
6735 #include "confdefs.h" | 6743 #include "confdefs.h" |
6736 #include <X11/Intrinsic.h> | 6744 #include <X11/Intrinsic.h> |
6737 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6745 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6738 EOF | 6746 EOF |
6739 if { (eval echo configure:6740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6747 if { (eval echo configure:6748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6740 then | 6748 then |
6741 ./conftest foobar; x11_release=$? | 6749 ./conftest foobar; x11_release=$? |
6742 else | 6750 else |
6743 conftest_rc="$?" | 6751 conftest_rc="$?" |
6744 echo "configure: failed program was:" >&5 | 6752 echo "configure: failed program was:" >&5 |
6765 fi | 6773 fi |
6766 | 6774 |
6767 for ac_func in XConvertCase | 6775 for ac_func in XConvertCase |
6768 do | 6776 do |
6769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6777 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6770 echo "configure:6771: checking for $ac_func" >&5 | 6778 echo "configure:6779: checking for $ac_func" >&5 |
6771 | 6779 |
6772 cat > conftest.$ac_ext <<EOF | 6780 cat > conftest.$ac_ext <<EOF |
6773 #line 6774 "configure" | 6781 #line 6782 "configure" |
6774 #include "confdefs.h" | 6782 #include "confdefs.h" |
6775 /* System header to define __stub macros and hopefully few prototypes, | 6783 /* System header to define __stub macros and hopefully few prototypes, |
6776 which can conflict with char $ac_func(); below. */ | 6784 which can conflict with char $ac_func(); below. */ |
6777 #include <assert.h> | 6785 #include <assert.h> |
6778 /* Override any gcc2 internal prototype to avoid an error. */ | 6786 /* Override any gcc2 internal prototype to avoid an error. */ |
6791 $ac_func(); | 6799 $ac_func(); |
6792 #endif | 6800 #endif |
6793 | 6801 |
6794 ; return 0; } | 6802 ; return 0; } |
6795 EOF | 6803 EOF |
6796 if { (eval echo configure:6797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6804 if { (eval echo configure:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6797 rm -rf conftest* | 6805 rm -rf conftest* |
6798 eval "ac_cv_func_$ac_func=yes" | 6806 eval "ac_cv_func_$ac_func=yes" |
6799 else | 6807 else |
6800 echo "configure: failed program was:" >&5 | 6808 echo "configure: failed program was:" >&5 |
6801 cat conftest.$ac_ext >&5 | 6809 cat conftest.$ac_ext >&5 |
6823 | 6831 |
6824 for ac_hdr in X11/Xlocale.h | 6832 for ac_hdr in X11/Xlocale.h |
6825 do | 6833 do |
6826 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6834 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6827 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6835 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6828 echo "configure:6829: checking for $ac_hdr" >&5 | 6836 echo "configure:6837: checking for $ac_hdr" >&5 |
6829 | 6837 |
6830 cat > conftest.$ac_ext <<EOF | 6838 cat > conftest.$ac_ext <<EOF |
6831 #line 6832 "configure" | 6839 #line 6840 "configure" |
6832 #include "confdefs.h" | 6840 #include "confdefs.h" |
6833 #include <$ac_hdr> | 6841 #include <$ac_hdr> |
6834 EOF | 6842 EOF |
6835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6836 { (eval echo configure:6837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6844 { (eval echo configure:6845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6837 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6838 if test -z "$ac_err"; then | 6846 if test -z "$ac_err"; then |
6839 rm -rf conftest* | 6847 rm -rf conftest* |
6840 eval "ac_cv_header_$ac_safe=yes" | 6848 eval "ac_cv_header_$ac_safe=yes" |
6841 else | 6849 else |
6864 | 6872 |
6865 | 6873 |
6866 for ac_func in XRegisterIMInstantiateCallback | 6874 for ac_func in XRegisterIMInstantiateCallback |
6867 do | 6875 do |
6868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6869 echo "configure:6870: checking for $ac_func" >&5 | 6877 echo "configure:6878: checking for $ac_func" >&5 |
6870 | 6878 |
6871 cat > conftest.$ac_ext <<EOF | 6879 cat > conftest.$ac_ext <<EOF |
6872 #line 6873 "configure" | 6880 #line 6881 "configure" |
6873 #include "confdefs.h" | 6881 #include "confdefs.h" |
6874 /* System header to define __stub macros and hopefully few prototypes, | 6882 /* System header to define __stub macros and hopefully few prototypes, |
6875 which can conflict with char $ac_func(); below. */ | 6883 which can conflict with char $ac_func(); below. */ |
6876 #include <assert.h> | 6884 #include <assert.h> |
6877 /* Override any gcc2 internal prototype to avoid an error. */ | 6885 /* Override any gcc2 internal prototype to avoid an error. */ |
6890 $ac_func(); | 6898 $ac_func(); |
6891 #endif | 6899 #endif |
6892 | 6900 |
6893 ; return 0; } | 6901 ; return 0; } |
6894 EOF | 6902 EOF |
6895 if { (eval echo configure:6896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6903 if { (eval echo configure:6904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6896 rm -rf conftest* | 6904 rm -rf conftest* |
6897 eval "ac_cv_func_$ac_func=yes" | 6905 eval "ac_cv_func_$ac_func=yes" |
6898 else | 6906 else |
6899 echo "configure: failed program was:" >&5 | 6907 echo "configure: failed program was:" >&5 |
6900 cat conftest.$ac_ext >&5 | 6908 cat conftest.$ac_ext >&5 |
6918 echo "$ac_t""no" 1>&6 | 6926 echo "$ac_t""no" 1>&6 |
6919 fi | 6927 fi |
6920 done | 6928 done |
6921 | 6929 |
6922 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6930 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6923 echo "configure:6924: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6931 echo "configure:6932: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6924 cat > conftest.$ac_ext <<EOF | 6932 cat > conftest.$ac_ext <<EOF |
6925 #line 6926 "configure" | 6933 #line 6934 "configure" |
6926 #include "confdefs.h" | 6934 #include "confdefs.h" |
6927 | 6935 |
6928 #define NeedFunctionPrototypes 1 | 6936 #define NeedFunctionPrototypes 1 |
6929 #include <X11/Xlib.h> | 6937 #include <X11/Xlib.h> |
6930 extern Bool XRegisterIMInstantiateCallback( | 6938 extern Bool XRegisterIMInstantiateCallback( |
6932 | 6940 |
6933 int main() { | 6941 int main() { |
6934 | 6942 |
6935 ; return 0; } | 6943 ; return 0; } |
6936 EOF | 6944 EOF |
6937 if { (eval echo configure:6938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6945 if { (eval echo configure:6946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6938 rm -rf conftest* | 6946 rm -rf conftest* |
6939 echo "$ac_t""yes" 1>&6 | 6947 echo "$ac_t""yes" 1>&6 |
6940 else | 6948 else |
6941 echo "configure: failed program was:" >&5 | 6949 echo "configure: failed program was:" >&5 |
6942 cat conftest.$ac_ext >&5 | 6950 cat conftest.$ac_ext >&5 |
6953 fi | 6961 fi |
6954 rm -f conftest* | 6962 rm -f conftest* |
6955 | 6963 |
6956 test -z "$with_xmu" && { | 6964 test -z "$with_xmu" && { |
6957 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6965 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6958 echo "configure:6959: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6966 echo "configure:6967: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6959 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6967 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6960 | 6968 |
6961 xe_check_libs=" -lXmu " | 6969 xe_check_libs=" -lXmu " |
6962 cat > conftest.$ac_ext <<EOF | 6970 cat > conftest.$ac_ext <<EOF |
6963 #line 6964 "configure" | 6971 #line 6972 "configure" |
6964 #include "confdefs.h" | 6972 #include "confdefs.h" |
6965 /* Override any gcc2 internal prototype to avoid an error. */ | 6973 /* Override any gcc2 internal prototype to avoid an error. */ |
6966 /* We use char because int might match the return type of a gcc2 | 6974 /* We use char because int might match the return type of a gcc2 |
6967 builtin and then its argument prototype would still apply. */ | 6975 builtin and then its argument prototype would still apply. */ |
6968 char XmuReadBitmapDataFromFile(); | 6976 char XmuReadBitmapDataFromFile(); |
6969 | 6977 |
6970 int main() { | 6978 int main() { |
6971 XmuReadBitmapDataFromFile() | 6979 XmuReadBitmapDataFromFile() |
6972 ; return 0; } | 6980 ; return 0; } |
6973 EOF | 6981 EOF |
6974 if { (eval echo configure:6975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6982 if { (eval echo configure:6983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6975 rm -rf conftest* | 6983 rm -rf conftest* |
6976 eval "ac_cv_lib_$ac_lib_var=yes" | 6984 eval "ac_cv_lib_$ac_lib_var=yes" |
6977 else | 6985 else |
6978 echo "configure: failed program was:" >&5 | 6986 echo "configure: failed program was:" >&5 |
6979 cat conftest.$ac_ext >&5 | 6987 cat conftest.$ac_ext >&5 |
7008 | 7016 |
7009 fi | 7017 fi |
7010 | 7018 |
7011 | 7019 |
7012 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7020 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7013 echo "configure:7014: checking for main in -lXbsd" >&5 | 7021 echo "configure:7022: checking for main in -lXbsd" >&5 |
7014 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7022 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7015 | 7023 |
7016 xe_check_libs=" -lXbsd " | 7024 xe_check_libs=" -lXbsd " |
7017 cat > conftest.$ac_ext <<EOF | 7025 cat > conftest.$ac_ext <<EOF |
7018 #line 7019 "configure" | 7026 #line 7027 "configure" |
7019 #include "confdefs.h" | 7027 #include "confdefs.h" |
7020 | 7028 |
7021 int main() { | 7029 int main() { |
7022 main() | 7030 main() |
7023 ; return 0; } | 7031 ; return 0; } |
7024 EOF | 7032 EOF |
7025 if { (eval echo configure:7026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7033 if { (eval echo configure:7034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7026 rm -rf conftest* | 7034 rm -rf conftest* |
7027 eval "ac_cv_lib_$ac_lib_var=yes" | 7035 eval "ac_cv_lib_$ac_lib_var=yes" |
7028 else | 7036 else |
7029 echo "configure: failed program was:" >&5 | 7037 echo "configure: failed program was:" >&5 |
7030 cat conftest.$ac_ext >&5 | 7038 cat conftest.$ac_ext >&5 |
7057 fi | 7065 fi |
7058 | 7066 |
7059 fi | 7067 fi |
7060 if test "$with_msw" != "no"; then | 7068 if test "$with_msw" != "no"; then |
7061 echo "checking for MS-Windows" 1>&6 | 7069 echo "checking for MS-Windows" 1>&6 |
7062 echo "configure:7063: checking for MS-Windows" >&5 | 7070 echo "configure:7071: checking for MS-Windows" >&5 |
7063 | 7071 |
7064 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7072 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7065 echo "configure:7066: checking for main in -lgdi32" >&5 | 7073 echo "configure:7074: checking for main in -lgdi32" >&5 |
7066 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7074 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7067 | 7075 |
7068 xe_check_libs=" -lgdi32 " | 7076 xe_check_libs=" -lgdi32 " |
7069 cat > conftest.$ac_ext <<EOF | 7077 cat > conftest.$ac_ext <<EOF |
7070 #line 7071 "configure" | 7078 #line 7079 "configure" |
7071 #include "confdefs.h" | 7079 #include "confdefs.h" |
7072 | 7080 |
7073 int main() { | 7081 int main() { |
7074 main() | 7082 main() |
7075 ; return 0; } | 7083 ; return 0; } |
7076 EOF | 7084 EOF |
7077 if { (eval echo configure:7078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7085 if { (eval echo configure:7086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7078 rm -rf conftest* | 7086 rm -rf conftest* |
7079 eval "ac_cv_lib_$ac_lib_var=yes" | 7087 eval "ac_cv_lib_$ac_lib_var=yes" |
7080 else | 7088 else |
7081 echo "configure: failed program was:" >&5 | 7089 echo "configure: failed program was:" >&5 |
7082 cat conftest.$ac_ext >&5 | 7090 cat conftest.$ac_ext >&5 |
7145 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 7153 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
7146 echo " xemacs will be linked with \"dialog-msw.o\"" | 7154 echo " xemacs will be linked with \"dialog-msw.o\"" |
7147 fi | 7155 fi |
7148 fi | 7156 fi |
7149 cat > conftest.$ac_ext <<EOF | 7157 cat > conftest.$ac_ext <<EOF |
7150 #line 7151 "configure" | 7158 #line 7159 "configure" |
7151 #include "confdefs.h" | 7159 #include "confdefs.h" |
7152 #include <fcntl.h> | 7160 #include <fcntl.h> |
7153 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7161 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7154 EOF | 7162 EOF |
7155 if { (eval echo configure:7156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7163 if { (eval echo configure:7164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7156 then | 7164 then |
7157 need_event_unixoid=yes; { test "$extra_verbose" = "yes" && cat << \EOF | 7165 need_event_unixoid=yes; { test "$extra_verbose" = "yes" && cat << \EOF |
7158 Defining HAVE_MSG_SELECT | 7166 Defining HAVE_MSG_SELECT |
7159 EOF | 7167 EOF |
7160 cat >> confdefs.h <<\EOF | 7168 cat >> confdefs.h <<\EOF |
7214 fi | 7222 fi |
7215 | 7223 |
7216 if test "$with_x11" = "yes"; then | 7224 if test "$with_x11" = "yes"; then |
7217 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7225 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7218 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7226 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7219 echo "configure:7220: checking for X11/extensions/shape.h" >&5 | 7227 echo "configure:7228: checking for X11/extensions/shape.h" >&5 |
7220 | 7228 |
7221 cat > conftest.$ac_ext <<EOF | 7229 cat > conftest.$ac_ext <<EOF |
7222 #line 7223 "configure" | 7230 #line 7231 "configure" |
7223 #include "confdefs.h" | 7231 #include "confdefs.h" |
7224 #include <X11/extensions/shape.h> | 7232 #include <X11/extensions/shape.h> |
7225 EOF | 7233 EOF |
7226 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7227 { (eval echo configure:7228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7235 { (eval echo configure:7236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7228 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7229 if test -z "$ac_err"; then | 7237 if test -z "$ac_err"; then |
7230 rm -rf conftest* | 7238 rm -rf conftest* |
7231 eval "ac_cv_header_$ac_safe=yes" | 7239 eval "ac_cv_header_$ac_safe=yes" |
7232 else | 7240 else |
7274 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7282 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7275 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7283 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7276 esac | 7284 esac |
7277 | 7285 |
7278 echo "checking for WM_COMMAND option" 1>&6 | 7286 echo "checking for WM_COMMAND option" 1>&6 |
7279 echo "configure:7280: checking for WM_COMMAND option" >&5; | 7287 echo "configure:7288: checking for WM_COMMAND option" >&5; |
7280 if test "$with_wmcommand" != "no"; then | 7288 if test "$with_wmcommand" != "no"; then |
7281 { test "$extra_verbose" = "yes" && cat << \EOF | 7289 { test "$extra_verbose" = "yes" && cat << \EOF |
7282 Defining HAVE_WMCOMMAND | 7290 Defining HAVE_WMCOMMAND |
7283 EOF | 7291 EOF |
7284 cat >> confdefs.h <<\EOF | 7292 cat >> confdefs.h <<\EOF |
7289 fi | 7297 fi |
7290 | 7298 |
7291 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7299 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7292 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7300 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7293 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7301 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7294 echo "configure:7295: checking for X11/Xauth.h" >&5 | 7302 echo "configure:7303: checking for X11/Xauth.h" >&5 |
7295 | 7303 |
7296 cat > conftest.$ac_ext <<EOF | 7304 cat > conftest.$ac_ext <<EOF |
7297 #line 7298 "configure" | 7305 #line 7306 "configure" |
7298 #include "confdefs.h" | 7306 #include "confdefs.h" |
7299 #include <X11/Xauth.h> | 7307 #include <X11/Xauth.h> |
7300 EOF | 7308 EOF |
7301 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7302 { (eval echo configure:7303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7310 { (eval echo configure:7311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7303 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7311 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7304 if test -z "$ac_err"; then | 7312 if test -z "$ac_err"; then |
7305 rm -rf conftest* | 7313 rm -rf conftest* |
7306 eval "ac_cv_header_$ac_safe=yes" | 7314 eval "ac_cv_header_$ac_safe=yes" |
7307 else | 7315 else |
7320 with_xauth=no | 7328 with_xauth=no |
7321 fi | 7329 fi |
7322 } | 7330 } |
7323 test -z "$with_xauth" && { | 7331 test -z "$with_xauth" && { |
7324 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7332 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7325 echo "configure:7326: checking for XauGetAuthByAddr in -lXau" >&5 | 7333 echo "configure:7334: checking for XauGetAuthByAddr in -lXau" >&5 |
7326 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7334 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7327 | 7335 |
7328 xe_check_libs=" -lXau " | 7336 xe_check_libs=" -lXau " |
7329 cat > conftest.$ac_ext <<EOF | 7337 cat > conftest.$ac_ext <<EOF |
7330 #line 7331 "configure" | 7338 #line 7339 "configure" |
7331 #include "confdefs.h" | 7339 #include "confdefs.h" |
7332 /* Override any gcc2 internal prototype to avoid an error. */ | 7340 /* Override any gcc2 internal prototype to avoid an error. */ |
7333 /* We use char because int might match the return type of a gcc2 | 7341 /* We use char because int might match the return type of a gcc2 |
7334 builtin and then its argument prototype would still apply. */ | 7342 builtin and then its argument prototype would still apply. */ |
7335 char XauGetAuthByAddr(); | 7343 char XauGetAuthByAddr(); |
7336 | 7344 |
7337 int main() { | 7345 int main() { |
7338 XauGetAuthByAddr() | 7346 XauGetAuthByAddr() |
7339 ; return 0; } | 7347 ; return 0; } |
7340 EOF | 7348 EOF |
7341 if { (eval echo configure:7342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7349 if { (eval echo configure:7350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7342 rm -rf conftest* | 7350 rm -rf conftest* |
7343 eval "ac_cv_lib_$ac_lib_var=yes" | 7351 eval "ac_cv_lib_$ac_lib_var=yes" |
7344 else | 7352 else |
7345 echo "configure: failed program was:" >&5 | 7353 echo "configure: failed program was:" >&5 |
7346 cat conftest.$ac_ext >&5 | 7354 cat conftest.$ac_ext >&5 |
7381 | 7389 |
7382 if test "$with_tooltalk" != "no" ; then | 7390 if test "$with_tooltalk" != "no" ; then |
7383 for dir in "" "Tt/" "desktop/" ; do | 7391 for dir in "" "Tt/" "desktop/" ; do |
7384 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7392 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7385 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7393 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7386 echo "configure:7387: checking for ${dir}tt_c.h" >&5 | 7394 echo "configure:7395: checking for ${dir}tt_c.h" >&5 |
7387 | 7395 |
7388 cat > conftest.$ac_ext <<EOF | 7396 cat > conftest.$ac_ext <<EOF |
7389 #line 7390 "configure" | 7397 #line 7398 "configure" |
7390 #include "confdefs.h" | 7398 #include "confdefs.h" |
7391 #include <${dir}tt_c.h> | 7399 #include <${dir}tt_c.h> |
7392 EOF | 7400 EOF |
7393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7394 { (eval echo configure:7395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7402 { (eval echo configure:7403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7403 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7396 if test -z "$ac_err"; then | 7404 if test -z "$ac_err"; then |
7397 rm -rf conftest* | 7405 rm -rf conftest* |
7398 eval "ac_cv_header_$ac_safe=yes" | 7406 eval "ac_cv_header_$ac_safe=yes" |
7399 else | 7407 else |
7425 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7433 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7426 | 7434 |
7427 xe_msg_checking="for tt_message_create in -ltt" | 7435 xe_msg_checking="for tt_message_create in -ltt" |
7428 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7436 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7429 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7437 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7430 echo "configure:7431: checking "$xe_msg_checking"" >&5 | 7438 echo "configure:7439: checking "$xe_msg_checking"" >&5 |
7431 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7439 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7432 | 7440 |
7433 xe_check_libs=" -ltt $extra_libs" | 7441 xe_check_libs=" -ltt $extra_libs" |
7434 cat > conftest.$ac_ext <<EOF | 7442 cat > conftest.$ac_ext <<EOF |
7435 #line 7436 "configure" | 7443 #line 7444 "configure" |
7436 #include "confdefs.h" | 7444 #include "confdefs.h" |
7437 /* Override any gcc2 internal prototype to avoid an error. */ | 7445 /* Override any gcc2 internal prototype to avoid an error. */ |
7438 /* We use char because int might match the return type of a gcc2 | 7446 /* We use char because int might match the return type of a gcc2 |
7439 builtin and then its argument prototype would still apply. */ | 7447 builtin and then its argument prototype would still apply. */ |
7440 char tt_message_create(); | 7448 char tt_message_create(); |
7441 | 7449 |
7442 int main() { | 7450 int main() { |
7443 tt_message_create() | 7451 tt_message_create() |
7444 ; return 0; } | 7452 ; return 0; } |
7445 EOF | 7453 EOF |
7446 if { (eval echo configure:7447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7454 if { (eval echo configure:7455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7447 rm -rf conftest* | 7455 rm -rf conftest* |
7448 eval "ac_cv_lib_$ac_lib_var=yes" | 7456 eval "ac_cv_lib_$ac_lib_var=yes" |
7449 else | 7457 else |
7450 echo "configure: failed program was:" >&5 | 7458 echo "configure: failed program was:" >&5 |
7451 cat conftest.$ac_ext >&5 | 7459 cat conftest.$ac_ext >&5 |
7498 fi | 7506 fi |
7499 fi | 7507 fi |
7500 | 7508 |
7501 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7509 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7502 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7510 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7503 echo "configure:7504: checking for Dt/Dt.h" >&5 | 7511 echo "configure:7512: checking for Dt/Dt.h" >&5 |
7504 | 7512 |
7505 cat > conftest.$ac_ext <<EOF | 7513 cat > conftest.$ac_ext <<EOF |
7506 #line 7507 "configure" | 7514 #line 7515 "configure" |
7507 #include "confdefs.h" | 7515 #include "confdefs.h" |
7508 #include <Dt/Dt.h> | 7516 #include <Dt/Dt.h> |
7509 EOF | 7517 EOF |
7510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7511 { (eval echo configure:7512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7519 { (eval echo configure:7520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7512 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7513 if test -z "$ac_err"; then | 7521 if test -z "$ac_err"; then |
7514 rm -rf conftest* | 7522 rm -rf conftest* |
7515 eval "ac_cv_header_$ac_safe=yes" | 7523 eval "ac_cv_header_$ac_safe=yes" |
7516 else | 7524 else |
7529 with_cde=no | 7537 with_cde=no |
7530 fi | 7538 fi |
7531 } | 7539 } |
7532 test -z "$with_cde" && { | 7540 test -z "$with_cde" && { |
7533 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7541 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7534 echo "configure:7535: checking for DtDndDragStart in -lDtSvc" >&5 | 7542 echo "configure:7543: checking for DtDndDragStart in -lDtSvc" >&5 |
7535 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7543 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7536 | 7544 |
7537 xe_check_libs=" -lDtSvc " | 7545 xe_check_libs=" -lDtSvc " |
7538 cat > conftest.$ac_ext <<EOF | 7546 cat > conftest.$ac_ext <<EOF |
7539 #line 7540 "configure" | 7547 #line 7548 "configure" |
7540 #include "confdefs.h" | 7548 #include "confdefs.h" |
7541 /* Override any gcc2 internal prototype to avoid an error. */ | 7549 /* Override any gcc2 internal prototype to avoid an error. */ |
7542 /* We use char because int might match the return type of a gcc2 | 7550 /* We use char because int might match the return type of a gcc2 |
7543 builtin and then its argument prototype would still apply. */ | 7551 builtin and then its argument prototype would still apply. */ |
7544 char DtDndDragStart(); | 7552 char DtDndDragStart(); |
7545 | 7553 |
7546 int main() { | 7554 int main() { |
7547 DtDndDragStart() | 7555 DtDndDragStart() |
7548 ; return 0; } | 7556 ; return 0; } |
7549 EOF | 7557 EOF |
7550 if { (eval echo configure:7551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7558 if { (eval echo configure:7559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7551 rm -rf conftest* | 7559 rm -rf conftest* |
7552 eval "ac_cv_lib_$ac_lib_var=yes" | 7560 eval "ac_cv_lib_$ac_lib_var=yes" |
7553 else | 7561 else |
7554 echo "configure: failed program was:" >&5 | 7562 echo "configure: failed program was:" >&5 |
7555 cat conftest.$ac_ext >&5 | 7563 cat conftest.$ac_ext >&5 |
7626 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7634 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7627 fi | 7635 fi |
7628 | 7636 |
7629 if test "$with_dragndrop" != "no" ; then | 7637 if test "$with_dragndrop" != "no" ; then |
7630 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7638 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7631 echo "configure:7632: checking if drag and drop API is needed" >&5 | 7639 echo "configure:7640: checking if drag and drop API is needed" >&5 |
7632 if test -n "$dragndrop_proto" ; then | 7640 if test -n "$dragndrop_proto" ; then |
7633 with_dragndrop=yes | 7641 with_dragndrop=yes |
7634 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7642 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7635 { test "$extra_verbose" = "yes" && cat << \EOF | 7643 { test "$extra_verbose" = "yes" && cat << \EOF |
7636 Defining HAVE_DRAGNDROP | 7644 Defining HAVE_DRAGNDROP |
7646 echo "$ac_t""no" 1>&6 | 7654 echo "$ac_t""no" 1>&6 |
7647 fi | 7655 fi |
7648 fi | 7656 fi |
7649 | 7657 |
7650 echo "checking for LDAP" 1>&6 | 7658 echo "checking for LDAP" 1>&6 |
7651 echo "configure:7652: checking for LDAP" >&5 | 7659 echo "configure:7660: checking for LDAP" >&5 |
7652 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7660 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7653 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7661 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7654 echo "configure:7655: checking for ldap.h" >&5 | 7662 echo "configure:7663: checking for ldap.h" >&5 |
7655 | 7663 |
7656 cat > conftest.$ac_ext <<EOF | 7664 cat > conftest.$ac_ext <<EOF |
7657 #line 7658 "configure" | 7665 #line 7666 "configure" |
7658 #include "confdefs.h" | 7666 #include "confdefs.h" |
7659 #include <ldap.h> | 7667 #include <ldap.h> |
7660 EOF | 7668 EOF |
7661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7662 { (eval echo configure:7663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7670 { (eval echo configure:7671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7664 if test -z "$ac_err"; then | 7672 if test -z "$ac_err"; then |
7665 rm -rf conftest* | 7673 rm -rf conftest* |
7666 eval "ac_cv_header_$ac_safe=yes" | 7674 eval "ac_cv_header_$ac_safe=yes" |
7667 else | 7675 else |
7680 with_ldap=no | 7688 with_ldap=no |
7681 fi | 7689 fi |
7682 } | 7690 } |
7683 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7691 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7684 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7692 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7685 echo "configure:7686: checking for lber.h" >&5 | 7693 echo "configure:7694: checking for lber.h" >&5 |
7686 | 7694 |
7687 cat > conftest.$ac_ext <<EOF | 7695 cat > conftest.$ac_ext <<EOF |
7688 #line 7689 "configure" | 7696 #line 7697 "configure" |
7689 #include "confdefs.h" | 7697 #include "confdefs.h" |
7690 #include <lber.h> | 7698 #include <lber.h> |
7691 EOF | 7699 EOF |
7692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7693 { (eval echo configure:7694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7701 { (eval echo configure:7702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7695 if test -z "$ac_err"; then | 7703 if test -z "$ac_err"; then |
7696 rm -rf conftest* | 7704 rm -rf conftest* |
7697 eval "ac_cv_header_$ac_safe=yes" | 7705 eval "ac_cv_header_$ac_safe=yes" |
7698 else | 7706 else |
7712 fi | 7720 fi |
7713 } | 7721 } |
7714 if test "$with_ldap" != "no"; then | 7722 if test "$with_ldap" != "no"; then |
7715 | 7723 |
7716 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7724 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7717 echo "configure:7718: checking for ldap_search in -lldap" >&5 | 7725 echo "configure:7726: checking for ldap_search in -lldap" >&5 |
7718 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7726 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7719 | 7727 |
7720 xe_check_libs=" -lldap " | 7728 xe_check_libs=" -lldap " |
7721 cat > conftest.$ac_ext <<EOF | 7729 cat > conftest.$ac_ext <<EOF |
7722 #line 7723 "configure" | 7730 #line 7731 "configure" |
7723 #include "confdefs.h" | 7731 #include "confdefs.h" |
7724 /* Override any gcc2 internal prototype to avoid an error. */ | 7732 /* Override any gcc2 internal prototype to avoid an error. */ |
7725 /* We use char because int might match the return type of a gcc2 | 7733 /* We use char because int might match the return type of a gcc2 |
7726 builtin and then its argument prototype would still apply. */ | 7734 builtin and then its argument prototype would still apply. */ |
7727 char ldap_search(); | 7735 char ldap_search(); |
7728 | 7736 |
7729 int main() { | 7737 int main() { |
7730 ldap_search() | 7738 ldap_search() |
7731 ; return 0; } | 7739 ; return 0; } |
7732 EOF | 7740 EOF |
7733 if { (eval echo configure:7734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7741 if { (eval echo configure:7742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7734 rm -rf conftest* | 7742 rm -rf conftest* |
7735 eval "ac_cv_lib_$ac_lib_var=yes" | 7743 eval "ac_cv_lib_$ac_lib_var=yes" |
7736 else | 7744 else |
7737 echo "configure: failed program was:" >&5 | 7745 echo "configure: failed program was:" >&5 |
7738 cat conftest.$ac_ext >&5 | 7746 cat conftest.$ac_ext >&5 |
7753 | 7761 |
7754 test "$with_ldap_nolber" = "no" && { | 7762 test "$with_ldap_nolber" = "no" && { |
7755 xe_msg_checking="for ldap_open in -lldap" | 7763 xe_msg_checking="for ldap_open in -lldap" |
7756 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7764 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7757 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7765 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7758 echo "configure:7759: checking "$xe_msg_checking"" >&5 | 7766 echo "configure:7767: checking "$xe_msg_checking"" >&5 |
7759 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7767 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7760 | 7768 |
7761 xe_check_libs=" -lldap -llber" | 7769 xe_check_libs=" -lldap -llber" |
7762 cat > conftest.$ac_ext <<EOF | 7770 cat > conftest.$ac_ext <<EOF |
7763 #line 7764 "configure" | 7771 #line 7772 "configure" |
7764 #include "confdefs.h" | 7772 #include "confdefs.h" |
7765 /* Override any gcc2 internal prototype to avoid an error. */ | 7773 /* Override any gcc2 internal prototype to avoid an error. */ |
7766 /* We use char because int might match the return type of a gcc2 | 7774 /* We use char because int might match the return type of a gcc2 |
7767 builtin and then its argument prototype would still apply. */ | 7775 builtin and then its argument prototype would still apply. */ |
7768 char ldap_open(); | 7776 char ldap_open(); |
7769 | 7777 |
7770 int main() { | 7778 int main() { |
7771 ldap_open() | 7779 ldap_open() |
7772 ; return 0; } | 7780 ; return 0; } |
7773 EOF | 7781 EOF |
7774 if { (eval echo configure:7775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7782 if { (eval echo configure:7783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7775 rm -rf conftest* | 7783 rm -rf conftest* |
7776 eval "ac_cv_lib_$ac_lib_var=yes" | 7784 eval "ac_cv_lib_$ac_lib_var=yes" |
7777 else | 7785 else |
7778 echo "configure: failed program was:" >&5 | 7786 echo "configure: failed program was:" >&5 |
7779 cat conftest.$ac_ext >&5 | 7787 cat conftest.$ac_ext >&5 |
7794 } | 7802 } |
7795 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7803 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7796 xe_msg_checking="for ldap_open in -lldap" | 7804 xe_msg_checking="for ldap_open in -lldap" |
7797 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7805 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7798 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7806 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7799 echo "configure:7800: checking "$xe_msg_checking"" >&5 | 7807 echo "configure:7808: checking "$xe_msg_checking"" >&5 |
7800 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7808 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7801 | 7809 |
7802 xe_check_libs=" -lldap -llber -lkrb" | 7810 xe_check_libs=" -lldap -llber -lkrb" |
7803 cat > conftest.$ac_ext <<EOF | 7811 cat > conftest.$ac_ext <<EOF |
7804 #line 7805 "configure" | 7812 #line 7813 "configure" |
7805 #include "confdefs.h" | 7813 #include "confdefs.h" |
7806 /* Override any gcc2 internal prototype to avoid an error. */ | 7814 /* Override any gcc2 internal prototype to avoid an error. */ |
7807 /* We use char because int might match the return type of a gcc2 | 7815 /* We use char because int might match the return type of a gcc2 |
7808 builtin and then its argument prototype would still apply. */ | 7816 builtin and then its argument prototype would still apply. */ |
7809 char ldap_open(); | 7817 char ldap_open(); |
7810 | 7818 |
7811 int main() { | 7819 int main() { |
7812 ldap_open() | 7820 ldap_open() |
7813 ; return 0; } | 7821 ; return 0; } |
7814 EOF | 7822 EOF |
7815 if { (eval echo configure:7816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7823 if { (eval echo configure:7824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7816 rm -rf conftest* | 7824 rm -rf conftest* |
7817 eval "ac_cv_lib_$ac_lib_var=yes" | 7825 eval "ac_cv_lib_$ac_lib_var=yes" |
7818 else | 7826 else |
7819 echo "configure: failed program was:" >&5 | 7827 echo "configure: failed program was:" >&5 |
7820 cat conftest.$ac_ext >&5 | 7828 cat conftest.$ac_ext >&5 |
7835 } | 7843 } |
7836 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7844 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7837 xe_msg_checking="for ldap_open in -lldap" | 7845 xe_msg_checking="for ldap_open in -lldap" |
7838 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7846 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7839 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7847 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7840 echo "configure:7841: checking "$xe_msg_checking"" >&5 | 7848 echo "configure:7849: checking "$xe_msg_checking"" >&5 |
7841 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7849 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7842 | 7850 |
7843 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7851 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7844 cat > conftest.$ac_ext <<EOF | 7852 cat > conftest.$ac_ext <<EOF |
7845 #line 7846 "configure" | 7853 #line 7854 "configure" |
7846 #include "confdefs.h" | 7854 #include "confdefs.h" |
7847 /* Override any gcc2 internal prototype to avoid an error. */ | 7855 /* Override any gcc2 internal prototype to avoid an error. */ |
7848 /* We use char because int might match the return type of a gcc2 | 7856 /* We use char because int might match the return type of a gcc2 |
7849 builtin and then its argument prototype would still apply. */ | 7857 builtin and then its argument prototype would still apply. */ |
7850 char ldap_open(); | 7858 char ldap_open(); |
7851 | 7859 |
7852 int main() { | 7860 int main() { |
7853 ldap_open() | 7861 ldap_open() |
7854 ; return 0; } | 7862 ; return 0; } |
7855 EOF | 7863 EOF |
7856 if { (eval echo configure:7857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7864 if { (eval echo configure:7865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7857 rm -rf conftest* | 7865 rm -rf conftest* |
7858 eval "ac_cv_lib_$ac_lib_var=yes" | 7866 eval "ac_cv_lib_$ac_lib_var=yes" |
7859 else | 7867 else |
7860 echo "configure: failed program was:" >&5 | 7868 echo "configure: failed program was:" >&5 |
7861 cat conftest.$ac_ext >&5 | 7869 cat conftest.$ac_ext >&5 |
7902 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7910 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7903 fi | 7911 fi |
7904 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7912 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7905 do | 7913 do |
7906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7907 echo "configure:7908: checking for $ac_func" >&5 | 7915 echo "configure:7916: checking for $ac_func" >&5 |
7908 | 7916 |
7909 cat > conftest.$ac_ext <<EOF | 7917 cat > conftest.$ac_ext <<EOF |
7910 #line 7911 "configure" | 7918 #line 7919 "configure" |
7911 #include "confdefs.h" | 7919 #include "confdefs.h" |
7912 /* System header to define __stub macros and hopefully few prototypes, | 7920 /* System header to define __stub macros and hopefully few prototypes, |
7913 which can conflict with char $ac_func(); below. */ | 7921 which can conflict with char $ac_func(); below. */ |
7914 #include <assert.h> | 7922 #include <assert.h> |
7915 /* Override any gcc2 internal prototype to avoid an error. */ | 7923 /* Override any gcc2 internal prototype to avoid an error. */ |
7928 $ac_func(); | 7936 $ac_func(); |
7929 #endif | 7937 #endif |
7930 | 7938 |
7931 ; return 0; } | 7939 ; return 0; } |
7932 EOF | 7940 EOF |
7933 if { (eval echo configure:7934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7941 if { (eval echo configure:7942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7934 rm -rf conftest* | 7942 rm -rf conftest* |
7935 eval "ac_cv_func_$ac_func=yes" | 7943 eval "ac_cv_func_$ac_func=yes" |
7936 else | 7944 else |
7937 echo "configure: failed program was:" >&5 | 7945 echo "configure: failed program was:" >&5 |
7938 cat conftest.$ac_ext >&5 | 7946 cat conftest.$ac_ext >&5 |
7959 | 7967 |
7960 fi | 7968 fi |
7961 | 7969 |
7962 if test "$with_postgresql" != "no"; then | 7970 if test "$with_postgresql" != "no"; then |
7963 echo "checking for PostgreSQL" 1>&6 | 7971 echo "checking for PostgreSQL" 1>&6 |
7964 echo "configure:7965: checking for PostgreSQL" >&5 | 7972 echo "configure:7973: checking for PostgreSQL" >&5 |
7965 | 7973 |
7966 for header_dir in "" "pgsql/" "postgresql/"; do | 7974 for header_dir in "" "pgsql/" "postgresql/"; do |
7967 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7975 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7968 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7976 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7969 echo "configure:7970: checking for ${header_dir}libpq-fe.h" >&5 | 7977 echo "configure:7978: checking for ${header_dir}libpq-fe.h" >&5 |
7970 | 7978 |
7971 cat > conftest.$ac_ext <<EOF | 7979 cat > conftest.$ac_ext <<EOF |
7972 #line 7973 "configure" | 7980 #line 7981 "configure" |
7973 #include "confdefs.h" | 7981 #include "confdefs.h" |
7974 #include <${header_dir}libpq-fe.h> | 7982 #include <${header_dir}libpq-fe.h> |
7975 EOF | 7983 EOF |
7976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7984 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7977 { (eval echo configure:7978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7985 { (eval echo configure:7986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7978 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7986 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7979 if test -z "$ac_err"; then | 7987 if test -z "$ac_err"; then |
7980 rm -rf conftest* | 7988 rm -rf conftest* |
7981 eval "ac_cv_header_$ac_safe=yes" | 7989 eval "ac_cv_header_$ac_safe=yes" |
7982 else | 7990 else |
7996 | 8004 |
7997 done | 8005 done |
7998 | 8006 |
7999 test -n "$libpq_fe_h_file" && { | 8007 test -n "$libpq_fe_h_file" && { |
8000 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 8008 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
8001 echo "configure:8002: checking for PQconnectdb in -lpq" >&5 | 8009 echo "configure:8010: checking for PQconnectdb in -lpq" >&5 |
8002 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 8010 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
8003 | 8011 |
8004 xe_check_libs=" -lpq " | 8012 xe_check_libs=" -lpq " |
8005 cat > conftest.$ac_ext <<EOF | 8013 cat > conftest.$ac_ext <<EOF |
8006 #line 8007 "configure" | 8014 #line 8015 "configure" |
8007 #include "confdefs.h" | 8015 #include "confdefs.h" |
8008 /* Override any gcc2 internal prototype to avoid an error. */ | 8016 /* Override any gcc2 internal prototype to avoid an error. */ |
8009 /* We use char because int might match the return type of a gcc2 | 8017 /* We use char because int might match the return type of a gcc2 |
8010 builtin and then its argument prototype would still apply. */ | 8018 builtin and then its argument prototype would still apply. */ |
8011 char PQconnectdb(); | 8019 char PQconnectdb(); |
8012 | 8020 |
8013 int main() { | 8021 int main() { |
8014 PQconnectdb() | 8022 PQconnectdb() |
8015 ; return 0; } | 8023 ; return 0; } |
8016 EOF | 8024 EOF |
8017 if { (eval echo configure:8018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8025 if { (eval echo configure:8026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8018 rm -rf conftest* | 8026 rm -rf conftest* |
8019 eval "ac_cv_lib_$ac_lib_var=yes" | 8027 eval "ac_cv_lib_$ac_lib_var=yes" |
8020 else | 8028 else |
8021 echo "configure: failed program was:" >&5 | 8029 echo "configure: failed program was:" >&5 |
8022 cat conftest.$ac_ext >&5 | 8030 cat conftest.$ac_ext >&5 |
8045 EOF | 8053 EOF |
8046 } | 8054 } |
8047 | 8055 |
8048 | 8056 |
8049 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8057 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8050 echo "configure:8051: checking for PQconnectStart in -lpq" >&5 | 8058 echo "configure:8059: checking for PQconnectStart in -lpq" >&5 |
8051 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8059 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8052 | 8060 |
8053 xe_check_libs=" -lpq " | 8061 xe_check_libs=" -lpq " |
8054 cat > conftest.$ac_ext <<EOF | 8062 cat > conftest.$ac_ext <<EOF |
8055 #line 8056 "configure" | 8063 #line 8064 "configure" |
8056 #include "confdefs.h" | 8064 #include "confdefs.h" |
8057 /* Override any gcc2 internal prototype to avoid an error. */ | 8065 /* Override any gcc2 internal prototype to avoid an error. */ |
8058 /* We use char because int might match the return type of a gcc2 | 8066 /* We use char because int might match the return type of a gcc2 |
8059 builtin and then its argument prototype would still apply. */ | 8067 builtin and then its argument prototype would still apply. */ |
8060 char PQconnectStart(); | 8068 char PQconnectStart(); |
8061 | 8069 |
8062 int main() { | 8070 int main() { |
8063 PQconnectStart() | 8071 PQconnectStart() |
8064 ; return 0; } | 8072 ; return 0; } |
8065 EOF | 8073 EOF |
8066 if { (eval echo configure:8067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8074 if { (eval echo configure:8075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8067 rm -rf conftest* | 8075 rm -rf conftest* |
8068 eval "ac_cv_lib_$ac_lib_var=yes" | 8076 eval "ac_cv_lib_$ac_lib_var=yes" |
8069 else | 8077 else |
8070 echo "configure: failed program was:" >&5 | 8078 echo "configure: failed program was:" >&5 |
8071 cat conftest.$ac_ext >&5 | 8079 cat conftest.$ac_ext >&5 |
8109 fi | 8117 fi |
8110 | 8118 |
8111 | 8119 |
8112 if test "$window_system" != "none"; then | 8120 if test "$window_system" != "none"; then |
8113 echo "checking for graphics libraries" 1>&6 | 8121 echo "checking for graphics libraries" 1>&6 |
8114 echo "configure:8115: checking for graphics libraries" >&5 | 8122 echo "configure:8123: checking for graphics libraries" >&5 |
8115 | 8123 |
8116 xpm_problem="" | 8124 xpm_problem="" |
8117 if test -z "$with_xpm"; then | 8125 if test -z "$with_xpm"; then |
8118 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8126 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8119 echo "configure:8120: checking for Xpm - no older than 3.4f" >&5 | 8127 echo "configure:8128: checking for Xpm - no older than 3.4f" >&5 |
8120 xe_check_libs=-lXpm | 8128 xe_check_libs=-lXpm |
8121 cat > conftest.$ac_ext <<EOF | 8129 cat > conftest.$ac_ext <<EOF |
8122 #line 8123 "configure" | 8130 #line 8131 "configure" |
8123 #include "confdefs.h" | 8131 #include "confdefs.h" |
8124 #define XPM_NUMBERS | 8132 #define XPM_NUMBERS |
8125 #include <X11/xpm.h> | 8133 #include <X11/xpm.h> |
8126 int main(int c, char **v) { | 8134 int main(int c, char **v) { |
8127 return c == 1 ? 0 : | 8135 return c == 1 ? 0 : |
8128 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8136 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8129 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8137 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8130 EOF | 8138 EOF |
8131 if { (eval echo configure:8132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8139 if { (eval echo configure:8140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8132 then | 8140 then |
8133 ./conftest dummy_arg; xpm_status=$?; | 8141 ./conftest dummy_arg; xpm_status=$?; |
8134 if test "$xpm_status" = "0"; then | 8142 if test "$xpm_status" = "0"; then |
8135 with_xpm=yes; | 8143 with_xpm=yes; |
8136 else | 8144 else |
8168 EOF | 8176 EOF |
8169 } | 8177 } |
8170 | 8178 |
8171 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8179 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8172 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8180 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8173 echo "configure:8174: checking for \"FOR_MSW\" xpm" >&5 | 8181 echo "configure:8182: checking for \"FOR_MSW\" xpm" >&5 |
8174 xe_check_libs=-lXpm | 8182 xe_check_libs=-lXpm |
8175 cat > conftest.$ac_ext <<EOF | 8183 cat > conftest.$ac_ext <<EOF |
8176 #line 8177 "configure" | 8184 #line 8185 "configure" |
8177 #include "confdefs.h" | 8185 #include "confdefs.h" |
8178 | 8186 |
8179 int main() { | 8187 int main() { |
8180 XpmCreatePixmapFromData() | 8188 XpmCreatePixmapFromData() |
8181 ; return 0; } | 8189 ; return 0; } |
8182 EOF | 8190 EOF |
8183 if { (eval echo configure:8184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8191 if { (eval echo configure:8192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8184 rm -rf conftest* | 8192 rm -rf conftest* |
8185 xpm_for_msw=no | 8193 xpm_for_msw=no |
8186 else | 8194 else |
8187 echo "configure: failed program was:" >&5 | 8195 echo "configure: failed program was:" >&5 |
8188 cat conftest.$ac_ext >&5 | 8196 cat conftest.$ac_ext >&5 |
8204 fi | 8212 fi |
8205 fi | 8213 fi |
8206 | 8214 |
8207 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8215 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8208 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8216 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8209 echo "configure:8210: checking for compface.h" >&5 | 8217 echo "configure:8218: checking for compface.h" >&5 |
8210 | 8218 |
8211 cat > conftest.$ac_ext <<EOF | 8219 cat > conftest.$ac_ext <<EOF |
8212 #line 8213 "configure" | 8220 #line 8221 "configure" |
8213 #include "confdefs.h" | 8221 #include "confdefs.h" |
8214 #include <compface.h> | 8222 #include <compface.h> |
8215 EOF | 8223 EOF |
8216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8224 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8217 { (eval echo configure:8218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8225 { (eval echo configure:8226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8226 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8219 if test -z "$ac_err"; then | 8227 if test -z "$ac_err"; then |
8220 rm -rf conftest* | 8228 rm -rf conftest* |
8221 eval "ac_cv_header_$ac_safe=yes" | 8229 eval "ac_cv_header_$ac_safe=yes" |
8222 else | 8230 else |
8235 with_xface=no | 8243 with_xface=no |
8236 fi | 8244 fi |
8237 } | 8245 } |
8238 test -z "$with_xface" && { | 8246 test -z "$with_xface" && { |
8239 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8247 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8240 echo "configure:8241: checking for UnGenFace in -lcompface" >&5 | 8248 echo "configure:8249: checking for UnGenFace in -lcompface" >&5 |
8241 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8249 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8242 | 8250 |
8243 xe_check_libs=" -lcompface " | 8251 xe_check_libs=" -lcompface " |
8244 cat > conftest.$ac_ext <<EOF | 8252 cat > conftest.$ac_ext <<EOF |
8245 #line 8246 "configure" | 8253 #line 8254 "configure" |
8246 #include "confdefs.h" | 8254 #include "confdefs.h" |
8247 /* Override any gcc2 internal prototype to avoid an error. */ | 8255 /* Override any gcc2 internal prototype to avoid an error. */ |
8248 /* We use char because int might match the return type of a gcc2 | 8256 /* We use char because int might match the return type of a gcc2 |
8249 builtin and then its argument prototype would still apply. */ | 8257 builtin and then its argument prototype would still apply. */ |
8250 char UnGenFace(); | 8258 char UnGenFace(); |
8251 | 8259 |
8252 int main() { | 8260 int main() { |
8253 UnGenFace() | 8261 UnGenFace() |
8254 ; return 0; } | 8262 ; return 0; } |
8255 EOF | 8263 EOF |
8256 if { (eval echo configure:8257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8264 if { (eval echo configure:8265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8257 rm -rf conftest* | 8265 rm -rf conftest* |
8258 eval "ac_cv_lib_$ac_lib_var=yes" | 8266 eval "ac_cv_lib_$ac_lib_var=yes" |
8259 else | 8267 else |
8260 echo "configure: failed program was:" >&5 | 8268 echo "configure: failed program was:" >&5 |
8261 cat conftest.$ac_ext >&5 | 8269 cat conftest.$ac_ext >&5 |
8303 fi | 8311 fi |
8304 | 8312 |
8305 if test "$with_png $with_tiff" != "no no"; then | 8313 if test "$with_png $with_tiff" != "no no"; then |
8306 | 8314 |
8307 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8315 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8308 echo "configure:8309: checking for inflate in -lc" >&5 | 8316 echo "configure:8317: checking for inflate in -lc" >&5 |
8309 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8317 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8310 | 8318 |
8311 xe_check_libs=" -lc " | 8319 xe_check_libs=" -lc " |
8312 cat > conftest.$ac_ext <<EOF | 8320 cat > conftest.$ac_ext <<EOF |
8313 #line 8314 "configure" | 8321 #line 8322 "configure" |
8314 #include "confdefs.h" | 8322 #include "confdefs.h" |
8315 /* Override any gcc2 internal prototype to avoid an error. */ | 8323 /* Override any gcc2 internal prototype to avoid an error. */ |
8316 /* We use char because int might match the return type of a gcc2 | 8324 /* We use char because int might match the return type of a gcc2 |
8317 builtin and then its argument prototype would still apply. */ | 8325 builtin and then its argument prototype would still apply. */ |
8318 char inflate(); | 8326 char inflate(); |
8319 | 8327 |
8320 int main() { | 8328 int main() { |
8321 inflate() | 8329 inflate() |
8322 ; return 0; } | 8330 ; return 0; } |
8323 EOF | 8331 EOF |
8324 if { (eval echo configure:8325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8332 if { (eval echo configure:8333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8325 rm -rf conftest* | 8333 rm -rf conftest* |
8326 eval "ac_cv_lib_$ac_lib_var=yes" | 8334 eval "ac_cv_lib_$ac_lib_var=yes" |
8327 else | 8335 else |
8328 echo "configure: failed program was:" >&5 | 8336 echo "configure: failed program was:" >&5 |
8329 cat conftest.$ac_ext >&5 | 8337 cat conftest.$ac_ext >&5 |
8338 : | 8346 : |
8339 else | 8347 else |
8340 echo "$ac_t""no" 1>&6 | 8348 echo "$ac_t""no" 1>&6 |
8341 | 8349 |
8342 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8350 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8343 echo "configure:8344: checking for inflate in -lz" >&5 | 8351 echo "configure:8352: checking for inflate in -lz" >&5 |
8344 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8352 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8345 | 8353 |
8346 xe_check_libs=" -lz " | 8354 xe_check_libs=" -lz " |
8347 cat > conftest.$ac_ext <<EOF | 8355 cat > conftest.$ac_ext <<EOF |
8348 #line 8349 "configure" | 8356 #line 8357 "configure" |
8349 #include "confdefs.h" | 8357 #include "confdefs.h" |
8350 /* Override any gcc2 internal prototype to avoid an error. */ | 8358 /* Override any gcc2 internal prototype to avoid an error. */ |
8351 /* We use char because int might match the return type of a gcc2 | 8359 /* We use char because int might match the return type of a gcc2 |
8352 builtin and then its argument prototype would still apply. */ | 8360 builtin and then its argument prototype would still apply. */ |
8353 char inflate(); | 8361 char inflate(); |
8354 | 8362 |
8355 int main() { | 8363 int main() { |
8356 inflate() | 8364 inflate() |
8357 ; return 0; } | 8365 ; return 0; } |
8358 EOF | 8366 EOF |
8359 if { (eval echo configure:8360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8367 if { (eval echo configure:8368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8360 rm -rf conftest* | 8368 rm -rf conftest* |
8361 eval "ac_cv_lib_$ac_lib_var=yes" | 8369 eval "ac_cv_lib_$ac_lib_var=yes" |
8362 else | 8370 else |
8363 echo "configure: failed program was:" >&5 | 8371 echo "configure: failed program was:" >&5 |
8364 cat conftest.$ac_ext >&5 | 8372 cat conftest.$ac_ext >&5 |
8373 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8381 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8374 else | 8382 else |
8375 echo "$ac_t""no" 1>&6 | 8383 echo "$ac_t""no" 1>&6 |
8376 | 8384 |
8377 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8385 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8378 echo "configure:8379: checking for inflate in -lgz" >&5 | 8386 echo "configure:8387: checking for inflate in -lgz" >&5 |
8379 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8387 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8380 | 8388 |
8381 xe_check_libs=" -lgz " | 8389 xe_check_libs=" -lgz " |
8382 cat > conftest.$ac_ext <<EOF | 8390 cat > conftest.$ac_ext <<EOF |
8383 #line 8384 "configure" | 8391 #line 8392 "configure" |
8384 #include "confdefs.h" | 8392 #include "confdefs.h" |
8385 /* Override any gcc2 internal prototype to avoid an error. */ | 8393 /* Override any gcc2 internal prototype to avoid an error. */ |
8386 /* We use char because int might match the return type of a gcc2 | 8394 /* We use char because int might match the return type of a gcc2 |
8387 builtin and then its argument prototype would still apply. */ | 8395 builtin and then its argument prototype would still apply. */ |
8388 char inflate(); | 8396 char inflate(); |
8389 | 8397 |
8390 int main() { | 8398 int main() { |
8391 inflate() | 8399 inflate() |
8392 ; return 0; } | 8400 ; return 0; } |
8393 EOF | 8401 EOF |
8394 if { (eval echo configure:8395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8402 if { (eval echo configure:8403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8395 rm -rf conftest* | 8403 rm -rf conftest* |
8396 eval "ac_cv_lib_$ac_lib_var=yes" | 8404 eval "ac_cv_lib_$ac_lib_var=yes" |
8397 else | 8405 else |
8398 echo "configure: failed program was:" >&5 | 8406 echo "configure: failed program was:" >&5 |
8399 cat conftest.$ac_ext >&5 | 8407 cat conftest.$ac_ext >&5 |
8419 | 8427 |
8420 fi | 8428 fi |
8421 | 8429 |
8422 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8430 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8423 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8431 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8424 echo "configure:8425: checking for jpeglib.h" >&5 | 8432 echo "configure:8433: checking for jpeglib.h" >&5 |
8425 | 8433 |
8426 cat > conftest.$ac_ext <<EOF | 8434 cat > conftest.$ac_ext <<EOF |
8427 #line 8428 "configure" | 8435 #line 8436 "configure" |
8428 #include "confdefs.h" | 8436 #include "confdefs.h" |
8429 #include <jpeglib.h> | 8437 #include <jpeglib.h> |
8430 EOF | 8438 EOF |
8431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8439 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8432 { (eval echo configure:8433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8440 { (eval echo configure:8441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8441 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8434 if test -z "$ac_err"; then | 8442 if test -z "$ac_err"; then |
8435 rm -rf conftest* | 8443 rm -rf conftest* |
8436 eval "ac_cv_header_$ac_safe=yes" | 8444 eval "ac_cv_header_$ac_safe=yes" |
8437 else | 8445 else |
8450 with_jpeg=no | 8458 with_jpeg=no |
8451 fi | 8459 fi |
8452 } | 8460 } |
8453 test -z "$with_jpeg" && { | 8461 test -z "$with_jpeg" && { |
8454 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8462 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8455 echo "configure:8456: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8463 echo "configure:8464: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8456 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8464 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8457 | 8465 |
8458 xe_check_libs=" -ljpeg " | 8466 xe_check_libs=" -ljpeg " |
8459 cat > conftest.$ac_ext <<EOF | 8467 cat > conftest.$ac_ext <<EOF |
8460 #line 8461 "configure" | 8468 #line 8469 "configure" |
8461 #include "confdefs.h" | 8469 #include "confdefs.h" |
8462 /* Override any gcc2 internal prototype to avoid an error. */ | 8470 /* Override any gcc2 internal prototype to avoid an error. */ |
8463 /* We use char because int might match the return type of a gcc2 | 8471 /* We use char because int might match the return type of a gcc2 |
8464 builtin and then its argument prototype would still apply. */ | 8472 builtin and then its argument prototype would still apply. */ |
8465 char jpeg_destroy_decompress(); | 8473 char jpeg_destroy_decompress(); |
8466 | 8474 |
8467 int main() { | 8475 int main() { |
8468 jpeg_destroy_decompress() | 8476 jpeg_destroy_decompress() |
8469 ; return 0; } | 8477 ; return 0; } |
8470 EOF | 8478 EOF |
8471 if { (eval echo configure:8472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8479 if { (eval echo configure:8480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8472 rm -rf conftest* | 8480 rm -rf conftest* |
8473 eval "ac_cv_lib_$ac_lib_var=yes" | 8481 eval "ac_cv_lib_$ac_lib_var=yes" |
8474 else | 8482 else |
8475 echo "configure: failed program was:" >&5 | 8483 echo "configure: failed program was:" >&5 |
8476 cat conftest.$ac_ext >&5 | 8484 cat conftest.$ac_ext >&5 |
8502 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8510 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8503 fi | 8511 fi |
8504 | 8512 |
8505 png_problem="" | 8513 png_problem="" |
8506 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8514 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8507 echo "configure:8508: checking for pow" >&5 | 8515 echo "configure:8516: checking for pow" >&5 |
8508 | 8516 |
8509 cat > conftest.$ac_ext <<EOF | 8517 cat > conftest.$ac_ext <<EOF |
8510 #line 8511 "configure" | 8518 #line 8519 "configure" |
8511 #include "confdefs.h" | 8519 #include "confdefs.h" |
8512 /* System header to define __stub macros and hopefully few prototypes, | 8520 /* System header to define __stub macros and hopefully few prototypes, |
8513 which can conflict with char pow(); below. */ | 8521 which can conflict with char pow(); below. */ |
8514 #include <assert.h> | 8522 #include <assert.h> |
8515 /* Override any gcc2 internal prototype to avoid an error. */ | 8523 /* Override any gcc2 internal prototype to avoid an error. */ |
8528 pow(); | 8536 pow(); |
8529 #endif | 8537 #endif |
8530 | 8538 |
8531 ; return 0; } | 8539 ; return 0; } |
8532 EOF | 8540 EOF |
8533 if { (eval echo configure:8534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8541 if { (eval echo configure:8542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8534 rm -rf conftest* | 8542 rm -rf conftest* |
8535 eval "ac_cv_func_pow=yes" | 8543 eval "ac_cv_func_pow=yes" |
8536 else | 8544 else |
8537 echo "configure: failed program was:" >&5 | 8545 echo "configure: failed program was:" >&5 |
8538 cat conftest.$ac_ext >&5 | 8546 cat conftest.$ac_ext >&5 |
8549 with_png=no | 8557 with_png=no |
8550 fi | 8558 fi |
8551 } | 8559 } |
8552 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8560 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8553 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8561 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8554 echo "configure:8555: checking for png.h" >&5 | 8562 echo "configure:8563: checking for png.h" >&5 |
8555 | 8563 |
8556 cat > conftest.$ac_ext <<EOF | 8564 cat > conftest.$ac_ext <<EOF |
8557 #line 8558 "configure" | 8565 #line 8566 "configure" |
8558 #include "confdefs.h" | 8566 #include "confdefs.h" |
8559 #include <png.h> | 8567 #include <png.h> |
8560 EOF | 8568 EOF |
8561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8562 { (eval echo configure:8563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8570 { (eval echo configure:8571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8564 if test -z "$ac_err"; then | 8572 if test -z "$ac_err"; then |
8565 rm -rf conftest* | 8573 rm -rf conftest* |
8566 eval "ac_cv_header_$ac_safe=yes" | 8574 eval "ac_cv_header_$ac_safe=yes" |
8567 else | 8575 else |
8580 with_png=no | 8588 with_png=no |
8581 fi | 8589 fi |
8582 } | 8590 } |
8583 test -z "$with_png" && { | 8591 test -z "$with_png" && { |
8584 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8592 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8585 echo "configure:8586: checking for png_read_image in -lpng" >&5 | 8593 echo "configure:8594: checking for png_read_image in -lpng" >&5 |
8586 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8594 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8587 | 8595 |
8588 xe_check_libs=" -lpng " | 8596 xe_check_libs=" -lpng " |
8589 cat > conftest.$ac_ext <<EOF | 8597 cat > conftest.$ac_ext <<EOF |
8590 #line 8591 "configure" | 8598 #line 8599 "configure" |
8591 #include "confdefs.h" | 8599 #include "confdefs.h" |
8592 /* Override any gcc2 internal prototype to avoid an error. */ | 8600 /* Override any gcc2 internal prototype to avoid an error. */ |
8593 /* We use char because int might match the return type of a gcc2 | 8601 /* We use char because int might match the return type of a gcc2 |
8594 builtin and then its argument prototype would still apply. */ | 8602 builtin and then its argument prototype would still apply. */ |
8595 char png_read_image(); | 8603 char png_read_image(); |
8596 | 8604 |
8597 int main() { | 8605 int main() { |
8598 png_read_image() | 8606 png_read_image() |
8599 ; return 0; } | 8607 ; return 0; } |
8600 EOF | 8608 EOF |
8601 if { (eval echo configure:8602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8609 if { (eval echo configure:8610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8602 rm -rf conftest* | 8610 rm -rf conftest* |
8603 eval "ac_cv_lib_$ac_lib_var=yes" | 8611 eval "ac_cv_lib_$ac_lib_var=yes" |
8604 else | 8612 else |
8605 echo "configure: failed program was:" >&5 | 8613 echo "configure: failed program was:" >&5 |
8606 cat conftest.$ac_ext >&5 | 8614 cat conftest.$ac_ext >&5 |
8619 fi | 8627 fi |
8620 | 8628 |
8621 } | 8629 } |
8622 if test -z "$with_png"; then | 8630 if test -z "$with_png"; then |
8623 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8631 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8624 echo "configure:8625: checking for workable png version information" >&5 | 8632 echo "configure:8633: checking for workable png version information" >&5 |
8625 xe_check_libs="-lpng -lz" | 8633 xe_check_libs="-lpng -lz" |
8626 cat > conftest.$ac_ext <<EOF | 8634 cat > conftest.$ac_ext <<EOF |
8627 #line 8628 "configure" | 8635 #line 8636 "configure" |
8628 #include "confdefs.h" | 8636 #include "confdefs.h" |
8629 #include <png.h> | 8637 #include <png.h> |
8630 int main(int c, char **v) { | 8638 int main(int c, char **v) { |
8631 if (c == 1) return 0; | 8639 if (c == 1) return 0; |
8632 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8640 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8633 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8641 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8634 EOF | 8642 EOF |
8635 if { (eval echo configure:8636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8643 if { (eval echo configure:8644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8636 then | 8644 then |
8637 ./conftest dummy_arg; png_status=$?; | 8645 ./conftest dummy_arg; png_status=$?; |
8638 if test "$png_status" = "0"; then | 8646 if test "$png_status" = "0"; then |
8639 with_png=yes; | 8647 with_png=yes; |
8640 else | 8648 else |
8673 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8681 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8674 fi | 8682 fi |
8675 | 8683 |
8676 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8684 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8677 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8685 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8678 echo "configure:8679: checking for tiffio.h" >&5 | 8686 echo "configure:8687: checking for tiffio.h" >&5 |
8679 | 8687 |
8680 cat > conftest.$ac_ext <<EOF | 8688 cat > conftest.$ac_ext <<EOF |
8681 #line 8682 "configure" | 8689 #line 8690 "configure" |
8682 #include "confdefs.h" | 8690 #include "confdefs.h" |
8683 #include <tiffio.h> | 8691 #include <tiffio.h> |
8684 EOF | 8692 EOF |
8685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8686 { (eval echo configure:8687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8694 { (eval echo configure:8695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8687 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8688 if test -z "$ac_err"; then | 8696 if test -z "$ac_err"; then |
8689 rm -rf conftest* | 8697 rm -rf conftest* |
8690 eval "ac_cv_header_$ac_safe=yes" | 8698 eval "ac_cv_header_$ac_safe=yes" |
8691 else | 8699 else |
8704 with_tiff=no | 8712 with_tiff=no |
8705 fi | 8713 fi |
8706 } | 8714 } |
8707 test -z "$with_tiff" && { | 8715 test -z "$with_tiff" && { |
8708 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8716 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8709 echo "configure:8710: checking for TIFFClientOpen in -ltiff" >&5 | 8717 echo "configure:8718: checking for TIFFClientOpen in -ltiff" >&5 |
8710 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8718 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8711 | 8719 |
8712 xe_check_libs=" -ltiff " | 8720 xe_check_libs=" -ltiff " |
8713 cat > conftest.$ac_ext <<EOF | 8721 cat > conftest.$ac_ext <<EOF |
8714 #line 8715 "configure" | 8722 #line 8723 "configure" |
8715 #include "confdefs.h" | 8723 #include "confdefs.h" |
8716 /* Override any gcc2 internal prototype to avoid an error. */ | 8724 /* Override any gcc2 internal prototype to avoid an error. */ |
8717 /* We use char because int might match the return type of a gcc2 | 8725 /* We use char because int might match the return type of a gcc2 |
8718 builtin and then its argument prototype would still apply. */ | 8726 builtin and then its argument prototype would still apply. */ |
8719 char TIFFClientOpen(); | 8727 char TIFFClientOpen(); |
8720 | 8728 |
8721 int main() { | 8729 int main() { |
8722 TIFFClientOpen() | 8730 TIFFClientOpen() |
8723 ; return 0; } | 8731 ; return 0; } |
8724 EOF | 8732 EOF |
8725 if { (eval echo configure:8726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8733 if { (eval echo configure:8734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8726 rm -rf conftest* | 8734 rm -rf conftest* |
8727 eval "ac_cv_lib_$ac_lib_var=yes" | 8735 eval "ac_cv_lib_$ac_lib_var=yes" |
8728 else | 8736 else |
8729 echo "configure: failed program was:" >&5 | 8737 echo "configure: failed program was:" >&5 |
8730 cat conftest.$ac_ext >&5 | 8738 cat conftest.$ac_ext >&5 |
8759 | 8767 |
8760 | 8768 |
8761 if test "$with_gtk" = "yes"; then | 8769 if test "$with_gtk" = "yes"; then |
8762 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8770 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8763 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8771 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8764 echo "configure:8765: checking for compface.h" >&5 | 8772 echo "configure:8773: checking for compface.h" >&5 |
8765 | 8773 |
8766 cat > conftest.$ac_ext <<EOF | 8774 cat > conftest.$ac_ext <<EOF |
8767 #line 8768 "configure" | 8775 #line 8776 "configure" |
8768 #include "confdefs.h" | 8776 #include "confdefs.h" |
8769 #include <compface.h> | 8777 #include <compface.h> |
8770 EOF | 8778 EOF |
8771 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8772 { (eval echo configure:8773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8780 { (eval echo configure:8781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8773 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8774 if test -z "$ac_err"; then | 8782 if test -z "$ac_err"; then |
8775 rm -rf conftest* | 8783 rm -rf conftest* |
8776 eval "ac_cv_header_$ac_safe=yes" | 8784 eval "ac_cv_header_$ac_safe=yes" |
8777 else | 8785 else |
8790 with_xface=no | 8798 with_xface=no |
8791 fi | 8799 fi |
8792 } | 8800 } |
8793 test -z "$with_xface" && { | 8801 test -z "$with_xface" && { |
8794 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8802 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8795 echo "configure:8796: checking for UnGenFace in -lcompface" >&5 | 8803 echo "configure:8804: checking for UnGenFace in -lcompface" >&5 |
8796 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8804 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8797 | 8805 |
8798 xe_check_libs=" -lcompface " | 8806 xe_check_libs=" -lcompface " |
8799 cat > conftest.$ac_ext <<EOF | 8807 cat > conftest.$ac_ext <<EOF |
8800 #line 8801 "configure" | 8808 #line 8809 "configure" |
8801 #include "confdefs.h" | 8809 #include "confdefs.h" |
8802 /* Override any gcc2 internal prototype to avoid an error. */ | 8810 /* Override any gcc2 internal prototype to avoid an error. */ |
8803 /* We use char because int might match the return type of a gcc2 | 8811 /* We use char because int might match the return type of a gcc2 |
8804 builtin and then its argument prototype would still apply. */ | 8812 builtin and then its argument prototype would still apply. */ |
8805 char UnGenFace(); | 8813 char UnGenFace(); |
8806 | 8814 |
8807 int main() { | 8815 int main() { |
8808 UnGenFace() | 8816 UnGenFace() |
8809 ; return 0; } | 8817 ; return 0; } |
8810 EOF | 8818 EOF |
8811 if { (eval echo configure:8812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8819 if { (eval echo configure:8820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8812 rm -rf conftest* | 8820 rm -rf conftest* |
8813 eval "ac_cv_lib_$ac_lib_var=yes" | 8821 eval "ac_cv_lib_$ac_lib_var=yes" |
8814 else | 8822 else |
8815 echo "configure: failed program was:" >&5 | 8823 echo "configure: failed program was:" >&5 |
8816 cat conftest.$ac_ext >&5 | 8824 cat conftest.$ac_ext >&5 |
8846 | 8854 |
8847 | 8855 |
8848 if test "$with_x11" = "yes"; then | 8856 if test "$with_x11" = "yes"; then |
8849 | 8857 |
8850 echo "checking for X11 graphics libraries" 1>&6 | 8858 echo "checking for X11 graphics libraries" 1>&6 |
8851 echo "configure:8852: checking for X11 graphics libraries" >&5 | 8859 echo "configure:8860: checking for X11 graphics libraries" >&5 |
8852 | 8860 |
8853 echo "checking for the Athena widgets" 1>&6 | 8861 echo "checking for the Athena widgets" 1>&6 |
8854 echo "configure:8855: checking for the Athena widgets" >&5 | 8862 echo "configure:8863: checking for the Athena widgets" >&5 |
8855 | 8863 |
8856 case "$with_athena" in | 8864 case "$with_athena" in |
8857 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8865 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8858 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8866 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8859 "next") athena_variant=neXtaw athena_3d=yes ;; | 8867 "next") athena_variant=neXtaw athena_3d=yes ;; |
8863 esac | 8871 esac |
8864 | 8872 |
8865 if test "$athena_3d" = "no"; then | 8873 if test "$athena_3d" = "no"; then |
8866 | 8874 |
8867 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8875 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8868 echo "configure:8869: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8876 echo "configure:8877: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8869 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8877 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8870 | 8878 |
8871 xe_check_libs=" -l$athena_variant " | 8879 xe_check_libs=" -l$athena_variant " |
8872 cat > conftest.$ac_ext <<EOF | 8880 cat > conftest.$ac_ext <<EOF |
8873 #line 8874 "configure" | 8881 #line 8882 "configure" |
8874 #include "confdefs.h" | 8882 #include "confdefs.h" |
8875 /* Override any gcc2 internal prototype to avoid an error. */ | 8883 /* Override any gcc2 internal prototype to avoid an error. */ |
8876 /* We use char because int might match the return type of a gcc2 | 8884 /* We use char because int might match the return type of a gcc2 |
8877 builtin and then its argument prototype would still apply. */ | 8885 builtin and then its argument prototype would still apply. */ |
8878 char XawScrollbarSetThumb(); | 8886 char XawScrollbarSetThumb(); |
8879 | 8887 |
8880 int main() { | 8888 int main() { |
8881 XawScrollbarSetThumb() | 8889 XawScrollbarSetThumb() |
8882 ; return 0; } | 8890 ; return 0; } |
8883 EOF | 8891 EOF |
8884 if { (eval echo configure:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8892 if { (eval echo configure:8893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8885 rm -rf conftest* | 8893 rm -rf conftest* |
8886 eval "ac_cv_lib_$ac_lib_var=yes" | 8894 eval "ac_cv_lib_$ac_lib_var=yes" |
8887 else | 8895 else |
8888 echo "configure: failed program was:" >&5 | 8896 echo "configure: failed program was:" >&5 |
8889 cat conftest.$ac_ext >&5 | 8897 cat conftest.$ac_ext >&5 |
8895 | 8903 |
8896 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8904 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8897 echo "$ac_t""yes" 1>&6 | 8905 echo "$ac_t""yes" 1>&6 |
8898 | 8906 |
8899 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8907 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8900 echo "configure:8901: checking for threeDClassRec in -l$athena_variant" >&5 | 8908 echo "configure:8909: checking for threeDClassRec in -l$athena_variant" >&5 |
8901 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8909 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8902 | 8910 |
8903 xe_check_libs=" -l$athena_variant " | 8911 xe_check_libs=" -l$athena_variant " |
8904 cat > conftest.$ac_ext <<EOF | 8912 cat > conftest.$ac_ext <<EOF |
8905 #line 8906 "configure" | 8913 #line 8914 "configure" |
8906 #include "confdefs.h" | 8914 #include "confdefs.h" |
8907 /* Override any gcc2 internal prototype to avoid an error. */ | 8915 /* Override any gcc2 internal prototype to avoid an error. */ |
8908 /* We use char because int might match the return type of a gcc2 | 8916 /* We use char because int might match the return type of a gcc2 |
8909 builtin and then its argument prototype would still apply. */ | 8917 builtin and then its argument prototype would still apply. */ |
8910 char threeDClassRec(); | 8918 char threeDClassRec(); |
8911 | 8919 |
8912 int main() { | 8920 int main() { |
8913 threeDClassRec() | 8921 threeDClassRec() |
8914 ; return 0; } | 8922 ; return 0; } |
8915 EOF | 8923 EOF |
8916 if { (eval echo configure:8917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8924 if { (eval echo configure:8925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8917 rm -rf conftest* | 8925 rm -rf conftest* |
8918 eval "ac_cv_lib_$ac_lib_var=yes" | 8926 eval "ac_cv_lib_$ac_lib_var=yes" |
8919 else | 8927 else |
8920 echo "configure: failed program was:" >&5 | 8928 echo "configure: failed program was:" >&5 |
8921 cat conftest.$ac_ext >&5 | 8929 cat conftest.$ac_ext >&5 |
8942 | 8950 |
8943 | 8951 |
8944 else | 8952 else |
8945 | 8953 |
8946 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8954 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8947 echo "configure:8948: checking for threeDClassRec in -l$athena_variant" >&5 | 8955 echo "configure:8956: checking for threeDClassRec in -l$athena_variant" >&5 |
8948 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8956 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8949 | 8957 |
8950 xe_check_libs=" -l$athena_variant " | 8958 xe_check_libs=" -l$athena_variant " |
8951 cat > conftest.$ac_ext <<EOF | 8959 cat > conftest.$ac_ext <<EOF |
8952 #line 8953 "configure" | 8960 #line 8961 "configure" |
8953 #include "confdefs.h" | 8961 #include "confdefs.h" |
8954 /* Override any gcc2 internal prototype to avoid an error. */ | 8962 /* Override any gcc2 internal prototype to avoid an error. */ |
8955 /* We use char because int might match the return type of a gcc2 | 8963 /* We use char because int might match the return type of a gcc2 |
8956 builtin and then its argument prototype would still apply. */ | 8964 builtin and then its argument prototype would still apply. */ |
8957 char threeDClassRec(); | 8965 char threeDClassRec(); |
8958 | 8966 |
8959 int main() { | 8967 int main() { |
8960 threeDClassRec() | 8968 threeDClassRec() |
8961 ; return 0; } | 8969 ; return 0; } |
8962 EOF | 8970 EOF |
8963 if { (eval echo configure:8964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8971 if { (eval echo configure:8972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8964 rm -rf conftest* | 8972 rm -rf conftest* |
8965 eval "ac_cv_lib_$ac_lib_var=yes" | 8973 eval "ac_cv_lib_$ac_lib_var=yes" |
8966 else | 8974 else |
8967 echo "configure: failed program was:" >&5 | 8975 echo "configure: failed program was:" >&5 |
8968 cat conftest.$ac_ext >&5 | 8976 cat conftest.$ac_ext >&5 |
8976 echo "$ac_t""yes" 1>&6 | 8984 echo "$ac_t""yes" 1>&6 |
8977 athena_lib=$athena_variant | 8985 athena_lib=$athena_variant |
8978 else | 8986 else |
8979 echo "$ac_t""no" 1>&6 | 8987 echo "$ac_t""no" 1>&6 |
8980 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8988 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8981 echo "configure:8982: checking for threeDClassRec in -lXaw" >&5 | 8989 echo "configure:8990: checking for threeDClassRec in -lXaw" >&5 |
8982 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8990 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8983 | 8991 |
8984 xe_check_libs=" -lXaw " | 8992 xe_check_libs=" -lXaw " |
8985 cat > conftest.$ac_ext <<EOF | 8993 cat > conftest.$ac_ext <<EOF |
8986 #line 8987 "configure" | 8994 #line 8995 "configure" |
8987 #include "confdefs.h" | 8995 #include "confdefs.h" |
8988 /* Override any gcc2 internal prototype to avoid an error. */ | 8996 /* Override any gcc2 internal prototype to avoid an error. */ |
8989 /* We use char because int might match the return type of a gcc2 | 8997 /* We use char because int might match the return type of a gcc2 |
8990 builtin and then its argument prototype would still apply. */ | 8998 builtin and then its argument prototype would still apply. */ |
8991 char threeDClassRec(); | 8999 char threeDClassRec(); |
8992 | 9000 |
8993 int main() { | 9001 int main() { |
8994 threeDClassRec() | 9002 threeDClassRec() |
8995 ; return 0; } | 9003 ; return 0; } |
8996 EOF | 9004 EOF |
8997 if { (eval echo configure:8998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9005 if { (eval echo configure:9006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8998 rm -rf conftest* | 9006 rm -rf conftest* |
8999 eval "ac_cv_lib_$ac_lib_var=yes" | 9007 eval "ac_cv_lib_$ac_lib_var=yes" |
9000 else | 9008 else |
9001 echo "configure: failed program was:" >&5 | 9009 echo "configure: failed program was:" >&5 |
9002 cat conftest.$ac_ext >&5 | 9010 cat conftest.$ac_ext >&5 |
9023 fi | 9031 fi |
9024 | 9032 |
9025 if test "$athena_3d" = "no"; then | 9033 if test "$athena_3d" = "no"; then |
9026 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9034 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9027 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9035 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9028 echo "configure:9029: checking for X11/Xaw/ThreeD.h" >&5 | 9036 echo "configure:9037: checking for X11/Xaw/ThreeD.h" >&5 |
9029 | 9037 |
9030 cat > conftest.$ac_ext <<EOF | 9038 cat > conftest.$ac_ext <<EOF |
9031 #line 9032 "configure" | 9039 #line 9040 "configure" |
9032 #include "confdefs.h" | 9040 #include "confdefs.h" |
9033 #include <X11/Xaw/ThreeD.h> | 9041 #include <X11/Xaw/ThreeD.h> |
9034 EOF | 9042 EOF |
9035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9043 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9036 { (eval echo configure:9037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9044 { (eval echo configure:9045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9037 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9045 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9038 if test -z "$ac_err"; then | 9046 if test -z "$ac_err"; then |
9039 rm -rf conftest* | 9047 rm -rf conftest* |
9040 eval "ac_cv_header_$ac_safe=yes" | 9048 eval "ac_cv_header_$ac_safe=yes" |
9041 else | 9049 else |
9051 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9059 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9052 else | 9060 else |
9053 echo "$ac_t""no" 1>&6 | 9061 echo "$ac_t""no" 1>&6 |
9054 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9062 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9055 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9063 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9056 echo "configure:9057: checking for X11/Xaw/XawInit.h" >&5 | 9064 echo "configure:9065: checking for X11/Xaw/XawInit.h" >&5 |
9057 | 9065 |
9058 cat > conftest.$ac_ext <<EOF | 9066 cat > conftest.$ac_ext <<EOF |
9059 #line 9060 "configure" | 9067 #line 9068 "configure" |
9060 #include "confdefs.h" | 9068 #include "confdefs.h" |
9061 #include <X11/Xaw/XawInit.h> | 9069 #include <X11/Xaw/XawInit.h> |
9062 EOF | 9070 EOF |
9063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9071 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9064 { (eval echo configure:9065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9072 { (eval echo configure:9073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9073 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9066 if test -z "$ac_err"; then | 9074 if test -z "$ac_err"; then |
9067 rm -rf conftest* | 9075 rm -rf conftest* |
9068 eval "ac_cv_header_$ac_safe=yes" | 9076 eval "ac_cv_header_$ac_safe=yes" |
9069 else | 9077 else |
9085 fi | 9093 fi |
9086 | 9094 |
9087 else | 9095 else |
9088 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9096 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9089 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9097 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9090 echo "configure:9091: checking for X11/$athena_variant/XawInit.h" >&5 | 9098 echo "configure:9099: checking for X11/$athena_variant/XawInit.h" >&5 |
9091 | 9099 |
9092 cat > conftest.$ac_ext <<EOF | 9100 cat > conftest.$ac_ext <<EOF |
9093 #line 9094 "configure" | 9101 #line 9102 "configure" |
9094 #include "confdefs.h" | 9102 #include "confdefs.h" |
9095 #include <X11/$athena_variant/XawInit.h> | 9103 #include <X11/$athena_variant/XawInit.h> |
9096 EOF | 9104 EOF |
9097 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9098 { (eval echo configure:9099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9106 { (eval echo configure:9107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9099 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9107 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9100 if test -z "$ac_err"; then | 9108 if test -z "$ac_err"; then |
9101 rm -rf conftest* | 9109 rm -rf conftest* |
9102 eval "ac_cv_header_$ac_safe=yes" | 9110 eval "ac_cv_header_$ac_safe=yes" |
9103 else | 9111 else |
9110 rm -f conftest* | 9118 rm -f conftest* |
9111 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9119 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9112 echo "$ac_t""yes" 1>&6 | 9120 echo "$ac_t""yes" 1>&6 |
9113 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9121 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9114 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9122 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9115 echo "configure:9116: checking for X11/$athena_variant/ThreeD.h" >&5 | 9123 echo "configure:9124: checking for X11/$athena_variant/ThreeD.h" >&5 |
9116 | 9124 |
9117 cat > conftest.$ac_ext <<EOF | 9125 cat > conftest.$ac_ext <<EOF |
9118 #line 9119 "configure" | 9126 #line 9127 "configure" |
9119 #include "confdefs.h" | 9127 #include "confdefs.h" |
9120 #include <X11/$athena_variant/ThreeD.h> | 9128 #include <X11/$athena_variant/ThreeD.h> |
9121 EOF | 9129 EOF |
9122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9123 { (eval echo configure:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9131 { (eval echo configure:9132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9125 if test -z "$ac_err"; then | 9133 if test -z "$ac_err"; then |
9126 rm -rf conftest* | 9134 rm -rf conftest* |
9127 eval "ac_cv_header_$ac_safe=yes" | 9135 eval "ac_cv_header_$ac_safe=yes" |
9128 else | 9136 else |
9146 | 9154 |
9147 | 9155 |
9148 if test -z "$athena_h_path"; then | 9156 if test -z "$athena_h_path"; then |
9149 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9157 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9150 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9158 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9151 echo "configure:9152: checking for $athena_variant/XawInit.h" >&5 | 9159 echo "configure:9160: checking for $athena_variant/XawInit.h" >&5 |
9152 | 9160 |
9153 cat > conftest.$ac_ext <<EOF | 9161 cat > conftest.$ac_ext <<EOF |
9154 #line 9155 "configure" | 9162 #line 9163 "configure" |
9155 #include "confdefs.h" | 9163 #include "confdefs.h" |
9156 #include <$athena_variant/XawInit.h> | 9164 #include <$athena_variant/XawInit.h> |
9157 EOF | 9165 EOF |
9158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9159 { (eval echo configure:9160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9167 { (eval echo configure:9168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9161 if test -z "$ac_err"; then | 9169 if test -z "$ac_err"; then |
9162 rm -rf conftest* | 9170 rm -rf conftest* |
9163 eval "ac_cv_header_$ac_safe=yes" | 9171 eval "ac_cv_header_$ac_safe=yes" |
9164 else | 9172 else |
9171 rm -f conftest* | 9179 rm -f conftest* |
9172 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9180 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9173 echo "$ac_t""yes" 1>&6 | 9181 echo "$ac_t""yes" 1>&6 |
9174 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9182 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9175 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9183 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9176 echo "configure:9177: checking for $athena_variant/ThreeD.h" >&5 | 9184 echo "configure:9185: checking for $athena_variant/ThreeD.h" >&5 |
9177 | 9185 |
9178 cat > conftest.$ac_ext <<EOF | 9186 cat > conftest.$ac_ext <<EOF |
9179 #line 9180 "configure" | 9187 #line 9188 "configure" |
9180 #include "confdefs.h" | 9188 #include "confdefs.h" |
9181 #include <$athena_variant/ThreeD.h> | 9189 #include <$athena_variant/ThreeD.h> |
9182 EOF | 9190 EOF |
9183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9191 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9184 { (eval echo configure:9185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9192 { (eval echo configure:9193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9193 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9186 if test -z "$ac_err"; then | 9194 if test -z "$ac_err"; then |
9187 rm -rf conftest* | 9195 rm -rf conftest* |
9188 eval "ac_cv_header_$ac_safe=yes" | 9196 eval "ac_cv_header_$ac_safe=yes" |
9189 else | 9197 else |
9208 fi | 9216 fi |
9209 | 9217 |
9210 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9218 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9211 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9219 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9212 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9220 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9213 echo "configure:9214: checking for X11/Xaw3d/XawInit.h" >&5 | 9221 echo "configure:9222: checking for X11/Xaw3d/XawInit.h" >&5 |
9214 | 9222 |
9215 cat > conftest.$ac_ext <<EOF | 9223 cat > conftest.$ac_ext <<EOF |
9216 #line 9217 "configure" | 9224 #line 9225 "configure" |
9217 #include "confdefs.h" | 9225 #include "confdefs.h" |
9218 #include <X11/Xaw3d/XawInit.h> | 9226 #include <X11/Xaw3d/XawInit.h> |
9219 EOF | 9227 EOF |
9220 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9221 { (eval echo configure:9222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9229 { (eval echo configure:9230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9222 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9223 if test -z "$ac_err"; then | 9231 if test -z "$ac_err"; then |
9224 rm -rf conftest* | 9232 rm -rf conftest* |
9225 eval "ac_cv_header_$ac_safe=yes" | 9233 eval "ac_cv_header_$ac_safe=yes" |
9226 else | 9234 else |
9233 rm -f conftest* | 9241 rm -f conftest* |
9234 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9242 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9235 echo "$ac_t""yes" 1>&6 | 9243 echo "$ac_t""yes" 1>&6 |
9236 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9244 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9237 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9245 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9238 echo "configure:9239: checking for X11/Xaw3d/ThreeD.h" >&5 | 9246 echo "configure:9247: checking for X11/Xaw3d/ThreeD.h" >&5 |
9239 | 9247 |
9240 cat > conftest.$ac_ext <<EOF | 9248 cat > conftest.$ac_ext <<EOF |
9241 #line 9242 "configure" | 9249 #line 9250 "configure" |
9242 #include "confdefs.h" | 9250 #include "confdefs.h" |
9243 #include <X11/Xaw3d/ThreeD.h> | 9251 #include <X11/Xaw3d/ThreeD.h> |
9244 EOF | 9252 EOF |
9245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9246 { (eval echo configure:9247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9254 { (eval echo configure:9255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9248 if test -z "$ac_err"; then | 9256 if test -z "$ac_err"; then |
9249 rm -rf conftest* | 9257 rm -rf conftest* |
9250 eval "ac_cv_header_$ac_safe=yes" | 9258 eval "ac_cv_header_$ac_safe=yes" |
9251 else | 9259 else |
9273 fi | 9281 fi |
9274 | 9282 |
9275 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9283 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9276 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9284 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9277 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9285 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9278 echo "configure:9279: checking for Xaw3d/XawInit.h" >&5 | 9286 echo "configure:9287: checking for Xaw3d/XawInit.h" >&5 |
9279 | 9287 |
9280 cat > conftest.$ac_ext <<EOF | 9288 cat > conftest.$ac_ext <<EOF |
9281 #line 9282 "configure" | 9289 #line 9290 "configure" |
9282 #include "confdefs.h" | 9290 #include "confdefs.h" |
9283 #include <Xaw3d/XawInit.h> | 9291 #include <Xaw3d/XawInit.h> |
9284 EOF | 9292 EOF |
9285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9286 { (eval echo configure:9287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9294 { (eval echo configure:9295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9287 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9288 if test -z "$ac_err"; then | 9296 if test -z "$ac_err"; then |
9289 rm -rf conftest* | 9297 rm -rf conftest* |
9290 eval "ac_cv_header_$ac_safe=yes" | 9298 eval "ac_cv_header_$ac_safe=yes" |
9291 else | 9299 else |
9298 rm -f conftest* | 9306 rm -f conftest* |
9299 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9300 echo "$ac_t""yes" 1>&6 | 9308 echo "$ac_t""yes" 1>&6 |
9301 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9309 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9302 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9310 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9303 echo "configure:9304: checking for Xaw3d/ThreeD.h" >&5 | 9311 echo "configure:9312: checking for Xaw3d/ThreeD.h" >&5 |
9304 | 9312 |
9305 cat > conftest.$ac_ext <<EOF | 9313 cat > conftest.$ac_ext <<EOF |
9306 #line 9307 "configure" | 9314 #line 9315 "configure" |
9307 #include "confdefs.h" | 9315 #include "confdefs.h" |
9308 #include <Xaw3d/ThreeD.h> | 9316 #include <Xaw3d/ThreeD.h> |
9309 EOF | 9317 EOF |
9310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9311 { (eval echo configure:9312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9319 { (eval echo configure:9320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9313 if test -z "$ac_err"; then | 9321 if test -z "$ac_err"; then |
9314 rm -rf conftest* | 9322 rm -rf conftest* |
9315 eval "ac_cv_header_$ac_safe=yes" | 9323 eval "ac_cv_header_$ac_safe=yes" |
9316 else | 9324 else |
9338 fi | 9346 fi |
9339 | 9347 |
9340 if test -z "$athena_h_path"; then | 9348 if test -z "$athena_h_path"; then |
9341 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9349 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9342 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9350 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9343 echo "configure:9344: checking for X11/Xaw/ThreeD.h" >&5 | 9351 echo "configure:9352: checking for X11/Xaw/ThreeD.h" >&5 |
9344 | 9352 |
9345 cat > conftest.$ac_ext <<EOF | 9353 cat > conftest.$ac_ext <<EOF |
9346 #line 9347 "configure" | 9354 #line 9355 "configure" |
9347 #include "confdefs.h" | 9355 #include "confdefs.h" |
9348 #include <X11/Xaw/ThreeD.h> | 9356 #include <X11/Xaw/ThreeD.h> |
9349 EOF | 9357 EOF |
9350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9351 { (eval echo configure:9352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9359 { (eval echo configure:9360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9353 if test -z "$ac_err"; then | 9361 if test -z "$ac_err"; then |
9354 rm -rf conftest* | 9362 rm -rf conftest* |
9355 eval "ac_cv_header_$ac_safe=yes" | 9363 eval "ac_cv_header_$ac_safe=yes" |
9356 else | 9364 else |
9381 have_xaw=no | 9389 have_xaw=no |
9382 fi | 9390 fi |
9383 | 9391 |
9384 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9392 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9385 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9393 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9386 echo "configure:9387: checking for Xm/Xm.h" >&5 | 9394 echo "configure:9395: checking for Xm/Xm.h" >&5 |
9387 | 9395 |
9388 cat > conftest.$ac_ext <<EOF | 9396 cat > conftest.$ac_ext <<EOF |
9389 #line 9390 "configure" | 9397 #line 9398 "configure" |
9390 #include "confdefs.h" | 9398 #include "confdefs.h" |
9391 #include <Xm/Xm.h> | 9399 #include <Xm/Xm.h> |
9392 EOF | 9400 EOF |
9393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9394 { (eval echo configure:9395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9402 { (eval echo configure:9403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9403 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9396 if test -z "$ac_err"; then | 9404 if test -z "$ac_err"; then |
9397 rm -rf conftest* | 9405 rm -rf conftest* |
9398 eval "ac_cv_header_$ac_safe=yes" | 9406 eval "ac_cv_header_$ac_safe=yes" |
9399 else | 9407 else |
9406 rm -f conftest* | 9414 rm -f conftest* |
9407 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9415 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9408 echo "$ac_t""yes" 1>&6 | 9416 echo "$ac_t""yes" 1>&6 |
9409 | 9417 |
9410 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9418 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9411 echo "configure:9412: checking for XmStringFree in -lXm" >&5 | 9419 echo "configure:9420: checking for XmStringFree in -lXm" >&5 |
9412 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9420 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9413 | 9421 |
9414 xe_check_libs=" -lXm " | 9422 xe_check_libs=" -lXm " |
9415 cat > conftest.$ac_ext <<EOF | 9423 cat > conftest.$ac_ext <<EOF |
9416 #line 9417 "configure" | 9424 #line 9425 "configure" |
9417 #include "confdefs.h" | 9425 #include "confdefs.h" |
9418 /* Override any gcc2 internal prototype to avoid an error. */ | 9426 /* Override any gcc2 internal prototype to avoid an error. */ |
9419 /* We use char because int might match the return type of a gcc2 | 9427 /* We use char because int might match the return type of a gcc2 |
9420 builtin and then its argument prototype would still apply. */ | 9428 builtin and then its argument prototype would still apply. */ |
9421 char XmStringFree(); | 9429 char XmStringFree(); |
9422 | 9430 |
9423 int main() { | 9431 int main() { |
9424 XmStringFree() | 9432 XmStringFree() |
9425 ; return 0; } | 9433 ; return 0; } |
9426 EOF | 9434 EOF |
9427 if { (eval echo configure:9428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9435 if { (eval echo configure:9436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9428 rm -rf conftest* | 9436 rm -rf conftest* |
9429 eval "ac_cv_lib_$ac_lib_var=yes" | 9437 eval "ac_cv_lib_$ac_lib_var=yes" |
9430 else | 9438 else |
9431 echo "configure: failed program was:" >&5 | 9439 echo "configure: failed program was:" >&5 |
9432 cat conftest.$ac_ext >&5 | 9440 cat conftest.$ac_ext >&5 |
9451 fi | 9459 fi |
9452 | 9460 |
9453 | 9461 |
9454 if test "$have_motif" = "yes"; then | 9462 if test "$have_motif" = "yes"; then |
9455 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9463 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9456 echo "configure:9457: checking for Lesstif" >&5 | 9464 echo "configure:9465: checking for Lesstif" >&5 |
9457 cat > conftest.$ac_ext <<EOF | 9465 cat > conftest.$ac_ext <<EOF |
9458 #line 9459 "configure" | 9466 #line 9467 "configure" |
9459 #include "confdefs.h" | 9467 #include "confdefs.h" |
9460 #include <Xm/Xm.h> | 9468 #include <Xm/Xm.h> |
9461 #ifdef LESSTIF_VERSION | 9469 #ifdef LESSTIF_VERSION |
9462 yes | 9470 yes |
9463 #endif | 9471 #endif |
9830 echo " xemacs will be linked with \"scrollbar-gtk.o\"" | 9838 echo " xemacs will be linked with \"scrollbar-gtk.o\"" |
9831 fi | 9839 fi |
9832 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-gtk.o" && if test "$extra_verbose" = "yes"; then | 9840 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-gtk.o" && if test "$extra_verbose" = "yes"; then |
9833 echo " xemacs will be linked with \"dialog-gtk.o\"" | 9841 echo " xemacs will be linked with \"dialog-gtk.o\"" |
9834 fi | 9842 fi |
9835 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-gtk.o" && if test "$extra_verbose" = "yes"; then | 9843 test "$with_toolbars" != "no" && extra_objs="$extra_objs toolbar-common.o toolbar-gtk.o" && if test "$extra_verbose" = "yes"; then |
9836 echo " xemacs will be linked with \"toolbar-gtk.o\"" | 9844 echo " xemacs will be linked with \"toolbar-common.o toolbar-gtk.o\"" |
9837 fi | 9845 fi |
9838 test "$all_widgets" != "no no no no no" && extra_objs="$extra_objs gui-gtk.o" && if test "$extra_verbose" = "yes"; then | 9846 test "$all_widgets" != "no no no no no" && extra_objs="$extra_objs gui-gtk.o" && if test "$extra_verbose" = "yes"; then |
9839 echo " xemacs will be linked with \"gui-gtk.o\"" | 9847 echo " xemacs will be linked with \"gui-gtk.o\"" |
9840 fi | 9848 fi |
9841 fi | 9849 fi |
9883 | 9891 |
9884 test -z "$with_file_coding" && with_file_coding=no | 9892 test -z "$with_file_coding" && with_file_coding=no |
9885 | 9893 |
9886 if test "$with_mule" = "yes" ; then | 9894 if test "$with_mule" = "yes" ; then |
9887 echo "checking for Mule-related features" 1>&6 | 9895 echo "checking for Mule-related features" 1>&6 |
9888 echo "configure:9889: checking for Mule-related features" >&5 | 9896 echo "configure:9897: checking for Mule-related features" >&5 |
9889 { test "$extra_verbose" = "yes" && cat << \EOF | 9897 { test "$extra_verbose" = "yes" && cat << \EOF |
9890 Defining MULE | 9898 Defining MULE |
9891 EOF | 9899 EOF |
9892 cat >> confdefs.h <<\EOF | 9900 cat >> confdefs.h <<\EOF |
9893 #define MULE 1 | 9901 #define MULE 1 |
9908 | 9916 |
9909 for ac_hdr in libintl.h | 9917 for ac_hdr in libintl.h |
9910 do | 9918 do |
9911 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9919 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9912 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9920 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9913 echo "configure:9914: checking for $ac_hdr" >&5 | 9921 echo "configure:9922: checking for $ac_hdr" >&5 |
9914 | 9922 |
9915 cat > conftest.$ac_ext <<EOF | 9923 cat > conftest.$ac_ext <<EOF |
9916 #line 9917 "configure" | 9924 #line 9925 "configure" |
9917 #include "confdefs.h" | 9925 #include "confdefs.h" |
9918 #include <$ac_hdr> | 9926 #include <$ac_hdr> |
9919 EOF | 9927 EOF |
9920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9921 { (eval echo configure:9922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9929 { (eval echo configure:9930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9922 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9923 if test -z "$ac_err"; then | 9931 if test -z "$ac_err"; then |
9924 rm -rf conftest* | 9932 rm -rf conftest* |
9925 eval "ac_cv_header_$ac_safe=yes" | 9933 eval "ac_cv_header_$ac_safe=yes" |
9926 else | 9934 else |
9947 fi | 9955 fi |
9948 done | 9956 done |
9949 | 9957 |
9950 | 9958 |
9951 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9959 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9952 echo "configure:9953: checking for strerror in -lintl" >&5 | 9960 echo "configure:9961: checking for strerror in -lintl" >&5 |
9953 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9961 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9954 | 9962 |
9955 xe_check_libs=" -lintl " | 9963 xe_check_libs=" -lintl " |
9956 cat > conftest.$ac_ext <<EOF | 9964 cat > conftest.$ac_ext <<EOF |
9957 #line 9958 "configure" | 9965 #line 9966 "configure" |
9958 #include "confdefs.h" | 9966 #include "confdefs.h" |
9959 /* Override any gcc2 internal prototype to avoid an error. */ | 9967 /* Override any gcc2 internal prototype to avoid an error. */ |
9960 /* We use char because int might match the return type of a gcc2 | 9968 /* We use char because int might match the return type of a gcc2 |
9961 builtin and then its argument prototype would still apply. */ | 9969 builtin and then its argument prototype would still apply. */ |
9962 char strerror(); | 9970 char strerror(); |
9963 | 9971 |
9964 int main() { | 9972 int main() { |
9965 strerror() | 9973 strerror() |
9966 ; return 0; } | 9974 ; return 0; } |
9967 EOF | 9975 EOF |
9968 if { (eval echo configure:9969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9976 if { (eval echo configure:9977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9969 rm -rf conftest* | 9977 rm -rf conftest* |
9970 eval "ac_cv_lib_$ac_lib_var=yes" | 9978 eval "ac_cv_lib_$ac_lib_var=yes" |
9971 else | 9979 else |
9972 echo "configure: failed program was:" >&5 | 9980 echo "configure: failed program was:" >&5 |
9973 cat conftest.$ac_ext >&5 | 9981 cat conftest.$ac_ext >&5 |
9996 fi | 10004 fi |
9997 | 10005 |
9998 | 10006 |
9999 | 10007 |
10000 echo "checking for Mule input methods" 1>&6 | 10008 echo "checking for Mule input methods" 1>&6 |
10001 echo "configure:10002: checking for Mule input methods" >&5 | 10009 echo "configure:10010: checking for Mule input methods" >&5 |
10002 case "$with_xim" in "" | "yes" ) | 10010 case "$with_xim" in "" | "yes" ) |
10003 echo "checking for XIM" 1>&6 | 10011 echo "checking for XIM" 1>&6 |
10004 echo "configure:10005: checking for XIM" >&5 | 10012 echo "configure:10013: checking for XIM" >&5 |
10005 | 10013 |
10006 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10014 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
10007 echo "configure:10008: checking for XOpenIM in -lX11" >&5 | 10015 echo "configure:10016: checking for XOpenIM in -lX11" >&5 |
10008 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10016 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
10009 | 10017 |
10010 xe_check_libs=" -lX11 " | 10018 xe_check_libs=" -lX11 " |
10011 cat > conftest.$ac_ext <<EOF | 10019 cat > conftest.$ac_ext <<EOF |
10012 #line 10013 "configure" | 10020 #line 10021 "configure" |
10013 #include "confdefs.h" | 10021 #include "confdefs.h" |
10014 /* Override any gcc2 internal prototype to avoid an error. */ | 10022 /* Override any gcc2 internal prototype to avoid an error. */ |
10015 /* We use char because int might match the return type of a gcc2 | 10023 /* We use char because int might match the return type of a gcc2 |
10016 builtin and then its argument prototype would still apply. */ | 10024 builtin and then its argument prototype would still apply. */ |
10017 char XOpenIM(); | 10025 char XOpenIM(); |
10018 | 10026 |
10019 int main() { | 10027 int main() { |
10020 XOpenIM() | 10028 XOpenIM() |
10021 ; return 0; } | 10029 ; return 0; } |
10022 EOF | 10030 EOF |
10023 if { (eval echo configure:10024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10031 if { (eval echo configure:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10024 rm -rf conftest* | 10032 rm -rf conftest* |
10025 eval "ac_cv_lib_$ac_lib_var=yes" | 10033 eval "ac_cv_lib_$ac_lib_var=yes" |
10026 else | 10034 else |
10027 echo "configure: failed program was:" >&5 | 10035 echo "configure: failed program was:" >&5 |
10028 cat conftest.$ac_ext >&5 | 10036 cat conftest.$ac_ext >&5 |
10042 | 10050 |
10043 | 10051 |
10044 if test "$have_motif $have_lesstif" = "yes no"; then | 10052 if test "$have_motif $have_lesstif" = "yes no"; then |
10045 | 10053 |
10046 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10054 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10047 echo "configure:10048: checking for XmImMbLookupString in -lXm" >&5 | 10055 echo "configure:10056: checking for XmImMbLookupString in -lXm" >&5 |
10048 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10056 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10049 | 10057 |
10050 xe_check_libs=" -lXm " | 10058 xe_check_libs=" -lXm " |
10051 cat > conftest.$ac_ext <<EOF | 10059 cat > conftest.$ac_ext <<EOF |
10052 #line 10053 "configure" | 10060 #line 10061 "configure" |
10053 #include "confdefs.h" | 10061 #include "confdefs.h" |
10054 /* Override any gcc2 internal prototype to avoid an error. */ | 10062 /* Override any gcc2 internal prototype to avoid an error. */ |
10055 /* We use char because int might match the return type of a gcc2 | 10063 /* We use char because int might match the return type of a gcc2 |
10056 builtin and then its argument prototype would still apply. */ | 10064 builtin and then its argument prototype would still apply. */ |
10057 char XmImMbLookupString(); | 10065 char XmImMbLookupString(); |
10058 | 10066 |
10059 int main() { | 10067 int main() { |
10060 XmImMbLookupString() | 10068 XmImMbLookupString() |
10061 ; return 0; } | 10069 ; return 0; } |
10062 EOF | 10070 EOF |
10063 if { (eval echo configure:10064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10071 if { (eval echo configure:10072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10064 rm -rf conftest* | 10072 rm -rf conftest* |
10065 eval "ac_cv_lib_$ac_lib_var=yes" | 10073 eval "ac_cv_lib_$ac_lib_var=yes" |
10066 else | 10074 else |
10067 echo "configure: failed program was:" >&5 | 10075 echo "configure: failed program was:" >&5 |
10068 cat conftest.$ac_ext >&5 | 10076 cat conftest.$ac_ext >&5 |
10123 fi | 10131 fi |
10124 fi | 10132 fi |
10125 | 10133 |
10126 if test "$with_xfs" = "yes" ; then | 10134 if test "$with_xfs" = "yes" ; then |
10127 echo "checking for XFontSet" 1>&6 | 10135 echo "checking for XFontSet" 1>&6 |
10128 echo "configure:10129: checking for XFontSet" >&5 | 10136 echo "configure:10137: checking for XFontSet" >&5 |
10129 | 10137 |
10130 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10138 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10131 echo "configure:10132: checking for XmbDrawString in -lX11" >&5 | 10139 echo "configure:10140: checking for XmbDrawString in -lX11" >&5 |
10132 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10140 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10133 | 10141 |
10134 xe_check_libs=" -lX11 " | 10142 xe_check_libs=" -lX11 " |
10135 cat > conftest.$ac_ext <<EOF | 10143 cat > conftest.$ac_ext <<EOF |
10136 #line 10137 "configure" | 10144 #line 10145 "configure" |
10137 #include "confdefs.h" | 10145 #include "confdefs.h" |
10138 /* Override any gcc2 internal prototype to avoid an error. */ | 10146 /* Override any gcc2 internal prototype to avoid an error. */ |
10139 /* We use char because int might match the return type of a gcc2 | 10147 /* We use char because int might match the return type of a gcc2 |
10140 builtin and then its argument prototype would still apply. */ | 10148 builtin and then its argument prototype would still apply. */ |
10141 char XmbDrawString(); | 10149 char XmbDrawString(); |
10142 | 10150 |
10143 int main() { | 10151 int main() { |
10144 XmbDrawString() | 10152 XmbDrawString() |
10145 ; return 0; } | 10153 ; return 0; } |
10146 EOF | 10154 EOF |
10147 if { (eval echo configure:10148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10155 if { (eval echo configure:10156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10148 rm -rf conftest* | 10156 rm -rf conftest* |
10149 eval "ac_cv_lib_$ac_lib_var=yes" | 10157 eval "ac_cv_lib_$ac_lib_var=yes" |
10150 else | 10158 else |
10151 echo "configure: failed program was:" >&5 | 10159 echo "configure: failed program was:" >&5 |
10152 cat conftest.$ac_ext >&5 | 10160 cat conftest.$ac_ext >&5 |
10182 fi | 10190 fi |
10183 fi | 10191 fi |
10184 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10192 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10185 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10193 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10186 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10194 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10187 echo "configure:10188: checking for wnn/jllib.h" >&5 | 10195 echo "configure:10196: checking for wnn/jllib.h" >&5 |
10188 | 10196 |
10189 cat > conftest.$ac_ext <<EOF | 10197 cat > conftest.$ac_ext <<EOF |
10190 #line 10191 "configure" | 10198 #line 10199 "configure" |
10191 #include "confdefs.h" | 10199 #include "confdefs.h" |
10192 #include <wnn/jllib.h> | 10200 #include <wnn/jllib.h> |
10193 EOF | 10201 EOF |
10194 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10195 { (eval echo configure:10196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10203 { (eval echo configure:10204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10196 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10197 if test -z "$ac_err"; then | 10205 if test -z "$ac_err"; then |
10198 rm -rf conftest* | 10206 rm -rf conftest* |
10199 eval "ac_cv_header_$ac_safe=yes" | 10207 eval "ac_cv_header_$ac_safe=yes" |
10200 else | 10208 else |
10213 with_wnn=no | 10221 with_wnn=no |
10214 fi | 10222 fi |
10215 } | 10223 } |
10216 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10224 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10217 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10225 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10218 echo "configure:10219: checking for wnn/commonhd.h" >&5 | 10226 echo "configure:10227: checking for wnn/commonhd.h" >&5 |
10219 | 10227 |
10220 cat > conftest.$ac_ext <<EOF | 10228 cat > conftest.$ac_ext <<EOF |
10221 #line 10222 "configure" | 10229 #line 10230 "configure" |
10222 #include "confdefs.h" | 10230 #include "confdefs.h" |
10223 #include <wnn/commonhd.h> | 10231 #include <wnn/commonhd.h> |
10224 EOF | 10232 EOF |
10225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10226 { (eval echo configure:10227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10234 { (eval echo configure:10235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10227 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10228 if test -z "$ac_err"; then | 10236 if test -z "$ac_err"; then |
10229 rm -rf conftest* | 10237 rm -rf conftest* |
10230 eval "ac_cv_header_$ac_safe=yes" | 10238 eval "ac_cv_header_$ac_safe=yes" |
10231 else | 10239 else |
10246 } | 10254 } |
10247 if test "$with_wnn" != "no"; then | 10255 if test "$with_wnn" != "no"; then |
10248 for ac_func in crypt | 10256 for ac_func in crypt |
10249 do | 10257 do |
10250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10251 echo "configure:10252: checking for $ac_func" >&5 | 10259 echo "configure:10260: checking for $ac_func" >&5 |
10252 | 10260 |
10253 cat > conftest.$ac_ext <<EOF | 10261 cat > conftest.$ac_ext <<EOF |
10254 #line 10255 "configure" | 10262 #line 10263 "configure" |
10255 #include "confdefs.h" | 10263 #include "confdefs.h" |
10256 /* System header to define __stub macros and hopefully few prototypes, | 10264 /* System header to define __stub macros and hopefully few prototypes, |
10257 which can conflict with char $ac_func(); below. */ | 10265 which can conflict with char $ac_func(); below. */ |
10258 #include <assert.h> | 10266 #include <assert.h> |
10259 /* Override any gcc2 internal prototype to avoid an error. */ | 10267 /* Override any gcc2 internal prototype to avoid an error. */ |
10272 $ac_func(); | 10280 $ac_func(); |
10273 #endif | 10281 #endif |
10274 | 10282 |
10275 ; return 0; } | 10283 ; return 0; } |
10276 EOF | 10284 EOF |
10277 if { (eval echo configure:10278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10285 if { (eval echo configure:10286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10278 rm -rf conftest* | 10286 rm -rf conftest* |
10279 eval "ac_cv_func_$ac_func=yes" | 10287 eval "ac_cv_func_$ac_func=yes" |
10280 else | 10288 else |
10281 echo "configure: failed program was:" >&5 | 10289 echo "configure: failed program was:" >&5 |
10282 cat conftest.$ac_ext >&5 | 10290 cat conftest.$ac_ext >&5 |
10301 fi | 10309 fi |
10302 done | 10310 done |
10303 | 10311 |
10304 test "$ac_cv_func_crypt" != "yes" && { | 10312 test "$ac_cv_func_crypt" != "yes" && { |
10305 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10313 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10306 echo "configure:10307: checking for crypt in -lcrypt" >&5 | 10314 echo "configure:10315: checking for crypt in -lcrypt" >&5 |
10307 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10315 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10308 | 10316 |
10309 xe_check_libs=" -lcrypt " | 10317 xe_check_libs=" -lcrypt " |
10310 cat > conftest.$ac_ext <<EOF | 10318 cat > conftest.$ac_ext <<EOF |
10311 #line 10312 "configure" | 10319 #line 10320 "configure" |
10312 #include "confdefs.h" | 10320 #include "confdefs.h" |
10313 /* Override any gcc2 internal prototype to avoid an error. */ | 10321 /* Override any gcc2 internal prototype to avoid an error. */ |
10314 /* We use char because int might match the return type of a gcc2 | 10322 /* We use char because int might match the return type of a gcc2 |
10315 builtin and then its argument prototype would still apply. */ | 10323 builtin and then its argument prototype would still apply. */ |
10316 char crypt(); | 10324 char crypt(); |
10317 | 10325 |
10318 int main() { | 10326 int main() { |
10319 crypt() | 10327 crypt() |
10320 ; return 0; } | 10328 ; return 0; } |
10321 EOF | 10329 EOF |
10322 if { (eval echo configure:10323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10330 if { (eval echo configure:10331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10323 rm -rf conftest* | 10331 rm -rf conftest* |
10324 eval "ac_cv_lib_$ac_lib_var=yes" | 10332 eval "ac_cv_lib_$ac_lib_var=yes" |
10325 else | 10333 else |
10326 echo "configure: failed program was:" >&5 | 10334 echo "configure: failed program was:" >&5 |
10327 cat conftest.$ac_ext >&5 | 10335 cat conftest.$ac_ext >&5 |
10352 } | 10360 } |
10353 fi | 10361 fi |
10354 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10362 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10355 | 10363 |
10356 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10364 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10357 echo "configure:10358: checking for jl_dic_list_e in -lwnn" >&5 | 10365 echo "configure:10366: checking for jl_dic_list_e in -lwnn" >&5 |
10358 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10366 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10359 | 10367 |
10360 xe_check_libs=" -lwnn " | 10368 xe_check_libs=" -lwnn " |
10361 cat > conftest.$ac_ext <<EOF | 10369 cat > conftest.$ac_ext <<EOF |
10362 #line 10363 "configure" | 10370 #line 10371 "configure" |
10363 #include "confdefs.h" | 10371 #include "confdefs.h" |
10364 /* Override any gcc2 internal prototype to avoid an error. */ | 10372 /* Override any gcc2 internal prototype to avoid an error. */ |
10365 /* We use char because int might match the return type of a gcc2 | 10373 /* We use char because int might match the return type of a gcc2 |
10366 builtin and then its argument prototype would still apply. */ | 10374 builtin and then its argument prototype would still apply. */ |
10367 char jl_dic_list_e(); | 10375 char jl_dic_list_e(); |
10368 | 10376 |
10369 int main() { | 10377 int main() { |
10370 jl_dic_list_e() | 10378 jl_dic_list_e() |
10371 ; return 0; } | 10379 ; return 0; } |
10372 EOF | 10380 EOF |
10373 if { (eval echo configure:10374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10381 if { (eval echo configure:10382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10374 rm -rf conftest* | 10382 rm -rf conftest* |
10375 eval "ac_cv_lib_$ac_lib_var=yes" | 10383 eval "ac_cv_lib_$ac_lib_var=yes" |
10376 else | 10384 else |
10377 echo "configure: failed program was:" >&5 | 10385 echo "configure: failed program was:" >&5 |
10378 cat conftest.$ac_ext >&5 | 10386 cat conftest.$ac_ext >&5 |
10386 echo "$ac_t""yes" 1>&6 | 10394 echo "$ac_t""yes" 1>&6 |
10387 libwnn=wnn | 10395 libwnn=wnn |
10388 else | 10396 else |
10389 echo "$ac_t""no" 1>&6 | 10397 echo "$ac_t""no" 1>&6 |
10390 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10398 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10391 echo "configure:10392: checking for jl_dic_list_e in -lwnn4" >&5 | 10399 echo "configure:10400: checking for jl_dic_list_e in -lwnn4" >&5 |
10392 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10400 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10393 | 10401 |
10394 xe_check_libs=" -lwnn4 " | 10402 xe_check_libs=" -lwnn4 " |
10395 cat > conftest.$ac_ext <<EOF | 10403 cat > conftest.$ac_ext <<EOF |
10396 #line 10397 "configure" | 10404 #line 10405 "configure" |
10397 #include "confdefs.h" | 10405 #include "confdefs.h" |
10398 /* Override any gcc2 internal prototype to avoid an error. */ | 10406 /* Override any gcc2 internal prototype to avoid an error. */ |
10399 /* We use char because int might match the return type of a gcc2 | 10407 /* We use char because int might match the return type of a gcc2 |
10400 builtin and then its argument prototype would still apply. */ | 10408 builtin and then its argument prototype would still apply. */ |
10401 char jl_dic_list_e(); | 10409 char jl_dic_list_e(); |
10402 | 10410 |
10403 int main() { | 10411 int main() { |
10404 jl_dic_list_e() | 10412 jl_dic_list_e() |
10405 ; return 0; } | 10413 ; return 0; } |
10406 EOF | 10414 EOF |
10407 if { (eval echo configure:10408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10415 if { (eval echo configure:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10408 rm -rf conftest* | 10416 rm -rf conftest* |
10409 eval "ac_cv_lib_$ac_lib_var=yes" | 10417 eval "ac_cv_lib_$ac_lib_var=yes" |
10410 else | 10418 else |
10411 echo "configure: failed program was:" >&5 | 10419 echo "configure: failed program was:" >&5 |
10412 cat conftest.$ac_ext >&5 | 10420 cat conftest.$ac_ext >&5 |
10420 echo "$ac_t""yes" 1>&6 | 10428 echo "$ac_t""yes" 1>&6 |
10421 libwnn=wnn4 | 10429 libwnn=wnn4 |
10422 else | 10430 else |
10423 echo "$ac_t""no" 1>&6 | 10431 echo "$ac_t""no" 1>&6 |
10424 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10432 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10425 echo "configure:10426: checking for jl_dic_list_e in -lwnn6" >&5 | 10433 echo "configure:10434: checking for jl_dic_list_e in -lwnn6" >&5 |
10426 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10434 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10427 | 10435 |
10428 xe_check_libs=" -lwnn6 " | 10436 xe_check_libs=" -lwnn6 " |
10429 cat > conftest.$ac_ext <<EOF | 10437 cat > conftest.$ac_ext <<EOF |
10430 #line 10431 "configure" | 10438 #line 10439 "configure" |
10431 #include "confdefs.h" | 10439 #include "confdefs.h" |
10432 /* Override any gcc2 internal prototype to avoid an error. */ | 10440 /* Override any gcc2 internal prototype to avoid an error. */ |
10433 /* We use char because int might match the return type of a gcc2 | 10441 /* We use char because int might match the return type of a gcc2 |
10434 builtin and then its argument prototype would still apply. */ | 10442 builtin and then its argument prototype would still apply. */ |
10435 char jl_dic_list_e(); | 10443 char jl_dic_list_e(); |
10436 | 10444 |
10437 int main() { | 10445 int main() { |
10438 jl_dic_list_e() | 10446 jl_dic_list_e() |
10439 ; return 0; } | 10447 ; return 0; } |
10440 EOF | 10448 EOF |
10441 if { (eval echo configure:10442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10449 if { (eval echo configure:10450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10442 rm -rf conftest* | 10450 rm -rf conftest* |
10443 eval "ac_cv_lib_$ac_lib_var=yes" | 10451 eval "ac_cv_lib_$ac_lib_var=yes" |
10444 else | 10452 else |
10445 echo "configure: failed program was:" >&5 | 10453 echo "configure: failed program was:" >&5 |
10446 cat conftest.$ac_ext >&5 | 10454 cat conftest.$ac_ext >&5 |
10454 echo "$ac_t""yes" 1>&6 | 10462 echo "$ac_t""yes" 1>&6 |
10455 libwnn=wnn6 | 10463 libwnn=wnn6 |
10456 else | 10464 else |
10457 echo "$ac_t""no" 1>&6 | 10465 echo "$ac_t""no" 1>&6 |
10458 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10466 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10459 echo "configure:10460: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10467 echo "configure:10468: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10460 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10468 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10461 | 10469 |
10462 xe_check_libs=" -lwnn6_fromsrc " | 10470 xe_check_libs=" -lwnn6_fromsrc " |
10463 cat > conftest.$ac_ext <<EOF | 10471 cat > conftest.$ac_ext <<EOF |
10464 #line 10465 "configure" | 10472 #line 10473 "configure" |
10465 #include "confdefs.h" | 10473 #include "confdefs.h" |
10466 /* Override any gcc2 internal prototype to avoid an error. */ | 10474 /* Override any gcc2 internal prototype to avoid an error. */ |
10467 /* We use char because int might match the return type of a gcc2 | 10475 /* We use char because int might match the return type of a gcc2 |
10468 builtin and then its argument prototype would still apply. */ | 10476 builtin and then its argument prototype would still apply. */ |
10469 char dic_list_e(); | 10477 char dic_list_e(); |
10470 | 10478 |
10471 int main() { | 10479 int main() { |
10472 dic_list_e() | 10480 dic_list_e() |
10473 ; return 0; } | 10481 ; return 0; } |
10474 EOF | 10482 EOF |
10475 if { (eval echo configure:10476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10483 if { (eval echo configure:10484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10476 rm -rf conftest* | 10484 rm -rf conftest* |
10477 eval "ac_cv_lib_$ac_lib_var=yes" | 10485 eval "ac_cv_lib_$ac_lib_var=yes" |
10478 else | 10486 else |
10479 echo "configure: failed program was:" >&5 | 10487 echo "configure: failed program was:" >&5 |
10480 cat conftest.$ac_ext >&5 | 10488 cat conftest.$ac_ext >&5 |
10518 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 10526 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
10519 fi | 10527 fi |
10520 if test "$with_wnn6" != "no"; then | 10528 if test "$with_wnn6" != "no"; then |
10521 | 10529 |
10522 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10530 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10523 echo "configure:10524: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10531 echo "configure:10532: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10524 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10532 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10525 | 10533 |
10526 xe_check_libs=" -l$libwnn " | 10534 xe_check_libs=" -l$libwnn " |
10527 cat > conftest.$ac_ext <<EOF | 10535 cat > conftest.$ac_ext <<EOF |
10528 #line 10529 "configure" | 10536 #line 10537 "configure" |
10529 #include "confdefs.h" | 10537 #include "confdefs.h" |
10530 /* Override any gcc2 internal prototype to avoid an error. */ | 10538 /* Override any gcc2 internal prototype to avoid an error. */ |
10531 /* We use char because int might match the return type of a gcc2 | 10539 /* We use char because int might match the return type of a gcc2 |
10532 builtin and then its argument prototype would still apply. */ | 10540 builtin and then its argument prototype would still apply. */ |
10533 char jl_fi_dic_list(); | 10541 char jl_fi_dic_list(); |
10534 | 10542 |
10535 int main() { | 10543 int main() { |
10536 jl_fi_dic_list() | 10544 jl_fi_dic_list() |
10537 ; return 0; } | 10545 ; return 0; } |
10538 EOF | 10546 EOF |
10539 if { (eval echo configure:10540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10547 if { (eval echo configure:10548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10540 rm -rf conftest* | 10548 rm -rf conftest* |
10541 eval "ac_cv_lib_$ac_lib_var=yes" | 10549 eval "ac_cv_lib_$ac_lib_var=yes" |
10542 else | 10550 else |
10543 echo "configure: failed program was:" >&5 | 10551 echo "configure: failed program was:" >&5 |
10544 cat conftest.$ac_ext >&5 | 10552 cat conftest.$ac_ext >&5 |
10569 | 10577 |
10570 canna_includes_found=no | 10578 canna_includes_found=no |
10571 if test "$with_canna" != "no"; then | 10579 if test "$with_canna" != "no"; then |
10572 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10580 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10573 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10581 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10574 echo "configure:10575: checking for canna/jrkanji.h" >&5 | 10582 echo "configure:10583: checking for canna/jrkanji.h" >&5 |
10575 | 10583 |
10576 cat > conftest.$ac_ext <<EOF | 10584 cat > conftest.$ac_ext <<EOF |
10577 #line 10578 "configure" | 10585 #line 10586 "configure" |
10578 #include "confdefs.h" | 10586 #include "confdefs.h" |
10579 #include <canna/jrkanji.h> | 10587 #include <canna/jrkanji.h> |
10580 EOF | 10588 EOF |
10581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10589 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10582 { (eval echo configure:10583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10590 { (eval echo configure:10591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10591 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10584 if test -z "$ac_err"; then | 10592 if test -z "$ac_err"; then |
10585 rm -rf conftest* | 10593 rm -rf conftest* |
10586 eval "ac_cv_header_$ac_safe=yes" | 10594 eval "ac_cv_header_$ac_safe=yes" |
10587 else | 10595 else |
10604 -d "/usr/local/canna/include"; then | 10612 -d "/usr/local/canna/include"; then |
10605 save_c_switch_site="$c_switch_site" | 10613 save_c_switch_site="$c_switch_site" |
10606 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10614 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10607 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10615 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10608 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10616 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10609 echo "configure:10610: checking for canna/jrkanji.h" >&5 | 10617 echo "configure:10618: checking for canna/jrkanji.h" >&5 |
10610 | 10618 |
10611 cat > conftest.$ac_ext <<EOF | 10619 cat > conftest.$ac_ext <<EOF |
10612 #line 10613 "configure" | 10620 #line 10621 "configure" |
10613 #include "confdefs.h" | 10621 #include "confdefs.h" |
10614 #include <canna/jrkanji.h> | 10622 #include <canna/jrkanji.h> |
10615 EOF | 10623 EOF |
10616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10617 { (eval echo configure:10618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10625 { (eval echo configure:10626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10618 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10619 if test -z "$ac_err"; then | 10627 if test -z "$ac_err"; then |
10620 rm -rf conftest* | 10628 rm -rf conftest* |
10621 eval "ac_cv_header_$ac_safe=yes" | 10629 eval "ac_cv_header_$ac_safe=yes" |
10622 else | 10630 else |
10640 fi | 10648 fi |
10641 fi | 10649 fi |
10642 | 10650 |
10643 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10651 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10644 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10652 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10645 echo "configure:10646: checking for canna/RK.h" >&5 | 10653 echo "configure:10654: checking for canna/RK.h" >&5 |
10646 | 10654 |
10647 cat > conftest.$ac_ext <<EOF | 10655 cat > conftest.$ac_ext <<EOF |
10648 #line 10649 "configure" | 10656 #line 10657 "configure" |
10649 #include "confdefs.h" | 10657 #include "confdefs.h" |
10650 #include <canna/RK.h> | 10658 #include <canna/RK.h> |
10651 EOF | 10659 EOF |
10652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10653 { (eval echo configure:10654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10661 { (eval echo configure:10662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10655 if test -z "$ac_err"; then | 10663 if test -z "$ac_err"; then |
10656 rm -rf conftest* | 10664 rm -rf conftest* |
10657 eval "ac_cv_header_$ac_safe=yes" | 10665 eval "ac_cv_header_$ac_safe=yes" |
10658 else | 10666 else |
10671 with_canna=no | 10679 with_canna=no |
10672 fi | 10680 fi |
10673 } | 10681 } |
10674 test -z "$with_canna" && { | 10682 test -z "$with_canna" && { |
10675 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10683 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10676 echo "configure:10677: checking for RkBgnBun in -lRKC" >&5 | 10684 echo "configure:10685: checking for RkBgnBun in -lRKC" >&5 |
10677 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10685 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10678 | 10686 |
10679 xe_check_libs=" -lRKC " | 10687 xe_check_libs=" -lRKC " |
10680 cat > conftest.$ac_ext <<EOF | 10688 cat > conftest.$ac_ext <<EOF |
10681 #line 10682 "configure" | 10689 #line 10690 "configure" |
10682 #include "confdefs.h" | 10690 #include "confdefs.h" |
10683 /* Override any gcc2 internal prototype to avoid an error. */ | 10691 /* Override any gcc2 internal prototype to avoid an error. */ |
10684 /* We use char because int might match the return type of a gcc2 | 10692 /* We use char because int might match the return type of a gcc2 |
10685 builtin and then its argument prototype would still apply. */ | 10693 builtin and then its argument prototype would still apply. */ |
10686 char RkBgnBun(); | 10694 char RkBgnBun(); |
10687 | 10695 |
10688 int main() { | 10696 int main() { |
10689 RkBgnBun() | 10697 RkBgnBun() |
10690 ; return 0; } | 10698 ; return 0; } |
10691 EOF | 10699 EOF |
10692 if { (eval echo configure:10693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10700 if { (eval echo configure:10701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10693 rm -rf conftest* | 10701 rm -rf conftest* |
10694 eval "ac_cv_lib_$ac_lib_var=yes" | 10702 eval "ac_cv_lib_$ac_lib_var=yes" |
10695 else | 10703 else |
10696 echo "configure: failed program was:" >&5 | 10704 echo "configure: failed program was:" >&5 |
10697 cat conftest.$ac_ext >&5 | 10705 cat conftest.$ac_ext >&5 |
10710 fi | 10718 fi |
10711 | 10719 |
10712 } | 10720 } |
10713 test -z "$with_canna" && { | 10721 test -z "$with_canna" && { |
10714 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10722 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10715 echo "configure:10716: checking for jrKanjiControl in -lcanna" >&5 | 10723 echo "configure:10724: checking for jrKanjiControl in -lcanna" >&5 |
10716 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10724 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10717 | 10725 |
10718 xe_check_libs=" -lcanna " | 10726 xe_check_libs=" -lcanna " |
10719 cat > conftest.$ac_ext <<EOF | 10727 cat > conftest.$ac_ext <<EOF |
10720 #line 10721 "configure" | 10728 #line 10729 "configure" |
10721 #include "confdefs.h" | 10729 #include "confdefs.h" |
10722 /* Override any gcc2 internal prototype to avoid an error. */ | 10730 /* Override any gcc2 internal prototype to avoid an error. */ |
10723 /* We use char because int might match the return type of a gcc2 | 10731 /* We use char because int might match the return type of a gcc2 |
10724 builtin and then its argument prototype would still apply. */ | 10732 builtin and then its argument prototype would still apply. */ |
10725 char jrKanjiControl(); | 10733 char jrKanjiControl(); |
10726 | 10734 |
10727 int main() { | 10735 int main() { |
10728 jrKanjiControl() | 10736 jrKanjiControl() |
10729 ; return 0; } | 10737 ; return 0; } |
10730 EOF | 10738 EOF |
10731 if { (eval echo configure:10732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10739 if { (eval echo configure:10740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10732 rm -rf conftest* | 10740 rm -rf conftest* |
10733 eval "ac_cv_lib_$ac_lib_var=yes" | 10741 eval "ac_cv_lib_$ac_lib_var=yes" |
10734 else | 10742 else |
10735 echo "configure: failed program was:" >&5 | 10743 echo "configure: failed program was:" >&5 |
10736 cat conftest.$ac_ext >&5 | 10744 cat conftest.$ac_ext >&5 |
10775 | 10783 |
10776 if test "$need_motif" = "yes" ; then | 10784 if test "$need_motif" = "yes" ; then |
10777 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10785 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10778 | 10786 |
10779 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10787 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10780 echo "configure:10781: checking for layout_object_getvalue in -li18n" >&5 | 10788 echo "configure:10789: checking for layout_object_getvalue in -li18n" >&5 |
10781 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10789 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10782 | 10790 |
10783 xe_check_libs=" -li18n " | 10791 xe_check_libs=" -li18n " |
10784 cat > conftest.$ac_ext <<EOF | 10792 cat > conftest.$ac_ext <<EOF |
10785 #line 10786 "configure" | 10793 #line 10794 "configure" |
10786 #include "confdefs.h" | 10794 #include "confdefs.h" |
10787 /* Override any gcc2 internal prototype to avoid an error. */ | 10795 /* Override any gcc2 internal prototype to avoid an error. */ |
10788 /* We use char because int might match the return type of a gcc2 | 10796 /* We use char because int might match the return type of a gcc2 |
10789 builtin and then its argument prototype would still apply. */ | 10797 builtin and then its argument prototype would still apply. */ |
10790 char layout_object_getvalue(); | 10798 char layout_object_getvalue(); |
10791 | 10799 |
10792 int main() { | 10800 int main() { |
10793 layout_object_getvalue() | 10801 layout_object_getvalue() |
10794 ; return 0; } | 10802 ; return 0; } |
10795 EOF | 10803 EOF |
10796 if { (eval echo configure:10797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10804 if { (eval echo configure:10805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10797 rm -rf conftest* | 10805 rm -rf conftest* |
10798 eval "ac_cv_lib_$ac_lib_var=yes" | 10806 eval "ac_cv_lib_$ac_lib_var=yes" |
10799 else | 10807 else |
10800 echo "configure: failed program was:" >&5 | 10808 echo "configure: failed program was:" >&5 |
10801 cat conftest.$ac_ext >&5 | 10809 cat conftest.$ac_ext >&5 |
10877 fi | 10885 fi |
10878 | 10886 |
10879 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 | 10887 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 |
10880 do | 10888 do |
10881 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10882 echo "configure:10883: checking for $ac_func" >&5 | 10890 echo "configure:10891: checking for $ac_func" >&5 |
10883 | 10891 |
10884 cat > conftest.$ac_ext <<EOF | 10892 cat > conftest.$ac_ext <<EOF |
10885 #line 10886 "configure" | 10893 #line 10894 "configure" |
10886 #include "confdefs.h" | 10894 #include "confdefs.h" |
10887 /* System header to define __stub macros and hopefully few prototypes, | 10895 /* System header to define __stub macros and hopefully few prototypes, |
10888 which can conflict with char $ac_func(); below. */ | 10896 which can conflict with char $ac_func(); below. */ |
10889 #include <assert.h> | 10897 #include <assert.h> |
10890 /* Override any gcc2 internal prototype to avoid an error. */ | 10898 /* Override any gcc2 internal prototype to avoid an error. */ |
10903 $ac_func(); | 10911 $ac_func(); |
10904 #endif | 10912 #endif |
10905 | 10913 |
10906 ; return 0; } | 10914 ; return 0; } |
10907 EOF | 10915 EOF |
10908 if { (eval echo configure:10909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10916 if { (eval echo configure:10917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10909 rm -rf conftest* | 10917 rm -rf conftest* |
10910 eval "ac_cv_func_$ac_func=yes" | 10918 eval "ac_cv_func_$ac_func=yes" |
10911 else | 10919 else |
10912 echo "configure: failed program was:" >&5 | 10920 echo "configure: failed program was:" >&5 |
10913 cat conftest.$ac_ext >&5 | 10921 cat conftest.$ac_ext >&5 |
10935 | 10943 |
10936 | 10944 |
10937 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10945 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10938 do | 10946 do |
10939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10940 echo "configure:10941: checking for $ac_func" >&5 | 10948 echo "configure:10949: checking for $ac_func" >&5 |
10941 | 10949 |
10942 cat > conftest.$ac_ext <<EOF | 10950 cat > conftest.$ac_ext <<EOF |
10943 #line 10944 "configure" | 10951 #line 10952 "configure" |
10944 #include "confdefs.h" | 10952 #include "confdefs.h" |
10945 /* System header to define __stub macros and hopefully few prototypes, | 10953 /* System header to define __stub macros and hopefully few prototypes, |
10946 which can conflict with char $ac_func(); below. */ | 10954 which can conflict with char $ac_func(); below. */ |
10947 #include <assert.h> | 10955 #include <assert.h> |
10948 /* Override any gcc2 internal prototype to avoid an error. */ | 10956 /* Override any gcc2 internal prototype to avoid an error. */ |
10961 $ac_func(); | 10969 $ac_func(); |
10962 #endif | 10970 #endif |
10963 | 10971 |
10964 ; return 0; } | 10972 ; return 0; } |
10965 EOF | 10973 EOF |
10966 if { (eval echo configure:10967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10974 if { (eval echo configure:10975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10967 rm -rf conftest* | 10975 rm -rf conftest* |
10968 eval "ac_cv_func_$ac_func=yes" | 10976 eval "ac_cv_func_$ac_func=yes" |
10969 else | 10977 else |
10970 echo "configure: failed program was:" >&5 | 10978 echo "configure: failed program was:" >&5 |
10971 cat conftest.$ac_ext >&5 | 10979 cat conftest.$ac_ext >&5 |
10990 fi | 10998 fi |
10991 done | 10999 done |
10992 | 11000 |
10993 | 11001 |
10994 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 11002 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10995 echo "configure:10996: checking for openpty" >&5 | 11003 echo "configure:11004: checking for openpty" >&5 |
10996 | 11004 |
10997 cat > conftest.$ac_ext <<EOF | 11005 cat > conftest.$ac_ext <<EOF |
10998 #line 10999 "configure" | 11006 #line 11007 "configure" |
10999 #include "confdefs.h" | 11007 #include "confdefs.h" |
11000 /* System header to define __stub macros and hopefully few prototypes, | 11008 /* System header to define __stub macros and hopefully few prototypes, |
11001 which can conflict with char openpty(); below. */ | 11009 which can conflict with char openpty(); below. */ |
11002 #include <assert.h> | 11010 #include <assert.h> |
11003 /* Override any gcc2 internal prototype to avoid an error. */ | 11011 /* Override any gcc2 internal prototype to avoid an error. */ |
11016 openpty(); | 11024 openpty(); |
11017 #endif | 11025 #endif |
11018 | 11026 |
11019 ; return 0; } | 11027 ; return 0; } |
11020 EOF | 11028 EOF |
11021 if { (eval echo configure:11022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11029 if { (eval echo configure:11030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11022 rm -rf conftest* | 11030 rm -rf conftest* |
11023 eval "ac_cv_func_openpty=yes" | 11031 eval "ac_cv_func_openpty=yes" |
11024 else | 11032 else |
11025 echo "configure: failed program was:" >&5 | 11033 echo "configure: failed program was:" >&5 |
11026 cat conftest.$ac_ext >&5 | 11034 cat conftest.$ac_ext >&5 |
11035 else | 11043 else |
11036 echo "$ac_t""no" 1>&6 | 11044 echo "$ac_t""no" 1>&6 |
11037 | 11045 |
11038 | 11046 |
11039 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 11047 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
11040 echo "configure:11041: checking for openpty in -lutil" >&5 | 11048 echo "configure:11049: checking for openpty in -lutil" >&5 |
11041 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11049 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
11042 | 11050 |
11043 xe_check_libs=" -lutil " | 11051 xe_check_libs=" -lutil " |
11044 cat > conftest.$ac_ext <<EOF | 11052 cat > conftest.$ac_ext <<EOF |
11045 #line 11046 "configure" | 11053 #line 11054 "configure" |
11046 #include "confdefs.h" | 11054 #include "confdefs.h" |
11047 /* Override any gcc2 internal prototype to avoid an error. */ | 11055 /* Override any gcc2 internal prototype to avoid an error. */ |
11048 /* We use char because int might match the return type of a gcc2 | 11056 /* We use char because int might match the return type of a gcc2 |
11049 builtin and then its argument prototype would still apply. */ | 11057 builtin and then its argument prototype would still apply. */ |
11050 char openpty(); | 11058 char openpty(); |
11051 | 11059 |
11052 int main() { | 11060 int main() { |
11053 openpty() | 11061 openpty() |
11054 ; return 0; } | 11062 ; return 0; } |
11055 EOF | 11063 EOF |
11056 if { (eval echo configure:11057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11064 if { (eval echo configure:11065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11057 rm -rf conftest* | 11065 rm -rf conftest* |
11058 eval "ac_cv_lib_$ac_lib_var=yes" | 11066 eval "ac_cv_lib_$ac_lib_var=yes" |
11059 else | 11067 else |
11060 echo "configure: failed program was:" >&5 | 11068 echo "configure: failed program was:" >&5 |
11061 cat conftest.$ac_ext >&5 | 11069 cat conftest.$ac_ext >&5 |
11086 | 11094 |
11087 for ac_hdr in libutil.h util.h | 11095 for ac_hdr in libutil.h util.h |
11088 do | 11096 do |
11089 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11097 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11090 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11098 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11091 echo "configure:11092: checking for $ac_hdr" >&5 | 11099 echo "configure:11100: checking for $ac_hdr" >&5 |
11092 | 11100 |
11093 cat > conftest.$ac_ext <<EOF | 11101 cat > conftest.$ac_ext <<EOF |
11094 #line 11095 "configure" | 11102 #line 11103 "configure" |
11095 #include "confdefs.h" | 11103 #include "confdefs.h" |
11096 #include <$ac_hdr> | 11104 #include <$ac_hdr> |
11097 EOF | 11105 EOF |
11098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11106 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11099 { (eval echo configure:11100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11107 { (eval echo configure:11108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11100 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11108 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11101 if test -z "$ac_err"; then | 11109 if test -z "$ac_err"; then |
11102 rm -rf conftest* | 11110 rm -rf conftest* |
11103 eval "ac_cv_header_$ac_safe=yes" | 11111 eval "ac_cv_header_$ac_safe=yes" |
11104 else | 11112 else |
11131 case "$opsys" in | 11139 case "$opsys" in |
11132 hpux*) for ac_hdr in sys/ptyio.h | 11140 hpux*) for ac_hdr in sys/ptyio.h |
11133 do | 11141 do |
11134 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11142 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11135 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11143 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11136 echo "configure:11137: checking for $ac_hdr" >&5 | 11144 echo "configure:11145: checking for $ac_hdr" >&5 |
11137 | 11145 |
11138 cat > conftest.$ac_ext <<EOF | 11146 cat > conftest.$ac_ext <<EOF |
11139 #line 11140 "configure" | 11147 #line 11148 "configure" |
11140 #include "confdefs.h" | 11148 #include "confdefs.h" |
11141 #include <$ac_hdr> | 11149 #include <$ac_hdr> |
11142 EOF | 11150 EOF |
11143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11144 { (eval echo configure:11145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11152 { (eval echo configure:11153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11146 if test -z "$ac_err"; then | 11154 if test -z "$ac_err"; then |
11147 rm -rf conftest* | 11155 rm -rf conftest* |
11148 eval "ac_cv_header_$ac_safe=yes" | 11156 eval "ac_cv_header_$ac_safe=yes" |
11149 else | 11157 else |
11172 ;; | 11180 ;; |
11173 *) for ac_hdr in pty.h | 11181 *) for ac_hdr in pty.h |
11174 do | 11182 do |
11175 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11183 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11176 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11184 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11177 echo "configure:11178: checking for $ac_hdr" >&5 | 11185 echo "configure:11186: checking for $ac_hdr" >&5 |
11178 | 11186 |
11179 cat > conftest.$ac_ext <<EOF | 11187 cat > conftest.$ac_ext <<EOF |
11180 #line 11181 "configure" | 11188 #line 11189 "configure" |
11181 #include "confdefs.h" | 11189 #include "confdefs.h" |
11182 #include <$ac_hdr> | 11190 #include <$ac_hdr> |
11183 EOF | 11191 EOF |
11184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11192 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11185 { (eval echo configure:11186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11193 { (eval echo configure:11194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11194 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11187 if test -z "$ac_err"; then | 11195 if test -z "$ac_err"; then |
11188 rm -rf conftest* | 11196 rm -rf conftest* |
11189 eval "ac_cv_header_$ac_safe=yes" | 11197 eval "ac_cv_header_$ac_safe=yes" |
11190 else | 11198 else |
11213 | 11221 |
11214 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11222 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11215 do | 11223 do |
11216 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11224 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11217 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11225 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11218 echo "configure:11219: checking for $ac_hdr" >&5 | 11226 echo "configure:11227: checking for $ac_hdr" >&5 |
11219 | 11227 |
11220 cat > conftest.$ac_ext <<EOF | 11228 cat > conftest.$ac_ext <<EOF |
11221 #line 11222 "configure" | 11229 #line 11230 "configure" |
11222 #include "confdefs.h" | 11230 #include "confdefs.h" |
11223 #include <$ac_hdr> | 11231 #include <$ac_hdr> |
11224 EOF | 11232 EOF |
11225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11226 { (eval echo configure:11227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11234 { (eval echo configure:11235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11227 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11228 if test -z "$ac_err"; then | 11236 if test -z "$ac_err"; then |
11229 rm -rf conftest* | 11237 rm -rf conftest* |
11230 eval "ac_cv_header_$ac_safe=yes" | 11238 eval "ac_cv_header_$ac_safe=yes" |
11231 else | 11239 else |
11257 | 11265 |
11258 for ac_hdr in stropts.h | 11266 for ac_hdr in stropts.h |
11259 do | 11267 do |
11260 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11268 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11261 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11269 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11262 echo "configure:11263: checking for $ac_hdr" >&5 | 11270 echo "configure:11271: checking for $ac_hdr" >&5 |
11263 | 11271 |
11264 cat > conftest.$ac_ext <<EOF | 11272 cat > conftest.$ac_ext <<EOF |
11265 #line 11266 "configure" | 11273 #line 11274 "configure" |
11266 #include "confdefs.h" | 11274 #include "confdefs.h" |
11267 #include <$ac_hdr> | 11275 #include <$ac_hdr> |
11268 EOF | 11276 EOF |
11269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11270 { (eval echo configure:11271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11278 { (eval echo configure:11279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11271 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11279 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11272 if test -z "$ac_err"; then | 11280 if test -z "$ac_err"; then |
11273 rm -rf conftest* | 11281 rm -rf conftest* |
11274 eval "ac_cv_header_$ac_safe=yes" | 11282 eval "ac_cv_header_$ac_safe=yes" |
11275 else | 11283 else |
11298 | 11306 |
11299 if test "$ac_cv_header_stropts_h" = "yes"; then | 11307 if test "$ac_cv_header_stropts_h" = "yes"; then |
11300 for ac_func in isastream | 11308 for ac_func in isastream |
11301 do | 11309 do |
11302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11310 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11303 echo "configure:11304: checking for $ac_func" >&5 | 11311 echo "configure:11312: checking for $ac_func" >&5 |
11304 | 11312 |
11305 cat > conftest.$ac_ext <<EOF | 11313 cat > conftest.$ac_ext <<EOF |
11306 #line 11307 "configure" | 11314 #line 11315 "configure" |
11307 #include "confdefs.h" | 11315 #include "confdefs.h" |
11308 /* System header to define __stub macros and hopefully few prototypes, | 11316 /* System header to define __stub macros and hopefully few prototypes, |
11309 which can conflict with char $ac_func(); below. */ | 11317 which can conflict with char $ac_func(); below. */ |
11310 #include <assert.h> | 11318 #include <assert.h> |
11311 /* Override any gcc2 internal prototype to avoid an error. */ | 11319 /* Override any gcc2 internal prototype to avoid an error. */ |
11324 $ac_func(); | 11332 $ac_func(); |
11325 #endif | 11333 #endif |
11326 | 11334 |
11327 ; return 0; } | 11335 ; return 0; } |
11328 EOF | 11336 EOF |
11329 if { (eval echo configure:11330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11337 if { (eval echo configure:11338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11330 rm -rf conftest* | 11338 rm -rf conftest* |
11331 eval "ac_cv_func_$ac_func=yes" | 11339 eval "ac_cv_func_$ac_func=yes" |
11332 else | 11340 else |
11333 echo "configure: failed program was:" >&5 | 11341 echo "configure: failed program was:" >&5 |
11334 cat conftest.$ac_ext >&5 | 11342 cat conftest.$ac_ext >&5 |
11355 | 11363 |
11356 for ac_hdr in strtio.h | 11364 for ac_hdr in strtio.h |
11357 do | 11365 do |
11358 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11366 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11359 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11367 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11360 echo "configure:11361: checking for $ac_hdr" >&5 | 11368 echo "configure:11369: checking for $ac_hdr" >&5 |
11361 | 11369 |
11362 cat > conftest.$ac_ext <<EOF | 11370 cat > conftest.$ac_ext <<EOF |
11363 #line 11364 "configure" | 11371 #line 11372 "configure" |
11364 #include "confdefs.h" | 11372 #include "confdefs.h" |
11365 #include <$ac_hdr> | 11373 #include <$ac_hdr> |
11366 EOF | 11374 EOF |
11367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11368 { (eval echo configure:11369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11376 { (eval echo configure:11377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11370 if test -z "$ac_err"; then | 11378 if test -z "$ac_err"; then |
11371 rm -rf conftest* | 11379 rm -rf conftest* |
11372 eval "ac_cv_header_$ac_safe=yes" | 11380 eval "ac_cv_header_$ac_safe=yes" |
11373 else | 11381 else |
11400 fi | 11408 fi |
11401 | 11409 |
11402 for ac_func in getloadavg | 11410 for ac_func in getloadavg |
11403 do | 11411 do |
11404 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11412 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11405 echo "configure:11406: checking for $ac_func" >&5 | 11413 echo "configure:11414: checking for $ac_func" >&5 |
11406 | 11414 |
11407 cat > conftest.$ac_ext <<EOF | 11415 cat > conftest.$ac_ext <<EOF |
11408 #line 11409 "configure" | 11416 #line 11417 "configure" |
11409 #include "confdefs.h" | 11417 #include "confdefs.h" |
11410 /* System header to define __stub macros and hopefully few prototypes, | 11418 /* System header to define __stub macros and hopefully few prototypes, |
11411 which can conflict with char $ac_func(); below. */ | 11419 which can conflict with char $ac_func(); below. */ |
11412 #include <assert.h> | 11420 #include <assert.h> |
11413 /* Override any gcc2 internal prototype to avoid an error. */ | 11421 /* Override any gcc2 internal prototype to avoid an error. */ |
11426 $ac_func(); | 11434 $ac_func(); |
11427 #endif | 11435 #endif |
11428 | 11436 |
11429 ; return 0; } | 11437 ; return 0; } |
11430 EOF | 11438 EOF |
11431 if { (eval echo configure:11432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11439 if { (eval echo configure:11440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11432 rm -rf conftest* | 11440 rm -rf conftest* |
11433 eval "ac_cv_func_$ac_func=yes" | 11441 eval "ac_cv_func_$ac_func=yes" |
11434 else | 11442 else |
11435 echo "configure: failed program was:" >&5 | 11443 echo "configure: failed program was:" >&5 |
11436 cat conftest.$ac_ext >&5 | 11444 cat conftest.$ac_ext >&5 |
11459 if test "$ac_cv_func_getloadavg" = "yes"; then | 11467 if test "$ac_cv_func_getloadavg" = "yes"; then |
11460 for ac_hdr in sys/loadavg.h | 11468 for ac_hdr in sys/loadavg.h |
11461 do | 11469 do |
11462 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11470 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11463 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11471 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11464 echo "configure:11465: checking for $ac_hdr" >&5 | 11472 echo "configure:11473: checking for $ac_hdr" >&5 |
11465 | 11473 |
11466 cat > conftest.$ac_ext <<EOF | 11474 cat > conftest.$ac_ext <<EOF |
11467 #line 11468 "configure" | 11475 #line 11476 "configure" |
11468 #include "confdefs.h" | 11476 #include "confdefs.h" |
11469 #include <$ac_hdr> | 11477 #include <$ac_hdr> |
11470 EOF | 11478 EOF |
11471 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11472 { (eval echo configure:11473: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11480 { (eval echo configure:11481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11473 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11474 if test -z "$ac_err"; then | 11482 if test -z "$ac_err"; then |
11475 rm -rf conftest* | 11483 rm -rf conftest* |
11476 eval "ac_cv_header_$ac_safe=yes" | 11484 eval "ac_cv_header_$ac_safe=yes" |
11477 else | 11485 else |
11503 echo " xemacs will be linked with \"getloadavg.o\"" | 11511 echo " xemacs will be linked with \"getloadavg.o\"" |
11504 fi | 11512 fi |
11505 | 11513 |
11506 | 11514 |
11507 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11515 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11508 echo "configure:11509: checking for kstat_open in -lkstat" >&5 | 11516 echo "configure:11517: checking for kstat_open in -lkstat" >&5 |
11509 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11517 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11510 | 11518 |
11511 xe_check_libs=" -lkstat " | 11519 xe_check_libs=" -lkstat " |
11512 cat > conftest.$ac_ext <<EOF | 11520 cat > conftest.$ac_ext <<EOF |
11513 #line 11514 "configure" | 11521 #line 11522 "configure" |
11514 #include "confdefs.h" | 11522 #include "confdefs.h" |
11515 /* Override any gcc2 internal prototype to avoid an error. */ | 11523 /* Override any gcc2 internal prototype to avoid an error. */ |
11516 /* We use char because int might match the return type of a gcc2 | 11524 /* We use char because int might match the return type of a gcc2 |
11517 builtin and then its argument prototype would still apply. */ | 11525 builtin and then its argument prototype would still apply. */ |
11518 char kstat_open(); | 11526 char kstat_open(); |
11519 | 11527 |
11520 int main() { | 11528 int main() { |
11521 kstat_open() | 11529 kstat_open() |
11522 ; return 0; } | 11530 ; return 0; } |
11523 EOF | 11531 EOF |
11524 if { (eval echo configure:11525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11532 if { (eval echo configure:11533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11525 rm -rf conftest* | 11533 rm -rf conftest* |
11526 eval "ac_cv_lib_$ac_lib_var=yes" | 11534 eval "ac_cv_lib_$ac_lib_var=yes" |
11527 else | 11535 else |
11528 echo "configure: failed program was:" >&5 | 11536 echo "configure: failed program was:" >&5 |
11529 cat conftest.$ac_ext >&5 | 11537 cat conftest.$ac_ext >&5 |
11554 | 11562 |
11555 for ac_hdr in kstat.h | 11563 for ac_hdr in kstat.h |
11556 do | 11564 do |
11557 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11565 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11558 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11566 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11559 echo "configure:11560: checking for $ac_hdr" >&5 | 11567 echo "configure:11568: checking for $ac_hdr" >&5 |
11560 | 11568 |
11561 cat > conftest.$ac_ext <<EOF | 11569 cat > conftest.$ac_ext <<EOF |
11562 #line 11563 "configure" | 11570 #line 11571 "configure" |
11563 #include "confdefs.h" | 11571 #include "confdefs.h" |
11564 #include <$ac_hdr> | 11572 #include <$ac_hdr> |
11565 EOF | 11573 EOF |
11566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11567 { (eval echo configure:11568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11575 { (eval echo configure:11576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11568 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11569 if test -z "$ac_err"; then | 11577 if test -z "$ac_err"; then |
11570 rm -rf conftest* | 11578 rm -rf conftest* |
11571 eval "ac_cv_header_$ac_safe=yes" | 11579 eval "ac_cv_header_$ac_safe=yes" |
11572 else | 11580 else |
11594 done | 11602 done |
11595 | 11603 |
11596 | 11604 |
11597 | 11605 |
11598 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11606 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11599 echo "configure:11600: checking for kvm_read in -lkvm" >&5 | 11607 echo "configure:11608: checking for kvm_read in -lkvm" >&5 |
11600 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11608 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11601 | 11609 |
11602 xe_check_libs=" -lkvm " | 11610 xe_check_libs=" -lkvm " |
11603 cat > conftest.$ac_ext <<EOF | 11611 cat > conftest.$ac_ext <<EOF |
11604 #line 11605 "configure" | 11612 #line 11613 "configure" |
11605 #include "confdefs.h" | 11613 #include "confdefs.h" |
11606 /* Override any gcc2 internal prototype to avoid an error. */ | 11614 /* Override any gcc2 internal prototype to avoid an error. */ |
11607 /* We use char because int might match the return type of a gcc2 | 11615 /* We use char because int might match the return type of a gcc2 |
11608 builtin and then its argument prototype would still apply. */ | 11616 builtin and then its argument prototype would still apply. */ |
11609 char kvm_read(); | 11617 char kvm_read(); |
11610 | 11618 |
11611 int main() { | 11619 int main() { |
11612 kvm_read() | 11620 kvm_read() |
11613 ; return 0; } | 11621 ; return 0; } |
11614 EOF | 11622 EOF |
11615 if { (eval echo configure:11616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11623 if { (eval echo configure:11624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11616 rm -rf conftest* | 11624 rm -rf conftest* |
11617 eval "ac_cv_lib_$ac_lib_var=yes" | 11625 eval "ac_cv_lib_$ac_lib_var=yes" |
11618 else | 11626 else |
11619 echo "configure: failed program was:" >&5 | 11627 echo "configure: failed program was:" >&5 |
11620 cat conftest.$ac_ext >&5 | 11628 cat conftest.$ac_ext >&5 |
11644 | 11652 |
11645 | 11653 |
11646 fi | 11654 fi |
11647 | 11655 |
11648 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11656 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11649 echo "configure:11650: checking whether netdb declares h_errno" >&5 | 11657 echo "configure:11658: checking whether netdb declares h_errno" >&5 |
11650 cat > conftest.$ac_ext <<EOF | 11658 cat > conftest.$ac_ext <<EOF |
11651 #line 11652 "configure" | 11659 #line 11660 "configure" |
11652 #include "confdefs.h" | 11660 #include "confdefs.h" |
11653 #include <netdb.h> | 11661 #include <netdb.h> |
11654 int main() { | 11662 int main() { |
11655 return h_errno; | 11663 return h_errno; |
11656 ; return 0; } | 11664 ; return 0; } |
11657 EOF | 11665 EOF |
11658 if { (eval echo configure:11659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11666 if { (eval echo configure:11667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11659 rm -rf conftest* | 11667 rm -rf conftest* |
11660 echo "$ac_t""yes" 1>&6 | 11668 echo "$ac_t""yes" 1>&6 |
11661 { test "$extra_verbose" = "yes" && cat << \EOF | 11669 { test "$extra_verbose" = "yes" && cat << \EOF |
11662 Defining HAVE_H_ERRNO | 11670 Defining HAVE_H_ERRNO |
11663 EOF | 11671 EOF |
11673 echo "$ac_t""no" 1>&6 | 11681 echo "$ac_t""no" 1>&6 |
11674 fi | 11682 fi |
11675 rm -f conftest* | 11683 rm -f conftest* |
11676 | 11684 |
11677 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11685 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11678 echo "configure:11679: checking for sigsetjmp" >&5 | 11686 echo "configure:11687: checking for sigsetjmp" >&5 |
11679 cat > conftest.$ac_ext <<EOF | 11687 cat > conftest.$ac_ext <<EOF |
11680 #line 11681 "configure" | 11688 #line 11689 "configure" |
11681 #include "confdefs.h" | 11689 #include "confdefs.h" |
11682 #include <setjmp.h> | 11690 #include <setjmp.h> |
11683 int main() { | 11691 int main() { |
11684 sigjmp_buf bar; sigsetjmp (bar, 0); | 11692 sigjmp_buf bar; sigsetjmp (bar, 0); |
11685 ; return 0; } | 11693 ; return 0; } |
11686 EOF | 11694 EOF |
11687 if { (eval echo configure:11688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11695 if { (eval echo configure:11696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11688 rm -rf conftest* | 11696 rm -rf conftest* |
11689 echo "$ac_t""yes" 1>&6 | 11697 echo "$ac_t""yes" 1>&6 |
11690 { test "$extra_verbose" = "yes" && cat << \EOF | 11698 { test "$extra_verbose" = "yes" && cat << \EOF |
11691 Defining HAVE_SIGSETJMP | 11699 Defining HAVE_SIGSETJMP |
11692 EOF | 11700 EOF |
11702 echo "$ac_t""no" 1>&6 | 11710 echo "$ac_t""no" 1>&6 |
11703 fi | 11711 fi |
11704 rm -f conftest* | 11712 rm -f conftest* |
11705 | 11713 |
11706 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11714 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11707 echo "configure:11708: checking whether localtime caches TZ" >&5 | 11715 echo "configure:11716: checking whether localtime caches TZ" >&5 |
11708 | 11716 |
11709 if test "$ac_cv_func_tzset" = "yes"; then | 11717 if test "$ac_cv_func_tzset" = "yes"; then |
11710 cat > conftest.$ac_ext <<EOF | 11718 cat > conftest.$ac_ext <<EOF |
11711 #line 11712 "configure" | 11719 #line 11720 "configure" |
11712 #include "confdefs.h" | 11720 #include "confdefs.h" |
11713 #include <time.h> | 11721 #include <time.h> |
11714 #if STDC_HEADERS | 11722 #if STDC_HEADERS |
11715 # include <stdlib.h> | 11723 # include <stdlib.h> |
11716 #endif | 11724 #endif |
11741 if (localtime (&now)->tm_hour != hour_unset) | 11749 if (localtime (&now)->tm_hour != hour_unset) |
11742 exit (1); | 11750 exit (1); |
11743 exit (0); | 11751 exit (0); |
11744 } | 11752 } |
11745 EOF | 11753 EOF |
11746 if { (eval echo configure:11747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11754 if { (eval echo configure:11755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11747 then | 11755 then |
11748 emacs_cv_localtime_cache=no | 11756 emacs_cv_localtime_cache=no |
11749 else | 11757 else |
11750 conftest_rc="$?" | 11758 conftest_rc="$?" |
11751 echo "configure: failed program was:" >&5 | 11759 echo "configure: failed program was:" >&5 |
11771 | 11779 |
11772 fi | 11780 fi |
11773 | 11781 |
11774 if test "$HAVE_TIMEVAL" = "yes"; then | 11782 if test "$HAVE_TIMEVAL" = "yes"; then |
11775 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11783 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11776 echo "configure:11777: checking whether gettimeofday accepts one or two arguments" >&5 | 11784 echo "configure:11785: checking whether gettimeofday accepts one or two arguments" >&5 |
11777 cat > conftest.$ac_ext <<EOF | 11785 cat > conftest.$ac_ext <<EOF |
11778 #line 11779 "configure" | 11786 #line 11787 "configure" |
11779 #include "confdefs.h" | 11787 #include "confdefs.h" |
11780 | 11788 |
11781 #ifdef TIME_WITH_SYS_TIME | 11789 #ifdef TIME_WITH_SYS_TIME |
11782 #include <sys/time.h> | 11790 #include <sys/time.h> |
11783 #include <time.h> | 11791 #include <time.h> |
11794 struct timeval time; | 11802 struct timeval time; |
11795 gettimeofday (&time, 0); | 11803 gettimeofday (&time, 0); |
11796 | 11804 |
11797 ; return 0; } | 11805 ; return 0; } |
11798 EOF | 11806 EOF |
11799 if { (eval echo configure:11800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11807 if { (eval echo configure:11808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11800 rm -rf conftest* | 11808 rm -rf conftest* |
11801 echo "$ac_t""two" 1>&6 | 11809 echo "$ac_t""two" 1>&6 |
11802 else | 11810 else |
11803 echo "configure: failed program was:" >&5 | 11811 echo "configure: failed program was:" >&5 |
11804 cat conftest.$ac_ext >&5 | 11812 cat conftest.$ac_ext >&5 |
11816 rm -f conftest* | 11824 rm -f conftest* |
11817 fi | 11825 fi |
11818 | 11826 |
11819 | 11827 |
11820 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11828 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11821 echo "configure:11822: checking for inline" >&5 | 11829 echo "configure:11830: checking for inline" >&5 |
11822 | 11830 |
11823 ac_cv_c_inline=no | 11831 ac_cv_c_inline=no |
11824 for ac_kw in inline __inline__ __inline; do | 11832 for ac_kw in inline __inline__ __inline; do |
11825 cat > conftest.$ac_ext <<EOF | 11833 cat > conftest.$ac_ext <<EOF |
11826 #line 11827 "configure" | 11834 #line 11835 "configure" |
11827 #include "confdefs.h" | 11835 #include "confdefs.h" |
11828 | 11836 |
11829 int main() { | 11837 int main() { |
11830 } $ac_kw foo() { | 11838 } $ac_kw foo() { |
11831 ; return 0; } | 11839 ; return 0; } |
11832 EOF | 11840 EOF |
11833 if { (eval echo configure:11834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11841 if { (eval echo configure:11842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11834 rm -rf conftest* | 11842 rm -rf conftest* |
11835 ac_cv_c_inline=$ac_kw; break | 11843 ac_cv_c_inline=$ac_kw; break |
11836 else | 11844 else |
11837 echo "configure: failed program was:" >&5 | 11845 echo "configure: failed program was:" >&5 |
11838 cat conftest.$ac_ext >&5 | 11846 cat conftest.$ac_ext >&5 |
11869 | 11877 |
11870 if test "$__DECC" != "yes"; then | 11878 if test "$__DECC" != "yes"; then |
11871 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11879 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11872 # for constant arguments. Useless! | 11880 # for constant arguments. Useless! |
11873 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11881 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11874 echo "configure:11875: checking for working alloca.h" >&5 | 11882 echo "configure:11883: checking for working alloca.h" >&5 |
11875 | 11883 |
11876 cat > conftest.$ac_ext <<EOF | 11884 cat > conftest.$ac_ext <<EOF |
11877 #line 11878 "configure" | 11885 #line 11886 "configure" |
11878 #include "confdefs.h" | 11886 #include "confdefs.h" |
11879 #include <alloca.h> | 11887 #include <alloca.h> |
11880 int main() { | 11888 int main() { |
11881 char *p = alloca(2 * sizeof(int)); | 11889 char *p = alloca(2 * sizeof(int)); |
11882 ; return 0; } | 11890 ; return 0; } |
11883 EOF | 11891 EOF |
11884 if { (eval echo configure:11885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11892 if { (eval echo configure:11893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11885 rm -rf conftest* | 11893 rm -rf conftest* |
11886 ac_cv_header_alloca_h=yes | 11894 ac_cv_header_alloca_h=yes |
11887 else | 11895 else |
11888 echo "configure: failed program was:" >&5 | 11896 echo "configure: failed program was:" >&5 |
11889 cat conftest.$ac_ext >&5 | 11897 cat conftest.$ac_ext >&5 |
11903 } | 11911 } |
11904 | 11912 |
11905 fi | 11913 fi |
11906 | 11914 |
11907 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11915 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11908 echo "configure:11909: checking for alloca" >&5 | 11916 echo "configure:11917: checking for alloca" >&5 |
11909 | 11917 |
11910 cat > conftest.$ac_ext <<EOF | 11918 cat > conftest.$ac_ext <<EOF |
11911 #line 11912 "configure" | 11919 #line 11920 "configure" |
11912 #include "confdefs.h" | 11920 #include "confdefs.h" |
11913 | 11921 |
11914 #ifdef __GNUC__ | 11922 #ifdef __GNUC__ |
11915 # define alloca __builtin_alloca | 11923 # define alloca __builtin_alloca |
11916 #else | 11924 #else |
11934 | 11942 |
11935 int main() { | 11943 int main() { |
11936 char *p = (char *) alloca(1); | 11944 char *p = (char *) alloca(1); |
11937 ; return 0; } | 11945 ; return 0; } |
11938 EOF | 11946 EOF |
11939 if { (eval echo configure:11940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11947 if { (eval echo configure:11948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11940 rm -rf conftest* | 11948 rm -rf conftest* |
11941 ac_cv_func_alloca_works=yes | 11949 ac_cv_func_alloca_works=yes |
11942 else | 11950 else |
11943 echo "configure: failed program was:" >&5 | 11951 echo "configure: failed program was:" >&5 |
11944 cat conftest.$ac_ext >&5 | 11952 cat conftest.$ac_ext >&5 |
11973 EOF | 11981 EOF |
11974 } | 11982 } |
11975 | 11983 |
11976 | 11984 |
11977 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11985 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11978 echo "configure:11979: checking whether alloca needs Cray hooks" >&5 | 11986 echo "configure:11987: checking whether alloca needs Cray hooks" >&5 |
11979 | 11987 |
11980 cat > conftest.$ac_ext <<EOF | 11988 cat > conftest.$ac_ext <<EOF |
11981 #line 11982 "configure" | 11989 #line 11990 "configure" |
11982 #include "confdefs.h" | 11990 #include "confdefs.h" |
11983 #if defined(CRAY) && ! defined(CRAY2) | 11991 #if defined(CRAY) && ! defined(CRAY2) |
11984 webecray | 11992 webecray |
11985 #else | 11993 #else |
11986 wenotbecray | 11994 wenotbecray |
12000 | 12008 |
12001 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 12009 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
12002 if test $ac_cv_os_cray = yes; then | 12010 if test $ac_cv_os_cray = yes; then |
12003 for ac_func in _getb67 GETB67 getb67; do | 12011 for ac_func in _getb67 GETB67 getb67; do |
12004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12012 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12005 echo "configure:12006: checking for $ac_func" >&5 | 12013 echo "configure:12014: checking for $ac_func" >&5 |
12006 | 12014 |
12007 cat > conftest.$ac_ext <<EOF | 12015 cat > conftest.$ac_ext <<EOF |
12008 #line 12009 "configure" | 12016 #line 12017 "configure" |
12009 #include "confdefs.h" | 12017 #include "confdefs.h" |
12010 /* System header to define __stub macros and hopefully few prototypes, | 12018 /* System header to define __stub macros and hopefully few prototypes, |
12011 which can conflict with char $ac_func(); below. */ | 12019 which can conflict with char $ac_func(); below. */ |
12012 #include <assert.h> | 12020 #include <assert.h> |
12013 /* Override any gcc2 internal prototype to avoid an error. */ | 12021 /* Override any gcc2 internal prototype to avoid an error. */ |
12026 $ac_func(); | 12034 $ac_func(); |
12027 #endif | 12035 #endif |
12028 | 12036 |
12029 ; return 0; } | 12037 ; return 0; } |
12030 EOF | 12038 EOF |
12031 if { (eval echo configure:12032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12039 if { (eval echo configure:12040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12032 rm -rf conftest* | 12040 rm -rf conftest* |
12033 eval "ac_cv_func_$ac_func=yes" | 12041 eval "ac_cv_func_$ac_func=yes" |
12034 else | 12042 else |
12035 echo "configure: failed program was:" >&5 | 12043 echo "configure: failed program was:" >&5 |
12036 cat conftest.$ac_ext >&5 | 12044 cat conftest.$ac_ext >&5 |
12056 | 12064 |
12057 done | 12065 done |
12058 fi | 12066 fi |
12059 | 12067 |
12060 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12068 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12061 echo "configure:12062: checking stack direction for C alloca" >&5 | 12069 echo "configure:12070: checking stack direction for C alloca" >&5 |
12062 | 12070 |
12063 cat > conftest.$ac_ext <<EOF | 12071 cat > conftest.$ac_ext <<EOF |
12064 #line 12065 "configure" | 12072 #line 12073 "configure" |
12065 #include "confdefs.h" | 12073 #include "confdefs.h" |
12066 find_stack_direction () | 12074 find_stack_direction () |
12067 { | 12075 { |
12068 static char *addr = 0; | 12076 static char *addr = 0; |
12069 auto char dummy; | 12077 auto char dummy; |
12078 main () | 12086 main () |
12079 { | 12087 { |
12080 exit (find_stack_direction() < 0); | 12088 exit (find_stack_direction() < 0); |
12081 } | 12089 } |
12082 EOF | 12090 EOF |
12083 if { (eval echo configure:12084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12091 if { (eval echo configure:12092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12084 then | 12092 then |
12085 ac_cv_c_stack_direction=1 | 12093 ac_cv_c_stack_direction=1 |
12086 else | 12094 else |
12087 conftest_rc="$?" | 12095 conftest_rc="$?" |
12088 echo "configure: failed program was:" >&5 | 12096 echo "configure: failed program was:" >&5 |
12108 fi | 12116 fi |
12109 fi | 12117 fi |
12110 | 12118 |
12111 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 12119 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
12112 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 12120 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
12113 echo "configure:12114: checking for vfork.h" >&5 | 12121 echo "configure:12122: checking for vfork.h" >&5 |
12114 | 12122 |
12115 cat > conftest.$ac_ext <<EOF | 12123 cat > conftest.$ac_ext <<EOF |
12116 #line 12117 "configure" | 12124 #line 12125 "configure" |
12117 #include "confdefs.h" | 12125 #include "confdefs.h" |
12118 #include <vfork.h> | 12126 #include <vfork.h> |
12119 EOF | 12127 EOF |
12120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12121 { (eval echo configure:12122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12129 { (eval echo configure:12130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12123 if test -z "$ac_err"; then | 12131 if test -z "$ac_err"; then |
12124 rm -rf conftest* | 12132 rm -rf conftest* |
12125 eval "ac_cv_header_$ac_safe=yes" | 12133 eval "ac_cv_header_$ac_safe=yes" |
12126 else | 12134 else |
12144 else | 12152 else |
12145 echo "$ac_t""no" 1>&6 | 12153 echo "$ac_t""no" 1>&6 |
12146 fi | 12154 fi |
12147 | 12155 |
12148 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 12156 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
12149 echo "configure:12150: checking for working vfork" >&5 | 12157 echo "configure:12158: checking for working vfork" >&5 |
12150 | 12158 |
12151 cat > conftest.$ac_ext <<EOF | 12159 cat > conftest.$ac_ext <<EOF |
12152 #line 12153 "configure" | 12160 #line 12161 "configure" |
12153 #include "confdefs.h" | 12161 #include "confdefs.h" |
12154 /* Thanks to Paul Eggert for this test. */ | 12162 /* Thanks to Paul Eggert for this test. */ |
12155 #include <stdio.h> | 12163 #include <stdio.h> |
12156 #include <sys/types.h> | 12164 #include <sys/types.h> |
12157 #include <sys/stat.h> | 12165 #include <sys/stat.h> |
12242 || fstat(fileno(stdout), &st) != 0 | 12250 || fstat(fileno(stdout), &st) != 0 |
12243 ); | 12251 ); |
12244 } | 12252 } |
12245 } | 12253 } |
12246 EOF | 12254 EOF |
12247 if { (eval echo configure:12248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12255 if { (eval echo configure:12256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12248 then | 12256 then |
12249 ac_cv_func_vfork_works=yes | 12257 ac_cv_func_vfork_works=yes |
12250 else | 12258 else |
12251 conftest_rc="$?" | 12259 conftest_rc="$?" |
12252 echo "configure: failed program was:" >&5 | 12260 echo "configure: failed program was:" >&5 |
12268 | 12276 |
12269 fi | 12277 fi |
12270 | 12278 |
12271 | 12279 |
12272 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12280 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12273 echo "configure:12274: checking for working strcoll" >&5 | 12281 echo "configure:12282: checking for working strcoll" >&5 |
12274 | 12282 |
12275 cat > conftest.$ac_ext <<EOF | 12283 cat > conftest.$ac_ext <<EOF |
12276 #line 12277 "configure" | 12284 #line 12285 "configure" |
12277 #include "confdefs.h" | 12285 #include "confdefs.h" |
12278 #include <string.h> | 12286 #include <string.h> |
12279 main () | 12287 main () |
12280 { | 12288 { |
12281 exit (strcoll ("abc", "def") >= 0 || | 12289 exit (strcoll ("abc", "def") >= 0 || |
12282 strcoll ("ABC", "DEF") >= 0 || | 12290 strcoll ("ABC", "DEF") >= 0 || |
12283 strcoll ("123", "456") >= 0); | 12291 strcoll ("123", "456") >= 0); |
12284 } | 12292 } |
12285 EOF | 12293 EOF |
12286 if { (eval echo configure:12287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12294 if { (eval echo configure:12295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12287 then | 12295 then |
12288 ac_cv_func_strcoll_works=yes | 12296 ac_cv_func_strcoll_works=yes |
12289 else | 12297 else |
12290 conftest_rc="$?" | 12298 conftest_rc="$?" |
12291 echo "configure: failed program was:" >&5 | 12299 echo "configure: failed program was:" >&5 |
12309 | 12317 |
12310 | 12318 |
12311 for ac_func in getpgrp | 12319 for ac_func in getpgrp |
12312 do | 12320 do |
12313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12314 echo "configure:12315: checking for $ac_func" >&5 | 12322 echo "configure:12323: checking for $ac_func" >&5 |
12315 | 12323 |
12316 cat > conftest.$ac_ext <<EOF | 12324 cat > conftest.$ac_ext <<EOF |
12317 #line 12318 "configure" | 12325 #line 12326 "configure" |
12318 #include "confdefs.h" | 12326 #include "confdefs.h" |
12319 /* System header to define __stub macros and hopefully few prototypes, | 12327 /* System header to define __stub macros and hopefully few prototypes, |
12320 which can conflict with char $ac_func(); below. */ | 12328 which can conflict with char $ac_func(); below. */ |
12321 #include <assert.h> | 12329 #include <assert.h> |
12322 /* Override any gcc2 internal prototype to avoid an error. */ | 12330 /* Override any gcc2 internal prototype to avoid an error. */ |
12335 $ac_func(); | 12343 $ac_func(); |
12336 #endif | 12344 #endif |
12337 | 12345 |
12338 ; return 0; } | 12346 ; return 0; } |
12339 EOF | 12347 EOF |
12340 if { (eval echo configure:12341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12348 if { (eval echo configure:12349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12341 rm -rf conftest* | 12349 rm -rf conftest* |
12342 eval "ac_cv_func_$ac_func=yes" | 12350 eval "ac_cv_func_$ac_func=yes" |
12343 else | 12351 else |
12344 echo "configure: failed program was:" >&5 | 12352 echo "configure: failed program was:" >&5 |
12345 cat conftest.$ac_ext >&5 | 12353 cat conftest.$ac_ext >&5 |
12363 echo "$ac_t""no" 1>&6 | 12371 echo "$ac_t""no" 1>&6 |
12364 fi | 12372 fi |
12365 done | 12373 done |
12366 | 12374 |
12367 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12375 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12368 echo "configure:12369: checking whether getpgrp takes no argument" >&5 | 12376 echo "configure:12377: checking whether getpgrp takes no argument" >&5 |
12369 | 12377 |
12370 cat > conftest.$ac_ext <<EOF | 12378 cat > conftest.$ac_ext <<EOF |
12371 #line 12372 "configure" | 12379 #line 12380 "configure" |
12372 #include "confdefs.h" | 12380 #include "confdefs.h" |
12373 | 12381 |
12374 /* | 12382 /* |
12375 * If this system has a BSD-style getpgrp(), | 12383 * If this system has a BSD-style getpgrp(), |
12376 * which takes a pid argument, exit unsuccessfully. | 12384 * which takes a pid argument, exit unsuccessfully. |
12421 exit(s>>8); | 12429 exit(s>>8); |
12422 } | 12430 } |
12423 } | 12431 } |
12424 | 12432 |
12425 EOF | 12433 EOF |
12426 if { (eval echo configure:12427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12434 if { (eval echo configure:12435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12427 then | 12435 then |
12428 ac_cv_func_getpgrp_void=yes | 12436 ac_cv_func_getpgrp_void=yes |
12429 else | 12437 else |
12430 conftest_rc="$?" | 12438 conftest_rc="$?" |
12431 echo "configure: failed program was:" >&5 | 12439 echo "configure: failed program was:" >&5 |
12448 | 12456 |
12449 fi | 12457 fi |
12450 | 12458 |
12451 | 12459 |
12452 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12460 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12453 echo "configure:12454: checking for working mmap" >&5 | 12461 echo "configure:12462: checking for working mmap" >&5 |
12454 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12462 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12455 cat > conftest.$ac_ext <<EOF | 12463 cat > conftest.$ac_ext <<EOF |
12456 #line 12457 "configure" | 12464 #line 12465 "configure" |
12457 #include "confdefs.h" | 12465 #include "confdefs.h" |
12458 #include <stdio.h> | 12466 #include <stdio.h> |
12459 #include <unistd.h> | 12467 #include <unistd.h> |
12460 #include <fcntl.h> | 12468 #include <fcntl.h> |
12461 #include <sys/mman.h> | 12469 #include <sys/mman.h> |
12484 return 0; | 12492 return 0; |
12485 perror ("conftest: mmap failed"); | 12493 perror ("conftest: mmap failed"); |
12486 return 1; | 12494 return 1; |
12487 } | 12495 } |
12488 EOF | 12496 EOF |
12489 if { (eval echo configure:12490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12497 if { (eval echo configure:12498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12490 then | 12498 then |
12491 have_mmap=yes | 12499 have_mmap=yes |
12492 else | 12500 else |
12493 conftest_rc="$?" | 12501 conftest_rc="$?" |
12494 echo "configure: failed program was:" >&5 | 12502 echo "configure: failed program was:" >&5 |
12513 esac | 12521 esac |
12514 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12522 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12515 if test "$rel_alloc $have_mmap" = "default yes"; then | 12523 if test "$rel_alloc $have_mmap" = "default yes"; then |
12516 if test "$doug_lea_malloc" = "yes"; then | 12524 if test "$doug_lea_malloc" = "yes"; then |
12517 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12525 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12518 echo "configure:12519: checking for M_MMAP_THRESHOLD" >&5 | 12526 echo "configure:12527: checking for M_MMAP_THRESHOLD" >&5 |
12519 cat > conftest.$ac_ext <<EOF | 12527 cat > conftest.$ac_ext <<EOF |
12520 #line 12521 "configure" | 12528 #line 12529 "configure" |
12521 #include "confdefs.h" | 12529 #include "confdefs.h" |
12522 #include <malloc.h> | 12530 #include <malloc.h> |
12523 int main() { | 12531 int main() { |
12524 | 12532 |
12525 #ifndef M_MMAP_THRESHOLD | 12533 #ifndef M_MMAP_THRESHOLD |
12527 !@+$%^&*_)(_ - unlikely to compile... | 12535 !@+$%^&*_)(_ - unlikely to compile... |
12528 #endif | 12536 #endif |
12529 | 12537 |
12530 ; return 0; } | 12538 ; return 0; } |
12531 EOF | 12539 EOF |
12532 if { (eval echo configure:12533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12540 if { (eval echo configure:12541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12533 rm -rf conftest* | 12541 rm -rf conftest* |
12534 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12542 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12535 else | 12543 else |
12536 echo "configure: failed program was:" >&5 | 12544 echo "configure: failed program was:" >&5 |
12537 cat conftest.$ac_ext >&5 | 12545 cat conftest.$ac_ext >&5 |
12552 } | 12560 } |
12553 | 12561 |
12554 | 12562 |
12555 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12563 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12556 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12564 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12557 echo "configure:12558: checking for termios.h" >&5 | 12565 echo "configure:12566: checking for termios.h" >&5 |
12558 | 12566 |
12559 cat > conftest.$ac_ext <<EOF | 12567 cat > conftest.$ac_ext <<EOF |
12560 #line 12561 "configure" | 12568 #line 12569 "configure" |
12561 #include "confdefs.h" | 12569 #include "confdefs.h" |
12562 #include <termios.h> | 12570 #include <termios.h> |
12563 EOF | 12571 EOF |
12564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12565 { (eval echo configure:12566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12573 { (eval echo configure:12574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12566 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12574 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12567 if test -z "$ac_err"; then | 12575 if test -z "$ac_err"; then |
12568 rm -rf conftest* | 12576 rm -rf conftest* |
12569 eval "ac_cv_header_$ac_safe=yes" | 12577 eval "ac_cv_header_$ac_safe=yes" |
12570 else | 12578 else |
12603 | 12611 |
12604 else | 12612 else |
12605 echo "$ac_t""no" 1>&6 | 12613 echo "$ac_t""no" 1>&6 |
12606 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12614 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12607 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12615 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12608 echo "configure:12609: checking for termio.h" >&5 | 12616 echo "configure:12617: checking for termio.h" >&5 |
12609 | 12617 |
12610 cat > conftest.$ac_ext <<EOF | 12618 cat > conftest.$ac_ext <<EOF |
12611 #line 12612 "configure" | 12619 #line 12620 "configure" |
12612 #include "confdefs.h" | 12620 #include "confdefs.h" |
12613 #include <termio.h> | 12621 #include <termio.h> |
12614 EOF | 12622 EOF |
12615 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12616 { (eval echo configure:12617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12624 { (eval echo configure:12625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12617 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12618 if test -z "$ac_err"; then | 12626 if test -z "$ac_err"; then |
12619 rm -rf conftest* | 12627 rm -rf conftest* |
12620 eval "ac_cv_header_$ac_safe=yes" | 12628 eval "ac_cv_header_$ac_safe=yes" |
12621 else | 12629 else |
12643 fi | 12651 fi |
12644 | 12652 |
12645 | 12653 |
12646 | 12654 |
12647 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12655 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12648 echo "configure:12649: checking for socket" >&5 | 12656 echo "configure:12657: checking for socket" >&5 |
12649 | 12657 |
12650 cat > conftest.$ac_ext <<EOF | 12658 cat > conftest.$ac_ext <<EOF |
12651 #line 12652 "configure" | 12659 #line 12660 "configure" |
12652 #include "confdefs.h" | 12660 #include "confdefs.h" |
12653 /* System header to define __stub macros and hopefully few prototypes, | 12661 /* System header to define __stub macros and hopefully few prototypes, |
12654 which can conflict with char socket(); below. */ | 12662 which can conflict with char socket(); below. */ |
12655 #include <assert.h> | 12663 #include <assert.h> |
12656 /* Override any gcc2 internal prototype to avoid an error. */ | 12664 /* Override any gcc2 internal prototype to avoid an error. */ |
12669 socket(); | 12677 socket(); |
12670 #endif | 12678 #endif |
12671 | 12679 |
12672 ; return 0; } | 12680 ; return 0; } |
12673 EOF | 12681 EOF |
12674 if { (eval echo configure:12675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12682 if { (eval echo configure:12683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12675 rm -rf conftest* | 12683 rm -rf conftest* |
12676 eval "ac_cv_func_socket=yes" | 12684 eval "ac_cv_func_socket=yes" |
12677 else | 12685 else |
12678 echo "configure: failed program was:" >&5 | 12686 echo "configure: failed program was:" >&5 |
12679 cat conftest.$ac_ext >&5 | 12687 cat conftest.$ac_ext >&5 |
12684 | 12692 |
12685 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12693 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12686 echo "$ac_t""yes" 1>&6 | 12694 echo "$ac_t""yes" 1>&6 |
12687 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12695 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12688 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12696 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12689 echo "configure:12690: checking for netinet/in.h" >&5 | 12697 echo "configure:12698: checking for netinet/in.h" >&5 |
12690 | 12698 |
12691 cat > conftest.$ac_ext <<EOF | 12699 cat > conftest.$ac_ext <<EOF |
12692 #line 12693 "configure" | 12700 #line 12701 "configure" |
12693 #include "confdefs.h" | 12701 #include "confdefs.h" |
12694 #include <netinet/in.h> | 12702 #include <netinet/in.h> |
12695 EOF | 12703 EOF |
12696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12697 { (eval echo configure:12698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12705 { (eval echo configure:12706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12699 if test -z "$ac_err"; then | 12707 if test -z "$ac_err"; then |
12700 rm -rf conftest* | 12708 rm -rf conftest* |
12701 eval "ac_cv_header_$ac_safe=yes" | 12709 eval "ac_cv_header_$ac_safe=yes" |
12702 else | 12710 else |
12709 rm -f conftest* | 12717 rm -f conftest* |
12710 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12718 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12711 echo "$ac_t""yes" 1>&6 | 12719 echo "$ac_t""yes" 1>&6 |
12712 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12720 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12713 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12721 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12714 echo "configure:12715: checking for arpa/inet.h" >&5 | 12722 echo "configure:12723: checking for arpa/inet.h" >&5 |
12715 | 12723 |
12716 cat > conftest.$ac_ext <<EOF | 12724 cat > conftest.$ac_ext <<EOF |
12717 #line 12718 "configure" | 12725 #line 12726 "configure" |
12718 #include "confdefs.h" | 12726 #include "confdefs.h" |
12719 #include <arpa/inet.h> | 12727 #include <arpa/inet.h> |
12720 EOF | 12728 EOF |
12721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12722 { (eval echo configure:12723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12730 { (eval echo configure:12731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12723 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12731 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12724 if test -z "$ac_err"; then | 12732 if test -z "$ac_err"; then |
12725 rm -rf conftest* | 12733 rm -rf conftest* |
12726 eval "ac_cv_header_$ac_safe=yes" | 12734 eval "ac_cv_header_$ac_safe=yes" |
12727 else | 12735 else |
12742 #define HAVE_SOCKETS 1 | 12750 #define HAVE_SOCKETS 1 |
12743 EOF | 12751 EOF |
12744 } | 12752 } |
12745 | 12753 |
12746 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12754 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12747 echo "configure:12748: checking "for sun_len member in struct sockaddr_un"" >&5 | 12755 echo "configure:12756: checking "for sun_len member in struct sockaddr_un"" >&5 |
12748 cat > conftest.$ac_ext <<EOF | 12756 cat > conftest.$ac_ext <<EOF |
12749 #line 12750 "configure" | 12757 #line 12758 "configure" |
12750 #include "confdefs.h" | 12758 #include "confdefs.h" |
12751 | 12759 |
12752 #include <sys/types.h> | 12760 #include <sys/types.h> |
12753 #include <sys/socket.h> | 12761 #include <sys/socket.h> |
12754 #include <sys/un.h> | 12762 #include <sys/un.h> |
12755 | 12763 |
12756 int main() { | 12764 int main() { |
12757 static struct sockaddr_un x; x.sun_len = 1; | 12765 static struct sockaddr_un x; x.sun_len = 1; |
12758 ; return 0; } | 12766 ; return 0; } |
12759 EOF | 12767 EOF |
12760 if { (eval echo configure:12761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12768 if { (eval echo configure:12769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12761 rm -rf conftest* | 12769 rm -rf conftest* |
12762 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12770 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12763 Defining HAVE_SOCKADDR_SUN_LEN | 12771 Defining HAVE_SOCKADDR_SUN_LEN |
12764 EOF | 12772 EOF |
12765 cat >> confdefs.h <<\EOF | 12773 cat >> confdefs.h <<\EOF |
12773 rm -rf conftest* | 12781 rm -rf conftest* |
12774 echo "$ac_t""no" 1>&6 | 12782 echo "$ac_t""no" 1>&6 |
12775 fi | 12783 fi |
12776 rm -f conftest* | 12784 rm -f conftest* |
12777 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12785 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12778 echo "configure:12779: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12786 echo "configure:12787: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12779 cat > conftest.$ac_ext <<EOF | 12787 cat > conftest.$ac_ext <<EOF |
12780 #line 12781 "configure" | 12788 #line 12789 "configure" |
12781 #include "confdefs.h" | 12789 #include "confdefs.h" |
12782 | 12790 |
12783 #include <sys/types.h> | 12791 #include <sys/types.h> |
12784 #include <netinet/in.h> | 12792 #include <netinet/in.h> |
12785 | 12793 |
12786 int main() { | 12794 int main() { |
12787 static struct ip_mreq x; | 12795 static struct ip_mreq x; |
12788 ; return 0; } | 12796 ; return 0; } |
12789 EOF | 12797 EOF |
12790 if { (eval echo configure:12791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12798 if { (eval echo configure:12799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12791 rm -rf conftest* | 12799 rm -rf conftest* |
12792 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12800 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12793 Defining HAVE_MULTICAST | 12801 Defining HAVE_MULTICAST |
12794 EOF | 12802 EOF |
12795 cat >> confdefs.h <<\EOF | 12803 cat >> confdefs.h <<\EOF |
12816 echo "$ac_t""no" 1>&6 | 12824 echo "$ac_t""no" 1>&6 |
12817 fi | 12825 fi |
12818 | 12826 |
12819 | 12827 |
12820 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12828 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12821 echo "configure:12822: checking for msgget" >&5 | 12829 echo "configure:12830: checking for msgget" >&5 |
12822 | 12830 |
12823 cat > conftest.$ac_ext <<EOF | 12831 cat > conftest.$ac_ext <<EOF |
12824 #line 12825 "configure" | 12832 #line 12833 "configure" |
12825 #include "confdefs.h" | 12833 #include "confdefs.h" |
12826 /* System header to define __stub macros and hopefully few prototypes, | 12834 /* System header to define __stub macros and hopefully few prototypes, |
12827 which can conflict with char msgget(); below. */ | 12835 which can conflict with char msgget(); below. */ |
12828 #include <assert.h> | 12836 #include <assert.h> |
12829 /* Override any gcc2 internal prototype to avoid an error. */ | 12837 /* Override any gcc2 internal prototype to avoid an error. */ |
12842 msgget(); | 12850 msgget(); |
12843 #endif | 12851 #endif |
12844 | 12852 |
12845 ; return 0; } | 12853 ; return 0; } |
12846 EOF | 12854 EOF |
12847 if { (eval echo configure:12848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12855 if { (eval echo configure:12856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12848 rm -rf conftest* | 12856 rm -rf conftest* |
12849 eval "ac_cv_func_msgget=yes" | 12857 eval "ac_cv_func_msgget=yes" |
12850 else | 12858 else |
12851 echo "configure: failed program was:" >&5 | 12859 echo "configure: failed program was:" >&5 |
12852 cat conftest.$ac_ext >&5 | 12860 cat conftest.$ac_ext >&5 |
12857 | 12865 |
12858 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12866 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12859 echo "$ac_t""yes" 1>&6 | 12867 echo "$ac_t""yes" 1>&6 |
12860 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12868 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12861 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12869 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12862 echo "configure:12863: checking for sys/ipc.h" >&5 | 12870 echo "configure:12871: checking for sys/ipc.h" >&5 |
12863 | 12871 |
12864 cat > conftest.$ac_ext <<EOF | 12872 cat > conftest.$ac_ext <<EOF |
12865 #line 12866 "configure" | 12873 #line 12874 "configure" |
12866 #include "confdefs.h" | 12874 #include "confdefs.h" |
12867 #include <sys/ipc.h> | 12875 #include <sys/ipc.h> |
12868 EOF | 12876 EOF |
12869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12870 { (eval echo configure:12871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12878 { (eval echo configure:12879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12872 if test -z "$ac_err"; then | 12880 if test -z "$ac_err"; then |
12873 rm -rf conftest* | 12881 rm -rf conftest* |
12874 eval "ac_cv_header_$ac_safe=yes" | 12882 eval "ac_cv_header_$ac_safe=yes" |
12875 else | 12883 else |
12882 rm -f conftest* | 12890 rm -f conftest* |
12883 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12891 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12884 echo "$ac_t""yes" 1>&6 | 12892 echo "$ac_t""yes" 1>&6 |
12885 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12893 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12886 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12894 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12887 echo "configure:12888: checking for sys/msg.h" >&5 | 12895 echo "configure:12896: checking for sys/msg.h" >&5 |
12888 | 12896 |
12889 cat > conftest.$ac_ext <<EOF | 12897 cat > conftest.$ac_ext <<EOF |
12890 #line 12891 "configure" | 12898 #line 12899 "configure" |
12891 #include "confdefs.h" | 12899 #include "confdefs.h" |
12892 #include <sys/msg.h> | 12900 #include <sys/msg.h> |
12893 EOF | 12901 EOF |
12894 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12902 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12895 { (eval echo configure:12896: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12903 { (eval echo configure:12904: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12896 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12904 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12897 if test -z "$ac_err"; then | 12905 if test -z "$ac_err"; then |
12898 rm -rf conftest* | 12906 rm -rf conftest* |
12899 eval "ac_cv_header_$ac_safe=yes" | 12907 eval "ac_cv_header_$ac_safe=yes" |
12900 else | 12908 else |
12928 fi | 12936 fi |
12929 | 12937 |
12930 | 12938 |
12931 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12939 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12932 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12940 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12933 echo "configure:12934: checking for dirent.h" >&5 | 12941 echo "configure:12942: checking for dirent.h" >&5 |
12934 | 12942 |
12935 cat > conftest.$ac_ext <<EOF | 12943 cat > conftest.$ac_ext <<EOF |
12936 #line 12937 "configure" | 12944 #line 12945 "configure" |
12937 #include "confdefs.h" | 12945 #include "confdefs.h" |
12938 #include <dirent.h> | 12946 #include <dirent.h> |
12939 EOF | 12947 EOF |
12940 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12948 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12941 { (eval echo configure:12942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12949 { (eval echo configure:12950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12950 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12943 if test -z "$ac_err"; then | 12951 if test -z "$ac_err"; then |
12944 rm -rf conftest* | 12952 rm -rf conftest* |
12945 eval "ac_cv_header_$ac_safe=yes" | 12953 eval "ac_cv_header_$ac_safe=yes" |
12946 else | 12954 else |
12963 | 12971 |
12964 else | 12972 else |
12965 echo "$ac_t""no" 1>&6 | 12973 echo "$ac_t""no" 1>&6 |
12966 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12974 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12967 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12975 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12968 echo "configure:12969: checking for sys/dir.h" >&5 | 12976 echo "configure:12977: checking for sys/dir.h" >&5 |
12969 | 12977 |
12970 cat > conftest.$ac_ext <<EOF | 12978 cat > conftest.$ac_ext <<EOF |
12971 #line 12972 "configure" | 12979 #line 12980 "configure" |
12972 #include "confdefs.h" | 12980 #include "confdefs.h" |
12973 #include <sys/dir.h> | 12981 #include <sys/dir.h> |
12974 EOF | 12982 EOF |
12975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12976 { (eval echo configure:12977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12984 { (eval echo configure:12985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12985 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12978 if test -z "$ac_err"; then | 12986 if test -z "$ac_err"; then |
12979 rm -rf conftest* | 12987 rm -rf conftest* |
12980 eval "ac_cv_header_$ac_safe=yes" | 12988 eval "ac_cv_header_$ac_safe=yes" |
12981 else | 12989 else |
13004 fi | 13012 fi |
13005 | 13013 |
13006 | 13014 |
13007 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13015 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13008 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13016 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13009 echo "configure:13010: checking for nlist.h" >&5 | 13017 echo "configure:13018: checking for nlist.h" >&5 |
13010 | 13018 |
13011 cat > conftest.$ac_ext <<EOF | 13019 cat > conftest.$ac_ext <<EOF |
13012 #line 13013 "configure" | 13020 #line 13021 "configure" |
13013 #include "confdefs.h" | 13021 #include "confdefs.h" |
13014 #include <nlist.h> | 13022 #include <nlist.h> |
13015 EOF | 13023 EOF |
13016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13024 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13017 { (eval echo configure:13018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13025 { (eval echo configure:13026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13026 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13019 if test -z "$ac_err"; then | 13027 if test -z "$ac_err"; then |
13020 rm -rf conftest* | 13028 rm -rf conftest* |
13021 eval "ac_cv_header_$ac_safe=yes" | 13029 eval "ac_cv_header_$ac_safe=yes" |
13022 else | 13030 else |
13042 fi | 13050 fi |
13043 | 13051 |
13044 | 13052 |
13045 | 13053 |
13046 echo "checking "for sound support"" 1>&6 | 13054 echo "checking "for sound support"" 1>&6 |
13047 echo "configure:13048: checking "for sound support"" >&5 | 13055 echo "configure:13056: checking "for sound support"" >&5 |
13048 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13056 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13049 | 13057 |
13050 if test "$with_native_sound" != "no"; then | 13058 if test "$with_native_sound" != "no"; then |
13051 if test -n "$native_sound_lib"; then | 13059 if test -n "$native_sound_lib"; then |
13052 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13060 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
13053 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13061 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
13054 echo "configure:13055: checking for multimedia/audio_device.h" >&5 | 13062 echo "configure:13063: checking for multimedia/audio_device.h" >&5 |
13055 | 13063 |
13056 cat > conftest.$ac_ext <<EOF | 13064 cat > conftest.$ac_ext <<EOF |
13057 #line 13058 "configure" | 13065 #line 13066 "configure" |
13058 #include "confdefs.h" | 13066 #include "confdefs.h" |
13059 #include <multimedia/audio_device.h> | 13067 #include <multimedia/audio_device.h> |
13060 EOF | 13068 EOF |
13061 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13062 { (eval echo configure:13063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13070 { (eval echo configure:13071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13063 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13064 if test -z "$ac_err"; then | 13072 if test -z "$ac_err"; then |
13065 rm -rf conftest* | 13073 rm -rf conftest* |
13066 eval "ac_cv_header_$ac_safe=yes" | 13074 eval "ac_cv_header_$ac_safe=yes" |
13067 else | 13075 else |
13105 case "$canonical" in | 13113 case "$canonical" in |
13106 *-sgi-* ) | 13114 *-sgi-* ) |
13107 if test -z "$native_sound_lib"; then | 13115 if test -z "$native_sound_lib"; then |
13108 | 13116 |
13109 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13117 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13110 echo "configure:13111: checking for ALopenport in -laudio" >&5 | 13118 echo "configure:13119: checking for ALopenport in -laudio" >&5 |
13111 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13119 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13112 | 13120 |
13113 xe_check_libs=" -laudio " | 13121 xe_check_libs=" -laudio " |
13114 cat > conftest.$ac_ext <<EOF | 13122 cat > conftest.$ac_ext <<EOF |
13115 #line 13116 "configure" | 13123 #line 13124 "configure" |
13116 #include "confdefs.h" | 13124 #include "confdefs.h" |
13117 /* Override any gcc2 internal prototype to avoid an error. */ | 13125 /* Override any gcc2 internal prototype to avoid an error. */ |
13118 /* We use char because int might match the return type of a gcc2 | 13126 /* We use char because int might match the return type of a gcc2 |
13119 builtin and then its argument prototype would still apply. */ | 13127 builtin and then its argument prototype would still apply. */ |
13120 char ALopenport(); | 13128 char ALopenport(); |
13121 | 13129 |
13122 int main() { | 13130 int main() { |
13123 ALopenport() | 13131 ALopenport() |
13124 ; return 0; } | 13132 ; return 0; } |
13125 EOF | 13133 EOF |
13126 if { (eval echo configure:13127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13134 if { (eval echo configure:13135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13127 rm -rf conftest* | 13135 rm -rf conftest* |
13128 eval "ac_cv_lib_$ac_lib_var=yes" | 13136 eval "ac_cv_lib_$ac_lib_var=yes" |
13129 else | 13137 else |
13130 echo "configure: failed program was:" >&5 | 13138 echo "configure: failed program was:" >&5 |
13131 cat conftest.$ac_ext >&5 | 13139 cat conftest.$ac_ext >&5 |
13152 fi ;; | 13160 fi ;; |
13153 hppa*-hp-hpux* ) | 13161 hppa*-hp-hpux* ) |
13154 if test -z "$native_sound_lib"; then | 13162 if test -z "$native_sound_lib"; then |
13155 | 13163 |
13156 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13164 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
13157 echo "configure:13158: checking for AOpenAudio in -lAlib" >&5 | 13165 echo "configure:13166: checking for AOpenAudio in -lAlib" >&5 |
13158 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13166 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
13159 | 13167 |
13160 xe_check_libs=" -lAlib " | 13168 xe_check_libs=" -lAlib " |
13161 cat > conftest.$ac_ext <<EOF | 13169 cat > conftest.$ac_ext <<EOF |
13162 #line 13163 "configure" | 13170 #line 13171 "configure" |
13163 #include "confdefs.h" | 13171 #include "confdefs.h" |
13164 /* Override any gcc2 internal prototype to avoid an error. */ | 13172 /* Override any gcc2 internal prototype to avoid an error. */ |
13165 /* We use char because int might match the return type of a gcc2 | 13173 /* We use char because int might match the return type of a gcc2 |
13166 builtin and then its argument prototype would still apply. */ | 13174 builtin and then its argument prototype would still apply. */ |
13167 char AOpenAudio(); | 13175 char AOpenAudio(); |
13168 | 13176 |
13169 int main() { | 13177 int main() { |
13170 AOpenAudio() | 13178 AOpenAudio() |
13171 ; return 0; } | 13179 ; return 0; } |
13172 EOF | 13180 EOF |
13173 if { (eval echo configure:13174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13181 if { (eval echo configure:13182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13174 rm -rf conftest* | 13182 rm -rf conftest* |
13175 eval "ac_cv_lib_$ac_lib_var=yes" | 13183 eval "ac_cv_lib_$ac_lib_var=yes" |
13176 else | 13184 else |
13177 echo "configure: failed program was:" >&5 | 13185 echo "configure: failed program was:" >&5 |
13178 cat conftest.$ac_ext >&5 | 13186 cat conftest.$ac_ext >&5 |
13216 | 13224 |
13217 if test -z "$sound_found"; then | 13225 if test -z "$sound_found"; then |
13218 for dir in "machine" "sys" "linux"; do | 13226 for dir in "machine" "sys" "linux"; do |
13219 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13227 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13220 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13228 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13221 echo "configure:13222: checking for ${dir}/soundcard.h" >&5 | 13229 echo "configure:13230: checking for ${dir}/soundcard.h" >&5 |
13222 | 13230 |
13223 cat > conftest.$ac_ext <<EOF | 13231 cat > conftest.$ac_ext <<EOF |
13224 #line 13225 "configure" | 13232 #line 13233 "configure" |
13225 #include "confdefs.h" | 13233 #include "confdefs.h" |
13226 #include <${dir}/soundcard.h> | 13234 #include <${dir}/soundcard.h> |
13227 EOF | 13235 EOF |
13228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13229 { (eval echo configure:13230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13237 { (eval echo configure:13238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13231 if test -z "$ac_err"; then | 13239 if test -z "$ac_err"; then |
13232 rm -rf conftest* | 13240 rm -rf conftest* |
13233 eval "ac_cv_header_$ac_safe=yes" | 13241 eval "ac_cv_header_$ac_safe=yes" |
13234 else | 13242 else |
13278 fi | 13286 fi |
13279 | 13287 |
13280 if test "$with_nas_sound" != "no"; then | 13288 if test "$with_nas_sound" != "no"; then |
13281 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13289 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13282 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13290 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13283 echo "configure:13284: checking for audio/audiolib.h" >&5 | 13291 echo "configure:13292: checking for audio/audiolib.h" >&5 |
13284 | 13292 |
13285 cat > conftest.$ac_ext <<EOF | 13293 cat > conftest.$ac_ext <<EOF |
13286 #line 13287 "configure" | 13294 #line 13295 "configure" |
13287 #include "confdefs.h" | 13295 #include "confdefs.h" |
13288 #include <audio/audiolib.h> | 13296 #include <audio/audiolib.h> |
13289 EOF | 13297 EOF |
13290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13291 { (eval echo configure:13292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13299 { (eval echo configure:13300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13293 if test -z "$ac_err"; then | 13301 if test -z "$ac_err"; then |
13294 rm -rf conftest* | 13302 rm -rf conftest* |
13295 eval "ac_cv_header_$ac_safe=yes" | 13303 eval "ac_cv_header_$ac_safe=yes" |
13296 else | 13304 else |
13304 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13312 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13305 echo "$ac_t""yes" 1>&6 | 13313 echo "$ac_t""yes" 1>&6 |
13306 | 13314 |
13307 | 13315 |
13308 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13316 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13309 echo "configure:13310: checking for AuOpenServer in -laudio" >&5 | 13317 echo "configure:13318: checking for AuOpenServer in -laudio" >&5 |
13310 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13318 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13311 | 13319 |
13312 xe_check_libs=" -laudio " | 13320 xe_check_libs=" -laudio " |
13313 cat > conftest.$ac_ext <<EOF | 13321 cat > conftest.$ac_ext <<EOF |
13314 #line 13315 "configure" | 13322 #line 13323 "configure" |
13315 #include "confdefs.h" | 13323 #include "confdefs.h" |
13316 /* Override any gcc2 internal prototype to avoid an error. */ | 13324 /* Override any gcc2 internal prototype to avoid an error. */ |
13317 /* We use char because int might match the return type of a gcc2 | 13325 /* We use char because int might match the return type of a gcc2 |
13318 builtin and then its argument prototype would still apply. */ | 13326 builtin and then its argument prototype would still apply. */ |
13319 char AuOpenServer(); | 13327 char AuOpenServer(); |
13320 | 13328 |
13321 int main() { | 13329 int main() { |
13322 AuOpenServer() | 13330 AuOpenServer() |
13323 ; return 0; } | 13331 ; return 0; } |
13324 EOF | 13332 EOF |
13325 if { (eval echo configure:13326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13333 if { (eval echo configure:13334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13326 rm -rf conftest* | 13334 rm -rf conftest* |
13327 eval "ac_cv_lib_$ac_lib_var=yes" | 13335 eval "ac_cv_lib_$ac_lib_var=yes" |
13328 else | 13336 else |
13329 echo "configure: failed program was:" >&5 | 13337 echo "configure: failed program was:" >&5 |
13330 cat conftest.$ac_ext >&5 | 13338 cat conftest.$ac_ext >&5 |
13359 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13367 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13360 echo " xemacs will be linked with \"nas.o\"" | 13368 echo " xemacs will be linked with \"nas.o\"" |
13361 fi | 13369 fi |
13362 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13370 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13363 cat > conftest.$ac_ext <<EOF | 13371 cat > conftest.$ac_ext <<EOF |
13364 #line 13365 "configure" | 13372 #line 13373 "configure" |
13365 #include "confdefs.h" | 13373 #include "confdefs.h" |
13366 #include <audio/Xtutil.h> | 13374 #include <audio/Xtutil.h> |
13367 EOF | 13375 EOF |
13368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13369 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13377 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13390 | 13398 |
13391 if test "$with_esd_sound" != "no"; then | 13399 if test "$with_esd_sound" != "no"; then |
13392 # Extract the first word of "esd-config", so it can be a program name with args. | 13400 # Extract the first word of "esd-config", so it can be a program name with args. |
13393 set dummy esd-config; ac_word=$2 | 13401 set dummy esd-config; ac_word=$2 |
13394 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13402 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13395 echo "configure:13396: checking for $ac_word" >&5 | 13403 echo "configure:13404: checking for $ac_word" >&5 |
13396 | 13404 |
13397 if test -n "$have_esd_config"; then | 13405 if test -n "$have_esd_config"; then |
13398 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13406 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13399 else | 13407 else |
13400 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13408 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13419 if test "$have_esd_config" = "yes"; then | 13427 if test "$have_esd_config" = "yes"; then |
13420 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13428 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13421 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 | 13429 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 |
13422 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13430 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13423 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13431 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13424 echo "configure:13425: checking for esd_play_stream" >&5 | 13432 echo "configure:13433: checking for esd_play_stream" >&5 |
13425 | 13433 |
13426 cat > conftest.$ac_ext <<EOF | 13434 cat > conftest.$ac_ext <<EOF |
13427 #line 13428 "configure" | 13435 #line 13436 "configure" |
13428 #include "confdefs.h" | 13436 #include "confdefs.h" |
13429 /* System header to define __stub macros and hopefully few prototypes, | 13437 /* System header to define __stub macros and hopefully few prototypes, |
13430 which can conflict with char esd_play_stream(); below. */ | 13438 which can conflict with char esd_play_stream(); below. */ |
13431 #include <assert.h> | 13439 #include <assert.h> |
13432 /* Override any gcc2 internal prototype to avoid an error. */ | 13440 /* Override any gcc2 internal prototype to avoid an error. */ |
13445 esd_play_stream(); | 13453 esd_play_stream(); |
13446 #endif | 13454 #endif |
13447 | 13455 |
13448 ; return 0; } | 13456 ; return 0; } |
13449 EOF | 13457 EOF |
13450 if { (eval echo configure:13451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13458 if { (eval echo configure:13459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13451 rm -rf conftest* | 13459 rm -rf conftest* |
13452 eval "ac_cv_func_esd_play_stream=yes" | 13460 eval "ac_cv_func_esd_play_stream=yes" |
13453 else | 13461 else |
13454 echo "configure: failed program was:" >&5 | 13462 echo "configure: failed program was:" >&5 |
13455 cat conftest.$ac_ext >&5 | 13463 cat conftest.$ac_ext >&5 |
13496 | 13504 |
13497 test -z "$with_tty" && with_tty=yes | 13505 test -z "$with_tty" && with_tty=yes |
13498 | 13506 |
13499 if test "$with_tty" = "yes" ; then | 13507 if test "$with_tty" = "yes" ; then |
13500 echo "checking for TTY-related features" 1>&6 | 13508 echo "checking for TTY-related features" 1>&6 |
13501 echo "configure:13502: checking for TTY-related features" >&5 | 13509 echo "configure:13510: checking for TTY-related features" >&5 |
13502 { test "$extra_verbose" = "yes" && cat << \EOF | 13510 { test "$extra_verbose" = "yes" && cat << \EOF |
13503 Defining HAVE_TTY | 13511 Defining HAVE_TTY |
13504 EOF | 13512 EOF |
13505 cat >> confdefs.h <<\EOF | 13513 cat >> confdefs.h <<\EOF |
13506 #define HAVE_TTY 1 | 13514 #define HAVE_TTY 1 |
13512 fi | 13520 fi |
13513 | 13521 |
13514 if test -z "$with_ncurses"; then | 13522 if test -z "$with_ncurses"; then |
13515 | 13523 |
13516 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13524 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13517 echo "configure:13518: checking for tgetent in -lncurses" >&5 | 13525 echo "configure:13526: checking for tgetent in -lncurses" >&5 |
13518 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13526 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13519 | 13527 |
13520 xe_check_libs=" -lncurses " | 13528 xe_check_libs=" -lncurses " |
13521 cat > conftest.$ac_ext <<EOF | 13529 cat > conftest.$ac_ext <<EOF |
13522 #line 13523 "configure" | 13530 #line 13531 "configure" |
13523 #include "confdefs.h" | 13531 #include "confdefs.h" |
13524 /* Override any gcc2 internal prototype to avoid an error. */ | 13532 /* Override any gcc2 internal prototype to avoid an error. */ |
13525 /* We use char because int might match the return type of a gcc2 | 13533 /* We use char because int might match the return type of a gcc2 |
13526 builtin and then its argument prototype would still apply. */ | 13534 builtin and then its argument prototype would still apply. */ |
13527 char tgetent(); | 13535 char tgetent(); |
13528 | 13536 |
13529 int main() { | 13537 int main() { |
13530 tgetent() | 13538 tgetent() |
13531 ; return 0; } | 13539 ; return 0; } |
13532 EOF | 13540 EOF |
13533 if { (eval echo configure:13534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13541 if { (eval echo configure:13542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13534 rm -rf conftest* | 13542 rm -rf conftest* |
13535 eval "ac_cv_lib_$ac_lib_var=yes" | 13543 eval "ac_cv_lib_$ac_lib_var=yes" |
13536 else | 13544 else |
13537 echo "configure: failed program was:" >&5 | 13545 echo "configure: failed program was:" >&5 |
13538 cat conftest.$ac_ext >&5 | 13546 cat conftest.$ac_ext >&5 |
13561 EOF | 13569 EOF |
13562 } | 13570 } |
13563 | 13571 |
13564 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13572 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13565 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13573 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13566 echo "configure:13567: checking for ncurses/curses.h" >&5 | 13574 echo "configure:13575: checking for ncurses/curses.h" >&5 |
13567 | 13575 |
13568 cat > conftest.$ac_ext <<EOF | 13576 cat > conftest.$ac_ext <<EOF |
13569 #line 13570 "configure" | 13577 #line 13578 "configure" |
13570 #include "confdefs.h" | 13578 #include "confdefs.h" |
13571 #include <ncurses/curses.h> | 13579 #include <ncurses/curses.h> |
13572 EOF | 13580 EOF |
13573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13574 { (eval echo configure:13575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13582 { (eval echo configure:13583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13576 if test -z "$ac_err"; then | 13584 if test -z "$ac_err"; then |
13577 rm -rf conftest* | 13585 rm -rf conftest* |
13578 eval "ac_cv_header_$ac_safe=yes" | 13586 eval "ac_cv_header_$ac_safe=yes" |
13579 else | 13587 else |
13591 echo "$ac_t""no" 1>&6 | 13599 echo "$ac_t""no" 1>&6 |
13592 fi | 13600 fi |
13593 | 13601 |
13594 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13602 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13595 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13603 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13596 echo "configure:13597: checking for ncurses/term.h" >&5 | 13604 echo "configure:13605: checking for ncurses/term.h" >&5 |
13597 | 13605 |
13598 cat > conftest.$ac_ext <<EOF | 13606 cat > conftest.$ac_ext <<EOF |
13599 #line 13600 "configure" | 13607 #line 13608 "configure" |
13600 #include "confdefs.h" | 13608 #include "confdefs.h" |
13601 #include <ncurses/term.h> | 13609 #include <ncurses/term.h> |
13602 EOF | 13610 EOF |
13603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13604 { (eval echo configure:13605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13612 { (eval echo configure:13613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13606 if test -z "$ac_err"; then | 13614 if test -z "$ac_err"; then |
13607 rm -rf conftest* | 13615 rm -rf conftest* |
13608 eval "ac_cv_header_$ac_safe=yes" | 13616 eval "ac_cv_header_$ac_safe=yes" |
13609 else | 13617 else |
13629 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13637 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13630 save_c_switch_site="$c_switch_site" | 13638 save_c_switch_site="$c_switch_site" |
13631 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13639 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13632 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13640 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13633 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13641 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13634 echo "configure:13635: checking for ncurses/curses.h" >&5 | 13642 echo "configure:13643: checking for ncurses/curses.h" >&5 |
13635 | 13643 |
13636 cat > conftest.$ac_ext <<EOF | 13644 cat > conftest.$ac_ext <<EOF |
13637 #line 13638 "configure" | 13645 #line 13646 "configure" |
13638 #include "confdefs.h" | 13646 #include "confdefs.h" |
13639 #include <ncurses/curses.h> | 13647 #include <ncurses/curses.h> |
13640 EOF | 13648 EOF |
13641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13642 { (eval echo configure:13643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13650 { (eval echo configure:13651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13651 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13644 if test -z "$ac_err"; then | 13652 if test -z "$ac_err"; then |
13645 rm -rf conftest* | 13653 rm -rf conftest* |
13646 eval "ac_cv_header_$ac_safe=yes" | 13654 eval "ac_cv_header_$ac_safe=yes" |
13647 else | 13655 else |
13672 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13680 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13673 else | 13681 else |
13674 for lib in curses termlib termcap; do | 13682 for lib in curses termlib termcap; do |
13675 | 13683 |
13676 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13684 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13677 echo "configure:13678: checking for tgetent in -l$lib" >&5 | 13685 echo "configure:13686: checking for tgetent in -l$lib" >&5 |
13678 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13686 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13679 | 13687 |
13680 xe_check_libs=" -l$lib " | 13688 xe_check_libs=" -l$lib " |
13681 cat > conftest.$ac_ext <<EOF | 13689 cat > conftest.$ac_ext <<EOF |
13682 #line 13683 "configure" | 13690 #line 13691 "configure" |
13683 #include "confdefs.h" | 13691 #include "confdefs.h" |
13684 /* Override any gcc2 internal prototype to avoid an error. */ | 13692 /* Override any gcc2 internal prototype to avoid an error. */ |
13685 /* We use char because int might match the return type of a gcc2 | 13693 /* We use char because int might match the return type of a gcc2 |
13686 builtin and then its argument prototype would still apply. */ | 13694 builtin and then its argument prototype would still apply. */ |
13687 char tgetent(); | 13695 char tgetent(); |
13688 | 13696 |
13689 int main() { | 13697 int main() { |
13690 tgetent() | 13698 tgetent() |
13691 ; return 0; } | 13699 ; return 0; } |
13692 EOF | 13700 EOF |
13693 if { (eval echo configure:13694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13701 if { (eval echo configure:13702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13694 rm -rf conftest* | 13702 rm -rf conftest* |
13695 eval "ac_cv_lib_$ac_lib_var=yes" | 13703 eval "ac_cv_lib_$ac_lib_var=yes" |
13696 else | 13704 else |
13697 echo "configure: failed program was:" >&5 | 13705 echo "configure: failed program was:" >&5 |
13698 cat conftest.$ac_ext >&5 | 13706 cat conftest.$ac_ext >&5 |
13719 if test -n "$libs_termcap"; then | 13727 if test -n "$libs_termcap"; then |
13720 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13728 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13721 else | 13729 else |
13722 | 13730 |
13723 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13731 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13724 echo "configure:13725: checking for tgetent in -lcurses" >&5 | 13732 echo "configure:13733: checking for tgetent in -lcurses" >&5 |
13725 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13733 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13726 | 13734 |
13727 xe_check_libs=" -lcurses " | 13735 xe_check_libs=" -lcurses " |
13728 cat > conftest.$ac_ext <<EOF | 13736 cat > conftest.$ac_ext <<EOF |
13729 #line 13730 "configure" | 13737 #line 13738 "configure" |
13730 #include "confdefs.h" | 13738 #include "confdefs.h" |
13731 /* Override any gcc2 internal prototype to avoid an error. */ | 13739 /* Override any gcc2 internal prototype to avoid an error. */ |
13732 /* We use char because int might match the return type of a gcc2 | 13740 /* We use char because int might match the return type of a gcc2 |
13733 builtin and then its argument prototype would still apply. */ | 13741 builtin and then its argument prototype would still apply. */ |
13734 char tgetent(); | 13742 char tgetent(); |
13735 | 13743 |
13736 int main() { | 13744 int main() { |
13737 tgetent() | 13745 tgetent() |
13738 ; return 0; } | 13746 ; return 0; } |
13739 EOF | 13747 EOF |
13740 if { (eval echo configure:13741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13748 if { (eval echo configure:13749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13741 rm -rf conftest* | 13749 rm -rf conftest* |
13742 eval "ac_cv_lib_$ac_lib_var=yes" | 13750 eval "ac_cv_lib_$ac_lib_var=yes" |
13743 else | 13751 else |
13744 echo "configure: failed program was:" >&5 | 13752 echo "configure: failed program was:" >&5 |
13745 cat conftest.$ac_ext >&5 | 13753 cat conftest.$ac_ext >&5 |
13753 echo "$ac_t""yes" 1>&6 | 13761 echo "$ac_t""yes" 1>&6 |
13754 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13762 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13755 else | 13763 else |
13756 echo "$ac_t""no" 1>&6 | 13764 echo "$ac_t""no" 1>&6 |
13757 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13765 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13758 echo "configure:13759: checking for tgetent in -ltermcap" >&5 | 13766 echo "configure:13767: checking for tgetent in -ltermcap" >&5 |
13759 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13767 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13760 | 13768 |
13761 xe_check_libs=" -ltermcap " | 13769 xe_check_libs=" -ltermcap " |
13762 cat > conftest.$ac_ext <<EOF | 13770 cat > conftest.$ac_ext <<EOF |
13763 #line 13764 "configure" | 13771 #line 13772 "configure" |
13764 #include "confdefs.h" | 13772 #include "confdefs.h" |
13765 /* Override any gcc2 internal prototype to avoid an error. */ | 13773 /* Override any gcc2 internal prototype to avoid an error. */ |
13766 /* We use char because int might match the return type of a gcc2 | 13774 /* We use char because int might match the return type of a gcc2 |
13767 builtin and then its argument prototype would still apply. */ | 13775 builtin and then its argument prototype would still apply. */ |
13768 char tgetent(); | 13776 char tgetent(); |
13769 | 13777 |
13770 int main() { | 13778 int main() { |
13771 tgetent() | 13779 tgetent() |
13772 ; return 0; } | 13780 ; return 0; } |
13773 EOF | 13781 EOF |
13774 if { (eval echo configure:13775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13782 if { (eval echo configure:13783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13775 rm -rf conftest* | 13783 rm -rf conftest* |
13776 eval "ac_cv_lib_$ac_lib_var=yes" | 13784 eval "ac_cv_lib_$ac_lib_var=yes" |
13777 else | 13785 else |
13778 echo "configure: failed program was:" >&5 | 13786 echo "configure: failed program was:" >&5 |
13779 cat conftest.$ac_ext >&5 | 13787 cat conftest.$ac_ext >&5 |
13817 } | 13825 } |
13818 | 13826 |
13819 | 13827 |
13820 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13828 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13821 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13829 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13822 echo "configure:13823: checking for gpm.h" >&5 | 13830 echo "configure:13831: checking for gpm.h" >&5 |
13823 | 13831 |
13824 cat > conftest.$ac_ext <<EOF | 13832 cat > conftest.$ac_ext <<EOF |
13825 #line 13826 "configure" | 13833 #line 13834 "configure" |
13826 #include "confdefs.h" | 13834 #include "confdefs.h" |
13827 #include <gpm.h> | 13835 #include <gpm.h> |
13828 EOF | 13836 EOF |
13829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13830 { (eval echo configure:13831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13838 { (eval echo configure:13839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13832 if test -z "$ac_err"; then | 13840 if test -z "$ac_err"; then |
13833 rm -rf conftest* | 13841 rm -rf conftest* |
13834 eval "ac_cv_header_$ac_safe=yes" | 13842 eval "ac_cv_header_$ac_safe=yes" |
13835 else | 13843 else |
13848 with_gpm=no | 13856 with_gpm=no |
13849 fi | 13857 fi |
13850 } | 13858 } |
13851 test -z "$with_gpm" && { | 13859 test -z "$with_gpm" && { |
13852 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13860 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13853 echo "configure:13854: checking for Gpm_Open in -lgpm" >&5 | 13861 echo "configure:13862: checking for Gpm_Open in -lgpm" >&5 |
13854 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13862 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13855 | 13863 |
13856 xe_check_libs=" -lgpm " | 13864 xe_check_libs=" -lgpm " |
13857 cat > conftest.$ac_ext <<EOF | 13865 cat > conftest.$ac_ext <<EOF |
13858 #line 13859 "configure" | 13866 #line 13867 "configure" |
13859 #include "confdefs.h" | 13867 #include "confdefs.h" |
13860 /* Override any gcc2 internal prototype to avoid an error. */ | 13868 /* Override any gcc2 internal prototype to avoid an error. */ |
13861 /* We use char because int might match the return type of a gcc2 | 13869 /* We use char because int might match the return type of a gcc2 |
13862 builtin and then its argument prototype would still apply. */ | 13870 builtin and then its argument prototype would still apply. */ |
13863 char Gpm_Open(); | 13871 char Gpm_Open(); |
13864 | 13872 |
13865 int main() { | 13873 int main() { |
13866 Gpm_Open() | 13874 Gpm_Open() |
13867 ; return 0; } | 13875 ; return 0; } |
13868 EOF | 13876 EOF |
13869 if { (eval echo configure:13870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13877 if { (eval echo configure:13878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13870 rm -rf conftest* | 13878 rm -rf conftest* |
13871 eval "ac_cv_lib_$ac_lib_var=yes" | 13879 eval "ac_cv_lib_$ac_lib_var=yes" |
13872 else | 13880 else |
13873 echo "configure: failed program was:" >&5 | 13881 echo "configure: failed program was:" >&5 |
13874 cat conftest.$ac_ext >&5 | 13882 cat conftest.$ac_ext >&5 |
13914 fi | 13922 fi |
13915 | 13923 |
13916 | 13924 |
13917 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13925 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13918 != "no no no" && echo "checking for database support" 1>&6 | 13926 != "no no no" && echo "checking for database support" 1>&6 |
13919 echo "configure:13920: checking for database support" >&5 | 13927 echo "configure:13928: checking for database support" >&5 |
13920 | 13928 |
13921 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13929 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13922 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13930 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13923 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13931 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13924 echo "configure:13925: checking for ndbm.h" >&5 | 13932 echo "configure:13933: checking for ndbm.h" >&5 |
13925 | 13933 |
13926 cat > conftest.$ac_ext <<EOF | 13934 cat > conftest.$ac_ext <<EOF |
13927 #line 13928 "configure" | 13935 #line 13936 "configure" |
13928 #include "confdefs.h" | 13936 #include "confdefs.h" |
13929 #include <ndbm.h> | 13937 #include <ndbm.h> |
13930 EOF | 13938 EOF |
13931 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13939 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13932 { (eval echo configure:13933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13940 { (eval echo configure:13941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13933 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13941 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13934 if test -z "$ac_err"; then | 13942 if test -z "$ac_err"; then |
13935 rm -rf conftest* | 13943 rm -rf conftest* |
13936 eval "ac_cv_header_$ac_safe=yes" | 13944 eval "ac_cv_header_$ac_safe=yes" |
13937 else | 13945 else |
13957 fi | 13965 fi |
13958 | 13966 |
13959 if test "$with_database_gdbm" != "no"; then | 13967 if test "$with_database_gdbm" != "no"; then |
13960 | 13968 |
13961 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13969 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13962 echo "configure:13963: checking for dbm_open in -lgdbm" >&5 | 13970 echo "configure:13971: checking for dbm_open in -lgdbm" >&5 |
13963 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13971 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13964 | 13972 |
13965 xe_check_libs=" -lgdbm " | 13973 xe_check_libs=" -lgdbm " |
13966 cat > conftest.$ac_ext <<EOF | 13974 cat > conftest.$ac_ext <<EOF |
13967 #line 13968 "configure" | 13975 #line 13976 "configure" |
13968 #include "confdefs.h" | 13976 #include "confdefs.h" |
13969 /* Override any gcc2 internal prototype to avoid an error. */ | 13977 /* Override any gcc2 internal prototype to avoid an error. */ |
13970 /* We use char because int might match the return type of a gcc2 | 13978 /* We use char because int might match the return type of a gcc2 |
13971 builtin and then its argument prototype would still apply. */ | 13979 builtin and then its argument prototype would still apply. */ |
13972 char dbm_open(); | 13980 char dbm_open(); |
13973 | 13981 |
13974 int main() { | 13982 int main() { |
13975 dbm_open() | 13983 dbm_open() |
13976 ; return 0; } | 13984 ; return 0; } |
13977 EOF | 13985 EOF |
13978 if { (eval echo configure:13979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13986 if { (eval echo configure:13987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13979 rm -rf conftest* | 13987 rm -rf conftest* |
13980 eval "ac_cv_lib_$ac_lib_var=yes" | 13988 eval "ac_cv_lib_$ac_lib_var=yes" |
13981 else | 13989 else |
13982 echo "configure: failed program was:" >&5 | 13990 echo "configure: failed program was:" >&5 |
13983 cat conftest.$ac_ext >&5 | 13991 cat conftest.$ac_ext >&5 |
14001 | 14009 |
14002 fi | 14010 fi |
14003 | 14011 |
14004 if test "$with_database_dbm" != "no"; then | 14012 if test "$with_database_dbm" != "no"; then |
14005 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14013 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14006 echo "configure:14007: checking for dbm_open" >&5 | 14014 echo "configure:14015: checking for dbm_open" >&5 |
14007 | 14015 |
14008 cat > conftest.$ac_ext <<EOF | 14016 cat > conftest.$ac_ext <<EOF |
14009 #line 14010 "configure" | 14017 #line 14018 "configure" |
14010 #include "confdefs.h" | 14018 #include "confdefs.h" |
14011 /* System header to define __stub macros and hopefully few prototypes, | 14019 /* System header to define __stub macros and hopefully few prototypes, |
14012 which can conflict with char dbm_open(); below. */ | 14020 which can conflict with char dbm_open(); below. */ |
14013 #include <assert.h> | 14021 #include <assert.h> |
14014 /* Override any gcc2 internal prototype to avoid an error. */ | 14022 /* Override any gcc2 internal prototype to avoid an error. */ |
14027 dbm_open(); | 14035 dbm_open(); |
14028 #endif | 14036 #endif |
14029 | 14037 |
14030 ; return 0; } | 14038 ; return 0; } |
14031 EOF | 14039 EOF |
14032 if { (eval echo configure:14033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14040 if { (eval echo configure:14041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14033 rm -rf conftest* | 14041 rm -rf conftest* |
14034 eval "ac_cv_func_dbm_open=yes" | 14042 eval "ac_cv_func_dbm_open=yes" |
14035 else | 14043 else |
14036 echo "configure: failed program was:" >&5 | 14044 echo "configure: failed program was:" >&5 |
14037 cat conftest.$ac_ext >&5 | 14045 cat conftest.$ac_ext >&5 |
14046 else | 14054 else |
14047 echo "$ac_t""no" 1>&6 | 14055 echo "$ac_t""no" 1>&6 |
14048 | 14056 |
14049 | 14057 |
14050 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14058 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14051 echo "configure:14052: checking for dbm_open in -ldbm" >&5 | 14059 echo "configure:14060: checking for dbm_open in -ldbm" >&5 |
14052 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14060 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14053 | 14061 |
14054 xe_check_libs=" -ldbm " | 14062 xe_check_libs=" -ldbm " |
14055 cat > conftest.$ac_ext <<EOF | 14063 cat > conftest.$ac_ext <<EOF |
14056 #line 14057 "configure" | 14064 #line 14065 "configure" |
14057 #include "confdefs.h" | 14065 #include "confdefs.h" |
14058 /* Override any gcc2 internal prototype to avoid an error. */ | 14066 /* Override any gcc2 internal prototype to avoid an error. */ |
14059 /* We use char because int might match the return type of a gcc2 | 14067 /* We use char because int might match the return type of a gcc2 |
14060 builtin and then its argument prototype would still apply. */ | 14068 builtin and then its argument prototype would still apply. */ |
14061 char dbm_open(); | 14069 char dbm_open(); |
14062 | 14070 |
14063 int main() { | 14071 int main() { |
14064 dbm_open() | 14072 dbm_open() |
14065 ; return 0; } | 14073 ; return 0; } |
14066 EOF | 14074 EOF |
14067 if { (eval echo configure:14068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14075 if { (eval echo configure:14076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14068 rm -rf conftest* | 14076 rm -rf conftest* |
14069 eval "ac_cv_lib_$ac_lib_var=yes" | 14077 eval "ac_cv_lib_$ac_lib_var=yes" |
14070 else | 14078 else |
14071 echo "configure: failed program was:" >&5 | 14079 echo "configure: failed program was:" >&5 |
14072 cat conftest.$ac_ext >&5 | 14080 cat conftest.$ac_ext >&5 |
14103 } | 14111 } |
14104 | 14112 |
14105 | 14113 |
14106 if test "$with_database_berkdb" != "no"; then | 14114 if test "$with_database_berkdb" != "no"; then |
14107 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14115 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14108 echo "configure:14109: checking for Berkeley db.h" >&5 | 14116 echo "configure:14117: checking for Berkeley db.h" >&5 |
14109 for header in "db/db.h" "db.h"; do | 14117 for header in "db/db.h" "db.h"; do |
14110 cat > conftest.$ac_ext <<EOF | 14118 cat > conftest.$ac_ext <<EOF |
14111 #line 14112 "configure" | 14119 #line 14120 "configure" |
14112 #include "confdefs.h" | 14120 #include "confdefs.h" |
14113 | 14121 |
14114 #include <stdlib.h> | 14122 #include <stdlib.h> |
14115 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14123 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14116 #ifdef HAVE_INTTYPES_H | 14124 #ifdef HAVE_INTTYPES_H |
14128 | 14136 |
14129 int main() { | 14137 int main() { |
14130 | 14138 |
14131 ; return 0; } | 14139 ; return 0; } |
14132 EOF | 14140 EOF |
14133 if { (eval echo configure:14134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14141 if { (eval echo configure:14142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14134 rm -rf conftest* | 14142 rm -rf conftest* |
14135 db_h_file="$header"; break | 14143 db_h_file="$header"; break |
14136 else | 14144 else |
14137 echo "configure: failed program was:" >&5 | 14145 echo "configure: failed program was:" >&5 |
14138 cat conftest.$ac_ext >&5 | 14146 cat conftest.$ac_ext >&5 |
14144 else echo "$ac_t""$db_h_file" 1>&6 | 14152 else echo "$ac_t""$db_h_file" 1>&6 |
14145 fi | 14153 fi |
14146 | 14154 |
14147 if test "$with_database_berkdb" != "no"; then | 14155 if test "$with_database_berkdb" != "no"; then |
14148 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14156 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14149 echo "configure:14150: checking for Berkeley DB version" >&5 | 14157 echo "configure:14158: checking for Berkeley DB version" >&5 |
14150 cat > conftest.$ac_ext <<EOF | 14158 cat > conftest.$ac_ext <<EOF |
14151 #line 14152 "configure" | 14159 #line 14160 "configure" |
14152 #include "confdefs.h" | 14160 #include "confdefs.h" |
14153 #include <$db_h_file> | 14161 #include <$db_h_file> |
14154 #if DB_VERSION_MAJOR > 1 | 14162 #if DB_VERSION_MAJOR > 1 |
14155 yes | 14163 yes |
14156 #endif | 14164 #endif |
14158 EOF | 14166 EOF |
14159 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14160 egrep "yes" >/dev/null 2>&1; then | 14168 egrep "yes" >/dev/null 2>&1; then |
14161 rm -rf conftest* | 14169 rm -rf conftest* |
14162 cat > conftest.$ac_ext <<EOF | 14170 cat > conftest.$ac_ext <<EOF |
14163 #line 14164 "configure" | 14171 #line 14172 "configure" |
14164 #include "confdefs.h" | 14172 #include "confdefs.h" |
14165 #include <$db_h_file> | 14173 #include <$db_h_file> |
14166 #if DB_VERSION_MAJOR > 2 | 14174 #if DB_VERSION_MAJOR > 2 |
14167 yes | 14175 yes |
14168 #endif | 14176 #endif |
14185 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14193 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
14186 fi | 14194 fi |
14187 rm -f conftest* | 14195 rm -f conftest* |
14188 | 14196 |
14189 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14197 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
14190 echo "configure:14191: checking for $dbfunc" >&5 | 14198 echo "configure:14199: checking for $dbfunc" >&5 |
14191 | 14199 |
14192 cat > conftest.$ac_ext <<EOF | 14200 cat > conftest.$ac_ext <<EOF |
14193 #line 14194 "configure" | 14201 #line 14202 "configure" |
14194 #include "confdefs.h" | 14202 #include "confdefs.h" |
14195 /* System header to define __stub macros and hopefully few prototypes, | 14203 /* System header to define __stub macros and hopefully few prototypes, |
14196 which can conflict with char $dbfunc(); below. */ | 14204 which can conflict with char $dbfunc(); below. */ |
14197 #include <assert.h> | 14205 #include <assert.h> |
14198 /* Override any gcc2 internal prototype to avoid an error. */ | 14206 /* Override any gcc2 internal prototype to avoid an error. */ |
14211 $dbfunc(); | 14219 $dbfunc(); |
14212 #endif | 14220 #endif |
14213 | 14221 |
14214 ; return 0; } | 14222 ; return 0; } |
14215 EOF | 14223 EOF |
14216 if { (eval echo configure:14217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14224 if { (eval echo configure:14225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14217 rm -rf conftest* | 14225 rm -rf conftest* |
14218 eval "ac_cv_func_$dbfunc=yes" | 14226 eval "ac_cv_func_$dbfunc=yes" |
14219 else | 14227 else |
14220 echo "configure: failed program was:" >&5 | 14228 echo "configure: failed program was:" >&5 |
14221 cat conftest.$ac_ext >&5 | 14229 cat conftest.$ac_ext >&5 |
14230 else | 14238 else |
14231 echo "$ac_t""no" 1>&6 | 14239 echo "$ac_t""no" 1>&6 |
14232 | 14240 |
14233 | 14241 |
14234 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14242 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14235 echo "configure:14236: checking for $dbfunc in -ldb" >&5 | 14243 echo "configure:14244: checking for $dbfunc in -ldb" >&5 |
14236 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14244 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14237 | 14245 |
14238 xe_check_libs=" -ldb " | 14246 xe_check_libs=" -ldb " |
14239 cat > conftest.$ac_ext <<EOF | 14247 cat > conftest.$ac_ext <<EOF |
14240 #line 14241 "configure" | 14248 #line 14249 "configure" |
14241 #include "confdefs.h" | 14249 #include "confdefs.h" |
14242 /* Override any gcc2 internal prototype to avoid an error. */ | 14250 /* Override any gcc2 internal prototype to avoid an error. */ |
14243 /* We use char because int might match the return type of a gcc2 | 14251 /* We use char because int might match the return type of a gcc2 |
14244 builtin and then its argument prototype would still apply. */ | 14252 builtin and then its argument prototype would still apply. */ |
14245 char $dbfunc(); | 14253 char $dbfunc(); |
14246 | 14254 |
14247 int main() { | 14255 int main() { |
14248 $dbfunc() | 14256 $dbfunc() |
14249 ; return 0; } | 14257 ; return 0; } |
14250 EOF | 14258 EOF |
14251 if { (eval echo configure:14252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14259 if { (eval echo configure:14260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14252 rm -rf conftest* | 14260 rm -rf conftest* |
14253 eval "ac_cv_lib_$ac_lib_var=yes" | 14261 eval "ac_cv_lib_$ac_lib_var=yes" |
14254 else | 14262 else |
14255 echo "configure: failed program was:" >&5 | 14263 echo "configure: failed program was:" >&5 |
14256 cat conftest.$ac_ext >&5 | 14264 cat conftest.$ac_ext >&5 |
14310 fi | 14318 fi |
14311 | 14319 |
14312 if test "$with_socks" = "yes"; then | 14320 if test "$with_socks" = "yes"; then |
14313 | 14321 |
14314 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14322 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14315 echo "configure:14316: checking for SOCKSinit in -lsocks" >&5 | 14323 echo "configure:14324: checking for SOCKSinit in -lsocks" >&5 |
14316 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14324 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14317 | 14325 |
14318 xe_check_libs=" -lsocks " | 14326 xe_check_libs=" -lsocks " |
14319 cat > conftest.$ac_ext <<EOF | 14327 cat > conftest.$ac_ext <<EOF |
14320 #line 14321 "configure" | 14328 #line 14329 "configure" |
14321 #include "confdefs.h" | 14329 #include "confdefs.h" |
14322 /* Override any gcc2 internal prototype to avoid an error. */ | 14330 /* Override any gcc2 internal prototype to avoid an error. */ |
14323 /* We use char because int might match the return type of a gcc2 | 14331 /* We use char because int might match the return type of a gcc2 |
14324 builtin and then its argument prototype would still apply. */ | 14332 builtin and then its argument prototype would still apply. */ |
14325 char SOCKSinit(); | 14333 char SOCKSinit(); |
14326 | 14334 |
14327 int main() { | 14335 int main() { |
14328 SOCKSinit() | 14336 SOCKSinit() |
14329 ; return 0; } | 14337 ; return 0; } |
14330 EOF | 14338 EOF |
14331 if { (eval echo configure:14332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14339 if { (eval echo configure:14340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14332 rm -rf conftest* | 14340 rm -rf conftest* |
14333 eval "ac_cv_lib_$ac_lib_var=yes" | 14341 eval "ac_cv_lib_$ac_lib_var=yes" |
14334 else | 14342 else |
14335 echo "configure: failed program was:" >&5 | 14343 echo "configure: failed program was:" >&5 |
14336 cat conftest.$ac_ext >&5 | 14344 cat conftest.$ac_ext >&5 |
14381 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14389 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14382 fi | 14390 fi |
14383 | 14391 |
14384 if test "$with_modules" != "no"; then | 14392 if test "$with_modules" != "no"; then |
14385 echo "checking for module support" 1>&6 | 14393 echo "checking for module support" 1>&6 |
14386 echo "configure:14387: checking for module support" >&5 | 14394 echo "configure:14395: checking for module support" >&5 |
14387 | 14395 |
14388 if test "$with_msw" = "yes"; then | 14396 if test "$with_msw" = "yes"; then |
14389 have_dl=yes; | 14397 have_dl=yes; |
14390 else | 14398 else |
14391 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14399 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14392 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14400 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14393 echo "configure:14394: checking for dlfcn.h" >&5 | 14401 echo "configure:14402: checking for dlfcn.h" >&5 |
14394 | 14402 |
14395 cat > conftest.$ac_ext <<EOF | 14403 cat > conftest.$ac_ext <<EOF |
14396 #line 14397 "configure" | 14404 #line 14405 "configure" |
14397 #include "confdefs.h" | 14405 #include "confdefs.h" |
14398 #include <dlfcn.h> | 14406 #include <dlfcn.h> |
14399 EOF | 14407 EOF |
14400 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14401 { (eval echo configure:14402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14409 { (eval echo configure:14410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14402 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14403 if test -z "$ac_err"; then | 14411 if test -z "$ac_err"; then |
14404 rm -rf conftest* | 14412 rm -rf conftest* |
14405 eval "ac_cv_header_$ac_safe=yes" | 14413 eval "ac_cv_header_$ac_safe=yes" |
14406 else | 14414 else |
14413 rm -f conftest* | 14421 rm -f conftest* |
14414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14422 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14415 echo "$ac_t""yes" 1>&6 | 14423 echo "$ac_t""yes" 1>&6 |
14416 | 14424 |
14417 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14425 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14418 echo "configure:14419: checking for dlopen in -lc" >&5 | 14426 echo "configure:14427: checking for dlopen in -lc" >&5 |
14419 cat > conftest.$ac_ext <<EOF | 14427 cat > conftest.$ac_ext <<EOF |
14420 #line 14421 "configure" | 14428 #line 14429 "configure" |
14421 #include "confdefs.h" | 14429 #include "confdefs.h" |
14422 #include <dlfcn.h> | 14430 #include <dlfcn.h> |
14423 int main() { | 14431 int main() { |
14424 dlopen ("", 0); | 14432 dlopen ("", 0); |
14425 ; return 0; } | 14433 ; return 0; } |
14426 EOF | 14434 EOF |
14427 if { (eval echo configure:14428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14435 if { (eval echo configure:14436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14428 rm -rf conftest* | 14436 rm -rf conftest* |
14429 have_dl=yes | 14437 have_dl=yes |
14430 else | 14438 else |
14431 echo "configure: failed program was:" >&5 | 14439 echo "configure: failed program was:" >&5 |
14432 cat conftest.$ac_ext >&5 | 14440 cat conftest.$ac_ext >&5 |
14433 rm -rf conftest* | 14441 rm -rf conftest* |
14434 | 14442 |
14435 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14443 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14436 echo "configure:14437: checking for dlopen in -ldl" >&5 | 14444 echo "configure:14445: checking for dlopen in -ldl" >&5 |
14437 ac_save_LIBS="$LIBS" | 14445 ac_save_LIBS="$LIBS" |
14438 LIBS="-ldl $LIBS" | 14446 LIBS="-ldl $LIBS" |
14439 cat > conftest.$ac_ext <<EOF | 14447 cat > conftest.$ac_ext <<EOF |
14440 #line 14441 "configure" | 14448 #line 14449 "configure" |
14441 #include "confdefs.h" | 14449 #include "confdefs.h" |
14442 #include <dlfcn.h> | 14450 #include <dlfcn.h> |
14443 int main() { | 14451 int main() { |
14444 dlopen ("", 0); | 14452 dlopen ("", 0); |
14445 ; return 0; } | 14453 ; return 0; } |
14446 EOF | 14454 EOF |
14447 if { (eval echo configure:14448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14455 if { (eval echo configure:14456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14448 rm -rf conftest* | 14456 rm -rf conftest* |
14449 have_dl=yes | 14457 have_dl=yes |
14450 else | 14458 else |
14451 echo "configure: failed program was:" >&5 | 14459 echo "configure: failed program was:" >&5 |
14452 cat conftest.$ac_ext >&5 | 14460 cat conftest.$ac_ext >&5 |
14471 } | 14479 } |
14472 | 14480 |
14473 else | 14481 else |
14474 | 14482 |
14475 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14483 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14476 echo "configure:14477: checking for shl_load in -ldld" >&5 | 14484 echo "configure:14485: checking for shl_load in -ldld" >&5 |
14477 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14485 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14478 | 14486 |
14479 xe_check_libs=" -ldld " | 14487 xe_check_libs=" -ldld " |
14480 cat > conftest.$ac_ext <<EOF | 14488 cat > conftest.$ac_ext <<EOF |
14481 #line 14482 "configure" | 14489 #line 14490 "configure" |
14482 #include "confdefs.h" | 14490 #include "confdefs.h" |
14483 /* Override any gcc2 internal prototype to avoid an error. */ | 14491 /* Override any gcc2 internal prototype to avoid an error. */ |
14484 /* We use char because int might match the return type of a gcc2 | 14492 /* We use char because int might match the return type of a gcc2 |
14485 builtin and then its argument prototype would still apply. */ | 14493 builtin and then its argument prototype would still apply. */ |
14486 char shl_load(); | 14494 char shl_load(); |
14487 | 14495 |
14488 int main() { | 14496 int main() { |
14489 shl_load() | 14497 shl_load() |
14490 ; return 0; } | 14498 ; return 0; } |
14491 EOF | 14499 EOF |
14492 if { (eval echo configure:14493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14500 if { (eval echo configure:14501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14493 rm -rf conftest* | 14501 rm -rf conftest* |
14494 eval "ac_cv_lib_$ac_lib_var=yes" | 14502 eval "ac_cv_lib_$ac_lib_var=yes" |
14495 else | 14503 else |
14496 echo "configure: failed program was:" >&5 | 14504 echo "configure: failed program was:" >&5 |
14497 cat conftest.$ac_ext >&5 | 14505 cat conftest.$ac_ext >&5 |
14514 | 14522 |
14515 else | 14523 else |
14516 echo "$ac_t""no" 1>&6 | 14524 echo "$ac_t""no" 1>&6 |
14517 | 14525 |
14518 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14526 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14519 echo "configure:14520: checking for dld_init in -ldld" >&5 | 14527 echo "configure:14528: checking for dld_init in -ldld" >&5 |
14520 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14528 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14521 | 14529 |
14522 xe_check_libs=" -ldld " | 14530 xe_check_libs=" -ldld " |
14523 cat > conftest.$ac_ext <<EOF | 14531 cat > conftest.$ac_ext <<EOF |
14524 #line 14525 "configure" | 14532 #line 14533 "configure" |
14525 #include "confdefs.h" | 14533 #include "confdefs.h" |
14526 /* Override any gcc2 internal prototype to avoid an error. */ | 14534 /* Override any gcc2 internal prototype to avoid an error. */ |
14527 /* We use char because int might match the return type of a gcc2 | 14535 /* We use char because int might match the return type of a gcc2 |
14528 builtin and then its argument prototype would still apply. */ | 14536 builtin and then its argument prototype would still apply. */ |
14529 char dld_init(); | 14537 char dld_init(); |
14530 | 14538 |
14531 int main() { | 14539 int main() { |
14532 dld_init() | 14540 dld_init() |
14533 ; return 0; } | 14541 ; return 0; } |
14534 EOF | 14542 EOF |
14535 if { (eval echo configure:14536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14543 if { (eval echo configure:14544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14536 rm -rf conftest* | 14544 rm -rf conftest* |
14537 eval "ac_cv_lib_$ac_lib_var=yes" | 14545 eval "ac_cv_lib_$ac_lib_var=yes" |
14538 else | 14546 else |
14539 echo "configure: failed program was:" >&5 | 14547 echo "configure: failed program was:" >&5 |
14540 cat conftest.$ac_ext >&5 | 14548 cat conftest.$ac_ext >&5 |
14575 ld_dynamic_link_flags= | 14583 ld_dynamic_link_flags= |
14576 xehost=$canonical | 14584 xehost=$canonical |
14577 xealias=$internal_configuration | 14585 xealias=$internal_configuration |
14578 | 14586 |
14579 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14587 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14580 echo "configure:14581: checking how to build dynamic libraries for ${xehost}" >&5 | 14588 echo "configure:14589: checking how to build dynamic libraries for ${xehost}" >&5 |
14581 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14589 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14582 case "$xehost" in | 14590 case "$xehost" in |
14583 *-*-linux-gnu*) ;; | 14591 *-*-linux-gnu*) ;; |
14584 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14592 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14585 esac | 14593 esac |
14603 # Now see if the compiler is really GCC. | 14611 # Now see if the compiler is really GCC. |
14604 if test "$GCC" = "yes"; then | 14612 if test "$GCC" = "yes"; then |
14605 XEGCC=yes | 14613 XEGCC=yes |
14606 else | 14614 else |
14607 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14615 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14608 echo "configure:14609: checking checking whether we are using GNU C" >&5 | 14616 echo "configure:14617: checking checking whether we are using GNU C" >&5 |
14609 cat > conftest.$ac_ext <<EOF | 14617 cat > conftest.$ac_ext <<EOF |
14610 #line 14611 "configure" | 14618 #line 14619 "configure" |
14611 #include "confdefs.h" | 14619 #include "confdefs.h" |
14612 | 14620 |
14613 #ifdef __GNUC__ | 14621 #ifdef __GNUC__ |
14614 yes; | 14622 yes; |
14615 #endif | 14623 #endif |
14627 | 14635 |
14628 echo "$ac_t""${XEGCC}" 1>&6 | 14636 echo "$ac_t""${XEGCC}" 1>&6 |
14629 fi | 14637 fi |
14630 | 14638 |
14631 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14639 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14632 echo "configure:14633: checking how to produce PIC code" >&5 | 14640 echo "configure:14641: checking how to produce PIC code" >&5 |
14633 wl= | 14641 wl= |
14634 | 14642 |
14635 can_build_shared=yes | 14643 can_build_shared=yes |
14636 if test "$XEGCC" = yes; then | 14644 if test "$XEGCC" = yes; then |
14637 wl='-Wl,' | 14645 wl='-Wl,' |
14728 if test -n "$dll_cflags"; then | 14736 if test -n "$dll_cflags"; then |
14729 echo "$ac_t""${dll_cflags}" 1>&6 | 14737 echo "$ac_t""${dll_cflags}" 1>&6 |
14730 | 14738 |
14731 # Check to make sure the dll_cflags actually works. | 14739 # Check to make sure the dll_cflags actually works. |
14732 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14740 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14733 echo "configure:14734: checking if PIC flag ${dll_cflags} really works" >&5 | 14741 echo "configure:14742: checking if PIC flag ${dll_cflags} really works" >&5 |
14734 save_CFLAGS="$CFLAGS" | 14742 save_CFLAGS="$CFLAGS" |
14735 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14743 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14736 cat > conftest.$ac_ext <<EOF | 14744 cat > conftest.$ac_ext <<EOF |
14737 #line 14738 "configure" | 14745 #line 14746 "configure" |
14738 #include "confdefs.h" | 14746 #include "confdefs.h" |
14739 | 14747 |
14740 int main() { | 14748 int main() { |
14741 int x=0; | 14749 int x=0; |
14742 ; return 0; } | 14750 ; return 0; } |
14743 EOF | 14751 EOF |
14744 if { (eval echo configure:14745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14752 if { (eval echo configure:14753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14745 rm -rf conftest* | 14753 rm -rf conftest* |
14746 | 14754 |
14747 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14755 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14748 # reports no error. So, we need to grep stderr for (Bundled). | 14756 # reports no error. So, we need to grep stderr for (Bundled). |
14749 if grep '(Bundled)' config.log >/dev/null; then | 14757 if grep '(Bundled)' config.log >/dev/null; then |
14770 if test "$can_build_shared" = "yes"; then | 14778 if test "$can_build_shared" = "yes"; then |
14771 cc_produces_so=no | 14779 cc_produces_so=no |
14772 xldf= | 14780 xldf= |
14773 xcldf= | 14781 xcldf= |
14774 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14782 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14775 echo "configure:14776: checking if C compiler can produce shared libraries" >&5 | 14783 echo "configure:14784: checking if C compiler can produce shared libraries" >&5 |
14776 if test "$XEGCC" = yes; then | 14784 if test "$XEGCC" = yes; then |
14777 xcldf="-shared" | 14785 xcldf="-shared" |
14778 xldf="-shared" | 14786 xldf="-shared" |
14779 else # Not using GCC | 14787 else # Not using GCC |
14780 case "$xehost_os" in | 14788 case "$xehost_os" in |
14821 LDFLAGS="$xcldf $LDFLAGS" | 14829 LDFLAGS="$xcldf $LDFLAGS" |
14822 LIBS= | 14830 LIBS= |
14823 xe_libs= | 14831 xe_libs= |
14824 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14832 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14825 cat > conftest.$ac_ext <<EOF | 14833 cat > conftest.$ac_ext <<EOF |
14826 #line 14827 "configure" | 14834 #line 14835 "configure" |
14827 #include "confdefs.h" | 14835 #include "confdefs.h" |
14828 | 14836 |
14829 int main() { | 14837 int main() { |
14830 int x=0; | 14838 int x=0; |
14831 ; return 0; } | 14839 ; return 0; } |
14832 EOF | 14840 EOF |
14833 if { (eval echo configure:14834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14841 if { (eval echo configure:14842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14834 rm -rf conftest* | 14842 rm -rf conftest* |
14835 cc_produces_so=yes | 14843 cc_produces_so=yes |
14836 else | 14844 else |
14837 echo "configure: failed program was:" >&5 | 14845 echo "configure: failed program was:" >&5 |
14838 cat conftest.$ac_ext >&5 | 14846 cat conftest.$ac_ext >&5 |
14853 if test -z "$LTLD"; then | 14861 if test -z "$LTLD"; then |
14854 ac_prog=ld | 14862 ac_prog=ld |
14855 if test "$XEGCC" = yes; then | 14863 if test "$XEGCC" = yes; then |
14856 # Check if gcc -print-prog-name=ld gives a path. | 14864 # Check if gcc -print-prog-name=ld gives a path. |
14857 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14865 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14858 echo "configure:14859: checking for ld used by GCC" >&5 | 14866 echo "configure:14867: checking for ld used by GCC" >&5 |
14859 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14867 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14860 case "$ac_prog" in | 14868 case "$ac_prog" in |
14861 # Accept absolute paths. | 14869 # Accept absolute paths. |
14862 /*) | 14870 /*) |
14863 if test -z "$LTLD"; then | 14871 if test -z "$LTLD"; then |
14878 with_gnu_ld=unknown | 14886 with_gnu_ld=unknown |
14879 ;; | 14887 ;; |
14880 esac | 14888 esac |
14881 else | 14889 else |
14882 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14890 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14883 echo "configure:14884: checking for GNU ld" >&5 | 14891 echo "configure:14892: checking for GNU ld" >&5 |
14884 fi | 14892 fi |
14885 | 14893 |
14886 if test -z "$LTLD"; then | 14894 if test -z "$LTLD"; then |
14887 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14895 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14888 for ac_dir in $PATH; do | 14896 for ac_dir in $PATH; do |
14916 | 14924 |
14917 ld_dynamic_link_flags= | 14925 ld_dynamic_link_flags= |
14918 | 14926 |
14919 # Check to see if it really is or isn't GNU ld. | 14927 # Check to see if it really is or isn't GNU ld. |
14920 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14928 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14921 echo "configure:14922: checking if the linker is GNU ld" >&5 | 14929 echo "configure:14930: checking if the linker is GNU ld" >&5 |
14922 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14930 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14923 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14931 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14924 xe_gnu_ld=yes | 14932 xe_gnu_ld=yes |
14925 else | 14933 else |
14926 xe_gnu_ld=no | 14934 xe_gnu_ld=no |
14944 ld_shlibs=yes | 14952 ld_shlibs=yes |
14945 else | 14953 else |
14946 # OK - only NOW do we futz about with ld. | 14954 # OK - only NOW do we futz about with ld. |
14947 # See if the linker supports building shared libraries. | 14955 # See if the linker supports building shared libraries. |
14948 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14956 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14949 echo "configure:14950: checking whether the linker supports shared libraries" >&5 | 14957 echo "configure:14958: checking whether the linker supports shared libraries" >&5 |
14950 dll_ld=$CC | 14958 dll_ld=$CC |
14951 dll_ldflags=$LDFLAGS | 14959 dll_ldflags=$LDFLAGS |
14952 ld_shlibs=yes | 14960 ld_shlibs=yes |
14953 can_build_shared=yes | 14961 can_build_shared=yes |
14954 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14962 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
15155 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 15163 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
15156 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 15164 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
15157 for ac_func in dlerror _dlerror | 15165 for ac_func in dlerror _dlerror |
15158 do | 15166 do |
15159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 15167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
15160 echo "configure:15161: checking for $ac_func" >&5 | 15168 echo "configure:15169: checking for $ac_func" >&5 |
15161 | 15169 |
15162 cat > conftest.$ac_ext <<EOF | 15170 cat > conftest.$ac_ext <<EOF |
15163 #line 15164 "configure" | 15171 #line 15172 "configure" |
15164 #include "confdefs.h" | 15172 #include "confdefs.h" |
15165 /* System header to define __stub macros and hopefully few prototypes, | 15173 /* System header to define __stub macros and hopefully few prototypes, |
15166 which can conflict with char $ac_func(); below. */ | 15174 which can conflict with char $ac_func(); below. */ |
15167 #include <assert.h> | 15175 #include <assert.h> |
15168 /* Override any gcc2 internal prototype to avoid an error. */ | 15176 /* Override any gcc2 internal prototype to avoid an error. */ |
15181 $ac_func(); | 15189 $ac_func(); |
15182 #endif | 15190 #endif |
15183 | 15191 |
15184 ; return 0; } | 15192 ; return 0; } |
15185 EOF | 15193 EOF |
15186 if { (eval echo configure:15187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15194 if { (eval echo configure:15195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15187 rm -rf conftest* | 15195 rm -rf conftest* |
15188 eval "ac_cv_func_$ac_func=yes" | 15196 eval "ac_cv_func_$ac_func=yes" |
15189 else | 15197 else |
15190 echo "configure: failed program was:" >&5 | 15198 echo "configure: failed program was:" >&5 |
15191 cat conftest.$ac_ext >&5 | 15199 cat conftest.$ac_ext >&5 |
15220 with_modules=no | 15228 with_modules=no |
15221 fi | 15229 fi |
15222 fi | 15230 fi |
15223 | 15231 |
15224 cat > conftest.$ac_ext <<EOF | 15232 cat > conftest.$ac_ext <<EOF |
15225 #line 15226 "configure" | 15233 #line 15234 "configure" |
15226 #include "confdefs.h" | 15234 #include "confdefs.h" |
15227 int main(int c,char *v[]){return 0;} | 15235 int main(int c,char *v[]){return 0;} |
15228 EOF | 15236 EOF |
15229 if { (eval echo configure:15230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15237 if { (eval echo configure:15238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15230 then | 15238 then |
15231 : | 15239 : |
15232 else | 15240 else |
15233 conftest_rc="$?" | 15241 conftest_rc="$?" |
15234 echo "configure: failed program was:" >&5 | 15242 echo "configure: failed program was:" >&5 |