comparison configure @ 227:0e522484dd2a r20-5b12

Import from CVS: tag r20-5b12
author cvs
date Mon, 13 Aug 2007 10:12:37 +0200
parents 12579d965149
children 557eaa0339bf
comparison
equal deleted inserted replaced
226:eea38c7ad7b4 227:0e522484dd2a
5285 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 5285 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
5286 esac 5286 esac
5287 5287
5288 echo "checking for session-management option" 1>&6 5288 echo "checking for session-management option" 1>&6
5289 echo "configure:5290: checking for session-management option" >&5; 5289 echo "configure:5290: checking for session-management option" >&5;
5290 if test "$with_session" = "yes"; then 5290 if test "$with_session" != "no"; then
5291 { test "$extra_verbose" = "yes" && cat << \EOF 5291 { test "$extra_verbose" = "yes" && cat << \EOF
5292 Defining HAVE_SESSION 5292 Defining HAVE_SESSION
5293 EOF 5293 EOF
5294 cat >> confdefs.h <<\EOF 5294 cat >> confdefs.h <<\EOF
5295 #define HAVE_SESSION 1 5295 #define HAVE_SESSION 1
6610 fi 6610 fi
6611 6611
6612 6612
6613 test -z "$with_mule" && with_mule=no 6613 test -z "$with_mule" && with_mule=no
6614 6614
6615 if test "$with_mule" = "yes" && test ! -d "$srcdir/lisp/mule"; then
6616 echo "Attempt to Build with Mule without Mule/Lisp"
6617 echo "Please install the XEmacs/Mule tarball or"
6618 echo "rerun configure with --with-mule=no"
6619 exit 1
6620 fi
6621 6615
6622 if test "$with_mule" = "yes" ; then 6616 if test "$with_mule" = "yes" ; then
6623 echo "checking for Mule-related features" 1>&6 6617 echo "checking for Mule-related features" 1>&6
6624 echo "configure:6625: checking for Mule-related features" >&5 6618 echo "configure:6619: checking for Mule-related features" >&5
6625 { test "$extra_verbose" = "yes" && cat << \EOF 6619 { test "$extra_verbose" = "yes" && cat << \EOF
6626 Defining MULE 6620 Defining MULE
6627 EOF 6621 EOF
6628 cat >> confdefs.h <<\EOF 6622 cat >> confdefs.h <<\EOF
6629 #define MULE 1 6623 #define MULE 1
6636 6630
6637 for ac_hdr in libintl.h 6631 for ac_hdr in libintl.h
6638 do 6632 do
6639 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 6633 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6640 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 6634 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
6641 echo "configure:6642: checking for $ac_hdr" >&5 6635 echo "configure:6636: checking for $ac_hdr" >&5
6642 6636
6643 cat > conftest.$ac_ext <<EOF 6637 cat > conftest.$ac_ext <<EOF
6644 #line 6645 "configure" 6638 #line 6639 "configure"
6645 #include "confdefs.h" 6639 #include "confdefs.h"
6646 #include <$ac_hdr> 6640 #include <$ac_hdr>
6647 EOF 6641 EOF
6648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6649 { (eval echo configure:6650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6643 { (eval echo configure:6644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6650 ac_err=`grep -v '^ *+' conftest.out` 6644 ac_err=`grep -v '^ *+' conftest.out`
6651 if test -z "$ac_err"; then 6645 if test -z "$ac_err"; then
6652 rm -rf conftest* 6646 rm -rf conftest*
6653 eval "ac_cv_header_$ac_safe=yes" 6647 eval "ac_cv_header_$ac_safe=yes"
6654 else 6648 else
6675 fi 6669 fi
6676 done 6670 done
6677 6671
6678 6672
6679 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 6673 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
6680 echo "configure:6681: checking for strerror in -lintl" >&5 6674 echo "configure:6675: checking for strerror in -lintl" >&5
6681 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 6675 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
6682 6676
6683 xe_check_libs=" -lintl " 6677 xe_check_libs=" -lintl "
6684 cat > conftest.$ac_ext <<EOF 6678 cat > conftest.$ac_ext <<EOF
6685 #line 6686 "configure" 6679 #line 6680 "configure"
6686 #include "confdefs.h" 6680 #include "confdefs.h"
6687 /* Override any gcc2 internal prototype to avoid an error. */ 6681 /* Override any gcc2 internal prototype to avoid an error. */
6688 /* We use char because int might match the return type of a gcc2 6682 /* We use char because int might match the return type of a gcc2
6689 builtin and then its argument prototype would still apply. */ 6683 builtin and then its argument prototype would still apply. */
6690 char strerror(); 6684 char strerror();
6691 6685
6692 int main() { 6686 int main() {
6693 strerror() 6687 strerror()
6694 ; return 0; } 6688 ; return 0; }
6695 EOF 6689 EOF
6696 if { (eval echo configure:6697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6690 if { (eval echo configure:6691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6697 rm -rf conftest* 6691 rm -rf conftest*
6698 eval "ac_cv_lib_$ac_lib_var=yes" 6692 eval "ac_cv_lib_$ac_lib_var=yes"
6699 else 6693 else
6700 echo "configure: failed program was:" >&5 6694 echo "configure: failed program was:" >&5
6701 cat conftest.$ac_ext >&5 6695 cat conftest.$ac_ext >&5
6724 fi 6718 fi
6725 6719
6726 6720
6727 6721
6728 echo "checking for Mule input methods" 1>&6 6722 echo "checking for Mule input methods" 1>&6
6729 echo "configure:6730: checking for Mule input methods" >&5 6723 echo "configure:6724: checking for Mule input methods" >&5
6730 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no 6724 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no
6731 case "$with_xim" in "" | "yes" ) 6725 case "$with_xim" in "" | "yes" )
6732 echo "checking for XIM" 1>&6 6726 echo "checking for XIM" 1>&6
6733 echo "configure:6734: checking for XIM" >&5 6727 echo "configure:6728: checking for XIM" >&5
6734 6728
6735 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 6729 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
6736 echo "configure:6737: checking for XmImMbLookupString in -lXm" >&5 6730 echo "configure:6731: checking for XmImMbLookupString in -lXm" >&5
6737 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 6731 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
6738 6732
6739 xe_check_libs=" -lXm " 6733 xe_check_libs=" -lXm "
6740 cat > conftest.$ac_ext <<EOF 6734 cat > conftest.$ac_ext <<EOF
6741 #line 6742 "configure" 6735 #line 6736 "configure"
6742 #include "confdefs.h" 6736 #include "confdefs.h"
6743 /* Override any gcc2 internal prototype to avoid an error. */ 6737 /* Override any gcc2 internal prototype to avoid an error. */
6744 /* We use char because int might match the return type of a gcc2 6738 /* We use char because int might match the return type of a gcc2
6745 builtin and then its argument prototype would still apply. */ 6739 builtin and then its argument prototype would still apply. */
6746 char XmImMbLookupString(); 6740 char XmImMbLookupString();
6747 6741
6748 int main() { 6742 int main() {
6749 XmImMbLookupString() 6743 XmImMbLookupString()
6750 ; return 0; } 6744 ; return 0; }
6751 EOF 6745 EOF
6752 if { (eval echo configure:6753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6746 if { (eval echo configure:6747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6753 rm -rf conftest* 6747 rm -rf conftest*
6754 eval "ac_cv_lib_$ac_lib_var=yes" 6748 eval "ac_cv_lib_$ac_lib_var=yes"
6755 else 6749 else
6756 echo "configure: failed program was:" >&5 6750 echo "configure: failed program was:" >&5
6757 cat conftest.$ac_ext >&5 6751 cat conftest.$ac_ext >&5
6812 fi 6806 fi
6813 fi 6807 fi
6814 6808
6815 if test "$with_xfs" = "yes" ; then 6809 if test "$with_xfs" = "yes" ; then
6816 echo "checking for XFontSet" 1>&6 6810 echo "checking for XFontSet" 1>&6
6817 echo "configure:6818: checking for XFontSet" >&5 6811 echo "configure:6812: checking for XFontSet" >&5
6818 6812
6819 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 6813 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
6820 echo "configure:6821: checking for XmbDrawString in -lX11" >&5 6814 echo "configure:6815: checking for XmbDrawString in -lX11" >&5
6821 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 6815 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
6822 6816
6823 xe_check_libs=" -lX11 " 6817 xe_check_libs=" -lX11 "
6824 cat > conftest.$ac_ext <<EOF 6818 cat > conftest.$ac_ext <<EOF
6825 #line 6826 "configure" 6819 #line 6820 "configure"
6826 #include "confdefs.h" 6820 #include "confdefs.h"
6827 /* Override any gcc2 internal prototype to avoid an error. */ 6821 /* Override any gcc2 internal prototype to avoid an error. */
6828 /* We use char because int might match the return type of a gcc2 6822 /* We use char because int might match the return type of a gcc2
6829 builtin and then its argument prototype would still apply. */ 6823 builtin and then its argument prototype would still apply. */
6830 char XmbDrawString(); 6824 char XmbDrawString();
6831 6825
6832 int main() { 6826 int main() {
6833 XmbDrawString() 6827 XmbDrawString()
6834 ; return 0; } 6828 ; return 0; }
6835 EOF 6829 EOF
6836 if { (eval echo configure:6837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6830 if { (eval echo configure:6831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6837 rm -rf conftest* 6831 rm -rf conftest*
6838 eval "ac_cv_lib_$ac_lib_var=yes" 6832 eval "ac_cv_lib_$ac_lib_var=yes"
6839 else 6833 else
6840 echo "configure: failed program was:" >&5 6834 echo "configure: failed program was:" >&5
6841 cat conftest.$ac_ext >&5 6835 cat conftest.$ac_ext >&5
6871 fi 6865 fi
6872 fi 6866 fi
6873 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 6867 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
6874 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 6868 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
6875 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 6869 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
6876 echo "configure:6877: checking for wnn/jllib.h" >&5 6870 echo "configure:6871: checking for wnn/jllib.h" >&5
6877 6871
6878 cat > conftest.$ac_ext <<EOF 6872 cat > conftest.$ac_ext <<EOF
6879 #line 6880 "configure" 6873 #line 6874 "configure"
6880 #include "confdefs.h" 6874 #include "confdefs.h"
6881 #include <wnn/jllib.h> 6875 #include <wnn/jllib.h>
6882 EOF 6876 EOF
6883 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6884 { (eval echo configure:6885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6878 { (eval echo configure:6879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6885 ac_err=`grep -v '^ *+' conftest.out` 6879 ac_err=`grep -v '^ *+' conftest.out`
6886 if test -z "$ac_err"; then 6880 if test -z "$ac_err"; then
6887 rm -rf conftest* 6881 rm -rf conftest*
6888 eval "ac_cv_header_$ac_safe=yes" 6882 eval "ac_cv_header_$ac_safe=yes"
6889 else 6883 else
6904 } 6898 }
6905 if test "$with_wnn" != "no"; then 6899 if test "$with_wnn" != "no"; then
6906 for ac_func in crypt 6900 for ac_func in crypt
6907 do 6901 do
6908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 6902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6909 echo "configure:6910: checking for $ac_func" >&5 6903 echo "configure:6904: checking for $ac_func" >&5
6910 6904
6911 cat > conftest.$ac_ext <<EOF 6905 cat > conftest.$ac_ext <<EOF
6912 #line 6913 "configure" 6906 #line 6907 "configure"
6913 #include "confdefs.h" 6907 #include "confdefs.h"
6914 /* System header to define __stub macros and hopefully few prototypes, 6908 /* System header to define __stub macros and hopefully few prototypes,
6915 which can conflict with char $ac_func(); below. */ 6909 which can conflict with char $ac_func(); below. */
6916 #include <assert.h> 6910 #include <assert.h>
6917 /* Override any gcc2 internal prototype to avoid an error. */ 6911 /* Override any gcc2 internal prototype to avoid an error. */
6930 $ac_func(); 6924 $ac_func();
6931 #endif 6925 #endif
6932 6926
6933 ; return 0; } 6927 ; return 0; }
6934 EOF 6928 EOF
6935 if { (eval echo configure:6936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6929 if { (eval echo configure:6930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6936 rm -rf conftest* 6930 rm -rf conftest*
6937 eval "ac_cv_func_$ac_func=yes" 6931 eval "ac_cv_func_$ac_func=yes"
6938 else 6932 else
6939 echo "configure: failed program was:" >&5 6933 echo "configure: failed program was:" >&5
6940 cat conftest.$ac_ext >&5 6934 cat conftest.$ac_ext >&5
6959 fi 6953 fi
6960 done 6954 done
6961 6955
6962 test "$ac_cv_func_crypt" != "yes" && { 6956 test "$ac_cv_func_crypt" != "yes" && {
6963 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 6957 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
6964 echo "configure:6965: checking for crypt in -lcrypt" >&5 6958 echo "configure:6959: checking for crypt in -lcrypt" >&5
6965 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 6959 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
6966 6960
6967 xe_check_libs=" -lcrypt " 6961 xe_check_libs=" -lcrypt "
6968 cat > conftest.$ac_ext <<EOF 6962 cat > conftest.$ac_ext <<EOF
6969 #line 6970 "configure" 6963 #line 6964 "configure"
6970 #include "confdefs.h" 6964 #include "confdefs.h"
6971 /* Override any gcc2 internal prototype to avoid an error. */ 6965 /* Override any gcc2 internal prototype to avoid an error. */
6972 /* We use char because int might match the return type of a gcc2 6966 /* We use char because int might match the return type of a gcc2
6973 builtin and then its argument prototype would still apply. */ 6967 builtin and then its argument prototype would still apply. */
6974 char crypt(); 6968 char crypt();
6975 6969
6976 int main() { 6970 int main() {
6977 crypt() 6971 crypt()
6978 ; return 0; } 6972 ; return 0; }
6979 EOF 6973 EOF
6980 if { (eval echo configure:6981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 6974 if { (eval echo configure:6975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
6981 rm -rf conftest* 6975 rm -rf conftest*
6982 eval "ac_cv_lib_$ac_lib_var=yes" 6976 eval "ac_cv_lib_$ac_lib_var=yes"
6983 else 6977 else
6984 echo "configure: failed program was:" >&5 6978 echo "configure: failed program was:" >&5
6985 cat conftest.$ac_ext >&5 6979 cat conftest.$ac_ext >&5
7009 7003
7010 } 7004 }
7011 fi 7005 fi
7012 test -z "$with_wnn" && { 7006 test -z "$with_wnn" && {
7013 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 7007 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
7014 echo "configure:7015: checking for jl_dic_list_e in -lwnn" >&5 7008 echo "configure:7009: checking for jl_dic_list_e in -lwnn" >&5
7015 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 7009 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
7016 7010
7017 xe_check_libs=" -lwnn " 7011 xe_check_libs=" -lwnn "
7018 cat > conftest.$ac_ext <<EOF 7012 cat > conftest.$ac_ext <<EOF
7019 #line 7020 "configure" 7013 #line 7014 "configure"
7020 #include "confdefs.h" 7014 #include "confdefs.h"
7021 /* Override any gcc2 internal prototype to avoid an error. */ 7015 /* Override any gcc2 internal prototype to avoid an error. */
7022 /* We use char because int might match the return type of a gcc2 7016 /* We use char because int might match the return type of a gcc2
7023 builtin and then its argument prototype would still apply. */ 7017 builtin and then its argument prototype would still apply. */
7024 char jl_dic_list_e(); 7018 char jl_dic_list_e();
7025 7019
7026 int main() { 7020 int main() {
7027 jl_dic_list_e() 7021 jl_dic_list_e()
7028 ; return 0; } 7022 ; return 0; }
7029 EOF 7023 EOF
7030 if { (eval echo configure:7031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7024 if { (eval echo configure:7025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7031 rm -rf conftest* 7025 rm -rf conftest*
7032 eval "ac_cv_lib_$ac_lib_var=yes" 7026 eval "ac_cv_lib_$ac_lib_var=yes"
7033 else 7027 else
7034 echo "configure: failed program was:" >&5 7028 echo "configure: failed program was:" >&5
7035 cat conftest.$ac_ext >&5 7029 cat conftest.$ac_ext >&5
7062 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then 7056 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then
7063 echo " xemacs will be linked with \"mule-wnnfns.o\"" 7057 echo " xemacs will be linked with \"mule-wnnfns.o\""
7064 fi 7058 fi
7065 7059
7066 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 7060 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6
7067 echo "configure:7068: checking for jl_fi_dic_list in -lwnn" >&5 7061 echo "configure:7062: checking for jl_fi_dic_list in -lwnn" >&5
7068 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 7062 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
7069 7063
7070 xe_check_libs=" -lwnn " 7064 xe_check_libs=" -lwnn "
7071 cat > conftest.$ac_ext <<EOF 7065 cat > conftest.$ac_ext <<EOF
7072 #line 7073 "configure" 7066 #line 7067 "configure"
7073 #include "confdefs.h" 7067 #include "confdefs.h"
7074 /* Override any gcc2 internal prototype to avoid an error. */ 7068 /* Override any gcc2 internal prototype to avoid an error. */
7075 /* We use char because int might match the return type of a gcc2 7069 /* We use char because int might match the return type of a gcc2
7076 builtin and then its argument prototype would still apply. */ 7070 builtin and then its argument prototype would still apply. */
7077 char jl_fi_dic_list(); 7071 char jl_fi_dic_list();
7078 7072
7079 int main() { 7073 int main() {
7080 jl_fi_dic_list() 7074 jl_fi_dic_list()
7081 ; return 0; } 7075 ; return 0; }
7082 EOF 7076 EOF
7083 if { (eval echo configure:7084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7077 if { (eval echo configure:7078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7084 rm -rf conftest* 7078 rm -rf conftest*
7085 eval "ac_cv_lib_$ac_lib_var=yes" 7079 eval "ac_cv_lib_$ac_lib_var=yes"
7086 else 7080 else
7087 echo "configure: failed program was:" >&5 7081 echo "configure: failed program was:" >&5
7088 cat conftest.$ac_ext >&5 7082 cat conftest.$ac_ext >&5
7110 7104
7111 fi 7105 fi
7112 7106
7113 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 7107 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
7114 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 7108 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
7115 echo "configure:7116: checking for canna/RK.h" >&5 7109 echo "configure:7110: checking for canna/RK.h" >&5
7116 7110
7117 cat > conftest.$ac_ext <<EOF 7111 cat > conftest.$ac_ext <<EOF
7118 #line 7119 "configure" 7112 #line 7113 "configure"
7119 #include "confdefs.h" 7113 #include "confdefs.h"
7120 #include <canna/RK.h> 7114 #include <canna/RK.h>
7121 EOF 7115 EOF
7122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7123 { (eval echo configure:7124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7117 { (eval echo configure:7118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7124 ac_err=`grep -v '^ *+' conftest.out` 7118 ac_err=`grep -v '^ *+' conftest.out`
7125 if test -z "$ac_err"; then 7119 if test -z "$ac_err"; then
7126 rm -rf conftest* 7120 rm -rf conftest*
7127 eval "ac_cv_header_$ac_safe=yes" 7121 eval "ac_cv_header_$ac_safe=yes"
7128 else 7122 else
7141 with_canna=no 7135 with_canna=no
7142 fi 7136 fi
7143 } 7137 }
7144 test -z "$with_canna" && { 7138 test -z "$with_canna" && {
7145 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 7139 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
7146 echo "configure:7147: checking for RkBgnBun in -lRKC" >&5 7140 echo "configure:7141: checking for RkBgnBun in -lRKC" >&5
7147 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 7141 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
7148 7142
7149 xe_check_libs=" -lRKC " 7143 xe_check_libs=" -lRKC "
7150 cat > conftest.$ac_ext <<EOF 7144 cat > conftest.$ac_ext <<EOF
7151 #line 7152 "configure" 7145 #line 7146 "configure"
7152 #include "confdefs.h" 7146 #include "confdefs.h"
7153 /* Override any gcc2 internal prototype to avoid an error. */ 7147 /* Override any gcc2 internal prototype to avoid an error. */
7154 /* We use char because int might match the return type of a gcc2 7148 /* We use char because int might match the return type of a gcc2
7155 builtin and then its argument prototype would still apply. */ 7149 builtin and then its argument prototype would still apply. */
7156 char RkBgnBun(); 7150 char RkBgnBun();
7157 7151
7158 int main() { 7152 int main() {
7159 RkBgnBun() 7153 RkBgnBun()
7160 ; return 0; } 7154 ; return 0; }
7161 EOF 7155 EOF
7162 if { (eval echo configure:7163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7156 if { (eval echo configure:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7163 rm -rf conftest* 7157 rm -rf conftest*
7164 eval "ac_cv_lib_$ac_lib_var=yes" 7158 eval "ac_cv_lib_$ac_lib_var=yes"
7165 else 7159 else
7166 echo "configure: failed program was:" >&5 7160 echo "configure: failed program was:" >&5
7167 cat conftest.$ac_ext >&5 7161 cat conftest.$ac_ext >&5
7180 fi 7174 fi
7181 7175
7182 } 7176 }
7183 test -z "$with_canna" && { 7177 test -z "$with_canna" && {
7184 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 7178 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
7185 echo "configure:7186: checking for jrKanjiControl in -lcanna" >&5 7179 echo "configure:7180: checking for jrKanjiControl in -lcanna" >&5
7186 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 7180 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
7187 7181
7188 xe_check_libs=" -lcanna " 7182 xe_check_libs=" -lcanna "
7189 cat > conftest.$ac_ext <<EOF 7183 cat > conftest.$ac_ext <<EOF
7190 #line 7191 "configure" 7184 #line 7185 "configure"
7191 #include "confdefs.h" 7185 #include "confdefs.h"
7192 /* Override any gcc2 internal prototype to avoid an error. */ 7186 /* Override any gcc2 internal prototype to avoid an error. */
7193 /* We use char because int might match the return type of a gcc2 7187 /* We use char because int might match the return type of a gcc2
7194 builtin and then its argument prototype would still apply. */ 7188 builtin and then its argument prototype would still apply. */
7195 char jrKanjiControl(); 7189 char jrKanjiControl();
7196 7190
7197 int main() { 7191 int main() {
7198 jrKanjiControl() 7192 jrKanjiControl()
7199 ; return 0; } 7193 ; return 0; }
7200 EOF 7194 EOF
7201 if { (eval echo configure:7202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7195 if { (eval echo configure:7196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7202 rm -rf conftest* 7196 rm -rf conftest*
7203 eval "ac_cv_lib_$ac_lib_var=yes" 7197 eval "ac_cv_lib_$ac_lib_var=yes"
7204 else 7198 else
7205 echo "configure: failed program was:" >&5 7199 echo "configure: failed program was:" >&5
7206 cat conftest.$ac_ext >&5 7200 cat conftest.$ac_ext >&5
7245 7239
7246 if test "$need_motif" = "yes" ; then 7240 if test "$need_motif" = "yes" ; then
7247 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 7241 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
7248 7242
7249 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 7243 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
7250 echo "configure:7251: checking for layout_object_getvalue in -li18n" >&5 7244 echo "configure:7245: checking for layout_object_getvalue in -li18n" >&5
7251 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 7245 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
7252 7246
7253 xe_check_libs=" -li18n " 7247 xe_check_libs=" -li18n "
7254 cat > conftest.$ac_ext <<EOF 7248 cat > conftest.$ac_ext <<EOF
7255 #line 7256 "configure" 7249 #line 7250 "configure"
7256 #include "confdefs.h" 7250 #include "confdefs.h"
7257 /* Override any gcc2 internal prototype to avoid an error. */ 7251 /* Override any gcc2 internal prototype to avoid an error. */
7258 /* We use char because int might match the return type of a gcc2 7252 /* We use char because int might match the return type of a gcc2
7259 builtin and then its argument prototype would still apply. */ 7253 builtin and then its argument prototype would still apply. */
7260 char layout_object_getvalue(); 7254 char layout_object_getvalue();
7261 7255
7262 int main() { 7256 int main() {
7263 layout_object_getvalue() 7257 layout_object_getvalue()
7264 ; return 0; } 7258 ; return 0; }
7265 EOF 7259 EOF
7266 if { (eval echo configure:7267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7260 if { (eval echo configure:7261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7267 rm -rf conftest* 7261 rm -rf conftest*
7268 eval "ac_cv_lib_$ac_lib_var=yes" 7262 eval "ac_cv_lib_$ac_lib_var=yes"
7269 else 7263 else
7270 echo "configure: failed program was:" >&5 7264 echo "configure: failed program was:" >&5
7271 cat conftest.$ac_ext >&5 7265 cat conftest.$ac_ext >&5
7334 fi 7328 fi
7335 7329
7336 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname 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 strcasecmp strerror tzset ulimit usleep utimes waitpid 7330 for ac_func in acosh asinh atanh cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname 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 strcasecmp strerror tzset ulimit usleep utimes waitpid
7337 do 7331 do
7338 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7339 echo "configure:7340: checking for $ac_func" >&5 7333 echo "configure:7334: checking for $ac_func" >&5
7340 7334
7341 cat > conftest.$ac_ext <<EOF 7335 cat > conftest.$ac_ext <<EOF
7342 #line 7343 "configure" 7336 #line 7337 "configure"
7343 #include "confdefs.h" 7337 #include "confdefs.h"
7344 /* System header to define __stub macros and hopefully few prototypes, 7338 /* System header to define __stub macros and hopefully few prototypes,
7345 which can conflict with char $ac_func(); below. */ 7339 which can conflict with char $ac_func(); below. */
7346 #include <assert.h> 7340 #include <assert.h>
7347 /* Override any gcc2 internal prototype to avoid an error. */ 7341 /* Override any gcc2 internal prototype to avoid an error. */
7360 $ac_func(); 7354 $ac_func();
7361 #endif 7355 #endif
7362 7356
7363 ; return 0; } 7357 ; return 0; }
7364 EOF 7358 EOF
7365 if { (eval echo configure:7366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7359 if { (eval echo configure:7360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7366 rm -rf conftest* 7360 rm -rf conftest*
7367 eval "ac_cv_func_$ac_func=yes" 7361 eval "ac_cv_func_$ac_func=yes"
7368 else 7362 else
7369 echo "configure: failed program was:" >&5 7363 echo "configure: failed program was:" >&5
7370 cat conftest.$ac_ext >&5 7364 cat conftest.$ac_ext >&5
7397 fi ;; 7391 fi ;;
7398 * ) 7392 * )
7399 for ac_func in realpath 7393 for ac_func in realpath
7400 do 7394 do
7401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7395 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7402 echo "configure:7403: checking for $ac_func" >&5 7396 echo "configure:7397: checking for $ac_func" >&5
7403 7397
7404 cat > conftest.$ac_ext <<EOF 7398 cat > conftest.$ac_ext <<EOF
7405 #line 7406 "configure" 7399 #line 7400 "configure"
7406 #include "confdefs.h" 7400 #include "confdefs.h"
7407 /* System header to define __stub macros and hopefully few prototypes, 7401 /* System header to define __stub macros and hopefully few prototypes,
7408 which can conflict with char $ac_func(); below. */ 7402 which can conflict with char $ac_func(); below. */
7409 #include <assert.h> 7403 #include <assert.h>
7410 /* Override any gcc2 internal prototype to avoid an error. */ 7404 /* Override any gcc2 internal prototype to avoid an error. */
7423 $ac_func(); 7417 $ac_func();
7424 #endif 7418 #endif
7425 7419
7426 ; return 0; } 7420 ; return 0; }
7427 EOF 7421 EOF
7428 if { (eval echo configure:7429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7422 if { (eval echo configure:7423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7429 rm -rf conftest* 7423 rm -rf conftest*
7430 eval "ac_cv_func_$ac_func=yes" 7424 eval "ac_cv_func_$ac_func=yes"
7431 else 7425 else
7432 echo "configure: failed program was:" >&5 7426 echo "configure: failed program was:" >&5
7433 cat conftest.$ac_ext >&5 7427 cat conftest.$ac_ext >&5
7456 echo " xemacs will be linked with \"realpath.o\"" 7450 echo " xemacs will be linked with \"realpath.o\""
7457 fi ;; 7451 fi ;;
7458 esac 7452 esac
7459 7453
7460 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 7454 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
7461 echo "configure:7462: checking whether netdb declares h_errno" >&5 7455 echo "configure:7456: checking whether netdb declares h_errno" >&5
7462 cat > conftest.$ac_ext <<EOF 7456 cat > conftest.$ac_ext <<EOF
7463 #line 7464 "configure" 7457 #line 7458 "configure"
7464 #include "confdefs.h" 7458 #include "confdefs.h"
7465 #include <netdb.h> 7459 #include <netdb.h>
7466 int main() { 7460 int main() {
7467 return h_errno; 7461 return h_errno;
7468 ; return 0; } 7462 ; return 0; }
7469 EOF 7463 EOF
7470 if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7464 if { (eval echo configure:7465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7471 rm -rf conftest* 7465 rm -rf conftest*
7472 echo "$ac_t""yes" 1>&6 7466 echo "$ac_t""yes" 1>&6
7473 { test "$extra_verbose" = "yes" && cat << \EOF 7467 { test "$extra_verbose" = "yes" && cat << \EOF
7474 Defining HAVE_H_ERRNO 7468 Defining HAVE_H_ERRNO
7475 EOF 7469 EOF
7485 echo "$ac_t""no" 1>&6 7479 echo "$ac_t""no" 1>&6
7486 fi 7480 fi
7487 rm -f conftest* 7481 rm -f conftest*
7488 7482
7489 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 7483 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
7490 echo "configure:7491: checking for sigsetjmp" >&5 7484 echo "configure:7485: checking for sigsetjmp" >&5
7491 cat > conftest.$ac_ext <<EOF 7485 cat > conftest.$ac_ext <<EOF
7492 #line 7493 "configure" 7486 #line 7487 "configure"
7493 #include "confdefs.h" 7487 #include "confdefs.h"
7494 #include <setjmp.h> 7488 #include <setjmp.h>
7495 int main() { 7489 int main() {
7496 sigjmp_buf bar; sigsetjmp (bar, 0); 7490 sigjmp_buf bar; sigsetjmp (bar, 0);
7497 ; return 0; } 7491 ; return 0; }
7498 EOF 7492 EOF
7499 if { (eval echo configure:7500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7493 if { (eval echo configure:7494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7500 rm -rf conftest* 7494 rm -rf conftest*
7501 echo "$ac_t""yes" 1>&6 7495 echo "$ac_t""yes" 1>&6
7502 { test "$extra_verbose" = "yes" && cat << \EOF 7496 { test "$extra_verbose" = "yes" && cat << \EOF
7503 Defining HAVE_SIGSETJMP 7497 Defining HAVE_SIGSETJMP
7504 EOF 7498 EOF
7514 echo "$ac_t""no" 1>&6 7508 echo "$ac_t""no" 1>&6
7515 fi 7509 fi
7516 rm -f conftest* 7510 rm -f conftest*
7517 7511
7518 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 7512 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
7519 echo "configure:7520: checking whether localtime caches TZ" >&5 7513 echo "configure:7514: checking whether localtime caches TZ" >&5
7520 7514
7521 if test "$ac_cv_func_tzset" = "yes"; then 7515 if test "$ac_cv_func_tzset" = "yes"; then
7522 cat > conftest.$ac_ext <<EOF 7516 cat > conftest.$ac_ext <<EOF
7523 #line 7524 "configure" 7517 #line 7518 "configure"
7524 #include "confdefs.h" 7518 #include "confdefs.h"
7525 #include <time.h> 7519 #include <time.h>
7526 #if STDC_HEADERS 7520 #if STDC_HEADERS
7527 # include <stdlib.h> 7521 # include <stdlib.h>
7528 #endif 7522 #endif
7553 if (localtime (&now)->tm_hour != hour_unset) 7547 if (localtime (&now)->tm_hour != hour_unset)
7554 exit (1); 7548 exit (1);
7555 exit (0); 7549 exit (0);
7556 } 7550 }
7557 EOF 7551 EOF
7558 if { (eval echo configure:7559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 7552 if { (eval echo configure:7553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
7559 then 7553 then
7560 emacs_cv_localtime_cache=no 7554 emacs_cv_localtime_cache=no
7561 else 7555 else
7562 echo "configure: failed program was:" >&5 7556 echo "configure: failed program was:" >&5
7563 cat conftest.$ac_ext >&5 7557 cat conftest.$ac_ext >&5
7582 7576
7583 fi 7577 fi
7584 7578
7585 if test "$HAVE_TIMEVAL" = "yes"; then 7579 if test "$HAVE_TIMEVAL" = "yes"; then
7586 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 7580 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6
7587 echo "configure:7588: checking whether gettimeofday cannot accept two arguments" >&5 7581 echo "configure:7582: checking whether gettimeofday cannot accept two arguments" >&5
7588 cat > conftest.$ac_ext <<EOF 7582 cat > conftest.$ac_ext <<EOF
7589 #line 7590 "configure" 7583 #line 7584 "configure"
7590 #include "confdefs.h" 7584 #include "confdefs.h"
7591 7585
7592 #ifdef TIME_WITH_SYS_TIME 7586 #ifdef TIME_WITH_SYS_TIME
7593 #include <sys/time.h> 7587 #include <sys/time.h>
7594 #include <time.h> 7588 #include <time.h>
7606 struct timezone dummy; 7600 struct timezone dummy;
7607 gettimeofday (&time, &dummy); 7601 gettimeofday (&time, &dummy);
7608 7602
7609 ; return 0; } 7603 ; return 0; }
7610 EOF 7604 EOF
7611 if { (eval echo configure:7612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7605 if { (eval echo configure:7606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7612 rm -rf conftest* 7606 rm -rf conftest*
7613 echo "$ac_t""no" 1>&6 7607 echo "$ac_t""no" 1>&6
7614 else 7608 else
7615 echo "configure: failed program was:" >&5 7609 echo "configure: failed program was:" >&5
7616 cat conftest.$ac_ext >&5 7610 cat conftest.$ac_ext >&5
7628 rm -f conftest* 7622 rm -f conftest*
7629 fi 7623 fi
7630 7624
7631 7625
7632 echo $ac_n "checking for inline""... $ac_c" 1>&6 7626 echo $ac_n "checking for inline""... $ac_c" 1>&6
7633 echo "configure:7634: checking for inline" >&5 7627 echo "configure:7628: checking for inline" >&5
7634 7628
7635 ac_cv_c_inline=no 7629 ac_cv_c_inline=no
7636 for ac_kw in inline __inline__ __inline; do 7630 for ac_kw in inline __inline__ __inline; do
7637 cat > conftest.$ac_ext <<EOF 7631 cat > conftest.$ac_ext <<EOF
7638 #line 7639 "configure" 7632 #line 7633 "configure"
7639 #include "confdefs.h" 7633 #include "confdefs.h"
7640 7634
7641 int main() { 7635 int main() {
7642 } $ac_kw foo() { 7636 } $ac_kw foo() {
7643 ; return 0; } 7637 ; return 0; }
7644 EOF 7638 EOF
7645 if { (eval echo configure:7646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 7639 if { (eval echo configure:7640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7646 rm -rf conftest* 7640 rm -rf conftest*
7647 ac_cv_c_inline=$ac_kw; break 7641 ac_cv_c_inline=$ac_kw; break
7648 else 7642 else
7649 echo "configure: failed program was:" >&5 7643 echo "configure: failed program was:" >&5
7650 cat conftest.$ac_ext >&5 7644 cat conftest.$ac_ext >&5
7690 7684
7691 7685
7692 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 7686 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7693 # for constant arguments. Useless! 7687 # for constant arguments. Useless!
7694 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 7688 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
7695 echo "configure:7696: checking for working alloca.h" >&5 7689 echo "configure:7690: checking for working alloca.h" >&5
7696 7690
7697 cat > conftest.$ac_ext <<EOF 7691 cat > conftest.$ac_ext <<EOF
7698 #line 7699 "configure" 7692 #line 7693 "configure"
7699 #include "confdefs.h" 7693 #include "confdefs.h"
7700 #include <alloca.h> 7694 #include <alloca.h>
7701 int main() { 7695 int main() {
7702 char *p = alloca(2 * sizeof(int)); 7696 char *p = alloca(2 * sizeof(int));
7703 ; return 0; } 7697 ; return 0; }
7704 EOF 7698 EOF
7705 if { (eval echo configure:7706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7699 if { (eval echo configure:7700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7706 rm -rf conftest* 7700 rm -rf conftest*
7707 ac_cv_header_alloca_h=yes 7701 ac_cv_header_alloca_h=yes
7708 else 7702 else
7709 echo "configure: failed program was:" >&5 7703 echo "configure: failed program was:" >&5
7710 cat conftest.$ac_ext >&5 7704 cat conftest.$ac_ext >&5
7724 } 7718 }
7725 7719
7726 fi 7720 fi
7727 7721
7728 echo $ac_n "checking for alloca""... $ac_c" 1>&6 7722 echo $ac_n "checking for alloca""... $ac_c" 1>&6
7729 echo "configure:7730: checking for alloca" >&5 7723 echo "configure:7724: checking for alloca" >&5
7730 7724
7731 cat > conftest.$ac_ext <<EOF 7725 cat > conftest.$ac_ext <<EOF
7732 #line 7733 "configure" 7726 #line 7727 "configure"
7733 #include "confdefs.h" 7727 #include "confdefs.h"
7734 7728
7735 #ifdef __GNUC__ 7729 #ifdef __GNUC__
7736 # define alloca __builtin_alloca 7730 # define alloca __builtin_alloca
7737 #else 7731 #else
7750 7744
7751 int main() { 7745 int main() {
7752 char *p = (char *) alloca(1); 7746 char *p = (char *) alloca(1);
7753 ; return 0; } 7747 ; return 0; }
7754 EOF 7748 EOF
7755 if { (eval echo configure:7756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7749 if { (eval echo configure:7750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7756 rm -rf conftest* 7750 rm -rf conftest*
7757 ac_cv_func_alloca_works=yes 7751 ac_cv_func_alloca_works=yes
7758 else 7752 else
7759 echo "configure: failed program was:" >&5 7753 echo "configure: failed program was:" >&5
7760 cat conftest.$ac_ext >&5 7754 cat conftest.$ac_ext >&5
7789 EOF 7783 EOF
7790 } 7784 }
7791 7785
7792 7786
7793 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 7787 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
7794 echo "configure:7795: checking whether alloca needs Cray hooks" >&5 7788 echo "configure:7789: checking whether alloca needs Cray hooks" >&5
7795 7789
7796 cat > conftest.$ac_ext <<EOF 7790 cat > conftest.$ac_ext <<EOF
7797 #line 7798 "configure" 7791 #line 7792 "configure"
7798 #include "confdefs.h" 7792 #include "confdefs.h"
7799 #if defined(CRAY) && ! defined(CRAY2) 7793 #if defined(CRAY) && ! defined(CRAY2)
7800 webecray 7794 webecray
7801 #else 7795 #else
7802 wenotbecray 7796 wenotbecray
7816 7810
7817 echo "$ac_t""$ac_cv_os_cray" 1>&6 7811 echo "$ac_t""$ac_cv_os_cray" 1>&6
7818 if test $ac_cv_os_cray = yes; then 7812 if test $ac_cv_os_cray = yes; then
7819 for ac_func in _getb67 GETB67 getb67; do 7813 for ac_func in _getb67 GETB67 getb67; do
7820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7814 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7821 echo "configure:7822: checking for $ac_func" >&5 7815 echo "configure:7816: checking for $ac_func" >&5
7822 7816
7823 cat > conftest.$ac_ext <<EOF 7817 cat > conftest.$ac_ext <<EOF
7824 #line 7825 "configure" 7818 #line 7819 "configure"
7825 #include "confdefs.h" 7819 #include "confdefs.h"
7826 /* System header to define __stub macros and hopefully few prototypes, 7820 /* System header to define __stub macros and hopefully few prototypes,
7827 which can conflict with char $ac_func(); below. */ 7821 which can conflict with char $ac_func(); below. */
7828 #include <assert.h> 7822 #include <assert.h>
7829 /* Override any gcc2 internal prototype to avoid an error. */ 7823 /* Override any gcc2 internal prototype to avoid an error. */
7842 $ac_func(); 7836 $ac_func();
7843 #endif 7837 #endif
7844 7838
7845 ; return 0; } 7839 ; return 0; }
7846 EOF 7840 EOF
7847 if { (eval echo configure:7848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 7841 if { (eval echo configure:7842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
7848 rm -rf conftest* 7842 rm -rf conftest*
7849 eval "ac_cv_func_$ac_func=yes" 7843 eval "ac_cv_func_$ac_func=yes"
7850 else 7844 else
7851 echo "configure: failed program was:" >&5 7845 echo "configure: failed program was:" >&5
7852 cat conftest.$ac_ext >&5 7846 cat conftest.$ac_ext >&5
7872 7866
7873 done 7867 done
7874 fi 7868 fi
7875 7869
7876 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 7870 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
7877 echo "configure:7878: checking stack direction for C alloca" >&5 7871 echo "configure:7872: checking stack direction for C alloca" >&5
7878 7872
7879 cat > conftest.$ac_ext <<EOF 7873 cat > conftest.$ac_ext <<EOF
7880 #line 7881 "configure" 7874 #line 7875 "configure"
7881 #include "confdefs.h" 7875 #include "confdefs.h"
7882 find_stack_direction () 7876 find_stack_direction ()
7883 { 7877 {
7884 static char *addr = 0; 7878 static char *addr = 0;
7885 auto char dummy; 7879 auto char dummy;
7894 main () 7888 main ()
7895 { 7889 {
7896 exit (find_stack_direction() < 0); 7890 exit (find_stack_direction() < 0);
7897 } 7891 }
7898 EOF 7892 EOF
7899 if { (eval echo configure:7900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 7893 if { (eval echo configure:7894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
7900 then 7894 then
7901 ac_cv_c_stack_direction=1 7895 ac_cv_c_stack_direction=1
7902 else 7896 else
7903 echo "configure: failed program was:" >&5 7897 echo "configure: failed program was:" >&5
7904 cat conftest.$ac_ext >&5 7898 cat conftest.$ac_ext >&5
7922 echo " xemacs will be linked with \"$ALLOCA\"" 7916 echo " xemacs will be linked with \"$ALLOCA\""
7923 fi 7917 fi
7924 7918
7925 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 7919 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
7926 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 7920 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
7927 echo "configure:7928: checking for vfork.h" >&5 7921 echo "configure:7922: checking for vfork.h" >&5
7928 7922
7929 cat > conftest.$ac_ext <<EOF 7923 cat > conftest.$ac_ext <<EOF
7930 #line 7931 "configure" 7924 #line 7925 "configure"
7931 #include "confdefs.h" 7925 #include "confdefs.h"
7932 #include <vfork.h> 7926 #include <vfork.h>
7933 EOF 7927 EOF
7934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7935 { (eval echo configure:7936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7929 { (eval echo configure:7930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7936 ac_err=`grep -v '^ *+' conftest.out` 7930 ac_err=`grep -v '^ *+' conftest.out`
7937 if test -z "$ac_err"; then 7931 if test -z "$ac_err"; then
7938 rm -rf conftest* 7932 rm -rf conftest*
7939 eval "ac_cv_header_$ac_safe=yes" 7933 eval "ac_cv_header_$ac_safe=yes"
7940 else 7934 else
7958 else 7952 else
7959 echo "$ac_t""no" 1>&6 7953 echo "$ac_t""no" 1>&6
7960 fi 7954 fi
7961 7955
7962 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 7956 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
7963 echo "configure:7964: checking for working vfork" >&5 7957 echo "configure:7958: checking for working vfork" >&5
7964 7958
7965 cat > conftest.$ac_ext <<EOF 7959 cat > conftest.$ac_ext <<EOF
7966 #line 7967 "configure" 7960 #line 7961 "configure"
7967 #include "confdefs.h" 7961 #include "confdefs.h"
7968 /* Thanks to Paul Eggert for this test. */ 7962 /* Thanks to Paul Eggert for this test. */
7969 #include <stdio.h> 7963 #include <stdio.h>
7970 #include <sys/types.h> 7964 #include <sys/types.h>
7971 #include <sys/stat.h> 7965 #include <sys/stat.h>
8056 || fstat(fileno(stdout), &st) != 0 8050 || fstat(fileno(stdout), &st) != 0
8057 ); 8051 );
8058 } 8052 }
8059 } 8053 }
8060 EOF 8054 EOF
8061 if { (eval echo configure:8062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8055 if { (eval echo configure:8056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8062 then 8056 then
8063 ac_cv_func_vfork_works=yes 8057 ac_cv_func_vfork_works=yes
8064 else 8058 else
8065 echo "configure: failed program was:" >&5 8059 echo "configure: failed program was:" >&5
8066 cat conftest.$ac_ext >&5 8060 cat conftest.$ac_ext >&5
8081 8075
8082 fi 8076 fi
8083 8077
8084 8078
8085 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 8079 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
8086 echo "configure:8087: checking for working strcoll" >&5 8080 echo "configure:8081: checking for working strcoll" >&5
8087 8081
8088 cat > conftest.$ac_ext <<EOF 8082 cat > conftest.$ac_ext <<EOF
8089 #line 8090 "configure" 8083 #line 8084 "configure"
8090 #include "confdefs.h" 8084 #include "confdefs.h"
8091 #include <string.h> 8085 #include <string.h>
8092 main () 8086 main ()
8093 { 8087 {
8094 exit (strcoll ("abc", "def") >= 0 || 8088 exit (strcoll ("abc", "def") >= 0 ||
8095 strcoll ("ABC", "DEF") >= 0 || 8089 strcoll ("ABC", "DEF") >= 0 ||
8096 strcoll ("123", "456") >= 0); 8090 strcoll ("123", "456") >= 0);
8097 } 8091 }
8098 EOF 8092 EOF
8099 if { (eval echo configure:8100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8093 if { (eval echo configure:8094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8100 then 8094 then
8101 ac_cv_func_strcoll_works=yes 8095 ac_cv_func_strcoll_works=yes
8102 else 8096 else
8103 echo "configure: failed program was:" >&5 8097 echo "configure: failed program was:" >&5
8104 cat conftest.$ac_ext >&5 8098 cat conftest.$ac_ext >&5
8121 8115
8122 8116
8123 for ac_func in getpgrp 8117 for ac_func in getpgrp
8124 do 8118 do
8125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8119 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8126 echo "configure:8127: checking for $ac_func" >&5 8120 echo "configure:8121: checking for $ac_func" >&5
8127 8121
8128 cat > conftest.$ac_ext <<EOF 8122 cat > conftest.$ac_ext <<EOF
8129 #line 8130 "configure" 8123 #line 8124 "configure"
8130 #include "confdefs.h" 8124 #include "confdefs.h"
8131 /* System header to define __stub macros and hopefully few prototypes, 8125 /* System header to define __stub macros and hopefully few prototypes,
8132 which can conflict with char $ac_func(); below. */ 8126 which can conflict with char $ac_func(); below. */
8133 #include <assert.h> 8127 #include <assert.h>
8134 /* Override any gcc2 internal prototype to avoid an error. */ 8128 /* Override any gcc2 internal prototype to avoid an error. */
8147 $ac_func(); 8141 $ac_func();
8148 #endif 8142 #endif
8149 8143
8150 ; return 0; } 8144 ; return 0; }
8151 EOF 8145 EOF
8152 if { (eval echo configure:8153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8146 if { (eval echo configure:8147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8153 rm -rf conftest* 8147 rm -rf conftest*
8154 eval "ac_cv_func_$ac_func=yes" 8148 eval "ac_cv_func_$ac_func=yes"
8155 else 8149 else
8156 echo "configure: failed program was:" >&5 8150 echo "configure: failed program was:" >&5
8157 cat conftest.$ac_ext >&5 8151 cat conftest.$ac_ext >&5
8175 echo "$ac_t""no" 1>&6 8169 echo "$ac_t""no" 1>&6
8176 fi 8170 fi
8177 done 8171 done
8178 8172
8179 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 8173 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
8180 echo "configure:8181: checking whether getpgrp takes no argument" >&5 8174 echo "configure:8175: checking whether getpgrp takes no argument" >&5
8181 8175
8182 cat > conftest.$ac_ext <<EOF 8176 cat > conftest.$ac_ext <<EOF
8183 #line 8184 "configure" 8177 #line 8178 "configure"
8184 #include "confdefs.h" 8178 #include "confdefs.h"
8185 8179
8186 /* 8180 /*
8187 * If this system has a BSD-style getpgrp(), 8181 * If this system has a BSD-style getpgrp(),
8188 * which takes a pid argument, exit unsuccessfully. 8182 * which takes a pid argument, exit unsuccessfully.
8233 exit(s>>8); 8227 exit(s>>8);
8234 } 8228 }
8235 } 8229 }
8236 8230
8237 EOF 8231 EOF
8238 if { (eval echo configure:8239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8232 if { (eval echo configure:8233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8239 then 8233 then
8240 ac_cv_func_getpgrp_void=yes 8234 ac_cv_func_getpgrp_void=yes
8241 else 8235 else
8242 echo "configure: failed program was:" >&5 8236 echo "configure: failed program was:" >&5
8243 cat conftest.$ac_ext >&5 8237 cat conftest.$ac_ext >&5
8259 8253
8260 fi 8254 fi
8261 8255
8262 8256
8263 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 8257 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
8264 echo "configure:8265: checking for working mmap" >&5 8258 echo "configure:8259: checking for working mmap" >&5
8265 case "$opsys" in ultrix* ) have_mmap=no ;; *) 8259 case "$opsys" in ultrix* ) have_mmap=no ;; *)
8266 cat > conftest.$ac_ext <<EOF 8260 cat > conftest.$ac_ext <<EOF
8267 #line 8268 "configure" 8261 #line 8262 "configure"
8268 #include "confdefs.h" 8262 #include "confdefs.h"
8269 #include <stdio.h> 8263 #include <stdio.h>
8270 #include <unistd.h> 8264 #include <unistd.h>
8271 #include <fcntl.h> 8265 #include <fcntl.h>
8272 #include <sys/mman.h> 8266 #include <sys/mman.h>
8295 return 0; 8289 return 0;
8296 perror ("conftest: mmap failed"); 8290 perror ("conftest: mmap failed");
8297 return 1; 8291 return 1;
8298 } 8292 }
8299 EOF 8293 EOF
8300 if { (eval echo configure:8301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 8294 if { (eval echo configure:8295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5
8301 then 8295 then
8302 have_mmap=yes 8296 have_mmap=yes
8303 else 8297 else
8304 echo "configure: failed program was:" >&5 8298 echo "configure: failed program was:" >&5
8305 cat conftest.$ac_ext >&5 8299 cat conftest.$ac_ext >&5
8329 } 8323 }
8330 8324
8331 8325
8332 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 8326 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
8333 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 8327 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
8334 echo "configure:8335: checking for termios.h" >&5 8328 echo "configure:8329: checking for termios.h" >&5
8335 8329
8336 cat > conftest.$ac_ext <<EOF 8330 cat > conftest.$ac_ext <<EOF
8337 #line 8338 "configure" 8331 #line 8332 "configure"
8338 #include "confdefs.h" 8332 #include "confdefs.h"
8339 #include <termios.h> 8333 #include <termios.h>
8340 EOF 8334 EOF
8341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8342 { (eval echo configure:8343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8336 { (eval echo configure:8337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8343 ac_err=`grep -v '^ *+' conftest.out` 8337 ac_err=`grep -v '^ *+' conftest.out`
8344 if test -z "$ac_err"; then 8338 if test -z "$ac_err"; then
8345 rm -rf conftest* 8339 rm -rf conftest*
8346 eval "ac_cv_header_$ac_safe=yes" 8340 eval "ac_cv_header_$ac_safe=yes"
8347 else 8341 else
8380 8374
8381 else 8375 else
8382 echo "$ac_t""no" 1>&6 8376 echo "$ac_t""no" 1>&6
8383 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 8377 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
8384 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 8378 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
8385 echo "configure:8386: checking for termio.h" >&5 8379 echo "configure:8380: checking for termio.h" >&5
8386 8380
8387 cat > conftest.$ac_ext <<EOF 8381 cat > conftest.$ac_ext <<EOF
8388 #line 8389 "configure" 8382 #line 8383 "configure"
8389 #include "confdefs.h" 8383 #include "confdefs.h"
8390 #include <termio.h> 8384 #include <termio.h>
8391 EOF 8385 EOF
8392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8386 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8393 { (eval echo configure:8394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8387 { (eval echo configure:8388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8394 ac_err=`grep -v '^ *+' conftest.out` 8388 ac_err=`grep -v '^ *+' conftest.out`
8395 if test -z "$ac_err"; then 8389 if test -z "$ac_err"; then
8396 rm -rf conftest* 8390 rm -rf conftest*
8397 eval "ac_cv_header_$ac_safe=yes" 8391 eval "ac_cv_header_$ac_safe=yes"
8398 else 8392 else
8420 fi 8414 fi
8421 8415
8422 8416
8423 8417
8424 echo $ac_n "checking for socket""... $ac_c" 1>&6 8418 echo $ac_n "checking for socket""... $ac_c" 1>&6
8425 echo "configure:8426: checking for socket" >&5 8419 echo "configure:8420: checking for socket" >&5
8426 8420
8427 cat > conftest.$ac_ext <<EOF 8421 cat > conftest.$ac_ext <<EOF
8428 #line 8429 "configure" 8422 #line 8423 "configure"
8429 #include "confdefs.h" 8423 #include "confdefs.h"
8430 /* System header to define __stub macros and hopefully few prototypes, 8424 /* System header to define __stub macros and hopefully few prototypes,
8431 which can conflict with char socket(); below. */ 8425 which can conflict with char socket(); below. */
8432 #include <assert.h> 8426 #include <assert.h>
8433 /* Override any gcc2 internal prototype to avoid an error. */ 8427 /* Override any gcc2 internal prototype to avoid an error. */
8446 socket(); 8440 socket();
8447 #endif 8441 #endif
8448 8442
8449 ; return 0; } 8443 ; return 0; }
8450 EOF 8444 EOF
8451 if { (eval echo configure:8452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8445 if { (eval echo configure:8446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8452 rm -rf conftest* 8446 rm -rf conftest*
8453 eval "ac_cv_func_socket=yes" 8447 eval "ac_cv_func_socket=yes"
8454 else 8448 else
8455 echo "configure: failed program was:" >&5 8449 echo "configure: failed program was:" >&5
8456 cat conftest.$ac_ext >&5 8450 cat conftest.$ac_ext >&5
8461 8455
8462 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 8456 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
8463 echo "$ac_t""yes" 1>&6 8457 echo "$ac_t""yes" 1>&6
8464 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 8458 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
8465 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 8459 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
8466 echo "configure:8467: checking for netinet/in.h" >&5 8460 echo "configure:8461: checking for netinet/in.h" >&5
8467 8461
8468 cat > conftest.$ac_ext <<EOF 8462 cat > conftest.$ac_ext <<EOF
8469 #line 8470 "configure" 8463 #line 8464 "configure"
8470 #include "confdefs.h" 8464 #include "confdefs.h"
8471 #include <netinet/in.h> 8465 #include <netinet/in.h>
8472 EOF 8466 EOF
8473 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8474 { (eval echo configure:8475: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8468 { (eval echo configure:8469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8475 ac_err=`grep -v '^ *+' conftest.out` 8469 ac_err=`grep -v '^ *+' conftest.out`
8476 if test -z "$ac_err"; then 8470 if test -z "$ac_err"; then
8477 rm -rf conftest* 8471 rm -rf conftest*
8478 eval "ac_cv_header_$ac_safe=yes" 8472 eval "ac_cv_header_$ac_safe=yes"
8479 else 8473 else
8486 rm -f conftest* 8480 rm -f conftest*
8487 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8481 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8488 echo "$ac_t""yes" 1>&6 8482 echo "$ac_t""yes" 1>&6
8489 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 8483 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
8490 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 8484 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
8491 echo "configure:8492: checking for arpa/inet.h" >&5 8485 echo "configure:8486: checking for arpa/inet.h" >&5
8492 8486
8493 cat > conftest.$ac_ext <<EOF 8487 cat > conftest.$ac_ext <<EOF
8494 #line 8495 "configure" 8488 #line 8489 "configure"
8495 #include "confdefs.h" 8489 #include "confdefs.h"
8496 #include <arpa/inet.h> 8490 #include <arpa/inet.h>
8497 EOF 8491 EOF
8498 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8499 { (eval echo configure:8500: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8493 { (eval echo configure:8494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8500 ac_err=`grep -v '^ *+' conftest.out` 8494 ac_err=`grep -v '^ *+' conftest.out`
8501 if test -z "$ac_err"; then 8495 if test -z "$ac_err"; then
8502 rm -rf conftest* 8496 rm -rf conftest*
8503 eval "ac_cv_header_$ac_safe=yes" 8497 eval "ac_cv_header_$ac_safe=yes"
8504 else 8498 else
8519 #define HAVE_SOCKETS 1 8513 #define HAVE_SOCKETS 1
8520 EOF 8514 EOF
8521 } 8515 }
8522 8516
8523 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 8517 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
8524 echo "configure:8525: checking "for sun_len member in struct sockaddr_un"" >&5 8518 echo "configure:8519: checking "for sun_len member in struct sockaddr_un"" >&5
8525 cat > conftest.$ac_ext <<EOF 8519 cat > conftest.$ac_ext <<EOF
8526 #line 8527 "configure" 8520 #line 8521 "configure"
8527 #include "confdefs.h" 8521 #include "confdefs.h"
8528 8522
8529 #include <sys/types.h> 8523 #include <sys/types.h>
8530 #include <sys/socket.h> 8524 #include <sys/socket.h>
8531 #include <sys/un.h> 8525 #include <sys/un.h>
8532 8526
8533 int main() { 8527 int main() {
8534 static struct sockaddr_un x; x.sun_len = 1; 8528 static struct sockaddr_un x; x.sun_len = 1;
8535 ; return 0; } 8529 ; return 0; }
8536 EOF 8530 EOF
8537 if { (eval echo configure:8538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8531 if { (eval echo configure:8532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8538 rm -rf conftest* 8532 rm -rf conftest*
8539 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 8533 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
8540 Defining HAVE_SOCKADDR_SUN_LEN 8534 Defining HAVE_SOCKADDR_SUN_LEN
8541 EOF 8535 EOF
8542 cat >> confdefs.h <<\EOF 8536 cat >> confdefs.h <<\EOF
8563 echo "$ac_t""no" 1>&6 8557 echo "$ac_t""no" 1>&6
8564 fi 8558 fi
8565 8559
8566 8560
8567 echo $ac_n "checking for msgget""... $ac_c" 1>&6 8561 echo $ac_n "checking for msgget""... $ac_c" 1>&6
8568 echo "configure:8569: checking for msgget" >&5 8562 echo "configure:8563: checking for msgget" >&5
8569 8563
8570 cat > conftest.$ac_ext <<EOF 8564 cat > conftest.$ac_ext <<EOF
8571 #line 8572 "configure" 8565 #line 8566 "configure"
8572 #include "confdefs.h" 8566 #include "confdefs.h"
8573 /* System header to define __stub macros and hopefully few prototypes, 8567 /* System header to define __stub macros and hopefully few prototypes,
8574 which can conflict with char msgget(); below. */ 8568 which can conflict with char msgget(); below. */
8575 #include <assert.h> 8569 #include <assert.h>
8576 /* Override any gcc2 internal prototype to avoid an error. */ 8570 /* Override any gcc2 internal prototype to avoid an error. */
8589 msgget(); 8583 msgget();
8590 #endif 8584 #endif
8591 8585
8592 ; return 0; } 8586 ; return 0; }
8593 EOF 8587 EOF
8594 if { (eval echo configure:8595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8588 if { (eval echo configure:8589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8595 rm -rf conftest* 8589 rm -rf conftest*
8596 eval "ac_cv_func_msgget=yes" 8590 eval "ac_cv_func_msgget=yes"
8597 else 8591 else
8598 echo "configure: failed program was:" >&5 8592 echo "configure: failed program was:" >&5
8599 cat conftest.$ac_ext >&5 8593 cat conftest.$ac_ext >&5
8604 8598
8605 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 8599 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
8606 echo "$ac_t""yes" 1>&6 8600 echo "$ac_t""yes" 1>&6
8607 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 8601 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
8608 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 8602 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
8609 echo "configure:8610: checking for sys/ipc.h" >&5 8603 echo "configure:8604: checking for sys/ipc.h" >&5
8610 8604
8611 cat > conftest.$ac_ext <<EOF 8605 cat > conftest.$ac_ext <<EOF
8612 #line 8613 "configure" 8606 #line 8607 "configure"
8613 #include "confdefs.h" 8607 #include "confdefs.h"
8614 #include <sys/ipc.h> 8608 #include <sys/ipc.h>
8615 EOF 8609 EOF
8616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8617 { (eval echo configure:8618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8611 { (eval echo configure:8612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8618 ac_err=`grep -v '^ *+' conftest.out` 8612 ac_err=`grep -v '^ *+' conftest.out`
8619 if test -z "$ac_err"; then 8613 if test -z "$ac_err"; then
8620 rm -rf conftest* 8614 rm -rf conftest*
8621 eval "ac_cv_header_$ac_safe=yes" 8615 eval "ac_cv_header_$ac_safe=yes"
8622 else 8616 else
8629 rm -f conftest* 8623 rm -f conftest*
8630 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8631 echo "$ac_t""yes" 1>&6 8625 echo "$ac_t""yes" 1>&6
8632 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 8626 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
8633 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 8627 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
8634 echo "configure:8635: checking for sys/msg.h" >&5 8628 echo "configure:8629: checking for sys/msg.h" >&5
8635 8629
8636 cat > conftest.$ac_ext <<EOF 8630 cat > conftest.$ac_ext <<EOF
8637 #line 8638 "configure" 8631 #line 8632 "configure"
8638 #include "confdefs.h" 8632 #include "confdefs.h"
8639 #include <sys/msg.h> 8633 #include <sys/msg.h>
8640 EOF 8634 EOF
8641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8642 { (eval echo configure:8643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8636 { (eval echo configure:8637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8643 ac_err=`grep -v '^ *+' conftest.out` 8637 ac_err=`grep -v '^ *+' conftest.out`
8644 if test -z "$ac_err"; then 8638 if test -z "$ac_err"; then
8645 rm -rf conftest* 8639 rm -rf conftest*
8646 eval "ac_cv_header_$ac_safe=yes" 8640 eval "ac_cv_header_$ac_safe=yes"
8647 else 8641 else
8675 fi 8669 fi
8676 8670
8677 8671
8678 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 8672 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
8679 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 8673 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
8680 echo "configure:8681: checking for dirent.h" >&5 8674 echo "configure:8675: checking for dirent.h" >&5
8681 8675
8682 cat > conftest.$ac_ext <<EOF 8676 cat > conftest.$ac_ext <<EOF
8683 #line 8684 "configure" 8677 #line 8678 "configure"
8684 #include "confdefs.h" 8678 #include "confdefs.h"
8685 #include <dirent.h> 8679 #include <dirent.h>
8686 EOF 8680 EOF
8687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8688 { (eval echo configure:8689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8682 { (eval echo configure:8683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8689 ac_err=`grep -v '^ *+' conftest.out` 8683 ac_err=`grep -v '^ *+' conftest.out`
8690 if test -z "$ac_err"; then 8684 if test -z "$ac_err"; then
8691 rm -rf conftest* 8685 rm -rf conftest*
8692 eval "ac_cv_header_$ac_safe=yes" 8686 eval "ac_cv_header_$ac_safe=yes"
8693 else 8687 else
8710 8704
8711 else 8705 else
8712 echo "$ac_t""no" 1>&6 8706 echo "$ac_t""no" 1>&6
8713 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 8707 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
8714 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 8708 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
8715 echo "configure:8716: checking for sys/dir.h" >&5 8709 echo "configure:8710: checking for sys/dir.h" >&5
8716 8710
8717 cat > conftest.$ac_ext <<EOF 8711 cat > conftest.$ac_ext <<EOF
8718 #line 8719 "configure" 8712 #line 8713 "configure"
8719 #include "confdefs.h" 8713 #include "confdefs.h"
8720 #include <sys/dir.h> 8714 #include <sys/dir.h>
8721 EOF 8715 EOF
8722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8723 { (eval echo configure:8724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8717 { (eval echo configure:8718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8724 ac_err=`grep -v '^ *+' conftest.out` 8718 ac_err=`grep -v '^ *+' conftest.out`
8725 if test -z "$ac_err"; then 8719 if test -z "$ac_err"; then
8726 rm -rf conftest* 8720 rm -rf conftest*
8727 eval "ac_cv_header_$ac_safe=yes" 8721 eval "ac_cv_header_$ac_safe=yes"
8728 else 8722 else
8751 fi 8745 fi
8752 8746
8753 8747
8754 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 8748 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
8755 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 8749 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
8756 echo "configure:8757: checking for nlist.h" >&5 8750 echo "configure:8751: checking for nlist.h" >&5
8757 8751
8758 cat > conftest.$ac_ext <<EOF 8752 cat > conftest.$ac_ext <<EOF
8759 #line 8760 "configure" 8753 #line 8754 "configure"
8760 #include "confdefs.h" 8754 #include "confdefs.h"
8761 #include <nlist.h> 8755 #include <nlist.h>
8762 EOF 8756 EOF
8763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8764 { (eval echo configure:8765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8758 { (eval echo configure:8759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8765 ac_err=`grep -v '^ *+' conftest.out` 8759 ac_err=`grep -v '^ *+' conftest.out`
8766 if test -z "$ac_err"; then 8760 if test -z "$ac_err"; then
8767 rm -rf conftest* 8761 rm -rf conftest*
8768 eval "ac_cv_header_$ac_safe=yes" 8762 eval "ac_cv_header_$ac_safe=yes"
8769 else 8763 else
8789 fi 8783 fi
8790 8784
8791 8785
8792 8786
8793 echo "checking "for sound support"" 1>&6 8787 echo "checking "for sound support"" 1>&6
8794 echo "configure:8795: checking "for sound support"" >&5 8788 echo "configure:8789: checking "for sound support"" >&5
8795 case "$with_sound" in 8789 case "$with_sound" in
8796 native | both ) with_native_sound=yes;; 8790 native | both ) with_native_sound=yes;;
8797 nas | no ) with_native_sound=no;; 8791 nas | no ) with_native_sound=no;;
8798 esac 8792 esac
8799 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 8793 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
8800 8794
8801 if test "$with_native_sound" != "no"; then 8795 if test "$with_native_sound" != "no"; then
8802 if test -n "$native_sound_lib"; then 8796 if test -n "$native_sound_lib"; then
8803 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 8797 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
8804 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 8798 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
8805 echo "configure:8806: checking for multimedia/audio_device.h" >&5 8799 echo "configure:8800: checking for multimedia/audio_device.h" >&5
8806 8800
8807 cat > conftest.$ac_ext <<EOF 8801 cat > conftest.$ac_ext <<EOF
8808 #line 8809 "configure" 8802 #line 8803 "configure"
8809 #include "confdefs.h" 8803 #include "confdefs.h"
8810 #include <multimedia/audio_device.h> 8804 #include <multimedia/audio_device.h>
8811 EOF 8805 EOF
8812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8806 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8813 { (eval echo configure:8814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8807 { (eval echo configure:8808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8814 ac_err=`grep -v '^ *+' conftest.out` 8808 ac_err=`grep -v '^ *+' conftest.out`
8815 if test -z "$ac_err"; then 8809 if test -z "$ac_err"; then
8816 rm -rf conftest* 8810 rm -rf conftest*
8817 eval "ac_cv_header_$ac_safe=yes" 8811 eval "ac_cv_header_$ac_safe=yes"
8818 else 8812 else
8856 case "$canonical" in 8850 case "$canonical" in
8857 *-sgi-* ) 8851 *-sgi-* )
8858 if test -z "$native_sound_lib"; then 8852 if test -z "$native_sound_lib"; then
8859 8853
8860 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 8854 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
8861 echo "configure:8862: checking for ALopenport in -laudio" >&5 8855 echo "configure:8856: checking for ALopenport in -laudio" >&5
8862 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 8856 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
8863 8857
8864 xe_check_libs=" -laudio " 8858 xe_check_libs=" -laudio "
8865 cat > conftest.$ac_ext <<EOF 8859 cat > conftest.$ac_ext <<EOF
8866 #line 8867 "configure" 8860 #line 8861 "configure"
8867 #include "confdefs.h" 8861 #include "confdefs.h"
8868 /* Override any gcc2 internal prototype to avoid an error. */ 8862 /* Override any gcc2 internal prototype to avoid an error. */
8869 /* We use char because int might match the return type of a gcc2 8863 /* We use char because int might match the return type of a gcc2
8870 builtin and then its argument prototype would still apply. */ 8864 builtin and then its argument prototype would still apply. */
8871 char ALopenport(); 8865 char ALopenport();
8872 8866
8873 int main() { 8867 int main() {
8874 ALopenport() 8868 ALopenport()
8875 ; return 0; } 8869 ; return 0; }
8876 EOF 8870 EOF
8877 if { (eval echo configure:8878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8871 if { (eval echo configure:8872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8878 rm -rf conftest* 8872 rm -rf conftest*
8879 eval "ac_cv_lib_$ac_lib_var=yes" 8873 eval "ac_cv_lib_$ac_lib_var=yes"
8880 else 8874 else
8881 echo "configure: failed program was:" >&5 8875 echo "configure: failed program was:" >&5
8882 cat conftest.$ac_ext >&5 8876 cat conftest.$ac_ext >&5
8903 fi ;; 8897 fi ;;
8904 hppa*-hp-hpux* ) 8898 hppa*-hp-hpux* )
8905 if test -z "$native_sound_lib"; then 8899 if test -z "$native_sound_lib"; then
8906 8900
8907 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 8901 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
8908 echo "configure:8909: checking for AOpenAudio in -lAlib" >&5 8902 echo "configure:8903: checking for AOpenAudio in -lAlib" >&5
8909 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 8903 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
8910 8904
8911 xe_check_libs=" -lAlib " 8905 xe_check_libs=" -lAlib "
8912 cat > conftest.$ac_ext <<EOF 8906 cat > conftest.$ac_ext <<EOF
8913 #line 8914 "configure" 8907 #line 8908 "configure"
8914 #include "confdefs.h" 8908 #include "confdefs.h"
8915 /* Override any gcc2 internal prototype to avoid an error. */ 8909 /* Override any gcc2 internal prototype to avoid an error. */
8916 /* We use char because int might match the return type of a gcc2 8910 /* We use char because int might match the return type of a gcc2
8917 builtin and then its argument prototype would still apply. */ 8911 builtin and then its argument prototype would still apply. */
8918 char AOpenAudio(); 8912 char AOpenAudio();
8919 8913
8920 int main() { 8914 int main() {
8921 AOpenAudio() 8915 AOpenAudio()
8922 ; return 0; } 8916 ; return 0; }
8923 EOF 8917 EOF
8924 if { (eval echo configure:8925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 8918 if { (eval echo configure:8919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
8925 rm -rf conftest* 8919 rm -rf conftest*
8926 eval "ac_cv_lib_$ac_lib_var=yes" 8920 eval "ac_cv_lib_$ac_lib_var=yes"
8927 else 8921 else
8928 echo "configure: failed program was:" >&5 8922 echo "configure: failed program was:" >&5
8929 cat conftest.$ac_ext >&5 8923 cat conftest.$ac_ext >&5
8957 8951
8958 if test -z "$sound_found"; then 8952 if test -z "$sound_found"; then
8959 for dir in "machine" "sys" "linux"; do 8953 for dir in "machine" "sys" "linux"; do
8960 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 8954 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
8961 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 8955 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
8962 echo "configure:8963: checking for ${dir}/soundcard.h" >&5 8956 echo "configure:8957: checking for ${dir}/soundcard.h" >&5
8963 8957
8964 cat > conftest.$ac_ext <<EOF 8958 cat > conftest.$ac_ext <<EOF
8965 #line 8966 "configure" 8959 #line 8960 "configure"
8966 #include "confdefs.h" 8960 #include "confdefs.h"
8967 #include <${dir}/soundcard.h> 8961 #include <${dir}/soundcard.h>
8968 EOF 8962 EOF
8969 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8963 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8970 { (eval echo configure:8971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8964 { (eval echo configure:8965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8971 ac_err=`grep -v '^ *+' conftest.out` 8965 ac_err=`grep -v '^ *+' conftest.out`
8972 if test -z "$ac_err"; then 8966 if test -z "$ac_err"; then
8973 rm -rf conftest* 8967 rm -rf conftest*
8974 eval "ac_cv_header_$ac_safe=yes" 8968 eval "ac_cv_header_$ac_safe=yes"
8975 else 8969 else
9035 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 9029 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
9036 echo " xemacs will be linked with \"nas.o\"" 9030 echo " xemacs will be linked with \"nas.o\""
9037 fi 9031 fi
9038 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 9032 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
9039 cat > conftest.$ac_ext <<EOF 9033 cat > conftest.$ac_ext <<EOF
9040 #line 9041 "configure" 9034 #line 9035 "configure"
9041 #include "confdefs.h" 9035 #include "confdefs.h"
9042 #include <audio/Xtutil.h> 9036 #include <audio/Xtutil.h>
9043 EOF 9037 EOF
9044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9045 egrep "AuXtErrorJump" >/dev/null 2>&1; then 9039 egrep "AuXtErrorJump" >/dev/null 2>&1; then
9062 9056
9063 test -z "$with_tty" && with_tty=yes 9057 test -z "$with_tty" && with_tty=yes
9064 9058
9065 if test "$with_tty" = "yes" ; then 9059 if test "$with_tty" = "yes" ; then
9066 echo "checking for TTY-related features" 1>&6 9060 echo "checking for TTY-related features" 1>&6
9067 echo "configure:9068: checking for TTY-related features" >&5 9061 echo "configure:9062: checking for TTY-related features" >&5
9068 { test "$extra_verbose" = "yes" && cat << \EOF 9062 { test "$extra_verbose" = "yes" && cat << \EOF
9069 Defining HAVE_TTY 9063 Defining HAVE_TTY
9070 EOF 9064 EOF
9071 cat >> confdefs.h <<\EOF 9065 cat >> confdefs.h <<\EOF
9072 #define HAVE_TTY 1 9066 #define HAVE_TTY 1
9078 fi 9072 fi
9079 9073
9080 if test -z "$with_ncurses"; then 9074 if test -z "$with_ncurses"; then
9081 9075
9082 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 9076 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
9083 echo "configure:9084: checking for tgetent in -lncurses" >&5 9077 echo "configure:9078: checking for tgetent in -lncurses" >&5
9084 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 9078 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
9085 9079
9086 xe_check_libs=" -lncurses " 9080 xe_check_libs=" -lncurses "
9087 cat > conftest.$ac_ext <<EOF 9081 cat > conftest.$ac_ext <<EOF
9088 #line 9089 "configure" 9082 #line 9083 "configure"
9089 #include "confdefs.h" 9083 #include "confdefs.h"
9090 /* Override any gcc2 internal prototype to avoid an error. */ 9084 /* Override any gcc2 internal prototype to avoid an error. */
9091 /* We use char because int might match the return type of a gcc2 9085 /* We use char because int might match the return type of a gcc2
9092 builtin and then its argument prototype would still apply. */ 9086 builtin and then its argument prototype would still apply. */
9093 char tgetent(); 9087 char tgetent();
9094 9088
9095 int main() { 9089 int main() {
9096 tgetent() 9090 tgetent()
9097 ; return 0; } 9091 ; return 0; }
9098 EOF 9092 EOF
9099 if { (eval echo configure:9100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9093 if { (eval echo configure:9094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9100 rm -rf conftest* 9094 rm -rf conftest*
9101 eval "ac_cv_lib_$ac_lib_var=yes" 9095 eval "ac_cv_lib_$ac_lib_var=yes"
9102 else 9096 else
9103 echo "configure: failed program was:" >&5 9097 echo "configure: failed program was:" >&5
9104 cat conftest.$ac_ext >&5 9098 cat conftest.$ac_ext >&5
9127 EOF 9121 EOF
9128 } 9122 }
9129 9123
9130 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 9124 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
9131 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 9125 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
9132 echo "configure:9133: checking for ncurses/curses.h" >&5 9126 echo "configure:9127: checking for ncurses/curses.h" >&5
9133 9127
9134 cat > conftest.$ac_ext <<EOF 9128 cat > conftest.$ac_ext <<EOF
9135 #line 9136 "configure" 9129 #line 9130 "configure"
9136 #include "confdefs.h" 9130 #include "confdefs.h"
9137 #include <ncurses/curses.h> 9131 #include <ncurses/curses.h>
9138 EOF 9132 EOF
9139 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9140 { (eval echo configure:9141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9134 { (eval echo configure:9135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9141 ac_err=`grep -v '^ *+' conftest.out` 9135 ac_err=`grep -v '^ *+' conftest.out`
9142 if test -z "$ac_err"; then 9136 if test -z "$ac_err"; then
9143 rm -rf conftest* 9137 rm -rf conftest*
9144 eval "ac_cv_header_$ac_safe=yes" 9138 eval "ac_cv_header_$ac_safe=yes"
9145 else 9139 else
9157 echo "$ac_t""no" 1>&6 9151 echo "$ac_t""no" 1>&6
9158 fi 9152 fi
9159 9153
9160 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 9154 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
9161 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 9155 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
9162 echo "configure:9163: checking for ncurses/term.h" >&5 9156 echo "configure:9157: checking for ncurses/term.h" >&5
9163 9157
9164 cat > conftest.$ac_ext <<EOF 9158 cat > conftest.$ac_ext <<EOF
9165 #line 9166 "configure" 9159 #line 9160 "configure"
9166 #include "confdefs.h" 9160 #include "confdefs.h"
9167 #include <ncurses/term.h> 9161 #include <ncurses/term.h>
9168 EOF 9162 EOF
9169 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9163 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9170 { (eval echo configure:9171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9164 { (eval echo configure:9165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9171 ac_err=`grep -v '^ *+' conftest.out` 9165 ac_err=`grep -v '^ *+' conftest.out`
9172 if test -z "$ac_err"; then 9166 if test -z "$ac_err"; then
9173 rm -rf conftest* 9167 rm -rf conftest*
9174 eval "ac_cv_header_$ac_safe=yes" 9168 eval "ac_cv_header_$ac_safe=yes"
9175 else 9169 else
9195 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 9189 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
9196 save_c_switch_site="$c_switch_site" 9190 save_c_switch_site="$c_switch_site"
9197 c_switch_site="$c_switch_site -I/usr/include/ncurses" 9191 c_switch_site="$c_switch_site -I/usr/include/ncurses"
9198 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 9192 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
9199 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 9193 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
9200 echo "configure:9201: checking for ncurses/curses.h" >&5 9194 echo "configure:9195: checking for ncurses/curses.h" >&5
9201 9195
9202 cat > conftest.$ac_ext <<EOF 9196 cat > conftest.$ac_ext <<EOF
9203 #line 9204 "configure" 9197 #line 9198 "configure"
9204 #include "confdefs.h" 9198 #include "confdefs.h"
9205 #include <ncurses/curses.h> 9199 #include <ncurses/curses.h>
9206 EOF 9200 EOF
9207 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9208 { (eval echo configure:9209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9202 { (eval echo configure:9203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9209 ac_err=`grep -v '^ *+' conftest.out` 9203 ac_err=`grep -v '^ *+' conftest.out`
9210 if test -z "$ac_err"; then 9204 if test -z "$ac_err"; then
9211 rm -rf conftest* 9205 rm -rf conftest*
9212 eval "ac_cv_header_$ac_safe=yes" 9206 eval "ac_cv_header_$ac_safe=yes"
9213 else 9207 else
9238 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 9232 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
9239 else 9233 else
9240 for lib in curses termlib termcap; do 9234 for lib in curses termlib termcap; do
9241 9235
9242 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 9236 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
9243 echo "configure:9244: checking for tgetent in -l$lib" >&5 9237 echo "configure:9238: checking for tgetent in -l$lib" >&5
9244 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 9238 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
9245 9239
9246 xe_check_libs=" -l$lib " 9240 xe_check_libs=" -l$lib "
9247 cat > conftest.$ac_ext <<EOF 9241 cat > conftest.$ac_ext <<EOF
9248 #line 9249 "configure" 9242 #line 9243 "configure"
9249 #include "confdefs.h" 9243 #include "confdefs.h"
9250 /* Override any gcc2 internal prototype to avoid an error. */ 9244 /* Override any gcc2 internal prototype to avoid an error. */
9251 /* We use char because int might match the return type of a gcc2 9245 /* We use char because int might match the return type of a gcc2
9252 builtin and then its argument prototype would still apply. */ 9246 builtin and then its argument prototype would still apply. */
9253 char tgetent(); 9247 char tgetent();
9254 9248
9255 int main() { 9249 int main() {
9256 tgetent() 9250 tgetent()
9257 ; return 0; } 9251 ; return 0; }
9258 EOF 9252 EOF
9259 if { (eval echo configure:9260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9253 if { (eval echo configure:9254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9260 rm -rf conftest* 9254 rm -rf conftest*
9261 eval "ac_cv_lib_$ac_lib_var=yes" 9255 eval "ac_cv_lib_$ac_lib_var=yes"
9262 else 9256 else
9263 echo "configure: failed program was:" >&5 9257 echo "configure: failed program was:" >&5
9264 cat conftest.$ac_ext >&5 9258 cat conftest.$ac_ext >&5
9285 if test -n "$libs_termcap"; then 9279 if test -n "$libs_termcap"; then
9286 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 9280 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
9287 else 9281 else
9288 9282
9289 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 9283 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
9290 echo "configure:9291: checking for tgetent in -lcurses" >&5 9284 echo "configure:9285: checking for tgetent in -lcurses" >&5
9291 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 9285 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
9292 9286
9293 xe_check_libs=" -lcurses " 9287 xe_check_libs=" -lcurses "
9294 cat > conftest.$ac_ext <<EOF 9288 cat > conftest.$ac_ext <<EOF
9295 #line 9296 "configure" 9289 #line 9290 "configure"
9296 #include "confdefs.h" 9290 #include "confdefs.h"
9297 /* Override any gcc2 internal prototype to avoid an error. */ 9291 /* Override any gcc2 internal prototype to avoid an error. */
9298 /* We use char because int might match the return type of a gcc2 9292 /* We use char because int might match the return type of a gcc2
9299 builtin and then its argument prototype would still apply. */ 9293 builtin and then its argument prototype would still apply. */
9300 char tgetent(); 9294 char tgetent();
9301 9295
9302 int main() { 9296 int main() {
9303 tgetent() 9297 tgetent()
9304 ; return 0; } 9298 ; return 0; }
9305 EOF 9299 EOF
9306 if { (eval echo configure:9307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9300 if { (eval echo configure:9301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9307 rm -rf conftest* 9301 rm -rf conftest*
9308 eval "ac_cv_lib_$ac_lib_var=yes" 9302 eval "ac_cv_lib_$ac_lib_var=yes"
9309 else 9303 else
9310 echo "configure: failed program was:" >&5 9304 echo "configure: failed program was:" >&5
9311 cat conftest.$ac_ext >&5 9305 cat conftest.$ac_ext >&5
9319 echo "$ac_t""yes" 1>&6 9313 echo "$ac_t""yes" 1>&6
9320 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 9314 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
9321 else 9315 else
9322 echo "$ac_t""no" 1>&6 9316 echo "$ac_t""no" 1>&6
9323 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 9317 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
9324 echo "configure:9325: checking for tgetent in -ltermcap" >&5 9318 echo "configure:9319: checking for tgetent in -ltermcap" >&5
9325 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 9319 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
9326 9320
9327 xe_check_libs=" -ltermcap " 9321 xe_check_libs=" -ltermcap "
9328 cat > conftest.$ac_ext <<EOF 9322 cat > conftest.$ac_ext <<EOF
9329 #line 9330 "configure" 9323 #line 9324 "configure"
9330 #include "confdefs.h" 9324 #include "confdefs.h"
9331 /* Override any gcc2 internal prototype to avoid an error. */ 9325 /* Override any gcc2 internal prototype to avoid an error. */
9332 /* We use char because int might match the return type of a gcc2 9326 /* We use char because int might match the return type of a gcc2
9333 builtin and then its argument prototype would still apply. */ 9327 builtin and then its argument prototype would still apply. */
9334 char tgetent(); 9328 char tgetent();
9335 9329
9336 int main() { 9330 int main() {
9337 tgetent() 9331 tgetent()
9338 ; return 0; } 9332 ; return 0; }
9339 EOF 9333 EOF
9340 if { (eval echo configure:9341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9334 if { (eval echo configure:9335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9341 rm -rf conftest* 9335 rm -rf conftest*
9342 eval "ac_cv_lib_$ac_lib_var=yes" 9336 eval "ac_cv_lib_$ac_lib_var=yes"
9343 else 9337 else
9344 echo "configure: failed program was:" >&5 9338 echo "configure: failed program was:" >&5
9345 cat conftest.$ac_ext >&5 9339 cat conftest.$ac_ext >&5
9383 } 9377 }
9384 9378
9385 9379
9386 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 9380 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
9387 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 9381 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
9388 echo "configure:9389: checking for gpm.h" >&5 9382 echo "configure:9383: checking for gpm.h" >&5
9389 9383
9390 cat > conftest.$ac_ext <<EOF 9384 cat > conftest.$ac_ext <<EOF
9391 #line 9392 "configure" 9385 #line 9386 "configure"
9392 #include "confdefs.h" 9386 #include "confdefs.h"
9393 #include <gpm.h> 9387 #include <gpm.h>
9394 EOF 9388 EOF
9395 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9396 { (eval echo configure:9397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9390 { (eval echo configure:9391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9397 ac_err=`grep -v '^ *+' conftest.out` 9391 ac_err=`grep -v '^ *+' conftest.out`
9398 if test -z "$ac_err"; then 9392 if test -z "$ac_err"; then
9399 rm -rf conftest* 9393 rm -rf conftest*
9400 eval "ac_cv_header_$ac_safe=yes" 9394 eval "ac_cv_header_$ac_safe=yes"
9401 else 9395 else
9414 with_gpm=no 9408 with_gpm=no
9415 fi 9409 fi
9416 } 9410 }
9417 test -z "$with_gpm" && { 9411 test -z "$with_gpm" && {
9418 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 9412 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
9419 echo "configure:9420: checking for Gpm_Open in -lgpm" >&5 9413 echo "configure:9414: checking for Gpm_Open in -lgpm" >&5
9420 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 9414 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
9421 9415
9422 xe_check_libs=" -lgpm " 9416 xe_check_libs=" -lgpm "
9423 cat > conftest.$ac_ext <<EOF 9417 cat > conftest.$ac_ext <<EOF
9424 #line 9425 "configure" 9418 #line 9419 "configure"
9425 #include "confdefs.h" 9419 #include "confdefs.h"
9426 /* Override any gcc2 internal prototype to avoid an error. */ 9420 /* Override any gcc2 internal prototype to avoid an error. */
9427 /* We use char because int might match the return type of a gcc2 9421 /* We use char because int might match the return type of a gcc2
9428 builtin and then its argument prototype would still apply. */ 9422 builtin and then its argument prototype would still apply. */
9429 char Gpm_Open(); 9423 char Gpm_Open();
9430 9424
9431 int main() { 9425 int main() {
9432 Gpm_Open() 9426 Gpm_Open()
9433 ; return 0; } 9427 ; return 0; }
9434 EOF 9428 EOF
9435 if { (eval echo configure:9436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9429 if { (eval echo configure:9430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9436 rm -rf conftest* 9430 rm -rf conftest*
9437 eval "ac_cv_lib_$ac_lib_var=yes" 9431 eval "ac_cv_lib_$ac_lib_var=yes"
9438 else 9432 else
9439 echo "configure: failed program was:" >&5 9433 echo "configure: failed program was:" >&5
9440 cat conftest.$ac_ext >&5 9434 cat conftest.$ac_ext >&5
9479 echo " xemacs will be linked with \"event-unixoid.o\"" 9473 echo " xemacs will be linked with \"event-unixoid.o\""
9480 fi 9474 fi
9481 9475
9482 9476
9483 echo "checking for database support" 1>&6 9477 echo "checking for database support" 1>&6
9484 echo "configure:9485: checking for database support" >&5 9478 echo "configure:9479: checking for database support" >&5
9485 9479
9486 if test "$with_database_gnudbm" != "no"; then 9480 if test "$with_database_gnudbm" != "no"; then
9487 9481
9488 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 9482 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
9489 echo "configure:9490: checking for dbm_open in -lgdbm" >&5 9483 echo "configure:9484: checking for dbm_open in -lgdbm" >&5
9490 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 9484 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
9491 9485
9492 xe_check_libs=" -lgdbm " 9486 xe_check_libs=" -lgdbm "
9493 cat > conftest.$ac_ext <<EOF 9487 cat > conftest.$ac_ext <<EOF
9494 #line 9495 "configure" 9488 #line 9489 "configure"
9495 #include "confdefs.h" 9489 #include "confdefs.h"
9496 /* Override any gcc2 internal prototype to avoid an error. */ 9490 /* Override any gcc2 internal prototype to avoid an error. */
9497 /* We use char because int might match the return type of a gcc2 9491 /* We use char because int might match the return type of a gcc2
9498 builtin and then its argument prototype would still apply. */ 9492 builtin and then its argument prototype would still apply. */
9499 char dbm_open(); 9493 char dbm_open();
9500 9494
9501 int main() { 9495 int main() {
9502 dbm_open() 9496 dbm_open()
9503 ; return 0; } 9497 ; return 0; }
9504 EOF 9498 EOF
9505 if { (eval echo configure:9506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9499 if { (eval echo configure:9500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9506 rm -rf conftest* 9500 rm -rf conftest*
9507 eval "ac_cv_lib_$ac_lib_var=yes" 9501 eval "ac_cv_lib_$ac_lib_var=yes"
9508 else 9502 else
9509 echo "configure: failed program was:" >&5 9503 echo "configure: failed program was:" >&5
9510 cat conftest.$ac_ext >&5 9504 cat conftest.$ac_ext >&5
9522 fi 9516 fi
9523 9517
9524 9518
9525 if test "$with_database_gnudbm" != "yes"; then 9519 if test "$with_database_gnudbm" != "yes"; then
9526 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 9520 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
9527 echo "configure:9528: checking for dbm_open" >&5 9521 echo "configure:9522: checking for dbm_open" >&5
9528 9522
9529 cat > conftest.$ac_ext <<EOF 9523 cat > conftest.$ac_ext <<EOF
9530 #line 9531 "configure" 9524 #line 9525 "configure"
9531 #include "confdefs.h" 9525 #include "confdefs.h"
9532 /* System header to define __stub macros and hopefully few prototypes, 9526 /* System header to define __stub macros and hopefully few prototypes,
9533 which can conflict with char dbm_open(); below. */ 9527 which can conflict with char dbm_open(); below. */
9534 #include <assert.h> 9528 #include <assert.h>
9535 /* Override any gcc2 internal prototype to avoid an error. */ 9529 /* Override any gcc2 internal prototype to avoid an error. */
9548 dbm_open(); 9542 dbm_open();
9549 #endif 9543 #endif
9550 9544
9551 ; return 0; } 9545 ; return 0; }
9552 EOF 9546 EOF
9553 if { (eval echo configure:9554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9547 if { (eval echo configure:9548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9554 rm -rf conftest* 9548 rm -rf conftest*
9555 eval "ac_cv_func_dbm_open=yes" 9549 eval "ac_cv_func_dbm_open=yes"
9556 else 9550 else
9557 echo "configure: failed program was:" >&5 9551 echo "configure: failed program was:" >&5
9558 cat conftest.$ac_ext >&5 9552 cat conftest.$ac_ext >&5
9584 fi 9578 fi
9585 fi 9579 fi
9586 9580
9587 if test "$with_database_dbm" != "no"; then 9581 if test "$with_database_dbm" != "no"; then
9588 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 9582 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
9589 echo "configure:9590: checking for dbm_open" >&5 9583 echo "configure:9584: checking for dbm_open" >&5
9590 9584
9591 cat > conftest.$ac_ext <<EOF 9585 cat > conftest.$ac_ext <<EOF
9592 #line 9593 "configure" 9586 #line 9587 "configure"
9593 #include "confdefs.h" 9587 #include "confdefs.h"
9594 /* System header to define __stub macros and hopefully few prototypes, 9588 /* System header to define __stub macros and hopefully few prototypes,
9595 which can conflict with char dbm_open(); below. */ 9589 which can conflict with char dbm_open(); below. */
9596 #include <assert.h> 9590 #include <assert.h>
9597 /* Override any gcc2 internal prototype to avoid an error. */ 9591 /* Override any gcc2 internal prototype to avoid an error. */
9610 dbm_open(); 9604 dbm_open();
9611 #endif 9605 #endif
9612 9606
9613 ; return 0; } 9607 ; return 0; }
9614 EOF 9608 EOF
9615 if { (eval echo configure:9616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9609 if { (eval echo configure:9610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9616 rm -rf conftest* 9610 rm -rf conftest*
9617 eval "ac_cv_func_dbm_open=yes" 9611 eval "ac_cv_func_dbm_open=yes"
9618 else 9612 else
9619 echo "configure: failed program was:" >&5 9613 echo "configure: failed program was:" >&5
9620 cat conftest.$ac_ext >&5 9614 cat conftest.$ac_ext >&5
9631 fi 9625 fi
9632 9626
9633 if test "$need_libdbm" != "no"; then 9627 if test "$need_libdbm" != "no"; then
9634 9628
9635 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 9629 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
9636 echo "configure:9637: checking for dbm_open in -ldbm" >&5 9630 echo "configure:9631: checking for dbm_open in -ldbm" >&5
9637 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 9631 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
9638 9632
9639 xe_check_libs=" -ldbm " 9633 xe_check_libs=" -ldbm "
9640 cat > conftest.$ac_ext <<EOF 9634 cat > conftest.$ac_ext <<EOF
9641 #line 9642 "configure" 9635 #line 9636 "configure"
9642 #include "confdefs.h" 9636 #include "confdefs.h"
9643 /* Override any gcc2 internal prototype to avoid an error. */ 9637 /* Override any gcc2 internal prototype to avoid an error. */
9644 /* We use char because int might match the return type of a gcc2 9638 /* We use char because int might match the return type of a gcc2
9645 builtin and then its argument prototype would still apply. */ 9639 builtin and then its argument prototype would still apply. */
9646 char dbm_open(); 9640 char dbm_open();
9647 9641
9648 int main() { 9642 int main() {
9649 dbm_open() 9643 dbm_open()
9650 ; return 0; } 9644 ; return 0; }
9651 EOF 9645 EOF
9652 if { (eval echo configure:9653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9646 if { (eval echo configure:9647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9653 rm -rf conftest* 9647 rm -rf conftest*
9654 eval "ac_cv_lib_$ac_lib_var=yes" 9648 eval "ac_cv_lib_$ac_lib_var=yes"
9655 else 9649 else
9656 echo "configure: failed program was:" >&5 9650 echo "configure: failed program was:" >&5
9657 cat conftest.$ac_ext >&5 9651 cat conftest.$ac_ext >&5
9684 fi 9678 fi
9685 fi 9679 fi
9686 9680
9687 if test "$with_database_berkdb" != "no"; then 9681 if test "$with_database_berkdb" != "no"; then
9688 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 9682 echo $ac_n "checking for dbopen""... $ac_c" 1>&6
9689 echo "configure:9690: checking for dbopen" >&5 9683 echo "configure:9684: checking for dbopen" >&5
9690 9684
9691 cat > conftest.$ac_ext <<EOF 9685 cat > conftest.$ac_ext <<EOF
9692 #line 9693 "configure" 9686 #line 9687 "configure"
9693 #include "confdefs.h" 9687 #include "confdefs.h"
9694 /* System header to define __stub macros and hopefully few prototypes, 9688 /* System header to define __stub macros and hopefully few prototypes,
9695 which can conflict with char dbopen(); below. */ 9689 which can conflict with char dbopen(); below. */
9696 #include <assert.h> 9690 #include <assert.h>
9697 /* Override any gcc2 internal prototype to avoid an error. */ 9691 /* Override any gcc2 internal prototype to avoid an error. */
9710 dbopen(); 9704 dbopen();
9711 #endif 9705 #endif
9712 9706
9713 ; return 0; } 9707 ; return 0; }
9714 EOF 9708 EOF
9715 if { (eval echo configure:9716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9709 if { (eval echo configure:9710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9716 rm -rf conftest* 9710 rm -rf conftest*
9717 eval "ac_cv_func_dbopen=yes" 9711 eval "ac_cv_func_dbopen=yes"
9718 else 9712 else
9719 echo "configure: failed program was:" >&5 9713 echo "configure: failed program was:" >&5
9720 cat conftest.$ac_ext >&5 9714 cat conftest.$ac_ext >&5
9731 fi 9725 fi
9732 9726
9733 if test "$need_libdb" != "no"; then 9727 if test "$need_libdb" != "no"; then
9734 9728
9735 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 9729 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6
9736 echo "configure:9737: checking for dbopen in -ldb" >&5 9730 echo "configure:9731: checking for dbopen in -ldb" >&5
9737 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` 9731 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'`
9738 9732
9739 xe_check_libs=" -ldb " 9733 xe_check_libs=" -ldb "
9740 cat > conftest.$ac_ext <<EOF 9734 cat > conftest.$ac_ext <<EOF
9741 #line 9742 "configure" 9735 #line 9736 "configure"
9742 #include "confdefs.h" 9736 #include "confdefs.h"
9743 /* Override any gcc2 internal prototype to avoid an error. */ 9737 /* Override any gcc2 internal prototype to avoid an error. */
9744 /* We use char because int might match the return type of a gcc2 9738 /* We use char because int might match the return type of a gcc2
9745 builtin and then its argument prototype would still apply. */ 9739 builtin and then its argument prototype would still apply. */
9746 char dbopen(); 9740 char dbopen();
9747 9741
9748 int main() { 9742 int main() {
9749 dbopen() 9743 dbopen()
9750 ; return 0; } 9744 ; return 0; }
9751 EOF 9745 EOF
9752 if { (eval echo configure:9753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9746 if { (eval echo configure:9747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9753 rm -rf conftest* 9747 rm -rf conftest*
9754 eval "ac_cv_lib_$ac_lib_var=yes" 9748 eval "ac_cv_lib_$ac_lib_var=yes"
9755 else 9749 else
9756 echo "configure: failed program was:" >&5 9750 echo "configure: failed program was:" >&5
9757 cat conftest.$ac_ext >&5 9751 cat conftest.$ac_ext >&5
9771 9765
9772 fi 9766 fi
9773 if test "$with_database_berkdb" = "yes"; then 9767 if test "$with_database_berkdb" = "yes"; then
9774 for path in "db/db.h" "db.h"; do 9768 for path in "db/db.h" "db.h"; do
9775 cat > conftest.$ac_ext <<EOF 9769 cat > conftest.$ac_ext <<EOF
9776 #line 9777 "configure" 9770 #line 9771 "configure"
9777 #include "confdefs.h" 9771 #include "confdefs.h"
9778 #ifdef HAVE_INTTYPES_H 9772 #ifdef HAVE_INTTYPES_H
9779 #define __BIT_TYPES_DEFINED__ 9773 #define __BIT_TYPES_DEFINED__
9780 #include <inttypes.h> 9774 #include <inttypes.h>
9781 typedef uint8_t u_int8_t; 9775 typedef uint8_t u_int8_t;
9789 9783
9790 int main() { 9784 int main() {
9791 9785
9792 ; return 0; } 9786 ; return 0; }
9793 EOF 9787 EOF
9794 if { (eval echo configure:9795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 9788 if { (eval echo configure:9789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9795 rm -rf conftest* 9789 rm -rf conftest*
9796 db_h_path="$path"; break 9790 db_h_path="$path"; break
9797 else 9791 else
9798 echo "configure: failed program was:" >&5 9792 echo "configure: failed program was:" >&5
9799 cat conftest.$ac_ext >&5 9793 cat conftest.$ac_ext >&5
9841 fi 9835 fi
9842 9836
9843 if test "$with_socks" = "yes"; then 9837 if test "$with_socks" = "yes"; then
9844 9838
9845 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 9839 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
9846 echo "configure:9847: checking for SOCKSinit in -lsocks" >&5 9840 echo "configure:9841: checking for SOCKSinit in -lsocks" >&5
9847 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 9841 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
9848 9842
9849 xe_check_libs=" -lsocks " 9843 xe_check_libs=" -lsocks "
9850 cat > conftest.$ac_ext <<EOF 9844 cat > conftest.$ac_ext <<EOF
9851 #line 9852 "configure" 9845 #line 9846 "configure"
9852 #include "confdefs.h" 9846 #include "confdefs.h"
9853 /* Override any gcc2 internal prototype to avoid an error. */ 9847 /* Override any gcc2 internal prototype to avoid an error. */
9854 /* We use char because int might match the return type of a gcc2 9848 /* We use char because int might match the return type of a gcc2
9855 builtin and then its argument prototype would still apply. */ 9849 builtin and then its argument prototype would still apply. */
9856 char SOCKSinit(); 9850 char SOCKSinit();
9857 9851
9858 int main() { 9852 int main() {
9859 SOCKSinit() 9853 SOCKSinit()
9860 ; return 0; } 9854 ; return 0; }
9861 EOF 9855 EOF
9862 if { (eval echo configure:9863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 9856 if { (eval echo configure:9857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
9863 rm -rf conftest* 9857 rm -rf conftest*
9864 eval "ac_cv_lib_$ac_lib_var=yes" 9858 eval "ac_cv_lib_$ac_lib_var=yes"
9865 else 9859 else
9866 echo "configure: failed program was:" >&5 9860 echo "configure: failed program was:" >&5
9867 cat conftest.$ac_ext >&5 9861 cat conftest.$ac_ext >&5