Mercurial > hg > xemacs-beta
comparison configure @ 1261:465bd3c7d932
[xemacs-hg @ 2003-02-06 06:35:47 by ben]
various bug fixes
mule/cyril-util.el: Fix compile warning.
loadup.el, make-docfile.el, update-elc-2.el, update-elc.el: Set stack-trace-on-error, load-always-display-messages so we
get better debug results.
update-elc-2.el: Fix typo in name of lisp/mule, leading to compile failure.
simple.el: Omit M-S-home/end from motion keys.
update-elc.el: Overhaul:
-- allow list of "early-compile" files to be specified, not hardcoded
-- fix autoload checking to include all .el files, not just dumped ones
-- be smarter about regenerating autoloads, so we don't need to use
loadup-el if not necessary
-- use standard methods for loading/not loading auto-autoloads.el
(maybe fixes "Already loaded" error?)
-- rename misleading NOBYTECOMPILE flag file.
window-xemacs.el: Fix bug in default param.
window-xemacs.el: Fix compile warnings.
lwlib-Xm.c: Fix compile warning.
lispref/mule.texi: Lots of Mule rewriting.
internals/internals.texi: Major fixup. Correct for new names of Bytebpos, Ichar, etc. and
lots of Mule rewriting.
config.inc.samp: Various fixups.
Makefile.in.in: NOBYTECOMPILE -> BYTECOMPILE_CHANGE.
esd.c: Warning fixes.
fns.c: Eliminate bogus require-prints-loading-message; use already
existent load-always-display-messages instead. Make sure `load'
knows we are coming from `require'.
lread.c: Turn on `load-warn-when-source-newer' by default. Change loading
message to indicate when we are `require'ing. Eliminate
purify_flag hacks to display more messages; instead, loadup and
friends specify this explicitly with
`load-always-display-messages'. Add spaces when batch to clearly
indicate recursive loading. Fassoc() does not GC so no need to
gcpro.
gui-x.c, gui-x.h, menubar-x.c: Fix up crashes when selecting menubar items due to lack of GCPROing
of callbacks in lwlib structures.
eval.c, lisp.h, print.c: Don't canonicalize to selected-frame when noninteractive, or
backtraces get all screwed up as some values are printed through
the stream console and some aren't. Export
canonicalize_printcharfun() and use in Fbacktrace().
author | ben |
---|---|
date | Thu, 06 Feb 2003 06:36:17 +0000 |
parents | d9c553868a01 |
children | 65c6302e98c8 |
comparison
equal
deleted
inserted
replaced
1260:278c9cd3435e | 1261:465bd3c7d932 |
---|---|
4599 | 4599 |
4600 cat > conftest.$ac_ext <<EOF | 4600 cat > conftest.$ac_ext <<EOF |
4601 #line 4602 "configure" | 4601 #line 4602 "configure" |
4602 #include "confdefs.h" | 4602 #include "confdefs.h" |
4603 #include <stdio.h> | 4603 #include <stdio.h> |
4604 #include <sys/types.h> | |
4605 main() | 4604 main() |
4606 { | 4605 { |
4607 FILE *f=fopen("conftestval", "w"); | 4606 FILE *f=fopen("conftestval", "w"); |
4608 if (!f) exit(1); | 4607 if (!f) exit(1); |
4609 fprintf(f, "%d\n", sizeof(short)); | 4608 fprintf(f, "%d\n", sizeof(short)); |
4610 exit(0); | 4609 exit(0); |
4611 } | 4610 } |
4612 EOF | 4611 EOF |
4613 if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4612 if { (eval echo configure:4613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4614 then | 4613 then |
4615 ac_cv_sizeof_short=`cat conftestval` | 4614 ac_cv_sizeof_short=`cat conftestval` |
4616 else | 4615 else |
4617 conftest_rc="$?" | 4616 conftest_rc="$?" |
4618 echo "configure: failed program was:" >&5 | 4617 echo "configure: failed program was:" >&5 |
4636 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4635 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4637 echo "*** PANIC *** Please examine config.log for compilation errors." | 4636 echo "*** PANIC *** Please examine config.log for compilation errors." |
4638 exit 1 | 4637 exit 1 |
4639 fi | 4638 fi |
4640 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4639 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4641 echo "configure:4642: checking size of int" >&5 | 4640 echo "configure:4641: checking size of int" >&5 |
4642 | 4641 |
4643 cat > conftest.$ac_ext <<EOF | 4642 cat > conftest.$ac_ext <<EOF |
4644 #line 4645 "configure" | 4643 #line 4644 "configure" |
4645 #include "confdefs.h" | 4644 #include "confdefs.h" |
4646 #include <stdio.h> | 4645 #include <stdio.h> |
4647 #include <sys/types.h> | |
4648 main() | 4646 main() |
4649 { | 4647 { |
4650 FILE *f=fopen("conftestval", "w"); | 4648 FILE *f=fopen("conftestval", "w"); |
4651 if (!f) exit(1); | 4649 if (!f) exit(1); |
4652 fprintf(f, "%d\n", sizeof(int)); | 4650 fprintf(f, "%d\n", sizeof(int)); |
4653 exit(0); | 4651 exit(0); |
4654 } | 4652 } |
4655 EOF | 4653 EOF |
4656 if { (eval echo configure:4657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4654 if { (eval echo configure:4655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4657 then | 4655 then |
4658 ac_cv_sizeof_int=`cat conftestval` | 4656 ac_cv_sizeof_int=`cat conftestval` |
4659 else | 4657 else |
4660 conftest_rc="$?" | 4658 conftest_rc="$?" |
4661 echo "configure: failed program was:" >&5 | 4659 echo "configure: failed program was:" >&5 |
4673 EOF | 4671 EOF |
4674 } | 4672 } |
4675 | 4673 |
4676 | 4674 |
4677 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4675 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4678 echo "configure:4679: checking size of long" >&5 | 4676 echo "configure:4677: checking size of long" >&5 |
4679 | 4677 |
4680 cat > conftest.$ac_ext <<EOF | 4678 cat > conftest.$ac_ext <<EOF |
4681 #line 4682 "configure" | 4679 #line 4680 "configure" |
4682 #include "confdefs.h" | 4680 #include "confdefs.h" |
4683 #include <stdio.h> | 4681 #include <stdio.h> |
4684 #include <sys/types.h> | |
4685 main() | 4682 main() |
4686 { | 4683 { |
4687 FILE *f=fopen("conftestval", "w"); | 4684 FILE *f=fopen("conftestval", "w"); |
4688 if (!f) exit(1); | 4685 if (!f) exit(1); |
4689 fprintf(f, "%d\n", sizeof(long)); | 4686 fprintf(f, "%d\n", sizeof(long)); |
4690 exit(0); | 4687 exit(0); |
4691 } | 4688 } |
4692 EOF | 4689 EOF |
4693 if { (eval echo configure:4694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4690 if { (eval echo configure:4691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4694 then | 4691 then |
4695 ac_cv_sizeof_long=`cat conftestval` | 4692 ac_cv_sizeof_long=`cat conftestval` |
4696 else | 4693 else |
4697 conftest_rc="$?" | 4694 conftest_rc="$?" |
4698 echo "configure: failed program was:" >&5 | 4695 echo "configure: failed program was:" >&5 |
4710 EOF | 4707 EOF |
4711 } | 4708 } |
4712 | 4709 |
4713 | 4710 |
4714 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4711 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4715 echo "configure:4716: checking size of long long" >&5 | 4712 echo "configure:4713: checking size of long long" >&5 |
4716 | 4713 |
4717 cat > conftest.$ac_ext <<EOF | 4714 cat > conftest.$ac_ext <<EOF |
4718 #line 4719 "configure" | 4715 #line 4716 "configure" |
4719 #include "confdefs.h" | 4716 #include "confdefs.h" |
4720 #include <stdio.h> | 4717 #include <stdio.h> |
4721 #include <sys/types.h> | |
4722 main() | 4718 main() |
4723 { | 4719 { |
4724 FILE *f=fopen("conftestval", "w"); | 4720 FILE *f=fopen("conftestval", "w"); |
4725 if (!f) exit(1); | 4721 if (!f) exit(1); |
4726 fprintf(f, "%d\n", sizeof(long long)); | 4722 fprintf(f, "%d\n", sizeof(long long)); |
4727 exit(0); | 4723 exit(0); |
4728 } | 4724 } |
4729 EOF | 4725 EOF |
4730 if { (eval echo configure:4731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4726 if { (eval echo configure:4727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4731 then | 4727 then |
4732 ac_cv_sizeof_long_long=`cat conftestval` | 4728 ac_cv_sizeof_long_long=`cat conftestval` |
4733 else | 4729 else |
4734 conftest_rc="$?" | 4730 conftest_rc="$?" |
4735 echo "configure: failed program was:" >&5 | 4731 echo "configure: failed program was:" >&5 |
4747 EOF | 4743 EOF |
4748 } | 4744 } |
4749 | 4745 |
4750 | 4746 |
4751 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4747 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4752 echo "configure:4753: checking size of void *" >&5 | 4748 echo "configure:4749: checking size of void *" >&5 |
4753 | 4749 |
4754 cat > conftest.$ac_ext <<EOF | 4750 cat > conftest.$ac_ext <<EOF |
4755 #line 4756 "configure" | 4751 #line 4752 "configure" |
4756 #include "confdefs.h" | 4752 #include "confdefs.h" |
4757 #include <stdio.h> | 4753 #include <stdio.h> |
4758 #include <sys/types.h> | |
4759 main() | 4754 main() |
4760 { | 4755 { |
4761 FILE *f=fopen("conftestval", "w"); | 4756 FILE *f=fopen("conftestval", "w"); |
4762 if (!f) exit(1); | 4757 if (!f) exit(1); |
4763 fprintf(f, "%d\n", sizeof(void *)); | 4758 fprintf(f, "%d\n", sizeof(void *)); |
4764 exit(0); | 4759 exit(0); |
4765 } | 4760 } |
4766 EOF | 4761 EOF |
4767 if { (eval echo configure:4768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4762 if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4768 then | 4763 then |
4769 ac_cv_sizeof_void_p=`cat conftestval` | 4764 ac_cv_sizeof_void_p=`cat conftestval` |
4770 else | 4765 else |
4771 conftest_rc="$?" | 4766 conftest_rc="$?" |
4772 echo "configure: failed program was:" >&5 | 4767 echo "configure: failed program was:" >&5 |
4785 } | 4780 } |
4786 | 4781 |
4787 | 4782 |
4788 | 4783 |
4789 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4784 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4790 echo "configure:4791: checking for long file names" >&5 | 4785 echo "configure:4786: checking for long file names" >&5 |
4791 | 4786 |
4792 ac_cv_sys_long_file_names=yes | 4787 ac_cv_sys_long_file_names=yes |
4793 # Test for long file names in all the places we know might matter: | 4788 # Test for long file names in all the places we know might matter: |
4794 # . the current directory, where building will happen | 4789 # . the current directory, where building will happen |
4795 # $prefix/lib where we will be installing things | 4790 # $prefix/lib where we will be installing things |
4831 | 4826 |
4832 fi | 4827 fi |
4833 | 4828 |
4834 | 4829 |
4835 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4830 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4836 echo "configure:4837: checking for sin" >&5 | 4831 echo "configure:4832: checking for sin" >&5 |
4837 | 4832 |
4838 cat > conftest.$ac_ext <<EOF | 4833 cat > conftest.$ac_ext <<EOF |
4839 #line 4840 "configure" | 4834 #line 4835 "configure" |
4840 #include "confdefs.h" | 4835 #include "confdefs.h" |
4841 /* System header to define __stub macros and hopefully few prototypes, | 4836 /* System header to define __stub macros and hopefully few prototypes, |
4842 which can conflict with char sin(); below. */ | 4837 which can conflict with char sin(); below. */ |
4843 #include <assert.h> | 4838 #include <assert.h> |
4844 /* Override any gcc2 internal prototype to avoid an error. */ | 4839 /* Override any gcc2 internal prototype to avoid an error. */ |
4857 sin(); | 4852 sin(); |
4858 #endif | 4853 #endif |
4859 | 4854 |
4860 ; return 0; } | 4855 ; return 0; } |
4861 EOF | 4856 EOF |
4862 if { (eval echo configure:4863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4857 if { (eval echo configure:4858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4863 rm -rf conftest* | 4858 rm -rf conftest* |
4864 eval "ac_cv_func_sin=yes" | 4859 eval "ac_cv_func_sin=yes" |
4865 else | 4860 else |
4866 echo "configure: failed program was:" >&5 | 4861 echo "configure: failed program was:" >&5 |
4867 cat conftest.$ac_ext >&5 | 4862 cat conftest.$ac_ext >&5 |
4875 : | 4870 : |
4876 else | 4871 else |
4877 echo "$ac_t""no" 1>&6 | 4872 echo "$ac_t""no" 1>&6 |
4878 | 4873 |
4879 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4874 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4880 echo "configure:4881: checking for sin in -lm" >&5 | 4875 echo "configure:4876: checking for sin in -lm" >&5 |
4881 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4876 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4882 | 4877 |
4883 xe_check_libs=" -lm " | 4878 xe_check_libs=" -lm " |
4884 cat > conftest.$ac_ext <<EOF | 4879 cat > conftest.$ac_ext <<EOF |
4885 #line 4886 "configure" | 4880 #line 4881 "configure" |
4886 #include "confdefs.h" | 4881 #include "confdefs.h" |
4887 /* Override any gcc2 internal prototype to avoid an error. */ | 4882 /* Override any gcc2 internal prototype to avoid an error. */ |
4888 /* We use char because int might match the return type of a gcc2 | 4883 /* We use char because int might match the return type of a gcc2 |
4889 builtin and then its argument prototype would still apply. */ | 4884 builtin and then its argument prototype would still apply. */ |
4890 char sin(); | 4885 char sin(); |
4891 | 4886 |
4892 int main() { | 4887 int main() { |
4893 sin() | 4888 sin() |
4894 ; return 0; } | 4889 ; return 0; } |
4895 EOF | 4890 EOF |
4896 if { (eval echo configure:4897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4891 if { (eval echo configure:4892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4897 rm -rf conftest* | 4892 rm -rf conftest* |
4898 eval "ac_cv_lib_$ac_lib_var=yes" | 4893 eval "ac_cv_lib_$ac_lib_var=yes" |
4899 else | 4894 else |
4900 echo "configure: failed program was:" >&5 | 4895 echo "configure: failed program was:" >&5 |
4901 cat conftest.$ac_ext >&5 | 4896 cat conftest.$ac_ext >&5 |
4926 | 4921 |
4927 fi | 4922 fi |
4928 | 4923 |
4929 | 4924 |
4930 cat > conftest.$ac_ext <<EOF | 4925 cat > conftest.$ac_ext <<EOF |
4931 #line 4932 "configure" | 4926 #line 4927 "configure" |
4932 #include "confdefs.h" | 4927 #include "confdefs.h" |
4933 #include <math.h> | 4928 #include <math.h> |
4934 int main() { | 4929 int main() { |
4935 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4930 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4936 ; return 0; } | 4931 ; return 0; } |
4937 EOF | 4932 EOF |
4938 if { (eval echo configure:4939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4933 if { (eval echo configure:4934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4939 rm -rf conftest* | 4934 rm -rf conftest* |
4940 { test "$extra_verbose" = "yes" && cat << \EOF | 4935 { test "$extra_verbose" = "yes" && cat << \EOF |
4941 Defining HAVE_INVERSE_HYPERBOLIC | 4936 Defining HAVE_INVERSE_HYPERBOLIC |
4942 EOF | 4937 EOF |
4943 cat >> confdefs.h <<\EOF | 4938 cat >> confdefs.h <<\EOF |
4952 rm -f conftest* | 4947 rm -f conftest* |
4953 | 4948 |
4954 for ac_func in mkstemp | 4949 for ac_func in mkstemp |
4955 do | 4950 do |
4956 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4957 echo "configure:4958: checking for $ac_func" >&5 | 4952 echo "configure:4953: checking for $ac_func" >&5 |
4958 | 4953 |
4959 cat > conftest.$ac_ext <<EOF | 4954 cat > conftest.$ac_ext <<EOF |
4960 #line 4961 "configure" | 4955 #line 4956 "configure" |
4961 #include "confdefs.h" | 4956 #include "confdefs.h" |
4962 /* System header to define __stub macros and hopefully few prototypes, | 4957 /* System header to define __stub macros and hopefully few prototypes, |
4963 which can conflict with char $ac_func(); below. */ | 4958 which can conflict with char $ac_func(); below. */ |
4964 #include <assert.h> | 4959 #include <assert.h> |
4965 /* Override any gcc2 internal prototype to avoid an error. */ | 4960 /* Override any gcc2 internal prototype to avoid an error. */ |
4978 $ac_func(); | 4973 $ac_func(); |
4979 #endif | 4974 #endif |
4980 | 4975 |
4981 ; return 0; } | 4976 ; return 0; } |
4982 EOF | 4977 EOF |
4983 if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4978 if { (eval echo configure:4979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4984 rm -rf conftest* | 4979 rm -rf conftest* |
4985 eval "ac_cv_func_$ac_func=yes" | 4980 eval "ac_cv_func_$ac_func=yes" |
4986 else | 4981 else |
4987 echo "configure: failed program was:" >&5 | 4982 echo "configure: failed program was:" >&5 |
4988 cat conftest.$ac_ext >&5 | 4983 cat conftest.$ac_ext >&5 |
5007 fi | 5002 fi |
5008 done | 5003 done |
5009 | 5004 |
5010 | 5005 |
5011 echo "checking type of mail spool file locking" 1>&6 | 5006 echo "checking type of mail spool file locking" 1>&6 |
5012 echo "configure:5013: checking type of mail spool file locking" >&5 | 5007 echo "configure:5008: checking type of mail spool file locking" >&5 |
5013 for ac_func in lockf flock | 5008 for ac_func in lockf flock |
5014 do | 5009 do |
5015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5016 echo "configure:5017: checking for $ac_func" >&5 | 5011 echo "configure:5012: checking for $ac_func" >&5 |
5017 | 5012 |
5018 cat > conftest.$ac_ext <<EOF | 5013 cat > conftest.$ac_ext <<EOF |
5019 #line 5020 "configure" | 5014 #line 5015 "configure" |
5020 #include "confdefs.h" | 5015 #include "confdefs.h" |
5021 /* System header to define __stub macros and hopefully few prototypes, | 5016 /* System header to define __stub macros and hopefully few prototypes, |
5022 which can conflict with char $ac_func(); below. */ | 5017 which can conflict with char $ac_func(); below. */ |
5023 #include <assert.h> | 5018 #include <assert.h> |
5024 /* Override any gcc2 internal prototype to avoid an error. */ | 5019 /* Override any gcc2 internal prototype to avoid an error. */ |
5037 $ac_func(); | 5032 $ac_func(); |
5038 #endif | 5033 #endif |
5039 | 5034 |
5040 ; return 0; } | 5035 ; return 0; } |
5041 EOF | 5036 EOF |
5042 if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5037 if { (eval echo configure:5038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5043 rm -rf conftest* | 5038 rm -rf conftest* |
5044 eval "ac_cv_func_$ac_func=yes" | 5039 eval "ac_cv_func_$ac_func=yes" |
5045 else | 5040 else |
5046 echo "configure: failed program was:" >&5 | 5041 echo "configure: failed program was:" >&5 |
5047 cat conftest.$ac_ext >&5 | 5042 cat conftest.$ac_ext >&5 |
5119 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5114 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5120 | 5115 |
5121 case "$opsys" in decosf*) | 5116 case "$opsys" in decosf*) |
5122 | 5117 |
5123 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5118 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5124 echo "configure:5125: checking for cma_open in -lpthreads" >&5 | 5119 echo "configure:5120: checking for cma_open in -lpthreads" >&5 |
5125 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5120 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5126 | 5121 |
5127 xe_check_libs=" -lpthreads " | 5122 xe_check_libs=" -lpthreads " |
5128 cat > conftest.$ac_ext <<EOF | 5123 cat > conftest.$ac_ext <<EOF |
5129 #line 5130 "configure" | 5124 #line 5125 "configure" |
5130 #include "confdefs.h" | 5125 #include "confdefs.h" |
5131 /* Override any gcc2 internal prototype to avoid an error. */ | 5126 /* Override any gcc2 internal prototype to avoid an error. */ |
5132 /* We use char because int might match the return type of a gcc2 | 5127 /* We use char because int might match the return type of a gcc2 |
5133 builtin and then its argument prototype would still apply. */ | 5128 builtin and then its argument prototype would still apply. */ |
5134 char cma_open(); | 5129 char cma_open(); |
5135 | 5130 |
5136 int main() { | 5131 int main() { |
5137 cma_open() | 5132 cma_open() |
5138 ; return 0; } | 5133 ; return 0; } |
5139 EOF | 5134 EOF |
5140 if { (eval echo configure:5141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5135 if { (eval echo configure:5136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5141 rm -rf conftest* | 5136 rm -rf conftest* |
5142 eval "ac_cv_lib_$ac_lib_var=yes" | 5137 eval "ac_cv_lib_$ac_lib_var=yes" |
5143 else | 5138 else |
5144 echo "configure: failed program was:" >&5 | 5139 echo "configure: failed program was:" >&5 |
5145 cat conftest.$ac_ext >&5 | 5140 cat conftest.$ac_ext >&5 |
5172 c_switch_site="$c_switch_site -threads" ;; | 5167 c_switch_site="$c_switch_site -threads" ;; |
5173 esac | 5168 esac |
5174 | 5169 |
5175 | 5170 |
5176 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5171 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5177 echo "configure:5178: checking whether the -xildoff compiler flag is required" >&5 | 5172 echo "configure:5173: checking whether the -xildoff compiler flag is required" >&5 |
5178 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5173 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5179 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5174 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5180 then echo "$ac_t""no" 1>&6; | 5175 then echo "$ac_t""no" 1>&6; |
5181 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 | 5176 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 |
5182 fi | 5177 fi |
5184 fi | 5179 fi |
5185 | 5180 |
5186 if test "$opsys" = "sol2"; then | 5181 if test "$opsys" = "sol2"; then |
5187 if test "$os_release" -ge 56; then | 5182 if test "$os_release" -ge 56; then |
5188 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5183 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5189 echo "configure:5190: checking for \"-z ignore\" linker flag" >&5 | 5184 echo "configure:5185: checking for \"-z ignore\" linker flag" >&5 |
5190 case "`ld -h 2>&1`" in | 5185 case "`ld -h 2>&1`" in |
5191 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5186 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5192 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5187 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5193 *) echo "$ac_t""no" 1>&6 ;; | 5188 *) echo "$ac_t""no" 1>&6 ;; |
5194 esac | 5189 esac |
5195 fi | 5190 fi |
5196 fi | 5191 fi |
5197 | 5192 |
5198 | 5193 |
5199 echo "checking "for specified window system"" 1>&6 | 5194 echo "checking "for specified window system"" 1>&6 |
5200 echo "configure:5201: checking "for specified window system"" >&5 | 5195 echo "configure:5196: checking "for specified window system"" >&5 |
5201 | 5196 |
5202 | 5197 |
5203 GNOME_CONFIG=no | 5198 GNOME_CONFIG=no |
5204 GTK_CONFIG=no | 5199 GTK_CONFIG=no |
5205 | 5200 |
5206 if test "$with_gnome" != "no"; then | 5201 if test "$with_gnome" != "no"; then |
5207 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5202 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5208 echo "configure:5209: checking for GNOME configuration script" >&5 | 5203 echo "configure:5204: checking for GNOME configuration script" >&5 |
5209 for possible in gnome-config | 5204 for possible in gnome-config |
5210 do | 5205 do |
5211 possible_version=`${possible} --version 2> /dev/null` | 5206 possible_version=`${possible} --version 2> /dev/null` |
5212 if test "x${possible_version}" != "x"; then | 5207 if test "x${possible_version}" != "x"; then |
5213 GNOME_CONFIG="${possible}" | 5208 GNOME_CONFIG="${possible}" |
5234 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5229 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5235 fi | 5230 fi |
5236 | 5231 |
5237 if test "$with_gtk" != "no";then | 5232 if test "$with_gtk" != "no";then |
5238 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5233 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5239 echo "configure:5240: checking for GTK configuration script" >&5 | 5234 echo "configure:5235: checking for GTK configuration script" >&5 |
5240 for possible in gtk12-config gtk14-config gtk-config | 5235 for possible in gtk12-config gtk14-config gtk-config |
5241 do | 5236 do |
5242 possible_version=`${possible} --version 2> /dev/null` | 5237 possible_version=`${possible} --version 2> /dev/null` |
5243 if test "x${possible_version}" != "x"; then | 5238 if test "x${possible_version}" != "x"; then |
5244 GTK_CONFIG="${possible}" | 5239 GTK_CONFIG="${possible}" |
5256 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5251 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5257 fi | 5252 fi |
5258 | 5253 |
5259 if test "${GTK_CONFIG}" != "no"; then | 5254 if test "${GTK_CONFIG}" != "no"; then |
5260 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5255 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5261 echo "configure:5262: checking gtk version" >&5 | 5256 echo "configure:5257: checking gtk version" >&5 |
5262 GTK_VERSION=`${GTK_CONFIG} --version` | 5257 GTK_VERSION=`${GTK_CONFIG} --version` |
5263 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5258 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5264 | 5259 |
5265 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5260 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5266 echo "configure:5267: checking gtk libs" >&5 | 5261 echo "configure:5262: checking gtk libs" >&5 |
5267 GTK_LIBS=`${GTK_CONFIG} --libs` | 5262 GTK_LIBS=`${GTK_CONFIG} --libs` |
5268 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5263 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5269 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5264 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5270 | 5265 |
5271 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5266 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5272 echo "configure:5273: checking gtk cflags" >&5 | 5267 echo "configure:5268: checking gtk cflags" >&5 |
5273 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5268 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5274 if test "$GCC" = "yes"; then | 5269 if test "$GCC" = "yes"; then |
5275 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5270 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5276 fi | 5271 fi |
5277 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5272 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5278 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5273 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5279 | 5274 |
5280 | 5275 |
5281 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5276 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5282 echo "configure:5283: checking for main in -lgdk_imlib" >&5 | 5277 echo "configure:5278: checking for main in -lgdk_imlib" >&5 |
5283 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5278 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5284 | 5279 |
5285 xe_check_libs=" -lgdk_imlib " | 5280 xe_check_libs=" -lgdk_imlib " |
5286 cat > conftest.$ac_ext <<EOF | 5281 cat > conftest.$ac_ext <<EOF |
5287 #line 5288 "configure" | 5282 #line 5283 "configure" |
5288 #include "confdefs.h" | 5283 #include "confdefs.h" |
5289 | 5284 |
5290 int main() { | 5285 int main() { |
5291 main() | 5286 main() |
5292 ; return 0; } | 5287 ; return 0; } |
5293 EOF | 5288 EOF |
5294 if { (eval echo configure:5295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5289 if { (eval echo configure:5290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5295 rm -rf conftest* | 5290 rm -rf conftest* |
5296 eval "ac_cv_lib_$ac_lib_var=yes" | 5291 eval "ac_cv_lib_$ac_lib_var=yes" |
5297 else | 5292 else |
5298 echo "configure: failed program was:" >&5 | 5293 echo "configure: failed program was:" >&5 |
5299 cat conftest.$ac_ext >&5 | 5294 cat conftest.$ac_ext >&5 |
5311 fi | 5306 fi |
5312 | 5307 |
5313 | 5308 |
5314 | 5309 |
5315 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5310 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5316 echo "configure:5317: checking for Imlib_init in -lImlib" >&5 | 5311 echo "configure:5312: checking for Imlib_init in -lImlib" >&5 |
5317 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5312 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5318 | 5313 |
5319 xe_check_libs=" -lImlib " | 5314 xe_check_libs=" -lImlib " |
5320 cat > conftest.$ac_ext <<EOF | 5315 cat > conftest.$ac_ext <<EOF |
5321 #line 5322 "configure" | 5316 #line 5317 "configure" |
5322 #include "confdefs.h" | 5317 #include "confdefs.h" |
5323 /* Override any gcc2 internal prototype to avoid an error. */ | 5318 /* Override any gcc2 internal prototype to avoid an error. */ |
5324 /* We use char because int might match the return type of a gcc2 | 5319 /* We use char because int might match the return type of a gcc2 |
5325 builtin and then its argument prototype would still apply. */ | 5320 builtin and then its argument prototype would still apply. */ |
5326 char Imlib_init(); | 5321 char Imlib_init(); |
5327 | 5322 |
5328 int main() { | 5323 int main() { |
5329 Imlib_init() | 5324 Imlib_init() |
5330 ; return 0; } | 5325 ; return 0; } |
5331 EOF | 5326 EOF |
5332 if { (eval echo configure:5333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5327 if { (eval echo configure:5328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5333 rm -rf conftest* | 5328 rm -rf conftest* |
5334 eval "ac_cv_lib_$ac_lib_var=yes" | 5329 eval "ac_cv_lib_$ac_lib_var=yes" |
5335 else | 5330 else |
5336 echo "configure: failed program was:" >&5 | 5331 echo "configure: failed program was:" >&5 |
5337 cat conftest.$ac_ext >&5 | 5332 cat conftest.$ac_ext >&5 |
5350 | 5345 |
5351 | 5346 |
5352 for ac_func in gdk_imlib_init | 5347 for ac_func in gdk_imlib_init |
5353 do | 5348 do |
5354 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5355 echo "configure:5356: checking for $ac_func" >&5 | 5350 echo "configure:5351: checking for $ac_func" >&5 |
5356 | 5351 |
5357 cat > conftest.$ac_ext <<EOF | 5352 cat > conftest.$ac_ext <<EOF |
5358 #line 5359 "configure" | 5353 #line 5354 "configure" |
5359 #include "confdefs.h" | 5354 #include "confdefs.h" |
5360 /* System header to define __stub macros and hopefully few prototypes, | 5355 /* System header to define __stub macros and hopefully few prototypes, |
5361 which can conflict with char $ac_func(); below. */ | 5356 which can conflict with char $ac_func(); below. */ |
5362 #include <assert.h> | 5357 #include <assert.h> |
5363 /* Override any gcc2 internal prototype to avoid an error. */ | 5358 /* Override any gcc2 internal prototype to avoid an error. */ |
5376 $ac_func(); | 5371 $ac_func(); |
5377 #endif | 5372 #endif |
5378 | 5373 |
5379 ; return 0; } | 5374 ; return 0; } |
5380 EOF | 5375 EOF |
5381 if { (eval echo configure:5382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5376 if { (eval echo configure:5377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5382 rm -rf conftest* | 5377 rm -rf conftest* |
5383 eval "ac_cv_func_$ac_func=yes" | 5378 eval "ac_cv_func_$ac_func=yes" |
5384 else | 5379 else |
5385 echo "configure: failed program was:" >&5 | 5380 echo "configure: failed program was:" >&5 |
5386 cat conftest.$ac_ext >&5 | 5381 cat conftest.$ac_ext >&5 |
5442 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5437 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5443 for ac_hdr in glade/glade.h glade.h | 5438 for ac_hdr in glade/glade.h glade.h |
5444 do | 5439 do |
5445 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5440 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5446 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5441 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5447 echo "configure:5448: checking for $ac_hdr" >&5 | 5442 echo "configure:5443: checking for $ac_hdr" >&5 |
5448 | 5443 |
5449 cat > conftest.$ac_ext <<EOF | 5444 cat > conftest.$ac_ext <<EOF |
5450 #line 5451 "configure" | 5445 #line 5446 "configure" |
5451 #include "confdefs.h" | 5446 #include "confdefs.h" |
5452 #include <$ac_hdr> | 5447 #include <$ac_hdr> |
5453 EOF | 5448 EOF |
5454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5455 { (eval echo configure:5456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5450 { (eval echo configure:5451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5451 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5457 if test -z "$ac_err"; then | 5452 if test -z "$ac_err"; then |
5458 rm -rf conftest* | 5453 rm -rf conftest* |
5459 eval "ac_cv_header_$ac_safe=yes" | 5454 eval "ac_cv_header_$ac_safe=yes" |
5460 else | 5455 else |
5481 fi | 5476 fi |
5482 done | 5477 done |
5483 | 5478 |
5484 | 5479 |
5485 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5480 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5486 echo "configure:5487: checking for main in -lxml" >&5 | 5481 echo "configure:5482: checking for main in -lxml" >&5 |
5487 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5482 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5488 | 5483 |
5489 xe_check_libs=" -lxml " | 5484 xe_check_libs=" -lxml " |
5490 cat > conftest.$ac_ext <<EOF | 5485 cat > conftest.$ac_ext <<EOF |
5491 #line 5492 "configure" | 5486 #line 5487 "configure" |
5492 #include "confdefs.h" | 5487 #include "confdefs.h" |
5493 | 5488 |
5494 int main() { | 5489 int main() { |
5495 main() | 5490 main() |
5496 ; return 0; } | 5491 ; return 0; } |
5497 EOF | 5492 EOF |
5498 if { (eval echo configure:5499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5493 if { (eval echo configure:5494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5499 rm -rf conftest* | 5494 rm -rf conftest* |
5500 eval "ac_cv_lib_$ac_lib_var=yes" | 5495 eval "ac_cv_lib_$ac_lib_var=yes" |
5501 else | 5496 else |
5502 echo "configure: failed program was:" >&5 | 5497 echo "configure: failed program was:" >&5 |
5503 cat conftest.$ac_ext >&5 | 5498 cat conftest.$ac_ext >&5 |
5515 fi | 5510 fi |
5516 | 5511 |
5517 | 5512 |
5518 | 5513 |
5519 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5514 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5520 echo "configure:5521: checking for main in -lglade" >&5 | 5515 echo "configure:5516: checking for main in -lglade" >&5 |
5521 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5516 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5522 | 5517 |
5523 xe_check_libs=" -lglade " | 5518 xe_check_libs=" -lglade " |
5524 cat > conftest.$ac_ext <<EOF | 5519 cat > conftest.$ac_ext <<EOF |
5525 #line 5526 "configure" | 5520 #line 5521 "configure" |
5526 #include "confdefs.h" | 5521 #include "confdefs.h" |
5527 | 5522 |
5528 int main() { | 5523 int main() { |
5529 main() | 5524 main() |
5530 ; return 0; } | 5525 ; return 0; } |
5531 EOF | 5526 EOF |
5532 if { (eval echo configure:5533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5527 if { (eval echo configure:5528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5533 rm -rf conftest* | 5528 rm -rf conftest* |
5534 eval "ac_cv_lib_$ac_lib_var=yes" | 5529 eval "ac_cv_lib_$ac_lib_var=yes" |
5535 else | 5530 else |
5536 echo "configure: failed program was:" >&5 | 5531 echo "configure: failed program was:" >&5 |
5537 cat conftest.$ac_ext >&5 | 5532 cat conftest.$ac_ext >&5 |
5549 fi | 5544 fi |
5550 | 5545 |
5551 | 5546 |
5552 | 5547 |
5553 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5548 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5554 echo "configure:5555: checking for main in -lglade-gnome" >&5 | 5549 echo "configure:5550: checking for main in -lglade-gnome" >&5 |
5555 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5550 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5556 | 5551 |
5557 xe_check_libs=" -lglade-gnome " | 5552 xe_check_libs=" -lglade-gnome " |
5558 cat > conftest.$ac_ext <<EOF | 5553 cat > conftest.$ac_ext <<EOF |
5559 #line 5560 "configure" | 5554 #line 5555 "configure" |
5560 #include "confdefs.h" | 5555 #include "confdefs.h" |
5561 | 5556 |
5562 int main() { | 5557 int main() { |
5563 main() | 5558 main() |
5564 ; return 0; } | 5559 ; return 0; } |
5565 EOF | 5560 EOF |
5566 if { (eval echo configure:5567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5561 if { (eval echo configure:5562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5567 rm -rf conftest* | 5562 rm -rf conftest* |
5568 eval "ac_cv_lib_$ac_lib_var=yes" | 5563 eval "ac_cv_lib_$ac_lib_var=yes" |
5569 else | 5564 else |
5570 echo "configure: failed program was:" >&5 | 5565 echo "configure: failed program was:" >&5 |
5571 cat conftest.$ac_ext >&5 | 5566 cat conftest.$ac_ext >&5 |
5582 echo "$ac_t""no" 1>&6 | 5577 echo "$ac_t""no" 1>&6 |
5583 fi | 5578 fi |
5584 | 5579 |
5585 | 5580 |
5586 cat > conftest.$ac_ext <<EOF | 5581 cat > conftest.$ac_ext <<EOF |
5587 #line 5588 "configure" | 5582 #line 5583 "configure" |
5588 #include "confdefs.h" | 5583 #include "confdefs.h" |
5589 #include <glade/glade-xml.h> | 5584 #include <glade/glade-xml.h> |
5590 EOF | 5585 EOF |
5591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5592 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5587 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5641 # If we find X, set shell vars x_includes and x_libraries to the | 5636 # If we find X, set shell vars x_includes and x_libraries to the |
5642 # paths, otherwise set no_x=yes. | 5637 # paths, otherwise set no_x=yes. |
5643 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5638 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5644 # --without-x overrides everything else, but does not touch the cache. | 5639 # --without-x overrides everything else, but does not touch the cache. |
5645 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5640 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5646 echo "configure:5647: checking for X" >&5 | 5641 echo "configure:5642: checking for X" >&5 |
5647 | 5642 |
5648 # Check whether --with-x or --without-x was given. | 5643 # Check whether --with-x or --without-x was given. |
5649 if test "${with_x+set}" = set; then | 5644 if test "${with_x+set}" = set; then |
5650 withval="$with_x" | 5645 withval="$with_x" |
5651 : | 5646 : |
5701 # Guess where to find include files, by looking for this one X11 .h file. | 5696 # Guess where to find include files, by looking for this one X11 .h file. |
5702 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5697 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5703 | 5698 |
5704 # First, try using that file with no special directory specified. | 5699 # First, try using that file with no special directory specified. |
5705 cat > conftest.$ac_ext <<EOF | 5700 cat > conftest.$ac_ext <<EOF |
5706 #line 5707 "configure" | 5701 #line 5702 "configure" |
5707 #include "confdefs.h" | 5702 #include "confdefs.h" |
5708 #include <$x_direct_test_include> | 5703 #include <$x_direct_test_include> |
5709 EOF | 5704 EOF |
5710 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5711 { (eval echo configure:5712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5706 { (eval echo configure:5707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5712 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5713 if test -z "$ac_err"; then | 5708 if test -z "$ac_err"; then |
5714 rm -rf conftest* | 5709 rm -rf conftest* |
5715 # We can compile using X headers with no special include directory. | 5710 # We can compile using X headers with no special include directory. |
5716 ac_x_includes= | 5711 ac_x_includes= |
5775 # See if we find them without any special options. | 5770 # See if we find them without any special options. |
5776 # Don't add to $LIBS permanently. | 5771 # Don't add to $LIBS permanently. |
5777 ac_save_LIBS="$LIBS" | 5772 ac_save_LIBS="$LIBS" |
5778 LIBS="-l$x_direct_test_library $LIBS" | 5773 LIBS="-l$x_direct_test_library $LIBS" |
5779 cat > conftest.$ac_ext <<EOF | 5774 cat > conftest.$ac_ext <<EOF |
5780 #line 5781 "configure" | 5775 #line 5776 "configure" |
5781 #include "confdefs.h" | 5776 #include "confdefs.h" |
5782 | 5777 |
5783 int main() { | 5778 int main() { |
5784 ${x_direct_test_function}() | 5779 ${x_direct_test_function}() |
5785 ; return 0; } | 5780 ; return 0; } |
5786 EOF | 5781 EOF |
5787 if { (eval echo configure:5788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5782 if { (eval echo configure:5783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5788 rm -rf conftest* | 5783 rm -rf conftest* |
5789 LIBS="$ac_save_LIBS" | 5784 LIBS="$ac_save_LIBS" |
5790 # We can link X programs with no special library path. | 5785 # We can link X programs with no special library path. |
5791 ac_x_libraries= | 5786 ac_x_libraries= |
5792 else | 5787 else |
5891 # For Solaris; some versions of Sun CC require a space after -R and | 5886 # For Solaris; some versions of Sun CC require a space after -R and |
5892 # others require no space. Words are not sufficient . . . . | 5887 # others require no space. Words are not sufficient . . . . |
5893 case "`(uname -sr) 2>/dev/null`" in | 5888 case "`(uname -sr) 2>/dev/null`" in |
5894 "SunOS 5"*) | 5889 "SunOS 5"*) |
5895 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5890 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5896 echo "configure:5897: checking whether -R must be followed by a space" >&5 | 5891 echo "configure:5892: checking whether -R must be followed by a space" >&5 |
5897 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5892 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5898 cat > conftest.$ac_ext <<EOF | 5893 cat > conftest.$ac_ext <<EOF |
5899 #line 5900 "configure" | 5894 #line 5895 "configure" |
5900 #include "confdefs.h" | 5895 #include "confdefs.h" |
5901 | 5896 |
5902 int main() { | 5897 int main() { |
5903 | 5898 |
5904 ; return 0; } | 5899 ; return 0; } |
5905 EOF | 5900 EOF |
5906 if { (eval echo configure:5907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5901 if { (eval echo configure:5902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5907 rm -rf conftest* | 5902 rm -rf conftest* |
5908 ac_R_nospace=yes | 5903 ac_R_nospace=yes |
5909 else | 5904 else |
5910 echo "configure: failed program was:" >&5 | 5905 echo "configure: failed program was:" >&5 |
5911 cat conftest.$ac_ext >&5 | 5906 cat conftest.$ac_ext >&5 |
5917 echo "$ac_t""no" 1>&6 | 5912 echo "$ac_t""no" 1>&6 |
5918 X_LIBS="$X_LIBS -R$x_libraries" | 5913 X_LIBS="$X_LIBS -R$x_libraries" |
5919 else | 5914 else |
5920 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5915 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5921 cat > conftest.$ac_ext <<EOF | 5916 cat > conftest.$ac_ext <<EOF |
5922 #line 5923 "configure" | 5917 #line 5918 "configure" |
5923 #include "confdefs.h" | 5918 #include "confdefs.h" |
5924 | 5919 |
5925 int main() { | 5920 int main() { |
5926 | 5921 |
5927 ; return 0; } | 5922 ; return 0; } |
5928 EOF | 5923 EOF |
5929 if { (eval echo configure:5930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5924 if { (eval echo configure:5925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5930 rm -rf conftest* | 5925 rm -rf conftest* |
5931 ac_R_space=yes | 5926 ac_R_space=yes |
5932 else | 5927 else |
5933 echo "configure: failed program was:" >&5 | 5928 echo "configure: failed program was:" >&5 |
5934 cat conftest.$ac_ext >&5 | 5929 cat conftest.$ac_ext >&5 |
5960 if test "$with_dnet" = "no" ; then | 5955 if test "$with_dnet" = "no" ; then |
5961 ac_cv_lib_dnet_dnet_ntoa=no | 5956 ac_cv_lib_dnet_dnet_ntoa=no |
5962 else | 5957 else |
5963 | 5958 |
5964 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5959 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5965 echo "configure:5966: checking for dnet_ntoa in -ldnet" >&5 | 5960 echo "configure:5961: checking for dnet_ntoa in -ldnet" >&5 |
5966 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5961 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5967 | 5962 |
5968 xe_check_libs=" -ldnet " | 5963 xe_check_libs=" -ldnet " |
5969 cat > conftest.$ac_ext <<EOF | 5964 cat > conftest.$ac_ext <<EOF |
5970 #line 5971 "configure" | 5965 #line 5966 "configure" |
5971 #include "confdefs.h" | 5966 #include "confdefs.h" |
5972 /* Override any gcc2 internal prototype to avoid an error. */ | 5967 /* Override any gcc2 internal prototype to avoid an error. */ |
5973 /* We use char because int might match the return type of a gcc2 | 5968 /* We use char because int might match the return type of a gcc2 |
5974 builtin and then its argument prototype would still apply. */ | 5969 builtin and then its argument prototype would still apply. */ |
5975 char dnet_ntoa(); | 5970 char dnet_ntoa(); |
5976 | 5971 |
5977 int main() { | 5972 int main() { |
5978 dnet_ntoa() | 5973 dnet_ntoa() |
5979 ; return 0; } | 5974 ; return 0; } |
5980 EOF | 5975 EOF |
5981 if { (eval echo configure:5982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5976 if { (eval echo configure:5977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5982 rm -rf conftest* | 5977 rm -rf conftest* |
5983 eval "ac_cv_lib_$ac_lib_var=yes" | 5978 eval "ac_cv_lib_$ac_lib_var=yes" |
5984 else | 5979 else |
5985 echo "configure: failed program was:" >&5 | 5980 echo "configure: failed program was:" >&5 |
5986 cat conftest.$ac_ext >&5 | 5981 cat conftest.$ac_ext >&5 |
6000 fi | 5995 fi |
6001 | 5996 |
6002 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5997 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6003 | 5998 |
6004 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5999 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6005 echo "configure:6006: checking for dnet_ntoa in -ldnet_stub" >&5 | 6000 echo "configure:6001: checking for dnet_ntoa in -ldnet_stub" >&5 |
6006 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6001 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6007 | 6002 |
6008 xe_check_libs=" -ldnet_stub " | 6003 xe_check_libs=" -ldnet_stub " |
6009 cat > conftest.$ac_ext <<EOF | 6004 cat > conftest.$ac_ext <<EOF |
6010 #line 6011 "configure" | 6005 #line 6006 "configure" |
6011 #include "confdefs.h" | 6006 #include "confdefs.h" |
6012 /* Override any gcc2 internal prototype to avoid an error. */ | 6007 /* Override any gcc2 internal prototype to avoid an error. */ |
6013 /* We use char because int might match the return type of a gcc2 | 6008 /* We use char because int might match the return type of a gcc2 |
6014 builtin and then its argument prototype would still apply. */ | 6009 builtin and then its argument prototype would still apply. */ |
6015 char dnet_ntoa(); | 6010 char dnet_ntoa(); |
6016 | 6011 |
6017 int main() { | 6012 int main() { |
6018 dnet_ntoa() | 6013 dnet_ntoa() |
6019 ; return 0; } | 6014 ; return 0; } |
6020 EOF | 6015 EOF |
6021 if { (eval echo configure:6022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6022 rm -rf conftest* | 6017 rm -rf conftest* |
6023 eval "ac_cv_lib_$ac_lib_var=yes" | 6018 eval "ac_cv_lib_$ac_lib_var=yes" |
6024 else | 6019 else |
6025 echo "configure: failed program was:" >&5 | 6020 echo "configure: failed program was:" >&5 |
6026 cat conftest.$ac_ext >&5 | 6021 cat conftest.$ac_ext >&5 |
6045 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6040 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6046 # needs -lnsl. | 6041 # needs -lnsl. |
6047 # The nsl library prevents programs from opening the X display | 6042 # The nsl library prevents programs from opening the X display |
6048 # on Irix 5.2, according to dickey@clark.net. | 6043 # on Irix 5.2, according to dickey@clark.net. |
6049 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6044 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6050 echo "configure:6051: checking for gethostbyname" >&5 | 6045 echo "configure:6046: checking for gethostbyname" >&5 |
6051 | 6046 |
6052 cat > conftest.$ac_ext <<EOF | 6047 cat > conftest.$ac_ext <<EOF |
6053 #line 6054 "configure" | 6048 #line 6049 "configure" |
6054 #include "confdefs.h" | 6049 #include "confdefs.h" |
6055 /* System header to define __stub macros and hopefully few prototypes, | 6050 /* System header to define __stub macros and hopefully few prototypes, |
6056 which can conflict with char gethostbyname(); below. */ | 6051 which can conflict with char gethostbyname(); below. */ |
6057 #include <assert.h> | 6052 #include <assert.h> |
6058 /* Override any gcc2 internal prototype to avoid an error. */ | 6053 /* Override any gcc2 internal prototype to avoid an error. */ |
6071 gethostbyname(); | 6066 gethostbyname(); |
6072 #endif | 6067 #endif |
6073 | 6068 |
6074 ; return 0; } | 6069 ; return 0; } |
6075 EOF | 6070 EOF |
6076 if { (eval echo configure:6077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6071 if { (eval echo configure:6072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6077 rm -rf conftest* | 6072 rm -rf conftest* |
6078 eval "ac_cv_func_gethostbyname=yes" | 6073 eval "ac_cv_func_gethostbyname=yes" |
6079 else | 6074 else |
6080 echo "configure: failed program was:" >&5 | 6075 echo "configure: failed program was:" >&5 |
6081 cat conftest.$ac_ext >&5 | 6076 cat conftest.$ac_ext >&5 |
6092 fi | 6087 fi |
6093 | 6088 |
6094 if test $ac_cv_func_gethostbyname = no; then | 6089 if test $ac_cv_func_gethostbyname = no; then |
6095 | 6090 |
6096 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6091 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6097 echo "configure:6098: checking for gethostbyname in -lnsl" >&5 | 6092 echo "configure:6093: checking for gethostbyname in -lnsl" >&5 |
6098 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6093 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6099 | 6094 |
6100 xe_check_libs=" -lnsl " | 6095 xe_check_libs=" -lnsl " |
6101 cat > conftest.$ac_ext <<EOF | 6096 cat > conftest.$ac_ext <<EOF |
6102 #line 6103 "configure" | 6097 #line 6098 "configure" |
6103 #include "confdefs.h" | 6098 #include "confdefs.h" |
6104 /* Override any gcc2 internal prototype to avoid an error. */ | 6099 /* Override any gcc2 internal prototype to avoid an error. */ |
6105 /* We use char because int might match the return type of a gcc2 | 6100 /* We use char because int might match the return type of a gcc2 |
6106 builtin and then its argument prototype would still apply. */ | 6101 builtin and then its argument prototype would still apply. */ |
6107 char gethostbyname(); | 6102 char gethostbyname(); |
6108 | 6103 |
6109 int main() { | 6104 int main() { |
6110 gethostbyname() | 6105 gethostbyname() |
6111 ; return 0; } | 6106 ; return 0; } |
6112 EOF | 6107 EOF |
6113 if { (eval echo configure:6114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6108 if { (eval echo configure:6109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6114 rm -rf conftest* | 6109 rm -rf conftest* |
6115 eval "ac_cv_lib_$ac_lib_var=yes" | 6110 eval "ac_cv_lib_$ac_lib_var=yes" |
6116 else | 6111 else |
6117 echo "configure: failed program was:" >&5 | 6112 echo "configure: failed program was:" >&5 |
6118 cat conftest.$ac_ext >&5 | 6113 cat conftest.$ac_ext >&5 |
6138 # on later versions), says simon@lia.di.epfl.ch: it contains | 6133 # on later versions), says simon@lia.di.epfl.ch: it contains |
6139 # gethostby* variants that don't use the nameserver (or something). | 6134 # gethostby* variants that don't use the nameserver (or something). |
6140 # -lsocket must be given before -lnsl if both are needed. | 6135 # -lsocket must be given before -lnsl if both are needed. |
6141 # We assume that if connect needs -lnsl, so does gethostbyname. | 6136 # We assume that if connect needs -lnsl, so does gethostbyname. |
6142 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6137 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6143 echo "configure:6144: checking for connect" >&5 | 6138 echo "configure:6139: checking for connect" >&5 |
6144 | 6139 |
6145 cat > conftest.$ac_ext <<EOF | 6140 cat > conftest.$ac_ext <<EOF |
6146 #line 6147 "configure" | 6141 #line 6142 "configure" |
6147 #include "confdefs.h" | 6142 #include "confdefs.h" |
6148 /* System header to define __stub macros and hopefully few prototypes, | 6143 /* System header to define __stub macros and hopefully few prototypes, |
6149 which can conflict with char connect(); below. */ | 6144 which can conflict with char connect(); below. */ |
6150 #include <assert.h> | 6145 #include <assert.h> |
6151 /* Override any gcc2 internal prototype to avoid an error. */ | 6146 /* Override any gcc2 internal prototype to avoid an error. */ |
6164 connect(); | 6159 connect(); |
6165 #endif | 6160 #endif |
6166 | 6161 |
6167 ; return 0; } | 6162 ; return 0; } |
6168 EOF | 6163 EOF |
6169 if { (eval echo configure:6170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6164 if { (eval echo configure:6165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6170 rm -rf conftest* | 6165 rm -rf conftest* |
6171 eval "ac_cv_func_connect=yes" | 6166 eval "ac_cv_func_connect=yes" |
6172 else | 6167 else |
6173 echo "configure: failed program was:" >&5 | 6168 echo "configure: failed program was:" >&5 |
6174 cat conftest.$ac_ext >&5 | 6169 cat conftest.$ac_ext >&5 |
6187 if test $ac_cv_func_connect = no; then | 6182 if test $ac_cv_func_connect = no; then |
6188 | 6183 |
6189 xe_msg_checking="for connect in -lsocket" | 6184 xe_msg_checking="for connect in -lsocket" |
6190 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6185 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6191 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6186 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6192 echo "configure:6193: checking "$xe_msg_checking"" >&5 | 6187 echo "configure:6188: checking "$xe_msg_checking"" >&5 |
6193 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6188 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6194 | 6189 |
6195 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6190 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6196 cat > conftest.$ac_ext <<EOF | 6191 cat > conftest.$ac_ext <<EOF |
6197 #line 6198 "configure" | 6192 #line 6193 "configure" |
6198 #include "confdefs.h" | 6193 #include "confdefs.h" |
6199 /* Override any gcc2 internal prototype to avoid an error. */ | 6194 /* Override any gcc2 internal prototype to avoid an error. */ |
6200 /* We use char because int might match the return type of a gcc2 | 6195 /* We use char because int might match the return type of a gcc2 |
6201 builtin and then its argument prototype would still apply. */ | 6196 builtin and then its argument prototype would still apply. */ |
6202 char connect(); | 6197 char connect(); |
6203 | 6198 |
6204 int main() { | 6199 int main() { |
6205 connect() | 6200 connect() |
6206 ; return 0; } | 6201 ; return 0; } |
6207 EOF | 6202 EOF |
6208 if { (eval echo configure:6209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6203 if { (eval echo configure:6204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6209 rm -rf conftest* | 6204 rm -rf conftest* |
6210 eval "ac_cv_lib_$ac_lib_var=yes" | 6205 eval "ac_cv_lib_$ac_lib_var=yes" |
6211 else | 6206 else |
6212 echo "configure: failed program was:" >&5 | 6207 echo "configure: failed program was:" >&5 |
6213 cat conftest.$ac_ext >&5 | 6208 cat conftest.$ac_ext >&5 |
6227 | 6222 |
6228 fi | 6223 fi |
6229 | 6224 |
6230 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6225 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6231 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6226 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6232 echo "configure:6233: checking for remove" >&5 | 6227 echo "configure:6228: checking for remove" >&5 |
6233 | 6228 |
6234 cat > conftest.$ac_ext <<EOF | 6229 cat > conftest.$ac_ext <<EOF |
6235 #line 6236 "configure" | 6230 #line 6231 "configure" |
6236 #include "confdefs.h" | 6231 #include "confdefs.h" |
6237 /* System header to define __stub macros and hopefully few prototypes, | 6232 /* System header to define __stub macros and hopefully few prototypes, |
6238 which can conflict with char remove(); below. */ | 6233 which can conflict with char remove(); below. */ |
6239 #include <assert.h> | 6234 #include <assert.h> |
6240 /* Override any gcc2 internal prototype to avoid an error. */ | 6235 /* Override any gcc2 internal prototype to avoid an error. */ |
6253 remove(); | 6248 remove(); |
6254 #endif | 6249 #endif |
6255 | 6250 |
6256 ; return 0; } | 6251 ; return 0; } |
6257 EOF | 6252 EOF |
6258 if { (eval echo configure:6259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6253 if { (eval echo configure:6254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6259 rm -rf conftest* | 6254 rm -rf conftest* |
6260 eval "ac_cv_func_remove=yes" | 6255 eval "ac_cv_func_remove=yes" |
6261 else | 6256 else |
6262 echo "configure: failed program was:" >&5 | 6257 echo "configure: failed program was:" >&5 |
6263 cat conftest.$ac_ext >&5 | 6258 cat conftest.$ac_ext >&5 |
6274 fi | 6269 fi |
6275 | 6270 |
6276 if test $ac_cv_func_remove = no; then | 6271 if test $ac_cv_func_remove = no; then |
6277 | 6272 |
6278 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6273 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6279 echo "configure:6280: checking for remove in -lposix" >&5 | 6274 echo "configure:6275: checking for remove in -lposix" >&5 |
6280 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6275 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6281 | 6276 |
6282 xe_check_libs=" -lposix " | 6277 xe_check_libs=" -lposix " |
6283 cat > conftest.$ac_ext <<EOF | 6278 cat > conftest.$ac_ext <<EOF |
6284 #line 6285 "configure" | 6279 #line 6280 "configure" |
6285 #include "confdefs.h" | 6280 #include "confdefs.h" |
6286 /* Override any gcc2 internal prototype to avoid an error. */ | 6281 /* Override any gcc2 internal prototype to avoid an error. */ |
6287 /* We use char because int might match the return type of a gcc2 | 6282 /* We use char because int might match the return type of a gcc2 |
6288 builtin and then its argument prototype would still apply. */ | 6283 builtin and then its argument prototype would still apply. */ |
6289 char remove(); | 6284 char remove(); |
6290 | 6285 |
6291 int main() { | 6286 int main() { |
6292 remove() | 6287 remove() |
6293 ; return 0; } | 6288 ; return 0; } |
6294 EOF | 6289 EOF |
6295 if { (eval echo configure:6296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6290 if { (eval echo configure:6291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6296 rm -rf conftest* | 6291 rm -rf conftest* |
6297 eval "ac_cv_lib_$ac_lib_var=yes" | 6292 eval "ac_cv_lib_$ac_lib_var=yes" |
6298 else | 6293 else |
6299 echo "configure: failed program was:" >&5 | 6294 echo "configure: failed program was:" >&5 |
6300 cat conftest.$ac_ext >&5 | 6295 cat conftest.$ac_ext >&5 |
6314 | 6309 |
6315 fi | 6310 fi |
6316 | 6311 |
6317 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6312 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6318 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6313 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6319 echo "configure:6320: checking for shmat" >&5 | 6314 echo "configure:6315: checking for shmat" >&5 |
6320 | 6315 |
6321 cat > conftest.$ac_ext <<EOF | 6316 cat > conftest.$ac_ext <<EOF |
6322 #line 6323 "configure" | 6317 #line 6318 "configure" |
6323 #include "confdefs.h" | 6318 #include "confdefs.h" |
6324 /* System header to define __stub macros and hopefully few prototypes, | 6319 /* System header to define __stub macros and hopefully few prototypes, |
6325 which can conflict with char shmat(); below. */ | 6320 which can conflict with char shmat(); below. */ |
6326 #include <assert.h> | 6321 #include <assert.h> |
6327 /* Override any gcc2 internal prototype to avoid an error. */ | 6322 /* Override any gcc2 internal prototype to avoid an error. */ |
6340 shmat(); | 6335 shmat(); |
6341 #endif | 6336 #endif |
6342 | 6337 |
6343 ; return 0; } | 6338 ; return 0; } |
6344 EOF | 6339 EOF |
6345 if { (eval echo configure:6346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6340 if { (eval echo configure:6341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6346 rm -rf conftest* | 6341 rm -rf conftest* |
6347 eval "ac_cv_func_shmat=yes" | 6342 eval "ac_cv_func_shmat=yes" |
6348 else | 6343 else |
6349 echo "configure: failed program was:" >&5 | 6344 echo "configure: failed program was:" >&5 |
6350 cat conftest.$ac_ext >&5 | 6345 cat conftest.$ac_ext >&5 |
6361 fi | 6356 fi |
6362 | 6357 |
6363 if test $ac_cv_func_shmat = no; then | 6358 if test $ac_cv_func_shmat = no; then |
6364 | 6359 |
6365 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6360 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6366 echo "configure:6367: checking for shmat in -lipc" >&5 | 6361 echo "configure:6362: checking for shmat in -lipc" >&5 |
6367 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6362 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6368 | 6363 |
6369 xe_check_libs=" -lipc " | 6364 xe_check_libs=" -lipc " |
6370 cat > conftest.$ac_ext <<EOF | 6365 cat > conftest.$ac_ext <<EOF |
6371 #line 6372 "configure" | 6366 #line 6367 "configure" |
6372 #include "confdefs.h" | 6367 #include "confdefs.h" |
6373 /* Override any gcc2 internal prototype to avoid an error. */ | 6368 /* Override any gcc2 internal prototype to avoid an error. */ |
6374 /* We use char because int might match the return type of a gcc2 | 6369 /* We use char because int might match the return type of a gcc2 |
6375 builtin and then its argument prototype would still apply. */ | 6370 builtin and then its argument prototype would still apply. */ |
6376 char shmat(); | 6371 char shmat(); |
6377 | 6372 |
6378 int main() { | 6373 int main() { |
6379 shmat() | 6374 shmat() |
6380 ; return 0; } | 6375 ; return 0; } |
6381 EOF | 6376 EOF |
6382 if { (eval echo configure:6383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6377 if { (eval echo configure:6378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6383 rm -rf conftest* | 6378 rm -rf conftest* |
6384 eval "ac_cv_lib_$ac_lib_var=yes" | 6379 eval "ac_cv_lib_$ac_lib_var=yes" |
6385 else | 6380 else |
6386 echo "configure: failed program was:" >&5 | 6381 echo "configure: failed program was:" >&5 |
6387 cat conftest.$ac_ext >&5 | 6382 cat conftest.$ac_ext >&5 |
6413 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6408 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6414 | 6409 |
6415 xe_msg_checking="for IceConnectionNumber in -lICE" | 6410 xe_msg_checking="for IceConnectionNumber in -lICE" |
6416 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6411 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6417 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6412 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6418 echo "configure:6419: checking "$xe_msg_checking"" >&5 | 6413 echo "configure:6414: checking "$xe_msg_checking"" >&5 |
6419 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6414 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6420 | 6415 |
6421 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6416 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6422 cat > conftest.$ac_ext <<EOF | 6417 cat > conftest.$ac_ext <<EOF |
6423 #line 6424 "configure" | 6418 #line 6419 "configure" |
6424 #include "confdefs.h" | 6419 #include "confdefs.h" |
6425 /* Override any gcc2 internal prototype to avoid an error. */ | 6420 /* Override any gcc2 internal prototype to avoid an error. */ |
6426 /* We use char because int might match the return type of a gcc2 | 6421 /* We use char because int might match the return type of a gcc2 |
6427 builtin and then its argument prototype would still apply. */ | 6422 builtin and then its argument prototype would still apply. */ |
6428 char IceConnectionNumber(); | 6423 char IceConnectionNumber(); |
6429 | 6424 |
6430 int main() { | 6425 int main() { |
6431 IceConnectionNumber() | 6426 IceConnectionNumber() |
6432 ; return 0; } | 6427 ; return 0; } |
6433 EOF | 6428 EOF |
6434 if { (eval echo configure:6435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6429 if { (eval echo configure:6430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6435 rm -rf conftest* | 6430 rm -rf conftest* |
6436 eval "ac_cv_lib_$ac_lib_var=yes" | 6431 eval "ac_cv_lib_$ac_lib_var=yes" |
6437 else | 6432 else |
6438 echo "configure: failed program was:" >&5 | 6433 echo "configure: failed program was:" >&5 |
6439 cat conftest.$ac_ext >&5 | 6434 cat conftest.$ac_ext >&5 |
6596 EOF | 6591 EOF |
6597 } | 6592 } |
6598 | 6593 |
6599 | 6594 |
6600 echo "checking for X defines extracted by xmkmf" 1>&6 | 6595 echo "checking for X defines extracted by xmkmf" 1>&6 |
6601 echo "configure:6602: checking for X defines extracted by xmkmf" >&5 | 6596 echo "configure:6597: checking for X defines extracted by xmkmf" >&5 |
6602 rm -fr conftestdir | 6597 rm -fr conftestdir |
6603 if mkdir conftestdir; then | 6598 if mkdir conftestdir; then |
6604 cd conftestdir | 6599 cd conftestdir |
6605 cat > Imakefile <<'EOF' | 6600 cat > Imakefile <<'EOF' |
6606 xetest: | 6601 xetest: |
6645 done | 6640 done |
6646 fi | 6641 fi |
6647 | 6642 |
6648 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6643 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6649 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6644 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6650 echo "configure:6651: checking for X11/Intrinsic.h" >&5 | 6645 echo "configure:6646: checking for X11/Intrinsic.h" >&5 |
6651 | 6646 |
6652 cat > conftest.$ac_ext <<EOF | 6647 cat > conftest.$ac_ext <<EOF |
6653 #line 6654 "configure" | 6648 #line 6649 "configure" |
6654 #include "confdefs.h" | 6649 #include "confdefs.h" |
6655 #include <X11/Intrinsic.h> | 6650 #include <X11/Intrinsic.h> |
6656 EOF | 6651 EOF |
6657 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6652 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6658 { (eval echo configure:6659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6653 { (eval echo configure:6654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6659 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6660 if test -z "$ac_err"; then | 6655 if test -z "$ac_err"; then |
6661 rm -rf conftest* | 6656 rm -rf conftest* |
6662 eval "ac_cv_header_$ac_safe=yes" | 6657 eval "ac_cv_header_$ac_safe=yes" |
6663 else | 6658 else |
6677 fi | 6672 fi |
6678 | 6673 |
6679 | 6674 |
6680 | 6675 |
6681 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6676 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6682 echo "configure:6683: checking for XOpenDisplay in -lX11" >&5 | 6677 echo "configure:6678: checking for XOpenDisplay in -lX11" >&5 |
6683 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6678 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6684 | 6679 |
6685 xe_check_libs=" -lX11 " | 6680 xe_check_libs=" -lX11 " |
6686 cat > conftest.$ac_ext <<EOF | 6681 cat > conftest.$ac_ext <<EOF |
6687 #line 6688 "configure" | 6682 #line 6683 "configure" |
6688 #include "confdefs.h" | 6683 #include "confdefs.h" |
6689 /* Override any gcc2 internal prototype to avoid an error. */ | 6684 /* Override any gcc2 internal prototype to avoid an error. */ |
6690 /* We use char because int might match the return type of a gcc2 | 6685 /* We use char because int might match the return type of a gcc2 |
6691 builtin and then its argument prototype would still apply. */ | 6686 builtin and then its argument prototype would still apply. */ |
6692 char XOpenDisplay(); | 6687 char XOpenDisplay(); |
6693 | 6688 |
6694 int main() { | 6689 int main() { |
6695 XOpenDisplay() | 6690 XOpenDisplay() |
6696 ; return 0; } | 6691 ; return 0; } |
6697 EOF | 6692 EOF |
6698 if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6693 if { (eval echo configure:6694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6699 rm -rf conftest* | 6694 rm -rf conftest* |
6700 eval "ac_cv_lib_$ac_lib_var=yes" | 6695 eval "ac_cv_lib_$ac_lib_var=yes" |
6701 else | 6696 else |
6702 echo "configure: failed program was:" >&5 | 6697 echo "configure: failed program was:" >&5 |
6703 cat conftest.$ac_ext >&5 | 6698 cat conftest.$ac_ext >&5 |
6718 if test "$have_lib_x11" != "yes"; then | 6713 if test "$have_lib_x11" != "yes"; then |
6719 | 6714 |
6720 xe_msg_checking="for XGetFontProperty in -lX11" | 6715 xe_msg_checking="for XGetFontProperty in -lX11" |
6721 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6716 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6722 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6717 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6723 echo "configure:6724: checking "$xe_msg_checking"" >&5 | 6718 echo "configure:6719: checking "$xe_msg_checking"" >&5 |
6724 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6719 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6725 | 6720 |
6726 xe_check_libs=" -lX11 -b i486-linuxaout" | 6721 xe_check_libs=" -lX11 -b i486-linuxaout" |
6727 cat > conftest.$ac_ext <<EOF | 6722 cat > conftest.$ac_ext <<EOF |
6728 #line 6729 "configure" | 6723 #line 6724 "configure" |
6729 #include "confdefs.h" | 6724 #include "confdefs.h" |
6730 /* Override any gcc2 internal prototype to avoid an error. */ | 6725 /* Override any gcc2 internal prototype to avoid an error. */ |
6731 /* We use char because int might match the return type of a gcc2 | 6726 /* We use char because int might match the return type of a gcc2 |
6732 builtin and then its argument prototype would still apply. */ | 6727 builtin and then its argument prototype would still apply. */ |
6733 char XGetFontProperty(); | 6728 char XGetFontProperty(); |
6734 | 6729 |
6735 int main() { | 6730 int main() { |
6736 XGetFontProperty() | 6731 XGetFontProperty() |
6737 ; return 0; } | 6732 ; return 0; } |
6738 EOF | 6733 EOF |
6739 if { (eval echo configure:6740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6734 if { (eval echo configure:6735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6740 rm -rf conftest* | 6735 rm -rf conftest* |
6741 eval "ac_cv_lib_$ac_lib_var=yes" | 6736 eval "ac_cv_lib_$ac_lib_var=yes" |
6742 else | 6737 else |
6743 echo "configure: failed program was:" >&5 | 6738 echo "configure: failed program was:" >&5 |
6744 cat conftest.$ac_ext >&5 | 6739 cat conftest.$ac_ext >&5 |
6761 libs_x="-lX11" | 6756 libs_x="-lX11" |
6762 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6757 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6763 | 6758 |
6764 | 6759 |
6765 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6760 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6766 echo "configure:6767: checking for XShapeSelectInput in -lXext" >&5 | 6761 echo "configure:6762: checking for XShapeSelectInput in -lXext" >&5 |
6767 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6762 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6768 | 6763 |
6769 xe_check_libs=" -lXext " | 6764 xe_check_libs=" -lXext " |
6770 cat > conftest.$ac_ext <<EOF | 6765 cat > conftest.$ac_ext <<EOF |
6771 #line 6772 "configure" | 6766 #line 6767 "configure" |
6772 #include "confdefs.h" | 6767 #include "confdefs.h" |
6773 /* Override any gcc2 internal prototype to avoid an error. */ | 6768 /* Override any gcc2 internal prototype to avoid an error. */ |
6774 /* We use char because int might match the return type of a gcc2 | 6769 /* We use char because int might match the return type of a gcc2 |
6775 builtin and then its argument prototype would still apply. */ | 6770 builtin and then its argument prototype would still apply. */ |
6776 char XShapeSelectInput(); | 6771 char XShapeSelectInput(); |
6777 | 6772 |
6778 int main() { | 6773 int main() { |
6779 XShapeSelectInput() | 6774 XShapeSelectInput() |
6780 ; return 0; } | 6775 ; return 0; } |
6781 EOF | 6776 EOF |
6782 if { (eval echo configure:6783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6777 if { (eval echo configure:6778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6783 rm -rf conftest* | 6778 rm -rf conftest* |
6784 eval "ac_cv_lib_$ac_lib_var=yes" | 6779 eval "ac_cv_lib_$ac_lib_var=yes" |
6785 else | 6780 else |
6786 echo "configure: failed program was:" >&5 | 6781 echo "configure: failed program was:" >&5 |
6787 cat conftest.$ac_ext >&5 | 6782 cat conftest.$ac_ext >&5 |
6800 | 6795 |
6801 | 6796 |
6802 | 6797 |
6803 | 6798 |
6804 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6799 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6805 echo "configure:6806: checking for XtOpenDisplay in -lXt" >&5 | 6800 echo "configure:6801: checking for XtOpenDisplay in -lXt" >&5 |
6806 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6801 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6807 | 6802 |
6808 xe_check_libs=" -lXt " | 6803 xe_check_libs=" -lXt " |
6809 cat > conftest.$ac_ext <<EOF | 6804 cat > conftest.$ac_ext <<EOF |
6810 #line 6811 "configure" | 6805 #line 6806 "configure" |
6811 #include "confdefs.h" | 6806 #include "confdefs.h" |
6812 /* Override any gcc2 internal prototype to avoid an error. */ | 6807 /* Override any gcc2 internal prototype to avoid an error. */ |
6813 /* We use char because int might match the return type of a gcc2 | 6808 /* We use char because int might match the return type of a gcc2 |
6814 builtin and then its argument prototype would still apply. */ | 6809 builtin and then its argument prototype would still apply. */ |
6815 char XtOpenDisplay(); | 6810 char XtOpenDisplay(); |
6816 | 6811 |
6817 int main() { | 6812 int main() { |
6818 XtOpenDisplay() | 6813 XtOpenDisplay() |
6819 ; return 0; } | 6814 ; return 0; } |
6820 EOF | 6815 EOF |
6821 if { (eval echo configure:6822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6816 if { (eval echo configure:6817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6822 rm -rf conftest* | 6817 rm -rf conftest* |
6823 eval "ac_cv_lib_$ac_lib_var=yes" | 6818 eval "ac_cv_lib_$ac_lib_var=yes" |
6824 else | 6819 else |
6825 echo "configure: failed program was:" >&5 | 6820 echo "configure: failed program was:" >&5 |
6826 cat conftest.$ac_ext >&5 | 6821 cat conftest.$ac_ext >&5 |
6839 fi | 6834 fi |
6840 | 6835 |
6841 | 6836 |
6842 | 6837 |
6843 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6838 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6844 echo "configure:6845: checking the version of X11 being used" >&5 | 6839 echo "configure:6840: checking the version of X11 being used" >&5 |
6845 cat > conftest.$ac_ext <<EOF | 6840 cat > conftest.$ac_ext <<EOF |
6846 #line 6847 "configure" | 6841 #line 6842 "configure" |
6847 #include "confdefs.h" | 6842 #include "confdefs.h" |
6848 #include <X11/Intrinsic.h> | 6843 #include <X11/Intrinsic.h> |
6849 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6844 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6850 EOF | 6845 EOF |
6851 if { (eval echo configure:6852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6846 if { (eval echo configure:6847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6852 then | 6847 then |
6853 ./conftest foobar; x11_release=$? | 6848 ./conftest foobar; x11_release=$? |
6854 else | 6849 else |
6855 conftest_rc="$?" | 6850 conftest_rc="$?" |
6856 echo "configure: failed program was:" >&5 | 6851 echo "configure: failed program was:" >&5 |
6877 fi | 6872 fi |
6878 | 6873 |
6879 for ac_func in XConvertCase | 6874 for ac_func in XConvertCase |
6880 do | 6875 do |
6881 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6876 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6882 echo "configure:6883: checking for $ac_func" >&5 | 6877 echo "configure:6878: checking for $ac_func" >&5 |
6883 | 6878 |
6884 cat > conftest.$ac_ext <<EOF | 6879 cat > conftest.$ac_ext <<EOF |
6885 #line 6886 "configure" | 6880 #line 6881 "configure" |
6886 #include "confdefs.h" | 6881 #include "confdefs.h" |
6887 /* System header to define __stub macros and hopefully few prototypes, | 6882 /* System header to define __stub macros and hopefully few prototypes, |
6888 which can conflict with char $ac_func(); below. */ | 6883 which can conflict with char $ac_func(); below. */ |
6889 #include <assert.h> | 6884 #include <assert.h> |
6890 /* Override any gcc2 internal prototype to avoid an error. */ | 6885 /* Override any gcc2 internal prototype to avoid an error. */ |
6903 $ac_func(); | 6898 $ac_func(); |
6904 #endif | 6899 #endif |
6905 | 6900 |
6906 ; return 0; } | 6901 ; return 0; } |
6907 EOF | 6902 EOF |
6908 if { (eval echo configure:6909: \"$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 |
6909 rm -rf conftest* | 6904 rm -rf conftest* |
6910 eval "ac_cv_func_$ac_func=yes" | 6905 eval "ac_cv_func_$ac_func=yes" |
6911 else | 6906 else |
6912 echo "configure: failed program was:" >&5 | 6907 echo "configure: failed program was:" >&5 |
6913 cat conftest.$ac_ext >&5 | 6908 cat conftest.$ac_ext >&5 |
6935 | 6930 |
6936 for ac_hdr in X11/Xlocale.h | 6931 for ac_hdr in X11/Xlocale.h |
6937 do | 6932 do |
6938 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6933 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6939 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6934 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6940 echo "configure:6941: checking for $ac_hdr" >&5 | 6935 echo "configure:6936: checking for $ac_hdr" >&5 |
6941 | 6936 |
6942 cat > conftest.$ac_ext <<EOF | 6937 cat > conftest.$ac_ext <<EOF |
6943 #line 6944 "configure" | 6938 #line 6939 "configure" |
6944 #include "confdefs.h" | 6939 #include "confdefs.h" |
6945 #include <$ac_hdr> | 6940 #include <$ac_hdr> |
6946 EOF | 6941 EOF |
6947 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6948 { (eval echo configure:6949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6943 { (eval echo configure:6944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6949 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6950 if test -z "$ac_err"; then | 6945 if test -z "$ac_err"; then |
6951 rm -rf conftest* | 6946 rm -rf conftest* |
6952 eval "ac_cv_header_$ac_safe=yes" | 6947 eval "ac_cv_header_$ac_safe=yes" |
6953 else | 6948 else |
6976 | 6971 |
6977 | 6972 |
6978 for ac_func in XRegisterIMInstantiateCallback | 6973 for ac_func in XRegisterIMInstantiateCallback |
6979 do | 6974 do |
6980 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6975 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6981 echo "configure:6982: checking for $ac_func" >&5 | 6976 echo "configure:6977: checking for $ac_func" >&5 |
6982 | 6977 |
6983 cat > conftest.$ac_ext <<EOF | 6978 cat > conftest.$ac_ext <<EOF |
6984 #line 6985 "configure" | 6979 #line 6980 "configure" |
6985 #include "confdefs.h" | 6980 #include "confdefs.h" |
6986 /* System header to define __stub macros and hopefully few prototypes, | 6981 /* System header to define __stub macros and hopefully few prototypes, |
6987 which can conflict with char $ac_func(); below. */ | 6982 which can conflict with char $ac_func(); below. */ |
6988 #include <assert.h> | 6983 #include <assert.h> |
6989 /* Override any gcc2 internal prototype to avoid an error. */ | 6984 /* Override any gcc2 internal prototype to avoid an error. */ |
7002 $ac_func(); | 6997 $ac_func(); |
7003 #endif | 6998 #endif |
7004 | 6999 |
7005 ; return 0; } | 7000 ; return 0; } |
7006 EOF | 7001 EOF |
7007 if { (eval echo configure:7008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7002 if { (eval echo configure:7003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7008 rm -rf conftest* | 7003 rm -rf conftest* |
7009 eval "ac_cv_func_$ac_func=yes" | 7004 eval "ac_cv_func_$ac_func=yes" |
7010 else | 7005 else |
7011 echo "configure: failed program was:" >&5 | 7006 echo "configure: failed program was:" >&5 |
7012 cat conftest.$ac_ext >&5 | 7007 cat conftest.$ac_ext >&5 |
7030 echo "$ac_t""no" 1>&6 | 7025 echo "$ac_t""no" 1>&6 |
7031 fi | 7026 fi |
7032 done | 7027 done |
7033 | 7028 |
7034 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7029 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7035 echo "configure:7036: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7030 echo "configure:7031: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7036 cat > conftest.$ac_ext <<EOF | 7031 cat > conftest.$ac_ext <<EOF |
7037 #line 7038 "configure" | 7032 #line 7033 "configure" |
7038 #include "confdefs.h" | 7033 #include "confdefs.h" |
7039 | 7034 |
7040 #define NeedFunctionPrototypes 1 | 7035 #define NeedFunctionPrototypes 1 |
7041 #include <X11/Xlib.h> | 7036 #include <X11/Xlib.h> |
7042 extern Bool XRegisterIMInstantiateCallback( | 7037 extern Bool XRegisterIMInstantiateCallback( |
7044 | 7039 |
7045 int main() { | 7040 int main() { |
7046 | 7041 |
7047 ; return 0; } | 7042 ; return 0; } |
7048 EOF | 7043 EOF |
7049 if { (eval echo configure:7050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7044 if { (eval echo configure:7045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7050 rm -rf conftest* | 7045 rm -rf conftest* |
7051 echo "$ac_t""yes" 1>&6 | 7046 echo "$ac_t""yes" 1>&6 |
7052 else | 7047 else |
7053 echo "configure: failed program was:" >&5 | 7048 echo "configure: failed program was:" >&5 |
7054 cat conftest.$ac_ext >&5 | 7049 cat conftest.$ac_ext >&5 |
7065 fi | 7060 fi |
7066 rm -f conftest* | 7061 rm -f conftest* |
7067 | 7062 |
7068 test -z "$with_xmu" && { | 7063 test -z "$with_xmu" && { |
7069 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7064 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7070 echo "configure:7071: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7065 echo "configure:7066: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7071 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7066 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7072 | 7067 |
7073 xe_check_libs=" -lXmu " | 7068 xe_check_libs=" -lXmu " |
7074 cat > conftest.$ac_ext <<EOF | 7069 cat > conftest.$ac_ext <<EOF |
7075 #line 7076 "configure" | 7070 #line 7071 "configure" |
7076 #include "confdefs.h" | 7071 #include "confdefs.h" |
7077 /* Override any gcc2 internal prototype to avoid an error. */ | 7072 /* Override any gcc2 internal prototype to avoid an error. */ |
7078 /* We use char because int might match the return type of a gcc2 | 7073 /* We use char because int might match the return type of a gcc2 |
7079 builtin and then its argument prototype would still apply. */ | 7074 builtin and then its argument prototype would still apply. */ |
7080 char XmuReadBitmapDataFromFile(); | 7075 char XmuReadBitmapDataFromFile(); |
7081 | 7076 |
7082 int main() { | 7077 int main() { |
7083 XmuReadBitmapDataFromFile() | 7078 XmuReadBitmapDataFromFile() |
7084 ; return 0; } | 7079 ; return 0; } |
7085 EOF | 7080 EOF |
7086 if { (eval echo configure:7087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7081 if { (eval echo configure:7082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7087 rm -rf conftest* | 7082 rm -rf conftest* |
7088 eval "ac_cv_lib_$ac_lib_var=yes" | 7083 eval "ac_cv_lib_$ac_lib_var=yes" |
7089 else | 7084 else |
7090 echo "configure: failed program was:" >&5 | 7085 echo "configure: failed program was:" >&5 |
7091 cat conftest.$ac_ext >&5 | 7086 cat conftest.$ac_ext >&5 |
7120 | 7115 |
7121 fi | 7116 fi |
7122 | 7117 |
7123 | 7118 |
7124 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7119 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7125 echo "configure:7126: checking for main in -lXbsd" >&5 | 7120 echo "configure:7121: checking for main in -lXbsd" >&5 |
7126 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7121 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7127 | 7122 |
7128 xe_check_libs=" -lXbsd " | 7123 xe_check_libs=" -lXbsd " |
7129 cat > conftest.$ac_ext <<EOF | 7124 cat > conftest.$ac_ext <<EOF |
7130 #line 7131 "configure" | 7125 #line 7126 "configure" |
7131 #include "confdefs.h" | 7126 #include "confdefs.h" |
7132 | 7127 |
7133 int main() { | 7128 int main() { |
7134 main() | 7129 main() |
7135 ; return 0; } | 7130 ; return 0; } |
7136 EOF | 7131 EOF |
7137 if { (eval echo configure:7138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7132 if { (eval echo configure:7133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7138 rm -rf conftest* | 7133 rm -rf conftest* |
7139 eval "ac_cv_lib_$ac_lib_var=yes" | 7134 eval "ac_cv_lib_$ac_lib_var=yes" |
7140 else | 7135 else |
7141 echo "configure: failed program was:" >&5 | 7136 echo "configure: failed program was:" >&5 |
7142 cat conftest.$ac_ext >&5 | 7137 cat conftest.$ac_ext >&5 |
7169 fi | 7164 fi |
7170 | 7165 |
7171 fi | 7166 fi |
7172 if test "$with_msw" != "no"; then | 7167 if test "$with_msw" != "no"; then |
7173 echo "checking for MS-Windows" 1>&6 | 7168 echo "checking for MS-Windows" 1>&6 |
7174 echo "configure:7175: checking for MS-Windows" >&5 | 7169 echo "configure:7170: checking for MS-Windows" >&5 |
7175 | 7170 |
7176 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7171 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7177 echo "configure:7178: checking for main in -lgdi32" >&5 | 7172 echo "configure:7173: checking for main in -lgdi32" >&5 |
7178 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7173 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7179 | 7174 |
7180 xe_check_libs=" -lgdi32 " | 7175 xe_check_libs=" -lgdi32 " |
7181 cat > conftest.$ac_ext <<EOF | 7176 cat > conftest.$ac_ext <<EOF |
7182 #line 7183 "configure" | 7177 #line 7178 "configure" |
7183 #include "confdefs.h" | 7178 #include "confdefs.h" |
7184 | 7179 |
7185 int main() { | 7180 int main() { |
7186 main() | 7181 main() |
7187 ; return 0; } | 7182 ; return 0; } |
7188 EOF | 7183 EOF |
7189 if { (eval echo configure:7190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7184 if { (eval echo configure:7185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7190 rm -rf conftest* | 7185 rm -rf conftest* |
7191 eval "ac_cv_lib_$ac_lib_var=yes" | 7186 eval "ac_cv_lib_$ac_lib_var=yes" |
7192 else | 7187 else |
7193 echo "configure: failed program was:" >&5 | 7188 echo "configure: failed program was:" >&5 |
7194 cat conftest.$ac_ext >&5 | 7189 cat conftest.$ac_ext >&5 |
7235 test "$with_toolbars" != "no" && with_toolbars=msw | 7230 test "$with_toolbars" != "no" && with_toolbars=msw |
7236 test "$with_dialogs" != "no" && with_dialogs=msw | 7231 test "$with_dialogs" != "no" && with_dialogs=msw |
7237 test "$with_widgets" != "no" && with_widgets=msw | 7232 test "$with_widgets" != "no" && with_widgets=msw |
7238 fi | 7233 fi |
7239 cat > conftest.$ac_ext <<EOF | 7234 cat > conftest.$ac_ext <<EOF |
7240 #line 7241 "configure" | 7235 #line 7236 "configure" |
7241 #include "confdefs.h" | 7236 #include "confdefs.h" |
7242 #include <fcntl.h> | 7237 #include <fcntl.h> |
7243 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7238 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7244 EOF | 7239 EOF |
7245 if { (eval echo configure:7246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7240 if { (eval echo configure:7241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7246 then | 7241 then |
7247 { test "$extra_verbose" = "yes" && cat << \EOF | 7242 { test "$extra_verbose" = "yes" && cat << \EOF |
7248 Defining HAVE_MSG_SELECT | 7243 Defining HAVE_MSG_SELECT |
7249 EOF | 7244 EOF |
7250 cat >> confdefs.h <<\EOF | 7245 cat >> confdefs.h <<\EOF |
7301 fi | 7296 fi |
7302 | 7297 |
7303 if test "$with_x11" = "yes"; then | 7298 if test "$with_x11" = "yes"; then |
7304 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7299 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7305 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7300 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7306 echo "configure:7307: checking for X11/extensions/shape.h" >&5 | 7301 echo "configure:7302: checking for X11/extensions/shape.h" >&5 |
7307 | 7302 |
7308 cat > conftest.$ac_ext <<EOF | 7303 cat > conftest.$ac_ext <<EOF |
7309 #line 7310 "configure" | 7304 #line 7305 "configure" |
7310 #include "confdefs.h" | 7305 #include "confdefs.h" |
7311 #include <X11/extensions/shape.h> | 7306 #include <X11/extensions/shape.h> |
7312 EOF | 7307 EOF |
7313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7314 { (eval echo configure:7315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7309 { (eval echo configure:7310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7310 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7316 if test -z "$ac_err"; then | 7311 if test -z "$ac_err"; then |
7317 rm -rf conftest* | 7312 rm -rf conftest* |
7318 eval "ac_cv_header_$ac_safe=yes" | 7313 eval "ac_cv_header_$ac_safe=yes" |
7319 else | 7314 else |
7359 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7354 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7360 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7355 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7361 esac | 7356 esac |
7362 | 7357 |
7363 echo "checking for WM_COMMAND option" 1>&6 | 7358 echo "checking for WM_COMMAND option" 1>&6 |
7364 echo "configure:7365: checking for WM_COMMAND option" >&5; | 7359 echo "configure:7360: checking for WM_COMMAND option" >&5; |
7365 if test "$with_wmcommand" != "no"; then | 7360 if test "$with_wmcommand" != "no"; then |
7366 { test "$extra_verbose" = "yes" && cat << \EOF | 7361 { test "$extra_verbose" = "yes" && cat << \EOF |
7367 Defining HAVE_WMCOMMAND | 7362 Defining HAVE_WMCOMMAND |
7368 EOF | 7363 EOF |
7369 cat >> confdefs.h <<\EOF | 7364 cat >> confdefs.h <<\EOF |
7374 fi | 7369 fi |
7375 | 7370 |
7376 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7371 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7377 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7372 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7378 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7373 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7379 echo "configure:7380: checking for X11/Xauth.h" >&5 | 7374 echo "configure:7375: checking for X11/Xauth.h" >&5 |
7380 | 7375 |
7381 cat > conftest.$ac_ext <<EOF | 7376 cat > conftest.$ac_ext <<EOF |
7382 #line 7383 "configure" | 7377 #line 7378 "configure" |
7383 #include "confdefs.h" | 7378 #include "confdefs.h" |
7384 #include <X11/Xauth.h> | 7379 #include <X11/Xauth.h> |
7385 EOF | 7380 EOF |
7386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7387 { (eval echo configure:7388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7382 { (eval echo configure:7383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7388 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7389 if test -z "$ac_err"; then | 7384 if test -z "$ac_err"; then |
7390 rm -rf conftest* | 7385 rm -rf conftest* |
7391 eval "ac_cv_header_$ac_safe=yes" | 7386 eval "ac_cv_header_$ac_safe=yes" |
7392 else | 7387 else |
7405 with_xauth=no | 7400 with_xauth=no |
7406 fi | 7401 fi |
7407 } | 7402 } |
7408 test -z "$with_xauth" && { | 7403 test -z "$with_xauth" && { |
7409 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7404 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7410 echo "configure:7411: checking for XauGetAuthByAddr in -lXau" >&5 | 7405 echo "configure:7406: checking for XauGetAuthByAddr in -lXau" >&5 |
7411 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7406 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7412 | 7407 |
7413 xe_check_libs=" -lXau " | 7408 xe_check_libs=" -lXau " |
7414 cat > conftest.$ac_ext <<EOF | 7409 cat > conftest.$ac_ext <<EOF |
7415 #line 7416 "configure" | 7410 #line 7411 "configure" |
7416 #include "confdefs.h" | 7411 #include "confdefs.h" |
7417 /* Override any gcc2 internal prototype to avoid an error. */ | 7412 /* Override any gcc2 internal prototype to avoid an error. */ |
7418 /* We use char because int might match the return type of a gcc2 | 7413 /* We use char because int might match the return type of a gcc2 |
7419 builtin and then its argument prototype would still apply. */ | 7414 builtin and then its argument prototype would still apply. */ |
7420 char XauGetAuthByAddr(); | 7415 char XauGetAuthByAddr(); |
7421 | 7416 |
7422 int main() { | 7417 int main() { |
7423 XauGetAuthByAddr() | 7418 XauGetAuthByAddr() |
7424 ; return 0; } | 7419 ; return 0; } |
7425 EOF | 7420 EOF |
7426 if { (eval echo configure:7427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7421 if { (eval echo configure:7422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7427 rm -rf conftest* | 7422 rm -rf conftest* |
7428 eval "ac_cv_lib_$ac_lib_var=yes" | 7423 eval "ac_cv_lib_$ac_lib_var=yes" |
7429 else | 7424 else |
7430 echo "configure: failed program was:" >&5 | 7425 echo "configure: failed program was:" >&5 |
7431 cat conftest.$ac_ext >&5 | 7426 cat conftest.$ac_ext >&5 |
7468 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" | 7463 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" |
7469 : ${XEMACS_CC:="$CC"} | 7464 : ${XEMACS_CC:="$CC"} |
7470 | 7465 |
7471 if test "$with_modules" != "no"; then | 7466 if test "$with_modules" != "no"; then |
7472 echo "checking for module support" 1>&6 | 7467 echo "checking for module support" 1>&6 |
7473 echo "configure:7474: checking for module support" >&5 | 7468 echo "configure:7469: checking for module support" >&5 |
7474 | 7469 |
7475 if test "$with_msw" = "yes"; then | 7470 if test "$with_msw" = "yes"; then |
7476 have_dl=yes; | 7471 have_dl=yes; |
7477 else | 7472 else |
7478 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7473 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7479 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7474 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7480 echo "configure:7481: checking for dlfcn.h" >&5 | 7475 echo "configure:7476: checking for dlfcn.h" >&5 |
7481 | 7476 |
7482 cat > conftest.$ac_ext <<EOF | 7477 cat > conftest.$ac_ext <<EOF |
7483 #line 7484 "configure" | 7478 #line 7479 "configure" |
7484 #include "confdefs.h" | 7479 #include "confdefs.h" |
7485 #include <dlfcn.h> | 7480 #include <dlfcn.h> |
7486 EOF | 7481 EOF |
7487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7488 { (eval echo configure:7489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7483 { (eval echo configure:7484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7489 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7490 if test -z "$ac_err"; then | 7485 if test -z "$ac_err"; then |
7491 rm -rf conftest* | 7486 rm -rf conftest* |
7492 eval "ac_cv_header_$ac_safe=yes" | 7487 eval "ac_cv_header_$ac_safe=yes" |
7493 else | 7488 else |
7500 rm -f conftest* | 7495 rm -f conftest* |
7501 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7496 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7502 echo "$ac_t""yes" 1>&6 | 7497 echo "$ac_t""yes" 1>&6 |
7503 | 7498 |
7504 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7499 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7505 echo "configure:7506: checking for dlopen in -lc" >&5 | 7500 echo "configure:7501: checking for dlopen in -lc" >&5 |
7506 cat > conftest.$ac_ext <<EOF | 7501 cat > conftest.$ac_ext <<EOF |
7507 #line 7508 "configure" | 7502 #line 7503 "configure" |
7508 #include "confdefs.h" | 7503 #include "confdefs.h" |
7509 #include <dlfcn.h> | 7504 #include <dlfcn.h> |
7510 int main() { | 7505 int main() { |
7511 dlopen ("", 0); | 7506 dlopen ("", 0); |
7512 ; return 0; } | 7507 ; return 0; } |
7513 EOF | 7508 EOF |
7514 if { (eval echo configure:7515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7509 if { (eval echo configure:7510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7515 rm -rf conftest* | 7510 rm -rf conftest* |
7516 have_dl=yes | 7511 have_dl=yes |
7517 else | 7512 else |
7518 echo "configure: failed program was:" >&5 | 7513 echo "configure: failed program was:" >&5 |
7519 cat conftest.$ac_ext >&5 | 7514 cat conftest.$ac_ext >&5 |
7520 rm -rf conftest* | 7515 rm -rf conftest* |
7521 | 7516 |
7522 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7517 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7523 echo "configure:7524: checking for dlopen in -ldl" >&5 | 7518 echo "configure:7519: checking for dlopen in -ldl" >&5 |
7524 ac_save_LIBS="$LIBS" | 7519 ac_save_LIBS="$LIBS" |
7525 LIBS="-ldl $LIBS" | 7520 LIBS="-ldl $LIBS" |
7526 cat > conftest.$ac_ext <<EOF | 7521 cat > conftest.$ac_ext <<EOF |
7527 #line 7528 "configure" | 7522 #line 7523 "configure" |
7528 #include "confdefs.h" | 7523 #include "confdefs.h" |
7529 #include <dlfcn.h> | 7524 #include <dlfcn.h> |
7530 int main() { | 7525 int main() { |
7531 dlopen ("", 0); | 7526 dlopen ("", 0); |
7532 ; return 0; } | 7527 ; return 0; } |
7533 EOF | 7528 EOF |
7534 if { (eval echo configure:7535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7529 if { (eval echo configure:7530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7535 rm -rf conftest* | 7530 rm -rf conftest* |
7536 have_dl=yes | 7531 have_dl=yes |
7537 else | 7532 else |
7538 echo "configure: failed program was:" >&5 | 7533 echo "configure: failed program was:" >&5 |
7539 cat conftest.$ac_ext >&5 | 7534 cat conftest.$ac_ext >&5 |
7558 } | 7553 } |
7559 | 7554 |
7560 else | 7555 else |
7561 | 7556 |
7562 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 7557 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
7563 echo "configure:7564: checking for shl_load in -ldld" >&5 | 7558 echo "configure:7559: checking for shl_load in -ldld" >&5 |
7564 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 7559 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
7565 | 7560 |
7566 xe_check_libs=" -ldld " | 7561 xe_check_libs=" -ldld " |
7567 cat > conftest.$ac_ext <<EOF | 7562 cat > conftest.$ac_ext <<EOF |
7568 #line 7569 "configure" | 7563 #line 7564 "configure" |
7569 #include "confdefs.h" | 7564 #include "confdefs.h" |
7570 /* Override any gcc2 internal prototype to avoid an error. */ | 7565 /* Override any gcc2 internal prototype to avoid an error. */ |
7571 /* We use char because int might match the return type of a gcc2 | 7566 /* We use char because int might match the return type of a gcc2 |
7572 builtin and then its argument prototype would still apply. */ | 7567 builtin and then its argument prototype would still apply. */ |
7573 char shl_load(); | 7568 char shl_load(); |
7574 | 7569 |
7575 int main() { | 7570 int main() { |
7576 shl_load() | 7571 shl_load() |
7577 ; return 0; } | 7572 ; return 0; } |
7578 EOF | 7573 EOF |
7579 if { (eval echo configure:7580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7574 if { (eval echo configure:7575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7580 rm -rf conftest* | 7575 rm -rf conftest* |
7581 eval "ac_cv_lib_$ac_lib_var=yes" | 7576 eval "ac_cv_lib_$ac_lib_var=yes" |
7582 else | 7577 else |
7583 echo "configure: failed program was:" >&5 | 7578 echo "configure: failed program was:" >&5 |
7584 cat conftest.$ac_ext >&5 | 7579 cat conftest.$ac_ext >&5 |
7601 | 7596 |
7602 else | 7597 else |
7603 echo "$ac_t""no" 1>&6 | 7598 echo "$ac_t""no" 1>&6 |
7604 | 7599 |
7605 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 7600 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
7606 echo "configure:7607: checking for dld_init in -ldld" >&5 | 7601 echo "configure:7602: checking for dld_init in -ldld" >&5 |
7607 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 7602 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
7608 | 7603 |
7609 xe_check_libs=" -ldld " | 7604 xe_check_libs=" -ldld " |
7610 cat > conftest.$ac_ext <<EOF | 7605 cat > conftest.$ac_ext <<EOF |
7611 #line 7612 "configure" | 7606 #line 7607 "configure" |
7612 #include "confdefs.h" | 7607 #include "confdefs.h" |
7613 /* Override any gcc2 internal prototype to avoid an error. */ | 7608 /* Override any gcc2 internal prototype to avoid an error. */ |
7614 /* We use char because int might match the return type of a gcc2 | 7609 /* We use char because int might match the return type of a gcc2 |
7615 builtin and then its argument prototype would still apply. */ | 7610 builtin and then its argument prototype would still apply. */ |
7616 char dld_init(); | 7611 char dld_init(); |
7617 | 7612 |
7618 int main() { | 7613 int main() { |
7619 dld_init() | 7614 dld_init() |
7620 ; return 0; } | 7615 ; return 0; } |
7621 EOF | 7616 EOF |
7622 if { (eval echo configure:7623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7617 if { (eval echo configure:7618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7623 rm -rf conftest* | 7618 rm -rf conftest* |
7624 eval "ac_cv_lib_$ac_lib_var=yes" | 7619 eval "ac_cv_lib_$ac_lib_var=yes" |
7625 else | 7620 else |
7626 echo "configure: failed program was:" >&5 | 7621 echo "configure: failed program was:" >&5 |
7627 cat conftest.$ac_ext >&5 | 7622 cat conftest.$ac_ext >&5 |
7662 ld_dynamic_link_flags= | 7657 ld_dynamic_link_flags= |
7663 xehost=$canonical | 7658 xehost=$canonical |
7664 xealias=$internal_configuration | 7659 xealias=$internal_configuration |
7665 | 7660 |
7666 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7661 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7667 echo "configure:7668: checking how to build dynamic libraries for ${xehost}" >&5 | 7662 echo "configure:7663: checking how to build dynamic libraries for ${xehost}" >&5 |
7668 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7663 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7669 case "$xehost" in | 7664 case "$xehost" in |
7670 *-*-linux-gnu*) ;; | 7665 *-*-linux-gnu*) ;; |
7671 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7666 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7672 esac | 7667 esac |
7690 # Now see if the compiler is really GCC. | 7685 # Now see if the compiler is really GCC. |
7691 if test "$GCC" = "yes"; then | 7686 if test "$GCC" = "yes"; then |
7692 XEGCC=yes | 7687 XEGCC=yes |
7693 else | 7688 else |
7694 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7689 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7695 echo "configure:7696: checking checking whether we are using GNU C" >&5 | 7690 echo "configure:7691: checking checking whether we are using GNU C" >&5 |
7696 cat > conftest.$ac_ext <<EOF | 7691 cat > conftest.$ac_ext <<EOF |
7697 #line 7698 "configure" | 7692 #line 7693 "configure" |
7698 #include "confdefs.h" | 7693 #include "confdefs.h" |
7699 | 7694 |
7700 #ifdef __GNUC__ | 7695 #ifdef __GNUC__ |
7701 yes; | 7696 yes; |
7702 #endif | 7697 #endif |
7714 | 7709 |
7715 echo "$ac_t""${XEGCC}" 1>&6 | 7710 echo "$ac_t""${XEGCC}" 1>&6 |
7716 fi | 7711 fi |
7717 | 7712 |
7718 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7713 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7719 echo "configure:7720: checking how to produce PIC code" >&5 | 7714 echo "configure:7715: checking how to produce PIC code" >&5 |
7720 wl= | 7715 wl= |
7721 | 7716 |
7722 can_build_shared=yes | 7717 can_build_shared=yes |
7723 cygwin_warn= | 7718 cygwin_warn= |
7724 if test "$XEGCC" = yes; then | 7719 if test "$XEGCC" = yes; then |
7820 if test -n "$dll_cflags"; then | 7815 if test -n "$dll_cflags"; then |
7821 echo "$ac_t""${dll_cflags}" 1>&6 | 7816 echo "$ac_t""${dll_cflags}" 1>&6 |
7822 | 7817 |
7823 # Check to make sure the dll_cflags actually works. | 7818 # Check to make sure the dll_cflags actually works. |
7824 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7819 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7825 echo "configure:7826: checking if PIC flag ${dll_cflags} really works" >&5 | 7820 echo "configure:7821: checking if PIC flag ${dll_cflags} really works" >&5 |
7826 save_CFLAGS="$CFLAGS" | 7821 save_CFLAGS="$CFLAGS" |
7827 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7822 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7828 cat > conftest.$ac_ext <<EOF | 7823 cat > conftest.$ac_ext <<EOF |
7829 #line 7830 "configure" | 7824 #line 7825 "configure" |
7830 #include "confdefs.h" | 7825 #include "confdefs.h" |
7831 | 7826 |
7832 int main() { | 7827 int main() { |
7833 int x=0; | 7828 int x=0; |
7834 ; return 0; } | 7829 ; return 0; } |
7835 EOF | 7830 EOF |
7836 if { (eval echo configure:7837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7831 if { (eval echo configure:7832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7837 rm -rf conftest* | 7832 rm -rf conftest* |
7838 | 7833 |
7839 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7834 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7840 # reports no error. So, we need to grep stderr for (Bundled). | 7835 # reports no error. So, we need to grep stderr for (Bundled). |
7841 if grep '(Bundled)' config.log >/dev/null; then | 7836 if grep '(Bundled)' config.log >/dev/null; then |
7866 if test "$can_build_shared" = "yes"; then | 7861 if test "$can_build_shared" = "yes"; then |
7867 cc_produces_so=no | 7862 cc_produces_so=no |
7868 xldf= | 7863 xldf= |
7869 xcldf= | 7864 xcldf= |
7870 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7865 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
7871 echo "configure:7872: checking if C compiler can produce shared libraries" >&5 | 7866 echo "configure:7867: checking if C compiler can produce shared libraries" >&5 |
7872 if test "$XEGCC" = yes; then | 7867 if test "$XEGCC" = yes; then |
7873 xcldf="-shared" | 7868 xcldf="-shared" |
7874 xldf="-shared" | 7869 xldf="-shared" |
7875 else # Not using GCC | 7870 else # Not using GCC |
7876 case "$xehost_os" in | 7871 case "$xehost_os" in |
7917 LDFLAGS="$xcldf $LDFLAGS" | 7912 LDFLAGS="$xcldf $LDFLAGS" |
7918 LIBS= | 7913 LIBS= |
7919 xe_libs= | 7914 xe_libs= |
7920 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 7915 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
7921 cat > conftest.$ac_ext <<EOF | 7916 cat > conftest.$ac_ext <<EOF |
7922 #line 7923 "configure" | 7917 #line 7918 "configure" |
7923 #include "confdefs.h" | 7918 #include "confdefs.h" |
7924 | 7919 |
7925 int main() { | 7920 int main() { |
7926 int x=0; | 7921 int x=0; |
7927 ; return 0; } | 7922 ; return 0; } |
7928 EOF | 7923 EOF |
7929 if { (eval echo configure:7930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7924 if { (eval echo configure:7925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7930 rm -rf conftest* | 7925 rm -rf conftest* |
7931 cc_produces_so=yes | 7926 cc_produces_so=yes |
7932 else | 7927 else |
7933 echo "configure: failed program was:" >&5 | 7928 echo "configure: failed program was:" >&5 |
7934 cat conftest.$ac_ext >&5 | 7929 cat conftest.$ac_ext >&5 |
7949 if test -z "$LTLD"; then | 7944 if test -z "$LTLD"; then |
7950 ac_prog=ld | 7945 ac_prog=ld |
7951 if test "$XEGCC" = yes; then | 7946 if test "$XEGCC" = yes; then |
7952 # Check if gcc -print-prog-name=ld gives a path. | 7947 # Check if gcc -print-prog-name=ld gives a path. |
7953 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 7948 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
7954 echo "configure:7955: checking for ld used by GCC" >&5 | 7949 echo "configure:7950: checking for ld used by GCC" >&5 |
7955 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 7950 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
7956 case "$ac_prog" in | 7951 case "$ac_prog" in |
7957 # Accept absolute paths. | 7952 # Accept absolute paths. |
7958 /*) | 7953 /*) |
7959 if test -z "$LTLD"; then | 7954 if test -z "$LTLD"; then |
7975 with_gnu_ld=unknown | 7970 with_gnu_ld=unknown |
7976 ;; | 7971 ;; |
7977 esac | 7972 esac |
7978 else | 7973 else |
7979 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 7974 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
7980 echo "configure:7981: checking for GNU ld" >&5 | 7975 echo "configure:7976: checking for GNU ld" >&5 |
7981 fi | 7976 fi |
7982 | 7977 |
7983 if test -z "$LTLD"; then | 7978 if test -z "$LTLD"; then |
7984 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 7979 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
7985 for ac_dir in $PATH; do | 7980 for ac_dir in $PATH; do |
8013 | 8008 |
8014 ld_dynamic_link_flags= | 8009 ld_dynamic_link_flags= |
8015 | 8010 |
8016 # Check to see if it really is or isn't GNU ld. | 8011 # Check to see if it really is or isn't GNU ld. |
8017 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8012 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8018 echo "configure:8019: checking if the linker is GNU ld" >&5 | 8013 echo "configure:8014: checking if the linker is GNU ld" >&5 |
8019 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8014 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8020 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8015 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8021 xe_gnu_ld=yes | 8016 xe_gnu_ld=yes |
8022 else | 8017 else |
8023 xe_gnu_ld=no | 8018 xe_gnu_ld=no |
8041 ld_shlibs=yes | 8036 ld_shlibs=yes |
8042 else | 8037 else |
8043 # OK - only NOW do we futz about with ld. | 8038 # OK - only NOW do we futz about with ld. |
8044 # See if the linker supports building shared libraries. | 8039 # See if the linker supports building shared libraries. |
8045 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8040 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8046 echo "configure:8047: checking whether the linker supports shared libraries" >&5 | 8041 echo "configure:8042: checking whether the linker supports shared libraries" >&5 |
8047 dll_ld=$CC | 8042 dll_ld=$CC |
8048 dll_ldflags=$LDFLAGS | 8043 dll_ldflags=$LDFLAGS |
8049 ld_shlibs=yes | 8044 ld_shlibs=yes |
8050 can_build_shared=yes | 8045 can_build_shared=yes |
8051 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8046 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8249 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8244 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8250 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8245 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8251 for ac_func in dlerror _dlerror | 8246 for ac_func in dlerror _dlerror |
8252 do | 8247 do |
8253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8248 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8254 echo "configure:8255: checking for $ac_func" >&5 | 8249 echo "configure:8250: checking for $ac_func" >&5 |
8255 | 8250 |
8256 cat > conftest.$ac_ext <<EOF | 8251 cat > conftest.$ac_ext <<EOF |
8257 #line 8258 "configure" | 8252 #line 8253 "configure" |
8258 #include "confdefs.h" | 8253 #include "confdefs.h" |
8259 /* System header to define __stub macros and hopefully few prototypes, | 8254 /* System header to define __stub macros and hopefully few prototypes, |
8260 which can conflict with char $ac_func(); below. */ | 8255 which can conflict with char $ac_func(); below. */ |
8261 #include <assert.h> | 8256 #include <assert.h> |
8262 /* Override any gcc2 internal prototype to avoid an error. */ | 8257 /* Override any gcc2 internal prototype to avoid an error. */ |
8275 $ac_func(); | 8270 $ac_func(); |
8276 #endif | 8271 #endif |
8277 | 8272 |
8278 ; return 0; } | 8273 ; return 0; } |
8279 EOF | 8274 EOF |
8280 if { (eval echo configure:8281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8275 if { (eval echo configure:8276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8281 rm -rf conftest* | 8276 rm -rf conftest* |
8282 eval "ac_cv_func_$ac_func=yes" | 8277 eval "ac_cv_func_$ac_func=yes" |
8283 else | 8278 else |
8284 echo "configure: failed program was:" >&5 | 8279 echo "configure: failed program was:" >&5 |
8285 cat conftest.$ac_ext >&5 | 8280 cat conftest.$ac_ext >&5 |
8337 | 8332 |
8338 if test "$with_tooltalk" != "no" ; then | 8333 if test "$with_tooltalk" != "no" ; then |
8339 for dir in "" "Tt/" "desktop/" ; do | 8334 for dir in "" "Tt/" "desktop/" ; do |
8340 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8335 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8341 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8336 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8342 echo "configure:8343: checking for ${dir}tt_c.h" >&5 | 8337 echo "configure:8338: checking for ${dir}tt_c.h" >&5 |
8343 | 8338 |
8344 cat > conftest.$ac_ext <<EOF | 8339 cat > conftest.$ac_ext <<EOF |
8345 #line 8346 "configure" | 8340 #line 8341 "configure" |
8346 #include "confdefs.h" | 8341 #include "confdefs.h" |
8347 #include <${dir}tt_c.h> | 8342 #include <${dir}tt_c.h> |
8348 EOF | 8343 EOF |
8349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8350 { (eval echo configure:8351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8345 { (eval echo configure:8346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8352 if test -z "$ac_err"; then | 8347 if test -z "$ac_err"; then |
8353 rm -rf conftest* | 8348 rm -rf conftest* |
8354 eval "ac_cv_header_$ac_safe=yes" | 8349 eval "ac_cv_header_$ac_safe=yes" |
8355 else | 8350 else |
8381 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8376 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8382 | 8377 |
8383 xe_msg_checking="for tt_message_create in -ltt" | 8378 xe_msg_checking="for tt_message_create in -ltt" |
8384 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8379 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8385 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8380 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8386 echo "configure:8387: checking "$xe_msg_checking"" >&5 | 8381 echo "configure:8382: checking "$xe_msg_checking"" >&5 |
8387 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8382 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8388 | 8383 |
8389 xe_check_libs=" -ltt $extra_libs" | 8384 xe_check_libs=" -ltt $extra_libs" |
8390 cat > conftest.$ac_ext <<EOF | 8385 cat > conftest.$ac_ext <<EOF |
8391 #line 8392 "configure" | 8386 #line 8387 "configure" |
8392 #include "confdefs.h" | 8387 #include "confdefs.h" |
8393 /* Override any gcc2 internal prototype to avoid an error. */ | 8388 /* Override any gcc2 internal prototype to avoid an error. */ |
8394 /* We use char because int might match the return type of a gcc2 | 8389 /* We use char because int might match the return type of a gcc2 |
8395 builtin and then its argument prototype would still apply. */ | 8390 builtin and then its argument prototype would still apply. */ |
8396 char tt_message_create(); | 8391 char tt_message_create(); |
8397 | 8392 |
8398 int main() { | 8393 int main() { |
8399 tt_message_create() | 8394 tt_message_create() |
8400 ; return 0; } | 8395 ; return 0; } |
8401 EOF | 8396 EOF |
8402 if { (eval echo configure:8403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8397 if { (eval echo configure:8398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8403 rm -rf conftest* | 8398 rm -rf conftest* |
8404 eval "ac_cv_lib_$ac_lib_var=yes" | 8399 eval "ac_cv_lib_$ac_lib_var=yes" |
8405 else | 8400 else |
8406 echo "configure: failed program was:" >&5 | 8401 echo "configure: failed program was:" >&5 |
8407 cat conftest.$ac_ext >&5 | 8402 cat conftest.$ac_ext >&5 |
8451 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8446 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8452 fi | 8447 fi |
8453 | 8448 |
8454 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8449 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8455 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8450 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8456 echo "configure:8457: checking for Dt/Dt.h" >&5 | 8451 echo "configure:8452: checking for Dt/Dt.h" >&5 |
8457 | 8452 |
8458 cat > conftest.$ac_ext <<EOF | 8453 cat > conftest.$ac_ext <<EOF |
8459 #line 8460 "configure" | 8454 #line 8455 "configure" |
8460 #include "confdefs.h" | 8455 #include "confdefs.h" |
8461 #include <Dt/Dt.h> | 8456 #include <Dt/Dt.h> |
8462 EOF | 8457 EOF |
8463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8464 { (eval echo configure:8465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8459 { (eval echo configure:8460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8466 if test -z "$ac_err"; then | 8461 if test -z "$ac_err"; then |
8467 rm -rf conftest* | 8462 rm -rf conftest* |
8468 eval "ac_cv_header_$ac_safe=yes" | 8463 eval "ac_cv_header_$ac_safe=yes" |
8469 else | 8464 else |
8482 with_cde=no | 8477 with_cde=no |
8483 fi | 8478 fi |
8484 } | 8479 } |
8485 test -z "$with_cde" && { | 8480 test -z "$with_cde" && { |
8486 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8481 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8487 echo "configure:8488: checking for DtDndDragStart in -lDtSvc" >&5 | 8482 echo "configure:8483: checking for DtDndDragStart in -lDtSvc" >&5 |
8488 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8483 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8489 | 8484 |
8490 xe_check_libs=" -lDtSvc " | 8485 xe_check_libs=" -lDtSvc " |
8491 cat > conftest.$ac_ext <<EOF | 8486 cat > conftest.$ac_ext <<EOF |
8492 #line 8493 "configure" | 8487 #line 8488 "configure" |
8493 #include "confdefs.h" | 8488 #include "confdefs.h" |
8494 /* Override any gcc2 internal prototype to avoid an error. */ | 8489 /* Override any gcc2 internal prototype to avoid an error. */ |
8495 /* We use char because int might match the return type of a gcc2 | 8490 /* We use char because int might match the return type of a gcc2 |
8496 builtin and then its argument prototype would still apply. */ | 8491 builtin and then its argument prototype would still apply. */ |
8497 char DtDndDragStart(); | 8492 char DtDndDragStart(); |
8498 | 8493 |
8499 int main() { | 8494 int main() { |
8500 DtDndDragStart() | 8495 DtDndDragStart() |
8501 ; return 0; } | 8496 ; return 0; } |
8502 EOF | 8497 EOF |
8503 if { (eval echo configure:8504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8498 if { (eval echo configure:8499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8504 rm -rf conftest* | 8499 rm -rf conftest* |
8505 eval "ac_cv_lib_$ac_lib_var=yes" | 8500 eval "ac_cv_lib_$ac_lib_var=yes" |
8506 else | 8501 else |
8507 echo "configure: failed program was:" >&5 | 8502 echo "configure: failed program was:" >&5 |
8508 cat conftest.$ac_ext >&5 | 8503 cat conftest.$ac_ext >&5 |
8579 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8574 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8580 fi | 8575 fi |
8581 | 8576 |
8582 if test "$with_dragndrop" != "no" ; then | 8577 if test "$with_dragndrop" != "no" ; then |
8583 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8578 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8584 echo "configure:8585: checking if drag and drop API is needed" >&5 | 8579 echo "configure:8580: checking if drag and drop API is needed" >&5 |
8585 if test -n "$dragndrop_proto" ; then | 8580 if test -n "$dragndrop_proto" ; then |
8586 with_dragndrop=yes | 8581 with_dragndrop=yes |
8587 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8582 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8588 { test "$extra_verbose" = "yes" && cat << \EOF | 8583 { test "$extra_verbose" = "yes" && cat << \EOF |
8589 Defining HAVE_DRAGNDROP | 8584 Defining HAVE_DRAGNDROP |
8599 echo "$ac_t""no" 1>&6 | 8594 echo "$ac_t""no" 1>&6 |
8600 fi | 8595 fi |
8601 fi | 8596 fi |
8602 | 8597 |
8603 echo "checking for LDAP" 1>&6 | 8598 echo "checking for LDAP" 1>&6 |
8604 echo "configure:8605: checking for LDAP" >&5 | 8599 echo "configure:8600: checking for LDAP" >&5 |
8605 ldap_libs= | 8600 ldap_libs= |
8606 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8601 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8607 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8602 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8608 echo "configure:8609: checking for ldap.h" >&5 | 8603 echo "configure:8604: checking for ldap.h" >&5 |
8609 | 8604 |
8610 cat > conftest.$ac_ext <<EOF | 8605 cat > conftest.$ac_ext <<EOF |
8611 #line 8612 "configure" | 8606 #line 8607 "configure" |
8612 #include "confdefs.h" | 8607 #include "confdefs.h" |
8613 #include <ldap.h> | 8608 #include <ldap.h> |
8614 EOF | 8609 EOF |
8615 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8616 { (eval echo configure:8617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8611 { (eval echo configure:8612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8617 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8618 if test -z "$ac_err"; then | 8613 if test -z "$ac_err"; then |
8619 rm -rf conftest* | 8614 rm -rf conftest* |
8620 eval "ac_cv_header_$ac_safe=yes" | 8615 eval "ac_cv_header_$ac_safe=yes" |
8621 else | 8616 else |
8634 with_ldap=no | 8629 with_ldap=no |
8635 fi | 8630 fi |
8636 } | 8631 } |
8637 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8632 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8638 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8633 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8639 echo "configure:8640: checking for lber.h" >&5 | 8634 echo "configure:8635: checking for lber.h" >&5 |
8640 | 8635 |
8641 cat > conftest.$ac_ext <<EOF | 8636 cat > conftest.$ac_ext <<EOF |
8642 #line 8643 "configure" | 8637 #line 8638 "configure" |
8643 #include "confdefs.h" | 8638 #include "confdefs.h" |
8644 #include <lber.h> | 8639 #include <lber.h> |
8645 EOF | 8640 EOF |
8646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8647 { (eval echo configure:8648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8642 { (eval echo configure:8643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8649 if test -z "$ac_err"; then | 8644 if test -z "$ac_err"; then |
8650 rm -rf conftest* | 8645 rm -rf conftest* |
8651 eval "ac_cv_header_$ac_safe=yes" | 8646 eval "ac_cv_header_$ac_safe=yes" |
8652 else | 8647 else |
8666 fi | 8661 fi |
8667 } | 8662 } |
8668 if test "$with_ldap" != "no"; then | 8663 if test "$with_ldap" != "no"; then |
8669 | 8664 |
8670 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8665 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8671 echo "configure:8672: checking for ldap_search in -lldap" >&5 | 8666 echo "configure:8667: checking for ldap_search in -lldap" >&5 |
8672 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8667 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8673 | 8668 |
8674 xe_check_libs=" -lldap " | 8669 xe_check_libs=" -lldap " |
8675 cat > conftest.$ac_ext <<EOF | 8670 cat > conftest.$ac_ext <<EOF |
8676 #line 8677 "configure" | 8671 #line 8672 "configure" |
8677 #include "confdefs.h" | 8672 #include "confdefs.h" |
8678 /* Override any gcc2 internal prototype to avoid an error. */ | 8673 /* Override any gcc2 internal prototype to avoid an error. */ |
8679 /* We use char because int might match the return type of a gcc2 | 8674 /* We use char because int might match the return type of a gcc2 |
8680 builtin and then its argument prototype would still apply. */ | 8675 builtin and then its argument prototype would still apply. */ |
8681 char ldap_search(); | 8676 char ldap_search(); |
8682 | 8677 |
8683 int main() { | 8678 int main() { |
8684 ldap_search() | 8679 ldap_search() |
8685 ; return 0; } | 8680 ; return 0; } |
8686 EOF | 8681 EOF |
8687 if { (eval echo configure:8688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8682 if { (eval echo configure:8683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8688 rm -rf conftest* | 8683 rm -rf conftest* |
8689 eval "ac_cv_lib_$ac_lib_var=yes" | 8684 eval "ac_cv_lib_$ac_lib_var=yes" |
8690 else | 8685 else |
8691 echo "configure: failed program was:" >&5 | 8686 echo "configure: failed program was:" >&5 |
8692 cat conftest.$ac_ext >&5 | 8687 cat conftest.$ac_ext >&5 |
8707 | 8702 |
8708 test "$with_ldap_nolber" = "no" && { | 8703 test "$with_ldap_nolber" = "no" && { |
8709 xe_msg_checking="for ldap_open in -lldap" | 8704 xe_msg_checking="for ldap_open in -lldap" |
8710 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8705 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8711 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8706 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8712 echo "configure:8713: checking "$xe_msg_checking"" >&5 | 8707 echo "configure:8708: checking "$xe_msg_checking"" >&5 |
8713 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8708 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8714 | 8709 |
8715 xe_check_libs=" -lldap -llber" | 8710 xe_check_libs=" -lldap -llber" |
8716 cat > conftest.$ac_ext <<EOF | 8711 cat > conftest.$ac_ext <<EOF |
8717 #line 8718 "configure" | 8712 #line 8713 "configure" |
8718 #include "confdefs.h" | 8713 #include "confdefs.h" |
8719 /* Override any gcc2 internal prototype to avoid an error. */ | 8714 /* Override any gcc2 internal prototype to avoid an error. */ |
8720 /* We use char because int might match the return type of a gcc2 | 8715 /* We use char because int might match the return type of a gcc2 |
8721 builtin and then its argument prototype would still apply. */ | 8716 builtin and then its argument prototype would still apply. */ |
8722 char ldap_open(); | 8717 char ldap_open(); |
8723 | 8718 |
8724 int main() { | 8719 int main() { |
8725 ldap_open() | 8720 ldap_open() |
8726 ; return 0; } | 8721 ; return 0; } |
8727 EOF | 8722 EOF |
8728 if { (eval echo configure:8729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8723 if { (eval echo configure:8724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8729 rm -rf conftest* | 8724 rm -rf conftest* |
8730 eval "ac_cv_lib_$ac_lib_var=yes" | 8725 eval "ac_cv_lib_$ac_lib_var=yes" |
8731 else | 8726 else |
8732 echo "configure: failed program was:" >&5 | 8727 echo "configure: failed program was:" >&5 |
8733 cat conftest.$ac_ext >&5 | 8728 cat conftest.$ac_ext >&5 |
8748 } | 8743 } |
8749 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8744 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8750 xe_msg_checking="for ldap_open in -lldap" | 8745 xe_msg_checking="for ldap_open in -lldap" |
8751 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8746 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8752 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8747 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8753 echo "configure:8754: checking "$xe_msg_checking"" >&5 | 8748 echo "configure:8749: checking "$xe_msg_checking"" >&5 |
8754 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8749 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8755 | 8750 |
8756 xe_check_libs=" -lldap -llber -lkrb" | 8751 xe_check_libs=" -lldap -llber -lkrb" |
8757 cat > conftest.$ac_ext <<EOF | 8752 cat > conftest.$ac_ext <<EOF |
8758 #line 8759 "configure" | 8753 #line 8754 "configure" |
8759 #include "confdefs.h" | 8754 #include "confdefs.h" |
8760 /* Override any gcc2 internal prototype to avoid an error. */ | 8755 /* Override any gcc2 internal prototype to avoid an error. */ |
8761 /* We use char because int might match the return type of a gcc2 | 8756 /* We use char because int might match the return type of a gcc2 |
8762 builtin and then its argument prototype would still apply. */ | 8757 builtin and then its argument prototype would still apply. */ |
8763 char ldap_open(); | 8758 char ldap_open(); |
8764 | 8759 |
8765 int main() { | 8760 int main() { |
8766 ldap_open() | 8761 ldap_open() |
8767 ; return 0; } | 8762 ; return 0; } |
8768 EOF | 8763 EOF |
8769 if { (eval echo configure:8770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8764 if { (eval echo configure:8765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8770 rm -rf conftest* | 8765 rm -rf conftest* |
8771 eval "ac_cv_lib_$ac_lib_var=yes" | 8766 eval "ac_cv_lib_$ac_lib_var=yes" |
8772 else | 8767 else |
8773 echo "configure: failed program was:" >&5 | 8768 echo "configure: failed program was:" >&5 |
8774 cat conftest.$ac_ext >&5 | 8769 cat conftest.$ac_ext >&5 |
8789 } | 8784 } |
8790 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8785 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8791 xe_msg_checking="for ldap_open in -lldap" | 8786 xe_msg_checking="for ldap_open in -lldap" |
8792 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8787 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8793 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8788 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8794 echo "configure:8795: checking "$xe_msg_checking"" >&5 | 8789 echo "configure:8790: checking "$xe_msg_checking"" >&5 |
8795 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8790 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8796 | 8791 |
8797 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8792 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8798 cat > conftest.$ac_ext <<EOF | 8793 cat > conftest.$ac_ext <<EOF |
8799 #line 8800 "configure" | 8794 #line 8795 "configure" |
8800 #include "confdefs.h" | 8795 #include "confdefs.h" |
8801 /* Override any gcc2 internal prototype to avoid an error. */ | 8796 /* Override any gcc2 internal prototype to avoid an error. */ |
8802 /* We use char because int might match the return type of a gcc2 | 8797 /* We use char because int might match the return type of a gcc2 |
8803 builtin and then its argument prototype would still apply. */ | 8798 builtin and then its argument prototype would still apply. */ |
8804 char ldap_open(); | 8799 char ldap_open(); |
8805 | 8800 |
8806 int main() { | 8801 int main() { |
8807 ldap_open() | 8802 ldap_open() |
8808 ; return 0; } | 8803 ; return 0; } |
8809 EOF | 8804 EOF |
8810 if { (eval echo configure:8811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8805 if { (eval echo configure:8806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8811 rm -rf conftest* | 8806 rm -rf conftest* |
8812 eval "ac_cv_lib_$ac_lib_var=yes" | 8807 eval "ac_cv_lib_$ac_lib_var=yes" |
8813 else | 8808 else |
8814 echo "configure: failed program was:" >&5 | 8809 echo "configure: failed program was:" >&5 |
8815 cat conftest.$ac_ext >&5 | 8810 cat conftest.$ac_ext >&5 |
8854 fi | 8849 fi |
8855 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8850 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
8856 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8851 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
8857 do | 8852 do |
8858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8859 echo "configure:8860: checking for $ac_func" >&5 | 8854 echo "configure:8855: checking for $ac_func" >&5 |
8860 | 8855 |
8861 cat > conftest.$ac_ext <<EOF | 8856 cat > conftest.$ac_ext <<EOF |
8862 #line 8863 "configure" | 8857 #line 8858 "configure" |
8863 #include "confdefs.h" | 8858 #include "confdefs.h" |
8864 /* System header to define __stub macros and hopefully few prototypes, | 8859 /* System header to define __stub macros and hopefully few prototypes, |
8865 which can conflict with char $ac_func(); below. */ | 8860 which can conflict with char $ac_func(); below. */ |
8866 #include <assert.h> | 8861 #include <assert.h> |
8867 /* Override any gcc2 internal prototype to avoid an error. */ | 8862 /* Override any gcc2 internal prototype to avoid an error. */ |
8880 $ac_func(); | 8875 $ac_func(); |
8881 #endif | 8876 #endif |
8882 | 8877 |
8883 ; return 0; } | 8878 ; return 0; } |
8884 EOF | 8879 EOF |
8885 if { (eval echo configure:8886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8880 if { (eval echo configure:8881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8886 rm -rf conftest* | 8881 rm -rf conftest* |
8887 eval "ac_cv_func_$ac_func=yes" | 8882 eval "ac_cv_func_$ac_func=yes" |
8888 else | 8883 else |
8889 echo "configure: failed program was:" >&5 | 8884 echo "configure: failed program was:" >&5 |
8890 cat conftest.$ac_ext >&5 | 8885 cat conftest.$ac_ext >&5 |
8919 | 8914 |
8920 | 8915 |
8921 postgresql_libs= | 8916 postgresql_libs= |
8922 if test "$with_postgresql" != "no"; then | 8917 if test "$with_postgresql" != "no"; then |
8923 echo "checking for PostgreSQL" 1>&6 | 8918 echo "checking for PostgreSQL" 1>&6 |
8924 echo "configure:8925: checking for PostgreSQL" >&5 | 8919 echo "configure:8920: checking for PostgreSQL" >&5 |
8925 | 8920 |
8926 for header_dir in "" "pgsql/" "postgresql/"; do | 8921 for header_dir in "" "pgsql/" "postgresql/"; do |
8927 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 8922 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
8928 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 8923 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
8929 echo "configure:8930: checking for ${header_dir}libpq-fe.h" >&5 | 8924 echo "configure:8925: checking for ${header_dir}libpq-fe.h" >&5 |
8930 | 8925 |
8931 cat > conftest.$ac_ext <<EOF | 8926 cat > conftest.$ac_ext <<EOF |
8932 #line 8933 "configure" | 8927 #line 8928 "configure" |
8933 #include "confdefs.h" | 8928 #include "confdefs.h" |
8934 #include <${header_dir}libpq-fe.h> | 8929 #include <${header_dir}libpq-fe.h> |
8935 EOF | 8930 EOF |
8936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8931 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8937 { (eval echo configure:8938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8932 { (eval echo configure:8933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8938 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8933 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8939 if test -z "$ac_err"; then | 8934 if test -z "$ac_err"; then |
8940 rm -rf conftest* | 8935 rm -rf conftest* |
8941 eval "ac_cv_header_$ac_safe=yes" | 8936 eval "ac_cv_header_$ac_safe=yes" |
8942 else | 8937 else |
8956 | 8951 |
8957 done | 8952 done |
8958 | 8953 |
8959 test -n "$libpq_fe_h_file" && { | 8954 test -n "$libpq_fe_h_file" && { |
8960 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 8955 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
8961 echo "configure:8962: checking for PQconnectdb in -lpq" >&5 | 8956 echo "configure:8957: checking for PQconnectdb in -lpq" >&5 |
8962 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 8957 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
8963 | 8958 |
8964 xe_check_libs=" -lpq " | 8959 xe_check_libs=" -lpq " |
8965 cat > conftest.$ac_ext <<EOF | 8960 cat > conftest.$ac_ext <<EOF |
8966 #line 8967 "configure" | 8961 #line 8962 "configure" |
8967 #include "confdefs.h" | 8962 #include "confdefs.h" |
8968 /* Override any gcc2 internal prototype to avoid an error. */ | 8963 /* Override any gcc2 internal prototype to avoid an error. */ |
8969 /* We use char because int might match the return type of a gcc2 | 8964 /* We use char because int might match the return type of a gcc2 |
8970 builtin and then its argument prototype would still apply. */ | 8965 builtin and then its argument prototype would still apply. */ |
8971 char PQconnectdb(); | 8966 char PQconnectdb(); |
8972 | 8967 |
8973 int main() { | 8968 int main() { |
8974 PQconnectdb() | 8969 PQconnectdb() |
8975 ; return 0; } | 8970 ; return 0; } |
8976 EOF | 8971 EOF |
8977 if { (eval echo configure:8978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8972 if { (eval echo configure:8973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8978 rm -rf conftest* | 8973 rm -rf conftest* |
8979 eval "ac_cv_lib_$ac_lib_var=yes" | 8974 eval "ac_cv_lib_$ac_lib_var=yes" |
8980 else | 8975 else |
8981 echo "configure: failed program was:" >&5 | 8976 echo "configure: failed program was:" >&5 |
8982 cat conftest.$ac_ext >&5 | 8977 cat conftest.$ac_ext >&5 |
9005 EOF | 9000 EOF |
9006 } | 9001 } |
9007 | 9002 |
9008 | 9003 |
9009 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9004 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9010 echo "configure:9011: checking for PQconnectStart in -lpq" >&5 | 9005 echo "configure:9006: checking for PQconnectStart in -lpq" >&5 |
9011 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9006 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9012 | 9007 |
9013 xe_check_libs=" -lpq " | 9008 xe_check_libs=" -lpq " |
9014 cat > conftest.$ac_ext <<EOF | 9009 cat > conftest.$ac_ext <<EOF |
9015 #line 9016 "configure" | 9010 #line 9011 "configure" |
9016 #include "confdefs.h" | 9011 #include "confdefs.h" |
9017 /* Override any gcc2 internal prototype to avoid an error. */ | 9012 /* Override any gcc2 internal prototype to avoid an error. */ |
9018 /* We use char because int might match the return type of a gcc2 | 9013 /* We use char because int might match the return type of a gcc2 |
9019 builtin and then its argument prototype would still apply. */ | 9014 builtin and then its argument prototype would still apply. */ |
9020 char PQconnectStart(); | 9015 char PQconnectStart(); |
9021 | 9016 |
9022 int main() { | 9017 int main() { |
9023 PQconnectStart() | 9018 PQconnectStart() |
9024 ; return 0; } | 9019 ; return 0; } |
9025 EOF | 9020 EOF |
9026 if { (eval echo configure:9027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9021 if { (eval echo configure:9022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9027 rm -rf conftest* | 9022 rm -rf conftest* |
9028 eval "ac_cv_lib_$ac_lib_var=yes" | 9023 eval "ac_cv_lib_$ac_lib_var=yes" |
9029 else | 9024 else |
9030 echo "configure: failed program was:" >&5 | 9025 echo "configure: failed program was:" >&5 |
9031 cat conftest.$ac_ext >&5 | 9026 cat conftest.$ac_ext >&5 |
9072 | 9067 |
9073 | 9068 |
9074 | 9069 |
9075 if test "$window_system" != "none"; then | 9070 if test "$window_system" != "none"; then |
9076 echo "checking for graphics libraries" 1>&6 | 9071 echo "checking for graphics libraries" 1>&6 |
9077 echo "configure:9078: checking for graphics libraries" >&5 | 9072 echo "configure:9073: checking for graphics libraries" >&5 |
9078 | 9073 |
9079 libpath_xpm= | 9074 libpath_xpm= |
9080 incpath_xpm= | 9075 incpath_xpm= |
9081 case "$opsys" in | 9076 case "$opsys" in |
9082 cygwin*) | 9077 cygwin*) |
9098 xpm_problem="" | 9093 xpm_problem="" |
9099 if test -z "$with_xpm"; then | 9094 if test -z "$with_xpm"; then |
9100 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9095 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9101 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9096 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9102 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9097 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9103 echo "configure:9104: checking for Xpm - no older than 3.4f" >&5 | 9098 echo "configure:9099: checking for Xpm - no older than 3.4f" >&5 |
9104 xe_check_libs=-lXpm | 9099 xe_check_libs=-lXpm |
9105 cat > conftest.$ac_ext <<EOF | 9100 cat > conftest.$ac_ext <<EOF |
9106 #line 9107 "configure" | 9101 #line 9102 "configure" |
9107 #include "confdefs.h" | 9102 #include "confdefs.h" |
9108 #define XPM_NUMBERS | 9103 #define XPM_NUMBERS |
9109 #include <X11/xpm.h> | 9104 #include <X11/xpm.h> |
9110 int main(int c, char **v) { | 9105 int main(int c, char **v) { |
9111 return c == 1 ? 0 : | 9106 return c == 1 ? 0 : |
9112 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9107 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9113 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9108 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9114 EOF | 9109 EOF |
9115 if { (eval echo configure:9116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9110 if { (eval echo configure:9111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9116 then | 9111 then |
9117 ./conftest dummy_arg; xpm_status=$?; | 9112 ./conftest dummy_arg; xpm_status=$?; |
9118 if test "$xpm_status" = "0"; then | 9113 if test "$xpm_status" = "0"; then |
9119 with_xpm=yes; | 9114 with_xpm=yes; |
9120 else | 9115 else |
9154 | 9149 |
9155 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9150 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9156 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9151 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9157 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9152 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9158 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9153 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9159 echo "configure:9160: checking for \"FOR_MSW\" xpm" >&5 | 9154 echo "configure:9155: checking for \"FOR_MSW\" xpm" >&5 |
9160 xe_check_libs=-lXpm | 9155 xe_check_libs=-lXpm |
9161 cat > conftest.$ac_ext <<EOF | 9156 cat > conftest.$ac_ext <<EOF |
9162 #line 9163 "configure" | 9157 #line 9158 "configure" |
9163 #include "confdefs.h" | 9158 #include "confdefs.h" |
9164 | 9159 |
9165 int main() { | 9160 int main() { |
9166 XpmCreatePixmapFromData() | 9161 XpmCreatePixmapFromData() |
9167 ; return 0; } | 9162 ; return 0; } |
9168 EOF | 9163 EOF |
9169 if { (eval echo configure:9170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9164 if { (eval echo configure:9165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9170 rm -rf conftest* | 9165 rm -rf conftest* |
9171 xpm_for_msw=no | 9166 xpm_for_msw=no |
9172 else | 9167 else |
9173 echo "configure: failed program was:" >&5 | 9168 echo "configure: failed program was:" >&5 |
9174 cat conftest.$ac_ext >&5 | 9169 cat conftest.$ac_ext >&5 |
9190 fi | 9185 fi |
9191 fi | 9186 fi |
9192 | 9187 |
9193 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9188 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9194 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9189 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9195 echo "configure:9196: checking for compface.h" >&5 | 9190 echo "configure:9191: checking for compface.h" >&5 |
9196 | 9191 |
9197 cat > conftest.$ac_ext <<EOF | 9192 cat > conftest.$ac_ext <<EOF |
9198 #line 9199 "configure" | 9193 #line 9194 "configure" |
9199 #include "confdefs.h" | 9194 #include "confdefs.h" |
9200 #include <compface.h> | 9195 #include <compface.h> |
9201 EOF | 9196 EOF |
9202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9203 { (eval echo configure:9204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9198 { (eval echo configure:9199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9205 if test -z "$ac_err"; then | 9200 if test -z "$ac_err"; then |
9206 rm -rf conftest* | 9201 rm -rf conftest* |
9207 eval "ac_cv_header_$ac_safe=yes" | 9202 eval "ac_cv_header_$ac_safe=yes" |
9208 else | 9203 else |
9221 with_xface=no | 9216 with_xface=no |
9222 fi | 9217 fi |
9223 } | 9218 } |
9224 test -z "$with_xface" && { | 9219 test -z "$with_xface" && { |
9225 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9220 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9226 echo "configure:9227: checking for UnGenFace in -lcompface" >&5 | 9221 echo "configure:9222: checking for UnGenFace in -lcompface" >&5 |
9227 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9222 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9228 | 9223 |
9229 xe_check_libs=" -lcompface " | 9224 xe_check_libs=" -lcompface " |
9230 cat > conftest.$ac_ext <<EOF | 9225 cat > conftest.$ac_ext <<EOF |
9231 #line 9232 "configure" | 9226 #line 9227 "configure" |
9232 #include "confdefs.h" | 9227 #include "confdefs.h" |
9233 /* Override any gcc2 internal prototype to avoid an error. */ | 9228 /* Override any gcc2 internal prototype to avoid an error. */ |
9234 /* We use char because int might match the return type of a gcc2 | 9229 /* We use char because int might match the return type of a gcc2 |
9235 builtin and then its argument prototype would still apply. */ | 9230 builtin and then its argument prototype would still apply. */ |
9236 char UnGenFace(); | 9231 char UnGenFace(); |
9237 | 9232 |
9238 int main() { | 9233 int main() { |
9239 UnGenFace() | 9234 UnGenFace() |
9240 ; return 0; } | 9235 ; return 0; } |
9241 EOF | 9236 EOF |
9242 if { (eval echo configure:9243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9237 if { (eval echo configure:9238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9243 rm -rf conftest* | 9238 rm -rf conftest* |
9244 eval "ac_cv_lib_$ac_lib_var=yes" | 9239 eval "ac_cv_lib_$ac_lib_var=yes" |
9245 else | 9240 else |
9246 echo "configure: failed program was:" >&5 | 9241 echo "configure: failed program was:" >&5 |
9247 cat conftest.$ac_ext >&5 | 9242 cat conftest.$ac_ext >&5 |
9286 fi | 9281 fi |
9287 | 9282 |
9288 if test "$with_png $with_tiff" != "no no"; then | 9283 if test "$with_png $with_tiff" != "no no"; then |
9289 | 9284 |
9290 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9285 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9291 echo "configure:9292: checking for inflate in -lc" >&5 | 9286 echo "configure:9287: checking for inflate in -lc" >&5 |
9292 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9287 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9293 | 9288 |
9294 xe_check_libs=" -lc " | 9289 xe_check_libs=" -lc " |
9295 cat > conftest.$ac_ext <<EOF | 9290 cat > conftest.$ac_ext <<EOF |
9296 #line 9297 "configure" | 9291 #line 9292 "configure" |
9297 #include "confdefs.h" | 9292 #include "confdefs.h" |
9298 /* Override any gcc2 internal prototype to avoid an error. */ | 9293 /* Override any gcc2 internal prototype to avoid an error. */ |
9299 /* We use char because int might match the return type of a gcc2 | 9294 /* We use char because int might match the return type of a gcc2 |
9300 builtin and then its argument prototype would still apply. */ | 9295 builtin and then its argument prototype would still apply. */ |
9301 char inflate(); | 9296 char inflate(); |
9302 | 9297 |
9303 int main() { | 9298 int main() { |
9304 inflate() | 9299 inflate() |
9305 ; return 0; } | 9300 ; return 0; } |
9306 EOF | 9301 EOF |
9307 if { (eval echo configure:9308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9302 if { (eval echo configure:9303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9308 rm -rf conftest* | 9303 rm -rf conftest* |
9309 eval "ac_cv_lib_$ac_lib_var=yes" | 9304 eval "ac_cv_lib_$ac_lib_var=yes" |
9310 else | 9305 else |
9311 echo "configure: failed program was:" >&5 | 9306 echo "configure: failed program was:" >&5 |
9312 cat conftest.$ac_ext >&5 | 9307 cat conftest.$ac_ext >&5 |
9321 : | 9316 : |
9322 else | 9317 else |
9323 echo "$ac_t""no" 1>&6 | 9318 echo "$ac_t""no" 1>&6 |
9324 | 9319 |
9325 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9320 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9326 echo "configure:9327: checking for inflate in -lz" >&5 | 9321 echo "configure:9322: checking for inflate in -lz" >&5 |
9327 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9322 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9328 | 9323 |
9329 xe_check_libs=" -lz " | 9324 xe_check_libs=" -lz " |
9330 cat > conftest.$ac_ext <<EOF | 9325 cat > conftest.$ac_ext <<EOF |
9331 #line 9332 "configure" | 9326 #line 9327 "configure" |
9332 #include "confdefs.h" | 9327 #include "confdefs.h" |
9333 /* Override any gcc2 internal prototype to avoid an error. */ | 9328 /* Override any gcc2 internal prototype to avoid an error. */ |
9334 /* We use char because int might match the return type of a gcc2 | 9329 /* We use char because int might match the return type of a gcc2 |
9335 builtin and then its argument prototype would still apply. */ | 9330 builtin and then its argument prototype would still apply. */ |
9336 char inflate(); | 9331 char inflate(); |
9337 | 9332 |
9338 int main() { | 9333 int main() { |
9339 inflate() | 9334 inflate() |
9340 ; return 0; } | 9335 ; return 0; } |
9341 EOF | 9336 EOF |
9342 if { (eval echo configure:9343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9337 if { (eval echo configure:9338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9343 rm -rf conftest* | 9338 rm -rf conftest* |
9344 eval "ac_cv_lib_$ac_lib_var=yes" | 9339 eval "ac_cv_lib_$ac_lib_var=yes" |
9345 else | 9340 else |
9346 echo "configure: failed program was:" >&5 | 9341 echo "configure: failed program was:" >&5 |
9347 cat conftest.$ac_ext >&5 | 9342 cat conftest.$ac_ext >&5 |
9356 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9351 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9357 else | 9352 else |
9358 echo "$ac_t""no" 1>&6 | 9353 echo "$ac_t""no" 1>&6 |
9359 | 9354 |
9360 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9355 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9361 echo "configure:9362: checking for inflate in -lgz" >&5 | 9356 echo "configure:9357: checking for inflate in -lgz" >&5 |
9362 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9357 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9363 | 9358 |
9364 xe_check_libs=" -lgz " | 9359 xe_check_libs=" -lgz " |
9365 cat > conftest.$ac_ext <<EOF | 9360 cat > conftest.$ac_ext <<EOF |
9366 #line 9367 "configure" | 9361 #line 9362 "configure" |
9367 #include "confdefs.h" | 9362 #include "confdefs.h" |
9368 /* Override any gcc2 internal prototype to avoid an error. */ | 9363 /* Override any gcc2 internal prototype to avoid an error. */ |
9369 /* We use char because int might match the return type of a gcc2 | 9364 /* We use char because int might match the return type of a gcc2 |
9370 builtin and then its argument prototype would still apply. */ | 9365 builtin and then its argument prototype would still apply. */ |
9371 char inflate(); | 9366 char inflate(); |
9372 | 9367 |
9373 int main() { | 9368 int main() { |
9374 inflate() | 9369 inflate() |
9375 ; return 0; } | 9370 ; return 0; } |
9376 EOF | 9371 EOF |
9377 if { (eval echo configure:9378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9372 if { (eval echo configure:9373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9378 rm -rf conftest* | 9373 rm -rf conftest* |
9379 eval "ac_cv_lib_$ac_lib_var=yes" | 9374 eval "ac_cv_lib_$ac_lib_var=yes" |
9380 else | 9375 else |
9381 echo "configure: failed program was:" >&5 | 9376 echo "configure: failed program was:" >&5 |
9382 cat conftest.$ac_ext >&5 | 9377 cat conftest.$ac_ext >&5 |
9402 | 9397 |
9403 fi | 9398 fi |
9404 | 9399 |
9405 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9400 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9406 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9401 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9407 echo "configure:9408: checking for jpeglib.h" >&5 | 9402 echo "configure:9403: checking for jpeglib.h" >&5 |
9408 | 9403 |
9409 cat > conftest.$ac_ext <<EOF | 9404 cat > conftest.$ac_ext <<EOF |
9410 #line 9411 "configure" | 9405 #line 9406 "configure" |
9411 #include "confdefs.h" | 9406 #include "confdefs.h" |
9412 #include <jpeglib.h> | 9407 #include <jpeglib.h> |
9413 EOF | 9408 EOF |
9414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9409 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9415 { (eval echo configure:9416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9410 { (eval echo configure:9411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9416 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9411 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9417 if test -z "$ac_err"; then | 9412 if test -z "$ac_err"; then |
9418 rm -rf conftest* | 9413 rm -rf conftest* |
9419 eval "ac_cv_header_$ac_safe=yes" | 9414 eval "ac_cv_header_$ac_safe=yes" |
9420 else | 9415 else |
9433 with_jpeg=no | 9428 with_jpeg=no |
9434 fi | 9429 fi |
9435 } | 9430 } |
9436 test -z "$with_jpeg" && { | 9431 test -z "$with_jpeg" && { |
9437 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9432 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9438 echo "configure:9439: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9433 echo "configure:9434: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9439 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9434 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9440 | 9435 |
9441 xe_check_libs=" -ljpeg " | 9436 xe_check_libs=" -ljpeg " |
9442 cat > conftest.$ac_ext <<EOF | 9437 cat > conftest.$ac_ext <<EOF |
9443 #line 9444 "configure" | 9438 #line 9439 "configure" |
9444 #include "confdefs.h" | 9439 #include "confdefs.h" |
9445 /* Override any gcc2 internal prototype to avoid an error. */ | 9440 /* Override any gcc2 internal prototype to avoid an error. */ |
9446 /* We use char because int might match the return type of a gcc2 | 9441 /* We use char because int might match the return type of a gcc2 |
9447 builtin and then its argument prototype would still apply. */ | 9442 builtin and then its argument prototype would still apply. */ |
9448 char jpeg_destroy_decompress(); | 9443 char jpeg_destroy_decompress(); |
9449 | 9444 |
9450 int main() { | 9445 int main() { |
9451 jpeg_destroy_decompress() | 9446 jpeg_destroy_decompress() |
9452 ; return 0; } | 9447 ; return 0; } |
9453 EOF | 9448 EOF |
9454 if { (eval echo configure:9455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9449 if { (eval echo configure:9450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9455 rm -rf conftest* | 9450 rm -rf conftest* |
9456 eval "ac_cv_lib_$ac_lib_var=yes" | 9451 eval "ac_cv_lib_$ac_lib_var=yes" |
9457 else | 9452 else |
9458 echo "configure: failed program was:" >&5 | 9453 echo "configure: failed program was:" >&5 |
9459 cat conftest.$ac_ext >&5 | 9454 cat conftest.$ac_ext >&5 |
9485 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9480 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9486 fi | 9481 fi |
9487 | 9482 |
9488 png_problem="" | 9483 png_problem="" |
9489 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9484 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9490 echo "configure:9491: checking for pow" >&5 | 9485 echo "configure:9486: checking for pow" >&5 |
9491 | 9486 |
9492 cat > conftest.$ac_ext <<EOF | 9487 cat > conftest.$ac_ext <<EOF |
9493 #line 9494 "configure" | 9488 #line 9489 "configure" |
9494 #include "confdefs.h" | 9489 #include "confdefs.h" |
9495 /* System header to define __stub macros and hopefully few prototypes, | 9490 /* System header to define __stub macros and hopefully few prototypes, |
9496 which can conflict with char pow(); below. */ | 9491 which can conflict with char pow(); below. */ |
9497 #include <assert.h> | 9492 #include <assert.h> |
9498 /* Override any gcc2 internal prototype to avoid an error. */ | 9493 /* Override any gcc2 internal prototype to avoid an error. */ |
9511 pow(); | 9506 pow(); |
9512 #endif | 9507 #endif |
9513 | 9508 |
9514 ; return 0; } | 9509 ; return 0; } |
9515 EOF | 9510 EOF |
9516 if { (eval echo configure:9517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9511 if { (eval echo configure:9512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9517 rm -rf conftest* | 9512 rm -rf conftest* |
9518 eval "ac_cv_func_pow=yes" | 9513 eval "ac_cv_func_pow=yes" |
9519 else | 9514 else |
9520 echo "configure: failed program was:" >&5 | 9515 echo "configure: failed program was:" >&5 |
9521 cat conftest.$ac_ext >&5 | 9516 cat conftest.$ac_ext >&5 |
9532 with_png=no | 9527 with_png=no |
9533 fi | 9528 fi |
9534 } | 9529 } |
9535 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9530 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9536 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9531 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9537 echo "configure:9538: checking for png.h" >&5 | 9532 echo "configure:9533: checking for png.h" >&5 |
9538 | 9533 |
9539 cat > conftest.$ac_ext <<EOF | 9534 cat > conftest.$ac_ext <<EOF |
9540 #line 9541 "configure" | 9535 #line 9536 "configure" |
9541 #include "confdefs.h" | 9536 #include "confdefs.h" |
9542 #include <png.h> | 9537 #include <png.h> |
9543 EOF | 9538 EOF |
9544 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9545 { (eval echo configure:9546: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9540 { (eval echo configure:9541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9546 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9547 if test -z "$ac_err"; then | 9542 if test -z "$ac_err"; then |
9548 rm -rf conftest* | 9543 rm -rf conftest* |
9549 eval "ac_cv_header_$ac_safe=yes" | 9544 eval "ac_cv_header_$ac_safe=yes" |
9550 else | 9545 else |
9563 with_png=no | 9558 with_png=no |
9564 fi | 9559 fi |
9565 } | 9560 } |
9566 test -z "$with_png" && { | 9561 test -z "$with_png" && { |
9567 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9562 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9568 echo "configure:9569: checking for png_read_image in -lpng" >&5 | 9563 echo "configure:9564: checking for png_read_image in -lpng" >&5 |
9569 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9564 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9570 | 9565 |
9571 xe_check_libs=" -lpng " | 9566 xe_check_libs=" -lpng " |
9572 cat > conftest.$ac_ext <<EOF | 9567 cat > conftest.$ac_ext <<EOF |
9573 #line 9574 "configure" | 9568 #line 9569 "configure" |
9574 #include "confdefs.h" | 9569 #include "confdefs.h" |
9575 /* Override any gcc2 internal prototype to avoid an error. */ | 9570 /* Override any gcc2 internal prototype to avoid an error. */ |
9576 /* We use char because int might match the return type of a gcc2 | 9571 /* We use char because int might match the return type of a gcc2 |
9577 builtin and then its argument prototype would still apply. */ | 9572 builtin and then its argument prototype would still apply. */ |
9578 char png_read_image(); | 9573 char png_read_image(); |
9579 | 9574 |
9580 int main() { | 9575 int main() { |
9581 png_read_image() | 9576 png_read_image() |
9582 ; return 0; } | 9577 ; return 0; } |
9583 EOF | 9578 EOF |
9584 if { (eval echo configure:9585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9579 if { (eval echo configure:9580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9585 rm -rf conftest* | 9580 rm -rf conftest* |
9586 eval "ac_cv_lib_$ac_lib_var=yes" | 9581 eval "ac_cv_lib_$ac_lib_var=yes" |
9587 else | 9582 else |
9588 echo "configure: failed program was:" >&5 | 9583 echo "configure: failed program was:" >&5 |
9589 cat conftest.$ac_ext >&5 | 9584 cat conftest.$ac_ext >&5 |
9602 fi | 9597 fi |
9603 | 9598 |
9604 } | 9599 } |
9605 if test -z "$with_png"; then | 9600 if test -z "$with_png"; then |
9606 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9601 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9607 echo "configure:9608: checking for workable png version information" >&5 | 9602 echo "configure:9603: checking for workable png version information" >&5 |
9608 xe_check_libs="-lpng -lz" | 9603 xe_check_libs="-lpng -lz" |
9609 cat > conftest.$ac_ext <<EOF | 9604 cat > conftest.$ac_ext <<EOF |
9610 #line 9611 "configure" | 9605 #line 9606 "configure" |
9611 #include "confdefs.h" | 9606 #include "confdefs.h" |
9612 #include <png.h> | 9607 #include <png.h> |
9613 int main(int c, char **v) { | 9608 int main(int c, char **v) { |
9614 if (c == 1) return 0; | 9609 if (c == 1) return 0; |
9615 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9610 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9616 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9611 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9617 EOF | 9612 EOF |
9618 if { (eval echo configure:9619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9613 if { (eval echo configure:9614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9619 then | 9614 then |
9620 ./conftest dummy_arg; png_status=$?; | 9615 ./conftest dummy_arg; png_status=$?; |
9621 if test "$png_status" = "0"; then | 9616 if test "$png_status" = "0"; then |
9622 with_png=yes; | 9617 with_png=yes; |
9623 else | 9618 else |
9656 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9651 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9657 fi | 9652 fi |
9658 | 9653 |
9659 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9654 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9660 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9655 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9661 echo "configure:9662: checking for tiffio.h" >&5 | 9656 echo "configure:9657: checking for tiffio.h" >&5 |
9662 | 9657 |
9663 cat > conftest.$ac_ext <<EOF | 9658 cat > conftest.$ac_ext <<EOF |
9664 #line 9665 "configure" | 9659 #line 9660 "configure" |
9665 #include "confdefs.h" | 9660 #include "confdefs.h" |
9666 #include <tiffio.h> | 9661 #include <tiffio.h> |
9667 EOF | 9662 EOF |
9668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9669 { (eval echo configure:9670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9664 { (eval echo configure:9665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9671 if test -z "$ac_err"; then | 9666 if test -z "$ac_err"; then |
9672 rm -rf conftest* | 9667 rm -rf conftest* |
9673 eval "ac_cv_header_$ac_safe=yes" | 9668 eval "ac_cv_header_$ac_safe=yes" |
9674 else | 9669 else |
9687 with_tiff=no | 9682 with_tiff=no |
9688 fi | 9683 fi |
9689 } | 9684 } |
9690 test -z "$with_tiff" && { | 9685 test -z "$with_tiff" && { |
9691 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9686 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9692 echo "configure:9693: checking for TIFFClientOpen in -ltiff" >&5 | 9687 echo "configure:9688: checking for TIFFClientOpen in -ltiff" >&5 |
9693 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9688 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9694 | 9689 |
9695 xe_check_libs=" -ltiff " | 9690 xe_check_libs=" -ltiff " |
9696 cat > conftest.$ac_ext <<EOF | 9691 cat > conftest.$ac_ext <<EOF |
9697 #line 9698 "configure" | 9692 #line 9693 "configure" |
9698 #include "confdefs.h" | 9693 #include "confdefs.h" |
9699 /* Override any gcc2 internal prototype to avoid an error. */ | 9694 /* Override any gcc2 internal prototype to avoid an error. */ |
9700 /* We use char because int might match the return type of a gcc2 | 9695 /* We use char because int might match the return type of a gcc2 |
9701 builtin and then its argument prototype would still apply. */ | 9696 builtin and then its argument prototype would still apply. */ |
9702 char TIFFClientOpen(); | 9697 char TIFFClientOpen(); |
9703 | 9698 |
9704 int main() { | 9699 int main() { |
9705 TIFFClientOpen() | 9700 TIFFClientOpen() |
9706 ; return 0; } | 9701 ; return 0; } |
9707 EOF | 9702 EOF |
9708 if { (eval echo configure:9709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9703 if { (eval echo configure:9704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9709 rm -rf conftest* | 9704 rm -rf conftest* |
9710 eval "ac_cv_lib_$ac_lib_var=yes" | 9705 eval "ac_cv_lib_$ac_lib_var=yes" |
9711 else | 9706 else |
9712 echo "configure: failed program was:" >&5 | 9707 echo "configure: failed program was:" >&5 |
9713 cat conftest.$ac_ext >&5 | 9708 cat conftest.$ac_ext >&5 |
9742 | 9737 |
9743 | 9738 |
9744 if test "$with_gtk" = "yes"; then | 9739 if test "$with_gtk" = "yes"; then |
9745 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9740 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9746 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9741 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9747 echo "configure:9748: checking for compface.h" >&5 | 9742 echo "configure:9743: checking for compface.h" >&5 |
9748 | 9743 |
9749 cat > conftest.$ac_ext <<EOF | 9744 cat > conftest.$ac_ext <<EOF |
9750 #line 9751 "configure" | 9745 #line 9746 "configure" |
9751 #include "confdefs.h" | 9746 #include "confdefs.h" |
9752 #include <compface.h> | 9747 #include <compface.h> |
9753 EOF | 9748 EOF |
9754 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9749 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9755 { (eval echo configure:9756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9750 { (eval echo configure:9751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9757 if test -z "$ac_err"; then | 9752 if test -z "$ac_err"; then |
9758 rm -rf conftest* | 9753 rm -rf conftest* |
9759 eval "ac_cv_header_$ac_safe=yes" | 9754 eval "ac_cv_header_$ac_safe=yes" |
9760 else | 9755 else |
9773 with_xface=no | 9768 with_xface=no |
9774 fi | 9769 fi |
9775 } | 9770 } |
9776 test -z "$with_xface" && { | 9771 test -z "$with_xface" && { |
9777 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9772 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9778 echo "configure:9779: checking for UnGenFace in -lcompface" >&5 | 9773 echo "configure:9774: checking for UnGenFace in -lcompface" >&5 |
9779 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9774 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9780 | 9775 |
9781 xe_check_libs=" -lcompface " | 9776 xe_check_libs=" -lcompface " |
9782 cat > conftest.$ac_ext <<EOF | 9777 cat > conftest.$ac_ext <<EOF |
9783 #line 9784 "configure" | 9778 #line 9779 "configure" |
9784 #include "confdefs.h" | 9779 #include "confdefs.h" |
9785 /* Override any gcc2 internal prototype to avoid an error. */ | 9780 /* Override any gcc2 internal prototype to avoid an error. */ |
9786 /* We use char because int might match the return type of a gcc2 | 9781 /* We use char because int might match the return type of a gcc2 |
9787 builtin and then its argument prototype would still apply. */ | 9782 builtin and then its argument prototype would still apply. */ |
9788 char UnGenFace(); | 9783 char UnGenFace(); |
9789 | 9784 |
9790 int main() { | 9785 int main() { |
9791 UnGenFace() | 9786 UnGenFace() |
9792 ; return 0; } | 9787 ; return 0; } |
9793 EOF | 9788 EOF |
9794 if { (eval echo configure:9795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9789 if { (eval echo configure:9790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9795 rm -rf conftest* | 9790 rm -rf conftest* |
9796 eval "ac_cv_lib_$ac_lib_var=yes" | 9791 eval "ac_cv_lib_$ac_lib_var=yes" |
9797 else | 9792 else |
9798 echo "configure: failed program was:" >&5 | 9793 echo "configure: failed program was:" >&5 |
9799 cat conftest.$ac_ext >&5 | 9794 cat conftest.$ac_ext >&5 |
9828 | 9823 |
9829 | 9824 |
9830 | 9825 |
9831 if test "$with_x11" = "yes"; then | 9826 if test "$with_x11" = "yes"; then |
9832 echo "checking for X11 graphics libraries" 1>&6 | 9827 echo "checking for X11 graphics libraries" 1>&6 |
9833 echo "configure:9834: checking for X11 graphics libraries" >&5 | 9828 echo "configure:9829: checking for X11 graphics libraries" >&5 |
9834 fi | 9829 fi |
9835 | 9830 |
9836 case "$with_widgets" in | 9831 case "$with_widgets" in |
9837 "yes" | "athena") detect_athena=yes ;; | 9832 "yes" | "athena") detect_athena=yes ;; |
9838 *) detect_athena=no ;; | 9833 *) detect_athena=no ;; |
9839 esac | 9834 esac |
9840 | 9835 |
9841 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9836 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9842 echo "checking for the Athena widgets" 1>&6 | 9837 echo "checking for the Athena widgets" 1>&6 |
9843 echo "configure:9844: checking for the Athena widgets" >&5 | 9838 echo "configure:9839: checking for the Athena widgets" >&5 |
9844 | 9839 |
9845 case "$with_athena" in | 9840 case "$with_athena" in |
9846 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9841 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9847 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9842 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9848 "next") athena_variant=neXtaw athena_3d=yes ;; | 9843 "next") athena_variant=neXtaw athena_3d=yes ;; |
9852 esac | 9847 esac |
9853 | 9848 |
9854 if test "$athena_3d" = "no"; then | 9849 if test "$athena_3d" = "no"; then |
9855 | 9850 |
9856 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9851 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
9857 echo "configure:9858: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 9852 echo "configure:9853: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
9858 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 9853 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
9859 | 9854 |
9860 xe_check_libs=" -l$athena_variant " | 9855 xe_check_libs=" -l$athena_variant " |
9861 cat > conftest.$ac_ext <<EOF | 9856 cat > conftest.$ac_ext <<EOF |
9862 #line 9863 "configure" | 9857 #line 9858 "configure" |
9863 #include "confdefs.h" | 9858 #include "confdefs.h" |
9864 /* Override any gcc2 internal prototype to avoid an error. */ | 9859 /* Override any gcc2 internal prototype to avoid an error. */ |
9865 /* We use char because int might match the return type of a gcc2 | 9860 /* We use char because int might match the return type of a gcc2 |
9866 builtin and then its argument prototype would still apply. */ | 9861 builtin and then its argument prototype would still apply. */ |
9867 char XawScrollbarSetThumb(); | 9862 char XawScrollbarSetThumb(); |
9868 | 9863 |
9869 int main() { | 9864 int main() { |
9870 XawScrollbarSetThumb() | 9865 XawScrollbarSetThumb() |
9871 ; return 0; } | 9866 ; return 0; } |
9872 EOF | 9867 EOF |
9873 if { (eval echo configure:9874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9868 if { (eval echo configure:9869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9874 rm -rf conftest* | 9869 rm -rf conftest* |
9875 eval "ac_cv_lib_$ac_lib_var=yes" | 9870 eval "ac_cv_lib_$ac_lib_var=yes" |
9876 else | 9871 else |
9877 echo "configure: failed program was:" >&5 | 9872 echo "configure: failed program was:" >&5 |
9878 cat conftest.$ac_ext >&5 | 9873 cat conftest.$ac_ext >&5 |
9884 | 9879 |
9885 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 9880 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
9886 echo "$ac_t""yes" 1>&6 | 9881 echo "$ac_t""yes" 1>&6 |
9887 | 9882 |
9888 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9883 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9889 echo "configure:9890: checking for threeDClassRec in -l$athena_variant" >&5 | 9884 echo "configure:9885: checking for threeDClassRec in -l$athena_variant" >&5 |
9890 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9885 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9891 | 9886 |
9892 xe_check_libs=" -l$athena_variant " | 9887 xe_check_libs=" -l$athena_variant " |
9893 cat > conftest.$ac_ext <<EOF | 9888 cat > conftest.$ac_ext <<EOF |
9894 #line 9895 "configure" | 9889 #line 9890 "configure" |
9895 #include "confdefs.h" | 9890 #include "confdefs.h" |
9896 /* Override any gcc2 internal prototype to avoid an error. */ | 9891 /* Override any gcc2 internal prototype to avoid an error. */ |
9897 /* We use char because int might match the return type of a gcc2 | 9892 /* We use char because int might match the return type of a gcc2 |
9898 builtin and then its argument prototype would still apply. */ | 9893 builtin and then its argument prototype would still apply. */ |
9899 char threeDClassRec(); | 9894 char threeDClassRec(); |
9900 | 9895 |
9901 int main() { | 9896 int main() { |
9902 threeDClassRec() | 9897 threeDClassRec() |
9903 ; return 0; } | 9898 ; return 0; } |
9904 EOF | 9899 EOF |
9905 if { (eval echo configure:9906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9900 if { (eval echo configure:9901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9906 rm -rf conftest* | 9901 rm -rf conftest* |
9907 eval "ac_cv_lib_$ac_lib_var=yes" | 9902 eval "ac_cv_lib_$ac_lib_var=yes" |
9908 else | 9903 else |
9909 echo "configure: failed program was:" >&5 | 9904 echo "configure: failed program was:" >&5 |
9910 cat conftest.$ac_ext >&5 | 9905 cat conftest.$ac_ext >&5 |
9931 | 9926 |
9932 | 9927 |
9933 else | 9928 else |
9934 | 9929 |
9935 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9930 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9936 echo "configure:9937: checking for threeDClassRec in -l$athena_variant" >&5 | 9931 echo "configure:9932: checking for threeDClassRec in -l$athena_variant" >&5 |
9937 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9932 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9938 | 9933 |
9939 xe_check_libs=" -l$athena_variant " | 9934 xe_check_libs=" -l$athena_variant " |
9940 cat > conftest.$ac_ext <<EOF | 9935 cat > conftest.$ac_ext <<EOF |
9941 #line 9942 "configure" | 9936 #line 9937 "configure" |
9942 #include "confdefs.h" | 9937 #include "confdefs.h" |
9943 /* Override any gcc2 internal prototype to avoid an error. */ | 9938 /* Override any gcc2 internal prototype to avoid an error. */ |
9944 /* We use char because int might match the return type of a gcc2 | 9939 /* We use char because int might match the return type of a gcc2 |
9945 builtin and then its argument prototype would still apply. */ | 9940 builtin and then its argument prototype would still apply. */ |
9946 char threeDClassRec(); | 9941 char threeDClassRec(); |
9947 | 9942 |
9948 int main() { | 9943 int main() { |
9949 threeDClassRec() | 9944 threeDClassRec() |
9950 ; return 0; } | 9945 ; return 0; } |
9951 EOF | 9946 EOF |
9952 if { (eval echo configure:9953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9947 if { (eval echo configure:9948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9953 rm -rf conftest* | 9948 rm -rf conftest* |
9954 eval "ac_cv_lib_$ac_lib_var=yes" | 9949 eval "ac_cv_lib_$ac_lib_var=yes" |
9955 else | 9950 else |
9956 echo "configure: failed program was:" >&5 | 9951 echo "configure: failed program was:" >&5 |
9957 cat conftest.$ac_ext >&5 | 9952 cat conftest.$ac_ext >&5 |
9965 echo "$ac_t""yes" 1>&6 | 9960 echo "$ac_t""yes" 1>&6 |
9966 athena_lib=$athena_variant | 9961 athena_lib=$athena_variant |
9967 else | 9962 else |
9968 echo "$ac_t""no" 1>&6 | 9963 echo "$ac_t""no" 1>&6 |
9969 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 9964 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
9970 echo "configure:9971: checking for threeDClassRec in -lXaw" >&5 | 9965 echo "configure:9966: checking for threeDClassRec in -lXaw" >&5 |
9971 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9966 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
9972 | 9967 |
9973 xe_check_libs=" -lXaw " | 9968 xe_check_libs=" -lXaw " |
9974 cat > conftest.$ac_ext <<EOF | 9969 cat > conftest.$ac_ext <<EOF |
9975 #line 9976 "configure" | 9970 #line 9971 "configure" |
9976 #include "confdefs.h" | 9971 #include "confdefs.h" |
9977 /* Override any gcc2 internal prototype to avoid an error. */ | 9972 /* Override any gcc2 internal prototype to avoid an error. */ |
9978 /* We use char because int might match the return type of a gcc2 | 9973 /* We use char because int might match the return type of a gcc2 |
9979 builtin and then its argument prototype would still apply. */ | 9974 builtin and then its argument prototype would still apply. */ |
9980 char threeDClassRec(); | 9975 char threeDClassRec(); |
9981 | 9976 |
9982 int main() { | 9977 int main() { |
9983 threeDClassRec() | 9978 threeDClassRec() |
9984 ; return 0; } | 9979 ; return 0; } |
9985 EOF | 9980 EOF |
9986 if { (eval echo configure:9987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9981 if { (eval echo configure:9982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9987 rm -rf conftest* | 9982 rm -rf conftest* |
9988 eval "ac_cv_lib_$ac_lib_var=yes" | 9983 eval "ac_cv_lib_$ac_lib_var=yes" |
9989 else | 9984 else |
9990 echo "configure: failed program was:" >&5 | 9985 echo "configure: failed program was:" >&5 |
9991 cat conftest.$ac_ext >&5 | 9986 cat conftest.$ac_ext >&5 |
10012 fi | 10007 fi |
10013 | 10008 |
10014 if test "$athena_3d" = "no"; then | 10009 if test "$athena_3d" = "no"; then |
10015 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10010 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10016 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10011 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10017 echo "configure:10018: checking for X11/Xaw/ThreeD.h" >&5 | 10012 echo "configure:10013: checking for X11/Xaw/ThreeD.h" >&5 |
10018 | 10013 |
10019 cat > conftest.$ac_ext <<EOF | 10014 cat > conftest.$ac_ext <<EOF |
10020 #line 10021 "configure" | 10015 #line 10016 "configure" |
10021 #include "confdefs.h" | 10016 #include "confdefs.h" |
10022 #include <X11/Xaw/ThreeD.h> | 10017 #include <X11/Xaw/ThreeD.h> |
10023 EOF | 10018 EOF |
10024 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10025 { (eval echo configure:10026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10020 { (eval echo configure:10021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10026 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10021 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10027 if test -z "$ac_err"; then | 10022 if test -z "$ac_err"; then |
10028 rm -rf conftest* | 10023 rm -rf conftest* |
10029 eval "ac_cv_header_$ac_safe=yes" | 10024 eval "ac_cv_header_$ac_safe=yes" |
10030 else | 10025 else |
10040 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10035 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10041 else | 10036 else |
10042 echo "$ac_t""no" 1>&6 | 10037 echo "$ac_t""no" 1>&6 |
10043 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10038 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10044 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10039 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10045 echo "configure:10046: checking for X11/Xaw/XawInit.h" >&5 | 10040 echo "configure:10041: checking for X11/Xaw/XawInit.h" >&5 |
10046 | 10041 |
10047 cat > conftest.$ac_ext <<EOF | 10042 cat > conftest.$ac_ext <<EOF |
10048 #line 10049 "configure" | 10043 #line 10044 "configure" |
10049 #include "confdefs.h" | 10044 #include "confdefs.h" |
10050 #include <X11/Xaw/XawInit.h> | 10045 #include <X11/Xaw/XawInit.h> |
10051 EOF | 10046 EOF |
10052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10047 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10053 { (eval echo configure:10054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10048 { (eval echo configure:10049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10049 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10055 if test -z "$ac_err"; then | 10050 if test -z "$ac_err"; then |
10056 rm -rf conftest* | 10051 rm -rf conftest* |
10057 eval "ac_cv_header_$ac_safe=yes" | 10052 eval "ac_cv_header_$ac_safe=yes" |
10058 else | 10053 else |
10074 fi | 10069 fi |
10075 | 10070 |
10076 else | 10071 else |
10077 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10072 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10078 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10073 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10079 echo "configure:10080: checking for X11/$athena_variant/XawInit.h" >&5 | 10074 echo "configure:10075: checking for X11/$athena_variant/XawInit.h" >&5 |
10080 | 10075 |
10081 cat > conftest.$ac_ext <<EOF | 10076 cat > conftest.$ac_ext <<EOF |
10082 #line 10083 "configure" | 10077 #line 10078 "configure" |
10083 #include "confdefs.h" | 10078 #include "confdefs.h" |
10084 #include <X11/$athena_variant/XawInit.h> | 10079 #include <X11/$athena_variant/XawInit.h> |
10085 EOF | 10080 EOF |
10086 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10087 { (eval echo configure:10088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10082 { (eval echo configure:10083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10088 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10089 if test -z "$ac_err"; then | 10084 if test -z "$ac_err"; then |
10090 rm -rf conftest* | 10085 rm -rf conftest* |
10091 eval "ac_cv_header_$ac_safe=yes" | 10086 eval "ac_cv_header_$ac_safe=yes" |
10092 else | 10087 else |
10099 rm -f conftest* | 10094 rm -f conftest* |
10100 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10095 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10101 echo "$ac_t""yes" 1>&6 | 10096 echo "$ac_t""yes" 1>&6 |
10102 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10097 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10103 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10098 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10104 echo "configure:10105: checking for X11/$athena_variant/ThreeD.h" >&5 | 10099 echo "configure:10100: checking for X11/$athena_variant/ThreeD.h" >&5 |
10105 | 10100 |
10106 cat > conftest.$ac_ext <<EOF | 10101 cat > conftest.$ac_ext <<EOF |
10107 #line 10108 "configure" | 10102 #line 10103 "configure" |
10108 #include "confdefs.h" | 10103 #include "confdefs.h" |
10109 #include <X11/$athena_variant/ThreeD.h> | 10104 #include <X11/$athena_variant/ThreeD.h> |
10110 EOF | 10105 EOF |
10111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10106 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10112 { (eval echo configure:10113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10107 { (eval echo configure:10108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10108 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10114 if test -z "$ac_err"; then | 10109 if test -z "$ac_err"; then |
10115 rm -rf conftest* | 10110 rm -rf conftest* |
10116 eval "ac_cv_header_$ac_safe=yes" | 10111 eval "ac_cv_header_$ac_safe=yes" |
10117 else | 10112 else |
10135 | 10130 |
10136 | 10131 |
10137 if test -z "$athena_h_path"; then | 10132 if test -z "$athena_h_path"; then |
10138 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10133 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10139 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10134 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10140 echo "configure:10141: checking for $athena_variant/XawInit.h" >&5 | 10135 echo "configure:10136: checking for $athena_variant/XawInit.h" >&5 |
10141 | 10136 |
10142 cat > conftest.$ac_ext <<EOF | 10137 cat > conftest.$ac_ext <<EOF |
10143 #line 10144 "configure" | 10138 #line 10139 "configure" |
10144 #include "confdefs.h" | 10139 #include "confdefs.h" |
10145 #include <$athena_variant/XawInit.h> | 10140 #include <$athena_variant/XawInit.h> |
10146 EOF | 10141 EOF |
10147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10148 { (eval echo configure:10149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10143 { (eval echo configure:10144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10149 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10150 if test -z "$ac_err"; then | 10145 if test -z "$ac_err"; then |
10151 rm -rf conftest* | 10146 rm -rf conftest* |
10152 eval "ac_cv_header_$ac_safe=yes" | 10147 eval "ac_cv_header_$ac_safe=yes" |
10153 else | 10148 else |
10160 rm -f conftest* | 10155 rm -f conftest* |
10161 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10156 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10162 echo "$ac_t""yes" 1>&6 | 10157 echo "$ac_t""yes" 1>&6 |
10163 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10158 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10164 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10159 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10165 echo "configure:10166: checking for $athena_variant/ThreeD.h" >&5 | 10160 echo "configure:10161: checking for $athena_variant/ThreeD.h" >&5 |
10166 | 10161 |
10167 cat > conftest.$ac_ext <<EOF | 10162 cat > conftest.$ac_ext <<EOF |
10168 #line 10169 "configure" | 10163 #line 10164 "configure" |
10169 #include "confdefs.h" | 10164 #include "confdefs.h" |
10170 #include <$athena_variant/ThreeD.h> | 10165 #include <$athena_variant/ThreeD.h> |
10171 EOF | 10166 EOF |
10172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10173 { (eval echo configure:10174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10168 { (eval echo configure:10169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10175 if test -z "$ac_err"; then | 10170 if test -z "$ac_err"; then |
10176 rm -rf conftest* | 10171 rm -rf conftest* |
10177 eval "ac_cv_header_$ac_safe=yes" | 10172 eval "ac_cv_header_$ac_safe=yes" |
10178 else | 10173 else |
10197 fi | 10192 fi |
10198 | 10193 |
10199 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10194 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10200 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10195 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10201 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10196 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10202 echo "configure:10203: checking for X11/Xaw3d/XawInit.h" >&5 | 10197 echo "configure:10198: checking for X11/Xaw3d/XawInit.h" >&5 |
10203 | 10198 |
10204 cat > conftest.$ac_ext <<EOF | 10199 cat > conftest.$ac_ext <<EOF |
10205 #line 10206 "configure" | 10200 #line 10201 "configure" |
10206 #include "confdefs.h" | 10201 #include "confdefs.h" |
10207 #include <X11/Xaw3d/XawInit.h> | 10202 #include <X11/Xaw3d/XawInit.h> |
10208 EOF | 10203 EOF |
10209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10210 { (eval echo configure:10211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10205 { (eval echo configure:10206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10211 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10212 if test -z "$ac_err"; then | 10207 if test -z "$ac_err"; then |
10213 rm -rf conftest* | 10208 rm -rf conftest* |
10214 eval "ac_cv_header_$ac_safe=yes" | 10209 eval "ac_cv_header_$ac_safe=yes" |
10215 else | 10210 else |
10222 rm -f conftest* | 10217 rm -f conftest* |
10223 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10218 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10224 echo "$ac_t""yes" 1>&6 | 10219 echo "$ac_t""yes" 1>&6 |
10225 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10220 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10226 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10221 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10227 echo "configure:10228: checking for X11/Xaw3d/ThreeD.h" >&5 | 10222 echo "configure:10223: checking for X11/Xaw3d/ThreeD.h" >&5 |
10228 | 10223 |
10229 cat > conftest.$ac_ext <<EOF | 10224 cat > conftest.$ac_ext <<EOF |
10230 #line 10231 "configure" | 10225 #line 10226 "configure" |
10231 #include "confdefs.h" | 10226 #include "confdefs.h" |
10232 #include <X11/Xaw3d/ThreeD.h> | 10227 #include <X11/Xaw3d/ThreeD.h> |
10233 EOF | 10228 EOF |
10234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10235 { (eval echo configure:10236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10230 { (eval echo configure:10231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10237 if test -z "$ac_err"; then | 10232 if test -z "$ac_err"; then |
10238 rm -rf conftest* | 10233 rm -rf conftest* |
10239 eval "ac_cv_header_$ac_safe=yes" | 10234 eval "ac_cv_header_$ac_safe=yes" |
10240 else | 10235 else |
10262 fi | 10257 fi |
10263 | 10258 |
10264 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10259 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10265 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10260 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10266 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10261 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10267 echo "configure:10268: checking for Xaw3d/XawInit.h" >&5 | 10262 echo "configure:10263: checking for Xaw3d/XawInit.h" >&5 |
10268 | 10263 |
10269 cat > conftest.$ac_ext <<EOF | 10264 cat > conftest.$ac_ext <<EOF |
10270 #line 10271 "configure" | 10265 #line 10266 "configure" |
10271 #include "confdefs.h" | 10266 #include "confdefs.h" |
10272 #include <Xaw3d/XawInit.h> | 10267 #include <Xaw3d/XawInit.h> |
10273 EOF | 10268 EOF |
10274 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10275 { (eval echo configure:10276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10270 { (eval echo configure:10271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10276 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10271 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10277 if test -z "$ac_err"; then | 10272 if test -z "$ac_err"; then |
10278 rm -rf conftest* | 10273 rm -rf conftest* |
10279 eval "ac_cv_header_$ac_safe=yes" | 10274 eval "ac_cv_header_$ac_safe=yes" |
10280 else | 10275 else |
10287 rm -f conftest* | 10282 rm -f conftest* |
10288 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10283 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10289 echo "$ac_t""yes" 1>&6 | 10284 echo "$ac_t""yes" 1>&6 |
10290 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10285 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10291 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10286 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10292 echo "configure:10293: checking for Xaw3d/ThreeD.h" >&5 | 10287 echo "configure:10288: checking for Xaw3d/ThreeD.h" >&5 |
10293 | 10288 |
10294 cat > conftest.$ac_ext <<EOF | 10289 cat > conftest.$ac_ext <<EOF |
10295 #line 10296 "configure" | 10290 #line 10291 "configure" |
10296 #include "confdefs.h" | 10291 #include "confdefs.h" |
10297 #include <Xaw3d/ThreeD.h> | 10292 #include <Xaw3d/ThreeD.h> |
10298 EOF | 10293 EOF |
10299 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10300 { (eval echo configure:10301: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10295 { (eval echo configure:10296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10301 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10296 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10302 if test -z "$ac_err"; then | 10297 if test -z "$ac_err"; then |
10303 rm -rf conftest* | 10298 rm -rf conftest* |
10304 eval "ac_cv_header_$ac_safe=yes" | 10299 eval "ac_cv_header_$ac_safe=yes" |
10305 else | 10300 else |
10327 fi | 10322 fi |
10328 | 10323 |
10329 if test -z "$athena_h_path"; then | 10324 if test -z "$athena_h_path"; then |
10330 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10325 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10331 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10326 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10332 echo "configure:10333: checking for X11/Xaw/ThreeD.h" >&5 | 10327 echo "configure:10328: checking for X11/Xaw/ThreeD.h" >&5 |
10333 | 10328 |
10334 cat > conftest.$ac_ext <<EOF | 10329 cat > conftest.$ac_ext <<EOF |
10335 #line 10336 "configure" | 10330 #line 10331 "configure" |
10336 #include "confdefs.h" | 10331 #include "confdefs.h" |
10337 #include <X11/Xaw/ThreeD.h> | 10332 #include <X11/Xaw/ThreeD.h> |
10338 EOF | 10333 EOF |
10339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10340 { (eval echo configure:10341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10335 { (eval echo configure:10336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10342 if test -z "$ac_err"; then | 10337 if test -z "$ac_err"; then |
10343 rm -rf conftest* | 10338 rm -rf conftest* |
10344 eval "ac_cv_header_$ac_safe=yes" | 10339 eval "ac_cv_header_$ac_safe=yes" |
10345 else | 10340 else |
10374 have_xaw=no | 10369 have_xaw=no |
10375 fi | 10370 fi |
10376 if test "$with_x11" = "yes"; then | 10371 if test "$with_x11" = "yes"; then |
10377 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10372 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10378 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10373 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10379 echo "configure:10380: checking for Xm/Xm.h" >&5 | 10374 echo "configure:10375: checking for Xm/Xm.h" >&5 |
10380 | 10375 |
10381 cat > conftest.$ac_ext <<EOF | 10376 cat > conftest.$ac_ext <<EOF |
10382 #line 10383 "configure" | 10377 #line 10378 "configure" |
10383 #include "confdefs.h" | 10378 #include "confdefs.h" |
10384 #include <Xm/Xm.h> | 10379 #include <Xm/Xm.h> |
10385 EOF | 10380 EOF |
10386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10387 { (eval echo configure:10388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10382 { (eval echo configure:10383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10388 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10389 if test -z "$ac_err"; then | 10384 if test -z "$ac_err"; then |
10390 rm -rf conftest* | 10385 rm -rf conftest* |
10391 eval "ac_cv_header_$ac_safe=yes" | 10386 eval "ac_cv_header_$ac_safe=yes" |
10392 else | 10387 else |
10399 rm -f conftest* | 10394 rm -f conftest* |
10400 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10395 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10401 echo "$ac_t""yes" 1>&6 | 10396 echo "$ac_t""yes" 1>&6 |
10402 | 10397 |
10403 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10398 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10404 echo "configure:10405: checking for XmStringFree in -lXm" >&5 | 10399 echo "configure:10400: checking for XmStringFree in -lXm" >&5 |
10405 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10400 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10406 | 10401 |
10407 xe_check_libs=" -lXm " | 10402 xe_check_libs=" -lXm " |
10408 cat > conftest.$ac_ext <<EOF | 10403 cat > conftest.$ac_ext <<EOF |
10409 #line 10410 "configure" | 10404 #line 10405 "configure" |
10410 #include "confdefs.h" | 10405 #include "confdefs.h" |
10411 /* Override any gcc2 internal prototype to avoid an error. */ | 10406 /* Override any gcc2 internal prototype to avoid an error. */ |
10412 /* 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 |
10413 builtin and then its argument prototype would still apply. */ | 10408 builtin and then its argument prototype would still apply. */ |
10414 char XmStringFree(); | 10409 char XmStringFree(); |
10415 | 10410 |
10416 int main() { | 10411 int main() { |
10417 XmStringFree() | 10412 XmStringFree() |
10418 ; return 0; } | 10413 ; return 0; } |
10419 EOF | 10414 EOF |
10420 if { (eval echo configure:10421: \"$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 |
10421 rm -rf conftest* | 10416 rm -rf conftest* |
10422 eval "ac_cv_lib_$ac_lib_var=yes" | 10417 eval "ac_cv_lib_$ac_lib_var=yes" |
10423 else | 10418 else |
10424 echo "configure: failed program was:" >&5 | 10419 echo "configure: failed program was:" >&5 |
10425 cat conftest.$ac_ext >&5 | 10420 cat conftest.$ac_ext >&5 |
10444 fi | 10439 fi |
10445 | 10440 |
10446 | 10441 |
10447 if test "$have_motif" = "yes"; then | 10442 if test "$have_motif" = "yes"; then |
10448 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10443 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10449 echo "configure:10450: checking for Lesstif" >&5 | 10444 echo "configure:10445: checking for Lesstif" >&5 |
10450 cat > conftest.$ac_ext <<EOF | 10445 cat > conftest.$ac_ext <<EOF |
10451 #line 10452 "configure" | 10446 #line 10447 "configure" |
10452 #include "confdefs.h" | 10447 #include "confdefs.h" |
10453 #include <Xm/Xm.h> | 10448 #include <Xm/Xm.h> |
10454 #ifdef LESSTIF_VERSION | 10449 #ifdef LESSTIF_VERSION |
10455 yes | 10450 yes |
10456 #endif | 10451 #endif |
10819 | 10814 |
10820 fi | 10815 fi |
10821 | 10816 |
10822 if test "$with_mule" = "yes" ; then | 10817 if test "$with_mule" = "yes" ; then |
10823 echo "checking for Mule-related features" 1>&6 | 10818 echo "checking for Mule-related features" 1>&6 |
10824 echo "configure:10825: checking for Mule-related features" >&5 | 10819 echo "configure:10820: checking for Mule-related features" >&5 |
10825 { test "$extra_verbose" = "yes" && cat << \EOF | 10820 { test "$extra_verbose" = "yes" && cat << \EOF |
10826 Defining MULE | 10821 Defining MULE |
10827 EOF | 10822 EOF |
10828 cat >> confdefs.h <<\EOF | 10823 cat >> confdefs.h <<\EOF |
10829 #define MULE 1 | 10824 #define MULE 1 |
10833 | 10828 |
10834 for ac_hdr in libintl.h | 10829 for ac_hdr in libintl.h |
10835 do | 10830 do |
10836 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10831 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10837 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10832 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10838 echo "configure:10839: checking for $ac_hdr" >&5 | 10833 echo "configure:10834: checking for $ac_hdr" >&5 |
10839 | 10834 |
10840 cat > conftest.$ac_ext <<EOF | 10835 cat > conftest.$ac_ext <<EOF |
10841 #line 10842 "configure" | 10836 #line 10837 "configure" |
10842 #include "confdefs.h" | 10837 #include "confdefs.h" |
10843 #include <$ac_hdr> | 10838 #include <$ac_hdr> |
10844 EOF | 10839 EOF |
10845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10840 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10846 { (eval echo configure:10847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10841 { (eval echo configure:10842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10842 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10848 if test -z "$ac_err"; then | 10843 if test -z "$ac_err"; then |
10849 rm -rf conftest* | 10844 rm -rf conftest* |
10850 eval "ac_cv_header_$ac_safe=yes" | 10845 eval "ac_cv_header_$ac_safe=yes" |
10851 else | 10846 else |
10872 fi | 10867 fi |
10873 done | 10868 done |
10874 | 10869 |
10875 | 10870 |
10876 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 10871 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
10877 echo "configure:10878: checking for strerror in -lintl" >&5 | 10872 echo "configure:10873: checking for strerror in -lintl" >&5 |
10878 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 10873 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
10879 | 10874 |
10880 xe_check_libs=" -lintl " | 10875 xe_check_libs=" -lintl " |
10881 cat > conftest.$ac_ext <<EOF | 10876 cat > conftest.$ac_ext <<EOF |
10882 #line 10883 "configure" | 10877 #line 10878 "configure" |
10883 #include "confdefs.h" | 10878 #include "confdefs.h" |
10884 /* Override any gcc2 internal prototype to avoid an error. */ | 10879 /* Override any gcc2 internal prototype to avoid an error. */ |
10885 /* We use char because int might match the return type of a gcc2 | 10880 /* We use char because int might match the return type of a gcc2 |
10886 builtin and then its argument prototype would still apply. */ | 10881 builtin and then its argument prototype would still apply. */ |
10887 char strerror(); | 10882 char strerror(); |
10888 | 10883 |
10889 int main() { | 10884 int main() { |
10890 strerror() | 10885 strerror() |
10891 ; return 0; } | 10886 ; return 0; } |
10892 EOF | 10887 EOF |
10893 if { (eval echo configure:10894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10888 if { (eval echo configure:10889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10894 rm -rf conftest* | 10889 rm -rf conftest* |
10895 eval "ac_cv_lib_$ac_lib_var=yes" | 10890 eval "ac_cv_lib_$ac_lib_var=yes" |
10896 else | 10891 else |
10897 echo "configure: failed program was:" >&5 | 10892 echo "configure: failed program was:" >&5 |
10898 cat conftest.$ac_ext >&5 | 10893 cat conftest.$ac_ext >&5 |
10921 fi | 10916 fi |
10922 | 10917 |
10923 | 10918 |
10924 | 10919 |
10925 echo "checking for Mule input methods" 1>&6 | 10920 echo "checking for Mule input methods" 1>&6 |
10926 echo "configure:10927: checking for Mule input methods" >&5 | 10921 echo "configure:10922: checking for Mule input methods" >&5 |
10927 case "$with_xim" in "" | "yes" ) | 10922 case "$with_xim" in "" | "yes" ) |
10928 echo "checking for XIM" 1>&6 | 10923 echo "checking for XIM" 1>&6 |
10929 echo "configure:10930: checking for XIM" >&5 | 10924 echo "configure:10925: checking for XIM" >&5 |
10930 | 10925 |
10931 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10926 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
10932 echo "configure:10933: checking for XOpenIM in -lX11" >&5 | 10927 echo "configure:10928: checking for XOpenIM in -lX11" >&5 |
10933 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10928 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
10934 | 10929 |
10935 xe_check_libs=" -lX11 " | 10930 xe_check_libs=" -lX11 " |
10936 cat > conftest.$ac_ext <<EOF | 10931 cat > conftest.$ac_ext <<EOF |
10937 #line 10938 "configure" | 10932 #line 10933 "configure" |
10938 #include "confdefs.h" | 10933 #include "confdefs.h" |
10939 /* Override any gcc2 internal prototype to avoid an error. */ | 10934 /* Override any gcc2 internal prototype to avoid an error. */ |
10940 /* We use char because int might match the return type of a gcc2 | 10935 /* We use char because int might match the return type of a gcc2 |
10941 builtin and then its argument prototype would still apply. */ | 10936 builtin and then its argument prototype would still apply. */ |
10942 char XOpenIM(); | 10937 char XOpenIM(); |
10943 | 10938 |
10944 int main() { | 10939 int main() { |
10945 XOpenIM() | 10940 XOpenIM() |
10946 ; return 0; } | 10941 ; return 0; } |
10947 EOF | 10942 EOF |
10948 if { (eval echo configure:10949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10943 if { (eval echo configure:10944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10949 rm -rf conftest* | 10944 rm -rf conftest* |
10950 eval "ac_cv_lib_$ac_lib_var=yes" | 10945 eval "ac_cv_lib_$ac_lib_var=yes" |
10951 else | 10946 else |
10952 echo "configure: failed program was:" >&5 | 10947 echo "configure: failed program was:" >&5 |
10953 cat conftest.$ac_ext >&5 | 10948 cat conftest.$ac_ext >&5 |
10967 | 10962 |
10968 | 10963 |
10969 if test "$have_motif $have_lesstif" = "yes no"; then | 10964 if test "$have_motif $have_lesstif" = "yes no"; then |
10970 | 10965 |
10971 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10966 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10972 echo "configure:10973: checking for XmImMbLookupString in -lXm" >&5 | 10967 echo "configure:10968: checking for XmImMbLookupString in -lXm" >&5 |
10973 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10968 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10974 | 10969 |
10975 xe_check_libs=" -lXm " | 10970 xe_check_libs=" -lXm " |
10976 cat > conftest.$ac_ext <<EOF | 10971 cat > conftest.$ac_ext <<EOF |
10977 #line 10978 "configure" | 10972 #line 10973 "configure" |
10978 #include "confdefs.h" | 10973 #include "confdefs.h" |
10979 /* Override any gcc2 internal prototype to avoid an error. */ | 10974 /* Override any gcc2 internal prototype to avoid an error. */ |
10980 /* We use char because int might match the return type of a gcc2 | 10975 /* We use char because int might match the return type of a gcc2 |
10981 builtin and then its argument prototype would still apply. */ | 10976 builtin and then its argument prototype would still apply. */ |
10982 char XmImMbLookupString(); | 10977 char XmImMbLookupString(); |
10983 | 10978 |
10984 int main() { | 10979 int main() { |
10985 XmImMbLookupString() | 10980 XmImMbLookupString() |
10986 ; return 0; } | 10981 ; return 0; } |
10987 EOF | 10982 EOF |
10988 if { (eval echo configure:10989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10983 if { (eval echo configure:10984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10989 rm -rf conftest* | 10984 rm -rf conftest* |
10990 eval "ac_cv_lib_$ac_lib_var=yes" | 10985 eval "ac_cv_lib_$ac_lib_var=yes" |
10991 else | 10986 else |
10992 echo "configure: failed program was:" >&5 | 10987 echo "configure: failed program was:" >&5 |
10993 cat conftest.$ac_ext >&5 | 10988 cat conftest.$ac_ext >&5 |
11048 fi | 11043 fi |
11049 fi | 11044 fi |
11050 | 11045 |
11051 if test "$with_xfs" = "yes" ; then | 11046 if test "$with_xfs" = "yes" ; then |
11052 echo "checking for XFontSet" 1>&6 | 11047 echo "checking for XFontSet" 1>&6 |
11053 echo "configure:11054: checking for XFontSet" >&5 | 11048 echo "configure:11049: checking for XFontSet" >&5 |
11054 | 11049 |
11055 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11050 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11056 echo "configure:11057: checking for XmbDrawString in -lX11" >&5 | 11051 echo "configure:11052: checking for XmbDrawString in -lX11" >&5 |
11057 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11052 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11058 | 11053 |
11059 xe_check_libs=" -lX11 " | 11054 xe_check_libs=" -lX11 " |
11060 cat > conftest.$ac_ext <<EOF | 11055 cat > conftest.$ac_ext <<EOF |
11061 #line 11062 "configure" | 11056 #line 11057 "configure" |
11062 #include "confdefs.h" | 11057 #include "confdefs.h" |
11063 /* Override any gcc2 internal prototype to avoid an error. */ | 11058 /* Override any gcc2 internal prototype to avoid an error. */ |
11064 /* We use char because int might match the return type of a gcc2 | 11059 /* We use char because int might match the return type of a gcc2 |
11065 builtin and then its argument prototype would still apply. */ | 11060 builtin and then its argument prototype would still apply. */ |
11066 char XmbDrawString(); | 11061 char XmbDrawString(); |
11067 | 11062 |
11068 int main() { | 11063 int main() { |
11069 XmbDrawString() | 11064 XmbDrawString() |
11070 ; return 0; } | 11065 ; return 0; } |
11071 EOF | 11066 EOF |
11072 if { (eval echo configure:11073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11067 if { (eval echo configure:11068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11073 rm -rf conftest* | 11068 rm -rf conftest* |
11074 eval "ac_cv_lib_$ac_lib_var=yes" | 11069 eval "ac_cv_lib_$ac_lib_var=yes" |
11075 else | 11070 else |
11076 echo "configure: failed program was:" >&5 | 11071 echo "configure: failed program was:" >&5 |
11077 cat conftest.$ac_ext >&5 | 11072 cat conftest.$ac_ext >&5 |
11107 fi | 11102 fi |
11108 fi | 11103 fi |
11109 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11104 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11110 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11105 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11111 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11106 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11112 echo "configure:11113: checking for wnn/jllib.h" >&5 | 11107 echo "configure:11108: checking for wnn/jllib.h" >&5 |
11113 | 11108 |
11114 cat > conftest.$ac_ext <<EOF | 11109 cat > conftest.$ac_ext <<EOF |
11115 #line 11116 "configure" | 11110 #line 11111 "configure" |
11116 #include "confdefs.h" | 11111 #include "confdefs.h" |
11117 #include <wnn/jllib.h> | 11112 #include <wnn/jllib.h> |
11118 EOF | 11113 EOF |
11119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11120 { (eval echo configure:11121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11115 { (eval echo configure:11116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11122 if test -z "$ac_err"; then | 11117 if test -z "$ac_err"; then |
11123 rm -rf conftest* | 11118 rm -rf conftest* |
11124 eval "ac_cv_header_$ac_safe=yes" | 11119 eval "ac_cv_header_$ac_safe=yes" |
11125 else | 11120 else |
11138 with_wnn=no | 11133 with_wnn=no |
11139 fi | 11134 fi |
11140 } | 11135 } |
11141 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11136 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11142 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11137 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11143 echo "configure:11144: checking for wnn/commonhd.h" >&5 | 11138 echo "configure:11139: checking for wnn/commonhd.h" >&5 |
11144 | 11139 |
11145 cat > conftest.$ac_ext <<EOF | 11140 cat > conftest.$ac_ext <<EOF |
11146 #line 11147 "configure" | 11141 #line 11142 "configure" |
11147 #include "confdefs.h" | 11142 #include "confdefs.h" |
11148 #include <wnn/commonhd.h> | 11143 #include <wnn/commonhd.h> |
11149 EOF | 11144 EOF |
11150 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11151 { (eval echo configure:11152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11146 { (eval echo configure:11147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11152 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11147 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11153 if test -z "$ac_err"; then | 11148 if test -z "$ac_err"; then |
11154 rm -rf conftest* | 11149 rm -rf conftest* |
11155 eval "ac_cv_header_$ac_safe=yes" | 11150 eval "ac_cv_header_$ac_safe=yes" |
11156 else | 11151 else |
11171 } | 11166 } |
11172 if test "$with_wnn" != "no"; then | 11167 if test "$with_wnn" != "no"; then |
11173 for ac_func in crypt | 11168 for ac_func in crypt |
11174 do | 11169 do |
11175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11176 echo "configure:11177: checking for $ac_func" >&5 | 11171 echo "configure:11172: checking for $ac_func" >&5 |
11177 | 11172 |
11178 cat > conftest.$ac_ext <<EOF | 11173 cat > conftest.$ac_ext <<EOF |
11179 #line 11180 "configure" | 11174 #line 11175 "configure" |
11180 #include "confdefs.h" | 11175 #include "confdefs.h" |
11181 /* System header to define __stub macros and hopefully few prototypes, | 11176 /* System header to define __stub macros and hopefully few prototypes, |
11182 which can conflict with char $ac_func(); below. */ | 11177 which can conflict with char $ac_func(); below. */ |
11183 #include <assert.h> | 11178 #include <assert.h> |
11184 /* Override any gcc2 internal prototype to avoid an error. */ | 11179 /* Override any gcc2 internal prototype to avoid an error. */ |
11197 $ac_func(); | 11192 $ac_func(); |
11198 #endif | 11193 #endif |
11199 | 11194 |
11200 ; return 0; } | 11195 ; return 0; } |
11201 EOF | 11196 EOF |
11202 if { (eval echo configure:11203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11197 if { (eval echo configure:11198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11203 rm -rf conftest* | 11198 rm -rf conftest* |
11204 eval "ac_cv_func_$ac_func=yes" | 11199 eval "ac_cv_func_$ac_func=yes" |
11205 else | 11200 else |
11206 echo "configure: failed program was:" >&5 | 11201 echo "configure: failed program was:" >&5 |
11207 cat conftest.$ac_ext >&5 | 11202 cat conftest.$ac_ext >&5 |
11226 fi | 11221 fi |
11227 done | 11222 done |
11228 | 11223 |
11229 test "$ac_cv_func_crypt" != "yes" && { | 11224 test "$ac_cv_func_crypt" != "yes" && { |
11230 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11225 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11231 echo "configure:11232: checking for crypt in -lcrypt" >&5 | 11226 echo "configure:11227: checking for crypt in -lcrypt" >&5 |
11232 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11227 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11233 | 11228 |
11234 xe_check_libs=" -lcrypt " | 11229 xe_check_libs=" -lcrypt " |
11235 cat > conftest.$ac_ext <<EOF | 11230 cat > conftest.$ac_ext <<EOF |
11236 #line 11237 "configure" | 11231 #line 11232 "configure" |
11237 #include "confdefs.h" | 11232 #include "confdefs.h" |
11238 /* Override any gcc2 internal prototype to avoid an error. */ | 11233 /* Override any gcc2 internal prototype to avoid an error. */ |
11239 /* We use char because int might match the return type of a gcc2 | 11234 /* We use char because int might match the return type of a gcc2 |
11240 builtin and then its argument prototype would still apply. */ | 11235 builtin and then its argument prototype would still apply. */ |
11241 char crypt(); | 11236 char crypt(); |
11242 | 11237 |
11243 int main() { | 11238 int main() { |
11244 crypt() | 11239 crypt() |
11245 ; return 0; } | 11240 ; return 0; } |
11246 EOF | 11241 EOF |
11247 if { (eval echo configure:11248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11242 if { (eval echo configure:11243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11248 rm -rf conftest* | 11243 rm -rf conftest* |
11249 eval "ac_cv_lib_$ac_lib_var=yes" | 11244 eval "ac_cv_lib_$ac_lib_var=yes" |
11250 else | 11245 else |
11251 echo "configure: failed program was:" >&5 | 11246 echo "configure: failed program was:" >&5 |
11252 cat conftest.$ac_ext >&5 | 11247 cat conftest.$ac_ext >&5 |
11277 } | 11272 } |
11278 fi | 11273 fi |
11279 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11274 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11280 | 11275 |
11281 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11276 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11282 echo "configure:11283: checking for jl_dic_list_e in -lwnn" >&5 | 11277 echo "configure:11278: checking for jl_dic_list_e in -lwnn" >&5 |
11283 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11278 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11284 | 11279 |
11285 xe_check_libs=" -lwnn " | 11280 xe_check_libs=" -lwnn " |
11286 cat > conftest.$ac_ext <<EOF | 11281 cat > conftest.$ac_ext <<EOF |
11287 #line 11288 "configure" | 11282 #line 11283 "configure" |
11288 #include "confdefs.h" | 11283 #include "confdefs.h" |
11289 /* Override any gcc2 internal prototype to avoid an error. */ | 11284 /* Override any gcc2 internal prototype to avoid an error. */ |
11290 /* We use char because int might match the return type of a gcc2 | 11285 /* We use char because int might match the return type of a gcc2 |
11291 builtin and then its argument prototype would still apply. */ | 11286 builtin and then its argument prototype would still apply. */ |
11292 char jl_dic_list_e(); | 11287 char jl_dic_list_e(); |
11293 | 11288 |
11294 int main() { | 11289 int main() { |
11295 jl_dic_list_e() | 11290 jl_dic_list_e() |
11296 ; return 0; } | 11291 ; return 0; } |
11297 EOF | 11292 EOF |
11298 if { (eval echo configure:11299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11293 if { (eval echo configure:11294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11299 rm -rf conftest* | 11294 rm -rf conftest* |
11300 eval "ac_cv_lib_$ac_lib_var=yes" | 11295 eval "ac_cv_lib_$ac_lib_var=yes" |
11301 else | 11296 else |
11302 echo "configure: failed program was:" >&5 | 11297 echo "configure: failed program was:" >&5 |
11303 cat conftest.$ac_ext >&5 | 11298 cat conftest.$ac_ext >&5 |
11311 echo "$ac_t""yes" 1>&6 | 11306 echo "$ac_t""yes" 1>&6 |
11312 libwnn=wnn | 11307 libwnn=wnn |
11313 else | 11308 else |
11314 echo "$ac_t""no" 1>&6 | 11309 echo "$ac_t""no" 1>&6 |
11315 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11310 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11316 echo "configure:11317: checking for jl_dic_list_e in -lwnn4" >&5 | 11311 echo "configure:11312: checking for jl_dic_list_e in -lwnn4" >&5 |
11317 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11312 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11318 | 11313 |
11319 xe_check_libs=" -lwnn4 " | 11314 xe_check_libs=" -lwnn4 " |
11320 cat > conftest.$ac_ext <<EOF | 11315 cat > conftest.$ac_ext <<EOF |
11321 #line 11322 "configure" | 11316 #line 11317 "configure" |
11322 #include "confdefs.h" | 11317 #include "confdefs.h" |
11323 /* Override any gcc2 internal prototype to avoid an error. */ | 11318 /* Override any gcc2 internal prototype to avoid an error. */ |
11324 /* We use char because int might match the return type of a gcc2 | 11319 /* We use char because int might match the return type of a gcc2 |
11325 builtin and then its argument prototype would still apply. */ | 11320 builtin and then its argument prototype would still apply. */ |
11326 char jl_dic_list_e(); | 11321 char jl_dic_list_e(); |
11327 | 11322 |
11328 int main() { | 11323 int main() { |
11329 jl_dic_list_e() | 11324 jl_dic_list_e() |
11330 ; return 0; } | 11325 ; return 0; } |
11331 EOF | 11326 EOF |
11332 if { (eval echo configure:11333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11327 if { (eval echo configure:11328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11333 rm -rf conftest* | 11328 rm -rf conftest* |
11334 eval "ac_cv_lib_$ac_lib_var=yes" | 11329 eval "ac_cv_lib_$ac_lib_var=yes" |
11335 else | 11330 else |
11336 echo "configure: failed program was:" >&5 | 11331 echo "configure: failed program was:" >&5 |
11337 cat conftest.$ac_ext >&5 | 11332 cat conftest.$ac_ext >&5 |
11345 echo "$ac_t""yes" 1>&6 | 11340 echo "$ac_t""yes" 1>&6 |
11346 libwnn=wnn4 | 11341 libwnn=wnn4 |
11347 else | 11342 else |
11348 echo "$ac_t""no" 1>&6 | 11343 echo "$ac_t""no" 1>&6 |
11349 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11344 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11350 echo "configure:11351: checking for jl_dic_list_e in -lwnn6" >&5 | 11345 echo "configure:11346: checking for jl_dic_list_e in -lwnn6" >&5 |
11351 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11346 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11352 | 11347 |
11353 xe_check_libs=" -lwnn6 " | 11348 xe_check_libs=" -lwnn6 " |
11354 cat > conftest.$ac_ext <<EOF | 11349 cat > conftest.$ac_ext <<EOF |
11355 #line 11356 "configure" | 11350 #line 11351 "configure" |
11356 #include "confdefs.h" | 11351 #include "confdefs.h" |
11357 /* Override any gcc2 internal prototype to avoid an error. */ | 11352 /* Override any gcc2 internal prototype to avoid an error. */ |
11358 /* We use char because int might match the return type of a gcc2 | 11353 /* We use char because int might match the return type of a gcc2 |
11359 builtin and then its argument prototype would still apply. */ | 11354 builtin and then its argument prototype would still apply. */ |
11360 char jl_dic_list_e(); | 11355 char jl_dic_list_e(); |
11361 | 11356 |
11362 int main() { | 11357 int main() { |
11363 jl_dic_list_e() | 11358 jl_dic_list_e() |
11364 ; return 0; } | 11359 ; return 0; } |
11365 EOF | 11360 EOF |
11366 if { (eval echo configure:11367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11361 if { (eval echo configure:11362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11367 rm -rf conftest* | 11362 rm -rf conftest* |
11368 eval "ac_cv_lib_$ac_lib_var=yes" | 11363 eval "ac_cv_lib_$ac_lib_var=yes" |
11369 else | 11364 else |
11370 echo "configure: failed program was:" >&5 | 11365 echo "configure: failed program was:" >&5 |
11371 cat conftest.$ac_ext >&5 | 11366 cat conftest.$ac_ext >&5 |
11379 echo "$ac_t""yes" 1>&6 | 11374 echo "$ac_t""yes" 1>&6 |
11380 libwnn=wnn6 | 11375 libwnn=wnn6 |
11381 else | 11376 else |
11382 echo "$ac_t""no" 1>&6 | 11377 echo "$ac_t""no" 1>&6 |
11383 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11378 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11384 echo "configure:11385: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11379 echo "configure:11380: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11385 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11380 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11386 | 11381 |
11387 xe_check_libs=" -lwnn6_fromsrc " | 11382 xe_check_libs=" -lwnn6_fromsrc " |
11388 cat > conftest.$ac_ext <<EOF | 11383 cat > conftest.$ac_ext <<EOF |
11389 #line 11390 "configure" | 11384 #line 11385 "configure" |
11390 #include "confdefs.h" | 11385 #include "confdefs.h" |
11391 /* Override any gcc2 internal prototype to avoid an error. */ | 11386 /* Override any gcc2 internal prototype to avoid an error. */ |
11392 /* We use char because int might match the return type of a gcc2 | 11387 /* We use char because int might match the return type of a gcc2 |
11393 builtin and then its argument prototype would still apply. */ | 11388 builtin and then its argument prototype would still apply. */ |
11394 char dic_list_e(); | 11389 char dic_list_e(); |
11395 | 11390 |
11396 int main() { | 11391 int main() { |
11397 dic_list_e() | 11392 dic_list_e() |
11398 ; return 0; } | 11393 ; return 0; } |
11399 EOF | 11394 EOF |
11400 if { (eval echo configure:11401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11395 if { (eval echo configure:11396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11401 rm -rf conftest* | 11396 rm -rf conftest* |
11402 eval "ac_cv_lib_$ac_lib_var=yes" | 11397 eval "ac_cv_lib_$ac_lib_var=yes" |
11403 else | 11398 else |
11404 echo "configure: failed program was:" >&5 | 11399 echo "configure: failed program was:" >&5 |
11405 cat conftest.$ac_ext >&5 | 11400 cat conftest.$ac_ext >&5 |
11440 | 11435 |
11441 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11436 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11442 if test "$with_wnn6" != "no"; then | 11437 if test "$with_wnn6" != "no"; then |
11443 | 11438 |
11444 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11439 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11445 echo "configure:11446: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11440 echo "configure:11441: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11446 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11441 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11447 | 11442 |
11448 xe_check_libs=" -l$libwnn " | 11443 xe_check_libs=" -l$libwnn " |
11449 cat > conftest.$ac_ext <<EOF | 11444 cat > conftest.$ac_ext <<EOF |
11450 #line 11451 "configure" | 11445 #line 11446 "configure" |
11451 #include "confdefs.h" | 11446 #include "confdefs.h" |
11452 /* Override any gcc2 internal prototype to avoid an error. */ | 11447 /* Override any gcc2 internal prototype to avoid an error. */ |
11453 /* We use char because int might match the return type of a gcc2 | 11448 /* We use char because int might match the return type of a gcc2 |
11454 builtin and then its argument prototype would still apply. */ | 11449 builtin and then its argument prototype would still apply. */ |
11455 char jl_fi_dic_list(); | 11450 char jl_fi_dic_list(); |
11456 | 11451 |
11457 int main() { | 11452 int main() { |
11458 jl_fi_dic_list() | 11453 jl_fi_dic_list() |
11459 ; return 0; } | 11454 ; return 0; } |
11460 EOF | 11455 EOF |
11461 if { (eval echo configure:11462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11456 if { (eval echo configure:11457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11462 rm -rf conftest* | 11457 rm -rf conftest* |
11463 eval "ac_cv_lib_$ac_lib_var=yes" | 11458 eval "ac_cv_lib_$ac_lib_var=yes" |
11464 else | 11459 else |
11465 echo "configure: failed program was:" >&5 | 11460 echo "configure: failed program was:" >&5 |
11466 cat conftest.$ac_ext >&5 | 11461 cat conftest.$ac_ext >&5 |
11491 | 11486 |
11492 canna_includes_found=no | 11487 canna_includes_found=no |
11493 if test "$with_canna" != "no"; then | 11488 if test "$with_canna" != "no"; then |
11494 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11489 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11495 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11490 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11496 echo "configure:11497: checking for canna/jrkanji.h" >&5 | 11491 echo "configure:11492: checking for canna/jrkanji.h" >&5 |
11497 | 11492 |
11498 cat > conftest.$ac_ext <<EOF | 11493 cat > conftest.$ac_ext <<EOF |
11499 #line 11500 "configure" | 11494 #line 11495 "configure" |
11500 #include "confdefs.h" | 11495 #include "confdefs.h" |
11501 #include <canna/jrkanji.h> | 11496 #include <canna/jrkanji.h> |
11502 EOF | 11497 EOF |
11503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11504 { (eval echo configure:11505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11499 { (eval echo configure:11500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11500 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11506 if test -z "$ac_err"; then | 11501 if test -z "$ac_err"; then |
11507 rm -rf conftest* | 11502 rm -rf conftest* |
11508 eval "ac_cv_header_$ac_safe=yes" | 11503 eval "ac_cv_header_$ac_safe=yes" |
11509 else | 11504 else |
11526 -d "/usr/local/canna/include"; then | 11521 -d "/usr/local/canna/include"; then |
11527 save_c_switch_site="$c_switch_site" | 11522 save_c_switch_site="$c_switch_site" |
11528 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11523 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11529 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11524 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11530 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11525 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11531 echo "configure:11532: checking for canna/jrkanji.h" >&5 | 11526 echo "configure:11527: checking for canna/jrkanji.h" >&5 |
11532 | 11527 |
11533 cat > conftest.$ac_ext <<EOF | 11528 cat > conftest.$ac_ext <<EOF |
11534 #line 11535 "configure" | 11529 #line 11530 "configure" |
11535 #include "confdefs.h" | 11530 #include "confdefs.h" |
11536 #include <canna/jrkanji.h> | 11531 #include <canna/jrkanji.h> |
11537 EOF | 11532 EOF |
11538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11539 { (eval echo configure:11540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11534 { (eval echo configure:11535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11541 if test -z "$ac_err"; then | 11536 if test -z "$ac_err"; then |
11542 rm -rf conftest* | 11537 rm -rf conftest* |
11543 eval "ac_cv_header_$ac_safe=yes" | 11538 eval "ac_cv_header_$ac_safe=yes" |
11544 else | 11539 else |
11562 fi | 11557 fi |
11563 fi | 11558 fi |
11564 | 11559 |
11565 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11560 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11566 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11561 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11567 echo "configure:11568: checking for canna/RK.h" >&5 | 11562 echo "configure:11563: checking for canna/RK.h" >&5 |
11568 | 11563 |
11569 cat > conftest.$ac_ext <<EOF | 11564 cat > conftest.$ac_ext <<EOF |
11570 #line 11571 "configure" | 11565 #line 11566 "configure" |
11571 #include "confdefs.h" | 11566 #include "confdefs.h" |
11572 #include <canna/RK.h> | 11567 #include <canna/RK.h> |
11573 EOF | 11568 EOF |
11574 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11569 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11575 { (eval echo configure:11576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11570 { (eval echo configure:11571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11571 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11577 if test -z "$ac_err"; then | 11572 if test -z "$ac_err"; then |
11578 rm -rf conftest* | 11573 rm -rf conftest* |
11579 eval "ac_cv_header_$ac_safe=yes" | 11574 eval "ac_cv_header_$ac_safe=yes" |
11580 else | 11575 else |
11593 with_canna=no | 11588 with_canna=no |
11594 fi | 11589 fi |
11595 } | 11590 } |
11596 test -z "$with_canna" && { | 11591 test -z "$with_canna" && { |
11597 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11592 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11598 echo "configure:11599: checking for RkBgnBun in -lRKC" >&5 | 11593 echo "configure:11594: checking for RkBgnBun in -lRKC" >&5 |
11599 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11594 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11600 | 11595 |
11601 xe_check_libs=" -lRKC " | 11596 xe_check_libs=" -lRKC " |
11602 cat > conftest.$ac_ext <<EOF | 11597 cat > conftest.$ac_ext <<EOF |
11603 #line 11604 "configure" | 11598 #line 11599 "configure" |
11604 #include "confdefs.h" | 11599 #include "confdefs.h" |
11605 /* Override any gcc2 internal prototype to avoid an error. */ | 11600 /* Override any gcc2 internal prototype to avoid an error. */ |
11606 /* We use char because int might match the return type of a gcc2 | 11601 /* We use char because int might match the return type of a gcc2 |
11607 builtin and then its argument prototype would still apply. */ | 11602 builtin and then its argument prototype would still apply. */ |
11608 char RkBgnBun(); | 11603 char RkBgnBun(); |
11609 | 11604 |
11610 int main() { | 11605 int main() { |
11611 RkBgnBun() | 11606 RkBgnBun() |
11612 ; return 0; } | 11607 ; return 0; } |
11613 EOF | 11608 EOF |
11614 if { (eval echo configure:11615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11609 if { (eval echo configure:11610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11615 rm -rf conftest* | 11610 rm -rf conftest* |
11616 eval "ac_cv_lib_$ac_lib_var=yes" | 11611 eval "ac_cv_lib_$ac_lib_var=yes" |
11617 else | 11612 else |
11618 echo "configure: failed program was:" >&5 | 11613 echo "configure: failed program was:" >&5 |
11619 cat conftest.$ac_ext >&5 | 11614 cat conftest.$ac_ext >&5 |
11632 fi | 11627 fi |
11633 | 11628 |
11634 } | 11629 } |
11635 test -z "$with_canna" && { | 11630 test -z "$with_canna" && { |
11636 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11631 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11637 echo "configure:11638: checking for jrKanjiControl in -lcanna" >&5 | 11632 echo "configure:11633: checking for jrKanjiControl in -lcanna" >&5 |
11638 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11633 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11639 | 11634 |
11640 xe_check_libs=" -lcanna " | 11635 xe_check_libs=" -lcanna " |
11641 cat > conftest.$ac_ext <<EOF | 11636 cat > conftest.$ac_ext <<EOF |
11642 #line 11643 "configure" | 11637 #line 11638 "configure" |
11643 #include "confdefs.h" | 11638 #include "confdefs.h" |
11644 /* Override any gcc2 internal prototype to avoid an error. */ | 11639 /* Override any gcc2 internal prototype to avoid an error. */ |
11645 /* We use char because int might match the return type of a gcc2 | 11640 /* We use char because int might match the return type of a gcc2 |
11646 builtin and then its argument prototype would still apply. */ | 11641 builtin and then its argument prototype would still apply. */ |
11647 char jrKanjiControl(); | 11642 char jrKanjiControl(); |
11648 | 11643 |
11649 int main() { | 11644 int main() { |
11650 jrKanjiControl() | 11645 jrKanjiControl() |
11651 ; return 0; } | 11646 ; return 0; } |
11652 EOF | 11647 EOF |
11653 if { (eval echo configure:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11648 if { (eval echo configure:11649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11654 rm -rf conftest* | 11649 rm -rf conftest* |
11655 eval "ac_cv_lib_$ac_lib_var=yes" | 11650 eval "ac_cv_lib_$ac_lib_var=yes" |
11656 else | 11651 else |
11657 echo "configure: failed program was:" >&5 | 11652 echo "configure: failed program was:" >&5 |
11658 cat conftest.$ac_ext >&5 | 11653 cat conftest.$ac_ext >&5 |
11694 | 11689 |
11695 if test "$need_motif" = "yes" ; then | 11690 if test "$need_motif" = "yes" ; then |
11696 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11691 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11697 | 11692 |
11698 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11693 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11699 echo "configure:11700: checking for layout_object_getvalue in -li18n" >&5 | 11694 echo "configure:11695: checking for layout_object_getvalue in -li18n" >&5 |
11700 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11695 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11701 | 11696 |
11702 xe_check_libs=" -li18n " | 11697 xe_check_libs=" -li18n " |
11703 cat > conftest.$ac_ext <<EOF | 11698 cat > conftest.$ac_ext <<EOF |
11704 #line 11705 "configure" | 11699 #line 11700 "configure" |
11705 #include "confdefs.h" | 11700 #include "confdefs.h" |
11706 /* Override any gcc2 internal prototype to avoid an error. */ | 11701 /* Override any gcc2 internal prototype to avoid an error. */ |
11707 /* We use char because int might match the return type of a gcc2 | 11702 /* We use char because int might match the return type of a gcc2 |
11708 builtin and then its argument prototype would still apply. */ | 11703 builtin and then its argument prototype would still apply. */ |
11709 char layout_object_getvalue(); | 11704 char layout_object_getvalue(); |
11710 | 11705 |
11711 int main() { | 11706 int main() { |
11712 layout_object_getvalue() | 11707 layout_object_getvalue() |
11713 ; return 0; } | 11708 ; return 0; } |
11714 EOF | 11709 EOF |
11715 if { (eval echo configure:11716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11710 if { (eval echo configure:11711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11716 rm -rf conftest* | 11711 rm -rf conftest* |
11717 eval "ac_cv_lib_$ac_lib_var=yes" | 11712 eval "ac_cv_lib_$ac_lib_var=yes" |
11718 else | 11713 else |
11719 echo "configure: failed program was:" >&5 | 11714 echo "configure: failed program was:" >&5 |
11720 cat conftest.$ac_ext >&5 | 11715 cat conftest.$ac_ext >&5 |
11797 | 11792 |
11798 | 11793 |
11799 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 11794 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
11800 do | 11795 do |
11801 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11802 echo "configure:11803: checking for $ac_func" >&5 | 11797 echo "configure:11798: checking for $ac_func" >&5 |
11803 | 11798 |
11804 cat > conftest.$ac_ext <<EOF | 11799 cat > conftest.$ac_ext <<EOF |
11805 #line 11806 "configure" | 11800 #line 11801 "configure" |
11806 #include "confdefs.h" | 11801 #include "confdefs.h" |
11807 /* System header to define __stub macros and hopefully few prototypes, | 11802 /* System header to define __stub macros and hopefully few prototypes, |
11808 which can conflict with char $ac_func(); below. */ | 11803 which can conflict with char $ac_func(); below. */ |
11809 #include <assert.h> | 11804 #include <assert.h> |
11810 /* Override any gcc2 internal prototype to avoid an error. */ | 11805 /* Override any gcc2 internal prototype to avoid an error. */ |
11823 $ac_func(); | 11818 $ac_func(); |
11824 #endif | 11819 #endif |
11825 | 11820 |
11826 ; return 0; } | 11821 ; return 0; } |
11827 EOF | 11822 EOF |
11828 if { (eval echo configure:11829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11823 if { (eval echo configure:11824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11829 rm -rf conftest* | 11824 rm -rf conftest* |
11830 eval "ac_cv_func_$ac_func=yes" | 11825 eval "ac_cv_func_$ac_func=yes" |
11831 else | 11826 else |
11832 echo "configure: failed program was:" >&5 | 11827 echo "configure: failed program was:" >&5 |
11833 cat conftest.$ac_ext >&5 | 11828 cat conftest.$ac_ext >&5 |
11864 | 11859 |
11865 | 11860 |
11866 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 11861 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
11867 do | 11862 do |
11868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11869 echo "configure:11870: checking for $ac_func" >&5 | 11864 echo "configure:11865: checking for $ac_func" >&5 |
11870 | 11865 |
11871 cat > conftest.$ac_ext <<EOF | 11866 cat > conftest.$ac_ext <<EOF |
11872 #line 11873 "configure" | 11867 #line 11868 "configure" |
11873 #include "confdefs.h" | 11868 #include "confdefs.h" |
11874 /* System header to define __stub macros and hopefully few prototypes, | 11869 /* System header to define __stub macros and hopefully few prototypes, |
11875 which can conflict with char $ac_func(); below. */ | 11870 which can conflict with char $ac_func(); below. */ |
11876 #include <assert.h> | 11871 #include <assert.h> |
11877 /* Override any gcc2 internal prototype to avoid an error. */ | 11872 /* Override any gcc2 internal prototype to avoid an error. */ |
11890 $ac_func(); | 11885 $ac_func(); |
11891 #endif | 11886 #endif |
11892 | 11887 |
11893 ; return 0; } | 11888 ; return 0; } |
11894 EOF | 11889 EOF |
11895 if { (eval echo configure:11896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11890 if { (eval echo configure:11891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11896 rm -rf conftest* | 11891 rm -rf conftest* |
11897 eval "ac_cv_func_$ac_func=yes" | 11892 eval "ac_cv_func_$ac_func=yes" |
11898 else | 11893 else |
11899 echo "configure: failed program was:" >&5 | 11894 echo "configure: failed program was:" >&5 |
11900 cat conftest.$ac_ext >&5 | 11895 cat conftest.$ac_ext >&5 |
11919 fi | 11914 fi |
11920 done | 11915 done |
11921 | 11916 |
11922 | 11917 |
11923 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 11918 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
11924 echo "configure:11925: checking for openpty" >&5 | 11919 echo "configure:11920: checking for openpty" >&5 |
11925 | 11920 |
11926 cat > conftest.$ac_ext <<EOF | 11921 cat > conftest.$ac_ext <<EOF |
11927 #line 11928 "configure" | 11922 #line 11923 "configure" |
11928 #include "confdefs.h" | 11923 #include "confdefs.h" |
11929 /* System header to define __stub macros and hopefully few prototypes, | 11924 /* System header to define __stub macros and hopefully few prototypes, |
11930 which can conflict with char openpty(); below. */ | 11925 which can conflict with char openpty(); below. */ |
11931 #include <assert.h> | 11926 #include <assert.h> |
11932 /* Override any gcc2 internal prototype to avoid an error. */ | 11927 /* Override any gcc2 internal prototype to avoid an error. */ |
11945 openpty(); | 11940 openpty(); |
11946 #endif | 11941 #endif |
11947 | 11942 |
11948 ; return 0; } | 11943 ; return 0; } |
11949 EOF | 11944 EOF |
11950 if { (eval echo configure:11951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11945 if { (eval echo configure:11946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11951 rm -rf conftest* | 11946 rm -rf conftest* |
11952 eval "ac_cv_func_openpty=yes" | 11947 eval "ac_cv_func_openpty=yes" |
11953 else | 11948 else |
11954 echo "configure: failed program was:" >&5 | 11949 echo "configure: failed program was:" >&5 |
11955 cat conftest.$ac_ext >&5 | 11950 cat conftest.$ac_ext >&5 |
11964 else | 11959 else |
11965 echo "$ac_t""no" 1>&6 | 11960 echo "$ac_t""no" 1>&6 |
11966 | 11961 |
11967 | 11962 |
11968 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 11963 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
11969 echo "configure:11970: checking for openpty in -lutil" >&5 | 11964 echo "configure:11965: checking for openpty in -lutil" >&5 |
11970 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11965 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
11971 | 11966 |
11972 xe_check_libs=" -lutil " | 11967 xe_check_libs=" -lutil " |
11973 cat > conftest.$ac_ext <<EOF | 11968 cat > conftest.$ac_ext <<EOF |
11974 #line 11975 "configure" | 11969 #line 11970 "configure" |
11975 #include "confdefs.h" | 11970 #include "confdefs.h" |
11976 /* Override any gcc2 internal prototype to avoid an error. */ | 11971 /* Override any gcc2 internal prototype to avoid an error. */ |
11977 /* We use char because int might match the return type of a gcc2 | 11972 /* We use char because int might match the return type of a gcc2 |
11978 builtin and then its argument prototype would still apply. */ | 11973 builtin and then its argument prototype would still apply. */ |
11979 char openpty(); | 11974 char openpty(); |
11980 | 11975 |
11981 int main() { | 11976 int main() { |
11982 openpty() | 11977 openpty() |
11983 ; return 0; } | 11978 ; return 0; } |
11984 EOF | 11979 EOF |
11985 if { (eval echo configure:11986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11980 if { (eval echo configure:11981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11986 rm -rf conftest* | 11981 rm -rf conftest* |
11987 eval "ac_cv_lib_$ac_lib_var=yes" | 11982 eval "ac_cv_lib_$ac_lib_var=yes" |
11988 else | 11983 else |
11989 echo "configure: failed program was:" >&5 | 11984 echo "configure: failed program was:" >&5 |
11990 cat conftest.$ac_ext >&5 | 11985 cat conftest.$ac_ext >&5 |
12015 | 12010 |
12016 for ac_hdr in libutil.h util.h | 12011 for ac_hdr in libutil.h util.h |
12017 do | 12012 do |
12018 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12013 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12019 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12014 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12020 echo "configure:12021: checking for $ac_hdr" >&5 | 12015 echo "configure:12016: checking for $ac_hdr" >&5 |
12021 | 12016 |
12022 cat > conftest.$ac_ext <<EOF | 12017 cat > conftest.$ac_ext <<EOF |
12023 #line 12024 "configure" | 12018 #line 12019 "configure" |
12024 #include "confdefs.h" | 12019 #include "confdefs.h" |
12025 #include <$ac_hdr> | 12020 #include <$ac_hdr> |
12026 EOF | 12021 EOF |
12027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12028 { (eval echo configure:12029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12023 { (eval echo configure:12024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12029 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12030 if test -z "$ac_err"; then | 12025 if test -z "$ac_err"; then |
12031 rm -rf conftest* | 12026 rm -rf conftest* |
12032 eval "ac_cv_header_$ac_safe=yes" | 12027 eval "ac_cv_header_$ac_safe=yes" |
12033 else | 12028 else |
12060 case "$opsys" in | 12055 case "$opsys" in |
12061 hpux*) for ac_hdr in sys/ptyio.h | 12056 hpux*) for ac_hdr in sys/ptyio.h |
12062 do | 12057 do |
12063 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12058 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12064 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12059 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12065 echo "configure:12066: checking for $ac_hdr" >&5 | 12060 echo "configure:12061: checking for $ac_hdr" >&5 |
12066 | 12061 |
12067 cat > conftest.$ac_ext <<EOF | 12062 cat > conftest.$ac_ext <<EOF |
12068 #line 12069 "configure" | 12063 #line 12064 "configure" |
12069 #include "confdefs.h" | 12064 #include "confdefs.h" |
12070 #include <$ac_hdr> | 12065 #include <$ac_hdr> |
12071 EOF | 12066 EOF |
12072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12073 { (eval echo configure:12074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12068 { (eval echo configure:12069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12069 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12075 if test -z "$ac_err"; then | 12070 if test -z "$ac_err"; then |
12076 rm -rf conftest* | 12071 rm -rf conftest* |
12077 eval "ac_cv_header_$ac_safe=yes" | 12072 eval "ac_cv_header_$ac_safe=yes" |
12078 else | 12073 else |
12101 ;; | 12096 ;; |
12102 *) for ac_hdr in pty.h | 12097 *) for ac_hdr in pty.h |
12103 do | 12098 do |
12104 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12099 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12105 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12100 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12106 echo "configure:12107: checking for $ac_hdr" >&5 | 12101 echo "configure:12102: checking for $ac_hdr" >&5 |
12107 | 12102 |
12108 cat > conftest.$ac_ext <<EOF | 12103 cat > conftest.$ac_ext <<EOF |
12109 #line 12110 "configure" | 12104 #line 12105 "configure" |
12110 #include "confdefs.h" | 12105 #include "confdefs.h" |
12111 #include <$ac_hdr> | 12106 #include <$ac_hdr> |
12112 EOF | 12107 EOF |
12113 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12114 { (eval echo configure:12115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12109 { (eval echo configure:12110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12115 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12110 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12116 if test -z "$ac_err"; then | 12111 if test -z "$ac_err"; then |
12117 rm -rf conftest* | 12112 rm -rf conftest* |
12118 eval "ac_cv_header_$ac_safe=yes" | 12113 eval "ac_cv_header_$ac_safe=yes" |
12119 else | 12114 else |
12142 | 12137 |
12143 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12138 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12144 do | 12139 do |
12145 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12140 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12146 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12141 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12147 echo "configure:12148: checking for $ac_hdr" >&5 | 12142 echo "configure:12143: checking for $ac_hdr" >&5 |
12148 | 12143 |
12149 cat > conftest.$ac_ext <<EOF | 12144 cat > conftest.$ac_ext <<EOF |
12150 #line 12151 "configure" | 12145 #line 12146 "configure" |
12151 #include "confdefs.h" | 12146 #include "confdefs.h" |
12152 #include <$ac_hdr> | 12147 #include <$ac_hdr> |
12153 EOF | 12148 EOF |
12154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12149 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12155 { (eval echo configure:12156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12150 { (eval echo configure:12151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12151 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12157 if test -z "$ac_err"; then | 12152 if test -z "$ac_err"; then |
12158 rm -rf conftest* | 12153 rm -rf conftest* |
12159 eval "ac_cv_header_$ac_safe=yes" | 12154 eval "ac_cv_header_$ac_safe=yes" |
12160 else | 12155 else |
12186 | 12181 |
12187 for ac_hdr in stropts.h | 12182 for ac_hdr in stropts.h |
12188 do | 12183 do |
12189 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12184 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12190 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12185 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12191 echo "configure:12192: checking for $ac_hdr" >&5 | 12186 echo "configure:12187: checking for $ac_hdr" >&5 |
12192 | 12187 |
12193 cat > conftest.$ac_ext <<EOF | 12188 cat > conftest.$ac_ext <<EOF |
12194 #line 12195 "configure" | 12189 #line 12190 "configure" |
12195 #include "confdefs.h" | 12190 #include "confdefs.h" |
12196 #include <$ac_hdr> | 12191 #include <$ac_hdr> |
12197 EOF | 12192 EOF |
12198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12193 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12199 { (eval echo configure:12200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12194 { (eval echo configure:12195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12195 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12201 if test -z "$ac_err"; then | 12196 if test -z "$ac_err"; then |
12202 rm -rf conftest* | 12197 rm -rf conftest* |
12203 eval "ac_cv_header_$ac_safe=yes" | 12198 eval "ac_cv_header_$ac_safe=yes" |
12204 else | 12199 else |
12227 | 12222 |
12228 if test "$ac_cv_header_stropts_h" = "yes"; then | 12223 if test "$ac_cv_header_stropts_h" = "yes"; then |
12229 for ac_func in isastream | 12224 for ac_func in isastream |
12230 do | 12225 do |
12231 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12232 echo "configure:12233: checking for $ac_func" >&5 | 12227 echo "configure:12228: checking for $ac_func" >&5 |
12233 | 12228 |
12234 cat > conftest.$ac_ext <<EOF | 12229 cat > conftest.$ac_ext <<EOF |
12235 #line 12236 "configure" | 12230 #line 12231 "configure" |
12236 #include "confdefs.h" | 12231 #include "confdefs.h" |
12237 /* System header to define __stub macros and hopefully few prototypes, | 12232 /* System header to define __stub macros and hopefully few prototypes, |
12238 which can conflict with char $ac_func(); below. */ | 12233 which can conflict with char $ac_func(); below. */ |
12239 #include <assert.h> | 12234 #include <assert.h> |
12240 /* Override any gcc2 internal prototype to avoid an error. */ | 12235 /* Override any gcc2 internal prototype to avoid an error. */ |
12253 $ac_func(); | 12248 $ac_func(); |
12254 #endif | 12249 #endif |
12255 | 12250 |
12256 ; return 0; } | 12251 ; return 0; } |
12257 EOF | 12252 EOF |
12258 if { (eval echo configure:12259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12253 if { (eval echo configure:12254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12259 rm -rf conftest* | 12254 rm -rf conftest* |
12260 eval "ac_cv_func_$ac_func=yes" | 12255 eval "ac_cv_func_$ac_func=yes" |
12261 else | 12256 else |
12262 echo "configure: failed program was:" >&5 | 12257 echo "configure: failed program was:" >&5 |
12263 cat conftest.$ac_ext >&5 | 12258 cat conftest.$ac_ext >&5 |
12284 | 12279 |
12285 for ac_hdr in strtio.h | 12280 for ac_hdr in strtio.h |
12286 do | 12281 do |
12287 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12282 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12288 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12283 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12289 echo "configure:12290: checking for $ac_hdr" >&5 | 12284 echo "configure:12285: checking for $ac_hdr" >&5 |
12290 | 12285 |
12291 cat > conftest.$ac_ext <<EOF | 12286 cat > conftest.$ac_ext <<EOF |
12292 #line 12293 "configure" | 12287 #line 12288 "configure" |
12293 #include "confdefs.h" | 12288 #include "confdefs.h" |
12294 #include <$ac_hdr> | 12289 #include <$ac_hdr> |
12295 EOF | 12290 EOF |
12296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12291 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12297 { (eval echo configure:12298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12292 { (eval echo configure:12293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12293 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12299 if test -z "$ac_err"; then | 12294 if test -z "$ac_err"; then |
12300 rm -rf conftest* | 12295 rm -rf conftest* |
12301 eval "ac_cv_header_$ac_safe=yes" | 12296 eval "ac_cv_header_$ac_safe=yes" |
12302 else | 12297 else |
12325 fi | 12320 fi |
12326 | 12321 |
12327 for ac_func in getloadavg | 12322 for ac_func in getloadavg |
12328 do | 12323 do |
12329 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12324 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12330 echo "configure:12331: checking for $ac_func" >&5 | 12325 echo "configure:12326: checking for $ac_func" >&5 |
12331 | 12326 |
12332 cat > conftest.$ac_ext <<EOF | 12327 cat > conftest.$ac_ext <<EOF |
12333 #line 12334 "configure" | 12328 #line 12329 "configure" |
12334 #include "confdefs.h" | 12329 #include "confdefs.h" |
12335 /* System header to define __stub macros and hopefully few prototypes, | 12330 /* System header to define __stub macros and hopefully few prototypes, |
12336 which can conflict with char $ac_func(); below. */ | 12331 which can conflict with char $ac_func(); below. */ |
12337 #include <assert.h> | 12332 #include <assert.h> |
12338 /* Override any gcc2 internal prototype to avoid an error. */ | 12333 /* Override any gcc2 internal prototype to avoid an error. */ |
12351 $ac_func(); | 12346 $ac_func(); |
12352 #endif | 12347 #endif |
12353 | 12348 |
12354 ; return 0; } | 12349 ; return 0; } |
12355 EOF | 12350 EOF |
12356 if { (eval echo configure:12357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12351 if { (eval echo configure:12352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12357 rm -rf conftest* | 12352 rm -rf conftest* |
12358 eval "ac_cv_func_$ac_func=yes" | 12353 eval "ac_cv_func_$ac_func=yes" |
12359 else | 12354 else |
12360 echo "configure: failed program was:" >&5 | 12355 echo "configure: failed program was:" >&5 |
12361 cat conftest.$ac_ext >&5 | 12356 cat conftest.$ac_ext >&5 |
12384 if test "$ac_cv_func_getloadavg" = "yes"; then | 12379 if test "$ac_cv_func_getloadavg" = "yes"; then |
12385 for ac_hdr in sys/loadavg.h | 12380 for ac_hdr in sys/loadavg.h |
12386 do | 12381 do |
12387 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12382 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12388 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12383 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12389 echo "configure:12390: checking for $ac_hdr" >&5 | 12384 echo "configure:12385: checking for $ac_hdr" >&5 |
12390 | 12385 |
12391 cat > conftest.$ac_ext <<EOF | 12386 cat > conftest.$ac_ext <<EOF |
12392 #line 12393 "configure" | 12387 #line 12388 "configure" |
12393 #include "confdefs.h" | 12388 #include "confdefs.h" |
12394 #include <$ac_hdr> | 12389 #include <$ac_hdr> |
12395 EOF | 12390 EOF |
12396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12397 { (eval echo configure:12398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12392 { (eval echo configure:12393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12393 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12399 if test -z "$ac_err"; then | 12394 if test -z "$ac_err"; then |
12400 rm -rf conftest* | 12395 rm -rf conftest* |
12401 eval "ac_cv_header_$ac_safe=yes" | 12396 eval "ac_cv_header_$ac_safe=yes" |
12402 else | 12397 else |
12428 echo " xemacs will be linked with \"getloadavg.o\"" | 12423 echo " xemacs will be linked with \"getloadavg.o\"" |
12429 fi | 12424 fi |
12430 | 12425 |
12431 | 12426 |
12432 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12427 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12433 echo "configure:12434: checking for kstat_open in -lkstat" >&5 | 12428 echo "configure:12429: checking for kstat_open in -lkstat" >&5 |
12434 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12429 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12435 | 12430 |
12436 xe_check_libs=" -lkstat " | 12431 xe_check_libs=" -lkstat " |
12437 cat > conftest.$ac_ext <<EOF | 12432 cat > conftest.$ac_ext <<EOF |
12438 #line 12439 "configure" | 12433 #line 12434 "configure" |
12439 #include "confdefs.h" | 12434 #include "confdefs.h" |
12440 /* Override any gcc2 internal prototype to avoid an error. */ | 12435 /* Override any gcc2 internal prototype to avoid an error. */ |
12441 /* We use char because int might match the return type of a gcc2 | 12436 /* We use char because int might match the return type of a gcc2 |
12442 builtin and then its argument prototype would still apply. */ | 12437 builtin and then its argument prototype would still apply. */ |
12443 char kstat_open(); | 12438 char kstat_open(); |
12444 | 12439 |
12445 int main() { | 12440 int main() { |
12446 kstat_open() | 12441 kstat_open() |
12447 ; return 0; } | 12442 ; return 0; } |
12448 EOF | 12443 EOF |
12449 if { (eval echo configure:12450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12444 if { (eval echo configure:12445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12450 rm -rf conftest* | 12445 rm -rf conftest* |
12451 eval "ac_cv_lib_$ac_lib_var=yes" | 12446 eval "ac_cv_lib_$ac_lib_var=yes" |
12452 else | 12447 else |
12453 echo "configure: failed program was:" >&5 | 12448 echo "configure: failed program was:" >&5 |
12454 cat conftest.$ac_ext >&5 | 12449 cat conftest.$ac_ext >&5 |
12479 | 12474 |
12480 for ac_hdr in kstat.h | 12475 for ac_hdr in kstat.h |
12481 do | 12476 do |
12482 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12477 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12483 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12478 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12484 echo "configure:12485: checking for $ac_hdr" >&5 | 12479 echo "configure:12480: checking for $ac_hdr" >&5 |
12485 | 12480 |
12486 cat > conftest.$ac_ext <<EOF | 12481 cat > conftest.$ac_ext <<EOF |
12487 #line 12488 "configure" | 12482 #line 12483 "configure" |
12488 #include "confdefs.h" | 12483 #include "confdefs.h" |
12489 #include <$ac_hdr> | 12484 #include <$ac_hdr> |
12490 EOF | 12485 EOF |
12491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12492 { (eval echo configure:12493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12487 { (eval echo configure:12488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12493 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12494 if test -z "$ac_err"; then | 12489 if test -z "$ac_err"; then |
12495 rm -rf conftest* | 12490 rm -rf conftest* |
12496 eval "ac_cv_header_$ac_safe=yes" | 12491 eval "ac_cv_header_$ac_safe=yes" |
12497 else | 12492 else |
12519 done | 12514 done |
12520 | 12515 |
12521 | 12516 |
12522 | 12517 |
12523 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12518 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12524 echo "configure:12525: checking for kvm_read in -lkvm" >&5 | 12519 echo "configure:12520: checking for kvm_read in -lkvm" >&5 |
12525 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12520 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12526 | 12521 |
12527 xe_check_libs=" -lkvm " | 12522 xe_check_libs=" -lkvm " |
12528 cat > conftest.$ac_ext <<EOF | 12523 cat > conftest.$ac_ext <<EOF |
12529 #line 12530 "configure" | 12524 #line 12525 "configure" |
12530 #include "confdefs.h" | 12525 #include "confdefs.h" |
12531 /* Override any gcc2 internal prototype to avoid an error. */ | 12526 /* Override any gcc2 internal prototype to avoid an error. */ |
12532 /* We use char because int might match the return type of a gcc2 | 12527 /* We use char because int might match the return type of a gcc2 |
12533 builtin and then its argument prototype would still apply. */ | 12528 builtin and then its argument prototype would still apply. */ |
12534 char kvm_read(); | 12529 char kvm_read(); |
12535 | 12530 |
12536 int main() { | 12531 int main() { |
12537 kvm_read() | 12532 kvm_read() |
12538 ; return 0; } | 12533 ; return 0; } |
12539 EOF | 12534 EOF |
12540 if { (eval echo configure:12541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12535 if { (eval echo configure:12536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12541 rm -rf conftest* | 12536 rm -rf conftest* |
12542 eval "ac_cv_lib_$ac_lib_var=yes" | 12537 eval "ac_cv_lib_$ac_lib_var=yes" |
12543 else | 12538 else |
12544 echo "configure: failed program was:" >&5 | 12539 echo "configure: failed program was:" >&5 |
12545 cat conftest.$ac_ext >&5 | 12540 cat conftest.$ac_ext >&5 |
12569 | 12564 |
12570 | 12565 |
12571 fi | 12566 fi |
12572 | 12567 |
12573 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12568 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12574 echo "configure:12575: checking whether netdb declares h_errno" >&5 | 12569 echo "configure:12570: checking whether netdb declares h_errno" >&5 |
12575 cat > conftest.$ac_ext <<EOF | 12570 cat > conftest.$ac_ext <<EOF |
12576 #line 12577 "configure" | 12571 #line 12572 "configure" |
12577 #include "confdefs.h" | 12572 #include "confdefs.h" |
12578 #include <netdb.h> | 12573 #include <netdb.h> |
12579 int main() { | 12574 int main() { |
12580 return h_errno; | 12575 return h_errno; |
12581 ; return 0; } | 12576 ; return 0; } |
12582 EOF | 12577 EOF |
12583 if { (eval echo configure:12584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12578 if { (eval echo configure:12579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12584 rm -rf conftest* | 12579 rm -rf conftest* |
12585 echo "$ac_t""yes" 1>&6 | 12580 echo "$ac_t""yes" 1>&6 |
12586 { test "$extra_verbose" = "yes" && cat << \EOF | 12581 { test "$extra_verbose" = "yes" && cat << \EOF |
12587 Defining HAVE_H_ERRNO | 12582 Defining HAVE_H_ERRNO |
12588 EOF | 12583 EOF |
12598 echo "$ac_t""no" 1>&6 | 12593 echo "$ac_t""no" 1>&6 |
12599 fi | 12594 fi |
12600 rm -f conftest* | 12595 rm -f conftest* |
12601 | 12596 |
12602 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12597 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12603 echo "configure:12604: checking for sigsetjmp" >&5 | 12598 echo "configure:12599: checking for sigsetjmp" >&5 |
12604 cat > conftest.$ac_ext <<EOF | 12599 cat > conftest.$ac_ext <<EOF |
12605 #line 12606 "configure" | 12600 #line 12601 "configure" |
12606 #include "confdefs.h" | 12601 #include "confdefs.h" |
12607 #include <setjmp.h> | 12602 #include <setjmp.h> |
12608 int main() { | 12603 int main() { |
12609 sigjmp_buf bar; sigsetjmp (bar, 0); | 12604 sigjmp_buf bar; sigsetjmp (bar, 0); |
12610 ; return 0; } | 12605 ; return 0; } |
12611 EOF | 12606 EOF |
12612 if { (eval echo configure:12613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12607 if { (eval echo configure:12608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12613 rm -rf conftest* | 12608 rm -rf conftest* |
12614 echo "$ac_t""yes" 1>&6 | 12609 echo "$ac_t""yes" 1>&6 |
12615 { test "$extra_verbose" = "yes" && cat << \EOF | 12610 { test "$extra_verbose" = "yes" && cat << \EOF |
12616 Defining HAVE_SIGSETJMP | 12611 Defining HAVE_SIGSETJMP |
12617 EOF | 12612 EOF |
12627 echo "$ac_t""no" 1>&6 | 12622 echo "$ac_t""no" 1>&6 |
12628 fi | 12623 fi |
12629 rm -f conftest* | 12624 rm -f conftest* |
12630 | 12625 |
12631 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12626 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12632 echo "configure:12633: checking whether localtime caches TZ" >&5 | 12627 echo "configure:12628: checking whether localtime caches TZ" >&5 |
12633 | 12628 |
12634 if test "$ac_cv_func_tzset" = "yes"; then | 12629 if test "$ac_cv_func_tzset" = "yes"; then |
12635 cat > conftest.$ac_ext <<EOF | 12630 cat > conftest.$ac_ext <<EOF |
12636 #line 12637 "configure" | 12631 #line 12632 "configure" |
12637 #include "confdefs.h" | 12632 #include "confdefs.h" |
12638 #include <time.h> | 12633 #include <time.h> |
12639 #if STDC_HEADERS | 12634 #if STDC_HEADERS |
12640 # include <stdlib.h> | 12635 # include <stdlib.h> |
12641 #endif | 12636 #endif |
12666 if (localtime (&now)->tm_hour != hour_unset) | 12661 if (localtime (&now)->tm_hour != hour_unset) |
12667 exit (1); | 12662 exit (1); |
12668 exit (0); | 12663 exit (0); |
12669 } | 12664 } |
12670 EOF | 12665 EOF |
12671 if { (eval echo configure:12672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12666 if { (eval echo configure:12667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12672 then | 12667 then |
12673 emacs_cv_localtime_cache=no | 12668 emacs_cv_localtime_cache=no |
12674 else | 12669 else |
12675 conftest_rc="$?" | 12670 conftest_rc="$?" |
12676 echo "configure: failed program was:" >&5 | 12671 echo "configure: failed program was:" >&5 |
12696 | 12691 |
12697 fi | 12692 fi |
12698 | 12693 |
12699 if test "$HAVE_TIMEVAL" = "yes"; then | 12694 if test "$HAVE_TIMEVAL" = "yes"; then |
12700 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12695 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12701 echo "configure:12702: checking whether gettimeofday accepts one or two arguments" >&5 | 12696 echo "configure:12697: checking whether gettimeofday accepts one or two arguments" >&5 |
12702 cat > conftest.$ac_ext <<EOF | 12697 cat > conftest.$ac_ext <<EOF |
12703 #line 12704 "configure" | 12698 #line 12699 "configure" |
12704 #include "confdefs.h" | 12699 #include "confdefs.h" |
12705 | 12700 |
12706 #ifdef TIME_WITH_SYS_TIME | 12701 #ifdef TIME_WITH_SYS_TIME |
12707 #include <sys/time.h> | 12702 #include <sys/time.h> |
12708 #include <time.h> | 12703 #include <time.h> |
12719 struct timeval time; | 12714 struct timeval time; |
12720 gettimeofday (&time, 0); | 12715 gettimeofday (&time, 0); |
12721 | 12716 |
12722 ; return 0; } | 12717 ; return 0; } |
12723 EOF | 12718 EOF |
12724 if { (eval echo configure:12725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12719 if { (eval echo configure:12720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12725 rm -rf conftest* | 12720 rm -rf conftest* |
12726 echo "$ac_t""two" 1>&6 | 12721 echo "$ac_t""two" 1>&6 |
12727 else | 12722 else |
12728 echo "configure: failed program was:" >&5 | 12723 echo "configure: failed program was:" >&5 |
12729 cat conftest.$ac_ext >&5 | 12724 cat conftest.$ac_ext >&5 |
12741 rm -f conftest* | 12736 rm -f conftest* |
12742 fi | 12737 fi |
12743 | 12738 |
12744 | 12739 |
12745 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12740 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12746 echo "configure:12747: checking for inline" >&5 | 12741 echo "configure:12742: checking for inline" >&5 |
12747 | 12742 |
12748 ac_cv_c_inline=no | 12743 ac_cv_c_inline=no |
12749 for ac_kw in inline __inline__ __inline; do | 12744 for ac_kw in inline __inline__ __inline; do |
12750 cat > conftest.$ac_ext <<EOF | 12745 cat > conftest.$ac_ext <<EOF |
12751 #line 12752 "configure" | 12746 #line 12747 "configure" |
12752 #include "confdefs.h" | 12747 #include "confdefs.h" |
12753 | 12748 |
12754 int main() { | 12749 int main() { |
12755 } $ac_kw foo() { | 12750 } $ac_kw foo() { |
12756 ; return 0; } | 12751 ; return 0; } |
12757 EOF | 12752 EOF |
12758 if { (eval echo configure:12759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12753 if { (eval echo configure:12754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12759 rm -rf conftest* | 12754 rm -rf conftest* |
12760 ac_cv_c_inline=$ac_kw; break | 12755 ac_cv_c_inline=$ac_kw; break |
12761 else | 12756 else |
12762 echo "configure: failed program was:" >&5 | 12757 echo "configure: failed program was:" >&5 |
12763 cat conftest.$ac_ext >&5 | 12758 cat conftest.$ac_ext >&5 |
12794 | 12789 |
12795 if test "$__DECC" != "yes"; then | 12790 if test "$__DECC" != "yes"; then |
12796 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12791 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12797 # for constant arguments. Useless! | 12792 # for constant arguments. Useless! |
12798 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12793 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12799 echo "configure:12800: checking for working alloca.h" >&5 | 12794 echo "configure:12795: checking for working alloca.h" >&5 |
12800 | 12795 |
12801 cat > conftest.$ac_ext <<EOF | 12796 cat > conftest.$ac_ext <<EOF |
12802 #line 12803 "configure" | 12797 #line 12798 "configure" |
12803 #include "confdefs.h" | 12798 #include "confdefs.h" |
12804 #include <alloca.h> | 12799 #include <alloca.h> |
12805 int main() { | 12800 int main() { |
12806 char *p = alloca(2 * sizeof(int)); | 12801 char *p = alloca(2 * sizeof(int)); |
12807 ; return 0; } | 12802 ; return 0; } |
12808 EOF | 12803 EOF |
12809 if { (eval echo configure:12810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12804 if { (eval echo configure:12805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12810 rm -rf conftest* | 12805 rm -rf conftest* |
12811 ac_cv_header_alloca_h=yes | 12806 ac_cv_header_alloca_h=yes |
12812 else | 12807 else |
12813 echo "configure: failed program was:" >&5 | 12808 echo "configure: failed program was:" >&5 |
12814 cat conftest.$ac_ext >&5 | 12809 cat conftest.$ac_ext >&5 |
12828 } | 12823 } |
12829 | 12824 |
12830 fi | 12825 fi |
12831 | 12826 |
12832 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12827 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
12833 echo "configure:12834: checking for alloca" >&5 | 12828 echo "configure:12829: checking for alloca" >&5 |
12834 | 12829 |
12835 cat > conftest.$ac_ext <<EOF | 12830 cat > conftest.$ac_ext <<EOF |
12836 #line 12837 "configure" | 12831 #line 12832 "configure" |
12837 #include "confdefs.h" | 12832 #include "confdefs.h" |
12838 | 12833 |
12839 #ifdef __GNUC__ | 12834 #ifdef __GNUC__ |
12840 # define alloca __builtin_alloca | 12835 # define alloca __builtin_alloca |
12841 #else | 12836 #else |
12859 | 12854 |
12860 int main() { | 12855 int main() { |
12861 char *p = (char *) alloca(1); | 12856 char *p = (char *) alloca(1); |
12862 ; return 0; } | 12857 ; return 0; } |
12863 EOF | 12858 EOF |
12864 if { (eval echo configure:12865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12859 if { (eval echo configure:12860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12865 rm -rf conftest* | 12860 rm -rf conftest* |
12866 ac_cv_func_alloca_works=yes | 12861 ac_cv_func_alloca_works=yes |
12867 else | 12862 else |
12868 echo "configure: failed program was:" >&5 | 12863 echo "configure: failed program was:" >&5 |
12869 cat conftest.$ac_ext >&5 | 12864 cat conftest.$ac_ext >&5 |
12898 EOF | 12893 EOF |
12899 } | 12894 } |
12900 | 12895 |
12901 | 12896 |
12902 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 12897 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
12903 echo "configure:12904: checking whether alloca needs Cray hooks" >&5 | 12898 echo "configure:12899: checking whether alloca needs Cray hooks" >&5 |
12904 | 12899 |
12905 cat > conftest.$ac_ext <<EOF | 12900 cat > conftest.$ac_ext <<EOF |
12906 #line 12907 "configure" | 12901 #line 12902 "configure" |
12907 #include "confdefs.h" | 12902 #include "confdefs.h" |
12908 #if defined(CRAY) && ! defined(CRAY2) | 12903 #if defined(CRAY) && ! defined(CRAY2) |
12909 webecray | 12904 webecray |
12910 #else | 12905 #else |
12911 wenotbecray | 12906 wenotbecray |
12925 | 12920 |
12926 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 12921 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
12927 if test $ac_cv_os_cray = yes; then | 12922 if test $ac_cv_os_cray = yes; then |
12928 for ac_func in _getb67 GETB67 getb67; do | 12923 for ac_func in _getb67 GETB67 getb67; do |
12929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12930 echo "configure:12931: checking for $ac_func" >&5 | 12925 echo "configure:12926: checking for $ac_func" >&5 |
12931 | 12926 |
12932 cat > conftest.$ac_ext <<EOF | 12927 cat > conftest.$ac_ext <<EOF |
12933 #line 12934 "configure" | 12928 #line 12929 "configure" |
12934 #include "confdefs.h" | 12929 #include "confdefs.h" |
12935 /* System header to define __stub macros and hopefully few prototypes, | 12930 /* System header to define __stub macros and hopefully few prototypes, |
12936 which can conflict with char $ac_func(); below. */ | 12931 which can conflict with char $ac_func(); below. */ |
12937 #include <assert.h> | 12932 #include <assert.h> |
12938 /* Override any gcc2 internal prototype to avoid an error. */ | 12933 /* Override any gcc2 internal prototype to avoid an error. */ |
12951 $ac_func(); | 12946 $ac_func(); |
12952 #endif | 12947 #endif |
12953 | 12948 |
12954 ; return 0; } | 12949 ; return 0; } |
12955 EOF | 12950 EOF |
12956 if { (eval echo configure:12957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12951 if { (eval echo configure:12952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12957 rm -rf conftest* | 12952 rm -rf conftest* |
12958 eval "ac_cv_func_$ac_func=yes" | 12953 eval "ac_cv_func_$ac_func=yes" |
12959 else | 12954 else |
12960 echo "configure: failed program was:" >&5 | 12955 echo "configure: failed program was:" >&5 |
12961 cat conftest.$ac_ext >&5 | 12956 cat conftest.$ac_ext >&5 |
12981 | 12976 |
12982 done | 12977 done |
12983 fi | 12978 fi |
12984 | 12979 |
12985 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12980 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12986 echo "configure:12987: checking stack direction for C alloca" >&5 | 12981 echo "configure:12982: checking stack direction for C alloca" >&5 |
12987 | 12982 |
12988 cat > conftest.$ac_ext <<EOF | 12983 cat > conftest.$ac_ext <<EOF |
12989 #line 12990 "configure" | 12984 #line 12985 "configure" |
12990 #include "confdefs.h" | 12985 #include "confdefs.h" |
12991 find_stack_direction () | 12986 find_stack_direction () |
12992 { | 12987 { |
12993 static char *addr = 0; | 12988 static char *addr = 0; |
12994 auto char dummy; | 12989 auto char dummy; |
13003 main () | 12998 main () |
13004 { | 12999 { |
13005 exit (find_stack_direction() < 0); | 13000 exit (find_stack_direction() < 0); |
13006 } | 13001 } |
13007 EOF | 13002 EOF |
13008 if { (eval echo configure:13009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13003 if { (eval echo configure:13004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13009 then | 13004 then |
13010 ac_cv_c_stack_direction=1 | 13005 ac_cv_c_stack_direction=1 |
13011 else | 13006 else |
13012 conftest_rc="$?" | 13007 conftest_rc="$?" |
13013 echo "configure: failed program was:" >&5 | 13008 echo "configure: failed program was:" >&5 |
13032 echo " xemacs will be linked with \"$ALLOCA\"" | 13027 echo " xemacs will be linked with \"$ALLOCA\"" |
13033 fi | 13028 fi |
13034 fi | 13029 fi |
13035 | 13030 |
13036 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13031 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13037 echo "configure:13038: checking for working strcoll" >&5 | 13032 echo "configure:13033: checking for working strcoll" >&5 |
13038 | 13033 |
13039 cat > conftest.$ac_ext <<EOF | 13034 cat > conftest.$ac_ext <<EOF |
13040 #line 13041 "configure" | 13035 #line 13036 "configure" |
13041 #include "confdefs.h" | 13036 #include "confdefs.h" |
13042 #include <string.h> | 13037 #include <string.h> |
13043 main () | 13038 main () |
13044 { | 13039 { |
13045 exit (strcoll ("abc", "def") >= 0 || | 13040 exit (strcoll ("abc", "def") >= 0 || |
13046 strcoll ("ABC", "DEF") >= 0 || | 13041 strcoll ("ABC", "DEF") >= 0 || |
13047 strcoll ("123", "456") >= 0); | 13042 strcoll ("123", "456") >= 0); |
13048 } | 13043 } |
13049 EOF | 13044 EOF |
13050 if { (eval echo configure:13051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13045 if { (eval echo configure:13046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13051 then | 13046 then |
13052 ac_cv_func_strcoll_works=yes | 13047 ac_cv_func_strcoll_works=yes |
13053 else | 13048 else |
13054 conftest_rc="$?" | 13049 conftest_rc="$?" |
13055 echo "configure: failed program was:" >&5 | 13050 echo "configure: failed program was:" >&5 |
13073 | 13068 |
13074 | 13069 |
13075 for ac_func in getpgrp | 13070 for ac_func in getpgrp |
13076 do | 13071 do |
13077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13072 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13078 echo "configure:13079: checking for $ac_func" >&5 | 13073 echo "configure:13074: checking for $ac_func" >&5 |
13079 | 13074 |
13080 cat > conftest.$ac_ext <<EOF | 13075 cat > conftest.$ac_ext <<EOF |
13081 #line 13082 "configure" | 13076 #line 13077 "configure" |
13082 #include "confdefs.h" | 13077 #include "confdefs.h" |
13083 /* System header to define __stub macros and hopefully few prototypes, | 13078 /* System header to define __stub macros and hopefully few prototypes, |
13084 which can conflict with char $ac_func(); below. */ | 13079 which can conflict with char $ac_func(); below. */ |
13085 #include <assert.h> | 13080 #include <assert.h> |
13086 /* Override any gcc2 internal prototype to avoid an error. */ | 13081 /* Override any gcc2 internal prototype to avoid an error. */ |
13099 $ac_func(); | 13094 $ac_func(); |
13100 #endif | 13095 #endif |
13101 | 13096 |
13102 ; return 0; } | 13097 ; return 0; } |
13103 EOF | 13098 EOF |
13104 if { (eval echo configure:13105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13099 if { (eval echo configure:13100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13105 rm -rf conftest* | 13100 rm -rf conftest* |
13106 eval "ac_cv_func_$ac_func=yes" | 13101 eval "ac_cv_func_$ac_func=yes" |
13107 else | 13102 else |
13108 echo "configure: failed program was:" >&5 | 13103 echo "configure: failed program was:" >&5 |
13109 cat conftest.$ac_ext >&5 | 13104 cat conftest.$ac_ext >&5 |
13127 echo "$ac_t""no" 1>&6 | 13122 echo "$ac_t""no" 1>&6 |
13128 fi | 13123 fi |
13129 done | 13124 done |
13130 | 13125 |
13131 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13126 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13132 echo "configure:13133: checking whether getpgrp takes no argument" >&5 | 13127 echo "configure:13128: checking whether getpgrp takes no argument" >&5 |
13133 | 13128 |
13134 cat > conftest.$ac_ext <<EOF | 13129 cat > conftest.$ac_ext <<EOF |
13135 #line 13136 "configure" | 13130 #line 13131 "configure" |
13136 #include "confdefs.h" | 13131 #include "confdefs.h" |
13137 | 13132 |
13138 /* | 13133 /* |
13139 * If this system has a BSD-style getpgrp(), | 13134 * If this system has a BSD-style getpgrp(), |
13140 * which takes a pid argument, exit unsuccessfully. | 13135 * which takes a pid argument, exit unsuccessfully. |
13185 exit(s>>8); | 13180 exit(s>>8); |
13186 } | 13181 } |
13187 } | 13182 } |
13188 | 13183 |
13189 EOF | 13184 EOF |
13190 if { (eval echo configure:13191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13185 if { (eval echo configure:13186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13191 then | 13186 then |
13192 ac_cv_func_getpgrp_void=yes | 13187 ac_cv_func_getpgrp_void=yes |
13193 else | 13188 else |
13194 conftest_rc="$?" | 13189 conftest_rc="$?" |
13195 echo "configure: failed program was:" >&5 | 13190 echo "configure: failed program was:" >&5 |
13212 | 13207 |
13213 fi | 13208 fi |
13214 | 13209 |
13215 | 13210 |
13216 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13211 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13217 echo "configure:13218: checking for working mmap" >&5 | 13212 echo "configure:13213: checking for working mmap" >&5 |
13218 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13213 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13219 cat > conftest.$ac_ext <<EOF | 13214 cat > conftest.$ac_ext <<EOF |
13220 #line 13221 "configure" | 13215 #line 13216 "configure" |
13221 #include "confdefs.h" | 13216 #include "confdefs.h" |
13222 #include <stdio.h> | 13217 #include <stdio.h> |
13223 #include <unistd.h> | 13218 #include <unistd.h> |
13224 #include <fcntl.h> | 13219 #include <fcntl.h> |
13225 #include <sys/mman.h> | 13220 #include <sys/mman.h> |
13248 return 0; | 13243 return 0; |
13249 perror ("conftest: mmap failed"); | 13244 perror ("conftest: mmap failed"); |
13250 return 1; | 13245 return 1; |
13251 } | 13246 } |
13252 EOF | 13247 EOF |
13253 if { (eval echo configure:13254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13248 if { (eval echo configure:13249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13254 then | 13249 then |
13255 have_mmap=yes | 13250 have_mmap=yes |
13256 else | 13251 else |
13257 conftest_rc="$?" | 13252 conftest_rc="$?" |
13258 echo "configure: failed program was:" >&5 | 13253 echo "configure: failed program was:" >&5 |
13277 esac | 13272 esac |
13278 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13273 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13279 if test "$rel_alloc $have_mmap" = "default yes"; then | 13274 if test "$rel_alloc $have_mmap" = "default yes"; then |
13280 if test "$doug_lea_malloc" = "yes"; then | 13275 if test "$doug_lea_malloc" = "yes"; then |
13281 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13276 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13282 echo "configure:13283: checking for M_MMAP_THRESHOLD" >&5 | 13277 echo "configure:13278: checking for M_MMAP_THRESHOLD" >&5 |
13283 cat > conftest.$ac_ext <<EOF | 13278 cat > conftest.$ac_ext <<EOF |
13284 #line 13285 "configure" | 13279 #line 13280 "configure" |
13285 #include "confdefs.h" | 13280 #include "confdefs.h" |
13286 #include <malloc.h> | 13281 #include <malloc.h> |
13287 int main() { | 13282 int main() { |
13288 | 13283 |
13289 #ifndef M_MMAP_THRESHOLD | 13284 #ifndef M_MMAP_THRESHOLD |
13291 !@+$%^&*_)(_ - unlikely to compile... | 13286 !@+$%^&*_)(_ - unlikely to compile... |
13292 #endif | 13287 #endif |
13293 | 13288 |
13294 ; return 0; } | 13289 ; return 0; } |
13295 EOF | 13290 EOF |
13296 if { (eval echo configure:13297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13291 if { (eval echo configure:13292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13297 rm -rf conftest* | 13292 rm -rf conftest* |
13298 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13293 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13299 else | 13294 else |
13300 echo "configure: failed program was:" >&5 | 13295 echo "configure: failed program was:" >&5 |
13301 cat conftest.$ac_ext >&5 | 13296 cat conftest.$ac_ext >&5 |
13316 } | 13311 } |
13317 | 13312 |
13318 | 13313 |
13319 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13314 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13320 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13315 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13321 echo "configure:13322: checking for termios.h" >&5 | 13316 echo "configure:13317: checking for termios.h" >&5 |
13322 | 13317 |
13323 cat > conftest.$ac_ext <<EOF | 13318 cat > conftest.$ac_ext <<EOF |
13324 #line 13325 "configure" | 13319 #line 13320 "configure" |
13325 #include "confdefs.h" | 13320 #include "confdefs.h" |
13326 #include <termios.h> | 13321 #include <termios.h> |
13327 EOF | 13322 EOF |
13328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13329 { (eval echo configure:13330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13324 { (eval echo configure:13325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13325 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13331 if test -z "$ac_err"; then | 13326 if test -z "$ac_err"; then |
13332 rm -rf conftest* | 13327 rm -rf conftest* |
13333 eval "ac_cv_header_$ac_safe=yes" | 13328 eval "ac_cv_header_$ac_safe=yes" |
13334 else | 13329 else |
13367 | 13362 |
13368 else | 13363 else |
13369 echo "$ac_t""no" 1>&6 | 13364 echo "$ac_t""no" 1>&6 |
13370 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13365 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13371 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13366 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13372 echo "configure:13373: checking for termio.h" >&5 | 13367 echo "configure:13368: checking for termio.h" >&5 |
13373 | 13368 |
13374 cat > conftest.$ac_ext <<EOF | 13369 cat > conftest.$ac_ext <<EOF |
13375 #line 13376 "configure" | 13370 #line 13371 "configure" |
13376 #include "confdefs.h" | 13371 #include "confdefs.h" |
13377 #include <termio.h> | 13372 #include <termio.h> |
13378 EOF | 13373 EOF |
13379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13374 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13380 { (eval echo configure:13381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13375 { (eval echo configure:13376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13376 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13382 if test -z "$ac_err"; then | 13377 if test -z "$ac_err"; then |
13383 rm -rf conftest* | 13378 rm -rf conftest* |
13384 eval "ac_cv_header_$ac_safe=yes" | 13379 eval "ac_cv_header_$ac_safe=yes" |
13385 else | 13380 else |
13407 fi | 13402 fi |
13408 | 13403 |
13409 | 13404 |
13410 | 13405 |
13411 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13406 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13412 echo "configure:13413: checking for socket" >&5 | 13407 echo "configure:13408: checking for socket" >&5 |
13413 | 13408 |
13414 cat > conftest.$ac_ext <<EOF | 13409 cat > conftest.$ac_ext <<EOF |
13415 #line 13416 "configure" | 13410 #line 13411 "configure" |
13416 #include "confdefs.h" | 13411 #include "confdefs.h" |
13417 /* System header to define __stub macros and hopefully few prototypes, | 13412 /* System header to define __stub macros and hopefully few prototypes, |
13418 which can conflict with char socket(); below. */ | 13413 which can conflict with char socket(); below. */ |
13419 #include <assert.h> | 13414 #include <assert.h> |
13420 /* Override any gcc2 internal prototype to avoid an error. */ | 13415 /* Override any gcc2 internal prototype to avoid an error. */ |
13433 socket(); | 13428 socket(); |
13434 #endif | 13429 #endif |
13435 | 13430 |
13436 ; return 0; } | 13431 ; return 0; } |
13437 EOF | 13432 EOF |
13438 if { (eval echo configure:13439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13433 if { (eval echo configure:13434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13439 rm -rf conftest* | 13434 rm -rf conftest* |
13440 eval "ac_cv_func_socket=yes" | 13435 eval "ac_cv_func_socket=yes" |
13441 else | 13436 else |
13442 echo "configure: failed program was:" >&5 | 13437 echo "configure: failed program was:" >&5 |
13443 cat conftest.$ac_ext >&5 | 13438 cat conftest.$ac_ext >&5 |
13448 | 13443 |
13449 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13444 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13450 echo "$ac_t""yes" 1>&6 | 13445 echo "$ac_t""yes" 1>&6 |
13451 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13446 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13452 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13447 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13453 echo "configure:13454: checking for netinet/in.h" >&5 | 13448 echo "configure:13449: checking for netinet/in.h" >&5 |
13454 | 13449 |
13455 cat > conftest.$ac_ext <<EOF | 13450 cat > conftest.$ac_ext <<EOF |
13456 #line 13457 "configure" | 13451 #line 13452 "configure" |
13457 #include "confdefs.h" | 13452 #include "confdefs.h" |
13458 #include <netinet/in.h> | 13453 #include <netinet/in.h> |
13459 EOF | 13454 EOF |
13460 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13461 { (eval echo configure:13462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13456 { (eval echo configure:13457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13462 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13463 if test -z "$ac_err"; then | 13458 if test -z "$ac_err"; then |
13464 rm -rf conftest* | 13459 rm -rf conftest* |
13465 eval "ac_cv_header_$ac_safe=yes" | 13460 eval "ac_cv_header_$ac_safe=yes" |
13466 else | 13461 else |
13473 rm -f conftest* | 13468 rm -f conftest* |
13474 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13469 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13475 echo "$ac_t""yes" 1>&6 | 13470 echo "$ac_t""yes" 1>&6 |
13476 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13471 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13477 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13472 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13478 echo "configure:13479: checking for arpa/inet.h" >&5 | 13473 echo "configure:13474: checking for arpa/inet.h" >&5 |
13479 | 13474 |
13480 cat > conftest.$ac_ext <<EOF | 13475 cat > conftest.$ac_ext <<EOF |
13481 #line 13482 "configure" | 13476 #line 13477 "configure" |
13482 #include "confdefs.h" | 13477 #include "confdefs.h" |
13483 #include <arpa/inet.h> | 13478 #include <arpa/inet.h> |
13484 EOF | 13479 EOF |
13485 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13486 { (eval echo configure:13487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13481 { (eval echo configure:13482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13487 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13482 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13488 if test -z "$ac_err"; then | 13483 if test -z "$ac_err"; then |
13489 rm -rf conftest* | 13484 rm -rf conftest* |
13490 eval "ac_cv_header_$ac_safe=yes" | 13485 eval "ac_cv_header_$ac_safe=yes" |
13491 else | 13486 else |
13506 #define HAVE_SOCKETS 1 | 13501 #define HAVE_SOCKETS 1 |
13507 EOF | 13502 EOF |
13508 } | 13503 } |
13509 | 13504 |
13510 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13505 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13511 echo "configure:13512: checking "for sun_len member in struct sockaddr_un"" >&5 | 13506 echo "configure:13507: checking "for sun_len member in struct sockaddr_un"" >&5 |
13512 cat > conftest.$ac_ext <<EOF | 13507 cat > conftest.$ac_ext <<EOF |
13513 #line 13514 "configure" | 13508 #line 13509 "configure" |
13514 #include "confdefs.h" | 13509 #include "confdefs.h" |
13515 | 13510 |
13516 #include <sys/types.h> | 13511 #include <sys/types.h> |
13517 #include <sys/socket.h> | 13512 #include <sys/socket.h> |
13518 #include <sys/un.h> | 13513 #include <sys/un.h> |
13519 | 13514 |
13520 int main() { | 13515 int main() { |
13521 static struct sockaddr_un x; x.sun_len = 1; | 13516 static struct sockaddr_un x; x.sun_len = 1; |
13522 ; return 0; } | 13517 ; return 0; } |
13523 EOF | 13518 EOF |
13524 if { (eval echo configure:13525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13519 if { (eval echo configure:13520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13525 rm -rf conftest* | 13520 rm -rf conftest* |
13526 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13521 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13527 Defining HAVE_SOCKADDR_SUN_LEN | 13522 Defining HAVE_SOCKADDR_SUN_LEN |
13528 EOF | 13523 EOF |
13529 cat >> confdefs.h <<\EOF | 13524 cat >> confdefs.h <<\EOF |
13537 rm -rf conftest* | 13532 rm -rf conftest* |
13538 echo "$ac_t""no" 1>&6 | 13533 echo "$ac_t""no" 1>&6 |
13539 fi | 13534 fi |
13540 rm -f conftest* | 13535 rm -f conftest* |
13541 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13536 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13542 echo "configure:13543: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13537 echo "configure:13538: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13543 cat > conftest.$ac_ext <<EOF | 13538 cat > conftest.$ac_ext <<EOF |
13544 #line 13545 "configure" | 13539 #line 13540 "configure" |
13545 #include "confdefs.h" | 13540 #include "confdefs.h" |
13546 | 13541 |
13547 #include <sys/types.h> | 13542 #include <sys/types.h> |
13548 #include <netinet/in.h> | 13543 #include <netinet/in.h> |
13549 | 13544 |
13550 int main() { | 13545 int main() { |
13551 static struct ip_mreq x; | 13546 static struct ip_mreq x; |
13552 ; return 0; } | 13547 ; return 0; } |
13553 EOF | 13548 EOF |
13554 if { (eval echo configure:13555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13549 if { (eval echo configure:13550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13555 rm -rf conftest* | 13550 rm -rf conftest* |
13556 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13551 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13557 Defining HAVE_MULTICAST | 13552 Defining HAVE_MULTICAST |
13558 EOF | 13553 EOF |
13559 cat >> confdefs.h <<\EOF | 13554 cat >> confdefs.h <<\EOF |
13580 echo "$ac_t""no" 1>&6 | 13575 echo "$ac_t""no" 1>&6 |
13581 fi | 13576 fi |
13582 | 13577 |
13583 | 13578 |
13584 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13579 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13585 echo "configure:13586: checking for msgget" >&5 | 13580 echo "configure:13581: checking for msgget" >&5 |
13586 | 13581 |
13587 cat > conftest.$ac_ext <<EOF | 13582 cat > conftest.$ac_ext <<EOF |
13588 #line 13589 "configure" | 13583 #line 13584 "configure" |
13589 #include "confdefs.h" | 13584 #include "confdefs.h" |
13590 /* System header to define __stub macros and hopefully few prototypes, | 13585 /* System header to define __stub macros and hopefully few prototypes, |
13591 which can conflict with char msgget(); below. */ | 13586 which can conflict with char msgget(); below. */ |
13592 #include <assert.h> | 13587 #include <assert.h> |
13593 /* Override any gcc2 internal prototype to avoid an error. */ | 13588 /* Override any gcc2 internal prototype to avoid an error. */ |
13606 msgget(); | 13601 msgget(); |
13607 #endif | 13602 #endif |
13608 | 13603 |
13609 ; return 0; } | 13604 ; return 0; } |
13610 EOF | 13605 EOF |
13611 if { (eval echo configure:13612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13606 if { (eval echo configure:13607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13612 rm -rf conftest* | 13607 rm -rf conftest* |
13613 eval "ac_cv_func_msgget=yes" | 13608 eval "ac_cv_func_msgget=yes" |
13614 else | 13609 else |
13615 echo "configure: failed program was:" >&5 | 13610 echo "configure: failed program was:" >&5 |
13616 cat conftest.$ac_ext >&5 | 13611 cat conftest.$ac_ext >&5 |
13621 | 13616 |
13622 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13617 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13623 echo "$ac_t""yes" 1>&6 | 13618 echo "$ac_t""yes" 1>&6 |
13624 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13619 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13625 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13620 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13626 echo "configure:13627: checking for sys/ipc.h" >&5 | 13621 echo "configure:13622: checking for sys/ipc.h" >&5 |
13627 | 13622 |
13628 cat > conftest.$ac_ext <<EOF | 13623 cat > conftest.$ac_ext <<EOF |
13629 #line 13630 "configure" | 13624 #line 13625 "configure" |
13630 #include "confdefs.h" | 13625 #include "confdefs.h" |
13631 #include <sys/ipc.h> | 13626 #include <sys/ipc.h> |
13632 EOF | 13627 EOF |
13633 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13628 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13634 { (eval echo configure:13635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13629 { (eval echo configure:13630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13635 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13630 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13636 if test -z "$ac_err"; then | 13631 if test -z "$ac_err"; then |
13637 rm -rf conftest* | 13632 rm -rf conftest* |
13638 eval "ac_cv_header_$ac_safe=yes" | 13633 eval "ac_cv_header_$ac_safe=yes" |
13639 else | 13634 else |
13646 rm -f conftest* | 13641 rm -f conftest* |
13647 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13642 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13648 echo "$ac_t""yes" 1>&6 | 13643 echo "$ac_t""yes" 1>&6 |
13649 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13644 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13650 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13645 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13651 echo "configure:13652: checking for sys/msg.h" >&5 | 13646 echo "configure:13647: checking for sys/msg.h" >&5 |
13652 | 13647 |
13653 cat > conftest.$ac_ext <<EOF | 13648 cat > conftest.$ac_ext <<EOF |
13654 #line 13655 "configure" | 13649 #line 13650 "configure" |
13655 #include "confdefs.h" | 13650 #include "confdefs.h" |
13656 #include <sys/msg.h> | 13651 #include <sys/msg.h> |
13657 EOF | 13652 EOF |
13658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13659 { (eval echo configure:13660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13654 { (eval echo configure:13655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13660 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13661 if test -z "$ac_err"; then | 13656 if test -z "$ac_err"; then |
13662 rm -rf conftest* | 13657 rm -rf conftest* |
13663 eval "ac_cv_header_$ac_safe=yes" | 13658 eval "ac_cv_header_$ac_safe=yes" |
13664 else | 13659 else |
13692 fi | 13687 fi |
13693 | 13688 |
13694 | 13689 |
13695 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13690 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13696 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13691 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13697 echo "configure:13698: checking for dirent.h" >&5 | 13692 echo "configure:13693: checking for dirent.h" >&5 |
13698 | 13693 |
13699 cat > conftest.$ac_ext <<EOF | 13694 cat > conftest.$ac_ext <<EOF |
13700 #line 13701 "configure" | 13695 #line 13696 "configure" |
13701 #include "confdefs.h" | 13696 #include "confdefs.h" |
13702 #include <dirent.h> | 13697 #include <dirent.h> |
13703 EOF | 13698 EOF |
13704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13705 { (eval echo configure:13706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13700 { (eval echo configure:13701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13701 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13707 if test -z "$ac_err"; then | 13702 if test -z "$ac_err"; then |
13708 rm -rf conftest* | 13703 rm -rf conftest* |
13709 eval "ac_cv_header_$ac_safe=yes" | 13704 eval "ac_cv_header_$ac_safe=yes" |
13710 else | 13705 else |
13727 | 13722 |
13728 else | 13723 else |
13729 echo "$ac_t""no" 1>&6 | 13724 echo "$ac_t""no" 1>&6 |
13730 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13725 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13731 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13726 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13732 echo "configure:13733: checking for sys/dir.h" >&5 | 13727 echo "configure:13728: checking for sys/dir.h" >&5 |
13733 | 13728 |
13734 cat > conftest.$ac_ext <<EOF | 13729 cat > conftest.$ac_ext <<EOF |
13735 #line 13736 "configure" | 13730 #line 13731 "configure" |
13736 #include "confdefs.h" | 13731 #include "confdefs.h" |
13737 #include <sys/dir.h> | 13732 #include <sys/dir.h> |
13738 EOF | 13733 EOF |
13739 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13740 { (eval echo configure:13741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13735 { (eval echo configure:13736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13741 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13736 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13742 if test -z "$ac_err"; then | 13737 if test -z "$ac_err"; then |
13743 rm -rf conftest* | 13738 rm -rf conftest* |
13744 eval "ac_cv_header_$ac_safe=yes" | 13739 eval "ac_cv_header_$ac_safe=yes" |
13745 else | 13740 else |
13768 fi | 13763 fi |
13769 | 13764 |
13770 | 13765 |
13771 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13766 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13772 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13767 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13773 echo "configure:13774: checking for nlist.h" >&5 | 13768 echo "configure:13769: checking for nlist.h" >&5 |
13774 | 13769 |
13775 cat > conftest.$ac_ext <<EOF | 13770 cat > conftest.$ac_ext <<EOF |
13776 #line 13777 "configure" | 13771 #line 13772 "configure" |
13777 #include "confdefs.h" | 13772 #include "confdefs.h" |
13778 #include <nlist.h> | 13773 #include <nlist.h> |
13779 EOF | 13774 EOF |
13780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13775 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13781 { (eval echo configure:13782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13776 { (eval echo configure:13777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13777 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13783 if test -z "$ac_err"; then | 13778 if test -z "$ac_err"; then |
13784 rm -rf conftest* | 13779 rm -rf conftest* |
13785 eval "ac_cv_header_$ac_safe=yes" | 13780 eval "ac_cv_header_$ac_safe=yes" |
13786 else | 13781 else |
13806 fi | 13801 fi |
13807 | 13802 |
13808 | 13803 |
13809 | 13804 |
13810 echo "checking "for sound support"" 1>&6 | 13805 echo "checking "for sound support"" 1>&6 |
13811 echo "configure:13812: checking "for sound support"" >&5 | 13806 echo "configure:13807: checking "for sound support"" >&5 |
13812 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13807 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13813 | 13808 |
13814 if test "$with_native_sound" != "no"; then | 13809 if test "$with_native_sound" != "no"; then |
13815 if test -n "$native_sound_lib"; then | 13810 if test -n "$native_sound_lib"; then |
13816 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13811 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
13817 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13812 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
13818 echo "configure:13819: checking for multimedia/audio_device.h" >&5 | 13813 echo "configure:13814: checking for multimedia/audio_device.h" >&5 |
13819 | 13814 |
13820 cat > conftest.$ac_ext <<EOF | 13815 cat > conftest.$ac_ext <<EOF |
13821 #line 13822 "configure" | 13816 #line 13817 "configure" |
13822 #include "confdefs.h" | 13817 #include "confdefs.h" |
13823 #include <multimedia/audio_device.h> | 13818 #include <multimedia/audio_device.h> |
13824 EOF | 13819 EOF |
13825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13826 { (eval echo configure:13827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13821 { (eval echo configure:13822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13828 if test -z "$ac_err"; then | 13823 if test -z "$ac_err"; then |
13829 rm -rf conftest* | 13824 rm -rf conftest* |
13830 eval "ac_cv_header_$ac_safe=yes" | 13825 eval "ac_cv_header_$ac_safe=yes" |
13831 else | 13826 else |
13869 case "$canonical" in | 13864 case "$canonical" in |
13870 *-sgi-* ) | 13865 *-sgi-* ) |
13871 if test -z "$native_sound_lib"; then | 13866 if test -z "$native_sound_lib"; then |
13872 | 13867 |
13873 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13868 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13874 echo "configure:13875: checking for ALopenport in -laudio" >&5 | 13869 echo "configure:13870: checking for ALopenport in -laudio" >&5 |
13875 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13870 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13876 | 13871 |
13877 xe_check_libs=" -laudio " | 13872 xe_check_libs=" -laudio " |
13878 cat > conftest.$ac_ext <<EOF | 13873 cat > conftest.$ac_ext <<EOF |
13879 #line 13880 "configure" | 13874 #line 13875 "configure" |
13880 #include "confdefs.h" | 13875 #include "confdefs.h" |
13881 /* Override any gcc2 internal prototype to avoid an error. */ | 13876 /* Override any gcc2 internal prototype to avoid an error. */ |
13882 /* We use char because int might match the return type of a gcc2 | 13877 /* We use char because int might match the return type of a gcc2 |
13883 builtin and then its argument prototype would still apply. */ | 13878 builtin and then its argument prototype would still apply. */ |
13884 char ALopenport(); | 13879 char ALopenport(); |
13885 | 13880 |
13886 int main() { | 13881 int main() { |
13887 ALopenport() | 13882 ALopenport() |
13888 ; return 0; } | 13883 ; return 0; } |
13889 EOF | 13884 EOF |
13890 if { (eval echo configure:13891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13885 if { (eval echo configure:13886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13891 rm -rf conftest* | 13886 rm -rf conftest* |
13892 eval "ac_cv_lib_$ac_lib_var=yes" | 13887 eval "ac_cv_lib_$ac_lib_var=yes" |
13893 else | 13888 else |
13894 echo "configure: failed program was:" >&5 | 13889 echo "configure: failed program was:" >&5 |
13895 cat conftest.$ac_ext >&5 | 13890 cat conftest.$ac_ext >&5 |
13916 fi ;; | 13911 fi ;; |
13917 hppa*-hp-hpux* ) | 13912 hppa*-hp-hpux* ) |
13918 if test -z "$native_sound_lib"; then | 13913 if test -z "$native_sound_lib"; then |
13919 | 13914 |
13920 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13915 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
13921 echo "configure:13922: checking for AOpenAudio in -lAlib" >&5 | 13916 echo "configure:13917: checking for AOpenAudio in -lAlib" >&5 |
13922 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13917 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
13923 | 13918 |
13924 xe_check_libs=" -lAlib " | 13919 xe_check_libs=" -lAlib " |
13925 cat > conftest.$ac_ext <<EOF | 13920 cat > conftest.$ac_ext <<EOF |
13926 #line 13927 "configure" | 13921 #line 13922 "configure" |
13927 #include "confdefs.h" | 13922 #include "confdefs.h" |
13928 /* Override any gcc2 internal prototype to avoid an error. */ | 13923 /* Override any gcc2 internal prototype to avoid an error. */ |
13929 /* We use char because int might match the return type of a gcc2 | 13924 /* We use char because int might match the return type of a gcc2 |
13930 builtin and then its argument prototype would still apply. */ | 13925 builtin and then its argument prototype would still apply. */ |
13931 char AOpenAudio(); | 13926 char AOpenAudio(); |
13932 | 13927 |
13933 int main() { | 13928 int main() { |
13934 AOpenAudio() | 13929 AOpenAudio() |
13935 ; return 0; } | 13930 ; return 0; } |
13936 EOF | 13931 EOF |
13937 if { (eval echo configure:13938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13932 if { (eval echo configure:13933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13938 rm -rf conftest* | 13933 rm -rf conftest* |
13939 eval "ac_cv_lib_$ac_lib_var=yes" | 13934 eval "ac_cv_lib_$ac_lib_var=yes" |
13940 else | 13935 else |
13941 echo "configure: failed program was:" >&5 | 13936 echo "configure: failed program was:" >&5 |
13942 cat conftest.$ac_ext >&5 | 13937 cat conftest.$ac_ext >&5 |
13980 | 13975 |
13981 if test -z "$sound_found"; then | 13976 if test -z "$sound_found"; then |
13982 for dir in "machine" "sys" "linux"; do | 13977 for dir in "machine" "sys" "linux"; do |
13983 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13978 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13984 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13979 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13985 echo "configure:13986: checking for ${dir}/soundcard.h" >&5 | 13980 echo "configure:13981: checking for ${dir}/soundcard.h" >&5 |
13986 | 13981 |
13987 cat > conftest.$ac_ext <<EOF | 13982 cat > conftest.$ac_ext <<EOF |
13988 #line 13989 "configure" | 13983 #line 13984 "configure" |
13989 #include "confdefs.h" | 13984 #include "confdefs.h" |
13990 #include <${dir}/soundcard.h> | 13985 #include <${dir}/soundcard.h> |
13991 EOF | 13986 EOF |
13992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13987 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13993 { (eval echo configure:13994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13988 { (eval echo configure:13989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13989 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13995 if test -z "$ac_err"; then | 13990 if test -z "$ac_err"; then |
13996 rm -rf conftest* | 13991 rm -rf conftest* |
13997 eval "ac_cv_header_$ac_safe=yes" | 13992 eval "ac_cv_header_$ac_safe=yes" |
13998 else | 13993 else |
14042 fi | 14037 fi |
14043 | 14038 |
14044 if test "$with_nas_sound" != "no"; then | 14039 if test "$with_nas_sound" != "no"; then |
14045 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14040 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14046 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14041 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14047 echo "configure:14048: checking for audio/audiolib.h" >&5 | 14042 echo "configure:14043: checking for audio/audiolib.h" >&5 |
14048 | 14043 |
14049 cat > conftest.$ac_ext <<EOF | 14044 cat > conftest.$ac_ext <<EOF |
14050 #line 14051 "configure" | 14045 #line 14046 "configure" |
14051 #include "confdefs.h" | 14046 #include "confdefs.h" |
14052 #include <audio/audiolib.h> | 14047 #include <audio/audiolib.h> |
14053 EOF | 14048 EOF |
14054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14055 { (eval echo configure:14056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14050 { (eval echo configure:14051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14057 if test -z "$ac_err"; then | 14052 if test -z "$ac_err"; then |
14058 rm -rf conftest* | 14053 rm -rf conftest* |
14059 eval "ac_cv_header_$ac_safe=yes" | 14054 eval "ac_cv_header_$ac_safe=yes" |
14060 else | 14055 else |
14068 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14063 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14069 echo "$ac_t""yes" 1>&6 | 14064 echo "$ac_t""yes" 1>&6 |
14070 | 14065 |
14071 | 14066 |
14072 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14067 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14073 echo "configure:14074: checking for AuOpenServer in -laudio" >&5 | 14068 echo "configure:14069: checking for AuOpenServer in -laudio" >&5 |
14074 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14069 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14075 | 14070 |
14076 xe_check_libs=" -laudio " | 14071 xe_check_libs=" -laudio " |
14077 cat > conftest.$ac_ext <<EOF | 14072 cat > conftest.$ac_ext <<EOF |
14078 #line 14079 "configure" | 14073 #line 14074 "configure" |
14079 #include "confdefs.h" | 14074 #include "confdefs.h" |
14080 /* Override any gcc2 internal prototype to avoid an error. */ | 14075 /* Override any gcc2 internal prototype to avoid an error. */ |
14081 /* We use char because int might match the return type of a gcc2 | 14076 /* We use char because int might match the return type of a gcc2 |
14082 builtin and then its argument prototype would still apply. */ | 14077 builtin and then its argument prototype would still apply. */ |
14083 char AuOpenServer(); | 14078 char AuOpenServer(); |
14084 | 14079 |
14085 int main() { | 14080 int main() { |
14086 AuOpenServer() | 14081 AuOpenServer() |
14087 ; return 0; } | 14082 ; return 0; } |
14088 EOF | 14083 EOF |
14089 if { (eval echo configure:14090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14084 if { (eval echo configure:14085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14090 rm -rf conftest* | 14085 rm -rf conftest* |
14091 eval "ac_cv_lib_$ac_lib_var=yes" | 14086 eval "ac_cv_lib_$ac_lib_var=yes" |
14092 else | 14087 else |
14093 echo "configure: failed program was:" >&5 | 14088 echo "configure: failed program was:" >&5 |
14094 cat conftest.$ac_ext >&5 | 14089 cat conftest.$ac_ext >&5 |
14123 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14118 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14124 echo " xemacs will be linked with \"nas.o\"" | 14119 echo " xemacs will be linked with \"nas.o\"" |
14125 fi | 14120 fi |
14126 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14121 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14127 cat > conftest.$ac_ext <<EOF | 14122 cat > conftest.$ac_ext <<EOF |
14128 #line 14129 "configure" | 14123 #line 14124 "configure" |
14129 #include "confdefs.h" | 14124 #include "confdefs.h" |
14130 #include <audio/Xtutil.h> | 14125 #include <audio/Xtutil.h> |
14131 EOF | 14126 EOF |
14132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14133 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14128 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14154 | 14149 |
14155 if test "$with_esd_sound" != "no"; then | 14150 if test "$with_esd_sound" != "no"; then |
14156 # Extract the first word of "esd-config", so it can be a program name with args. | 14151 # Extract the first word of "esd-config", so it can be a program name with args. |
14157 set dummy esd-config; ac_word=$2 | 14152 set dummy esd-config; ac_word=$2 |
14158 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14153 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14159 echo "configure:14160: checking for $ac_word" >&5 | 14154 echo "configure:14155: checking for $ac_word" >&5 |
14160 | 14155 |
14161 if test -n "$have_esd_config"; then | 14156 if test -n "$have_esd_config"; then |
14162 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14157 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14163 else | 14158 else |
14164 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14159 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14183 if test "$have_esd_config" = "yes"; then | 14178 if test "$have_esd_config" = "yes"; then |
14184 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14179 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14185 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 | 14180 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 |
14186 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14181 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14187 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14182 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14188 echo "configure:14189: checking for esd_play_stream" >&5 | 14183 echo "configure:14184: checking for esd_play_stream" >&5 |
14189 | 14184 |
14190 cat > conftest.$ac_ext <<EOF | 14185 cat > conftest.$ac_ext <<EOF |
14191 #line 14192 "configure" | 14186 #line 14187 "configure" |
14192 #include "confdefs.h" | 14187 #include "confdefs.h" |
14193 /* System header to define __stub macros and hopefully few prototypes, | 14188 /* System header to define __stub macros and hopefully few prototypes, |
14194 which can conflict with char esd_play_stream(); below. */ | 14189 which can conflict with char esd_play_stream(); below. */ |
14195 #include <assert.h> | 14190 #include <assert.h> |
14196 /* Override any gcc2 internal prototype to avoid an error. */ | 14191 /* Override any gcc2 internal prototype to avoid an error. */ |
14209 esd_play_stream(); | 14204 esd_play_stream(); |
14210 #endif | 14205 #endif |
14211 | 14206 |
14212 ; return 0; } | 14207 ; return 0; } |
14213 EOF | 14208 EOF |
14214 if { (eval echo configure:14215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14209 if { (eval echo configure:14210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14215 rm -rf conftest* | 14210 rm -rf conftest* |
14216 eval "ac_cv_func_esd_play_stream=yes" | 14211 eval "ac_cv_func_esd_play_stream=yes" |
14217 else | 14212 else |
14218 echo "configure: failed program was:" >&5 | 14213 echo "configure: failed program was:" >&5 |
14219 cat conftest.$ac_ext >&5 | 14214 cat conftest.$ac_ext >&5 |
14260 | 14255 |
14261 test -z "$with_tty" && with_tty=yes | 14256 test -z "$with_tty" && with_tty=yes |
14262 | 14257 |
14263 if test "$with_tty" = "yes" ; then | 14258 if test "$with_tty" = "yes" ; then |
14264 echo "checking for TTY-related features" 1>&6 | 14259 echo "checking for TTY-related features" 1>&6 |
14265 echo "configure:14266: checking for TTY-related features" >&5 | 14260 echo "configure:14261: checking for TTY-related features" >&5 |
14266 { test "$extra_verbose" = "yes" && cat << \EOF | 14261 { test "$extra_verbose" = "yes" && cat << \EOF |
14267 Defining HAVE_TTY | 14262 Defining HAVE_TTY |
14268 EOF | 14263 EOF |
14269 cat >> confdefs.h <<\EOF | 14264 cat >> confdefs.h <<\EOF |
14270 #define HAVE_TTY 1 | 14265 #define HAVE_TTY 1 |
14273 | 14268 |
14274 | 14269 |
14275 if test -z "$with_ncurses"; then | 14270 if test -z "$with_ncurses"; then |
14276 | 14271 |
14277 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14272 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14278 echo "configure:14279: checking for tgetent in -lncurses" >&5 | 14273 echo "configure:14274: checking for tgetent in -lncurses" >&5 |
14279 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14274 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14280 | 14275 |
14281 xe_check_libs=" -lncurses " | 14276 xe_check_libs=" -lncurses " |
14282 cat > conftest.$ac_ext <<EOF | 14277 cat > conftest.$ac_ext <<EOF |
14283 #line 14284 "configure" | 14278 #line 14279 "configure" |
14284 #include "confdefs.h" | 14279 #include "confdefs.h" |
14285 /* Override any gcc2 internal prototype to avoid an error. */ | 14280 /* Override any gcc2 internal prototype to avoid an error. */ |
14286 /* We use char because int might match the return type of a gcc2 | 14281 /* We use char because int might match the return type of a gcc2 |
14287 builtin and then its argument prototype would still apply. */ | 14282 builtin and then its argument prototype would still apply. */ |
14288 char tgetent(); | 14283 char tgetent(); |
14289 | 14284 |
14290 int main() { | 14285 int main() { |
14291 tgetent() | 14286 tgetent() |
14292 ; return 0; } | 14287 ; return 0; } |
14293 EOF | 14288 EOF |
14294 if { (eval echo configure:14295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14289 if { (eval echo configure:14290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14295 rm -rf conftest* | 14290 rm -rf conftest* |
14296 eval "ac_cv_lib_$ac_lib_var=yes" | 14291 eval "ac_cv_lib_$ac_lib_var=yes" |
14297 else | 14292 else |
14298 echo "configure: failed program was:" >&5 | 14293 echo "configure: failed program was:" >&5 |
14299 cat conftest.$ac_ext >&5 | 14294 cat conftest.$ac_ext >&5 |
14322 EOF | 14317 EOF |
14323 } | 14318 } |
14324 | 14319 |
14325 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14320 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14326 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14321 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14327 echo "configure:14328: checking for ncurses/curses.h" >&5 | 14322 echo "configure:14323: checking for ncurses/curses.h" >&5 |
14328 | 14323 |
14329 cat > conftest.$ac_ext <<EOF | 14324 cat > conftest.$ac_ext <<EOF |
14330 #line 14331 "configure" | 14325 #line 14326 "configure" |
14331 #include "confdefs.h" | 14326 #include "confdefs.h" |
14332 #include <ncurses/curses.h> | 14327 #include <ncurses/curses.h> |
14333 EOF | 14328 EOF |
14334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14335 { (eval echo configure:14336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14330 { (eval echo configure:14331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14337 if test -z "$ac_err"; then | 14332 if test -z "$ac_err"; then |
14338 rm -rf conftest* | 14333 rm -rf conftest* |
14339 eval "ac_cv_header_$ac_safe=yes" | 14334 eval "ac_cv_header_$ac_safe=yes" |
14340 else | 14335 else |
14352 echo "$ac_t""no" 1>&6 | 14347 echo "$ac_t""no" 1>&6 |
14353 fi | 14348 fi |
14354 | 14349 |
14355 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14350 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14356 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14351 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14357 echo "configure:14358: checking for ncurses/term.h" >&5 | 14352 echo "configure:14353: checking for ncurses/term.h" >&5 |
14358 | 14353 |
14359 cat > conftest.$ac_ext <<EOF | 14354 cat > conftest.$ac_ext <<EOF |
14360 #line 14361 "configure" | 14355 #line 14356 "configure" |
14361 #include "confdefs.h" | 14356 #include "confdefs.h" |
14362 #include <ncurses/term.h> | 14357 #include <ncurses/term.h> |
14363 EOF | 14358 EOF |
14364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14359 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14365 { (eval echo configure:14366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14360 { (eval echo configure:14361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14361 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14367 if test -z "$ac_err"; then | 14362 if test -z "$ac_err"; then |
14368 rm -rf conftest* | 14363 rm -rf conftest* |
14369 eval "ac_cv_header_$ac_safe=yes" | 14364 eval "ac_cv_header_$ac_safe=yes" |
14370 else | 14365 else |
14390 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14385 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14391 save_c_switch_site="$c_switch_site" | 14386 save_c_switch_site="$c_switch_site" |
14392 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14387 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14393 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14388 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14394 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14389 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14395 echo "configure:14396: checking for ncurses/curses.h" >&5 | 14390 echo "configure:14391: checking for ncurses/curses.h" >&5 |
14396 | 14391 |
14397 cat > conftest.$ac_ext <<EOF | 14392 cat > conftest.$ac_ext <<EOF |
14398 #line 14399 "configure" | 14393 #line 14394 "configure" |
14399 #include "confdefs.h" | 14394 #include "confdefs.h" |
14400 #include <ncurses/curses.h> | 14395 #include <ncurses/curses.h> |
14401 EOF | 14396 EOF |
14402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14403 { (eval echo configure:14404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14398 { (eval echo configure:14399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14405 if test -z "$ac_err"; then | 14400 if test -z "$ac_err"; then |
14406 rm -rf conftest* | 14401 rm -rf conftest* |
14407 eval "ac_cv_header_$ac_safe=yes" | 14402 eval "ac_cv_header_$ac_safe=yes" |
14408 else | 14403 else |
14433 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14428 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14434 else | 14429 else |
14435 for lib in curses termlib termcap; do | 14430 for lib in curses termlib termcap; do |
14436 | 14431 |
14437 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14432 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14438 echo "configure:14439: checking for tgetent in -l$lib" >&5 | 14433 echo "configure:14434: checking for tgetent in -l$lib" >&5 |
14439 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14434 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14440 | 14435 |
14441 xe_check_libs=" -l$lib " | 14436 xe_check_libs=" -l$lib " |
14442 cat > conftest.$ac_ext <<EOF | 14437 cat > conftest.$ac_ext <<EOF |
14443 #line 14444 "configure" | 14438 #line 14439 "configure" |
14444 #include "confdefs.h" | 14439 #include "confdefs.h" |
14445 /* Override any gcc2 internal prototype to avoid an error. */ | 14440 /* Override any gcc2 internal prototype to avoid an error. */ |
14446 /* We use char because int might match the return type of a gcc2 | 14441 /* We use char because int might match the return type of a gcc2 |
14447 builtin and then its argument prototype would still apply. */ | 14442 builtin and then its argument prototype would still apply. */ |
14448 char tgetent(); | 14443 char tgetent(); |
14449 | 14444 |
14450 int main() { | 14445 int main() { |
14451 tgetent() | 14446 tgetent() |
14452 ; return 0; } | 14447 ; return 0; } |
14453 EOF | 14448 EOF |
14454 if { (eval echo configure:14455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14449 if { (eval echo configure:14450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14455 rm -rf conftest* | 14450 rm -rf conftest* |
14456 eval "ac_cv_lib_$ac_lib_var=yes" | 14451 eval "ac_cv_lib_$ac_lib_var=yes" |
14457 else | 14452 else |
14458 echo "configure: failed program was:" >&5 | 14453 echo "configure: failed program was:" >&5 |
14459 cat conftest.$ac_ext >&5 | 14454 cat conftest.$ac_ext >&5 |
14480 if test -n "$libs_termcap"; then | 14475 if test -n "$libs_termcap"; then |
14481 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14476 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14482 else | 14477 else |
14483 | 14478 |
14484 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14479 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14485 echo "configure:14486: checking for tgetent in -lcurses" >&5 | 14480 echo "configure:14481: checking for tgetent in -lcurses" >&5 |
14486 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14481 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14487 | 14482 |
14488 xe_check_libs=" -lcurses " | 14483 xe_check_libs=" -lcurses " |
14489 cat > conftest.$ac_ext <<EOF | 14484 cat > conftest.$ac_ext <<EOF |
14490 #line 14491 "configure" | 14485 #line 14486 "configure" |
14491 #include "confdefs.h" | 14486 #include "confdefs.h" |
14492 /* Override any gcc2 internal prototype to avoid an error. */ | 14487 /* Override any gcc2 internal prototype to avoid an error. */ |
14493 /* We use char because int might match the return type of a gcc2 | 14488 /* We use char because int might match the return type of a gcc2 |
14494 builtin and then its argument prototype would still apply. */ | 14489 builtin and then its argument prototype would still apply. */ |
14495 char tgetent(); | 14490 char tgetent(); |
14496 | 14491 |
14497 int main() { | 14492 int main() { |
14498 tgetent() | 14493 tgetent() |
14499 ; return 0; } | 14494 ; return 0; } |
14500 EOF | 14495 EOF |
14501 if { (eval echo configure:14502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14496 if { (eval echo configure:14497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14502 rm -rf conftest* | 14497 rm -rf conftest* |
14503 eval "ac_cv_lib_$ac_lib_var=yes" | 14498 eval "ac_cv_lib_$ac_lib_var=yes" |
14504 else | 14499 else |
14505 echo "configure: failed program was:" >&5 | 14500 echo "configure: failed program was:" >&5 |
14506 cat conftest.$ac_ext >&5 | 14501 cat conftest.$ac_ext >&5 |
14514 echo "$ac_t""yes" 1>&6 | 14509 echo "$ac_t""yes" 1>&6 |
14515 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14510 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14516 else | 14511 else |
14517 echo "$ac_t""no" 1>&6 | 14512 echo "$ac_t""no" 1>&6 |
14518 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14513 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14519 echo "configure:14520: checking for tgetent in -ltermcap" >&5 | 14514 echo "configure:14515: checking for tgetent in -ltermcap" >&5 |
14520 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14515 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14521 | 14516 |
14522 xe_check_libs=" -ltermcap " | 14517 xe_check_libs=" -ltermcap " |
14523 cat > conftest.$ac_ext <<EOF | 14518 cat > conftest.$ac_ext <<EOF |
14524 #line 14525 "configure" | 14519 #line 14520 "configure" |
14525 #include "confdefs.h" | 14520 #include "confdefs.h" |
14526 /* Override any gcc2 internal prototype to avoid an error. */ | 14521 /* Override any gcc2 internal prototype to avoid an error. */ |
14527 /* We use char because int might match the return type of a gcc2 | 14522 /* We use char because int might match the return type of a gcc2 |
14528 builtin and then its argument prototype would still apply. */ | 14523 builtin and then its argument prototype would still apply. */ |
14529 char tgetent(); | 14524 char tgetent(); |
14530 | 14525 |
14531 int main() { | 14526 int main() { |
14532 tgetent() | 14527 tgetent() |
14533 ; return 0; } | 14528 ; return 0; } |
14534 EOF | 14529 EOF |
14535 if { (eval echo configure:14536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14530 if { (eval echo configure:14531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14536 rm -rf conftest* | 14531 rm -rf conftest* |
14537 eval "ac_cv_lib_$ac_lib_var=yes" | 14532 eval "ac_cv_lib_$ac_lib_var=yes" |
14538 else | 14533 else |
14539 echo "configure: failed program was:" >&5 | 14534 echo "configure: failed program was:" >&5 |
14540 cat conftest.$ac_ext >&5 | 14535 cat conftest.$ac_ext >&5 |
14578 } | 14573 } |
14579 | 14574 |
14580 | 14575 |
14581 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14576 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14582 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14577 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14583 echo "configure:14584: checking for gpm.h" >&5 | 14578 echo "configure:14579: checking for gpm.h" >&5 |
14584 | 14579 |
14585 cat > conftest.$ac_ext <<EOF | 14580 cat > conftest.$ac_ext <<EOF |
14586 #line 14587 "configure" | 14581 #line 14582 "configure" |
14587 #include "confdefs.h" | 14582 #include "confdefs.h" |
14588 #include <gpm.h> | 14583 #include <gpm.h> |
14589 EOF | 14584 EOF |
14590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14591 { (eval echo configure:14592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14586 { (eval echo configure:14587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14592 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14593 if test -z "$ac_err"; then | 14588 if test -z "$ac_err"; then |
14594 rm -rf conftest* | 14589 rm -rf conftest* |
14595 eval "ac_cv_header_$ac_safe=yes" | 14590 eval "ac_cv_header_$ac_safe=yes" |
14596 else | 14591 else |
14609 with_gpm=no | 14604 with_gpm=no |
14610 fi | 14605 fi |
14611 } | 14606 } |
14612 test -z "$with_gpm" && { | 14607 test -z "$with_gpm" && { |
14613 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14608 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14614 echo "configure:14615: checking for Gpm_Open in -lgpm" >&5 | 14609 echo "configure:14610: checking for Gpm_Open in -lgpm" >&5 |
14615 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14610 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14616 | 14611 |
14617 xe_check_libs=" -lgpm " | 14612 xe_check_libs=" -lgpm " |
14618 cat > conftest.$ac_ext <<EOF | 14613 cat > conftest.$ac_ext <<EOF |
14619 #line 14620 "configure" | 14614 #line 14615 "configure" |
14620 #include "confdefs.h" | 14615 #include "confdefs.h" |
14621 /* Override any gcc2 internal prototype to avoid an error. */ | 14616 /* Override any gcc2 internal prototype to avoid an error. */ |
14622 /* We use char because int might match the return type of a gcc2 | 14617 /* We use char because int might match the return type of a gcc2 |
14623 builtin and then its argument prototype would still apply. */ | 14618 builtin and then its argument prototype would still apply. */ |
14624 char Gpm_Open(); | 14619 char Gpm_Open(); |
14625 | 14620 |
14626 int main() { | 14621 int main() { |
14627 Gpm_Open() | 14622 Gpm_Open() |
14628 ; return 0; } | 14623 ; return 0; } |
14629 EOF | 14624 EOF |
14630 if { (eval echo configure:14631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14625 if { (eval echo configure:14626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14631 rm -rf conftest* | 14626 rm -rf conftest* |
14632 eval "ac_cv_lib_$ac_lib_var=yes" | 14627 eval "ac_cv_lib_$ac_lib_var=yes" |
14633 else | 14628 else |
14634 echo "configure: failed program was:" >&5 | 14629 echo "configure: failed program was:" >&5 |
14635 cat conftest.$ac_ext >&5 | 14630 cat conftest.$ac_ext >&5 |
14668 done | 14663 done |
14669 fi | 14664 fi |
14670 | 14665 |
14671 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14666 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14672 != "no no no" && echo "checking for database support" 1>&6 | 14667 != "no no no" && echo "checking for database support" 1>&6 |
14673 echo "configure:14674: checking for database support" >&5 | 14668 echo "configure:14669: checking for database support" >&5 |
14674 | 14669 |
14675 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14670 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14676 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14671 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14677 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14672 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14678 echo "configure:14679: checking for ndbm.h" >&5 | 14673 echo "configure:14674: checking for ndbm.h" >&5 |
14679 | 14674 |
14680 cat > conftest.$ac_ext <<EOF | 14675 cat > conftest.$ac_ext <<EOF |
14681 #line 14682 "configure" | 14676 #line 14677 "configure" |
14682 #include "confdefs.h" | 14677 #include "confdefs.h" |
14683 #include <ndbm.h> | 14678 #include <ndbm.h> |
14684 EOF | 14679 EOF |
14685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14686 { (eval echo configure:14687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14681 { (eval echo configure:14682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14687 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14688 if test -z "$ac_err"; then | 14683 if test -z "$ac_err"; then |
14689 rm -rf conftest* | 14684 rm -rf conftest* |
14690 eval "ac_cv_header_$ac_safe=yes" | 14685 eval "ac_cv_header_$ac_safe=yes" |
14691 else | 14686 else |
14711 fi | 14706 fi |
14712 | 14707 |
14713 if test "$with_database_gdbm" != "no"; then | 14708 if test "$with_database_gdbm" != "no"; then |
14714 | 14709 |
14715 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14710 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14716 echo "configure:14717: checking for dbm_open in -lgdbm" >&5 | 14711 echo "configure:14712: checking for dbm_open in -lgdbm" >&5 |
14717 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14712 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14718 | 14713 |
14719 xe_check_libs=" -lgdbm " | 14714 xe_check_libs=" -lgdbm " |
14720 cat > conftest.$ac_ext <<EOF | 14715 cat > conftest.$ac_ext <<EOF |
14721 #line 14722 "configure" | 14716 #line 14717 "configure" |
14722 #include "confdefs.h" | 14717 #include "confdefs.h" |
14723 /* Override any gcc2 internal prototype to avoid an error. */ | 14718 /* Override any gcc2 internal prototype to avoid an error. */ |
14724 /* We use char because int might match the return type of a gcc2 | 14719 /* We use char because int might match the return type of a gcc2 |
14725 builtin and then its argument prototype would still apply. */ | 14720 builtin and then its argument prototype would still apply. */ |
14726 char dbm_open(); | 14721 char dbm_open(); |
14727 | 14722 |
14728 int main() { | 14723 int main() { |
14729 dbm_open() | 14724 dbm_open() |
14730 ; return 0; } | 14725 ; return 0; } |
14731 EOF | 14726 EOF |
14732 if { (eval echo configure:14733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14727 if { (eval echo configure:14728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14733 rm -rf conftest* | 14728 rm -rf conftest* |
14734 eval "ac_cv_lib_$ac_lib_var=yes" | 14729 eval "ac_cv_lib_$ac_lib_var=yes" |
14735 else | 14730 else |
14736 echo "configure: failed program was:" >&5 | 14731 echo "configure: failed program was:" >&5 |
14737 cat conftest.$ac_ext >&5 | 14732 cat conftest.$ac_ext >&5 |
14755 | 14750 |
14756 fi | 14751 fi |
14757 | 14752 |
14758 if test "$with_database_dbm" != "no"; then | 14753 if test "$with_database_dbm" != "no"; then |
14759 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14754 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14760 echo "configure:14761: checking for dbm_open" >&5 | 14755 echo "configure:14756: checking for dbm_open" >&5 |
14761 | 14756 |
14762 cat > conftest.$ac_ext <<EOF | 14757 cat > conftest.$ac_ext <<EOF |
14763 #line 14764 "configure" | 14758 #line 14759 "configure" |
14764 #include "confdefs.h" | 14759 #include "confdefs.h" |
14765 /* System header to define __stub macros and hopefully few prototypes, | 14760 /* System header to define __stub macros and hopefully few prototypes, |
14766 which can conflict with char dbm_open(); below. */ | 14761 which can conflict with char dbm_open(); below. */ |
14767 #include <assert.h> | 14762 #include <assert.h> |
14768 /* Override any gcc2 internal prototype to avoid an error. */ | 14763 /* Override any gcc2 internal prototype to avoid an error. */ |
14781 dbm_open(); | 14776 dbm_open(); |
14782 #endif | 14777 #endif |
14783 | 14778 |
14784 ; return 0; } | 14779 ; return 0; } |
14785 EOF | 14780 EOF |
14786 if { (eval echo configure:14787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14781 if { (eval echo configure:14782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14787 rm -rf conftest* | 14782 rm -rf conftest* |
14788 eval "ac_cv_func_dbm_open=yes" | 14783 eval "ac_cv_func_dbm_open=yes" |
14789 else | 14784 else |
14790 echo "configure: failed program was:" >&5 | 14785 echo "configure: failed program was:" >&5 |
14791 cat conftest.$ac_ext >&5 | 14786 cat conftest.$ac_ext >&5 |
14800 else | 14795 else |
14801 echo "$ac_t""no" 1>&6 | 14796 echo "$ac_t""no" 1>&6 |
14802 | 14797 |
14803 | 14798 |
14804 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14799 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14805 echo "configure:14806: checking for dbm_open in -ldbm" >&5 | 14800 echo "configure:14801: checking for dbm_open in -ldbm" >&5 |
14806 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14801 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14807 | 14802 |
14808 xe_check_libs=" -ldbm " | 14803 xe_check_libs=" -ldbm " |
14809 cat > conftest.$ac_ext <<EOF | 14804 cat > conftest.$ac_ext <<EOF |
14810 #line 14811 "configure" | 14805 #line 14806 "configure" |
14811 #include "confdefs.h" | 14806 #include "confdefs.h" |
14812 /* Override any gcc2 internal prototype to avoid an error. */ | 14807 /* Override any gcc2 internal prototype to avoid an error. */ |
14813 /* We use char because int might match the return type of a gcc2 | 14808 /* We use char because int might match the return type of a gcc2 |
14814 builtin and then its argument prototype would still apply. */ | 14809 builtin and then its argument prototype would still apply. */ |
14815 char dbm_open(); | 14810 char dbm_open(); |
14816 | 14811 |
14817 int main() { | 14812 int main() { |
14818 dbm_open() | 14813 dbm_open() |
14819 ; return 0; } | 14814 ; return 0; } |
14820 EOF | 14815 EOF |
14821 if { (eval echo configure:14822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14816 if { (eval echo configure:14817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14822 rm -rf conftest* | 14817 rm -rf conftest* |
14823 eval "ac_cv_lib_$ac_lib_var=yes" | 14818 eval "ac_cv_lib_$ac_lib_var=yes" |
14824 else | 14819 else |
14825 echo "configure: failed program was:" >&5 | 14820 echo "configure: failed program was:" >&5 |
14826 cat conftest.$ac_ext >&5 | 14821 cat conftest.$ac_ext >&5 |
14857 } | 14852 } |
14858 | 14853 |
14859 | 14854 |
14860 if test "$with_database_berkdb" != "no"; then | 14855 if test "$with_database_berkdb" != "no"; then |
14861 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14856 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14862 echo "configure:14863: checking for Berkeley db.h" >&5 | 14857 echo "configure:14858: checking for Berkeley db.h" >&5 |
14863 for header in "db/db.h" "db.h"; do | 14858 for header in "db/db.h" "db.h"; do |
14864 cat > conftest.$ac_ext <<EOF | 14859 cat > conftest.$ac_ext <<EOF |
14865 #line 14866 "configure" | 14860 #line 14861 "configure" |
14866 #include "confdefs.h" | 14861 #include "confdefs.h" |
14867 | 14862 |
14868 #include <stdlib.h> | 14863 #include <stdlib.h> |
14869 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14864 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14870 #ifdef HAVE_INTTYPES_H | 14865 #ifdef HAVE_INTTYPES_H |
14882 | 14877 |
14883 int main() { | 14878 int main() { |
14884 | 14879 |
14885 ; return 0; } | 14880 ; return 0; } |
14886 EOF | 14881 EOF |
14887 if { (eval echo configure:14888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14882 if { (eval echo configure:14883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14888 rm -rf conftest* | 14883 rm -rf conftest* |
14889 db_h_file="$header"; break | 14884 db_h_file="$header"; break |
14890 else | 14885 else |
14891 echo "configure: failed program was:" >&5 | 14886 echo "configure: failed program was:" >&5 |
14892 cat conftest.$ac_ext >&5 | 14887 cat conftest.$ac_ext >&5 |
14898 else echo "$ac_t""$db_h_file" 1>&6 | 14893 else echo "$ac_t""$db_h_file" 1>&6 |
14899 fi | 14894 fi |
14900 | 14895 |
14901 if test "$with_database_berkdb" != "no"; then | 14896 if test "$with_database_berkdb" != "no"; then |
14902 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14897 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14903 echo "configure:14904: checking for Berkeley DB version" >&5 | 14898 echo "configure:14899: checking for Berkeley DB version" >&5 |
14904 cat > conftest.$ac_ext <<EOF | 14899 cat > conftest.$ac_ext <<EOF |
14905 #line 14906 "configure" | 14900 #line 14901 "configure" |
14906 #include "confdefs.h" | 14901 #include "confdefs.h" |
14907 #include <$db_h_file> | 14902 #include <$db_h_file> |
14908 #if DB_VERSION_MAJOR > 1 | 14903 #if DB_VERSION_MAJOR > 1 |
14909 yes | 14904 yes |
14910 #endif | 14905 #endif |
14912 EOF | 14907 EOF |
14913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14914 egrep "yes" >/dev/null 2>&1; then | 14909 egrep "yes" >/dev/null 2>&1; then |
14915 rm -rf conftest* | 14910 rm -rf conftest* |
14916 cat > conftest.$ac_ext <<EOF | 14911 cat > conftest.$ac_ext <<EOF |
14917 #line 14918 "configure" | 14912 #line 14913 "configure" |
14918 #include "confdefs.h" | 14913 #include "confdefs.h" |
14919 #include <$db_h_file> | 14914 #include <$db_h_file> |
14920 #if DB_VERSION_MAJOR > 2 | 14915 #if DB_VERSION_MAJOR > 2 |
14921 yes | 14916 yes |
14922 #endif | 14917 #endif |
14939 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14934 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
14940 fi | 14935 fi |
14941 rm -f conftest* | 14936 rm -f conftest* |
14942 | 14937 |
14943 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14938 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
14944 echo "configure:14945: checking for $dbfunc" >&5 | 14939 echo "configure:14940: checking for $dbfunc" >&5 |
14945 | 14940 |
14946 cat > conftest.$ac_ext <<EOF | 14941 cat > conftest.$ac_ext <<EOF |
14947 #line 14948 "configure" | 14942 #line 14943 "configure" |
14948 #include "confdefs.h" | 14943 #include "confdefs.h" |
14949 /* System header to define __stub macros and hopefully few prototypes, | 14944 /* System header to define __stub macros and hopefully few prototypes, |
14950 which can conflict with char $dbfunc(); below. */ | 14945 which can conflict with char $dbfunc(); below. */ |
14951 #include <assert.h> | 14946 #include <assert.h> |
14952 /* Override any gcc2 internal prototype to avoid an error. */ | 14947 /* Override any gcc2 internal prototype to avoid an error. */ |
14965 $dbfunc(); | 14960 $dbfunc(); |
14966 #endif | 14961 #endif |
14967 | 14962 |
14968 ; return 0; } | 14963 ; return 0; } |
14969 EOF | 14964 EOF |
14970 if { (eval echo configure:14971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14965 if { (eval echo configure:14966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14971 rm -rf conftest* | 14966 rm -rf conftest* |
14972 eval "ac_cv_func_$dbfunc=yes" | 14967 eval "ac_cv_func_$dbfunc=yes" |
14973 else | 14968 else |
14974 echo "configure: failed program was:" >&5 | 14969 echo "configure: failed program was:" >&5 |
14975 cat conftest.$ac_ext >&5 | 14970 cat conftest.$ac_ext >&5 |
14984 else | 14979 else |
14985 echo "$ac_t""no" 1>&6 | 14980 echo "$ac_t""no" 1>&6 |
14986 | 14981 |
14987 | 14982 |
14988 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14983 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14989 echo "configure:14990: checking for $dbfunc in -ldb" >&5 | 14984 echo "configure:14985: checking for $dbfunc in -ldb" >&5 |
14990 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14985 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14991 | 14986 |
14992 xe_check_libs=" -ldb " | 14987 xe_check_libs=" -ldb " |
14993 cat > conftest.$ac_ext <<EOF | 14988 cat > conftest.$ac_ext <<EOF |
14994 #line 14995 "configure" | 14989 #line 14990 "configure" |
14995 #include "confdefs.h" | 14990 #include "confdefs.h" |
14996 /* Override any gcc2 internal prototype to avoid an error. */ | 14991 /* Override any gcc2 internal prototype to avoid an error. */ |
14997 /* We use char because int might match the return type of a gcc2 | 14992 /* We use char because int might match the return type of a gcc2 |
14998 builtin and then its argument prototype would still apply. */ | 14993 builtin and then its argument prototype would still apply. */ |
14999 char $dbfunc(); | 14994 char $dbfunc(); |
15000 | 14995 |
15001 int main() { | 14996 int main() { |
15002 $dbfunc() | 14997 $dbfunc() |
15003 ; return 0; } | 14998 ; return 0; } |
15004 EOF | 14999 EOF |
15005 if { (eval echo configure:15006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15000 if { (eval echo configure:15001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15006 rm -rf conftest* | 15001 rm -rf conftest* |
15007 eval "ac_cv_lib_$ac_lib_var=yes" | 15002 eval "ac_cv_lib_$ac_lib_var=yes" |
15008 else | 15003 else |
15009 echo "configure: failed program was:" >&5 | 15004 echo "configure: failed program was:" >&5 |
15010 cat conftest.$ac_ext >&5 | 15005 cat conftest.$ac_ext >&5 |
15061 fi | 15056 fi |
15062 | 15057 |
15063 if test "$with_socks" = "yes"; then | 15058 if test "$with_socks" = "yes"; then |
15064 | 15059 |
15065 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15060 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15066 echo "configure:15067: checking for SOCKSinit in -lsocks" >&5 | 15061 echo "configure:15062: checking for SOCKSinit in -lsocks" >&5 |
15067 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15062 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15068 | 15063 |
15069 xe_check_libs=" -lsocks " | 15064 xe_check_libs=" -lsocks " |
15070 cat > conftest.$ac_ext <<EOF | 15065 cat > conftest.$ac_ext <<EOF |
15071 #line 15072 "configure" | 15066 #line 15067 "configure" |
15072 #include "confdefs.h" | 15067 #include "confdefs.h" |
15073 /* Override any gcc2 internal prototype to avoid an error. */ | 15068 /* Override any gcc2 internal prototype to avoid an error. */ |
15074 /* We use char because int might match the return type of a gcc2 | 15069 /* We use char because int might match the return type of a gcc2 |
15075 builtin and then its argument prototype would still apply. */ | 15070 builtin and then its argument prototype would still apply. */ |
15076 char SOCKSinit(); | 15071 char SOCKSinit(); |
15077 | 15072 |
15078 int main() { | 15073 int main() { |
15079 SOCKSinit() | 15074 SOCKSinit() |
15080 ; return 0; } | 15075 ; return 0; } |
15081 EOF | 15076 EOF |
15082 if { (eval echo configure:15083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15077 if { (eval echo configure:15078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15083 rm -rf conftest* | 15078 rm -rf conftest* |
15084 eval "ac_cv_lib_$ac_lib_var=yes" | 15079 eval "ac_cv_lib_$ac_lib_var=yes" |
15085 else | 15080 else |
15086 echo "configure: failed program was:" >&5 | 15081 echo "configure: failed program was:" >&5 |
15087 cat conftest.$ac_ext >&5 | 15082 cat conftest.$ac_ext >&5 |
15131 | 15126 |
15132 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15127 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15133 fi | 15128 fi |
15134 | 15129 |
15135 cat > conftest.$ac_ext <<EOF | 15130 cat > conftest.$ac_ext <<EOF |
15136 #line 15137 "configure" | 15131 #line 15132 "configure" |
15137 #include "confdefs.h" | 15132 #include "confdefs.h" |
15138 int main(int c,char *v[]){return 0;} | 15133 int main(int c,char *v[]){return 0;} |
15139 EOF | 15134 EOF |
15140 if { (eval echo configure:15141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15135 if { (eval echo configure:15136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15141 then | 15136 then |
15142 : | 15137 : |
15143 else | 15138 else |
15144 conftest_rc="$?" | 15139 conftest_rc="$?" |
15145 echo "configure: failed program was:" >&5 | 15140 echo "configure: failed program was:" >&5 |