comparison configure @ 814:a634e3b7acc8

[xemacs-hg @ 2002-04-14 12:41:59 by ben] latest changes TODO.ben-mule-21-5: Update. make-docfile.c: Add basic support for handling ISO 2022 doc strings -- we parse the basic charset designation sequences so we know whether we're in ASCII and have to pay attention to end quotes and such. Reformat code according to coding standards. abbrev.el: Add `global-abbrev-mode', which turns on or off abbrev-mode in all buffers. Added `defining-abbrev-turns-on-abbrev-mode' -- if non-nil, defining an abbrev through an interactive function will automatically turn on abbrev-mode, either globally or locally depending on the command. This is the "what you'd expect" behavior. indent.el: general function for indenting a balanced expression in a mode-correct way. Works similar to indent-region in that a mode can specify a specific command to do the whole operation; if not, figure out the region using forward-sexp and indent each line using indent-according-to-mode. keydefs.el: Removed. Modify M-C-backslash to do indent-region-or-balanced-expression. Make S-Tab just insert a TAB char, like it's meant to do. make-docfile.el: Now that we're using the call-process-in-lisp, we need to load an extra file win32-native.el because we're running a bare temacs. menubar-items.el: Totally redo the Cmds menu so that most used commands appear directly on the menu and less used commands appear in submenus. The old way may have been very pretty, but rather impractical. process.el: Under Windows, don't ever use old-call-process-internal, even in batch mode. We can do processes in batch mode. subr.el: Someone recoded truncate-string-to-width, saying "the FSF version is too complicated and does lots of hard-to-understand stuff" but the resulting recoded version was *totally* wrong! it misunderstood the basic point of this function, which is work in *columns* not chars. i dumped ours and copied the version from FSF 21.1. Also added truncate-string-with-continuation-dots, since this idiom is used often. config.inc.samp, xemacs.mak: Separate out debug and optimize flags. Remove all vestiges of USE_MINIMAL_TAGBITS, USE_INDEXED_LRECORD_IMPLEMENTATION, and GUNG_HO, since those ifdefs have long been removed. Make error-checking support actually work. Some rearrangement of config.inc.samp to make it more logical. Remove callproc.c and ntproc.c from xemacs.mak, no longer used. Make pdump the default. lisp.h: Add support for strong type-checking of Bytecount, Bytebpos, Charcount, Charbpos, and others, by making them classes, overloading the operators to provide integer-like operation and carefully controlling what operations are allowed. Not currently enabled in C++ builds because there are still a number of compile errors, and it won't really work till we merge in my "8-bit-Mule" workspace, in which I make use of the new types Charxpos, Bytexpos, Memxpos, representing a "position" either in a buffer or a string. (This is especially important in the extent code.) abbrev.c, alloc.c, eval.c, buffer.c, buffer.h, editfns.c, fns.c, text.h: Warning fixes, some of them related to new C++ strict type checking of Bytecount, Charbpos, etc. dired.c: Caught an actual error due to strong type checking -- char len being passed when should be byte len. alloc.c, backtrace.h, bytecode.c, bytecode.h, eval.c, sysdep.c: Further optimize Ffuncall: -- process arg list at compiled-function creation time, converting into an array for extra-quick access at funcall time. -- rewrite funcall_compiled_function to use it, and inline this function. -- change the order of check for magic stuff in SPECBIND_FAST_UNSAFE to be faster. -- move the check for need to garbage collect into the allocation code, so only a single flag needs to be checked in funcall. buffer.c, symbols.c: add debug funs to check on mule optimization info in buffers and strings. eval.c, emacs.c, text.c, regex.c, scrollbar-msw.c, search.c: Fix evil crashes due to eistrings not properly reinitialized under pdump. Redo a bit some of the init routines; convert some complex_vars_of() into simple vars_of(), because they didn't need complex processing. callproc.c, emacs.c, event-stream.c, nt.c, process.c, process.h, sysdep.c, sysdep.h, syssignal.h, syswindows.h, ntproc.c: Delete. Hallelujah, praise the Lord, there is no god but Allah!!! fix so that processes can be invoked in bare temacs -- thereby eliminating any need for callproc.c. (currently only eliminated under NT.) remove all crufty and unnecessary old process code in ntproc.c and elsewhere. move non-callproc-specific stuff (mostly environment) into process.c, so callproc.c can be left out under NT. console-tty.c, doc.c, file-coding.c, file-coding.h, lstream.c, lstream.h: fix doc string handling so it works with Japanese, etc docs. change handling of "character mode" so callers don't have to manually set it (quite error-prone). event-msw.c: spacing fixes. lread.c: eliminate unused crufty vintage-19 "FSF defun hack" code. lrecord.h: improve pdump description docs. buffer.c, ntheap.c, unexnt.c, win32.c, emacs.c: Mule-ize some unexec and startup code. It was pseudo-Mule-ized before by simply always calling the ...A versions of functions, but that won't cut it -- eventually we want to be able to run properly even if XEmacs has been installed in a Japanese directory. (The current problem is the timing of the loading of the Unicode tables; this will eventually be fixed.) Go through and fix various other places where the code was not Mule-clean. Provide a function mswindows_get_module_file_name() to get our own name without resort to PATH_MAX and such. Add a big comment in main() about the problem with Unicode table load timing that I just alluded to. emacs.c: When error-checking is enabled (interpreted as "user is developing XEmacs"), don't ask user to "pause to read messages" when a fatal error has occurred, because it will wedge if we are in an inner modal loop (typically when a menu is popped up) and make us unable to get a useful stack trace in the debugger. text.c: Correct update_entirely_ascii_p_flag to actually work. lisp.h, symsinit.h: declarations for above changes.
author ben
date Sun, 14 Apr 2002 12:43:31 +0000
parents aa9a0cd78930
children 5d09ddada9ae
comparison
equal deleted inserted replaced
813:9541922fb765 814:a634e3b7acc8
4483 4483
4484 cat > conftest.$ac_ext <<EOF 4484 cat > conftest.$ac_ext <<EOF
4485 #line 4486 "configure" 4485 #line 4486 "configure"
4486 #include "confdefs.h" 4486 #include "confdefs.h"
4487 #include <stdio.h> 4487 #include <stdio.h>
4488 #include <sys/types.h>
4489 main() 4488 main()
4490 { 4489 {
4491 FILE *f=fopen("conftestval", "w"); 4490 FILE *f=fopen("conftestval", "w");
4492 if (!f) exit(1); 4491 if (!f) exit(1);
4493 fprintf(f, "%d\n", sizeof(short)); 4492 fprintf(f, "%d\n", sizeof(short));
4494 exit(0); 4493 exit(0);
4495 } 4494 }
4496 EOF 4495 EOF
4497 if { (eval echo configure:4498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4496 if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4498 then 4497 then
4499 ac_cv_sizeof_short=`cat conftestval` 4498 ac_cv_sizeof_short=`cat conftestval`
4500 else 4499 else
4501 conftest_rc="$?" 4500 conftest_rc="$?"
4502 echo "configure: failed program was:" >&5 4501 echo "configure: failed program was:" >&5
4520 echo "*** PANIC *** Configure tests are not working - compiler is broken." 4519 echo "*** PANIC *** Configure tests are not working - compiler is broken."
4521 echo "*** PANIC *** Please examine config.log for compilation errors." 4520 echo "*** PANIC *** Please examine config.log for compilation errors."
4522 exit 1 4521 exit 1
4523 fi 4522 fi
4524 echo $ac_n "checking size of int""... $ac_c" 1>&6 4523 echo $ac_n "checking size of int""... $ac_c" 1>&6
4525 echo "configure:4526: checking size of int" >&5 4524 echo "configure:4525: checking size of int" >&5
4526 4525
4527 cat > conftest.$ac_ext <<EOF 4526 cat > conftest.$ac_ext <<EOF
4528 #line 4529 "configure" 4527 #line 4528 "configure"
4529 #include "confdefs.h" 4528 #include "confdefs.h"
4530 #include <stdio.h> 4529 #include <stdio.h>
4531 #include <sys/types.h>
4532 main() 4530 main()
4533 { 4531 {
4534 FILE *f=fopen("conftestval", "w"); 4532 FILE *f=fopen("conftestval", "w");
4535 if (!f) exit(1); 4533 if (!f) exit(1);
4536 fprintf(f, "%d\n", sizeof(int)); 4534 fprintf(f, "%d\n", sizeof(int));
4537 exit(0); 4535 exit(0);
4538 } 4536 }
4539 EOF 4537 EOF
4540 if { (eval echo configure:4541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4538 if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4541 then 4539 then
4542 ac_cv_sizeof_int=`cat conftestval` 4540 ac_cv_sizeof_int=`cat conftestval`
4543 else 4541 else
4544 conftest_rc="$?" 4542 conftest_rc="$?"
4545 echo "configure: failed program was:" >&5 4543 echo "configure: failed program was:" >&5
4557 EOF 4555 EOF
4558 } 4556 }
4559 4557
4560 4558
4561 echo $ac_n "checking size of long""... $ac_c" 1>&6 4559 echo $ac_n "checking size of long""... $ac_c" 1>&6
4562 echo "configure:4563: checking size of long" >&5 4560 echo "configure:4561: checking size of long" >&5
4563 4561
4564 cat > conftest.$ac_ext <<EOF 4562 cat > conftest.$ac_ext <<EOF
4565 #line 4566 "configure" 4563 #line 4564 "configure"
4566 #include "confdefs.h" 4564 #include "confdefs.h"
4567 #include <stdio.h> 4565 #include <stdio.h>
4568 #include <sys/types.h>
4569 main() 4566 main()
4570 { 4567 {
4571 FILE *f=fopen("conftestval", "w"); 4568 FILE *f=fopen("conftestval", "w");
4572 if (!f) exit(1); 4569 if (!f) exit(1);
4573 fprintf(f, "%d\n", sizeof(long)); 4570 fprintf(f, "%d\n", sizeof(long));
4574 exit(0); 4571 exit(0);
4575 } 4572 }
4576 EOF 4573 EOF
4577 if { (eval echo configure:4578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4574 if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4578 then 4575 then
4579 ac_cv_sizeof_long=`cat conftestval` 4576 ac_cv_sizeof_long=`cat conftestval`
4580 else 4577 else
4581 conftest_rc="$?" 4578 conftest_rc="$?"
4582 echo "configure: failed program was:" >&5 4579 echo "configure: failed program was:" >&5
4594 EOF 4591 EOF
4595 } 4592 }
4596 4593
4597 4594
4598 echo $ac_n "checking size of long long""... $ac_c" 1>&6 4595 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4599 echo "configure:4600: checking size of long long" >&5 4596 echo "configure:4597: checking size of long long" >&5
4600 4597
4601 cat > conftest.$ac_ext <<EOF 4598 cat > conftest.$ac_ext <<EOF
4602 #line 4603 "configure" 4599 #line 4600 "configure"
4603 #include "confdefs.h" 4600 #include "confdefs.h"
4604 #include <stdio.h> 4601 #include <stdio.h>
4605 #include <sys/types.h>
4606 main() 4602 main()
4607 { 4603 {
4608 FILE *f=fopen("conftestval", "w"); 4604 FILE *f=fopen("conftestval", "w");
4609 if (!f) exit(1); 4605 if (!f) exit(1);
4610 fprintf(f, "%d\n", sizeof(long long)); 4606 fprintf(f, "%d\n", sizeof(long long));
4611 exit(0); 4607 exit(0);
4612 } 4608 }
4613 EOF 4609 EOF
4614 if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4610 if { (eval echo configure:4611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4615 then 4611 then
4616 ac_cv_sizeof_long_long=`cat conftestval` 4612 ac_cv_sizeof_long_long=`cat conftestval`
4617 else 4613 else
4618 conftest_rc="$?" 4614 conftest_rc="$?"
4619 echo "configure: failed program was:" >&5 4615 echo "configure: failed program was:" >&5
4631 EOF 4627 EOF
4632 } 4628 }
4633 4629
4634 4630
4635 echo $ac_n "checking size of void *""... $ac_c" 1>&6 4631 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4636 echo "configure:4637: checking size of void *" >&5 4632 echo "configure:4633: checking size of void *" >&5
4637 4633
4638 cat > conftest.$ac_ext <<EOF 4634 cat > conftest.$ac_ext <<EOF
4639 #line 4640 "configure" 4635 #line 4636 "configure"
4640 #include "confdefs.h" 4636 #include "confdefs.h"
4641 #include <stdio.h> 4637 #include <stdio.h>
4642 #include <sys/types.h>
4643 main() 4638 main()
4644 { 4639 {
4645 FILE *f=fopen("conftestval", "w"); 4640 FILE *f=fopen("conftestval", "w");
4646 if (!f) exit(1); 4641 if (!f) exit(1);
4647 fprintf(f, "%d\n", sizeof(void *)); 4642 fprintf(f, "%d\n", sizeof(void *));
4648 exit(0); 4643 exit(0);
4649 } 4644 }
4650 EOF 4645 EOF
4651 if { (eval echo configure:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 4646 if { (eval echo configure:4647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
4652 then 4647 then
4653 ac_cv_sizeof_void_p=`cat conftestval` 4648 ac_cv_sizeof_void_p=`cat conftestval`
4654 else 4649 else
4655 conftest_rc="$?" 4650 conftest_rc="$?"
4656 echo "configure: failed program was:" >&5 4651 echo "configure: failed program was:" >&5
4669 } 4664 }
4670 4665
4671 4666
4672 4667
4673 echo $ac_n "checking for long file names""... $ac_c" 1>&6 4668 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4674 echo "configure:4675: checking for long file names" >&5 4669 echo "configure:4670: checking for long file names" >&5
4675 4670
4676 ac_cv_sys_long_file_names=yes 4671 ac_cv_sys_long_file_names=yes
4677 # Test for long file names in all the places we know might matter: 4672 # Test for long file names in all the places we know might matter:
4678 # . the current directory, where building will happen 4673 # . the current directory, where building will happen
4679 # $prefix/lib where we will be installing things 4674 # $prefix/lib where we will be installing things
4715 4710
4716 fi 4711 fi
4717 4712
4718 4713
4719 echo $ac_n "checking for sin""... $ac_c" 1>&6 4714 echo $ac_n "checking for sin""... $ac_c" 1>&6
4720 echo "configure:4721: checking for sin" >&5 4715 echo "configure:4716: checking for sin" >&5
4721 4716
4722 cat > conftest.$ac_ext <<EOF 4717 cat > conftest.$ac_ext <<EOF
4723 #line 4724 "configure" 4718 #line 4719 "configure"
4724 #include "confdefs.h" 4719 #include "confdefs.h"
4725 /* System header to define __stub macros and hopefully few prototypes, 4720 /* System header to define __stub macros and hopefully few prototypes,
4726 which can conflict with char sin(); below. */ 4721 which can conflict with char sin(); below. */
4727 #include <assert.h> 4722 #include <assert.h>
4728 /* Override any gcc2 internal prototype to avoid an error. */ 4723 /* Override any gcc2 internal prototype to avoid an error. */
4741 sin(); 4736 sin();
4742 #endif 4737 #endif
4743 4738
4744 ; return 0; } 4739 ; return 0; }
4745 EOF 4740 EOF
4746 if { (eval echo configure:4747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4741 if { (eval echo configure:4742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4747 rm -rf conftest* 4742 rm -rf conftest*
4748 eval "ac_cv_func_sin=yes" 4743 eval "ac_cv_func_sin=yes"
4749 else 4744 else
4750 echo "configure: failed program was:" >&5 4745 echo "configure: failed program was:" >&5
4751 cat conftest.$ac_ext >&5 4746 cat conftest.$ac_ext >&5
4759 : 4754 :
4760 else 4755 else
4761 echo "$ac_t""no" 1>&6 4756 echo "$ac_t""no" 1>&6
4762 4757
4763 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 4758 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
4764 echo "configure:4765: checking for sin in -lm" >&5 4759 echo "configure:4760: checking for sin in -lm" >&5
4765 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` 4760 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
4766 4761
4767 xe_check_libs=" -lm " 4762 xe_check_libs=" -lm "
4768 cat > conftest.$ac_ext <<EOF 4763 cat > conftest.$ac_ext <<EOF
4769 #line 4770 "configure" 4764 #line 4765 "configure"
4770 #include "confdefs.h" 4765 #include "confdefs.h"
4771 /* Override any gcc2 internal prototype to avoid an error. */ 4766 /* Override any gcc2 internal prototype to avoid an error. */
4772 /* We use char because int might match the return type of a gcc2 4767 /* We use char because int might match the return type of a gcc2
4773 builtin and then its argument prototype would still apply. */ 4768 builtin and then its argument prototype would still apply. */
4774 char sin(); 4769 char sin();
4775 4770
4776 int main() { 4771 int main() {
4777 sin() 4772 sin()
4778 ; return 0; } 4773 ; return 0; }
4779 EOF 4774 EOF
4780 if { (eval echo configure:4781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4775 if { (eval echo configure:4776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4781 rm -rf conftest* 4776 rm -rf conftest*
4782 eval "ac_cv_lib_$ac_lib_var=yes" 4777 eval "ac_cv_lib_$ac_lib_var=yes"
4783 else 4778 else
4784 echo "configure: failed program was:" >&5 4779 echo "configure: failed program was:" >&5
4785 cat conftest.$ac_ext >&5 4780 cat conftest.$ac_ext >&5
4819 EOF 4814 EOF
4820 } 4815 }
4821 4816
4822 4817
4823 cat > conftest.$ac_ext <<EOF 4818 cat > conftest.$ac_ext <<EOF
4824 #line 4825 "configure" 4819 #line 4820 "configure"
4825 #include "confdefs.h" 4820 #include "confdefs.h"
4826 #include <math.h> 4821 #include <math.h>
4827 int main() { 4822 int main() {
4828 return atanh(1.0) + asinh(1.0) + acosh(1.0); 4823 return atanh(1.0) + asinh(1.0) + acosh(1.0);
4829 ; return 0; } 4824 ; return 0; }
4830 EOF 4825 EOF
4831 if { (eval echo configure:4832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4826 if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4832 rm -rf conftest* 4827 rm -rf conftest*
4833 { test "$extra_verbose" = "yes" && cat << \EOF 4828 { test "$extra_verbose" = "yes" && cat << \EOF
4834 Defining HAVE_INVERSE_HYPERBOLIC 4829 Defining HAVE_INVERSE_HYPERBOLIC
4835 EOF 4830 EOF
4836 cat >> confdefs.h <<\EOF 4831 cat >> confdefs.h <<\EOF
4845 rm -f conftest* 4840 rm -f conftest*
4846 4841
4847 for ac_func in mkstemp 4842 for ac_func in mkstemp
4848 do 4843 do
4849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4850 echo "configure:4851: checking for $ac_func" >&5 4845 echo "configure:4846: checking for $ac_func" >&5
4851 4846
4852 cat > conftest.$ac_ext <<EOF 4847 cat > conftest.$ac_ext <<EOF
4853 #line 4854 "configure" 4848 #line 4849 "configure"
4854 #include "confdefs.h" 4849 #include "confdefs.h"
4855 /* System header to define __stub macros and hopefully few prototypes, 4850 /* System header to define __stub macros and hopefully few prototypes,
4856 which can conflict with char $ac_func(); below. */ 4851 which can conflict with char $ac_func(); below. */
4857 #include <assert.h> 4852 #include <assert.h>
4858 /* Override any gcc2 internal prototype to avoid an error. */ 4853 /* Override any gcc2 internal prototype to avoid an error. */
4871 $ac_func(); 4866 $ac_func();
4872 #endif 4867 #endif
4873 4868
4874 ; return 0; } 4869 ; return 0; }
4875 EOF 4870 EOF
4876 if { (eval echo configure:4877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4871 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4877 rm -rf conftest* 4872 rm -rf conftest*
4878 eval "ac_cv_func_$ac_func=yes" 4873 eval "ac_cv_func_$ac_func=yes"
4879 else 4874 else
4880 echo "configure: failed program was:" >&5 4875 echo "configure: failed program was:" >&5
4881 cat conftest.$ac_ext >&5 4876 cat conftest.$ac_ext >&5
4900 fi 4895 fi
4901 done 4896 done
4902 4897
4903 4898
4904 echo "checking type of mail spool file locking" 1>&6 4899 echo "checking type of mail spool file locking" 1>&6
4905 echo "configure:4906: checking type of mail spool file locking" >&5 4900 echo "configure:4901: checking type of mail spool file locking" >&5
4906 for ac_func in lockf flock 4901 for ac_func in lockf flock
4907 do 4902 do
4908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 4903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4909 echo "configure:4910: checking for $ac_func" >&5 4904 echo "configure:4905: checking for $ac_func" >&5
4910 4905
4911 cat > conftest.$ac_ext <<EOF 4906 cat > conftest.$ac_ext <<EOF
4912 #line 4913 "configure" 4907 #line 4908 "configure"
4913 #include "confdefs.h" 4908 #include "confdefs.h"
4914 /* System header to define __stub macros and hopefully few prototypes, 4909 /* System header to define __stub macros and hopefully few prototypes,
4915 which can conflict with char $ac_func(); below. */ 4910 which can conflict with char $ac_func(); below. */
4916 #include <assert.h> 4911 #include <assert.h>
4917 /* Override any gcc2 internal prototype to avoid an error. */ 4912 /* Override any gcc2 internal prototype to avoid an error. */
4930 $ac_func(); 4925 $ac_func();
4931 #endif 4926 #endif
4932 4927
4933 ; return 0; } 4928 ; return 0; }
4934 EOF 4929 EOF
4935 if { (eval echo configure:4936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4930 if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4936 rm -rf conftest* 4931 rm -rf conftest*
4937 eval "ac_cv_func_$ac_func=yes" 4932 eval "ac_cv_func_$ac_func=yes"
4938 else 4933 else
4939 echo "configure: failed program was:" >&5 4934 echo "configure: failed program was:" >&5
4940 cat conftest.$ac_ext >&5 4935 cat conftest.$ac_ext >&5
5012 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } 5007 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; }
5013 5008
5014 case "$opsys" in decosf*) 5009 case "$opsys" in decosf*)
5015 5010
5016 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 5011 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6
5017 echo "configure:5018: checking for cma_open in -lpthreads" >&5 5012 echo "configure:5013: checking for cma_open in -lpthreads" >&5
5018 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` 5013 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'`
5019 5014
5020 xe_check_libs=" -lpthreads " 5015 xe_check_libs=" -lpthreads "
5021 cat > conftest.$ac_ext <<EOF 5016 cat > conftest.$ac_ext <<EOF
5022 #line 5023 "configure" 5017 #line 5018 "configure"
5023 #include "confdefs.h" 5018 #include "confdefs.h"
5024 /* Override any gcc2 internal prototype to avoid an error. */ 5019 /* Override any gcc2 internal prototype to avoid an error. */
5025 /* We use char because int might match the return type of a gcc2 5020 /* We use char because int might match the return type of a gcc2
5026 builtin and then its argument prototype would still apply. */ 5021 builtin and then its argument prototype would still apply. */
5027 char cma_open(); 5022 char cma_open();
5028 5023
5029 int main() { 5024 int main() {
5030 cma_open() 5025 cma_open()
5031 ; return 0; } 5026 ; return 0; }
5032 EOF 5027 EOF
5033 if { (eval echo configure:5034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5028 if { (eval echo configure:5029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5034 rm -rf conftest* 5029 rm -rf conftest*
5035 eval "ac_cv_lib_$ac_lib_var=yes" 5030 eval "ac_cv_lib_$ac_lib_var=yes"
5036 else 5031 else
5037 echo "configure: failed program was:" >&5 5032 echo "configure: failed program was:" >&5
5038 cat conftest.$ac_ext >&5 5033 cat conftest.$ac_ext >&5
5065 c_switch_site="$c_switch_site -threads" ;; 5060 c_switch_site="$c_switch_site -threads" ;;
5066 esac 5061 esac
5067 5062
5068 5063
5069 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 5064 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6
5070 echo "configure:5071: checking whether the -xildoff compiler flag is required" >&5 5065 echo "configure:5066: checking whether the -xildoff compiler flag is required" >&5
5071 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then 5066 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then
5072 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; 5067 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ;
5073 then echo "$ac_t""no" 1>&6; 5068 then echo "$ac_t""no" 1>&6;
5074 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 5069 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
5075 fi 5070 fi
5077 fi 5072 fi
5078 5073
5079 if test "$opsys" = "sol2"; then 5074 if test "$opsys" = "sol2"; then
5080 if test "$os_release" -ge 56; then 5075 if test "$os_release" -ge 56; then
5081 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 5076 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6
5082 echo "configure:5083: checking for \"-z ignore\" linker flag" >&5 5077 echo "configure:5078: checking for \"-z ignore\" linker flag" >&5
5083 case "`ld -h 2>&1`" in 5078 case "`ld -h 2>&1`" in
5084 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 5079 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6
5085 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; 5080 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;;
5086 *) echo "$ac_t""no" 1>&6 ;; 5081 *) echo "$ac_t""no" 1>&6 ;;
5087 esac 5082 esac
5088 fi 5083 fi
5089 fi 5084 fi
5090 5085
5091 if test "$pdump" != "yes"; then 5086 if test "$pdump" != "yes"; then
5092 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 5087 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6
5093 echo "configure:5094: checking for \"-z nocombreloc\" linker flag" >&5 5088 echo "configure:5089: checking for \"-z nocombreloc\" linker flag" >&5
5094 case "`ld --help 2>&1`" in 5089 case "`ld --help 2>&1`" in
5095 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 5090 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6
5096 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; 5091 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;;
5097 *) echo "$ac_t""no" 1>&6 ;; 5092 *) echo "$ac_t""no" 1>&6 ;;
5098 esac 5093 esac
5099 fi 5094 fi
5100 5095
5101 5096
5102 echo "checking "for specified window system"" 1>&6 5097 echo "checking "for specified window system"" 1>&6
5103 echo "configure:5104: checking "for specified window system"" >&5 5098 echo "configure:5099: checking "for specified window system"" >&5
5104 5099
5105 5100
5106 GNOME_CONFIG=no 5101 GNOME_CONFIG=no
5107 GTK_CONFIG=no 5102 GTK_CONFIG=no
5108 5103
5109 if test "$with_gnome" != "no"; then 5104 if test "$with_gnome" != "no"; then
5110 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 5105 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6
5111 echo "configure:5112: checking for GNOME configuration script" >&5 5106 echo "configure:5107: checking for GNOME configuration script" >&5
5112 for possible in gnome-config 5107 for possible in gnome-config
5113 do 5108 do
5114 possible_version=`${possible} --version 2> /dev/null` 5109 possible_version=`${possible} --version 2> /dev/null`
5115 if test "x${possible_version}" != "x"; then 5110 if test "x${possible_version}" != "x"; then
5116 GNOME_CONFIG="${possible}" 5111 GNOME_CONFIG="${possible}"
5137 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi 5132 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi
5138 fi 5133 fi
5139 5134
5140 if test "$with_gtk" != "no";then 5135 if test "$with_gtk" != "no";then
5141 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 5136 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6
5142 echo "configure:5143: checking for GTK configuration script" >&5 5137 echo "configure:5138: checking for GTK configuration script" >&5
5143 for possible in gtk12-config gtk14-config gtk-config 5138 for possible in gtk12-config gtk14-config gtk-config
5144 do 5139 do
5145 possible_version=`${possible} --version 2> /dev/null` 5140 possible_version=`${possible} --version 2> /dev/null`
5146 if test "x${possible_version}" != "x"; then 5141 if test "x${possible_version}" != "x"; then
5147 GTK_CONFIG="${possible}" 5142 GTK_CONFIG="${possible}"
5159 echo "$ac_t""${GTK_CONFIG}" 1>&6 5154 echo "$ac_t""${GTK_CONFIG}" 1>&6
5160 fi 5155 fi
5161 5156
5162 if test "${GTK_CONFIG}" != "no"; then 5157 if test "${GTK_CONFIG}" != "no"; then
5163 echo $ac_n "checking gtk version""... $ac_c" 1>&6 5158 echo $ac_n "checking gtk version""... $ac_c" 1>&6
5164 echo "configure:5165: checking gtk version" >&5 5159 echo "configure:5160: checking gtk version" >&5
5165 GTK_VERSION=`${GTK_CONFIG} --version` 5160 GTK_VERSION=`${GTK_CONFIG} --version`
5166 echo "$ac_t""${GTK_VERSION}" 1>&6 5161 echo "$ac_t""${GTK_VERSION}" 1>&6
5167 5162
5168 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 5163 echo $ac_n "checking gtk libs""... $ac_c" 1>&6
5169 echo "configure:5170: checking gtk libs" >&5 5164 echo "configure:5165: checking gtk libs" >&5
5170 GTK_LIBS=`${GTK_CONFIG} --libs` 5165 GTK_LIBS=`${GTK_CONFIG} --libs`
5171 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi 5166 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi
5172 echo "$ac_t""${GTK_LIBS}" 1>&6 5167 echo "$ac_t""${GTK_LIBS}" 1>&6
5173 5168
5174 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 5169 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6
5175 echo "configure:5176: checking gtk cflags" >&5 5170 echo "configure:5171: checking gtk cflags" >&5
5176 GTK_CFLAGS=`${GTK_CONFIG} --cflags` 5171 GTK_CFLAGS=`${GTK_CONFIG} --cflags`
5177 if test "$GCC" = "yes"; then 5172 if test "$GCC" = "yes"; then
5178 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" 5173 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow"
5179 fi 5174 fi
5180 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi 5175 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi
5181 echo "$ac_t""${GTK_CFLAGS}" 1>&6 5176 echo "$ac_t""${GTK_CFLAGS}" 1>&6
5182 5177
5183 5178
5184 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 5179 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6
5185 echo "configure:5186: checking for main in -lgdk_imlib" >&5 5180 echo "configure:5181: checking for main in -lgdk_imlib" >&5
5186 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` 5181 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'`
5187 5182
5188 xe_check_libs=" -lgdk_imlib " 5183 xe_check_libs=" -lgdk_imlib "
5189 cat > conftest.$ac_ext <<EOF 5184 cat > conftest.$ac_ext <<EOF
5190 #line 5191 "configure" 5185 #line 5186 "configure"
5191 #include "confdefs.h" 5186 #include "confdefs.h"
5192 5187
5193 int main() { 5188 int main() {
5194 main() 5189 main()
5195 ; return 0; } 5190 ; return 0; }
5196 EOF 5191 EOF
5197 if { (eval echo configure:5198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5192 if { (eval echo configure:5193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5198 rm -rf conftest* 5193 rm -rf conftest*
5199 eval "ac_cv_lib_$ac_lib_var=yes" 5194 eval "ac_cv_lib_$ac_lib_var=yes"
5200 else 5195 else
5201 echo "configure: failed program was:" >&5 5196 echo "configure: failed program was:" >&5
5202 cat conftest.$ac_ext >&5 5197 cat conftest.$ac_ext >&5
5214 fi 5209 fi
5215 5210
5216 5211
5217 5212
5218 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 5213 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6
5219 echo "configure:5220: checking for Imlib_init in -lImlib" >&5 5214 echo "configure:5215: checking for Imlib_init in -lImlib" >&5
5220 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` 5215 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'`
5221 5216
5222 xe_check_libs=" -lImlib " 5217 xe_check_libs=" -lImlib "
5223 cat > conftest.$ac_ext <<EOF 5218 cat > conftest.$ac_ext <<EOF
5224 #line 5225 "configure" 5219 #line 5220 "configure"
5225 #include "confdefs.h" 5220 #include "confdefs.h"
5226 /* Override any gcc2 internal prototype to avoid an error. */ 5221 /* Override any gcc2 internal prototype to avoid an error. */
5227 /* We use char because int might match the return type of a gcc2 5222 /* We use char because int might match the return type of a gcc2
5228 builtin and then its argument prototype would still apply. */ 5223 builtin and then its argument prototype would still apply. */
5229 char Imlib_init(); 5224 char Imlib_init();
5230 5225
5231 int main() { 5226 int main() {
5232 Imlib_init() 5227 Imlib_init()
5233 ; return 0; } 5228 ; return 0; }
5234 EOF 5229 EOF
5235 if { (eval echo configure:5236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5230 if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5236 rm -rf conftest* 5231 rm -rf conftest*
5237 eval "ac_cv_lib_$ac_lib_var=yes" 5232 eval "ac_cv_lib_$ac_lib_var=yes"
5238 else 5233 else
5239 echo "configure: failed program was:" >&5 5234 echo "configure: failed program was:" >&5
5240 cat conftest.$ac_ext >&5 5235 cat conftest.$ac_ext >&5
5253 5248
5254 5249
5255 for ac_func in gdk_imlib_init 5250 for ac_func in gdk_imlib_init
5256 do 5251 do
5257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 5252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5258 echo "configure:5259: checking for $ac_func" >&5 5253 echo "configure:5254: checking for $ac_func" >&5
5259 5254
5260 cat > conftest.$ac_ext <<EOF 5255 cat > conftest.$ac_ext <<EOF
5261 #line 5262 "configure" 5256 #line 5257 "configure"
5262 #include "confdefs.h" 5257 #include "confdefs.h"
5263 /* System header to define __stub macros and hopefully few prototypes, 5258 /* System header to define __stub macros and hopefully few prototypes,
5264 which can conflict with char $ac_func(); below. */ 5259 which can conflict with char $ac_func(); below. */
5265 #include <assert.h> 5260 #include <assert.h>
5266 /* Override any gcc2 internal prototype to avoid an error. */ 5261 /* Override any gcc2 internal prototype to avoid an error. */
5279 $ac_func(); 5274 $ac_func();
5280 #endif 5275 #endif
5281 5276
5282 ; return 0; } 5277 ; return 0; }
5283 EOF 5278 EOF
5284 if { (eval echo configure:5285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5279 if { (eval echo configure:5280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5285 rm -rf conftest* 5280 rm -rf conftest*
5286 eval "ac_cv_func_$ac_func=yes" 5281 eval "ac_cv_func_$ac_func=yes"
5287 else 5282 else
5288 echo "configure: failed program was:" >&5 5283 echo "configure: failed program was:" >&5
5289 cat conftest.$ac_ext >&5 5284 cat conftest.$ac_ext >&5
5345 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" 5340 LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
5346 for ac_hdr in glade/glade.h glade.h 5341 for ac_hdr in glade/glade.h glade.h
5347 do 5342 do
5348 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5343 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5349 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5344 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
5350 echo "configure:5351: checking for $ac_hdr" >&5 5345 echo "configure:5346: checking for $ac_hdr" >&5
5351 5346
5352 cat > conftest.$ac_ext <<EOF 5347 cat > conftest.$ac_ext <<EOF
5353 #line 5354 "configure" 5348 #line 5349 "configure"
5354 #include "confdefs.h" 5349 #include "confdefs.h"
5355 #include <$ac_hdr> 5350 #include <$ac_hdr>
5356 EOF 5351 EOF
5357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5358 { (eval echo configure:5359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5353 { (eval echo configure:5354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5360 if test -z "$ac_err"; then 5355 if test -z "$ac_err"; then
5361 rm -rf conftest* 5356 rm -rf conftest*
5362 eval "ac_cv_header_$ac_safe=yes" 5357 eval "ac_cv_header_$ac_safe=yes"
5363 else 5358 else
5384 fi 5379 fi
5385 done 5380 done
5386 5381
5387 5382
5388 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 5383 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6
5389 echo "configure:5390: checking for main in -lxml" >&5 5384 echo "configure:5385: checking for main in -lxml" >&5
5390 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` 5385 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'`
5391 5386
5392 xe_check_libs=" -lxml " 5387 xe_check_libs=" -lxml "
5393 cat > conftest.$ac_ext <<EOF 5388 cat > conftest.$ac_ext <<EOF
5394 #line 5395 "configure" 5389 #line 5390 "configure"
5395 #include "confdefs.h" 5390 #include "confdefs.h"
5396 5391
5397 int main() { 5392 int main() {
5398 main() 5393 main()
5399 ; return 0; } 5394 ; return 0; }
5400 EOF 5395 EOF
5401 if { (eval echo configure:5402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5396 if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5402 rm -rf conftest* 5397 rm -rf conftest*
5403 eval "ac_cv_lib_$ac_lib_var=yes" 5398 eval "ac_cv_lib_$ac_lib_var=yes"
5404 else 5399 else
5405 echo "configure: failed program was:" >&5 5400 echo "configure: failed program was:" >&5
5406 cat conftest.$ac_ext >&5 5401 cat conftest.$ac_ext >&5
5418 fi 5413 fi
5419 5414
5420 5415
5421 5416
5422 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 5417 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6
5423 echo "configure:5424: checking for main in -lglade" >&5 5418 echo "configure:5419: checking for main in -lglade" >&5
5424 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` 5419 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'`
5425 5420
5426 xe_check_libs=" -lglade " 5421 xe_check_libs=" -lglade "
5427 cat > conftest.$ac_ext <<EOF 5422 cat > conftest.$ac_ext <<EOF
5428 #line 5429 "configure" 5423 #line 5424 "configure"
5429 #include "confdefs.h" 5424 #include "confdefs.h"
5430 5425
5431 int main() { 5426 int main() {
5432 main() 5427 main()
5433 ; return 0; } 5428 ; return 0; }
5434 EOF 5429 EOF
5435 if { (eval echo configure:5436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5430 if { (eval echo configure:5431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5436 rm -rf conftest* 5431 rm -rf conftest*
5437 eval "ac_cv_lib_$ac_lib_var=yes" 5432 eval "ac_cv_lib_$ac_lib_var=yes"
5438 else 5433 else
5439 echo "configure: failed program was:" >&5 5434 echo "configure: failed program was:" >&5
5440 cat conftest.$ac_ext >&5 5435 cat conftest.$ac_ext >&5
5452 fi 5447 fi
5453 5448
5454 5449
5455 5450
5456 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 5451 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6
5457 echo "configure:5458: checking for main in -lglade-gnome" >&5 5452 echo "configure:5453: checking for main in -lglade-gnome" >&5
5458 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` 5453 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'`
5459 5454
5460 xe_check_libs=" -lglade-gnome " 5455 xe_check_libs=" -lglade-gnome "
5461 cat > conftest.$ac_ext <<EOF 5456 cat > conftest.$ac_ext <<EOF
5462 #line 5463 "configure" 5457 #line 5458 "configure"
5463 #include "confdefs.h" 5458 #include "confdefs.h"
5464 5459
5465 int main() { 5460 int main() {
5466 main() 5461 main()
5467 ; return 0; } 5462 ; return 0; }
5468 EOF 5463 EOF
5469 if { (eval echo configure:5470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5464 if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5470 rm -rf conftest* 5465 rm -rf conftest*
5471 eval "ac_cv_lib_$ac_lib_var=yes" 5466 eval "ac_cv_lib_$ac_lib_var=yes"
5472 else 5467 else
5473 echo "configure: failed program was:" >&5 5468 echo "configure: failed program was:" >&5
5474 cat conftest.$ac_ext >&5 5469 cat conftest.$ac_ext >&5
5485 echo "$ac_t""no" 1>&6 5480 echo "$ac_t""no" 1>&6
5486 fi 5481 fi
5487 5482
5488 5483
5489 cat > conftest.$ac_ext <<EOF 5484 cat > conftest.$ac_ext <<EOF
5490 #line 5491 "configure" 5485 #line 5486 "configure"
5491 #include "confdefs.h" 5486 #include "confdefs.h"
5492 #include <glade/glade-xml.h> 5487 #include <glade/glade-xml.h>
5493 EOF 5488 EOF
5494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5495 egrep "char \*txtdomain;" >/dev/null 2>&1; then 5490 egrep "char \*txtdomain;" >/dev/null 2>&1; then
5544 # If we find X, set shell vars x_includes and x_libraries to the 5539 # If we find X, set shell vars x_includes and x_libraries to the
5545 # paths, otherwise set no_x=yes. 5540 # paths, otherwise set no_x=yes.
5546 # Uses ac_ vars as temps to allow command line to override cache and checks. 5541 # Uses ac_ vars as temps to allow command line to override cache and checks.
5547 # --without-x overrides everything else, but does not touch the cache. 5542 # --without-x overrides everything else, but does not touch the cache.
5548 echo $ac_n "checking for X""... $ac_c" 1>&6 5543 echo $ac_n "checking for X""... $ac_c" 1>&6
5549 echo "configure:5550: checking for X" >&5 5544 echo "configure:5545: checking for X" >&5
5550 5545
5551 # Check whether --with-x or --without-x was given. 5546 # Check whether --with-x or --without-x was given.
5552 if test "${with_x+set}" = set; then 5547 if test "${with_x+set}" = set; then
5553 withval="$with_x" 5548 withval="$with_x"
5554 : 5549 :
5604 # Guess where to find include files, by looking for this one X11 .h file. 5599 # Guess where to find include files, by looking for this one X11 .h file.
5605 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h 5600 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
5606 5601
5607 # First, try using that file with no special directory specified. 5602 # First, try using that file with no special directory specified.
5608 cat > conftest.$ac_ext <<EOF 5603 cat > conftest.$ac_ext <<EOF
5609 #line 5610 "configure" 5604 #line 5605 "configure"
5610 #include "confdefs.h" 5605 #include "confdefs.h"
5611 #include <$x_direct_test_include> 5606 #include <$x_direct_test_include>
5612 EOF 5607 EOF
5613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5614 { (eval echo configure:5615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5609 { (eval echo configure:5610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5616 if test -z "$ac_err"; then 5611 if test -z "$ac_err"; then
5617 rm -rf conftest* 5612 rm -rf conftest*
5618 # We can compile using X headers with no special include directory. 5613 # We can compile using X headers with no special include directory.
5619 ac_x_includes= 5614 ac_x_includes=
5678 # See if we find them without any special options. 5673 # See if we find them without any special options.
5679 # Don't add to $LIBS permanently. 5674 # Don't add to $LIBS permanently.
5680 ac_save_LIBS="$LIBS" 5675 ac_save_LIBS="$LIBS"
5681 LIBS="-l$x_direct_test_library $LIBS" 5676 LIBS="-l$x_direct_test_library $LIBS"
5682 cat > conftest.$ac_ext <<EOF 5677 cat > conftest.$ac_ext <<EOF
5683 #line 5684 "configure" 5678 #line 5679 "configure"
5684 #include "confdefs.h" 5679 #include "confdefs.h"
5685 5680
5686 int main() { 5681 int main() {
5687 ${x_direct_test_function}() 5682 ${x_direct_test_function}()
5688 ; return 0; } 5683 ; return 0; }
5689 EOF 5684 EOF
5690 if { (eval echo configure:5691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5685 if { (eval echo configure:5686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5691 rm -rf conftest* 5686 rm -rf conftest*
5692 LIBS="$ac_save_LIBS" 5687 LIBS="$ac_save_LIBS"
5693 # We can link X programs with no special library path. 5688 # We can link X programs with no special library path.
5694 ac_x_libraries= 5689 ac_x_libraries=
5695 else 5690 else
5794 # For Solaris; some versions of Sun CC require a space after -R and 5789 # For Solaris; some versions of Sun CC require a space after -R and
5795 # others require no space. Words are not sufficient . . . . 5790 # others require no space. Words are not sufficient . . . .
5796 case "`(uname -sr) 2>/dev/null`" in 5791 case "`(uname -sr) 2>/dev/null`" in
5797 "SunOS 5"*) 5792 "SunOS 5"*)
5798 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 5793 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
5799 echo "configure:5800: checking whether -R must be followed by a space" >&5 5794 echo "configure:5795: checking whether -R must be followed by a space" >&5
5800 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" 5795 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
5801 cat > conftest.$ac_ext <<EOF 5796 cat > conftest.$ac_ext <<EOF
5802 #line 5803 "configure" 5797 #line 5798 "configure"
5803 #include "confdefs.h" 5798 #include "confdefs.h"
5804 5799
5805 int main() { 5800 int main() {
5806 5801
5807 ; return 0; } 5802 ; return 0; }
5808 EOF 5803 EOF
5809 if { (eval echo configure:5810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5804 if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5810 rm -rf conftest* 5805 rm -rf conftest*
5811 ac_R_nospace=yes 5806 ac_R_nospace=yes
5812 else 5807 else
5813 echo "configure: failed program was:" >&5 5808 echo "configure: failed program was:" >&5
5814 cat conftest.$ac_ext >&5 5809 cat conftest.$ac_ext >&5
5820 echo "$ac_t""no" 1>&6 5815 echo "$ac_t""no" 1>&6
5821 X_LIBS="$X_LIBS -R$x_libraries" 5816 X_LIBS="$X_LIBS -R$x_libraries"
5822 else 5817 else
5823 LIBS="$ac_xsave_LIBS -R $x_libraries" 5818 LIBS="$ac_xsave_LIBS -R $x_libraries"
5824 cat > conftest.$ac_ext <<EOF 5819 cat > conftest.$ac_ext <<EOF
5825 #line 5826 "configure" 5820 #line 5821 "configure"
5826 #include "confdefs.h" 5821 #include "confdefs.h"
5827 5822
5828 int main() { 5823 int main() {
5829 5824
5830 ; return 0; } 5825 ; return 0; }
5831 EOF 5826 EOF
5832 if { (eval echo configure:5833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5827 if { (eval echo configure:5828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5833 rm -rf conftest* 5828 rm -rf conftest*
5834 ac_R_space=yes 5829 ac_R_space=yes
5835 else 5830 else
5836 echo "configure: failed program was:" >&5 5831 echo "configure: failed program was:" >&5
5837 cat conftest.$ac_ext >&5 5832 cat conftest.$ac_ext >&5
5863 if test "$with_dnet" = "no" ; then 5858 if test "$with_dnet" = "no" ; then
5864 ac_cv_lib_dnet_dnet_ntoa=no 5859 ac_cv_lib_dnet_dnet_ntoa=no
5865 else 5860 else
5866 5861
5867 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 5862 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
5868 echo "configure:5869: checking for dnet_ntoa in -ldnet" >&5 5863 echo "configure:5864: checking for dnet_ntoa in -ldnet" >&5
5869 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` 5864 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
5870 5865
5871 xe_check_libs=" -ldnet " 5866 xe_check_libs=" -ldnet "
5872 cat > conftest.$ac_ext <<EOF 5867 cat > conftest.$ac_ext <<EOF
5873 #line 5874 "configure" 5868 #line 5869 "configure"
5874 #include "confdefs.h" 5869 #include "confdefs.h"
5875 /* Override any gcc2 internal prototype to avoid an error. */ 5870 /* Override any gcc2 internal prototype to avoid an error. */
5876 /* We use char because int might match the return type of a gcc2 5871 /* We use char because int might match the return type of a gcc2
5877 builtin and then its argument prototype would still apply. */ 5872 builtin and then its argument prototype would still apply. */
5878 char dnet_ntoa(); 5873 char dnet_ntoa();
5879 5874
5880 int main() { 5875 int main() {
5881 dnet_ntoa() 5876 dnet_ntoa()
5882 ; return 0; } 5877 ; return 0; }
5883 EOF 5878 EOF
5884 if { (eval echo configure:5885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5879 if { (eval echo configure:5880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5885 rm -rf conftest* 5880 rm -rf conftest*
5886 eval "ac_cv_lib_$ac_lib_var=yes" 5881 eval "ac_cv_lib_$ac_lib_var=yes"
5887 else 5882 else
5888 echo "configure: failed program was:" >&5 5883 echo "configure: failed program was:" >&5
5889 cat conftest.$ac_ext >&5 5884 cat conftest.$ac_ext >&5
5903 fi 5898 fi
5904 5899
5905 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 5900 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
5906 5901
5907 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 5902 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
5908 echo "configure:5909: checking for dnet_ntoa in -ldnet_stub" >&5 5903 echo "configure:5904: checking for dnet_ntoa in -ldnet_stub" >&5
5909 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` 5904 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
5910 5905
5911 xe_check_libs=" -ldnet_stub " 5906 xe_check_libs=" -ldnet_stub "
5912 cat > conftest.$ac_ext <<EOF 5907 cat > conftest.$ac_ext <<EOF
5913 #line 5914 "configure" 5908 #line 5909 "configure"
5914 #include "confdefs.h" 5909 #include "confdefs.h"
5915 /* Override any gcc2 internal prototype to avoid an error. */ 5910 /* Override any gcc2 internal prototype to avoid an error. */
5916 /* We use char because int might match the return type of a gcc2 5911 /* We use char because int might match the return type of a gcc2
5917 builtin and then its argument prototype would still apply. */ 5912 builtin and then its argument prototype would still apply. */
5918 char dnet_ntoa(); 5913 char dnet_ntoa();
5919 5914
5920 int main() { 5915 int main() {
5921 dnet_ntoa() 5916 dnet_ntoa()
5922 ; return 0; } 5917 ; return 0; }
5923 EOF 5918 EOF
5924 if { (eval echo configure:5925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5919 if { (eval echo configure:5920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5925 rm -rf conftest* 5920 rm -rf conftest*
5926 eval "ac_cv_lib_$ac_lib_var=yes" 5921 eval "ac_cv_lib_$ac_lib_var=yes"
5927 else 5922 else
5928 echo "configure: failed program was:" >&5 5923 echo "configure: failed program was:" >&5
5929 cat conftest.$ac_ext >&5 5924 cat conftest.$ac_ext >&5
5948 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) 5943 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
5949 # needs -lnsl. 5944 # needs -lnsl.
5950 # The nsl library prevents programs from opening the X display 5945 # The nsl library prevents programs from opening the X display
5951 # on Irix 5.2, according to dickey@clark.net. 5946 # on Irix 5.2, according to dickey@clark.net.
5952 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 5947 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
5953 echo "configure:5954: checking for gethostbyname" >&5 5948 echo "configure:5949: checking for gethostbyname" >&5
5954 5949
5955 cat > conftest.$ac_ext <<EOF 5950 cat > conftest.$ac_ext <<EOF
5956 #line 5957 "configure" 5951 #line 5952 "configure"
5957 #include "confdefs.h" 5952 #include "confdefs.h"
5958 /* System header to define __stub macros and hopefully few prototypes, 5953 /* System header to define __stub macros and hopefully few prototypes,
5959 which can conflict with char gethostbyname(); below. */ 5954 which can conflict with char gethostbyname(); below. */
5960 #include <assert.h> 5955 #include <assert.h>
5961 /* Override any gcc2 internal prototype to avoid an error. */ 5956 /* Override any gcc2 internal prototype to avoid an error. */
5974 gethostbyname(); 5969 gethostbyname();
5975 #endif 5970 #endif
5976 5971
5977 ; return 0; } 5972 ; return 0; }
5978 EOF 5973 EOF
5979 if { (eval echo configure:5980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5974 if { (eval echo configure:5975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5980 rm -rf conftest* 5975 rm -rf conftest*
5981 eval "ac_cv_func_gethostbyname=yes" 5976 eval "ac_cv_func_gethostbyname=yes"
5982 else 5977 else
5983 echo "configure: failed program was:" >&5 5978 echo "configure: failed program was:" >&5
5984 cat conftest.$ac_ext >&5 5979 cat conftest.$ac_ext >&5
5995 fi 5990 fi
5996 5991
5997 if test $ac_cv_func_gethostbyname = no; then 5992 if test $ac_cv_func_gethostbyname = no; then
5998 5993
5999 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 5994 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
6000 echo "configure:6001: checking for gethostbyname in -lnsl" >&5 5995 echo "configure:5996: checking for gethostbyname in -lnsl" >&5
6001 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 5996 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
6002 5997
6003 xe_check_libs=" -lnsl " 5998 xe_check_libs=" -lnsl "
6004 cat > conftest.$ac_ext <<EOF 5999 cat > conftest.$ac_ext <<EOF
6005 #line 6006 "configure" 6000 #line 6001 "configure"
6006 #include "confdefs.h" 6001 #include "confdefs.h"
6007 /* Override any gcc2 internal prototype to avoid an error. */ 6002 /* Override any gcc2 internal prototype to avoid an error. */
6008 /* We use char because int might match the return type of a gcc2 6003 /* We use char because int might match the return type of a gcc2
6009 builtin and then its argument prototype would still apply. */ 6004 builtin and then its argument prototype would still apply. */
6010 char gethostbyname(); 6005 char gethostbyname();
6011 6006
6012 int main() { 6007 int main() {
6013 gethostbyname() 6008 gethostbyname()
6014 ; return 0; } 6009 ; return 0; }
6015 EOF 6010 EOF
6016 if { (eval echo configure:6017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6011 if { (eval echo configure:6012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6017 rm -rf conftest* 6012 rm -rf conftest*
6018 eval "ac_cv_lib_$ac_lib_var=yes" 6013 eval "ac_cv_lib_$ac_lib_var=yes"
6019 else 6014 else
6020 echo "configure: failed program was:" >&5 6015 echo "configure: failed program was:" >&5
6021 cat conftest.$ac_ext >&5 6016 cat conftest.$ac_ext >&5
6041 # on later versions), says simon@lia.di.epfl.ch: it contains 6036 # on later versions), says simon@lia.di.epfl.ch: it contains
6042 # gethostby* variants that don't use the nameserver (or something). 6037 # gethostby* variants that don't use the nameserver (or something).
6043 # -lsocket must be given before -lnsl if both are needed. 6038 # -lsocket must be given before -lnsl if both are needed.
6044 # We assume that if connect needs -lnsl, so does gethostbyname. 6039 # We assume that if connect needs -lnsl, so does gethostbyname.
6045 echo $ac_n "checking for connect""... $ac_c" 1>&6 6040 echo $ac_n "checking for connect""... $ac_c" 1>&6
6046 echo "configure:6047: checking for connect" >&5 6041 echo "configure:6042: checking for connect" >&5
6047 6042
6048 cat > conftest.$ac_ext <<EOF 6043 cat > conftest.$ac_ext <<EOF
6049 #line 6050 "configure" 6044 #line 6045 "configure"
6050 #include "confdefs.h" 6045 #include "confdefs.h"
6051 /* System header to define __stub macros and hopefully few prototypes, 6046 /* System header to define __stub macros and hopefully few prototypes,
6052 which can conflict with char connect(); below. */ 6047 which can conflict with char connect(); below. */
6053 #include <assert.h> 6048 #include <assert.h>
6054 /* Override any gcc2 internal prototype to avoid an error. */ 6049 /* Override any gcc2 internal prototype to avoid an error. */
6067 connect(); 6062 connect();
6068 #endif 6063 #endif
6069 6064
6070 ; return 0; } 6065 ; return 0; }
6071 EOF 6066 EOF
6072 if { (eval echo configure:6073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6067 if { (eval echo configure:6068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6073 rm -rf conftest* 6068 rm -rf conftest*
6074 eval "ac_cv_func_connect=yes" 6069 eval "ac_cv_func_connect=yes"
6075 else 6070 else
6076 echo "configure: failed program was:" >&5 6071 echo "configure: failed program was:" >&5
6077 cat conftest.$ac_ext >&5 6072 cat conftest.$ac_ext >&5
6090 if test $ac_cv_func_connect = no; then 6085 if test $ac_cv_func_connect = no; then
6091 6086
6092 xe_msg_checking="for connect in -lsocket" 6087 xe_msg_checking="for connect in -lsocket"
6093 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6088 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6094 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6089 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6095 echo "configure:6096: checking "$xe_msg_checking"" >&5 6090 echo "configure:6091: checking "$xe_msg_checking"" >&5
6096 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` 6091 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
6097 6092
6098 xe_check_libs=" -lsocket $X_EXTRA_LIBS" 6093 xe_check_libs=" -lsocket $X_EXTRA_LIBS"
6099 cat > conftest.$ac_ext <<EOF 6094 cat > conftest.$ac_ext <<EOF
6100 #line 6101 "configure" 6095 #line 6096 "configure"
6101 #include "confdefs.h" 6096 #include "confdefs.h"
6102 /* Override any gcc2 internal prototype to avoid an error. */ 6097 /* Override any gcc2 internal prototype to avoid an error. */
6103 /* We use char because int might match the return type of a gcc2 6098 /* We use char because int might match the return type of a gcc2
6104 builtin and then its argument prototype would still apply. */ 6099 builtin and then its argument prototype would still apply. */
6105 char connect(); 6100 char connect();
6106 6101
6107 int main() { 6102 int main() {
6108 connect() 6103 connect()
6109 ; return 0; } 6104 ; return 0; }
6110 EOF 6105 EOF
6111 if { (eval echo configure:6112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6106 if { (eval echo configure:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6112 rm -rf conftest* 6107 rm -rf conftest*
6113 eval "ac_cv_lib_$ac_lib_var=yes" 6108 eval "ac_cv_lib_$ac_lib_var=yes"
6114 else 6109 else
6115 echo "configure: failed program was:" >&5 6110 echo "configure: failed program was:" >&5
6116 cat conftest.$ac_ext >&5 6111 cat conftest.$ac_ext >&5
6130 6125
6131 fi 6126 fi
6132 6127
6133 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. 6128 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
6134 echo $ac_n "checking for remove""... $ac_c" 1>&6 6129 echo $ac_n "checking for remove""... $ac_c" 1>&6
6135 echo "configure:6136: checking for remove" >&5 6130 echo "configure:6131: checking for remove" >&5
6136 6131
6137 cat > conftest.$ac_ext <<EOF 6132 cat > conftest.$ac_ext <<EOF
6138 #line 6139 "configure" 6133 #line 6134 "configure"
6139 #include "confdefs.h" 6134 #include "confdefs.h"
6140 /* System header to define __stub macros and hopefully few prototypes, 6135 /* System header to define __stub macros and hopefully few prototypes,
6141 which can conflict with char remove(); below. */ 6136 which can conflict with char remove(); below. */
6142 #include <assert.h> 6137 #include <assert.h>
6143 /* Override any gcc2 internal prototype to avoid an error. */ 6138 /* Override any gcc2 internal prototype to avoid an error. */
6156 remove(); 6151 remove();
6157 #endif 6152 #endif
6158 6153
6159 ; return 0; } 6154 ; return 0; }
6160 EOF 6155 EOF
6161 if { (eval echo configure:6162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6162 rm -rf conftest* 6157 rm -rf conftest*
6163 eval "ac_cv_func_remove=yes" 6158 eval "ac_cv_func_remove=yes"
6164 else 6159 else
6165 echo "configure: failed program was:" >&5 6160 echo "configure: failed program was:" >&5
6166 cat conftest.$ac_ext >&5 6161 cat conftest.$ac_ext >&5
6177 fi 6172 fi
6178 6173
6179 if test $ac_cv_func_remove = no; then 6174 if test $ac_cv_func_remove = no; then
6180 6175
6181 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 6176 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
6182 echo "configure:6183: checking for remove in -lposix" >&5 6177 echo "configure:6178: checking for remove in -lposix" >&5
6183 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` 6178 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
6184 6179
6185 xe_check_libs=" -lposix " 6180 xe_check_libs=" -lposix "
6186 cat > conftest.$ac_ext <<EOF 6181 cat > conftest.$ac_ext <<EOF
6187 #line 6188 "configure" 6182 #line 6183 "configure"
6188 #include "confdefs.h" 6183 #include "confdefs.h"
6189 /* Override any gcc2 internal prototype to avoid an error. */ 6184 /* Override any gcc2 internal prototype to avoid an error. */
6190 /* We use char because int might match the return type of a gcc2 6185 /* We use char because int might match the return type of a gcc2
6191 builtin and then its argument prototype would still apply. */ 6186 builtin and then its argument prototype would still apply. */
6192 char remove(); 6187 char remove();
6193 6188
6194 int main() { 6189 int main() {
6195 remove() 6190 remove()
6196 ; return 0; } 6191 ; return 0; }
6197 EOF 6192 EOF
6198 if { (eval echo configure:6199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6193 if { (eval echo configure:6194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6199 rm -rf conftest* 6194 rm -rf conftest*
6200 eval "ac_cv_lib_$ac_lib_var=yes" 6195 eval "ac_cv_lib_$ac_lib_var=yes"
6201 else 6196 else
6202 echo "configure: failed program was:" >&5 6197 echo "configure: failed program was:" >&5
6203 cat conftest.$ac_ext >&5 6198 cat conftest.$ac_ext >&5
6217 6212
6218 fi 6213 fi
6219 6214
6220 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 6215 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6221 echo $ac_n "checking for shmat""... $ac_c" 1>&6 6216 echo $ac_n "checking for shmat""... $ac_c" 1>&6
6222 echo "configure:6223: checking for shmat" >&5 6217 echo "configure:6218: checking for shmat" >&5
6223 6218
6224 cat > conftest.$ac_ext <<EOF 6219 cat > conftest.$ac_ext <<EOF
6225 #line 6226 "configure" 6220 #line 6221 "configure"
6226 #include "confdefs.h" 6221 #include "confdefs.h"
6227 /* System header to define __stub macros and hopefully few prototypes, 6222 /* System header to define __stub macros and hopefully few prototypes,
6228 which can conflict with char shmat(); below. */ 6223 which can conflict with char shmat(); below. */
6229 #include <assert.h> 6224 #include <assert.h>
6230 /* Override any gcc2 internal prototype to avoid an error. */ 6225 /* Override any gcc2 internal prototype to avoid an error. */
6243 shmat(); 6238 shmat();
6244 #endif 6239 #endif
6245 6240
6246 ; return 0; } 6241 ; return 0; }
6247 EOF 6242 EOF
6248 if { (eval echo configure:6249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6243 if { (eval echo configure:6244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6249 rm -rf conftest* 6244 rm -rf conftest*
6250 eval "ac_cv_func_shmat=yes" 6245 eval "ac_cv_func_shmat=yes"
6251 else 6246 else
6252 echo "configure: failed program was:" >&5 6247 echo "configure: failed program was:" >&5
6253 cat conftest.$ac_ext >&5 6248 cat conftest.$ac_ext >&5
6264 fi 6259 fi
6265 6260
6266 if test $ac_cv_func_shmat = no; then 6261 if test $ac_cv_func_shmat = no; then
6267 6262
6268 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 6263 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
6269 echo "configure:6270: checking for shmat in -lipc" >&5 6264 echo "configure:6265: checking for shmat in -lipc" >&5
6270 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` 6265 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
6271 6266
6272 xe_check_libs=" -lipc " 6267 xe_check_libs=" -lipc "
6273 cat > conftest.$ac_ext <<EOF 6268 cat > conftest.$ac_ext <<EOF
6274 #line 6275 "configure" 6269 #line 6270 "configure"
6275 #include "confdefs.h" 6270 #include "confdefs.h"
6276 /* Override any gcc2 internal prototype to avoid an error. */ 6271 /* Override any gcc2 internal prototype to avoid an error. */
6277 /* We use char because int might match the return type of a gcc2 6272 /* We use char because int might match the return type of a gcc2
6278 builtin and then its argument prototype would still apply. */ 6273 builtin and then its argument prototype would still apply. */
6279 char shmat(); 6274 char shmat();
6280 6275
6281 int main() { 6276 int main() {
6282 shmat() 6277 shmat()
6283 ; return 0; } 6278 ; return 0; }
6284 EOF 6279 EOF
6285 if { (eval echo configure:6286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6280 if { (eval echo configure:6281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6286 rm -rf conftest* 6281 rm -rf conftest*
6287 eval "ac_cv_lib_$ac_lib_var=yes" 6282 eval "ac_cv_lib_$ac_lib_var=yes"
6288 else 6283 else
6289 echo "configure: failed program was:" >&5 6284 echo "configure: failed program was:" >&5
6290 cat conftest.$ac_ext >&5 6285 cat conftest.$ac_ext >&5
6316 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. 6311 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
6317 6312
6318 xe_msg_checking="for IceConnectionNumber in -lICE" 6313 xe_msg_checking="for IceConnectionNumber in -lICE"
6319 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" 6314 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS"
6320 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6315 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6321 echo "configure:6322: checking "$xe_msg_checking"" >&5 6316 echo "configure:6317: checking "$xe_msg_checking"" >&5
6322 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` 6317 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
6323 6318
6324 xe_check_libs=" -lICE $X_EXTRA_LIBS" 6319 xe_check_libs=" -lICE $X_EXTRA_LIBS"
6325 cat > conftest.$ac_ext <<EOF 6320 cat > conftest.$ac_ext <<EOF
6326 #line 6327 "configure" 6321 #line 6322 "configure"
6327 #include "confdefs.h" 6322 #include "confdefs.h"
6328 /* Override any gcc2 internal prototype to avoid an error. */ 6323 /* Override any gcc2 internal prototype to avoid an error. */
6329 /* We use char because int might match the return type of a gcc2 6324 /* We use char because int might match the return type of a gcc2
6330 builtin and then its argument prototype would still apply. */ 6325 builtin and then its argument prototype would still apply. */
6331 char IceConnectionNumber(); 6326 char IceConnectionNumber();
6332 6327
6333 int main() { 6328 int main() {
6334 IceConnectionNumber() 6329 IceConnectionNumber()
6335 ; return 0; } 6330 ; return 0; }
6336 EOF 6331 EOF
6337 if { (eval echo configure:6338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6332 if { (eval echo configure:6333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6338 rm -rf conftest* 6333 rm -rf conftest*
6339 eval "ac_cv_lib_$ac_lib_var=yes" 6334 eval "ac_cv_lib_$ac_lib_var=yes"
6340 else 6335 else
6341 echo "configure: failed program was:" >&5 6336 echo "configure: failed program was:" >&5
6342 cat conftest.$ac_ext >&5 6337 cat conftest.$ac_ext >&5
6499 EOF 6494 EOF
6500 } 6495 }
6501 6496
6502 6497
6503 echo "checking for X defines extracted by xmkmf" 1>&6 6498 echo "checking for X defines extracted by xmkmf" 1>&6
6504 echo "configure:6505: checking for X defines extracted by xmkmf" >&5 6499 echo "configure:6500: checking for X defines extracted by xmkmf" >&5
6505 rm -fr conftestdir 6500 rm -fr conftestdir
6506 if mkdir conftestdir; then 6501 if mkdir conftestdir; then
6507 cd conftestdir 6502 cd conftestdir
6508 cat > Imakefile <<'EOF' 6503 cat > Imakefile <<'EOF'
6509 xetest: 6504 xetest:
6548 done 6543 done
6549 fi 6544 fi
6550 6545
6551 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` 6546 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'`
6552 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 6547 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6
6553 echo "configure:6554: checking for X11/Intrinsic.h" >&5 6548 echo "configure:6549: checking for X11/Intrinsic.h" >&5
6554 6549
6555 cat > conftest.$ac_ext <<EOF 6550 cat > conftest.$ac_ext <<EOF
6556 #line 6557 "configure" 6551 #line 6552 "configure"
6557 #include "confdefs.h" 6552 #include "confdefs.h"
6558 #include <X11/Intrinsic.h> 6553 #include <X11/Intrinsic.h>
6559 EOF 6554 EOF
6560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6561 { (eval echo configure:6562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6556 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6563 if test -z "$ac_err"; then 6558 if test -z "$ac_err"; then
6564 rm -rf conftest* 6559 rm -rf conftest*
6565 eval "ac_cv_header_$ac_safe=yes" 6560 eval "ac_cv_header_$ac_safe=yes"
6566 else 6561 else
6580 fi 6575 fi
6581 6576
6582 6577
6583 6578
6584 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 6579 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6
6585 echo "configure:6586: checking for XOpenDisplay in -lX11" >&5 6580 echo "configure:6581: checking for XOpenDisplay in -lX11" >&5
6586 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` 6581 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'`
6587 6582
6588 xe_check_libs=" -lX11 " 6583 xe_check_libs=" -lX11 "
6589 cat > conftest.$ac_ext <<EOF 6584 cat > conftest.$ac_ext <<EOF
6590 #line 6591 "configure" 6585 #line 6586 "configure"
6591 #include "confdefs.h" 6586 #include "confdefs.h"
6592 /* Override any gcc2 internal prototype to avoid an error. */ 6587 /* Override any gcc2 internal prototype to avoid an error. */
6593 /* We use char because int might match the return type of a gcc2 6588 /* We use char because int might match the return type of a gcc2
6594 builtin and then its argument prototype would still apply. */ 6589 builtin and then its argument prototype would still apply. */
6595 char XOpenDisplay(); 6590 char XOpenDisplay();
6596 6591
6597 int main() { 6592 int main() {
6598 XOpenDisplay() 6593 XOpenDisplay()
6599 ; return 0; } 6594 ; return 0; }
6600 EOF 6595 EOF
6601 if { (eval echo configure:6602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6596 if { (eval echo configure:6597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6602 rm -rf conftest* 6597 rm -rf conftest*
6603 eval "ac_cv_lib_$ac_lib_var=yes" 6598 eval "ac_cv_lib_$ac_lib_var=yes"
6604 else 6599 else
6605 echo "configure: failed program was:" >&5 6600 echo "configure: failed program was:" >&5
6606 cat conftest.$ac_ext >&5 6601 cat conftest.$ac_ext >&5
6621 if test "$have_lib_x11" != "yes"; then 6616 if test "$have_lib_x11" != "yes"; then
6622 6617
6623 xe_msg_checking="for XGetFontProperty in -lX11" 6618 xe_msg_checking="for XGetFontProperty in -lX11"
6624 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" 6619 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout"
6625 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6620 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6626 echo "configure:6627: checking "$xe_msg_checking"" >&5 6621 echo "configure:6622: checking "$xe_msg_checking"" >&5
6627 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` 6622 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'`
6628 6623
6629 xe_check_libs=" -lX11 -b i486-linuxaout" 6624 xe_check_libs=" -lX11 -b i486-linuxaout"
6630 cat > conftest.$ac_ext <<EOF 6625 cat > conftest.$ac_ext <<EOF
6631 #line 6632 "configure" 6626 #line 6627 "configure"
6632 #include "confdefs.h" 6627 #include "confdefs.h"
6633 /* Override any gcc2 internal prototype to avoid an error. */ 6628 /* Override any gcc2 internal prototype to avoid an error. */
6634 /* We use char because int might match the return type of a gcc2 6629 /* We use char because int might match the return type of a gcc2
6635 builtin and then its argument prototype would still apply. */ 6630 builtin and then its argument prototype would still apply. */
6636 char XGetFontProperty(); 6631 char XGetFontProperty();
6637 6632
6638 int main() { 6633 int main() {
6639 XGetFontProperty() 6634 XGetFontProperty()
6640 ; return 0; } 6635 ; return 0; }
6641 EOF 6636 EOF
6642 if { (eval echo configure:6643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6637 if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6643 rm -rf conftest* 6638 rm -rf conftest*
6644 eval "ac_cv_lib_$ac_lib_var=yes" 6639 eval "ac_cv_lib_$ac_lib_var=yes"
6645 else 6640 else
6646 echo "configure: failed program was:" >&5 6641 echo "configure: failed program was:" >&5
6647 cat conftest.$ac_ext >&5 6642 cat conftest.$ac_ext >&5
6664 libs_x="-lX11" 6659 libs_x="-lX11"
6665 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 6660 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
6666 6661
6667 6662
6668 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 6663 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6
6669 echo "configure:6670: checking for XShapeSelectInput in -lXext" >&5 6664 echo "configure:6665: checking for XShapeSelectInput in -lXext" >&5
6670 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` 6665 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'`
6671 6666
6672 xe_check_libs=" -lXext " 6667 xe_check_libs=" -lXext "
6673 cat > conftest.$ac_ext <<EOF 6668 cat > conftest.$ac_ext <<EOF
6674 #line 6675 "configure" 6669 #line 6670 "configure"
6675 #include "confdefs.h" 6670 #include "confdefs.h"
6676 /* Override any gcc2 internal prototype to avoid an error. */ 6671 /* Override any gcc2 internal prototype to avoid an error. */
6677 /* We use char because int might match the return type of a gcc2 6672 /* We use char because int might match the return type of a gcc2
6678 builtin and then its argument prototype would still apply. */ 6673 builtin and then its argument prototype would still apply. */
6679 char XShapeSelectInput(); 6674 char XShapeSelectInput();
6680 6675
6681 int main() { 6676 int main() {
6682 XShapeSelectInput() 6677 XShapeSelectInput()
6683 ; return 0; } 6678 ; return 0; }
6684 EOF 6679 EOF
6685 if { (eval echo configure:6686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6680 if { (eval echo configure:6681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6686 rm -rf conftest* 6681 rm -rf conftest*
6687 eval "ac_cv_lib_$ac_lib_var=yes" 6682 eval "ac_cv_lib_$ac_lib_var=yes"
6688 else 6683 else
6689 echo "configure: failed program was:" >&5 6684 echo "configure: failed program was:" >&5
6690 cat conftest.$ac_ext >&5 6685 cat conftest.$ac_ext >&5
6703 6698
6704 6699
6705 6700
6706 6701
6707 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 6702 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6
6708 echo "configure:6709: checking for XtOpenDisplay in -lXt" >&5 6703 echo "configure:6704: checking for XtOpenDisplay in -lXt" >&5
6709 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` 6704 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'`
6710 6705
6711 xe_check_libs=" -lXt " 6706 xe_check_libs=" -lXt "
6712 cat > conftest.$ac_ext <<EOF 6707 cat > conftest.$ac_ext <<EOF
6713 #line 6714 "configure" 6708 #line 6709 "configure"
6714 #include "confdefs.h" 6709 #include "confdefs.h"
6715 /* Override any gcc2 internal prototype to avoid an error. */ 6710 /* Override any gcc2 internal prototype to avoid an error. */
6716 /* We use char because int might match the return type of a gcc2 6711 /* We use char because int might match the return type of a gcc2
6717 builtin and then its argument prototype would still apply. */ 6712 builtin and then its argument prototype would still apply. */
6718 char XtOpenDisplay(); 6713 char XtOpenDisplay();
6719 6714
6720 int main() { 6715 int main() {
6721 XtOpenDisplay() 6716 XtOpenDisplay()
6722 ; return 0; } 6717 ; return 0; }
6723 EOF 6718 EOF
6724 if { (eval echo configure:6725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6719 if { (eval echo configure:6720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6725 rm -rf conftest* 6720 rm -rf conftest*
6726 eval "ac_cv_lib_$ac_lib_var=yes" 6721 eval "ac_cv_lib_$ac_lib_var=yes"
6727 else 6722 else
6728 echo "configure: failed program was:" >&5 6723 echo "configure: failed program was:" >&5
6729 cat conftest.$ac_ext >&5 6724 cat conftest.$ac_ext >&5
6742 fi 6737 fi
6743 6738
6744 6739
6745 6740
6746 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 6741 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6
6747 echo "configure:6748: checking the version of X11 being used" >&5 6742 echo "configure:6743: checking the version of X11 being used" >&5
6748 cat > conftest.$ac_ext <<EOF 6743 cat > conftest.$ac_ext <<EOF
6749 #line 6750 "configure" 6744 #line 6745 "configure"
6750 #include "confdefs.h" 6745 #include "confdefs.h"
6751 #include <X11/Intrinsic.h> 6746 #include <X11/Intrinsic.h>
6752 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } 6747 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; }
6753 EOF 6748 EOF
6754 if { (eval echo configure:6755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 6749 if { (eval echo configure:6750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
6755 then 6750 then
6756 ./conftest foobar; x11_release=$? 6751 ./conftest foobar; x11_release=$?
6757 else 6752 else
6758 conftest_rc="$?" 6753 conftest_rc="$?"
6759 echo "configure: failed program was:" >&5 6754 echo "configure: failed program was:" >&5
6780 fi 6775 fi
6781 6776
6782 for ac_func in XConvertCase 6777 for ac_func in XConvertCase
6783 do 6778 do
6784 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6785 echo "configure:6786: checking for $ac_func" >&5 6780 echo "configure:6781: checking for $ac_func" >&5
6786 6781
6787 cat > conftest.$ac_ext <<EOF 6782 cat > conftest.$ac_ext <<EOF
6788 #line 6789 "configure" 6783 #line 6784 "configure"
6789 #include "confdefs.h" 6784 #include "confdefs.h"
6790 /* System header to define __stub macros and hopefully few prototypes, 6785 /* System header to define __stub macros and hopefully few prototypes,
6791 which can conflict with char $ac_func(); below. */ 6786 which can conflict with char $ac_func(); below. */
6792 #include <assert.h> 6787 #include <assert.h>
6793 /* Override any gcc2 internal prototype to avoid an error. */ 6788 /* Override any gcc2 internal prototype to avoid an error. */
6806 $ac_func(); 6801 $ac_func();
6807 #endif 6802 #endif
6808 6803
6809 ; return 0; } 6804 ; return 0; }
6810 EOF 6805 EOF
6811 if { (eval echo configure:6812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6806 if { (eval echo configure:6807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6812 rm -rf conftest* 6807 rm -rf conftest*
6813 eval "ac_cv_func_$ac_func=yes" 6808 eval "ac_cv_func_$ac_func=yes"
6814 else 6809 else
6815 echo "configure: failed program was:" >&5 6810 echo "configure: failed program was:" >&5
6816 cat conftest.$ac_ext >&5 6811 cat conftest.$ac_ext >&5
6838 6833
6839 for ac_hdr in X11/Xlocale.h 6834 for ac_hdr in X11/Xlocale.h
6840 do 6835 do
6841 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6836 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6842 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6837 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6843 echo "configure:6844: checking for $ac_hdr" >&5 6838 echo "configure:6839: checking for $ac_hdr" >&5
6844 6839
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 <$ac_hdr> 6843 #include <$ac_hdr>
6849 EOF 6844 EOF
6850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6851 { (eval echo configure:6852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6846 { (eval echo configure:6847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6853 if test -z "$ac_err"; then 6848 if test -z "$ac_err"; then
6854 rm -rf conftest* 6849 rm -rf conftest*
6855 eval "ac_cv_header_$ac_safe=yes" 6850 eval "ac_cv_header_$ac_safe=yes"
6856 else 6851 else
6879 6874
6880 6875
6881 for ac_func in XRegisterIMInstantiateCallback 6876 for ac_func in XRegisterIMInstantiateCallback
6882 do 6877 do
6883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6878 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6884 echo "configure:6885: checking for $ac_func" >&5 6879 echo "configure:6880: checking for $ac_func" >&5
6885 6880
6886 cat > conftest.$ac_ext <<EOF 6881 cat > conftest.$ac_ext <<EOF
6887 #line 6888 "configure" 6882 #line 6883 "configure"
6888 #include "confdefs.h" 6883 #include "confdefs.h"
6889 /* System header to define __stub macros and hopefully few prototypes, 6884 /* System header to define __stub macros and hopefully few prototypes,
6890 which can conflict with char $ac_func(); below. */ 6885 which can conflict with char $ac_func(); below. */
6891 #include <assert.h> 6886 #include <assert.h>
6892 /* Override any gcc2 internal prototype to avoid an error. */ 6887 /* Override any gcc2 internal prototype to avoid an error. */
6905 $ac_func(); 6900 $ac_func();
6906 #endif 6901 #endif
6907 6902
6908 ; return 0; } 6903 ; return 0; }
6909 EOF 6904 EOF
6910 if { (eval echo configure:6911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6905 if { (eval echo configure:6906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6911 rm -rf conftest* 6906 rm -rf conftest*
6912 eval "ac_cv_func_$ac_func=yes" 6907 eval "ac_cv_func_$ac_func=yes"
6913 else 6908 else
6914 echo "configure: failed program was:" >&5 6909 echo "configure: failed program was:" >&5
6915 cat conftest.$ac_ext >&5 6910 cat conftest.$ac_ext >&5
6933 echo "$ac_t""no" 1>&6 6928 echo "$ac_t""no" 1>&6
6934 fi 6929 fi
6935 done 6930 done
6936 6931
6937 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 6932 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6
6938 echo "configure:6939: checking for standard XRegisterIMInstantiateCallback prototype" >&5 6933 echo "configure:6934: checking for standard XRegisterIMInstantiateCallback prototype" >&5
6939 cat > conftest.$ac_ext <<EOF 6934 cat > conftest.$ac_ext <<EOF
6940 #line 6941 "configure" 6935 #line 6936 "configure"
6941 #include "confdefs.h" 6936 #include "confdefs.h"
6942 6937
6943 #define NeedFunctionPrototypes 1 6938 #define NeedFunctionPrototypes 1
6944 #include <X11/Xlib.h> 6939 #include <X11/Xlib.h>
6945 extern Bool XRegisterIMInstantiateCallback( 6940 extern Bool XRegisterIMInstantiateCallback(
6947 6942
6948 int main() { 6943 int main() {
6949 6944
6950 ; return 0; } 6945 ; return 0; }
6951 EOF 6946 EOF
6952 if { (eval echo configure:6953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 6947 if { (eval echo configure:6948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6953 rm -rf conftest* 6948 rm -rf conftest*
6954 echo "$ac_t""yes" 1>&6 6949 echo "$ac_t""yes" 1>&6
6955 else 6950 else
6956 echo "configure: failed program was:" >&5 6951 echo "configure: failed program was:" >&5
6957 cat conftest.$ac_ext >&5 6952 cat conftest.$ac_ext >&5
6968 fi 6963 fi
6969 rm -f conftest* 6964 rm -f conftest*
6970 6965
6971 test -z "$with_xmu" && { 6966 test -z "$with_xmu" && {
6972 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 6967 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6
6973 echo "configure:6974: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 6968 echo "configure:6969: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
6974 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` 6969 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'`
6975 6970
6976 xe_check_libs=" -lXmu " 6971 xe_check_libs=" -lXmu "
6977 cat > conftest.$ac_ext <<EOF 6972 cat > conftest.$ac_ext <<EOF
6978 #line 6979 "configure" 6973 #line 6974 "configure"
6979 #include "confdefs.h" 6974 #include "confdefs.h"
6980 /* Override any gcc2 internal prototype to avoid an error. */ 6975 /* Override any gcc2 internal prototype to avoid an error. */
6981 /* We use char because int might match the return type of a gcc2 6976 /* We use char because int might match the return type of a gcc2
6982 builtin and then its argument prototype would still apply. */ 6977 builtin and then its argument prototype would still apply. */
6983 char XmuReadBitmapDataFromFile(); 6978 char XmuReadBitmapDataFromFile();
6984 6979
6985 int main() { 6980 int main() {
6986 XmuReadBitmapDataFromFile() 6981 XmuReadBitmapDataFromFile()
6987 ; return 0; } 6982 ; return 0; }
6988 EOF 6983 EOF
6989 if { (eval echo configure:6990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6984 if { (eval echo configure:6985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6990 rm -rf conftest* 6985 rm -rf conftest*
6991 eval "ac_cv_lib_$ac_lib_var=yes" 6986 eval "ac_cv_lib_$ac_lib_var=yes"
6992 else 6987 else
6993 echo "configure: failed program was:" >&5 6988 echo "configure: failed program was:" >&5
6994 cat conftest.$ac_ext >&5 6989 cat conftest.$ac_ext >&5
7023 7018
7024 fi 7019 fi
7025 7020
7026 7021
7027 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 7022 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
7028 echo "configure:7029: checking for main in -lXbsd" >&5 7023 echo "configure:7024: checking for main in -lXbsd" >&5
7029 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` 7024 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
7030 7025
7031 xe_check_libs=" -lXbsd " 7026 xe_check_libs=" -lXbsd "
7032 cat > conftest.$ac_ext <<EOF 7027 cat > conftest.$ac_ext <<EOF
7033 #line 7034 "configure" 7028 #line 7029 "configure"
7034 #include "confdefs.h" 7029 #include "confdefs.h"
7035 7030
7036 int main() { 7031 int main() {
7037 main() 7032 main()
7038 ; return 0; } 7033 ; return 0; }
7039 EOF 7034 EOF
7040 if { (eval echo configure:7041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7035 if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7041 rm -rf conftest* 7036 rm -rf conftest*
7042 eval "ac_cv_lib_$ac_lib_var=yes" 7037 eval "ac_cv_lib_$ac_lib_var=yes"
7043 else 7038 else
7044 echo "configure: failed program was:" >&5 7039 echo "configure: failed program was:" >&5
7045 cat conftest.$ac_ext >&5 7040 cat conftest.$ac_ext >&5
7072 fi 7067 fi
7073 7068
7074 fi 7069 fi
7075 if test "$with_msw" != "no"; then 7070 if test "$with_msw" != "no"; then
7076 echo "checking for MS-Windows" 1>&6 7071 echo "checking for MS-Windows" 1>&6
7077 echo "configure:7078: checking for MS-Windows" >&5 7072 echo "configure:7073: checking for MS-Windows" >&5
7078 7073
7079 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 7074 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6
7080 echo "configure:7081: checking for main in -lgdi32" >&5 7075 echo "configure:7076: checking for main in -lgdi32" >&5
7081 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` 7076 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'`
7082 7077
7083 xe_check_libs=" -lgdi32 " 7078 xe_check_libs=" -lgdi32 "
7084 cat > conftest.$ac_ext <<EOF 7079 cat > conftest.$ac_ext <<EOF
7085 #line 7086 "configure" 7080 #line 7081 "configure"
7086 #include "confdefs.h" 7081 #include "confdefs.h"
7087 7082
7088 int main() { 7083 int main() {
7089 main() 7084 main()
7090 ; return 0; } 7085 ; return 0; }
7091 EOF 7086 EOF
7092 if { (eval echo configure:7093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7087 if { (eval echo configure:7088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7093 rm -rf conftest* 7088 rm -rf conftest*
7094 eval "ac_cv_lib_$ac_lib_var=yes" 7089 eval "ac_cv_lib_$ac_lib_var=yes"
7095 else 7090 else
7096 echo "configure: failed program was:" >&5 7091 echo "configure: failed program was:" >&5
7097 cat conftest.$ac_ext >&5 7092 cat conftest.$ac_ext >&5
7138 test "$with_toolbars" != "no" && with_toolbars=msw 7133 test "$with_toolbars" != "no" && with_toolbars=msw
7139 test "$with_dialogs" != "no" && with_dialogs=msw 7134 test "$with_dialogs" != "no" && with_dialogs=msw
7140 test "$with_widgets" != "no" && with_widgets=msw 7135 test "$with_widgets" != "no" && with_widgets=msw
7141 fi 7136 fi
7142 cat > conftest.$ac_ext <<EOF 7137 cat > conftest.$ac_ext <<EOF
7143 #line 7144 "configure" 7138 #line 7139 "configure"
7144 #include "confdefs.h" 7139 #include "confdefs.h"
7145 #include <fcntl.h> 7140 #include <fcntl.h>
7146 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 7141 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
7147 EOF 7142 EOF
7148 if { (eval echo configure:7149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7143 if { (eval echo configure:7144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7149 then 7144 then
7150 { test "$extra_verbose" = "yes" && cat << \EOF 7145 { test "$extra_verbose" = "yes" && cat << \EOF
7151 Defining HAVE_MSG_SELECT 7146 Defining HAVE_MSG_SELECT
7152 EOF 7147 EOF
7153 cat >> confdefs.h <<\EOF 7148 cat >> confdefs.h <<\EOF
7204 fi 7199 fi
7205 7200
7206 if test "$with_x11" = "yes"; then 7201 if test "$with_x11" = "yes"; then
7207 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` 7202 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
7208 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 7203 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
7209 echo "configure:7210: checking for X11/extensions/shape.h" >&5 7204 echo "configure:7205: checking for X11/extensions/shape.h" >&5
7210 7205
7211 cat > conftest.$ac_ext <<EOF 7206 cat > conftest.$ac_ext <<EOF
7212 #line 7213 "configure" 7207 #line 7208 "configure"
7213 #include "confdefs.h" 7208 #include "confdefs.h"
7214 #include <X11/extensions/shape.h> 7209 #include <X11/extensions/shape.h>
7215 EOF 7210 EOF
7216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7217 { (eval echo configure:7218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7219 if test -z "$ac_err"; then 7214 if test -z "$ac_err"; then
7220 rm -rf conftest* 7215 rm -rf conftest*
7221 eval "ac_cv_header_$ac_safe=yes" 7216 eval "ac_cv_header_$ac_safe=yes"
7222 else 7217 else
7262 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 7257 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
7263 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 7258 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
7264 esac 7259 esac
7265 7260
7266 echo "checking for WM_COMMAND option" 1>&6 7261 echo "checking for WM_COMMAND option" 1>&6
7267 echo "configure:7268: checking for WM_COMMAND option" >&5; 7262 echo "configure:7263: checking for WM_COMMAND option" >&5;
7268 if test "$with_wmcommand" != "no"; then 7263 if test "$with_wmcommand" != "no"; then
7269 { test "$extra_verbose" = "yes" && cat << \EOF 7264 { test "$extra_verbose" = "yes" && cat << \EOF
7270 Defining HAVE_WMCOMMAND 7265 Defining HAVE_WMCOMMAND
7271 EOF 7266 EOF
7272 cat >> confdefs.h <<\EOF 7267 cat >> confdefs.h <<\EOF
7277 fi 7272 fi
7278 7273
7279 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 7274 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
7280 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 7275 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
7281 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 7276 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
7282 echo "configure:7283: checking for X11/Xauth.h" >&5 7277 echo "configure:7278: checking for X11/Xauth.h" >&5
7283 7278
7284 cat > conftest.$ac_ext <<EOF 7279 cat > conftest.$ac_ext <<EOF
7285 #line 7286 "configure" 7280 #line 7281 "configure"
7286 #include "confdefs.h" 7281 #include "confdefs.h"
7287 #include <X11/Xauth.h> 7282 #include <X11/Xauth.h>
7288 EOF 7283 EOF
7289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7290 { (eval echo configure:7291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7285 { (eval echo configure:7286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7292 if test -z "$ac_err"; then 7287 if test -z "$ac_err"; then
7293 rm -rf conftest* 7288 rm -rf conftest*
7294 eval "ac_cv_header_$ac_safe=yes" 7289 eval "ac_cv_header_$ac_safe=yes"
7295 else 7290 else
7308 with_xauth=no 7303 with_xauth=no
7309 fi 7304 fi
7310 } 7305 }
7311 test -z "$with_xauth" && { 7306 test -z "$with_xauth" && {
7312 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 7307 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
7313 echo "configure:7314: checking for XauGetAuthByAddr in -lXau" >&5 7308 echo "configure:7309: checking for XauGetAuthByAddr in -lXau" >&5
7314 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 7309 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
7315 7310
7316 xe_check_libs=" -lXau " 7311 xe_check_libs=" -lXau "
7317 cat > conftest.$ac_ext <<EOF 7312 cat > conftest.$ac_ext <<EOF
7318 #line 7319 "configure" 7313 #line 7314 "configure"
7319 #include "confdefs.h" 7314 #include "confdefs.h"
7320 /* Override any gcc2 internal prototype to avoid an error. */ 7315 /* Override any gcc2 internal prototype to avoid an error. */
7321 /* We use char because int might match the return type of a gcc2 7316 /* We use char because int might match the return type of a gcc2
7322 builtin and then its argument prototype would still apply. */ 7317 builtin and then its argument prototype would still apply. */
7323 char XauGetAuthByAddr(); 7318 char XauGetAuthByAddr();
7324 7319
7325 int main() { 7320 int main() {
7326 XauGetAuthByAddr() 7321 XauGetAuthByAddr()
7327 ; return 0; } 7322 ; return 0; }
7328 EOF 7323 EOF
7329 if { (eval echo configure:7330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7324 if { (eval echo configure:7325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7330 rm -rf conftest* 7325 rm -rf conftest*
7331 eval "ac_cv_lib_$ac_lib_var=yes" 7326 eval "ac_cv_lib_$ac_lib_var=yes"
7332 else 7327 else
7333 echo "configure: failed program was:" >&5 7328 echo "configure: failed program was:" >&5
7334 cat conftest.$ac_ext >&5 7329 cat conftest.$ac_ext >&5
7369 7364
7370 if test "$with_tooltalk" != "no" ; then 7365 if test "$with_tooltalk" != "no" ; then
7371 for dir in "" "Tt/" "desktop/" ; do 7366 for dir in "" "Tt/" "desktop/" ; do
7372 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 7367 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
7373 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 7368 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
7374 echo "configure:7375: checking for ${dir}tt_c.h" >&5 7369 echo "configure:7370: checking for ${dir}tt_c.h" >&5
7375 7370
7376 cat > conftest.$ac_ext <<EOF 7371 cat > conftest.$ac_ext <<EOF
7377 #line 7378 "configure" 7372 #line 7373 "configure"
7378 #include "confdefs.h" 7373 #include "confdefs.h"
7379 #include <${dir}tt_c.h> 7374 #include <${dir}tt_c.h>
7380 EOF 7375 EOF
7381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7382 { (eval echo configure:7383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7377 { (eval echo configure:7378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7383 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7378 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7384 if test -z "$ac_err"; then 7379 if test -z "$ac_err"; then
7385 rm -rf conftest* 7380 rm -rf conftest*
7386 eval "ac_cv_header_$ac_safe=yes" 7381 eval "ac_cv_header_$ac_safe=yes"
7387 else 7382 else
7413 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 7408 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
7414 7409
7415 xe_msg_checking="for tt_message_create in -ltt" 7410 xe_msg_checking="for tt_message_create in -ltt"
7416 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 7411 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
7417 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7412 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7418 echo "configure:7419: checking "$xe_msg_checking"" >&5 7413 echo "configure:7414: checking "$xe_msg_checking"" >&5
7419 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 7414 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
7420 7415
7421 xe_check_libs=" -ltt $extra_libs" 7416 xe_check_libs=" -ltt $extra_libs"
7422 cat > conftest.$ac_ext <<EOF 7417 cat > conftest.$ac_ext <<EOF
7423 #line 7424 "configure" 7418 #line 7419 "configure"
7424 #include "confdefs.h" 7419 #include "confdefs.h"
7425 /* Override any gcc2 internal prototype to avoid an error. */ 7420 /* Override any gcc2 internal prototype to avoid an error. */
7426 /* We use char because int might match the return type of a gcc2 7421 /* We use char because int might match the return type of a gcc2
7427 builtin and then its argument prototype would still apply. */ 7422 builtin and then its argument prototype would still apply. */
7428 char tt_message_create(); 7423 char tt_message_create();
7429 7424
7430 int main() { 7425 int main() {
7431 tt_message_create() 7426 tt_message_create()
7432 ; return 0; } 7427 ; return 0; }
7433 EOF 7428 EOF
7434 if { (eval echo configure:7435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7429 if { (eval echo configure:7430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7435 rm -rf conftest* 7430 rm -rf conftest*
7436 eval "ac_cv_lib_$ac_lib_var=yes" 7431 eval "ac_cv_lib_$ac_lib_var=yes"
7437 else 7432 else
7438 echo "configure: failed program was:" >&5 7433 echo "configure: failed program was:" >&5
7439 cat conftest.$ac_ext >&5 7434 cat conftest.$ac_ext >&5
7483 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi 7478 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi
7484 fi 7479 fi
7485 7480
7486 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 7481 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
7487 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 7482 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
7488 echo "configure:7489: checking for Dt/Dt.h" >&5 7483 echo "configure:7484: checking for Dt/Dt.h" >&5
7489 7484
7490 cat > conftest.$ac_ext <<EOF 7485 cat > conftest.$ac_ext <<EOF
7491 #line 7492 "configure" 7486 #line 7487 "configure"
7492 #include "confdefs.h" 7487 #include "confdefs.h"
7493 #include <Dt/Dt.h> 7488 #include <Dt/Dt.h>
7494 EOF 7489 EOF
7495 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7496 { (eval echo configure:7497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7491 { (eval echo configure:7492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7497 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7498 if test -z "$ac_err"; then 7493 if test -z "$ac_err"; then
7499 rm -rf conftest* 7494 rm -rf conftest*
7500 eval "ac_cv_header_$ac_safe=yes" 7495 eval "ac_cv_header_$ac_safe=yes"
7501 else 7496 else
7514 with_cde=no 7509 with_cde=no
7515 fi 7510 fi
7516 } 7511 }
7517 test -z "$with_cde" && { 7512 test -z "$with_cde" && {
7518 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 7513 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
7519 echo "configure:7520: checking for DtDndDragStart in -lDtSvc" >&5 7514 echo "configure:7515: checking for DtDndDragStart in -lDtSvc" >&5
7520 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 7515 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
7521 7516
7522 xe_check_libs=" -lDtSvc " 7517 xe_check_libs=" -lDtSvc "
7523 cat > conftest.$ac_ext <<EOF 7518 cat > conftest.$ac_ext <<EOF
7524 #line 7525 "configure" 7519 #line 7520 "configure"
7525 #include "confdefs.h" 7520 #include "confdefs.h"
7526 /* Override any gcc2 internal prototype to avoid an error. */ 7521 /* Override any gcc2 internal prototype to avoid an error. */
7527 /* We use char because int might match the return type of a gcc2 7522 /* We use char because int might match the return type of a gcc2
7528 builtin and then its argument prototype would still apply. */ 7523 builtin and then its argument prototype would still apply. */
7529 char DtDndDragStart(); 7524 char DtDndDragStart();
7530 7525
7531 int main() { 7526 int main() {
7532 DtDndDragStart() 7527 DtDndDragStart()
7533 ; return 0; } 7528 ; return 0; }
7534 EOF 7529 EOF
7535 if { (eval echo configure:7536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7530 if { (eval echo configure:7531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7536 rm -rf conftest* 7531 rm -rf conftest*
7537 eval "ac_cv_lib_$ac_lib_var=yes" 7532 eval "ac_cv_lib_$ac_lib_var=yes"
7538 else 7533 else
7539 echo "configure: failed program was:" >&5 7534 echo "configure: failed program was:" >&5
7540 cat conftest.$ac_ext >&5 7535 cat conftest.$ac_ext >&5
7611 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi 7606 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi
7612 fi 7607 fi
7613 7608
7614 if test "$with_dragndrop" != "no" ; then 7609 if test "$with_dragndrop" != "no" ; then
7615 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 7610 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
7616 echo "configure:7617: checking if drag and drop API is needed" >&5 7611 echo "configure:7612: checking if drag and drop API is needed" >&5
7617 if test -n "$dragndrop_proto" ; then 7612 if test -n "$dragndrop_proto" ; then
7618 with_dragndrop=yes 7613 with_dragndrop=yes
7619 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 7614 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
7620 { test "$extra_verbose" = "yes" && cat << \EOF 7615 { test "$extra_verbose" = "yes" && cat << \EOF
7621 Defining HAVE_DRAGNDROP 7616 Defining HAVE_DRAGNDROP
7631 echo "$ac_t""no" 1>&6 7626 echo "$ac_t""no" 1>&6
7632 fi 7627 fi
7633 fi 7628 fi
7634 7629
7635 echo "checking for LDAP" 1>&6 7630 echo "checking for LDAP" 1>&6
7636 echo "configure:7637: checking for LDAP" >&5 7631 echo "configure:7632: checking for LDAP" >&5
7637 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 7632 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
7638 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 7633 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
7639 echo "configure:7640: checking for ldap.h" >&5 7634 echo "configure:7635: checking for ldap.h" >&5
7640 7635
7641 cat > conftest.$ac_ext <<EOF 7636 cat > conftest.$ac_ext <<EOF
7642 #line 7643 "configure" 7637 #line 7638 "configure"
7643 #include "confdefs.h" 7638 #include "confdefs.h"
7644 #include <ldap.h> 7639 #include <ldap.h>
7645 EOF 7640 EOF
7646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7647 { (eval echo configure:7648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7642 { (eval echo configure:7643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7649 if test -z "$ac_err"; then 7644 if test -z "$ac_err"; then
7650 rm -rf conftest* 7645 rm -rf conftest*
7651 eval "ac_cv_header_$ac_safe=yes" 7646 eval "ac_cv_header_$ac_safe=yes"
7652 else 7647 else
7665 with_ldap=no 7660 with_ldap=no
7666 fi 7661 fi
7667 } 7662 }
7668 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 7663 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
7669 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 7664 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
7670 echo "configure:7671: checking for lber.h" >&5 7665 echo "configure:7666: checking for lber.h" >&5
7671 7666
7672 cat > conftest.$ac_ext <<EOF 7667 cat > conftest.$ac_ext <<EOF
7673 #line 7674 "configure" 7668 #line 7669 "configure"
7674 #include "confdefs.h" 7669 #include "confdefs.h"
7675 #include <lber.h> 7670 #include <lber.h>
7676 EOF 7671 EOF
7677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7678 { (eval echo configure:7679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7673 { (eval echo configure:7674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7680 if test -z "$ac_err"; then 7675 if test -z "$ac_err"; then
7681 rm -rf conftest* 7676 rm -rf conftest*
7682 eval "ac_cv_header_$ac_safe=yes" 7677 eval "ac_cv_header_$ac_safe=yes"
7683 else 7678 else
7697 fi 7692 fi
7698 } 7693 }
7699 if test "$with_ldap" != "no"; then 7694 if test "$with_ldap" != "no"; then
7700 7695
7701 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 7696 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6
7702 echo "configure:7703: checking for ldap_search in -lldap" >&5 7697 echo "configure:7698: checking for ldap_search in -lldap" >&5
7703 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 7698 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
7704 7699
7705 xe_check_libs=" -lldap " 7700 xe_check_libs=" -lldap "
7706 cat > conftest.$ac_ext <<EOF 7701 cat > conftest.$ac_ext <<EOF
7707 #line 7708 "configure" 7702 #line 7703 "configure"
7708 #include "confdefs.h" 7703 #include "confdefs.h"
7709 /* Override any gcc2 internal prototype to avoid an error. */ 7704 /* Override any gcc2 internal prototype to avoid an error. */
7710 /* We use char because int might match the return type of a gcc2 7705 /* We use char because int might match the return type of a gcc2
7711 builtin and then its argument prototype would still apply. */ 7706 builtin and then its argument prototype would still apply. */
7712 char ldap_search(); 7707 char ldap_search();
7713 7708
7714 int main() { 7709 int main() {
7715 ldap_search() 7710 ldap_search()
7716 ; return 0; } 7711 ; return 0; }
7717 EOF 7712 EOF
7718 if { (eval echo configure:7719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7713 if { (eval echo configure:7714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7719 rm -rf conftest* 7714 rm -rf conftest*
7720 eval "ac_cv_lib_$ac_lib_var=yes" 7715 eval "ac_cv_lib_$ac_lib_var=yes"
7721 else 7716 else
7722 echo "configure: failed program was:" >&5 7717 echo "configure: failed program was:" >&5
7723 cat conftest.$ac_ext >&5 7718 cat conftest.$ac_ext >&5
7738 7733
7739 test "$with_ldap_nolber" = "no" && { 7734 test "$with_ldap_nolber" = "no" && {
7740 xe_msg_checking="for ldap_open in -lldap" 7735 xe_msg_checking="for ldap_open in -lldap"
7741 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 7736 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
7742 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7737 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7743 echo "configure:7744: checking "$xe_msg_checking"" >&5 7738 echo "configure:7739: checking "$xe_msg_checking"" >&5
7744 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 7739 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
7745 7740
7746 xe_check_libs=" -lldap -llber" 7741 xe_check_libs=" -lldap -llber"
7747 cat > conftest.$ac_ext <<EOF 7742 cat > conftest.$ac_ext <<EOF
7748 #line 7749 "configure" 7743 #line 7744 "configure"
7749 #include "confdefs.h" 7744 #include "confdefs.h"
7750 /* Override any gcc2 internal prototype to avoid an error. */ 7745 /* Override any gcc2 internal prototype to avoid an error. */
7751 /* We use char because int might match the return type of a gcc2 7746 /* We use char because int might match the return type of a gcc2
7752 builtin and then its argument prototype would still apply. */ 7747 builtin and then its argument prototype would still apply. */
7753 char ldap_open(); 7748 char ldap_open();
7754 7749
7755 int main() { 7750 int main() {
7756 ldap_open() 7751 ldap_open()
7757 ; return 0; } 7752 ; return 0; }
7758 EOF 7753 EOF
7759 if { (eval echo configure:7760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7754 if { (eval echo configure:7755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7760 rm -rf conftest* 7755 rm -rf conftest*
7761 eval "ac_cv_lib_$ac_lib_var=yes" 7756 eval "ac_cv_lib_$ac_lib_var=yes"
7762 else 7757 else
7763 echo "configure: failed program was:" >&5 7758 echo "configure: failed program was:" >&5
7764 cat conftest.$ac_ext >&5 7759 cat conftest.$ac_ext >&5
7779 } 7774 }
7780 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { 7775 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && {
7781 xe_msg_checking="for ldap_open in -lldap" 7776 xe_msg_checking="for ldap_open in -lldap"
7782 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" 7777 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb"
7783 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7778 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7784 echo "configure:7785: checking "$xe_msg_checking"" >&5 7779 echo "configure:7780: checking "$xe_msg_checking"" >&5
7785 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 7780 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
7786 7781
7787 xe_check_libs=" -lldap -llber -lkrb" 7782 xe_check_libs=" -lldap -llber -lkrb"
7788 cat > conftest.$ac_ext <<EOF 7783 cat > conftest.$ac_ext <<EOF
7789 #line 7790 "configure" 7784 #line 7785 "configure"
7790 #include "confdefs.h" 7785 #include "confdefs.h"
7791 /* Override any gcc2 internal prototype to avoid an error. */ 7786 /* Override any gcc2 internal prototype to avoid an error. */
7792 /* We use char because int might match the return type of a gcc2 7787 /* We use char because int might match the return type of a gcc2
7793 builtin and then its argument prototype would still apply. */ 7788 builtin and then its argument prototype would still apply. */
7794 char ldap_open(); 7789 char ldap_open();
7795 7790
7796 int main() { 7791 int main() {
7797 ldap_open() 7792 ldap_open()
7798 ; return 0; } 7793 ; return 0; }
7799 EOF 7794 EOF
7800 if { (eval echo configure:7801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7795 if { (eval echo configure:7796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7801 rm -rf conftest* 7796 rm -rf conftest*
7802 eval "ac_cv_lib_$ac_lib_var=yes" 7797 eval "ac_cv_lib_$ac_lib_var=yes"
7803 else 7798 else
7804 echo "configure: failed program was:" >&5 7799 echo "configure: failed program was:" >&5
7805 cat conftest.$ac_ext >&5 7800 cat conftest.$ac_ext >&5
7820 } 7815 }
7821 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { 7816 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && {
7822 xe_msg_checking="for ldap_open in -lldap" 7817 xe_msg_checking="for ldap_open in -lldap"
7823 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" 7818 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes"
7824 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7819 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7825 echo "configure:7826: checking "$xe_msg_checking"" >&5 7820 echo "configure:7821: checking "$xe_msg_checking"" >&5
7826 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 7821 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
7827 7822
7828 xe_check_libs=" -lldap -llber -lkrb -ldes" 7823 xe_check_libs=" -lldap -llber -lkrb -ldes"
7829 cat > conftest.$ac_ext <<EOF 7824 cat > conftest.$ac_ext <<EOF
7830 #line 7831 "configure" 7825 #line 7826 "configure"
7831 #include "confdefs.h" 7826 #include "confdefs.h"
7832 /* Override any gcc2 internal prototype to avoid an error. */ 7827 /* Override any gcc2 internal prototype to avoid an error. */
7833 /* We use char because int might match the return type of a gcc2 7828 /* We use char because int might match the return type of a gcc2
7834 builtin and then its argument prototype would still apply. */ 7829 builtin and then its argument prototype would still apply. */
7835 char ldap_open(); 7830 char ldap_open();
7836 7831
7837 int main() { 7832 int main() {
7838 ldap_open() 7833 ldap_open()
7839 ; return 0; } 7834 ; return 0; }
7840 EOF 7835 EOF
7841 if { (eval echo configure:7842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7836 if { (eval echo configure:7837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7842 rm -rf conftest* 7837 rm -rf conftest*
7843 eval "ac_cv_lib_$ac_lib_var=yes" 7838 eval "ac_cv_lib_$ac_lib_var=yes"
7844 else 7839 else
7845 echo "configure: failed program was:" >&5 7840 echo "configure: failed program was:" >&5
7846 cat conftest.$ac_ext >&5 7841 cat conftest.$ac_ext >&5
7884 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi 7879 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi
7885 fi 7880 fi
7886 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 7881 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
7887 do 7882 do
7888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7889 echo "configure:7890: checking for $ac_func" >&5 7884 echo "configure:7885: checking for $ac_func" >&5
7890 7885
7891 cat > conftest.$ac_ext <<EOF 7886 cat > conftest.$ac_ext <<EOF
7892 #line 7893 "configure" 7887 #line 7888 "configure"
7893 #include "confdefs.h" 7888 #include "confdefs.h"
7894 /* System header to define __stub macros and hopefully few prototypes, 7889 /* System header to define __stub macros and hopefully few prototypes,
7895 which can conflict with char $ac_func(); below. */ 7890 which can conflict with char $ac_func(); below. */
7896 #include <assert.h> 7891 #include <assert.h>
7897 /* Override any gcc2 internal prototype to avoid an error. */ 7892 /* Override any gcc2 internal prototype to avoid an error. */
7910 $ac_func(); 7905 $ac_func();
7911 #endif 7906 #endif
7912 7907
7913 ; return 0; } 7908 ; return 0; }
7914 EOF 7909 EOF
7915 if { (eval echo configure:7916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7910 if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7916 rm -rf conftest* 7911 rm -rf conftest*
7917 eval "ac_cv_func_$ac_func=yes" 7912 eval "ac_cv_func_$ac_func=yes"
7918 else 7913 else
7919 echo "configure: failed program was:" >&5 7914 echo "configure: failed program was:" >&5
7920 cat conftest.$ac_ext >&5 7915 cat conftest.$ac_ext >&5
7941 7936
7942 fi 7937 fi
7943 7938
7944 if test "$with_postgresql" != "no"; then 7939 if test "$with_postgresql" != "no"; then
7945 echo "checking for PostgreSQL" 1>&6 7940 echo "checking for PostgreSQL" 1>&6
7946 echo "configure:7947: checking for PostgreSQL" >&5 7941 echo "configure:7942: checking for PostgreSQL" >&5
7947 7942
7948 for header_dir in "" "pgsql/" "postgresql/"; do 7943 for header_dir in "" "pgsql/" "postgresql/"; do
7949 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` 7944 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
7950 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 7945 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6
7951 echo "configure:7952: checking for ${header_dir}libpq-fe.h" >&5 7946 echo "configure:7947: checking for ${header_dir}libpq-fe.h" >&5
7952 7947
7953 cat > conftest.$ac_ext <<EOF 7948 cat > conftest.$ac_ext <<EOF
7954 #line 7955 "configure" 7949 #line 7950 "configure"
7955 #include "confdefs.h" 7950 #include "confdefs.h"
7956 #include <${header_dir}libpq-fe.h> 7951 #include <${header_dir}libpq-fe.h>
7957 EOF 7952 EOF
7958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7959 { (eval echo configure:7960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7954 { (eval echo configure:7955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7961 if test -z "$ac_err"; then 7956 if test -z "$ac_err"; then
7962 rm -rf conftest* 7957 rm -rf conftest*
7963 eval "ac_cv_header_$ac_safe=yes" 7958 eval "ac_cv_header_$ac_safe=yes"
7964 else 7959 else
7978 7973
7979 done 7974 done
7980 7975
7981 test -n "$libpq_fe_h_file" && { 7976 test -n "$libpq_fe_h_file" && {
7982 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 7977 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6
7983 echo "configure:7984: checking for PQconnectdb in -lpq" >&5 7978 echo "configure:7979: checking for PQconnectdb in -lpq" >&5
7984 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` 7979 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
7985 7980
7986 xe_check_libs=" -lpq " 7981 xe_check_libs=" -lpq "
7987 cat > conftest.$ac_ext <<EOF 7982 cat > conftest.$ac_ext <<EOF
7988 #line 7989 "configure" 7983 #line 7984 "configure"
7989 #include "confdefs.h" 7984 #include "confdefs.h"
7990 /* Override any gcc2 internal prototype to avoid an error. */ 7985 /* Override any gcc2 internal prototype to avoid an error. */
7991 /* We use char because int might match the return type of a gcc2 7986 /* We use char because int might match the return type of a gcc2
7992 builtin and then its argument prototype would still apply. */ 7987 builtin and then its argument prototype would still apply. */
7993 char PQconnectdb(); 7988 char PQconnectdb();
7994 7989
7995 int main() { 7990 int main() {
7996 PQconnectdb() 7991 PQconnectdb()
7997 ; return 0; } 7992 ; return 0; }
7998 EOF 7993 EOF
7999 if { (eval echo configure:8000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7994 if { (eval echo configure:7995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8000 rm -rf conftest* 7995 rm -rf conftest*
8001 eval "ac_cv_lib_$ac_lib_var=yes" 7996 eval "ac_cv_lib_$ac_lib_var=yes"
8002 else 7997 else
8003 echo "configure: failed program was:" >&5 7998 echo "configure: failed program was:" >&5
8004 cat conftest.$ac_ext >&5 7999 cat conftest.$ac_ext >&5
8027 EOF 8022 EOF
8028 } 8023 }
8029 8024
8030 8025
8031 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 8026 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6
8032 echo "configure:8033: checking for PQconnectStart in -lpq" >&5 8027 echo "configure:8028: checking for PQconnectStart in -lpq" >&5
8033 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` 8028 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
8034 8029
8035 xe_check_libs=" -lpq " 8030 xe_check_libs=" -lpq "
8036 cat > conftest.$ac_ext <<EOF 8031 cat > conftest.$ac_ext <<EOF
8037 #line 8038 "configure" 8032 #line 8033 "configure"
8038 #include "confdefs.h" 8033 #include "confdefs.h"
8039 /* Override any gcc2 internal prototype to avoid an error. */ 8034 /* Override any gcc2 internal prototype to avoid an error. */
8040 /* We use char because int might match the return type of a gcc2 8035 /* We use char because int might match the return type of a gcc2
8041 builtin and then its argument prototype would still apply. */ 8036 builtin and then its argument prototype would still apply. */
8042 char PQconnectStart(); 8037 char PQconnectStart();
8043 8038
8044 int main() { 8039 int main() {
8045 PQconnectStart() 8040 PQconnectStart()
8046 ; return 0; } 8041 ; return 0; }
8047 EOF 8042 EOF
8048 if { (eval echo configure:8049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8043 if { (eval echo configure:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8049 rm -rf conftest* 8044 rm -rf conftest*
8050 eval "ac_cv_lib_$ac_lib_var=yes" 8045 eval "ac_cv_lib_$ac_lib_var=yes"
8051 else 8046 else
8052 echo "configure: failed program was:" >&5 8047 echo "configure: failed program was:" >&5
8053 cat conftest.$ac_ext >&5 8048 cat conftest.$ac_ext >&5
8088 fi 8083 fi
8089 8084
8090 8085
8091 if test "$window_system" != "none"; then 8086 if test "$window_system" != "none"; then
8092 echo "checking for graphics libraries" 1>&6 8087 echo "checking for graphics libraries" 1>&6
8093 echo "configure:8094: checking for graphics libraries" >&5 8088 echo "configure:8089: checking for graphics libraries" >&5
8094 8089
8095 libpath_xpm= 8090 libpath_xpm=
8096 incpath_xpm= 8091 incpath_xpm=
8097 case "$opsys" in 8092 case "$opsys" in
8098 cygwin*) 8093 cygwin*)
8114 xpm_problem="" 8109 xpm_problem=""
8115 if test -z "$with_xpm"; then 8110 if test -z "$with_xpm"; then
8116 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 8111 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
8117 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 8112 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
8118 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 8113 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
8119 echo "configure:8120: checking for Xpm - no older than 3.4f" >&5 8114 echo "configure:8115: checking for Xpm - no older than 3.4f" >&5
8120 xe_check_libs=-lXpm 8115 xe_check_libs=-lXpm
8121 cat > conftest.$ac_ext <<EOF 8116 cat > conftest.$ac_ext <<EOF
8122 #line 8123 "configure" 8117 #line 8118 "configure"
8123 #include "confdefs.h" 8118 #include "confdefs.h"
8124 #define XPM_NUMBERS 8119 #define XPM_NUMBERS
8125 #include <X11/xpm.h> 8120 #include <X11/xpm.h>
8126 int main(int c, char **v) { 8121 int main(int c, char **v) {
8127 return c == 1 ? 0 : 8122 return c == 1 ? 0 :
8128 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 8123 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
8129 XpmIncludeVersion < 30406 ? 2 : 0 ;} 8124 XpmIncludeVersion < 30406 ? 2 : 0 ;}
8130 EOF 8125 EOF
8131 if { (eval echo configure:8132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 8126 if { (eval echo configure:8127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
8132 then 8127 then
8133 ./conftest dummy_arg; xpm_status=$?; 8128 ./conftest dummy_arg; xpm_status=$?;
8134 if test "$xpm_status" = "0"; then 8129 if test "$xpm_status" = "0"; then
8135 with_xpm=yes; 8130 with_xpm=yes;
8136 else 8131 else
8170 8165
8171 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi 8166 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi
8172 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 8167 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
8173 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi 8168 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi
8174 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 8169 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
8175 echo "configure:8176: checking for \"FOR_MSW\" xpm" >&5 8170 echo "configure:8171: checking for \"FOR_MSW\" xpm" >&5
8176 xe_check_libs=-lXpm 8171 xe_check_libs=-lXpm
8177 cat > conftest.$ac_ext <<EOF 8172 cat > conftest.$ac_ext <<EOF
8178 #line 8179 "configure" 8173 #line 8174 "configure"
8179 #include "confdefs.h" 8174 #include "confdefs.h"
8180 8175
8181 int main() { 8176 int main() {
8182 XpmCreatePixmapFromData() 8177 XpmCreatePixmapFromData()
8183 ; return 0; } 8178 ; return 0; }
8184 EOF 8179 EOF
8185 if { (eval echo configure:8186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8180 if { (eval echo configure:8181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8186 rm -rf conftest* 8181 rm -rf conftest*
8187 xpm_for_msw=no 8182 xpm_for_msw=no
8188 else 8183 else
8189 echo "configure: failed program was:" >&5 8184 echo "configure: failed program was:" >&5
8190 cat conftest.$ac_ext >&5 8185 cat conftest.$ac_ext >&5
8206 fi 8201 fi
8207 fi 8202 fi
8208 8203
8209 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 8204 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
8210 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 8205 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
8211 echo "configure:8212: checking for compface.h" >&5 8206 echo "configure:8207: checking for compface.h" >&5
8212 8207
8213 cat > conftest.$ac_ext <<EOF 8208 cat > conftest.$ac_ext <<EOF
8214 #line 8215 "configure" 8209 #line 8210 "configure"
8215 #include "confdefs.h" 8210 #include "confdefs.h"
8216 #include <compface.h> 8211 #include <compface.h>
8217 EOF 8212 EOF
8218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8219 { (eval echo configure:8220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8214 { (eval echo configure:8215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8220 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8221 if test -z "$ac_err"; then 8216 if test -z "$ac_err"; then
8222 rm -rf conftest* 8217 rm -rf conftest*
8223 eval "ac_cv_header_$ac_safe=yes" 8218 eval "ac_cv_header_$ac_safe=yes"
8224 else 8219 else
8237 with_xface=no 8232 with_xface=no
8238 fi 8233 fi
8239 } 8234 }
8240 test -z "$with_xface" && { 8235 test -z "$with_xface" && {
8241 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 8236 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
8242 echo "configure:8243: checking for UnGenFace in -lcompface" >&5 8237 echo "configure:8238: checking for UnGenFace in -lcompface" >&5
8243 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 8238 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
8244 8239
8245 xe_check_libs=" -lcompface " 8240 xe_check_libs=" -lcompface "
8246 cat > conftest.$ac_ext <<EOF 8241 cat > conftest.$ac_ext <<EOF
8247 #line 8248 "configure" 8242 #line 8243 "configure"
8248 #include "confdefs.h" 8243 #include "confdefs.h"
8249 /* Override any gcc2 internal prototype to avoid an error. */ 8244 /* Override any gcc2 internal prototype to avoid an error. */
8250 /* We use char because int might match the return type of a gcc2 8245 /* We use char because int might match the return type of a gcc2
8251 builtin and then its argument prototype would still apply. */ 8246 builtin and then its argument prototype would still apply. */
8252 char UnGenFace(); 8247 char UnGenFace();
8253 8248
8254 int main() { 8249 int main() {
8255 UnGenFace() 8250 UnGenFace()
8256 ; return 0; } 8251 ; return 0; }
8257 EOF 8252 EOF
8258 if { (eval echo configure:8259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8253 if { (eval echo configure:8254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8259 rm -rf conftest* 8254 rm -rf conftest*
8260 eval "ac_cv_lib_$ac_lib_var=yes" 8255 eval "ac_cv_lib_$ac_lib_var=yes"
8261 else 8256 else
8262 echo "configure: failed program was:" >&5 8257 echo "configure: failed program was:" >&5
8263 cat conftest.$ac_ext >&5 8258 cat conftest.$ac_ext >&5
8302 fi 8297 fi
8303 8298
8304 if test "$with_png $with_tiff" != "no no"; then 8299 if test "$with_png $with_tiff" != "no no"; then
8305 8300
8306 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 8301 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
8307 echo "configure:8308: checking for inflate in -lc" >&5 8302 echo "configure:8303: checking for inflate in -lc" >&5
8308 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 8303 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
8309 8304
8310 xe_check_libs=" -lc " 8305 xe_check_libs=" -lc "
8311 cat > conftest.$ac_ext <<EOF 8306 cat > conftest.$ac_ext <<EOF
8312 #line 8313 "configure" 8307 #line 8308 "configure"
8313 #include "confdefs.h" 8308 #include "confdefs.h"
8314 /* Override any gcc2 internal prototype to avoid an error. */ 8309 /* Override any gcc2 internal prototype to avoid an error. */
8315 /* We use char because int might match the return type of a gcc2 8310 /* We use char because int might match the return type of a gcc2
8316 builtin and then its argument prototype would still apply. */ 8311 builtin and then its argument prototype would still apply. */
8317 char inflate(); 8312 char inflate();
8318 8313
8319 int main() { 8314 int main() {
8320 inflate() 8315 inflate()
8321 ; return 0; } 8316 ; return 0; }
8322 EOF 8317 EOF
8323 if { (eval echo configure:8324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8318 if { (eval echo configure:8319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8324 rm -rf conftest* 8319 rm -rf conftest*
8325 eval "ac_cv_lib_$ac_lib_var=yes" 8320 eval "ac_cv_lib_$ac_lib_var=yes"
8326 else 8321 else
8327 echo "configure: failed program was:" >&5 8322 echo "configure: failed program was:" >&5
8328 cat conftest.$ac_ext >&5 8323 cat conftest.$ac_ext >&5
8337 : 8332 :
8338 else 8333 else
8339 echo "$ac_t""no" 1>&6 8334 echo "$ac_t""no" 1>&6
8340 8335
8341 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 8336 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
8342 echo "configure:8343: checking for inflate in -lz" >&5 8337 echo "configure:8338: checking for inflate in -lz" >&5
8343 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 8338 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
8344 8339
8345 xe_check_libs=" -lz " 8340 xe_check_libs=" -lz "
8346 cat > conftest.$ac_ext <<EOF 8341 cat > conftest.$ac_ext <<EOF
8347 #line 8348 "configure" 8342 #line 8343 "configure"
8348 #include "confdefs.h" 8343 #include "confdefs.h"
8349 /* Override any gcc2 internal prototype to avoid an error. */ 8344 /* Override any gcc2 internal prototype to avoid an error. */
8350 /* We use char because int might match the return type of a gcc2 8345 /* We use char because int might match the return type of a gcc2
8351 builtin and then its argument prototype would still apply. */ 8346 builtin and then its argument prototype would still apply. */
8352 char inflate(); 8347 char inflate();
8353 8348
8354 int main() { 8349 int main() {
8355 inflate() 8350 inflate()
8356 ; return 0; } 8351 ; return 0; }
8357 EOF 8352 EOF
8358 if { (eval echo configure:8359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8353 if { (eval echo configure:8354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8359 rm -rf conftest* 8354 rm -rf conftest*
8360 eval "ac_cv_lib_$ac_lib_var=yes" 8355 eval "ac_cv_lib_$ac_lib_var=yes"
8361 else 8356 else
8362 echo "configure: failed program was:" >&5 8357 echo "configure: failed program was:" >&5
8363 cat conftest.$ac_ext >&5 8358 cat conftest.$ac_ext >&5
8372 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 8367 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
8373 else 8368 else
8374 echo "$ac_t""no" 1>&6 8369 echo "$ac_t""no" 1>&6
8375 8370
8376 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 8371 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
8377 echo "configure:8378: checking for inflate in -lgz" >&5 8372 echo "configure:8373: checking for inflate in -lgz" >&5
8378 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 8373 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
8379 8374
8380 xe_check_libs=" -lgz " 8375 xe_check_libs=" -lgz "
8381 cat > conftest.$ac_ext <<EOF 8376 cat > conftest.$ac_ext <<EOF
8382 #line 8383 "configure" 8377 #line 8378 "configure"
8383 #include "confdefs.h" 8378 #include "confdefs.h"
8384 /* Override any gcc2 internal prototype to avoid an error. */ 8379 /* Override any gcc2 internal prototype to avoid an error. */
8385 /* We use char because int might match the return type of a gcc2 8380 /* We use char because int might match the return type of a gcc2
8386 builtin and then its argument prototype would still apply. */ 8381 builtin and then its argument prototype would still apply. */
8387 char inflate(); 8382 char inflate();
8388 8383
8389 int main() { 8384 int main() {
8390 inflate() 8385 inflate()
8391 ; return 0; } 8386 ; return 0; }
8392 EOF 8387 EOF
8393 if { (eval echo configure:8394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8388 if { (eval echo configure:8389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8394 rm -rf conftest* 8389 rm -rf conftest*
8395 eval "ac_cv_lib_$ac_lib_var=yes" 8390 eval "ac_cv_lib_$ac_lib_var=yes"
8396 else 8391 else
8397 echo "configure: failed program was:" >&5 8392 echo "configure: failed program was:" >&5
8398 cat conftest.$ac_ext >&5 8393 cat conftest.$ac_ext >&5
8418 8413
8419 fi 8414 fi
8420 8415
8421 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 8416 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
8422 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 8417 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
8423 echo "configure:8424: checking for jpeglib.h" >&5 8418 echo "configure:8419: checking for jpeglib.h" >&5
8424 8419
8425 cat > conftest.$ac_ext <<EOF 8420 cat > conftest.$ac_ext <<EOF
8426 #line 8427 "configure" 8421 #line 8422 "configure"
8427 #include "confdefs.h" 8422 #include "confdefs.h"
8428 #include <jpeglib.h> 8423 #include <jpeglib.h>
8429 EOF 8424 EOF
8430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8431 { (eval echo configure:8432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8426 { (eval echo configure:8427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8433 if test -z "$ac_err"; then 8428 if test -z "$ac_err"; then
8434 rm -rf conftest* 8429 rm -rf conftest*
8435 eval "ac_cv_header_$ac_safe=yes" 8430 eval "ac_cv_header_$ac_safe=yes"
8436 else 8431 else
8449 with_jpeg=no 8444 with_jpeg=no
8450 fi 8445 fi
8451 } 8446 }
8452 test -z "$with_jpeg" && { 8447 test -z "$with_jpeg" && {
8453 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 8448 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
8454 echo "configure:8455: checking for jpeg_destroy_decompress in -ljpeg" >&5 8449 echo "configure:8450: checking for jpeg_destroy_decompress in -ljpeg" >&5
8455 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 8450 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
8456 8451
8457 xe_check_libs=" -ljpeg " 8452 xe_check_libs=" -ljpeg "
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 /* Override any gcc2 internal prototype to avoid an error. */ 8456 /* Override any gcc2 internal prototype to avoid an error. */
8462 /* We use char because int might match the return type of a gcc2 8457 /* We use char because int might match the return type of a gcc2
8463 builtin and then its argument prototype would still apply. */ 8458 builtin and then its argument prototype would still apply. */
8464 char jpeg_destroy_decompress(); 8459 char jpeg_destroy_decompress();
8465 8460
8466 int main() { 8461 int main() {
8467 jpeg_destroy_decompress() 8462 jpeg_destroy_decompress()
8468 ; return 0; } 8463 ; return 0; }
8469 EOF 8464 EOF
8470 if { (eval echo configure:8471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8465 if { (eval echo configure:8466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8471 rm -rf conftest* 8466 rm -rf conftest*
8472 eval "ac_cv_lib_$ac_lib_var=yes" 8467 eval "ac_cv_lib_$ac_lib_var=yes"
8473 else 8468 else
8474 echo "configure: failed program was:" >&5 8469 echo "configure: failed program was:" >&5
8475 cat conftest.$ac_ext >&5 8470 cat conftest.$ac_ext >&5
8501 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 8496 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
8502 fi 8497 fi
8503 8498
8504 png_problem="" 8499 png_problem=""
8505 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 8500 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
8506 echo "configure:8507: checking for pow" >&5 8501 echo "configure:8502: checking for pow" >&5
8507 8502
8508 cat > conftest.$ac_ext <<EOF 8503 cat > conftest.$ac_ext <<EOF
8509 #line 8510 "configure" 8504 #line 8505 "configure"
8510 #include "confdefs.h" 8505 #include "confdefs.h"
8511 /* System header to define __stub macros and hopefully few prototypes, 8506 /* System header to define __stub macros and hopefully few prototypes,
8512 which can conflict with char pow(); below. */ 8507 which can conflict with char pow(); below. */
8513 #include <assert.h> 8508 #include <assert.h>
8514 /* Override any gcc2 internal prototype to avoid an error. */ 8509 /* Override any gcc2 internal prototype to avoid an error. */
8527 pow(); 8522 pow();
8528 #endif 8523 #endif
8529 8524
8530 ; return 0; } 8525 ; return 0; }
8531 EOF 8526 EOF
8532 if { (eval echo configure:8533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8527 if { (eval echo configure:8528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8533 rm -rf conftest* 8528 rm -rf conftest*
8534 eval "ac_cv_func_pow=yes" 8529 eval "ac_cv_func_pow=yes"
8535 else 8530 else
8536 echo "configure: failed program was:" >&5 8531 echo "configure: failed program was:" >&5
8537 cat conftest.$ac_ext >&5 8532 cat conftest.$ac_ext >&5
8548 with_png=no 8543 with_png=no
8549 fi 8544 fi
8550 } 8545 }
8551 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 8546 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
8552 echo $ac_n "checking for png.h""... $ac_c" 1>&6 8547 echo $ac_n "checking for png.h""... $ac_c" 1>&6
8553 echo "configure:8554: checking for png.h" >&5 8548 echo "configure:8549: checking for png.h" >&5
8554 8549
8555 cat > conftest.$ac_ext <<EOF 8550 cat > conftest.$ac_ext <<EOF
8556 #line 8557 "configure" 8551 #line 8552 "configure"
8557 #include "confdefs.h" 8552 #include "confdefs.h"
8558 #include <png.h> 8553 #include <png.h>
8559 EOF 8554 EOF
8560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8561 { (eval echo configure:8562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8556 { (eval echo configure:8557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8563 if test -z "$ac_err"; then 8558 if test -z "$ac_err"; then
8564 rm -rf conftest* 8559 rm -rf conftest*
8565 eval "ac_cv_header_$ac_safe=yes" 8560 eval "ac_cv_header_$ac_safe=yes"
8566 else 8561 else
8579 with_png=no 8574 with_png=no
8580 fi 8575 fi
8581 } 8576 }
8582 test -z "$with_png" && { 8577 test -z "$with_png" && {
8583 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 8578 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
8584 echo "configure:8585: checking for png_read_image in -lpng" >&5 8579 echo "configure:8580: checking for png_read_image in -lpng" >&5
8585 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 8580 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
8586 8581
8587 xe_check_libs=" -lpng " 8582 xe_check_libs=" -lpng "
8588 cat > conftest.$ac_ext <<EOF 8583 cat > conftest.$ac_ext <<EOF
8589 #line 8590 "configure" 8584 #line 8585 "configure"
8590 #include "confdefs.h" 8585 #include "confdefs.h"
8591 /* Override any gcc2 internal prototype to avoid an error. */ 8586 /* Override any gcc2 internal prototype to avoid an error. */
8592 /* We use char because int might match the return type of a gcc2 8587 /* We use char because int might match the return type of a gcc2
8593 builtin and then its argument prototype would still apply. */ 8588 builtin and then its argument prototype would still apply. */
8594 char png_read_image(); 8589 char png_read_image();
8595 8590
8596 int main() { 8591 int main() {
8597 png_read_image() 8592 png_read_image()
8598 ; return 0; } 8593 ; return 0; }
8599 EOF 8594 EOF
8600 if { (eval echo configure:8601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8595 if { (eval echo configure:8596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8601 rm -rf conftest* 8596 rm -rf conftest*
8602 eval "ac_cv_lib_$ac_lib_var=yes" 8597 eval "ac_cv_lib_$ac_lib_var=yes"
8603 else 8598 else
8604 echo "configure: failed program was:" >&5 8599 echo "configure: failed program was:" >&5
8605 cat conftest.$ac_ext >&5 8600 cat conftest.$ac_ext >&5
8618 fi 8613 fi
8619 8614
8620 } 8615 }
8621 if test -z "$with_png"; then 8616 if test -z "$with_png"; then
8622 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 8617 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
8623 echo "configure:8624: checking for workable png version information" >&5 8618 echo "configure:8619: checking for workable png version information" >&5
8624 xe_check_libs="-lpng -lz" 8619 xe_check_libs="-lpng -lz"
8625 cat > conftest.$ac_ext <<EOF 8620 cat > conftest.$ac_ext <<EOF
8626 #line 8627 "configure" 8621 #line 8622 "configure"
8627 #include "confdefs.h" 8622 #include "confdefs.h"
8628 #include <png.h> 8623 #include <png.h>
8629 int main(int c, char **v) { 8624 int main(int c, char **v) {
8630 if (c == 1) return 0; 8625 if (c == 1) return 0;
8631 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 8626 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
8632 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 8627 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
8633 EOF 8628 EOF
8634 if { (eval echo configure:8635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 8629 if { (eval echo configure:8630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
8635 then 8630 then
8636 ./conftest dummy_arg; png_status=$?; 8631 ./conftest dummy_arg; png_status=$?;
8637 if test "$png_status" = "0"; then 8632 if test "$png_status" = "0"; then
8638 with_png=yes; 8633 with_png=yes;
8639 else 8634 else
8672 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 8667 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
8673 fi 8668 fi
8674 8669
8675 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 8670 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
8676 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 8671 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
8677 echo "configure:8678: checking for tiffio.h" >&5 8672 echo "configure:8673: checking for tiffio.h" >&5
8678 8673
8679 cat > conftest.$ac_ext <<EOF 8674 cat > conftest.$ac_ext <<EOF
8680 #line 8681 "configure" 8675 #line 8676 "configure"
8681 #include "confdefs.h" 8676 #include "confdefs.h"
8682 #include <tiffio.h> 8677 #include <tiffio.h>
8683 EOF 8678 EOF
8684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8685 { (eval echo configure:8686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8680 { (eval echo configure:8681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8687 if test -z "$ac_err"; then 8682 if test -z "$ac_err"; then
8688 rm -rf conftest* 8683 rm -rf conftest*
8689 eval "ac_cv_header_$ac_safe=yes" 8684 eval "ac_cv_header_$ac_safe=yes"
8690 else 8685 else
8703 with_tiff=no 8698 with_tiff=no
8704 fi 8699 fi
8705 } 8700 }
8706 test -z "$with_tiff" && { 8701 test -z "$with_tiff" && {
8707 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 8702 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
8708 echo "configure:8709: checking for TIFFClientOpen in -ltiff" >&5 8703 echo "configure:8704: checking for TIFFClientOpen in -ltiff" >&5
8709 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 8704 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
8710 8705
8711 xe_check_libs=" -ltiff " 8706 xe_check_libs=" -ltiff "
8712 cat > conftest.$ac_ext <<EOF 8707 cat > conftest.$ac_ext <<EOF
8713 #line 8714 "configure" 8708 #line 8709 "configure"
8714 #include "confdefs.h" 8709 #include "confdefs.h"
8715 /* Override any gcc2 internal prototype to avoid an error. */ 8710 /* Override any gcc2 internal prototype to avoid an error. */
8716 /* We use char because int might match the return type of a gcc2 8711 /* We use char because int might match the return type of a gcc2
8717 builtin and then its argument prototype would still apply. */ 8712 builtin and then its argument prototype would still apply. */
8718 char TIFFClientOpen(); 8713 char TIFFClientOpen();
8719 8714
8720 int main() { 8715 int main() {
8721 TIFFClientOpen() 8716 TIFFClientOpen()
8722 ; return 0; } 8717 ; return 0; }
8723 EOF 8718 EOF
8724 if { (eval echo configure:8725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8719 if { (eval echo configure:8720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8725 rm -rf conftest* 8720 rm -rf conftest*
8726 eval "ac_cv_lib_$ac_lib_var=yes" 8721 eval "ac_cv_lib_$ac_lib_var=yes"
8727 else 8722 else
8728 echo "configure: failed program was:" >&5 8723 echo "configure: failed program was:" >&5
8729 cat conftest.$ac_ext >&5 8724 cat conftest.$ac_ext >&5
8758 8753
8759 8754
8760 if test "$with_gtk" = "yes"; then 8755 if test "$with_gtk" = "yes"; then
8761 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 8756 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
8762 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 8757 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
8763 echo "configure:8764: checking for compface.h" >&5 8758 echo "configure:8759: checking for compface.h" >&5
8764 8759
8765 cat > conftest.$ac_ext <<EOF 8760 cat > conftest.$ac_ext <<EOF
8766 #line 8767 "configure" 8761 #line 8762 "configure"
8767 #include "confdefs.h" 8762 #include "confdefs.h"
8768 #include <compface.h> 8763 #include <compface.h>
8769 EOF 8764 EOF
8770 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8765 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8771 { (eval echo configure:8772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8766 { (eval echo configure:8767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8772 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8767 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8773 if test -z "$ac_err"; then 8768 if test -z "$ac_err"; then
8774 rm -rf conftest* 8769 rm -rf conftest*
8775 eval "ac_cv_header_$ac_safe=yes" 8770 eval "ac_cv_header_$ac_safe=yes"
8776 else 8771 else
8789 with_xface=no 8784 with_xface=no
8790 fi 8785 fi
8791 } 8786 }
8792 test -z "$with_xface" && { 8787 test -z "$with_xface" && {
8793 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 8788 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
8794 echo "configure:8795: checking for UnGenFace in -lcompface" >&5 8789 echo "configure:8790: checking for UnGenFace in -lcompface" >&5
8795 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 8790 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
8796 8791
8797 xe_check_libs=" -lcompface " 8792 xe_check_libs=" -lcompface "
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 UnGenFace(); 8799 char UnGenFace();
8805 8800
8806 int main() { 8801 int main() {
8807 UnGenFace() 8802 UnGenFace()
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
8844 8839
8845 8840
8846 8841
8847 if test "$with_x11" = "yes"; then 8842 if test "$with_x11" = "yes"; then
8848 echo "checking for X11 graphics libraries" 1>&6 8843 echo "checking for X11 graphics libraries" 1>&6
8849 echo "configure:8850: checking for X11 graphics libraries" >&5 8844 echo "configure:8845: checking for X11 graphics libraries" >&5
8850 fi 8845 fi
8851 8846
8852 case "$with_widgets" in 8847 case "$with_widgets" in
8853 "yes" | "athena") detect_athena=yes ;; 8848 "yes" | "athena") detect_athena=yes ;;
8854 *) detect_athena=no ;; 8849 *) detect_athena=no ;;
8855 esac 8850 esac
8856 8851
8857 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 8852 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
8858 echo "checking for the Athena widgets" 1>&6 8853 echo "checking for the Athena widgets" 1>&6
8859 echo "configure:8860: checking for the Athena widgets" >&5 8854 echo "configure:8855: checking for the Athena widgets" >&5
8860 8855
8861 case "$with_athena" in 8856 case "$with_athena" in
8862 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 8857 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
8863 "3d") athena_variant=Xaw3d athena_3d=yes ;; 8858 "3d") athena_variant=Xaw3d athena_3d=yes ;;
8864 "next") athena_variant=neXtaw athena_3d=yes ;; 8859 "next") athena_variant=neXtaw athena_3d=yes ;;
8868 esac 8863 esac
8869 8864
8870 if test "$athena_3d" = "no"; then 8865 if test "$athena_3d" = "no"; then
8871 8866
8872 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 8867 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6
8873 echo "configure:8874: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 8868 echo "configure:8869: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
8874 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 8869 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
8875 8870
8876 xe_check_libs=" -l$athena_variant " 8871 xe_check_libs=" -l$athena_variant "
8877 cat > conftest.$ac_ext <<EOF 8872 cat > conftest.$ac_ext <<EOF
8878 #line 8879 "configure" 8873 #line 8874 "configure"
8879 #include "confdefs.h" 8874 #include "confdefs.h"
8880 /* Override any gcc2 internal prototype to avoid an error. */ 8875 /* Override any gcc2 internal prototype to avoid an error. */
8881 /* We use char because int might match the return type of a gcc2 8876 /* We use char because int might match the return type of a gcc2
8882 builtin and then its argument prototype would still apply. */ 8877 builtin and then its argument prototype would still apply. */
8883 char XawScrollbarSetThumb(); 8878 char XawScrollbarSetThumb();
8884 8879
8885 int main() { 8880 int main() {
8886 XawScrollbarSetThumb() 8881 XawScrollbarSetThumb()
8887 ; return 0; } 8882 ; return 0; }
8888 EOF 8883 EOF
8889 if { (eval echo configure:8890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8884 if { (eval echo configure:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8890 rm -rf conftest* 8885 rm -rf conftest*
8891 eval "ac_cv_lib_$ac_lib_var=yes" 8886 eval "ac_cv_lib_$ac_lib_var=yes"
8892 else 8887 else
8893 echo "configure: failed program was:" >&5 8888 echo "configure: failed program was:" >&5
8894 cat conftest.$ac_ext >&5 8889 cat conftest.$ac_ext >&5
8900 8895
8901 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 8896 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
8902 echo "$ac_t""yes" 1>&6 8897 echo "$ac_t""yes" 1>&6
8903 8898
8904 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 8899 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
8905 echo "configure:8906: checking for threeDClassRec in -l$athena_variant" >&5 8900 echo "configure:8901: checking for threeDClassRec in -l$athena_variant" >&5
8906 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 8901 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
8907 8902
8908 xe_check_libs=" -l$athena_variant " 8903 xe_check_libs=" -l$athena_variant "
8909 cat > conftest.$ac_ext <<EOF 8904 cat > conftest.$ac_ext <<EOF
8910 #line 8911 "configure" 8905 #line 8906 "configure"
8911 #include "confdefs.h" 8906 #include "confdefs.h"
8912 /* Override any gcc2 internal prototype to avoid an error. */ 8907 /* Override any gcc2 internal prototype to avoid an error. */
8913 /* We use char because int might match the return type of a gcc2 8908 /* We use char because int might match the return type of a gcc2
8914 builtin and then its argument prototype would still apply. */ 8909 builtin and then its argument prototype would still apply. */
8915 char threeDClassRec(); 8910 char threeDClassRec();
8916 8911
8917 int main() { 8912 int main() {
8918 threeDClassRec() 8913 threeDClassRec()
8919 ; return 0; } 8914 ; return 0; }
8920 EOF 8915 EOF
8921 if { (eval echo configure:8922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8916 if { (eval echo configure:8917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8922 rm -rf conftest* 8917 rm -rf conftest*
8923 eval "ac_cv_lib_$ac_lib_var=yes" 8918 eval "ac_cv_lib_$ac_lib_var=yes"
8924 else 8919 else
8925 echo "configure: failed program was:" >&5 8920 echo "configure: failed program was:" >&5
8926 cat conftest.$ac_ext >&5 8921 cat conftest.$ac_ext >&5
8947 8942
8948 8943
8949 else 8944 else
8950 8945
8951 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 8946 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
8952 echo "configure:8953: checking for threeDClassRec in -l$athena_variant" >&5 8947 echo "configure:8948: checking for threeDClassRec in -l$athena_variant" >&5
8953 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 8948 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
8954 8949
8955 xe_check_libs=" -l$athena_variant " 8950 xe_check_libs=" -l$athena_variant "
8956 cat > conftest.$ac_ext <<EOF 8951 cat > conftest.$ac_ext <<EOF
8957 #line 8958 "configure" 8952 #line 8953 "configure"
8958 #include "confdefs.h" 8953 #include "confdefs.h"
8959 /* Override any gcc2 internal prototype to avoid an error. */ 8954 /* Override any gcc2 internal prototype to avoid an error. */
8960 /* We use char because int might match the return type of a gcc2 8955 /* We use char because int might match the return type of a gcc2
8961 builtin and then its argument prototype would still apply. */ 8956 builtin and then its argument prototype would still apply. */
8962 char threeDClassRec(); 8957 char threeDClassRec();
8963 8958
8964 int main() { 8959 int main() {
8965 threeDClassRec() 8960 threeDClassRec()
8966 ; return 0; } 8961 ; return 0; }
8967 EOF 8962 EOF
8968 if { (eval echo configure:8969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8963 if { (eval echo configure:8964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8969 rm -rf conftest* 8964 rm -rf conftest*
8970 eval "ac_cv_lib_$ac_lib_var=yes" 8965 eval "ac_cv_lib_$ac_lib_var=yes"
8971 else 8966 else
8972 echo "configure: failed program was:" >&5 8967 echo "configure: failed program was:" >&5
8973 cat conftest.$ac_ext >&5 8968 cat conftest.$ac_ext >&5
8981 echo "$ac_t""yes" 1>&6 8976 echo "$ac_t""yes" 1>&6
8982 athena_lib=$athena_variant 8977 athena_lib=$athena_variant
8983 else 8978 else
8984 echo "$ac_t""no" 1>&6 8979 echo "$ac_t""no" 1>&6
8985 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 8980 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6
8986 echo "configure:8987: checking for threeDClassRec in -lXaw" >&5 8981 echo "configure:8982: checking for threeDClassRec in -lXaw" >&5
8987 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 8982 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
8988 8983
8989 xe_check_libs=" -lXaw " 8984 xe_check_libs=" -lXaw "
8990 cat > conftest.$ac_ext <<EOF 8985 cat > conftest.$ac_ext <<EOF
8991 #line 8992 "configure" 8986 #line 8987 "configure"
8992 #include "confdefs.h" 8987 #include "confdefs.h"
8993 /* Override any gcc2 internal prototype to avoid an error. */ 8988 /* Override any gcc2 internal prototype to avoid an error. */
8994 /* We use char because int might match the return type of a gcc2 8989 /* We use char because int might match the return type of a gcc2
8995 builtin and then its argument prototype would still apply. */ 8990 builtin and then its argument prototype would still apply. */
8996 char threeDClassRec(); 8991 char threeDClassRec();
8997 8992
8998 int main() { 8993 int main() {
8999 threeDClassRec() 8994 threeDClassRec()
9000 ; return 0; } 8995 ; return 0; }
9001 EOF 8996 EOF
9002 if { (eval echo configure:9003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8997 if { (eval echo configure:8998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9003 rm -rf conftest* 8998 rm -rf conftest*
9004 eval "ac_cv_lib_$ac_lib_var=yes" 8999 eval "ac_cv_lib_$ac_lib_var=yes"
9005 else 9000 else
9006 echo "configure: failed program was:" >&5 9001 echo "configure: failed program was:" >&5
9007 cat conftest.$ac_ext >&5 9002 cat conftest.$ac_ext >&5
9028 fi 9023 fi
9029 9024
9030 if test "$athena_3d" = "no"; then 9025 if test "$athena_3d" = "no"; then
9031 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 9026 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
9032 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 9027 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
9033 echo "configure:9034: checking for X11/Xaw/ThreeD.h" >&5 9028 echo "configure:9029: checking for X11/Xaw/ThreeD.h" >&5
9034 9029
9035 cat > conftest.$ac_ext <<EOF 9030 cat > conftest.$ac_ext <<EOF
9036 #line 9037 "configure" 9031 #line 9032 "configure"
9037 #include "confdefs.h" 9032 #include "confdefs.h"
9038 #include <X11/Xaw/ThreeD.h> 9033 #include <X11/Xaw/ThreeD.h>
9039 EOF 9034 EOF
9040 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9041 { (eval echo configure:9042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9036 { (eval echo configure:9037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9042 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9037 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9043 if test -z "$ac_err"; then 9038 if test -z "$ac_err"; then
9044 rm -rf conftest* 9039 rm -rf conftest*
9045 eval "ac_cv_header_$ac_safe=yes" 9040 eval "ac_cv_header_$ac_safe=yes"
9046 else 9041 else
9056 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 9051 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2
9057 else 9052 else
9058 echo "$ac_t""no" 1>&6 9053 echo "$ac_t""no" 1>&6
9059 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` 9054 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
9060 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 9055 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
9061 echo "configure:9062: checking for X11/Xaw/XawInit.h" >&5 9056 echo "configure:9057: checking for X11/Xaw/XawInit.h" >&5
9062 9057
9063 cat > conftest.$ac_ext <<EOF 9058 cat > conftest.$ac_ext <<EOF
9064 #line 9065 "configure" 9059 #line 9060 "configure"
9065 #include "confdefs.h" 9060 #include "confdefs.h"
9066 #include <X11/Xaw/XawInit.h> 9061 #include <X11/Xaw/XawInit.h>
9067 EOF 9062 EOF
9068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9069 { (eval echo configure:9070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9064 { (eval echo configure:9065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9070 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9071 if test -z "$ac_err"; then 9066 if test -z "$ac_err"; then
9072 rm -rf conftest* 9067 rm -rf conftest*
9073 eval "ac_cv_header_$ac_safe=yes" 9068 eval "ac_cv_header_$ac_safe=yes"
9074 else 9069 else
9090 fi 9085 fi
9091 9086
9092 else 9087 else
9093 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 9088 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
9094 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 9089 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
9095 echo "configure:9096: checking for X11/$athena_variant/XawInit.h" >&5 9090 echo "configure:9091: checking for X11/$athena_variant/XawInit.h" >&5
9096 9091
9097 cat > conftest.$ac_ext <<EOF 9092 cat > conftest.$ac_ext <<EOF
9098 #line 9099 "configure" 9093 #line 9094 "configure"
9099 #include "confdefs.h" 9094 #include "confdefs.h"
9100 #include <X11/$athena_variant/XawInit.h> 9095 #include <X11/$athena_variant/XawInit.h>
9101 EOF 9096 EOF
9102 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9097 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9103 { (eval echo configure:9104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9098 { (eval echo configure:9099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9104 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9099 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9105 if test -z "$ac_err"; then 9100 if test -z "$ac_err"; then
9106 rm -rf conftest* 9101 rm -rf conftest*
9107 eval "ac_cv_header_$ac_safe=yes" 9102 eval "ac_cv_header_$ac_safe=yes"
9108 else 9103 else
9115 rm -f conftest* 9110 rm -f conftest*
9116 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9111 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9117 echo "$ac_t""yes" 1>&6 9112 echo "$ac_t""yes" 1>&6
9118 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 9113 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
9119 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 9114 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
9120 echo "configure:9121: checking for X11/$athena_variant/ThreeD.h" >&5 9115 echo "configure:9116: checking for X11/$athena_variant/ThreeD.h" >&5
9121 9116
9122 cat > conftest.$ac_ext <<EOF 9117 cat > conftest.$ac_ext <<EOF
9123 #line 9124 "configure" 9118 #line 9119 "configure"
9124 #include "confdefs.h" 9119 #include "confdefs.h"
9125 #include <X11/$athena_variant/ThreeD.h> 9120 #include <X11/$athena_variant/ThreeD.h>
9126 EOF 9121 EOF
9127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9128 { (eval echo configure:9129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9123 { (eval echo configure:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9129 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9130 if test -z "$ac_err"; then 9125 if test -z "$ac_err"; then
9131 rm -rf conftest* 9126 rm -rf conftest*
9132 eval "ac_cv_header_$ac_safe=yes" 9127 eval "ac_cv_header_$ac_safe=yes"
9133 else 9128 else
9151 9146
9152 9147
9153 if test -z "$athena_h_path"; then 9148 if test -z "$athena_h_path"; then
9154 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 9149 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
9155 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 9150 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6
9156 echo "configure:9157: checking for $athena_variant/XawInit.h" >&5 9151 echo "configure:9152: checking for $athena_variant/XawInit.h" >&5
9157 9152
9158 cat > conftest.$ac_ext <<EOF 9153 cat > conftest.$ac_ext <<EOF
9159 #line 9160 "configure" 9154 #line 9155 "configure"
9160 #include "confdefs.h" 9155 #include "confdefs.h"
9161 #include <$athena_variant/XawInit.h> 9156 #include <$athena_variant/XawInit.h>
9162 EOF 9157 EOF
9163 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9164 { (eval echo configure:9165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9159 { (eval echo configure:9160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9165 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9166 if test -z "$ac_err"; then 9161 if test -z "$ac_err"; then
9167 rm -rf conftest* 9162 rm -rf conftest*
9168 eval "ac_cv_header_$ac_safe=yes" 9163 eval "ac_cv_header_$ac_safe=yes"
9169 else 9164 else
9176 rm -f conftest* 9171 rm -f conftest*
9177 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9172 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9178 echo "$ac_t""yes" 1>&6 9173 echo "$ac_t""yes" 1>&6
9179 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 9174 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
9180 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 9175 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
9181 echo "configure:9182: checking for $athena_variant/ThreeD.h" >&5 9176 echo "configure:9177: checking for $athena_variant/ThreeD.h" >&5
9182 9177
9183 cat > conftest.$ac_ext <<EOF 9178 cat > conftest.$ac_ext <<EOF
9184 #line 9185 "configure" 9179 #line 9180 "configure"
9185 #include "confdefs.h" 9180 #include "confdefs.h"
9186 #include <$athena_variant/ThreeD.h> 9181 #include <$athena_variant/ThreeD.h>
9187 EOF 9182 EOF
9188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9189 { (eval echo configure:9190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9184 { (eval echo configure:9185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9190 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9191 if test -z "$ac_err"; then 9186 if test -z "$ac_err"; then
9192 rm -rf conftest* 9187 rm -rf conftest*
9193 eval "ac_cv_header_$ac_safe=yes" 9188 eval "ac_cv_header_$ac_safe=yes"
9194 else 9189 else
9213 fi 9208 fi
9214 9209
9215 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 9210 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
9216 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 9211 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
9217 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 9212 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
9218 echo "configure:9219: checking for X11/Xaw3d/XawInit.h" >&5 9213 echo "configure:9214: checking for X11/Xaw3d/XawInit.h" >&5
9219 9214
9220 cat > conftest.$ac_ext <<EOF 9215 cat > conftest.$ac_ext <<EOF
9221 #line 9222 "configure" 9216 #line 9217 "configure"
9222 #include "confdefs.h" 9217 #include "confdefs.h"
9223 #include <X11/Xaw3d/XawInit.h> 9218 #include <X11/Xaw3d/XawInit.h>
9224 EOF 9219 EOF
9225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9220 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9226 { (eval echo configure:9227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9221 { (eval echo configure:9222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9227 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9222 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9228 if test -z "$ac_err"; then 9223 if test -z "$ac_err"; then
9229 rm -rf conftest* 9224 rm -rf conftest*
9230 eval "ac_cv_header_$ac_safe=yes" 9225 eval "ac_cv_header_$ac_safe=yes"
9231 else 9226 else
9238 rm -f conftest* 9233 rm -f conftest*
9239 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9234 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9240 echo "$ac_t""yes" 1>&6 9235 echo "$ac_t""yes" 1>&6
9241 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 9236 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
9242 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 9237 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
9243 echo "configure:9244: checking for X11/Xaw3d/ThreeD.h" >&5 9238 echo "configure:9239: checking for X11/Xaw3d/ThreeD.h" >&5
9244 9239
9245 cat > conftest.$ac_ext <<EOF 9240 cat > conftest.$ac_ext <<EOF
9246 #line 9247 "configure" 9241 #line 9242 "configure"
9247 #include "confdefs.h" 9242 #include "confdefs.h"
9248 #include <X11/Xaw3d/ThreeD.h> 9243 #include <X11/Xaw3d/ThreeD.h>
9249 EOF 9244 EOF
9250 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9251 { (eval echo configure:9252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9246 { (eval echo configure:9247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9252 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9253 if test -z "$ac_err"; then 9248 if test -z "$ac_err"; then
9254 rm -rf conftest* 9249 rm -rf conftest*
9255 eval "ac_cv_header_$ac_safe=yes" 9250 eval "ac_cv_header_$ac_safe=yes"
9256 else 9251 else
9278 fi 9273 fi
9279 9274
9280 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 9275 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
9281 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 9276 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
9282 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 9277 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6
9283 echo "configure:9284: checking for Xaw3d/XawInit.h" >&5 9278 echo "configure:9279: checking for Xaw3d/XawInit.h" >&5
9284 9279
9285 cat > conftest.$ac_ext <<EOF 9280 cat > conftest.$ac_ext <<EOF
9286 #line 9287 "configure" 9281 #line 9282 "configure"
9287 #include "confdefs.h" 9282 #include "confdefs.h"
9288 #include <Xaw3d/XawInit.h> 9283 #include <Xaw3d/XawInit.h>
9289 EOF 9284 EOF
9290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9291 { (eval echo configure:9292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9286 { (eval echo configure:9287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9287 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9293 if test -z "$ac_err"; then 9288 if test -z "$ac_err"; then
9294 rm -rf conftest* 9289 rm -rf conftest*
9295 eval "ac_cv_header_$ac_safe=yes" 9290 eval "ac_cv_header_$ac_safe=yes"
9296 else 9291 else
9303 rm -f conftest* 9298 rm -f conftest*
9304 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9299 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9305 echo "$ac_t""yes" 1>&6 9300 echo "$ac_t""yes" 1>&6
9306 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 9301 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
9307 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 9302 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6
9308 echo "configure:9309: checking for Xaw3d/ThreeD.h" >&5 9303 echo "configure:9304: checking for Xaw3d/ThreeD.h" >&5
9309 9304
9310 cat > conftest.$ac_ext <<EOF 9305 cat > conftest.$ac_ext <<EOF
9311 #line 9312 "configure" 9306 #line 9307 "configure"
9312 #include "confdefs.h" 9307 #include "confdefs.h"
9313 #include <Xaw3d/ThreeD.h> 9308 #include <Xaw3d/ThreeD.h>
9314 EOF 9309 EOF
9315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9316 { (eval echo configure:9317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9311 { (eval echo configure:9312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9318 if test -z "$ac_err"; then 9313 if test -z "$ac_err"; then
9319 rm -rf conftest* 9314 rm -rf conftest*
9320 eval "ac_cv_header_$ac_safe=yes" 9315 eval "ac_cv_header_$ac_safe=yes"
9321 else 9316 else
9343 fi 9338 fi
9344 9339
9345 if test -z "$athena_h_path"; then 9340 if test -z "$athena_h_path"; then
9346 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 9341 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
9347 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 9342 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
9348 echo "configure:9349: checking for X11/Xaw/ThreeD.h" >&5 9343 echo "configure:9344: checking for X11/Xaw/ThreeD.h" >&5
9349 9344
9350 cat > conftest.$ac_ext <<EOF 9345 cat > conftest.$ac_ext <<EOF
9351 #line 9352 "configure" 9346 #line 9347 "configure"
9352 #include "confdefs.h" 9347 #include "confdefs.h"
9353 #include <X11/Xaw/ThreeD.h> 9348 #include <X11/Xaw/ThreeD.h>
9354 EOF 9349 EOF
9355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9356 { (eval echo configure:9357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9351 { (eval echo configure:9352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9358 if test -z "$ac_err"; then 9353 if test -z "$ac_err"; then
9359 rm -rf conftest* 9354 rm -rf conftest*
9360 eval "ac_cv_header_$ac_safe=yes" 9355 eval "ac_cv_header_$ac_safe=yes"
9361 else 9356 else
9390 have_xaw=no 9385 have_xaw=no
9391 fi 9386 fi
9392 if test "$with_x11" = "yes"; then 9387 if test "$with_x11" = "yes"; then
9393 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 9388 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
9394 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 9389 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
9395 echo "configure:9396: checking for Xm/Xm.h" >&5 9390 echo "configure:9391: checking for Xm/Xm.h" >&5
9396 9391
9397 cat > conftest.$ac_ext <<EOF 9392 cat > conftest.$ac_ext <<EOF
9398 #line 9399 "configure" 9393 #line 9394 "configure"
9399 #include "confdefs.h" 9394 #include "confdefs.h"
9400 #include <Xm/Xm.h> 9395 #include <Xm/Xm.h>
9401 EOF 9396 EOF
9402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9403 { (eval echo configure:9404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9398 { (eval echo configure:9399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9405 if test -z "$ac_err"; then 9400 if test -z "$ac_err"; then
9406 rm -rf conftest* 9401 rm -rf conftest*
9407 eval "ac_cv_header_$ac_safe=yes" 9402 eval "ac_cv_header_$ac_safe=yes"
9408 else 9403 else
9415 rm -f conftest* 9410 rm -f conftest*
9416 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9411 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9417 echo "$ac_t""yes" 1>&6 9412 echo "$ac_t""yes" 1>&6
9418 9413
9419 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 9414 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
9420 echo "configure:9421: checking for XmStringFree in -lXm" >&5 9415 echo "configure:9416: checking for XmStringFree in -lXm" >&5
9421 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 9416 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
9422 9417
9423 xe_check_libs=" -lXm " 9418 xe_check_libs=" -lXm "
9424 cat > conftest.$ac_ext <<EOF 9419 cat > conftest.$ac_ext <<EOF
9425 #line 9426 "configure" 9420 #line 9421 "configure"
9426 #include "confdefs.h" 9421 #include "confdefs.h"
9427 /* Override any gcc2 internal prototype to avoid an error. */ 9422 /* Override any gcc2 internal prototype to avoid an error. */
9428 /* We use char because int might match the return type of a gcc2 9423 /* We use char because int might match the return type of a gcc2
9429 builtin and then its argument prototype would still apply. */ 9424 builtin and then its argument prototype would still apply. */
9430 char XmStringFree(); 9425 char XmStringFree();
9431 9426
9432 int main() { 9427 int main() {
9433 XmStringFree() 9428 XmStringFree()
9434 ; return 0; } 9429 ; return 0; }
9435 EOF 9430 EOF
9436 if { (eval echo configure:9437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9431 if { (eval echo configure:9432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9437 rm -rf conftest* 9432 rm -rf conftest*
9438 eval "ac_cv_lib_$ac_lib_var=yes" 9433 eval "ac_cv_lib_$ac_lib_var=yes"
9439 else 9434 else
9440 echo "configure: failed program was:" >&5 9435 echo "configure: failed program was:" >&5
9441 cat conftest.$ac_ext >&5 9436 cat conftest.$ac_ext >&5
9460 fi 9455 fi
9461 9456
9462 9457
9463 if test "$have_motif" = "yes"; then 9458 if test "$have_motif" = "yes"; then
9464 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 9459 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
9465 echo "configure:9466: checking for Lesstif" >&5 9460 echo "configure:9461: checking for Lesstif" >&5
9466 cat > conftest.$ac_ext <<EOF 9461 cat > conftest.$ac_ext <<EOF
9467 #line 9468 "configure" 9462 #line 9463 "configure"
9468 #include "confdefs.h" 9463 #include "confdefs.h"
9469 #include <Xm/Xm.h> 9464 #include <Xm/Xm.h>
9470 #ifdef LESSTIF_VERSION 9465 #ifdef LESSTIF_VERSION
9471 yes 9466 yes
9472 #endif 9467 #endif
9835 9830
9836 fi 9831 fi
9837 9832
9838 if test "$with_mule" = "yes" ; then 9833 if test "$with_mule" = "yes" ; then
9839 echo "checking for Mule-related features" 1>&6 9834 echo "checking for Mule-related features" 1>&6
9840 echo "configure:9841: checking for Mule-related features" >&5 9835 echo "configure:9836: checking for Mule-related features" >&5
9841 { test "$extra_verbose" = "yes" && cat << \EOF 9836 { test "$extra_verbose" = "yes" && cat << \EOF
9842 Defining MULE 9837 Defining MULE
9843 EOF 9838 EOF
9844 cat >> confdefs.h <<\EOF 9839 cat >> confdefs.h <<\EOF
9845 #define MULE 1 9840 #define MULE 1
9849 9844
9850 for ac_hdr in libintl.h 9845 for ac_hdr in libintl.h
9851 do 9846 do
9852 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 9847 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9853 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 9848 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9854 echo "configure:9855: checking for $ac_hdr" >&5 9849 echo "configure:9850: checking for $ac_hdr" >&5
9855 9850
9856 cat > conftest.$ac_ext <<EOF 9851 cat > conftest.$ac_ext <<EOF
9857 #line 9858 "configure" 9852 #line 9853 "configure"
9858 #include "confdefs.h" 9853 #include "confdefs.h"
9859 #include <$ac_hdr> 9854 #include <$ac_hdr>
9860 EOF 9855 EOF
9861 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9856 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9862 { (eval echo configure:9863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9857 { (eval echo configure:9858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9863 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9858 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9864 if test -z "$ac_err"; then 9859 if test -z "$ac_err"; then
9865 rm -rf conftest* 9860 rm -rf conftest*
9866 eval "ac_cv_header_$ac_safe=yes" 9861 eval "ac_cv_header_$ac_safe=yes"
9867 else 9862 else
9888 fi 9883 fi
9889 done 9884 done
9890 9885
9891 9886
9892 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 9887 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
9893 echo "configure:9894: checking for strerror in -lintl" >&5 9888 echo "configure:9889: checking for strerror in -lintl" >&5
9894 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 9889 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
9895 9890
9896 xe_check_libs=" -lintl " 9891 xe_check_libs=" -lintl "
9897 cat > conftest.$ac_ext <<EOF 9892 cat > conftest.$ac_ext <<EOF
9898 #line 9899 "configure" 9893 #line 9894 "configure"
9899 #include "confdefs.h" 9894 #include "confdefs.h"
9900 /* Override any gcc2 internal prototype to avoid an error. */ 9895 /* Override any gcc2 internal prototype to avoid an error. */
9901 /* We use char because int might match the return type of a gcc2 9896 /* We use char because int might match the return type of a gcc2
9902 builtin and then its argument prototype would still apply. */ 9897 builtin and then its argument prototype would still apply. */
9903 char strerror(); 9898 char strerror();
9904 9899
9905 int main() { 9900 int main() {
9906 strerror() 9901 strerror()
9907 ; return 0; } 9902 ; return 0; }
9908 EOF 9903 EOF
9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9904 if { (eval echo configure:9905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9910 rm -rf conftest* 9905 rm -rf conftest*
9911 eval "ac_cv_lib_$ac_lib_var=yes" 9906 eval "ac_cv_lib_$ac_lib_var=yes"
9912 else 9907 else
9913 echo "configure: failed program was:" >&5 9908 echo "configure: failed program was:" >&5
9914 cat conftest.$ac_ext >&5 9909 cat conftest.$ac_ext >&5
9937 fi 9932 fi
9938 9933
9939 9934
9940 9935
9941 echo "checking for Mule input methods" 1>&6 9936 echo "checking for Mule input methods" 1>&6
9942 echo "configure:9943: checking for Mule input methods" >&5 9937 echo "configure:9938: checking for Mule input methods" >&5
9943 case "$with_xim" in "" | "yes" ) 9938 case "$with_xim" in "" | "yes" )
9944 echo "checking for XIM" 1>&6 9939 echo "checking for XIM" 1>&6
9945 echo "configure:9946: checking for XIM" >&5 9940 echo "configure:9941: checking for XIM" >&5
9946 9941
9947 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 9942 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
9948 echo "configure:9949: checking for XOpenIM in -lX11" >&5 9943 echo "configure:9944: checking for XOpenIM in -lX11" >&5
9949 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 9944 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
9950 9945
9951 xe_check_libs=" -lX11 " 9946 xe_check_libs=" -lX11 "
9952 cat > conftest.$ac_ext <<EOF 9947 cat > conftest.$ac_ext <<EOF
9953 #line 9954 "configure" 9948 #line 9949 "configure"
9954 #include "confdefs.h" 9949 #include "confdefs.h"
9955 /* Override any gcc2 internal prototype to avoid an error. */ 9950 /* Override any gcc2 internal prototype to avoid an error. */
9956 /* We use char because int might match the return type of a gcc2 9951 /* We use char because int might match the return type of a gcc2
9957 builtin and then its argument prototype would still apply. */ 9952 builtin and then its argument prototype would still apply. */
9958 char XOpenIM(); 9953 char XOpenIM();
9959 9954
9960 int main() { 9955 int main() {
9961 XOpenIM() 9956 XOpenIM()
9962 ; return 0; } 9957 ; return 0; }
9963 EOF 9958 EOF
9964 if { (eval echo configure:9965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9959 if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9965 rm -rf conftest* 9960 rm -rf conftest*
9966 eval "ac_cv_lib_$ac_lib_var=yes" 9961 eval "ac_cv_lib_$ac_lib_var=yes"
9967 else 9962 else
9968 echo "configure: failed program was:" >&5 9963 echo "configure: failed program was:" >&5
9969 cat conftest.$ac_ext >&5 9964 cat conftest.$ac_ext >&5
9983 9978
9984 9979
9985 if test "$have_motif $have_lesstif" = "yes no"; then 9980 if test "$have_motif $have_lesstif" = "yes no"; then
9986 9981
9987 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 9982 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
9988 echo "configure:9989: checking for XmImMbLookupString in -lXm" >&5 9983 echo "configure:9984: checking for XmImMbLookupString in -lXm" >&5
9989 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 9984 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
9990 9985
9991 xe_check_libs=" -lXm " 9986 xe_check_libs=" -lXm "
9992 cat > conftest.$ac_ext <<EOF 9987 cat > conftest.$ac_ext <<EOF
9993 #line 9994 "configure" 9988 #line 9989 "configure"
9994 #include "confdefs.h" 9989 #include "confdefs.h"
9995 /* Override any gcc2 internal prototype to avoid an error. */ 9990 /* Override any gcc2 internal prototype to avoid an error. */
9996 /* We use char because int might match the return type of a gcc2 9991 /* We use char because int might match the return type of a gcc2
9997 builtin and then its argument prototype would still apply. */ 9992 builtin and then its argument prototype would still apply. */
9998 char XmImMbLookupString(); 9993 char XmImMbLookupString();
9999 9994
10000 int main() { 9995 int main() {
10001 XmImMbLookupString() 9996 XmImMbLookupString()
10002 ; return 0; } 9997 ; return 0; }
10003 EOF 9998 EOF
10004 if { (eval echo configure:10005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9999 if { (eval echo configure:10000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10005 rm -rf conftest* 10000 rm -rf conftest*
10006 eval "ac_cv_lib_$ac_lib_var=yes" 10001 eval "ac_cv_lib_$ac_lib_var=yes"
10007 else 10002 else
10008 echo "configure: failed program was:" >&5 10003 echo "configure: failed program was:" >&5
10009 cat conftest.$ac_ext >&5 10004 cat conftest.$ac_ext >&5
10064 fi 10059 fi
10065 fi 10060 fi
10066 10061
10067 if test "$with_xfs" = "yes" ; then 10062 if test "$with_xfs" = "yes" ; then
10068 echo "checking for XFontSet" 1>&6 10063 echo "checking for XFontSet" 1>&6
10069 echo "configure:10070: checking for XFontSet" >&5 10064 echo "configure:10065: checking for XFontSet" >&5
10070 10065
10071 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 10066 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
10072 echo "configure:10073: checking for XmbDrawString in -lX11" >&5 10067 echo "configure:10068: checking for XmbDrawString in -lX11" >&5
10073 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 10068 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
10074 10069
10075 xe_check_libs=" -lX11 " 10070 xe_check_libs=" -lX11 "
10076 cat > conftest.$ac_ext <<EOF 10071 cat > conftest.$ac_ext <<EOF
10077 #line 10078 "configure" 10072 #line 10073 "configure"
10078 #include "confdefs.h" 10073 #include "confdefs.h"
10079 /* Override any gcc2 internal prototype to avoid an error. */ 10074 /* Override any gcc2 internal prototype to avoid an error. */
10080 /* We use char because int might match the return type of a gcc2 10075 /* We use char because int might match the return type of a gcc2
10081 builtin and then its argument prototype would still apply. */ 10076 builtin and then its argument prototype would still apply. */
10082 char XmbDrawString(); 10077 char XmbDrawString();
10083 10078
10084 int main() { 10079 int main() {
10085 XmbDrawString() 10080 XmbDrawString()
10086 ; return 0; } 10081 ; return 0; }
10087 EOF 10082 EOF
10088 if { (eval echo configure:10089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10083 if { (eval echo configure:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10089 rm -rf conftest* 10084 rm -rf conftest*
10090 eval "ac_cv_lib_$ac_lib_var=yes" 10085 eval "ac_cv_lib_$ac_lib_var=yes"
10091 else 10086 else
10092 echo "configure: failed program was:" >&5 10087 echo "configure: failed program was:" >&5
10093 cat conftest.$ac_ext >&5 10088 cat conftest.$ac_ext >&5
10123 fi 10118 fi
10124 fi 10119 fi
10125 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 10120 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
10126 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 10121 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
10127 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 10122 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
10128 echo "configure:10129: checking for wnn/jllib.h" >&5 10123 echo "configure:10124: checking for wnn/jllib.h" >&5
10129 10124
10130 cat > conftest.$ac_ext <<EOF 10125 cat > conftest.$ac_ext <<EOF
10131 #line 10132 "configure" 10126 #line 10127 "configure"
10132 #include "confdefs.h" 10127 #include "confdefs.h"
10133 #include <wnn/jllib.h> 10128 #include <wnn/jllib.h>
10134 EOF 10129 EOF
10135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10136 { (eval echo configure:10137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10131 { (eval echo configure:10132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10138 if test -z "$ac_err"; then 10133 if test -z "$ac_err"; then
10139 rm -rf conftest* 10134 rm -rf conftest*
10140 eval "ac_cv_header_$ac_safe=yes" 10135 eval "ac_cv_header_$ac_safe=yes"
10141 else 10136 else
10154 with_wnn=no 10149 with_wnn=no
10155 fi 10150 fi
10156 } 10151 }
10157 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` 10152 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'`
10158 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 10153 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6
10159 echo "configure:10160: checking for wnn/commonhd.h" >&5 10154 echo "configure:10155: checking for wnn/commonhd.h" >&5
10160 10155
10161 cat > conftest.$ac_ext <<EOF 10156 cat > conftest.$ac_ext <<EOF
10162 #line 10163 "configure" 10157 #line 10158 "configure"
10163 #include "confdefs.h" 10158 #include "confdefs.h"
10164 #include <wnn/commonhd.h> 10159 #include <wnn/commonhd.h>
10165 EOF 10160 EOF
10166 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10167 { (eval echo configure:10168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10162 { (eval echo configure:10163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10168 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10169 if test -z "$ac_err"; then 10164 if test -z "$ac_err"; then
10170 rm -rf conftest* 10165 rm -rf conftest*
10171 eval "ac_cv_header_$ac_safe=yes" 10166 eval "ac_cv_header_$ac_safe=yes"
10172 else 10167 else
10187 } 10182 }
10188 if test "$with_wnn" != "no"; then 10183 if test "$with_wnn" != "no"; then
10189 for ac_func in crypt 10184 for ac_func in crypt
10190 do 10185 do
10191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10192 echo "configure:10193: checking for $ac_func" >&5 10187 echo "configure:10188: checking for $ac_func" >&5
10193 10188
10194 cat > conftest.$ac_ext <<EOF 10189 cat > conftest.$ac_ext <<EOF
10195 #line 10196 "configure" 10190 #line 10191 "configure"
10196 #include "confdefs.h" 10191 #include "confdefs.h"
10197 /* System header to define __stub macros and hopefully few prototypes, 10192 /* System header to define __stub macros and hopefully few prototypes,
10198 which can conflict with char $ac_func(); below. */ 10193 which can conflict with char $ac_func(); below. */
10199 #include <assert.h> 10194 #include <assert.h>
10200 /* Override any gcc2 internal prototype to avoid an error. */ 10195 /* Override any gcc2 internal prototype to avoid an error. */
10213 $ac_func(); 10208 $ac_func();
10214 #endif 10209 #endif
10215 10210
10216 ; return 0; } 10211 ; return 0; }
10217 EOF 10212 EOF
10218 if { (eval echo configure:10219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10213 if { (eval echo configure:10214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10219 rm -rf conftest* 10214 rm -rf conftest*
10220 eval "ac_cv_func_$ac_func=yes" 10215 eval "ac_cv_func_$ac_func=yes"
10221 else 10216 else
10222 echo "configure: failed program was:" >&5 10217 echo "configure: failed program was:" >&5
10223 cat conftest.$ac_ext >&5 10218 cat conftest.$ac_ext >&5
10242 fi 10237 fi
10243 done 10238 done
10244 10239
10245 test "$ac_cv_func_crypt" != "yes" && { 10240 test "$ac_cv_func_crypt" != "yes" && {
10246 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 10241 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
10247 echo "configure:10248: checking for crypt in -lcrypt" >&5 10242 echo "configure:10243: checking for crypt in -lcrypt" >&5
10248 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 10243 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
10249 10244
10250 xe_check_libs=" -lcrypt " 10245 xe_check_libs=" -lcrypt "
10251 cat > conftest.$ac_ext <<EOF 10246 cat > conftest.$ac_ext <<EOF
10252 #line 10253 "configure" 10247 #line 10248 "configure"
10253 #include "confdefs.h" 10248 #include "confdefs.h"
10254 /* Override any gcc2 internal prototype to avoid an error. */ 10249 /* Override any gcc2 internal prototype to avoid an error. */
10255 /* We use char because int might match the return type of a gcc2 10250 /* We use char because int might match the return type of a gcc2
10256 builtin and then its argument prototype would still apply. */ 10251 builtin and then its argument prototype would still apply. */
10257 char crypt(); 10252 char crypt();
10258 10253
10259 int main() { 10254 int main() {
10260 crypt() 10255 crypt()
10261 ; return 0; } 10256 ; return 0; }
10262 EOF 10257 EOF
10263 if { (eval echo configure:10264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10258 if { (eval echo configure:10259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10264 rm -rf conftest* 10259 rm -rf conftest*
10265 eval "ac_cv_lib_$ac_lib_var=yes" 10260 eval "ac_cv_lib_$ac_lib_var=yes"
10266 else 10261 else
10267 echo "configure: failed program was:" >&5 10262 echo "configure: failed program was:" >&5
10268 cat conftest.$ac_ext >&5 10263 cat conftest.$ac_ext >&5
10293 } 10288 }
10294 fi 10289 fi
10295 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 10290 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
10296 10291
10297 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 10292 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
10298 echo "configure:10299: checking for jl_dic_list_e in -lwnn" >&5 10293 echo "configure:10294: checking for jl_dic_list_e in -lwnn" >&5
10299 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 10294 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
10300 10295
10301 xe_check_libs=" -lwnn " 10296 xe_check_libs=" -lwnn "
10302 cat > conftest.$ac_ext <<EOF 10297 cat > conftest.$ac_ext <<EOF
10303 #line 10304 "configure" 10298 #line 10299 "configure"
10304 #include "confdefs.h" 10299 #include "confdefs.h"
10305 /* Override any gcc2 internal prototype to avoid an error. */ 10300 /* Override any gcc2 internal prototype to avoid an error. */
10306 /* We use char because int might match the return type of a gcc2 10301 /* We use char because int might match the return type of a gcc2
10307 builtin and then its argument prototype would still apply. */ 10302 builtin and then its argument prototype would still apply. */
10308 char jl_dic_list_e(); 10303 char jl_dic_list_e();
10309 10304
10310 int main() { 10305 int main() {
10311 jl_dic_list_e() 10306 jl_dic_list_e()
10312 ; return 0; } 10307 ; return 0; }
10313 EOF 10308 EOF
10314 if { (eval echo configure:10315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10309 if { (eval echo configure:10310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10315 rm -rf conftest* 10310 rm -rf conftest*
10316 eval "ac_cv_lib_$ac_lib_var=yes" 10311 eval "ac_cv_lib_$ac_lib_var=yes"
10317 else 10312 else
10318 echo "configure: failed program was:" >&5 10313 echo "configure: failed program was:" >&5
10319 cat conftest.$ac_ext >&5 10314 cat conftest.$ac_ext >&5
10327 echo "$ac_t""yes" 1>&6 10322 echo "$ac_t""yes" 1>&6
10328 libwnn=wnn 10323 libwnn=wnn
10329 else 10324 else
10330 echo "$ac_t""no" 1>&6 10325 echo "$ac_t""no" 1>&6
10331 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 10326 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
10332 echo "configure:10333: checking for jl_dic_list_e in -lwnn4" >&5 10327 echo "configure:10328: checking for jl_dic_list_e in -lwnn4" >&5
10333 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 10328 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
10334 10329
10335 xe_check_libs=" -lwnn4 " 10330 xe_check_libs=" -lwnn4 "
10336 cat > conftest.$ac_ext <<EOF 10331 cat > conftest.$ac_ext <<EOF
10337 #line 10338 "configure" 10332 #line 10333 "configure"
10338 #include "confdefs.h" 10333 #include "confdefs.h"
10339 /* Override any gcc2 internal prototype to avoid an error. */ 10334 /* Override any gcc2 internal prototype to avoid an error. */
10340 /* We use char because int might match the return type of a gcc2 10335 /* We use char because int might match the return type of a gcc2
10341 builtin and then its argument prototype would still apply. */ 10336 builtin and then its argument prototype would still apply. */
10342 char jl_dic_list_e(); 10337 char jl_dic_list_e();
10343 10338
10344 int main() { 10339 int main() {
10345 jl_dic_list_e() 10340 jl_dic_list_e()
10346 ; return 0; } 10341 ; return 0; }
10347 EOF 10342 EOF
10348 if { (eval echo configure:10349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10343 if { (eval echo configure:10344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10349 rm -rf conftest* 10344 rm -rf conftest*
10350 eval "ac_cv_lib_$ac_lib_var=yes" 10345 eval "ac_cv_lib_$ac_lib_var=yes"
10351 else 10346 else
10352 echo "configure: failed program was:" >&5 10347 echo "configure: failed program was:" >&5
10353 cat conftest.$ac_ext >&5 10348 cat conftest.$ac_ext >&5
10361 echo "$ac_t""yes" 1>&6 10356 echo "$ac_t""yes" 1>&6
10362 libwnn=wnn4 10357 libwnn=wnn4
10363 else 10358 else
10364 echo "$ac_t""no" 1>&6 10359 echo "$ac_t""no" 1>&6
10365 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 10360 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
10366 echo "configure:10367: checking for jl_dic_list_e in -lwnn6" >&5 10361 echo "configure:10362: checking for jl_dic_list_e in -lwnn6" >&5
10367 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 10362 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
10368 10363
10369 xe_check_libs=" -lwnn6 " 10364 xe_check_libs=" -lwnn6 "
10370 cat > conftest.$ac_ext <<EOF 10365 cat > conftest.$ac_ext <<EOF
10371 #line 10372 "configure" 10366 #line 10367 "configure"
10372 #include "confdefs.h" 10367 #include "confdefs.h"
10373 /* Override any gcc2 internal prototype to avoid an error. */ 10368 /* Override any gcc2 internal prototype to avoid an error. */
10374 /* We use char because int might match the return type of a gcc2 10369 /* We use char because int might match the return type of a gcc2
10375 builtin and then its argument prototype would still apply. */ 10370 builtin and then its argument prototype would still apply. */
10376 char jl_dic_list_e(); 10371 char jl_dic_list_e();
10377 10372
10378 int main() { 10373 int main() {
10379 jl_dic_list_e() 10374 jl_dic_list_e()
10380 ; return 0; } 10375 ; return 0; }
10381 EOF 10376 EOF
10382 if { (eval echo configure:10383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10377 if { (eval echo configure:10378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10383 rm -rf conftest* 10378 rm -rf conftest*
10384 eval "ac_cv_lib_$ac_lib_var=yes" 10379 eval "ac_cv_lib_$ac_lib_var=yes"
10385 else 10380 else
10386 echo "configure: failed program was:" >&5 10381 echo "configure: failed program was:" >&5
10387 cat conftest.$ac_ext >&5 10382 cat conftest.$ac_ext >&5
10395 echo "$ac_t""yes" 1>&6 10390 echo "$ac_t""yes" 1>&6
10396 libwnn=wnn6 10391 libwnn=wnn6
10397 else 10392 else
10398 echo "$ac_t""no" 1>&6 10393 echo "$ac_t""no" 1>&6
10399 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 10394 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
10400 echo "configure:10401: checking for dic_list_e in -lwnn6_fromsrc" >&5 10395 echo "configure:10396: checking for dic_list_e in -lwnn6_fromsrc" >&5
10401 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 10396 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
10402 10397
10403 xe_check_libs=" -lwnn6_fromsrc " 10398 xe_check_libs=" -lwnn6_fromsrc "
10404 cat > conftest.$ac_ext <<EOF 10399 cat > conftest.$ac_ext <<EOF
10405 #line 10406 "configure" 10400 #line 10401 "configure"
10406 #include "confdefs.h" 10401 #include "confdefs.h"
10407 /* Override any gcc2 internal prototype to avoid an error. */ 10402 /* Override any gcc2 internal prototype to avoid an error. */
10408 /* We use char because int might match the return type of a gcc2 10403 /* We use char because int might match the return type of a gcc2
10409 builtin and then its argument prototype would still apply. */ 10404 builtin and then its argument prototype would still apply. */
10410 char dic_list_e(); 10405 char dic_list_e();
10411 10406
10412 int main() { 10407 int main() {
10413 dic_list_e() 10408 dic_list_e()
10414 ; return 0; } 10409 ; return 0; }
10415 EOF 10410 EOF
10416 if { (eval echo configure:10417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10411 if { (eval echo configure:10412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10417 rm -rf conftest* 10412 rm -rf conftest*
10418 eval "ac_cv_lib_$ac_lib_var=yes" 10413 eval "ac_cv_lib_$ac_lib_var=yes"
10419 else 10414 else
10420 echo "configure: failed program was:" >&5 10415 echo "configure: failed program was:" >&5
10421 cat conftest.$ac_ext >&5 10416 cat conftest.$ac_ext >&5
10456 10451
10457 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi 10452 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi
10458 if test "$with_wnn6" != "no"; then 10453 if test "$with_wnn6" != "no"; then
10459 10454
10460 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 10455 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
10461 echo "configure:10462: checking for jl_fi_dic_list in -l$libwnn" >&5 10456 echo "configure:10457: checking for jl_fi_dic_list in -l$libwnn" >&5
10462 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 10457 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
10463 10458
10464 xe_check_libs=" -l$libwnn " 10459 xe_check_libs=" -l$libwnn "
10465 cat > conftest.$ac_ext <<EOF 10460 cat > conftest.$ac_ext <<EOF
10466 #line 10467 "configure" 10461 #line 10462 "configure"
10467 #include "confdefs.h" 10462 #include "confdefs.h"
10468 /* Override any gcc2 internal prototype to avoid an error. */ 10463 /* Override any gcc2 internal prototype to avoid an error. */
10469 /* We use char because int might match the return type of a gcc2 10464 /* We use char because int might match the return type of a gcc2
10470 builtin and then its argument prototype would still apply. */ 10465 builtin and then its argument prototype would still apply. */
10471 char jl_fi_dic_list(); 10466 char jl_fi_dic_list();
10472 10467
10473 int main() { 10468 int main() {
10474 jl_fi_dic_list() 10469 jl_fi_dic_list()
10475 ; return 0; } 10470 ; return 0; }
10476 EOF 10471 EOF
10477 if { (eval echo configure:10478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10472 if { (eval echo configure:10473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10478 rm -rf conftest* 10473 rm -rf conftest*
10479 eval "ac_cv_lib_$ac_lib_var=yes" 10474 eval "ac_cv_lib_$ac_lib_var=yes"
10480 else 10475 else
10481 echo "configure: failed program was:" >&5 10476 echo "configure: failed program was:" >&5
10482 cat conftest.$ac_ext >&5 10477 cat conftest.$ac_ext >&5
10507 10502
10508 canna_includes_found=no 10503 canna_includes_found=no
10509 if test "$with_canna" != "no"; then 10504 if test "$with_canna" != "no"; then
10510 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 10505 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
10511 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 10506 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
10512 echo "configure:10513: checking for canna/jrkanji.h" >&5 10507 echo "configure:10508: checking for canna/jrkanji.h" >&5
10513 10508
10514 cat > conftest.$ac_ext <<EOF 10509 cat > conftest.$ac_ext <<EOF
10515 #line 10516 "configure" 10510 #line 10511 "configure"
10516 #include "confdefs.h" 10511 #include "confdefs.h"
10517 #include <canna/jrkanji.h> 10512 #include <canna/jrkanji.h>
10518 EOF 10513 EOF
10519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10520 { (eval echo configure:10521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10515 { (eval echo configure:10516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10522 if test -z "$ac_err"; then 10517 if test -z "$ac_err"; then
10523 rm -rf conftest* 10518 rm -rf conftest*
10524 eval "ac_cv_header_$ac_safe=yes" 10519 eval "ac_cv_header_$ac_safe=yes"
10525 else 10520 else
10542 -d "/usr/local/canna/include"; then 10537 -d "/usr/local/canna/include"; then
10543 save_c_switch_site="$c_switch_site" 10538 save_c_switch_site="$c_switch_site"
10544 c_switch_site="$c_switch_site -I/usr/local/canna/include" 10539 c_switch_site="$c_switch_site -I/usr/local/canna/include"
10545 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 10540 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
10546 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 10541 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
10547 echo "configure:10548: checking for canna/jrkanji.h" >&5 10542 echo "configure:10543: checking for canna/jrkanji.h" >&5
10548 10543
10549 cat > conftest.$ac_ext <<EOF 10544 cat > conftest.$ac_ext <<EOF
10550 #line 10551 "configure" 10545 #line 10546 "configure"
10551 #include "confdefs.h" 10546 #include "confdefs.h"
10552 #include <canna/jrkanji.h> 10547 #include <canna/jrkanji.h>
10553 EOF 10548 EOF
10554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10555 { (eval echo configure:10556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10550 { (eval echo configure:10551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10557 if test -z "$ac_err"; then 10552 if test -z "$ac_err"; then
10558 rm -rf conftest* 10553 rm -rf conftest*
10559 eval "ac_cv_header_$ac_safe=yes" 10554 eval "ac_cv_header_$ac_safe=yes"
10560 else 10555 else
10578 fi 10573 fi
10579 fi 10574 fi
10580 10575
10581 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 10576 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
10582 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 10577 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
10583 echo "configure:10584: checking for canna/RK.h" >&5 10578 echo "configure:10579: checking for canna/RK.h" >&5
10584 10579
10585 cat > conftest.$ac_ext <<EOF 10580 cat > conftest.$ac_ext <<EOF
10586 #line 10587 "configure" 10581 #line 10582 "configure"
10587 #include "confdefs.h" 10582 #include "confdefs.h"
10588 #include <canna/RK.h> 10583 #include <canna/RK.h>
10589 EOF 10584 EOF
10590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10591 { (eval echo configure:10592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10586 { (eval echo configure:10587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10592 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10593 if test -z "$ac_err"; then 10588 if test -z "$ac_err"; then
10594 rm -rf conftest* 10589 rm -rf conftest*
10595 eval "ac_cv_header_$ac_safe=yes" 10590 eval "ac_cv_header_$ac_safe=yes"
10596 else 10591 else
10609 with_canna=no 10604 with_canna=no
10610 fi 10605 fi
10611 } 10606 }
10612 test -z "$with_canna" && { 10607 test -z "$with_canna" && {
10613 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 10608 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
10614 echo "configure:10615: checking for RkBgnBun in -lRKC" >&5 10609 echo "configure:10610: checking for RkBgnBun in -lRKC" >&5
10615 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 10610 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
10616 10611
10617 xe_check_libs=" -lRKC " 10612 xe_check_libs=" -lRKC "
10618 cat > conftest.$ac_ext <<EOF 10613 cat > conftest.$ac_ext <<EOF
10619 #line 10620 "configure" 10614 #line 10615 "configure"
10620 #include "confdefs.h" 10615 #include "confdefs.h"
10621 /* Override any gcc2 internal prototype to avoid an error. */ 10616 /* Override any gcc2 internal prototype to avoid an error. */
10622 /* We use char because int might match the return type of a gcc2 10617 /* We use char because int might match the return type of a gcc2
10623 builtin and then its argument prototype would still apply. */ 10618 builtin and then its argument prototype would still apply. */
10624 char RkBgnBun(); 10619 char RkBgnBun();
10625 10620
10626 int main() { 10621 int main() {
10627 RkBgnBun() 10622 RkBgnBun()
10628 ; return 0; } 10623 ; return 0; }
10629 EOF 10624 EOF
10630 if { (eval echo configure:10631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10625 if { (eval echo configure:10626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10631 rm -rf conftest* 10626 rm -rf conftest*
10632 eval "ac_cv_lib_$ac_lib_var=yes" 10627 eval "ac_cv_lib_$ac_lib_var=yes"
10633 else 10628 else
10634 echo "configure: failed program was:" >&5 10629 echo "configure: failed program was:" >&5
10635 cat conftest.$ac_ext >&5 10630 cat conftest.$ac_ext >&5
10648 fi 10643 fi
10649 10644
10650 } 10645 }
10651 test -z "$with_canna" && { 10646 test -z "$with_canna" && {
10652 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 10647 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
10653 echo "configure:10654: checking for jrKanjiControl in -lcanna" >&5 10648 echo "configure:10649: checking for jrKanjiControl in -lcanna" >&5
10654 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 10649 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
10655 10650
10656 xe_check_libs=" -lcanna " 10651 xe_check_libs=" -lcanna "
10657 cat > conftest.$ac_ext <<EOF 10652 cat > conftest.$ac_ext <<EOF
10658 #line 10659 "configure" 10653 #line 10654 "configure"
10659 #include "confdefs.h" 10654 #include "confdefs.h"
10660 /* Override any gcc2 internal prototype to avoid an error. */ 10655 /* Override any gcc2 internal prototype to avoid an error. */
10661 /* We use char because int might match the return type of a gcc2 10656 /* We use char because int might match the return type of a gcc2
10662 builtin and then its argument prototype would still apply. */ 10657 builtin and then its argument prototype would still apply. */
10663 char jrKanjiControl(); 10658 char jrKanjiControl();
10664 10659
10665 int main() { 10660 int main() {
10666 jrKanjiControl() 10661 jrKanjiControl()
10667 ; return 0; } 10662 ; return 0; }
10668 EOF 10663 EOF
10669 if { (eval echo configure:10670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10664 if { (eval echo configure:10665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10670 rm -rf conftest* 10665 rm -rf conftest*
10671 eval "ac_cv_lib_$ac_lib_var=yes" 10666 eval "ac_cv_lib_$ac_lib_var=yes"
10672 else 10667 else
10673 echo "configure: failed program was:" >&5 10668 echo "configure: failed program was:" >&5
10674 cat conftest.$ac_ext >&5 10669 cat conftest.$ac_ext >&5
10710 10705
10711 if test "$need_motif" = "yes" ; then 10706 if test "$need_motif" = "yes" ; then
10712 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 10707 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
10713 10708
10714 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 10709 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
10715 echo "configure:10716: checking for layout_object_getvalue in -li18n" >&5 10710 echo "configure:10711: checking for layout_object_getvalue in -li18n" >&5
10716 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 10711 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
10717 10712
10718 xe_check_libs=" -li18n " 10713 xe_check_libs=" -li18n "
10719 cat > conftest.$ac_ext <<EOF 10714 cat > conftest.$ac_ext <<EOF
10720 #line 10721 "configure" 10715 #line 10716 "configure"
10721 #include "confdefs.h" 10716 #include "confdefs.h"
10722 /* Override any gcc2 internal prototype to avoid an error. */ 10717 /* Override any gcc2 internal prototype to avoid an error. */
10723 /* We use char because int might match the return type of a gcc2 10718 /* We use char because int might match the return type of a gcc2
10724 builtin and then its argument prototype would still apply. */ 10719 builtin and then its argument prototype would still apply. */
10725 char layout_object_getvalue(); 10720 char layout_object_getvalue();
10726 10721
10727 int main() { 10722 int main() {
10728 layout_object_getvalue() 10723 layout_object_getvalue()
10729 ; return 0; } 10724 ; return 0; }
10730 EOF 10725 EOF
10731 if { (eval echo configure:10732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10726 if { (eval echo configure:10727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10732 rm -rf conftest* 10727 rm -rf conftest*
10733 eval "ac_cv_lib_$ac_lib_var=yes" 10728 eval "ac_cv_lib_$ac_lib_var=yes"
10734 else 10729 else
10735 echo "configure: failed program was:" >&5 10730 echo "configure: failed program was:" >&5
10736 cat conftest.$ac_ext >&5 10731 cat conftest.$ac_ext >&5
10812 fi 10807 fi
10813 10808
10814 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 symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask 10809 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 symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask
10815 do 10810 do
10816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10817 echo "configure:10818: checking for $ac_func" >&5 10812 echo "configure:10813: checking for $ac_func" >&5
10818 10813
10819 cat > conftest.$ac_ext <<EOF 10814 cat > conftest.$ac_ext <<EOF
10820 #line 10821 "configure" 10815 #line 10816 "configure"
10821 #include "confdefs.h" 10816 #include "confdefs.h"
10822 /* System header to define __stub macros and hopefully few prototypes, 10817 /* System header to define __stub macros and hopefully few prototypes,
10823 which can conflict with char $ac_func(); below. */ 10818 which can conflict with char $ac_func(); below. */
10824 #include <assert.h> 10819 #include <assert.h>
10825 /* Override any gcc2 internal prototype to avoid an error. */ 10820 /* Override any gcc2 internal prototype to avoid an error. */
10838 $ac_func(); 10833 $ac_func();
10839 #endif 10834 #endif
10840 10835
10841 ; return 0; } 10836 ; return 0; }
10842 EOF 10837 EOF
10843 if { (eval echo configure:10844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10838 if { (eval echo configure:10839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10844 rm -rf conftest* 10839 rm -rf conftest*
10845 eval "ac_cv_func_$ac_func=yes" 10840 eval "ac_cv_func_$ac_func=yes"
10846 else 10841 else
10847 echo "configure: failed program was:" >&5 10842 echo "configure: failed program was:" >&5
10848 cat conftest.$ac_ext >&5 10843 cat conftest.$ac_ext >&5
10870 10865
10871 10866
10872 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 10867 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
10873 do 10868 do
10874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10875 echo "configure:10876: checking for $ac_func" >&5 10870 echo "configure:10871: checking for $ac_func" >&5
10876 10871
10877 cat > conftest.$ac_ext <<EOF 10872 cat > conftest.$ac_ext <<EOF
10878 #line 10879 "configure" 10873 #line 10874 "configure"
10879 #include "confdefs.h" 10874 #include "confdefs.h"
10880 /* System header to define __stub macros and hopefully few prototypes, 10875 /* System header to define __stub macros and hopefully few prototypes,
10881 which can conflict with char $ac_func(); below. */ 10876 which can conflict with char $ac_func(); below. */
10882 #include <assert.h> 10877 #include <assert.h>
10883 /* Override any gcc2 internal prototype to avoid an error. */ 10878 /* Override any gcc2 internal prototype to avoid an error. */
10896 $ac_func(); 10891 $ac_func();
10897 #endif 10892 #endif
10898 10893
10899 ; return 0; } 10894 ; return 0; }
10900 EOF 10895 EOF
10901 if { (eval echo configure:10902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10896 if { (eval echo configure:10897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10902 rm -rf conftest* 10897 rm -rf conftest*
10903 eval "ac_cv_func_$ac_func=yes" 10898 eval "ac_cv_func_$ac_func=yes"
10904 else 10899 else
10905 echo "configure: failed program was:" >&5 10900 echo "configure: failed program was:" >&5
10906 cat conftest.$ac_ext >&5 10901 cat conftest.$ac_ext >&5
10925 fi 10920 fi
10926 done 10921 done
10927 10922
10928 10923
10929 echo $ac_n "checking for openpty""... $ac_c" 1>&6 10924 echo $ac_n "checking for openpty""... $ac_c" 1>&6
10930 echo "configure:10931: checking for openpty" >&5 10925 echo "configure:10926: checking for openpty" >&5
10931 10926
10932 cat > conftest.$ac_ext <<EOF 10927 cat > conftest.$ac_ext <<EOF
10933 #line 10934 "configure" 10928 #line 10929 "configure"
10934 #include "confdefs.h" 10929 #include "confdefs.h"
10935 /* System header to define __stub macros and hopefully few prototypes, 10930 /* System header to define __stub macros and hopefully few prototypes,
10936 which can conflict with char openpty(); below. */ 10931 which can conflict with char openpty(); below. */
10937 #include <assert.h> 10932 #include <assert.h>
10938 /* Override any gcc2 internal prototype to avoid an error. */ 10933 /* Override any gcc2 internal prototype to avoid an error. */
10951 openpty(); 10946 openpty();
10952 #endif 10947 #endif
10953 10948
10954 ; return 0; } 10949 ; return 0; }
10955 EOF 10950 EOF
10956 if { (eval echo configure:10957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10951 if { (eval echo configure:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10957 rm -rf conftest* 10952 rm -rf conftest*
10958 eval "ac_cv_func_openpty=yes" 10953 eval "ac_cv_func_openpty=yes"
10959 else 10954 else
10960 echo "configure: failed program was:" >&5 10955 echo "configure: failed program was:" >&5
10961 cat conftest.$ac_ext >&5 10956 cat conftest.$ac_ext >&5
10970 else 10965 else
10971 echo "$ac_t""no" 1>&6 10966 echo "$ac_t""no" 1>&6
10972 10967
10973 10968
10974 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 10969 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
10975 echo "configure:10976: checking for openpty in -lutil" >&5 10970 echo "configure:10971: checking for openpty in -lutil" >&5
10976 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` 10971 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
10977 10972
10978 xe_check_libs=" -lutil " 10973 xe_check_libs=" -lutil "
10979 cat > conftest.$ac_ext <<EOF 10974 cat > conftest.$ac_ext <<EOF
10980 #line 10981 "configure" 10975 #line 10976 "configure"
10981 #include "confdefs.h" 10976 #include "confdefs.h"
10982 /* Override any gcc2 internal prototype to avoid an error. */ 10977 /* Override any gcc2 internal prototype to avoid an error. */
10983 /* We use char because int might match the return type of a gcc2 10978 /* We use char because int might match the return type of a gcc2
10984 builtin and then its argument prototype would still apply. */ 10979 builtin and then its argument prototype would still apply. */
10985 char openpty(); 10980 char openpty();
10986 10981
10987 int main() { 10982 int main() {
10988 openpty() 10983 openpty()
10989 ; return 0; } 10984 ; return 0; }
10990 EOF 10985 EOF
10991 if { (eval echo configure:10992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10986 if { (eval echo configure:10987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10992 rm -rf conftest* 10987 rm -rf conftest*
10993 eval "ac_cv_lib_$ac_lib_var=yes" 10988 eval "ac_cv_lib_$ac_lib_var=yes"
10994 else 10989 else
10995 echo "configure: failed program was:" >&5 10990 echo "configure: failed program was:" >&5
10996 cat conftest.$ac_ext >&5 10991 cat conftest.$ac_ext >&5
11021 11016
11022 for ac_hdr in libutil.h util.h 11017 for ac_hdr in libutil.h util.h
11023 do 11018 do
11024 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11019 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11025 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11020 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11026 echo "configure:11027: checking for $ac_hdr" >&5 11021 echo "configure:11022: checking for $ac_hdr" >&5
11027 11022
11028 cat > conftest.$ac_ext <<EOF 11023 cat > conftest.$ac_ext <<EOF
11029 #line 11030 "configure" 11024 #line 11025 "configure"
11030 #include "confdefs.h" 11025 #include "confdefs.h"
11031 #include <$ac_hdr> 11026 #include <$ac_hdr>
11032 EOF 11027 EOF
11033 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11034 { (eval echo configure:11035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11029 { (eval echo configure:11030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11036 if test -z "$ac_err"; then 11031 if test -z "$ac_err"; then
11037 rm -rf conftest* 11032 rm -rf conftest*
11038 eval "ac_cv_header_$ac_safe=yes" 11033 eval "ac_cv_header_$ac_safe=yes"
11039 else 11034 else
11066 case "$opsys" in 11061 case "$opsys" in
11067 hpux*) for ac_hdr in sys/ptyio.h 11062 hpux*) for ac_hdr in sys/ptyio.h
11068 do 11063 do
11069 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11064 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11070 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11065 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11071 echo "configure:11072: checking for $ac_hdr" >&5 11066 echo "configure:11067: checking for $ac_hdr" >&5
11072 11067
11073 cat > conftest.$ac_ext <<EOF 11068 cat > conftest.$ac_ext <<EOF
11074 #line 11075 "configure" 11069 #line 11070 "configure"
11075 #include "confdefs.h" 11070 #include "confdefs.h"
11076 #include <$ac_hdr> 11071 #include <$ac_hdr>
11077 EOF 11072 EOF
11078 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11079 { (eval echo configure:11080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11074 { (eval echo configure:11075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11081 if test -z "$ac_err"; then 11076 if test -z "$ac_err"; then
11082 rm -rf conftest* 11077 rm -rf conftest*
11083 eval "ac_cv_header_$ac_safe=yes" 11078 eval "ac_cv_header_$ac_safe=yes"
11084 else 11079 else
11107 ;; 11102 ;;
11108 *) for ac_hdr in pty.h 11103 *) for ac_hdr in pty.h
11109 do 11104 do
11110 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11105 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11111 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11106 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11112 echo "configure:11113: checking for $ac_hdr" >&5 11107 echo "configure:11108: checking for $ac_hdr" >&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 <$ac_hdr> 11112 #include <$ac_hdr>
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
11148 11143
11149 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h 11144 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h
11150 do 11145 do
11151 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11146 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11152 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11147 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11153 echo "configure:11154: checking for $ac_hdr" >&5 11148 echo "configure:11149: checking for $ac_hdr" >&5
11154 11149
11155 cat > conftest.$ac_ext <<EOF 11150 cat > conftest.$ac_ext <<EOF
11156 #line 11157 "configure" 11151 #line 11152 "configure"
11157 #include "confdefs.h" 11152 #include "confdefs.h"
11158 #include <$ac_hdr> 11153 #include <$ac_hdr>
11159 EOF 11154 EOF
11160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11161 { (eval echo configure:11162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11156 { (eval echo configure:11157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11163 if test -z "$ac_err"; then 11158 if test -z "$ac_err"; then
11164 rm -rf conftest* 11159 rm -rf conftest*
11165 eval "ac_cv_header_$ac_safe=yes" 11160 eval "ac_cv_header_$ac_safe=yes"
11166 else 11161 else
11192 11187
11193 for ac_hdr in stropts.h 11188 for ac_hdr in stropts.h
11194 do 11189 do
11195 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11190 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11196 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11197 echo "configure:11198: checking for $ac_hdr" >&5 11192 echo "configure:11193: checking for $ac_hdr" >&5
11198 11193
11199 cat > conftest.$ac_ext <<EOF 11194 cat > conftest.$ac_ext <<EOF
11200 #line 11201 "configure" 11195 #line 11196 "configure"
11201 #include "confdefs.h" 11196 #include "confdefs.h"
11202 #include <$ac_hdr> 11197 #include <$ac_hdr>
11203 EOF 11198 EOF
11204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11205 { (eval echo configure:11206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11200 { (eval echo configure:11201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11207 if test -z "$ac_err"; then 11202 if test -z "$ac_err"; then
11208 rm -rf conftest* 11203 rm -rf conftest*
11209 eval "ac_cv_header_$ac_safe=yes" 11204 eval "ac_cv_header_$ac_safe=yes"
11210 else 11205 else
11233 11228
11234 if test "$ac_cv_header_stropts_h" = "yes"; then 11229 if test "$ac_cv_header_stropts_h" = "yes"; then
11235 for ac_func in isastream 11230 for ac_func in isastream
11236 do 11231 do
11237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11238 echo "configure:11239: checking for $ac_func" >&5 11233 echo "configure:11234: checking for $ac_func" >&5
11239 11234
11240 cat > conftest.$ac_ext <<EOF 11235 cat > conftest.$ac_ext <<EOF
11241 #line 11242 "configure" 11236 #line 11237 "configure"
11242 #include "confdefs.h" 11237 #include "confdefs.h"
11243 /* System header to define __stub macros and hopefully few prototypes, 11238 /* System header to define __stub macros and hopefully few prototypes,
11244 which can conflict with char $ac_func(); below. */ 11239 which can conflict with char $ac_func(); below. */
11245 #include <assert.h> 11240 #include <assert.h>
11246 /* Override any gcc2 internal prototype to avoid an error. */ 11241 /* Override any gcc2 internal prototype to avoid an error. */
11259 $ac_func(); 11254 $ac_func();
11260 #endif 11255 #endif
11261 11256
11262 ; return 0; } 11257 ; return 0; }
11263 EOF 11258 EOF
11264 if { (eval echo configure:11265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11259 if { (eval echo configure:11260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11265 rm -rf conftest* 11260 rm -rf conftest*
11266 eval "ac_cv_func_$ac_func=yes" 11261 eval "ac_cv_func_$ac_func=yes"
11267 else 11262 else
11268 echo "configure: failed program was:" >&5 11263 echo "configure: failed program was:" >&5
11269 cat conftest.$ac_ext >&5 11264 cat conftest.$ac_ext >&5
11290 11285
11291 for ac_hdr in strtio.h 11286 for ac_hdr in strtio.h
11292 do 11287 do
11293 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11294 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11295 echo "configure:11296: checking for $ac_hdr" >&5 11290 echo "configure:11291: checking for $ac_hdr" >&5
11296 11291
11297 cat > conftest.$ac_ext <<EOF 11292 cat > conftest.$ac_ext <<EOF
11298 #line 11299 "configure" 11293 #line 11294 "configure"
11299 #include "confdefs.h" 11294 #include "confdefs.h"
11300 #include <$ac_hdr> 11295 #include <$ac_hdr>
11301 EOF 11296 EOF
11302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11303 { (eval echo configure:11304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11298 { (eval echo configure:11299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11305 if test -z "$ac_err"; then 11300 if test -z "$ac_err"; then
11306 rm -rf conftest* 11301 rm -rf conftest*
11307 eval "ac_cv_header_$ac_safe=yes" 11302 eval "ac_cv_header_$ac_safe=yes"
11308 else 11303 else
11331 fi 11326 fi
11332 11327
11333 for ac_func in getloadavg 11328 for ac_func in getloadavg
11334 do 11329 do
11335 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11336 echo "configure:11337: checking for $ac_func" >&5 11331 echo "configure:11332: checking for $ac_func" >&5
11337 11332
11338 cat > conftest.$ac_ext <<EOF 11333 cat > conftest.$ac_ext <<EOF
11339 #line 11340 "configure" 11334 #line 11335 "configure"
11340 #include "confdefs.h" 11335 #include "confdefs.h"
11341 /* System header to define __stub macros and hopefully few prototypes, 11336 /* System header to define __stub macros and hopefully few prototypes,
11342 which can conflict with char $ac_func(); below. */ 11337 which can conflict with char $ac_func(); below. */
11343 #include <assert.h> 11338 #include <assert.h>
11344 /* Override any gcc2 internal prototype to avoid an error. */ 11339 /* Override any gcc2 internal prototype to avoid an error. */
11357 $ac_func(); 11352 $ac_func();
11358 #endif 11353 #endif
11359 11354
11360 ; return 0; } 11355 ; return 0; }
11361 EOF 11356 EOF
11362 if { (eval echo configure:11363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11357 if { (eval echo configure:11358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11363 rm -rf conftest* 11358 rm -rf conftest*
11364 eval "ac_cv_func_$ac_func=yes" 11359 eval "ac_cv_func_$ac_func=yes"
11365 else 11360 else
11366 echo "configure: failed program was:" >&5 11361 echo "configure: failed program was:" >&5
11367 cat conftest.$ac_ext >&5 11362 cat conftest.$ac_ext >&5
11390 if test "$ac_cv_func_getloadavg" = "yes"; then 11385 if test "$ac_cv_func_getloadavg" = "yes"; then
11391 for ac_hdr in sys/loadavg.h 11386 for ac_hdr in sys/loadavg.h
11392 do 11387 do
11393 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11388 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11394 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11389 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11395 echo "configure:11396: checking for $ac_hdr" >&5 11390 echo "configure:11391: checking for $ac_hdr" >&5
11396 11391
11397 cat > conftest.$ac_ext <<EOF 11392 cat > conftest.$ac_ext <<EOF
11398 #line 11399 "configure" 11393 #line 11394 "configure"
11399 #include "confdefs.h" 11394 #include "confdefs.h"
11400 #include <$ac_hdr> 11395 #include <$ac_hdr>
11401 EOF 11396 EOF
11402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11403 { (eval echo configure:11404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11398 { (eval echo configure:11399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11405 if test -z "$ac_err"; then 11400 if test -z "$ac_err"; then
11406 rm -rf conftest* 11401 rm -rf conftest*
11407 eval "ac_cv_header_$ac_safe=yes" 11402 eval "ac_cv_header_$ac_safe=yes"
11408 else 11403 else
11434 echo " xemacs will be linked with \"getloadavg.o\"" 11429 echo " xemacs will be linked with \"getloadavg.o\""
11435 fi 11430 fi
11436 11431
11437 11432
11438 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 11433 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
11439 echo "configure:11440: checking for kstat_open in -lkstat" >&5 11434 echo "configure:11435: checking for kstat_open in -lkstat" >&5
11440 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 11435 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
11441 11436
11442 xe_check_libs=" -lkstat " 11437 xe_check_libs=" -lkstat "
11443 cat > conftest.$ac_ext <<EOF 11438 cat > conftest.$ac_ext <<EOF
11444 #line 11445 "configure" 11439 #line 11440 "configure"
11445 #include "confdefs.h" 11440 #include "confdefs.h"
11446 /* Override any gcc2 internal prototype to avoid an error. */ 11441 /* Override any gcc2 internal prototype to avoid an error. */
11447 /* We use char because int might match the return type of a gcc2 11442 /* We use char because int might match the return type of a gcc2
11448 builtin and then its argument prototype would still apply. */ 11443 builtin and then its argument prototype would still apply. */
11449 char kstat_open(); 11444 char kstat_open();
11450 11445
11451 int main() { 11446 int main() {
11452 kstat_open() 11447 kstat_open()
11453 ; return 0; } 11448 ; return 0; }
11454 EOF 11449 EOF
11455 if { (eval echo configure:11456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11450 if { (eval echo configure:11451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11456 rm -rf conftest* 11451 rm -rf conftest*
11457 eval "ac_cv_lib_$ac_lib_var=yes" 11452 eval "ac_cv_lib_$ac_lib_var=yes"
11458 else 11453 else
11459 echo "configure: failed program was:" >&5 11454 echo "configure: failed program was:" >&5
11460 cat conftest.$ac_ext >&5 11455 cat conftest.$ac_ext >&5
11485 11480
11486 for ac_hdr in kstat.h 11481 for ac_hdr in kstat.h
11487 do 11482 do
11488 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11483 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11489 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11490 echo "configure:11491: checking for $ac_hdr" >&5 11485 echo "configure:11486: checking for $ac_hdr" >&5
11491 11486
11492 cat > conftest.$ac_ext <<EOF 11487 cat > conftest.$ac_ext <<EOF
11493 #line 11494 "configure" 11488 #line 11489 "configure"
11494 #include "confdefs.h" 11489 #include "confdefs.h"
11495 #include <$ac_hdr> 11490 #include <$ac_hdr>
11496 EOF 11491 EOF
11497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11498 { (eval echo configure:11499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11493 { (eval echo configure:11494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11500 if test -z "$ac_err"; then 11495 if test -z "$ac_err"; then
11501 rm -rf conftest* 11496 rm -rf conftest*
11502 eval "ac_cv_header_$ac_safe=yes" 11497 eval "ac_cv_header_$ac_safe=yes"
11503 else 11498 else
11525 done 11520 done
11526 11521
11527 11522
11528 11523
11529 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 11524 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
11530 echo "configure:11531: checking for kvm_read in -lkvm" >&5 11525 echo "configure:11526: checking for kvm_read in -lkvm" >&5
11531 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 11526 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
11532 11527
11533 xe_check_libs=" -lkvm " 11528 xe_check_libs=" -lkvm "
11534 cat > conftest.$ac_ext <<EOF 11529 cat > conftest.$ac_ext <<EOF
11535 #line 11536 "configure" 11530 #line 11531 "configure"
11536 #include "confdefs.h" 11531 #include "confdefs.h"
11537 /* Override any gcc2 internal prototype to avoid an error. */ 11532 /* Override any gcc2 internal prototype to avoid an error. */
11538 /* We use char because int might match the return type of a gcc2 11533 /* We use char because int might match the return type of a gcc2
11539 builtin and then its argument prototype would still apply. */ 11534 builtin and then its argument prototype would still apply. */
11540 char kvm_read(); 11535 char kvm_read();
11541 11536
11542 int main() { 11537 int main() {
11543 kvm_read() 11538 kvm_read()
11544 ; return 0; } 11539 ; return 0; }
11545 EOF 11540 EOF
11546 if { (eval echo configure:11547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11541 if { (eval echo configure:11542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11547 rm -rf conftest* 11542 rm -rf conftest*
11548 eval "ac_cv_lib_$ac_lib_var=yes" 11543 eval "ac_cv_lib_$ac_lib_var=yes"
11549 else 11544 else
11550 echo "configure: failed program was:" >&5 11545 echo "configure: failed program was:" >&5
11551 cat conftest.$ac_ext >&5 11546 cat conftest.$ac_ext >&5
11575 11570
11576 11571
11577 fi 11572 fi
11578 11573
11579 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 11574 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
11580 echo "configure:11581: checking whether netdb declares h_errno" >&5 11575 echo "configure:11576: checking whether netdb declares h_errno" >&5
11581 cat > conftest.$ac_ext <<EOF 11576 cat > conftest.$ac_ext <<EOF
11582 #line 11583 "configure" 11577 #line 11578 "configure"
11583 #include "confdefs.h" 11578 #include "confdefs.h"
11584 #include <netdb.h> 11579 #include <netdb.h>
11585 int main() { 11580 int main() {
11586 return h_errno; 11581 return h_errno;
11587 ; return 0; } 11582 ; return 0; }
11588 EOF 11583 EOF
11589 if { (eval echo configure:11590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11584 if { (eval echo configure:11585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11590 rm -rf conftest* 11585 rm -rf conftest*
11591 echo "$ac_t""yes" 1>&6 11586 echo "$ac_t""yes" 1>&6
11592 { test "$extra_verbose" = "yes" && cat << \EOF 11587 { test "$extra_verbose" = "yes" && cat << \EOF
11593 Defining HAVE_H_ERRNO 11588 Defining HAVE_H_ERRNO
11594 EOF 11589 EOF
11604 echo "$ac_t""no" 1>&6 11599 echo "$ac_t""no" 1>&6
11605 fi 11600 fi
11606 rm -f conftest* 11601 rm -f conftest*
11607 11602
11608 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 11603 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
11609 echo "configure:11610: checking for sigsetjmp" >&5 11604 echo "configure:11605: checking for sigsetjmp" >&5
11610 cat > conftest.$ac_ext <<EOF 11605 cat > conftest.$ac_ext <<EOF
11611 #line 11612 "configure" 11606 #line 11607 "configure"
11612 #include "confdefs.h" 11607 #include "confdefs.h"
11613 #include <setjmp.h> 11608 #include <setjmp.h>
11614 int main() { 11609 int main() {
11615 sigjmp_buf bar; sigsetjmp (bar, 0); 11610 sigjmp_buf bar; sigsetjmp (bar, 0);
11616 ; return 0; } 11611 ; return 0; }
11617 EOF 11612 EOF
11618 if { (eval echo configure:11619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 11613 if { (eval echo configure:11614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11619 rm -rf conftest* 11614 rm -rf conftest*
11620 echo "$ac_t""yes" 1>&6 11615 echo "$ac_t""yes" 1>&6
11621 { test "$extra_verbose" = "yes" && cat << \EOF 11616 { test "$extra_verbose" = "yes" && cat << \EOF
11622 Defining HAVE_SIGSETJMP 11617 Defining HAVE_SIGSETJMP
11623 EOF 11618 EOF
11633 echo "$ac_t""no" 1>&6 11628 echo "$ac_t""no" 1>&6
11634 fi 11629 fi
11635 rm -f conftest* 11630 rm -f conftest*
11636 11631
11637 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 11632 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
11638 echo "configure:11639: checking whether localtime caches TZ" >&5 11633 echo "configure:11634: checking whether localtime caches TZ" >&5
11639 11634
11640 if test "$ac_cv_func_tzset" = "yes"; then 11635 if test "$ac_cv_func_tzset" = "yes"; then
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 #include <time.h> 11639 #include <time.h>
11645 #if STDC_HEADERS 11640 #if STDC_HEADERS
11646 # include <stdlib.h> 11641 # include <stdlib.h>
11647 #endif 11642 #endif
11672 if (localtime (&now)->tm_hour != hour_unset) 11667 if (localtime (&now)->tm_hour != hour_unset)
11673 exit (1); 11668 exit (1);
11674 exit (0); 11669 exit (0);
11675 } 11670 }
11676 EOF 11671 EOF
11677 if { (eval echo configure:11678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 11672 if { (eval echo configure:11673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
11678 then 11673 then
11679 emacs_cv_localtime_cache=no 11674 emacs_cv_localtime_cache=no
11680 else 11675 else
11681 conftest_rc="$?" 11676 conftest_rc="$?"
11682 echo "configure: failed program was:" >&5 11677 echo "configure: failed program was:" >&5
11702 11697
11703 fi 11698 fi
11704 11699
11705 if test "$HAVE_TIMEVAL" = "yes"; then 11700 if test "$HAVE_TIMEVAL" = "yes"; then
11706 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 11701 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
11707 echo "configure:11708: checking whether gettimeofday accepts one or two arguments" >&5 11702 echo "configure:11703: checking whether gettimeofday accepts one or two arguments" >&5
11708 cat > conftest.$ac_ext <<EOF 11703 cat > conftest.$ac_ext <<EOF
11709 #line 11710 "configure" 11704 #line 11705 "configure"
11710 #include "confdefs.h" 11705 #include "confdefs.h"
11711 11706
11712 #ifdef TIME_WITH_SYS_TIME 11707 #ifdef TIME_WITH_SYS_TIME
11713 #include <sys/time.h> 11708 #include <sys/time.h>
11714 #include <time.h> 11709 #include <time.h>
11725 struct timeval time; 11720 struct timeval time;
11726 gettimeofday (&time, 0); 11721 gettimeofday (&time, 0);
11727 11722
11728 ; return 0; } 11723 ; return 0; }
11729 EOF 11724 EOF
11730 if { (eval echo configure:11731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11725 if { (eval echo configure:11726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11731 rm -rf conftest* 11726 rm -rf conftest*
11732 echo "$ac_t""two" 1>&6 11727 echo "$ac_t""two" 1>&6
11733 else 11728 else
11734 echo "configure: failed program was:" >&5 11729 echo "configure: failed program was:" >&5
11735 cat conftest.$ac_ext >&5 11730 cat conftest.$ac_ext >&5
11747 rm -f conftest* 11742 rm -f conftest*
11748 fi 11743 fi
11749 11744
11750 11745
11751 echo $ac_n "checking for inline""... $ac_c" 1>&6 11746 echo $ac_n "checking for inline""... $ac_c" 1>&6
11752 echo "configure:11753: checking for inline" >&5 11747 echo "configure:11748: checking for inline" >&5
11753 11748
11754 ac_cv_c_inline=no 11749 ac_cv_c_inline=no
11755 for ac_kw in inline __inline__ __inline; do 11750 for ac_kw in inline __inline__ __inline; do
11756 cat > conftest.$ac_ext <<EOF 11751 cat > conftest.$ac_ext <<EOF
11757 #line 11758 "configure" 11752 #line 11753 "configure"
11758 #include "confdefs.h" 11753 #include "confdefs.h"
11759 11754
11760 int main() { 11755 int main() {
11761 } $ac_kw foo() { 11756 } $ac_kw foo() {
11762 ; return 0; } 11757 ; return 0; }
11763 EOF 11758 EOF
11764 if { (eval echo configure:11765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 11759 if { (eval echo configure:11760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11765 rm -rf conftest* 11760 rm -rf conftest*
11766 ac_cv_c_inline=$ac_kw; break 11761 ac_cv_c_inline=$ac_kw; break
11767 else 11762 else
11768 echo "configure: failed program was:" >&5 11763 echo "configure: failed program was:" >&5
11769 cat conftest.$ac_ext >&5 11764 cat conftest.$ac_ext >&5
11800 11795
11801 if test "$__DECC" != "yes"; then 11796 if test "$__DECC" != "yes"; then
11802 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 11797 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11803 # for constant arguments. Useless! 11798 # for constant arguments. Useless!
11804 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 11799 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
11805 echo "configure:11806: checking for working alloca.h" >&5 11800 echo "configure:11801: checking for working alloca.h" >&5
11806 11801
11807 cat > conftest.$ac_ext <<EOF 11802 cat > conftest.$ac_ext <<EOF
11808 #line 11809 "configure" 11803 #line 11804 "configure"
11809 #include "confdefs.h" 11804 #include "confdefs.h"
11810 #include <alloca.h> 11805 #include <alloca.h>
11811 int main() { 11806 int main() {
11812 char *p = alloca(2 * sizeof(int)); 11807 char *p = alloca(2 * sizeof(int));
11813 ; return 0; } 11808 ; return 0; }
11814 EOF 11809 EOF
11815 if { (eval echo configure:11816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11810 if { (eval echo configure:11811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11816 rm -rf conftest* 11811 rm -rf conftest*
11817 ac_cv_header_alloca_h=yes 11812 ac_cv_header_alloca_h=yes
11818 else 11813 else
11819 echo "configure: failed program was:" >&5 11814 echo "configure: failed program was:" >&5
11820 cat conftest.$ac_ext >&5 11815 cat conftest.$ac_ext >&5
11834 } 11829 }
11835 11830
11836 fi 11831 fi
11837 11832
11838 echo $ac_n "checking for alloca""... $ac_c" 1>&6 11833 echo $ac_n "checking for alloca""... $ac_c" 1>&6
11839 echo "configure:11840: checking for alloca" >&5 11834 echo "configure:11835: checking for alloca" >&5
11840 11835
11841 cat > conftest.$ac_ext <<EOF 11836 cat > conftest.$ac_ext <<EOF
11842 #line 11843 "configure" 11837 #line 11838 "configure"
11843 #include "confdefs.h" 11838 #include "confdefs.h"
11844 11839
11845 #ifdef __GNUC__ 11840 #ifdef __GNUC__
11846 # define alloca __builtin_alloca 11841 # define alloca __builtin_alloca
11847 #else 11842 #else
11865 11860
11866 int main() { 11861 int main() {
11867 char *p = (char *) alloca(1); 11862 char *p = (char *) alloca(1);
11868 ; return 0; } 11863 ; return 0; }
11869 EOF 11864 EOF
11870 if { (eval echo configure:11871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11865 if { (eval echo configure:11866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11871 rm -rf conftest* 11866 rm -rf conftest*
11872 ac_cv_func_alloca_works=yes 11867 ac_cv_func_alloca_works=yes
11873 else 11868 else
11874 echo "configure: failed program was:" >&5 11869 echo "configure: failed program was:" >&5
11875 cat conftest.$ac_ext >&5 11870 cat conftest.$ac_ext >&5
11904 EOF 11899 EOF
11905 } 11900 }
11906 11901
11907 11902
11908 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 11903 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
11909 echo "configure:11910: checking whether alloca needs Cray hooks" >&5 11904 echo "configure:11905: checking whether alloca needs Cray hooks" >&5
11910 11905
11911 cat > conftest.$ac_ext <<EOF 11906 cat > conftest.$ac_ext <<EOF
11912 #line 11913 "configure" 11907 #line 11908 "configure"
11913 #include "confdefs.h" 11908 #include "confdefs.h"
11914 #if defined(CRAY) && ! defined(CRAY2) 11909 #if defined(CRAY) && ! defined(CRAY2)
11915 webecray 11910 webecray
11916 #else 11911 #else
11917 wenotbecray 11912 wenotbecray
11931 11926
11932 echo "$ac_t""$ac_cv_os_cray" 1>&6 11927 echo "$ac_t""$ac_cv_os_cray" 1>&6
11933 if test $ac_cv_os_cray = yes; then 11928 if test $ac_cv_os_cray = yes; then
11934 for ac_func in _getb67 GETB67 getb67; do 11929 for ac_func in _getb67 GETB67 getb67; do
11935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11936 echo "configure:11937: checking for $ac_func" >&5 11931 echo "configure:11932: checking for $ac_func" >&5
11937 11932
11938 cat > conftest.$ac_ext <<EOF 11933 cat > conftest.$ac_ext <<EOF
11939 #line 11940 "configure" 11934 #line 11935 "configure"
11940 #include "confdefs.h" 11935 #include "confdefs.h"
11941 /* System header to define __stub macros and hopefully few prototypes, 11936 /* System header to define __stub macros and hopefully few prototypes,
11942 which can conflict with char $ac_func(); below. */ 11937 which can conflict with char $ac_func(); below. */
11943 #include <assert.h> 11938 #include <assert.h>
11944 /* Override any gcc2 internal prototype to avoid an error. */ 11939 /* Override any gcc2 internal prototype to avoid an error. */
11957 $ac_func(); 11952 $ac_func();
11958 #endif 11953 #endif
11959 11954
11960 ; return 0; } 11955 ; return 0; }
11961 EOF 11956 EOF
11962 if { (eval echo configure:11963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11957 if { (eval echo configure:11958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11963 rm -rf conftest* 11958 rm -rf conftest*
11964 eval "ac_cv_func_$ac_func=yes" 11959 eval "ac_cv_func_$ac_func=yes"
11965 else 11960 else
11966 echo "configure: failed program was:" >&5 11961 echo "configure: failed program was:" >&5
11967 cat conftest.$ac_ext >&5 11962 cat conftest.$ac_ext >&5
11987 11982
11988 done 11983 done
11989 fi 11984 fi
11990 11985
11991 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 11986 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
11992 echo "configure:11993: checking stack direction for C alloca" >&5 11987 echo "configure:11988: checking stack direction for C alloca" >&5
11993 11988
11994 cat > conftest.$ac_ext <<EOF 11989 cat > conftest.$ac_ext <<EOF
11995 #line 11996 "configure" 11990 #line 11991 "configure"
11996 #include "confdefs.h" 11991 #include "confdefs.h"
11997 find_stack_direction () 11992 find_stack_direction ()
11998 { 11993 {
11999 static char *addr = 0; 11994 static char *addr = 0;
12000 auto char dummy; 11995 auto char dummy;
12009 main () 12004 main ()
12010 { 12005 {
12011 exit (find_stack_direction() < 0); 12006 exit (find_stack_direction() < 0);
12012 } 12007 }
12013 EOF 12008 EOF
12014 if { (eval echo configure:12015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12009 if { (eval echo configure:12010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12015 then 12010 then
12016 ac_cv_c_stack_direction=1 12011 ac_cv_c_stack_direction=1
12017 else 12012 else
12018 conftest_rc="$?" 12013 conftest_rc="$?"
12019 echo "configure: failed program was:" >&5 12014 echo "configure: failed program was:" >&5
12038 echo " xemacs will be linked with \"$ALLOCA\"" 12033 echo " xemacs will be linked with \"$ALLOCA\""
12039 fi 12034 fi
12040 fi 12035 fi
12041 12036
12042 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 12037 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
12043 echo "configure:12044: checking for working strcoll" >&5 12038 echo "configure:12039: checking for working strcoll" >&5
12044 12039
12045 cat > conftest.$ac_ext <<EOF 12040 cat > conftest.$ac_ext <<EOF
12046 #line 12047 "configure" 12041 #line 12042 "configure"
12047 #include "confdefs.h" 12042 #include "confdefs.h"
12048 #include <string.h> 12043 #include <string.h>
12049 main () 12044 main ()
12050 { 12045 {
12051 exit (strcoll ("abc", "def") >= 0 || 12046 exit (strcoll ("abc", "def") >= 0 ||
12052 strcoll ("ABC", "DEF") >= 0 || 12047 strcoll ("ABC", "DEF") >= 0 ||
12053 strcoll ("123", "456") >= 0); 12048 strcoll ("123", "456") >= 0);
12054 } 12049 }
12055 EOF 12050 EOF
12056 if { (eval echo configure:12057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12051 if { (eval echo configure:12052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12057 then 12052 then
12058 ac_cv_func_strcoll_works=yes 12053 ac_cv_func_strcoll_works=yes
12059 else 12054 else
12060 conftest_rc="$?" 12055 conftest_rc="$?"
12061 echo "configure: failed program was:" >&5 12056 echo "configure: failed program was:" >&5
12079 12074
12080 12075
12081 for ac_func in getpgrp 12076 for ac_func in getpgrp
12082 do 12077 do
12083 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 12078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12084 echo "configure:12085: checking for $ac_func" >&5 12079 echo "configure:12080: checking for $ac_func" >&5
12085 12080
12086 cat > conftest.$ac_ext <<EOF 12081 cat > conftest.$ac_ext <<EOF
12087 #line 12088 "configure" 12082 #line 12083 "configure"
12088 #include "confdefs.h" 12083 #include "confdefs.h"
12089 /* System header to define __stub macros and hopefully few prototypes, 12084 /* System header to define __stub macros and hopefully few prototypes,
12090 which can conflict with char $ac_func(); below. */ 12085 which can conflict with char $ac_func(); below. */
12091 #include <assert.h> 12086 #include <assert.h>
12092 /* Override any gcc2 internal prototype to avoid an error. */ 12087 /* Override any gcc2 internal prototype to avoid an error. */
12105 $ac_func(); 12100 $ac_func();
12106 #endif 12101 #endif
12107 12102
12108 ; return 0; } 12103 ; return 0; }
12109 EOF 12104 EOF
12110 if { (eval echo configure:12111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12105 if { (eval echo configure:12106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12111 rm -rf conftest* 12106 rm -rf conftest*
12112 eval "ac_cv_func_$ac_func=yes" 12107 eval "ac_cv_func_$ac_func=yes"
12113 else 12108 else
12114 echo "configure: failed program was:" >&5 12109 echo "configure: failed program was:" >&5
12115 cat conftest.$ac_ext >&5 12110 cat conftest.$ac_ext >&5
12133 echo "$ac_t""no" 1>&6 12128 echo "$ac_t""no" 1>&6
12134 fi 12129 fi
12135 done 12130 done
12136 12131
12137 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 12132 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
12138 echo "configure:12139: checking whether getpgrp takes no argument" >&5 12133 echo "configure:12134: checking whether getpgrp takes no argument" >&5
12139 12134
12140 cat > conftest.$ac_ext <<EOF 12135 cat > conftest.$ac_ext <<EOF
12141 #line 12142 "configure" 12136 #line 12137 "configure"
12142 #include "confdefs.h" 12137 #include "confdefs.h"
12143 12138
12144 /* 12139 /*
12145 * If this system has a BSD-style getpgrp(), 12140 * If this system has a BSD-style getpgrp(),
12146 * which takes a pid argument, exit unsuccessfully. 12141 * which takes a pid argument, exit unsuccessfully.
12191 exit(s>>8); 12186 exit(s>>8);
12192 } 12187 }
12193 } 12188 }
12194 12189
12195 EOF 12190 EOF
12196 if { (eval echo configure:12197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12191 if { (eval echo configure:12192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12197 then 12192 then
12198 ac_cv_func_getpgrp_void=yes 12193 ac_cv_func_getpgrp_void=yes
12199 else 12194 else
12200 conftest_rc="$?" 12195 conftest_rc="$?"
12201 echo "configure: failed program was:" >&5 12196 echo "configure: failed program was:" >&5
12218 12213
12219 fi 12214 fi
12220 12215
12221 12216
12222 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 12217 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
12223 echo "configure:12224: checking for working mmap" >&5 12218 echo "configure:12219: checking for working mmap" >&5
12224 case "$opsys" in ultrix* ) have_mmap=no ;; *) 12219 case "$opsys" in ultrix* ) have_mmap=no ;; *)
12225 cat > conftest.$ac_ext <<EOF 12220 cat > conftest.$ac_ext <<EOF
12226 #line 12227 "configure" 12221 #line 12222 "configure"
12227 #include "confdefs.h" 12222 #include "confdefs.h"
12228 #include <stdio.h> 12223 #include <stdio.h>
12229 #include <unistd.h> 12224 #include <unistd.h>
12230 #include <fcntl.h> 12225 #include <fcntl.h>
12231 #include <sys/mman.h> 12226 #include <sys/mman.h>
12254 return 0; 12249 return 0;
12255 perror ("conftest: mmap failed"); 12250 perror ("conftest: mmap failed");
12256 return 1; 12251 return 1;
12257 } 12252 }
12258 EOF 12253 EOF
12259 if { (eval echo configure:12260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 12254 if { (eval echo configure:12255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
12260 then 12255 then
12261 have_mmap=yes 12256 have_mmap=yes
12262 else 12257 else
12263 conftest_rc="$?" 12258 conftest_rc="$?"
12264 echo "configure: failed program was:" >&5 12259 echo "configure: failed program was:" >&5
12283 esac 12278 esac
12284 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 12279 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
12285 if test "$rel_alloc $have_mmap" = "default yes"; then 12280 if test "$rel_alloc $have_mmap" = "default yes"; then
12286 if test "$doug_lea_malloc" = "yes"; then 12281 if test "$doug_lea_malloc" = "yes"; then
12287 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 12282 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6
12288 echo "configure:12289: checking for M_MMAP_THRESHOLD" >&5 12283 echo "configure:12284: checking for M_MMAP_THRESHOLD" >&5
12289 cat > conftest.$ac_ext <<EOF 12284 cat > conftest.$ac_ext <<EOF
12290 #line 12291 "configure" 12285 #line 12286 "configure"
12291 #include "confdefs.h" 12286 #include "confdefs.h"
12292 #include <malloc.h> 12287 #include <malloc.h>
12293 int main() { 12288 int main() {
12294 12289
12295 #ifndef M_MMAP_THRESHOLD 12290 #ifndef M_MMAP_THRESHOLD
12297 !@+$%^&*_)(_ - unlikely to compile... 12292 !@+$%^&*_)(_ - unlikely to compile...
12298 #endif 12293 #endif
12299 12294
12300 ; return 0; } 12295 ; return 0; }
12301 EOF 12296 EOF
12302 if { (eval echo configure:12303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 12297 if { (eval echo configure:12298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12303 rm -rf conftest* 12298 rm -rf conftest*
12304 rel_alloc=no; echo "$ac_t""yes" 1>&6; 12299 rel_alloc=no; echo "$ac_t""yes" 1>&6;
12305 else 12300 else
12306 echo "configure: failed program was:" >&5 12301 echo "configure: failed program was:" >&5
12307 cat conftest.$ac_ext >&5 12302 cat conftest.$ac_ext >&5
12322 } 12317 }
12323 12318
12324 12319
12325 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 12320 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
12326 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 12321 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
12327 echo "configure:12328: checking for termios.h" >&5 12322 echo "configure:12323: checking for termios.h" >&5
12328 12323
12329 cat > conftest.$ac_ext <<EOF 12324 cat > conftest.$ac_ext <<EOF
12330 #line 12331 "configure" 12325 #line 12326 "configure"
12331 #include "confdefs.h" 12326 #include "confdefs.h"
12332 #include <termios.h> 12327 #include <termios.h>
12333 EOF 12328 EOF
12334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12335 { (eval echo configure:12336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12330 { (eval echo configure:12331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12337 if test -z "$ac_err"; then 12332 if test -z "$ac_err"; then
12338 rm -rf conftest* 12333 rm -rf conftest*
12339 eval "ac_cv_header_$ac_safe=yes" 12334 eval "ac_cv_header_$ac_safe=yes"
12340 else 12335 else
12373 12368
12374 else 12369 else
12375 echo "$ac_t""no" 1>&6 12370 echo "$ac_t""no" 1>&6
12376 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 12371 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
12377 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 12372 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
12378 echo "configure:12379: checking for termio.h" >&5 12373 echo "configure:12374: checking for termio.h" >&5
12379 12374
12380 cat > conftest.$ac_ext <<EOF 12375 cat > conftest.$ac_ext <<EOF
12381 #line 12382 "configure" 12376 #line 12377 "configure"
12382 #include "confdefs.h" 12377 #include "confdefs.h"
12383 #include <termio.h> 12378 #include <termio.h>
12384 EOF 12379 EOF
12385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12386 { (eval echo configure:12387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12381 { (eval echo configure:12382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12388 if test -z "$ac_err"; then 12383 if test -z "$ac_err"; then
12389 rm -rf conftest* 12384 rm -rf conftest*
12390 eval "ac_cv_header_$ac_safe=yes" 12385 eval "ac_cv_header_$ac_safe=yes"
12391 else 12386 else
12413 fi 12408 fi
12414 12409
12415 12410
12416 12411
12417 echo $ac_n "checking for socket""... $ac_c" 1>&6 12412 echo $ac_n "checking for socket""... $ac_c" 1>&6
12418 echo "configure:12419: checking for socket" >&5 12413 echo "configure:12414: checking for socket" >&5
12419 12414
12420 cat > conftest.$ac_ext <<EOF 12415 cat > conftest.$ac_ext <<EOF
12421 #line 12422 "configure" 12416 #line 12417 "configure"
12422 #include "confdefs.h" 12417 #include "confdefs.h"
12423 /* System header to define __stub macros and hopefully few prototypes, 12418 /* System header to define __stub macros and hopefully few prototypes,
12424 which can conflict with char socket(); below. */ 12419 which can conflict with char socket(); below. */
12425 #include <assert.h> 12420 #include <assert.h>
12426 /* Override any gcc2 internal prototype to avoid an error. */ 12421 /* Override any gcc2 internal prototype to avoid an error. */
12439 socket(); 12434 socket();
12440 #endif 12435 #endif
12441 12436
12442 ; return 0; } 12437 ; return 0; }
12443 EOF 12438 EOF
12444 if { (eval echo configure:12445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12439 if { (eval echo configure:12440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12445 rm -rf conftest* 12440 rm -rf conftest*
12446 eval "ac_cv_func_socket=yes" 12441 eval "ac_cv_func_socket=yes"
12447 else 12442 else
12448 echo "configure: failed program was:" >&5 12443 echo "configure: failed program was:" >&5
12449 cat conftest.$ac_ext >&5 12444 cat conftest.$ac_ext >&5
12454 12449
12455 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 12450 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12456 echo "$ac_t""yes" 1>&6 12451 echo "$ac_t""yes" 1>&6
12457 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 12452 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
12458 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 12453 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
12459 echo "configure:12460: checking for netinet/in.h" >&5 12454 echo "configure:12455: checking for netinet/in.h" >&5
12460 12455
12461 cat > conftest.$ac_ext <<EOF 12456 cat > conftest.$ac_ext <<EOF
12462 #line 12463 "configure" 12457 #line 12458 "configure"
12463 #include "confdefs.h" 12458 #include "confdefs.h"
12464 #include <netinet/in.h> 12459 #include <netinet/in.h>
12465 EOF 12460 EOF
12466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12467 { (eval echo configure:12468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12462 { (eval echo configure:12463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12469 if test -z "$ac_err"; then 12464 if test -z "$ac_err"; then
12470 rm -rf conftest* 12465 rm -rf conftest*
12471 eval "ac_cv_header_$ac_safe=yes" 12466 eval "ac_cv_header_$ac_safe=yes"
12472 else 12467 else
12479 rm -f conftest* 12474 rm -f conftest*
12480 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 12475 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12481 echo "$ac_t""yes" 1>&6 12476 echo "$ac_t""yes" 1>&6
12482 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 12477 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
12483 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 12478 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
12484 echo "configure:12485: checking for arpa/inet.h" >&5 12479 echo "configure:12480: checking for arpa/inet.h" >&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 <arpa/inet.h> 12484 #include <arpa/inet.h>
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
12512 #define HAVE_SOCKETS 1 12507 #define HAVE_SOCKETS 1
12513 EOF 12508 EOF
12514 } 12509 }
12515 12510
12516 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 12511 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
12517 echo "configure:12518: checking "for sun_len member in struct sockaddr_un"" >&5 12512 echo "configure:12513: checking "for sun_len member in struct sockaddr_un"" >&5
12518 cat > conftest.$ac_ext <<EOF 12513 cat > conftest.$ac_ext <<EOF
12519 #line 12520 "configure" 12514 #line 12515 "configure"
12520 #include "confdefs.h" 12515 #include "confdefs.h"
12521 12516
12522 #include <sys/types.h> 12517 #include <sys/types.h>
12523 #include <sys/socket.h> 12518 #include <sys/socket.h>
12524 #include <sys/un.h> 12519 #include <sys/un.h>
12525 12520
12526 int main() { 12521 int main() {
12527 static struct sockaddr_un x; x.sun_len = 1; 12522 static struct sockaddr_un x; x.sun_len = 1;
12528 ; return 0; } 12523 ; return 0; }
12529 EOF 12524 EOF
12530 if { (eval echo configure:12531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12525 if { (eval echo configure:12526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12531 rm -rf conftest* 12526 rm -rf conftest*
12532 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 12527 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
12533 Defining HAVE_SOCKADDR_SUN_LEN 12528 Defining HAVE_SOCKADDR_SUN_LEN
12534 EOF 12529 EOF
12535 cat >> confdefs.h <<\EOF 12530 cat >> confdefs.h <<\EOF
12543 rm -rf conftest* 12538 rm -rf conftest*
12544 echo "$ac_t""no" 1>&6 12539 echo "$ac_t""no" 1>&6
12545 fi 12540 fi
12546 rm -f conftest* 12541 rm -f conftest*
12547 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 12542 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
12548 echo "configure:12549: checking "for ip_mreq struct in netinet/in.h"" >&5 12543 echo "configure:12544: checking "for ip_mreq struct in netinet/in.h"" >&5
12549 cat > conftest.$ac_ext <<EOF 12544 cat > conftest.$ac_ext <<EOF
12550 #line 12551 "configure" 12545 #line 12546 "configure"
12551 #include "confdefs.h" 12546 #include "confdefs.h"
12552 12547
12553 #include <sys/types.h> 12548 #include <sys/types.h>
12554 #include <netinet/in.h> 12549 #include <netinet/in.h>
12555 12550
12556 int main() { 12551 int main() {
12557 static struct ip_mreq x; 12552 static struct ip_mreq x;
12558 ; return 0; } 12553 ; return 0; }
12559 EOF 12554 EOF
12560 if { (eval echo configure:12561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12555 if { (eval echo configure:12556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12561 rm -rf conftest* 12556 rm -rf conftest*
12562 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 12557 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
12563 Defining HAVE_MULTICAST 12558 Defining HAVE_MULTICAST
12564 EOF 12559 EOF
12565 cat >> confdefs.h <<\EOF 12560 cat >> confdefs.h <<\EOF
12586 echo "$ac_t""no" 1>&6 12581 echo "$ac_t""no" 1>&6
12587 fi 12582 fi
12588 12583
12589 12584
12590 echo $ac_n "checking for msgget""... $ac_c" 1>&6 12585 echo $ac_n "checking for msgget""... $ac_c" 1>&6
12591 echo "configure:12592: checking for msgget" >&5 12586 echo "configure:12587: checking for msgget" >&5
12592 12587
12593 cat > conftest.$ac_ext <<EOF 12588 cat > conftest.$ac_ext <<EOF
12594 #line 12595 "configure" 12589 #line 12590 "configure"
12595 #include "confdefs.h" 12590 #include "confdefs.h"
12596 /* System header to define __stub macros and hopefully few prototypes, 12591 /* System header to define __stub macros and hopefully few prototypes,
12597 which can conflict with char msgget(); below. */ 12592 which can conflict with char msgget(); below. */
12598 #include <assert.h> 12593 #include <assert.h>
12599 /* Override any gcc2 internal prototype to avoid an error. */ 12594 /* Override any gcc2 internal prototype to avoid an error. */
12612 msgget(); 12607 msgget();
12613 #endif 12608 #endif
12614 12609
12615 ; return 0; } 12610 ; return 0; }
12616 EOF 12611 EOF
12617 if { (eval echo configure:12618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12612 if { (eval echo configure:12613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12618 rm -rf conftest* 12613 rm -rf conftest*
12619 eval "ac_cv_func_msgget=yes" 12614 eval "ac_cv_func_msgget=yes"
12620 else 12615 else
12621 echo "configure: failed program was:" >&5 12616 echo "configure: failed program was:" >&5
12622 cat conftest.$ac_ext >&5 12617 cat conftest.$ac_ext >&5
12627 12622
12628 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 12623 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
12629 echo "$ac_t""yes" 1>&6 12624 echo "$ac_t""yes" 1>&6
12630 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 12625 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
12631 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 12626 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
12632 echo "configure:12633: checking for sys/ipc.h" >&5 12627 echo "configure:12628: checking for sys/ipc.h" >&5
12633 12628
12634 cat > conftest.$ac_ext <<EOF 12629 cat > conftest.$ac_ext <<EOF
12635 #line 12636 "configure" 12630 #line 12631 "configure"
12636 #include "confdefs.h" 12631 #include "confdefs.h"
12637 #include <sys/ipc.h> 12632 #include <sys/ipc.h>
12638 EOF 12633 EOF
12639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12640 { (eval echo configure:12641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12635 { (eval echo configure:12636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12642 if test -z "$ac_err"; then 12637 if test -z "$ac_err"; then
12643 rm -rf conftest* 12638 rm -rf conftest*
12644 eval "ac_cv_header_$ac_safe=yes" 12639 eval "ac_cv_header_$ac_safe=yes"
12645 else 12640 else
12652 rm -f conftest* 12647 rm -f conftest*
12653 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 12648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12654 echo "$ac_t""yes" 1>&6 12649 echo "$ac_t""yes" 1>&6
12655 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 12650 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
12656 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 12651 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
12657 echo "configure:12658: checking for sys/msg.h" >&5 12652 echo "configure:12653: checking for sys/msg.h" >&5
12658 12653
12659 cat > conftest.$ac_ext <<EOF 12654 cat > conftest.$ac_ext <<EOF
12660 #line 12661 "configure" 12655 #line 12656 "configure"
12661 #include "confdefs.h" 12656 #include "confdefs.h"
12662 #include <sys/msg.h> 12657 #include <sys/msg.h>
12663 EOF 12658 EOF
12664 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12665 { (eval echo configure:12666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12660 { (eval echo configure:12661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12666 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12667 if test -z "$ac_err"; then 12662 if test -z "$ac_err"; then
12668 rm -rf conftest* 12663 rm -rf conftest*
12669 eval "ac_cv_header_$ac_safe=yes" 12664 eval "ac_cv_header_$ac_safe=yes"
12670 else 12665 else
12698 fi 12693 fi
12699 12694
12700 12695
12701 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 12696 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
12702 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 12697 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
12703 echo "configure:12704: checking for dirent.h" >&5 12698 echo "configure:12699: checking for dirent.h" >&5
12704 12699
12705 cat > conftest.$ac_ext <<EOF 12700 cat > conftest.$ac_ext <<EOF
12706 #line 12707 "configure" 12701 #line 12702 "configure"
12707 #include "confdefs.h" 12702 #include "confdefs.h"
12708 #include <dirent.h> 12703 #include <dirent.h>
12709 EOF 12704 EOF
12710 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12711 { (eval echo configure:12712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12706 { (eval echo configure:12707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12712 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12713 if test -z "$ac_err"; then 12708 if test -z "$ac_err"; then
12714 rm -rf conftest* 12709 rm -rf conftest*
12715 eval "ac_cv_header_$ac_safe=yes" 12710 eval "ac_cv_header_$ac_safe=yes"
12716 else 12711 else
12733 12728
12734 else 12729 else
12735 echo "$ac_t""no" 1>&6 12730 echo "$ac_t""no" 1>&6
12736 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 12731 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
12737 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 12732 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
12738 echo "configure:12739: checking for sys/dir.h" >&5 12733 echo "configure:12734: checking for sys/dir.h" >&5
12739 12734
12740 cat > conftest.$ac_ext <<EOF 12735 cat > conftest.$ac_ext <<EOF
12741 #line 12742 "configure" 12736 #line 12737 "configure"
12742 #include "confdefs.h" 12737 #include "confdefs.h"
12743 #include <sys/dir.h> 12738 #include <sys/dir.h>
12744 EOF 12739 EOF
12745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12746 { (eval echo configure:12747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12741 { (eval echo configure:12742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12748 if test -z "$ac_err"; then 12743 if test -z "$ac_err"; then
12749 rm -rf conftest* 12744 rm -rf conftest*
12750 eval "ac_cv_header_$ac_safe=yes" 12745 eval "ac_cv_header_$ac_safe=yes"
12751 else 12746 else
12774 fi 12769 fi
12775 12770
12776 12771
12777 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 12772 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
12778 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 12773 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
12779 echo "configure:12780: checking for nlist.h" >&5 12774 echo "configure:12775: checking for nlist.h" >&5
12780 12775
12781 cat > conftest.$ac_ext <<EOF 12776 cat > conftest.$ac_ext <<EOF
12782 #line 12783 "configure" 12777 #line 12778 "configure"
12783 #include "confdefs.h" 12778 #include "confdefs.h"
12784 #include <nlist.h> 12779 #include <nlist.h>
12785 EOF 12780 EOF
12786 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12787 { (eval echo configure:12788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12782 { (eval echo configure:12783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12788 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12789 if test -z "$ac_err"; then 12784 if test -z "$ac_err"; then
12790 rm -rf conftest* 12785 rm -rf conftest*
12791 eval "ac_cv_header_$ac_safe=yes" 12786 eval "ac_cv_header_$ac_safe=yes"
12792 else 12787 else
12812 fi 12807 fi
12813 12808
12814 12809
12815 12810
12816 echo "checking "for sound support"" 1>&6 12811 echo "checking "for sound support"" 1>&6
12817 echo "configure:12818: checking "for sound support"" >&5 12812 echo "configure:12813: checking "for sound support"" >&5
12818 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 12813 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
12819 12814
12820 if test "$with_native_sound" != "no"; then 12815 if test "$with_native_sound" != "no"; then
12821 if test -n "$native_sound_lib"; then 12816 if test -n "$native_sound_lib"; then
12822 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 12817 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
12823 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 12818 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
12824 echo "configure:12825: checking for multimedia/audio_device.h" >&5 12819 echo "configure:12820: checking for multimedia/audio_device.h" >&5
12825 12820
12826 cat > conftest.$ac_ext <<EOF 12821 cat > conftest.$ac_ext <<EOF
12827 #line 12828 "configure" 12822 #line 12823 "configure"
12828 #include "confdefs.h" 12823 #include "confdefs.h"
12829 #include <multimedia/audio_device.h> 12824 #include <multimedia/audio_device.h>
12830 EOF 12825 EOF
12831 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12832 { (eval echo configure:12833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12827 { (eval echo configure:12828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12833 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12828 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12834 if test -z "$ac_err"; then 12829 if test -z "$ac_err"; then
12835 rm -rf conftest* 12830 rm -rf conftest*
12836 eval "ac_cv_header_$ac_safe=yes" 12831 eval "ac_cv_header_$ac_safe=yes"
12837 else 12832 else
12875 case "$canonical" in 12870 case "$canonical" in
12876 *-sgi-* ) 12871 *-sgi-* )
12877 if test -z "$native_sound_lib"; then 12872 if test -z "$native_sound_lib"; then
12878 12873
12879 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 12874 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
12880 echo "configure:12881: checking for ALopenport in -laudio" >&5 12875 echo "configure:12876: checking for ALopenport in -laudio" >&5
12881 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 12876 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
12882 12877
12883 xe_check_libs=" -laudio " 12878 xe_check_libs=" -laudio "
12884 cat > conftest.$ac_ext <<EOF 12879 cat > conftest.$ac_ext <<EOF
12885 #line 12886 "configure" 12880 #line 12881 "configure"
12886 #include "confdefs.h" 12881 #include "confdefs.h"
12887 /* Override any gcc2 internal prototype to avoid an error. */ 12882 /* Override any gcc2 internal prototype to avoid an error. */
12888 /* We use char because int might match the return type of a gcc2 12883 /* We use char because int might match the return type of a gcc2
12889 builtin and then its argument prototype would still apply. */ 12884 builtin and then its argument prototype would still apply. */
12890 char ALopenport(); 12885 char ALopenport();
12891 12886
12892 int main() { 12887 int main() {
12893 ALopenport() 12888 ALopenport()
12894 ; return 0; } 12889 ; return 0; }
12895 EOF 12890 EOF
12896 if { (eval echo configure:12897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12891 if { (eval echo configure:12892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12897 rm -rf conftest* 12892 rm -rf conftest*
12898 eval "ac_cv_lib_$ac_lib_var=yes" 12893 eval "ac_cv_lib_$ac_lib_var=yes"
12899 else 12894 else
12900 echo "configure: failed program was:" >&5 12895 echo "configure: failed program was:" >&5
12901 cat conftest.$ac_ext >&5 12896 cat conftest.$ac_ext >&5
12922 fi ;; 12917 fi ;;
12923 hppa*-hp-hpux* ) 12918 hppa*-hp-hpux* )
12924 if test -z "$native_sound_lib"; then 12919 if test -z "$native_sound_lib"; then
12925 12920
12926 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 12921 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
12927 echo "configure:12928: checking for AOpenAudio in -lAlib" >&5 12922 echo "configure:12923: checking for AOpenAudio in -lAlib" >&5
12928 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 12923 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
12929 12924
12930 xe_check_libs=" -lAlib " 12925 xe_check_libs=" -lAlib "
12931 cat > conftest.$ac_ext <<EOF 12926 cat > conftest.$ac_ext <<EOF
12932 #line 12933 "configure" 12927 #line 12928 "configure"
12933 #include "confdefs.h" 12928 #include "confdefs.h"
12934 /* Override any gcc2 internal prototype to avoid an error. */ 12929 /* Override any gcc2 internal prototype to avoid an error. */
12935 /* We use char because int might match the return type of a gcc2 12930 /* We use char because int might match the return type of a gcc2
12936 builtin and then its argument prototype would still apply. */ 12931 builtin and then its argument prototype would still apply. */
12937 char AOpenAudio(); 12932 char AOpenAudio();
12938 12933
12939 int main() { 12934 int main() {
12940 AOpenAudio() 12935 AOpenAudio()
12941 ; return 0; } 12936 ; return 0; }
12942 EOF 12937 EOF
12943 if { (eval echo configure:12944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12938 if { (eval echo configure:12939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12944 rm -rf conftest* 12939 rm -rf conftest*
12945 eval "ac_cv_lib_$ac_lib_var=yes" 12940 eval "ac_cv_lib_$ac_lib_var=yes"
12946 else 12941 else
12947 echo "configure: failed program was:" >&5 12942 echo "configure: failed program was:" >&5
12948 cat conftest.$ac_ext >&5 12943 cat conftest.$ac_ext >&5
12986 12981
12987 if test -z "$sound_found"; then 12982 if test -z "$sound_found"; then
12988 for dir in "machine" "sys" "linux"; do 12983 for dir in "machine" "sys" "linux"; do
12989 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 12984 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
12990 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 12985 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
12991 echo "configure:12992: checking for ${dir}/soundcard.h" >&5 12986 echo "configure:12987: checking for ${dir}/soundcard.h" >&5
12992 12987
12993 cat > conftest.$ac_ext <<EOF 12988 cat > conftest.$ac_ext <<EOF
12994 #line 12995 "configure" 12989 #line 12990 "configure"
12995 #include "confdefs.h" 12990 #include "confdefs.h"
12996 #include <${dir}/soundcard.h> 12991 #include <${dir}/soundcard.h>
12997 EOF 12992 EOF
12998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12999 { (eval echo configure:13000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12994 { (eval echo configure:12995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13001 if test -z "$ac_err"; then 12996 if test -z "$ac_err"; then
13002 rm -rf conftest* 12997 rm -rf conftest*
13003 eval "ac_cv_header_$ac_safe=yes" 12998 eval "ac_cv_header_$ac_safe=yes"
13004 else 12999 else
13048 fi 13043 fi
13049 13044
13050 if test "$with_nas_sound" != "no"; then 13045 if test "$with_nas_sound" != "no"; then
13051 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 13046 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
13052 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 13047 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
13053 echo "configure:13054: checking for audio/audiolib.h" >&5 13048 echo "configure:13049: checking for audio/audiolib.h" >&5
13054 13049
13055 cat > conftest.$ac_ext <<EOF 13050 cat > conftest.$ac_ext <<EOF
13056 #line 13057 "configure" 13051 #line 13052 "configure"
13057 #include "confdefs.h" 13052 #include "confdefs.h"
13058 #include <audio/audiolib.h> 13053 #include <audio/audiolib.h>
13059 EOF 13054 EOF
13060 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13061 { (eval echo configure:13062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13056 { (eval echo configure:13057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13062 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13057 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13063 if test -z "$ac_err"; then 13058 if test -z "$ac_err"; then
13064 rm -rf conftest* 13059 rm -rf conftest*
13065 eval "ac_cv_header_$ac_safe=yes" 13060 eval "ac_cv_header_$ac_safe=yes"
13066 else 13061 else
13074 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 13069 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13075 echo "$ac_t""yes" 1>&6 13070 echo "$ac_t""yes" 1>&6
13076 13071
13077 13072
13078 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 13073 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
13079 echo "configure:13080: checking for AuOpenServer in -laudio" >&5 13074 echo "configure:13075: checking for AuOpenServer in -laudio" >&5
13080 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 13075 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
13081 13076
13082 xe_check_libs=" -laudio " 13077 xe_check_libs=" -laudio "
13083 cat > conftest.$ac_ext <<EOF 13078 cat > conftest.$ac_ext <<EOF
13084 #line 13085 "configure" 13079 #line 13080 "configure"
13085 #include "confdefs.h" 13080 #include "confdefs.h"
13086 /* Override any gcc2 internal prototype to avoid an error. */ 13081 /* Override any gcc2 internal prototype to avoid an error. */
13087 /* We use char because int might match the return type of a gcc2 13082 /* We use char because int might match the return type of a gcc2
13088 builtin and then its argument prototype would still apply. */ 13083 builtin and then its argument prototype would still apply. */
13089 char AuOpenServer(); 13084 char AuOpenServer();
13090 13085
13091 int main() { 13086 int main() {
13092 AuOpenServer() 13087 AuOpenServer()
13093 ; return 0; } 13088 ; return 0; }
13094 EOF 13089 EOF
13095 if { (eval echo configure:13096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13090 if { (eval echo configure:13091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13096 rm -rf conftest* 13091 rm -rf conftest*
13097 eval "ac_cv_lib_$ac_lib_var=yes" 13092 eval "ac_cv_lib_$ac_lib_var=yes"
13098 else 13093 else
13099 echo "configure: failed program was:" >&5 13094 echo "configure: failed program was:" >&5
13100 cat conftest.$ac_ext >&5 13095 cat conftest.$ac_ext >&5
13129 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 13124 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
13130 echo " xemacs will be linked with \"nas.o\"" 13125 echo " xemacs will be linked with \"nas.o\""
13131 fi 13126 fi
13132 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 13127 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
13133 cat > conftest.$ac_ext <<EOF 13128 cat > conftest.$ac_ext <<EOF
13134 #line 13135 "configure" 13129 #line 13130 "configure"
13135 #include "confdefs.h" 13130 #include "confdefs.h"
13136 #include <audio/Xtutil.h> 13131 #include <audio/Xtutil.h>
13137 EOF 13132 EOF
13138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13139 egrep "AuXtErrorJump" >/dev/null 2>&1; then 13134 egrep "AuXtErrorJump" >/dev/null 2>&1; then
13160 13155
13161 if test "$with_esd_sound" != "no"; then 13156 if test "$with_esd_sound" != "no"; then
13162 # Extract the first word of "esd-config", so it can be a program name with args. 13157 # Extract the first word of "esd-config", so it can be a program name with args.
13163 set dummy esd-config; ac_word=$2 13158 set dummy esd-config; ac_word=$2
13164 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 13159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13165 echo "configure:13166: checking for $ac_word" >&5 13160 echo "configure:13161: checking for $ac_word" >&5
13166 13161
13167 if test -n "$have_esd_config"; then 13162 if test -n "$have_esd_config"; then
13168 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 13163 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
13169 else 13164 else
13170 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 13165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
13189 if test "$have_esd_config" = "yes"; then 13184 if test "$have_esd_config" = "yes"; then
13190 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 13185 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
13191 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 13186 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
13192 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 13187 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
13193 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 13188 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
13194 echo "configure:13195: checking for esd_play_stream" >&5 13189 echo "configure:13190: checking for esd_play_stream" >&5
13195 13190
13196 cat > conftest.$ac_ext <<EOF 13191 cat > conftest.$ac_ext <<EOF
13197 #line 13198 "configure" 13192 #line 13193 "configure"
13198 #include "confdefs.h" 13193 #include "confdefs.h"
13199 /* System header to define __stub macros and hopefully few prototypes, 13194 /* System header to define __stub macros and hopefully few prototypes,
13200 which can conflict with char esd_play_stream(); below. */ 13195 which can conflict with char esd_play_stream(); below. */
13201 #include <assert.h> 13196 #include <assert.h>
13202 /* Override any gcc2 internal prototype to avoid an error. */ 13197 /* Override any gcc2 internal prototype to avoid an error. */
13215 esd_play_stream(); 13210 esd_play_stream();
13216 #endif 13211 #endif
13217 13212
13218 ; return 0; } 13213 ; return 0; }
13219 EOF 13214 EOF
13220 if { (eval echo configure:13221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13215 if { (eval echo configure:13216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13221 rm -rf conftest* 13216 rm -rf conftest*
13222 eval "ac_cv_func_esd_play_stream=yes" 13217 eval "ac_cv_func_esd_play_stream=yes"
13223 else 13218 else
13224 echo "configure: failed program was:" >&5 13219 echo "configure: failed program was:" >&5
13225 cat conftest.$ac_ext >&5 13220 cat conftest.$ac_ext >&5
13266 13261
13267 test -z "$with_tty" && with_tty=yes 13262 test -z "$with_tty" && with_tty=yes
13268 13263
13269 if test "$with_tty" = "yes" ; then 13264 if test "$with_tty" = "yes" ; then
13270 echo "checking for TTY-related features" 1>&6 13265 echo "checking for TTY-related features" 1>&6
13271 echo "configure:13272: checking for TTY-related features" >&5 13266 echo "configure:13267: checking for TTY-related features" >&5
13272 { test "$extra_verbose" = "yes" && cat << \EOF 13267 { test "$extra_verbose" = "yes" && cat << \EOF
13273 Defining HAVE_TTY 13268 Defining HAVE_TTY
13274 EOF 13269 EOF
13275 cat >> confdefs.h <<\EOF 13270 cat >> confdefs.h <<\EOF
13276 #define HAVE_TTY 1 13271 #define HAVE_TTY 1
13279 13274
13280 13275
13281 if test -z "$with_ncurses"; then 13276 if test -z "$with_ncurses"; then
13282 13277
13283 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 13278 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
13284 echo "configure:13285: checking for tgetent in -lncurses" >&5 13279 echo "configure:13280: checking for tgetent in -lncurses" >&5
13285 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 13280 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
13286 13281
13287 xe_check_libs=" -lncurses " 13282 xe_check_libs=" -lncurses "
13288 cat > conftest.$ac_ext <<EOF 13283 cat > conftest.$ac_ext <<EOF
13289 #line 13290 "configure" 13284 #line 13285 "configure"
13290 #include "confdefs.h" 13285 #include "confdefs.h"
13291 /* Override any gcc2 internal prototype to avoid an error. */ 13286 /* Override any gcc2 internal prototype to avoid an error. */
13292 /* We use char because int might match the return type of a gcc2 13287 /* We use char because int might match the return type of a gcc2
13293 builtin and then its argument prototype would still apply. */ 13288 builtin and then its argument prototype would still apply. */
13294 char tgetent(); 13289 char tgetent();
13295 13290
13296 int main() { 13291 int main() {
13297 tgetent() 13292 tgetent()
13298 ; return 0; } 13293 ; return 0; }
13299 EOF 13294 EOF
13300 if { (eval echo configure:13301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13295 if { (eval echo configure:13296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13301 rm -rf conftest* 13296 rm -rf conftest*
13302 eval "ac_cv_lib_$ac_lib_var=yes" 13297 eval "ac_cv_lib_$ac_lib_var=yes"
13303 else 13298 else
13304 echo "configure: failed program was:" >&5 13299 echo "configure: failed program was:" >&5
13305 cat conftest.$ac_ext >&5 13300 cat conftest.$ac_ext >&5
13328 EOF 13323 EOF
13329 } 13324 }
13330 13325
13331 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 13326 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
13332 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 13327 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
13333 echo "configure:13334: checking for ncurses/curses.h" >&5 13328 echo "configure:13329: checking for ncurses/curses.h" >&5
13334 13329
13335 cat > conftest.$ac_ext <<EOF 13330 cat > conftest.$ac_ext <<EOF
13336 #line 13337 "configure" 13331 #line 13332 "configure"
13337 #include "confdefs.h" 13332 #include "confdefs.h"
13338 #include <ncurses/curses.h> 13333 #include <ncurses/curses.h>
13339 EOF 13334 EOF
13340 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13341 { (eval echo configure:13342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13336 { (eval echo configure:13337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13342 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13343 if test -z "$ac_err"; then 13338 if test -z "$ac_err"; then
13344 rm -rf conftest* 13339 rm -rf conftest*
13345 eval "ac_cv_header_$ac_safe=yes" 13340 eval "ac_cv_header_$ac_safe=yes"
13346 else 13341 else
13358 echo "$ac_t""no" 1>&6 13353 echo "$ac_t""no" 1>&6
13359 fi 13354 fi
13360 13355
13361 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 13356 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
13362 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 13357 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
13363 echo "configure:13364: checking for ncurses/term.h" >&5 13358 echo "configure:13359: checking for ncurses/term.h" >&5
13364 13359
13365 cat > conftest.$ac_ext <<EOF 13360 cat > conftest.$ac_ext <<EOF
13366 #line 13367 "configure" 13361 #line 13362 "configure"
13367 #include "confdefs.h" 13362 #include "confdefs.h"
13368 #include <ncurses/term.h> 13363 #include <ncurses/term.h>
13369 EOF 13364 EOF
13370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13371 { (eval echo configure:13372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13366 { (eval echo configure:13367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13373 if test -z "$ac_err"; then 13368 if test -z "$ac_err"; then
13374 rm -rf conftest* 13369 rm -rf conftest*
13375 eval "ac_cv_header_$ac_safe=yes" 13370 eval "ac_cv_header_$ac_safe=yes"
13376 else 13371 else
13396 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 13391 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
13397 save_c_switch_site="$c_switch_site" 13392 save_c_switch_site="$c_switch_site"
13398 c_switch_site="$c_switch_site -I/usr/include/ncurses" 13393 c_switch_site="$c_switch_site -I/usr/include/ncurses"
13399 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 13394 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
13400 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 13395 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
13401 echo "configure:13402: checking for ncurses/curses.h" >&5 13396 echo "configure:13397: checking for ncurses/curses.h" >&5
13402 13397
13403 cat > conftest.$ac_ext <<EOF 13398 cat > conftest.$ac_ext <<EOF
13404 #line 13405 "configure" 13399 #line 13400 "configure"
13405 #include "confdefs.h" 13400 #include "confdefs.h"
13406 #include <ncurses/curses.h> 13401 #include <ncurses/curses.h>
13407 EOF 13402 EOF
13408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13409 { (eval echo configure:13410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13404 { (eval echo configure:13405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13411 if test -z "$ac_err"; then 13406 if test -z "$ac_err"; then
13412 rm -rf conftest* 13407 rm -rf conftest*
13413 eval "ac_cv_header_$ac_safe=yes" 13408 eval "ac_cv_header_$ac_safe=yes"
13414 else 13409 else
13439 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 13434 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
13440 else 13435 else
13441 for lib in curses termlib termcap; do 13436 for lib in curses termlib termcap; do
13442 13437
13443 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 13438 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
13444 echo "configure:13445: checking for tgetent in -l$lib" >&5 13439 echo "configure:13440: checking for tgetent in -l$lib" >&5
13445 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 13440 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
13446 13441
13447 xe_check_libs=" -l$lib " 13442 xe_check_libs=" -l$lib "
13448 cat > conftest.$ac_ext <<EOF 13443 cat > conftest.$ac_ext <<EOF
13449 #line 13450 "configure" 13444 #line 13445 "configure"
13450 #include "confdefs.h" 13445 #include "confdefs.h"
13451 /* Override any gcc2 internal prototype to avoid an error. */ 13446 /* Override any gcc2 internal prototype to avoid an error. */
13452 /* We use char because int might match the return type of a gcc2 13447 /* We use char because int might match the return type of a gcc2
13453 builtin and then its argument prototype would still apply. */ 13448 builtin and then its argument prototype would still apply. */
13454 char tgetent(); 13449 char tgetent();
13455 13450
13456 int main() { 13451 int main() {
13457 tgetent() 13452 tgetent()
13458 ; return 0; } 13453 ; return 0; }
13459 EOF 13454 EOF
13460 if { (eval echo configure:13461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13455 if { (eval echo configure:13456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13461 rm -rf conftest* 13456 rm -rf conftest*
13462 eval "ac_cv_lib_$ac_lib_var=yes" 13457 eval "ac_cv_lib_$ac_lib_var=yes"
13463 else 13458 else
13464 echo "configure: failed program was:" >&5 13459 echo "configure: failed program was:" >&5
13465 cat conftest.$ac_ext >&5 13460 cat conftest.$ac_ext >&5
13486 if test -n "$libs_termcap"; then 13481 if test -n "$libs_termcap"; then
13487 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 13482 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
13488 else 13483 else
13489 13484
13490 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 13485 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
13491 echo "configure:13492: checking for tgetent in -lcurses" >&5 13486 echo "configure:13487: checking for tgetent in -lcurses" >&5
13492 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 13487 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
13493 13488
13494 xe_check_libs=" -lcurses " 13489 xe_check_libs=" -lcurses "
13495 cat > conftest.$ac_ext <<EOF 13490 cat > conftest.$ac_ext <<EOF
13496 #line 13497 "configure" 13491 #line 13492 "configure"
13497 #include "confdefs.h" 13492 #include "confdefs.h"
13498 /* Override any gcc2 internal prototype to avoid an error. */ 13493 /* Override any gcc2 internal prototype to avoid an error. */
13499 /* We use char because int might match the return type of a gcc2 13494 /* We use char because int might match the return type of a gcc2
13500 builtin and then its argument prototype would still apply. */ 13495 builtin and then its argument prototype would still apply. */
13501 char tgetent(); 13496 char tgetent();
13502 13497
13503 int main() { 13498 int main() {
13504 tgetent() 13499 tgetent()
13505 ; return 0; } 13500 ; return 0; }
13506 EOF 13501 EOF
13507 if { (eval echo configure:13508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13502 if { (eval echo configure:13503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13508 rm -rf conftest* 13503 rm -rf conftest*
13509 eval "ac_cv_lib_$ac_lib_var=yes" 13504 eval "ac_cv_lib_$ac_lib_var=yes"
13510 else 13505 else
13511 echo "configure: failed program was:" >&5 13506 echo "configure: failed program was:" >&5
13512 cat conftest.$ac_ext >&5 13507 cat conftest.$ac_ext >&5
13520 echo "$ac_t""yes" 1>&6 13515 echo "$ac_t""yes" 1>&6
13521 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 13516 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
13522 else 13517 else
13523 echo "$ac_t""no" 1>&6 13518 echo "$ac_t""no" 1>&6
13524 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 13519 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
13525 echo "configure:13526: checking for tgetent in -ltermcap" >&5 13520 echo "configure:13521: checking for tgetent in -ltermcap" >&5
13526 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 13521 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
13527 13522
13528 xe_check_libs=" -ltermcap " 13523 xe_check_libs=" -ltermcap "
13529 cat > conftest.$ac_ext <<EOF 13524 cat > conftest.$ac_ext <<EOF
13530 #line 13531 "configure" 13525 #line 13526 "configure"
13531 #include "confdefs.h" 13526 #include "confdefs.h"
13532 /* Override any gcc2 internal prototype to avoid an error. */ 13527 /* Override any gcc2 internal prototype to avoid an error. */
13533 /* We use char because int might match the return type of a gcc2 13528 /* We use char because int might match the return type of a gcc2
13534 builtin and then its argument prototype would still apply. */ 13529 builtin and then its argument prototype would still apply. */
13535 char tgetent(); 13530 char tgetent();
13536 13531
13537 int main() { 13532 int main() {
13538 tgetent() 13533 tgetent()
13539 ; return 0; } 13534 ; return 0; }
13540 EOF 13535 EOF
13541 if { (eval echo configure:13542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13536 if { (eval echo configure:13537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13542 rm -rf conftest* 13537 rm -rf conftest*
13543 eval "ac_cv_lib_$ac_lib_var=yes" 13538 eval "ac_cv_lib_$ac_lib_var=yes"
13544 else 13539 else
13545 echo "configure: failed program was:" >&5 13540 echo "configure: failed program was:" >&5
13546 cat conftest.$ac_ext >&5 13541 cat conftest.$ac_ext >&5
13584 } 13579 }
13585 13580
13586 13581
13587 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 13582 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
13588 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 13583 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
13589 echo "configure:13590: checking for gpm.h" >&5 13584 echo "configure:13585: checking for gpm.h" >&5
13590 13585
13591 cat > conftest.$ac_ext <<EOF 13586 cat > conftest.$ac_ext <<EOF
13592 #line 13593 "configure" 13587 #line 13588 "configure"
13593 #include "confdefs.h" 13588 #include "confdefs.h"
13594 #include <gpm.h> 13589 #include <gpm.h>
13595 EOF 13590 EOF
13596 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13597 { (eval echo configure:13598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13592 { (eval echo configure:13593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13598 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13599 if test -z "$ac_err"; then 13594 if test -z "$ac_err"; then
13600 rm -rf conftest* 13595 rm -rf conftest*
13601 eval "ac_cv_header_$ac_safe=yes" 13596 eval "ac_cv_header_$ac_safe=yes"
13602 else 13597 else
13615 with_gpm=no 13610 with_gpm=no
13616 fi 13611 fi
13617 } 13612 }
13618 test -z "$with_gpm" && { 13613 test -z "$with_gpm" && {
13619 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 13614 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
13620 echo "configure:13621: checking for Gpm_Open in -lgpm" >&5 13615 echo "configure:13616: checking for Gpm_Open in -lgpm" >&5
13621 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 13616 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
13622 13617
13623 xe_check_libs=" -lgpm " 13618 xe_check_libs=" -lgpm "
13624 cat > conftest.$ac_ext <<EOF 13619 cat > conftest.$ac_ext <<EOF
13625 #line 13626 "configure" 13620 #line 13621 "configure"
13626 #include "confdefs.h" 13621 #include "confdefs.h"
13627 /* Override any gcc2 internal prototype to avoid an error. */ 13622 /* Override any gcc2 internal prototype to avoid an error. */
13628 /* We use char because int might match the return type of a gcc2 13623 /* We use char because int might match the return type of a gcc2
13629 builtin and then its argument prototype would still apply. */ 13624 builtin and then its argument prototype would still apply. */
13630 char Gpm_Open(); 13625 char Gpm_Open();
13631 13626
13632 int main() { 13627 int main() {
13633 Gpm_Open() 13628 Gpm_Open()
13634 ; return 0; } 13629 ; return 0; }
13635 EOF 13630 EOF
13636 if { (eval echo configure:13637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13631 if { (eval echo configure:13632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13637 rm -rf conftest* 13632 rm -rf conftest*
13638 eval "ac_cv_lib_$ac_lib_var=yes" 13633 eval "ac_cv_lib_$ac_lib_var=yes"
13639 else 13634 else
13640 echo "configure: failed program was:" >&5 13635 echo "configure: failed program was:" >&5
13641 cat conftest.$ac_ext >&5 13636 cat conftest.$ac_ext >&5
13674 done 13669 done
13675 fi 13670 fi
13676 13671
13677 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 13672 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
13678 != "no no no" && echo "checking for database support" 1>&6 13673 != "no no no" && echo "checking for database support" 1>&6
13679 echo "configure:13680: checking for database support" >&5 13674 echo "configure:13675: checking for database support" >&5
13680 13675
13681 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 13676 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
13682 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 13677 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
13683 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 13678 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
13684 echo "configure:13685: checking for ndbm.h" >&5 13679 echo "configure:13680: checking for ndbm.h" >&5
13685 13680
13686 cat > conftest.$ac_ext <<EOF 13681 cat > conftest.$ac_ext <<EOF
13687 #line 13688 "configure" 13682 #line 13683 "configure"
13688 #include "confdefs.h" 13683 #include "confdefs.h"
13689 #include <ndbm.h> 13684 #include <ndbm.h>
13690 EOF 13685 EOF
13691 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13692 { (eval echo configure:13693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13687 { (eval echo configure:13688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13693 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13694 if test -z "$ac_err"; then 13689 if test -z "$ac_err"; then
13695 rm -rf conftest* 13690 rm -rf conftest*
13696 eval "ac_cv_header_$ac_safe=yes" 13691 eval "ac_cv_header_$ac_safe=yes"
13697 else 13692 else
13717 fi 13712 fi
13718 13713
13719 if test "$with_database_gdbm" != "no"; then 13714 if test "$with_database_gdbm" != "no"; then
13720 13715
13721 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 13716 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
13722 echo "configure:13723: checking for dbm_open in -lgdbm" >&5 13717 echo "configure:13718: checking for dbm_open in -lgdbm" >&5
13723 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 13718 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
13724 13719
13725 xe_check_libs=" -lgdbm " 13720 xe_check_libs=" -lgdbm "
13726 cat > conftest.$ac_ext <<EOF 13721 cat > conftest.$ac_ext <<EOF
13727 #line 13728 "configure" 13722 #line 13723 "configure"
13728 #include "confdefs.h" 13723 #include "confdefs.h"
13729 /* Override any gcc2 internal prototype to avoid an error. */ 13724 /* Override any gcc2 internal prototype to avoid an error. */
13730 /* We use char because int might match the return type of a gcc2 13725 /* We use char because int might match the return type of a gcc2
13731 builtin and then its argument prototype would still apply. */ 13726 builtin and then its argument prototype would still apply. */
13732 char dbm_open(); 13727 char dbm_open();
13733 13728
13734 int main() { 13729 int main() {
13735 dbm_open() 13730 dbm_open()
13736 ; return 0; } 13731 ; return 0; }
13737 EOF 13732 EOF
13738 if { (eval echo configure:13739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13733 if { (eval echo configure:13734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13739 rm -rf conftest* 13734 rm -rf conftest*
13740 eval "ac_cv_lib_$ac_lib_var=yes" 13735 eval "ac_cv_lib_$ac_lib_var=yes"
13741 else 13736 else
13742 echo "configure: failed program was:" >&5 13737 echo "configure: failed program was:" >&5
13743 cat conftest.$ac_ext >&5 13738 cat conftest.$ac_ext >&5
13761 13756
13762 fi 13757 fi
13763 13758
13764 if test "$with_database_dbm" != "no"; then 13759 if test "$with_database_dbm" != "no"; then
13765 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 13760 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
13766 echo "configure:13767: checking for dbm_open" >&5 13761 echo "configure:13762: checking for dbm_open" >&5
13767 13762
13768 cat > conftest.$ac_ext <<EOF 13763 cat > conftest.$ac_ext <<EOF
13769 #line 13770 "configure" 13764 #line 13765 "configure"
13770 #include "confdefs.h" 13765 #include "confdefs.h"
13771 /* System header to define __stub macros and hopefully few prototypes, 13766 /* System header to define __stub macros and hopefully few prototypes,
13772 which can conflict with char dbm_open(); below. */ 13767 which can conflict with char dbm_open(); below. */
13773 #include <assert.h> 13768 #include <assert.h>
13774 /* Override any gcc2 internal prototype to avoid an error. */ 13769 /* Override any gcc2 internal prototype to avoid an error. */
13787 dbm_open(); 13782 dbm_open();
13788 #endif 13783 #endif
13789 13784
13790 ; return 0; } 13785 ; return 0; }
13791 EOF 13786 EOF
13792 if { (eval echo configure:13793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13787 if { (eval echo configure:13788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13793 rm -rf conftest* 13788 rm -rf conftest*
13794 eval "ac_cv_func_dbm_open=yes" 13789 eval "ac_cv_func_dbm_open=yes"
13795 else 13790 else
13796 echo "configure: failed program was:" >&5 13791 echo "configure: failed program was:" >&5
13797 cat conftest.$ac_ext >&5 13792 cat conftest.$ac_ext >&5
13806 else 13801 else
13807 echo "$ac_t""no" 1>&6 13802 echo "$ac_t""no" 1>&6
13808 13803
13809 13804
13810 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 13805 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
13811 echo "configure:13812: checking for dbm_open in -ldbm" >&5 13806 echo "configure:13807: checking for dbm_open in -ldbm" >&5
13812 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 13807 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
13813 13808
13814 xe_check_libs=" -ldbm " 13809 xe_check_libs=" -ldbm "
13815 cat > conftest.$ac_ext <<EOF 13810 cat > conftest.$ac_ext <<EOF
13816 #line 13817 "configure" 13811 #line 13812 "configure"
13817 #include "confdefs.h" 13812 #include "confdefs.h"
13818 /* Override any gcc2 internal prototype to avoid an error. */ 13813 /* Override any gcc2 internal prototype to avoid an error. */
13819 /* We use char because int might match the return type of a gcc2 13814 /* We use char because int might match the return type of a gcc2
13820 builtin and then its argument prototype would still apply. */ 13815 builtin and then its argument prototype would still apply. */
13821 char dbm_open(); 13816 char dbm_open();
13822 13817
13823 int main() { 13818 int main() {
13824 dbm_open() 13819 dbm_open()
13825 ; return 0; } 13820 ; return 0; }
13826 EOF 13821 EOF
13827 if { (eval echo configure:13828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13822 if { (eval echo configure:13823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13828 rm -rf conftest* 13823 rm -rf conftest*
13829 eval "ac_cv_lib_$ac_lib_var=yes" 13824 eval "ac_cv_lib_$ac_lib_var=yes"
13830 else 13825 else
13831 echo "configure: failed program was:" >&5 13826 echo "configure: failed program was:" >&5
13832 cat conftest.$ac_ext >&5 13827 cat conftest.$ac_ext >&5
13863 } 13858 }
13864 13859
13865 13860
13866 if test "$with_database_berkdb" != "no"; then 13861 if test "$with_database_berkdb" != "no"; then
13867 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 13862 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
13868 echo "configure:13869: checking for Berkeley db.h" >&5 13863 echo "configure:13864: checking for Berkeley db.h" >&5
13869 for header in "db/db.h" "db.h"; do 13864 for header in "db/db.h" "db.h"; do
13870 cat > conftest.$ac_ext <<EOF 13865 cat > conftest.$ac_ext <<EOF
13871 #line 13872 "configure" 13866 #line 13867 "configure"
13872 #include "confdefs.h" 13867 #include "confdefs.h"
13873 13868
13874 #include <stdlib.h> 13869 #include <stdlib.h>
13875 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 13870 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
13876 #ifdef HAVE_INTTYPES_H 13871 #ifdef HAVE_INTTYPES_H
13888 13883
13889 int main() { 13884 int main() {
13890 13885
13891 ; return 0; } 13886 ; return 0; }
13892 EOF 13887 EOF
13893 if { (eval echo configure:13894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13888 if { (eval echo configure:13889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13894 rm -rf conftest* 13889 rm -rf conftest*
13895 db_h_file="$header"; break 13890 db_h_file="$header"; break
13896 else 13891 else
13897 echo "configure: failed program was:" >&5 13892 echo "configure: failed program was:" >&5
13898 cat conftest.$ac_ext >&5 13893 cat conftest.$ac_ext >&5
13904 else echo "$ac_t""$db_h_file" 1>&6 13899 else echo "$ac_t""$db_h_file" 1>&6
13905 fi 13900 fi
13906 13901
13907 if test "$with_database_berkdb" != "no"; then 13902 if test "$with_database_berkdb" != "no"; then
13908 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 13903 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
13909 echo "configure:13910: checking for Berkeley DB version" >&5 13904 echo "configure:13905: checking for Berkeley DB version" >&5
13910 cat > conftest.$ac_ext <<EOF 13905 cat > conftest.$ac_ext <<EOF
13911 #line 13912 "configure" 13906 #line 13907 "configure"
13912 #include "confdefs.h" 13907 #include "confdefs.h"
13913 #include <$db_h_file> 13908 #include <$db_h_file>
13914 #if DB_VERSION_MAJOR > 1 13909 #if DB_VERSION_MAJOR > 1
13915 yes 13910 yes
13916 #endif 13911 #endif
13918 EOF 13913 EOF
13919 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13920 egrep "yes" >/dev/null 2>&1; then 13915 egrep "yes" >/dev/null 2>&1; then
13921 rm -rf conftest* 13916 rm -rf conftest*
13922 cat > conftest.$ac_ext <<EOF 13917 cat > conftest.$ac_ext <<EOF
13923 #line 13924 "configure" 13918 #line 13919 "configure"
13924 #include "confdefs.h" 13919 #include "confdefs.h"
13925 #include <$db_h_file> 13920 #include <$db_h_file>
13926 #if DB_VERSION_MAJOR > 2 13921 #if DB_VERSION_MAJOR > 2
13927 yes 13922 yes
13928 #endif 13923 #endif
13945 echo "$ac_t""1" 1>&6; dbfunc=dbopen 13940 echo "$ac_t""1" 1>&6; dbfunc=dbopen
13946 fi 13941 fi
13947 rm -f conftest* 13942 rm -f conftest*
13948 13943
13949 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 13944 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
13950 echo "configure:13951: checking for $dbfunc" >&5 13945 echo "configure:13946: checking for $dbfunc" >&5
13951 13946
13952 cat > conftest.$ac_ext <<EOF 13947 cat > conftest.$ac_ext <<EOF
13953 #line 13954 "configure" 13948 #line 13949 "configure"
13954 #include "confdefs.h" 13949 #include "confdefs.h"
13955 /* System header to define __stub macros and hopefully few prototypes, 13950 /* System header to define __stub macros and hopefully few prototypes,
13956 which can conflict with char $dbfunc(); below. */ 13951 which can conflict with char $dbfunc(); below. */
13957 #include <assert.h> 13952 #include <assert.h>
13958 /* Override any gcc2 internal prototype to avoid an error. */ 13953 /* Override any gcc2 internal prototype to avoid an error. */
13971 $dbfunc(); 13966 $dbfunc();
13972 #endif 13967 #endif
13973 13968
13974 ; return 0; } 13969 ; return 0; }
13975 EOF 13970 EOF
13976 if { (eval echo configure:13977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13971 if { (eval echo configure:13972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13977 rm -rf conftest* 13972 rm -rf conftest*
13978 eval "ac_cv_func_$dbfunc=yes" 13973 eval "ac_cv_func_$dbfunc=yes"
13979 else 13974 else
13980 echo "configure: failed program was:" >&5 13975 echo "configure: failed program was:" >&5
13981 cat conftest.$ac_ext >&5 13976 cat conftest.$ac_ext >&5
13990 else 13985 else
13991 echo "$ac_t""no" 1>&6 13986 echo "$ac_t""no" 1>&6
13992 13987
13993 13988
13994 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 13989 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
13995 echo "configure:13996: checking for $dbfunc in -ldb" >&5 13990 echo "configure:13991: checking for $dbfunc in -ldb" >&5
13996 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 13991 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
13997 13992
13998 xe_check_libs=" -ldb " 13993 xe_check_libs=" -ldb "
13999 cat > conftest.$ac_ext <<EOF 13994 cat > conftest.$ac_ext <<EOF
14000 #line 14001 "configure" 13995 #line 13996 "configure"
14001 #include "confdefs.h" 13996 #include "confdefs.h"
14002 /* Override any gcc2 internal prototype to avoid an error. */ 13997 /* Override any gcc2 internal prototype to avoid an error. */
14003 /* We use char because int might match the return type of a gcc2 13998 /* We use char because int might match the return type of a gcc2
14004 builtin and then its argument prototype would still apply. */ 13999 builtin and then its argument prototype would still apply. */
14005 char $dbfunc(); 14000 char $dbfunc();
14006 14001
14007 int main() { 14002 int main() {
14008 $dbfunc() 14003 $dbfunc()
14009 ; return 0; } 14004 ; return 0; }
14010 EOF 14005 EOF
14011 if { (eval echo configure:14012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14006 if { (eval echo configure:14007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14012 rm -rf conftest* 14007 rm -rf conftest*
14013 eval "ac_cv_lib_$ac_lib_var=yes" 14008 eval "ac_cv_lib_$ac_lib_var=yes"
14014 else 14009 else
14015 echo "configure: failed program was:" >&5 14010 echo "configure: failed program was:" >&5
14016 cat conftest.$ac_ext >&5 14011 cat conftest.$ac_ext >&5
14067 fi 14062 fi
14068 14063
14069 if test "$with_socks" = "yes"; then 14064 if test "$with_socks" = "yes"; then
14070 14065
14071 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 14066 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
14072 echo "configure:14073: checking for SOCKSinit in -lsocks" >&5 14067 echo "configure:14068: checking for SOCKSinit in -lsocks" >&5
14073 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 14068 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
14074 14069
14075 xe_check_libs=" -lsocks " 14070 xe_check_libs=" -lsocks "
14076 cat > conftest.$ac_ext <<EOF 14071 cat > conftest.$ac_ext <<EOF
14077 #line 14078 "configure" 14072 #line 14073 "configure"
14078 #include "confdefs.h" 14073 #include "confdefs.h"
14079 /* Override any gcc2 internal prototype to avoid an error. */ 14074 /* Override any gcc2 internal prototype to avoid an error. */
14080 /* We use char because int might match the return type of a gcc2 14075 /* We use char because int might match the return type of a gcc2
14081 builtin and then its argument prototype would still apply. */ 14076 builtin and then its argument prototype would still apply. */
14082 char SOCKSinit(); 14077 char SOCKSinit();
14083 14078
14084 int main() { 14079 int main() {
14085 SOCKSinit() 14080 SOCKSinit()
14086 ; return 0; } 14081 ; return 0; }
14087 EOF 14082 EOF
14088 if { (eval echo configure:14089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14083 if { (eval echo configure:14084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14089 rm -rf conftest* 14084 rm -rf conftest*
14090 eval "ac_cv_lib_$ac_lib_var=yes" 14085 eval "ac_cv_lib_$ac_lib_var=yes"
14091 else 14086 else
14092 echo "configure: failed program was:" >&5 14087 echo "configure: failed program was:" >&5
14093 cat conftest.$ac_ext >&5 14088 cat conftest.$ac_ext >&5
14138 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi 14133 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi
14139 fi 14134 fi
14140 14135
14141 if test "$with_modules" != "no"; then 14136 if test "$with_modules" != "no"; then
14142 echo "checking for module support" 1>&6 14137 echo "checking for module support" 1>&6
14143 echo "configure:14144: checking for module support" >&5 14138 echo "configure:14139: checking for module support" >&5
14144 14139
14145 if test "$with_msw" = "yes"; then 14140 if test "$with_msw" = "yes"; then
14146 have_dl=yes; 14141 have_dl=yes;
14147 else 14142 else
14148 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 14143 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
14149 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 14144 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
14150 echo "configure:14151: checking for dlfcn.h" >&5 14145 echo "configure:14146: checking for dlfcn.h" >&5
14151 14146
14152 cat > conftest.$ac_ext <<EOF 14147 cat > conftest.$ac_ext <<EOF
14153 #line 14154 "configure" 14148 #line 14149 "configure"
14154 #include "confdefs.h" 14149 #include "confdefs.h"
14155 #include <dlfcn.h> 14150 #include <dlfcn.h>
14156 EOF 14151 EOF
14157 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14158 { (eval echo configure:14159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14153 { (eval echo configure:14154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14159 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14160 if test -z "$ac_err"; then 14155 if test -z "$ac_err"; then
14161 rm -rf conftest* 14156 rm -rf conftest*
14162 eval "ac_cv_header_$ac_safe=yes" 14157 eval "ac_cv_header_$ac_safe=yes"
14163 else 14158 else
14170 rm -f conftest* 14165 rm -f conftest*
14171 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14166 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14172 echo "$ac_t""yes" 1>&6 14167 echo "$ac_t""yes" 1>&6
14173 14168
14174 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 14169 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
14175 echo "configure:14176: checking for dlopen in -lc" >&5 14170 echo "configure:14171: checking for dlopen in -lc" >&5
14176 cat > conftest.$ac_ext <<EOF 14171 cat > conftest.$ac_ext <<EOF
14177 #line 14178 "configure" 14172 #line 14173 "configure"
14178 #include "confdefs.h" 14173 #include "confdefs.h"
14179 #include <dlfcn.h> 14174 #include <dlfcn.h>
14180 int main() { 14175 int main() {
14181 dlopen ("", 0); 14176 dlopen ("", 0);
14182 ; return 0; } 14177 ; return 0; }
14183 EOF 14178 EOF
14184 if { (eval echo configure:14185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14179 if { (eval echo configure:14180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14185 rm -rf conftest* 14180 rm -rf conftest*
14186 have_dl=yes 14181 have_dl=yes
14187 else 14182 else
14188 echo "configure: failed program was:" >&5 14183 echo "configure: failed program was:" >&5
14189 cat conftest.$ac_ext >&5 14184 cat conftest.$ac_ext >&5
14190 rm -rf conftest* 14185 rm -rf conftest*
14191 14186
14192 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 14187 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
14193 echo "configure:14194: checking for dlopen in -ldl" >&5 14188 echo "configure:14189: checking for dlopen in -ldl" >&5
14194 ac_save_LIBS="$LIBS" 14189 ac_save_LIBS="$LIBS"
14195 LIBS="-ldl $LIBS" 14190 LIBS="-ldl $LIBS"
14196 cat > conftest.$ac_ext <<EOF 14191 cat > conftest.$ac_ext <<EOF
14197 #line 14198 "configure" 14192 #line 14193 "configure"
14198 #include "confdefs.h" 14193 #include "confdefs.h"
14199 #include <dlfcn.h> 14194 #include <dlfcn.h>
14200 int main() { 14195 int main() {
14201 dlopen ("", 0); 14196 dlopen ("", 0);
14202 ; return 0; } 14197 ; return 0; }
14203 EOF 14198 EOF
14204 if { (eval echo configure:14205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14199 if { (eval echo configure:14200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14205 rm -rf conftest* 14200 rm -rf conftest*
14206 have_dl=yes 14201 have_dl=yes
14207 else 14202 else
14208 echo "configure: failed program was:" >&5 14203 echo "configure: failed program was:" >&5
14209 cat conftest.$ac_ext >&5 14204 cat conftest.$ac_ext >&5
14228 } 14223 }
14229 14224
14230 else 14225 else
14231 14226
14232 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 14227 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
14233 echo "configure:14234: checking for shl_load in -ldld" >&5 14228 echo "configure:14229: checking for shl_load in -ldld" >&5
14234 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 14229 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
14235 14230
14236 xe_check_libs=" -ldld " 14231 xe_check_libs=" -ldld "
14237 cat > conftest.$ac_ext <<EOF 14232 cat > conftest.$ac_ext <<EOF
14238 #line 14239 "configure" 14233 #line 14234 "configure"
14239 #include "confdefs.h" 14234 #include "confdefs.h"
14240 /* Override any gcc2 internal prototype to avoid an error. */ 14235 /* Override any gcc2 internal prototype to avoid an error. */
14241 /* We use char because int might match the return type of a gcc2 14236 /* We use char because int might match the return type of a gcc2
14242 builtin and then its argument prototype would still apply. */ 14237 builtin and then its argument prototype would still apply. */
14243 char shl_load(); 14238 char shl_load();
14244 14239
14245 int main() { 14240 int main() {
14246 shl_load() 14241 shl_load()
14247 ; return 0; } 14242 ; return 0; }
14248 EOF 14243 EOF
14249 if { (eval echo configure:14250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14244 if { (eval echo configure:14245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14250 rm -rf conftest* 14245 rm -rf conftest*
14251 eval "ac_cv_lib_$ac_lib_var=yes" 14246 eval "ac_cv_lib_$ac_lib_var=yes"
14252 else 14247 else
14253 echo "configure: failed program was:" >&5 14248 echo "configure: failed program was:" >&5
14254 cat conftest.$ac_ext >&5 14249 cat conftest.$ac_ext >&5
14271 14266
14272 else 14267 else
14273 echo "$ac_t""no" 1>&6 14268 echo "$ac_t""no" 1>&6
14274 14269
14275 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 14270 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6
14276 echo "configure:14277: checking for dld_init in -ldld" >&5 14271 echo "configure:14272: checking for dld_init in -ldld" >&5
14277 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` 14272 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'`
14278 14273
14279 xe_check_libs=" -ldld " 14274 xe_check_libs=" -ldld "
14280 cat > conftest.$ac_ext <<EOF 14275 cat > conftest.$ac_ext <<EOF
14281 #line 14282 "configure" 14276 #line 14277 "configure"
14282 #include "confdefs.h" 14277 #include "confdefs.h"
14283 /* Override any gcc2 internal prototype to avoid an error. */ 14278 /* Override any gcc2 internal prototype to avoid an error. */
14284 /* We use char because int might match the return type of a gcc2 14279 /* We use char because int might match the return type of a gcc2
14285 builtin and then its argument prototype would still apply. */ 14280 builtin and then its argument prototype would still apply. */
14286 char dld_init(); 14281 char dld_init();
14287 14282
14288 int main() { 14283 int main() {
14289 dld_init() 14284 dld_init()
14290 ; return 0; } 14285 ; return 0; }
14291 EOF 14286 EOF
14292 if { (eval echo configure:14293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14287 if { (eval echo configure:14288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14293 rm -rf conftest* 14288 rm -rf conftest*
14294 eval "ac_cv_lib_$ac_lib_var=yes" 14289 eval "ac_cv_lib_$ac_lib_var=yes"
14295 else 14290 else
14296 echo "configure: failed program was:" >&5 14291 echo "configure: failed program was:" >&5
14297 cat conftest.$ac_ext >&5 14292 cat conftest.$ac_ext >&5
14332 ld_dynamic_link_flags= 14327 ld_dynamic_link_flags=
14333 xehost=$canonical 14328 xehost=$canonical
14334 xealias=$internal_configuration 14329 xealias=$internal_configuration
14335 14330
14336 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 14331 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
14337 echo "configure:14338: checking how to build dynamic libraries for ${xehost}" >&5 14332 echo "configure:14333: checking how to build dynamic libraries for ${xehost}" >&5
14338 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 14333 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
14339 case "$xehost" in 14334 case "$xehost" in
14340 *-*-linux-gnu*) ;; 14335 *-*-linux-gnu*) ;;
14341 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 14336 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
14342 esac 14337 esac
14360 # Now see if the compiler is really GCC. 14355 # Now see if the compiler is really GCC.
14361 if test "$GCC" = "yes"; then 14356 if test "$GCC" = "yes"; then
14362 XEGCC=yes 14357 XEGCC=yes
14363 else 14358 else
14364 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 14359 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6
14365 echo "configure:14366: checking checking whether we are using GNU C" >&5 14360 echo "configure:14361: checking checking whether we are using GNU C" >&5
14366 cat > conftest.$ac_ext <<EOF 14361 cat > conftest.$ac_ext <<EOF
14367 #line 14368 "configure" 14362 #line 14363 "configure"
14368 #include "confdefs.h" 14363 #include "confdefs.h"
14369 14364
14370 #ifdef __GNUC__ 14365 #ifdef __GNUC__
14371 yes; 14366 yes;
14372 #endif 14367 #endif
14384 14379
14385 echo "$ac_t""${XEGCC}" 1>&6 14380 echo "$ac_t""${XEGCC}" 1>&6
14386 fi 14381 fi
14387 14382
14388 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 14383 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6
14389 echo "configure:14390: checking how to produce PIC code" >&5 14384 echo "configure:14385: checking how to produce PIC code" >&5
14390 wl= 14385 wl=
14391 14386
14392 can_build_shared=yes 14387 can_build_shared=yes
14393 if test "$XEGCC" = yes; then 14388 if test "$XEGCC" = yes; then
14394 wl='-Wl,' 14389 wl='-Wl,'
14485 if test -n "$dll_cflags"; then 14480 if test -n "$dll_cflags"; then
14486 echo "$ac_t""${dll_cflags}" 1>&6 14481 echo "$ac_t""${dll_cflags}" 1>&6
14487 14482
14488 # Check to make sure the dll_cflags actually works. 14483 # Check to make sure the dll_cflags actually works.
14489 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 14484 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6
14490 echo "configure:14491: checking if PIC flag ${dll_cflags} really works" >&5 14485 echo "configure:14486: checking if PIC flag ${dll_cflags} really works" >&5
14491 save_CFLAGS="$CFLAGS" 14486 save_CFLAGS="$CFLAGS"
14492 CFLAGS="$CFLAGS $dll_cflags -DPIC" 14487 CFLAGS="$CFLAGS $dll_cflags -DPIC"
14493 cat > conftest.$ac_ext <<EOF 14488 cat > conftest.$ac_ext <<EOF
14494 #line 14495 "configure" 14489 #line 14490 "configure"
14495 #include "confdefs.h" 14490 #include "confdefs.h"
14496 14491
14497 int main() { 14492 int main() {
14498 int x=0; 14493 int x=0;
14499 ; return 0; } 14494 ; return 0; }
14500 EOF 14495 EOF
14501 if { (eval echo configure:14502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 14496 if { (eval echo configure:14497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14502 rm -rf conftest* 14497 rm -rf conftest*
14503 14498
14504 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also 14499 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also
14505 # reports no error. So, we need to grep stderr for (Bundled). 14500 # reports no error. So, we need to grep stderr for (Bundled).
14506 if grep '(Bundled)' config.log >/dev/null; then 14501 if grep '(Bundled)' config.log >/dev/null; then
14527 if test "$can_build_shared" = "yes"; then 14522 if test "$can_build_shared" = "yes"; then
14528 cc_produces_so=no 14523 cc_produces_so=no
14529 xldf= 14524 xldf=
14530 xcldf= 14525 xcldf=
14531 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 14526 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6
14532 echo "configure:14533: checking if C compiler can produce shared libraries" >&5 14527 echo "configure:14528: checking if C compiler can produce shared libraries" >&5
14533 if test "$XEGCC" = yes; then 14528 if test "$XEGCC" = yes; then
14534 xcldf="-shared" 14529 xcldf="-shared"
14535 xldf="-shared" 14530 xldf="-shared"
14536 else # Not using GCC 14531 else # Not using GCC
14537 case "$xehost_os" in 14532 case "$xehost_os" in
14578 LDFLAGS="$xcldf $LDFLAGS" 14573 LDFLAGS="$xcldf $LDFLAGS"
14579 LIBS= 14574 LIBS=
14580 xe_libs= 14575 xe_libs=
14581 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 14576 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
14582 cat > conftest.$ac_ext <<EOF 14577 cat > conftest.$ac_ext <<EOF
14583 #line 14584 "configure" 14578 #line 14579 "configure"
14584 #include "confdefs.h" 14579 #include "confdefs.h"
14585 14580
14586 int main() { 14581 int main() {
14587 int x=0; 14582 int x=0;
14588 ; return 0; } 14583 ; return 0; }
14589 EOF 14584 EOF
14590 if { (eval echo configure:14591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14585 if { (eval echo configure:14586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14591 rm -rf conftest* 14586 rm -rf conftest*
14592 cc_produces_so=yes 14587 cc_produces_so=yes
14593 else 14588 else
14594 echo "configure: failed program was:" >&5 14589 echo "configure: failed program was:" >&5
14595 cat conftest.$ac_ext >&5 14590 cat conftest.$ac_ext >&5
14610 if test -z "$LTLD"; then 14605 if test -z "$LTLD"; then
14611 ac_prog=ld 14606 ac_prog=ld
14612 if test "$XEGCC" = yes; then 14607 if test "$XEGCC" = yes; then
14613 # Check if gcc -print-prog-name=ld gives a path. 14608 # Check if gcc -print-prog-name=ld gives a path.
14614 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 14609 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
14615 echo "configure:14616: checking for ld used by GCC" >&5 14610 echo "configure:14611: checking for ld used by GCC" >&5
14616 ac_prog=`($CC -print-prog-name=ld) 2>&5` 14611 ac_prog=`($CC -print-prog-name=ld) 2>&5`
14617 case "$ac_prog" in 14612 case "$ac_prog" in
14618 # Accept absolute paths. 14613 # Accept absolute paths.
14619 /*) 14614 /*)
14620 if test -z "$LTLD"; then 14615 if test -z "$LTLD"; then
14636 with_gnu_ld=unknown 14631 with_gnu_ld=unknown
14637 ;; 14632 ;;
14638 esac 14633 esac
14639 else 14634 else
14640 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 14635 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
14641 echo "configure:14642: checking for GNU ld" >&5 14636 echo "configure:14637: checking for GNU ld" >&5
14642 fi 14637 fi
14643 14638
14644 if test -z "$LTLD"; then 14639 if test -z "$LTLD"; then
14645 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14640 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14646 for ac_dir in $PATH; do 14641 for ac_dir in $PATH; do
14674 14669
14675 ld_dynamic_link_flags= 14670 ld_dynamic_link_flags=
14676 14671
14677 # Check to see if it really is or isn't GNU ld. 14672 # Check to see if it really is or isn't GNU ld.
14678 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 14673 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6
14679 echo "configure:14680: checking if the linker is GNU ld" >&5 14674 echo "configure:14675: checking if the linker is GNU ld" >&5
14680 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 14675 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14681 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 14676 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
14682 xe_gnu_ld=yes 14677 xe_gnu_ld=yes
14683 else 14678 else
14684 xe_gnu_ld=no 14679 xe_gnu_ld=no
14702 ld_shlibs=yes 14697 ld_shlibs=yes
14703 else 14698 else
14704 # OK - only NOW do we futz about with ld. 14699 # OK - only NOW do we futz about with ld.
14705 # See if the linker supports building shared libraries. 14700 # See if the linker supports building shared libraries.
14706 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 14701 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6
14707 echo "configure:14708: checking whether the linker supports shared libraries" >&5 14702 echo "configure:14703: checking whether the linker supports shared libraries" >&5
14708 dll_ld=$CC 14703 dll_ld=$CC
14709 dll_ldflags=$LDFLAGS 14704 dll_ldflags=$LDFLAGS
14710 ld_shlibs=yes 14705 ld_shlibs=yes
14711 can_build_shared=yes 14706 can_build_shared=yes
14712 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then 14707 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
14910 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 14905 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
14911 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 14906 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
14912 for ac_func in dlerror _dlerror 14907 for ac_func in dlerror _dlerror
14913 do 14908 do
14914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 14909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14915 echo "configure:14916: checking for $ac_func" >&5 14910 echo "configure:14911: checking for $ac_func" >&5
14916 14911
14917 cat > conftest.$ac_ext <<EOF 14912 cat > conftest.$ac_ext <<EOF
14918 #line 14919 "configure" 14913 #line 14914 "configure"
14919 #include "confdefs.h" 14914 #include "confdefs.h"
14920 /* System header to define __stub macros and hopefully few prototypes, 14915 /* System header to define __stub macros and hopefully few prototypes,
14921 which can conflict with char $ac_func(); below. */ 14916 which can conflict with char $ac_func(); below. */
14922 #include <assert.h> 14917 #include <assert.h>
14923 /* Override any gcc2 internal prototype to avoid an error. */ 14918 /* Override any gcc2 internal prototype to avoid an error. */
14936 $ac_func(); 14931 $ac_func();
14937 #endif 14932 #endif
14938 14933
14939 ; return 0; } 14934 ; return 0; }
14940 EOF 14935 EOF
14941 if { (eval echo configure:14942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14936 if { (eval echo configure:14937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14942 rm -rf conftest* 14937 rm -rf conftest*
14943 eval "ac_cv_func_$ac_func=yes" 14938 eval "ac_cv_func_$ac_func=yes"
14944 else 14939 else
14945 echo "configure: failed program was:" >&5 14940 echo "configure: failed program was:" >&5
14946 cat conftest.$ac_ext >&5 14941 cat conftest.$ac_ext >&5
14975 with_modules=no 14970 with_modules=no
14976 fi 14971 fi
14977 fi 14972 fi
14978 14973
14979 cat > conftest.$ac_ext <<EOF 14974 cat > conftest.$ac_ext <<EOF
14980 #line 14981 "configure" 14975 #line 14976 "configure"
14981 #include "confdefs.h" 14976 #include "confdefs.h"
14982 int main(int c,char *v[]){return 0;} 14977 int main(int c,char *v[]){return 0;}
14983 EOF 14978 EOF
14984 if { (eval echo configure:14985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 14979 if { (eval echo configure:14980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
14985 then 14980 then
14986 : 14981 :
14987 else 14982 else
14988 conftest_rc="$?" 14983 conftest_rc="$?"
14989 echo "configure: failed program was:" >&5 14984 echo "configure: failed program was:" >&5