Mercurial > hg > xemacs-beta
comparison configure @ 1707:fca75a427ae3
[xemacs-hg @ 2003-09-22 03:22:14 by james]
Second commit to get the toplevel stuff.
author | james |
---|---|
date | Mon, 22 Sep 2003 03:22:16 +0000 |
parents | 7032283c28db |
children | cf42e3b47b41 |
comparison
equal
deleted
inserted
replaced
1706:9fc738581a9d | 1707:fca75a427ae3 |
---|---|
4642 | 4642 |
4643 cat > conftest.$ac_ext <<EOF | 4643 cat > conftest.$ac_ext <<EOF |
4644 #line 4645 "configure" | 4644 #line 4645 "configure" |
4645 #include "confdefs.h" | 4645 #include "confdefs.h" |
4646 #include <stdio.h> | 4646 #include <stdio.h> |
4647 main() | 4647 int main() |
4648 { | 4648 { |
4649 FILE *f=fopen("conftestval", "w"); | 4649 FILE *f=fopen("conftestval", "w"); |
4650 if (!f) exit(1); | 4650 if (!f) return(1); |
4651 fprintf(f, "%d\n", sizeof(short)); | 4651 fprintf(f, "%d\n", sizeof(short)); |
4652 exit(0); | 4652 return(0); |
4653 } | 4653 } |
4654 EOF | 4654 EOF |
4655 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4655 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4656 then | 4656 then |
4657 ac_cv_sizeof_short=`cat conftestval` | 4657 ac_cv_sizeof_short=`cat conftestval` |
4684 | 4684 |
4685 cat > conftest.$ac_ext <<EOF | 4685 cat > conftest.$ac_ext <<EOF |
4686 #line 4687 "configure" | 4686 #line 4687 "configure" |
4687 #include "confdefs.h" | 4687 #include "confdefs.h" |
4688 #include <stdio.h> | 4688 #include <stdio.h> |
4689 main() | 4689 int main() |
4690 { | 4690 { |
4691 FILE *f=fopen("conftestval", "w"); | 4691 FILE *f=fopen("conftestval", "w"); |
4692 if (!f) exit(1); | 4692 if (!f) return(1); |
4693 fprintf(f, "%d\n", sizeof(int)); | 4693 fprintf(f, "%d\n", sizeof(int)); |
4694 exit(0); | 4694 return(0); |
4695 } | 4695 } |
4696 EOF | 4696 EOF |
4697 if { (eval echo configure:4698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4697 if { (eval echo configure:4698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4698 then | 4698 then |
4699 ac_cv_sizeof_int=`cat conftestval` | 4699 ac_cv_sizeof_int=`cat conftestval` |
4720 | 4720 |
4721 cat > conftest.$ac_ext <<EOF | 4721 cat > conftest.$ac_ext <<EOF |
4722 #line 4723 "configure" | 4722 #line 4723 "configure" |
4723 #include "confdefs.h" | 4723 #include "confdefs.h" |
4724 #include <stdio.h> | 4724 #include <stdio.h> |
4725 main() | 4725 int main() |
4726 { | 4726 { |
4727 FILE *f=fopen("conftestval", "w"); | 4727 FILE *f=fopen("conftestval", "w"); |
4728 if (!f) exit(1); | 4728 if (!f) return(1); |
4729 fprintf(f, "%d\n", sizeof(long)); | 4729 fprintf(f, "%d\n", sizeof(long)); |
4730 exit(0); | 4730 return(0); |
4731 } | 4731 } |
4732 EOF | 4732 EOF |
4733 if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4733 if { (eval echo configure:4734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4734 then | 4734 then |
4735 ac_cv_sizeof_long=`cat conftestval` | 4735 ac_cv_sizeof_long=`cat conftestval` |
4756 | 4756 |
4757 cat > conftest.$ac_ext <<EOF | 4757 cat > conftest.$ac_ext <<EOF |
4758 #line 4759 "configure" | 4758 #line 4759 "configure" |
4759 #include "confdefs.h" | 4759 #include "confdefs.h" |
4760 #include <stdio.h> | 4760 #include <stdio.h> |
4761 main() | 4761 int main() |
4762 { | 4762 { |
4763 FILE *f=fopen("conftestval", "w"); | 4763 FILE *f=fopen("conftestval", "w"); |
4764 if (!f) exit(1); | 4764 if (!f) return(1); |
4765 fprintf(f, "%d\n", sizeof(long long)); | 4765 fprintf(f, "%d\n", sizeof(long long)); |
4766 exit(0); | 4766 return(0); |
4767 } | 4767 } |
4768 EOF | 4768 EOF |
4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4769 if { (eval echo configure:4770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4770 then | 4770 then |
4771 ac_cv_sizeof_long_long=`cat conftestval` | 4771 ac_cv_sizeof_long_long=`cat conftestval` |
4792 | 4792 |
4793 cat > conftest.$ac_ext <<EOF | 4793 cat > conftest.$ac_ext <<EOF |
4794 #line 4795 "configure" | 4794 #line 4795 "configure" |
4795 #include "confdefs.h" | 4795 #include "confdefs.h" |
4796 #include <stdio.h> | 4796 #include <stdio.h> |
4797 main() | 4797 int main() |
4798 { | 4798 { |
4799 FILE *f=fopen("conftestval", "w"); | 4799 FILE *f=fopen("conftestval", "w"); |
4800 if (!f) exit(1); | 4800 if (!f) return(1); |
4801 fprintf(f, "%d\n", sizeof(void *)); | 4801 fprintf(f, "%d\n", sizeof(void *)); |
4802 exit(0); | 4802 return(0); |
4803 } | 4803 } |
4804 EOF | 4804 EOF |
4805 if { (eval echo configure:4806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4805 if { (eval echo configure:4806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4806 then | 4806 then |
4807 ac_cv_sizeof_void_p=`cat conftestval` | 4807 ac_cv_sizeof_void_p=`cat conftestval` |
7682 cat >> confdefs.h <<\EOF | 7682 cat >> confdefs.h <<\EOF |
7683 #define HAVE_DLOPEN 1 | 7683 #define HAVE_DLOPEN 1 |
7684 EOF | 7684 EOF |
7685 } | 7685 } |
7686 | 7686 |
7687 else | |
7688 | |
7689 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | |
7690 echo "configure:7691: checking for shl_load in -ldld" >&5 | |
7691 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | |
7692 | |
7693 xe_check_libs=" -ldld " | |
7694 cat > conftest.$ac_ext <<EOF | |
7695 #line 7696 "configure" | |
7696 #include "confdefs.h" | |
7697 /* Override any gcc2 internal prototype to avoid an error. */ | |
7698 /* We use char because int might match the return type of a gcc2 | |
7699 builtin and then its argument prototype would still apply. */ | |
7700 char shl_load(); | |
7701 | |
7702 int main() { | |
7703 shl_load() | |
7704 ; return 0; } | |
7705 EOF | |
7706 if { (eval echo configure:7707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7707 rm -rf conftest* | |
7708 eval "ac_cv_lib_$ac_lib_var=yes" | |
7709 else | |
7710 echo "configure: failed program was:" >&5 | |
7711 cat conftest.$ac_ext >&5 | |
7712 rm -rf conftest* | |
7713 eval "ac_cv_lib_$ac_lib_var=no" | |
7714 fi | |
7715 rm -f conftest* | |
7716 xe_check_libs="" | |
7717 | |
7718 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7719 echo "$ac_t""yes" 1>&6 | |
7720 libdl=dld have_dl=yes; | |
7721 { test "$extra_verbose" = "yes" && cat << \EOF | |
7722 Defining HAVE_SHL_LOAD | |
7723 EOF | |
7724 cat >> confdefs.h <<\EOF | |
7725 #define HAVE_SHL_LOAD 1 | |
7726 EOF | |
7727 } | |
7728 | |
7729 else | |
7730 echo "$ac_t""no" 1>&6 | |
7731 | |
7732 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | |
7733 echo "configure:7734: checking for dld_init in -ldld" >&5 | |
7734 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | |
7735 | |
7736 xe_check_libs=" -ldld " | |
7737 cat > conftest.$ac_ext <<EOF | |
7738 #line 7739 "configure" | |
7739 #include "confdefs.h" | |
7740 /* Override any gcc2 internal prototype to avoid an error. */ | |
7741 /* We use char because int might match the return type of a gcc2 | |
7742 builtin and then its argument prototype would still apply. */ | |
7743 char dld_init(); | |
7744 | |
7745 int main() { | |
7746 dld_init() | |
7747 ; return 0; } | |
7748 EOF | |
7749 if { (eval echo configure:7750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7750 rm -rf conftest* | |
7751 eval "ac_cv_lib_$ac_lib_var=yes" | |
7752 else | |
7753 echo "configure: failed program was:" >&5 | |
7754 cat conftest.$ac_ext >&5 | |
7755 rm -rf conftest* | |
7756 eval "ac_cv_lib_$ac_lib_var=no" | |
7757 fi | |
7758 rm -f conftest* | |
7759 xe_check_libs="" | |
7760 | |
7761 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7762 echo "$ac_t""yes" 1>&6 | |
7763 libdl=dld have_dl=yes; | |
7764 { test "$extra_verbose" = "yes" && cat << \EOF | |
7765 Defining HAVE_DLD_INIT | |
7766 EOF | |
7767 cat >> confdefs.h <<\EOF | |
7768 #define HAVE_DLD_INIT 1 | |
7769 EOF | |
7770 } | |
7771 | |
7772 else | |
7773 echo "$ac_t""no" 1>&6 | |
7774 fi | |
7775 | |
7776 | |
7777 fi | |
7778 | |
7779 | |
7780 fi | 7687 fi |
7781 esac fi | 7688 esac fi |
7782 if test -n "$have_dl"; then | 7689 if test -n "$have_dl"; then |
7783 | 7690 |
7784 dll_ld= | 7691 dll_ld= |
7789 ld_dynamic_link_flags= | 7696 ld_dynamic_link_flags= |
7790 xehost=$canonical | 7697 xehost=$canonical |
7791 xealias=$internal_configuration | 7698 xealias=$internal_configuration |
7792 | 7699 |
7793 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7700 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7794 echo "configure:7795: checking how to build dynamic libraries for ${xehost}" >&5 | 7701 echo "configure:7702: checking how to build dynamic libraries for ${xehost}" >&5 |
7795 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7702 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7796 case "$xehost" in | 7703 case "$xehost" in |
7797 *-*-linux-gnu*) ;; | 7704 *-*-linux-gnu*) ;; |
7798 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7705 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7799 esac | 7706 esac |
7817 # Now see if the compiler is really GCC. | 7724 # Now see if the compiler is really GCC. |
7818 if test "$GCC" = "yes"; then | 7725 if test "$GCC" = "yes"; then |
7819 XEGCC=yes | 7726 XEGCC=yes |
7820 else | 7727 else |
7821 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7728 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7822 echo "configure:7823: checking checking whether we are using GNU C" >&5 | 7729 echo "configure:7730: checking checking whether we are using GNU C" >&5 |
7823 cat > conftest.$ac_ext <<EOF | 7730 cat > conftest.$ac_ext <<EOF |
7824 #line 7825 "configure" | 7731 #line 7732 "configure" |
7825 #include "confdefs.h" | 7732 #include "confdefs.h" |
7826 | 7733 |
7827 #ifdef __GNUC__ | 7734 #ifdef __GNUC__ |
7828 yes; | 7735 yes; |
7829 #endif | 7736 #endif |
7841 | 7748 |
7842 echo "$ac_t""${XEGCC}" 1>&6 | 7749 echo "$ac_t""${XEGCC}" 1>&6 |
7843 fi | 7750 fi |
7844 | 7751 |
7845 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7752 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7846 echo "configure:7847: checking how to produce PIC code" >&5 | 7753 echo "configure:7754: checking how to produce PIC code" >&5 |
7847 wl= | 7754 wl= |
7848 | 7755 |
7849 can_build_shared=yes | 7756 can_build_shared=yes |
7850 if test "$XEGCC" = yes; then | 7757 if test "$XEGCC" = yes; then |
7851 wl='-Wl,' | 7758 wl='-Wl,' |
7945 if test -n "$dll_cflags"; then | 7852 if test -n "$dll_cflags"; then |
7946 echo "$ac_t""${dll_cflags}" 1>&6 | 7853 echo "$ac_t""${dll_cflags}" 1>&6 |
7947 | 7854 |
7948 # Check to make sure the dll_cflags actually works. | 7855 # Check to make sure the dll_cflags actually works. |
7949 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7856 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7950 echo "configure:7951: checking if PIC flag ${dll_cflags} really works" >&5 | 7857 echo "configure:7858: checking if PIC flag ${dll_cflags} really works" >&5 |
7951 save_CFLAGS="$CFLAGS" | 7858 save_CFLAGS="$CFLAGS" |
7952 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7859 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7953 cat > conftest.$ac_ext <<EOF | 7860 cat > conftest.$ac_ext <<EOF |
7954 #line 7955 "configure" | 7861 #line 7862 "configure" |
7955 #include "confdefs.h" | 7862 #include "confdefs.h" |
7956 | 7863 |
7957 int main() { | 7864 int main() { |
7958 int x=0; | 7865 int x=0; |
7959 ; return 0; } | 7866 ; return 0; } |
7960 EOF | 7867 EOF |
7961 if { (eval echo configure:7962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7868 if { (eval echo configure:7869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7962 rm -rf conftest* | 7869 rm -rf conftest* |
7963 | 7870 |
7964 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7871 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7965 # reports no error. So, we need to grep stderr for (Bundled). | 7872 # reports no error. So, we need to grep stderr for (Bundled). |
7966 if grep '(Bundled)' config.log >/dev/null; then | 7873 if grep '(Bundled)' config.log >/dev/null; then |
7987 if test "$can_build_shared" = "yes"; then | 7894 if test "$can_build_shared" = "yes"; then |
7988 cc_produces_so=no | 7895 cc_produces_so=no |
7989 xldf= | 7896 xldf= |
7990 xcldf= | 7897 xcldf= |
7991 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7898 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
7992 echo "configure:7993: checking if C compiler can produce shared libraries" >&5 | 7899 echo "configure:7900: checking if C compiler can produce shared libraries" >&5 |
7993 if test "$XEGCC" = yes; then | 7900 if test "$XEGCC" = yes; then |
7994 case "$xehost_os" in | 7901 case "$xehost_os" in |
7995 *darwin*) | 7902 *darwin*) |
7996 xcldf='-bundle' | 7903 xcldf='-bundle' |
7997 xldf='-bundle -bundle_loader ../../src/xemacs' | 7904 xldf='-bundle -bundle_loader ../../src/xemacs' |
8046 LDFLAGS="$xcldf $LDFLAGS" | 7953 LDFLAGS="$xcldf $LDFLAGS" |
8047 LIBS= | 7954 LIBS= |
8048 xe_libs= | 7955 xe_libs= |
8049 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 7956 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8050 cat > conftest.$ac_ext <<EOF | 7957 cat > conftest.$ac_ext <<EOF |
8051 #line 8052 "configure" | 7958 #line 7959 "configure" |
8052 #include "confdefs.h" | 7959 #include "confdefs.h" |
8053 | 7960 |
8054 int main() { | 7961 int main() { |
8055 int x=0; | 7962 int x=0; |
8056 ; return 0; } | 7963 ; return 0; } |
8057 EOF | 7964 EOF |
8058 if { (eval echo configure:8059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7965 if { (eval echo configure:7966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8059 rm -rf conftest* | 7966 rm -rf conftest* |
8060 cc_produces_so=yes | 7967 cc_produces_so=yes |
8061 else | 7968 else |
8062 echo "configure: failed program was:" >&5 | 7969 echo "configure: failed program was:" >&5 |
8063 cat conftest.$ac_ext >&5 | 7970 cat conftest.$ac_ext >&5 |
8078 if test -z "$LTLD"; then | 7985 if test -z "$LTLD"; then |
8079 ac_prog=ld | 7986 ac_prog=ld |
8080 if test "$XEGCC" = yes; then | 7987 if test "$XEGCC" = yes; then |
8081 # Check if gcc -print-prog-name=ld gives a path. | 7988 # Check if gcc -print-prog-name=ld gives a path. |
8082 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 7989 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8083 echo "configure:8084: checking for ld used by GCC" >&5 | 7990 echo "configure:7991: checking for ld used by GCC" >&5 |
8084 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 7991 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8085 case "$ac_prog" in | 7992 case "$ac_prog" in |
8086 # Accept absolute paths. | 7993 # Accept absolute paths. |
8087 /*) | 7994 /*) |
8088 if test -z "$LTLD"; then | 7995 if test -z "$LTLD"; then |
8104 with_gnu_ld=unknown | 8011 with_gnu_ld=unknown |
8105 ;; | 8012 ;; |
8106 esac | 8013 esac |
8107 else | 8014 else |
8108 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8015 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8109 echo "configure:8110: checking for GNU ld" >&5 | 8016 echo "configure:8017: checking for GNU ld" >&5 |
8110 fi | 8017 fi |
8111 | 8018 |
8112 if test -z "$LTLD"; then | 8019 if test -z "$LTLD"; then |
8113 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8020 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8114 for ac_dir in $PATH; do | 8021 for ac_dir in $PATH; do |
8142 | 8049 |
8143 ld_dynamic_link_flags= | 8050 ld_dynamic_link_flags= |
8144 | 8051 |
8145 # Check to see if it really is or isn't GNU ld. | 8052 # Check to see if it really is or isn't GNU ld. |
8146 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8053 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8147 echo "configure:8148: checking if the linker is GNU ld" >&5 | 8054 echo "configure:8055: checking if the linker is GNU ld" >&5 |
8148 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8055 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8149 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8056 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8150 xe_gnu_ld=yes | 8057 xe_gnu_ld=yes |
8151 else | 8058 else |
8152 xe_gnu_ld=no | 8059 xe_gnu_ld=no |
8177 ld_shlibs=yes | 8084 ld_shlibs=yes |
8178 else | 8085 else |
8179 # OK - only NOW do we futz about with ld. | 8086 # OK - only NOW do we futz about with ld. |
8180 # See if the linker supports building shared libraries. | 8087 # See if the linker supports building shared libraries. |
8181 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8088 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8182 echo "configure:8183: checking whether the linker supports shared libraries" >&5 | 8089 echo "configure:8090: checking whether the linker supports shared libraries" >&5 |
8183 dll_ld=$CC | 8090 dll_ld=$CC |
8184 dll_ldflags=$LDFLAGS | 8091 dll_ldflags=$LDFLAGS |
8185 ld_shlibs=yes | 8092 ld_shlibs=yes |
8186 can_build_shared=yes | 8093 can_build_shared=yes |
8187 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8094 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8390 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8297 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8391 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8298 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8392 for ac_func in dlerror _dlerror | 8299 for ac_func in dlerror _dlerror |
8393 do | 8300 do |
8394 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8395 echo "configure:8396: checking for $ac_func" >&5 | 8302 echo "configure:8303: checking for $ac_func" >&5 |
8396 | 8303 |
8397 cat > conftest.$ac_ext <<EOF | 8304 cat > conftest.$ac_ext <<EOF |
8398 #line 8399 "configure" | 8305 #line 8306 "configure" |
8399 #include "confdefs.h" | 8306 #include "confdefs.h" |
8400 /* System header to define __stub macros and hopefully few prototypes, | 8307 /* System header to define __stub macros and hopefully few prototypes, |
8401 which can conflict with char $ac_func(); below. */ | 8308 which can conflict with char $ac_func(); below. */ |
8402 #include <assert.h> | 8309 #include <assert.h> |
8403 /* Override any gcc2 internal prototype to avoid an error. */ | 8310 /* Override any gcc2 internal prototype to avoid an error. */ |
8416 $ac_func(); | 8323 $ac_func(); |
8417 #endif | 8324 #endif |
8418 | 8325 |
8419 ; return 0; } | 8326 ; return 0; } |
8420 EOF | 8327 EOF |
8421 if { (eval echo configure:8422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8328 if { (eval echo configure:8329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8422 rm -rf conftest* | 8329 rm -rf conftest* |
8423 eval "ac_cv_func_$ac_func=yes" | 8330 eval "ac_cv_func_$ac_func=yes" |
8424 else | 8331 else |
8425 echo "configure: failed program was:" >&5 | 8332 echo "configure: failed program was:" >&5 |
8426 cat conftest.$ac_ext >&5 | 8333 cat conftest.$ac_ext >&5 |
8480 | 8387 |
8481 if test "$with_tooltalk" != "no" ; then | 8388 if test "$with_tooltalk" != "no" ; then |
8482 for dir in "" "Tt/" "desktop/" ; do | 8389 for dir in "" "Tt/" "desktop/" ; do |
8483 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8390 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8484 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8391 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8485 echo "configure:8486: checking for ${dir}tt_c.h" >&5 | 8392 echo "configure:8393: checking for ${dir}tt_c.h" >&5 |
8486 | 8393 |
8487 cat > conftest.$ac_ext <<EOF | 8394 cat > conftest.$ac_ext <<EOF |
8488 #line 8489 "configure" | 8395 #line 8396 "configure" |
8489 #include "confdefs.h" | 8396 #include "confdefs.h" |
8490 #include <${dir}tt_c.h> | 8397 #include <${dir}tt_c.h> |
8491 EOF | 8398 EOF |
8492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8399 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8493 { (eval echo configure:8494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8400 { (eval echo configure:8401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8495 if test -z "$ac_err"; then | 8402 if test -z "$ac_err"; then |
8496 rm -rf conftest* | 8403 rm -rf conftest* |
8497 eval "ac_cv_header_$ac_safe=yes" | 8404 eval "ac_cv_header_$ac_safe=yes" |
8498 else | 8405 else |
8524 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8431 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8525 | 8432 |
8526 xe_msg_checking="for tt_message_create in -ltt" | 8433 xe_msg_checking="for tt_message_create in -ltt" |
8527 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8434 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8528 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8435 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8529 echo "configure:8530: checking "$xe_msg_checking"" >&5 | 8436 echo "configure:8437: checking "$xe_msg_checking"" >&5 |
8530 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8437 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8531 | 8438 |
8532 xe_check_libs=" -ltt $extra_libs" | 8439 xe_check_libs=" -ltt $extra_libs" |
8533 cat > conftest.$ac_ext <<EOF | 8440 cat > conftest.$ac_ext <<EOF |
8534 #line 8535 "configure" | 8441 #line 8442 "configure" |
8535 #include "confdefs.h" | 8442 #include "confdefs.h" |
8536 /* Override any gcc2 internal prototype to avoid an error. */ | 8443 /* Override any gcc2 internal prototype to avoid an error. */ |
8537 /* We use char because int might match the return type of a gcc2 | 8444 /* We use char because int might match the return type of a gcc2 |
8538 builtin and then its argument prototype would still apply. */ | 8445 builtin and then its argument prototype would still apply. */ |
8539 char tt_message_create(); | 8446 char tt_message_create(); |
8540 | 8447 |
8541 int main() { | 8448 int main() { |
8542 tt_message_create() | 8449 tt_message_create() |
8543 ; return 0; } | 8450 ; return 0; } |
8544 EOF | 8451 EOF |
8545 if { (eval echo configure:8546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8452 if { (eval echo configure:8453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8546 rm -rf conftest* | 8453 rm -rf conftest* |
8547 eval "ac_cv_lib_$ac_lib_var=yes" | 8454 eval "ac_cv_lib_$ac_lib_var=yes" |
8548 else | 8455 else |
8549 echo "configure: failed program was:" >&5 | 8456 echo "configure: failed program was:" >&5 |
8550 cat conftest.$ac_ext >&5 | 8457 cat conftest.$ac_ext >&5 |
8594 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8501 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8595 fi | 8502 fi |
8596 | 8503 |
8597 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8504 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8598 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8505 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8599 echo "configure:8600: checking for Dt/Dt.h" >&5 | 8506 echo "configure:8507: checking for Dt/Dt.h" >&5 |
8600 | 8507 |
8601 cat > conftest.$ac_ext <<EOF | 8508 cat > conftest.$ac_ext <<EOF |
8602 #line 8603 "configure" | 8509 #line 8510 "configure" |
8603 #include "confdefs.h" | 8510 #include "confdefs.h" |
8604 #include <Dt/Dt.h> | 8511 #include <Dt/Dt.h> |
8605 EOF | 8512 EOF |
8606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8607 { (eval echo configure:8608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8514 { (eval echo configure:8515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8609 if test -z "$ac_err"; then | 8516 if test -z "$ac_err"; then |
8610 rm -rf conftest* | 8517 rm -rf conftest* |
8611 eval "ac_cv_header_$ac_safe=yes" | 8518 eval "ac_cv_header_$ac_safe=yes" |
8612 else | 8519 else |
8625 with_cde=no | 8532 with_cde=no |
8626 fi | 8533 fi |
8627 } | 8534 } |
8628 test -z "$with_cde" && { | 8535 test -z "$with_cde" && { |
8629 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8536 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8630 echo "configure:8631: checking for DtDndDragStart in -lDtSvc" >&5 | 8537 echo "configure:8538: checking for DtDndDragStart in -lDtSvc" >&5 |
8631 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8538 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8632 | 8539 |
8633 xe_check_libs=" -lDtSvc " | 8540 xe_check_libs=" -lDtSvc " |
8634 cat > conftest.$ac_ext <<EOF | 8541 cat > conftest.$ac_ext <<EOF |
8635 #line 8636 "configure" | 8542 #line 8543 "configure" |
8636 #include "confdefs.h" | 8543 #include "confdefs.h" |
8637 /* Override any gcc2 internal prototype to avoid an error. */ | 8544 /* Override any gcc2 internal prototype to avoid an error. */ |
8638 /* We use char because int might match the return type of a gcc2 | 8545 /* We use char because int might match the return type of a gcc2 |
8639 builtin and then its argument prototype would still apply. */ | 8546 builtin and then its argument prototype would still apply. */ |
8640 char DtDndDragStart(); | 8547 char DtDndDragStart(); |
8641 | 8548 |
8642 int main() { | 8549 int main() { |
8643 DtDndDragStart() | 8550 DtDndDragStart() |
8644 ; return 0; } | 8551 ; return 0; } |
8645 EOF | 8552 EOF |
8646 if { (eval echo configure:8647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8553 if { (eval echo configure:8554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8647 rm -rf conftest* | 8554 rm -rf conftest* |
8648 eval "ac_cv_lib_$ac_lib_var=yes" | 8555 eval "ac_cv_lib_$ac_lib_var=yes" |
8649 else | 8556 else |
8650 echo "configure: failed program was:" >&5 | 8557 echo "configure: failed program was:" >&5 |
8651 cat conftest.$ac_ext >&5 | 8558 cat conftest.$ac_ext >&5 |
8722 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8629 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8723 fi | 8630 fi |
8724 | 8631 |
8725 if test "$with_dragndrop" != "no" ; then | 8632 if test "$with_dragndrop" != "no" ; then |
8726 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8633 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8727 echo "configure:8728: checking if drag and drop API is needed" >&5 | 8634 echo "configure:8635: checking if drag and drop API is needed" >&5 |
8728 if test -n "$dragndrop_proto" ; then | 8635 if test -n "$dragndrop_proto" ; then |
8729 with_dragndrop=yes | 8636 with_dragndrop=yes |
8730 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8637 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8731 { test "$extra_verbose" = "yes" && cat << \EOF | 8638 { test "$extra_verbose" = "yes" && cat << \EOF |
8732 Defining HAVE_DRAGNDROP | 8639 Defining HAVE_DRAGNDROP |
8742 echo "$ac_t""no" 1>&6 | 8649 echo "$ac_t""no" 1>&6 |
8743 fi | 8650 fi |
8744 fi | 8651 fi |
8745 | 8652 |
8746 echo "checking for LDAP" 1>&6 | 8653 echo "checking for LDAP" 1>&6 |
8747 echo "configure:8748: checking for LDAP" >&5 | 8654 echo "configure:8655: checking for LDAP" >&5 |
8748 ldap_libs= | 8655 ldap_libs= |
8749 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8656 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8750 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8657 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8751 echo "configure:8752: checking for ldap.h" >&5 | 8658 echo "configure:8659: checking for ldap.h" >&5 |
8752 | 8659 |
8753 cat > conftest.$ac_ext <<EOF | 8660 cat > conftest.$ac_ext <<EOF |
8754 #line 8755 "configure" | 8661 #line 8662 "configure" |
8755 #include "confdefs.h" | 8662 #include "confdefs.h" |
8756 #include <ldap.h> | 8663 #include <ldap.h> |
8757 EOF | 8664 EOF |
8758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8759 { (eval echo configure:8760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8666 { (eval echo configure:8667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8761 if test -z "$ac_err"; then | 8668 if test -z "$ac_err"; then |
8762 rm -rf conftest* | 8669 rm -rf conftest* |
8763 eval "ac_cv_header_$ac_safe=yes" | 8670 eval "ac_cv_header_$ac_safe=yes" |
8764 else | 8671 else |
8777 with_ldap=no | 8684 with_ldap=no |
8778 fi | 8685 fi |
8779 } | 8686 } |
8780 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8687 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8781 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8688 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8782 echo "configure:8783: checking for lber.h" >&5 | 8689 echo "configure:8690: checking for lber.h" >&5 |
8783 | 8690 |
8784 cat > conftest.$ac_ext <<EOF | 8691 cat > conftest.$ac_ext <<EOF |
8785 #line 8786 "configure" | 8692 #line 8693 "configure" |
8786 #include "confdefs.h" | 8693 #include "confdefs.h" |
8787 #include <lber.h> | 8694 #include <lber.h> |
8788 EOF | 8695 EOF |
8789 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8790 { (eval echo configure:8791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8697 { (eval echo configure:8698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8792 if test -z "$ac_err"; then | 8699 if test -z "$ac_err"; then |
8793 rm -rf conftest* | 8700 rm -rf conftest* |
8794 eval "ac_cv_header_$ac_safe=yes" | 8701 eval "ac_cv_header_$ac_safe=yes" |
8795 else | 8702 else |
8809 fi | 8716 fi |
8810 } | 8717 } |
8811 if test "$with_ldap" != "no"; then | 8718 if test "$with_ldap" != "no"; then |
8812 | 8719 |
8813 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8720 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8814 echo "configure:8815: checking for ldap_search in -lldap" >&5 | 8721 echo "configure:8722: checking for ldap_search in -lldap" >&5 |
8815 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8722 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8816 | 8723 |
8817 xe_check_libs=" -lldap " | 8724 xe_check_libs=" -lldap " |
8818 cat > conftest.$ac_ext <<EOF | 8725 cat > conftest.$ac_ext <<EOF |
8819 #line 8820 "configure" | 8726 #line 8727 "configure" |
8820 #include "confdefs.h" | 8727 #include "confdefs.h" |
8821 /* Override any gcc2 internal prototype to avoid an error. */ | 8728 /* Override any gcc2 internal prototype to avoid an error. */ |
8822 /* We use char because int might match the return type of a gcc2 | 8729 /* We use char because int might match the return type of a gcc2 |
8823 builtin and then its argument prototype would still apply. */ | 8730 builtin and then its argument prototype would still apply. */ |
8824 char ldap_search(); | 8731 char ldap_search(); |
8825 | 8732 |
8826 int main() { | 8733 int main() { |
8827 ldap_search() | 8734 ldap_search() |
8828 ; return 0; } | 8735 ; return 0; } |
8829 EOF | 8736 EOF |
8830 if { (eval echo configure:8831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8737 if { (eval echo configure:8738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8831 rm -rf conftest* | 8738 rm -rf conftest* |
8832 eval "ac_cv_lib_$ac_lib_var=yes" | 8739 eval "ac_cv_lib_$ac_lib_var=yes" |
8833 else | 8740 else |
8834 echo "configure: failed program was:" >&5 | 8741 echo "configure: failed program was:" >&5 |
8835 cat conftest.$ac_ext >&5 | 8742 cat conftest.$ac_ext >&5 |
8850 | 8757 |
8851 test "$with_ldap_nolber" = "no" && { | 8758 test "$with_ldap_nolber" = "no" && { |
8852 xe_msg_checking="for ldap_open in -lldap" | 8759 xe_msg_checking="for ldap_open in -lldap" |
8853 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8760 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8854 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8761 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8855 echo "configure:8856: checking "$xe_msg_checking"" >&5 | 8762 echo "configure:8763: checking "$xe_msg_checking"" >&5 |
8856 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8763 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8857 | 8764 |
8858 xe_check_libs=" -lldap -llber" | 8765 xe_check_libs=" -lldap -llber" |
8859 cat > conftest.$ac_ext <<EOF | 8766 cat > conftest.$ac_ext <<EOF |
8860 #line 8861 "configure" | 8767 #line 8768 "configure" |
8861 #include "confdefs.h" | 8768 #include "confdefs.h" |
8862 /* Override any gcc2 internal prototype to avoid an error. */ | 8769 /* Override any gcc2 internal prototype to avoid an error. */ |
8863 /* We use char because int might match the return type of a gcc2 | 8770 /* We use char because int might match the return type of a gcc2 |
8864 builtin and then its argument prototype would still apply. */ | 8771 builtin and then its argument prototype would still apply. */ |
8865 char ldap_open(); | 8772 char ldap_open(); |
8866 | 8773 |
8867 int main() { | 8774 int main() { |
8868 ldap_open() | 8775 ldap_open() |
8869 ; return 0; } | 8776 ; return 0; } |
8870 EOF | 8777 EOF |
8871 if { (eval echo configure:8872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8778 if { (eval echo configure:8779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8872 rm -rf conftest* | 8779 rm -rf conftest* |
8873 eval "ac_cv_lib_$ac_lib_var=yes" | 8780 eval "ac_cv_lib_$ac_lib_var=yes" |
8874 else | 8781 else |
8875 echo "configure: failed program was:" >&5 | 8782 echo "configure: failed program was:" >&5 |
8876 cat conftest.$ac_ext >&5 | 8783 cat conftest.$ac_ext >&5 |
8891 } | 8798 } |
8892 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8799 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8893 xe_msg_checking="for ldap_open in -lldap" | 8800 xe_msg_checking="for ldap_open in -lldap" |
8894 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8801 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8895 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8802 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8896 echo "configure:8897: checking "$xe_msg_checking"" >&5 | 8803 echo "configure:8804: checking "$xe_msg_checking"" >&5 |
8897 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8804 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8898 | 8805 |
8899 xe_check_libs=" -lldap -llber -lkrb" | 8806 xe_check_libs=" -lldap -llber -lkrb" |
8900 cat > conftest.$ac_ext <<EOF | 8807 cat > conftest.$ac_ext <<EOF |
8901 #line 8902 "configure" | 8808 #line 8809 "configure" |
8902 #include "confdefs.h" | 8809 #include "confdefs.h" |
8903 /* Override any gcc2 internal prototype to avoid an error. */ | 8810 /* Override any gcc2 internal prototype to avoid an error. */ |
8904 /* We use char because int might match the return type of a gcc2 | 8811 /* We use char because int might match the return type of a gcc2 |
8905 builtin and then its argument prototype would still apply. */ | 8812 builtin and then its argument prototype would still apply. */ |
8906 char ldap_open(); | 8813 char ldap_open(); |
8907 | 8814 |
8908 int main() { | 8815 int main() { |
8909 ldap_open() | 8816 ldap_open() |
8910 ; return 0; } | 8817 ; return 0; } |
8911 EOF | 8818 EOF |
8912 if { (eval echo configure:8913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8819 if { (eval echo configure:8820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8913 rm -rf conftest* | 8820 rm -rf conftest* |
8914 eval "ac_cv_lib_$ac_lib_var=yes" | 8821 eval "ac_cv_lib_$ac_lib_var=yes" |
8915 else | 8822 else |
8916 echo "configure: failed program was:" >&5 | 8823 echo "configure: failed program was:" >&5 |
8917 cat conftest.$ac_ext >&5 | 8824 cat conftest.$ac_ext >&5 |
8932 } | 8839 } |
8933 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8840 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8934 xe_msg_checking="for ldap_open in -lldap" | 8841 xe_msg_checking="for ldap_open in -lldap" |
8935 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8842 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8936 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8843 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8937 echo "configure:8938: checking "$xe_msg_checking"" >&5 | 8844 echo "configure:8845: checking "$xe_msg_checking"" >&5 |
8938 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8845 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8939 | 8846 |
8940 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8847 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8941 cat > conftest.$ac_ext <<EOF | 8848 cat > conftest.$ac_ext <<EOF |
8942 #line 8943 "configure" | 8849 #line 8850 "configure" |
8943 #include "confdefs.h" | 8850 #include "confdefs.h" |
8944 /* Override any gcc2 internal prototype to avoid an error. */ | 8851 /* Override any gcc2 internal prototype to avoid an error. */ |
8945 /* We use char because int might match the return type of a gcc2 | 8852 /* We use char because int might match the return type of a gcc2 |
8946 builtin and then its argument prototype would still apply. */ | 8853 builtin and then its argument prototype would still apply. */ |
8947 char ldap_open(); | 8854 char ldap_open(); |
8948 | 8855 |
8949 int main() { | 8856 int main() { |
8950 ldap_open() | 8857 ldap_open() |
8951 ; return 0; } | 8858 ; return 0; } |
8952 EOF | 8859 EOF |
8953 if { (eval echo configure:8954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8860 if { (eval echo configure:8861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8954 rm -rf conftest* | 8861 rm -rf conftest* |
8955 eval "ac_cv_lib_$ac_lib_var=yes" | 8862 eval "ac_cv_lib_$ac_lib_var=yes" |
8956 else | 8863 else |
8957 echo "configure: failed program was:" >&5 | 8864 echo "configure: failed program was:" >&5 |
8958 cat conftest.$ac_ext >&5 | 8865 cat conftest.$ac_ext >&5 |
8997 fi | 8904 fi |
8998 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8905 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
8999 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8906 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
9000 do | 8907 do |
9001 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9002 echo "configure:9003: checking for $ac_func" >&5 | 8909 echo "configure:8910: checking for $ac_func" >&5 |
9003 | 8910 |
9004 cat > conftest.$ac_ext <<EOF | 8911 cat > conftest.$ac_ext <<EOF |
9005 #line 9006 "configure" | 8912 #line 8913 "configure" |
9006 #include "confdefs.h" | 8913 #include "confdefs.h" |
9007 /* System header to define __stub macros and hopefully few prototypes, | 8914 /* System header to define __stub macros and hopefully few prototypes, |
9008 which can conflict with char $ac_func(); below. */ | 8915 which can conflict with char $ac_func(); below. */ |
9009 #include <assert.h> | 8916 #include <assert.h> |
9010 /* Override any gcc2 internal prototype to avoid an error. */ | 8917 /* Override any gcc2 internal prototype to avoid an error. */ |
9023 $ac_func(); | 8930 $ac_func(); |
9024 #endif | 8931 #endif |
9025 | 8932 |
9026 ; return 0; } | 8933 ; return 0; } |
9027 EOF | 8934 EOF |
9028 if { (eval echo configure:9029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8935 if { (eval echo configure:8936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9029 rm -rf conftest* | 8936 rm -rf conftest* |
9030 eval "ac_cv_func_$ac_func=yes" | 8937 eval "ac_cv_func_$ac_func=yes" |
9031 else | 8938 else |
9032 echo "configure: failed program was:" >&5 | 8939 echo "configure: failed program was:" >&5 |
9033 cat conftest.$ac_ext >&5 | 8940 cat conftest.$ac_ext >&5 |
9062 | 8969 |
9063 | 8970 |
9064 postgresql_libs= | 8971 postgresql_libs= |
9065 if test "$with_postgresql" != "no"; then | 8972 if test "$with_postgresql" != "no"; then |
9066 echo "checking for PostgreSQL" 1>&6 | 8973 echo "checking for PostgreSQL" 1>&6 |
9067 echo "configure:9068: checking for PostgreSQL" >&5 | 8974 echo "configure:8975: checking for PostgreSQL" >&5 |
9068 | 8975 |
9069 for header_dir in "" "pgsql/" "postgresql/"; do | 8976 for header_dir in "" "pgsql/" "postgresql/"; do |
9070 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 8977 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9071 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 8978 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9072 echo "configure:9073: checking for ${header_dir}libpq-fe.h" >&5 | 8979 echo "configure:8980: checking for ${header_dir}libpq-fe.h" >&5 |
9073 | 8980 |
9074 cat > conftest.$ac_ext <<EOF | 8981 cat > conftest.$ac_ext <<EOF |
9075 #line 9076 "configure" | 8982 #line 8983 "configure" |
9076 #include "confdefs.h" | 8983 #include "confdefs.h" |
9077 #include <${header_dir}libpq-fe.h> | 8984 #include <${header_dir}libpq-fe.h> |
9078 EOF | 8985 EOF |
9079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9080 { (eval echo configure:9081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8987 { (eval echo configure:8988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9081 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9082 if test -z "$ac_err"; then | 8989 if test -z "$ac_err"; then |
9083 rm -rf conftest* | 8990 rm -rf conftest* |
9084 eval "ac_cv_header_$ac_safe=yes" | 8991 eval "ac_cv_header_$ac_safe=yes" |
9085 else | 8992 else |
9099 | 9006 |
9100 done | 9007 done |
9101 | 9008 |
9102 test -n "$libpq_fe_h_file" && { | 9009 test -n "$libpq_fe_h_file" && { |
9103 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9010 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9104 echo "configure:9105: checking for PQconnectdb in -lpq" >&5 | 9011 echo "configure:9012: checking for PQconnectdb in -lpq" >&5 |
9105 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9012 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9106 | 9013 |
9107 xe_check_libs=" -lpq " | 9014 xe_check_libs=" -lpq " |
9108 cat > conftest.$ac_ext <<EOF | 9015 cat > conftest.$ac_ext <<EOF |
9109 #line 9110 "configure" | 9016 #line 9017 "configure" |
9110 #include "confdefs.h" | 9017 #include "confdefs.h" |
9111 /* Override any gcc2 internal prototype to avoid an error. */ | 9018 /* Override any gcc2 internal prototype to avoid an error. */ |
9112 /* We use char because int might match the return type of a gcc2 | 9019 /* We use char because int might match the return type of a gcc2 |
9113 builtin and then its argument prototype would still apply. */ | 9020 builtin and then its argument prototype would still apply. */ |
9114 char PQconnectdb(); | 9021 char PQconnectdb(); |
9115 | 9022 |
9116 int main() { | 9023 int main() { |
9117 PQconnectdb() | 9024 PQconnectdb() |
9118 ; return 0; } | 9025 ; return 0; } |
9119 EOF | 9026 EOF |
9120 if { (eval echo configure:9121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9027 if { (eval echo configure:9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9121 rm -rf conftest* | 9028 rm -rf conftest* |
9122 eval "ac_cv_lib_$ac_lib_var=yes" | 9029 eval "ac_cv_lib_$ac_lib_var=yes" |
9123 else | 9030 else |
9124 echo "configure: failed program was:" >&5 | 9031 echo "configure: failed program was:" >&5 |
9125 cat conftest.$ac_ext >&5 | 9032 cat conftest.$ac_ext >&5 |
9148 EOF | 9055 EOF |
9149 } | 9056 } |
9150 | 9057 |
9151 | 9058 |
9152 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9059 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9153 echo "configure:9154: checking for PQconnectStart in -lpq" >&5 | 9060 echo "configure:9061: checking for PQconnectStart in -lpq" >&5 |
9154 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9061 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9155 | 9062 |
9156 xe_check_libs=" -lpq " | 9063 xe_check_libs=" -lpq " |
9157 cat > conftest.$ac_ext <<EOF | 9064 cat > conftest.$ac_ext <<EOF |
9158 #line 9159 "configure" | 9065 #line 9066 "configure" |
9159 #include "confdefs.h" | 9066 #include "confdefs.h" |
9160 /* Override any gcc2 internal prototype to avoid an error. */ | 9067 /* Override any gcc2 internal prototype to avoid an error. */ |
9161 /* We use char because int might match the return type of a gcc2 | 9068 /* We use char because int might match the return type of a gcc2 |
9162 builtin and then its argument prototype would still apply. */ | 9069 builtin and then its argument prototype would still apply. */ |
9163 char PQconnectStart(); | 9070 char PQconnectStart(); |
9164 | 9071 |
9165 int main() { | 9072 int main() { |
9166 PQconnectStart() | 9073 PQconnectStart() |
9167 ; return 0; } | 9074 ; return 0; } |
9168 EOF | 9075 EOF |
9169 if { (eval echo configure:9170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9076 if { (eval echo configure:9077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9170 rm -rf conftest* | 9077 rm -rf conftest* |
9171 eval "ac_cv_lib_$ac_lib_var=yes" | 9078 eval "ac_cv_lib_$ac_lib_var=yes" |
9172 else | 9079 else |
9173 echo "configure: failed program was:" >&5 | 9080 echo "configure: failed program was:" >&5 |
9174 cat conftest.$ac_ext >&5 | 9081 cat conftest.$ac_ext >&5 |
9215 | 9122 |
9216 | 9123 |
9217 | 9124 |
9218 if test "$window_system" != "none"; then | 9125 if test "$window_system" != "none"; then |
9219 echo "checking for graphics libraries" 1>&6 | 9126 echo "checking for graphics libraries" 1>&6 |
9220 echo "configure:9221: checking for graphics libraries" >&5 | 9127 echo "configure:9128: checking for graphics libraries" >&5 |
9221 | 9128 |
9222 libpath_xpm= | 9129 libpath_xpm= |
9223 incpath_xpm= | 9130 incpath_xpm= |
9224 case "$opsys" in | 9131 case "$opsys" in |
9225 cygwin*) | 9132 cygwin*) |
9241 xpm_problem="" | 9148 xpm_problem="" |
9242 if test -z "$with_xpm"; then | 9149 if test -z "$with_xpm"; then |
9243 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9150 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9244 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9151 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9245 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9152 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9246 echo "configure:9247: checking for Xpm - no older than 3.4f" >&5 | 9153 echo "configure:9154: checking for Xpm - no older than 3.4f" >&5 |
9247 xe_check_libs=-lXpm | 9154 xe_check_libs=-lXpm |
9248 cat > conftest.$ac_ext <<EOF | 9155 cat > conftest.$ac_ext <<EOF |
9249 #line 9250 "configure" | 9156 #line 9157 "configure" |
9250 #include "confdefs.h" | 9157 #include "confdefs.h" |
9251 #define XPM_NUMBERS | 9158 #define XPM_NUMBERS |
9252 #include <X11/xpm.h> | 9159 #include <X11/xpm.h> |
9253 int main(int c, char **v) { | 9160 int main(int c, char **v) { |
9254 return c == 1 ? 0 : | 9161 return c == 1 ? 0 : |
9255 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9162 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9256 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9163 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9257 EOF | 9164 EOF |
9258 if { (eval echo configure:9259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9165 if { (eval echo configure:9166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9259 then | 9166 then |
9260 ./conftest dummy_arg; xpm_status=$?; | 9167 ./conftest dummy_arg; xpm_status=$?; |
9261 if test "$xpm_status" = "0"; then | 9168 if test "$xpm_status" = "0"; then |
9262 with_xpm=yes; | 9169 with_xpm=yes; |
9263 else | 9170 else |
9297 | 9204 |
9298 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9205 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9299 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9206 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9300 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9207 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9301 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9208 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9302 echo "configure:9303: checking for \"FOR_MSW\" xpm" >&5 | 9209 echo "configure:9210: checking for \"FOR_MSW\" xpm" >&5 |
9303 xe_check_libs=-lXpm | 9210 xe_check_libs=-lXpm |
9304 cat > conftest.$ac_ext <<EOF | 9211 cat > conftest.$ac_ext <<EOF |
9305 #line 9306 "configure" | 9212 #line 9213 "configure" |
9306 #include "confdefs.h" | 9213 #include "confdefs.h" |
9307 | 9214 |
9308 int main() { | 9215 int main() { |
9309 XpmCreatePixmapFromData() | 9216 XpmCreatePixmapFromData() |
9310 ; return 0; } | 9217 ; return 0; } |
9311 EOF | 9218 EOF |
9312 if { (eval echo configure:9313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9219 if { (eval echo configure:9220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9313 rm -rf conftest* | 9220 rm -rf conftest* |
9314 xpm_for_msw=no | 9221 xpm_for_msw=no |
9315 else | 9222 else |
9316 echo "configure: failed program was:" >&5 | 9223 echo "configure: failed program was:" >&5 |
9317 cat conftest.$ac_ext >&5 | 9224 cat conftest.$ac_ext >&5 |
9333 fi | 9240 fi |
9334 fi | 9241 fi |
9335 | 9242 |
9336 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9243 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9337 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9244 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9338 echo "configure:9339: checking for compface.h" >&5 | 9245 echo "configure:9246: checking for compface.h" >&5 |
9339 | 9246 |
9340 cat > conftest.$ac_ext <<EOF | 9247 cat > conftest.$ac_ext <<EOF |
9341 #line 9342 "configure" | 9248 #line 9249 "configure" |
9342 #include "confdefs.h" | 9249 #include "confdefs.h" |
9343 #include <compface.h> | 9250 #include <compface.h> |
9344 EOF | 9251 EOF |
9345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9346 { (eval echo configure:9347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9253 { (eval echo configure:9254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9348 if test -z "$ac_err"; then | 9255 if test -z "$ac_err"; then |
9349 rm -rf conftest* | 9256 rm -rf conftest* |
9350 eval "ac_cv_header_$ac_safe=yes" | 9257 eval "ac_cv_header_$ac_safe=yes" |
9351 else | 9258 else |
9364 with_xface=no | 9271 with_xface=no |
9365 fi | 9272 fi |
9366 } | 9273 } |
9367 test -z "$with_xface" && { | 9274 test -z "$with_xface" && { |
9368 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9275 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9369 echo "configure:9370: checking for UnGenFace in -lcompface" >&5 | 9276 echo "configure:9277: checking for UnGenFace in -lcompface" >&5 |
9370 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9277 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9371 | 9278 |
9372 xe_check_libs=" -lcompface " | 9279 xe_check_libs=" -lcompface " |
9373 cat > conftest.$ac_ext <<EOF | 9280 cat > conftest.$ac_ext <<EOF |
9374 #line 9375 "configure" | 9281 #line 9282 "configure" |
9375 #include "confdefs.h" | 9282 #include "confdefs.h" |
9376 /* Override any gcc2 internal prototype to avoid an error. */ | 9283 /* Override any gcc2 internal prototype to avoid an error. */ |
9377 /* We use char because int might match the return type of a gcc2 | 9284 /* We use char because int might match the return type of a gcc2 |
9378 builtin and then its argument prototype would still apply. */ | 9285 builtin and then its argument prototype would still apply. */ |
9379 char UnGenFace(); | 9286 char UnGenFace(); |
9380 | 9287 |
9381 int main() { | 9288 int main() { |
9382 UnGenFace() | 9289 UnGenFace() |
9383 ; return 0; } | 9290 ; return 0; } |
9384 EOF | 9291 EOF |
9385 if { (eval echo configure:9386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9292 if { (eval echo configure:9293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9386 rm -rf conftest* | 9293 rm -rf conftest* |
9387 eval "ac_cv_lib_$ac_lib_var=yes" | 9294 eval "ac_cv_lib_$ac_lib_var=yes" |
9388 else | 9295 else |
9389 echo "configure: failed program was:" >&5 | 9296 echo "configure: failed program was:" >&5 |
9390 cat conftest.$ac_ext >&5 | 9297 cat conftest.$ac_ext >&5 |
9429 fi | 9336 fi |
9430 | 9337 |
9431 if test "$with_png $with_tiff" != "no no"; then | 9338 if test "$with_png $with_tiff" != "no no"; then |
9432 | 9339 |
9433 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9340 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9434 echo "configure:9435: checking for inflate in -lc" >&5 | 9341 echo "configure:9342: checking for inflate in -lc" >&5 |
9435 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9342 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9436 | 9343 |
9437 xe_check_libs=" -lc " | 9344 xe_check_libs=" -lc " |
9438 cat > conftest.$ac_ext <<EOF | 9345 cat > conftest.$ac_ext <<EOF |
9439 #line 9440 "configure" | 9346 #line 9347 "configure" |
9440 #include "confdefs.h" | 9347 #include "confdefs.h" |
9441 /* Override any gcc2 internal prototype to avoid an error. */ | 9348 /* Override any gcc2 internal prototype to avoid an error. */ |
9442 /* We use char because int might match the return type of a gcc2 | 9349 /* We use char because int might match the return type of a gcc2 |
9443 builtin and then its argument prototype would still apply. */ | 9350 builtin and then its argument prototype would still apply. */ |
9444 char inflate(); | 9351 char inflate(); |
9445 | 9352 |
9446 int main() { | 9353 int main() { |
9447 inflate() | 9354 inflate() |
9448 ; return 0; } | 9355 ; return 0; } |
9449 EOF | 9356 EOF |
9450 if { (eval echo configure:9451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9357 if { (eval echo configure:9358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9451 rm -rf conftest* | 9358 rm -rf conftest* |
9452 eval "ac_cv_lib_$ac_lib_var=yes" | 9359 eval "ac_cv_lib_$ac_lib_var=yes" |
9453 else | 9360 else |
9454 echo "configure: failed program was:" >&5 | 9361 echo "configure: failed program was:" >&5 |
9455 cat conftest.$ac_ext >&5 | 9362 cat conftest.$ac_ext >&5 |
9464 : | 9371 : |
9465 else | 9372 else |
9466 echo "$ac_t""no" 1>&6 | 9373 echo "$ac_t""no" 1>&6 |
9467 | 9374 |
9468 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9375 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9469 echo "configure:9470: checking for inflate in -lz" >&5 | 9376 echo "configure:9377: checking for inflate in -lz" >&5 |
9470 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9377 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9471 | 9378 |
9472 xe_check_libs=" -lz " | 9379 xe_check_libs=" -lz " |
9473 cat > conftest.$ac_ext <<EOF | 9380 cat > conftest.$ac_ext <<EOF |
9474 #line 9475 "configure" | 9381 #line 9382 "configure" |
9475 #include "confdefs.h" | 9382 #include "confdefs.h" |
9476 /* Override any gcc2 internal prototype to avoid an error. */ | 9383 /* Override any gcc2 internal prototype to avoid an error. */ |
9477 /* We use char because int might match the return type of a gcc2 | 9384 /* We use char because int might match the return type of a gcc2 |
9478 builtin and then its argument prototype would still apply. */ | 9385 builtin and then its argument prototype would still apply. */ |
9479 char inflate(); | 9386 char inflate(); |
9480 | 9387 |
9481 int main() { | 9388 int main() { |
9482 inflate() | 9389 inflate() |
9483 ; return 0; } | 9390 ; return 0; } |
9484 EOF | 9391 EOF |
9485 if { (eval echo configure:9486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9392 if { (eval echo configure:9393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9486 rm -rf conftest* | 9393 rm -rf conftest* |
9487 eval "ac_cv_lib_$ac_lib_var=yes" | 9394 eval "ac_cv_lib_$ac_lib_var=yes" |
9488 else | 9395 else |
9489 echo "configure: failed program was:" >&5 | 9396 echo "configure: failed program was:" >&5 |
9490 cat conftest.$ac_ext >&5 | 9397 cat conftest.$ac_ext >&5 |
9499 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9406 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9500 else | 9407 else |
9501 echo "$ac_t""no" 1>&6 | 9408 echo "$ac_t""no" 1>&6 |
9502 | 9409 |
9503 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9410 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9504 echo "configure:9505: checking for inflate in -lgz" >&5 | 9411 echo "configure:9412: checking for inflate in -lgz" >&5 |
9505 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9412 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9506 | 9413 |
9507 xe_check_libs=" -lgz " | 9414 xe_check_libs=" -lgz " |
9508 cat > conftest.$ac_ext <<EOF | 9415 cat > conftest.$ac_ext <<EOF |
9509 #line 9510 "configure" | 9416 #line 9417 "configure" |
9510 #include "confdefs.h" | 9417 #include "confdefs.h" |
9511 /* Override any gcc2 internal prototype to avoid an error. */ | 9418 /* Override any gcc2 internal prototype to avoid an error. */ |
9512 /* We use char because int might match the return type of a gcc2 | 9419 /* We use char because int might match the return type of a gcc2 |
9513 builtin and then its argument prototype would still apply. */ | 9420 builtin and then its argument prototype would still apply. */ |
9514 char inflate(); | 9421 char inflate(); |
9515 | 9422 |
9516 int main() { | 9423 int main() { |
9517 inflate() | 9424 inflate() |
9518 ; return 0; } | 9425 ; return 0; } |
9519 EOF | 9426 EOF |
9520 if { (eval echo configure:9521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9427 if { (eval echo configure:9428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9521 rm -rf conftest* | 9428 rm -rf conftest* |
9522 eval "ac_cv_lib_$ac_lib_var=yes" | 9429 eval "ac_cv_lib_$ac_lib_var=yes" |
9523 else | 9430 else |
9524 echo "configure: failed program was:" >&5 | 9431 echo "configure: failed program was:" >&5 |
9525 cat conftest.$ac_ext >&5 | 9432 cat conftest.$ac_ext >&5 |
9545 | 9452 |
9546 fi | 9453 fi |
9547 | 9454 |
9548 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9455 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9549 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9456 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9550 echo "configure:9551: checking for jpeglib.h" >&5 | 9457 echo "configure:9458: checking for jpeglib.h" >&5 |
9551 | 9458 |
9552 cat > conftest.$ac_ext <<EOF | 9459 cat > conftest.$ac_ext <<EOF |
9553 #line 9554 "configure" | 9460 #line 9461 "configure" |
9554 #include "confdefs.h" | 9461 #include "confdefs.h" |
9555 #include <jpeglib.h> | 9462 #include <jpeglib.h> |
9556 EOF | 9463 EOF |
9557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9464 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9558 { (eval echo configure:9559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9465 { (eval echo configure:9466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9466 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9560 if test -z "$ac_err"; then | 9467 if test -z "$ac_err"; then |
9561 rm -rf conftest* | 9468 rm -rf conftest* |
9562 eval "ac_cv_header_$ac_safe=yes" | 9469 eval "ac_cv_header_$ac_safe=yes" |
9563 else | 9470 else |
9576 with_jpeg=no | 9483 with_jpeg=no |
9577 fi | 9484 fi |
9578 } | 9485 } |
9579 test -z "$with_jpeg" && { | 9486 test -z "$with_jpeg" && { |
9580 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9487 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9581 echo "configure:9582: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9488 echo "configure:9489: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9582 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9489 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9583 | 9490 |
9584 xe_check_libs=" -ljpeg " | 9491 xe_check_libs=" -ljpeg " |
9585 cat > conftest.$ac_ext <<EOF | 9492 cat > conftest.$ac_ext <<EOF |
9586 #line 9587 "configure" | 9493 #line 9494 "configure" |
9587 #include "confdefs.h" | 9494 #include "confdefs.h" |
9588 /* Override any gcc2 internal prototype to avoid an error. */ | 9495 /* Override any gcc2 internal prototype to avoid an error. */ |
9589 /* We use char because int might match the return type of a gcc2 | 9496 /* We use char because int might match the return type of a gcc2 |
9590 builtin and then its argument prototype would still apply. */ | 9497 builtin and then its argument prototype would still apply. */ |
9591 char jpeg_destroy_decompress(); | 9498 char jpeg_destroy_decompress(); |
9592 | 9499 |
9593 int main() { | 9500 int main() { |
9594 jpeg_destroy_decompress() | 9501 jpeg_destroy_decompress() |
9595 ; return 0; } | 9502 ; return 0; } |
9596 EOF | 9503 EOF |
9597 if { (eval echo configure:9598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9504 if { (eval echo configure:9505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9598 rm -rf conftest* | 9505 rm -rf conftest* |
9599 eval "ac_cv_lib_$ac_lib_var=yes" | 9506 eval "ac_cv_lib_$ac_lib_var=yes" |
9600 else | 9507 else |
9601 echo "configure: failed program was:" >&5 | 9508 echo "configure: failed program was:" >&5 |
9602 cat conftest.$ac_ext >&5 | 9509 cat conftest.$ac_ext >&5 |
9628 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9535 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9629 fi | 9536 fi |
9630 | 9537 |
9631 png_problem="" | 9538 png_problem="" |
9632 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9539 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9633 echo "configure:9634: checking for pow" >&5 | 9540 echo "configure:9541: checking for pow" >&5 |
9634 | 9541 |
9635 cat > conftest.$ac_ext <<EOF | 9542 cat > conftest.$ac_ext <<EOF |
9636 #line 9637 "configure" | 9543 #line 9544 "configure" |
9637 #include "confdefs.h" | 9544 #include "confdefs.h" |
9638 /* System header to define __stub macros and hopefully few prototypes, | 9545 /* System header to define __stub macros and hopefully few prototypes, |
9639 which can conflict with char pow(); below. */ | 9546 which can conflict with char pow(); below. */ |
9640 #include <assert.h> | 9547 #include <assert.h> |
9641 /* Override any gcc2 internal prototype to avoid an error. */ | 9548 /* Override any gcc2 internal prototype to avoid an error. */ |
9654 pow(); | 9561 pow(); |
9655 #endif | 9562 #endif |
9656 | 9563 |
9657 ; return 0; } | 9564 ; return 0; } |
9658 EOF | 9565 EOF |
9659 if { (eval echo configure:9660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9566 if { (eval echo configure:9567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9660 rm -rf conftest* | 9567 rm -rf conftest* |
9661 eval "ac_cv_func_pow=yes" | 9568 eval "ac_cv_func_pow=yes" |
9662 else | 9569 else |
9663 echo "configure: failed program was:" >&5 | 9570 echo "configure: failed program was:" >&5 |
9664 cat conftest.$ac_ext >&5 | 9571 cat conftest.$ac_ext >&5 |
9675 with_png=no | 9582 with_png=no |
9676 fi | 9583 fi |
9677 } | 9584 } |
9678 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9585 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9679 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9586 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9680 echo "configure:9681: checking for png.h" >&5 | 9587 echo "configure:9588: checking for png.h" >&5 |
9681 | 9588 |
9682 cat > conftest.$ac_ext <<EOF | 9589 cat > conftest.$ac_ext <<EOF |
9683 #line 9684 "configure" | 9590 #line 9591 "configure" |
9684 #include "confdefs.h" | 9591 #include "confdefs.h" |
9685 #include <png.h> | 9592 #include <png.h> |
9686 EOF | 9593 EOF |
9687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9688 { (eval echo configure:9689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9595 { (eval echo configure:9596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9690 if test -z "$ac_err"; then | 9597 if test -z "$ac_err"; then |
9691 rm -rf conftest* | 9598 rm -rf conftest* |
9692 eval "ac_cv_header_$ac_safe=yes" | 9599 eval "ac_cv_header_$ac_safe=yes" |
9693 else | 9600 else |
9706 with_png=no | 9613 with_png=no |
9707 fi | 9614 fi |
9708 } | 9615 } |
9709 test -z "$with_png" && { | 9616 test -z "$with_png" && { |
9710 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9617 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9711 echo "configure:9712: checking for png_read_image in -lpng" >&5 | 9618 echo "configure:9619: checking for png_read_image in -lpng" >&5 |
9712 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9619 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9713 | 9620 |
9714 xe_check_libs=" -lpng " | 9621 xe_check_libs=" -lpng " |
9715 cat > conftest.$ac_ext <<EOF | 9622 cat > conftest.$ac_ext <<EOF |
9716 #line 9717 "configure" | 9623 #line 9624 "configure" |
9717 #include "confdefs.h" | 9624 #include "confdefs.h" |
9718 /* Override any gcc2 internal prototype to avoid an error. */ | 9625 /* Override any gcc2 internal prototype to avoid an error. */ |
9719 /* We use char because int might match the return type of a gcc2 | 9626 /* We use char because int might match the return type of a gcc2 |
9720 builtin and then its argument prototype would still apply. */ | 9627 builtin and then its argument prototype would still apply. */ |
9721 char png_read_image(); | 9628 char png_read_image(); |
9722 | 9629 |
9723 int main() { | 9630 int main() { |
9724 png_read_image() | 9631 png_read_image() |
9725 ; return 0; } | 9632 ; return 0; } |
9726 EOF | 9633 EOF |
9727 if { (eval echo configure:9728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9634 if { (eval echo configure:9635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9728 rm -rf conftest* | 9635 rm -rf conftest* |
9729 eval "ac_cv_lib_$ac_lib_var=yes" | 9636 eval "ac_cv_lib_$ac_lib_var=yes" |
9730 else | 9637 else |
9731 echo "configure: failed program was:" >&5 | 9638 echo "configure: failed program was:" >&5 |
9732 cat conftest.$ac_ext >&5 | 9639 cat conftest.$ac_ext >&5 |
9745 fi | 9652 fi |
9746 | 9653 |
9747 } | 9654 } |
9748 if test -z "$with_png"; then | 9655 if test -z "$with_png"; then |
9749 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9656 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9750 echo "configure:9751: checking for workable png version information" >&5 | 9657 echo "configure:9658: checking for workable png version information" >&5 |
9751 xe_check_libs="-lpng -lz" | 9658 xe_check_libs="-lpng -lz" |
9752 cat > conftest.$ac_ext <<EOF | 9659 cat > conftest.$ac_ext <<EOF |
9753 #line 9754 "configure" | 9660 #line 9661 "configure" |
9754 #include "confdefs.h" | 9661 #include "confdefs.h" |
9755 #include <png.h> | 9662 #include <png.h> |
9756 int main(int c, char **v) { | 9663 int main(int c, char **v) { |
9757 if (c == 1) return 0; | 9664 if (c == 1) return 0; |
9758 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9665 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9759 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9666 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9760 EOF | 9667 EOF |
9761 if { (eval echo configure:9762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9668 if { (eval echo configure:9669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9762 then | 9669 then |
9763 ./conftest dummy_arg; png_status=$?; | 9670 ./conftest dummy_arg; png_status=$?; |
9764 if test "$png_status" = "0"; then | 9671 if test "$png_status" = "0"; then |
9765 with_png=yes; | 9672 with_png=yes; |
9766 else | 9673 else |
9799 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9706 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9800 fi | 9707 fi |
9801 | 9708 |
9802 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9709 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9803 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9710 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9804 echo "configure:9805: checking for tiffio.h" >&5 | 9711 echo "configure:9712: checking for tiffio.h" >&5 |
9805 | 9712 |
9806 cat > conftest.$ac_ext <<EOF | 9713 cat > conftest.$ac_ext <<EOF |
9807 #line 9808 "configure" | 9714 #line 9715 "configure" |
9808 #include "confdefs.h" | 9715 #include "confdefs.h" |
9809 #include <tiffio.h> | 9716 #include <tiffio.h> |
9810 EOF | 9717 EOF |
9811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9812 { (eval echo configure:9813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9719 { (eval echo configure:9720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9814 if test -z "$ac_err"; then | 9721 if test -z "$ac_err"; then |
9815 rm -rf conftest* | 9722 rm -rf conftest* |
9816 eval "ac_cv_header_$ac_safe=yes" | 9723 eval "ac_cv_header_$ac_safe=yes" |
9817 else | 9724 else |
9830 with_tiff=no | 9737 with_tiff=no |
9831 fi | 9738 fi |
9832 } | 9739 } |
9833 test -z "$with_tiff" && { | 9740 test -z "$with_tiff" && { |
9834 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9741 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9835 echo "configure:9836: checking for TIFFClientOpen in -ltiff" >&5 | 9742 echo "configure:9743: checking for TIFFClientOpen in -ltiff" >&5 |
9836 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9743 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9837 | 9744 |
9838 xe_check_libs=" -ltiff " | 9745 xe_check_libs=" -ltiff " |
9839 cat > conftest.$ac_ext <<EOF | 9746 cat > conftest.$ac_ext <<EOF |
9840 #line 9841 "configure" | 9747 #line 9748 "configure" |
9841 #include "confdefs.h" | 9748 #include "confdefs.h" |
9842 /* Override any gcc2 internal prototype to avoid an error. */ | 9749 /* Override any gcc2 internal prototype to avoid an error. */ |
9843 /* We use char because int might match the return type of a gcc2 | 9750 /* We use char because int might match the return type of a gcc2 |
9844 builtin and then its argument prototype would still apply. */ | 9751 builtin and then its argument prototype would still apply. */ |
9845 char TIFFClientOpen(); | 9752 char TIFFClientOpen(); |
9846 | 9753 |
9847 int main() { | 9754 int main() { |
9848 TIFFClientOpen() | 9755 TIFFClientOpen() |
9849 ; return 0; } | 9756 ; return 0; } |
9850 EOF | 9757 EOF |
9851 if { (eval echo configure:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9758 if { (eval echo configure:9759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9852 rm -rf conftest* | 9759 rm -rf conftest* |
9853 eval "ac_cv_lib_$ac_lib_var=yes" | 9760 eval "ac_cv_lib_$ac_lib_var=yes" |
9854 else | 9761 else |
9855 echo "configure: failed program was:" >&5 | 9762 echo "configure: failed program was:" >&5 |
9856 cat conftest.$ac_ext >&5 | 9763 cat conftest.$ac_ext >&5 |
9885 | 9792 |
9886 | 9793 |
9887 if test "$with_gtk" = "yes"; then | 9794 if test "$with_gtk" = "yes"; then |
9888 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9795 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9889 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9796 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9890 echo "configure:9891: checking for compface.h" >&5 | 9797 echo "configure:9798: checking for compface.h" >&5 |
9891 | 9798 |
9892 cat > conftest.$ac_ext <<EOF | 9799 cat > conftest.$ac_ext <<EOF |
9893 #line 9894 "configure" | 9800 #line 9801 "configure" |
9894 #include "confdefs.h" | 9801 #include "confdefs.h" |
9895 #include <compface.h> | 9802 #include <compface.h> |
9896 EOF | 9803 EOF |
9897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9898 { (eval echo configure:9899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9805 { (eval echo configure:9806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9806 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9900 if test -z "$ac_err"; then | 9807 if test -z "$ac_err"; then |
9901 rm -rf conftest* | 9808 rm -rf conftest* |
9902 eval "ac_cv_header_$ac_safe=yes" | 9809 eval "ac_cv_header_$ac_safe=yes" |
9903 else | 9810 else |
9916 with_xface=no | 9823 with_xface=no |
9917 fi | 9824 fi |
9918 } | 9825 } |
9919 test -z "$with_xface" && { | 9826 test -z "$with_xface" && { |
9920 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9827 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9921 echo "configure:9922: checking for UnGenFace in -lcompface" >&5 | 9828 echo "configure:9829: checking for UnGenFace in -lcompface" >&5 |
9922 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9829 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9923 | 9830 |
9924 xe_check_libs=" -lcompface " | 9831 xe_check_libs=" -lcompface " |
9925 cat > conftest.$ac_ext <<EOF | 9832 cat > conftest.$ac_ext <<EOF |
9926 #line 9927 "configure" | 9833 #line 9834 "configure" |
9927 #include "confdefs.h" | 9834 #include "confdefs.h" |
9928 /* Override any gcc2 internal prototype to avoid an error. */ | 9835 /* Override any gcc2 internal prototype to avoid an error. */ |
9929 /* We use char because int might match the return type of a gcc2 | 9836 /* We use char because int might match the return type of a gcc2 |
9930 builtin and then its argument prototype would still apply. */ | 9837 builtin and then its argument prototype would still apply. */ |
9931 char UnGenFace(); | 9838 char UnGenFace(); |
9932 | 9839 |
9933 int main() { | 9840 int main() { |
9934 UnGenFace() | 9841 UnGenFace() |
9935 ; return 0; } | 9842 ; return 0; } |
9936 EOF | 9843 EOF |
9937 if { (eval echo configure:9938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9844 if { (eval echo configure:9845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9938 rm -rf conftest* | 9845 rm -rf conftest* |
9939 eval "ac_cv_lib_$ac_lib_var=yes" | 9846 eval "ac_cv_lib_$ac_lib_var=yes" |
9940 else | 9847 else |
9941 echo "configure: failed program was:" >&5 | 9848 echo "configure: failed program was:" >&5 |
9942 cat conftest.$ac_ext >&5 | 9849 cat conftest.$ac_ext >&5 |
9971 | 9878 |
9972 | 9879 |
9973 | 9880 |
9974 if test "$with_x11" = "yes"; then | 9881 if test "$with_x11" = "yes"; then |
9975 echo "checking for X11 graphics libraries" 1>&6 | 9882 echo "checking for X11 graphics libraries" 1>&6 |
9976 echo "configure:9977: checking for X11 graphics libraries" >&5 | 9883 echo "configure:9884: checking for X11 graphics libraries" >&5 |
9977 fi | 9884 fi |
9978 | 9885 |
9979 case "$with_widgets" in | 9886 case "$with_widgets" in |
9980 "yes" | "athena") detect_athena=yes ;; | 9887 "yes" | "athena") detect_athena=yes ;; |
9981 *) detect_athena=no ;; | 9888 *) detect_athena=no ;; |
9982 esac | 9889 esac |
9983 | 9890 |
9984 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9891 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9985 echo "checking for the Athena widgets" 1>&6 | 9892 echo "checking for the Athena widgets" 1>&6 |
9986 echo "configure:9987: checking for the Athena widgets" >&5 | 9893 echo "configure:9894: checking for the Athena widgets" >&5 |
9987 | 9894 |
9988 case "$with_athena" in | 9895 case "$with_athena" in |
9989 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9896 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9990 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9897 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9991 "next") athena_variant=neXtaw athena_3d=yes ;; | 9898 "next") athena_variant=neXtaw athena_3d=yes ;; |
9995 esac | 9902 esac |
9996 | 9903 |
9997 if test "$athena_3d" = "no"; then | 9904 if test "$athena_3d" = "no"; then |
9998 | 9905 |
9999 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9906 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
10000 echo "configure:10001: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 9907 echo "configure:9908: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
10001 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 9908 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
10002 | 9909 |
10003 xe_check_libs=" -l$athena_variant " | 9910 xe_check_libs=" -l$athena_variant " |
10004 cat > conftest.$ac_ext <<EOF | 9911 cat > conftest.$ac_ext <<EOF |
10005 #line 10006 "configure" | 9912 #line 9913 "configure" |
10006 #include "confdefs.h" | 9913 #include "confdefs.h" |
10007 /* Override any gcc2 internal prototype to avoid an error. */ | 9914 /* Override any gcc2 internal prototype to avoid an error. */ |
10008 /* We use char because int might match the return type of a gcc2 | 9915 /* We use char because int might match the return type of a gcc2 |
10009 builtin and then its argument prototype would still apply. */ | 9916 builtin and then its argument prototype would still apply. */ |
10010 char XawScrollbarSetThumb(); | 9917 char XawScrollbarSetThumb(); |
10011 | 9918 |
10012 int main() { | 9919 int main() { |
10013 XawScrollbarSetThumb() | 9920 XawScrollbarSetThumb() |
10014 ; return 0; } | 9921 ; return 0; } |
10015 EOF | 9922 EOF |
10016 if { (eval echo configure:10017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9923 if { (eval echo configure:9924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10017 rm -rf conftest* | 9924 rm -rf conftest* |
10018 eval "ac_cv_lib_$ac_lib_var=yes" | 9925 eval "ac_cv_lib_$ac_lib_var=yes" |
10019 else | 9926 else |
10020 echo "configure: failed program was:" >&5 | 9927 echo "configure: failed program was:" >&5 |
10021 cat conftest.$ac_ext >&5 | 9928 cat conftest.$ac_ext >&5 |
10027 | 9934 |
10028 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 9935 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10029 echo "$ac_t""yes" 1>&6 | 9936 echo "$ac_t""yes" 1>&6 |
10030 | 9937 |
10031 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9938 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10032 echo "configure:10033: checking for threeDClassRec in -l$athena_variant" >&5 | 9939 echo "configure:9940: checking for threeDClassRec in -l$athena_variant" >&5 |
10033 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9940 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10034 | 9941 |
10035 xe_check_libs=" -l$athena_variant " | 9942 xe_check_libs=" -l$athena_variant " |
10036 cat > conftest.$ac_ext <<EOF | 9943 cat > conftest.$ac_ext <<EOF |
10037 #line 10038 "configure" | 9944 #line 9945 "configure" |
10038 #include "confdefs.h" | 9945 #include "confdefs.h" |
10039 /* Override any gcc2 internal prototype to avoid an error. */ | 9946 /* Override any gcc2 internal prototype to avoid an error. */ |
10040 /* We use char because int might match the return type of a gcc2 | 9947 /* We use char because int might match the return type of a gcc2 |
10041 builtin and then its argument prototype would still apply. */ | 9948 builtin and then its argument prototype would still apply. */ |
10042 char threeDClassRec(); | 9949 char threeDClassRec(); |
10043 | 9950 |
10044 int main() { | 9951 int main() { |
10045 threeDClassRec() | 9952 threeDClassRec() |
10046 ; return 0; } | 9953 ; return 0; } |
10047 EOF | 9954 EOF |
10048 if { (eval echo configure:10049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9955 if { (eval echo configure:9956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10049 rm -rf conftest* | 9956 rm -rf conftest* |
10050 eval "ac_cv_lib_$ac_lib_var=yes" | 9957 eval "ac_cv_lib_$ac_lib_var=yes" |
10051 else | 9958 else |
10052 echo "configure: failed program was:" >&5 | 9959 echo "configure: failed program was:" >&5 |
10053 cat conftest.$ac_ext >&5 | 9960 cat conftest.$ac_ext >&5 |
10074 | 9981 |
10075 | 9982 |
10076 else | 9983 else |
10077 | 9984 |
10078 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 9985 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10079 echo "configure:10080: checking for threeDClassRec in -l$athena_variant" >&5 | 9986 echo "configure:9987: checking for threeDClassRec in -l$athena_variant" >&5 |
10080 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 9987 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10081 | 9988 |
10082 xe_check_libs=" -l$athena_variant " | 9989 xe_check_libs=" -l$athena_variant " |
10083 cat > conftest.$ac_ext <<EOF | 9990 cat > conftest.$ac_ext <<EOF |
10084 #line 10085 "configure" | 9991 #line 9992 "configure" |
10085 #include "confdefs.h" | 9992 #include "confdefs.h" |
10086 /* Override any gcc2 internal prototype to avoid an error. */ | 9993 /* Override any gcc2 internal prototype to avoid an error. */ |
10087 /* We use char because int might match the return type of a gcc2 | 9994 /* We use char because int might match the return type of a gcc2 |
10088 builtin and then its argument prototype would still apply. */ | 9995 builtin and then its argument prototype would still apply. */ |
10089 char threeDClassRec(); | 9996 char threeDClassRec(); |
10090 | 9997 |
10091 int main() { | 9998 int main() { |
10092 threeDClassRec() | 9999 threeDClassRec() |
10093 ; return 0; } | 10000 ; return 0; } |
10094 EOF | 10001 EOF |
10095 if { (eval echo configure:10096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10002 if { (eval echo configure:10003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10096 rm -rf conftest* | 10003 rm -rf conftest* |
10097 eval "ac_cv_lib_$ac_lib_var=yes" | 10004 eval "ac_cv_lib_$ac_lib_var=yes" |
10098 else | 10005 else |
10099 echo "configure: failed program was:" >&5 | 10006 echo "configure: failed program was:" >&5 |
10100 cat conftest.$ac_ext >&5 | 10007 cat conftest.$ac_ext >&5 |
10108 echo "$ac_t""yes" 1>&6 | 10015 echo "$ac_t""yes" 1>&6 |
10109 athena_lib=$athena_variant | 10016 athena_lib=$athena_variant |
10110 else | 10017 else |
10111 echo "$ac_t""no" 1>&6 | 10018 echo "$ac_t""no" 1>&6 |
10112 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10019 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10113 echo "configure:10114: checking for threeDClassRec in -lXaw" >&5 | 10020 echo "configure:10021: checking for threeDClassRec in -lXaw" >&5 |
10114 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10021 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10115 | 10022 |
10116 xe_check_libs=" -lXaw " | 10023 xe_check_libs=" -lXaw " |
10117 cat > conftest.$ac_ext <<EOF | 10024 cat > conftest.$ac_ext <<EOF |
10118 #line 10119 "configure" | 10025 #line 10026 "configure" |
10119 #include "confdefs.h" | 10026 #include "confdefs.h" |
10120 /* Override any gcc2 internal prototype to avoid an error. */ | 10027 /* Override any gcc2 internal prototype to avoid an error. */ |
10121 /* We use char because int might match the return type of a gcc2 | 10028 /* We use char because int might match the return type of a gcc2 |
10122 builtin and then its argument prototype would still apply. */ | 10029 builtin and then its argument prototype would still apply. */ |
10123 char threeDClassRec(); | 10030 char threeDClassRec(); |
10124 | 10031 |
10125 int main() { | 10032 int main() { |
10126 threeDClassRec() | 10033 threeDClassRec() |
10127 ; return 0; } | 10034 ; return 0; } |
10128 EOF | 10035 EOF |
10129 if { (eval echo configure:10130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10036 if { (eval echo configure:10037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10130 rm -rf conftest* | 10037 rm -rf conftest* |
10131 eval "ac_cv_lib_$ac_lib_var=yes" | 10038 eval "ac_cv_lib_$ac_lib_var=yes" |
10132 else | 10039 else |
10133 echo "configure: failed program was:" >&5 | 10040 echo "configure: failed program was:" >&5 |
10134 cat conftest.$ac_ext >&5 | 10041 cat conftest.$ac_ext >&5 |
10155 fi | 10062 fi |
10156 | 10063 |
10157 if test "$athena_3d" = "no"; then | 10064 if test "$athena_3d" = "no"; then |
10158 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10065 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10159 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10066 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10160 echo "configure:10161: checking for X11/Xaw/ThreeD.h" >&5 | 10067 echo "configure:10068: checking for X11/Xaw/ThreeD.h" >&5 |
10161 | 10068 |
10162 cat > conftest.$ac_ext <<EOF | 10069 cat > conftest.$ac_ext <<EOF |
10163 #line 10164 "configure" | 10070 #line 10071 "configure" |
10164 #include "confdefs.h" | 10071 #include "confdefs.h" |
10165 #include <X11/Xaw/ThreeD.h> | 10072 #include <X11/Xaw/ThreeD.h> |
10166 EOF | 10073 EOF |
10167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10168 { (eval echo configure:10169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10075 { (eval echo configure:10076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10170 if test -z "$ac_err"; then | 10077 if test -z "$ac_err"; then |
10171 rm -rf conftest* | 10078 rm -rf conftest* |
10172 eval "ac_cv_header_$ac_safe=yes" | 10079 eval "ac_cv_header_$ac_safe=yes" |
10173 else | 10080 else |
10183 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10090 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10184 else | 10091 else |
10185 echo "$ac_t""no" 1>&6 | 10092 echo "$ac_t""no" 1>&6 |
10186 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10093 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10187 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10094 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10188 echo "configure:10189: checking for X11/Xaw/XawInit.h" >&5 | 10095 echo "configure:10096: checking for X11/Xaw/XawInit.h" >&5 |
10189 | 10096 |
10190 cat > conftest.$ac_ext <<EOF | 10097 cat > conftest.$ac_ext <<EOF |
10191 #line 10192 "configure" | 10098 #line 10099 "configure" |
10192 #include "confdefs.h" | 10099 #include "confdefs.h" |
10193 #include <X11/Xaw/XawInit.h> | 10100 #include <X11/Xaw/XawInit.h> |
10194 EOF | 10101 EOF |
10195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10102 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10196 { (eval echo configure:10197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10103 { (eval echo configure:10104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10104 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10198 if test -z "$ac_err"; then | 10105 if test -z "$ac_err"; then |
10199 rm -rf conftest* | 10106 rm -rf conftest* |
10200 eval "ac_cv_header_$ac_safe=yes" | 10107 eval "ac_cv_header_$ac_safe=yes" |
10201 else | 10108 else |
10217 fi | 10124 fi |
10218 | 10125 |
10219 else | 10126 else |
10220 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10127 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10221 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10128 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10222 echo "configure:10223: checking for X11/$athena_variant/XawInit.h" >&5 | 10129 echo "configure:10130: checking for X11/$athena_variant/XawInit.h" >&5 |
10223 | 10130 |
10224 cat > conftest.$ac_ext <<EOF | 10131 cat > conftest.$ac_ext <<EOF |
10225 #line 10226 "configure" | 10132 #line 10133 "configure" |
10226 #include "confdefs.h" | 10133 #include "confdefs.h" |
10227 #include <X11/$athena_variant/XawInit.h> | 10134 #include <X11/$athena_variant/XawInit.h> |
10228 EOF | 10135 EOF |
10229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10230 { (eval echo configure:10231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10137 { (eval echo configure:10138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10232 if test -z "$ac_err"; then | 10139 if test -z "$ac_err"; then |
10233 rm -rf conftest* | 10140 rm -rf conftest* |
10234 eval "ac_cv_header_$ac_safe=yes" | 10141 eval "ac_cv_header_$ac_safe=yes" |
10235 else | 10142 else |
10242 rm -f conftest* | 10149 rm -f conftest* |
10243 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10150 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10244 echo "$ac_t""yes" 1>&6 | 10151 echo "$ac_t""yes" 1>&6 |
10245 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10152 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10246 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10153 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10247 echo "configure:10248: checking for X11/$athena_variant/ThreeD.h" >&5 | 10154 echo "configure:10155: checking for X11/$athena_variant/ThreeD.h" >&5 |
10248 | 10155 |
10249 cat > conftest.$ac_ext <<EOF | 10156 cat > conftest.$ac_ext <<EOF |
10250 #line 10251 "configure" | 10157 #line 10158 "configure" |
10251 #include "confdefs.h" | 10158 #include "confdefs.h" |
10252 #include <X11/$athena_variant/ThreeD.h> | 10159 #include <X11/$athena_variant/ThreeD.h> |
10253 EOF | 10160 EOF |
10254 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" |
10255 { (eval echo configure:10256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10162 { (eval echo configure:10163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10256 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10257 if test -z "$ac_err"; then | 10164 if test -z "$ac_err"; then |
10258 rm -rf conftest* | 10165 rm -rf conftest* |
10259 eval "ac_cv_header_$ac_safe=yes" | 10166 eval "ac_cv_header_$ac_safe=yes" |
10260 else | 10167 else |
10278 | 10185 |
10279 | 10186 |
10280 if test -z "$athena_h_path"; then | 10187 if test -z "$athena_h_path"; then |
10281 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10188 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10282 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10189 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10283 echo "configure:10284: checking for $athena_variant/XawInit.h" >&5 | 10190 echo "configure:10191: checking for $athena_variant/XawInit.h" >&5 |
10284 | 10191 |
10285 cat > conftest.$ac_ext <<EOF | 10192 cat > conftest.$ac_ext <<EOF |
10286 #line 10287 "configure" | 10193 #line 10194 "configure" |
10287 #include "confdefs.h" | 10194 #include "confdefs.h" |
10288 #include <$athena_variant/XawInit.h> | 10195 #include <$athena_variant/XawInit.h> |
10289 EOF | 10196 EOF |
10290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10291 { (eval echo configure:10292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10198 { (eval echo configure:10199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10293 if test -z "$ac_err"; then | 10200 if test -z "$ac_err"; then |
10294 rm -rf conftest* | 10201 rm -rf conftest* |
10295 eval "ac_cv_header_$ac_safe=yes" | 10202 eval "ac_cv_header_$ac_safe=yes" |
10296 else | 10203 else |
10303 rm -f conftest* | 10210 rm -f conftest* |
10304 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10305 echo "$ac_t""yes" 1>&6 | 10212 echo "$ac_t""yes" 1>&6 |
10306 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10213 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10307 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10214 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10308 echo "configure:10309: checking for $athena_variant/ThreeD.h" >&5 | 10215 echo "configure:10216: checking for $athena_variant/ThreeD.h" >&5 |
10309 | 10216 |
10310 cat > conftest.$ac_ext <<EOF | 10217 cat > conftest.$ac_ext <<EOF |
10311 #line 10312 "configure" | 10218 #line 10219 "configure" |
10312 #include "confdefs.h" | 10219 #include "confdefs.h" |
10313 #include <$athena_variant/ThreeD.h> | 10220 #include <$athena_variant/ThreeD.h> |
10314 EOF | 10221 EOF |
10315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10316 { (eval echo configure:10317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10223 { (eval echo configure:10224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10224 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10318 if test -z "$ac_err"; then | 10225 if test -z "$ac_err"; then |
10319 rm -rf conftest* | 10226 rm -rf conftest* |
10320 eval "ac_cv_header_$ac_safe=yes" | 10227 eval "ac_cv_header_$ac_safe=yes" |
10321 else | 10228 else |
10340 fi | 10247 fi |
10341 | 10248 |
10342 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10249 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10343 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10250 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10344 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10251 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10345 echo "configure:10346: checking for X11/Xaw3d/XawInit.h" >&5 | 10252 echo "configure:10253: checking for X11/Xaw3d/XawInit.h" >&5 |
10346 | 10253 |
10347 cat > conftest.$ac_ext <<EOF | 10254 cat > conftest.$ac_ext <<EOF |
10348 #line 10349 "configure" | 10255 #line 10256 "configure" |
10349 #include "confdefs.h" | 10256 #include "confdefs.h" |
10350 #include <X11/Xaw3d/XawInit.h> | 10257 #include <X11/Xaw3d/XawInit.h> |
10351 EOF | 10258 EOF |
10352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10353 { (eval echo configure:10354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10260 { (eval echo configure:10261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10355 if test -z "$ac_err"; then | 10262 if test -z "$ac_err"; then |
10356 rm -rf conftest* | 10263 rm -rf conftest* |
10357 eval "ac_cv_header_$ac_safe=yes" | 10264 eval "ac_cv_header_$ac_safe=yes" |
10358 else | 10265 else |
10365 rm -f conftest* | 10272 rm -f conftest* |
10366 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10273 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10367 echo "$ac_t""yes" 1>&6 | 10274 echo "$ac_t""yes" 1>&6 |
10368 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10275 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10369 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10276 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10370 echo "configure:10371: checking for X11/Xaw3d/ThreeD.h" >&5 | 10277 echo "configure:10278: checking for X11/Xaw3d/ThreeD.h" >&5 |
10371 | 10278 |
10372 cat > conftest.$ac_ext <<EOF | 10279 cat > conftest.$ac_ext <<EOF |
10373 #line 10374 "configure" | 10280 #line 10281 "configure" |
10374 #include "confdefs.h" | 10281 #include "confdefs.h" |
10375 #include <X11/Xaw3d/ThreeD.h> | 10282 #include <X11/Xaw3d/ThreeD.h> |
10376 EOF | 10283 EOF |
10377 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10378 { (eval echo configure:10379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10285 { (eval echo configure:10286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10379 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10380 if test -z "$ac_err"; then | 10287 if test -z "$ac_err"; then |
10381 rm -rf conftest* | 10288 rm -rf conftest* |
10382 eval "ac_cv_header_$ac_safe=yes" | 10289 eval "ac_cv_header_$ac_safe=yes" |
10383 else | 10290 else |
10405 fi | 10312 fi |
10406 | 10313 |
10407 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10314 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10408 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10315 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10409 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10316 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10410 echo "configure:10411: checking for Xaw3d/XawInit.h" >&5 | 10317 echo "configure:10318: checking for Xaw3d/XawInit.h" >&5 |
10411 | 10318 |
10412 cat > conftest.$ac_ext <<EOF | 10319 cat > conftest.$ac_ext <<EOF |
10413 #line 10414 "configure" | 10320 #line 10321 "configure" |
10414 #include "confdefs.h" | 10321 #include "confdefs.h" |
10415 #include <Xaw3d/XawInit.h> | 10322 #include <Xaw3d/XawInit.h> |
10416 EOF | 10323 EOF |
10417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10324 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10418 { (eval echo configure:10419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10325 { (eval echo configure:10326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10326 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10420 if test -z "$ac_err"; then | 10327 if test -z "$ac_err"; then |
10421 rm -rf conftest* | 10328 rm -rf conftest* |
10422 eval "ac_cv_header_$ac_safe=yes" | 10329 eval "ac_cv_header_$ac_safe=yes" |
10423 else | 10330 else |
10430 rm -f conftest* | 10337 rm -f conftest* |
10431 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10338 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10432 echo "$ac_t""yes" 1>&6 | 10339 echo "$ac_t""yes" 1>&6 |
10433 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10340 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10434 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10341 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10435 echo "configure:10436: checking for Xaw3d/ThreeD.h" >&5 | 10342 echo "configure:10343: checking for Xaw3d/ThreeD.h" >&5 |
10436 | 10343 |
10437 cat > conftest.$ac_ext <<EOF | 10344 cat > conftest.$ac_ext <<EOF |
10438 #line 10439 "configure" | 10345 #line 10346 "configure" |
10439 #include "confdefs.h" | 10346 #include "confdefs.h" |
10440 #include <Xaw3d/ThreeD.h> | 10347 #include <Xaw3d/ThreeD.h> |
10441 EOF | 10348 EOF |
10442 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10443 { (eval echo configure:10444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10350 { (eval echo configure:10351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10444 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10445 if test -z "$ac_err"; then | 10352 if test -z "$ac_err"; then |
10446 rm -rf conftest* | 10353 rm -rf conftest* |
10447 eval "ac_cv_header_$ac_safe=yes" | 10354 eval "ac_cv_header_$ac_safe=yes" |
10448 else | 10355 else |
10470 fi | 10377 fi |
10471 | 10378 |
10472 if test -z "$athena_h_path"; then | 10379 if test -z "$athena_h_path"; then |
10473 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10380 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10474 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10381 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10475 echo "configure:10476: checking for X11/Xaw/ThreeD.h" >&5 | 10382 echo "configure:10383: checking for X11/Xaw/ThreeD.h" >&5 |
10476 | 10383 |
10477 cat > conftest.$ac_ext <<EOF | 10384 cat > conftest.$ac_ext <<EOF |
10478 #line 10479 "configure" | 10385 #line 10386 "configure" |
10479 #include "confdefs.h" | 10386 #include "confdefs.h" |
10480 #include <X11/Xaw/ThreeD.h> | 10387 #include <X11/Xaw/ThreeD.h> |
10481 EOF | 10388 EOF |
10482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10483 { (eval echo configure:10484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10390 { (eval echo configure:10391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10485 if test -z "$ac_err"; then | 10392 if test -z "$ac_err"; then |
10486 rm -rf conftest* | 10393 rm -rf conftest* |
10487 eval "ac_cv_header_$ac_safe=yes" | 10394 eval "ac_cv_header_$ac_safe=yes" |
10488 else | 10395 else |
10517 have_xaw=no | 10424 have_xaw=no |
10518 fi | 10425 fi |
10519 if test "$with_x11" = "yes"; then | 10426 if test "$with_x11" = "yes"; then |
10520 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10427 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10521 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10428 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10522 echo "configure:10523: checking for Xm/Xm.h" >&5 | 10429 echo "configure:10430: checking for Xm/Xm.h" >&5 |
10523 | 10430 |
10524 cat > conftest.$ac_ext <<EOF | 10431 cat > conftest.$ac_ext <<EOF |
10525 #line 10526 "configure" | 10432 #line 10433 "configure" |
10526 #include "confdefs.h" | 10433 #include "confdefs.h" |
10527 #include <Xm/Xm.h> | 10434 #include <Xm/Xm.h> |
10528 EOF | 10435 EOF |
10529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10530 { (eval echo configure:10531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10437 { (eval echo configure:10438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10532 if test -z "$ac_err"; then | 10439 if test -z "$ac_err"; then |
10533 rm -rf conftest* | 10440 rm -rf conftest* |
10534 eval "ac_cv_header_$ac_safe=yes" | 10441 eval "ac_cv_header_$ac_safe=yes" |
10535 else | 10442 else |
10542 rm -f conftest* | 10449 rm -f conftest* |
10543 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10450 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10544 echo "$ac_t""yes" 1>&6 | 10451 echo "$ac_t""yes" 1>&6 |
10545 | 10452 |
10546 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10453 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10547 echo "configure:10548: checking for XmStringFree in -lXm" >&5 | 10454 echo "configure:10455: checking for XmStringFree in -lXm" >&5 |
10548 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10455 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10549 | 10456 |
10550 xe_check_libs=" -lXm " | 10457 xe_check_libs=" -lXm " |
10551 cat > conftest.$ac_ext <<EOF | 10458 cat > conftest.$ac_ext <<EOF |
10552 #line 10553 "configure" | 10459 #line 10460 "configure" |
10553 #include "confdefs.h" | 10460 #include "confdefs.h" |
10554 /* Override any gcc2 internal prototype to avoid an error. */ | 10461 /* Override any gcc2 internal prototype to avoid an error. */ |
10555 /* We use char because int might match the return type of a gcc2 | 10462 /* We use char because int might match the return type of a gcc2 |
10556 builtin and then its argument prototype would still apply. */ | 10463 builtin and then its argument prototype would still apply. */ |
10557 char XmStringFree(); | 10464 char XmStringFree(); |
10558 | 10465 |
10559 int main() { | 10466 int main() { |
10560 XmStringFree() | 10467 XmStringFree() |
10561 ; return 0; } | 10468 ; return 0; } |
10562 EOF | 10469 EOF |
10563 if { (eval echo configure:10564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10470 if { (eval echo configure:10471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10564 rm -rf conftest* | 10471 rm -rf conftest* |
10565 eval "ac_cv_lib_$ac_lib_var=yes" | 10472 eval "ac_cv_lib_$ac_lib_var=yes" |
10566 else | 10473 else |
10567 echo "configure: failed program was:" >&5 | 10474 echo "configure: failed program was:" >&5 |
10568 cat conftest.$ac_ext >&5 | 10475 cat conftest.$ac_ext >&5 |
10587 fi | 10494 fi |
10588 | 10495 |
10589 | 10496 |
10590 if test "$have_motif" = "yes"; then | 10497 if test "$have_motif" = "yes"; then |
10591 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10498 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10592 echo "configure:10593: checking for Lesstif" >&5 | 10499 echo "configure:10500: checking for Lesstif" >&5 |
10593 cat > conftest.$ac_ext <<EOF | 10500 cat > conftest.$ac_ext <<EOF |
10594 #line 10595 "configure" | 10501 #line 10502 "configure" |
10595 #include "confdefs.h" | 10502 #include "confdefs.h" |
10596 #include <Xm/Xm.h> | 10503 #include <Xm/Xm.h> |
10597 #ifdef LESSTIF_VERSION | 10504 #ifdef LESSTIF_VERSION |
10598 yes | 10505 yes |
10599 #endif | 10506 #endif |
10962 | 10869 |
10963 fi | 10870 fi |
10964 | 10871 |
10965 if test "$with_mule" = "yes" ; then | 10872 if test "$with_mule" = "yes" ; then |
10966 echo "checking for Mule-related features" 1>&6 | 10873 echo "checking for Mule-related features" 1>&6 |
10967 echo "configure:10968: checking for Mule-related features" >&5 | 10874 echo "configure:10875: checking for Mule-related features" >&5 |
10968 { test "$extra_verbose" = "yes" && cat << \EOF | 10875 { test "$extra_verbose" = "yes" && cat << \EOF |
10969 Defining MULE | 10876 Defining MULE |
10970 EOF | 10877 EOF |
10971 cat >> confdefs.h <<\EOF | 10878 cat >> confdefs.h <<\EOF |
10972 #define MULE 1 | 10879 #define MULE 1 |
10976 | 10883 |
10977 for ac_hdr in libintl.h | 10884 for ac_hdr in libintl.h |
10978 do | 10885 do |
10979 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10886 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10980 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10887 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10981 echo "configure:10982: checking for $ac_hdr" >&5 | 10888 echo "configure:10889: checking for $ac_hdr" >&5 |
10982 | 10889 |
10983 cat > conftest.$ac_ext <<EOF | 10890 cat > conftest.$ac_ext <<EOF |
10984 #line 10985 "configure" | 10891 #line 10892 "configure" |
10985 #include "confdefs.h" | 10892 #include "confdefs.h" |
10986 #include <$ac_hdr> | 10893 #include <$ac_hdr> |
10987 EOF | 10894 EOF |
10988 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10989 { (eval echo configure:10990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10896 { (eval echo configure:10897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10990 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10991 if test -z "$ac_err"; then | 10898 if test -z "$ac_err"; then |
10992 rm -rf conftest* | 10899 rm -rf conftest* |
10993 eval "ac_cv_header_$ac_safe=yes" | 10900 eval "ac_cv_header_$ac_safe=yes" |
10994 else | 10901 else |
11015 fi | 10922 fi |
11016 done | 10923 done |
11017 | 10924 |
11018 | 10925 |
11019 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 10926 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
11020 echo "configure:11021: checking for strerror in -lintl" >&5 | 10927 echo "configure:10928: checking for strerror in -lintl" >&5 |
11021 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 10928 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
11022 | 10929 |
11023 xe_check_libs=" -lintl " | 10930 xe_check_libs=" -lintl " |
11024 cat > conftest.$ac_ext <<EOF | 10931 cat > conftest.$ac_ext <<EOF |
11025 #line 11026 "configure" | 10932 #line 10933 "configure" |
11026 #include "confdefs.h" | 10933 #include "confdefs.h" |
11027 /* Override any gcc2 internal prototype to avoid an error. */ | 10934 /* Override any gcc2 internal prototype to avoid an error. */ |
11028 /* We use char because int might match the return type of a gcc2 | 10935 /* We use char because int might match the return type of a gcc2 |
11029 builtin and then its argument prototype would still apply. */ | 10936 builtin and then its argument prototype would still apply. */ |
11030 char strerror(); | 10937 char strerror(); |
11031 | 10938 |
11032 int main() { | 10939 int main() { |
11033 strerror() | 10940 strerror() |
11034 ; return 0; } | 10941 ; return 0; } |
11035 EOF | 10942 EOF |
11036 if { (eval echo configure:11037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10943 if { (eval echo configure:10944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11037 rm -rf conftest* | 10944 rm -rf conftest* |
11038 eval "ac_cv_lib_$ac_lib_var=yes" | 10945 eval "ac_cv_lib_$ac_lib_var=yes" |
11039 else | 10946 else |
11040 echo "configure: failed program was:" >&5 | 10947 echo "configure: failed program was:" >&5 |
11041 cat conftest.$ac_ext >&5 | 10948 cat conftest.$ac_ext >&5 |
11064 fi | 10971 fi |
11065 | 10972 |
11066 | 10973 |
11067 | 10974 |
11068 echo "checking for Mule input methods" 1>&6 | 10975 echo "checking for Mule input methods" 1>&6 |
11069 echo "configure:11070: checking for Mule input methods" >&5 | 10976 echo "configure:10977: checking for Mule input methods" >&5 |
11070 case "$with_xim" in "" | "yes" ) | 10977 case "$with_xim" in "" | "yes" ) |
11071 echo "checking for XIM" 1>&6 | 10978 echo "checking for XIM" 1>&6 |
11072 echo "configure:11073: checking for XIM" >&5 | 10979 echo "configure:10980: checking for XIM" >&5 |
11073 | 10980 |
11074 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 10981 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11075 echo "configure:11076: checking for XOpenIM in -lX11" >&5 | 10982 echo "configure:10983: checking for XOpenIM in -lX11" >&5 |
11076 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 10983 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11077 | 10984 |
11078 xe_check_libs=" -lX11 " | 10985 xe_check_libs=" -lX11 " |
11079 cat > conftest.$ac_ext <<EOF | 10986 cat > conftest.$ac_ext <<EOF |
11080 #line 11081 "configure" | 10987 #line 10988 "configure" |
11081 #include "confdefs.h" | 10988 #include "confdefs.h" |
11082 /* Override any gcc2 internal prototype to avoid an error. */ | 10989 /* Override any gcc2 internal prototype to avoid an error. */ |
11083 /* We use char because int might match the return type of a gcc2 | 10990 /* We use char because int might match the return type of a gcc2 |
11084 builtin and then its argument prototype would still apply. */ | 10991 builtin and then its argument prototype would still apply. */ |
11085 char XOpenIM(); | 10992 char XOpenIM(); |
11086 | 10993 |
11087 int main() { | 10994 int main() { |
11088 XOpenIM() | 10995 XOpenIM() |
11089 ; return 0; } | 10996 ; return 0; } |
11090 EOF | 10997 EOF |
11091 if { (eval echo configure:11092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10998 if { (eval echo configure:10999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11092 rm -rf conftest* | 10999 rm -rf conftest* |
11093 eval "ac_cv_lib_$ac_lib_var=yes" | 11000 eval "ac_cv_lib_$ac_lib_var=yes" |
11094 else | 11001 else |
11095 echo "configure: failed program was:" >&5 | 11002 echo "configure: failed program was:" >&5 |
11096 cat conftest.$ac_ext >&5 | 11003 cat conftest.$ac_ext >&5 |
11110 | 11017 |
11111 | 11018 |
11112 if test "$have_motif $have_lesstif" = "yes no"; then | 11019 if test "$have_motif $have_lesstif" = "yes no"; then |
11113 | 11020 |
11114 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11021 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11115 echo "configure:11116: checking for XmImMbLookupString in -lXm" >&5 | 11022 echo "configure:11023: checking for XmImMbLookupString in -lXm" >&5 |
11116 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11023 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11117 | 11024 |
11118 xe_check_libs=" -lXm " | 11025 xe_check_libs=" -lXm " |
11119 cat > conftest.$ac_ext <<EOF | 11026 cat > conftest.$ac_ext <<EOF |
11120 #line 11121 "configure" | 11027 #line 11028 "configure" |
11121 #include "confdefs.h" | 11028 #include "confdefs.h" |
11122 /* Override any gcc2 internal prototype to avoid an error. */ | 11029 /* Override any gcc2 internal prototype to avoid an error. */ |
11123 /* We use char because int might match the return type of a gcc2 | 11030 /* We use char because int might match the return type of a gcc2 |
11124 builtin and then its argument prototype would still apply. */ | 11031 builtin and then its argument prototype would still apply. */ |
11125 char XmImMbLookupString(); | 11032 char XmImMbLookupString(); |
11126 | 11033 |
11127 int main() { | 11034 int main() { |
11128 XmImMbLookupString() | 11035 XmImMbLookupString() |
11129 ; return 0; } | 11036 ; return 0; } |
11130 EOF | 11037 EOF |
11131 if { (eval echo configure:11132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11038 if { (eval echo configure:11039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11132 rm -rf conftest* | 11039 rm -rf conftest* |
11133 eval "ac_cv_lib_$ac_lib_var=yes" | 11040 eval "ac_cv_lib_$ac_lib_var=yes" |
11134 else | 11041 else |
11135 echo "configure: failed program was:" >&5 | 11042 echo "configure: failed program was:" >&5 |
11136 cat conftest.$ac_ext >&5 | 11043 cat conftest.$ac_ext >&5 |
11191 fi | 11098 fi |
11192 fi | 11099 fi |
11193 | 11100 |
11194 if test "$with_xfs" = "yes" ; then | 11101 if test "$with_xfs" = "yes" ; then |
11195 echo "checking for XFontSet" 1>&6 | 11102 echo "checking for XFontSet" 1>&6 |
11196 echo "configure:11197: checking for XFontSet" >&5 | 11103 echo "configure:11104: checking for XFontSet" >&5 |
11197 | 11104 |
11198 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11105 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11199 echo "configure:11200: checking for XmbDrawString in -lX11" >&5 | 11106 echo "configure:11107: checking for XmbDrawString in -lX11" >&5 |
11200 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11107 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11201 | 11108 |
11202 xe_check_libs=" -lX11 " | 11109 xe_check_libs=" -lX11 " |
11203 cat > conftest.$ac_ext <<EOF | 11110 cat > conftest.$ac_ext <<EOF |
11204 #line 11205 "configure" | 11111 #line 11112 "configure" |
11205 #include "confdefs.h" | 11112 #include "confdefs.h" |
11206 /* Override any gcc2 internal prototype to avoid an error. */ | 11113 /* Override any gcc2 internal prototype to avoid an error. */ |
11207 /* We use char because int might match the return type of a gcc2 | 11114 /* We use char because int might match the return type of a gcc2 |
11208 builtin and then its argument prototype would still apply. */ | 11115 builtin and then its argument prototype would still apply. */ |
11209 char XmbDrawString(); | 11116 char XmbDrawString(); |
11210 | 11117 |
11211 int main() { | 11118 int main() { |
11212 XmbDrawString() | 11119 XmbDrawString() |
11213 ; return 0; } | 11120 ; return 0; } |
11214 EOF | 11121 EOF |
11215 if { (eval echo configure:11216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11122 if { (eval echo configure:11123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11216 rm -rf conftest* | 11123 rm -rf conftest* |
11217 eval "ac_cv_lib_$ac_lib_var=yes" | 11124 eval "ac_cv_lib_$ac_lib_var=yes" |
11218 else | 11125 else |
11219 echo "configure: failed program was:" >&5 | 11126 echo "configure: failed program was:" >&5 |
11220 cat conftest.$ac_ext >&5 | 11127 cat conftest.$ac_ext >&5 |
11250 fi | 11157 fi |
11251 fi | 11158 fi |
11252 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11159 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11253 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11160 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11254 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11161 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11255 echo "configure:11256: checking for wnn/jllib.h" >&5 | 11162 echo "configure:11163: checking for wnn/jllib.h" >&5 |
11256 | 11163 |
11257 cat > conftest.$ac_ext <<EOF | 11164 cat > conftest.$ac_ext <<EOF |
11258 #line 11259 "configure" | 11165 #line 11166 "configure" |
11259 #include "confdefs.h" | 11166 #include "confdefs.h" |
11260 #include <wnn/jllib.h> | 11167 #include <wnn/jllib.h> |
11261 EOF | 11168 EOF |
11262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11263 { (eval echo configure:11264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11170 { (eval echo configure:11171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11171 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11265 if test -z "$ac_err"; then | 11172 if test -z "$ac_err"; then |
11266 rm -rf conftest* | 11173 rm -rf conftest* |
11267 eval "ac_cv_header_$ac_safe=yes" | 11174 eval "ac_cv_header_$ac_safe=yes" |
11268 else | 11175 else |
11281 with_wnn=no | 11188 with_wnn=no |
11282 fi | 11189 fi |
11283 } | 11190 } |
11284 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11191 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11285 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11192 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11286 echo "configure:11287: checking for wnn/commonhd.h" >&5 | 11193 echo "configure:11194: checking for wnn/commonhd.h" >&5 |
11287 | 11194 |
11288 cat > conftest.$ac_ext <<EOF | 11195 cat > conftest.$ac_ext <<EOF |
11289 #line 11290 "configure" | 11196 #line 11197 "configure" |
11290 #include "confdefs.h" | 11197 #include "confdefs.h" |
11291 #include <wnn/commonhd.h> | 11198 #include <wnn/commonhd.h> |
11292 EOF | 11199 EOF |
11293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11294 { (eval echo configure:11295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11201 { (eval echo configure:11202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11202 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11296 if test -z "$ac_err"; then | 11203 if test -z "$ac_err"; then |
11297 rm -rf conftest* | 11204 rm -rf conftest* |
11298 eval "ac_cv_header_$ac_safe=yes" | 11205 eval "ac_cv_header_$ac_safe=yes" |
11299 else | 11206 else |
11314 } | 11221 } |
11315 if test "$with_wnn" != "no"; then | 11222 if test "$with_wnn" != "no"; then |
11316 for ac_func in crypt | 11223 for ac_func in crypt |
11317 do | 11224 do |
11318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11319 echo "configure:11320: checking for $ac_func" >&5 | 11226 echo "configure:11227: checking for $ac_func" >&5 |
11320 | 11227 |
11321 cat > conftest.$ac_ext <<EOF | 11228 cat > conftest.$ac_ext <<EOF |
11322 #line 11323 "configure" | 11229 #line 11230 "configure" |
11323 #include "confdefs.h" | 11230 #include "confdefs.h" |
11324 /* System header to define __stub macros and hopefully few prototypes, | 11231 /* System header to define __stub macros and hopefully few prototypes, |
11325 which can conflict with char $ac_func(); below. */ | 11232 which can conflict with char $ac_func(); below. */ |
11326 #include <assert.h> | 11233 #include <assert.h> |
11327 /* Override any gcc2 internal prototype to avoid an error. */ | 11234 /* Override any gcc2 internal prototype to avoid an error. */ |
11340 $ac_func(); | 11247 $ac_func(); |
11341 #endif | 11248 #endif |
11342 | 11249 |
11343 ; return 0; } | 11250 ; return 0; } |
11344 EOF | 11251 EOF |
11345 if { (eval echo configure:11346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11252 if { (eval echo configure:11253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11346 rm -rf conftest* | 11253 rm -rf conftest* |
11347 eval "ac_cv_func_$ac_func=yes" | 11254 eval "ac_cv_func_$ac_func=yes" |
11348 else | 11255 else |
11349 echo "configure: failed program was:" >&5 | 11256 echo "configure: failed program was:" >&5 |
11350 cat conftest.$ac_ext >&5 | 11257 cat conftest.$ac_ext >&5 |
11369 fi | 11276 fi |
11370 done | 11277 done |
11371 | 11278 |
11372 test "$ac_cv_func_crypt" != "yes" && { | 11279 test "$ac_cv_func_crypt" != "yes" && { |
11373 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11280 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11374 echo "configure:11375: checking for crypt in -lcrypt" >&5 | 11281 echo "configure:11282: checking for crypt in -lcrypt" >&5 |
11375 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11282 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11376 | 11283 |
11377 xe_check_libs=" -lcrypt " | 11284 xe_check_libs=" -lcrypt " |
11378 cat > conftest.$ac_ext <<EOF | 11285 cat > conftest.$ac_ext <<EOF |
11379 #line 11380 "configure" | 11286 #line 11287 "configure" |
11380 #include "confdefs.h" | 11287 #include "confdefs.h" |
11381 /* Override any gcc2 internal prototype to avoid an error. */ | 11288 /* Override any gcc2 internal prototype to avoid an error. */ |
11382 /* We use char because int might match the return type of a gcc2 | 11289 /* We use char because int might match the return type of a gcc2 |
11383 builtin and then its argument prototype would still apply. */ | 11290 builtin and then its argument prototype would still apply. */ |
11384 char crypt(); | 11291 char crypt(); |
11385 | 11292 |
11386 int main() { | 11293 int main() { |
11387 crypt() | 11294 crypt() |
11388 ; return 0; } | 11295 ; return 0; } |
11389 EOF | 11296 EOF |
11390 if { (eval echo configure:11391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11297 if { (eval echo configure:11298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11391 rm -rf conftest* | 11298 rm -rf conftest* |
11392 eval "ac_cv_lib_$ac_lib_var=yes" | 11299 eval "ac_cv_lib_$ac_lib_var=yes" |
11393 else | 11300 else |
11394 echo "configure: failed program was:" >&5 | 11301 echo "configure: failed program was:" >&5 |
11395 cat conftest.$ac_ext >&5 | 11302 cat conftest.$ac_ext >&5 |
11420 } | 11327 } |
11421 fi | 11328 fi |
11422 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11329 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11423 | 11330 |
11424 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11331 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11425 echo "configure:11426: checking for jl_dic_list_e in -lwnn" >&5 | 11332 echo "configure:11333: checking for jl_dic_list_e in -lwnn" >&5 |
11426 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11333 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11427 | 11334 |
11428 xe_check_libs=" -lwnn " | 11335 xe_check_libs=" -lwnn " |
11429 cat > conftest.$ac_ext <<EOF | 11336 cat > conftest.$ac_ext <<EOF |
11430 #line 11431 "configure" | 11337 #line 11338 "configure" |
11431 #include "confdefs.h" | 11338 #include "confdefs.h" |
11432 /* Override any gcc2 internal prototype to avoid an error. */ | 11339 /* Override any gcc2 internal prototype to avoid an error. */ |
11433 /* We use char because int might match the return type of a gcc2 | 11340 /* We use char because int might match the return type of a gcc2 |
11434 builtin and then its argument prototype would still apply. */ | 11341 builtin and then its argument prototype would still apply. */ |
11435 char jl_dic_list_e(); | 11342 char jl_dic_list_e(); |
11436 | 11343 |
11437 int main() { | 11344 int main() { |
11438 jl_dic_list_e() | 11345 jl_dic_list_e() |
11439 ; return 0; } | 11346 ; return 0; } |
11440 EOF | 11347 EOF |
11441 if { (eval echo configure:11442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11348 if { (eval echo configure:11349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11442 rm -rf conftest* | 11349 rm -rf conftest* |
11443 eval "ac_cv_lib_$ac_lib_var=yes" | 11350 eval "ac_cv_lib_$ac_lib_var=yes" |
11444 else | 11351 else |
11445 echo "configure: failed program was:" >&5 | 11352 echo "configure: failed program was:" >&5 |
11446 cat conftest.$ac_ext >&5 | 11353 cat conftest.$ac_ext >&5 |
11454 echo "$ac_t""yes" 1>&6 | 11361 echo "$ac_t""yes" 1>&6 |
11455 libwnn=wnn | 11362 libwnn=wnn |
11456 else | 11363 else |
11457 echo "$ac_t""no" 1>&6 | 11364 echo "$ac_t""no" 1>&6 |
11458 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11365 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11459 echo "configure:11460: checking for jl_dic_list_e in -lwnn4" >&5 | 11366 echo "configure:11367: checking for jl_dic_list_e in -lwnn4" >&5 |
11460 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11367 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11461 | 11368 |
11462 xe_check_libs=" -lwnn4 " | 11369 xe_check_libs=" -lwnn4 " |
11463 cat > conftest.$ac_ext <<EOF | 11370 cat > conftest.$ac_ext <<EOF |
11464 #line 11465 "configure" | 11371 #line 11372 "configure" |
11465 #include "confdefs.h" | 11372 #include "confdefs.h" |
11466 /* Override any gcc2 internal prototype to avoid an error. */ | 11373 /* Override any gcc2 internal prototype to avoid an error. */ |
11467 /* We use char because int might match the return type of a gcc2 | 11374 /* We use char because int might match the return type of a gcc2 |
11468 builtin and then its argument prototype would still apply. */ | 11375 builtin and then its argument prototype would still apply. */ |
11469 char jl_dic_list_e(); | 11376 char jl_dic_list_e(); |
11470 | 11377 |
11471 int main() { | 11378 int main() { |
11472 jl_dic_list_e() | 11379 jl_dic_list_e() |
11473 ; return 0; } | 11380 ; return 0; } |
11474 EOF | 11381 EOF |
11475 if { (eval echo configure:11476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11382 if { (eval echo configure:11383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11476 rm -rf conftest* | 11383 rm -rf conftest* |
11477 eval "ac_cv_lib_$ac_lib_var=yes" | 11384 eval "ac_cv_lib_$ac_lib_var=yes" |
11478 else | 11385 else |
11479 echo "configure: failed program was:" >&5 | 11386 echo "configure: failed program was:" >&5 |
11480 cat conftest.$ac_ext >&5 | 11387 cat conftest.$ac_ext >&5 |
11488 echo "$ac_t""yes" 1>&6 | 11395 echo "$ac_t""yes" 1>&6 |
11489 libwnn=wnn4 | 11396 libwnn=wnn4 |
11490 else | 11397 else |
11491 echo "$ac_t""no" 1>&6 | 11398 echo "$ac_t""no" 1>&6 |
11492 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11399 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11493 echo "configure:11494: checking for jl_dic_list_e in -lwnn6" >&5 | 11400 echo "configure:11401: checking for jl_dic_list_e in -lwnn6" >&5 |
11494 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11401 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11495 | 11402 |
11496 xe_check_libs=" -lwnn6 " | 11403 xe_check_libs=" -lwnn6 " |
11497 cat > conftest.$ac_ext <<EOF | 11404 cat > conftest.$ac_ext <<EOF |
11498 #line 11499 "configure" | 11405 #line 11406 "configure" |
11499 #include "confdefs.h" | 11406 #include "confdefs.h" |
11500 /* Override any gcc2 internal prototype to avoid an error. */ | 11407 /* Override any gcc2 internal prototype to avoid an error. */ |
11501 /* We use char because int might match the return type of a gcc2 | 11408 /* We use char because int might match the return type of a gcc2 |
11502 builtin and then its argument prototype would still apply. */ | 11409 builtin and then its argument prototype would still apply. */ |
11503 char jl_dic_list_e(); | 11410 char jl_dic_list_e(); |
11504 | 11411 |
11505 int main() { | 11412 int main() { |
11506 jl_dic_list_e() | 11413 jl_dic_list_e() |
11507 ; return 0; } | 11414 ; return 0; } |
11508 EOF | 11415 EOF |
11509 if { (eval echo configure:11510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11416 if { (eval echo configure:11417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11510 rm -rf conftest* | 11417 rm -rf conftest* |
11511 eval "ac_cv_lib_$ac_lib_var=yes" | 11418 eval "ac_cv_lib_$ac_lib_var=yes" |
11512 else | 11419 else |
11513 echo "configure: failed program was:" >&5 | 11420 echo "configure: failed program was:" >&5 |
11514 cat conftest.$ac_ext >&5 | 11421 cat conftest.$ac_ext >&5 |
11522 echo "$ac_t""yes" 1>&6 | 11429 echo "$ac_t""yes" 1>&6 |
11523 libwnn=wnn6 | 11430 libwnn=wnn6 |
11524 else | 11431 else |
11525 echo "$ac_t""no" 1>&6 | 11432 echo "$ac_t""no" 1>&6 |
11526 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11433 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11527 echo "configure:11528: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11434 echo "configure:11435: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11528 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11435 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11529 | 11436 |
11530 xe_check_libs=" -lwnn6_fromsrc " | 11437 xe_check_libs=" -lwnn6_fromsrc " |
11531 cat > conftest.$ac_ext <<EOF | 11438 cat > conftest.$ac_ext <<EOF |
11532 #line 11533 "configure" | 11439 #line 11440 "configure" |
11533 #include "confdefs.h" | 11440 #include "confdefs.h" |
11534 /* Override any gcc2 internal prototype to avoid an error. */ | 11441 /* Override any gcc2 internal prototype to avoid an error. */ |
11535 /* 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 |
11536 builtin and then its argument prototype would still apply. */ | 11443 builtin and then its argument prototype would still apply. */ |
11537 char dic_list_e(); | 11444 char dic_list_e(); |
11538 | 11445 |
11539 int main() { | 11446 int main() { |
11540 dic_list_e() | 11447 dic_list_e() |
11541 ; return 0; } | 11448 ; return 0; } |
11542 EOF | 11449 EOF |
11543 if { (eval echo configure:11544: \"$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 |
11544 rm -rf conftest* | 11451 rm -rf conftest* |
11545 eval "ac_cv_lib_$ac_lib_var=yes" | 11452 eval "ac_cv_lib_$ac_lib_var=yes" |
11546 else | 11453 else |
11547 echo "configure: failed program was:" >&5 | 11454 echo "configure: failed program was:" >&5 |
11548 cat conftest.$ac_ext >&5 | 11455 cat conftest.$ac_ext >&5 |
11583 | 11490 |
11584 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11491 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11585 if test "$with_wnn6" != "no"; then | 11492 if test "$with_wnn6" != "no"; then |
11586 | 11493 |
11587 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11494 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11588 echo "configure:11589: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11495 echo "configure:11496: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11589 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11496 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11590 | 11497 |
11591 xe_check_libs=" -l$libwnn " | 11498 xe_check_libs=" -l$libwnn " |
11592 cat > conftest.$ac_ext <<EOF | 11499 cat > conftest.$ac_ext <<EOF |
11593 #line 11594 "configure" | 11500 #line 11501 "configure" |
11594 #include "confdefs.h" | 11501 #include "confdefs.h" |
11595 /* Override any gcc2 internal prototype to avoid an error. */ | 11502 /* Override any gcc2 internal prototype to avoid an error. */ |
11596 /* We use char because int might match the return type of a gcc2 | 11503 /* We use char because int might match the return type of a gcc2 |
11597 builtin and then its argument prototype would still apply. */ | 11504 builtin and then its argument prototype would still apply. */ |
11598 char jl_fi_dic_list(); | 11505 char jl_fi_dic_list(); |
11599 | 11506 |
11600 int main() { | 11507 int main() { |
11601 jl_fi_dic_list() | 11508 jl_fi_dic_list() |
11602 ; return 0; } | 11509 ; return 0; } |
11603 EOF | 11510 EOF |
11604 if { (eval echo configure:11605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11511 if { (eval echo configure:11512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11605 rm -rf conftest* | 11512 rm -rf conftest* |
11606 eval "ac_cv_lib_$ac_lib_var=yes" | 11513 eval "ac_cv_lib_$ac_lib_var=yes" |
11607 else | 11514 else |
11608 echo "configure: failed program was:" >&5 | 11515 echo "configure: failed program was:" >&5 |
11609 cat conftest.$ac_ext >&5 | 11516 cat conftest.$ac_ext >&5 |
11634 | 11541 |
11635 canna_includes_found=no | 11542 canna_includes_found=no |
11636 if test "$with_canna" != "no"; then | 11543 if test "$with_canna" != "no"; then |
11637 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11544 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11638 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11545 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11639 echo "configure:11640: checking for canna/jrkanji.h" >&5 | 11546 echo "configure:11547: checking for canna/jrkanji.h" >&5 |
11640 | 11547 |
11641 cat > conftest.$ac_ext <<EOF | 11548 cat > conftest.$ac_ext <<EOF |
11642 #line 11643 "configure" | 11549 #line 11550 "configure" |
11643 #include "confdefs.h" | 11550 #include "confdefs.h" |
11644 #include <canna/jrkanji.h> | 11551 #include <canna/jrkanji.h> |
11645 EOF | 11552 EOF |
11646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11647 { (eval echo configure:11648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11554 { (eval echo configure:11555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11649 if test -z "$ac_err"; then | 11556 if test -z "$ac_err"; then |
11650 rm -rf conftest* | 11557 rm -rf conftest* |
11651 eval "ac_cv_header_$ac_safe=yes" | 11558 eval "ac_cv_header_$ac_safe=yes" |
11652 else | 11559 else |
11669 -d "/usr/local/canna/include"; then | 11576 -d "/usr/local/canna/include"; then |
11670 save_c_switch_site="$c_switch_site" | 11577 save_c_switch_site="$c_switch_site" |
11671 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11578 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11672 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11579 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11673 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11580 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11674 echo "configure:11675: checking for canna/jrkanji.h" >&5 | 11581 echo "configure:11582: checking for canna/jrkanji.h" >&5 |
11675 | 11582 |
11676 cat > conftest.$ac_ext <<EOF | 11583 cat > conftest.$ac_ext <<EOF |
11677 #line 11678 "configure" | 11584 #line 11585 "configure" |
11678 #include "confdefs.h" | 11585 #include "confdefs.h" |
11679 #include <canna/jrkanji.h> | 11586 #include <canna/jrkanji.h> |
11680 EOF | 11587 EOF |
11681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11682 { (eval echo configure:11683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11589 { (eval echo configure:11590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11684 if test -z "$ac_err"; then | 11591 if test -z "$ac_err"; then |
11685 rm -rf conftest* | 11592 rm -rf conftest* |
11686 eval "ac_cv_header_$ac_safe=yes" | 11593 eval "ac_cv_header_$ac_safe=yes" |
11687 else | 11594 else |
11705 fi | 11612 fi |
11706 fi | 11613 fi |
11707 | 11614 |
11708 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11615 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11709 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11616 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11710 echo "configure:11711: checking for canna/RK.h" >&5 | 11617 echo "configure:11618: checking for canna/RK.h" >&5 |
11711 | 11618 |
11712 cat > conftest.$ac_ext <<EOF | 11619 cat > conftest.$ac_ext <<EOF |
11713 #line 11714 "configure" | 11620 #line 11621 "configure" |
11714 #include "confdefs.h" | 11621 #include "confdefs.h" |
11715 #include <canna/RK.h> | 11622 #include <canna/RK.h> |
11716 EOF | 11623 EOF |
11717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11718 { (eval echo configure:11719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11625 { (eval echo configure:11626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11720 if test -z "$ac_err"; then | 11627 if test -z "$ac_err"; then |
11721 rm -rf conftest* | 11628 rm -rf conftest* |
11722 eval "ac_cv_header_$ac_safe=yes" | 11629 eval "ac_cv_header_$ac_safe=yes" |
11723 else | 11630 else |
11736 with_canna=no | 11643 with_canna=no |
11737 fi | 11644 fi |
11738 } | 11645 } |
11739 test -z "$with_canna" && { | 11646 test -z "$with_canna" && { |
11740 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11647 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11741 echo "configure:11742: checking for RkBgnBun in -lRKC" >&5 | 11648 echo "configure:11649: checking for RkBgnBun in -lRKC" >&5 |
11742 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11649 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11743 | 11650 |
11744 xe_check_libs=" -lRKC " | 11651 xe_check_libs=" -lRKC " |
11745 cat > conftest.$ac_ext <<EOF | 11652 cat > conftest.$ac_ext <<EOF |
11746 #line 11747 "configure" | 11653 #line 11654 "configure" |
11747 #include "confdefs.h" | 11654 #include "confdefs.h" |
11748 /* Override any gcc2 internal prototype to avoid an error. */ | 11655 /* Override any gcc2 internal prototype to avoid an error. */ |
11749 /* We use char because int might match the return type of a gcc2 | 11656 /* We use char because int might match the return type of a gcc2 |
11750 builtin and then its argument prototype would still apply. */ | 11657 builtin and then its argument prototype would still apply. */ |
11751 char RkBgnBun(); | 11658 char RkBgnBun(); |
11752 | 11659 |
11753 int main() { | 11660 int main() { |
11754 RkBgnBun() | 11661 RkBgnBun() |
11755 ; return 0; } | 11662 ; return 0; } |
11756 EOF | 11663 EOF |
11757 if { (eval echo configure:11758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11664 if { (eval echo configure:11665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11758 rm -rf conftest* | 11665 rm -rf conftest* |
11759 eval "ac_cv_lib_$ac_lib_var=yes" | 11666 eval "ac_cv_lib_$ac_lib_var=yes" |
11760 else | 11667 else |
11761 echo "configure: failed program was:" >&5 | 11668 echo "configure: failed program was:" >&5 |
11762 cat conftest.$ac_ext >&5 | 11669 cat conftest.$ac_ext >&5 |
11775 fi | 11682 fi |
11776 | 11683 |
11777 } | 11684 } |
11778 test -z "$with_canna" && { | 11685 test -z "$with_canna" && { |
11779 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11686 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11780 echo "configure:11781: checking for jrKanjiControl in -lcanna" >&5 | 11687 echo "configure:11688: checking for jrKanjiControl in -lcanna" >&5 |
11781 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11688 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11782 | 11689 |
11783 xe_check_libs=" -lcanna " | 11690 xe_check_libs=" -lcanna " |
11784 cat > conftest.$ac_ext <<EOF | 11691 cat > conftest.$ac_ext <<EOF |
11785 #line 11786 "configure" | 11692 #line 11693 "configure" |
11786 #include "confdefs.h" | 11693 #include "confdefs.h" |
11787 /* Override any gcc2 internal prototype to avoid an error. */ | 11694 /* Override any gcc2 internal prototype to avoid an error. */ |
11788 /* We use char because int might match the return type of a gcc2 | 11695 /* We use char because int might match the return type of a gcc2 |
11789 builtin and then its argument prototype would still apply. */ | 11696 builtin and then its argument prototype would still apply. */ |
11790 char jrKanjiControl(); | 11697 char jrKanjiControl(); |
11791 | 11698 |
11792 int main() { | 11699 int main() { |
11793 jrKanjiControl() | 11700 jrKanjiControl() |
11794 ; return 0; } | 11701 ; return 0; } |
11795 EOF | 11702 EOF |
11796 if { (eval echo configure:11797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11703 if { (eval echo configure:11704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11797 rm -rf conftest* | 11704 rm -rf conftest* |
11798 eval "ac_cv_lib_$ac_lib_var=yes" | 11705 eval "ac_cv_lib_$ac_lib_var=yes" |
11799 else | 11706 else |
11800 echo "configure: failed program was:" >&5 | 11707 echo "configure: failed program was:" >&5 |
11801 cat conftest.$ac_ext >&5 | 11708 cat conftest.$ac_ext >&5 |
11837 | 11744 |
11838 if test "$need_motif" = "yes" ; then | 11745 if test "$need_motif" = "yes" ; then |
11839 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11746 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11840 | 11747 |
11841 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11748 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11842 echo "configure:11843: checking for layout_object_getvalue in -li18n" >&5 | 11749 echo "configure:11750: checking for layout_object_getvalue in -li18n" >&5 |
11843 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11750 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11844 | 11751 |
11845 xe_check_libs=" -li18n " | 11752 xe_check_libs=" -li18n " |
11846 cat > conftest.$ac_ext <<EOF | 11753 cat > conftest.$ac_ext <<EOF |
11847 #line 11848 "configure" | 11754 #line 11755 "configure" |
11848 #include "confdefs.h" | 11755 #include "confdefs.h" |
11849 /* Override any gcc2 internal prototype to avoid an error. */ | 11756 /* Override any gcc2 internal prototype to avoid an error. */ |
11850 /* We use char because int might match the return type of a gcc2 | 11757 /* We use char because int might match the return type of a gcc2 |
11851 builtin and then its argument prototype would still apply. */ | 11758 builtin and then its argument prototype would still apply. */ |
11852 char layout_object_getvalue(); | 11759 char layout_object_getvalue(); |
11853 | 11760 |
11854 int main() { | 11761 int main() { |
11855 layout_object_getvalue() | 11762 layout_object_getvalue() |
11856 ; return 0; } | 11763 ; return 0; } |
11857 EOF | 11764 EOF |
11858 if { (eval echo configure:11859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11765 if { (eval echo configure:11766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11859 rm -rf conftest* | 11766 rm -rf conftest* |
11860 eval "ac_cv_lib_$ac_lib_var=yes" | 11767 eval "ac_cv_lib_$ac_lib_var=yes" |
11861 else | 11768 else |
11862 echo "configure: failed program was:" >&5 | 11769 echo "configure: failed program was:" >&5 |
11863 cat conftest.$ac_ext >&5 | 11770 cat conftest.$ac_ext >&5 |
11940 | 11847 |
11941 | 11848 |
11942 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 11849 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
11943 do | 11850 do |
11944 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11945 echo "configure:11946: checking for $ac_func" >&5 | 11852 echo "configure:11853: checking for $ac_func" >&5 |
11946 | 11853 |
11947 cat > conftest.$ac_ext <<EOF | 11854 cat > conftest.$ac_ext <<EOF |
11948 #line 11949 "configure" | 11855 #line 11856 "configure" |
11949 #include "confdefs.h" | 11856 #include "confdefs.h" |
11950 /* System header to define __stub macros and hopefully few prototypes, | 11857 /* System header to define __stub macros and hopefully few prototypes, |
11951 which can conflict with char $ac_func(); below. */ | 11858 which can conflict with char $ac_func(); below. */ |
11952 #include <assert.h> | 11859 #include <assert.h> |
11953 /* Override any gcc2 internal prototype to avoid an error. */ | 11860 /* Override any gcc2 internal prototype to avoid an error. */ |
11966 $ac_func(); | 11873 $ac_func(); |
11967 #endif | 11874 #endif |
11968 | 11875 |
11969 ; return 0; } | 11876 ; return 0; } |
11970 EOF | 11877 EOF |
11971 if { (eval echo configure:11972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11878 if { (eval echo configure:11879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11972 rm -rf conftest* | 11879 rm -rf conftest* |
11973 eval "ac_cv_func_$ac_func=yes" | 11880 eval "ac_cv_func_$ac_func=yes" |
11974 else | 11881 else |
11975 echo "configure: failed program was:" >&5 | 11882 echo "configure: failed program was:" >&5 |
11976 cat conftest.$ac_ext >&5 | 11883 cat conftest.$ac_ext >&5 |
12007 | 11914 |
12008 | 11915 |
12009 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 11916 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
12010 do | 11917 do |
12011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12012 echo "configure:12013: checking for $ac_func" >&5 | 11919 echo "configure:11920: checking for $ac_func" >&5 |
12013 | 11920 |
12014 cat > conftest.$ac_ext <<EOF | 11921 cat > conftest.$ac_ext <<EOF |
12015 #line 12016 "configure" | 11922 #line 11923 "configure" |
12016 #include "confdefs.h" | 11923 #include "confdefs.h" |
12017 /* System header to define __stub macros and hopefully few prototypes, | 11924 /* System header to define __stub macros and hopefully few prototypes, |
12018 which can conflict with char $ac_func(); below. */ | 11925 which can conflict with char $ac_func(); below. */ |
12019 #include <assert.h> | 11926 #include <assert.h> |
12020 /* Override any gcc2 internal prototype to avoid an error. */ | 11927 /* Override any gcc2 internal prototype to avoid an error. */ |
12033 $ac_func(); | 11940 $ac_func(); |
12034 #endif | 11941 #endif |
12035 | 11942 |
12036 ; return 0; } | 11943 ; return 0; } |
12037 EOF | 11944 EOF |
12038 if { (eval echo configure:12039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11945 if { (eval echo configure:11946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12039 rm -rf conftest* | 11946 rm -rf conftest* |
12040 eval "ac_cv_func_$ac_func=yes" | 11947 eval "ac_cv_func_$ac_func=yes" |
12041 else | 11948 else |
12042 echo "configure: failed program was:" >&5 | 11949 echo "configure: failed program was:" >&5 |
12043 cat conftest.$ac_ext >&5 | 11950 cat conftest.$ac_ext >&5 |
12062 fi | 11969 fi |
12063 done | 11970 done |
12064 | 11971 |
12065 | 11972 |
12066 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 11973 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12067 echo "configure:12068: checking for openpty" >&5 | 11974 echo "configure:11975: checking for openpty" >&5 |
12068 | 11975 |
12069 cat > conftest.$ac_ext <<EOF | 11976 cat > conftest.$ac_ext <<EOF |
12070 #line 12071 "configure" | 11977 #line 11978 "configure" |
12071 #include "confdefs.h" | 11978 #include "confdefs.h" |
12072 /* System header to define __stub macros and hopefully few prototypes, | 11979 /* System header to define __stub macros and hopefully few prototypes, |
12073 which can conflict with char openpty(); below. */ | 11980 which can conflict with char openpty(); below. */ |
12074 #include <assert.h> | 11981 #include <assert.h> |
12075 /* Override any gcc2 internal prototype to avoid an error. */ | 11982 /* Override any gcc2 internal prototype to avoid an error. */ |
12088 openpty(); | 11995 openpty(); |
12089 #endif | 11996 #endif |
12090 | 11997 |
12091 ; return 0; } | 11998 ; return 0; } |
12092 EOF | 11999 EOF |
12093 if { (eval echo configure:12094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12000 if { (eval echo configure:12001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12094 rm -rf conftest* | 12001 rm -rf conftest* |
12095 eval "ac_cv_func_openpty=yes" | 12002 eval "ac_cv_func_openpty=yes" |
12096 else | 12003 else |
12097 echo "configure: failed program was:" >&5 | 12004 echo "configure: failed program was:" >&5 |
12098 cat conftest.$ac_ext >&5 | 12005 cat conftest.$ac_ext >&5 |
12107 else | 12014 else |
12108 echo "$ac_t""no" 1>&6 | 12015 echo "$ac_t""no" 1>&6 |
12109 | 12016 |
12110 | 12017 |
12111 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12018 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12112 echo "configure:12113: checking for openpty in -lutil" >&5 | 12019 echo "configure:12020: checking for openpty in -lutil" >&5 |
12113 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12020 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12114 | 12021 |
12115 xe_check_libs=" -lutil " | 12022 xe_check_libs=" -lutil " |
12116 cat > conftest.$ac_ext <<EOF | 12023 cat > conftest.$ac_ext <<EOF |
12117 #line 12118 "configure" | 12024 #line 12025 "configure" |
12118 #include "confdefs.h" | 12025 #include "confdefs.h" |
12119 /* Override any gcc2 internal prototype to avoid an error. */ | 12026 /* Override any gcc2 internal prototype to avoid an error. */ |
12120 /* We use char because int might match the return type of a gcc2 | 12027 /* We use char because int might match the return type of a gcc2 |
12121 builtin and then its argument prototype would still apply. */ | 12028 builtin and then its argument prototype would still apply. */ |
12122 char openpty(); | 12029 char openpty(); |
12123 | 12030 |
12124 int main() { | 12031 int main() { |
12125 openpty() | 12032 openpty() |
12126 ; return 0; } | 12033 ; return 0; } |
12127 EOF | 12034 EOF |
12128 if { (eval echo configure:12129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12035 if { (eval echo configure:12036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12129 rm -rf conftest* | 12036 rm -rf conftest* |
12130 eval "ac_cv_lib_$ac_lib_var=yes" | 12037 eval "ac_cv_lib_$ac_lib_var=yes" |
12131 else | 12038 else |
12132 echo "configure: failed program was:" >&5 | 12039 echo "configure: failed program was:" >&5 |
12133 cat conftest.$ac_ext >&5 | 12040 cat conftest.$ac_ext >&5 |
12158 | 12065 |
12159 for ac_hdr in libutil.h util.h | 12066 for ac_hdr in libutil.h util.h |
12160 do | 12067 do |
12161 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12068 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12162 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12069 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12163 echo "configure:12164: checking for $ac_hdr" >&5 | 12070 echo "configure:12071: checking for $ac_hdr" >&5 |
12164 | 12071 |
12165 cat > conftest.$ac_ext <<EOF | 12072 cat > conftest.$ac_ext <<EOF |
12166 #line 12167 "configure" | 12073 #line 12074 "configure" |
12167 #include "confdefs.h" | 12074 #include "confdefs.h" |
12168 #include <$ac_hdr> | 12075 #include <$ac_hdr> |
12169 EOF | 12076 EOF |
12170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12171 { (eval echo configure:12172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12078 { (eval echo configure:12079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12173 if test -z "$ac_err"; then | 12080 if test -z "$ac_err"; then |
12174 rm -rf conftest* | 12081 rm -rf conftest* |
12175 eval "ac_cv_header_$ac_safe=yes" | 12082 eval "ac_cv_header_$ac_safe=yes" |
12176 else | 12083 else |
12203 case "$opsys" in | 12110 case "$opsys" in |
12204 hpux*) for ac_hdr in sys/ptyio.h | 12111 hpux*) for ac_hdr in sys/ptyio.h |
12205 do | 12112 do |
12206 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12113 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12207 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12114 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12208 echo "configure:12209: checking for $ac_hdr" >&5 | 12115 echo "configure:12116: checking for $ac_hdr" >&5 |
12209 | 12116 |
12210 cat > conftest.$ac_ext <<EOF | 12117 cat > conftest.$ac_ext <<EOF |
12211 #line 12212 "configure" | 12118 #line 12119 "configure" |
12212 #include "confdefs.h" | 12119 #include "confdefs.h" |
12213 #include <$ac_hdr> | 12120 #include <$ac_hdr> |
12214 EOF | 12121 EOF |
12215 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12216 { (eval echo configure:12217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12123 { (eval echo configure:12124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12217 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12218 if test -z "$ac_err"; then | 12125 if test -z "$ac_err"; then |
12219 rm -rf conftest* | 12126 rm -rf conftest* |
12220 eval "ac_cv_header_$ac_safe=yes" | 12127 eval "ac_cv_header_$ac_safe=yes" |
12221 else | 12128 else |
12244 ;; | 12151 ;; |
12245 *) for ac_hdr in pty.h | 12152 *) for ac_hdr in pty.h |
12246 do | 12153 do |
12247 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12154 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12248 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12155 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12249 echo "configure:12250: checking for $ac_hdr" >&5 | 12156 echo "configure:12157: checking for $ac_hdr" >&5 |
12250 | 12157 |
12251 cat > conftest.$ac_ext <<EOF | 12158 cat > conftest.$ac_ext <<EOF |
12252 #line 12253 "configure" | 12159 #line 12160 "configure" |
12253 #include "confdefs.h" | 12160 #include "confdefs.h" |
12254 #include <$ac_hdr> | 12161 #include <$ac_hdr> |
12255 EOF | 12162 EOF |
12256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12163 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12257 { (eval echo configure:12258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12164 { (eval echo configure:12165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12165 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12259 if test -z "$ac_err"; then | 12166 if test -z "$ac_err"; then |
12260 rm -rf conftest* | 12167 rm -rf conftest* |
12261 eval "ac_cv_header_$ac_safe=yes" | 12168 eval "ac_cv_header_$ac_safe=yes" |
12262 else | 12169 else |
12285 | 12192 |
12286 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12193 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12287 do | 12194 do |
12288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12195 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12196 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12290 echo "configure:12291: checking for $ac_hdr" >&5 | 12197 echo "configure:12198: checking for $ac_hdr" >&5 |
12291 | 12198 |
12292 cat > conftest.$ac_ext <<EOF | 12199 cat > conftest.$ac_ext <<EOF |
12293 #line 12294 "configure" | 12200 #line 12201 "configure" |
12294 #include "confdefs.h" | 12201 #include "confdefs.h" |
12295 #include <$ac_hdr> | 12202 #include <$ac_hdr> |
12296 EOF | 12203 EOF |
12297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12298 { (eval echo configure:12299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12205 { (eval echo configure:12206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12300 if test -z "$ac_err"; then | 12207 if test -z "$ac_err"; then |
12301 rm -rf conftest* | 12208 rm -rf conftest* |
12302 eval "ac_cv_header_$ac_safe=yes" | 12209 eval "ac_cv_header_$ac_safe=yes" |
12303 else | 12210 else |
12329 | 12236 |
12330 for ac_hdr in stropts.h | 12237 for ac_hdr in stropts.h |
12331 do | 12238 do |
12332 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12239 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12333 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12240 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12334 echo "configure:12335: checking for $ac_hdr" >&5 | 12241 echo "configure:12242: checking for $ac_hdr" >&5 |
12335 | 12242 |
12336 cat > conftest.$ac_ext <<EOF | 12243 cat > conftest.$ac_ext <<EOF |
12337 #line 12338 "configure" | 12244 #line 12245 "configure" |
12338 #include "confdefs.h" | 12245 #include "confdefs.h" |
12339 #include <$ac_hdr> | 12246 #include <$ac_hdr> |
12340 EOF | 12247 EOF |
12341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12342 { (eval echo configure:12343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12249 { (eval echo configure:12250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12344 if test -z "$ac_err"; then | 12251 if test -z "$ac_err"; then |
12345 rm -rf conftest* | 12252 rm -rf conftest* |
12346 eval "ac_cv_header_$ac_safe=yes" | 12253 eval "ac_cv_header_$ac_safe=yes" |
12347 else | 12254 else |
12370 | 12277 |
12371 if test "$ac_cv_header_stropts_h" = "yes"; then | 12278 if test "$ac_cv_header_stropts_h" = "yes"; then |
12372 for ac_func in isastream | 12279 for ac_func in isastream |
12373 do | 12280 do |
12374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12281 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12375 echo "configure:12376: checking for $ac_func" >&5 | 12282 echo "configure:12283: checking for $ac_func" >&5 |
12376 | 12283 |
12377 cat > conftest.$ac_ext <<EOF | 12284 cat > conftest.$ac_ext <<EOF |
12378 #line 12379 "configure" | 12285 #line 12286 "configure" |
12379 #include "confdefs.h" | 12286 #include "confdefs.h" |
12380 /* System header to define __stub macros and hopefully few prototypes, | 12287 /* System header to define __stub macros and hopefully few prototypes, |
12381 which can conflict with char $ac_func(); below. */ | 12288 which can conflict with char $ac_func(); below. */ |
12382 #include <assert.h> | 12289 #include <assert.h> |
12383 /* Override any gcc2 internal prototype to avoid an error. */ | 12290 /* Override any gcc2 internal prototype to avoid an error. */ |
12396 $ac_func(); | 12303 $ac_func(); |
12397 #endif | 12304 #endif |
12398 | 12305 |
12399 ; return 0; } | 12306 ; return 0; } |
12400 EOF | 12307 EOF |
12401 if { (eval echo configure:12402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12308 if { (eval echo configure:12309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12402 rm -rf conftest* | 12309 rm -rf conftest* |
12403 eval "ac_cv_func_$ac_func=yes" | 12310 eval "ac_cv_func_$ac_func=yes" |
12404 else | 12311 else |
12405 echo "configure: failed program was:" >&5 | 12312 echo "configure: failed program was:" >&5 |
12406 cat conftest.$ac_ext >&5 | 12313 cat conftest.$ac_ext >&5 |
12427 | 12334 |
12428 for ac_hdr in strtio.h | 12335 for ac_hdr in strtio.h |
12429 do | 12336 do |
12430 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12337 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12431 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12338 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12432 echo "configure:12433: checking for $ac_hdr" >&5 | 12339 echo "configure:12340: checking for $ac_hdr" >&5 |
12433 | 12340 |
12434 cat > conftest.$ac_ext <<EOF | 12341 cat > conftest.$ac_ext <<EOF |
12435 #line 12436 "configure" | 12342 #line 12343 "configure" |
12436 #include "confdefs.h" | 12343 #include "confdefs.h" |
12437 #include <$ac_hdr> | 12344 #include <$ac_hdr> |
12438 EOF | 12345 EOF |
12439 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12346 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12440 { (eval echo configure:12441: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12347 { (eval echo configure:12348: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12441 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12348 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12442 if test -z "$ac_err"; then | 12349 if test -z "$ac_err"; then |
12443 rm -rf conftest* | 12350 rm -rf conftest* |
12444 eval "ac_cv_header_$ac_safe=yes" | 12351 eval "ac_cv_header_$ac_safe=yes" |
12445 else | 12352 else |
12468 fi | 12375 fi |
12469 | 12376 |
12470 for ac_func in getloadavg | 12377 for ac_func in getloadavg |
12471 do | 12378 do |
12472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12379 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12473 echo "configure:12474: checking for $ac_func" >&5 | 12380 echo "configure:12381: checking for $ac_func" >&5 |
12474 | 12381 |
12475 cat > conftest.$ac_ext <<EOF | 12382 cat > conftest.$ac_ext <<EOF |
12476 #line 12477 "configure" | 12383 #line 12384 "configure" |
12477 #include "confdefs.h" | 12384 #include "confdefs.h" |
12478 /* System header to define __stub macros and hopefully few prototypes, | 12385 /* System header to define __stub macros and hopefully few prototypes, |
12479 which can conflict with char $ac_func(); below. */ | 12386 which can conflict with char $ac_func(); below. */ |
12480 #include <assert.h> | 12387 #include <assert.h> |
12481 /* Override any gcc2 internal prototype to avoid an error. */ | 12388 /* Override any gcc2 internal prototype to avoid an error. */ |
12494 $ac_func(); | 12401 $ac_func(); |
12495 #endif | 12402 #endif |
12496 | 12403 |
12497 ; return 0; } | 12404 ; return 0; } |
12498 EOF | 12405 EOF |
12499 if { (eval echo configure:12500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12406 if { (eval echo configure:12407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12500 rm -rf conftest* | 12407 rm -rf conftest* |
12501 eval "ac_cv_func_$ac_func=yes" | 12408 eval "ac_cv_func_$ac_func=yes" |
12502 else | 12409 else |
12503 echo "configure: failed program was:" >&5 | 12410 echo "configure: failed program was:" >&5 |
12504 cat conftest.$ac_ext >&5 | 12411 cat conftest.$ac_ext >&5 |
12527 if test "$ac_cv_func_getloadavg" = "yes"; then | 12434 if test "$ac_cv_func_getloadavg" = "yes"; then |
12528 for ac_hdr in sys/loadavg.h | 12435 for ac_hdr in sys/loadavg.h |
12529 do | 12436 do |
12530 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12437 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12531 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12438 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12532 echo "configure:12533: checking for $ac_hdr" >&5 | 12439 echo "configure:12440: checking for $ac_hdr" >&5 |
12533 | 12440 |
12534 cat > conftest.$ac_ext <<EOF | 12441 cat > conftest.$ac_ext <<EOF |
12535 #line 12536 "configure" | 12442 #line 12443 "configure" |
12536 #include "confdefs.h" | 12443 #include "confdefs.h" |
12537 #include <$ac_hdr> | 12444 #include <$ac_hdr> |
12538 EOF | 12445 EOF |
12539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12446 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12540 { (eval echo configure:12541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12447 { (eval echo configure:12448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12448 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12542 if test -z "$ac_err"; then | 12449 if test -z "$ac_err"; then |
12543 rm -rf conftest* | 12450 rm -rf conftest* |
12544 eval "ac_cv_header_$ac_safe=yes" | 12451 eval "ac_cv_header_$ac_safe=yes" |
12545 else | 12452 else |
12571 echo " xemacs will be linked with \"getloadavg.o\"" | 12478 echo " xemacs will be linked with \"getloadavg.o\"" |
12572 fi | 12479 fi |
12573 | 12480 |
12574 | 12481 |
12575 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12482 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12576 echo "configure:12577: checking for kstat_open in -lkstat" >&5 | 12483 echo "configure:12484: checking for kstat_open in -lkstat" >&5 |
12577 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12484 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12578 | 12485 |
12579 xe_check_libs=" -lkstat " | 12486 xe_check_libs=" -lkstat " |
12580 cat > conftest.$ac_ext <<EOF | 12487 cat > conftest.$ac_ext <<EOF |
12581 #line 12582 "configure" | 12488 #line 12489 "configure" |
12582 #include "confdefs.h" | 12489 #include "confdefs.h" |
12583 /* Override any gcc2 internal prototype to avoid an error. */ | 12490 /* Override any gcc2 internal prototype to avoid an error. */ |
12584 /* We use char because int might match the return type of a gcc2 | 12491 /* We use char because int might match the return type of a gcc2 |
12585 builtin and then its argument prototype would still apply. */ | 12492 builtin and then its argument prototype would still apply. */ |
12586 char kstat_open(); | 12493 char kstat_open(); |
12587 | 12494 |
12588 int main() { | 12495 int main() { |
12589 kstat_open() | 12496 kstat_open() |
12590 ; return 0; } | 12497 ; return 0; } |
12591 EOF | 12498 EOF |
12592 if { (eval echo configure:12593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12499 if { (eval echo configure:12500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12593 rm -rf conftest* | 12500 rm -rf conftest* |
12594 eval "ac_cv_lib_$ac_lib_var=yes" | 12501 eval "ac_cv_lib_$ac_lib_var=yes" |
12595 else | 12502 else |
12596 echo "configure: failed program was:" >&5 | 12503 echo "configure: failed program was:" >&5 |
12597 cat conftest.$ac_ext >&5 | 12504 cat conftest.$ac_ext >&5 |
12622 | 12529 |
12623 for ac_hdr in kstat.h | 12530 for ac_hdr in kstat.h |
12624 do | 12531 do |
12625 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12532 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12626 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12533 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12627 echo "configure:12628: checking for $ac_hdr" >&5 | 12534 echo "configure:12535: checking for $ac_hdr" >&5 |
12628 | 12535 |
12629 cat > conftest.$ac_ext <<EOF | 12536 cat > conftest.$ac_ext <<EOF |
12630 #line 12631 "configure" | 12537 #line 12538 "configure" |
12631 #include "confdefs.h" | 12538 #include "confdefs.h" |
12632 #include <$ac_hdr> | 12539 #include <$ac_hdr> |
12633 EOF | 12540 EOF |
12634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12635 { (eval echo configure:12636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12542 { (eval echo configure:12543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12637 if test -z "$ac_err"; then | 12544 if test -z "$ac_err"; then |
12638 rm -rf conftest* | 12545 rm -rf conftest* |
12639 eval "ac_cv_header_$ac_safe=yes" | 12546 eval "ac_cv_header_$ac_safe=yes" |
12640 else | 12547 else |
12662 done | 12569 done |
12663 | 12570 |
12664 | 12571 |
12665 | 12572 |
12666 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12573 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12667 echo "configure:12668: checking for kvm_read in -lkvm" >&5 | 12574 echo "configure:12575: checking for kvm_read in -lkvm" >&5 |
12668 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12575 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12669 | 12576 |
12670 xe_check_libs=" -lkvm " | 12577 xe_check_libs=" -lkvm " |
12671 cat > conftest.$ac_ext <<EOF | 12578 cat > conftest.$ac_ext <<EOF |
12672 #line 12673 "configure" | 12579 #line 12580 "configure" |
12673 #include "confdefs.h" | 12580 #include "confdefs.h" |
12674 /* Override any gcc2 internal prototype to avoid an error. */ | 12581 /* Override any gcc2 internal prototype to avoid an error. */ |
12675 /* We use char because int might match the return type of a gcc2 | 12582 /* We use char because int might match the return type of a gcc2 |
12676 builtin and then its argument prototype would still apply. */ | 12583 builtin and then its argument prototype would still apply. */ |
12677 char kvm_read(); | 12584 char kvm_read(); |
12678 | 12585 |
12679 int main() { | 12586 int main() { |
12680 kvm_read() | 12587 kvm_read() |
12681 ; return 0; } | 12588 ; return 0; } |
12682 EOF | 12589 EOF |
12683 if { (eval echo configure:12684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12590 if { (eval echo configure:12591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12684 rm -rf conftest* | 12591 rm -rf conftest* |
12685 eval "ac_cv_lib_$ac_lib_var=yes" | 12592 eval "ac_cv_lib_$ac_lib_var=yes" |
12686 else | 12593 else |
12687 echo "configure: failed program was:" >&5 | 12594 echo "configure: failed program was:" >&5 |
12688 cat conftest.$ac_ext >&5 | 12595 cat conftest.$ac_ext >&5 |
12712 | 12619 |
12713 | 12620 |
12714 fi | 12621 fi |
12715 | 12622 |
12716 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12623 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12717 echo "configure:12718: checking whether netdb declares h_errno" >&5 | 12624 echo "configure:12625: checking whether netdb declares h_errno" >&5 |
12718 cat > conftest.$ac_ext <<EOF | 12625 cat > conftest.$ac_ext <<EOF |
12719 #line 12720 "configure" | 12626 #line 12627 "configure" |
12720 #include "confdefs.h" | 12627 #include "confdefs.h" |
12721 #include <netdb.h> | 12628 #include <netdb.h> |
12722 int main() { | 12629 int main() { |
12723 return h_errno; | 12630 return h_errno; |
12724 ; return 0; } | 12631 ; return 0; } |
12725 EOF | 12632 EOF |
12726 if { (eval echo configure:12727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12633 if { (eval echo configure:12634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12727 rm -rf conftest* | 12634 rm -rf conftest* |
12728 echo "$ac_t""yes" 1>&6 | 12635 echo "$ac_t""yes" 1>&6 |
12729 { test "$extra_verbose" = "yes" && cat << \EOF | 12636 { test "$extra_verbose" = "yes" && cat << \EOF |
12730 Defining HAVE_H_ERRNO | 12637 Defining HAVE_H_ERRNO |
12731 EOF | 12638 EOF |
12741 echo "$ac_t""no" 1>&6 | 12648 echo "$ac_t""no" 1>&6 |
12742 fi | 12649 fi |
12743 rm -f conftest* | 12650 rm -f conftest* |
12744 | 12651 |
12745 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12652 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12746 echo "configure:12747: checking for sigsetjmp" >&5 | 12653 echo "configure:12654: checking for sigsetjmp" >&5 |
12747 cat > conftest.$ac_ext <<EOF | 12654 cat > conftest.$ac_ext <<EOF |
12748 #line 12749 "configure" | 12655 #line 12656 "configure" |
12749 #include "confdefs.h" | 12656 #include "confdefs.h" |
12750 #include <setjmp.h> | 12657 #include <setjmp.h> |
12751 int main() { | 12658 int main() { |
12752 sigjmp_buf bar; sigsetjmp (bar, 0); | 12659 sigjmp_buf bar; sigsetjmp (bar, 0); |
12753 ; return 0; } | 12660 ; return 0; } |
12754 EOF | 12661 EOF |
12755 if { (eval echo configure:12756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12662 if { (eval echo configure:12663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12756 rm -rf conftest* | 12663 rm -rf conftest* |
12757 echo "$ac_t""yes" 1>&6 | 12664 echo "$ac_t""yes" 1>&6 |
12758 { test "$extra_verbose" = "yes" && cat << \EOF | 12665 { test "$extra_verbose" = "yes" && cat << \EOF |
12759 Defining HAVE_SIGSETJMP | 12666 Defining HAVE_SIGSETJMP |
12760 EOF | 12667 EOF |
12770 echo "$ac_t""no" 1>&6 | 12677 echo "$ac_t""no" 1>&6 |
12771 fi | 12678 fi |
12772 rm -f conftest* | 12679 rm -f conftest* |
12773 | 12680 |
12774 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12681 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12775 echo "configure:12776: checking whether localtime caches TZ" >&5 | 12682 echo "configure:12683: checking whether localtime caches TZ" >&5 |
12776 | 12683 |
12777 if test "$ac_cv_func_tzset" = "yes"; then | 12684 if test "$ac_cv_func_tzset" = "yes"; then |
12778 cat > conftest.$ac_ext <<EOF | 12685 cat > conftest.$ac_ext <<EOF |
12779 #line 12780 "configure" | 12686 #line 12687 "configure" |
12780 #include "confdefs.h" | 12687 #include "confdefs.h" |
12781 #include <time.h> | 12688 #include <time.h> |
12782 #if STDC_HEADERS | 12689 #if STDC_HEADERS |
12783 # include <stdlib.h> | 12690 # include <stdlib.h> |
12784 #endif | 12691 #endif |
12809 if (localtime (&now)->tm_hour != hour_unset) | 12716 if (localtime (&now)->tm_hour != hour_unset) |
12810 exit (1); | 12717 exit (1); |
12811 exit (0); | 12718 exit (0); |
12812 } | 12719 } |
12813 EOF | 12720 EOF |
12814 if { (eval echo configure:12815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12721 if { (eval echo configure:12722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12815 then | 12722 then |
12816 emacs_cv_localtime_cache=no | 12723 emacs_cv_localtime_cache=no |
12817 else | 12724 else |
12818 conftest_rc="$?" | 12725 conftest_rc="$?" |
12819 echo "configure: failed program was:" >&5 | 12726 echo "configure: failed program was:" >&5 |
12839 | 12746 |
12840 fi | 12747 fi |
12841 | 12748 |
12842 if test "$HAVE_TIMEVAL" = "yes"; then | 12749 if test "$HAVE_TIMEVAL" = "yes"; then |
12843 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12750 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12844 echo "configure:12845: checking whether gettimeofday accepts one or two arguments" >&5 | 12751 echo "configure:12752: checking whether gettimeofday accepts one or two arguments" >&5 |
12845 cat > conftest.$ac_ext <<EOF | 12752 cat > conftest.$ac_ext <<EOF |
12846 #line 12847 "configure" | 12753 #line 12754 "configure" |
12847 #include "confdefs.h" | 12754 #include "confdefs.h" |
12848 | 12755 |
12849 #ifdef TIME_WITH_SYS_TIME | 12756 #ifdef TIME_WITH_SYS_TIME |
12850 #include <sys/time.h> | 12757 #include <sys/time.h> |
12851 #include <time.h> | 12758 #include <time.h> |
12862 struct timeval time; | 12769 struct timeval time; |
12863 gettimeofday (&time, 0); | 12770 gettimeofday (&time, 0); |
12864 | 12771 |
12865 ; return 0; } | 12772 ; return 0; } |
12866 EOF | 12773 EOF |
12867 if { (eval echo configure:12868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12774 if { (eval echo configure:12775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12868 rm -rf conftest* | 12775 rm -rf conftest* |
12869 echo "$ac_t""two" 1>&6 | 12776 echo "$ac_t""two" 1>&6 |
12870 else | 12777 else |
12871 echo "configure: failed program was:" >&5 | 12778 echo "configure: failed program was:" >&5 |
12872 cat conftest.$ac_ext >&5 | 12779 cat conftest.$ac_ext >&5 |
12884 rm -f conftest* | 12791 rm -f conftest* |
12885 fi | 12792 fi |
12886 | 12793 |
12887 | 12794 |
12888 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12795 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12889 echo "configure:12890: checking for inline" >&5 | 12796 echo "configure:12797: checking for inline" >&5 |
12890 | 12797 |
12891 ac_cv_c_inline=no | 12798 ac_cv_c_inline=no |
12892 for ac_kw in inline __inline__ __inline; do | 12799 for ac_kw in inline __inline__ __inline; do |
12893 cat > conftest.$ac_ext <<EOF | 12800 cat > conftest.$ac_ext <<EOF |
12894 #line 12895 "configure" | 12801 #line 12802 "configure" |
12895 #include "confdefs.h" | 12802 #include "confdefs.h" |
12896 | 12803 |
12897 int main() { | 12804 int main() { |
12898 } $ac_kw foo() { | 12805 } $ac_kw foo() { |
12899 ; return 0; } | 12806 ; return 0; } |
12900 EOF | 12807 EOF |
12901 if { (eval echo configure:12902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12808 if { (eval echo configure:12809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12902 rm -rf conftest* | 12809 rm -rf conftest* |
12903 ac_cv_c_inline=$ac_kw; break | 12810 ac_cv_c_inline=$ac_kw; break |
12904 else | 12811 else |
12905 echo "configure: failed program was:" >&5 | 12812 echo "configure: failed program was:" >&5 |
12906 cat conftest.$ac_ext >&5 | 12813 cat conftest.$ac_ext >&5 |
12937 | 12844 |
12938 if test "$__DECC" != "yes"; then | 12845 if test "$__DECC" != "yes"; then |
12939 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12846 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12940 # for constant arguments. Useless! | 12847 # for constant arguments. Useless! |
12941 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12848 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12942 echo "configure:12943: checking for working alloca.h" >&5 | 12849 echo "configure:12850: checking for working alloca.h" >&5 |
12943 | 12850 |
12944 cat > conftest.$ac_ext <<EOF | 12851 cat > conftest.$ac_ext <<EOF |
12945 #line 12946 "configure" | 12852 #line 12853 "configure" |
12946 #include "confdefs.h" | 12853 #include "confdefs.h" |
12947 #include <alloca.h> | 12854 #include <alloca.h> |
12948 int main() { | 12855 int main() { |
12949 char *p = alloca(2 * sizeof(int)); | 12856 char *p = alloca(2 * sizeof(int)); |
12950 ; return 0; } | 12857 ; return 0; } |
12951 EOF | 12858 EOF |
12952 if { (eval echo configure:12953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12859 if { (eval echo configure:12860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12953 rm -rf conftest* | 12860 rm -rf conftest* |
12954 ac_cv_header_alloca_h=yes | 12861 ac_cv_header_alloca_h=yes |
12955 else | 12862 else |
12956 echo "configure: failed program was:" >&5 | 12863 echo "configure: failed program was:" >&5 |
12957 cat conftest.$ac_ext >&5 | 12864 cat conftest.$ac_ext >&5 |
12971 } | 12878 } |
12972 | 12879 |
12973 fi | 12880 fi |
12974 | 12881 |
12975 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12882 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
12976 echo "configure:12977: checking for alloca" >&5 | 12883 echo "configure:12884: checking for alloca" >&5 |
12977 | 12884 |
12978 cat > conftest.$ac_ext <<EOF | 12885 cat > conftest.$ac_ext <<EOF |
12979 #line 12980 "configure" | 12886 #line 12887 "configure" |
12980 #include "confdefs.h" | 12887 #include "confdefs.h" |
12981 | 12888 |
12982 #ifdef __GNUC__ | 12889 #ifdef __GNUC__ |
12983 # define alloca __builtin_alloca | 12890 # define alloca __builtin_alloca |
12984 #else | 12891 #else |
13002 | 12909 |
13003 int main() { | 12910 int main() { |
13004 char *p = (char *) alloca(1); | 12911 char *p = (char *) alloca(1); |
13005 ; return 0; } | 12912 ; return 0; } |
13006 EOF | 12913 EOF |
13007 if { (eval echo configure:13008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12914 if { (eval echo configure:12915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13008 rm -rf conftest* | 12915 rm -rf conftest* |
13009 ac_cv_func_alloca_works=yes | 12916 ac_cv_func_alloca_works=yes |
13010 else | 12917 else |
13011 echo "configure: failed program was:" >&5 | 12918 echo "configure: failed program was:" >&5 |
13012 cat conftest.$ac_ext >&5 | 12919 cat conftest.$ac_ext >&5 |
13041 EOF | 12948 EOF |
13042 } | 12949 } |
13043 | 12950 |
13044 | 12951 |
13045 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 12952 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13046 echo "configure:13047: checking whether alloca needs Cray hooks" >&5 | 12953 echo "configure:12954: checking whether alloca needs Cray hooks" >&5 |
13047 | 12954 |
13048 cat > conftest.$ac_ext <<EOF | 12955 cat > conftest.$ac_ext <<EOF |
13049 #line 13050 "configure" | 12956 #line 12957 "configure" |
13050 #include "confdefs.h" | 12957 #include "confdefs.h" |
13051 #if defined(CRAY) && ! defined(CRAY2) | 12958 #if defined(CRAY) && ! defined(CRAY2) |
13052 webecray | 12959 webecray |
13053 #else | 12960 #else |
13054 wenotbecray | 12961 wenotbecray |
13068 | 12975 |
13069 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 12976 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13070 if test $ac_cv_os_cray = yes; then | 12977 if test $ac_cv_os_cray = yes; then |
13071 for ac_func in _getb67 GETB67 getb67; do | 12978 for ac_func in _getb67 GETB67 getb67; do |
13072 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13073 echo "configure:13074: checking for $ac_func" >&5 | 12980 echo "configure:12981: checking for $ac_func" >&5 |
13074 | 12981 |
13075 cat > conftest.$ac_ext <<EOF | 12982 cat > conftest.$ac_ext <<EOF |
13076 #line 13077 "configure" | 12983 #line 12984 "configure" |
13077 #include "confdefs.h" | 12984 #include "confdefs.h" |
13078 /* System header to define __stub macros and hopefully few prototypes, | 12985 /* System header to define __stub macros and hopefully few prototypes, |
13079 which can conflict with char $ac_func(); below. */ | 12986 which can conflict with char $ac_func(); below. */ |
13080 #include <assert.h> | 12987 #include <assert.h> |
13081 /* Override any gcc2 internal prototype to avoid an error. */ | 12988 /* Override any gcc2 internal prototype to avoid an error. */ |
13094 $ac_func(); | 13001 $ac_func(); |
13095 #endif | 13002 #endif |
13096 | 13003 |
13097 ; return 0; } | 13004 ; return 0; } |
13098 EOF | 13005 EOF |
13099 if { (eval echo configure:13100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13006 if { (eval echo configure:13007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13100 rm -rf conftest* | 13007 rm -rf conftest* |
13101 eval "ac_cv_func_$ac_func=yes" | 13008 eval "ac_cv_func_$ac_func=yes" |
13102 else | 13009 else |
13103 echo "configure: failed program was:" >&5 | 13010 echo "configure: failed program was:" >&5 |
13104 cat conftest.$ac_ext >&5 | 13011 cat conftest.$ac_ext >&5 |
13124 | 13031 |
13125 done | 13032 done |
13126 fi | 13033 fi |
13127 | 13034 |
13128 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13035 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13129 echo "configure:13130: checking stack direction for C alloca" >&5 | 13036 echo "configure:13037: checking stack direction for C alloca" >&5 |
13130 | 13037 |
13131 cat > conftest.$ac_ext <<EOF | 13038 cat > conftest.$ac_ext <<EOF |
13132 #line 13133 "configure" | 13039 #line 13040 "configure" |
13133 #include "confdefs.h" | 13040 #include "confdefs.h" |
13134 find_stack_direction () | 13041 find_stack_direction () |
13135 { | 13042 { |
13136 static char *addr = 0; | 13043 static char *addr = 0; |
13137 auto char dummy; | 13044 auto char dummy; |
13146 main () | 13053 main () |
13147 { | 13054 { |
13148 exit (find_stack_direction() < 0); | 13055 exit (find_stack_direction() < 0); |
13149 } | 13056 } |
13150 EOF | 13057 EOF |
13151 if { (eval echo configure:13152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13058 if { (eval echo configure:13059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13152 then | 13059 then |
13153 ac_cv_c_stack_direction=1 | 13060 ac_cv_c_stack_direction=1 |
13154 else | 13061 else |
13155 conftest_rc="$?" | 13062 conftest_rc="$?" |
13156 echo "configure: failed program was:" >&5 | 13063 echo "configure: failed program was:" >&5 |
13175 echo " xemacs will be linked with \"$ALLOCA\"" | 13082 echo " xemacs will be linked with \"$ALLOCA\"" |
13176 fi | 13083 fi |
13177 fi | 13084 fi |
13178 | 13085 |
13179 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13086 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13180 echo "configure:13181: checking for working alloca in function calls" >&5 | 13087 echo "configure:13088: checking for working alloca in function calls" >&5 |
13181 cat > conftest.$ac_ext <<EOF | 13088 cat > conftest.$ac_ext <<EOF |
13182 #line 13183 "configure" | 13089 #line 13090 "configure" |
13183 #include "confdefs.h" | 13090 #include "confdefs.h" |
13184 | 13091 |
13185 #if defined (__CYGWIN__) | 13092 #if defined (__CYGWIN__) |
13186 #include <alloca.h> | 13093 #include <alloca.h> |
13187 #elif defined (__GNUC__) | 13094 #elif defined (__GNUC__) |
13230 return 1; | 13137 return 1; |
13231 return 0; | 13138 return 0; |
13232 } | 13139 } |
13233 | 13140 |
13234 EOF | 13141 EOF |
13235 if { (eval echo configure:13236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13142 if { (eval echo configure:13143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13236 then | 13143 then |
13237 working_alloca_in_function_calls=yes | 13144 working_alloca_in_function_calls=yes |
13238 else | 13145 else |
13239 conftest_rc="$?" | 13146 conftest_rc="$?" |
13240 echo "configure: failed program was:" >&5 | 13147 echo "configure: failed program was:" >&5 |
13253 EOF | 13160 EOF |
13254 } | 13161 } |
13255 | 13162 |
13256 | 13163 |
13257 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13164 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13258 echo "configure:13259: checking for working strcoll" >&5 | 13165 echo "configure:13166: checking for working strcoll" >&5 |
13259 | 13166 |
13260 cat > conftest.$ac_ext <<EOF | 13167 cat > conftest.$ac_ext <<EOF |
13261 #line 13262 "configure" | 13168 #line 13169 "configure" |
13262 #include "confdefs.h" | 13169 #include "confdefs.h" |
13263 #include <string.h> | 13170 #include <string.h> |
13264 main () | 13171 main () |
13265 { | 13172 { |
13266 exit (strcoll ("abc", "def") >= 0 || | 13173 exit (strcoll ("abc", "def") >= 0 || |
13267 strcoll ("ABC", "DEF") >= 0 || | 13174 strcoll ("ABC", "DEF") >= 0 || |
13268 strcoll ("123", "456") >= 0); | 13175 strcoll ("123", "456") >= 0); |
13269 } | 13176 } |
13270 EOF | 13177 EOF |
13271 if { (eval echo configure:13272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13178 if { (eval echo configure:13179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13272 then | 13179 then |
13273 ac_cv_func_strcoll_works=yes | 13180 ac_cv_func_strcoll_works=yes |
13274 else | 13181 else |
13275 conftest_rc="$?" | 13182 conftest_rc="$?" |
13276 echo "configure: failed program was:" >&5 | 13183 echo "configure: failed program was:" >&5 |
13294 | 13201 |
13295 | 13202 |
13296 for ac_func in getpgrp | 13203 for ac_func in getpgrp |
13297 do | 13204 do |
13298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13299 echo "configure:13300: checking for $ac_func" >&5 | 13206 echo "configure:13207: checking for $ac_func" >&5 |
13300 | 13207 |
13301 cat > conftest.$ac_ext <<EOF | 13208 cat > conftest.$ac_ext <<EOF |
13302 #line 13303 "configure" | 13209 #line 13210 "configure" |
13303 #include "confdefs.h" | 13210 #include "confdefs.h" |
13304 /* System header to define __stub macros and hopefully few prototypes, | 13211 /* System header to define __stub macros and hopefully few prototypes, |
13305 which can conflict with char $ac_func(); below. */ | 13212 which can conflict with char $ac_func(); below. */ |
13306 #include <assert.h> | 13213 #include <assert.h> |
13307 /* Override any gcc2 internal prototype to avoid an error. */ | 13214 /* Override any gcc2 internal prototype to avoid an error. */ |
13320 $ac_func(); | 13227 $ac_func(); |
13321 #endif | 13228 #endif |
13322 | 13229 |
13323 ; return 0; } | 13230 ; return 0; } |
13324 EOF | 13231 EOF |
13325 if { (eval echo configure:13326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13232 if { (eval echo configure:13233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13326 rm -rf conftest* | 13233 rm -rf conftest* |
13327 eval "ac_cv_func_$ac_func=yes" | 13234 eval "ac_cv_func_$ac_func=yes" |
13328 else | 13235 else |
13329 echo "configure: failed program was:" >&5 | 13236 echo "configure: failed program was:" >&5 |
13330 cat conftest.$ac_ext >&5 | 13237 cat conftest.$ac_ext >&5 |
13348 echo "$ac_t""no" 1>&6 | 13255 echo "$ac_t""no" 1>&6 |
13349 fi | 13256 fi |
13350 done | 13257 done |
13351 | 13258 |
13352 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13259 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13353 echo "configure:13354: checking whether getpgrp takes no argument" >&5 | 13260 echo "configure:13261: checking whether getpgrp takes no argument" >&5 |
13354 | 13261 |
13355 cat > conftest.$ac_ext <<EOF | 13262 cat > conftest.$ac_ext <<EOF |
13356 #line 13357 "configure" | 13263 #line 13264 "configure" |
13357 #include "confdefs.h" | 13264 #include "confdefs.h" |
13358 | 13265 |
13359 /* | 13266 /* |
13360 * If this system has a BSD-style getpgrp(), | 13267 * If this system has a BSD-style getpgrp(), |
13361 * which takes a pid argument, exit unsuccessfully. | 13268 * which takes a pid argument, exit unsuccessfully. |
13406 exit(s>>8); | 13313 exit(s>>8); |
13407 } | 13314 } |
13408 } | 13315 } |
13409 | 13316 |
13410 EOF | 13317 EOF |
13411 if { (eval echo configure:13412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13318 if { (eval echo configure:13319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13412 then | 13319 then |
13413 ac_cv_func_getpgrp_void=yes | 13320 ac_cv_func_getpgrp_void=yes |
13414 else | 13321 else |
13415 conftest_rc="$?" | 13322 conftest_rc="$?" |
13416 echo "configure: failed program was:" >&5 | 13323 echo "configure: failed program was:" >&5 |
13433 | 13340 |
13434 fi | 13341 fi |
13435 | 13342 |
13436 | 13343 |
13437 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13344 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13438 echo "configure:13439: checking for working mmap" >&5 | 13345 echo "configure:13346: checking for working mmap" >&5 |
13439 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13346 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13440 cat > conftest.$ac_ext <<EOF | 13347 cat > conftest.$ac_ext <<EOF |
13441 #line 13442 "configure" | 13348 #line 13349 "configure" |
13442 #include "confdefs.h" | 13349 #include "confdefs.h" |
13443 #include <stdio.h> | 13350 #include <stdio.h> |
13444 #include <unistd.h> | 13351 #include <unistd.h> |
13445 #include <fcntl.h> | 13352 #include <fcntl.h> |
13446 #include <sys/mman.h> | 13353 #include <sys/mman.h> |
13469 return 0; | 13376 return 0; |
13470 perror ("conftest: mmap failed"); | 13377 perror ("conftest: mmap failed"); |
13471 return 1; | 13378 return 1; |
13472 } | 13379 } |
13473 EOF | 13380 EOF |
13474 if { (eval echo configure:13475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13381 if { (eval echo configure:13382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13475 then | 13382 then |
13476 have_mmap=yes | 13383 have_mmap=yes |
13477 else | 13384 else |
13478 conftest_rc="$?" | 13385 conftest_rc="$?" |
13479 echo "configure: failed program was:" >&5 | 13386 echo "configure: failed program was:" >&5 |
13498 esac | 13405 esac |
13499 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13406 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13500 if test "$rel_alloc $have_mmap" = "default yes"; then | 13407 if test "$rel_alloc $have_mmap" = "default yes"; then |
13501 if test "$doug_lea_malloc" = "yes"; then | 13408 if test "$doug_lea_malloc" = "yes"; then |
13502 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13409 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13503 echo "configure:13504: checking for M_MMAP_THRESHOLD" >&5 | 13410 echo "configure:13411: checking for M_MMAP_THRESHOLD" >&5 |
13504 cat > conftest.$ac_ext <<EOF | 13411 cat > conftest.$ac_ext <<EOF |
13505 #line 13506 "configure" | 13412 #line 13413 "configure" |
13506 #include "confdefs.h" | 13413 #include "confdefs.h" |
13507 #include <malloc.h> | 13414 #include <malloc.h> |
13508 int main() { | 13415 int main() { |
13509 | 13416 |
13510 #ifndef M_MMAP_THRESHOLD | 13417 #ifndef M_MMAP_THRESHOLD |
13512 !@+$%^&*_)(_ - unlikely to compile... | 13419 !@+$%^&*_)(_ - unlikely to compile... |
13513 #endif | 13420 #endif |
13514 | 13421 |
13515 ; return 0; } | 13422 ; return 0; } |
13516 EOF | 13423 EOF |
13517 if { (eval echo configure:13518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13424 if { (eval echo configure:13425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13518 rm -rf conftest* | 13425 rm -rf conftest* |
13519 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13426 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13520 else | 13427 else |
13521 echo "configure: failed program was:" >&5 | 13428 echo "configure: failed program was:" >&5 |
13522 cat conftest.$ac_ext >&5 | 13429 cat conftest.$ac_ext >&5 |
13537 } | 13444 } |
13538 | 13445 |
13539 | 13446 |
13540 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13447 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13541 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13448 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13542 echo "configure:13543: checking for termios.h" >&5 | 13449 echo "configure:13450: checking for termios.h" >&5 |
13543 | 13450 |
13544 cat > conftest.$ac_ext <<EOF | 13451 cat > conftest.$ac_ext <<EOF |
13545 #line 13546 "configure" | 13452 #line 13453 "configure" |
13546 #include "confdefs.h" | 13453 #include "confdefs.h" |
13547 #include <termios.h> | 13454 #include <termios.h> |
13548 EOF | 13455 EOF |
13549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13550 { (eval echo configure:13551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13457 { (eval echo configure:13458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13552 if test -z "$ac_err"; then | 13459 if test -z "$ac_err"; then |
13553 rm -rf conftest* | 13460 rm -rf conftest* |
13554 eval "ac_cv_header_$ac_safe=yes" | 13461 eval "ac_cv_header_$ac_safe=yes" |
13555 else | 13462 else |
13588 | 13495 |
13589 else | 13496 else |
13590 echo "$ac_t""no" 1>&6 | 13497 echo "$ac_t""no" 1>&6 |
13591 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13498 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13592 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13499 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13593 echo "configure:13594: checking for termio.h" >&5 | 13500 echo "configure:13501: checking for termio.h" >&5 |
13594 | 13501 |
13595 cat > conftest.$ac_ext <<EOF | 13502 cat > conftest.$ac_ext <<EOF |
13596 #line 13597 "configure" | 13503 #line 13504 "configure" |
13597 #include "confdefs.h" | 13504 #include "confdefs.h" |
13598 #include <termio.h> | 13505 #include <termio.h> |
13599 EOF | 13506 EOF |
13600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13601 { (eval echo configure:13602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13508 { (eval echo configure:13509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13509 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13603 if test -z "$ac_err"; then | 13510 if test -z "$ac_err"; then |
13604 rm -rf conftest* | 13511 rm -rf conftest* |
13605 eval "ac_cv_header_$ac_safe=yes" | 13512 eval "ac_cv_header_$ac_safe=yes" |
13606 else | 13513 else |
13628 fi | 13535 fi |
13629 | 13536 |
13630 | 13537 |
13631 | 13538 |
13632 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13539 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13633 echo "configure:13634: checking for socket" >&5 | 13540 echo "configure:13541: checking for socket" >&5 |
13634 | 13541 |
13635 cat > conftest.$ac_ext <<EOF | 13542 cat > conftest.$ac_ext <<EOF |
13636 #line 13637 "configure" | 13543 #line 13544 "configure" |
13637 #include "confdefs.h" | 13544 #include "confdefs.h" |
13638 /* System header to define __stub macros and hopefully few prototypes, | 13545 /* System header to define __stub macros and hopefully few prototypes, |
13639 which can conflict with char socket(); below. */ | 13546 which can conflict with char socket(); below. */ |
13640 #include <assert.h> | 13547 #include <assert.h> |
13641 /* Override any gcc2 internal prototype to avoid an error. */ | 13548 /* Override any gcc2 internal prototype to avoid an error. */ |
13654 socket(); | 13561 socket(); |
13655 #endif | 13562 #endif |
13656 | 13563 |
13657 ; return 0; } | 13564 ; return 0; } |
13658 EOF | 13565 EOF |
13659 if { (eval echo configure:13660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13566 if { (eval echo configure:13567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13660 rm -rf conftest* | 13567 rm -rf conftest* |
13661 eval "ac_cv_func_socket=yes" | 13568 eval "ac_cv_func_socket=yes" |
13662 else | 13569 else |
13663 echo "configure: failed program was:" >&5 | 13570 echo "configure: failed program was:" >&5 |
13664 cat conftest.$ac_ext >&5 | 13571 cat conftest.$ac_ext >&5 |
13669 | 13576 |
13670 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13577 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13671 echo "$ac_t""yes" 1>&6 | 13578 echo "$ac_t""yes" 1>&6 |
13672 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13579 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13673 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13580 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13674 echo "configure:13675: checking for netinet/in.h" >&5 | 13581 echo "configure:13582: checking for netinet/in.h" >&5 |
13675 | 13582 |
13676 cat > conftest.$ac_ext <<EOF | 13583 cat > conftest.$ac_ext <<EOF |
13677 #line 13678 "configure" | 13584 #line 13585 "configure" |
13678 #include "confdefs.h" | 13585 #include "confdefs.h" |
13679 #include <netinet/in.h> | 13586 #include <netinet/in.h> |
13680 EOF | 13587 EOF |
13681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13682 { (eval echo configure:13683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13589 { (eval echo configure:13590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13684 if test -z "$ac_err"; then | 13591 if test -z "$ac_err"; then |
13685 rm -rf conftest* | 13592 rm -rf conftest* |
13686 eval "ac_cv_header_$ac_safe=yes" | 13593 eval "ac_cv_header_$ac_safe=yes" |
13687 else | 13594 else |
13694 rm -f conftest* | 13601 rm -f conftest* |
13695 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13602 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13696 echo "$ac_t""yes" 1>&6 | 13603 echo "$ac_t""yes" 1>&6 |
13697 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13604 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13698 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13605 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13699 echo "configure:13700: checking for arpa/inet.h" >&5 | 13606 echo "configure:13607: checking for arpa/inet.h" >&5 |
13700 | 13607 |
13701 cat > conftest.$ac_ext <<EOF | 13608 cat > conftest.$ac_ext <<EOF |
13702 #line 13703 "configure" | 13609 #line 13610 "configure" |
13703 #include "confdefs.h" | 13610 #include "confdefs.h" |
13704 #include <arpa/inet.h> | 13611 #include <arpa/inet.h> |
13705 EOF | 13612 EOF |
13706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13707 { (eval echo configure:13708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13614 { (eval echo configure:13615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13709 if test -z "$ac_err"; then | 13616 if test -z "$ac_err"; then |
13710 rm -rf conftest* | 13617 rm -rf conftest* |
13711 eval "ac_cv_header_$ac_safe=yes" | 13618 eval "ac_cv_header_$ac_safe=yes" |
13712 else | 13619 else |
13727 #define HAVE_SOCKETS 1 | 13634 #define HAVE_SOCKETS 1 |
13728 EOF | 13635 EOF |
13729 } | 13636 } |
13730 | 13637 |
13731 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13638 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13732 echo "configure:13733: checking "for sun_len member in struct sockaddr_un"" >&5 | 13639 echo "configure:13640: checking "for sun_len member in struct sockaddr_un"" >&5 |
13733 cat > conftest.$ac_ext <<EOF | 13640 cat > conftest.$ac_ext <<EOF |
13734 #line 13735 "configure" | 13641 #line 13642 "configure" |
13735 #include "confdefs.h" | 13642 #include "confdefs.h" |
13736 | 13643 |
13737 #include <sys/types.h> | 13644 #include <sys/types.h> |
13738 #include <sys/socket.h> | 13645 #include <sys/socket.h> |
13739 #include <sys/un.h> | 13646 #include <sys/un.h> |
13740 | 13647 |
13741 int main() { | 13648 int main() { |
13742 static struct sockaddr_un x; x.sun_len = 1; | 13649 static struct sockaddr_un x; x.sun_len = 1; |
13743 ; return 0; } | 13650 ; return 0; } |
13744 EOF | 13651 EOF |
13745 if { (eval echo configure:13746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13652 if { (eval echo configure:13653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13746 rm -rf conftest* | 13653 rm -rf conftest* |
13747 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13654 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13748 Defining HAVE_SOCKADDR_SUN_LEN | 13655 Defining HAVE_SOCKADDR_SUN_LEN |
13749 EOF | 13656 EOF |
13750 cat >> confdefs.h <<\EOF | 13657 cat >> confdefs.h <<\EOF |
13758 rm -rf conftest* | 13665 rm -rf conftest* |
13759 echo "$ac_t""no" 1>&6 | 13666 echo "$ac_t""no" 1>&6 |
13760 fi | 13667 fi |
13761 rm -f conftest* | 13668 rm -f conftest* |
13762 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13669 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13763 echo "configure:13764: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13670 echo "configure:13671: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13764 cat > conftest.$ac_ext <<EOF | 13671 cat > conftest.$ac_ext <<EOF |
13765 #line 13766 "configure" | 13672 #line 13673 "configure" |
13766 #include "confdefs.h" | 13673 #include "confdefs.h" |
13767 | 13674 |
13768 #include <sys/types.h> | 13675 #include <sys/types.h> |
13769 #include <netinet/in.h> | 13676 #include <netinet/in.h> |
13770 | 13677 |
13771 int main() { | 13678 int main() { |
13772 static struct ip_mreq x; | 13679 static struct ip_mreq x; |
13773 ; return 0; } | 13680 ; return 0; } |
13774 EOF | 13681 EOF |
13775 if { (eval echo configure:13776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13682 if { (eval echo configure:13683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13776 rm -rf conftest* | 13683 rm -rf conftest* |
13777 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13684 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13778 Defining HAVE_MULTICAST | 13685 Defining HAVE_MULTICAST |
13779 EOF | 13686 EOF |
13780 cat >> confdefs.h <<\EOF | 13687 cat >> confdefs.h <<\EOF |
13801 echo "$ac_t""no" 1>&6 | 13708 echo "$ac_t""no" 1>&6 |
13802 fi | 13709 fi |
13803 | 13710 |
13804 | 13711 |
13805 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13712 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13806 echo "configure:13807: checking for msgget" >&5 | 13713 echo "configure:13714: checking for msgget" >&5 |
13807 | 13714 |
13808 cat > conftest.$ac_ext <<EOF | 13715 cat > conftest.$ac_ext <<EOF |
13809 #line 13810 "configure" | 13716 #line 13717 "configure" |
13810 #include "confdefs.h" | 13717 #include "confdefs.h" |
13811 /* System header to define __stub macros and hopefully few prototypes, | 13718 /* System header to define __stub macros and hopefully few prototypes, |
13812 which can conflict with char msgget(); below. */ | 13719 which can conflict with char msgget(); below. */ |
13813 #include <assert.h> | 13720 #include <assert.h> |
13814 /* Override any gcc2 internal prototype to avoid an error. */ | 13721 /* Override any gcc2 internal prototype to avoid an error. */ |
13827 msgget(); | 13734 msgget(); |
13828 #endif | 13735 #endif |
13829 | 13736 |
13830 ; return 0; } | 13737 ; return 0; } |
13831 EOF | 13738 EOF |
13832 if { (eval echo configure:13833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13739 if { (eval echo configure:13740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13833 rm -rf conftest* | 13740 rm -rf conftest* |
13834 eval "ac_cv_func_msgget=yes" | 13741 eval "ac_cv_func_msgget=yes" |
13835 else | 13742 else |
13836 echo "configure: failed program was:" >&5 | 13743 echo "configure: failed program was:" >&5 |
13837 cat conftest.$ac_ext >&5 | 13744 cat conftest.$ac_ext >&5 |
13842 | 13749 |
13843 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13750 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13844 echo "$ac_t""yes" 1>&6 | 13751 echo "$ac_t""yes" 1>&6 |
13845 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13752 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13846 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13753 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13847 echo "configure:13848: checking for sys/ipc.h" >&5 | 13754 echo "configure:13755: checking for sys/ipc.h" >&5 |
13848 | 13755 |
13849 cat > conftest.$ac_ext <<EOF | 13756 cat > conftest.$ac_ext <<EOF |
13850 #line 13851 "configure" | 13757 #line 13758 "configure" |
13851 #include "confdefs.h" | 13758 #include "confdefs.h" |
13852 #include <sys/ipc.h> | 13759 #include <sys/ipc.h> |
13853 EOF | 13760 EOF |
13854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13855 { (eval echo configure:13856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13762 { (eval echo configure:13763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13856 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13857 if test -z "$ac_err"; then | 13764 if test -z "$ac_err"; then |
13858 rm -rf conftest* | 13765 rm -rf conftest* |
13859 eval "ac_cv_header_$ac_safe=yes" | 13766 eval "ac_cv_header_$ac_safe=yes" |
13860 else | 13767 else |
13867 rm -f conftest* | 13774 rm -f conftest* |
13868 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13775 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13869 echo "$ac_t""yes" 1>&6 | 13776 echo "$ac_t""yes" 1>&6 |
13870 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13777 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13871 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13778 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13872 echo "configure:13873: checking for sys/msg.h" >&5 | 13779 echo "configure:13780: checking for sys/msg.h" >&5 |
13873 | 13780 |
13874 cat > conftest.$ac_ext <<EOF | 13781 cat > conftest.$ac_ext <<EOF |
13875 #line 13876 "configure" | 13782 #line 13783 "configure" |
13876 #include "confdefs.h" | 13783 #include "confdefs.h" |
13877 #include <sys/msg.h> | 13784 #include <sys/msg.h> |
13878 EOF | 13785 EOF |
13879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13786 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13880 { (eval echo configure:13881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13787 { (eval echo configure:13788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13788 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13882 if test -z "$ac_err"; then | 13789 if test -z "$ac_err"; then |
13883 rm -rf conftest* | 13790 rm -rf conftest* |
13884 eval "ac_cv_header_$ac_safe=yes" | 13791 eval "ac_cv_header_$ac_safe=yes" |
13885 else | 13792 else |
13913 fi | 13820 fi |
13914 | 13821 |
13915 | 13822 |
13916 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13823 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13917 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13824 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13918 echo "configure:13919: checking for dirent.h" >&5 | 13825 echo "configure:13826: checking for dirent.h" >&5 |
13919 | 13826 |
13920 cat > conftest.$ac_ext <<EOF | 13827 cat > conftest.$ac_ext <<EOF |
13921 #line 13922 "configure" | 13828 #line 13829 "configure" |
13922 #include "confdefs.h" | 13829 #include "confdefs.h" |
13923 #include <dirent.h> | 13830 #include <dirent.h> |
13924 EOF | 13831 EOF |
13925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13926 { (eval echo configure:13927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13833 { (eval echo configure:13834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13834 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13928 if test -z "$ac_err"; then | 13835 if test -z "$ac_err"; then |
13929 rm -rf conftest* | 13836 rm -rf conftest* |
13930 eval "ac_cv_header_$ac_safe=yes" | 13837 eval "ac_cv_header_$ac_safe=yes" |
13931 else | 13838 else |
13948 | 13855 |
13949 else | 13856 else |
13950 echo "$ac_t""no" 1>&6 | 13857 echo "$ac_t""no" 1>&6 |
13951 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13858 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13952 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13859 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13953 echo "configure:13954: checking for sys/dir.h" >&5 | 13860 echo "configure:13861: checking for sys/dir.h" >&5 |
13954 | 13861 |
13955 cat > conftest.$ac_ext <<EOF | 13862 cat > conftest.$ac_ext <<EOF |
13956 #line 13957 "configure" | 13863 #line 13864 "configure" |
13957 #include "confdefs.h" | 13864 #include "confdefs.h" |
13958 #include <sys/dir.h> | 13865 #include <sys/dir.h> |
13959 EOF | 13866 EOF |
13960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13867 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13961 { (eval echo configure:13962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13868 { (eval echo configure:13869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13869 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13963 if test -z "$ac_err"; then | 13870 if test -z "$ac_err"; then |
13964 rm -rf conftest* | 13871 rm -rf conftest* |
13965 eval "ac_cv_header_$ac_safe=yes" | 13872 eval "ac_cv_header_$ac_safe=yes" |
13966 else | 13873 else |
13989 fi | 13896 fi |
13990 | 13897 |
13991 | 13898 |
13992 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13899 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13993 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13900 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13994 echo "configure:13995: checking for nlist.h" >&5 | 13901 echo "configure:13902: checking for nlist.h" >&5 |
13995 | 13902 |
13996 cat > conftest.$ac_ext <<EOF | 13903 cat > conftest.$ac_ext <<EOF |
13997 #line 13998 "configure" | 13904 #line 13905 "configure" |
13998 #include "confdefs.h" | 13905 #include "confdefs.h" |
13999 #include <nlist.h> | 13906 #include <nlist.h> |
14000 EOF | 13907 EOF |
14001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14002 { (eval echo configure:14003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13909 { (eval echo configure:13910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14003 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14004 if test -z "$ac_err"; then | 13911 if test -z "$ac_err"; then |
14005 rm -rf conftest* | 13912 rm -rf conftest* |
14006 eval "ac_cv_header_$ac_safe=yes" | 13913 eval "ac_cv_header_$ac_safe=yes" |
14007 else | 13914 else |
14027 fi | 13934 fi |
14028 | 13935 |
14029 | 13936 |
14030 | 13937 |
14031 echo "checking "for sound support"" 1>&6 | 13938 echo "checking "for sound support"" 1>&6 |
14032 echo "configure:14033: checking "for sound support"" >&5 | 13939 echo "configure:13940: checking "for sound support"" >&5 |
14033 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13940 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14034 | 13941 |
14035 if test "$with_native_sound" != "no"; then | 13942 if test "$with_native_sound" != "no"; then |
14036 if test -n "$native_sound_lib"; then | 13943 if test -n "$native_sound_lib"; then |
14037 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13944 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14038 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13945 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14039 echo "configure:14040: checking for multimedia/audio_device.h" >&5 | 13946 echo "configure:13947: checking for multimedia/audio_device.h" >&5 |
14040 | 13947 |
14041 cat > conftest.$ac_ext <<EOF | 13948 cat > conftest.$ac_ext <<EOF |
14042 #line 14043 "configure" | 13949 #line 13950 "configure" |
14043 #include "confdefs.h" | 13950 #include "confdefs.h" |
14044 #include <multimedia/audio_device.h> | 13951 #include <multimedia/audio_device.h> |
14045 EOF | 13952 EOF |
14046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14047 { (eval echo configure:14048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13954 { (eval echo configure:13955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14049 if test -z "$ac_err"; then | 13956 if test -z "$ac_err"; then |
14050 rm -rf conftest* | 13957 rm -rf conftest* |
14051 eval "ac_cv_header_$ac_safe=yes" | 13958 eval "ac_cv_header_$ac_safe=yes" |
14052 else | 13959 else |
14098 case "$canonical" in | 14005 case "$canonical" in |
14099 *-sgi-* ) | 14006 *-sgi-* ) |
14100 if test -z "$native_sound_lib"; then | 14007 if test -z "$native_sound_lib"; then |
14101 | 14008 |
14102 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14009 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14103 echo "configure:14104: checking for ALopenport in -laudio" >&5 | 14010 echo "configure:14011: checking for ALopenport in -laudio" >&5 |
14104 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14011 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14105 | 14012 |
14106 xe_check_libs=" -laudio " | 14013 xe_check_libs=" -laudio " |
14107 cat > conftest.$ac_ext <<EOF | 14014 cat > conftest.$ac_ext <<EOF |
14108 #line 14109 "configure" | 14015 #line 14016 "configure" |
14109 #include "confdefs.h" | 14016 #include "confdefs.h" |
14110 /* Override any gcc2 internal prototype to avoid an error. */ | 14017 /* Override any gcc2 internal prototype to avoid an error. */ |
14111 /* We use char because int might match the return type of a gcc2 | 14018 /* We use char because int might match the return type of a gcc2 |
14112 builtin and then its argument prototype would still apply. */ | 14019 builtin and then its argument prototype would still apply. */ |
14113 char ALopenport(); | 14020 char ALopenport(); |
14114 | 14021 |
14115 int main() { | 14022 int main() { |
14116 ALopenport() | 14023 ALopenport() |
14117 ; return 0; } | 14024 ; return 0; } |
14118 EOF | 14025 EOF |
14119 if { (eval echo configure:14120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14026 if { (eval echo configure:14027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14120 rm -rf conftest* | 14027 rm -rf conftest* |
14121 eval "ac_cv_lib_$ac_lib_var=yes" | 14028 eval "ac_cv_lib_$ac_lib_var=yes" |
14122 else | 14029 else |
14123 echo "configure: failed program was:" >&5 | 14030 echo "configure: failed program was:" >&5 |
14124 cat conftest.$ac_ext >&5 | 14031 cat conftest.$ac_ext >&5 |
14145 fi ;; | 14052 fi ;; |
14146 hppa*-hp-hpux* ) | 14053 hppa*-hp-hpux* ) |
14147 if test -z "$native_sound_lib"; then | 14054 if test -z "$native_sound_lib"; then |
14148 | 14055 |
14149 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14056 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14150 echo "configure:14151: checking for AOpenAudio in -lAlib" >&5 | 14057 echo "configure:14058: checking for AOpenAudio in -lAlib" >&5 |
14151 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14058 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14152 | 14059 |
14153 xe_check_libs=" -lAlib " | 14060 xe_check_libs=" -lAlib " |
14154 cat > conftest.$ac_ext <<EOF | 14061 cat > conftest.$ac_ext <<EOF |
14155 #line 14156 "configure" | 14062 #line 14063 "configure" |
14156 #include "confdefs.h" | 14063 #include "confdefs.h" |
14157 /* Override any gcc2 internal prototype to avoid an error. */ | 14064 /* Override any gcc2 internal prototype to avoid an error. */ |
14158 /* We use char because int might match the return type of a gcc2 | 14065 /* We use char because int might match the return type of a gcc2 |
14159 builtin and then its argument prototype would still apply. */ | 14066 builtin and then its argument prototype would still apply. */ |
14160 char AOpenAudio(); | 14067 char AOpenAudio(); |
14161 | 14068 |
14162 int main() { | 14069 int main() { |
14163 AOpenAudio() | 14070 AOpenAudio() |
14164 ; return 0; } | 14071 ; return 0; } |
14165 EOF | 14072 EOF |
14166 if { (eval echo configure:14167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14073 if { (eval echo configure:14074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14167 rm -rf conftest* | 14074 rm -rf conftest* |
14168 eval "ac_cv_lib_$ac_lib_var=yes" | 14075 eval "ac_cv_lib_$ac_lib_var=yes" |
14169 else | 14076 else |
14170 echo "configure: failed program was:" >&5 | 14077 echo "configure: failed program was:" >&5 |
14171 cat conftest.$ac_ext >&5 | 14078 cat conftest.$ac_ext >&5 |
14209 | 14116 |
14210 if test -z "$sound_found"; then | 14117 if test -z "$sound_found"; then |
14211 for dir in "machine" "sys" "linux"; do | 14118 for dir in "machine" "sys" "linux"; do |
14212 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14119 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14213 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14120 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14214 echo "configure:14215: checking for ${dir}/soundcard.h" >&5 | 14121 echo "configure:14122: checking for ${dir}/soundcard.h" >&5 |
14215 | 14122 |
14216 cat > conftest.$ac_ext <<EOF | 14123 cat > conftest.$ac_ext <<EOF |
14217 #line 14218 "configure" | 14124 #line 14125 "configure" |
14218 #include "confdefs.h" | 14125 #include "confdefs.h" |
14219 #include <${dir}/soundcard.h> | 14126 #include <${dir}/soundcard.h> |
14220 EOF | 14127 EOF |
14221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14222 { (eval echo configure:14223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14129 { (eval echo configure:14130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14224 if test -z "$ac_err"; then | 14131 if test -z "$ac_err"; then |
14225 rm -rf conftest* | 14132 rm -rf conftest* |
14226 eval "ac_cv_header_$ac_safe=yes" | 14133 eval "ac_cv_header_$ac_safe=yes" |
14227 else | 14134 else |
14271 fi | 14178 fi |
14272 | 14179 |
14273 if test "$with_nas_sound" != "no"; then | 14180 if test "$with_nas_sound" != "no"; then |
14274 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14181 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14275 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14182 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14276 echo "configure:14277: checking for audio/audiolib.h" >&5 | 14183 echo "configure:14184: checking for audio/audiolib.h" >&5 |
14277 | 14184 |
14278 cat > conftest.$ac_ext <<EOF | 14185 cat > conftest.$ac_ext <<EOF |
14279 #line 14280 "configure" | 14186 #line 14187 "configure" |
14280 #include "confdefs.h" | 14187 #include "confdefs.h" |
14281 #include <audio/audiolib.h> | 14188 #include <audio/audiolib.h> |
14282 EOF | 14189 EOF |
14283 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14284 { (eval echo configure:14285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14191 { (eval echo configure:14192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14285 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14286 if test -z "$ac_err"; then | 14193 if test -z "$ac_err"; then |
14287 rm -rf conftest* | 14194 rm -rf conftest* |
14288 eval "ac_cv_header_$ac_safe=yes" | 14195 eval "ac_cv_header_$ac_safe=yes" |
14289 else | 14196 else |
14297 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14204 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14298 echo "$ac_t""yes" 1>&6 | 14205 echo "$ac_t""yes" 1>&6 |
14299 | 14206 |
14300 | 14207 |
14301 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14208 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14302 echo "configure:14303: checking for AuOpenServer in -laudio" >&5 | 14209 echo "configure:14210: checking for AuOpenServer in -laudio" >&5 |
14303 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14210 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14304 | 14211 |
14305 xe_check_libs=" -laudio " | 14212 xe_check_libs=" -laudio " |
14306 cat > conftest.$ac_ext <<EOF | 14213 cat > conftest.$ac_ext <<EOF |
14307 #line 14308 "configure" | 14214 #line 14215 "configure" |
14308 #include "confdefs.h" | 14215 #include "confdefs.h" |
14309 /* Override any gcc2 internal prototype to avoid an error. */ | 14216 /* Override any gcc2 internal prototype to avoid an error. */ |
14310 /* We use char because int might match the return type of a gcc2 | 14217 /* We use char because int might match the return type of a gcc2 |
14311 builtin and then its argument prototype would still apply. */ | 14218 builtin and then its argument prototype would still apply. */ |
14312 char AuOpenServer(); | 14219 char AuOpenServer(); |
14313 | 14220 |
14314 int main() { | 14221 int main() { |
14315 AuOpenServer() | 14222 AuOpenServer() |
14316 ; return 0; } | 14223 ; return 0; } |
14317 EOF | 14224 EOF |
14318 if { (eval echo configure:14319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14225 if { (eval echo configure:14226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14319 rm -rf conftest* | 14226 rm -rf conftest* |
14320 eval "ac_cv_lib_$ac_lib_var=yes" | 14227 eval "ac_cv_lib_$ac_lib_var=yes" |
14321 else | 14228 else |
14322 echo "configure: failed program was:" >&5 | 14229 echo "configure: failed program was:" >&5 |
14323 cat conftest.$ac_ext >&5 | 14230 cat conftest.$ac_ext >&5 |
14352 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14259 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14353 echo " xemacs will be linked with \"nas.o\"" | 14260 echo " xemacs will be linked with \"nas.o\"" |
14354 fi | 14261 fi |
14355 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14262 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14356 cat > conftest.$ac_ext <<EOF | 14263 cat > conftest.$ac_ext <<EOF |
14357 #line 14358 "configure" | 14264 #line 14265 "configure" |
14358 #include "confdefs.h" | 14265 #include "confdefs.h" |
14359 #include <audio/Xtutil.h> | 14266 #include <audio/Xtutil.h> |
14360 EOF | 14267 EOF |
14361 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14362 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14269 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14383 | 14290 |
14384 if test "$with_esd_sound" != "no"; then | 14291 if test "$with_esd_sound" != "no"; then |
14385 # Extract the first word of "esd-config", so it can be a program name with args. | 14292 # Extract the first word of "esd-config", so it can be a program name with args. |
14386 set dummy esd-config; ac_word=$2 | 14293 set dummy esd-config; ac_word=$2 |
14387 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14388 echo "configure:14389: checking for $ac_word" >&5 | 14295 echo "configure:14296: checking for $ac_word" >&5 |
14389 | 14296 |
14390 if test -n "$have_esd_config"; then | 14297 if test -n "$have_esd_config"; then |
14391 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14298 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14392 else | 14299 else |
14393 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14300 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14412 if test "$have_esd_config" = "yes"; then | 14319 if test "$have_esd_config" = "yes"; then |
14413 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14320 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14414 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 | 14321 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 |
14415 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14322 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14416 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14323 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14417 echo "configure:14418: checking for esd_play_stream" >&5 | 14324 echo "configure:14325: checking for esd_play_stream" >&5 |
14418 | 14325 |
14419 cat > conftest.$ac_ext <<EOF | 14326 cat > conftest.$ac_ext <<EOF |
14420 #line 14421 "configure" | 14327 #line 14328 "configure" |
14421 #include "confdefs.h" | 14328 #include "confdefs.h" |
14422 /* System header to define __stub macros and hopefully few prototypes, | 14329 /* System header to define __stub macros and hopefully few prototypes, |
14423 which can conflict with char esd_play_stream(); below. */ | 14330 which can conflict with char esd_play_stream(); below. */ |
14424 #include <assert.h> | 14331 #include <assert.h> |
14425 /* Override any gcc2 internal prototype to avoid an error. */ | 14332 /* Override any gcc2 internal prototype to avoid an error. */ |
14438 esd_play_stream(); | 14345 esd_play_stream(); |
14439 #endif | 14346 #endif |
14440 | 14347 |
14441 ; return 0; } | 14348 ; return 0; } |
14442 EOF | 14349 EOF |
14443 if { (eval echo configure:14444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14350 if { (eval echo configure:14351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14444 rm -rf conftest* | 14351 rm -rf conftest* |
14445 eval "ac_cv_func_esd_play_stream=yes" | 14352 eval "ac_cv_func_esd_play_stream=yes" |
14446 else | 14353 else |
14447 echo "configure: failed program was:" >&5 | 14354 echo "configure: failed program was:" >&5 |
14448 cat conftest.$ac_ext >&5 | 14355 cat conftest.$ac_ext >&5 |
14489 | 14396 |
14490 test -z "$with_tty" && with_tty=yes | 14397 test -z "$with_tty" && with_tty=yes |
14491 | 14398 |
14492 if test "$with_tty" = "yes" ; then | 14399 if test "$with_tty" = "yes" ; then |
14493 echo "checking for TTY-related features" 1>&6 | 14400 echo "checking for TTY-related features" 1>&6 |
14494 echo "configure:14495: checking for TTY-related features" >&5 | 14401 echo "configure:14402: checking for TTY-related features" >&5 |
14495 { test "$extra_verbose" = "yes" && cat << \EOF | 14402 { test "$extra_verbose" = "yes" && cat << \EOF |
14496 Defining HAVE_TTY | 14403 Defining HAVE_TTY |
14497 EOF | 14404 EOF |
14498 cat >> confdefs.h <<\EOF | 14405 cat >> confdefs.h <<\EOF |
14499 #define HAVE_TTY 1 | 14406 #define HAVE_TTY 1 |
14502 | 14409 |
14503 | 14410 |
14504 if test -z "$with_ncurses"; then | 14411 if test -z "$with_ncurses"; then |
14505 | 14412 |
14506 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14413 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14507 echo "configure:14508: checking for tgetent in -lncurses" >&5 | 14414 echo "configure:14415: checking for tgetent in -lncurses" >&5 |
14508 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14415 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14509 | 14416 |
14510 xe_check_libs=" -lncurses " | 14417 xe_check_libs=" -lncurses " |
14511 cat > conftest.$ac_ext <<EOF | 14418 cat > conftest.$ac_ext <<EOF |
14512 #line 14513 "configure" | 14419 #line 14420 "configure" |
14513 #include "confdefs.h" | 14420 #include "confdefs.h" |
14514 /* Override any gcc2 internal prototype to avoid an error. */ | 14421 /* Override any gcc2 internal prototype to avoid an error. */ |
14515 /* We use char because int might match the return type of a gcc2 | 14422 /* We use char because int might match the return type of a gcc2 |
14516 builtin and then its argument prototype would still apply. */ | 14423 builtin and then its argument prototype would still apply. */ |
14517 char tgetent(); | 14424 char tgetent(); |
14518 | 14425 |
14519 int main() { | 14426 int main() { |
14520 tgetent() | 14427 tgetent() |
14521 ; return 0; } | 14428 ; return 0; } |
14522 EOF | 14429 EOF |
14523 if { (eval echo configure:14524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14430 if { (eval echo configure:14431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14524 rm -rf conftest* | 14431 rm -rf conftest* |
14525 eval "ac_cv_lib_$ac_lib_var=yes" | 14432 eval "ac_cv_lib_$ac_lib_var=yes" |
14526 else | 14433 else |
14527 echo "configure: failed program was:" >&5 | 14434 echo "configure: failed program was:" >&5 |
14528 cat conftest.$ac_ext >&5 | 14435 cat conftest.$ac_ext >&5 |
14551 EOF | 14458 EOF |
14552 } | 14459 } |
14553 | 14460 |
14554 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14461 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14555 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14462 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14556 echo "configure:14557: checking for ncurses/curses.h" >&5 | 14463 echo "configure:14464: checking for ncurses/curses.h" >&5 |
14557 | 14464 |
14558 cat > conftest.$ac_ext <<EOF | 14465 cat > conftest.$ac_ext <<EOF |
14559 #line 14560 "configure" | 14466 #line 14467 "configure" |
14560 #include "confdefs.h" | 14467 #include "confdefs.h" |
14561 #include <ncurses/curses.h> | 14468 #include <ncurses/curses.h> |
14562 EOF | 14469 EOF |
14563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14470 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14564 { (eval echo configure:14565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14471 { (eval echo configure:14472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14472 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14566 if test -z "$ac_err"; then | 14473 if test -z "$ac_err"; then |
14567 rm -rf conftest* | 14474 rm -rf conftest* |
14568 eval "ac_cv_header_$ac_safe=yes" | 14475 eval "ac_cv_header_$ac_safe=yes" |
14569 else | 14476 else |
14581 echo "$ac_t""no" 1>&6 | 14488 echo "$ac_t""no" 1>&6 |
14582 fi | 14489 fi |
14583 | 14490 |
14584 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14491 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14585 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14492 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14586 echo "configure:14587: checking for ncurses/term.h" >&5 | 14493 echo "configure:14494: checking for ncurses/term.h" >&5 |
14587 | 14494 |
14588 cat > conftest.$ac_ext <<EOF | 14495 cat > conftest.$ac_ext <<EOF |
14589 #line 14590 "configure" | 14496 #line 14497 "configure" |
14590 #include "confdefs.h" | 14497 #include "confdefs.h" |
14591 #include <ncurses/term.h> | 14498 #include <ncurses/term.h> |
14592 EOF | 14499 EOF |
14593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14500 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14594 { (eval echo configure:14595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14501 { (eval echo configure:14502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14502 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14596 if test -z "$ac_err"; then | 14503 if test -z "$ac_err"; then |
14597 rm -rf conftest* | 14504 rm -rf conftest* |
14598 eval "ac_cv_header_$ac_safe=yes" | 14505 eval "ac_cv_header_$ac_safe=yes" |
14599 else | 14506 else |
14619 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14526 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14620 save_c_switch_site="$c_switch_site" | 14527 save_c_switch_site="$c_switch_site" |
14621 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14528 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14622 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14529 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14623 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14530 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14624 echo "configure:14625: checking for ncurses/curses.h" >&5 | 14531 echo "configure:14532: checking for ncurses/curses.h" >&5 |
14625 | 14532 |
14626 cat > conftest.$ac_ext <<EOF | 14533 cat > conftest.$ac_ext <<EOF |
14627 #line 14628 "configure" | 14534 #line 14535 "configure" |
14628 #include "confdefs.h" | 14535 #include "confdefs.h" |
14629 #include <ncurses/curses.h> | 14536 #include <ncurses/curses.h> |
14630 EOF | 14537 EOF |
14631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14632 { (eval echo configure:14633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14539 { (eval echo configure:14540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14634 if test -z "$ac_err"; then | 14541 if test -z "$ac_err"; then |
14635 rm -rf conftest* | 14542 rm -rf conftest* |
14636 eval "ac_cv_header_$ac_safe=yes" | 14543 eval "ac_cv_header_$ac_safe=yes" |
14637 else | 14544 else |
14662 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14569 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14663 else | 14570 else |
14664 for lib in curses termlib termcap; do | 14571 for lib in curses termlib termcap; do |
14665 | 14572 |
14666 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14573 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14667 echo "configure:14668: checking for tgetent in -l$lib" >&5 | 14574 echo "configure:14575: checking for tgetent in -l$lib" >&5 |
14668 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14575 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14669 | 14576 |
14670 xe_check_libs=" -l$lib " | 14577 xe_check_libs=" -l$lib " |
14671 cat > conftest.$ac_ext <<EOF | 14578 cat > conftest.$ac_ext <<EOF |
14672 #line 14673 "configure" | 14579 #line 14580 "configure" |
14673 #include "confdefs.h" | 14580 #include "confdefs.h" |
14674 /* Override any gcc2 internal prototype to avoid an error. */ | 14581 /* Override any gcc2 internal prototype to avoid an error. */ |
14675 /* We use char because int might match the return type of a gcc2 | 14582 /* We use char because int might match the return type of a gcc2 |
14676 builtin and then its argument prototype would still apply. */ | 14583 builtin and then its argument prototype would still apply. */ |
14677 char tgetent(); | 14584 char tgetent(); |
14678 | 14585 |
14679 int main() { | 14586 int main() { |
14680 tgetent() | 14587 tgetent() |
14681 ; return 0; } | 14588 ; return 0; } |
14682 EOF | 14589 EOF |
14683 if { (eval echo configure:14684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14590 if { (eval echo configure:14591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14684 rm -rf conftest* | 14591 rm -rf conftest* |
14685 eval "ac_cv_lib_$ac_lib_var=yes" | 14592 eval "ac_cv_lib_$ac_lib_var=yes" |
14686 else | 14593 else |
14687 echo "configure: failed program was:" >&5 | 14594 echo "configure: failed program was:" >&5 |
14688 cat conftest.$ac_ext >&5 | 14595 cat conftest.$ac_ext >&5 |
14709 if test -n "$libs_termcap"; then | 14616 if test -n "$libs_termcap"; then |
14710 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14617 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14711 else | 14618 else |
14712 | 14619 |
14713 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14620 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14714 echo "configure:14715: checking for tgetent in -lcurses" >&5 | 14621 echo "configure:14622: checking for tgetent in -lcurses" >&5 |
14715 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14622 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14716 | 14623 |
14717 xe_check_libs=" -lcurses " | 14624 xe_check_libs=" -lcurses " |
14718 cat > conftest.$ac_ext <<EOF | 14625 cat > conftest.$ac_ext <<EOF |
14719 #line 14720 "configure" | 14626 #line 14627 "configure" |
14720 #include "confdefs.h" | 14627 #include "confdefs.h" |
14721 /* Override any gcc2 internal prototype to avoid an error. */ | 14628 /* Override any gcc2 internal prototype to avoid an error. */ |
14722 /* We use char because int might match the return type of a gcc2 | 14629 /* We use char because int might match the return type of a gcc2 |
14723 builtin and then its argument prototype would still apply. */ | 14630 builtin and then its argument prototype would still apply. */ |
14724 char tgetent(); | 14631 char tgetent(); |
14725 | 14632 |
14726 int main() { | 14633 int main() { |
14727 tgetent() | 14634 tgetent() |
14728 ; return 0; } | 14635 ; return 0; } |
14729 EOF | 14636 EOF |
14730 if { (eval echo configure:14731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14637 if { (eval echo configure:14638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14731 rm -rf conftest* | 14638 rm -rf conftest* |
14732 eval "ac_cv_lib_$ac_lib_var=yes" | 14639 eval "ac_cv_lib_$ac_lib_var=yes" |
14733 else | 14640 else |
14734 echo "configure: failed program was:" >&5 | 14641 echo "configure: failed program was:" >&5 |
14735 cat conftest.$ac_ext >&5 | 14642 cat conftest.$ac_ext >&5 |
14743 echo "$ac_t""yes" 1>&6 | 14650 echo "$ac_t""yes" 1>&6 |
14744 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14651 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14745 else | 14652 else |
14746 echo "$ac_t""no" 1>&6 | 14653 echo "$ac_t""no" 1>&6 |
14747 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14654 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14748 echo "configure:14749: checking for tgetent in -ltermcap" >&5 | 14655 echo "configure:14656: checking for tgetent in -ltermcap" >&5 |
14749 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14656 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14750 | 14657 |
14751 xe_check_libs=" -ltermcap " | 14658 xe_check_libs=" -ltermcap " |
14752 cat > conftest.$ac_ext <<EOF | 14659 cat > conftest.$ac_ext <<EOF |
14753 #line 14754 "configure" | 14660 #line 14661 "configure" |
14754 #include "confdefs.h" | 14661 #include "confdefs.h" |
14755 /* Override any gcc2 internal prototype to avoid an error. */ | 14662 /* Override any gcc2 internal prototype to avoid an error. */ |
14756 /* We use char because int might match the return type of a gcc2 | 14663 /* We use char because int might match the return type of a gcc2 |
14757 builtin and then its argument prototype would still apply. */ | 14664 builtin and then its argument prototype would still apply. */ |
14758 char tgetent(); | 14665 char tgetent(); |
14759 | 14666 |
14760 int main() { | 14667 int main() { |
14761 tgetent() | 14668 tgetent() |
14762 ; return 0; } | 14669 ; return 0; } |
14763 EOF | 14670 EOF |
14764 if { (eval echo configure:14765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14671 if { (eval echo configure:14672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14765 rm -rf conftest* | 14672 rm -rf conftest* |
14766 eval "ac_cv_lib_$ac_lib_var=yes" | 14673 eval "ac_cv_lib_$ac_lib_var=yes" |
14767 else | 14674 else |
14768 echo "configure: failed program was:" >&5 | 14675 echo "configure: failed program was:" >&5 |
14769 cat conftest.$ac_ext >&5 | 14676 cat conftest.$ac_ext >&5 |
14807 } | 14714 } |
14808 | 14715 |
14809 | 14716 |
14810 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14717 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14811 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14718 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14812 echo "configure:14813: checking for gpm.h" >&5 | 14719 echo "configure:14720: checking for gpm.h" >&5 |
14813 | 14720 |
14814 cat > conftest.$ac_ext <<EOF | 14721 cat > conftest.$ac_ext <<EOF |
14815 #line 14816 "configure" | 14722 #line 14723 "configure" |
14816 #include "confdefs.h" | 14723 #include "confdefs.h" |
14817 #include <gpm.h> | 14724 #include <gpm.h> |
14818 EOF | 14725 EOF |
14819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14820 { (eval echo configure:14821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14727 { (eval echo configure:14728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14822 if test -z "$ac_err"; then | 14729 if test -z "$ac_err"; then |
14823 rm -rf conftest* | 14730 rm -rf conftest* |
14824 eval "ac_cv_header_$ac_safe=yes" | 14731 eval "ac_cv_header_$ac_safe=yes" |
14825 else | 14732 else |
14838 with_gpm=no | 14745 with_gpm=no |
14839 fi | 14746 fi |
14840 } | 14747 } |
14841 test -z "$with_gpm" && { | 14748 test -z "$with_gpm" && { |
14842 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14749 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14843 echo "configure:14844: checking for Gpm_Open in -lgpm" >&5 | 14750 echo "configure:14751: checking for Gpm_Open in -lgpm" >&5 |
14844 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14751 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14845 | 14752 |
14846 xe_check_libs=" -lgpm " | 14753 xe_check_libs=" -lgpm " |
14847 cat > conftest.$ac_ext <<EOF | 14754 cat > conftest.$ac_ext <<EOF |
14848 #line 14849 "configure" | 14755 #line 14756 "configure" |
14849 #include "confdefs.h" | 14756 #include "confdefs.h" |
14850 /* Override any gcc2 internal prototype to avoid an error. */ | 14757 /* Override any gcc2 internal prototype to avoid an error. */ |
14851 /* We use char because int might match the return type of a gcc2 | 14758 /* We use char because int might match the return type of a gcc2 |
14852 builtin and then its argument prototype would still apply. */ | 14759 builtin and then its argument prototype would still apply. */ |
14853 char Gpm_Open(); | 14760 char Gpm_Open(); |
14854 | 14761 |
14855 int main() { | 14762 int main() { |
14856 Gpm_Open() | 14763 Gpm_Open() |
14857 ; return 0; } | 14764 ; return 0; } |
14858 EOF | 14765 EOF |
14859 if { (eval echo configure:14860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14766 if { (eval echo configure:14767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14860 rm -rf conftest* | 14767 rm -rf conftest* |
14861 eval "ac_cv_lib_$ac_lib_var=yes" | 14768 eval "ac_cv_lib_$ac_lib_var=yes" |
14862 else | 14769 else |
14863 echo "configure: failed program was:" >&5 | 14770 echo "configure: failed program was:" >&5 |
14864 cat conftest.$ac_ext >&5 | 14771 cat conftest.$ac_ext >&5 |
14897 done | 14804 done |
14898 fi | 14805 fi |
14899 | 14806 |
14900 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14807 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14901 != "no no no" && echo "checking for database support" 1>&6 | 14808 != "no no no" && echo "checking for database support" 1>&6 |
14902 echo "configure:14903: checking for database support" >&5 | 14809 echo "configure:14810: checking for database support" >&5 |
14903 | 14810 |
14904 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14811 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14905 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14812 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14906 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14813 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14907 echo "configure:14908: checking for ndbm.h" >&5 | 14814 echo "configure:14815: checking for ndbm.h" >&5 |
14908 | 14815 |
14909 cat > conftest.$ac_ext <<EOF | 14816 cat > conftest.$ac_ext <<EOF |
14910 #line 14911 "configure" | 14817 #line 14818 "configure" |
14911 #include "confdefs.h" | 14818 #include "confdefs.h" |
14912 #include <ndbm.h> | 14819 #include <ndbm.h> |
14913 EOF | 14820 EOF |
14914 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14915 { (eval echo configure:14916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14822 { (eval echo configure:14823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14916 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14917 if test -z "$ac_err"; then | 14824 if test -z "$ac_err"; then |
14918 rm -rf conftest* | 14825 rm -rf conftest* |
14919 eval "ac_cv_header_$ac_safe=yes" | 14826 eval "ac_cv_header_$ac_safe=yes" |
14920 else | 14827 else |
14940 fi | 14847 fi |
14941 | 14848 |
14942 if test "$with_database_gdbm" != "no"; then | 14849 if test "$with_database_gdbm" != "no"; then |
14943 | 14850 |
14944 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14851 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14945 echo "configure:14946: checking for dbm_open in -lgdbm" >&5 | 14852 echo "configure:14853: checking for dbm_open in -lgdbm" >&5 |
14946 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14853 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14947 | 14854 |
14948 xe_check_libs=" -lgdbm " | 14855 xe_check_libs=" -lgdbm " |
14949 cat > conftest.$ac_ext <<EOF | 14856 cat > conftest.$ac_ext <<EOF |
14950 #line 14951 "configure" | 14857 #line 14858 "configure" |
14951 #include "confdefs.h" | 14858 #include "confdefs.h" |
14952 /* Override any gcc2 internal prototype to avoid an error. */ | 14859 /* Override any gcc2 internal prototype to avoid an error. */ |
14953 /* We use char because int might match the return type of a gcc2 | 14860 /* We use char because int might match the return type of a gcc2 |
14954 builtin and then its argument prototype would still apply. */ | 14861 builtin and then its argument prototype would still apply. */ |
14955 char dbm_open(); | 14862 char dbm_open(); |
14956 | 14863 |
14957 int main() { | 14864 int main() { |
14958 dbm_open() | 14865 dbm_open() |
14959 ; return 0; } | 14866 ; return 0; } |
14960 EOF | 14867 EOF |
14961 if { (eval echo configure:14962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14868 if { (eval echo configure:14869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14962 rm -rf conftest* | 14869 rm -rf conftest* |
14963 eval "ac_cv_lib_$ac_lib_var=yes" | 14870 eval "ac_cv_lib_$ac_lib_var=yes" |
14964 else | 14871 else |
14965 echo "configure: failed program was:" >&5 | 14872 echo "configure: failed program was:" >&5 |
14966 cat conftest.$ac_ext >&5 | 14873 cat conftest.$ac_ext >&5 |
14984 | 14891 |
14985 fi | 14892 fi |
14986 | 14893 |
14987 if test "$with_database_dbm" != "no"; then | 14894 if test "$with_database_dbm" != "no"; then |
14988 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14895 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14989 echo "configure:14990: checking for dbm_open" >&5 | 14896 echo "configure:14897: checking for dbm_open" >&5 |
14990 | 14897 |
14991 cat > conftest.$ac_ext <<EOF | 14898 cat > conftest.$ac_ext <<EOF |
14992 #line 14993 "configure" | 14899 #line 14900 "configure" |
14993 #include "confdefs.h" | 14900 #include "confdefs.h" |
14994 /* System header to define __stub macros and hopefully few prototypes, | 14901 /* System header to define __stub macros and hopefully few prototypes, |
14995 which can conflict with char dbm_open(); below. */ | 14902 which can conflict with char dbm_open(); below. */ |
14996 #include <assert.h> | 14903 #include <assert.h> |
14997 /* Override any gcc2 internal prototype to avoid an error. */ | 14904 /* Override any gcc2 internal prototype to avoid an error. */ |
15010 dbm_open(); | 14917 dbm_open(); |
15011 #endif | 14918 #endif |
15012 | 14919 |
15013 ; return 0; } | 14920 ; return 0; } |
15014 EOF | 14921 EOF |
15015 if { (eval echo configure:15016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14922 if { (eval echo configure:14923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15016 rm -rf conftest* | 14923 rm -rf conftest* |
15017 eval "ac_cv_func_dbm_open=yes" | 14924 eval "ac_cv_func_dbm_open=yes" |
15018 else | 14925 else |
15019 echo "configure: failed program was:" >&5 | 14926 echo "configure: failed program was:" >&5 |
15020 cat conftest.$ac_ext >&5 | 14927 cat conftest.$ac_ext >&5 |
15029 else | 14936 else |
15030 echo "$ac_t""no" 1>&6 | 14937 echo "$ac_t""no" 1>&6 |
15031 | 14938 |
15032 | 14939 |
15033 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14940 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
15034 echo "configure:15035: checking for dbm_open in -ldbm" >&5 | 14941 echo "configure:14942: checking for dbm_open in -ldbm" >&5 |
15035 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14942 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15036 | 14943 |
15037 xe_check_libs=" -ldbm " | 14944 xe_check_libs=" -ldbm " |
15038 cat > conftest.$ac_ext <<EOF | 14945 cat > conftest.$ac_ext <<EOF |
15039 #line 15040 "configure" | 14946 #line 14947 "configure" |
15040 #include "confdefs.h" | 14947 #include "confdefs.h" |
15041 /* Override any gcc2 internal prototype to avoid an error. */ | 14948 /* Override any gcc2 internal prototype to avoid an error. */ |
15042 /* We use char because int might match the return type of a gcc2 | 14949 /* We use char because int might match the return type of a gcc2 |
15043 builtin and then its argument prototype would still apply. */ | 14950 builtin and then its argument prototype would still apply. */ |
15044 char dbm_open(); | 14951 char dbm_open(); |
15045 | 14952 |
15046 int main() { | 14953 int main() { |
15047 dbm_open() | 14954 dbm_open() |
15048 ; return 0; } | 14955 ; return 0; } |
15049 EOF | 14956 EOF |
15050 if { (eval echo configure:15051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14957 if { (eval echo configure:14958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15051 rm -rf conftest* | 14958 rm -rf conftest* |
15052 eval "ac_cv_lib_$ac_lib_var=yes" | 14959 eval "ac_cv_lib_$ac_lib_var=yes" |
15053 else | 14960 else |
15054 echo "configure: failed program was:" >&5 | 14961 echo "configure: failed program was:" >&5 |
15055 cat conftest.$ac_ext >&5 | 14962 cat conftest.$ac_ext >&5 |
15086 } | 14993 } |
15087 | 14994 |
15088 | 14995 |
15089 if test "$with_database_berkdb" != "no"; then | 14996 if test "$with_database_berkdb" != "no"; then |
15090 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14997 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15091 echo "configure:15092: checking for Berkeley db.h" >&5 | 14998 echo "configure:14999: checking for Berkeley db.h" >&5 |
15092 for header in "db/db.h" "db.h"; do | 14999 for header in "db/db.h" "db.h"; do |
15093 cat > conftest.$ac_ext <<EOF | 15000 cat > conftest.$ac_ext <<EOF |
15094 #line 15095 "configure" | 15001 #line 15002 "configure" |
15095 #include "confdefs.h" | 15002 #include "confdefs.h" |
15096 | 15003 |
15097 #include <stdlib.h> | 15004 #include <stdlib.h> |
15098 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15005 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15099 #ifdef HAVE_INTTYPES_H | 15006 #ifdef HAVE_INTTYPES_H |
15111 | 15018 |
15112 int main() { | 15019 int main() { |
15113 | 15020 |
15114 ; return 0; } | 15021 ; return 0; } |
15115 EOF | 15022 EOF |
15116 if { (eval echo configure:15117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15023 if { (eval echo configure:15024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15117 rm -rf conftest* | 15024 rm -rf conftest* |
15118 db_h_file="$header"; break | 15025 db_h_file="$header"; break |
15119 else | 15026 else |
15120 echo "configure: failed program was:" >&5 | 15027 echo "configure: failed program was:" >&5 |
15121 cat conftest.$ac_ext >&5 | 15028 cat conftest.$ac_ext >&5 |
15127 else echo "$ac_t""$db_h_file" 1>&6 | 15034 else echo "$ac_t""$db_h_file" 1>&6 |
15128 fi | 15035 fi |
15129 | 15036 |
15130 if test "$with_database_berkdb" != "no"; then | 15037 if test "$with_database_berkdb" != "no"; then |
15131 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15038 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15132 echo "configure:15133: checking for Berkeley DB version" >&5 | 15039 echo "configure:15040: checking for Berkeley DB version" >&5 |
15133 cat > conftest.$ac_ext <<EOF | 15040 cat > conftest.$ac_ext <<EOF |
15134 #line 15135 "configure" | 15041 #line 15042 "configure" |
15135 #include "confdefs.h" | 15042 #include "confdefs.h" |
15136 #include <$db_h_file> | 15043 #include <$db_h_file> |
15137 #if DB_VERSION_MAJOR > 1 | 15044 #if DB_VERSION_MAJOR > 1 |
15138 yes | 15045 yes |
15139 #endif | 15046 #endif |
15141 EOF | 15048 EOF |
15142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15143 egrep "yes" >/dev/null 2>&1; then | 15050 egrep "yes" >/dev/null 2>&1; then |
15144 rm -rf conftest* | 15051 rm -rf conftest* |
15145 cat > conftest.$ac_ext <<EOF | 15052 cat > conftest.$ac_ext <<EOF |
15146 #line 15147 "configure" | 15053 #line 15054 "configure" |
15147 #include "confdefs.h" | 15054 #include "confdefs.h" |
15148 #include <$db_h_file> | 15055 #include <$db_h_file> |
15149 #if DB_VERSION_MAJOR > 2 | 15056 #if DB_VERSION_MAJOR > 2 |
15150 yes | 15057 yes |
15151 #endif | 15058 #endif |
15153 EOF | 15060 EOF |
15154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15155 egrep "yes" >/dev/null 2>&1; then | 15062 egrep "yes" >/dev/null 2>&1; then |
15156 rm -rf conftest* | 15063 rm -rf conftest* |
15157 cat > conftest.$ac_ext <<EOF | 15064 cat > conftest.$ac_ext <<EOF |
15158 #line 15159 "configure" | 15065 #line 15066 "configure" |
15159 #include "confdefs.h" | 15066 #include "confdefs.h" |
15160 #include <$db_h_file> | 15067 #include <$db_h_file> |
15161 #if DB_VERSION_MAJOR > 3 | 15068 #if DB_VERSION_MAJOR > 3 |
15162 yes | 15069 yes |
15163 #endif | 15070 #endif |
15187 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15094 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15188 fi | 15095 fi |
15189 rm -f conftest* | 15096 rm -f conftest* |
15190 | 15097 |
15191 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15098 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15192 echo "configure:15193: checking for $dbfunc" >&5 | 15099 echo "configure:15100: checking for $dbfunc" >&5 |
15193 | 15100 |
15194 cat > conftest.$ac_ext <<EOF | 15101 cat > conftest.$ac_ext <<EOF |
15195 #line 15196 "configure" | 15102 #line 15103 "configure" |
15196 #include "confdefs.h" | 15103 #include "confdefs.h" |
15197 /* System header to define __stub macros and hopefully few prototypes, | 15104 /* System header to define __stub macros and hopefully few prototypes, |
15198 which can conflict with char $dbfunc(); below. */ | 15105 which can conflict with char $dbfunc(); below. */ |
15199 #include <assert.h> | 15106 #include <assert.h> |
15200 /* Override any gcc2 internal prototype to avoid an error. */ | 15107 /* Override any gcc2 internal prototype to avoid an error. */ |
15213 $dbfunc(); | 15120 $dbfunc(); |
15214 #endif | 15121 #endif |
15215 | 15122 |
15216 ; return 0; } | 15123 ; return 0; } |
15217 EOF | 15124 EOF |
15218 if { (eval echo configure:15219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15125 if { (eval echo configure:15126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15219 rm -rf conftest* | 15126 rm -rf conftest* |
15220 eval "ac_cv_func_$dbfunc=yes" | 15127 eval "ac_cv_func_$dbfunc=yes" |
15221 else | 15128 else |
15222 echo "configure: failed program was:" >&5 | 15129 echo "configure: failed program was:" >&5 |
15223 cat conftest.$ac_ext >&5 | 15130 cat conftest.$ac_ext >&5 |
15232 else | 15139 else |
15233 echo "$ac_t""no" 1>&6 | 15140 echo "$ac_t""no" 1>&6 |
15234 | 15141 |
15235 | 15142 |
15236 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15143 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15237 echo "configure:15238: checking for $dbfunc in -ldb" >&5 | 15144 echo "configure:15145: checking for $dbfunc in -ldb" >&5 |
15238 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15145 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15239 | 15146 |
15240 xe_check_libs=" -ldb " | 15147 xe_check_libs=" -ldb " |
15241 cat > conftest.$ac_ext <<EOF | 15148 cat > conftest.$ac_ext <<EOF |
15242 #line 15243 "configure" | 15149 #line 15150 "configure" |
15243 #include "confdefs.h" | 15150 #include "confdefs.h" |
15244 /* Override any gcc2 internal prototype to avoid an error. */ | 15151 /* Override any gcc2 internal prototype to avoid an error. */ |
15245 /* We use char because int might match the return type of a gcc2 | 15152 /* We use char because int might match the return type of a gcc2 |
15246 builtin and then its argument prototype would still apply. */ | 15153 builtin and then its argument prototype would still apply. */ |
15247 char $dbfunc(); | 15154 char $dbfunc(); |
15248 | 15155 |
15249 int main() { | 15156 int main() { |
15250 $dbfunc() | 15157 $dbfunc() |
15251 ; return 0; } | 15158 ; return 0; } |
15252 EOF | 15159 EOF |
15253 if { (eval echo configure:15254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15160 if { (eval echo configure:15161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15254 rm -rf conftest* | 15161 rm -rf conftest* |
15255 eval "ac_cv_lib_$ac_lib_var=yes" | 15162 eval "ac_cv_lib_$ac_lib_var=yes" |
15256 else | 15163 else |
15257 echo "configure: failed program was:" >&5 | 15164 echo "configure: failed program was:" >&5 |
15258 cat conftest.$ac_ext >&5 | 15165 cat conftest.$ac_ext >&5 |
15282 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15189 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15283 rm -f $tempcname | 15190 rm -f $tempcname |
15284 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15191 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15285 | 15192 |
15286 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15193 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15287 echo "configure:15288: checking for $dbfunc in -ldb" >&5 | 15194 echo "configure:15195: checking for $dbfunc in -ldb" >&5 |
15288 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15195 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15289 | 15196 |
15290 xe_check_libs=" -ldb " | 15197 xe_check_libs=" -ldb " |
15291 cat > conftest.$ac_ext <<EOF | 15198 cat > conftest.$ac_ext <<EOF |
15292 #line 15293 "configure" | 15199 #line 15200 "configure" |
15293 #include "confdefs.h" | 15200 #include "confdefs.h" |
15294 /* Override any gcc2 internal prototype to avoid an error. */ | 15201 /* Override any gcc2 internal prototype to avoid an error. */ |
15295 /* We use char because int might match the return type of a gcc2 | 15202 /* We use char because int might match the return type of a gcc2 |
15296 builtin and then its argument prototype would still apply. */ | 15203 builtin and then its argument prototype would still apply. */ |
15297 char $dbfunc(); | 15204 char $dbfunc(); |
15298 | 15205 |
15299 int main() { | 15206 int main() { |
15300 $dbfunc() | 15207 $dbfunc() |
15301 ; return 0; } | 15208 ; return 0; } |
15302 EOF | 15209 EOF |
15303 if { (eval echo configure:15304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15210 if { (eval echo configure:15211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15304 rm -rf conftest* | 15211 rm -rf conftest* |
15305 eval "ac_cv_lib_$ac_lib_var=yes" | 15212 eval "ac_cv_lib_$ac_lib_var=yes" |
15306 else | 15213 else |
15307 echo "configure: failed program was:" >&5 | 15214 echo "configure: failed program was:" >&5 |
15308 cat conftest.$ac_ext >&5 | 15215 cat conftest.$ac_ext >&5 |
15357 fi | 15264 fi |
15358 | 15265 |
15359 if test "$with_socks" = "yes"; then | 15266 if test "$with_socks" = "yes"; then |
15360 | 15267 |
15361 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15268 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15362 echo "configure:15363: checking for SOCKSinit in -lsocks" >&5 | 15269 echo "configure:15270: checking for SOCKSinit in -lsocks" >&5 |
15363 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15270 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15364 | 15271 |
15365 xe_check_libs=" -lsocks " | 15272 xe_check_libs=" -lsocks " |
15366 cat > conftest.$ac_ext <<EOF | 15273 cat > conftest.$ac_ext <<EOF |
15367 #line 15368 "configure" | 15274 #line 15275 "configure" |
15368 #include "confdefs.h" | 15275 #include "confdefs.h" |
15369 /* Override any gcc2 internal prototype to avoid an error. */ | 15276 /* Override any gcc2 internal prototype to avoid an error. */ |
15370 /* We use char because int might match the return type of a gcc2 | 15277 /* We use char because int might match the return type of a gcc2 |
15371 builtin and then its argument prototype would still apply. */ | 15278 builtin and then its argument prototype would still apply. */ |
15372 char SOCKSinit(); | 15279 char SOCKSinit(); |
15373 | 15280 |
15374 int main() { | 15281 int main() { |
15375 SOCKSinit() | 15282 SOCKSinit() |
15376 ; return 0; } | 15283 ; return 0; } |
15377 EOF | 15284 EOF |
15378 if { (eval echo configure:15379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15285 if { (eval echo configure:15286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15379 rm -rf conftest* | 15286 rm -rf conftest* |
15380 eval "ac_cv_lib_$ac_lib_var=yes" | 15287 eval "ac_cv_lib_$ac_lib_var=yes" |
15381 else | 15288 else |
15382 echo "configure: failed program was:" >&5 | 15289 echo "configure: failed program was:" >&5 |
15383 cat conftest.$ac_ext >&5 | 15290 cat conftest.$ac_ext >&5 |
15427 | 15334 |
15428 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15335 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15429 fi | 15336 fi |
15430 | 15337 |
15431 cat > conftest.$ac_ext <<EOF | 15338 cat > conftest.$ac_ext <<EOF |
15432 #line 15433 "configure" | 15339 #line 15340 "configure" |
15433 #include "confdefs.h" | 15340 #include "confdefs.h" |
15434 int main(int c,char *v[]){return 0;} | 15341 int main(int c,char *v[]){return 0;} |
15435 EOF | 15342 EOF |
15436 if { (eval echo configure:15437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15343 if { (eval echo configure:15344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15437 then | 15344 then |
15438 : | 15345 : |
15439 else | 15346 else |
15440 conftest_rc="$?" | 15347 conftest_rc="$?" |
15441 echo "configure: failed program was:" >&5 | 15348 echo "configure: failed program was:" >&5 |