Mercurial > hg > xemacs-beta
comparison configure @ 582:0dcc097685c7
[xemacs-hg @ 2001-05-27 01:50:52 by ben]
i have cvs
author | ben |
---|---|
date | Sun, 27 May 2001 01:50:52 +0000 |
parents | 4a2749e56f92 |
children | 5ce8d1ac7bde |
comparison
equal
deleted
inserted
replaced
581:5c09e1d634a3 | 582:0dcc097685c7 |
---|---|
7551 echo "$ac_t""no" 1>&6 | 7551 echo "$ac_t""no" 1>&6 |
7552 with_cde=no | 7552 with_cde=no |
7553 fi | 7553 fi |
7554 | 7554 |
7555 } | 7555 } |
7556 if test "$with_dragndrop" = "no" ; then | |
7557 if test "$with_cde" = "yes" ; then | |
7558 echo "configure: warning: --with-cde forced to \`no'; no generic Drag'n'Drop support" 1>&2 | |
7559 fi | |
7560 with_cde=no | |
7561 fi | |
7556 test -z "$with_cde" && with_cde=yes | 7562 test -z "$with_cde" && with_cde=yes |
7557 if test "$with_dragndrop" = no; then | |
7558 echo "configure: warning: No CDE without generic Drag'n'Drop support" 1>&2 | |
7559 with_cde=no | |
7560 fi | |
7561 if test "$with_cde" = "yes" ; then | 7563 if test "$with_cde" = "yes" ; then |
7562 { test "$extra_verbose" = "yes" && cat << \EOF | 7564 { test "$extra_verbose" = "yes" && cat << \EOF |
7563 Defining HAVE_CDE | 7565 Defining HAVE_CDE |
7564 EOF | 7566 EOF |
7565 cat >> confdefs.h <<\EOF | 7567 cat >> confdefs.h <<\EOF |
7573 need_motif=yes # CDE requires Motif | 7575 need_motif=yes # CDE requires Motif |
7574 fi | 7576 fi |
7575 | 7577 |
7576 test "$window_system" != "x11" && with_offix=no | 7578 test "$window_system" != "x11" && with_offix=no |
7577 if test "$with_xmu" != yes -a "$with_x11" = yes; then | 7579 if test "$with_xmu" != yes -a "$with_x11" = yes; then |
7578 echo "configure: warning: No OffiX without real Xmu support" 1>&2 | 7580 if test "$with_offix" = "yes" ; then |
7581 echo "configure: warning: --with-offix forced to \`no'; no real Xmu support" 1>&2 | |
7582 fi | |
7579 with_offix=no | 7583 with_offix=no |
7580 fi | 7584 fi |
7581 if test "$with_dragndrop" = no; then | 7585 if test "$with_dragndrop" = no; then |
7582 echo "configure: warning: No OffiX without generic Drag'n'Drop support" 1>&2 | 7586 if test "$with_offix" = "yes" ; then |
7587 echo "configure: warning: --with-offix forced to \`no'; no generic Drag'n'Drop support" 1>&2 | |
7588 fi | |
7583 with_offix=no | 7589 with_offix=no |
7584 fi | 7590 fi |
7585 if test "$with_cde" = yes; then | 7591 if test "$with_cde" = yes; then |
7586 echo "configure: warning: CDE already found, disabling OffiX support" 1>&2 | 7592 if test "$with_offix" = "yes" ; then |
7593 echo "configure: warning: --with-offix forced to \`no'; CDE already found" 1>&2 | |
7594 fi | |
7587 with_offix=no | 7595 with_offix=no |
7588 fi | 7596 fi |
7589 test -z "$with_offix" && with_offix=no | 7597 test -z "$with_offix" && with_offix=no |
7590 if test "$with_offix" = "yes"; then | 7598 if test "$with_offix" = "yes"; then |
7591 { test "$extra_verbose" = "yes" && cat << \EOF | 7599 { test "$extra_verbose" = "yes" && cat << \EOF |
7603 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7611 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7604 fi | 7612 fi |
7605 | 7613 |
7606 if test "$with_dragndrop" != "no" ; then | 7614 if test "$with_dragndrop" != "no" ; then |
7607 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7615 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7608 echo "configure:7609: checking if drag and drop API is needed" >&5 | 7616 echo "configure:7617: checking if drag and drop API is needed" >&5 |
7609 if test -n "$dragndrop_proto" ; then | 7617 if test -n "$dragndrop_proto" ; then |
7610 with_dragndrop=yes | 7618 with_dragndrop=yes |
7611 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7619 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7612 { test "$extra_verbose" = "yes" && cat << \EOF | 7620 { test "$extra_verbose" = "yes" && cat << \EOF |
7613 Defining HAVE_DRAGNDROP | 7621 Defining HAVE_DRAGNDROP |
7623 echo "$ac_t""no" 1>&6 | 7631 echo "$ac_t""no" 1>&6 |
7624 fi | 7632 fi |
7625 fi | 7633 fi |
7626 | 7634 |
7627 echo "checking for LDAP" 1>&6 | 7635 echo "checking for LDAP" 1>&6 |
7628 echo "configure:7629: checking for LDAP" >&5 | 7636 echo "configure:7637: checking for LDAP" >&5 |
7629 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7637 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7630 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7638 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7631 echo "configure:7632: checking for ldap.h" >&5 | 7639 echo "configure:7640: checking for ldap.h" >&5 |
7632 | 7640 |
7633 cat > conftest.$ac_ext <<EOF | 7641 cat > conftest.$ac_ext <<EOF |
7634 #line 7635 "configure" | 7642 #line 7643 "configure" |
7635 #include "confdefs.h" | 7643 #include "confdefs.h" |
7636 #include <ldap.h> | 7644 #include <ldap.h> |
7637 EOF | 7645 EOF |
7638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7646 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7639 { (eval echo configure:7640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7647 { (eval echo configure:7648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7648 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7641 if test -z "$ac_err"; then | 7649 if test -z "$ac_err"; then |
7642 rm -rf conftest* | 7650 rm -rf conftest* |
7643 eval "ac_cv_header_$ac_safe=yes" | 7651 eval "ac_cv_header_$ac_safe=yes" |
7644 else | 7652 else |
7657 with_ldap=no | 7665 with_ldap=no |
7658 fi | 7666 fi |
7659 } | 7667 } |
7660 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7668 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7661 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7669 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7662 echo "configure:7663: checking for lber.h" >&5 | 7670 echo "configure:7671: checking for lber.h" >&5 |
7663 | 7671 |
7664 cat > conftest.$ac_ext <<EOF | 7672 cat > conftest.$ac_ext <<EOF |
7665 #line 7666 "configure" | 7673 #line 7674 "configure" |
7666 #include "confdefs.h" | 7674 #include "confdefs.h" |
7667 #include <lber.h> | 7675 #include <lber.h> |
7668 EOF | 7676 EOF |
7669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7677 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7670 { (eval echo configure:7671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7678 { (eval echo configure:7679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7679 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7672 if test -z "$ac_err"; then | 7680 if test -z "$ac_err"; then |
7673 rm -rf conftest* | 7681 rm -rf conftest* |
7674 eval "ac_cv_header_$ac_safe=yes" | 7682 eval "ac_cv_header_$ac_safe=yes" |
7675 else | 7683 else |
7689 fi | 7697 fi |
7690 } | 7698 } |
7691 if test "$with_ldap" != "no"; then | 7699 if test "$with_ldap" != "no"; then |
7692 | 7700 |
7693 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7701 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7694 echo "configure:7695: checking for ldap_search in -lldap" >&5 | 7702 echo "configure:7703: checking for ldap_search in -lldap" >&5 |
7695 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7703 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7696 | 7704 |
7697 xe_check_libs=" -lldap " | 7705 xe_check_libs=" -lldap " |
7698 cat > conftest.$ac_ext <<EOF | 7706 cat > conftest.$ac_ext <<EOF |
7699 #line 7700 "configure" | 7707 #line 7708 "configure" |
7700 #include "confdefs.h" | 7708 #include "confdefs.h" |
7701 /* Override any gcc2 internal prototype to avoid an error. */ | 7709 /* Override any gcc2 internal prototype to avoid an error. */ |
7702 /* We use char because int might match the return type of a gcc2 | 7710 /* We use char because int might match the return type of a gcc2 |
7703 builtin and then its argument prototype would still apply. */ | 7711 builtin and then its argument prototype would still apply. */ |
7704 char ldap_search(); | 7712 char ldap_search(); |
7705 | 7713 |
7706 int main() { | 7714 int main() { |
7707 ldap_search() | 7715 ldap_search() |
7708 ; return 0; } | 7716 ; return 0; } |
7709 EOF | 7717 EOF |
7710 if { (eval echo configure:7711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7718 if { (eval echo configure:7719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7711 rm -rf conftest* | 7719 rm -rf conftest* |
7712 eval "ac_cv_lib_$ac_lib_var=yes" | 7720 eval "ac_cv_lib_$ac_lib_var=yes" |
7713 else | 7721 else |
7714 echo "configure: failed program was:" >&5 | 7722 echo "configure: failed program was:" >&5 |
7715 cat conftest.$ac_ext >&5 | 7723 cat conftest.$ac_ext >&5 |
7730 | 7738 |
7731 test "$with_ldap_nolber" = "no" && { | 7739 test "$with_ldap_nolber" = "no" && { |
7732 xe_msg_checking="for ldap_open in -lldap" | 7740 xe_msg_checking="for ldap_open in -lldap" |
7733 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7741 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7734 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7742 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7735 echo "configure:7736: checking "$xe_msg_checking"" >&5 | 7743 echo "configure:7744: checking "$xe_msg_checking"" >&5 |
7736 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7744 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7737 | 7745 |
7738 xe_check_libs=" -lldap -llber" | 7746 xe_check_libs=" -lldap -llber" |
7739 cat > conftest.$ac_ext <<EOF | 7747 cat > conftest.$ac_ext <<EOF |
7740 #line 7741 "configure" | 7748 #line 7749 "configure" |
7741 #include "confdefs.h" | 7749 #include "confdefs.h" |
7742 /* Override any gcc2 internal prototype to avoid an error. */ | 7750 /* Override any gcc2 internal prototype to avoid an error. */ |
7743 /* We use char because int might match the return type of a gcc2 | 7751 /* We use char because int might match the return type of a gcc2 |
7744 builtin and then its argument prototype would still apply. */ | 7752 builtin and then its argument prototype would still apply. */ |
7745 char ldap_open(); | 7753 char ldap_open(); |
7746 | 7754 |
7747 int main() { | 7755 int main() { |
7748 ldap_open() | 7756 ldap_open() |
7749 ; return 0; } | 7757 ; return 0; } |
7750 EOF | 7758 EOF |
7751 if { (eval echo configure:7752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7759 if { (eval echo configure:7760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7752 rm -rf conftest* | 7760 rm -rf conftest* |
7753 eval "ac_cv_lib_$ac_lib_var=yes" | 7761 eval "ac_cv_lib_$ac_lib_var=yes" |
7754 else | 7762 else |
7755 echo "configure: failed program was:" >&5 | 7763 echo "configure: failed program was:" >&5 |
7756 cat conftest.$ac_ext >&5 | 7764 cat conftest.$ac_ext >&5 |
7771 } | 7779 } |
7772 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7780 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7773 xe_msg_checking="for ldap_open in -lldap" | 7781 xe_msg_checking="for ldap_open in -lldap" |
7774 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7782 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7775 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7783 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7776 echo "configure:7777: checking "$xe_msg_checking"" >&5 | 7784 echo "configure:7785: checking "$xe_msg_checking"" >&5 |
7777 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7785 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7778 | 7786 |
7779 xe_check_libs=" -lldap -llber -lkrb" | 7787 xe_check_libs=" -lldap -llber -lkrb" |
7780 cat > conftest.$ac_ext <<EOF | 7788 cat > conftest.$ac_ext <<EOF |
7781 #line 7782 "configure" | 7789 #line 7790 "configure" |
7782 #include "confdefs.h" | 7790 #include "confdefs.h" |
7783 /* Override any gcc2 internal prototype to avoid an error. */ | 7791 /* Override any gcc2 internal prototype to avoid an error. */ |
7784 /* We use char because int might match the return type of a gcc2 | 7792 /* We use char because int might match the return type of a gcc2 |
7785 builtin and then its argument prototype would still apply. */ | 7793 builtin and then its argument prototype would still apply. */ |
7786 char ldap_open(); | 7794 char ldap_open(); |
7787 | 7795 |
7788 int main() { | 7796 int main() { |
7789 ldap_open() | 7797 ldap_open() |
7790 ; return 0; } | 7798 ; return 0; } |
7791 EOF | 7799 EOF |
7792 if { (eval echo configure:7793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7800 if { (eval echo configure:7801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7793 rm -rf conftest* | 7801 rm -rf conftest* |
7794 eval "ac_cv_lib_$ac_lib_var=yes" | 7802 eval "ac_cv_lib_$ac_lib_var=yes" |
7795 else | 7803 else |
7796 echo "configure: failed program was:" >&5 | 7804 echo "configure: failed program was:" >&5 |
7797 cat conftest.$ac_ext >&5 | 7805 cat conftest.$ac_ext >&5 |
7812 } | 7820 } |
7813 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7821 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7814 xe_msg_checking="for ldap_open in -lldap" | 7822 xe_msg_checking="for ldap_open in -lldap" |
7815 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7823 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7816 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7824 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7817 echo "configure:7818: checking "$xe_msg_checking"" >&5 | 7825 echo "configure:7826: checking "$xe_msg_checking"" >&5 |
7818 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7826 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7819 | 7827 |
7820 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7828 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7821 cat > conftest.$ac_ext <<EOF | 7829 cat > conftest.$ac_ext <<EOF |
7822 #line 7823 "configure" | 7830 #line 7831 "configure" |
7823 #include "confdefs.h" | 7831 #include "confdefs.h" |
7824 /* Override any gcc2 internal prototype to avoid an error. */ | 7832 /* Override any gcc2 internal prototype to avoid an error. */ |
7825 /* We use char because int might match the return type of a gcc2 | 7833 /* We use char because int might match the return type of a gcc2 |
7826 builtin and then its argument prototype would still apply. */ | 7834 builtin and then its argument prototype would still apply. */ |
7827 char ldap_open(); | 7835 char ldap_open(); |
7828 | 7836 |
7829 int main() { | 7837 int main() { |
7830 ldap_open() | 7838 ldap_open() |
7831 ; return 0; } | 7839 ; return 0; } |
7832 EOF | 7840 EOF |
7833 if { (eval echo configure:7834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7841 if { (eval echo configure:7842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7834 rm -rf conftest* | 7842 rm -rf conftest* |
7835 eval "ac_cv_lib_$ac_lib_var=yes" | 7843 eval "ac_cv_lib_$ac_lib_var=yes" |
7836 else | 7844 else |
7837 echo "configure: failed program was:" >&5 | 7845 echo "configure: failed program was:" >&5 |
7838 cat conftest.$ac_ext >&5 | 7846 cat conftest.$ac_ext >&5 |
7879 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7887 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7880 fi | 7888 fi |
7881 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7889 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7882 do | 7890 do |
7883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7884 echo "configure:7885: checking for $ac_func" >&5 | 7892 echo "configure:7893: checking for $ac_func" >&5 |
7885 | 7893 |
7886 cat > conftest.$ac_ext <<EOF | 7894 cat > conftest.$ac_ext <<EOF |
7887 #line 7888 "configure" | 7895 #line 7896 "configure" |
7888 #include "confdefs.h" | 7896 #include "confdefs.h" |
7889 /* System header to define __stub macros and hopefully few prototypes, | 7897 /* System header to define __stub macros and hopefully few prototypes, |
7890 which can conflict with char $ac_func(); below. */ | 7898 which can conflict with char $ac_func(); below. */ |
7891 #include <assert.h> | 7899 #include <assert.h> |
7892 /* Override any gcc2 internal prototype to avoid an error. */ | 7900 /* Override any gcc2 internal prototype to avoid an error. */ |
7905 $ac_func(); | 7913 $ac_func(); |
7906 #endif | 7914 #endif |
7907 | 7915 |
7908 ; return 0; } | 7916 ; return 0; } |
7909 EOF | 7917 EOF |
7910 if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7918 if { (eval echo configure:7919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7911 rm -rf conftest* | 7919 rm -rf conftest* |
7912 eval "ac_cv_func_$ac_func=yes" | 7920 eval "ac_cv_func_$ac_func=yes" |
7913 else | 7921 else |
7914 echo "configure: failed program was:" >&5 | 7922 echo "configure: failed program was:" >&5 |
7915 cat conftest.$ac_ext >&5 | 7923 cat conftest.$ac_ext >&5 |
7936 | 7944 |
7937 fi | 7945 fi |
7938 | 7946 |
7939 if test "$with_postgresql" != "no"; then | 7947 if test "$with_postgresql" != "no"; then |
7940 echo "checking for PostgreSQL" 1>&6 | 7948 echo "checking for PostgreSQL" 1>&6 |
7941 echo "configure:7942: checking for PostgreSQL" >&5 | 7949 echo "configure:7950: checking for PostgreSQL" >&5 |
7942 | 7950 |
7943 for header_dir in "" "pgsql/" "postgresql/"; do | 7951 for header_dir in "" "pgsql/" "postgresql/"; do |
7944 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7952 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7945 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7953 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7946 echo "configure:7947: checking for ${header_dir}libpq-fe.h" >&5 | 7954 echo "configure:7955: checking for ${header_dir}libpq-fe.h" >&5 |
7947 | 7955 |
7948 cat > conftest.$ac_ext <<EOF | 7956 cat > conftest.$ac_ext <<EOF |
7949 #line 7950 "configure" | 7957 #line 7958 "configure" |
7950 #include "confdefs.h" | 7958 #include "confdefs.h" |
7951 #include <${header_dir}libpq-fe.h> | 7959 #include <${header_dir}libpq-fe.h> |
7952 EOF | 7960 EOF |
7953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7961 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7954 { (eval echo configure:7955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7962 { (eval echo configure:7963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7963 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7956 if test -z "$ac_err"; then | 7964 if test -z "$ac_err"; then |
7957 rm -rf conftest* | 7965 rm -rf conftest* |
7958 eval "ac_cv_header_$ac_safe=yes" | 7966 eval "ac_cv_header_$ac_safe=yes" |
7959 else | 7967 else |
7973 | 7981 |
7974 done | 7982 done |
7975 | 7983 |
7976 test -n "$libpq_fe_h_file" && { | 7984 test -n "$libpq_fe_h_file" && { |
7977 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7985 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7978 echo "configure:7979: checking for PQconnectdb in -lpq" >&5 | 7986 echo "configure:7987: checking for PQconnectdb in -lpq" >&5 |
7979 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7987 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7980 | 7988 |
7981 xe_check_libs=" -lpq " | 7989 xe_check_libs=" -lpq " |
7982 cat > conftest.$ac_ext <<EOF | 7990 cat > conftest.$ac_ext <<EOF |
7983 #line 7984 "configure" | 7991 #line 7992 "configure" |
7984 #include "confdefs.h" | 7992 #include "confdefs.h" |
7985 /* Override any gcc2 internal prototype to avoid an error. */ | 7993 /* Override any gcc2 internal prototype to avoid an error. */ |
7986 /* We use char because int might match the return type of a gcc2 | 7994 /* We use char because int might match the return type of a gcc2 |
7987 builtin and then its argument prototype would still apply. */ | 7995 builtin and then its argument prototype would still apply. */ |
7988 char PQconnectdb(); | 7996 char PQconnectdb(); |
7989 | 7997 |
7990 int main() { | 7998 int main() { |
7991 PQconnectdb() | 7999 PQconnectdb() |
7992 ; return 0; } | 8000 ; return 0; } |
7993 EOF | 8001 EOF |
7994 if { (eval echo configure:7995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8002 if { (eval echo configure:8003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7995 rm -rf conftest* | 8003 rm -rf conftest* |
7996 eval "ac_cv_lib_$ac_lib_var=yes" | 8004 eval "ac_cv_lib_$ac_lib_var=yes" |
7997 else | 8005 else |
7998 echo "configure: failed program was:" >&5 | 8006 echo "configure: failed program was:" >&5 |
7999 cat conftest.$ac_ext >&5 | 8007 cat conftest.$ac_ext >&5 |
8022 EOF | 8030 EOF |
8023 } | 8031 } |
8024 | 8032 |
8025 | 8033 |
8026 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8034 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8027 echo "configure:8028: checking for PQconnectStart in -lpq" >&5 | 8035 echo "configure:8036: checking for PQconnectStart in -lpq" >&5 |
8028 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8036 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8029 | 8037 |
8030 xe_check_libs=" -lpq " | 8038 xe_check_libs=" -lpq " |
8031 cat > conftest.$ac_ext <<EOF | 8039 cat > conftest.$ac_ext <<EOF |
8032 #line 8033 "configure" | 8040 #line 8041 "configure" |
8033 #include "confdefs.h" | 8041 #include "confdefs.h" |
8034 /* Override any gcc2 internal prototype to avoid an error. */ | 8042 /* Override any gcc2 internal prototype to avoid an error. */ |
8035 /* We use char because int might match the return type of a gcc2 | 8043 /* We use char because int might match the return type of a gcc2 |
8036 builtin and then its argument prototype would still apply. */ | 8044 builtin and then its argument prototype would still apply. */ |
8037 char PQconnectStart(); | 8045 char PQconnectStart(); |
8038 | 8046 |
8039 int main() { | 8047 int main() { |
8040 PQconnectStart() | 8048 PQconnectStart() |
8041 ; return 0; } | 8049 ; return 0; } |
8042 EOF | 8050 EOF |
8043 if { (eval echo configure:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8051 if { (eval echo configure:8052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8044 rm -rf conftest* | 8052 rm -rf conftest* |
8045 eval "ac_cv_lib_$ac_lib_var=yes" | 8053 eval "ac_cv_lib_$ac_lib_var=yes" |
8046 else | 8054 else |
8047 echo "configure: failed program was:" >&5 | 8055 echo "configure: failed program was:" >&5 |
8048 cat conftest.$ac_ext >&5 | 8056 cat conftest.$ac_ext >&5 |
8086 fi | 8094 fi |
8087 | 8095 |
8088 | 8096 |
8089 if test "$window_system" != "none"; then | 8097 if test "$window_system" != "none"; then |
8090 echo "checking for graphics libraries" 1>&6 | 8098 echo "checking for graphics libraries" 1>&6 |
8091 echo "configure:8092: checking for graphics libraries" >&5 | 8099 echo "configure:8100: checking for graphics libraries" >&5 |
8092 | 8100 |
8093 xpm_problem="" | 8101 xpm_problem="" |
8094 if test -z "$with_xpm"; then | 8102 if test -z "$with_xpm"; then |
8095 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8103 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8096 echo "configure:8097: checking for Xpm - no older than 3.4f" >&5 | 8104 echo "configure:8105: checking for Xpm - no older than 3.4f" >&5 |
8097 xe_check_libs=-lXpm | 8105 xe_check_libs=-lXpm |
8098 cat > conftest.$ac_ext <<EOF | 8106 cat > conftest.$ac_ext <<EOF |
8099 #line 8100 "configure" | 8107 #line 8108 "configure" |
8100 #include "confdefs.h" | 8108 #include "confdefs.h" |
8101 #define XPM_NUMBERS | 8109 #define XPM_NUMBERS |
8102 #include <X11/xpm.h> | 8110 #include <X11/xpm.h> |
8103 int main(int c, char **v) { | 8111 int main(int c, char **v) { |
8104 return c == 1 ? 0 : | 8112 return c == 1 ? 0 : |
8105 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8113 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8106 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8114 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8107 EOF | 8115 EOF |
8108 if { (eval echo configure:8109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8116 if { (eval echo configure:8117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8109 then | 8117 then |
8110 ./conftest dummy_arg; xpm_status=$?; | 8118 ./conftest dummy_arg; xpm_status=$?; |
8111 if test "$xpm_status" = "0"; then | 8119 if test "$xpm_status" = "0"; then |
8112 with_xpm=yes; | 8120 with_xpm=yes; |
8113 else | 8121 else |
8145 EOF | 8153 EOF |
8146 } | 8154 } |
8147 | 8155 |
8148 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8156 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8149 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8157 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8150 echo "configure:8151: checking for \"FOR_MSW\" xpm" >&5 | 8158 echo "configure:8159: checking for \"FOR_MSW\" xpm" >&5 |
8151 xe_check_libs=-lXpm | 8159 xe_check_libs=-lXpm |
8152 cat > conftest.$ac_ext <<EOF | 8160 cat > conftest.$ac_ext <<EOF |
8153 #line 8154 "configure" | 8161 #line 8162 "configure" |
8154 #include "confdefs.h" | 8162 #include "confdefs.h" |
8155 | 8163 |
8156 int main() { | 8164 int main() { |
8157 XpmCreatePixmapFromData() | 8165 XpmCreatePixmapFromData() |
8158 ; return 0; } | 8166 ; return 0; } |
8159 EOF | 8167 EOF |
8160 if { (eval echo configure:8161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8168 if { (eval echo configure:8169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8161 rm -rf conftest* | 8169 rm -rf conftest* |
8162 xpm_for_msw=no | 8170 xpm_for_msw=no |
8163 else | 8171 else |
8164 echo "configure: failed program was:" >&5 | 8172 echo "configure: failed program was:" >&5 |
8165 cat conftest.$ac_ext >&5 | 8173 cat conftest.$ac_ext >&5 |
8181 fi | 8189 fi |
8182 fi | 8190 fi |
8183 | 8191 |
8184 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8192 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8185 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8193 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8186 echo "configure:8187: checking for compface.h" >&5 | 8194 echo "configure:8195: checking for compface.h" >&5 |
8187 | 8195 |
8188 cat > conftest.$ac_ext <<EOF | 8196 cat > conftest.$ac_ext <<EOF |
8189 #line 8190 "configure" | 8197 #line 8198 "configure" |
8190 #include "confdefs.h" | 8198 #include "confdefs.h" |
8191 #include <compface.h> | 8199 #include <compface.h> |
8192 EOF | 8200 EOF |
8193 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8194 { (eval echo configure:8195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8202 { (eval echo configure:8203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8195 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8203 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8196 if test -z "$ac_err"; then | 8204 if test -z "$ac_err"; then |
8197 rm -rf conftest* | 8205 rm -rf conftest* |
8198 eval "ac_cv_header_$ac_safe=yes" | 8206 eval "ac_cv_header_$ac_safe=yes" |
8199 else | 8207 else |
8212 with_xface=no | 8220 with_xface=no |
8213 fi | 8221 fi |
8214 } | 8222 } |
8215 test -z "$with_xface" && { | 8223 test -z "$with_xface" && { |
8216 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8224 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8217 echo "configure:8218: checking for UnGenFace in -lcompface" >&5 | 8225 echo "configure:8226: checking for UnGenFace in -lcompface" >&5 |
8218 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8226 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8219 | 8227 |
8220 xe_check_libs=" -lcompface " | 8228 xe_check_libs=" -lcompface " |
8221 cat > conftest.$ac_ext <<EOF | 8229 cat > conftest.$ac_ext <<EOF |
8222 #line 8223 "configure" | 8230 #line 8231 "configure" |
8223 #include "confdefs.h" | 8231 #include "confdefs.h" |
8224 /* Override any gcc2 internal prototype to avoid an error. */ | 8232 /* Override any gcc2 internal prototype to avoid an error. */ |
8225 /* We use char because int might match the return type of a gcc2 | 8233 /* We use char because int might match the return type of a gcc2 |
8226 builtin and then its argument prototype would still apply. */ | 8234 builtin and then its argument prototype would still apply. */ |
8227 char UnGenFace(); | 8235 char UnGenFace(); |
8228 | 8236 |
8229 int main() { | 8237 int main() { |
8230 UnGenFace() | 8238 UnGenFace() |
8231 ; return 0; } | 8239 ; return 0; } |
8232 EOF | 8240 EOF |
8233 if { (eval echo configure:8234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8241 if { (eval echo configure:8242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8234 rm -rf conftest* | 8242 rm -rf conftest* |
8235 eval "ac_cv_lib_$ac_lib_var=yes" | 8243 eval "ac_cv_lib_$ac_lib_var=yes" |
8236 else | 8244 else |
8237 echo "configure: failed program was:" >&5 | 8245 echo "configure: failed program was:" >&5 |
8238 cat conftest.$ac_ext >&5 | 8246 cat conftest.$ac_ext >&5 |
8280 fi | 8288 fi |
8281 | 8289 |
8282 if test "$with_png $with_tiff" != "no no"; then | 8290 if test "$with_png $with_tiff" != "no no"; then |
8283 | 8291 |
8284 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8292 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8285 echo "configure:8286: checking for inflate in -lc" >&5 | 8293 echo "configure:8294: checking for inflate in -lc" >&5 |
8286 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8294 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8287 | 8295 |
8288 xe_check_libs=" -lc " | 8296 xe_check_libs=" -lc " |
8289 cat > conftest.$ac_ext <<EOF | 8297 cat > conftest.$ac_ext <<EOF |
8290 #line 8291 "configure" | 8298 #line 8299 "configure" |
8291 #include "confdefs.h" | 8299 #include "confdefs.h" |
8292 /* Override any gcc2 internal prototype to avoid an error. */ | 8300 /* Override any gcc2 internal prototype to avoid an error. */ |
8293 /* We use char because int might match the return type of a gcc2 | 8301 /* We use char because int might match the return type of a gcc2 |
8294 builtin and then its argument prototype would still apply. */ | 8302 builtin and then its argument prototype would still apply. */ |
8295 char inflate(); | 8303 char inflate(); |
8296 | 8304 |
8297 int main() { | 8305 int main() { |
8298 inflate() | 8306 inflate() |
8299 ; return 0; } | 8307 ; return 0; } |
8300 EOF | 8308 EOF |
8301 if { (eval echo configure:8302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8309 if { (eval echo configure:8310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8302 rm -rf conftest* | 8310 rm -rf conftest* |
8303 eval "ac_cv_lib_$ac_lib_var=yes" | 8311 eval "ac_cv_lib_$ac_lib_var=yes" |
8304 else | 8312 else |
8305 echo "configure: failed program was:" >&5 | 8313 echo "configure: failed program was:" >&5 |
8306 cat conftest.$ac_ext >&5 | 8314 cat conftest.$ac_ext >&5 |
8315 : | 8323 : |
8316 else | 8324 else |
8317 echo "$ac_t""no" 1>&6 | 8325 echo "$ac_t""no" 1>&6 |
8318 | 8326 |
8319 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8327 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8320 echo "configure:8321: checking for inflate in -lz" >&5 | 8328 echo "configure:8329: checking for inflate in -lz" >&5 |
8321 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8329 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8322 | 8330 |
8323 xe_check_libs=" -lz " | 8331 xe_check_libs=" -lz " |
8324 cat > conftest.$ac_ext <<EOF | 8332 cat > conftest.$ac_ext <<EOF |
8325 #line 8326 "configure" | 8333 #line 8334 "configure" |
8326 #include "confdefs.h" | 8334 #include "confdefs.h" |
8327 /* Override any gcc2 internal prototype to avoid an error. */ | 8335 /* Override any gcc2 internal prototype to avoid an error. */ |
8328 /* We use char because int might match the return type of a gcc2 | 8336 /* We use char because int might match the return type of a gcc2 |
8329 builtin and then its argument prototype would still apply. */ | 8337 builtin and then its argument prototype would still apply. */ |
8330 char inflate(); | 8338 char inflate(); |
8331 | 8339 |
8332 int main() { | 8340 int main() { |
8333 inflate() | 8341 inflate() |
8334 ; return 0; } | 8342 ; return 0; } |
8335 EOF | 8343 EOF |
8336 if { (eval echo configure:8337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8344 if { (eval echo configure:8345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8337 rm -rf conftest* | 8345 rm -rf conftest* |
8338 eval "ac_cv_lib_$ac_lib_var=yes" | 8346 eval "ac_cv_lib_$ac_lib_var=yes" |
8339 else | 8347 else |
8340 echo "configure: failed program was:" >&5 | 8348 echo "configure: failed program was:" >&5 |
8341 cat conftest.$ac_ext >&5 | 8349 cat conftest.$ac_ext >&5 |
8350 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8358 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8351 else | 8359 else |
8352 echo "$ac_t""no" 1>&6 | 8360 echo "$ac_t""no" 1>&6 |
8353 | 8361 |
8354 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8362 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8355 echo "configure:8356: checking for inflate in -lgz" >&5 | 8363 echo "configure:8364: checking for inflate in -lgz" >&5 |
8356 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8364 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8357 | 8365 |
8358 xe_check_libs=" -lgz " | 8366 xe_check_libs=" -lgz " |
8359 cat > conftest.$ac_ext <<EOF | 8367 cat > conftest.$ac_ext <<EOF |
8360 #line 8361 "configure" | 8368 #line 8369 "configure" |
8361 #include "confdefs.h" | 8369 #include "confdefs.h" |
8362 /* Override any gcc2 internal prototype to avoid an error. */ | 8370 /* Override any gcc2 internal prototype to avoid an error. */ |
8363 /* We use char because int might match the return type of a gcc2 | 8371 /* We use char because int might match the return type of a gcc2 |
8364 builtin and then its argument prototype would still apply. */ | 8372 builtin and then its argument prototype would still apply. */ |
8365 char inflate(); | 8373 char inflate(); |
8366 | 8374 |
8367 int main() { | 8375 int main() { |
8368 inflate() | 8376 inflate() |
8369 ; return 0; } | 8377 ; return 0; } |
8370 EOF | 8378 EOF |
8371 if { (eval echo configure:8372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8379 if { (eval echo configure:8380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8372 rm -rf conftest* | 8380 rm -rf conftest* |
8373 eval "ac_cv_lib_$ac_lib_var=yes" | 8381 eval "ac_cv_lib_$ac_lib_var=yes" |
8374 else | 8382 else |
8375 echo "configure: failed program was:" >&5 | 8383 echo "configure: failed program was:" >&5 |
8376 cat conftest.$ac_ext >&5 | 8384 cat conftest.$ac_ext >&5 |
8396 | 8404 |
8397 fi | 8405 fi |
8398 | 8406 |
8399 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8407 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8400 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8408 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8401 echo "configure:8402: checking for jpeglib.h" >&5 | 8409 echo "configure:8410: checking for jpeglib.h" >&5 |
8402 | 8410 |
8403 cat > conftest.$ac_ext <<EOF | 8411 cat > conftest.$ac_ext <<EOF |
8404 #line 8405 "configure" | 8412 #line 8413 "configure" |
8405 #include "confdefs.h" | 8413 #include "confdefs.h" |
8406 #include <jpeglib.h> | 8414 #include <jpeglib.h> |
8407 EOF | 8415 EOF |
8408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8409 { (eval echo configure:8410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8417 { (eval echo configure:8418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8411 if test -z "$ac_err"; then | 8419 if test -z "$ac_err"; then |
8412 rm -rf conftest* | 8420 rm -rf conftest* |
8413 eval "ac_cv_header_$ac_safe=yes" | 8421 eval "ac_cv_header_$ac_safe=yes" |
8414 else | 8422 else |
8427 with_jpeg=no | 8435 with_jpeg=no |
8428 fi | 8436 fi |
8429 } | 8437 } |
8430 test -z "$with_jpeg" && { | 8438 test -z "$with_jpeg" && { |
8431 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8439 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8432 echo "configure:8433: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8440 echo "configure:8441: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8433 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8441 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8434 | 8442 |
8435 xe_check_libs=" -ljpeg " | 8443 xe_check_libs=" -ljpeg " |
8436 cat > conftest.$ac_ext <<EOF | 8444 cat > conftest.$ac_ext <<EOF |
8437 #line 8438 "configure" | 8445 #line 8446 "configure" |
8438 #include "confdefs.h" | 8446 #include "confdefs.h" |
8439 /* Override any gcc2 internal prototype to avoid an error. */ | 8447 /* Override any gcc2 internal prototype to avoid an error. */ |
8440 /* We use char because int might match the return type of a gcc2 | 8448 /* We use char because int might match the return type of a gcc2 |
8441 builtin and then its argument prototype would still apply. */ | 8449 builtin and then its argument prototype would still apply. */ |
8442 char jpeg_destroy_decompress(); | 8450 char jpeg_destroy_decompress(); |
8443 | 8451 |
8444 int main() { | 8452 int main() { |
8445 jpeg_destroy_decompress() | 8453 jpeg_destroy_decompress() |
8446 ; return 0; } | 8454 ; return 0; } |
8447 EOF | 8455 EOF |
8448 if { (eval echo configure:8449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8456 if { (eval echo configure:8457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8449 rm -rf conftest* | 8457 rm -rf conftest* |
8450 eval "ac_cv_lib_$ac_lib_var=yes" | 8458 eval "ac_cv_lib_$ac_lib_var=yes" |
8451 else | 8459 else |
8452 echo "configure: failed program was:" >&5 | 8460 echo "configure: failed program was:" >&5 |
8453 cat conftest.$ac_ext >&5 | 8461 cat conftest.$ac_ext >&5 |
8479 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8487 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8480 fi | 8488 fi |
8481 | 8489 |
8482 png_problem="" | 8490 png_problem="" |
8483 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8491 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8484 echo "configure:8485: checking for pow" >&5 | 8492 echo "configure:8493: checking for pow" >&5 |
8485 | 8493 |
8486 cat > conftest.$ac_ext <<EOF | 8494 cat > conftest.$ac_ext <<EOF |
8487 #line 8488 "configure" | 8495 #line 8496 "configure" |
8488 #include "confdefs.h" | 8496 #include "confdefs.h" |
8489 /* System header to define __stub macros and hopefully few prototypes, | 8497 /* System header to define __stub macros and hopefully few prototypes, |
8490 which can conflict with char pow(); below. */ | 8498 which can conflict with char pow(); below. */ |
8491 #include <assert.h> | 8499 #include <assert.h> |
8492 /* Override any gcc2 internal prototype to avoid an error. */ | 8500 /* Override any gcc2 internal prototype to avoid an error. */ |
8505 pow(); | 8513 pow(); |
8506 #endif | 8514 #endif |
8507 | 8515 |
8508 ; return 0; } | 8516 ; return 0; } |
8509 EOF | 8517 EOF |
8510 if { (eval echo configure:8511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8518 if { (eval echo configure:8519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8511 rm -rf conftest* | 8519 rm -rf conftest* |
8512 eval "ac_cv_func_pow=yes" | 8520 eval "ac_cv_func_pow=yes" |
8513 else | 8521 else |
8514 echo "configure: failed program was:" >&5 | 8522 echo "configure: failed program was:" >&5 |
8515 cat conftest.$ac_ext >&5 | 8523 cat conftest.$ac_ext >&5 |
8526 with_png=no | 8534 with_png=no |
8527 fi | 8535 fi |
8528 } | 8536 } |
8529 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8537 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8530 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8538 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8531 echo "configure:8532: checking for png.h" >&5 | 8539 echo "configure:8540: checking for png.h" >&5 |
8532 | 8540 |
8533 cat > conftest.$ac_ext <<EOF | 8541 cat > conftest.$ac_ext <<EOF |
8534 #line 8535 "configure" | 8542 #line 8543 "configure" |
8535 #include "confdefs.h" | 8543 #include "confdefs.h" |
8536 #include <png.h> | 8544 #include <png.h> |
8537 EOF | 8545 EOF |
8538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8546 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8539 { (eval echo configure:8540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8547 { (eval echo configure:8548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8548 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8541 if test -z "$ac_err"; then | 8549 if test -z "$ac_err"; then |
8542 rm -rf conftest* | 8550 rm -rf conftest* |
8543 eval "ac_cv_header_$ac_safe=yes" | 8551 eval "ac_cv_header_$ac_safe=yes" |
8544 else | 8552 else |
8557 with_png=no | 8565 with_png=no |
8558 fi | 8566 fi |
8559 } | 8567 } |
8560 test -z "$with_png" && { | 8568 test -z "$with_png" && { |
8561 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8569 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8562 echo "configure:8563: checking for png_read_image in -lpng" >&5 | 8570 echo "configure:8571: checking for png_read_image in -lpng" >&5 |
8563 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8571 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8564 | 8572 |
8565 xe_check_libs=" -lpng " | 8573 xe_check_libs=" -lpng " |
8566 cat > conftest.$ac_ext <<EOF | 8574 cat > conftest.$ac_ext <<EOF |
8567 #line 8568 "configure" | 8575 #line 8576 "configure" |
8568 #include "confdefs.h" | 8576 #include "confdefs.h" |
8569 /* Override any gcc2 internal prototype to avoid an error. */ | 8577 /* Override any gcc2 internal prototype to avoid an error. */ |
8570 /* We use char because int might match the return type of a gcc2 | 8578 /* We use char because int might match the return type of a gcc2 |
8571 builtin and then its argument prototype would still apply. */ | 8579 builtin and then its argument prototype would still apply. */ |
8572 char png_read_image(); | 8580 char png_read_image(); |
8573 | 8581 |
8574 int main() { | 8582 int main() { |
8575 png_read_image() | 8583 png_read_image() |
8576 ; return 0; } | 8584 ; return 0; } |
8577 EOF | 8585 EOF |
8578 if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8586 if { (eval echo configure:8587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8579 rm -rf conftest* | 8587 rm -rf conftest* |
8580 eval "ac_cv_lib_$ac_lib_var=yes" | 8588 eval "ac_cv_lib_$ac_lib_var=yes" |
8581 else | 8589 else |
8582 echo "configure: failed program was:" >&5 | 8590 echo "configure: failed program was:" >&5 |
8583 cat conftest.$ac_ext >&5 | 8591 cat conftest.$ac_ext >&5 |
8596 fi | 8604 fi |
8597 | 8605 |
8598 } | 8606 } |
8599 if test -z "$with_png"; then | 8607 if test -z "$with_png"; then |
8600 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8608 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8601 echo "configure:8602: checking for workable png version information" >&5 | 8609 echo "configure:8610: checking for workable png version information" >&5 |
8602 xe_check_libs="-lpng -lz" | 8610 xe_check_libs="-lpng -lz" |
8603 cat > conftest.$ac_ext <<EOF | 8611 cat > conftest.$ac_ext <<EOF |
8604 #line 8605 "configure" | 8612 #line 8613 "configure" |
8605 #include "confdefs.h" | 8613 #include "confdefs.h" |
8606 #include <png.h> | 8614 #include <png.h> |
8607 int main(int c, char **v) { | 8615 int main(int c, char **v) { |
8608 if (c == 1) return 0; | 8616 if (c == 1) return 0; |
8609 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8617 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8610 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8618 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8611 EOF | 8619 EOF |
8612 if { (eval echo configure:8613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8620 if { (eval echo configure:8621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8613 then | 8621 then |
8614 ./conftest dummy_arg; png_status=$?; | 8622 ./conftest dummy_arg; png_status=$?; |
8615 if test "$png_status" = "0"; then | 8623 if test "$png_status" = "0"; then |
8616 with_png=yes; | 8624 with_png=yes; |
8617 else | 8625 else |
8650 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8658 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8651 fi | 8659 fi |
8652 | 8660 |
8653 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8661 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8654 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8662 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8655 echo "configure:8656: checking for tiffio.h" >&5 | 8663 echo "configure:8664: checking for tiffio.h" >&5 |
8656 | 8664 |
8657 cat > conftest.$ac_ext <<EOF | 8665 cat > conftest.$ac_ext <<EOF |
8658 #line 8659 "configure" | 8666 #line 8667 "configure" |
8659 #include "confdefs.h" | 8667 #include "confdefs.h" |
8660 #include <tiffio.h> | 8668 #include <tiffio.h> |
8661 EOF | 8669 EOF |
8662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8663 { (eval echo configure:8664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8671 { (eval echo configure:8672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8665 if test -z "$ac_err"; then | 8673 if test -z "$ac_err"; then |
8666 rm -rf conftest* | 8674 rm -rf conftest* |
8667 eval "ac_cv_header_$ac_safe=yes" | 8675 eval "ac_cv_header_$ac_safe=yes" |
8668 else | 8676 else |
8681 with_tiff=no | 8689 with_tiff=no |
8682 fi | 8690 fi |
8683 } | 8691 } |
8684 test -z "$with_tiff" && { | 8692 test -z "$with_tiff" && { |
8685 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8693 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8686 echo "configure:8687: checking for TIFFClientOpen in -ltiff" >&5 | 8694 echo "configure:8695: checking for TIFFClientOpen in -ltiff" >&5 |
8687 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8695 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8688 | 8696 |
8689 xe_check_libs=" -ltiff " | 8697 xe_check_libs=" -ltiff " |
8690 cat > conftest.$ac_ext <<EOF | 8698 cat > conftest.$ac_ext <<EOF |
8691 #line 8692 "configure" | 8699 #line 8700 "configure" |
8692 #include "confdefs.h" | 8700 #include "confdefs.h" |
8693 /* Override any gcc2 internal prototype to avoid an error. */ | 8701 /* Override any gcc2 internal prototype to avoid an error. */ |
8694 /* We use char because int might match the return type of a gcc2 | 8702 /* We use char because int might match the return type of a gcc2 |
8695 builtin and then its argument prototype would still apply. */ | 8703 builtin and then its argument prototype would still apply. */ |
8696 char TIFFClientOpen(); | 8704 char TIFFClientOpen(); |
8697 | 8705 |
8698 int main() { | 8706 int main() { |
8699 TIFFClientOpen() | 8707 TIFFClientOpen() |
8700 ; return 0; } | 8708 ; return 0; } |
8701 EOF | 8709 EOF |
8702 if { (eval echo configure:8703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8710 if { (eval echo configure:8711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8703 rm -rf conftest* | 8711 rm -rf conftest* |
8704 eval "ac_cv_lib_$ac_lib_var=yes" | 8712 eval "ac_cv_lib_$ac_lib_var=yes" |
8705 else | 8713 else |
8706 echo "configure: failed program was:" >&5 | 8714 echo "configure: failed program was:" >&5 |
8707 cat conftest.$ac_ext >&5 | 8715 cat conftest.$ac_ext >&5 |
8736 | 8744 |
8737 | 8745 |
8738 if test "$with_gtk" = "yes"; then | 8746 if test "$with_gtk" = "yes"; then |
8739 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8747 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8740 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8748 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8741 echo "configure:8742: checking for compface.h" >&5 | 8749 echo "configure:8750: checking for compface.h" >&5 |
8742 | 8750 |
8743 cat > conftest.$ac_ext <<EOF | 8751 cat > conftest.$ac_ext <<EOF |
8744 #line 8745 "configure" | 8752 #line 8753 "configure" |
8745 #include "confdefs.h" | 8753 #include "confdefs.h" |
8746 #include <compface.h> | 8754 #include <compface.h> |
8747 EOF | 8755 EOF |
8748 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8749 { (eval echo configure:8750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8757 { (eval echo configure:8758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8750 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8751 if test -z "$ac_err"; then | 8759 if test -z "$ac_err"; then |
8752 rm -rf conftest* | 8760 rm -rf conftest* |
8753 eval "ac_cv_header_$ac_safe=yes" | 8761 eval "ac_cv_header_$ac_safe=yes" |
8754 else | 8762 else |
8767 with_xface=no | 8775 with_xface=no |
8768 fi | 8776 fi |
8769 } | 8777 } |
8770 test -z "$with_xface" && { | 8778 test -z "$with_xface" && { |
8771 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8779 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8772 echo "configure:8773: checking for UnGenFace in -lcompface" >&5 | 8780 echo "configure:8781: checking for UnGenFace in -lcompface" >&5 |
8773 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8781 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8774 | 8782 |
8775 xe_check_libs=" -lcompface " | 8783 xe_check_libs=" -lcompface " |
8776 cat > conftest.$ac_ext <<EOF | 8784 cat > conftest.$ac_ext <<EOF |
8777 #line 8778 "configure" | 8785 #line 8786 "configure" |
8778 #include "confdefs.h" | 8786 #include "confdefs.h" |
8779 /* Override any gcc2 internal prototype to avoid an error. */ | 8787 /* Override any gcc2 internal prototype to avoid an error. */ |
8780 /* We use char because int might match the return type of a gcc2 | 8788 /* We use char because int might match the return type of a gcc2 |
8781 builtin and then its argument prototype would still apply. */ | 8789 builtin and then its argument prototype would still apply. */ |
8782 char UnGenFace(); | 8790 char UnGenFace(); |
8783 | 8791 |
8784 int main() { | 8792 int main() { |
8785 UnGenFace() | 8793 UnGenFace() |
8786 ; return 0; } | 8794 ; return 0; } |
8787 EOF | 8795 EOF |
8788 if { (eval echo configure:8789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8796 if { (eval echo configure:8797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8789 rm -rf conftest* | 8797 rm -rf conftest* |
8790 eval "ac_cv_lib_$ac_lib_var=yes" | 8798 eval "ac_cv_lib_$ac_lib_var=yes" |
8791 else | 8799 else |
8792 echo "configure: failed program was:" >&5 | 8800 echo "configure: failed program was:" >&5 |
8793 cat conftest.$ac_ext >&5 | 8801 cat conftest.$ac_ext >&5 |
8823 | 8831 |
8824 | 8832 |
8825 if test "$with_x11" = "yes"; then | 8833 if test "$with_x11" = "yes"; then |
8826 | 8834 |
8827 echo "checking for X11 graphics libraries" 1>&6 | 8835 echo "checking for X11 graphics libraries" 1>&6 |
8828 echo "configure:8829: checking for X11 graphics libraries" >&5 | 8836 echo "configure:8837: checking for X11 graphics libraries" >&5 |
8829 | 8837 |
8830 echo "checking for the Athena widgets" 1>&6 | 8838 echo "checking for the Athena widgets" 1>&6 |
8831 echo "configure:8832: checking for the Athena widgets" >&5 | 8839 echo "configure:8840: checking for the Athena widgets" >&5 |
8832 | 8840 |
8833 case "$with_athena" in | 8841 case "$with_athena" in |
8834 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8842 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8835 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8843 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8836 "next") athena_variant=neXtaw athena_3d=yes ;; | 8844 "next") athena_variant=neXtaw athena_3d=yes ;; |
8840 esac | 8848 esac |
8841 | 8849 |
8842 if test "$athena_3d" = "no"; then | 8850 if test "$athena_3d" = "no"; then |
8843 | 8851 |
8844 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8852 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8845 echo "configure:8846: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8853 echo "configure:8854: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8846 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8854 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8847 | 8855 |
8848 xe_check_libs=" -l$athena_variant " | 8856 xe_check_libs=" -l$athena_variant " |
8849 cat > conftest.$ac_ext <<EOF | 8857 cat > conftest.$ac_ext <<EOF |
8850 #line 8851 "configure" | 8858 #line 8859 "configure" |
8851 #include "confdefs.h" | 8859 #include "confdefs.h" |
8852 /* Override any gcc2 internal prototype to avoid an error. */ | 8860 /* Override any gcc2 internal prototype to avoid an error. */ |
8853 /* We use char because int might match the return type of a gcc2 | 8861 /* We use char because int might match the return type of a gcc2 |
8854 builtin and then its argument prototype would still apply. */ | 8862 builtin and then its argument prototype would still apply. */ |
8855 char XawScrollbarSetThumb(); | 8863 char XawScrollbarSetThumb(); |
8856 | 8864 |
8857 int main() { | 8865 int main() { |
8858 XawScrollbarSetThumb() | 8866 XawScrollbarSetThumb() |
8859 ; return 0; } | 8867 ; return 0; } |
8860 EOF | 8868 EOF |
8861 if { (eval echo configure:8862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8869 if { (eval echo configure:8870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8862 rm -rf conftest* | 8870 rm -rf conftest* |
8863 eval "ac_cv_lib_$ac_lib_var=yes" | 8871 eval "ac_cv_lib_$ac_lib_var=yes" |
8864 else | 8872 else |
8865 echo "configure: failed program was:" >&5 | 8873 echo "configure: failed program was:" >&5 |
8866 cat conftest.$ac_ext >&5 | 8874 cat conftest.$ac_ext >&5 |
8872 | 8880 |
8873 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8881 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8874 echo "$ac_t""yes" 1>&6 | 8882 echo "$ac_t""yes" 1>&6 |
8875 | 8883 |
8876 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8884 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8877 echo "configure:8878: checking for threeDClassRec in -l$athena_variant" >&5 | 8885 echo "configure:8886: checking for threeDClassRec in -l$athena_variant" >&5 |
8878 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8886 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8879 | 8887 |
8880 xe_check_libs=" -l$athena_variant " | 8888 xe_check_libs=" -l$athena_variant " |
8881 cat > conftest.$ac_ext <<EOF | 8889 cat > conftest.$ac_ext <<EOF |
8882 #line 8883 "configure" | 8890 #line 8891 "configure" |
8883 #include "confdefs.h" | 8891 #include "confdefs.h" |
8884 /* Override any gcc2 internal prototype to avoid an error. */ | 8892 /* Override any gcc2 internal prototype to avoid an error. */ |
8885 /* We use char because int might match the return type of a gcc2 | 8893 /* We use char because int might match the return type of a gcc2 |
8886 builtin and then its argument prototype would still apply. */ | 8894 builtin and then its argument prototype would still apply. */ |
8887 char threeDClassRec(); | 8895 char threeDClassRec(); |
8888 | 8896 |
8889 int main() { | 8897 int main() { |
8890 threeDClassRec() | 8898 threeDClassRec() |
8891 ; return 0; } | 8899 ; return 0; } |
8892 EOF | 8900 EOF |
8893 if { (eval echo configure:8894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8901 if { (eval echo configure:8902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8894 rm -rf conftest* | 8902 rm -rf conftest* |
8895 eval "ac_cv_lib_$ac_lib_var=yes" | 8903 eval "ac_cv_lib_$ac_lib_var=yes" |
8896 else | 8904 else |
8897 echo "configure: failed program was:" >&5 | 8905 echo "configure: failed program was:" >&5 |
8898 cat conftest.$ac_ext >&5 | 8906 cat conftest.$ac_ext >&5 |
8919 | 8927 |
8920 | 8928 |
8921 else | 8929 else |
8922 | 8930 |
8923 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8931 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8924 echo "configure:8925: checking for threeDClassRec in -l$athena_variant" >&5 | 8932 echo "configure:8933: checking for threeDClassRec in -l$athena_variant" >&5 |
8925 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8933 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8926 | 8934 |
8927 xe_check_libs=" -l$athena_variant " | 8935 xe_check_libs=" -l$athena_variant " |
8928 cat > conftest.$ac_ext <<EOF | 8936 cat > conftest.$ac_ext <<EOF |
8929 #line 8930 "configure" | 8937 #line 8938 "configure" |
8930 #include "confdefs.h" | 8938 #include "confdefs.h" |
8931 /* Override any gcc2 internal prototype to avoid an error. */ | 8939 /* Override any gcc2 internal prototype to avoid an error. */ |
8932 /* We use char because int might match the return type of a gcc2 | 8940 /* We use char because int might match the return type of a gcc2 |
8933 builtin and then its argument prototype would still apply. */ | 8941 builtin and then its argument prototype would still apply. */ |
8934 char threeDClassRec(); | 8942 char threeDClassRec(); |
8935 | 8943 |
8936 int main() { | 8944 int main() { |
8937 threeDClassRec() | 8945 threeDClassRec() |
8938 ; return 0; } | 8946 ; return 0; } |
8939 EOF | 8947 EOF |
8940 if { (eval echo configure:8941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8948 if { (eval echo configure:8949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8941 rm -rf conftest* | 8949 rm -rf conftest* |
8942 eval "ac_cv_lib_$ac_lib_var=yes" | 8950 eval "ac_cv_lib_$ac_lib_var=yes" |
8943 else | 8951 else |
8944 echo "configure: failed program was:" >&5 | 8952 echo "configure: failed program was:" >&5 |
8945 cat conftest.$ac_ext >&5 | 8953 cat conftest.$ac_ext >&5 |
8953 echo "$ac_t""yes" 1>&6 | 8961 echo "$ac_t""yes" 1>&6 |
8954 athena_lib=$athena_variant | 8962 athena_lib=$athena_variant |
8955 else | 8963 else |
8956 echo "$ac_t""no" 1>&6 | 8964 echo "$ac_t""no" 1>&6 |
8957 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8965 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8958 echo "configure:8959: checking for threeDClassRec in -lXaw" >&5 | 8966 echo "configure:8967: checking for threeDClassRec in -lXaw" >&5 |
8959 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8967 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8960 | 8968 |
8961 xe_check_libs=" -lXaw " | 8969 xe_check_libs=" -lXaw " |
8962 cat > conftest.$ac_ext <<EOF | 8970 cat > conftest.$ac_ext <<EOF |
8963 #line 8964 "configure" | 8971 #line 8972 "configure" |
8964 #include "confdefs.h" | 8972 #include "confdefs.h" |
8965 /* Override any gcc2 internal prototype to avoid an error. */ | 8973 /* Override any gcc2 internal prototype to avoid an error. */ |
8966 /* We use char because int might match the return type of a gcc2 | 8974 /* We use char because int might match the return type of a gcc2 |
8967 builtin and then its argument prototype would still apply. */ | 8975 builtin and then its argument prototype would still apply. */ |
8968 char threeDClassRec(); | 8976 char threeDClassRec(); |
8969 | 8977 |
8970 int main() { | 8978 int main() { |
8971 threeDClassRec() | 8979 threeDClassRec() |
8972 ; return 0; } | 8980 ; return 0; } |
8973 EOF | 8981 EOF |
8974 if { (eval echo configure:8975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8982 if { (eval echo configure:8983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8975 rm -rf conftest* | 8983 rm -rf conftest* |
8976 eval "ac_cv_lib_$ac_lib_var=yes" | 8984 eval "ac_cv_lib_$ac_lib_var=yes" |
8977 else | 8985 else |
8978 echo "configure: failed program was:" >&5 | 8986 echo "configure: failed program was:" >&5 |
8979 cat conftest.$ac_ext >&5 | 8987 cat conftest.$ac_ext >&5 |
9000 fi | 9008 fi |
9001 | 9009 |
9002 if test "$athena_3d" = "no"; then | 9010 if test "$athena_3d" = "no"; then |
9003 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9011 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9004 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9012 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9005 echo "configure:9006: checking for X11/Xaw/ThreeD.h" >&5 | 9013 echo "configure:9014: checking for X11/Xaw/ThreeD.h" >&5 |
9006 | 9014 |
9007 cat > conftest.$ac_ext <<EOF | 9015 cat > conftest.$ac_ext <<EOF |
9008 #line 9009 "configure" | 9016 #line 9017 "configure" |
9009 #include "confdefs.h" | 9017 #include "confdefs.h" |
9010 #include <X11/Xaw/ThreeD.h> | 9018 #include <X11/Xaw/ThreeD.h> |
9011 EOF | 9019 EOF |
9012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9020 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9013 { (eval echo configure:9014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9021 { (eval echo configure:9022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9014 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9022 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9015 if test -z "$ac_err"; then | 9023 if test -z "$ac_err"; then |
9016 rm -rf conftest* | 9024 rm -rf conftest* |
9017 eval "ac_cv_header_$ac_safe=yes" | 9025 eval "ac_cv_header_$ac_safe=yes" |
9018 else | 9026 else |
9028 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9036 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9029 else | 9037 else |
9030 echo "$ac_t""no" 1>&6 | 9038 echo "$ac_t""no" 1>&6 |
9031 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9039 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9032 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9040 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9033 echo "configure:9034: checking for X11/Xaw/XawInit.h" >&5 | 9041 echo "configure:9042: checking for X11/Xaw/XawInit.h" >&5 |
9034 | 9042 |
9035 cat > conftest.$ac_ext <<EOF | 9043 cat > conftest.$ac_ext <<EOF |
9036 #line 9037 "configure" | 9044 #line 9045 "configure" |
9037 #include "confdefs.h" | 9045 #include "confdefs.h" |
9038 #include <X11/Xaw/XawInit.h> | 9046 #include <X11/Xaw/XawInit.h> |
9039 EOF | 9047 EOF |
9040 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9041 { (eval echo configure:9042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9049 { (eval echo configure:9050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9042 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9050 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9043 if test -z "$ac_err"; then | 9051 if test -z "$ac_err"; then |
9044 rm -rf conftest* | 9052 rm -rf conftest* |
9045 eval "ac_cv_header_$ac_safe=yes" | 9053 eval "ac_cv_header_$ac_safe=yes" |
9046 else | 9054 else |
9062 fi | 9070 fi |
9063 | 9071 |
9064 else | 9072 else |
9065 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9073 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9066 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9074 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9067 echo "configure:9068: checking for X11/$athena_variant/XawInit.h" >&5 | 9075 echo "configure:9076: checking for X11/$athena_variant/XawInit.h" >&5 |
9068 | 9076 |
9069 cat > conftest.$ac_ext <<EOF | 9077 cat > conftest.$ac_ext <<EOF |
9070 #line 9071 "configure" | 9078 #line 9079 "configure" |
9071 #include "confdefs.h" | 9079 #include "confdefs.h" |
9072 #include <X11/$athena_variant/XawInit.h> | 9080 #include <X11/$athena_variant/XawInit.h> |
9073 EOF | 9081 EOF |
9074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9082 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9075 { (eval echo configure:9076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9083 { (eval echo configure:9084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9084 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9077 if test -z "$ac_err"; then | 9085 if test -z "$ac_err"; then |
9078 rm -rf conftest* | 9086 rm -rf conftest* |
9079 eval "ac_cv_header_$ac_safe=yes" | 9087 eval "ac_cv_header_$ac_safe=yes" |
9080 else | 9088 else |
9087 rm -f conftest* | 9095 rm -f conftest* |
9088 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9096 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9089 echo "$ac_t""yes" 1>&6 | 9097 echo "$ac_t""yes" 1>&6 |
9090 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9098 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9091 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9099 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9092 echo "configure:9093: checking for X11/$athena_variant/ThreeD.h" >&5 | 9100 echo "configure:9101: checking for X11/$athena_variant/ThreeD.h" >&5 |
9093 | 9101 |
9094 cat > conftest.$ac_ext <<EOF | 9102 cat > conftest.$ac_ext <<EOF |
9095 #line 9096 "configure" | 9103 #line 9104 "configure" |
9096 #include "confdefs.h" | 9104 #include "confdefs.h" |
9097 #include <X11/$athena_variant/ThreeD.h> | 9105 #include <X11/$athena_variant/ThreeD.h> |
9098 EOF | 9106 EOF |
9099 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9107 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9100 { (eval echo configure:9101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9108 { (eval echo configure:9109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9101 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9109 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9102 if test -z "$ac_err"; then | 9110 if test -z "$ac_err"; then |
9103 rm -rf conftest* | 9111 rm -rf conftest* |
9104 eval "ac_cv_header_$ac_safe=yes" | 9112 eval "ac_cv_header_$ac_safe=yes" |
9105 else | 9113 else |
9123 | 9131 |
9124 | 9132 |
9125 if test -z "$athena_h_path"; then | 9133 if test -z "$athena_h_path"; then |
9126 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9134 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9127 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9135 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9128 echo "configure:9129: checking for $athena_variant/XawInit.h" >&5 | 9136 echo "configure:9137: checking for $athena_variant/XawInit.h" >&5 |
9129 | 9137 |
9130 cat > conftest.$ac_ext <<EOF | 9138 cat > conftest.$ac_ext <<EOF |
9131 #line 9132 "configure" | 9139 #line 9140 "configure" |
9132 #include "confdefs.h" | 9140 #include "confdefs.h" |
9133 #include <$athena_variant/XawInit.h> | 9141 #include <$athena_variant/XawInit.h> |
9134 EOF | 9142 EOF |
9135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9136 { (eval echo configure:9137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9144 { (eval echo configure:9145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9138 if test -z "$ac_err"; then | 9146 if test -z "$ac_err"; then |
9139 rm -rf conftest* | 9147 rm -rf conftest* |
9140 eval "ac_cv_header_$ac_safe=yes" | 9148 eval "ac_cv_header_$ac_safe=yes" |
9141 else | 9149 else |
9148 rm -f conftest* | 9156 rm -f conftest* |
9149 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9150 echo "$ac_t""yes" 1>&6 | 9158 echo "$ac_t""yes" 1>&6 |
9151 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9159 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9152 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9160 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9153 echo "configure:9154: checking for $athena_variant/ThreeD.h" >&5 | 9161 echo "configure:9162: checking for $athena_variant/ThreeD.h" >&5 |
9154 | 9162 |
9155 cat > conftest.$ac_ext <<EOF | 9163 cat > conftest.$ac_ext <<EOF |
9156 #line 9157 "configure" | 9164 #line 9165 "configure" |
9157 #include "confdefs.h" | 9165 #include "confdefs.h" |
9158 #include <$athena_variant/ThreeD.h> | 9166 #include <$athena_variant/ThreeD.h> |
9159 EOF | 9167 EOF |
9160 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9161 { (eval echo configure:9162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9169 { (eval echo configure:9170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9162 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9163 if test -z "$ac_err"; then | 9171 if test -z "$ac_err"; then |
9164 rm -rf conftest* | 9172 rm -rf conftest* |
9165 eval "ac_cv_header_$ac_safe=yes" | 9173 eval "ac_cv_header_$ac_safe=yes" |
9166 else | 9174 else |
9185 fi | 9193 fi |
9186 | 9194 |
9187 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9195 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9188 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9196 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9189 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9197 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9190 echo "configure:9191: checking for X11/Xaw3d/XawInit.h" >&5 | 9198 echo "configure:9199: checking for X11/Xaw3d/XawInit.h" >&5 |
9191 | 9199 |
9192 cat > conftest.$ac_ext <<EOF | 9200 cat > conftest.$ac_ext <<EOF |
9193 #line 9194 "configure" | 9201 #line 9202 "configure" |
9194 #include "confdefs.h" | 9202 #include "confdefs.h" |
9195 #include <X11/Xaw3d/XawInit.h> | 9203 #include <X11/Xaw3d/XawInit.h> |
9196 EOF | 9204 EOF |
9197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9205 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9198 { (eval echo configure:9199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9206 { (eval echo configure:9207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9207 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9200 if test -z "$ac_err"; then | 9208 if test -z "$ac_err"; then |
9201 rm -rf conftest* | 9209 rm -rf conftest* |
9202 eval "ac_cv_header_$ac_safe=yes" | 9210 eval "ac_cv_header_$ac_safe=yes" |
9203 else | 9211 else |
9210 rm -f conftest* | 9218 rm -f conftest* |
9211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9219 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9212 echo "$ac_t""yes" 1>&6 | 9220 echo "$ac_t""yes" 1>&6 |
9213 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9221 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9214 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9222 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9215 echo "configure:9216: checking for X11/Xaw3d/ThreeD.h" >&5 | 9223 echo "configure:9224: checking for X11/Xaw3d/ThreeD.h" >&5 |
9216 | 9224 |
9217 cat > conftest.$ac_ext <<EOF | 9225 cat > conftest.$ac_ext <<EOF |
9218 #line 9219 "configure" | 9226 #line 9227 "configure" |
9219 #include "confdefs.h" | 9227 #include "confdefs.h" |
9220 #include <X11/Xaw3d/ThreeD.h> | 9228 #include <X11/Xaw3d/ThreeD.h> |
9221 EOF | 9229 EOF |
9222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9223 { (eval echo configure:9224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9231 { (eval echo configure:9232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9224 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9225 if test -z "$ac_err"; then | 9233 if test -z "$ac_err"; then |
9226 rm -rf conftest* | 9234 rm -rf conftest* |
9227 eval "ac_cv_header_$ac_safe=yes" | 9235 eval "ac_cv_header_$ac_safe=yes" |
9228 else | 9236 else |
9250 fi | 9258 fi |
9251 | 9259 |
9252 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9260 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9253 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9261 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9254 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9262 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9255 echo "configure:9256: checking for Xaw3d/XawInit.h" >&5 | 9263 echo "configure:9264: checking for Xaw3d/XawInit.h" >&5 |
9256 | 9264 |
9257 cat > conftest.$ac_ext <<EOF | 9265 cat > conftest.$ac_ext <<EOF |
9258 #line 9259 "configure" | 9266 #line 9267 "configure" |
9259 #include "confdefs.h" | 9267 #include "confdefs.h" |
9260 #include <Xaw3d/XawInit.h> | 9268 #include <Xaw3d/XawInit.h> |
9261 EOF | 9269 EOF |
9262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9263 { (eval echo configure:9264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9271 { (eval echo configure:9272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9265 if test -z "$ac_err"; then | 9273 if test -z "$ac_err"; then |
9266 rm -rf conftest* | 9274 rm -rf conftest* |
9267 eval "ac_cv_header_$ac_safe=yes" | 9275 eval "ac_cv_header_$ac_safe=yes" |
9268 else | 9276 else |
9275 rm -f conftest* | 9283 rm -f conftest* |
9276 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9284 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9277 echo "$ac_t""yes" 1>&6 | 9285 echo "$ac_t""yes" 1>&6 |
9278 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9286 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9279 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9287 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9280 echo "configure:9281: checking for Xaw3d/ThreeD.h" >&5 | 9288 echo "configure:9289: checking for Xaw3d/ThreeD.h" >&5 |
9281 | 9289 |
9282 cat > conftest.$ac_ext <<EOF | 9290 cat > conftest.$ac_ext <<EOF |
9283 #line 9284 "configure" | 9291 #line 9292 "configure" |
9284 #include "confdefs.h" | 9292 #include "confdefs.h" |
9285 #include <Xaw3d/ThreeD.h> | 9293 #include <Xaw3d/ThreeD.h> |
9286 EOF | 9294 EOF |
9287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9288 { (eval echo configure:9289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9296 { (eval echo configure:9297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9290 if test -z "$ac_err"; then | 9298 if test -z "$ac_err"; then |
9291 rm -rf conftest* | 9299 rm -rf conftest* |
9292 eval "ac_cv_header_$ac_safe=yes" | 9300 eval "ac_cv_header_$ac_safe=yes" |
9293 else | 9301 else |
9315 fi | 9323 fi |
9316 | 9324 |
9317 if test -z "$athena_h_path"; then | 9325 if test -z "$athena_h_path"; then |
9318 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9326 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9319 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9327 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9320 echo "configure:9321: checking for X11/Xaw/ThreeD.h" >&5 | 9328 echo "configure:9329: checking for X11/Xaw/ThreeD.h" >&5 |
9321 | 9329 |
9322 cat > conftest.$ac_ext <<EOF | 9330 cat > conftest.$ac_ext <<EOF |
9323 #line 9324 "configure" | 9331 #line 9332 "configure" |
9324 #include "confdefs.h" | 9332 #include "confdefs.h" |
9325 #include <X11/Xaw/ThreeD.h> | 9333 #include <X11/Xaw/ThreeD.h> |
9326 EOF | 9334 EOF |
9327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9328 { (eval echo configure:9329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9336 { (eval echo configure:9337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9330 if test -z "$ac_err"; then | 9338 if test -z "$ac_err"; then |
9331 rm -rf conftest* | 9339 rm -rf conftest* |
9332 eval "ac_cv_header_$ac_safe=yes" | 9340 eval "ac_cv_header_$ac_safe=yes" |
9333 else | 9341 else |
9358 have_xaw=no | 9366 have_xaw=no |
9359 fi | 9367 fi |
9360 | 9368 |
9361 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9369 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9362 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9370 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9363 echo "configure:9364: checking for Xm/Xm.h" >&5 | 9371 echo "configure:9372: checking for Xm/Xm.h" >&5 |
9364 | 9372 |
9365 cat > conftest.$ac_ext <<EOF | 9373 cat > conftest.$ac_ext <<EOF |
9366 #line 9367 "configure" | 9374 #line 9375 "configure" |
9367 #include "confdefs.h" | 9375 #include "confdefs.h" |
9368 #include <Xm/Xm.h> | 9376 #include <Xm/Xm.h> |
9369 EOF | 9377 EOF |
9370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9371 { (eval echo configure:9372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9379 { (eval echo configure:9380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9373 if test -z "$ac_err"; then | 9381 if test -z "$ac_err"; then |
9374 rm -rf conftest* | 9382 rm -rf conftest* |
9375 eval "ac_cv_header_$ac_safe=yes" | 9383 eval "ac_cv_header_$ac_safe=yes" |
9376 else | 9384 else |
9383 rm -f conftest* | 9391 rm -f conftest* |
9384 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9392 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9385 echo "$ac_t""yes" 1>&6 | 9393 echo "$ac_t""yes" 1>&6 |
9386 | 9394 |
9387 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9395 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9388 echo "configure:9389: checking for XmStringFree in -lXm" >&5 | 9396 echo "configure:9397: checking for XmStringFree in -lXm" >&5 |
9389 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9397 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9390 | 9398 |
9391 xe_check_libs=" -lXm " | 9399 xe_check_libs=" -lXm " |
9392 cat > conftest.$ac_ext <<EOF | 9400 cat > conftest.$ac_ext <<EOF |
9393 #line 9394 "configure" | 9401 #line 9402 "configure" |
9394 #include "confdefs.h" | 9402 #include "confdefs.h" |
9395 /* Override any gcc2 internal prototype to avoid an error. */ | 9403 /* Override any gcc2 internal prototype to avoid an error. */ |
9396 /* We use char because int might match the return type of a gcc2 | 9404 /* We use char because int might match the return type of a gcc2 |
9397 builtin and then its argument prototype would still apply. */ | 9405 builtin and then its argument prototype would still apply. */ |
9398 char XmStringFree(); | 9406 char XmStringFree(); |
9399 | 9407 |
9400 int main() { | 9408 int main() { |
9401 XmStringFree() | 9409 XmStringFree() |
9402 ; return 0; } | 9410 ; return 0; } |
9403 EOF | 9411 EOF |
9404 if { (eval echo configure:9405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9412 if { (eval echo configure:9413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9405 rm -rf conftest* | 9413 rm -rf conftest* |
9406 eval "ac_cv_lib_$ac_lib_var=yes" | 9414 eval "ac_cv_lib_$ac_lib_var=yes" |
9407 else | 9415 else |
9408 echo "configure: failed program was:" >&5 | 9416 echo "configure: failed program was:" >&5 |
9409 cat conftest.$ac_ext >&5 | 9417 cat conftest.$ac_ext >&5 |
9428 fi | 9436 fi |
9429 | 9437 |
9430 | 9438 |
9431 if test "$have_motif" = "yes"; then | 9439 if test "$have_motif" = "yes"; then |
9432 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9440 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9433 echo "configure:9434: checking for Lesstif" >&5 | 9441 echo "configure:9442: checking for Lesstif" >&5 |
9434 cat > conftest.$ac_ext <<EOF | 9442 cat > conftest.$ac_ext <<EOF |
9435 #line 9436 "configure" | 9443 #line 9444 "configure" |
9436 #include "confdefs.h" | 9444 #include "confdefs.h" |
9437 #include <Xm/Xm.h> | 9445 #include <Xm/Xm.h> |
9438 #ifdef LESSTIF_VERSION | 9446 #ifdef LESSTIF_VERSION |
9439 yes | 9447 yes |
9440 #endif | 9448 #endif |
9858 fi | 9866 fi |
9859 fi | 9867 fi |
9860 | 9868 |
9861 if test "$with_mule" = "yes" ; then | 9869 if test "$with_mule" = "yes" ; then |
9862 echo "checking for Mule-related features" 1>&6 | 9870 echo "checking for Mule-related features" 1>&6 |
9863 echo "configure:9864: checking for Mule-related features" >&5 | 9871 echo "configure:9872: checking for Mule-related features" >&5 |
9864 { test "$extra_verbose" = "yes" && cat << \EOF | 9872 { test "$extra_verbose" = "yes" && cat << \EOF |
9865 Defining MULE | 9873 Defining MULE |
9866 EOF | 9874 EOF |
9867 cat >> confdefs.h <<\EOF | 9875 cat >> confdefs.h <<\EOF |
9868 #define MULE 1 | 9876 #define MULE 1 |
9883 | 9891 |
9884 for ac_hdr in libintl.h | 9892 for ac_hdr in libintl.h |
9885 do | 9893 do |
9886 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9894 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9887 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9895 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9888 echo "configure:9889: checking for $ac_hdr" >&5 | 9896 echo "configure:9897: checking for $ac_hdr" >&5 |
9889 | 9897 |
9890 cat > conftest.$ac_ext <<EOF | 9898 cat > conftest.$ac_ext <<EOF |
9891 #line 9892 "configure" | 9899 #line 9900 "configure" |
9892 #include "confdefs.h" | 9900 #include "confdefs.h" |
9893 #include <$ac_hdr> | 9901 #include <$ac_hdr> |
9894 EOF | 9902 EOF |
9895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9896 { (eval echo configure:9897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9904 { (eval echo configure:9905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9898 if test -z "$ac_err"; then | 9906 if test -z "$ac_err"; then |
9899 rm -rf conftest* | 9907 rm -rf conftest* |
9900 eval "ac_cv_header_$ac_safe=yes" | 9908 eval "ac_cv_header_$ac_safe=yes" |
9901 else | 9909 else |
9922 fi | 9930 fi |
9923 done | 9931 done |
9924 | 9932 |
9925 | 9933 |
9926 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9934 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9927 echo "configure:9928: checking for strerror in -lintl" >&5 | 9935 echo "configure:9936: checking for strerror in -lintl" >&5 |
9928 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9936 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9929 | 9937 |
9930 xe_check_libs=" -lintl " | 9938 xe_check_libs=" -lintl " |
9931 cat > conftest.$ac_ext <<EOF | 9939 cat > conftest.$ac_ext <<EOF |
9932 #line 9933 "configure" | 9940 #line 9941 "configure" |
9933 #include "confdefs.h" | 9941 #include "confdefs.h" |
9934 /* Override any gcc2 internal prototype to avoid an error. */ | 9942 /* Override any gcc2 internal prototype to avoid an error. */ |
9935 /* We use char because int might match the return type of a gcc2 | 9943 /* We use char because int might match the return type of a gcc2 |
9936 builtin and then its argument prototype would still apply. */ | 9944 builtin and then its argument prototype would still apply. */ |
9937 char strerror(); | 9945 char strerror(); |
9938 | 9946 |
9939 int main() { | 9947 int main() { |
9940 strerror() | 9948 strerror() |
9941 ; return 0; } | 9949 ; return 0; } |
9942 EOF | 9950 EOF |
9943 if { (eval echo configure:9944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9951 if { (eval echo configure:9952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9944 rm -rf conftest* | 9952 rm -rf conftest* |
9945 eval "ac_cv_lib_$ac_lib_var=yes" | 9953 eval "ac_cv_lib_$ac_lib_var=yes" |
9946 else | 9954 else |
9947 echo "configure: failed program was:" >&5 | 9955 echo "configure: failed program was:" >&5 |
9948 cat conftest.$ac_ext >&5 | 9956 cat conftest.$ac_ext >&5 |
9971 fi | 9979 fi |
9972 | 9980 |
9973 | 9981 |
9974 | 9982 |
9975 echo "checking for Mule input methods" 1>&6 | 9983 echo "checking for Mule input methods" 1>&6 |
9976 echo "configure:9977: checking for Mule input methods" >&5 | 9984 echo "configure:9985: checking for Mule input methods" >&5 |
9977 case "$with_xim" in "" | "yes" ) | 9985 case "$with_xim" in "" | "yes" ) |
9978 echo "checking for XIM" 1>&6 | 9986 echo "checking for XIM" 1>&6 |
9979 echo "configure:9980: checking for XIM" >&5 | 9987 echo "configure:9988: checking for XIM" >&5 |
9980 | 9988 |
9981 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9989 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9982 echo "configure:9983: checking for XOpenIM in -lX11" >&5 | 9990 echo "configure:9991: checking for XOpenIM in -lX11" >&5 |
9983 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9991 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9984 | 9992 |
9985 xe_check_libs=" -lX11 " | 9993 xe_check_libs=" -lX11 " |
9986 cat > conftest.$ac_ext <<EOF | 9994 cat > conftest.$ac_ext <<EOF |
9987 #line 9988 "configure" | 9995 #line 9996 "configure" |
9988 #include "confdefs.h" | 9996 #include "confdefs.h" |
9989 /* Override any gcc2 internal prototype to avoid an error. */ | 9997 /* Override any gcc2 internal prototype to avoid an error. */ |
9990 /* We use char because int might match the return type of a gcc2 | 9998 /* We use char because int might match the return type of a gcc2 |
9991 builtin and then its argument prototype would still apply. */ | 9999 builtin and then its argument prototype would still apply. */ |
9992 char XOpenIM(); | 10000 char XOpenIM(); |
9993 | 10001 |
9994 int main() { | 10002 int main() { |
9995 XOpenIM() | 10003 XOpenIM() |
9996 ; return 0; } | 10004 ; return 0; } |
9997 EOF | 10005 EOF |
9998 if { (eval echo configure:9999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10006 if { (eval echo configure:10007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9999 rm -rf conftest* | 10007 rm -rf conftest* |
10000 eval "ac_cv_lib_$ac_lib_var=yes" | 10008 eval "ac_cv_lib_$ac_lib_var=yes" |
10001 else | 10009 else |
10002 echo "configure: failed program was:" >&5 | 10010 echo "configure: failed program was:" >&5 |
10003 cat conftest.$ac_ext >&5 | 10011 cat conftest.$ac_ext >&5 |
10017 | 10025 |
10018 | 10026 |
10019 if test "$have_motif $have_lesstif" = "yes no"; then | 10027 if test "$have_motif $have_lesstif" = "yes no"; then |
10020 | 10028 |
10021 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 10029 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
10022 echo "configure:10023: checking for XmImMbLookupString in -lXm" >&5 | 10030 echo "configure:10031: checking for XmImMbLookupString in -lXm" >&5 |
10023 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 10031 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
10024 | 10032 |
10025 xe_check_libs=" -lXm " | 10033 xe_check_libs=" -lXm " |
10026 cat > conftest.$ac_ext <<EOF | 10034 cat > conftest.$ac_ext <<EOF |
10027 #line 10028 "configure" | 10035 #line 10036 "configure" |
10028 #include "confdefs.h" | 10036 #include "confdefs.h" |
10029 /* Override any gcc2 internal prototype to avoid an error. */ | 10037 /* Override any gcc2 internal prototype to avoid an error. */ |
10030 /* We use char because int might match the return type of a gcc2 | 10038 /* We use char because int might match the return type of a gcc2 |
10031 builtin and then its argument prototype would still apply. */ | 10039 builtin and then its argument prototype would still apply. */ |
10032 char XmImMbLookupString(); | 10040 char XmImMbLookupString(); |
10033 | 10041 |
10034 int main() { | 10042 int main() { |
10035 XmImMbLookupString() | 10043 XmImMbLookupString() |
10036 ; return 0; } | 10044 ; return 0; } |
10037 EOF | 10045 EOF |
10038 if { (eval echo configure:10039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10046 if { (eval echo configure:10047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10039 rm -rf conftest* | 10047 rm -rf conftest* |
10040 eval "ac_cv_lib_$ac_lib_var=yes" | 10048 eval "ac_cv_lib_$ac_lib_var=yes" |
10041 else | 10049 else |
10042 echo "configure: failed program was:" >&5 | 10050 echo "configure: failed program was:" >&5 |
10043 cat conftest.$ac_ext >&5 | 10051 cat conftest.$ac_ext >&5 |
10098 fi | 10106 fi |
10099 fi | 10107 fi |
10100 | 10108 |
10101 if test "$with_xfs" = "yes" ; then | 10109 if test "$with_xfs" = "yes" ; then |
10102 echo "checking for XFontSet" 1>&6 | 10110 echo "checking for XFontSet" 1>&6 |
10103 echo "configure:10104: checking for XFontSet" >&5 | 10111 echo "configure:10112: checking for XFontSet" >&5 |
10104 | 10112 |
10105 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10113 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10106 echo "configure:10107: checking for XmbDrawString in -lX11" >&5 | 10114 echo "configure:10115: checking for XmbDrawString in -lX11" >&5 |
10107 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10115 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10108 | 10116 |
10109 xe_check_libs=" -lX11 " | 10117 xe_check_libs=" -lX11 " |
10110 cat > conftest.$ac_ext <<EOF | 10118 cat > conftest.$ac_ext <<EOF |
10111 #line 10112 "configure" | 10119 #line 10120 "configure" |
10112 #include "confdefs.h" | 10120 #include "confdefs.h" |
10113 /* Override any gcc2 internal prototype to avoid an error. */ | 10121 /* Override any gcc2 internal prototype to avoid an error. */ |
10114 /* We use char because int might match the return type of a gcc2 | 10122 /* We use char because int might match the return type of a gcc2 |
10115 builtin and then its argument prototype would still apply. */ | 10123 builtin and then its argument prototype would still apply. */ |
10116 char XmbDrawString(); | 10124 char XmbDrawString(); |
10117 | 10125 |
10118 int main() { | 10126 int main() { |
10119 XmbDrawString() | 10127 XmbDrawString() |
10120 ; return 0; } | 10128 ; return 0; } |
10121 EOF | 10129 EOF |
10122 if { (eval echo configure:10123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10130 if { (eval echo configure:10131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10123 rm -rf conftest* | 10131 rm -rf conftest* |
10124 eval "ac_cv_lib_$ac_lib_var=yes" | 10132 eval "ac_cv_lib_$ac_lib_var=yes" |
10125 else | 10133 else |
10126 echo "configure: failed program was:" >&5 | 10134 echo "configure: failed program was:" >&5 |
10127 cat conftest.$ac_ext >&5 | 10135 cat conftest.$ac_ext >&5 |
10157 fi | 10165 fi |
10158 fi | 10166 fi |
10159 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10167 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10160 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10168 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10161 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10169 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10162 echo "configure:10163: checking for wnn/jllib.h" >&5 | 10170 echo "configure:10171: checking for wnn/jllib.h" >&5 |
10163 | 10171 |
10164 cat > conftest.$ac_ext <<EOF | 10172 cat > conftest.$ac_ext <<EOF |
10165 #line 10166 "configure" | 10173 #line 10174 "configure" |
10166 #include "confdefs.h" | 10174 #include "confdefs.h" |
10167 #include <wnn/jllib.h> | 10175 #include <wnn/jllib.h> |
10168 EOF | 10176 EOF |
10169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10177 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10170 { (eval echo configure:10171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10178 { (eval echo configure:10179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10171 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10179 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10172 if test -z "$ac_err"; then | 10180 if test -z "$ac_err"; then |
10173 rm -rf conftest* | 10181 rm -rf conftest* |
10174 eval "ac_cv_header_$ac_safe=yes" | 10182 eval "ac_cv_header_$ac_safe=yes" |
10175 else | 10183 else |
10188 with_wnn=no | 10196 with_wnn=no |
10189 fi | 10197 fi |
10190 } | 10198 } |
10191 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10199 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10192 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10200 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10193 echo "configure:10194: checking for wnn/commonhd.h" >&5 | 10201 echo "configure:10202: checking for wnn/commonhd.h" >&5 |
10194 | 10202 |
10195 cat > conftest.$ac_ext <<EOF | 10203 cat > conftest.$ac_ext <<EOF |
10196 #line 10197 "configure" | 10204 #line 10205 "configure" |
10197 #include "confdefs.h" | 10205 #include "confdefs.h" |
10198 #include <wnn/commonhd.h> | 10206 #include <wnn/commonhd.h> |
10199 EOF | 10207 EOF |
10200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10201 { (eval echo configure:10202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10209 { (eval echo configure:10210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10202 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10203 if test -z "$ac_err"; then | 10211 if test -z "$ac_err"; then |
10204 rm -rf conftest* | 10212 rm -rf conftest* |
10205 eval "ac_cv_header_$ac_safe=yes" | 10213 eval "ac_cv_header_$ac_safe=yes" |
10206 else | 10214 else |
10221 } | 10229 } |
10222 if test "$with_wnn" != "no"; then | 10230 if test "$with_wnn" != "no"; then |
10223 for ac_func in crypt | 10231 for ac_func in crypt |
10224 do | 10232 do |
10225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10233 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10226 echo "configure:10227: checking for $ac_func" >&5 | 10234 echo "configure:10235: checking for $ac_func" >&5 |
10227 | 10235 |
10228 cat > conftest.$ac_ext <<EOF | 10236 cat > conftest.$ac_ext <<EOF |
10229 #line 10230 "configure" | 10237 #line 10238 "configure" |
10230 #include "confdefs.h" | 10238 #include "confdefs.h" |
10231 /* System header to define __stub macros and hopefully few prototypes, | 10239 /* System header to define __stub macros and hopefully few prototypes, |
10232 which can conflict with char $ac_func(); below. */ | 10240 which can conflict with char $ac_func(); below. */ |
10233 #include <assert.h> | 10241 #include <assert.h> |
10234 /* Override any gcc2 internal prototype to avoid an error. */ | 10242 /* Override any gcc2 internal prototype to avoid an error. */ |
10247 $ac_func(); | 10255 $ac_func(); |
10248 #endif | 10256 #endif |
10249 | 10257 |
10250 ; return 0; } | 10258 ; return 0; } |
10251 EOF | 10259 EOF |
10252 if { (eval echo configure:10253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10260 if { (eval echo configure:10261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10253 rm -rf conftest* | 10261 rm -rf conftest* |
10254 eval "ac_cv_func_$ac_func=yes" | 10262 eval "ac_cv_func_$ac_func=yes" |
10255 else | 10263 else |
10256 echo "configure: failed program was:" >&5 | 10264 echo "configure: failed program was:" >&5 |
10257 cat conftest.$ac_ext >&5 | 10265 cat conftest.$ac_ext >&5 |
10276 fi | 10284 fi |
10277 done | 10285 done |
10278 | 10286 |
10279 test "$ac_cv_func_crypt" != "yes" && { | 10287 test "$ac_cv_func_crypt" != "yes" && { |
10280 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10288 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10281 echo "configure:10282: checking for crypt in -lcrypt" >&5 | 10289 echo "configure:10290: checking for crypt in -lcrypt" >&5 |
10282 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10290 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10283 | 10291 |
10284 xe_check_libs=" -lcrypt " | 10292 xe_check_libs=" -lcrypt " |
10285 cat > conftest.$ac_ext <<EOF | 10293 cat > conftest.$ac_ext <<EOF |
10286 #line 10287 "configure" | 10294 #line 10295 "configure" |
10287 #include "confdefs.h" | 10295 #include "confdefs.h" |
10288 /* Override any gcc2 internal prototype to avoid an error. */ | 10296 /* Override any gcc2 internal prototype to avoid an error. */ |
10289 /* We use char because int might match the return type of a gcc2 | 10297 /* We use char because int might match the return type of a gcc2 |
10290 builtin and then its argument prototype would still apply. */ | 10298 builtin and then its argument prototype would still apply. */ |
10291 char crypt(); | 10299 char crypt(); |
10292 | 10300 |
10293 int main() { | 10301 int main() { |
10294 crypt() | 10302 crypt() |
10295 ; return 0; } | 10303 ; return 0; } |
10296 EOF | 10304 EOF |
10297 if { (eval echo configure:10298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10305 if { (eval echo configure:10306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10298 rm -rf conftest* | 10306 rm -rf conftest* |
10299 eval "ac_cv_lib_$ac_lib_var=yes" | 10307 eval "ac_cv_lib_$ac_lib_var=yes" |
10300 else | 10308 else |
10301 echo "configure: failed program was:" >&5 | 10309 echo "configure: failed program was:" >&5 |
10302 cat conftest.$ac_ext >&5 | 10310 cat conftest.$ac_ext >&5 |
10327 } | 10335 } |
10328 fi | 10336 fi |
10329 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10337 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10330 | 10338 |
10331 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10339 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10332 echo "configure:10333: checking for jl_dic_list_e in -lwnn" >&5 | 10340 echo "configure:10341: checking for jl_dic_list_e in -lwnn" >&5 |
10333 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10341 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10334 | 10342 |
10335 xe_check_libs=" -lwnn " | 10343 xe_check_libs=" -lwnn " |
10336 cat > conftest.$ac_ext <<EOF | 10344 cat > conftest.$ac_ext <<EOF |
10337 #line 10338 "configure" | 10345 #line 10346 "configure" |
10338 #include "confdefs.h" | 10346 #include "confdefs.h" |
10339 /* Override any gcc2 internal prototype to avoid an error. */ | 10347 /* Override any gcc2 internal prototype to avoid an error. */ |
10340 /* We use char because int might match the return type of a gcc2 | 10348 /* We use char because int might match the return type of a gcc2 |
10341 builtin and then its argument prototype would still apply. */ | 10349 builtin and then its argument prototype would still apply. */ |
10342 char jl_dic_list_e(); | 10350 char jl_dic_list_e(); |
10343 | 10351 |
10344 int main() { | 10352 int main() { |
10345 jl_dic_list_e() | 10353 jl_dic_list_e() |
10346 ; return 0; } | 10354 ; return 0; } |
10347 EOF | 10355 EOF |
10348 if { (eval echo configure:10349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10356 if { (eval echo configure:10357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10349 rm -rf conftest* | 10357 rm -rf conftest* |
10350 eval "ac_cv_lib_$ac_lib_var=yes" | 10358 eval "ac_cv_lib_$ac_lib_var=yes" |
10351 else | 10359 else |
10352 echo "configure: failed program was:" >&5 | 10360 echo "configure: failed program was:" >&5 |
10353 cat conftest.$ac_ext >&5 | 10361 cat conftest.$ac_ext >&5 |
10361 echo "$ac_t""yes" 1>&6 | 10369 echo "$ac_t""yes" 1>&6 |
10362 libwnn=wnn | 10370 libwnn=wnn |
10363 else | 10371 else |
10364 echo "$ac_t""no" 1>&6 | 10372 echo "$ac_t""no" 1>&6 |
10365 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10373 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10366 echo "configure:10367: checking for jl_dic_list_e in -lwnn4" >&5 | 10374 echo "configure:10375: checking for jl_dic_list_e in -lwnn4" >&5 |
10367 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10375 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10368 | 10376 |
10369 xe_check_libs=" -lwnn4 " | 10377 xe_check_libs=" -lwnn4 " |
10370 cat > conftest.$ac_ext <<EOF | 10378 cat > conftest.$ac_ext <<EOF |
10371 #line 10372 "configure" | 10379 #line 10380 "configure" |
10372 #include "confdefs.h" | 10380 #include "confdefs.h" |
10373 /* Override any gcc2 internal prototype to avoid an error. */ | 10381 /* Override any gcc2 internal prototype to avoid an error. */ |
10374 /* We use char because int might match the return type of a gcc2 | 10382 /* We use char because int might match the return type of a gcc2 |
10375 builtin and then its argument prototype would still apply. */ | 10383 builtin and then its argument prototype would still apply. */ |
10376 char jl_dic_list_e(); | 10384 char jl_dic_list_e(); |
10377 | 10385 |
10378 int main() { | 10386 int main() { |
10379 jl_dic_list_e() | 10387 jl_dic_list_e() |
10380 ; return 0; } | 10388 ; return 0; } |
10381 EOF | 10389 EOF |
10382 if { (eval echo configure:10383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10390 if { (eval echo configure:10391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10383 rm -rf conftest* | 10391 rm -rf conftest* |
10384 eval "ac_cv_lib_$ac_lib_var=yes" | 10392 eval "ac_cv_lib_$ac_lib_var=yes" |
10385 else | 10393 else |
10386 echo "configure: failed program was:" >&5 | 10394 echo "configure: failed program was:" >&5 |
10387 cat conftest.$ac_ext >&5 | 10395 cat conftest.$ac_ext >&5 |
10395 echo "$ac_t""yes" 1>&6 | 10403 echo "$ac_t""yes" 1>&6 |
10396 libwnn=wnn4 | 10404 libwnn=wnn4 |
10397 else | 10405 else |
10398 echo "$ac_t""no" 1>&6 | 10406 echo "$ac_t""no" 1>&6 |
10399 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10407 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10400 echo "configure:10401: checking for jl_dic_list_e in -lwnn6" >&5 | 10408 echo "configure:10409: checking for jl_dic_list_e in -lwnn6" >&5 |
10401 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10409 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10402 | 10410 |
10403 xe_check_libs=" -lwnn6 " | 10411 xe_check_libs=" -lwnn6 " |
10404 cat > conftest.$ac_ext <<EOF | 10412 cat > conftest.$ac_ext <<EOF |
10405 #line 10406 "configure" | 10413 #line 10414 "configure" |
10406 #include "confdefs.h" | 10414 #include "confdefs.h" |
10407 /* Override any gcc2 internal prototype to avoid an error. */ | 10415 /* Override any gcc2 internal prototype to avoid an error. */ |
10408 /* We use char because int might match the return type of a gcc2 | 10416 /* We use char because int might match the return type of a gcc2 |
10409 builtin and then its argument prototype would still apply. */ | 10417 builtin and then its argument prototype would still apply. */ |
10410 char jl_dic_list_e(); | 10418 char jl_dic_list_e(); |
10411 | 10419 |
10412 int main() { | 10420 int main() { |
10413 jl_dic_list_e() | 10421 jl_dic_list_e() |
10414 ; return 0; } | 10422 ; return 0; } |
10415 EOF | 10423 EOF |
10416 if { (eval echo configure:10417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10424 if { (eval echo configure:10425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10417 rm -rf conftest* | 10425 rm -rf conftest* |
10418 eval "ac_cv_lib_$ac_lib_var=yes" | 10426 eval "ac_cv_lib_$ac_lib_var=yes" |
10419 else | 10427 else |
10420 echo "configure: failed program was:" >&5 | 10428 echo "configure: failed program was:" >&5 |
10421 cat conftest.$ac_ext >&5 | 10429 cat conftest.$ac_ext >&5 |
10429 echo "$ac_t""yes" 1>&6 | 10437 echo "$ac_t""yes" 1>&6 |
10430 libwnn=wnn6 | 10438 libwnn=wnn6 |
10431 else | 10439 else |
10432 echo "$ac_t""no" 1>&6 | 10440 echo "$ac_t""no" 1>&6 |
10433 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10441 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10434 echo "configure:10435: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10442 echo "configure:10443: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10435 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10443 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10436 | 10444 |
10437 xe_check_libs=" -lwnn6_fromsrc " | 10445 xe_check_libs=" -lwnn6_fromsrc " |
10438 cat > conftest.$ac_ext <<EOF | 10446 cat > conftest.$ac_ext <<EOF |
10439 #line 10440 "configure" | 10447 #line 10448 "configure" |
10440 #include "confdefs.h" | 10448 #include "confdefs.h" |
10441 /* Override any gcc2 internal prototype to avoid an error. */ | 10449 /* Override any gcc2 internal prototype to avoid an error. */ |
10442 /* We use char because int might match the return type of a gcc2 | 10450 /* We use char because int might match the return type of a gcc2 |
10443 builtin and then its argument prototype would still apply. */ | 10451 builtin and then its argument prototype would still apply. */ |
10444 char dic_list_e(); | 10452 char dic_list_e(); |
10445 | 10453 |
10446 int main() { | 10454 int main() { |
10447 dic_list_e() | 10455 dic_list_e() |
10448 ; return 0; } | 10456 ; return 0; } |
10449 EOF | 10457 EOF |
10450 if { (eval echo configure:10451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10458 if { (eval echo configure:10459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10451 rm -rf conftest* | 10459 rm -rf conftest* |
10452 eval "ac_cv_lib_$ac_lib_var=yes" | 10460 eval "ac_cv_lib_$ac_lib_var=yes" |
10453 else | 10461 else |
10454 echo "configure: failed program was:" >&5 | 10462 echo "configure: failed program was:" >&5 |
10455 cat conftest.$ac_ext >&5 | 10463 cat conftest.$ac_ext >&5 |
10493 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 10501 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
10494 fi | 10502 fi |
10495 if test "$with_wnn6" != "no"; then | 10503 if test "$with_wnn6" != "no"; then |
10496 | 10504 |
10497 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10505 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10498 echo "configure:10499: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10506 echo "configure:10507: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10499 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10507 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10500 | 10508 |
10501 xe_check_libs=" -l$libwnn " | 10509 xe_check_libs=" -l$libwnn " |
10502 cat > conftest.$ac_ext <<EOF | 10510 cat > conftest.$ac_ext <<EOF |
10503 #line 10504 "configure" | 10511 #line 10512 "configure" |
10504 #include "confdefs.h" | 10512 #include "confdefs.h" |
10505 /* Override any gcc2 internal prototype to avoid an error. */ | 10513 /* Override any gcc2 internal prototype to avoid an error. */ |
10506 /* We use char because int might match the return type of a gcc2 | 10514 /* We use char because int might match the return type of a gcc2 |
10507 builtin and then its argument prototype would still apply. */ | 10515 builtin and then its argument prototype would still apply. */ |
10508 char jl_fi_dic_list(); | 10516 char jl_fi_dic_list(); |
10509 | 10517 |
10510 int main() { | 10518 int main() { |
10511 jl_fi_dic_list() | 10519 jl_fi_dic_list() |
10512 ; return 0; } | 10520 ; return 0; } |
10513 EOF | 10521 EOF |
10514 if { (eval echo configure:10515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10522 if { (eval echo configure:10523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10515 rm -rf conftest* | 10523 rm -rf conftest* |
10516 eval "ac_cv_lib_$ac_lib_var=yes" | 10524 eval "ac_cv_lib_$ac_lib_var=yes" |
10517 else | 10525 else |
10518 echo "configure: failed program was:" >&5 | 10526 echo "configure: failed program was:" >&5 |
10519 cat conftest.$ac_ext >&5 | 10527 cat conftest.$ac_ext >&5 |
10544 | 10552 |
10545 canna_includes_found=no | 10553 canna_includes_found=no |
10546 if test "$with_canna" != "no"; then | 10554 if test "$with_canna" != "no"; then |
10547 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10555 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10548 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10556 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10549 echo "configure:10550: checking for canna/jrkanji.h" >&5 | 10557 echo "configure:10558: checking for canna/jrkanji.h" >&5 |
10550 | 10558 |
10551 cat > conftest.$ac_ext <<EOF | 10559 cat > conftest.$ac_ext <<EOF |
10552 #line 10553 "configure" | 10560 #line 10561 "configure" |
10553 #include "confdefs.h" | 10561 #include "confdefs.h" |
10554 #include <canna/jrkanji.h> | 10562 #include <canna/jrkanji.h> |
10555 EOF | 10563 EOF |
10556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10564 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10557 { (eval echo configure:10558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10565 { (eval echo configure:10566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10566 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10559 if test -z "$ac_err"; then | 10567 if test -z "$ac_err"; then |
10560 rm -rf conftest* | 10568 rm -rf conftest* |
10561 eval "ac_cv_header_$ac_safe=yes" | 10569 eval "ac_cv_header_$ac_safe=yes" |
10562 else | 10570 else |
10579 -d "/usr/local/canna/include"; then | 10587 -d "/usr/local/canna/include"; then |
10580 save_c_switch_site="$c_switch_site" | 10588 save_c_switch_site="$c_switch_site" |
10581 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10589 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10582 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10590 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10583 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10591 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10584 echo "configure:10585: checking for canna/jrkanji.h" >&5 | 10592 echo "configure:10593: checking for canna/jrkanji.h" >&5 |
10585 | 10593 |
10586 cat > conftest.$ac_ext <<EOF | 10594 cat > conftest.$ac_ext <<EOF |
10587 #line 10588 "configure" | 10595 #line 10596 "configure" |
10588 #include "confdefs.h" | 10596 #include "confdefs.h" |
10589 #include <canna/jrkanji.h> | 10597 #include <canna/jrkanji.h> |
10590 EOF | 10598 EOF |
10591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10599 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10592 { (eval echo configure:10593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10600 { (eval echo configure:10601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10601 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10594 if test -z "$ac_err"; then | 10602 if test -z "$ac_err"; then |
10595 rm -rf conftest* | 10603 rm -rf conftest* |
10596 eval "ac_cv_header_$ac_safe=yes" | 10604 eval "ac_cv_header_$ac_safe=yes" |
10597 else | 10605 else |
10615 fi | 10623 fi |
10616 fi | 10624 fi |
10617 | 10625 |
10618 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10626 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10619 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10627 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10620 echo "configure:10621: checking for canna/RK.h" >&5 | 10628 echo "configure:10629: checking for canna/RK.h" >&5 |
10621 | 10629 |
10622 cat > conftest.$ac_ext <<EOF | 10630 cat > conftest.$ac_ext <<EOF |
10623 #line 10624 "configure" | 10631 #line 10632 "configure" |
10624 #include "confdefs.h" | 10632 #include "confdefs.h" |
10625 #include <canna/RK.h> | 10633 #include <canna/RK.h> |
10626 EOF | 10634 EOF |
10627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10628 { (eval echo configure:10629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10636 { (eval echo configure:10637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10629 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10630 if test -z "$ac_err"; then | 10638 if test -z "$ac_err"; then |
10631 rm -rf conftest* | 10639 rm -rf conftest* |
10632 eval "ac_cv_header_$ac_safe=yes" | 10640 eval "ac_cv_header_$ac_safe=yes" |
10633 else | 10641 else |
10646 with_canna=no | 10654 with_canna=no |
10647 fi | 10655 fi |
10648 } | 10656 } |
10649 test -z "$with_canna" && { | 10657 test -z "$with_canna" && { |
10650 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10658 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10651 echo "configure:10652: checking for RkBgnBun in -lRKC" >&5 | 10659 echo "configure:10660: checking for RkBgnBun in -lRKC" >&5 |
10652 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10660 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10653 | 10661 |
10654 xe_check_libs=" -lRKC " | 10662 xe_check_libs=" -lRKC " |
10655 cat > conftest.$ac_ext <<EOF | 10663 cat > conftest.$ac_ext <<EOF |
10656 #line 10657 "configure" | 10664 #line 10665 "configure" |
10657 #include "confdefs.h" | 10665 #include "confdefs.h" |
10658 /* Override any gcc2 internal prototype to avoid an error. */ | 10666 /* Override any gcc2 internal prototype to avoid an error. */ |
10659 /* We use char because int might match the return type of a gcc2 | 10667 /* We use char because int might match the return type of a gcc2 |
10660 builtin and then its argument prototype would still apply. */ | 10668 builtin and then its argument prototype would still apply. */ |
10661 char RkBgnBun(); | 10669 char RkBgnBun(); |
10662 | 10670 |
10663 int main() { | 10671 int main() { |
10664 RkBgnBun() | 10672 RkBgnBun() |
10665 ; return 0; } | 10673 ; return 0; } |
10666 EOF | 10674 EOF |
10667 if { (eval echo configure:10668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10675 if { (eval echo configure:10676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10668 rm -rf conftest* | 10676 rm -rf conftest* |
10669 eval "ac_cv_lib_$ac_lib_var=yes" | 10677 eval "ac_cv_lib_$ac_lib_var=yes" |
10670 else | 10678 else |
10671 echo "configure: failed program was:" >&5 | 10679 echo "configure: failed program was:" >&5 |
10672 cat conftest.$ac_ext >&5 | 10680 cat conftest.$ac_ext >&5 |
10685 fi | 10693 fi |
10686 | 10694 |
10687 } | 10695 } |
10688 test -z "$with_canna" && { | 10696 test -z "$with_canna" && { |
10689 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10697 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10690 echo "configure:10691: checking for jrKanjiControl in -lcanna" >&5 | 10698 echo "configure:10699: checking for jrKanjiControl in -lcanna" >&5 |
10691 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10699 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10692 | 10700 |
10693 xe_check_libs=" -lcanna " | 10701 xe_check_libs=" -lcanna " |
10694 cat > conftest.$ac_ext <<EOF | 10702 cat > conftest.$ac_ext <<EOF |
10695 #line 10696 "configure" | 10703 #line 10704 "configure" |
10696 #include "confdefs.h" | 10704 #include "confdefs.h" |
10697 /* Override any gcc2 internal prototype to avoid an error. */ | 10705 /* Override any gcc2 internal prototype to avoid an error. */ |
10698 /* We use char because int might match the return type of a gcc2 | 10706 /* We use char because int might match the return type of a gcc2 |
10699 builtin and then its argument prototype would still apply. */ | 10707 builtin and then its argument prototype would still apply. */ |
10700 char jrKanjiControl(); | 10708 char jrKanjiControl(); |
10701 | 10709 |
10702 int main() { | 10710 int main() { |
10703 jrKanjiControl() | 10711 jrKanjiControl() |
10704 ; return 0; } | 10712 ; return 0; } |
10705 EOF | 10713 EOF |
10706 if { (eval echo configure:10707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10714 if { (eval echo configure:10715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10707 rm -rf conftest* | 10715 rm -rf conftest* |
10708 eval "ac_cv_lib_$ac_lib_var=yes" | 10716 eval "ac_cv_lib_$ac_lib_var=yes" |
10709 else | 10717 else |
10710 echo "configure: failed program was:" >&5 | 10718 echo "configure: failed program was:" >&5 |
10711 cat conftest.$ac_ext >&5 | 10719 cat conftest.$ac_ext >&5 |
10750 | 10758 |
10751 if test "$need_motif" = "yes" ; then | 10759 if test "$need_motif" = "yes" ; then |
10752 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10760 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10753 | 10761 |
10754 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10762 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10755 echo "configure:10756: checking for layout_object_getvalue in -li18n" >&5 | 10763 echo "configure:10764: checking for layout_object_getvalue in -li18n" >&5 |
10756 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10764 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10757 | 10765 |
10758 xe_check_libs=" -li18n " | 10766 xe_check_libs=" -li18n " |
10759 cat > conftest.$ac_ext <<EOF | 10767 cat > conftest.$ac_ext <<EOF |
10760 #line 10761 "configure" | 10768 #line 10769 "configure" |
10761 #include "confdefs.h" | 10769 #include "confdefs.h" |
10762 /* Override any gcc2 internal prototype to avoid an error. */ | 10770 /* Override any gcc2 internal prototype to avoid an error. */ |
10763 /* We use char because int might match the return type of a gcc2 | 10771 /* We use char because int might match the return type of a gcc2 |
10764 builtin and then its argument prototype would still apply. */ | 10772 builtin and then its argument prototype would still apply. */ |
10765 char layout_object_getvalue(); | 10773 char layout_object_getvalue(); |
10766 | 10774 |
10767 int main() { | 10775 int main() { |
10768 layout_object_getvalue() | 10776 layout_object_getvalue() |
10769 ; return 0; } | 10777 ; return 0; } |
10770 EOF | 10778 EOF |
10771 if { (eval echo configure:10772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10779 if { (eval echo configure:10780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10772 rm -rf conftest* | 10780 rm -rf conftest* |
10773 eval "ac_cv_lib_$ac_lib_var=yes" | 10781 eval "ac_cv_lib_$ac_lib_var=yes" |
10774 else | 10782 else |
10775 echo "configure: failed program was:" >&5 | 10783 echo "configure: failed program was:" >&5 |
10776 cat conftest.$ac_ext >&5 | 10784 cat conftest.$ac_ext >&5 |
10852 fi | 10860 fi |
10853 | 10861 |
10854 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10862 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
10855 do | 10863 do |
10856 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10857 echo "configure:10858: checking for $ac_func" >&5 | 10865 echo "configure:10866: checking for $ac_func" >&5 |
10858 | 10866 |
10859 cat > conftest.$ac_ext <<EOF | 10867 cat > conftest.$ac_ext <<EOF |
10860 #line 10861 "configure" | 10868 #line 10869 "configure" |
10861 #include "confdefs.h" | 10869 #include "confdefs.h" |
10862 /* System header to define __stub macros and hopefully few prototypes, | 10870 /* System header to define __stub macros and hopefully few prototypes, |
10863 which can conflict with char $ac_func(); below. */ | 10871 which can conflict with char $ac_func(); below. */ |
10864 #include <assert.h> | 10872 #include <assert.h> |
10865 /* Override any gcc2 internal prototype to avoid an error. */ | 10873 /* Override any gcc2 internal prototype to avoid an error. */ |
10878 $ac_func(); | 10886 $ac_func(); |
10879 #endif | 10887 #endif |
10880 | 10888 |
10881 ; return 0; } | 10889 ; return 0; } |
10882 EOF | 10890 EOF |
10883 if { (eval echo configure:10884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10891 if { (eval echo configure:10892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10884 rm -rf conftest* | 10892 rm -rf conftest* |
10885 eval "ac_cv_func_$ac_func=yes" | 10893 eval "ac_cv_func_$ac_func=yes" |
10886 else | 10894 else |
10887 echo "configure: failed program was:" >&5 | 10895 echo "configure: failed program was:" >&5 |
10888 cat conftest.$ac_ext >&5 | 10896 cat conftest.$ac_ext >&5 |
10910 | 10918 |
10911 | 10919 |
10912 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10920 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10913 do | 10921 do |
10914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10915 echo "configure:10916: checking for $ac_func" >&5 | 10923 echo "configure:10924: checking for $ac_func" >&5 |
10916 | 10924 |
10917 cat > conftest.$ac_ext <<EOF | 10925 cat > conftest.$ac_ext <<EOF |
10918 #line 10919 "configure" | 10926 #line 10927 "configure" |
10919 #include "confdefs.h" | 10927 #include "confdefs.h" |
10920 /* System header to define __stub macros and hopefully few prototypes, | 10928 /* System header to define __stub macros and hopefully few prototypes, |
10921 which can conflict with char $ac_func(); below. */ | 10929 which can conflict with char $ac_func(); below. */ |
10922 #include <assert.h> | 10930 #include <assert.h> |
10923 /* Override any gcc2 internal prototype to avoid an error. */ | 10931 /* Override any gcc2 internal prototype to avoid an error. */ |
10936 $ac_func(); | 10944 $ac_func(); |
10937 #endif | 10945 #endif |
10938 | 10946 |
10939 ; return 0; } | 10947 ; return 0; } |
10940 EOF | 10948 EOF |
10941 if { (eval echo configure:10942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10949 if { (eval echo configure:10950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10942 rm -rf conftest* | 10950 rm -rf conftest* |
10943 eval "ac_cv_func_$ac_func=yes" | 10951 eval "ac_cv_func_$ac_func=yes" |
10944 else | 10952 else |
10945 echo "configure: failed program was:" >&5 | 10953 echo "configure: failed program was:" >&5 |
10946 cat conftest.$ac_ext >&5 | 10954 cat conftest.$ac_ext >&5 |
10965 fi | 10973 fi |
10966 done | 10974 done |
10967 | 10975 |
10968 | 10976 |
10969 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10977 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10970 echo "configure:10971: checking for openpty" >&5 | 10978 echo "configure:10979: checking for openpty" >&5 |
10971 | 10979 |
10972 cat > conftest.$ac_ext <<EOF | 10980 cat > conftest.$ac_ext <<EOF |
10973 #line 10974 "configure" | 10981 #line 10982 "configure" |
10974 #include "confdefs.h" | 10982 #include "confdefs.h" |
10975 /* System header to define __stub macros and hopefully few prototypes, | 10983 /* System header to define __stub macros and hopefully few prototypes, |
10976 which can conflict with char openpty(); below. */ | 10984 which can conflict with char openpty(); below. */ |
10977 #include <assert.h> | 10985 #include <assert.h> |
10978 /* Override any gcc2 internal prototype to avoid an error. */ | 10986 /* Override any gcc2 internal prototype to avoid an error. */ |
10991 openpty(); | 10999 openpty(); |
10992 #endif | 11000 #endif |
10993 | 11001 |
10994 ; return 0; } | 11002 ; return 0; } |
10995 EOF | 11003 EOF |
10996 if { (eval echo configure:10997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11004 if { (eval echo configure:11005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10997 rm -rf conftest* | 11005 rm -rf conftest* |
10998 eval "ac_cv_func_openpty=yes" | 11006 eval "ac_cv_func_openpty=yes" |
10999 else | 11007 else |
11000 echo "configure: failed program was:" >&5 | 11008 echo "configure: failed program was:" >&5 |
11001 cat conftest.$ac_ext >&5 | 11009 cat conftest.$ac_ext >&5 |
11010 else | 11018 else |
11011 echo "$ac_t""no" 1>&6 | 11019 echo "$ac_t""no" 1>&6 |
11012 | 11020 |
11013 | 11021 |
11014 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 11022 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
11015 echo "configure:11016: checking for openpty in -lutil" >&5 | 11023 echo "configure:11024: checking for openpty in -lutil" >&5 |
11016 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 11024 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
11017 | 11025 |
11018 xe_check_libs=" -lutil " | 11026 xe_check_libs=" -lutil " |
11019 cat > conftest.$ac_ext <<EOF | 11027 cat > conftest.$ac_ext <<EOF |
11020 #line 11021 "configure" | 11028 #line 11029 "configure" |
11021 #include "confdefs.h" | 11029 #include "confdefs.h" |
11022 /* Override any gcc2 internal prototype to avoid an error. */ | 11030 /* Override any gcc2 internal prototype to avoid an error. */ |
11023 /* We use char because int might match the return type of a gcc2 | 11031 /* We use char because int might match the return type of a gcc2 |
11024 builtin and then its argument prototype would still apply. */ | 11032 builtin and then its argument prototype would still apply. */ |
11025 char openpty(); | 11033 char openpty(); |
11026 | 11034 |
11027 int main() { | 11035 int main() { |
11028 openpty() | 11036 openpty() |
11029 ; return 0; } | 11037 ; return 0; } |
11030 EOF | 11038 EOF |
11031 if { (eval echo configure:11032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11039 if { (eval echo configure:11040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11032 rm -rf conftest* | 11040 rm -rf conftest* |
11033 eval "ac_cv_lib_$ac_lib_var=yes" | 11041 eval "ac_cv_lib_$ac_lib_var=yes" |
11034 else | 11042 else |
11035 echo "configure: failed program was:" >&5 | 11043 echo "configure: failed program was:" >&5 |
11036 cat conftest.$ac_ext >&5 | 11044 cat conftest.$ac_ext >&5 |
11061 | 11069 |
11062 for ac_hdr in libutil.h util.h | 11070 for ac_hdr in libutil.h util.h |
11063 do | 11071 do |
11064 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11072 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11065 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11073 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11066 echo "configure:11067: checking for $ac_hdr" >&5 | 11074 echo "configure:11075: checking for $ac_hdr" >&5 |
11067 | 11075 |
11068 cat > conftest.$ac_ext <<EOF | 11076 cat > conftest.$ac_ext <<EOF |
11069 #line 11070 "configure" | 11077 #line 11078 "configure" |
11070 #include "confdefs.h" | 11078 #include "confdefs.h" |
11071 #include <$ac_hdr> | 11079 #include <$ac_hdr> |
11072 EOF | 11080 EOF |
11073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11074 { (eval echo configure:11075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11082 { (eval echo configure:11083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11076 if test -z "$ac_err"; then | 11084 if test -z "$ac_err"; then |
11077 rm -rf conftest* | 11085 rm -rf conftest* |
11078 eval "ac_cv_header_$ac_safe=yes" | 11086 eval "ac_cv_header_$ac_safe=yes" |
11079 else | 11087 else |
11106 case "$opsys" in | 11114 case "$opsys" in |
11107 hpux*) for ac_hdr in sys/ptyio.h | 11115 hpux*) for ac_hdr in sys/ptyio.h |
11108 do | 11116 do |
11109 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11117 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11110 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11118 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11111 echo "configure:11112: checking for $ac_hdr" >&5 | 11119 echo "configure:11120: checking for $ac_hdr" >&5 |
11112 | 11120 |
11113 cat > conftest.$ac_ext <<EOF | 11121 cat > conftest.$ac_ext <<EOF |
11114 #line 11115 "configure" | 11122 #line 11123 "configure" |
11115 #include "confdefs.h" | 11123 #include "confdefs.h" |
11116 #include <$ac_hdr> | 11124 #include <$ac_hdr> |
11117 EOF | 11125 EOF |
11118 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11119 { (eval echo configure:11120: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11127 { (eval echo configure:11128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11120 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11128 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11121 if test -z "$ac_err"; then | 11129 if test -z "$ac_err"; then |
11122 rm -rf conftest* | 11130 rm -rf conftest* |
11123 eval "ac_cv_header_$ac_safe=yes" | 11131 eval "ac_cv_header_$ac_safe=yes" |
11124 else | 11132 else |
11147 ;; | 11155 ;; |
11148 *) for ac_hdr in pty.h | 11156 *) for ac_hdr in pty.h |
11149 do | 11157 do |
11150 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11158 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11151 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11159 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11152 echo "configure:11153: checking for $ac_hdr" >&5 | 11160 echo "configure:11161: checking for $ac_hdr" >&5 |
11153 | 11161 |
11154 cat > conftest.$ac_ext <<EOF | 11162 cat > conftest.$ac_ext <<EOF |
11155 #line 11156 "configure" | 11163 #line 11164 "configure" |
11156 #include "confdefs.h" | 11164 #include "confdefs.h" |
11157 #include <$ac_hdr> | 11165 #include <$ac_hdr> |
11158 EOF | 11166 EOF |
11159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11160 { (eval echo configure:11161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11168 { (eval echo configure:11169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11162 if test -z "$ac_err"; then | 11170 if test -z "$ac_err"; then |
11163 rm -rf conftest* | 11171 rm -rf conftest* |
11164 eval "ac_cv_header_$ac_safe=yes" | 11172 eval "ac_cv_header_$ac_safe=yes" |
11165 else | 11173 else |
11188 | 11196 |
11189 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11197 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11190 do | 11198 do |
11191 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11199 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11192 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11200 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11193 echo "configure:11194: checking for $ac_hdr" >&5 | 11201 echo "configure:11202: checking for $ac_hdr" >&5 |
11194 | 11202 |
11195 cat > conftest.$ac_ext <<EOF | 11203 cat > conftest.$ac_ext <<EOF |
11196 #line 11197 "configure" | 11204 #line 11205 "configure" |
11197 #include "confdefs.h" | 11205 #include "confdefs.h" |
11198 #include <$ac_hdr> | 11206 #include <$ac_hdr> |
11199 EOF | 11207 EOF |
11200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11201 { (eval echo configure:11202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11209 { (eval echo configure:11210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11202 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11203 if test -z "$ac_err"; then | 11211 if test -z "$ac_err"; then |
11204 rm -rf conftest* | 11212 rm -rf conftest* |
11205 eval "ac_cv_header_$ac_safe=yes" | 11213 eval "ac_cv_header_$ac_safe=yes" |
11206 else | 11214 else |
11232 | 11240 |
11233 for ac_hdr in stropts.h | 11241 for ac_hdr in stropts.h |
11234 do | 11242 do |
11235 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11243 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11236 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11244 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11237 echo "configure:11238: checking for $ac_hdr" >&5 | 11245 echo "configure:11246: checking for $ac_hdr" >&5 |
11238 | 11246 |
11239 cat > conftest.$ac_ext <<EOF | 11247 cat > conftest.$ac_ext <<EOF |
11240 #line 11241 "configure" | 11248 #line 11249 "configure" |
11241 #include "confdefs.h" | 11249 #include "confdefs.h" |
11242 #include <$ac_hdr> | 11250 #include <$ac_hdr> |
11243 EOF | 11251 EOF |
11244 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11245 { (eval echo configure:11246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11253 { (eval echo configure:11254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11246 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11247 if test -z "$ac_err"; then | 11255 if test -z "$ac_err"; then |
11248 rm -rf conftest* | 11256 rm -rf conftest* |
11249 eval "ac_cv_header_$ac_safe=yes" | 11257 eval "ac_cv_header_$ac_safe=yes" |
11250 else | 11258 else |
11273 | 11281 |
11274 if test "$ac_cv_header_stropts_h" = "yes"; then | 11282 if test "$ac_cv_header_stropts_h" = "yes"; then |
11275 for ac_func in isastream | 11283 for ac_func in isastream |
11276 do | 11284 do |
11277 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11278 echo "configure:11279: checking for $ac_func" >&5 | 11286 echo "configure:11287: checking for $ac_func" >&5 |
11279 | 11287 |
11280 cat > conftest.$ac_ext <<EOF | 11288 cat > conftest.$ac_ext <<EOF |
11281 #line 11282 "configure" | 11289 #line 11290 "configure" |
11282 #include "confdefs.h" | 11290 #include "confdefs.h" |
11283 /* System header to define __stub macros and hopefully few prototypes, | 11291 /* System header to define __stub macros and hopefully few prototypes, |
11284 which can conflict with char $ac_func(); below. */ | 11292 which can conflict with char $ac_func(); below. */ |
11285 #include <assert.h> | 11293 #include <assert.h> |
11286 /* Override any gcc2 internal prototype to avoid an error. */ | 11294 /* Override any gcc2 internal prototype to avoid an error. */ |
11299 $ac_func(); | 11307 $ac_func(); |
11300 #endif | 11308 #endif |
11301 | 11309 |
11302 ; return 0; } | 11310 ; return 0; } |
11303 EOF | 11311 EOF |
11304 if { (eval echo configure:11305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11312 if { (eval echo configure:11313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11305 rm -rf conftest* | 11313 rm -rf conftest* |
11306 eval "ac_cv_func_$ac_func=yes" | 11314 eval "ac_cv_func_$ac_func=yes" |
11307 else | 11315 else |
11308 echo "configure: failed program was:" >&5 | 11316 echo "configure: failed program was:" >&5 |
11309 cat conftest.$ac_ext >&5 | 11317 cat conftest.$ac_ext >&5 |
11330 | 11338 |
11331 for ac_hdr in strtio.h | 11339 for ac_hdr in strtio.h |
11332 do | 11340 do |
11333 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11341 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11334 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11342 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11335 echo "configure:11336: checking for $ac_hdr" >&5 | 11343 echo "configure:11344: checking for $ac_hdr" >&5 |
11336 | 11344 |
11337 cat > conftest.$ac_ext <<EOF | 11345 cat > conftest.$ac_ext <<EOF |
11338 #line 11339 "configure" | 11346 #line 11347 "configure" |
11339 #include "confdefs.h" | 11347 #include "confdefs.h" |
11340 #include <$ac_hdr> | 11348 #include <$ac_hdr> |
11341 EOF | 11349 EOF |
11342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11343 { (eval echo configure:11344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11351 { (eval echo configure:11352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11345 if test -z "$ac_err"; then | 11353 if test -z "$ac_err"; then |
11346 rm -rf conftest* | 11354 rm -rf conftest* |
11347 eval "ac_cv_header_$ac_safe=yes" | 11355 eval "ac_cv_header_$ac_safe=yes" |
11348 else | 11356 else |
11375 fi | 11383 fi |
11376 | 11384 |
11377 for ac_func in getloadavg | 11385 for ac_func in getloadavg |
11378 do | 11386 do |
11379 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11380 echo "configure:11381: checking for $ac_func" >&5 | 11388 echo "configure:11389: checking for $ac_func" >&5 |
11381 | 11389 |
11382 cat > conftest.$ac_ext <<EOF | 11390 cat > conftest.$ac_ext <<EOF |
11383 #line 11384 "configure" | 11391 #line 11392 "configure" |
11384 #include "confdefs.h" | 11392 #include "confdefs.h" |
11385 /* System header to define __stub macros and hopefully few prototypes, | 11393 /* System header to define __stub macros and hopefully few prototypes, |
11386 which can conflict with char $ac_func(); below. */ | 11394 which can conflict with char $ac_func(); below. */ |
11387 #include <assert.h> | 11395 #include <assert.h> |
11388 /* Override any gcc2 internal prototype to avoid an error. */ | 11396 /* Override any gcc2 internal prototype to avoid an error. */ |
11401 $ac_func(); | 11409 $ac_func(); |
11402 #endif | 11410 #endif |
11403 | 11411 |
11404 ; return 0; } | 11412 ; return 0; } |
11405 EOF | 11413 EOF |
11406 if { (eval echo configure:11407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11414 if { (eval echo configure:11415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11407 rm -rf conftest* | 11415 rm -rf conftest* |
11408 eval "ac_cv_func_$ac_func=yes" | 11416 eval "ac_cv_func_$ac_func=yes" |
11409 else | 11417 else |
11410 echo "configure: failed program was:" >&5 | 11418 echo "configure: failed program was:" >&5 |
11411 cat conftest.$ac_ext >&5 | 11419 cat conftest.$ac_ext >&5 |
11434 if test "$ac_cv_func_getloadavg" = "yes"; then | 11442 if test "$ac_cv_func_getloadavg" = "yes"; then |
11435 for ac_hdr in sys/loadavg.h | 11443 for ac_hdr in sys/loadavg.h |
11436 do | 11444 do |
11437 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11445 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11438 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11446 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11439 echo "configure:11440: checking for $ac_hdr" >&5 | 11447 echo "configure:11448: checking for $ac_hdr" >&5 |
11440 | 11448 |
11441 cat > conftest.$ac_ext <<EOF | 11449 cat > conftest.$ac_ext <<EOF |
11442 #line 11443 "configure" | 11450 #line 11451 "configure" |
11443 #include "confdefs.h" | 11451 #include "confdefs.h" |
11444 #include <$ac_hdr> | 11452 #include <$ac_hdr> |
11445 EOF | 11453 EOF |
11446 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11447 { (eval echo configure:11448: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11455 { (eval echo configure:11456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11448 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11449 if test -z "$ac_err"; then | 11457 if test -z "$ac_err"; then |
11450 rm -rf conftest* | 11458 rm -rf conftest* |
11451 eval "ac_cv_header_$ac_safe=yes" | 11459 eval "ac_cv_header_$ac_safe=yes" |
11452 else | 11460 else |
11478 echo " xemacs will be linked with \"getloadavg.o\"" | 11486 echo " xemacs will be linked with \"getloadavg.o\"" |
11479 fi | 11487 fi |
11480 | 11488 |
11481 | 11489 |
11482 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11490 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11483 echo "configure:11484: checking for kstat_open in -lkstat" >&5 | 11491 echo "configure:11492: checking for kstat_open in -lkstat" >&5 |
11484 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11492 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11485 | 11493 |
11486 xe_check_libs=" -lkstat " | 11494 xe_check_libs=" -lkstat " |
11487 cat > conftest.$ac_ext <<EOF | 11495 cat > conftest.$ac_ext <<EOF |
11488 #line 11489 "configure" | 11496 #line 11497 "configure" |
11489 #include "confdefs.h" | 11497 #include "confdefs.h" |
11490 /* Override any gcc2 internal prototype to avoid an error. */ | 11498 /* Override any gcc2 internal prototype to avoid an error. */ |
11491 /* We use char because int might match the return type of a gcc2 | 11499 /* We use char because int might match the return type of a gcc2 |
11492 builtin and then its argument prototype would still apply. */ | 11500 builtin and then its argument prototype would still apply. */ |
11493 char kstat_open(); | 11501 char kstat_open(); |
11494 | 11502 |
11495 int main() { | 11503 int main() { |
11496 kstat_open() | 11504 kstat_open() |
11497 ; return 0; } | 11505 ; return 0; } |
11498 EOF | 11506 EOF |
11499 if { (eval echo configure:11500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11507 if { (eval echo configure:11508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11500 rm -rf conftest* | 11508 rm -rf conftest* |
11501 eval "ac_cv_lib_$ac_lib_var=yes" | 11509 eval "ac_cv_lib_$ac_lib_var=yes" |
11502 else | 11510 else |
11503 echo "configure: failed program was:" >&5 | 11511 echo "configure: failed program was:" >&5 |
11504 cat conftest.$ac_ext >&5 | 11512 cat conftest.$ac_ext >&5 |
11529 | 11537 |
11530 for ac_hdr in kstat.h | 11538 for ac_hdr in kstat.h |
11531 do | 11539 do |
11532 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11540 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11533 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11541 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11534 echo "configure:11535: checking for $ac_hdr" >&5 | 11542 echo "configure:11543: checking for $ac_hdr" >&5 |
11535 | 11543 |
11536 cat > conftest.$ac_ext <<EOF | 11544 cat > conftest.$ac_ext <<EOF |
11537 #line 11538 "configure" | 11545 #line 11546 "configure" |
11538 #include "confdefs.h" | 11546 #include "confdefs.h" |
11539 #include <$ac_hdr> | 11547 #include <$ac_hdr> |
11540 EOF | 11548 EOF |
11541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11542 { (eval echo configure:11543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11550 { (eval echo configure:11551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11544 if test -z "$ac_err"; then | 11552 if test -z "$ac_err"; then |
11545 rm -rf conftest* | 11553 rm -rf conftest* |
11546 eval "ac_cv_header_$ac_safe=yes" | 11554 eval "ac_cv_header_$ac_safe=yes" |
11547 else | 11555 else |
11569 done | 11577 done |
11570 | 11578 |
11571 | 11579 |
11572 | 11580 |
11573 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11581 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11574 echo "configure:11575: checking for kvm_read in -lkvm" >&5 | 11582 echo "configure:11583: checking for kvm_read in -lkvm" >&5 |
11575 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11583 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11576 | 11584 |
11577 xe_check_libs=" -lkvm " | 11585 xe_check_libs=" -lkvm " |
11578 cat > conftest.$ac_ext <<EOF | 11586 cat > conftest.$ac_ext <<EOF |
11579 #line 11580 "configure" | 11587 #line 11588 "configure" |
11580 #include "confdefs.h" | 11588 #include "confdefs.h" |
11581 /* Override any gcc2 internal prototype to avoid an error. */ | 11589 /* Override any gcc2 internal prototype to avoid an error. */ |
11582 /* We use char because int might match the return type of a gcc2 | 11590 /* We use char because int might match the return type of a gcc2 |
11583 builtin and then its argument prototype would still apply. */ | 11591 builtin and then its argument prototype would still apply. */ |
11584 char kvm_read(); | 11592 char kvm_read(); |
11585 | 11593 |
11586 int main() { | 11594 int main() { |
11587 kvm_read() | 11595 kvm_read() |
11588 ; return 0; } | 11596 ; return 0; } |
11589 EOF | 11597 EOF |
11590 if { (eval echo configure:11591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11598 if { (eval echo configure:11599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11591 rm -rf conftest* | 11599 rm -rf conftest* |
11592 eval "ac_cv_lib_$ac_lib_var=yes" | 11600 eval "ac_cv_lib_$ac_lib_var=yes" |
11593 else | 11601 else |
11594 echo "configure: failed program was:" >&5 | 11602 echo "configure: failed program was:" >&5 |
11595 cat conftest.$ac_ext >&5 | 11603 cat conftest.$ac_ext >&5 |
11619 | 11627 |
11620 | 11628 |
11621 fi | 11629 fi |
11622 | 11630 |
11623 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11631 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11624 echo "configure:11625: checking whether netdb declares h_errno" >&5 | 11632 echo "configure:11633: checking whether netdb declares h_errno" >&5 |
11625 cat > conftest.$ac_ext <<EOF | 11633 cat > conftest.$ac_ext <<EOF |
11626 #line 11627 "configure" | 11634 #line 11635 "configure" |
11627 #include "confdefs.h" | 11635 #include "confdefs.h" |
11628 #include <netdb.h> | 11636 #include <netdb.h> |
11629 int main() { | 11637 int main() { |
11630 return h_errno; | 11638 return h_errno; |
11631 ; return 0; } | 11639 ; return 0; } |
11632 EOF | 11640 EOF |
11633 if { (eval echo configure:11634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11641 if { (eval echo configure:11642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11634 rm -rf conftest* | 11642 rm -rf conftest* |
11635 echo "$ac_t""yes" 1>&6 | 11643 echo "$ac_t""yes" 1>&6 |
11636 { test "$extra_verbose" = "yes" && cat << \EOF | 11644 { test "$extra_verbose" = "yes" && cat << \EOF |
11637 Defining HAVE_H_ERRNO | 11645 Defining HAVE_H_ERRNO |
11638 EOF | 11646 EOF |
11648 echo "$ac_t""no" 1>&6 | 11656 echo "$ac_t""no" 1>&6 |
11649 fi | 11657 fi |
11650 rm -f conftest* | 11658 rm -f conftest* |
11651 | 11659 |
11652 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11660 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11653 echo "configure:11654: checking for sigsetjmp" >&5 | 11661 echo "configure:11662: checking for sigsetjmp" >&5 |
11654 cat > conftest.$ac_ext <<EOF | 11662 cat > conftest.$ac_ext <<EOF |
11655 #line 11656 "configure" | 11663 #line 11664 "configure" |
11656 #include "confdefs.h" | 11664 #include "confdefs.h" |
11657 #include <setjmp.h> | 11665 #include <setjmp.h> |
11658 int main() { | 11666 int main() { |
11659 sigjmp_buf bar; sigsetjmp (bar, 0); | 11667 sigjmp_buf bar; sigsetjmp (bar, 0); |
11660 ; return 0; } | 11668 ; return 0; } |
11661 EOF | 11669 EOF |
11662 if { (eval echo configure:11663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11670 if { (eval echo configure:11671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11663 rm -rf conftest* | 11671 rm -rf conftest* |
11664 echo "$ac_t""yes" 1>&6 | 11672 echo "$ac_t""yes" 1>&6 |
11665 { test "$extra_verbose" = "yes" && cat << \EOF | 11673 { test "$extra_verbose" = "yes" && cat << \EOF |
11666 Defining HAVE_SIGSETJMP | 11674 Defining HAVE_SIGSETJMP |
11667 EOF | 11675 EOF |
11677 echo "$ac_t""no" 1>&6 | 11685 echo "$ac_t""no" 1>&6 |
11678 fi | 11686 fi |
11679 rm -f conftest* | 11687 rm -f conftest* |
11680 | 11688 |
11681 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11689 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11682 echo "configure:11683: checking whether localtime caches TZ" >&5 | 11690 echo "configure:11691: checking whether localtime caches TZ" >&5 |
11683 | 11691 |
11684 if test "$ac_cv_func_tzset" = "yes"; then | 11692 if test "$ac_cv_func_tzset" = "yes"; then |
11685 cat > conftest.$ac_ext <<EOF | 11693 cat > conftest.$ac_ext <<EOF |
11686 #line 11687 "configure" | 11694 #line 11695 "configure" |
11687 #include "confdefs.h" | 11695 #include "confdefs.h" |
11688 #include <time.h> | 11696 #include <time.h> |
11689 #if STDC_HEADERS | 11697 #if STDC_HEADERS |
11690 # include <stdlib.h> | 11698 # include <stdlib.h> |
11691 #endif | 11699 #endif |
11716 if (localtime (&now)->tm_hour != hour_unset) | 11724 if (localtime (&now)->tm_hour != hour_unset) |
11717 exit (1); | 11725 exit (1); |
11718 exit (0); | 11726 exit (0); |
11719 } | 11727 } |
11720 EOF | 11728 EOF |
11721 if { (eval echo configure:11722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11729 if { (eval echo configure:11730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11722 then | 11730 then |
11723 emacs_cv_localtime_cache=no | 11731 emacs_cv_localtime_cache=no |
11724 else | 11732 else |
11725 conftest_rc="$?" | 11733 conftest_rc="$?" |
11726 echo "configure: failed program was:" >&5 | 11734 echo "configure: failed program was:" >&5 |
11746 | 11754 |
11747 fi | 11755 fi |
11748 | 11756 |
11749 if test "$HAVE_TIMEVAL" = "yes"; then | 11757 if test "$HAVE_TIMEVAL" = "yes"; then |
11750 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11758 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11751 echo "configure:11752: checking whether gettimeofday accepts one or two arguments" >&5 | 11759 echo "configure:11760: checking whether gettimeofday accepts one or two arguments" >&5 |
11752 cat > conftest.$ac_ext <<EOF | 11760 cat > conftest.$ac_ext <<EOF |
11753 #line 11754 "configure" | 11761 #line 11762 "configure" |
11754 #include "confdefs.h" | 11762 #include "confdefs.h" |
11755 | 11763 |
11756 #ifdef TIME_WITH_SYS_TIME | 11764 #ifdef TIME_WITH_SYS_TIME |
11757 #include <sys/time.h> | 11765 #include <sys/time.h> |
11758 #include <time.h> | 11766 #include <time.h> |
11769 struct timeval time; | 11777 struct timeval time; |
11770 gettimeofday (&time, 0); | 11778 gettimeofday (&time, 0); |
11771 | 11779 |
11772 ; return 0; } | 11780 ; return 0; } |
11773 EOF | 11781 EOF |
11774 if { (eval echo configure:11775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11782 if { (eval echo configure:11783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11775 rm -rf conftest* | 11783 rm -rf conftest* |
11776 echo "$ac_t""two" 1>&6 | 11784 echo "$ac_t""two" 1>&6 |
11777 else | 11785 else |
11778 echo "configure: failed program was:" >&5 | 11786 echo "configure: failed program was:" >&5 |
11779 cat conftest.$ac_ext >&5 | 11787 cat conftest.$ac_ext >&5 |
11791 rm -f conftest* | 11799 rm -f conftest* |
11792 fi | 11800 fi |
11793 | 11801 |
11794 | 11802 |
11795 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11803 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11796 echo "configure:11797: checking for inline" >&5 | 11804 echo "configure:11805: checking for inline" >&5 |
11797 | 11805 |
11798 ac_cv_c_inline=no | 11806 ac_cv_c_inline=no |
11799 for ac_kw in inline __inline__ __inline; do | 11807 for ac_kw in inline __inline__ __inline; do |
11800 cat > conftest.$ac_ext <<EOF | 11808 cat > conftest.$ac_ext <<EOF |
11801 #line 11802 "configure" | 11809 #line 11810 "configure" |
11802 #include "confdefs.h" | 11810 #include "confdefs.h" |
11803 | 11811 |
11804 int main() { | 11812 int main() { |
11805 } $ac_kw foo() { | 11813 } $ac_kw foo() { |
11806 ; return 0; } | 11814 ; return 0; } |
11807 EOF | 11815 EOF |
11808 if { (eval echo configure:11809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11816 if { (eval echo configure:11817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11809 rm -rf conftest* | 11817 rm -rf conftest* |
11810 ac_cv_c_inline=$ac_kw; break | 11818 ac_cv_c_inline=$ac_kw; break |
11811 else | 11819 else |
11812 echo "configure: failed program was:" >&5 | 11820 echo "configure: failed program was:" >&5 |
11813 cat conftest.$ac_ext >&5 | 11821 cat conftest.$ac_ext >&5 |
11844 | 11852 |
11845 if test "$__DECC" != "yes"; then | 11853 if test "$__DECC" != "yes"; then |
11846 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11854 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11847 # for constant arguments. Useless! | 11855 # for constant arguments. Useless! |
11848 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11856 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11849 echo "configure:11850: checking for working alloca.h" >&5 | 11857 echo "configure:11858: checking for working alloca.h" >&5 |
11850 | 11858 |
11851 cat > conftest.$ac_ext <<EOF | 11859 cat > conftest.$ac_ext <<EOF |
11852 #line 11853 "configure" | 11860 #line 11861 "configure" |
11853 #include "confdefs.h" | 11861 #include "confdefs.h" |
11854 #include <alloca.h> | 11862 #include <alloca.h> |
11855 int main() { | 11863 int main() { |
11856 char *p = alloca(2 * sizeof(int)); | 11864 char *p = alloca(2 * sizeof(int)); |
11857 ; return 0; } | 11865 ; return 0; } |
11858 EOF | 11866 EOF |
11859 if { (eval echo configure:11860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11867 if { (eval echo configure:11868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11860 rm -rf conftest* | 11868 rm -rf conftest* |
11861 ac_cv_header_alloca_h=yes | 11869 ac_cv_header_alloca_h=yes |
11862 else | 11870 else |
11863 echo "configure: failed program was:" >&5 | 11871 echo "configure: failed program was:" >&5 |
11864 cat conftest.$ac_ext >&5 | 11872 cat conftest.$ac_ext >&5 |
11878 } | 11886 } |
11879 | 11887 |
11880 fi | 11888 fi |
11881 | 11889 |
11882 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11890 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11883 echo "configure:11884: checking for alloca" >&5 | 11891 echo "configure:11892: checking for alloca" >&5 |
11884 | 11892 |
11885 cat > conftest.$ac_ext <<EOF | 11893 cat > conftest.$ac_ext <<EOF |
11886 #line 11887 "configure" | 11894 #line 11895 "configure" |
11887 #include "confdefs.h" | 11895 #include "confdefs.h" |
11888 | 11896 |
11889 #ifdef __GNUC__ | 11897 #ifdef __GNUC__ |
11890 # define alloca __builtin_alloca | 11898 # define alloca __builtin_alloca |
11891 #else | 11899 #else |
11909 | 11917 |
11910 int main() { | 11918 int main() { |
11911 char *p = (char *) alloca(1); | 11919 char *p = (char *) alloca(1); |
11912 ; return 0; } | 11920 ; return 0; } |
11913 EOF | 11921 EOF |
11914 if { (eval echo configure:11915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11922 if { (eval echo configure:11923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11915 rm -rf conftest* | 11923 rm -rf conftest* |
11916 ac_cv_func_alloca_works=yes | 11924 ac_cv_func_alloca_works=yes |
11917 else | 11925 else |
11918 echo "configure: failed program was:" >&5 | 11926 echo "configure: failed program was:" >&5 |
11919 cat conftest.$ac_ext >&5 | 11927 cat conftest.$ac_ext >&5 |
11948 EOF | 11956 EOF |
11949 } | 11957 } |
11950 | 11958 |
11951 | 11959 |
11952 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11960 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11953 echo "configure:11954: checking whether alloca needs Cray hooks" >&5 | 11961 echo "configure:11962: checking whether alloca needs Cray hooks" >&5 |
11954 | 11962 |
11955 cat > conftest.$ac_ext <<EOF | 11963 cat > conftest.$ac_ext <<EOF |
11956 #line 11957 "configure" | 11964 #line 11965 "configure" |
11957 #include "confdefs.h" | 11965 #include "confdefs.h" |
11958 #if defined(CRAY) && ! defined(CRAY2) | 11966 #if defined(CRAY) && ! defined(CRAY2) |
11959 webecray | 11967 webecray |
11960 #else | 11968 #else |
11961 wenotbecray | 11969 wenotbecray |
11975 | 11983 |
11976 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11984 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11977 if test $ac_cv_os_cray = yes; then | 11985 if test $ac_cv_os_cray = yes; then |
11978 for ac_func in _getb67 GETB67 getb67; do | 11986 for ac_func in _getb67 GETB67 getb67; do |
11979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11987 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11980 echo "configure:11981: checking for $ac_func" >&5 | 11988 echo "configure:11989: checking for $ac_func" >&5 |
11981 | 11989 |
11982 cat > conftest.$ac_ext <<EOF | 11990 cat > conftest.$ac_ext <<EOF |
11983 #line 11984 "configure" | 11991 #line 11992 "configure" |
11984 #include "confdefs.h" | 11992 #include "confdefs.h" |
11985 /* System header to define __stub macros and hopefully few prototypes, | 11993 /* System header to define __stub macros and hopefully few prototypes, |
11986 which can conflict with char $ac_func(); below. */ | 11994 which can conflict with char $ac_func(); below. */ |
11987 #include <assert.h> | 11995 #include <assert.h> |
11988 /* Override any gcc2 internal prototype to avoid an error. */ | 11996 /* Override any gcc2 internal prototype to avoid an error. */ |
12001 $ac_func(); | 12009 $ac_func(); |
12002 #endif | 12010 #endif |
12003 | 12011 |
12004 ; return 0; } | 12012 ; return 0; } |
12005 EOF | 12013 EOF |
12006 if { (eval echo configure:12007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12014 if { (eval echo configure:12015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12007 rm -rf conftest* | 12015 rm -rf conftest* |
12008 eval "ac_cv_func_$ac_func=yes" | 12016 eval "ac_cv_func_$ac_func=yes" |
12009 else | 12017 else |
12010 echo "configure: failed program was:" >&5 | 12018 echo "configure: failed program was:" >&5 |
12011 cat conftest.$ac_ext >&5 | 12019 cat conftest.$ac_ext >&5 |
12031 | 12039 |
12032 done | 12040 done |
12033 fi | 12041 fi |
12034 | 12042 |
12035 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 12043 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
12036 echo "configure:12037: checking stack direction for C alloca" >&5 | 12044 echo "configure:12045: checking stack direction for C alloca" >&5 |
12037 | 12045 |
12038 cat > conftest.$ac_ext <<EOF | 12046 cat > conftest.$ac_ext <<EOF |
12039 #line 12040 "configure" | 12047 #line 12048 "configure" |
12040 #include "confdefs.h" | 12048 #include "confdefs.h" |
12041 find_stack_direction () | 12049 find_stack_direction () |
12042 { | 12050 { |
12043 static char *addr = 0; | 12051 static char *addr = 0; |
12044 auto char dummy; | 12052 auto char dummy; |
12053 main () | 12061 main () |
12054 { | 12062 { |
12055 exit (find_stack_direction() < 0); | 12063 exit (find_stack_direction() < 0); |
12056 } | 12064 } |
12057 EOF | 12065 EOF |
12058 if { (eval echo configure:12059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12066 if { (eval echo configure:12067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12059 then | 12067 then |
12060 ac_cv_c_stack_direction=1 | 12068 ac_cv_c_stack_direction=1 |
12061 else | 12069 else |
12062 conftest_rc="$?" | 12070 conftest_rc="$?" |
12063 echo "configure: failed program was:" >&5 | 12071 echo "configure: failed program was:" >&5 |
12083 fi | 12091 fi |
12084 fi | 12092 fi |
12085 | 12093 |
12086 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 12094 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
12087 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 12095 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
12088 echo "configure:12089: checking for vfork.h" >&5 | 12096 echo "configure:12097: checking for vfork.h" >&5 |
12089 | 12097 |
12090 cat > conftest.$ac_ext <<EOF | 12098 cat > conftest.$ac_ext <<EOF |
12091 #line 12092 "configure" | 12099 #line 12100 "configure" |
12092 #include "confdefs.h" | 12100 #include "confdefs.h" |
12093 #include <vfork.h> | 12101 #include <vfork.h> |
12094 EOF | 12102 EOF |
12095 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12103 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12096 { (eval echo configure:12097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12104 { (eval echo configure:12105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12105 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12098 if test -z "$ac_err"; then | 12106 if test -z "$ac_err"; then |
12099 rm -rf conftest* | 12107 rm -rf conftest* |
12100 eval "ac_cv_header_$ac_safe=yes" | 12108 eval "ac_cv_header_$ac_safe=yes" |
12101 else | 12109 else |
12119 else | 12127 else |
12120 echo "$ac_t""no" 1>&6 | 12128 echo "$ac_t""no" 1>&6 |
12121 fi | 12129 fi |
12122 | 12130 |
12123 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 12131 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
12124 echo "configure:12125: checking for working vfork" >&5 | 12132 echo "configure:12133: checking for working vfork" >&5 |
12125 | 12133 |
12126 cat > conftest.$ac_ext <<EOF | 12134 cat > conftest.$ac_ext <<EOF |
12127 #line 12128 "configure" | 12135 #line 12136 "configure" |
12128 #include "confdefs.h" | 12136 #include "confdefs.h" |
12129 /* Thanks to Paul Eggert for this test. */ | 12137 /* Thanks to Paul Eggert for this test. */ |
12130 #include <stdio.h> | 12138 #include <stdio.h> |
12131 #include <sys/types.h> | 12139 #include <sys/types.h> |
12132 #include <sys/stat.h> | 12140 #include <sys/stat.h> |
12217 || fstat(fileno(stdout), &st) != 0 | 12225 || fstat(fileno(stdout), &st) != 0 |
12218 ); | 12226 ); |
12219 } | 12227 } |
12220 } | 12228 } |
12221 EOF | 12229 EOF |
12222 if { (eval echo configure:12223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12230 if { (eval echo configure:12231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12223 then | 12231 then |
12224 ac_cv_func_vfork_works=yes | 12232 ac_cv_func_vfork_works=yes |
12225 else | 12233 else |
12226 conftest_rc="$?" | 12234 conftest_rc="$?" |
12227 echo "configure: failed program was:" >&5 | 12235 echo "configure: failed program was:" >&5 |
12243 | 12251 |
12244 fi | 12252 fi |
12245 | 12253 |
12246 | 12254 |
12247 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12255 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12248 echo "configure:12249: checking for working strcoll" >&5 | 12256 echo "configure:12257: checking for working strcoll" >&5 |
12249 | 12257 |
12250 cat > conftest.$ac_ext <<EOF | 12258 cat > conftest.$ac_ext <<EOF |
12251 #line 12252 "configure" | 12259 #line 12260 "configure" |
12252 #include "confdefs.h" | 12260 #include "confdefs.h" |
12253 #include <string.h> | 12261 #include <string.h> |
12254 main () | 12262 main () |
12255 { | 12263 { |
12256 exit (strcoll ("abc", "def") >= 0 || | 12264 exit (strcoll ("abc", "def") >= 0 || |
12257 strcoll ("ABC", "DEF") >= 0 || | 12265 strcoll ("ABC", "DEF") >= 0 || |
12258 strcoll ("123", "456") >= 0); | 12266 strcoll ("123", "456") >= 0); |
12259 } | 12267 } |
12260 EOF | 12268 EOF |
12261 if { (eval echo configure:12262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12269 if { (eval echo configure:12270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12262 then | 12270 then |
12263 ac_cv_func_strcoll_works=yes | 12271 ac_cv_func_strcoll_works=yes |
12264 else | 12272 else |
12265 conftest_rc="$?" | 12273 conftest_rc="$?" |
12266 echo "configure: failed program was:" >&5 | 12274 echo "configure: failed program was:" >&5 |
12284 | 12292 |
12285 | 12293 |
12286 for ac_func in getpgrp | 12294 for ac_func in getpgrp |
12287 do | 12295 do |
12288 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12289 echo "configure:12290: checking for $ac_func" >&5 | 12297 echo "configure:12298: checking for $ac_func" >&5 |
12290 | 12298 |
12291 cat > conftest.$ac_ext <<EOF | 12299 cat > conftest.$ac_ext <<EOF |
12292 #line 12293 "configure" | 12300 #line 12301 "configure" |
12293 #include "confdefs.h" | 12301 #include "confdefs.h" |
12294 /* System header to define __stub macros and hopefully few prototypes, | 12302 /* System header to define __stub macros and hopefully few prototypes, |
12295 which can conflict with char $ac_func(); below. */ | 12303 which can conflict with char $ac_func(); below. */ |
12296 #include <assert.h> | 12304 #include <assert.h> |
12297 /* Override any gcc2 internal prototype to avoid an error. */ | 12305 /* Override any gcc2 internal prototype to avoid an error. */ |
12310 $ac_func(); | 12318 $ac_func(); |
12311 #endif | 12319 #endif |
12312 | 12320 |
12313 ; return 0; } | 12321 ; return 0; } |
12314 EOF | 12322 EOF |
12315 if { (eval echo configure:12316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12323 if { (eval echo configure:12324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12316 rm -rf conftest* | 12324 rm -rf conftest* |
12317 eval "ac_cv_func_$ac_func=yes" | 12325 eval "ac_cv_func_$ac_func=yes" |
12318 else | 12326 else |
12319 echo "configure: failed program was:" >&5 | 12327 echo "configure: failed program was:" >&5 |
12320 cat conftest.$ac_ext >&5 | 12328 cat conftest.$ac_ext >&5 |
12338 echo "$ac_t""no" 1>&6 | 12346 echo "$ac_t""no" 1>&6 |
12339 fi | 12347 fi |
12340 done | 12348 done |
12341 | 12349 |
12342 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12350 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12343 echo "configure:12344: checking whether getpgrp takes no argument" >&5 | 12351 echo "configure:12352: checking whether getpgrp takes no argument" >&5 |
12344 | 12352 |
12345 cat > conftest.$ac_ext <<EOF | 12353 cat > conftest.$ac_ext <<EOF |
12346 #line 12347 "configure" | 12354 #line 12355 "configure" |
12347 #include "confdefs.h" | 12355 #include "confdefs.h" |
12348 | 12356 |
12349 /* | 12357 /* |
12350 * If this system has a BSD-style getpgrp(), | 12358 * If this system has a BSD-style getpgrp(), |
12351 * which takes a pid argument, exit unsuccessfully. | 12359 * which takes a pid argument, exit unsuccessfully. |
12396 exit(s>>8); | 12404 exit(s>>8); |
12397 } | 12405 } |
12398 } | 12406 } |
12399 | 12407 |
12400 EOF | 12408 EOF |
12401 if { (eval echo configure:12402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12409 if { (eval echo configure:12410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12402 then | 12410 then |
12403 ac_cv_func_getpgrp_void=yes | 12411 ac_cv_func_getpgrp_void=yes |
12404 else | 12412 else |
12405 conftest_rc="$?" | 12413 conftest_rc="$?" |
12406 echo "configure: failed program was:" >&5 | 12414 echo "configure: failed program was:" >&5 |
12423 | 12431 |
12424 fi | 12432 fi |
12425 | 12433 |
12426 | 12434 |
12427 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12435 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12428 echo "configure:12429: checking for working mmap" >&5 | 12436 echo "configure:12437: checking for working mmap" >&5 |
12429 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12437 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12430 cat > conftest.$ac_ext <<EOF | 12438 cat > conftest.$ac_ext <<EOF |
12431 #line 12432 "configure" | 12439 #line 12440 "configure" |
12432 #include "confdefs.h" | 12440 #include "confdefs.h" |
12433 #include <stdio.h> | 12441 #include <stdio.h> |
12434 #include <unistd.h> | 12442 #include <unistd.h> |
12435 #include <fcntl.h> | 12443 #include <fcntl.h> |
12436 #include <sys/mman.h> | 12444 #include <sys/mman.h> |
12459 return 0; | 12467 return 0; |
12460 perror ("conftest: mmap failed"); | 12468 perror ("conftest: mmap failed"); |
12461 return 1; | 12469 return 1; |
12462 } | 12470 } |
12463 EOF | 12471 EOF |
12464 if { (eval echo configure:12465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12472 if { (eval echo configure:12473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12465 then | 12473 then |
12466 have_mmap=yes | 12474 have_mmap=yes |
12467 else | 12475 else |
12468 conftest_rc="$?" | 12476 conftest_rc="$?" |
12469 echo "configure: failed program was:" >&5 | 12477 echo "configure: failed program was:" >&5 |
12488 esac | 12496 esac |
12489 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12497 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12490 if test "$rel_alloc $have_mmap" = "default yes"; then | 12498 if test "$rel_alloc $have_mmap" = "default yes"; then |
12491 if test "$doug_lea_malloc" = "yes"; then | 12499 if test "$doug_lea_malloc" = "yes"; then |
12492 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12500 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12493 echo "configure:12494: checking for M_MMAP_THRESHOLD" >&5 | 12501 echo "configure:12502: checking for M_MMAP_THRESHOLD" >&5 |
12494 cat > conftest.$ac_ext <<EOF | 12502 cat > conftest.$ac_ext <<EOF |
12495 #line 12496 "configure" | 12503 #line 12504 "configure" |
12496 #include "confdefs.h" | 12504 #include "confdefs.h" |
12497 #include <malloc.h> | 12505 #include <malloc.h> |
12498 int main() { | 12506 int main() { |
12499 | 12507 |
12500 #ifndef M_MMAP_THRESHOLD | 12508 #ifndef M_MMAP_THRESHOLD |
12502 !@+$%^&*_)(_ - unlikely to compile... | 12510 !@+$%^&*_)(_ - unlikely to compile... |
12503 #endif | 12511 #endif |
12504 | 12512 |
12505 ; return 0; } | 12513 ; return 0; } |
12506 EOF | 12514 EOF |
12507 if { (eval echo configure:12508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12515 if { (eval echo configure:12516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12508 rm -rf conftest* | 12516 rm -rf conftest* |
12509 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12517 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12510 else | 12518 else |
12511 echo "configure: failed program was:" >&5 | 12519 echo "configure: failed program was:" >&5 |
12512 cat conftest.$ac_ext >&5 | 12520 cat conftest.$ac_ext >&5 |
12527 } | 12535 } |
12528 | 12536 |
12529 | 12537 |
12530 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12538 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12531 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12539 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12532 echo "configure:12533: checking for termios.h" >&5 | 12540 echo "configure:12541: checking for termios.h" >&5 |
12533 | 12541 |
12534 cat > conftest.$ac_ext <<EOF | 12542 cat > conftest.$ac_ext <<EOF |
12535 #line 12536 "configure" | 12543 #line 12544 "configure" |
12536 #include "confdefs.h" | 12544 #include "confdefs.h" |
12537 #include <termios.h> | 12545 #include <termios.h> |
12538 EOF | 12546 EOF |
12539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12547 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; } | 12548 { (eval echo configure:12549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12549 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12542 if test -z "$ac_err"; then | 12550 if test -z "$ac_err"; then |
12543 rm -rf conftest* | 12551 rm -rf conftest* |
12544 eval "ac_cv_header_$ac_safe=yes" | 12552 eval "ac_cv_header_$ac_safe=yes" |
12545 else | 12553 else |
12578 | 12586 |
12579 else | 12587 else |
12580 echo "$ac_t""no" 1>&6 | 12588 echo "$ac_t""no" 1>&6 |
12581 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12589 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12582 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12590 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12583 echo "configure:12584: checking for termio.h" >&5 | 12591 echo "configure:12592: checking for termio.h" >&5 |
12584 | 12592 |
12585 cat > conftest.$ac_ext <<EOF | 12593 cat > conftest.$ac_ext <<EOF |
12586 #line 12587 "configure" | 12594 #line 12595 "configure" |
12587 #include "confdefs.h" | 12595 #include "confdefs.h" |
12588 #include <termio.h> | 12596 #include <termio.h> |
12589 EOF | 12597 EOF |
12590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12591 { (eval echo configure:12592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12599 { (eval echo configure:12600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12592 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12593 if test -z "$ac_err"; then | 12601 if test -z "$ac_err"; then |
12594 rm -rf conftest* | 12602 rm -rf conftest* |
12595 eval "ac_cv_header_$ac_safe=yes" | 12603 eval "ac_cv_header_$ac_safe=yes" |
12596 else | 12604 else |
12618 fi | 12626 fi |
12619 | 12627 |
12620 | 12628 |
12621 | 12629 |
12622 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12630 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12623 echo "configure:12624: checking for socket" >&5 | 12631 echo "configure:12632: checking for socket" >&5 |
12624 | 12632 |
12625 cat > conftest.$ac_ext <<EOF | 12633 cat > conftest.$ac_ext <<EOF |
12626 #line 12627 "configure" | 12634 #line 12635 "configure" |
12627 #include "confdefs.h" | 12635 #include "confdefs.h" |
12628 /* System header to define __stub macros and hopefully few prototypes, | 12636 /* System header to define __stub macros and hopefully few prototypes, |
12629 which can conflict with char socket(); below. */ | 12637 which can conflict with char socket(); below. */ |
12630 #include <assert.h> | 12638 #include <assert.h> |
12631 /* Override any gcc2 internal prototype to avoid an error. */ | 12639 /* Override any gcc2 internal prototype to avoid an error. */ |
12644 socket(); | 12652 socket(); |
12645 #endif | 12653 #endif |
12646 | 12654 |
12647 ; return 0; } | 12655 ; return 0; } |
12648 EOF | 12656 EOF |
12649 if { (eval echo configure:12650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12657 if { (eval echo configure:12658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12650 rm -rf conftest* | 12658 rm -rf conftest* |
12651 eval "ac_cv_func_socket=yes" | 12659 eval "ac_cv_func_socket=yes" |
12652 else | 12660 else |
12653 echo "configure: failed program was:" >&5 | 12661 echo "configure: failed program was:" >&5 |
12654 cat conftest.$ac_ext >&5 | 12662 cat conftest.$ac_ext >&5 |
12659 | 12667 |
12660 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12668 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12661 echo "$ac_t""yes" 1>&6 | 12669 echo "$ac_t""yes" 1>&6 |
12662 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12670 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12663 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12671 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12664 echo "configure:12665: checking for netinet/in.h" >&5 | 12672 echo "configure:12673: checking for netinet/in.h" >&5 |
12665 | 12673 |
12666 cat > conftest.$ac_ext <<EOF | 12674 cat > conftest.$ac_ext <<EOF |
12667 #line 12668 "configure" | 12675 #line 12676 "configure" |
12668 #include "confdefs.h" | 12676 #include "confdefs.h" |
12669 #include <netinet/in.h> | 12677 #include <netinet/in.h> |
12670 EOF | 12678 EOF |
12671 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12672 { (eval echo configure:12673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12680 { (eval echo configure:12681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12673 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12674 if test -z "$ac_err"; then | 12682 if test -z "$ac_err"; then |
12675 rm -rf conftest* | 12683 rm -rf conftest* |
12676 eval "ac_cv_header_$ac_safe=yes" | 12684 eval "ac_cv_header_$ac_safe=yes" |
12677 else | 12685 else |
12684 rm -f conftest* | 12692 rm -f conftest* |
12685 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12693 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12686 echo "$ac_t""yes" 1>&6 | 12694 echo "$ac_t""yes" 1>&6 |
12687 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12695 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12688 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12696 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12689 echo "configure:12690: checking for arpa/inet.h" >&5 | 12697 echo "configure:12698: checking for arpa/inet.h" >&5 |
12690 | 12698 |
12691 cat > conftest.$ac_ext <<EOF | 12699 cat > conftest.$ac_ext <<EOF |
12692 #line 12693 "configure" | 12700 #line 12701 "configure" |
12693 #include "confdefs.h" | 12701 #include "confdefs.h" |
12694 #include <arpa/inet.h> | 12702 #include <arpa/inet.h> |
12695 EOF | 12703 EOF |
12696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12697 { (eval echo configure:12698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12705 { (eval echo configure:12706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12699 if test -z "$ac_err"; then | 12707 if test -z "$ac_err"; then |
12700 rm -rf conftest* | 12708 rm -rf conftest* |
12701 eval "ac_cv_header_$ac_safe=yes" | 12709 eval "ac_cv_header_$ac_safe=yes" |
12702 else | 12710 else |
12717 #define HAVE_SOCKETS 1 | 12725 #define HAVE_SOCKETS 1 |
12718 EOF | 12726 EOF |
12719 } | 12727 } |
12720 | 12728 |
12721 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12729 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12722 echo "configure:12723: checking "for sun_len member in struct sockaddr_un"" >&5 | 12730 echo "configure:12731: checking "for sun_len member in struct sockaddr_un"" >&5 |
12723 cat > conftest.$ac_ext <<EOF | 12731 cat > conftest.$ac_ext <<EOF |
12724 #line 12725 "configure" | 12732 #line 12733 "configure" |
12725 #include "confdefs.h" | 12733 #include "confdefs.h" |
12726 | 12734 |
12727 #include <sys/types.h> | 12735 #include <sys/types.h> |
12728 #include <sys/socket.h> | 12736 #include <sys/socket.h> |
12729 #include <sys/un.h> | 12737 #include <sys/un.h> |
12730 | 12738 |
12731 int main() { | 12739 int main() { |
12732 static struct sockaddr_un x; x.sun_len = 1; | 12740 static struct sockaddr_un x; x.sun_len = 1; |
12733 ; return 0; } | 12741 ; return 0; } |
12734 EOF | 12742 EOF |
12735 if { (eval echo configure:12736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12743 if { (eval echo configure:12744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12736 rm -rf conftest* | 12744 rm -rf conftest* |
12737 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12745 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12738 Defining HAVE_SOCKADDR_SUN_LEN | 12746 Defining HAVE_SOCKADDR_SUN_LEN |
12739 EOF | 12747 EOF |
12740 cat >> confdefs.h <<\EOF | 12748 cat >> confdefs.h <<\EOF |
12748 rm -rf conftest* | 12756 rm -rf conftest* |
12749 echo "$ac_t""no" 1>&6 | 12757 echo "$ac_t""no" 1>&6 |
12750 fi | 12758 fi |
12751 rm -f conftest* | 12759 rm -f conftest* |
12752 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12760 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12753 echo "configure:12754: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12761 echo "configure:12762: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12754 cat > conftest.$ac_ext <<EOF | 12762 cat > conftest.$ac_ext <<EOF |
12755 #line 12756 "configure" | 12763 #line 12764 "configure" |
12756 #include "confdefs.h" | 12764 #include "confdefs.h" |
12757 | 12765 |
12758 #include <sys/types.h> | 12766 #include <sys/types.h> |
12759 #include <netinet/in.h> | 12767 #include <netinet/in.h> |
12760 | 12768 |
12761 int main() { | 12769 int main() { |
12762 static struct ip_mreq x; | 12770 static struct ip_mreq x; |
12763 ; return 0; } | 12771 ; return 0; } |
12764 EOF | 12772 EOF |
12765 if { (eval echo configure:12766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12773 if { (eval echo configure:12774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12766 rm -rf conftest* | 12774 rm -rf conftest* |
12767 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12775 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12768 Defining HAVE_MULTICAST | 12776 Defining HAVE_MULTICAST |
12769 EOF | 12777 EOF |
12770 cat >> confdefs.h <<\EOF | 12778 cat >> confdefs.h <<\EOF |
12791 echo "$ac_t""no" 1>&6 | 12799 echo "$ac_t""no" 1>&6 |
12792 fi | 12800 fi |
12793 | 12801 |
12794 | 12802 |
12795 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12803 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12796 echo "configure:12797: checking for msgget" >&5 | 12804 echo "configure:12805: checking for msgget" >&5 |
12797 | 12805 |
12798 cat > conftest.$ac_ext <<EOF | 12806 cat > conftest.$ac_ext <<EOF |
12799 #line 12800 "configure" | 12807 #line 12808 "configure" |
12800 #include "confdefs.h" | 12808 #include "confdefs.h" |
12801 /* System header to define __stub macros and hopefully few prototypes, | 12809 /* System header to define __stub macros and hopefully few prototypes, |
12802 which can conflict with char msgget(); below. */ | 12810 which can conflict with char msgget(); below. */ |
12803 #include <assert.h> | 12811 #include <assert.h> |
12804 /* Override any gcc2 internal prototype to avoid an error. */ | 12812 /* Override any gcc2 internal prototype to avoid an error. */ |
12817 msgget(); | 12825 msgget(); |
12818 #endif | 12826 #endif |
12819 | 12827 |
12820 ; return 0; } | 12828 ; return 0; } |
12821 EOF | 12829 EOF |
12822 if { (eval echo configure:12823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12830 if { (eval echo configure:12831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12823 rm -rf conftest* | 12831 rm -rf conftest* |
12824 eval "ac_cv_func_msgget=yes" | 12832 eval "ac_cv_func_msgget=yes" |
12825 else | 12833 else |
12826 echo "configure: failed program was:" >&5 | 12834 echo "configure: failed program was:" >&5 |
12827 cat conftest.$ac_ext >&5 | 12835 cat conftest.$ac_ext >&5 |
12832 | 12840 |
12833 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12841 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12834 echo "$ac_t""yes" 1>&6 | 12842 echo "$ac_t""yes" 1>&6 |
12835 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12843 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12836 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12844 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12837 echo "configure:12838: checking for sys/ipc.h" >&5 | 12845 echo "configure:12846: checking for sys/ipc.h" >&5 |
12838 | 12846 |
12839 cat > conftest.$ac_ext <<EOF | 12847 cat > conftest.$ac_ext <<EOF |
12840 #line 12841 "configure" | 12848 #line 12849 "configure" |
12841 #include "confdefs.h" | 12849 #include "confdefs.h" |
12842 #include <sys/ipc.h> | 12850 #include <sys/ipc.h> |
12843 EOF | 12851 EOF |
12844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12845 { (eval echo configure:12846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12853 { (eval echo configure:12854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12847 if test -z "$ac_err"; then | 12855 if test -z "$ac_err"; then |
12848 rm -rf conftest* | 12856 rm -rf conftest* |
12849 eval "ac_cv_header_$ac_safe=yes" | 12857 eval "ac_cv_header_$ac_safe=yes" |
12850 else | 12858 else |
12857 rm -f conftest* | 12865 rm -f conftest* |
12858 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12866 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12859 echo "$ac_t""yes" 1>&6 | 12867 echo "$ac_t""yes" 1>&6 |
12860 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12868 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12861 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12869 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12862 echo "configure:12863: checking for sys/msg.h" >&5 | 12870 echo "configure:12871: checking for sys/msg.h" >&5 |
12863 | 12871 |
12864 cat > conftest.$ac_ext <<EOF | 12872 cat > conftest.$ac_ext <<EOF |
12865 #line 12866 "configure" | 12873 #line 12874 "configure" |
12866 #include "confdefs.h" | 12874 #include "confdefs.h" |
12867 #include <sys/msg.h> | 12875 #include <sys/msg.h> |
12868 EOF | 12876 EOF |
12869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12870 { (eval echo configure:12871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12878 { (eval echo configure:12879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12872 if test -z "$ac_err"; then | 12880 if test -z "$ac_err"; then |
12873 rm -rf conftest* | 12881 rm -rf conftest* |
12874 eval "ac_cv_header_$ac_safe=yes" | 12882 eval "ac_cv_header_$ac_safe=yes" |
12875 else | 12883 else |
12903 fi | 12911 fi |
12904 | 12912 |
12905 | 12913 |
12906 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12914 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12907 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12915 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12908 echo "configure:12909: checking for dirent.h" >&5 | 12916 echo "configure:12917: checking for dirent.h" >&5 |
12909 | 12917 |
12910 cat > conftest.$ac_ext <<EOF | 12918 cat > conftest.$ac_ext <<EOF |
12911 #line 12912 "configure" | 12919 #line 12920 "configure" |
12912 #include "confdefs.h" | 12920 #include "confdefs.h" |
12913 #include <dirent.h> | 12921 #include <dirent.h> |
12914 EOF | 12922 EOF |
12915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12916 { (eval echo configure:12917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12924 { (eval echo configure:12925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12918 if test -z "$ac_err"; then | 12926 if test -z "$ac_err"; then |
12919 rm -rf conftest* | 12927 rm -rf conftest* |
12920 eval "ac_cv_header_$ac_safe=yes" | 12928 eval "ac_cv_header_$ac_safe=yes" |
12921 else | 12929 else |
12938 | 12946 |
12939 else | 12947 else |
12940 echo "$ac_t""no" 1>&6 | 12948 echo "$ac_t""no" 1>&6 |
12941 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12949 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12942 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12950 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12943 echo "configure:12944: checking for sys/dir.h" >&5 | 12951 echo "configure:12952: checking for sys/dir.h" >&5 |
12944 | 12952 |
12945 cat > conftest.$ac_ext <<EOF | 12953 cat > conftest.$ac_ext <<EOF |
12946 #line 12947 "configure" | 12954 #line 12955 "configure" |
12947 #include "confdefs.h" | 12955 #include "confdefs.h" |
12948 #include <sys/dir.h> | 12956 #include <sys/dir.h> |
12949 EOF | 12957 EOF |
12950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12951 { (eval echo configure:12952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12959 { (eval echo configure:12960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12952 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12953 if test -z "$ac_err"; then | 12961 if test -z "$ac_err"; then |
12954 rm -rf conftest* | 12962 rm -rf conftest* |
12955 eval "ac_cv_header_$ac_safe=yes" | 12963 eval "ac_cv_header_$ac_safe=yes" |
12956 else | 12964 else |
12979 fi | 12987 fi |
12980 | 12988 |
12981 | 12989 |
12982 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12990 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12983 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12991 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12984 echo "configure:12985: checking for nlist.h" >&5 | 12992 echo "configure:12993: checking for nlist.h" >&5 |
12985 | 12993 |
12986 cat > conftest.$ac_ext <<EOF | 12994 cat > conftest.$ac_ext <<EOF |
12987 #line 12988 "configure" | 12995 #line 12996 "configure" |
12988 #include "confdefs.h" | 12996 #include "confdefs.h" |
12989 #include <nlist.h> | 12997 #include <nlist.h> |
12990 EOF | 12998 EOF |
12991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12992 { (eval echo configure:12993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13000 { (eval echo configure:13001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12994 if test -z "$ac_err"; then | 13002 if test -z "$ac_err"; then |
12995 rm -rf conftest* | 13003 rm -rf conftest* |
12996 eval "ac_cv_header_$ac_safe=yes" | 13004 eval "ac_cv_header_$ac_safe=yes" |
12997 else | 13005 else |
13017 fi | 13025 fi |
13018 | 13026 |
13019 | 13027 |
13020 | 13028 |
13021 echo "checking "for sound support"" 1>&6 | 13029 echo "checking "for sound support"" 1>&6 |
13022 echo "configure:13023: checking "for sound support"" >&5 | 13030 echo "configure:13031: checking "for sound support"" >&5 |
13023 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 13031 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
13024 | 13032 |
13025 if test "$with_native_sound" != "no"; then | 13033 if test "$with_native_sound" != "no"; then |
13026 if test -n "$native_sound_lib"; then | 13034 if test -n "$native_sound_lib"; then |
13027 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 13035 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
13028 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 13036 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
13029 echo "configure:13030: checking for multimedia/audio_device.h" >&5 | 13037 echo "configure:13038: checking for multimedia/audio_device.h" >&5 |
13030 | 13038 |
13031 cat > conftest.$ac_ext <<EOF | 13039 cat > conftest.$ac_ext <<EOF |
13032 #line 13033 "configure" | 13040 #line 13041 "configure" |
13033 #include "confdefs.h" | 13041 #include "confdefs.h" |
13034 #include <multimedia/audio_device.h> | 13042 #include <multimedia/audio_device.h> |
13035 EOF | 13043 EOF |
13036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13044 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13037 { (eval echo configure:13038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13045 { (eval echo configure:13046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13046 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13039 if test -z "$ac_err"; then | 13047 if test -z "$ac_err"; then |
13040 rm -rf conftest* | 13048 rm -rf conftest* |
13041 eval "ac_cv_header_$ac_safe=yes" | 13049 eval "ac_cv_header_$ac_safe=yes" |
13042 else | 13050 else |
13080 case "$canonical" in | 13088 case "$canonical" in |
13081 *-sgi-* ) | 13089 *-sgi-* ) |
13082 if test -z "$native_sound_lib"; then | 13090 if test -z "$native_sound_lib"; then |
13083 | 13091 |
13084 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 13092 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
13085 echo "configure:13086: checking for ALopenport in -laudio" >&5 | 13093 echo "configure:13094: checking for ALopenport in -laudio" >&5 |
13086 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 13094 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
13087 | 13095 |
13088 xe_check_libs=" -laudio " | 13096 xe_check_libs=" -laudio " |
13089 cat > conftest.$ac_ext <<EOF | 13097 cat > conftest.$ac_ext <<EOF |
13090 #line 13091 "configure" | 13098 #line 13099 "configure" |
13091 #include "confdefs.h" | 13099 #include "confdefs.h" |
13092 /* Override any gcc2 internal prototype to avoid an error. */ | 13100 /* Override any gcc2 internal prototype to avoid an error. */ |
13093 /* We use char because int might match the return type of a gcc2 | 13101 /* We use char because int might match the return type of a gcc2 |
13094 builtin and then its argument prototype would still apply. */ | 13102 builtin and then its argument prototype would still apply. */ |
13095 char ALopenport(); | 13103 char ALopenport(); |
13096 | 13104 |
13097 int main() { | 13105 int main() { |
13098 ALopenport() | 13106 ALopenport() |
13099 ; return 0; } | 13107 ; return 0; } |
13100 EOF | 13108 EOF |
13101 if { (eval echo configure:13102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13109 if { (eval echo configure:13110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13102 rm -rf conftest* | 13110 rm -rf conftest* |
13103 eval "ac_cv_lib_$ac_lib_var=yes" | 13111 eval "ac_cv_lib_$ac_lib_var=yes" |
13104 else | 13112 else |
13105 echo "configure: failed program was:" >&5 | 13113 echo "configure: failed program was:" >&5 |
13106 cat conftest.$ac_ext >&5 | 13114 cat conftest.$ac_ext >&5 |
13127 fi ;; | 13135 fi ;; |
13128 hppa*-hp-hpux* ) | 13136 hppa*-hp-hpux* ) |
13129 if test -z "$native_sound_lib"; then | 13137 if test -z "$native_sound_lib"; then |
13130 | 13138 |
13131 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 13139 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
13132 echo "configure:13133: checking for AOpenAudio in -lAlib" >&5 | 13140 echo "configure:13141: checking for AOpenAudio in -lAlib" >&5 |
13133 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 13141 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
13134 | 13142 |
13135 xe_check_libs=" -lAlib " | 13143 xe_check_libs=" -lAlib " |
13136 cat > conftest.$ac_ext <<EOF | 13144 cat > conftest.$ac_ext <<EOF |
13137 #line 13138 "configure" | 13145 #line 13146 "configure" |
13138 #include "confdefs.h" | 13146 #include "confdefs.h" |
13139 /* Override any gcc2 internal prototype to avoid an error. */ | 13147 /* Override any gcc2 internal prototype to avoid an error. */ |
13140 /* We use char because int might match the return type of a gcc2 | 13148 /* We use char because int might match the return type of a gcc2 |
13141 builtin and then its argument prototype would still apply. */ | 13149 builtin and then its argument prototype would still apply. */ |
13142 char AOpenAudio(); | 13150 char AOpenAudio(); |
13143 | 13151 |
13144 int main() { | 13152 int main() { |
13145 AOpenAudio() | 13153 AOpenAudio() |
13146 ; return 0; } | 13154 ; return 0; } |
13147 EOF | 13155 EOF |
13148 if { (eval echo configure:13149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13156 if { (eval echo configure:13157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13149 rm -rf conftest* | 13157 rm -rf conftest* |
13150 eval "ac_cv_lib_$ac_lib_var=yes" | 13158 eval "ac_cv_lib_$ac_lib_var=yes" |
13151 else | 13159 else |
13152 echo "configure: failed program was:" >&5 | 13160 echo "configure: failed program was:" >&5 |
13153 cat conftest.$ac_ext >&5 | 13161 cat conftest.$ac_ext >&5 |
13188 | 13196 |
13189 if test -z "$sound_found"; then | 13197 if test -z "$sound_found"; then |
13190 for dir in "machine" "sys" "linux"; do | 13198 for dir in "machine" "sys" "linux"; do |
13191 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 13199 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
13192 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 13200 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
13193 echo "configure:13194: checking for ${dir}/soundcard.h" >&5 | 13201 echo "configure:13202: checking for ${dir}/soundcard.h" >&5 |
13194 | 13202 |
13195 cat > conftest.$ac_ext <<EOF | 13203 cat > conftest.$ac_ext <<EOF |
13196 #line 13197 "configure" | 13204 #line 13205 "configure" |
13197 #include "confdefs.h" | 13205 #include "confdefs.h" |
13198 #include <${dir}/soundcard.h> | 13206 #include <${dir}/soundcard.h> |
13199 EOF | 13207 EOF |
13200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13201 { (eval echo configure:13202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13209 { (eval echo configure:13210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13202 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13203 if test -z "$ac_err"; then | 13211 if test -z "$ac_err"; then |
13204 rm -rf conftest* | 13212 rm -rf conftest* |
13205 eval "ac_cv_header_$ac_safe=yes" | 13213 eval "ac_cv_header_$ac_safe=yes" |
13206 else | 13214 else |
13250 fi | 13258 fi |
13251 | 13259 |
13252 if test "$with_nas_sound" != "no"; then | 13260 if test "$with_nas_sound" != "no"; then |
13253 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13261 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13254 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13262 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13255 echo "configure:13256: checking for audio/audiolib.h" >&5 | 13263 echo "configure:13264: checking for audio/audiolib.h" >&5 |
13256 | 13264 |
13257 cat > conftest.$ac_ext <<EOF | 13265 cat > conftest.$ac_ext <<EOF |
13258 #line 13259 "configure" | 13266 #line 13267 "configure" |
13259 #include "confdefs.h" | 13267 #include "confdefs.h" |
13260 #include <audio/audiolib.h> | 13268 #include <audio/audiolib.h> |
13261 EOF | 13269 EOF |
13262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13263 { (eval echo configure:13264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13271 { (eval echo configure:13272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13265 if test -z "$ac_err"; then | 13273 if test -z "$ac_err"; then |
13266 rm -rf conftest* | 13274 rm -rf conftest* |
13267 eval "ac_cv_header_$ac_safe=yes" | 13275 eval "ac_cv_header_$ac_safe=yes" |
13268 else | 13276 else |
13276 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13284 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13277 echo "$ac_t""yes" 1>&6 | 13285 echo "$ac_t""yes" 1>&6 |
13278 | 13286 |
13279 | 13287 |
13280 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13288 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13281 echo "configure:13282: checking for AuOpenServer in -laudio" >&5 | 13289 echo "configure:13290: checking for AuOpenServer in -laudio" >&5 |
13282 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13290 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13283 | 13291 |
13284 xe_check_libs=" -laudio " | 13292 xe_check_libs=" -laudio " |
13285 cat > conftest.$ac_ext <<EOF | 13293 cat > conftest.$ac_ext <<EOF |
13286 #line 13287 "configure" | 13294 #line 13295 "configure" |
13287 #include "confdefs.h" | 13295 #include "confdefs.h" |
13288 /* Override any gcc2 internal prototype to avoid an error. */ | 13296 /* Override any gcc2 internal prototype to avoid an error. */ |
13289 /* We use char because int might match the return type of a gcc2 | 13297 /* We use char because int might match the return type of a gcc2 |
13290 builtin and then its argument prototype would still apply. */ | 13298 builtin and then its argument prototype would still apply. */ |
13291 char AuOpenServer(); | 13299 char AuOpenServer(); |
13292 | 13300 |
13293 int main() { | 13301 int main() { |
13294 AuOpenServer() | 13302 AuOpenServer() |
13295 ; return 0; } | 13303 ; return 0; } |
13296 EOF | 13304 EOF |
13297 if { (eval echo configure:13298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13305 if { (eval echo configure:13306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13298 rm -rf conftest* | 13306 rm -rf conftest* |
13299 eval "ac_cv_lib_$ac_lib_var=yes" | 13307 eval "ac_cv_lib_$ac_lib_var=yes" |
13300 else | 13308 else |
13301 echo "configure: failed program was:" >&5 | 13309 echo "configure: failed program was:" >&5 |
13302 cat conftest.$ac_ext >&5 | 13310 cat conftest.$ac_ext >&5 |
13331 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13339 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13332 echo " xemacs will be linked with \"nas.o\"" | 13340 echo " xemacs will be linked with \"nas.o\"" |
13333 fi | 13341 fi |
13334 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13342 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13335 cat > conftest.$ac_ext <<EOF | 13343 cat > conftest.$ac_ext <<EOF |
13336 #line 13337 "configure" | 13344 #line 13345 "configure" |
13337 #include "confdefs.h" | 13345 #include "confdefs.h" |
13338 #include <audio/Xtutil.h> | 13346 #include <audio/Xtutil.h> |
13339 EOF | 13347 EOF |
13340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13341 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13349 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13362 | 13370 |
13363 if test "$with_esd_sound" != "no"; then | 13371 if test "$with_esd_sound" != "no"; then |
13364 # Extract the first word of "esd-config", so it can be a program name with args. | 13372 # Extract the first word of "esd-config", so it can be a program name with args. |
13365 set dummy esd-config; ac_word=$2 | 13373 set dummy esd-config; ac_word=$2 |
13366 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13374 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13367 echo "configure:13368: checking for $ac_word" >&5 | 13375 echo "configure:13376: checking for $ac_word" >&5 |
13368 | 13376 |
13369 if test -n "$have_esd_config"; then | 13377 if test -n "$have_esd_config"; then |
13370 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13378 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13371 else | 13379 else |
13372 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13380 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13391 if test "$have_esd_config" = "yes"; then | 13399 if test "$have_esd_config" = "yes"; then |
13392 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13400 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13393 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 | 13401 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 |
13394 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13402 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13395 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13403 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13396 echo "configure:13397: checking for esd_play_stream" >&5 | 13404 echo "configure:13405: checking for esd_play_stream" >&5 |
13397 | 13405 |
13398 cat > conftest.$ac_ext <<EOF | 13406 cat > conftest.$ac_ext <<EOF |
13399 #line 13400 "configure" | 13407 #line 13408 "configure" |
13400 #include "confdefs.h" | 13408 #include "confdefs.h" |
13401 /* System header to define __stub macros and hopefully few prototypes, | 13409 /* System header to define __stub macros and hopefully few prototypes, |
13402 which can conflict with char esd_play_stream(); below. */ | 13410 which can conflict with char esd_play_stream(); below. */ |
13403 #include <assert.h> | 13411 #include <assert.h> |
13404 /* Override any gcc2 internal prototype to avoid an error. */ | 13412 /* Override any gcc2 internal prototype to avoid an error. */ |
13417 esd_play_stream(); | 13425 esd_play_stream(); |
13418 #endif | 13426 #endif |
13419 | 13427 |
13420 ; return 0; } | 13428 ; return 0; } |
13421 EOF | 13429 EOF |
13422 if { (eval echo configure:13423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13430 if { (eval echo configure:13431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13423 rm -rf conftest* | 13431 rm -rf conftest* |
13424 eval "ac_cv_func_esd_play_stream=yes" | 13432 eval "ac_cv_func_esd_play_stream=yes" |
13425 else | 13433 else |
13426 echo "configure: failed program was:" >&5 | 13434 echo "configure: failed program was:" >&5 |
13427 cat conftest.$ac_ext >&5 | 13435 cat conftest.$ac_ext >&5 |
13468 | 13476 |
13469 test -z "$with_tty" && with_tty=yes | 13477 test -z "$with_tty" && with_tty=yes |
13470 | 13478 |
13471 if test "$with_tty" = "yes" ; then | 13479 if test "$with_tty" = "yes" ; then |
13472 echo "checking for TTY-related features" 1>&6 | 13480 echo "checking for TTY-related features" 1>&6 |
13473 echo "configure:13474: checking for TTY-related features" >&5 | 13481 echo "configure:13482: checking for TTY-related features" >&5 |
13474 { test "$extra_verbose" = "yes" && cat << \EOF | 13482 { test "$extra_verbose" = "yes" && cat << \EOF |
13475 Defining HAVE_TTY | 13483 Defining HAVE_TTY |
13476 EOF | 13484 EOF |
13477 cat >> confdefs.h <<\EOF | 13485 cat >> confdefs.h <<\EOF |
13478 #define HAVE_TTY 1 | 13486 #define HAVE_TTY 1 |
13484 fi | 13492 fi |
13485 | 13493 |
13486 if test -z "$with_ncurses"; then | 13494 if test -z "$with_ncurses"; then |
13487 | 13495 |
13488 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13496 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13489 echo "configure:13490: checking for tgetent in -lncurses" >&5 | 13497 echo "configure:13498: checking for tgetent in -lncurses" >&5 |
13490 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13498 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13491 | 13499 |
13492 xe_check_libs=" -lncurses " | 13500 xe_check_libs=" -lncurses " |
13493 cat > conftest.$ac_ext <<EOF | 13501 cat > conftest.$ac_ext <<EOF |
13494 #line 13495 "configure" | 13502 #line 13503 "configure" |
13495 #include "confdefs.h" | 13503 #include "confdefs.h" |
13496 /* Override any gcc2 internal prototype to avoid an error. */ | 13504 /* Override any gcc2 internal prototype to avoid an error. */ |
13497 /* We use char because int might match the return type of a gcc2 | 13505 /* We use char because int might match the return type of a gcc2 |
13498 builtin and then its argument prototype would still apply. */ | 13506 builtin and then its argument prototype would still apply. */ |
13499 char tgetent(); | 13507 char tgetent(); |
13500 | 13508 |
13501 int main() { | 13509 int main() { |
13502 tgetent() | 13510 tgetent() |
13503 ; return 0; } | 13511 ; return 0; } |
13504 EOF | 13512 EOF |
13505 if { (eval echo configure:13506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13513 if { (eval echo configure:13514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13506 rm -rf conftest* | 13514 rm -rf conftest* |
13507 eval "ac_cv_lib_$ac_lib_var=yes" | 13515 eval "ac_cv_lib_$ac_lib_var=yes" |
13508 else | 13516 else |
13509 echo "configure: failed program was:" >&5 | 13517 echo "configure: failed program was:" >&5 |
13510 cat conftest.$ac_ext >&5 | 13518 cat conftest.$ac_ext >&5 |
13533 EOF | 13541 EOF |
13534 } | 13542 } |
13535 | 13543 |
13536 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13544 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13537 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13545 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13538 echo "configure:13539: checking for ncurses/curses.h" >&5 | 13546 echo "configure:13547: checking for ncurses/curses.h" >&5 |
13539 | 13547 |
13540 cat > conftest.$ac_ext <<EOF | 13548 cat > conftest.$ac_ext <<EOF |
13541 #line 13542 "configure" | 13549 #line 13550 "configure" |
13542 #include "confdefs.h" | 13550 #include "confdefs.h" |
13543 #include <ncurses/curses.h> | 13551 #include <ncurses/curses.h> |
13544 EOF | 13552 EOF |
13545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13546 { (eval echo configure:13547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13554 { (eval echo configure:13555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13548 if test -z "$ac_err"; then | 13556 if test -z "$ac_err"; then |
13549 rm -rf conftest* | 13557 rm -rf conftest* |
13550 eval "ac_cv_header_$ac_safe=yes" | 13558 eval "ac_cv_header_$ac_safe=yes" |
13551 else | 13559 else |
13563 echo "$ac_t""no" 1>&6 | 13571 echo "$ac_t""no" 1>&6 |
13564 fi | 13572 fi |
13565 | 13573 |
13566 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13574 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13567 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13575 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13568 echo "configure:13569: checking for ncurses/term.h" >&5 | 13576 echo "configure:13577: checking for ncurses/term.h" >&5 |
13569 | 13577 |
13570 cat > conftest.$ac_ext <<EOF | 13578 cat > conftest.$ac_ext <<EOF |
13571 #line 13572 "configure" | 13579 #line 13580 "configure" |
13572 #include "confdefs.h" | 13580 #include "confdefs.h" |
13573 #include <ncurses/term.h> | 13581 #include <ncurses/term.h> |
13574 EOF | 13582 EOF |
13575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13576 { (eval echo configure:13577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13584 { (eval echo configure:13585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13578 if test -z "$ac_err"; then | 13586 if test -z "$ac_err"; then |
13579 rm -rf conftest* | 13587 rm -rf conftest* |
13580 eval "ac_cv_header_$ac_safe=yes" | 13588 eval "ac_cv_header_$ac_safe=yes" |
13581 else | 13589 else |
13601 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13609 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13602 save_c_switch_site="$c_switch_site" | 13610 save_c_switch_site="$c_switch_site" |
13603 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13611 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13604 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13612 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13605 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13613 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13606 echo "configure:13607: checking for ncurses/curses.h" >&5 | 13614 echo "configure:13615: checking for ncurses/curses.h" >&5 |
13607 | 13615 |
13608 cat > conftest.$ac_ext <<EOF | 13616 cat > conftest.$ac_ext <<EOF |
13609 #line 13610 "configure" | 13617 #line 13618 "configure" |
13610 #include "confdefs.h" | 13618 #include "confdefs.h" |
13611 #include <ncurses/curses.h> | 13619 #include <ncurses/curses.h> |
13612 EOF | 13620 EOF |
13613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13614 { (eval echo configure:13615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13622 { (eval echo configure:13623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13616 if test -z "$ac_err"; then | 13624 if test -z "$ac_err"; then |
13617 rm -rf conftest* | 13625 rm -rf conftest* |
13618 eval "ac_cv_header_$ac_safe=yes" | 13626 eval "ac_cv_header_$ac_safe=yes" |
13619 else | 13627 else |
13644 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13652 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13645 else | 13653 else |
13646 for lib in curses termlib termcap; do | 13654 for lib in curses termlib termcap; do |
13647 | 13655 |
13648 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13656 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13649 echo "configure:13650: checking for tgetent in -l$lib" >&5 | 13657 echo "configure:13658: checking for tgetent in -l$lib" >&5 |
13650 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13658 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13651 | 13659 |
13652 xe_check_libs=" -l$lib " | 13660 xe_check_libs=" -l$lib " |
13653 cat > conftest.$ac_ext <<EOF | 13661 cat > conftest.$ac_ext <<EOF |
13654 #line 13655 "configure" | 13662 #line 13663 "configure" |
13655 #include "confdefs.h" | 13663 #include "confdefs.h" |
13656 /* Override any gcc2 internal prototype to avoid an error. */ | 13664 /* Override any gcc2 internal prototype to avoid an error. */ |
13657 /* We use char because int might match the return type of a gcc2 | 13665 /* We use char because int might match the return type of a gcc2 |
13658 builtin and then its argument prototype would still apply. */ | 13666 builtin and then its argument prototype would still apply. */ |
13659 char tgetent(); | 13667 char tgetent(); |
13660 | 13668 |
13661 int main() { | 13669 int main() { |
13662 tgetent() | 13670 tgetent() |
13663 ; return 0; } | 13671 ; return 0; } |
13664 EOF | 13672 EOF |
13665 if { (eval echo configure:13666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13673 if { (eval echo configure:13674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13666 rm -rf conftest* | 13674 rm -rf conftest* |
13667 eval "ac_cv_lib_$ac_lib_var=yes" | 13675 eval "ac_cv_lib_$ac_lib_var=yes" |
13668 else | 13676 else |
13669 echo "configure: failed program was:" >&5 | 13677 echo "configure: failed program was:" >&5 |
13670 cat conftest.$ac_ext >&5 | 13678 cat conftest.$ac_ext >&5 |
13691 if test -n "$libs_termcap"; then | 13699 if test -n "$libs_termcap"; then |
13692 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13700 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13693 else | 13701 else |
13694 | 13702 |
13695 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13703 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13696 echo "configure:13697: checking for tgetent in -lcurses" >&5 | 13704 echo "configure:13705: checking for tgetent in -lcurses" >&5 |
13697 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13705 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13698 | 13706 |
13699 xe_check_libs=" -lcurses " | 13707 xe_check_libs=" -lcurses " |
13700 cat > conftest.$ac_ext <<EOF | 13708 cat > conftest.$ac_ext <<EOF |
13701 #line 13702 "configure" | 13709 #line 13710 "configure" |
13702 #include "confdefs.h" | 13710 #include "confdefs.h" |
13703 /* Override any gcc2 internal prototype to avoid an error. */ | 13711 /* Override any gcc2 internal prototype to avoid an error. */ |
13704 /* We use char because int might match the return type of a gcc2 | 13712 /* We use char because int might match the return type of a gcc2 |
13705 builtin and then its argument prototype would still apply. */ | 13713 builtin and then its argument prototype would still apply. */ |
13706 char tgetent(); | 13714 char tgetent(); |
13707 | 13715 |
13708 int main() { | 13716 int main() { |
13709 tgetent() | 13717 tgetent() |
13710 ; return 0; } | 13718 ; return 0; } |
13711 EOF | 13719 EOF |
13712 if { (eval echo configure:13713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13720 if { (eval echo configure:13721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13713 rm -rf conftest* | 13721 rm -rf conftest* |
13714 eval "ac_cv_lib_$ac_lib_var=yes" | 13722 eval "ac_cv_lib_$ac_lib_var=yes" |
13715 else | 13723 else |
13716 echo "configure: failed program was:" >&5 | 13724 echo "configure: failed program was:" >&5 |
13717 cat conftest.$ac_ext >&5 | 13725 cat conftest.$ac_ext >&5 |
13725 echo "$ac_t""yes" 1>&6 | 13733 echo "$ac_t""yes" 1>&6 |
13726 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13734 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13727 else | 13735 else |
13728 echo "$ac_t""no" 1>&6 | 13736 echo "$ac_t""no" 1>&6 |
13729 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13737 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13730 echo "configure:13731: checking for tgetent in -ltermcap" >&5 | 13738 echo "configure:13739: checking for tgetent in -ltermcap" >&5 |
13731 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13739 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13732 | 13740 |
13733 xe_check_libs=" -ltermcap " | 13741 xe_check_libs=" -ltermcap " |
13734 cat > conftest.$ac_ext <<EOF | 13742 cat > conftest.$ac_ext <<EOF |
13735 #line 13736 "configure" | 13743 #line 13744 "configure" |
13736 #include "confdefs.h" | 13744 #include "confdefs.h" |
13737 /* Override any gcc2 internal prototype to avoid an error. */ | 13745 /* Override any gcc2 internal prototype to avoid an error. */ |
13738 /* We use char because int might match the return type of a gcc2 | 13746 /* We use char because int might match the return type of a gcc2 |
13739 builtin and then its argument prototype would still apply. */ | 13747 builtin and then its argument prototype would still apply. */ |
13740 char tgetent(); | 13748 char tgetent(); |
13741 | 13749 |
13742 int main() { | 13750 int main() { |
13743 tgetent() | 13751 tgetent() |
13744 ; return 0; } | 13752 ; return 0; } |
13745 EOF | 13753 EOF |
13746 if { (eval echo configure:13747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13754 if { (eval echo configure:13755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13747 rm -rf conftest* | 13755 rm -rf conftest* |
13748 eval "ac_cv_lib_$ac_lib_var=yes" | 13756 eval "ac_cv_lib_$ac_lib_var=yes" |
13749 else | 13757 else |
13750 echo "configure: failed program was:" >&5 | 13758 echo "configure: failed program was:" >&5 |
13751 cat conftest.$ac_ext >&5 | 13759 cat conftest.$ac_ext >&5 |
13789 } | 13797 } |
13790 | 13798 |
13791 | 13799 |
13792 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13800 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13793 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13801 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13794 echo "configure:13795: checking for gpm.h" >&5 | 13802 echo "configure:13803: checking for gpm.h" >&5 |
13795 | 13803 |
13796 cat > conftest.$ac_ext <<EOF | 13804 cat > conftest.$ac_ext <<EOF |
13797 #line 13798 "configure" | 13805 #line 13806 "configure" |
13798 #include "confdefs.h" | 13806 #include "confdefs.h" |
13799 #include <gpm.h> | 13807 #include <gpm.h> |
13800 EOF | 13808 EOF |
13801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13809 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13802 { (eval echo configure:13803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13810 { (eval echo configure:13811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13803 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13811 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13804 if test -z "$ac_err"; then | 13812 if test -z "$ac_err"; then |
13805 rm -rf conftest* | 13813 rm -rf conftest* |
13806 eval "ac_cv_header_$ac_safe=yes" | 13814 eval "ac_cv_header_$ac_safe=yes" |
13807 else | 13815 else |
13820 with_gpm=no | 13828 with_gpm=no |
13821 fi | 13829 fi |
13822 } | 13830 } |
13823 test -z "$with_gpm" && { | 13831 test -z "$with_gpm" && { |
13824 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13832 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13825 echo "configure:13826: checking for Gpm_Open in -lgpm" >&5 | 13833 echo "configure:13834: checking for Gpm_Open in -lgpm" >&5 |
13826 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13834 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13827 | 13835 |
13828 xe_check_libs=" -lgpm " | 13836 xe_check_libs=" -lgpm " |
13829 cat > conftest.$ac_ext <<EOF | 13837 cat > conftest.$ac_ext <<EOF |
13830 #line 13831 "configure" | 13838 #line 13839 "configure" |
13831 #include "confdefs.h" | 13839 #include "confdefs.h" |
13832 /* Override any gcc2 internal prototype to avoid an error. */ | 13840 /* Override any gcc2 internal prototype to avoid an error. */ |
13833 /* We use char because int might match the return type of a gcc2 | 13841 /* We use char because int might match the return type of a gcc2 |
13834 builtin and then its argument prototype would still apply. */ | 13842 builtin and then its argument prototype would still apply. */ |
13835 char Gpm_Open(); | 13843 char Gpm_Open(); |
13836 | 13844 |
13837 int main() { | 13845 int main() { |
13838 Gpm_Open() | 13846 Gpm_Open() |
13839 ; return 0; } | 13847 ; return 0; } |
13840 EOF | 13848 EOF |
13841 if { (eval echo configure:13842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13849 if { (eval echo configure:13850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13842 rm -rf conftest* | 13850 rm -rf conftest* |
13843 eval "ac_cv_lib_$ac_lib_var=yes" | 13851 eval "ac_cv_lib_$ac_lib_var=yes" |
13844 else | 13852 else |
13845 echo "configure: failed program was:" >&5 | 13853 echo "configure: failed program was:" >&5 |
13846 cat conftest.$ac_ext >&5 | 13854 cat conftest.$ac_ext >&5 |
13886 fi | 13894 fi |
13887 | 13895 |
13888 | 13896 |
13889 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13897 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13890 != "no no no" && echo "checking for database support" 1>&6 | 13898 != "no no no" && echo "checking for database support" 1>&6 |
13891 echo "configure:13892: checking for database support" >&5 | 13899 echo "configure:13900: checking for database support" >&5 |
13892 | 13900 |
13893 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13901 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13894 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13902 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13895 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13903 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13896 echo "configure:13897: checking for ndbm.h" >&5 | 13904 echo "configure:13905: checking for ndbm.h" >&5 |
13897 | 13905 |
13898 cat > conftest.$ac_ext <<EOF | 13906 cat > conftest.$ac_ext <<EOF |
13899 #line 13900 "configure" | 13907 #line 13908 "configure" |
13900 #include "confdefs.h" | 13908 #include "confdefs.h" |
13901 #include <ndbm.h> | 13909 #include <ndbm.h> |
13902 EOF | 13910 EOF |
13903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13911 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13904 { (eval echo configure:13905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13912 { (eval echo configure:13913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13913 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13906 if test -z "$ac_err"; then | 13914 if test -z "$ac_err"; then |
13907 rm -rf conftest* | 13915 rm -rf conftest* |
13908 eval "ac_cv_header_$ac_safe=yes" | 13916 eval "ac_cv_header_$ac_safe=yes" |
13909 else | 13917 else |
13929 fi | 13937 fi |
13930 | 13938 |
13931 if test "$with_database_gdbm" != "no"; then | 13939 if test "$with_database_gdbm" != "no"; then |
13932 | 13940 |
13933 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13941 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13934 echo "configure:13935: checking for dbm_open in -lgdbm" >&5 | 13942 echo "configure:13943: checking for dbm_open in -lgdbm" >&5 |
13935 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13943 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13936 | 13944 |
13937 xe_check_libs=" -lgdbm " | 13945 xe_check_libs=" -lgdbm " |
13938 cat > conftest.$ac_ext <<EOF | 13946 cat > conftest.$ac_ext <<EOF |
13939 #line 13940 "configure" | 13947 #line 13948 "configure" |
13940 #include "confdefs.h" | 13948 #include "confdefs.h" |
13941 /* Override any gcc2 internal prototype to avoid an error. */ | 13949 /* Override any gcc2 internal prototype to avoid an error. */ |
13942 /* We use char because int might match the return type of a gcc2 | 13950 /* We use char because int might match the return type of a gcc2 |
13943 builtin and then its argument prototype would still apply. */ | 13951 builtin and then its argument prototype would still apply. */ |
13944 char dbm_open(); | 13952 char dbm_open(); |
13945 | 13953 |
13946 int main() { | 13954 int main() { |
13947 dbm_open() | 13955 dbm_open() |
13948 ; return 0; } | 13956 ; return 0; } |
13949 EOF | 13957 EOF |
13950 if { (eval echo configure:13951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13958 if { (eval echo configure:13959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13951 rm -rf conftest* | 13959 rm -rf conftest* |
13952 eval "ac_cv_lib_$ac_lib_var=yes" | 13960 eval "ac_cv_lib_$ac_lib_var=yes" |
13953 else | 13961 else |
13954 echo "configure: failed program was:" >&5 | 13962 echo "configure: failed program was:" >&5 |
13955 cat conftest.$ac_ext >&5 | 13963 cat conftest.$ac_ext >&5 |
13973 | 13981 |
13974 fi | 13982 fi |
13975 | 13983 |
13976 if test "$with_database_dbm" != "no"; then | 13984 if test "$with_database_dbm" != "no"; then |
13977 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13985 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13978 echo "configure:13979: checking for dbm_open" >&5 | 13986 echo "configure:13987: checking for dbm_open" >&5 |
13979 | 13987 |
13980 cat > conftest.$ac_ext <<EOF | 13988 cat > conftest.$ac_ext <<EOF |
13981 #line 13982 "configure" | 13989 #line 13990 "configure" |
13982 #include "confdefs.h" | 13990 #include "confdefs.h" |
13983 /* System header to define __stub macros and hopefully few prototypes, | 13991 /* System header to define __stub macros and hopefully few prototypes, |
13984 which can conflict with char dbm_open(); below. */ | 13992 which can conflict with char dbm_open(); below. */ |
13985 #include <assert.h> | 13993 #include <assert.h> |
13986 /* Override any gcc2 internal prototype to avoid an error. */ | 13994 /* Override any gcc2 internal prototype to avoid an error. */ |
13999 dbm_open(); | 14007 dbm_open(); |
14000 #endif | 14008 #endif |
14001 | 14009 |
14002 ; return 0; } | 14010 ; return 0; } |
14003 EOF | 14011 EOF |
14004 if { (eval echo configure:14005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14012 if { (eval echo configure:14013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14005 rm -rf conftest* | 14013 rm -rf conftest* |
14006 eval "ac_cv_func_dbm_open=yes" | 14014 eval "ac_cv_func_dbm_open=yes" |
14007 else | 14015 else |
14008 echo "configure: failed program was:" >&5 | 14016 echo "configure: failed program was:" >&5 |
14009 cat conftest.$ac_ext >&5 | 14017 cat conftest.$ac_ext >&5 |
14018 else | 14026 else |
14019 echo "$ac_t""no" 1>&6 | 14027 echo "$ac_t""no" 1>&6 |
14020 | 14028 |
14021 | 14029 |
14022 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14030 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14023 echo "configure:14024: checking for dbm_open in -ldbm" >&5 | 14031 echo "configure:14032: checking for dbm_open in -ldbm" >&5 |
14024 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14032 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14025 | 14033 |
14026 xe_check_libs=" -ldbm " | 14034 xe_check_libs=" -ldbm " |
14027 cat > conftest.$ac_ext <<EOF | 14035 cat > conftest.$ac_ext <<EOF |
14028 #line 14029 "configure" | 14036 #line 14037 "configure" |
14029 #include "confdefs.h" | 14037 #include "confdefs.h" |
14030 /* Override any gcc2 internal prototype to avoid an error. */ | 14038 /* Override any gcc2 internal prototype to avoid an error. */ |
14031 /* We use char because int might match the return type of a gcc2 | 14039 /* We use char because int might match the return type of a gcc2 |
14032 builtin and then its argument prototype would still apply. */ | 14040 builtin and then its argument prototype would still apply. */ |
14033 char dbm_open(); | 14041 char dbm_open(); |
14034 | 14042 |
14035 int main() { | 14043 int main() { |
14036 dbm_open() | 14044 dbm_open() |
14037 ; return 0; } | 14045 ; return 0; } |
14038 EOF | 14046 EOF |
14039 if { (eval echo configure:14040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14047 if { (eval echo configure:14048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14040 rm -rf conftest* | 14048 rm -rf conftest* |
14041 eval "ac_cv_lib_$ac_lib_var=yes" | 14049 eval "ac_cv_lib_$ac_lib_var=yes" |
14042 else | 14050 else |
14043 echo "configure: failed program was:" >&5 | 14051 echo "configure: failed program was:" >&5 |
14044 cat conftest.$ac_ext >&5 | 14052 cat conftest.$ac_ext >&5 |
14075 } | 14083 } |
14076 | 14084 |
14077 | 14085 |
14078 if test "$with_database_berkdb" != "no"; then | 14086 if test "$with_database_berkdb" != "no"; then |
14079 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 14087 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
14080 echo "configure:14081: checking for Berkeley db.h" >&5 | 14088 echo "configure:14089: checking for Berkeley db.h" >&5 |
14081 for header in "db/db.h" "db.h"; do | 14089 for header in "db/db.h" "db.h"; do |
14082 cat > conftest.$ac_ext <<EOF | 14090 cat > conftest.$ac_ext <<EOF |
14083 #line 14084 "configure" | 14091 #line 14092 "configure" |
14084 #include "confdefs.h" | 14092 #include "confdefs.h" |
14085 | 14093 |
14086 #include <stdlib.h> | 14094 #include <stdlib.h> |
14087 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 14095 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
14088 #ifdef HAVE_INTTYPES_H | 14096 #ifdef HAVE_INTTYPES_H |
14100 | 14108 |
14101 int main() { | 14109 int main() { |
14102 | 14110 |
14103 ; return 0; } | 14111 ; return 0; } |
14104 EOF | 14112 EOF |
14105 if { (eval echo configure:14106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14113 if { (eval echo configure:14114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14106 rm -rf conftest* | 14114 rm -rf conftest* |
14107 db_h_file="$header"; break | 14115 db_h_file="$header"; break |
14108 else | 14116 else |
14109 echo "configure: failed program was:" >&5 | 14117 echo "configure: failed program was:" >&5 |
14110 cat conftest.$ac_ext >&5 | 14118 cat conftest.$ac_ext >&5 |
14116 else echo "$ac_t""$db_h_file" 1>&6 | 14124 else echo "$ac_t""$db_h_file" 1>&6 |
14117 fi | 14125 fi |
14118 | 14126 |
14119 if test "$with_database_berkdb" != "no"; then | 14127 if test "$with_database_berkdb" != "no"; then |
14120 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 14128 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
14121 echo "configure:14122: checking for Berkeley DB version" >&5 | 14129 echo "configure:14130: checking for Berkeley DB version" >&5 |
14122 cat > conftest.$ac_ext <<EOF | 14130 cat > conftest.$ac_ext <<EOF |
14123 #line 14124 "configure" | 14131 #line 14132 "configure" |
14124 #include "confdefs.h" | 14132 #include "confdefs.h" |
14125 #include <$db_h_file> | 14133 #include <$db_h_file> |
14126 #if DB_VERSION_MAJOR > 1 | 14134 #if DB_VERSION_MAJOR > 1 |
14127 yes | 14135 yes |
14128 #endif | 14136 #endif |
14130 EOF | 14138 EOF |
14131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14132 egrep "yes" >/dev/null 2>&1; then | 14140 egrep "yes" >/dev/null 2>&1; then |
14133 rm -rf conftest* | 14141 rm -rf conftest* |
14134 cat > conftest.$ac_ext <<EOF | 14142 cat > conftest.$ac_ext <<EOF |
14135 #line 14136 "configure" | 14143 #line 14144 "configure" |
14136 #include "confdefs.h" | 14144 #include "confdefs.h" |
14137 #include <$db_h_file> | 14145 #include <$db_h_file> |
14138 #if DB_VERSION_MAJOR > 2 | 14146 #if DB_VERSION_MAJOR > 2 |
14139 yes | 14147 yes |
14140 #endif | 14148 #endif |
14157 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 14165 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
14158 fi | 14166 fi |
14159 rm -f conftest* | 14167 rm -f conftest* |
14160 | 14168 |
14161 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 14169 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
14162 echo "configure:14163: checking for $dbfunc" >&5 | 14170 echo "configure:14171: checking for $dbfunc" >&5 |
14163 | 14171 |
14164 cat > conftest.$ac_ext <<EOF | 14172 cat > conftest.$ac_ext <<EOF |
14165 #line 14166 "configure" | 14173 #line 14174 "configure" |
14166 #include "confdefs.h" | 14174 #include "confdefs.h" |
14167 /* System header to define __stub macros and hopefully few prototypes, | 14175 /* System header to define __stub macros and hopefully few prototypes, |
14168 which can conflict with char $dbfunc(); below. */ | 14176 which can conflict with char $dbfunc(); below. */ |
14169 #include <assert.h> | 14177 #include <assert.h> |
14170 /* Override any gcc2 internal prototype to avoid an error. */ | 14178 /* Override any gcc2 internal prototype to avoid an error. */ |
14183 $dbfunc(); | 14191 $dbfunc(); |
14184 #endif | 14192 #endif |
14185 | 14193 |
14186 ; return 0; } | 14194 ; return 0; } |
14187 EOF | 14195 EOF |
14188 if { (eval echo configure:14189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14196 if { (eval echo configure:14197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14189 rm -rf conftest* | 14197 rm -rf conftest* |
14190 eval "ac_cv_func_$dbfunc=yes" | 14198 eval "ac_cv_func_$dbfunc=yes" |
14191 else | 14199 else |
14192 echo "configure: failed program was:" >&5 | 14200 echo "configure: failed program was:" >&5 |
14193 cat conftest.$ac_ext >&5 | 14201 cat conftest.$ac_ext >&5 |
14202 else | 14210 else |
14203 echo "$ac_t""no" 1>&6 | 14211 echo "$ac_t""no" 1>&6 |
14204 | 14212 |
14205 | 14213 |
14206 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 14214 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
14207 echo "configure:14208: checking for $dbfunc in -ldb" >&5 | 14215 echo "configure:14216: checking for $dbfunc in -ldb" >&5 |
14208 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 14216 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
14209 | 14217 |
14210 xe_check_libs=" -ldb " | 14218 xe_check_libs=" -ldb " |
14211 cat > conftest.$ac_ext <<EOF | 14219 cat > conftest.$ac_ext <<EOF |
14212 #line 14213 "configure" | 14220 #line 14221 "configure" |
14213 #include "confdefs.h" | 14221 #include "confdefs.h" |
14214 /* Override any gcc2 internal prototype to avoid an error. */ | 14222 /* Override any gcc2 internal prototype to avoid an error. */ |
14215 /* We use char because int might match the return type of a gcc2 | 14223 /* We use char because int might match the return type of a gcc2 |
14216 builtin and then its argument prototype would still apply. */ | 14224 builtin and then its argument prototype would still apply. */ |
14217 char $dbfunc(); | 14225 char $dbfunc(); |
14218 | 14226 |
14219 int main() { | 14227 int main() { |
14220 $dbfunc() | 14228 $dbfunc() |
14221 ; return 0; } | 14229 ; return 0; } |
14222 EOF | 14230 EOF |
14223 if { (eval echo configure:14224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14231 if { (eval echo configure:14232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14224 rm -rf conftest* | 14232 rm -rf conftest* |
14225 eval "ac_cv_lib_$ac_lib_var=yes" | 14233 eval "ac_cv_lib_$ac_lib_var=yes" |
14226 else | 14234 else |
14227 echo "configure: failed program was:" >&5 | 14235 echo "configure: failed program was:" >&5 |
14228 cat conftest.$ac_ext >&5 | 14236 cat conftest.$ac_ext >&5 |
14282 fi | 14290 fi |
14283 | 14291 |
14284 if test "$with_socks" = "yes"; then | 14292 if test "$with_socks" = "yes"; then |
14285 | 14293 |
14286 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14294 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14287 echo "configure:14288: checking for SOCKSinit in -lsocks" >&5 | 14295 echo "configure:14296: checking for SOCKSinit in -lsocks" >&5 |
14288 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14296 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14289 | 14297 |
14290 xe_check_libs=" -lsocks " | 14298 xe_check_libs=" -lsocks " |
14291 cat > conftest.$ac_ext <<EOF | 14299 cat > conftest.$ac_ext <<EOF |
14292 #line 14293 "configure" | 14300 #line 14301 "configure" |
14293 #include "confdefs.h" | 14301 #include "confdefs.h" |
14294 /* Override any gcc2 internal prototype to avoid an error. */ | 14302 /* Override any gcc2 internal prototype to avoid an error. */ |
14295 /* We use char because int might match the return type of a gcc2 | 14303 /* We use char because int might match the return type of a gcc2 |
14296 builtin and then its argument prototype would still apply. */ | 14304 builtin and then its argument prototype would still apply. */ |
14297 char SOCKSinit(); | 14305 char SOCKSinit(); |
14298 | 14306 |
14299 int main() { | 14307 int main() { |
14300 SOCKSinit() | 14308 SOCKSinit() |
14301 ; return 0; } | 14309 ; return 0; } |
14302 EOF | 14310 EOF |
14303 if { (eval echo configure:14304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14311 if { (eval echo configure:14312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14304 rm -rf conftest* | 14312 rm -rf conftest* |
14305 eval "ac_cv_lib_$ac_lib_var=yes" | 14313 eval "ac_cv_lib_$ac_lib_var=yes" |
14306 else | 14314 else |
14307 echo "configure: failed program was:" >&5 | 14315 echo "configure: failed program was:" >&5 |
14308 cat conftest.$ac_ext >&5 | 14316 cat conftest.$ac_ext >&5 |
14353 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14361 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14354 fi | 14362 fi |
14355 | 14363 |
14356 if test "$with_modules" != "no"; then | 14364 if test "$with_modules" != "no"; then |
14357 echo "checking for module support" 1>&6 | 14365 echo "checking for module support" 1>&6 |
14358 echo "configure:14359: checking for module support" >&5 | 14366 echo "configure:14367: checking for module support" >&5 |
14359 | 14367 |
14360 if test "$with_msw" = "yes"; then | 14368 if test "$with_msw" = "yes"; then |
14361 have_dl=yes; | 14369 have_dl=yes; |
14362 else | 14370 else |
14363 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14371 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14364 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14372 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14365 echo "configure:14366: checking for dlfcn.h" >&5 | 14373 echo "configure:14374: checking for dlfcn.h" >&5 |
14366 | 14374 |
14367 cat > conftest.$ac_ext <<EOF | 14375 cat > conftest.$ac_ext <<EOF |
14368 #line 14369 "configure" | 14376 #line 14377 "configure" |
14369 #include "confdefs.h" | 14377 #include "confdefs.h" |
14370 #include <dlfcn.h> | 14378 #include <dlfcn.h> |
14371 EOF | 14379 EOF |
14372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14373 { (eval echo configure:14374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14381 { (eval echo configure:14382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14375 if test -z "$ac_err"; then | 14383 if test -z "$ac_err"; then |
14376 rm -rf conftest* | 14384 rm -rf conftest* |
14377 eval "ac_cv_header_$ac_safe=yes" | 14385 eval "ac_cv_header_$ac_safe=yes" |
14378 else | 14386 else |
14385 rm -f conftest* | 14393 rm -f conftest* |
14386 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14394 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14387 echo "$ac_t""yes" 1>&6 | 14395 echo "$ac_t""yes" 1>&6 |
14388 | 14396 |
14389 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14397 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14390 echo "configure:14391: checking for dlopen in -lc" >&5 | 14398 echo "configure:14399: checking for dlopen in -lc" >&5 |
14391 cat > conftest.$ac_ext <<EOF | 14399 cat > conftest.$ac_ext <<EOF |
14392 #line 14393 "configure" | 14400 #line 14401 "configure" |
14393 #include "confdefs.h" | 14401 #include "confdefs.h" |
14394 #include <dlfcn.h> | 14402 #include <dlfcn.h> |
14395 int main() { | 14403 int main() { |
14396 dlopen ("", 0); | 14404 dlopen ("", 0); |
14397 ; return 0; } | 14405 ; return 0; } |
14398 EOF | 14406 EOF |
14399 if { (eval echo configure:14400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14407 if { (eval echo configure:14408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14400 rm -rf conftest* | 14408 rm -rf conftest* |
14401 have_dl=yes | 14409 have_dl=yes |
14402 else | 14410 else |
14403 echo "configure: failed program was:" >&5 | 14411 echo "configure: failed program was:" >&5 |
14404 cat conftest.$ac_ext >&5 | 14412 cat conftest.$ac_ext >&5 |
14405 rm -rf conftest* | 14413 rm -rf conftest* |
14406 | 14414 |
14407 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14415 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14408 echo "configure:14409: checking for dlopen in -ldl" >&5 | 14416 echo "configure:14417: checking for dlopen in -ldl" >&5 |
14409 ac_save_LIBS="$LIBS" | 14417 ac_save_LIBS="$LIBS" |
14410 LIBS="-ldl $LIBS" | 14418 LIBS="-ldl $LIBS" |
14411 cat > conftest.$ac_ext <<EOF | 14419 cat > conftest.$ac_ext <<EOF |
14412 #line 14413 "configure" | 14420 #line 14421 "configure" |
14413 #include "confdefs.h" | 14421 #include "confdefs.h" |
14414 #include <dlfcn.h> | 14422 #include <dlfcn.h> |
14415 int main() { | 14423 int main() { |
14416 dlopen ("", 0); | 14424 dlopen ("", 0); |
14417 ; return 0; } | 14425 ; return 0; } |
14418 EOF | 14426 EOF |
14419 if { (eval echo configure:14420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14427 if { (eval echo configure:14428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14420 rm -rf conftest* | 14428 rm -rf conftest* |
14421 have_dl=yes | 14429 have_dl=yes |
14422 else | 14430 else |
14423 echo "configure: failed program was:" >&5 | 14431 echo "configure: failed program was:" >&5 |
14424 cat conftest.$ac_ext >&5 | 14432 cat conftest.$ac_ext >&5 |
14443 } | 14451 } |
14444 | 14452 |
14445 else | 14453 else |
14446 | 14454 |
14447 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14455 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14448 echo "configure:14449: checking for shl_load in -ldld" >&5 | 14456 echo "configure:14457: checking for shl_load in -ldld" >&5 |
14449 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14457 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14450 | 14458 |
14451 xe_check_libs=" -ldld " | 14459 xe_check_libs=" -ldld " |
14452 cat > conftest.$ac_ext <<EOF | 14460 cat > conftest.$ac_ext <<EOF |
14453 #line 14454 "configure" | 14461 #line 14462 "configure" |
14454 #include "confdefs.h" | 14462 #include "confdefs.h" |
14455 /* Override any gcc2 internal prototype to avoid an error. */ | 14463 /* Override any gcc2 internal prototype to avoid an error. */ |
14456 /* We use char because int might match the return type of a gcc2 | 14464 /* We use char because int might match the return type of a gcc2 |
14457 builtin and then its argument prototype would still apply. */ | 14465 builtin and then its argument prototype would still apply. */ |
14458 char shl_load(); | 14466 char shl_load(); |
14459 | 14467 |
14460 int main() { | 14468 int main() { |
14461 shl_load() | 14469 shl_load() |
14462 ; return 0; } | 14470 ; return 0; } |
14463 EOF | 14471 EOF |
14464 if { (eval echo configure:14465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14472 if { (eval echo configure:14473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14465 rm -rf conftest* | 14473 rm -rf conftest* |
14466 eval "ac_cv_lib_$ac_lib_var=yes" | 14474 eval "ac_cv_lib_$ac_lib_var=yes" |
14467 else | 14475 else |
14468 echo "configure: failed program was:" >&5 | 14476 echo "configure: failed program was:" >&5 |
14469 cat conftest.$ac_ext >&5 | 14477 cat conftest.$ac_ext >&5 |
14486 | 14494 |
14487 else | 14495 else |
14488 echo "$ac_t""no" 1>&6 | 14496 echo "$ac_t""no" 1>&6 |
14489 | 14497 |
14490 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14498 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14491 echo "configure:14492: checking for dld_init in -ldld" >&5 | 14499 echo "configure:14500: checking for dld_init in -ldld" >&5 |
14492 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14500 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14493 | 14501 |
14494 xe_check_libs=" -ldld " | 14502 xe_check_libs=" -ldld " |
14495 cat > conftest.$ac_ext <<EOF | 14503 cat > conftest.$ac_ext <<EOF |
14496 #line 14497 "configure" | 14504 #line 14505 "configure" |
14497 #include "confdefs.h" | 14505 #include "confdefs.h" |
14498 /* Override any gcc2 internal prototype to avoid an error. */ | 14506 /* Override any gcc2 internal prototype to avoid an error. */ |
14499 /* We use char because int might match the return type of a gcc2 | 14507 /* We use char because int might match the return type of a gcc2 |
14500 builtin and then its argument prototype would still apply. */ | 14508 builtin and then its argument prototype would still apply. */ |
14501 char dld_init(); | 14509 char dld_init(); |
14502 | 14510 |
14503 int main() { | 14511 int main() { |
14504 dld_init() | 14512 dld_init() |
14505 ; return 0; } | 14513 ; return 0; } |
14506 EOF | 14514 EOF |
14507 if { (eval echo configure:14508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14515 if { (eval echo configure:14516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14508 rm -rf conftest* | 14516 rm -rf conftest* |
14509 eval "ac_cv_lib_$ac_lib_var=yes" | 14517 eval "ac_cv_lib_$ac_lib_var=yes" |
14510 else | 14518 else |
14511 echo "configure: failed program was:" >&5 | 14519 echo "configure: failed program was:" >&5 |
14512 cat conftest.$ac_ext >&5 | 14520 cat conftest.$ac_ext >&5 |
14547 ld_dynamic_link_flags= | 14555 ld_dynamic_link_flags= |
14548 xehost=$canonical | 14556 xehost=$canonical |
14549 xealias=$internal_configuration | 14557 xealias=$internal_configuration |
14550 | 14558 |
14551 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14559 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14552 echo "configure:14553: checking how to build dynamic libraries for ${xehost}" >&5 | 14560 echo "configure:14561: checking how to build dynamic libraries for ${xehost}" >&5 |
14553 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14561 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14554 case "$xehost" in | 14562 case "$xehost" in |
14555 *-*-linux-gnu*) ;; | 14563 *-*-linux-gnu*) ;; |
14556 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14564 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14557 esac | 14565 esac |
14575 # Now see if the compiler is really GCC. | 14583 # Now see if the compiler is really GCC. |
14576 if test "$GCC" = "yes"; then | 14584 if test "$GCC" = "yes"; then |
14577 XEGCC=yes | 14585 XEGCC=yes |
14578 else | 14586 else |
14579 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14587 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14580 echo "configure:14581: checking checking whether we are using GNU C" >&5 | 14588 echo "configure:14589: checking checking whether we are using GNU C" >&5 |
14581 cat > conftest.$ac_ext <<EOF | 14589 cat > conftest.$ac_ext <<EOF |
14582 #line 14583 "configure" | 14590 #line 14591 "configure" |
14583 #include "confdefs.h" | 14591 #include "confdefs.h" |
14584 | 14592 |
14585 #ifdef __GNUC__ | 14593 #ifdef __GNUC__ |
14586 yes; | 14594 yes; |
14587 #endif | 14595 #endif |
14599 | 14607 |
14600 echo "$ac_t""${XEGCC}" 1>&6 | 14608 echo "$ac_t""${XEGCC}" 1>&6 |
14601 fi | 14609 fi |
14602 | 14610 |
14603 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14611 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14604 echo "configure:14605: checking how to produce PIC code" >&5 | 14612 echo "configure:14613: checking how to produce PIC code" >&5 |
14605 wl= | 14613 wl= |
14606 | 14614 |
14607 can_build_shared=yes | 14615 can_build_shared=yes |
14608 if test "$XEGCC" = yes; then | 14616 if test "$XEGCC" = yes; then |
14609 wl='-Wl,' | 14617 wl='-Wl,' |
14700 if test -n "$dll_cflags"; then | 14708 if test -n "$dll_cflags"; then |
14701 echo "$ac_t""${dll_cflags}" 1>&6 | 14709 echo "$ac_t""${dll_cflags}" 1>&6 |
14702 | 14710 |
14703 # Check to make sure the dll_cflags actually works. | 14711 # Check to make sure the dll_cflags actually works. |
14704 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14712 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14705 echo "configure:14706: checking if PIC flag ${dll_cflags} really works" >&5 | 14713 echo "configure:14714: checking if PIC flag ${dll_cflags} really works" >&5 |
14706 save_CFLAGS="$CFLAGS" | 14714 save_CFLAGS="$CFLAGS" |
14707 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14715 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14708 cat > conftest.$ac_ext <<EOF | 14716 cat > conftest.$ac_ext <<EOF |
14709 #line 14710 "configure" | 14717 #line 14718 "configure" |
14710 #include "confdefs.h" | 14718 #include "confdefs.h" |
14711 | 14719 |
14712 int main() { | 14720 int main() { |
14713 int x=0; | 14721 int x=0; |
14714 ; return 0; } | 14722 ; return 0; } |
14715 EOF | 14723 EOF |
14716 if { (eval echo configure:14717: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14724 if { (eval echo configure:14725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14717 rm -rf conftest* | 14725 rm -rf conftest* |
14718 | 14726 |
14719 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14727 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14720 # reports no error. So, we need to grep stderr for (Bundled). | 14728 # reports no error. So, we need to grep stderr for (Bundled). |
14721 if grep '(Bundled)' config.log >/dev/null; then | 14729 if grep '(Bundled)' config.log >/dev/null; then |
14742 if test "$can_build_shared" = "yes"; then | 14750 if test "$can_build_shared" = "yes"; then |
14743 cc_produces_so=no | 14751 cc_produces_so=no |
14744 xldf= | 14752 xldf= |
14745 xcldf= | 14753 xcldf= |
14746 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14754 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14747 echo "configure:14748: checking if C compiler can produce shared libraries" >&5 | 14755 echo "configure:14756: checking if C compiler can produce shared libraries" >&5 |
14748 if test "$XEGCC" = yes; then | 14756 if test "$XEGCC" = yes; then |
14749 xcldf="-shared" | 14757 xcldf="-shared" |
14750 xldf="-shared" | 14758 xldf="-shared" |
14751 else # Not using GCC | 14759 else # Not using GCC |
14752 case "$xehost_os" in | 14760 case "$xehost_os" in |
14793 LDFLAGS="$xcldf $LDFLAGS" | 14801 LDFLAGS="$xcldf $LDFLAGS" |
14794 LIBS= | 14802 LIBS= |
14795 xe_libs= | 14803 xe_libs= |
14796 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14804 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14797 cat > conftest.$ac_ext <<EOF | 14805 cat > conftest.$ac_ext <<EOF |
14798 #line 14799 "configure" | 14806 #line 14807 "configure" |
14799 #include "confdefs.h" | 14807 #include "confdefs.h" |
14800 | 14808 |
14801 int main() { | 14809 int main() { |
14802 int x=0; | 14810 int x=0; |
14803 ; return 0; } | 14811 ; return 0; } |
14804 EOF | 14812 EOF |
14805 if { (eval echo configure:14806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14813 if { (eval echo configure:14814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14806 rm -rf conftest* | 14814 rm -rf conftest* |
14807 cc_produces_so=yes | 14815 cc_produces_so=yes |
14808 else | 14816 else |
14809 echo "configure: failed program was:" >&5 | 14817 echo "configure: failed program was:" >&5 |
14810 cat conftest.$ac_ext >&5 | 14818 cat conftest.$ac_ext >&5 |
14825 if test -z "$LTLD"; then | 14833 if test -z "$LTLD"; then |
14826 ac_prog=ld | 14834 ac_prog=ld |
14827 if test "$XEGCC" = yes; then | 14835 if test "$XEGCC" = yes; then |
14828 # Check if gcc -print-prog-name=ld gives a path. | 14836 # Check if gcc -print-prog-name=ld gives a path. |
14829 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14837 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14830 echo "configure:14831: checking for ld used by GCC" >&5 | 14838 echo "configure:14839: checking for ld used by GCC" >&5 |
14831 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14839 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14832 case "$ac_prog" in | 14840 case "$ac_prog" in |
14833 # Accept absolute paths. | 14841 # Accept absolute paths. |
14834 /*) | 14842 /*) |
14835 if test -z "$LTLD"; then | 14843 if test -z "$LTLD"; then |
14850 with_gnu_ld=unknown | 14858 with_gnu_ld=unknown |
14851 ;; | 14859 ;; |
14852 esac | 14860 esac |
14853 else | 14861 else |
14854 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14862 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14855 echo "configure:14856: checking for GNU ld" >&5 | 14863 echo "configure:14864: checking for GNU ld" >&5 |
14856 fi | 14864 fi |
14857 | 14865 |
14858 if test -z "$LTLD"; then | 14866 if test -z "$LTLD"; then |
14859 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14867 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14860 for ac_dir in $PATH; do | 14868 for ac_dir in $PATH; do |
14888 | 14896 |
14889 ld_dynamic_link_flags= | 14897 ld_dynamic_link_flags= |
14890 | 14898 |
14891 # Check to see if it really is or isn't GNU ld. | 14899 # Check to see if it really is or isn't GNU ld. |
14892 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14900 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14893 echo "configure:14894: checking if the linker is GNU ld" >&5 | 14901 echo "configure:14902: checking if the linker is GNU ld" >&5 |
14894 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14902 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14895 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14903 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14896 xe_gnu_ld=yes | 14904 xe_gnu_ld=yes |
14897 else | 14905 else |
14898 xe_gnu_ld=no | 14906 xe_gnu_ld=no |
14916 ld_shlibs=yes | 14924 ld_shlibs=yes |
14917 else | 14925 else |
14918 # OK - only NOW do we futz about with ld. | 14926 # OK - only NOW do we futz about with ld. |
14919 # See if the linker supports building shared libraries. | 14927 # See if the linker supports building shared libraries. |
14920 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14928 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14921 echo "configure:14922: checking whether the linker supports shared libraries" >&5 | 14929 echo "configure:14930: checking whether the linker supports shared libraries" >&5 |
14922 dll_ld=$CC | 14930 dll_ld=$CC |
14923 dll_ldflags=$LDFLAGS | 14931 dll_ldflags=$LDFLAGS |
14924 ld_shlibs=yes | 14932 ld_shlibs=yes |
14925 can_build_shared=yes | 14933 can_build_shared=yes |
14926 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14934 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
15127 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 15135 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
15128 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 15136 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
15129 for ac_func in dlerror _dlerror | 15137 for ac_func in dlerror _dlerror |
15130 do | 15138 do |
15131 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 15139 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
15132 echo "configure:15133: checking for $ac_func" >&5 | 15140 echo "configure:15141: checking for $ac_func" >&5 |
15133 | 15141 |
15134 cat > conftest.$ac_ext <<EOF | 15142 cat > conftest.$ac_ext <<EOF |
15135 #line 15136 "configure" | 15143 #line 15144 "configure" |
15136 #include "confdefs.h" | 15144 #include "confdefs.h" |
15137 /* System header to define __stub macros and hopefully few prototypes, | 15145 /* System header to define __stub macros and hopefully few prototypes, |
15138 which can conflict with char $ac_func(); below. */ | 15146 which can conflict with char $ac_func(); below. */ |
15139 #include <assert.h> | 15147 #include <assert.h> |
15140 /* Override any gcc2 internal prototype to avoid an error. */ | 15148 /* Override any gcc2 internal prototype to avoid an error. */ |
15153 $ac_func(); | 15161 $ac_func(); |
15154 #endif | 15162 #endif |
15155 | 15163 |
15156 ; return 0; } | 15164 ; return 0; } |
15157 EOF | 15165 EOF |
15158 if { (eval echo configure:15159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15166 if { (eval echo configure:15167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15159 rm -rf conftest* | 15167 rm -rf conftest* |
15160 eval "ac_cv_func_$ac_func=yes" | 15168 eval "ac_cv_func_$ac_func=yes" |
15161 else | 15169 else |
15162 echo "configure: failed program was:" >&5 | 15170 echo "configure: failed program was:" >&5 |
15163 cat conftest.$ac_ext >&5 | 15171 cat conftest.$ac_ext >&5 |
15185 with_modules=yes | 15193 with_modules=yes |
15186 else | 15194 else |
15187 if test "$with_modules" = "yes"; then | 15195 if test "$with_modules" = "yes"; then |
15188 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; } | 15196 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; } |
15189 else | 15197 else |
15190 echo "configure: warning: Module support cannot be provided." 1>&2 | 15198 echo " No module support." |
15191 fi | 15199 fi |
15192 with_modules=no | 15200 with_modules=no |
15193 fi | 15201 fi |
15194 fi | 15202 fi |
15195 | 15203 |
15196 cat > conftest.$ac_ext <<EOF | 15204 cat > conftest.$ac_ext <<EOF |
15197 #line 15198 "configure" | 15205 #line 15206 "configure" |
15198 #include "confdefs.h" | 15206 #include "confdefs.h" |
15199 int main(int c,char *v[]){return 0;} | 15207 int main(int c,char *v[]){return 0;} |
15200 EOF | 15208 EOF |
15201 if { (eval echo configure:15202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15209 if { (eval echo configure:15210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15202 then | 15210 then |
15203 : | 15211 : |
15204 else | 15212 else |
15205 conftest_rc="$?" | 15213 conftest_rc="$?" |
15206 echo "configure: failed program was:" >&5 | 15214 echo "configure: failed program was:" >&5 |