Mercurial > hg > xemacs-beta
comparison configure @ 211:78478c60bfcd r20-4b4
Import from CVS: tag r20-4b4
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 10:05:51 +0200 |
| parents | 41ff10fd062f |
| children | 78f53ef88e17 |
comparison
equal
deleted
inserted
replaced
| 210:49f55ca3ba57 | 211:78478c60bfcd |
|---|---|
| 6554 echo " xemacs will be linked with \"toolbar-x.o\"" | 6554 echo " xemacs will be linked with \"toolbar-x.o\"" |
| 6555 fi | 6555 fi |
| 6556 test "$all_widgets" != "no no no no" && extra_objs="$extra_objs gui-x.o" && if test "$extra_verbose" = "yes"; then | 6556 test "$all_widgets" != "no no no no" && extra_objs="$extra_objs gui-x.o" && if test "$extra_verbose" = "yes"; then |
| 6557 echo " xemacs will be linked with \"gui-x.o\"" | 6557 echo " xemacs will be linked with \"gui-x.o\"" |
| 6558 fi | 6558 fi |
| 6559 else | |
| 6560 if test \( "$with_sound" = "nas" \) -o \( "$with_sound" = "both" \); then | |
| 6561 echo "Attempt to Build NAS sound without X" | |
| 6562 echo "Please remove NAS configuration or build with X" | |
| 6563 exit 1 | |
| 6564 fi | |
| 6559 fi | 6565 fi |
| 6560 | 6566 |
| 6561 | 6567 |
| 6562 test -z "$with_mule" && with_mule=no | 6568 test -z "$with_mule" && with_mule=no |
| 6563 | 6569 |
| 6568 exit 1 | 6574 exit 1 |
| 6569 fi | 6575 fi |
| 6570 | 6576 |
| 6571 if test "$with_mule" = "yes" ; then | 6577 if test "$with_mule" = "yes" ; then |
| 6572 echo "checking for Mule-related features" 1>&6 | 6578 echo "checking for Mule-related features" 1>&6 |
| 6573 echo "configure:6574: checking for Mule-related features" >&5 | 6579 echo "configure:6580: checking for Mule-related features" >&5 |
| 6574 { test "$extra_verbose" = "yes" && cat << \EOF | 6580 { test "$extra_verbose" = "yes" && cat << \EOF |
| 6575 Defining MULE | 6581 Defining MULE |
| 6576 EOF | 6582 EOF |
| 6577 cat >> confdefs.h <<\EOF | 6583 cat >> confdefs.h <<\EOF |
| 6578 #define MULE 1 | 6584 #define MULE 1 |
| 6585 | 6591 |
| 6586 for ac_hdr in libintl.h | 6592 for ac_hdr in libintl.h |
| 6587 do | 6593 do |
| 6588 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6594 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 6589 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 6590 echo "configure:6591: checking for $ac_hdr" >&5 | 6596 echo "configure:6597: checking for $ac_hdr" >&5 |
| 6591 | 6597 |
| 6592 cat > conftest.$ac_ext <<EOF | 6598 cat > conftest.$ac_ext <<EOF |
| 6593 #line 6594 "configure" | 6599 #line 6600 "configure" |
| 6594 #include "confdefs.h" | 6600 #include "confdefs.h" |
| 6595 #include <$ac_hdr> | 6601 #include <$ac_hdr> |
| 6596 EOF | 6602 EOF |
| 6597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6603 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6598 { (eval echo configure:6599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6604 { (eval echo configure:6605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6599 ac_err=`grep -v '^ *+' conftest.out` | 6605 ac_err=`grep -v '^ *+' conftest.out` |
| 6600 if test -z "$ac_err"; then | 6606 if test -z "$ac_err"; then |
| 6601 rm -rf conftest* | 6607 rm -rf conftest* |
| 6602 eval "ac_cv_header_$ac_safe=yes" | 6608 eval "ac_cv_header_$ac_safe=yes" |
| 6603 else | 6609 else |
| 6624 fi | 6630 fi |
| 6625 done | 6631 done |
| 6626 | 6632 |
| 6627 | 6633 |
| 6628 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 6634 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
| 6629 echo "configure:6630: checking for strerror in -lintl" >&5 | 6635 echo "configure:6636: checking for strerror in -lintl" >&5 |
| 6630 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 6636 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
| 6631 | 6637 |
| 6632 xe_check_libs=" -lintl " | 6638 xe_check_libs=" -lintl " |
| 6633 cat > conftest.$ac_ext <<EOF | 6639 cat > conftest.$ac_ext <<EOF |
| 6634 #line 6635 "configure" | 6640 #line 6641 "configure" |
| 6635 #include "confdefs.h" | 6641 #include "confdefs.h" |
| 6636 /* Override any gcc2 internal prototype to avoid an error. */ | 6642 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6637 /* We use char because int might match the return type of a gcc2 | 6643 /* We use char because int might match the return type of a gcc2 |
| 6638 builtin and then its argument prototype would still apply. */ | 6644 builtin and then its argument prototype would still apply. */ |
| 6639 char strerror(); | 6645 char strerror(); |
| 6640 | 6646 |
| 6641 int main() { | 6647 int main() { |
| 6642 strerror() | 6648 strerror() |
| 6643 ; return 0; } | 6649 ; return 0; } |
| 6644 EOF | 6650 EOF |
| 6645 if { (eval echo configure:6646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6651 if { (eval echo configure:6652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6646 rm -rf conftest* | 6652 rm -rf conftest* |
| 6647 eval "ac_cv_lib_$ac_lib_var=yes" | 6653 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6648 else | 6654 else |
| 6649 echo "configure: failed program was:" >&5 | 6655 echo "configure: failed program was:" >&5 |
| 6650 cat conftest.$ac_ext >&5 | 6656 cat conftest.$ac_ext >&5 |
| 6673 fi | 6679 fi |
| 6674 | 6680 |
| 6675 | 6681 |
| 6676 | 6682 |
| 6677 echo "checking for Mule input methods" 1>&6 | 6683 echo "checking for Mule input methods" 1>&6 |
| 6678 echo "configure:6679: checking for Mule input methods" >&5 | 6684 echo "configure:6685: checking for Mule input methods" >&5 |
| 6679 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no | 6685 test -z "$with_xim" -a "$opsys" != "sol2" && with_xim=no |
| 6680 case "$with_xim" in "" | "yes" ) | 6686 case "$with_xim" in "" | "yes" ) |
| 6681 echo "checking for XIM" 1>&6 | 6687 echo "checking for XIM" 1>&6 |
| 6682 echo "configure:6683: checking for XIM" >&5 | 6688 echo "configure:6689: checking for XIM" >&5 |
| 6683 | 6689 |
| 6684 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 6690 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
| 6685 echo "configure:6686: checking for XmImMbLookupString in -lXm" >&5 | 6691 echo "configure:6692: checking for XmImMbLookupString in -lXm" >&5 |
| 6686 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 6692 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
| 6687 | 6693 |
| 6688 xe_check_libs=" -lXm " | 6694 xe_check_libs=" -lXm " |
| 6689 cat > conftest.$ac_ext <<EOF | 6695 cat > conftest.$ac_ext <<EOF |
| 6690 #line 6691 "configure" | 6696 #line 6697 "configure" |
| 6691 #include "confdefs.h" | 6697 #include "confdefs.h" |
| 6692 /* Override any gcc2 internal prototype to avoid an error. */ | 6698 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6693 /* We use char because int might match the return type of a gcc2 | 6699 /* We use char because int might match the return type of a gcc2 |
| 6694 builtin and then its argument prototype would still apply. */ | 6700 builtin and then its argument prototype would still apply. */ |
| 6695 char XmImMbLookupString(); | 6701 char XmImMbLookupString(); |
| 6696 | 6702 |
| 6697 int main() { | 6703 int main() { |
| 6698 XmImMbLookupString() | 6704 XmImMbLookupString() |
| 6699 ; return 0; } | 6705 ; return 0; } |
| 6700 EOF | 6706 EOF |
| 6701 if { (eval echo configure:6702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6707 if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6702 rm -rf conftest* | 6708 rm -rf conftest* |
| 6703 eval "ac_cv_lib_$ac_lib_var=yes" | 6709 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6704 else | 6710 else |
| 6705 echo "configure: failed program was:" >&5 | 6711 echo "configure: failed program was:" >&5 |
| 6706 cat conftest.$ac_ext >&5 | 6712 cat conftest.$ac_ext >&5 |
| 6759 if test "$with_xfs" = "yes"; then | 6765 if test "$with_xfs" = "yes"; then |
| 6760 with_xfs=no | 6766 with_xfs=no |
| 6761 fi | 6767 fi |
| 6762 else case "$with_xfs" in "yes" ) | 6768 else case "$with_xfs" in "yes" ) |
| 6763 echo "checking for XFontSet" 1>&6 | 6769 echo "checking for XFontSet" 1>&6 |
| 6764 echo "configure:6765: checking for XFontSet" >&5 | 6770 echo "configure:6771: checking for XFontSet" >&5 |
| 6765 | 6771 |
| 6766 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 6772 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
| 6767 echo "configure:6768: checking for XmbDrawString in -lX11" >&5 | 6773 echo "configure:6774: checking for XmbDrawString in -lX11" >&5 |
| 6768 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 6774 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
| 6769 | 6775 |
| 6770 xe_check_libs=" -lX11 " | 6776 xe_check_libs=" -lX11 " |
| 6771 cat > conftest.$ac_ext <<EOF | 6777 cat > conftest.$ac_ext <<EOF |
| 6772 #line 6773 "configure" | 6778 #line 6779 "configure" |
| 6773 #include "confdefs.h" | 6779 #include "confdefs.h" |
| 6774 /* Override any gcc2 internal prototype to avoid an error. */ | 6780 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6775 /* We use char because int might match the return type of a gcc2 | 6781 /* We use char because int might match the return type of a gcc2 |
| 6776 builtin and then its argument prototype would still apply. */ | 6782 builtin and then its argument prototype would still apply. */ |
| 6777 char XmbDrawString(); | 6783 char XmbDrawString(); |
| 6778 | 6784 |
| 6779 int main() { | 6785 int main() { |
| 6780 XmbDrawString() | 6786 XmbDrawString() |
| 6781 ; return 0; } | 6787 ; return 0; } |
| 6782 EOF | 6788 EOF |
| 6783 if { (eval echo configure:6784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6789 if { (eval echo configure:6790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6784 rm -rf conftest* | 6790 rm -rf conftest* |
| 6785 eval "ac_cv_lib_$ac_lib_var=yes" | 6791 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6786 else | 6792 else |
| 6787 echo "configure: failed program was:" >&5 | 6793 echo "configure: failed program was:" >&5 |
| 6788 cat conftest.$ac_ext >&5 | 6794 cat conftest.$ac_ext >&5 |
| 6817 fi | 6823 fi |
| 6818 fi | 6824 fi |
| 6819 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 6825 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
| 6820 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 6826 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
| 6821 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 6827 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
| 6822 echo "configure:6823: checking for wnn/jllib.h" >&5 | 6828 echo "configure:6829: checking for wnn/jllib.h" >&5 |
| 6823 | 6829 |
| 6824 cat > conftest.$ac_ext <<EOF | 6830 cat > conftest.$ac_ext <<EOF |
| 6825 #line 6826 "configure" | 6831 #line 6832 "configure" |
| 6826 #include "confdefs.h" | 6832 #include "confdefs.h" |
| 6827 #include <wnn/jllib.h> | 6833 #include <wnn/jllib.h> |
| 6828 EOF | 6834 EOF |
| 6829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 6830 { (eval echo configure:6831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6836 { (eval echo configure:6837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 6831 ac_err=`grep -v '^ *+' conftest.out` | 6837 ac_err=`grep -v '^ *+' conftest.out` |
| 6832 if test -z "$ac_err"; then | 6838 if test -z "$ac_err"; then |
| 6833 rm -rf conftest* | 6839 rm -rf conftest* |
| 6834 eval "ac_cv_header_$ac_safe=yes" | 6840 eval "ac_cv_header_$ac_safe=yes" |
| 6835 else | 6841 else |
| 6850 } | 6856 } |
| 6851 if test "$with_wnn" != "no"; then | 6857 if test "$with_wnn" != "no"; then |
| 6852 for ac_func in crypt | 6858 for ac_func in crypt |
| 6853 do | 6859 do |
| 6854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6860 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 6855 echo "configure:6856: checking for $ac_func" >&5 | 6861 echo "configure:6862: checking for $ac_func" >&5 |
| 6856 | 6862 |
| 6857 cat > conftest.$ac_ext <<EOF | 6863 cat > conftest.$ac_ext <<EOF |
| 6858 #line 6859 "configure" | 6864 #line 6865 "configure" |
| 6859 #include "confdefs.h" | 6865 #include "confdefs.h" |
| 6860 /* System header to define __stub macros and hopefully few prototypes, | 6866 /* System header to define __stub macros and hopefully few prototypes, |
| 6861 which can conflict with char $ac_func(); below. */ | 6867 which can conflict with char $ac_func(); below. */ |
| 6862 #include <assert.h> | 6868 #include <assert.h> |
| 6863 /* Override any gcc2 internal prototype to avoid an error. */ | 6869 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6876 $ac_func(); | 6882 $ac_func(); |
| 6877 #endif | 6883 #endif |
| 6878 | 6884 |
| 6879 ; return 0; } | 6885 ; return 0; } |
| 6880 EOF | 6886 EOF |
| 6881 if { (eval echo configure:6882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6887 if { (eval echo configure:6888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6882 rm -rf conftest* | 6888 rm -rf conftest* |
| 6883 eval "ac_cv_func_$ac_func=yes" | 6889 eval "ac_cv_func_$ac_func=yes" |
| 6884 else | 6890 else |
| 6885 echo "configure: failed program was:" >&5 | 6891 echo "configure: failed program was:" >&5 |
| 6886 cat conftest.$ac_ext >&5 | 6892 cat conftest.$ac_ext >&5 |
| 6905 fi | 6911 fi |
| 6906 done | 6912 done |
| 6907 | 6913 |
| 6908 test "$ac_cv_func_crypt" != "yes" && { | 6914 test "$ac_cv_func_crypt" != "yes" && { |
| 6909 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 6915 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
| 6910 echo "configure:6911: checking for crypt in -lcrypt" >&5 | 6916 echo "configure:6917: checking for crypt in -lcrypt" >&5 |
| 6911 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 6917 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
| 6912 | 6918 |
| 6913 xe_check_libs=" -lcrypt " | 6919 xe_check_libs=" -lcrypt " |
| 6914 cat > conftest.$ac_ext <<EOF | 6920 cat > conftest.$ac_ext <<EOF |
| 6915 #line 6916 "configure" | 6921 #line 6922 "configure" |
| 6916 #include "confdefs.h" | 6922 #include "confdefs.h" |
| 6917 /* Override any gcc2 internal prototype to avoid an error. */ | 6923 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6918 /* We use char because int might match the return type of a gcc2 | 6924 /* We use char because int might match the return type of a gcc2 |
| 6919 builtin and then its argument prototype would still apply. */ | 6925 builtin and then its argument prototype would still apply. */ |
| 6920 char crypt(); | 6926 char crypt(); |
| 6921 | 6927 |
| 6922 int main() { | 6928 int main() { |
| 6923 crypt() | 6929 crypt() |
| 6924 ; return 0; } | 6930 ; return 0; } |
| 6925 EOF | 6931 EOF |
| 6926 if { (eval echo configure:6927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6932 if { (eval echo configure:6933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6927 rm -rf conftest* | 6933 rm -rf conftest* |
| 6928 eval "ac_cv_lib_$ac_lib_var=yes" | 6934 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6929 else | 6935 else |
| 6930 echo "configure: failed program was:" >&5 | 6936 echo "configure: failed program was:" >&5 |
| 6931 cat conftest.$ac_ext >&5 | 6937 cat conftest.$ac_ext >&5 |
| 6955 | 6961 |
| 6956 } | 6962 } |
| 6957 fi | 6963 fi |
| 6958 test -z "$with_wnn" && { | 6964 test -z "$with_wnn" && { |
| 6959 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 6965 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
| 6960 echo "configure:6961: checking for jl_dic_list_e in -lwnn" >&5 | 6966 echo "configure:6967: checking for jl_dic_list_e in -lwnn" >&5 |
| 6961 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 6967 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
| 6962 | 6968 |
| 6963 xe_check_libs=" -lwnn " | 6969 xe_check_libs=" -lwnn " |
| 6964 cat > conftest.$ac_ext <<EOF | 6970 cat > conftest.$ac_ext <<EOF |
| 6965 #line 6966 "configure" | 6971 #line 6972 "configure" |
| 6966 #include "confdefs.h" | 6972 #include "confdefs.h" |
| 6967 /* Override any gcc2 internal prototype to avoid an error. */ | 6973 /* Override any gcc2 internal prototype to avoid an error. */ |
| 6968 /* We use char because int might match the return type of a gcc2 | 6974 /* We use char because int might match the return type of a gcc2 |
| 6969 builtin and then its argument prototype would still apply. */ | 6975 builtin and then its argument prototype would still apply. */ |
| 6970 char jl_dic_list_e(); | 6976 char jl_dic_list_e(); |
| 6971 | 6977 |
| 6972 int main() { | 6978 int main() { |
| 6973 jl_dic_list_e() | 6979 jl_dic_list_e() |
| 6974 ; return 0; } | 6980 ; return 0; } |
| 6975 EOF | 6981 EOF |
| 6976 if { (eval echo configure:6977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6982 if { (eval echo configure:6983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 6977 rm -rf conftest* | 6983 rm -rf conftest* |
| 6978 eval "ac_cv_lib_$ac_lib_var=yes" | 6984 eval "ac_cv_lib_$ac_lib_var=yes" |
| 6979 else | 6985 else |
| 6980 echo "configure: failed program was:" >&5 | 6986 echo "configure: failed program was:" >&5 |
| 6981 cat conftest.$ac_ext >&5 | 6987 cat conftest.$ac_ext >&5 |
| 7008 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then | 7014 extra_objs="$extra_objs mule-wnnfns.o" && if test "$extra_verbose" = "yes"; then |
| 7009 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7015 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
| 7010 fi | 7016 fi |
| 7011 | 7017 |
| 7012 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7018 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
| 7013 echo "configure:7014: checking for jl_fi_dic_list in -lwnn" >&5 | 7019 echo "configure:7020: checking for jl_fi_dic_list in -lwnn" >&5 |
| 7014 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7020 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
| 7015 | 7021 |
| 7016 xe_check_libs=" -lwnn " | 7022 xe_check_libs=" -lwnn " |
| 7017 cat > conftest.$ac_ext <<EOF | 7023 cat > conftest.$ac_ext <<EOF |
| 7018 #line 7019 "configure" | 7024 #line 7025 "configure" |
| 7019 #include "confdefs.h" | 7025 #include "confdefs.h" |
| 7020 /* Override any gcc2 internal prototype to avoid an error. */ | 7026 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7021 /* We use char because int might match the return type of a gcc2 | 7027 /* We use char because int might match the return type of a gcc2 |
| 7022 builtin and then its argument prototype would still apply. */ | 7028 builtin and then its argument prototype would still apply. */ |
| 7023 char jl_fi_dic_list(); | 7029 char jl_fi_dic_list(); |
| 7024 | 7030 |
| 7025 int main() { | 7031 int main() { |
| 7026 jl_fi_dic_list() | 7032 jl_fi_dic_list() |
| 7027 ; return 0; } | 7033 ; return 0; } |
| 7028 EOF | 7034 EOF |
| 7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7035 if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7030 rm -rf conftest* | 7036 rm -rf conftest* |
| 7031 eval "ac_cv_lib_$ac_lib_var=yes" | 7037 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7032 else | 7038 else |
| 7033 echo "configure: failed program was:" >&5 | 7039 echo "configure: failed program was:" >&5 |
| 7034 cat conftest.$ac_ext >&5 | 7040 cat conftest.$ac_ext >&5 |
| 7056 | 7062 |
| 7057 fi | 7063 fi |
| 7058 | 7064 |
| 7059 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 7065 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
| 7060 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 7066 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
| 7061 echo "configure:7062: checking for canna/RK.h" >&5 | 7067 echo "configure:7068: checking for canna/RK.h" >&5 |
| 7062 | 7068 |
| 7063 cat > conftest.$ac_ext <<EOF | 7069 cat > conftest.$ac_ext <<EOF |
| 7064 #line 7065 "configure" | 7070 #line 7071 "configure" |
| 7065 #include "confdefs.h" | 7071 #include "confdefs.h" |
| 7066 #include <canna/RK.h> | 7072 #include <canna/RK.h> |
| 7067 EOF | 7073 EOF |
| 7068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7069 { (eval echo configure:7070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7075 { (eval echo configure:7076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7070 ac_err=`grep -v '^ *+' conftest.out` | 7076 ac_err=`grep -v '^ *+' conftest.out` |
| 7071 if test -z "$ac_err"; then | 7077 if test -z "$ac_err"; then |
| 7072 rm -rf conftest* | 7078 rm -rf conftest* |
| 7073 eval "ac_cv_header_$ac_safe=yes" | 7079 eval "ac_cv_header_$ac_safe=yes" |
| 7074 else | 7080 else |
| 7087 with_canna=no | 7093 with_canna=no |
| 7088 fi | 7094 fi |
| 7089 } | 7095 } |
| 7090 test -z "$with_canna" && { | 7096 test -z "$with_canna" && { |
| 7091 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 7097 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
| 7092 echo "configure:7093: checking for RkBgnBun in -lRKC" >&5 | 7098 echo "configure:7099: checking for RkBgnBun in -lRKC" >&5 |
| 7093 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 7099 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
| 7094 | 7100 |
| 7095 xe_check_libs=" -lRKC " | 7101 xe_check_libs=" -lRKC " |
| 7096 cat > conftest.$ac_ext <<EOF | 7102 cat > conftest.$ac_ext <<EOF |
| 7097 #line 7098 "configure" | 7103 #line 7104 "configure" |
| 7098 #include "confdefs.h" | 7104 #include "confdefs.h" |
| 7099 /* Override any gcc2 internal prototype to avoid an error. */ | 7105 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7100 /* We use char because int might match the return type of a gcc2 | 7106 /* We use char because int might match the return type of a gcc2 |
| 7101 builtin and then its argument prototype would still apply. */ | 7107 builtin and then its argument prototype would still apply. */ |
| 7102 char RkBgnBun(); | 7108 char RkBgnBun(); |
| 7103 | 7109 |
| 7104 int main() { | 7110 int main() { |
| 7105 RkBgnBun() | 7111 RkBgnBun() |
| 7106 ; return 0; } | 7112 ; return 0; } |
| 7107 EOF | 7113 EOF |
| 7108 if { (eval echo configure:7109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7114 if { (eval echo configure:7115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7109 rm -rf conftest* | 7115 rm -rf conftest* |
| 7110 eval "ac_cv_lib_$ac_lib_var=yes" | 7116 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7111 else | 7117 else |
| 7112 echo "configure: failed program was:" >&5 | 7118 echo "configure: failed program was:" >&5 |
| 7113 cat conftest.$ac_ext >&5 | 7119 cat conftest.$ac_ext >&5 |
| 7126 fi | 7132 fi |
| 7127 | 7133 |
| 7128 } | 7134 } |
| 7129 test -z "$with_canna" && { | 7135 test -z "$with_canna" && { |
| 7130 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 7136 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
| 7131 echo "configure:7132: checking for jrKanjiControl in -lcanna" >&5 | 7137 echo "configure:7138: checking for jrKanjiControl in -lcanna" >&5 |
| 7132 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 7138 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
| 7133 | 7139 |
| 7134 xe_check_libs=" -lcanna " | 7140 xe_check_libs=" -lcanna " |
| 7135 cat > conftest.$ac_ext <<EOF | 7141 cat > conftest.$ac_ext <<EOF |
| 7136 #line 7137 "configure" | 7142 #line 7143 "configure" |
| 7137 #include "confdefs.h" | 7143 #include "confdefs.h" |
| 7138 /* Override any gcc2 internal prototype to avoid an error. */ | 7144 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7139 /* We use char because int might match the return type of a gcc2 | 7145 /* We use char because int might match the return type of a gcc2 |
| 7140 builtin and then its argument prototype would still apply. */ | 7146 builtin and then its argument prototype would still apply. */ |
| 7141 char jrKanjiControl(); | 7147 char jrKanjiControl(); |
| 7142 | 7148 |
| 7143 int main() { | 7149 int main() { |
| 7144 jrKanjiControl() | 7150 jrKanjiControl() |
| 7145 ; return 0; } | 7151 ; return 0; } |
| 7146 EOF | 7152 EOF |
| 7147 if { (eval echo configure:7148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7153 if { (eval echo configure:7154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7148 rm -rf conftest* | 7154 rm -rf conftest* |
| 7149 eval "ac_cv_lib_$ac_lib_var=yes" | 7155 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7150 else | 7156 else |
| 7151 echo "configure: failed program was:" >&5 | 7157 echo "configure: failed program was:" >&5 |
| 7152 cat conftest.$ac_ext >&5 | 7158 cat conftest.$ac_ext >&5 |
| 7191 | 7197 |
| 7192 if test "$need_motif" = "yes" ; then | 7198 if test "$need_motif" = "yes" ; then |
| 7193 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 7199 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
| 7194 | 7200 |
| 7195 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 7201 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
| 7196 echo "configure:7197: checking for layout_object_getvalue in -li18n" >&5 | 7202 echo "configure:7203: checking for layout_object_getvalue in -li18n" >&5 |
| 7197 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 7203 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
| 7198 | 7204 |
| 7199 xe_check_libs=" -li18n " | 7205 xe_check_libs=" -li18n " |
| 7200 cat > conftest.$ac_ext <<EOF | 7206 cat > conftest.$ac_ext <<EOF |
| 7201 #line 7202 "configure" | 7207 #line 7208 "configure" |
| 7202 #include "confdefs.h" | 7208 #include "confdefs.h" |
| 7203 /* Override any gcc2 internal prototype to avoid an error. */ | 7209 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7204 /* We use char because int might match the return type of a gcc2 | 7210 /* We use char because int might match the return type of a gcc2 |
| 7205 builtin and then its argument prototype would still apply. */ | 7211 builtin and then its argument prototype would still apply. */ |
| 7206 char layout_object_getvalue(); | 7212 char layout_object_getvalue(); |
| 7207 | 7213 |
| 7208 int main() { | 7214 int main() { |
| 7209 layout_object_getvalue() | 7215 layout_object_getvalue() |
| 7210 ; return 0; } | 7216 ; return 0; } |
| 7211 EOF | 7217 EOF |
| 7212 if { (eval echo configure:7213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7218 if { (eval echo configure:7219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7213 rm -rf conftest* | 7219 rm -rf conftest* |
| 7214 eval "ac_cv_lib_$ac_lib_var=yes" | 7220 eval "ac_cv_lib_$ac_lib_var=yes" |
| 7215 else | 7221 else |
| 7216 echo "configure: failed program was:" >&5 | 7222 echo "configure: failed program was:" >&5 |
| 7217 cat conftest.$ac_ext >&5 | 7223 cat conftest.$ac_ext >&5 |
| 7280 fi | 7286 fi |
| 7281 | 7287 |
| 7282 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 | 7288 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 |
| 7283 do | 7289 do |
| 7284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7285 echo "configure:7286: checking for $ac_func" >&5 | 7291 echo "configure:7292: checking for $ac_func" >&5 |
| 7286 | 7292 |
| 7287 cat > conftest.$ac_ext <<EOF | 7293 cat > conftest.$ac_ext <<EOF |
| 7288 #line 7289 "configure" | 7294 #line 7295 "configure" |
| 7289 #include "confdefs.h" | 7295 #include "confdefs.h" |
| 7290 /* System header to define __stub macros and hopefully few prototypes, | 7296 /* System header to define __stub macros and hopefully few prototypes, |
| 7291 which can conflict with char $ac_func(); below. */ | 7297 which can conflict with char $ac_func(); below. */ |
| 7292 #include <assert.h> | 7298 #include <assert.h> |
| 7293 /* Override any gcc2 internal prototype to avoid an error. */ | 7299 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7306 $ac_func(); | 7312 $ac_func(); |
| 7307 #endif | 7313 #endif |
| 7308 | 7314 |
| 7309 ; return 0; } | 7315 ; return 0; } |
| 7310 EOF | 7316 EOF |
| 7311 if { (eval echo configure:7312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7317 if { (eval echo configure:7318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7312 rm -rf conftest* | 7318 rm -rf conftest* |
| 7313 eval "ac_cv_func_$ac_func=yes" | 7319 eval "ac_cv_func_$ac_func=yes" |
| 7314 else | 7320 else |
| 7315 echo "configure: failed program was:" >&5 | 7321 echo "configure: failed program was:" >&5 |
| 7316 cat conftest.$ac_ext >&5 | 7322 cat conftest.$ac_ext >&5 |
| 7343 fi ;; | 7349 fi ;; |
| 7344 * ) | 7350 * ) |
| 7345 for ac_func in realpath | 7351 for ac_func in realpath |
| 7346 do | 7352 do |
| 7347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7348 echo "configure:7349: checking for $ac_func" >&5 | 7354 echo "configure:7355: checking for $ac_func" >&5 |
| 7349 | 7355 |
| 7350 cat > conftest.$ac_ext <<EOF | 7356 cat > conftest.$ac_ext <<EOF |
| 7351 #line 7352 "configure" | 7357 #line 7358 "configure" |
| 7352 #include "confdefs.h" | 7358 #include "confdefs.h" |
| 7353 /* System header to define __stub macros and hopefully few prototypes, | 7359 /* System header to define __stub macros and hopefully few prototypes, |
| 7354 which can conflict with char $ac_func(); below. */ | 7360 which can conflict with char $ac_func(); below. */ |
| 7355 #include <assert.h> | 7361 #include <assert.h> |
| 7356 /* Override any gcc2 internal prototype to avoid an error. */ | 7362 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7369 $ac_func(); | 7375 $ac_func(); |
| 7370 #endif | 7376 #endif |
| 7371 | 7377 |
| 7372 ; return 0; } | 7378 ; return 0; } |
| 7373 EOF | 7379 EOF |
| 7374 if { (eval echo configure:7375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7380 if { (eval echo configure:7381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7375 rm -rf conftest* | 7381 rm -rf conftest* |
| 7376 eval "ac_cv_func_$ac_func=yes" | 7382 eval "ac_cv_func_$ac_func=yes" |
| 7377 else | 7383 else |
| 7378 echo "configure: failed program was:" >&5 | 7384 echo "configure: failed program was:" >&5 |
| 7379 cat conftest.$ac_ext >&5 | 7385 cat conftest.$ac_ext >&5 |
| 7402 echo " xemacs will be linked with \"realpath.o\"" | 7408 echo " xemacs will be linked with \"realpath.o\"" |
| 7403 fi ;; | 7409 fi ;; |
| 7404 esac | 7410 esac |
| 7405 | 7411 |
| 7406 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 7412 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 7407 echo "configure:7408: checking whether netdb declares h_errno" >&5 | 7413 echo "configure:7414: checking whether netdb declares h_errno" >&5 |
| 7408 cat > conftest.$ac_ext <<EOF | 7414 cat > conftest.$ac_ext <<EOF |
| 7409 #line 7410 "configure" | 7415 #line 7416 "configure" |
| 7410 #include "confdefs.h" | 7416 #include "confdefs.h" |
| 7411 #include <netdb.h> | 7417 #include <netdb.h> |
| 7412 int main() { | 7418 int main() { |
| 7413 return h_errno; | 7419 return h_errno; |
| 7414 ; return 0; } | 7420 ; return 0; } |
| 7415 EOF | 7421 EOF |
| 7416 if { (eval echo configure:7417: \"$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 |
| 7417 rm -rf conftest* | 7423 rm -rf conftest* |
| 7418 echo "$ac_t""yes" 1>&6 | 7424 echo "$ac_t""yes" 1>&6 |
| 7419 { test "$extra_verbose" = "yes" && cat << \EOF | 7425 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7420 Defining HAVE_H_ERRNO | 7426 Defining HAVE_H_ERRNO |
| 7421 EOF | 7427 EOF |
| 7431 echo "$ac_t""no" 1>&6 | 7437 echo "$ac_t""no" 1>&6 |
| 7432 fi | 7438 fi |
| 7433 rm -f conftest* | 7439 rm -f conftest* |
| 7434 | 7440 |
| 7435 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 7441 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
| 7436 echo "configure:7437: checking for sigsetjmp" >&5 | 7442 echo "configure:7443: checking for sigsetjmp" >&5 |
| 7437 cat > conftest.$ac_ext <<EOF | 7443 cat > conftest.$ac_ext <<EOF |
| 7438 #line 7439 "configure" | 7444 #line 7445 "configure" |
| 7439 #include "confdefs.h" | 7445 #include "confdefs.h" |
| 7440 #include <setjmp.h> | 7446 #include <setjmp.h> |
| 7441 int main() { | 7447 int main() { |
| 7442 sigjmp_buf bar; sigsetjmp (bar, 0); | 7448 sigjmp_buf bar; sigsetjmp (bar, 0); |
| 7443 ; return 0; } | 7449 ; return 0; } |
| 7444 EOF | 7450 EOF |
| 7445 if { (eval echo configure:7446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7451 if { (eval echo configure:7452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7446 rm -rf conftest* | 7452 rm -rf conftest* |
| 7447 echo "$ac_t""yes" 1>&6 | 7453 echo "$ac_t""yes" 1>&6 |
| 7448 { test "$extra_verbose" = "yes" && cat << \EOF | 7454 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7449 Defining HAVE_SIGSETJMP | 7455 Defining HAVE_SIGSETJMP |
| 7450 EOF | 7456 EOF |
| 7460 echo "$ac_t""no" 1>&6 | 7466 echo "$ac_t""no" 1>&6 |
| 7461 fi | 7467 fi |
| 7462 rm -f conftest* | 7468 rm -f conftest* |
| 7463 | 7469 |
| 7464 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 7470 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 7465 echo "configure:7466: checking whether localtime caches TZ" >&5 | 7471 echo "configure:7472: checking whether localtime caches TZ" >&5 |
| 7466 | 7472 |
| 7467 if test "$ac_cv_func_tzset" = "yes"; then | 7473 if test "$ac_cv_func_tzset" = "yes"; then |
| 7468 cat > conftest.$ac_ext <<EOF | 7474 cat > conftest.$ac_ext <<EOF |
| 7469 #line 7470 "configure" | 7475 #line 7476 "configure" |
| 7470 #include "confdefs.h" | 7476 #include "confdefs.h" |
| 7471 #include <time.h> | 7477 #include <time.h> |
| 7472 #if STDC_HEADERS | 7478 #if STDC_HEADERS |
| 7473 # include <stdlib.h> | 7479 # include <stdlib.h> |
| 7474 #endif | 7480 #endif |
| 7499 if (localtime (&now)->tm_hour != hour_unset) | 7505 if (localtime (&now)->tm_hour != hour_unset) |
| 7500 exit (1); | 7506 exit (1); |
| 7501 exit (0); | 7507 exit (0); |
| 7502 } | 7508 } |
| 7503 EOF | 7509 EOF |
| 7504 if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7510 if { (eval echo configure:7511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7505 then | 7511 then |
| 7506 emacs_cv_localtime_cache=no | 7512 emacs_cv_localtime_cache=no |
| 7507 else | 7513 else |
| 7508 echo "configure: failed program was:" >&5 | 7514 echo "configure: failed program was:" >&5 |
| 7509 cat conftest.$ac_ext >&5 | 7515 cat conftest.$ac_ext >&5 |
| 7528 | 7534 |
| 7529 fi | 7535 fi |
| 7530 | 7536 |
| 7531 if test "$HAVE_TIMEVAL" = "yes"; then | 7537 if test "$HAVE_TIMEVAL" = "yes"; then |
| 7532 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 | 7538 echo $ac_n "checking whether gettimeofday cannot accept two arguments""... $ac_c" 1>&6 |
| 7533 echo "configure:7534: checking whether gettimeofday cannot accept two arguments" >&5 | 7539 echo "configure:7540: checking whether gettimeofday cannot accept two arguments" >&5 |
| 7534 cat > conftest.$ac_ext <<EOF | 7540 cat > conftest.$ac_ext <<EOF |
| 7535 #line 7536 "configure" | 7541 #line 7542 "configure" |
| 7536 #include "confdefs.h" | 7542 #include "confdefs.h" |
| 7537 | 7543 |
| 7538 #ifdef TIME_WITH_SYS_TIME | 7544 #ifdef TIME_WITH_SYS_TIME |
| 7539 #include <sys/time.h> | 7545 #include <sys/time.h> |
| 7540 #include <time.h> | 7546 #include <time.h> |
| 7552 struct timezone dummy; | 7558 struct timezone dummy; |
| 7553 gettimeofday (&time, &dummy); | 7559 gettimeofday (&time, &dummy); |
| 7554 | 7560 |
| 7555 ; return 0; } | 7561 ; return 0; } |
| 7556 EOF | 7562 EOF |
| 7557 if { (eval echo configure:7558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7563 if { (eval echo configure:7564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7558 rm -rf conftest* | 7564 rm -rf conftest* |
| 7559 echo "$ac_t""no" 1>&6 | 7565 echo "$ac_t""no" 1>&6 |
| 7560 else | 7566 else |
| 7561 echo "configure: failed program was:" >&5 | 7567 echo "configure: failed program was:" >&5 |
| 7562 cat conftest.$ac_ext >&5 | 7568 cat conftest.$ac_ext >&5 |
| 7573 fi | 7579 fi |
| 7574 rm -f conftest* | 7580 rm -f conftest* |
| 7575 fi | 7581 fi |
| 7576 | 7582 |
| 7577 echo $ac_n "checking whether the timezone variable is already declared""... $ac_c" 1>&6 | 7583 echo $ac_n "checking whether the timezone variable is already declared""... $ac_c" 1>&6 |
| 7578 echo "configure:7579: checking whether the timezone variable is already declared" >&5 | 7584 echo "configure:7585: checking whether the timezone variable is already declared" >&5 |
| 7579 cat > conftest.$ac_ext <<EOF | 7585 cat > conftest.$ac_ext <<EOF |
| 7580 #line 7581 "configure" | 7586 #line 7587 "configure" |
| 7581 #include "confdefs.h" | 7587 #include "confdefs.h" |
| 7582 | 7588 |
| 7583 #ifdef TIME_WITH_SYS_TIME | 7589 #ifdef TIME_WITH_SYS_TIME |
| 7584 #include <sys/time.h> | 7590 #include <sys/time.h> |
| 7585 #include <time.h> | 7591 #include <time.h> |
| 7595 | 7601 |
| 7596 timezone = 0; | 7602 timezone = 0; |
| 7597 | 7603 |
| 7598 ; return 0; } | 7604 ; return 0; } |
| 7599 EOF | 7605 EOF |
| 7600 if { (eval echo configure:7601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7606 if { (eval echo configure:7607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7601 rm -rf conftest* | 7607 rm -rf conftest* |
| 7602 echo "$ac_t""yes" 1>&6 | 7608 echo "$ac_t""yes" 1>&6 |
| 7603 { test "$extra_verbose" = "yes" && cat << \EOF | 7609 { test "$extra_verbose" = "yes" && cat << \EOF |
| 7604 Defining HAVE_TIMEZONE_DECL | 7610 Defining HAVE_TIMEZONE_DECL |
| 7605 EOF | 7611 EOF |
| 7617 rm -f conftest* | 7623 rm -f conftest* |
| 7618 | 7624 |
| 7619 | 7625 |
| 7620 | 7626 |
| 7621 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 7627 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
| 7622 echo "configure:7623: checking for inline" >&5 | 7628 echo "configure:7629: checking for inline" >&5 |
| 7623 | 7629 |
| 7624 ac_cv_c_inline=no | 7630 ac_cv_c_inline=no |
| 7625 for ac_kw in inline __inline__ __inline; do | 7631 for ac_kw in inline __inline__ __inline; do |
| 7626 cat > conftest.$ac_ext <<EOF | 7632 cat > conftest.$ac_ext <<EOF |
| 7627 #line 7628 "configure" | 7633 #line 7634 "configure" |
| 7628 #include "confdefs.h" | 7634 #include "confdefs.h" |
| 7629 | 7635 |
| 7630 int main() { | 7636 int main() { |
| 7631 } $ac_kw foo() { | 7637 } $ac_kw foo() { |
| 7632 ; return 0; } | 7638 ; return 0; } |
| 7633 EOF | 7639 EOF |
| 7634 if { (eval echo configure:7635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7640 if { (eval echo configure:7641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 7635 rm -rf conftest* | 7641 rm -rf conftest* |
| 7636 ac_cv_c_inline=$ac_kw; break | 7642 ac_cv_c_inline=$ac_kw; break |
| 7637 else | 7643 else |
| 7638 echo "configure: failed program was:" >&5 | 7644 echo "configure: failed program was:" >&5 |
| 7639 cat conftest.$ac_ext >&5 | 7645 cat conftest.$ac_ext >&5 |
| 7679 | 7685 |
| 7680 | 7686 |
| 7681 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 7687 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 7682 # for constant arguments. Useless! | 7688 # for constant arguments. Useless! |
| 7683 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 7689 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 7684 echo "configure:7685: checking for working alloca.h" >&5 | 7690 echo "configure:7691: checking for working alloca.h" >&5 |
| 7685 | 7691 |
| 7686 cat > conftest.$ac_ext <<EOF | 7692 cat > conftest.$ac_ext <<EOF |
| 7687 #line 7688 "configure" | 7693 #line 7694 "configure" |
| 7688 #include "confdefs.h" | 7694 #include "confdefs.h" |
| 7689 #include <alloca.h> | 7695 #include <alloca.h> |
| 7690 int main() { | 7696 int main() { |
| 7691 char *p = alloca(2 * sizeof(int)); | 7697 char *p = alloca(2 * sizeof(int)); |
| 7692 ; return 0; } | 7698 ; return 0; } |
| 7693 EOF | 7699 EOF |
| 7694 if { (eval echo configure:7695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7700 if { (eval echo configure:7701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7695 rm -rf conftest* | 7701 rm -rf conftest* |
| 7696 ac_cv_header_alloca_h=yes | 7702 ac_cv_header_alloca_h=yes |
| 7697 else | 7703 else |
| 7698 echo "configure: failed program was:" >&5 | 7704 echo "configure: failed program was:" >&5 |
| 7699 cat conftest.$ac_ext >&5 | 7705 cat conftest.$ac_ext >&5 |
| 7713 } | 7719 } |
| 7714 | 7720 |
| 7715 fi | 7721 fi |
| 7716 | 7722 |
| 7717 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 7723 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 7718 echo "configure:7719: checking for alloca" >&5 | 7724 echo "configure:7725: checking for alloca" >&5 |
| 7719 | 7725 |
| 7720 cat > conftest.$ac_ext <<EOF | 7726 cat > conftest.$ac_ext <<EOF |
| 7721 #line 7722 "configure" | 7727 #line 7728 "configure" |
| 7722 #include "confdefs.h" | 7728 #include "confdefs.h" |
| 7723 | 7729 |
| 7724 #ifdef __GNUC__ | 7730 #ifdef __GNUC__ |
| 7725 # define alloca __builtin_alloca | 7731 # define alloca __builtin_alloca |
| 7726 #else | 7732 #else |
| 7739 | 7745 |
| 7740 int main() { | 7746 int main() { |
| 7741 char *p = (char *) alloca(1); | 7747 char *p = (char *) alloca(1); |
| 7742 ; return 0; } | 7748 ; return 0; } |
| 7743 EOF | 7749 EOF |
| 7744 if { (eval echo configure:7745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7750 if { (eval echo configure:7751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7745 rm -rf conftest* | 7751 rm -rf conftest* |
| 7746 ac_cv_func_alloca_works=yes | 7752 ac_cv_func_alloca_works=yes |
| 7747 else | 7753 else |
| 7748 echo "configure: failed program was:" >&5 | 7754 echo "configure: failed program was:" >&5 |
| 7749 cat conftest.$ac_ext >&5 | 7755 cat conftest.$ac_ext >&5 |
| 7778 EOF | 7784 EOF |
| 7779 } | 7785 } |
| 7780 | 7786 |
| 7781 | 7787 |
| 7782 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 7788 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 7783 echo "configure:7784: checking whether alloca needs Cray hooks" >&5 | 7789 echo "configure:7790: checking whether alloca needs Cray hooks" >&5 |
| 7784 | 7790 |
| 7785 cat > conftest.$ac_ext <<EOF | 7791 cat > conftest.$ac_ext <<EOF |
| 7786 #line 7787 "configure" | 7792 #line 7793 "configure" |
| 7787 #include "confdefs.h" | 7793 #include "confdefs.h" |
| 7788 #if defined(CRAY) && ! defined(CRAY2) | 7794 #if defined(CRAY) && ! defined(CRAY2) |
| 7789 webecray | 7795 webecray |
| 7790 #else | 7796 #else |
| 7791 wenotbecray | 7797 wenotbecray |
| 7805 | 7811 |
| 7806 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 7812 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
| 7807 if test $ac_cv_os_cray = yes; then | 7813 if test $ac_cv_os_cray = yes; then |
| 7808 for ac_func in _getb67 GETB67 getb67; do | 7814 for ac_func in _getb67 GETB67 getb67; do |
| 7809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 7810 echo "configure:7811: checking for $ac_func" >&5 | 7816 echo "configure:7817: checking for $ac_func" >&5 |
| 7811 | 7817 |
| 7812 cat > conftest.$ac_ext <<EOF | 7818 cat > conftest.$ac_ext <<EOF |
| 7813 #line 7814 "configure" | 7819 #line 7820 "configure" |
| 7814 #include "confdefs.h" | 7820 #include "confdefs.h" |
| 7815 /* System header to define __stub macros and hopefully few prototypes, | 7821 /* System header to define __stub macros and hopefully few prototypes, |
| 7816 which can conflict with char $ac_func(); below. */ | 7822 which can conflict with char $ac_func(); below. */ |
| 7817 #include <assert.h> | 7823 #include <assert.h> |
| 7818 /* Override any gcc2 internal prototype to avoid an error. */ | 7824 /* Override any gcc2 internal prototype to avoid an error. */ |
| 7831 $ac_func(); | 7837 $ac_func(); |
| 7832 #endif | 7838 #endif |
| 7833 | 7839 |
| 7834 ; return 0; } | 7840 ; return 0; } |
| 7835 EOF | 7841 EOF |
| 7836 if { (eval echo configure:7837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7842 if { (eval echo configure:7843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 7837 rm -rf conftest* | 7843 rm -rf conftest* |
| 7838 eval "ac_cv_func_$ac_func=yes" | 7844 eval "ac_cv_func_$ac_func=yes" |
| 7839 else | 7845 else |
| 7840 echo "configure: failed program was:" >&5 | 7846 echo "configure: failed program was:" >&5 |
| 7841 cat conftest.$ac_ext >&5 | 7847 cat conftest.$ac_ext >&5 |
| 7861 | 7867 |
| 7862 done | 7868 done |
| 7863 fi | 7869 fi |
| 7864 | 7870 |
| 7865 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 7871 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 7866 echo "configure:7867: checking stack direction for C alloca" >&5 | 7872 echo "configure:7873: checking stack direction for C alloca" >&5 |
| 7867 | 7873 |
| 7868 cat > conftest.$ac_ext <<EOF | 7874 cat > conftest.$ac_ext <<EOF |
| 7869 #line 7870 "configure" | 7875 #line 7876 "configure" |
| 7870 #include "confdefs.h" | 7876 #include "confdefs.h" |
| 7871 find_stack_direction () | 7877 find_stack_direction () |
| 7872 { | 7878 { |
| 7873 static char *addr = 0; | 7879 static char *addr = 0; |
| 7874 auto char dummy; | 7880 auto char dummy; |
| 7883 main () | 7889 main () |
| 7884 { | 7890 { |
| 7885 exit (find_stack_direction() < 0); | 7891 exit (find_stack_direction() < 0); |
| 7886 } | 7892 } |
| 7887 EOF | 7893 EOF |
| 7888 if { (eval echo configure:7889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 7894 if { (eval echo configure:7895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 7889 then | 7895 then |
| 7890 ac_cv_c_stack_direction=1 | 7896 ac_cv_c_stack_direction=1 |
| 7891 else | 7897 else |
| 7892 echo "configure: failed program was:" >&5 | 7898 echo "configure: failed program was:" >&5 |
| 7893 cat conftest.$ac_ext >&5 | 7899 cat conftest.$ac_ext >&5 |
| 7911 echo " xemacs will be linked with \"$ALLOCA\"" | 7917 echo " xemacs will be linked with \"$ALLOCA\"" |
| 7912 fi | 7918 fi |
| 7913 | 7919 |
| 7914 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 7920 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
| 7915 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 7921 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
| 7916 echo "configure:7917: checking for vfork.h" >&5 | 7922 echo "configure:7923: checking for vfork.h" >&5 |
| 7917 | 7923 |
| 7918 cat > conftest.$ac_ext <<EOF | 7924 cat > conftest.$ac_ext <<EOF |
| 7919 #line 7920 "configure" | 7925 #line 7926 "configure" |
| 7920 #include "confdefs.h" | 7926 #include "confdefs.h" |
| 7921 #include <vfork.h> | 7927 #include <vfork.h> |
| 7922 EOF | 7928 EOF |
| 7923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7929 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 7924 { (eval echo configure:7925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7930 { (eval echo configure:7931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 7925 ac_err=`grep -v '^ *+' conftest.out` | 7931 ac_err=`grep -v '^ *+' conftest.out` |
| 7926 if test -z "$ac_err"; then | 7932 if test -z "$ac_err"; then |
| 7927 rm -rf conftest* | 7933 rm -rf conftest* |
| 7928 eval "ac_cv_header_$ac_safe=yes" | 7934 eval "ac_cv_header_$ac_safe=yes" |
| 7929 else | 7935 else |
| 7947 else | 7953 else |
| 7948 echo "$ac_t""no" 1>&6 | 7954 echo "$ac_t""no" 1>&6 |
| 7949 fi | 7955 fi |
| 7950 | 7956 |
| 7951 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 7957 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
| 7952 echo "configure:7953: checking for working vfork" >&5 | 7958 echo "configure:7959: checking for working vfork" >&5 |
| 7953 | 7959 |
| 7954 cat > conftest.$ac_ext <<EOF | 7960 cat > conftest.$ac_ext <<EOF |
| 7955 #line 7956 "configure" | 7961 #line 7962 "configure" |
| 7956 #include "confdefs.h" | 7962 #include "confdefs.h" |
| 7957 /* Thanks to Paul Eggert for this test. */ | 7963 /* Thanks to Paul Eggert for this test. */ |
| 7958 #include <stdio.h> | 7964 #include <stdio.h> |
| 7959 #include <sys/types.h> | 7965 #include <sys/types.h> |
| 7960 #include <sys/stat.h> | 7966 #include <sys/stat.h> |
| 8045 || fstat(fileno(stdout), &st) != 0 | 8051 || fstat(fileno(stdout), &st) != 0 |
| 8046 ); | 8052 ); |
| 8047 } | 8053 } |
| 8048 } | 8054 } |
| 8049 EOF | 8055 EOF |
| 8050 if { (eval echo configure:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8056 if { (eval echo configure:8057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8051 then | 8057 then |
| 8052 ac_cv_func_vfork_works=yes | 8058 ac_cv_func_vfork_works=yes |
| 8053 else | 8059 else |
| 8054 echo "configure: failed program was:" >&5 | 8060 echo "configure: failed program was:" >&5 |
| 8055 cat conftest.$ac_ext >&5 | 8061 cat conftest.$ac_ext >&5 |
| 8070 | 8076 |
| 8071 fi | 8077 fi |
| 8072 | 8078 |
| 8073 | 8079 |
| 8074 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 8080 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
| 8075 echo "configure:8076: checking for working strcoll" >&5 | 8081 echo "configure:8082: checking for working strcoll" >&5 |
| 8076 | 8082 |
| 8077 cat > conftest.$ac_ext <<EOF | 8083 cat > conftest.$ac_ext <<EOF |
| 8078 #line 8079 "configure" | 8084 #line 8085 "configure" |
| 8079 #include "confdefs.h" | 8085 #include "confdefs.h" |
| 8080 #include <string.h> | 8086 #include <string.h> |
| 8081 main () | 8087 main () |
| 8082 { | 8088 { |
| 8083 exit (strcoll ("abc", "def") >= 0 || | 8089 exit (strcoll ("abc", "def") >= 0 || |
| 8084 strcoll ("ABC", "DEF") >= 0 || | 8090 strcoll ("ABC", "DEF") >= 0 || |
| 8085 strcoll ("123", "456") >= 0); | 8091 strcoll ("123", "456") >= 0); |
| 8086 } | 8092 } |
| 8087 EOF | 8093 EOF |
| 8088 if { (eval echo configure:8089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8094 if { (eval echo configure:8095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8089 then | 8095 then |
| 8090 ac_cv_func_strcoll_works=yes | 8096 ac_cv_func_strcoll_works=yes |
| 8091 else | 8097 else |
| 8092 echo "configure: failed program was:" >&5 | 8098 echo "configure: failed program was:" >&5 |
| 8093 cat conftest.$ac_ext >&5 | 8099 cat conftest.$ac_ext >&5 |
| 8110 | 8116 |
| 8111 | 8117 |
| 8112 for ac_func in getpgrp | 8118 for ac_func in getpgrp |
| 8113 do | 8119 do |
| 8114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8120 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 8115 echo "configure:8116: checking for $ac_func" >&5 | 8121 echo "configure:8122: checking for $ac_func" >&5 |
| 8116 | 8122 |
| 8117 cat > conftest.$ac_ext <<EOF | 8123 cat > conftest.$ac_ext <<EOF |
| 8118 #line 8119 "configure" | 8124 #line 8125 "configure" |
| 8119 #include "confdefs.h" | 8125 #include "confdefs.h" |
| 8120 /* System header to define __stub macros and hopefully few prototypes, | 8126 /* System header to define __stub macros and hopefully few prototypes, |
| 8121 which can conflict with char $ac_func(); below. */ | 8127 which can conflict with char $ac_func(); below. */ |
| 8122 #include <assert.h> | 8128 #include <assert.h> |
| 8123 /* Override any gcc2 internal prototype to avoid an error. */ | 8129 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8136 $ac_func(); | 8142 $ac_func(); |
| 8137 #endif | 8143 #endif |
| 8138 | 8144 |
| 8139 ; return 0; } | 8145 ; return 0; } |
| 8140 EOF | 8146 EOF |
| 8141 if { (eval echo configure:8142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8147 if { (eval echo configure:8148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8142 rm -rf conftest* | 8148 rm -rf conftest* |
| 8143 eval "ac_cv_func_$ac_func=yes" | 8149 eval "ac_cv_func_$ac_func=yes" |
| 8144 else | 8150 else |
| 8145 echo "configure: failed program was:" >&5 | 8151 echo "configure: failed program was:" >&5 |
| 8146 cat conftest.$ac_ext >&5 | 8152 cat conftest.$ac_ext >&5 |
| 8164 echo "$ac_t""no" 1>&6 | 8170 echo "$ac_t""no" 1>&6 |
| 8165 fi | 8171 fi |
| 8166 done | 8172 done |
| 8167 | 8173 |
| 8168 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 8174 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
| 8169 echo "configure:8170: checking whether getpgrp takes no argument" >&5 | 8175 echo "configure:8176: checking whether getpgrp takes no argument" >&5 |
| 8170 | 8176 |
| 8171 cat > conftest.$ac_ext <<EOF | 8177 cat > conftest.$ac_ext <<EOF |
| 8172 #line 8173 "configure" | 8178 #line 8179 "configure" |
| 8173 #include "confdefs.h" | 8179 #include "confdefs.h" |
| 8174 | 8180 |
| 8175 /* | 8181 /* |
| 8176 * If this system has a BSD-style getpgrp(), | 8182 * If this system has a BSD-style getpgrp(), |
| 8177 * which takes a pid argument, exit unsuccessfully. | 8183 * which takes a pid argument, exit unsuccessfully. |
| 8222 exit(s>>8); | 8228 exit(s>>8); |
| 8223 } | 8229 } |
| 8224 } | 8230 } |
| 8225 | 8231 |
| 8226 EOF | 8232 EOF |
| 8227 if { (eval echo configure:8228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8233 if { (eval echo configure:8234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8228 then | 8234 then |
| 8229 ac_cv_func_getpgrp_void=yes | 8235 ac_cv_func_getpgrp_void=yes |
| 8230 else | 8236 else |
| 8231 echo "configure: failed program was:" >&5 | 8237 echo "configure: failed program was:" >&5 |
| 8232 cat conftest.$ac_ext >&5 | 8238 cat conftest.$ac_ext >&5 |
| 8248 | 8254 |
| 8249 fi | 8255 fi |
| 8250 | 8256 |
| 8251 | 8257 |
| 8252 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 8258 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
| 8253 echo "configure:8254: checking for working mmap" >&5 | 8259 echo "configure:8260: checking for working mmap" >&5 |
| 8254 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 8260 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
| 8255 cat > conftest.$ac_ext <<EOF | 8261 cat > conftest.$ac_ext <<EOF |
| 8256 #line 8257 "configure" | 8262 #line 8263 "configure" |
| 8257 #include "confdefs.h" | 8263 #include "confdefs.h" |
| 8258 #include <stdio.h> | 8264 #include <stdio.h> |
| 8259 #include <unistd.h> | 8265 #include <unistd.h> |
| 8260 #include <fcntl.h> | 8266 #include <fcntl.h> |
| 8261 #include <sys/mman.h> | 8267 #include <sys/mman.h> |
| 8284 return 0; | 8290 return 0; |
| 8285 perror ("conftest: mmap failed"); | 8291 perror ("conftest: mmap failed"); |
| 8286 return 1; | 8292 return 1; |
| 8287 } | 8293 } |
| 8288 EOF | 8294 EOF |
| 8289 if { (eval echo configure:8290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 | 8295 if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>&5 |
| 8290 then | 8296 then |
| 8291 have_mmap=yes | 8297 have_mmap=yes |
| 8292 else | 8298 else |
| 8293 echo "configure: failed program was:" >&5 | 8299 echo "configure: failed program was:" >&5 |
| 8294 cat conftest.$ac_ext >&5 | 8300 cat conftest.$ac_ext >&5 |
| 8318 } | 8324 } |
| 8319 | 8325 |
| 8320 | 8326 |
| 8321 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 8327 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
| 8322 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 8328 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
| 8323 echo "configure:8324: checking for termios.h" >&5 | 8329 echo "configure:8330: checking for termios.h" >&5 |
| 8324 | 8330 |
| 8325 cat > conftest.$ac_ext <<EOF | 8331 cat > conftest.$ac_ext <<EOF |
| 8326 #line 8327 "configure" | 8332 #line 8333 "configure" |
| 8327 #include "confdefs.h" | 8333 #include "confdefs.h" |
| 8328 #include <termios.h> | 8334 #include <termios.h> |
| 8329 EOF | 8335 EOF |
| 8330 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8336 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8331 { (eval echo configure:8332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8337 { (eval echo configure:8338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8332 ac_err=`grep -v '^ *+' conftest.out` | 8338 ac_err=`grep -v '^ *+' conftest.out` |
| 8333 if test -z "$ac_err"; then | 8339 if test -z "$ac_err"; then |
| 8334 rm -rf conftest* | 8340 rm -rf conftest* |
| 8335 eval "ac_cv_header_$ac_safe=yes" | 8341 eval "ac_cv_header_$ac_safe=yes" |
| 8336 else | 8342 else |
| 8369 | 8375 |
| 8370 else | 8376 else |
| 8371 echo "$ac_t""no" 1>&6 | 8377 echo "$ac_t""no" 1>&6 |
| 8372 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 8378 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
| 8373 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 8379 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
| 8374 echo "configure:8375: checking for termio.h" >&5 | 8380 echo "configure:8381: checking for termio.h" >&5 |
| 8375 | 8381 |
| 8376 cat > conftest.$ac_ext <<EOF | 8382 cat > conftest.$ac_ext <<EOF |
| 8377 #line 8378 "configure" | 8383 #line 8384 "configure" |
| 8378 #include "confdefs.h" | 8384 #include "confdefs.h" |
| 8379 #include <termio.h> | 8385 #include <termio.h> |
| 8380 EOF | 8386 EOF |
| 8381 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8387 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8382 { (eval echo configure:8383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8388 { (eval echo configure:8389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8383 ac_err=`grep -v '^ *+' conftest.out` | 8389 ac_err=`grep -v '^ *+' conftest.out` |
| 8384 if test -z "$ac_err"; then | 8390 if test -z "$ac_err"; then |
| 8385 rm -rf conftest* | 8391 rm -rf conftest* |
| 8386 eval "ac_cv_header_$ac_safe=yes" | 8392 eval "ac_cv_header_$ac_safe=yes" |
| 8387 else | 8393 else |
| 8409 fi | 8415 fi |
| 8410 | 8416 |
| 8411 | 8417 |
| 8412 | 8418 |
| 8413 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 8419 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 8414 echo "configure:8415: checking for socket" >&5 | 8420 echo "configure:8421: checking for socket" >&5 |
| 8415 | 8421 |
| 8416 cat > conftest.$ac_ext <<EOF | 8422 cat > conftest.$ac_ext <<EOF |
| 8417 #line 8418 "configure" | 8423 #line 8424 "configure" |
| 8418 #include "confdefs.h" | 8424 #include "confdefs.h" |
| 8419 /* System header to define __stub macros and hopefully few prototypes, | 8425 /* System header to define __stub macros and hopefully few prototypes, |
| 8420 which can conflict with char socket(); below. */ | 8426 which can conflict with char socket(); below. */ |
| 8421 #include <assert.h> | 8427 #include <assert.h> |
| 8422 /* Override any gcc2 internal prototype to avoid an error. */ | 8428 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8435 socket(); | 8441 socket(); |
| 8436 #endif | 8442 #endif |
| 8437 | 8443 |
| 8438 ; return 0; } | 8444 ; return 0; } |
| 8439 EOF | 8445 EOF |
| 8440 if { (eval echo configure:8441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8446 if { (eval echo configure:8447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8441 rm -rf conftest* | 8447 rm -rf conftest* |
| 8442 eval "ac_cv_func_socket=yes" | 8448 eval "ac_cv_func_socket=yes" |
| 8443 else | 8449 else |
| 8444 echo "configure: failed program was:" >&5 | 8450 echo "configure: failed program was:" >&5 |
| 8445 cat conftest.$ac_ext >&5 | 8451 cat conftest.$ac_ext >&5 |
| 8450 | 8456 |
| 8451 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 8457 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
| 8452 echo "$ac_t""yes" 1>&6 | 8458 echo "$ac_t""yes" 1>&6 |
| 8453 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 8459 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 8454 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 8460 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 8455 echo "configure:8456: checking for netinet/in.h" >&5 | 8461 echo "configure:8462: checking for netinet/in.h" >&5 |
| 8456 | 8462 |
| 8457 cat > conftest.$ac_ext <<EOF | 8463 cat > conftest.$ac_ext <<EOF |
| 8458 #line 8459 "configure" | 8464 #line 8465 "configure" |
| 8459 #include "confdefs.h" | 8465 #include "confdefs.h" |
| 8460 #include <netinet/in.h> | 8466 #include <netinet/in.h> |
| 8461 EOF | 8467 EOF |
| 8462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8468 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8463 { (eval echo configure:8464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8469 { (eval echo configure:8470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8464 ac_err=`grep -v '^ *+' conftest.out` | 8470 ac_err=`grep -v '^ *+' conftest.out` |
| 8465 if test -z "$ac_err"; then | 8471 if test -z "$ac_err"; then |
| 8466 rm -rf conftest* | 8472 rm -rf conftest* |
| 8467 eval "ac_cv_header_$ac_safe=yes" | 8473 eval "ac_cv_header_$ac_safe=yes" |
| 8468 else | 8474 else |
| 8475 rm -f conftest* | 8481 rm -f conftest* |
| 8476 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8482 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8477 echo "$ac_t""yes" 1>&6 | 8483 echo "$ac_t""yes" 1>&6 |
| 8478 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 8484 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 8479 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 8485 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 8480 echo "configure:8481: checking for arpa/inet.h" >&5 | 8486 echo "configure:8487: checking for arpa/inet.h" >&5 |
| 8481 | 8487 |
| 8482 cat > conftest.$ac_ext <<EOF | 8488 cat > conftest.$ac_ext <<EOF |
| 8483 #line 8484 "configure" | 8489 #line 8490 "configure" |
| 8484 #include "confdefs.h" | 8490 #include "confdefs.h" |
| 8485 #include <arpa/inet.h> | 8491 #include <arpa/inet.h> |
| 8486 EOF | 8492 EOF |
| 8487 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8493 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8488 { (eval echo configure:8489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8494 { (eval echo configure:8495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8489 ac_err=`grep -v '^ *+' conftest.out` | 8495 ac_err=`grep -v '^ *+' conftest.out` |
| 8490 if test -z "$ac_err"; then | 8496 if test -z "$ac_err"; then |
| 8491 rm -rf conftest* | 8497 rm -rf conftest* |
| 8492 eval "ac_cv_header_$ac_safe=yes" | 8498 eval "ac_cv_header_$ac_safe=yes" |
| 8493 else | 8499 else |
| 8508 #define HAVE_SOCKETS 1 | 8514 #define HAVE_SOCKETS 1 |
| 8509 EOF | 8515 EOF |
| 8510 } | 8516 } |
| 8511 | 8517 |
| 8512 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 8518 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
| 8513 echo "configure:8514: checking "for sun_len member in struct sockaddr_un"" >&5 | 8519 echo "configure:8520: checking "for sun_len member in struct sockaddr_un"" >&5 |
| 8514 cat > conftest.$ac_ext <<EOF | 8520 cat > conftest.$ac_ext <<EOF |
| 8515 #line 8516 "configure" | 8521 #line 8522 "configure" |
| 8516 #include "confdefs.h" | 8522 #include "confdefs.h" |
| 8517 | 8523 |
| 8518 #include <sys/types.h> | 8524 #include <sys/types.h> |
| 8519 #include <sys/socket.h> | 8525 #include <sys/socket.h> |
| 8520 #include <sys/un.h> | 8526 #include <sys/un.h> |
| 8521 | 8527 |
| 8522 int main() { | 8528 int main() { |
| 8523 static struct sockaddr_un x; x.sun_len = 1; | 8529 static struct sockaddr_un x; x.sun_len = 1; |
| 8524 ; return 0; } | 8530 ; return 0; } |
| 8525 EOF | 8531 EOF |
| 8526 if { (eval echo configure:8527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8532 if { (eval echo configure:8533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8527 rm -rf conftest* | 8533 rm -rf conftest* |
| 8528 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 8534 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
| 8529 Defining HAVE_SOCKADDR_SUN_LEN | 8535 Defining HAVE_SOCKADDR_SUN_LEN |
| 8530 EOF | 8536 EOF |
| 8531 cat >> confdefs.h <<\EOF | 8537 cat >> confdefs.h <<\EOF |
| 8552 echo "$ac_t""no" 1>&6 | 8558 echo "$ac_t""no" 1>&6 |
| 8553 fi | 8559 fi |
| 8554 | 8560 |
| 8555 | 8561 |
| 8556 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 8562 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
| 8557 echo "configure:8558: checking for msgget" >&5 | 8563 echo "configure:8564: checking for msgget" >&5 |
| 8558 | 8564 |
| 8559 cat > conftest.$ac_ext <<EOF | 8565 cat > conftest.$ac_ext <<EOF |
| 8560 #line 8561 "configure" | 8566 #line 8567 "configure" |
| 8561 #include "confdefs.h" | 8567 #include "confdefs.h" |
| 8562 /* System header to define __stub macros and hopefully few prototypes, | 8568 /* System header to define __stub macros and hopefully few prototypes, |
| 8563 which can conflict with char msgget(); below. */ | 8569 which can conflict with char msgget(); below. */ |
| 8564 #include <assert.h> | 8570 #include <assert.h> |
| 8565 /* Override any gcc2 internal prototype to avoid an error. */ | 8571 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8578 msgget(); | 8584 msgget(); |
| 8579 #endif | 8585 #endif |
| 8580 | 8586 |
| 8581 ; return 0; } | 8587 ; return 0; } |
| 8582 EOF | 8588 EOF |
| 8583 if { (eval echo configure:8584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8589 if { (eval echo configure:8590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8584 rm -rf conftest* | 8590 rm -rf conftest* |
| 8585 eval "ac_cv_func_msgget=yes" | 8591 eval "ac_cv_func_msgget=yes" |
| 8586 else | 8592 else |
| 8587 echo "configure: failed program was:" >&5 | 8593 echo "configure: failed program was:" >&5 |
| 8588 cat conftest.$ac_ext >&5 | 8594 cat conftest.$ac_ext >&5 |
| 8593 | 8599 |
| 8594 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 8600 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
| 8595 echo "$ac_t""yes" 1>&6 | 8601 echo "$ac_t""yes" 1>&6 |
| 8596 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 8602 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
| 8597 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 8603 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
| 8598 echo "configure:8599: checking for sys/ipc.h" >&5 | 8604 echo "configure:8605: checking for sys/ipc.h" >&5 |
| 8599 | 8605 |
| 8600 cat > conftest.$ac_ext <<EOF | 8606 cat > conftest.$ac_ext <<EOF |
| 8601 #line 8602 "configure" | 8607 #line 8608 "configure" |
| 8602 #include "confdefs.h" | 8608 #include "confdefs.h" |
| 8603 #include <sys/ipc.h> | 8609 #include <sys/ipc.h> |
| 8604 EOF | 8610 EOF |
| 8605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8606 { (eval echo configure:8607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8612 { (eval echo configure:8613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8607 ac_err=`grep -v '^ *+' conftest.out` | 8613 ac_err=`grep -v '^ *+' conftest.out` |
| 8608 if test -z "$ac_err"; then | 8614 if test -z "$ac_err"; then |
| 8609 rm -rf conftest* | 8615 rm -rf conftest* |
| 8610 eval "ac_cv_header_$ac_safe=yes" | 8616 eval "ac_cv_header_$ac_safe=yes" |
| 8611 else | 8617 else |
| 8618 rm -f conftest* | 8624 rm -f conftest* |
| 8619 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8625 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 8620 echo "$ac_t""yes" 1>&6 | 8626 echo "$ac_t""yes" 1>&6 |
| 8621 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 8627 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
| 8622 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 8628 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
| 8623 echo "configure:8624: checking for sys/msg.h" >&5 | 8629 echo "configure:8630: checking for sys/msg.h" >&5 |
| 8624 | 8630 |
| 8625 cat > conftest.$ac_ext <<EOF | 8631 cat > conftest.$ac_ext <<EOF |
| 8626 #line 8627 "configure" | 8632 #line 8633 "configure" |
| 8627 #include "confdefs.h" | 8633 #include "confdefs.h" |
| 8628 #include <sys/msg.h> | 8634 #include <sys/msg.h> |
| 8629 EOF | 8635 EOF |
| 8630 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8636 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8631 { (eval echo configure:8632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8637 { (eval echo configure:8638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8632 ac_err=`grep -v '^ *+' conftest.out` | 8638 ac_err=`grep -v '^ *+' conftest.out` |
| 8633 if test -z "$ac_err"; then | 8639 if test -z "$ac_err"; then |
| 8634 rm -rf conftest* | 8640 rm -rf conftest* |
| 8635 eval "ac_cv_header_$ac_safe=yes" | 8641 eval "ac_cv_header_$ac_safe=yes" |
| 8636 else | 8642 else |
| 8664 fi | 8670 fi |
| 8665 | 8671 |
| 8666 | 8672 |
| 8667 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 8673 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
| 8668 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 8674 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
| 8669 echo "configure:8670: checking for dirent.h" >&5 | 8675 echo "configure:8676: checking for dirent.h" >&5 |
| 8670 | 8676 |
| 8671 cat > conftest.$ac_ext <<EOF | 8677 cat > conftest.$ac_ext <<EOF |
| 8672 #line 8673 "configure" | 8678 #line 8679 "configure" |
| 8673 #include "confdefs.h" | 8679 #include "confdefs.h" |
| 8674 #include <dirent.h> | 8680 #include <dirent.h> |
| 8675 EOF | 8681 EOF |
| 8676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8677 { (eval echo configure:8678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8683 { (eval echo configure:8684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8678 ac_err=`grep -v '^ *+' conftest.out` | 8684 ac_err=`grep -v '^ *+' conftest.out` |
| 8679 if test -z "$ac_err"; then | 8685 if test -z "$ac_err"; then |
| 8680 rm -rf conftest* | 8686 rm -rf conftest* |
| 8681 eval "ac_cv_header_$ac_safe=yes" | 8687 eval "ac_cv_header_$ac_safe=yes" |
| 8682 else | 8688 else |
| 8699 | 8705 |
| 8700 else | 8706 else |
| 8701 echo "$ac_t""no" 1>&6 | 8707 echo "$ac_t""no" 1>&6 |
| 8702 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 8708 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
| 8703 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 8709 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
| 8704 echo "configure:8705: checking for sys/dir.h" >&5 | 8710 echo "configure:8711: checking for sys/dir.h" >&5 |
| 8705 | 8711 |
| 8706 cat > conftest.$ac_ext <<EOF | 8712 cat > conftest.$ac_ext <<EOF |
| 8707 #line 8708 "configure" | 8713 #line 8714 "configure" |
| 8708 #include "confdefs.h" | 8714 #include "confdefs.h" |
| 8709 #include <sys/dir.h> | 8715 #include <sys/dir.h> |
| 8710 EOF | 8716 EOF |
| 8711 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8712 { (eval echo configure:8713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8718 { (eval echo configure:8719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8713 ac_err=`grep -v '^ *+' conftest.out` | 8719 ac_err=`grep -v '^ *+' conftest.out` |
| 8714 if test -z "$ac_err"; then | 8720 if test -z "$ac_err"; then |
| 8715 rm -rf conftest* | 8721 rm -rf conftest* |
| 8716 eval "ac_cv_header_$ac_safe=yes" | 8722 eval "ac_cv_header_$ac_safe=yes" |
| 8717 else | 8723 else |
| 8740 fi | 8746 fi |
| 8741 | 8747 |
| 8742 | 8748 |
| 8743 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 8749 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
| 8744 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 8750 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
| 8745 echo "configure:8746: checking for nlist.h" >&5 | 8751 echo "configure:8752: checking for nlist.h" >&5 |
| 8746 | 8752 |
| 8747 cat > conftest.$ac_ext <<EOF | 8753 cat > conftest.$ac_ext <<EOF |
| 8748 #line 8749 "configure" | 8754 #line 8755 "configure" |
| 8749 #include "confdefs.h" | 8755 #include "confdefs.h" |
| 8750 #include <nlist.h> | 8756 #include <nlist.h> |
| 8751 EOF | 8757 EOF |
| 8752 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8753 { (eval echo configure:8754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8759 { (eval echo configure:8760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8754 ac_err=`grep -v '^ *+' conftest.out` | 8760 ac_err=`grep -v '^ *+' conftest.out` |
| 8755 if test -z "$ac_err"; then | 8761 if test -z "$ac_err"; then |
| 8756 rm -rf conftest* | 8762 rm -rf conftest* |
| 8757 eval "ac_cv_header_$ac_safe=yes" | 8763 eval "ac_cv_header_$ac_safe=yes" |
| 8758 else | 8764 else |
| 8778 fi | 8784 fi |
| 8779 | 8785 |
| 8780 | 8786 |
| 8781 | 8787 |
| 8782 echo "checking "for sound support"" 1>&6 | 8788 echo "checking "for sound support"" 1>&6 |
| 8783 echo "configure:8784: checking "for sound support"" >&5 | 8789 echo "configure:8790: checking "for sound support"" >&5 |
| 8784 case "$with_sound" in | 8790 case "$with_sound" in |
| 8785 native | both ) with_native_sound=yes;; | 8791 native | both ) with_native_sound=yes;; |
| 8786 nas | no ) with_native_sound=no;; | 8792 nas | no ) with_native_sound=no;; |
| 8787 esac | 8793 esac |
| 8788 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 8794 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
| 8789 | 8795 |
| 8790 if test "$with_native_sound" != "no"; then | 8796 if test "$with_native_sound" != "no"; then |
| 8791 if test -n "$native_sound_lib"; then | 8797 if test -n "$native_sound_lib"; then |
| 8792 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 8798 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
| 8793 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 8799 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
| 8794 echo "configure:8795: checking for multimedia/audio_device.h" >&5 | 8800 echo "configure:8801: checking for multimedia/audio_device.h" >&5 |
| 8795 | 8801 |
| 8796 cat > conftest.$ac_ext <<EOF | 8802 cat > conftest.$ac_ext <<EOF |
| 8797 #line 8798 "configure" | 8803 #line 8804 "configure" |
| 8798 #include "confdefs.h" | 8804 #include "confdefs.h" |
| 8799 #include <multimedia/audio_device.h> | 8805 #include <multimedia/audio_device.h> |
| 8800 EOF | 8806 EOF |
| 8801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8807 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8802 { (eval echo configure:8803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8808 { (eval echo configure:8809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8803 ac_err=`grep -v '^ *+' conftest.out` | 8809 ac_err=`grep -v '^ *+' conftest.out` |
| 8804 if test -z "$ac_err"; then | 8810 if test -z "$ac_err"; then |
| 8805 rm -rf conftest* | 8811 rm -rf conftest* |
| 8806 eval "ac_cv_header_$ac_safe=yes" | 8812 eval "ac_cv_header_$ac_safe=yes" |
| 8807 else | 8813 else |
| 8845 case "$canonical" in | 8851 case "$canonical" in |
| 8846 *-sgi-* ) | 8852 *-sgi-* ) |
| 8847 if test -z "$native_sound_lib"; then | 8853 if test -z "$native_sound_lib"; then |
| 8848 | 8854 |
| 8849 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 8855 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
| 8850 echo "configure:8851: checking for ALopenport in -laudio" >&5 | 8856 echo "configure:8857: checking for ALopenport in -laudio" >&5 |
| 8851 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 8857 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
| 8852 | 8858 |
| 8853 xe_check_libs=" -laudio " | 8859 xe_check_libs=" -laudio " |
| 8854 cat > conftest.$ac_ext <<EOF | 8860 cat > conftest.$ac_ext <<EOF |
| 8855 #line 8856 "configure" | 8861 #line 8862 "configure" |
| 8856 #include "confdefs.h" | 8862 #include "confdefs.h" |
| 8857 /* Override any gcc2 internal prototype to avoid an error. */ | 8863 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8858 /* We use char because int might match the return type of a gcc2 | 8864 /* We use char because int might match the return type of a gcc2 |
| 8859 builtin and then its argument prototype would still apply. */ | 8865 builtin and then its argument prototype would still apply. */ |
| 8860 char ALopenport(); | 8866 char ALopenport(); |
| 8861 | 8867 |
| 8862 int main() { | 8868 int main() { |
| 8863 ALopenport() | 8869 ALopenport() |
| 8864 ; return 0; } | 8870 ; return 0; } |
| 8865 EOF | 8871 EOF |
| 8866 if { (eval echo configure:8867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8872 if { (eval echo configure:8873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8867 rm -rf conftest* | 8873 rm -rf conftest* |
| 8868 eval "ac_cv_lib_$ac_lib_var=yes" | 8874 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8869 else | 8875 else |
| 8870 echo "configure: failed program was:" >&5 | 8876 echo "configure: failed program was:" >&5 |
| 8871 cat conftest.$ac_ext >&5 | 8877 cat conftest.$ac_ext >&5 |
| 8892 fi ;; | 8898 fi ;; |
| 8893 hppa*-hp-hpux* ) | 8899 hppa*-hp-hpux* ) |
| 8894 if test -z "$native_sound_lib"; then | 8900 if test -z "$native_sound_lib"; then |
| 8895 | 8901 |
| 8896 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 8902 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
| 8897 echo "configure:8898: checking for AOpenAudio in -lAlib" >&5 | 8903 echo "configure:8904: checking for AOpenAudio in -lAlib" >&5 |
| 8898 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 8904 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
| 8899 | 8905 |
| 8900 xe_check_libs=" -lAlib " | 8906 xe_check_libs=" -lAlib " |
| 8901 cat > conftest.$ac_ext <<EOF | 8907 cat > conftest.$ac_ext <<EOF |
| 8902 #line 8903 "configure" | 8908 #line 8909 "configure" |
| 8903 #include "confdefs.h" | 8909 #include "confdefs.h" |
| 8904 /* Override any gcc2 internal prototype to avoid an error. */ | 8910 /* Override any gcc2 internal prototype to avoid an error. */ |
| 8905 /* We use char because int might match the return type of a gcc2 | 8911 /* We use char because int might match the return type of a gcc2 |
| 8906 builtin and then its argument prototype would still apply. */ | 8912 builtin and then its argument prototype would still apply. */ |
| 8907 char AOpenAudio(); | 8913 char AOpenAudio(); |
| 8908 | 8914 |
| 8909 int main() { | 8915 int main() { |
| 8910 AOpenAudio() | 8916 AOpenAudio() |
| 8911 ; return 0; } | 8917 ; return 0; } |
| 8912 EOF | 8918 EOF |
| 8913 if { (eval echo configure:8914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8919 if { (eval echo configure:8920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 8914 rm -rf conftest* | 8920 rm -rf conftest* |
| 8915 eval "ac_cv_lib_$ac_lib_var=yes" | 8921 eval "ac_cv_lib_$ac_lib_var=yes" |
| 8916 else | 8922 else |
| 8917 echo "configure: failed program was:" >&5 | 8923 echo "configure: failed program was:" >&5 |
| 8918 cat conftest.$ac_ext >&5 | 8924 cat conftest.$ac_ext >&5 |
| 8946 | 8952 |
| 8947 if test -z "$sound_found"; then | 8953 if test -z "$sound_found"; then |
| 8948 for dir in "machine" "sys" "linux"; do | 8954 for dir in "machine" "sys" "linux"; do |
| 8949 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 8955 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
| 8950 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 8956 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
| 8951 echo "configure:8952: checking for ${dir}/soundcard.h" >&5 | 8957 echo "configure:8958: checking for ${dir}/soundcard.h" >&5 |
| 8952 | 8958 |
| 8953 cat > conftest.$ac_ext <<EOF | 8959 cat > conftest.$ac_ext <<EOF |
| 8954 #line 8955 "configure" | 8960 #line 8961 "configure" |
| 8955 #include "confdefs.h" | 8961 #include "confdefs.h" |
| 8956 #include <${dir}/soundcard.h> | 8962 #include <${dir}/soundcard.h> |
| 8957 EOF | 8963 EOF |
| 8958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 8959 { (eval echo configure:8960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8965 { (eval echo configure:8966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 8960 ac_err=`grep -v '^ *+' conftest.out` | 8966 ac_err=`grep -v '^ *+' conftest.out` |
| 8961 if test -z "$ac_err"; then | 8967 if test -z "$ac_err"; then |
| 8962 rm -rf conftest* | 8968 rm -rf conftest* |
| 8963 eval "ac_cv_header_$ac_safe=yes" | 8969 eval "ac_cv_header_$ac_safe=yes" |
| 8964 else | 8970 else |
| 9024 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 9030 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
| 9025 echo " xemacs will be linked with \"nas.o\"" | 9031 echo " xemacs will be linked with \"nas.o\"" |
| 9026 fi | 9032 fi |
| 9027 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 9033 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
| 9028 cat > conftest.$ac_ext <<EOF | 9034 cat > conftest.$ac_ext <<EOF |
| 9029 #line 9030 "configure" | 9035 #line 9036 "configure" |
| 9030 #include "confdefs.h" | 9036 #include "confdefs.h" |
| 9031 #include <audio/Xtutil.h> | 9037 #include <audio/Xtutil.h> |
| 9032 EOF | 9038 EOF |
| 9033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 9039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
| 9034 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 9040 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
| 9051 | 9057 |
| 9052 test -z "$with_tty" && with_tty=yes | 9058 test -z "$with_tty" && with_tty=yes |
| 9053 | 9059 |
| 9054 if test "$with_tty" = "yes" ; then | 9060 if test "$with_tty" = "yes" ; then |
| 9055 echo "checking for TTY-related features" 1>&6 | 9061 echo "checking for TTY-related features" 1>&6 |
| 9056 echo "configure:9057: checking for TTY-related features" >&5 | 9062 echo "configure:9063: checking for TTY-related features" >&5 |
| 9057 { test "$extra_verbose" = "yes" && cat << \EOF | 9063 { test "$extra_verbose" = "yes" && cat << \EOF |
| 9058 Defining HAVE_TTY | 9064 Defining HAVE_TTY |
| 9059 EOF | 9065 EOF |
| 9060 cat >> confdefs.h <<\EOF | 9066 cat >> confdefs.h <<\EOF |
| 9061 #define HAVE_TTY 1 | 9067 #define HAVE_TTY 1 |
| 9067 fi | 9073 fi |
| 9068 | 9074 |
| 9069 if test -z "$with_ncurses"; then | 9075 if test -z "$with_ncurses"; then |
| 9070 | 9076 |
| 9071 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 9077 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
| 9072 echo "configure:9073: checking for tgetent in -lncurses" >&5 | 9078 echo "configure:9079: checking for tgetent in -lncurses" >&5 |
| 9073 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 9079 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9074 | 9080 |
| 9075 xe_check_libs=" -lncurses " | 9081 xe_check_libs=" -lncurses " |
| 9076 cat > conftest.$ac_ext <<EOF | 9082 cat > conftest.$ac_ext <<EOF |
| 9077 #line 9078 "configure" | 9083 #line 9084 "configure" |
| 9078 #include "confdefs.h" | 9084 #include "confdefs.h" |
| 9079 /* Override any gcc2 internal prototype to avoid an error. */ | 9085 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9080 /* We use char because int might match the return type of a gcc2 | 9086 /* We use char because int might match the return type of a gcc2 |
| 9081 builtin and then its argument prototype would still apply. */ | 9087 builtin and then its argument prototype would still apply. */ |
| 9082 char tgetent(); | 9088 char tgetent(); |
| 9083 | 9089 |
| 9084 int main() { | 9090 int main() { |
| 9085 tgetent() | 9091 tgetent() |
| 9086 ; return 0; } | 9092 ; return 0; } |
| 9087 EOF | 9093 EOF |
| 9088 if { (eval echo configure:9089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9094 if { (eval echo configure:9095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9089 rm -rf conftest* | 9095 rm -rf conftest* |
| 9090 eval "ac_cv_lib_$ac_lib_var=yes" | 9096 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9091 else | 9097 else |
| 9092 echo "configure: failed program was:" >&5 | 9098 echo "configure: failed program was:" >&5 |
| 9093 cat conftest.$ac_ext >&5 | 9099 cat conftest.$ac_ext >&5 |
| 9116 EOF | 9122 EOF |
| 9117 } | 9123 } |
| 9118 | 9124 |
| 9119 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9125 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9120 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9126 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9121 echo "configure:9122: checking for ncurses/curses.h" >&5 | 9127 echo "configure:9128: checking for ncurses/curses.h" >&5 |
| 9122 | 9128 |
| 9123 cat > conftest.$ac_ext <<EOF | 9129 cat > conftest.$ac_ext <<EOF |
| 9124 #line 9125 "configure" | 9130 #line 9131 "configure" |
| 9125 #include "confdefs.h" | 9131 #include "confdefs.h" |
| 9126 #include <ncurses/curses.h> | 9132 #include <ncurses/curses.h> |
| 9127 EOF | 9133 EOF |
| 9128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9129 { (eval echo configure:9130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9135 { (eval echo configure:9136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9130 ac_err=`grep -v '^ *+' conftest.out` | 9136 ac_err=`grep -v '^ *+' conftest.out` |
| 9131 if test -z "$ac_err"; then | 9137 if test -z "$ac_err"; then |
| 9132 rm -rf conftest* | 9138 rm -rf conftest* |
| 9133 eval "ac_cv_header_$ac_safe=yes" | 9139 eval "ac_cv_header_$ac_safe=yes" |
| 9134 else | 9140 else |
| 9146 echo "$ac_t""no" 1>&6 | 9152 echo "$ac_t""no" 1>&6 |
| 9147 fi | 9153 fi |
| 9148 | 9154 |
| 9149 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 9155 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
| 9150 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 9156 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
| 9151 echo "configure:9152: checking for ncurses/term.h" >&5 | 9157 echo "configure:9158: checking for ncurses/term.h" >&5 |
| 9152 | 9158 |
| 9153 cat > conftest.$ac_ext <<EOF | 9159 cat > conftest.$ac_ext <<EOF |
| 9154 #line 9155 "configure" | 9160 #line 9161 "configure" |
| 9155 #include "confdefs.h" | 9161 #include "confdefs.h" |
| 9156 #include <ncurses/term.h> | 9162 #include <ncurses/term.h> |
| 9157 EOF | 9163 EOF |
| 9158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9164 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9159 { (eval echo configure:9160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9165 { (eval echo configure:9166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9160 ac_err=`grep -v '^ *+' conftest.out` | 9166 ac_err=`grep -v '^ *+' conftest.out` |
| 9161 if test -z "$ac_err"; then | 9167 if test -z "$ac_err"; then |
| 9162 rm -rf conftest* | 9168 rm -rf conftest* |
| 9163 eval "ac_cv_header_$ac_safe=yes" | 9169 eval "ac_cv_header_$ac_safe=yes" |
| 9164 else | 9170 else |
| 9184 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 9190 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
| 9185 save_c_switch_site="$c_switch_site" | 9191 save_c_switch_site="$c_switch_site" |
| 9186 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 9192 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
| 9187 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 9193 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
| 9188 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 9194 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
| 9189 echo "configure:9190: checking for ncurses/curses.h" >&5 | 9195 echo "configure:9196: checking for ncurses/curses.h" >&5 |
| 9190 | 9196 |
| 9191 cat > conftest.$ac_ext <<EOF | 9197 cat > conftest.$ac_ext <<EOF |
| 9192 #line 9193 "configure" | 9198 #line 9199 "configure" |
| 9193 #include "confdefs.h" | 9199 #include "confdefs.h" |
| 9194 #include <ncurses/curses.h> | 9200 #include <ncurses/curses.h> |
| 9195 EOF | 9201 EOF |
| 9196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9197 { (eval echo configure:9198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9203 { (eval echo configure:9204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9198 ac_err=`grep -v '^ *+' conftest.out` | 9204 ac_err=`grep -v '^ *+' conftest.out` |
| 9199 if test -z "$ac_err"; then | 9205 if test -z "$ac_err"; then |
| 9200 rm -rf conftest* | 9206 rm -rf conftest* |
| 9201 eval "ac_cv_header_$ac_safe=yes" | 9207 eval "ac_cv_header_$ac_safe=yes" |
| 9202 else | 9208 else |
| 9227 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9233 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9228 else | 9234 else |
| 9229 for lib in curses termlib termcap; do | 9235 for lib in curses termlib termcap; do |
| 9230 | 9236 |
| 9231 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 9237 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
| 9232 echo "configure:9233: checking for tgetent in -l$lib" >&5 | 9238 echo "configure:9239: checking for tgetent in -l$lib" >&5 |
| 9233 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 9239 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
| 9234 | 9240 |
| 9235 xe_check_libs=" -l$lib " | 9241 xe_check_libs=" -l$lib " |
| 9236 cat > conftest.$ac_ext <<EOF | 9242 cat > conftest.$ac_ext <<EOF |
| 9237 #line 9238 "configure" | 9243 #line 9244 "configure" |
| 9238 #include "confdefs.h" | 9244 #include "confdefs.h" |
| 9239 /* Override any gcc2 internal prototype to avoid an error. */ | 9245 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9240 /* We use char because int might match the return type of a gcc2 | 9246 /* We use char because int might match the return type of a gcc2 |
| 9241 builtin and then its argument prototype would still apply. */ | 9247 builtin and then its argument prototype would still apply. */ |
| 9242 char tgetent(); | 9248 char tgetent(); |
| 9243 | 9249 |
| 9244 int main() { | 9250 int main() { |
| 9245 tgetent() | 9251 tgetent() |
| 9246 ; return 0; } | 9252 ; return 0; } |
| 9247 EOF | 9253 EOF |
| 9248 if { (eval echo configure:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9254 if { (eval echo configure:9255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9249 rm -rf conftest* | 9255 rm -rf conftest* |
| 9250 eval "ac_cv_lib_$ac_lib_var=yes" | 9256 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9251 else | 9257 else |
| 9252 echo "configure: failed program was:" >&5 | 9258 echo "configure: failed program was:" >&5 |
| 9253 cat conftest.$ac_ext >&5 | 9259 cat conftest.$ac_ext >&5 |
| 9274 if test -n "$libs_termcap"; then | 9280 if test -n "$libs_termcap"; then |
| 9275 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 9281 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
| 9276 else | 9282 else |
| 9277 | 9283 |
| 9278 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 9284 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
| 9279 echo "configure:9280: checking for tgetent in -lcurses" >&5 | 9285 echo "configure:9286: checking for tgetent in -lcurses" >&5 |
| 9280 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 9286 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
| 9281 | 9287 |
| 9282 xe_check_libs=" -lcurses " | 9288 xe_check_libs=" -lcurses " |
| 9283 cat > conftest.$ac_ext <<EOF | 9289 cat > conftest.$ac_ext <<EOF |
| 9284 #line 9285 "configure" | 9290 #line 9291 "configure" |
| 9285 #include "confdefs.h" | 9291 #include "confdefs.h" |
| 9286 /* Override any gcc2 internal prototype to avoid an error. */ | 9292 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9287 /* We use char because int might match the return type of a gcc2 | 9293 /* We use char because int might match the return type of a gcc2 |
| 9288 builtin and then its argument prototype would still apply. */ | 9294 builtin and then its argument prototype would still apply. */ |
| 9289 char tgetent(); | 9295 char tgetent(); |
| 9290 | 9296 |
| 9291 int main() { | 9297 int main() { |
| 9292 tgetent() | 9298 tgetent() |
| 9293 ; return 0; } | 9299 ; return 0; } |
| 9294 EOF | 9300 EOF |
| 9295 if { (eval echo configure:9296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9301 if { (eval echo configure:9302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9296 rm -rf conftest* | 9302 rm -rf conftest* |
| 9297 eval "ac_cv_lib_$ac_lib_var=yes" | 9303 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9298 else | 9304 else |
| 9299 echo "configure: failed program was:" >&5 | 9305 echo "configure: failed program was:" >&5 |
| 9300 cat conftest.$ac_ext >&5 | 9306 cat conftest.$ac_ext >&5 |
| 9308 echo "$ac_t""yes" 1>&6 | 9314 echo "$ac_t""yes" 1>&6 |
| 9309 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 9315 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
| 9310 else | 9316 else |
| 9311 echo "$ac_t""no" 1>&6 | 9317 echo "$ac_t""no" 1>&6 |
| 9312 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 9318 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
| 9313 echo "configure:9314: checking for tgetent in -ltermcap" >&5 | 9319 echo "configure:9320: checking for tgetent in -ltermcap" >&5 |
| 9314 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 9320 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
| 9315 | 9321 |
| 9316 xe_check_libs=" -ltermcap " | 9322 xe_check_libs=" -ltermcap " |
| 9317 cat > conftest.$ac_ext <<EOF | 9323 cat > conftest.$ac_ext <<EOF |
| 9318 #line 9319 "configure" | 9324 #line 9325 "configure" |
| 9319 #include "confdefs.h" | 9325 #include "confdefs.h" |
| 9320 /* Override any gcc2 internal prototype to avoid an error. */ | 9326 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9321 /* We use char because int might match the return type of a gcc2 | 9327 /* We use char because int might match the return type of a gcc2 |
| 9322 builtin and then its argument prototype would still apply. */ | 9328 builtin and then its argument prototype would still apply. */ |
| 9323 char tgetent(); | 9329 char tgetent(); |
| 9324 | 9330 |
| 9325 int main() { | 9331 int main() { |
| 9326 tgetent() | 9332 tgetent() |
| 9327 ; return 0; } | 9333 ; return 0; } |
| 9328 EOF | 9334 EOF |
| 9329 if { (eval echo configure:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9335 if { (eval echo configure:9336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9330 rm -rf conftest* | 9336 rm -rf conftest* |
| 9331 eval "ac_cv_lib_$ac_lib_var=yes" | 9337 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9332 else | 9338 else |
| 9333 echo "configure: failed program was:" >&5 | 9339 echo "configure: failed program was:" >&5 |
| 9334 cat conftest.$ac_ext >&5 | 9340 cat conftest.$ac_ext >&5 |
| 9372 } | 9378 } |
| 9373 | 9379 |
| 9374 | 9380 |
| 9375 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 9381 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
| 9376 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 9382 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
| 9377 echo "configure:9378: checking for gpm.h" >&5 | 9383 echo "configure:9384: checking for gpm.h" >&5 |
| 9378 | 9384 |
| 9379 cat > conftest.$ac_ext <<EOF | 9385 cat > conftest.$ac_ext <<EOF |
| 9380 #line 9381 "configure" | 9386 #line 9387 "configure" |
| 9381 #include "confdefs.h" | 9387 #include "confdefs.h" |
| 9382 #include <gpm.h> | 9388 #include <gpm.h> |
| 9383 EOF | 9389 EOF |
| 9384 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 9385 { (eval echo configure:9386: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9391 { (eval echo configure:9392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 9386 ac_err=`grep -v '^ *+' conftest.out` | 9392 ac_err=`grep -v '^ *+' conftest.out` |
| 9387 if test -z "$ac_err"; then | 9393 if test -z "$ac_err"; then |
| 9388 rm -rf conftest* | 9394 rm -rf conftest* |
| 9389 eval "ac_cv_header_$ac_safe=yes" | 9395 eval "ac_cv_header_$ac_safe=yes" |
| 9390 else | 9396 else |
| 9403 with_gpm=no | 9409 with_gpm=no |
| 9404 fi | 9410 fi |
| 9405 } | 9411 } |
| 9406 test -z "$with_gpm" && { | 9412 test -z "$with_gpm" && { |
| 9407 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 9413 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
| 9408 echo "configure:9409: checking for Gpm_Open in -lgpm" >&5 | 9414 echo "configure:9415: checking for Gpm_Open in -lgpm" >&5 |
| 9409 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 9415 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
| 9410 | 9416 |
| 9411 xe_check_libs=" -lgpm " | 9417 xe_check_libs=" -lgpm " |
| 9412 cat > conftest.$ac_ext <<EOF | 9418 cat > conftest.$ac_ext <<EOF |
| 9413 #line 9414 "configure" | 9419 #line 9420 "configure" |
| 9414 #include "confdefs.h" | 9420 #include "confdefs.h" |
| 9415 /* Override any gcc2 internal prototype to avoid an error. */ | 9421 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9416 /* We use char because int might match the return type of a gcc2 | 9422 /* We use char because int might match the return type of a gcc2 |
| 9417 builtin and then its argument prototype would still apply. */ | 9423 builtin and then its argument prototype would still apply. */ |
| 9418 char Gpm_Open(); | 9424 char Gpm_Open(); |
| 9419 | 9425 |
| 9420 int main() { | 9426 int main() { |
| 9421 Gpm_Open() | 9427 Gpm_Open() |
| 9422 ; return 0; } | 9428 ; return 0; } |
| 9423 EOF | 9429 EOF |
| 9424 if { (eval echo configure:9425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9430 if { (eval echo configure:9431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9425 rm -rf conftest* | 9431 rm -rf conftest* |
| 9426 eval "ac_cv_lib_$ac_lib_var=yes" | 9432 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9427 else | 9433 else |
| 9428 echo "configure: failed program was:" >&5 | 9434 echo "configure: failed program was:" >&5 |
| 9429 cat conftest.$ac_ext >&5 | 9435 cat conftest.$ac_ext >&5 |
| 9468 echo " xemacs will be linked with \"event-unixoid.o\"" | 9474 echo " xemacs will be linked with \"event-unixoid.o\"" |
| 9469 fi | 9475 fi |
| 9470 | 9476 |
| 9471 | 9477 |
| 9472 echo "checking for database support" 1>&6 | 9478 echo "checking for database support" 1>&6 |
| 9473 echo "configure:9474: checking for database support" >&5 | 9479 echo "configure:9480: checking for database support" >&5 |
| 9474 | 9480 |
| 9475 if test "$with_database_gnudbm" != "no"; then | 9481 if test "$with_database_gnudbm" != "no"; then |
| 9476 | 9482 |
| 9477 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 9483 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
| 9478 echo "configure:9479: checking for dbm_open in -lgdbm" >&5 | 9484 echo "configure:9485: checking for dbm_open in -lgdbm" >&5 |
| 9479 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9485 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9480 | 9486 |
| 9481 xe_check_libs=" -lgdbm " | 9487 xe_check_libs=" -lgdbm " |
| 9482 cat > conftest.$ac_ext <<EOF | 9488 cat > conftest.$ac_ext <<EOF |
| 9483 #line 9484 "configure" | 9489 #line 9490 "configure" |
| 9484 #include "confdefs.h" | 9490 #include "confdefs.h" |
| 9485 /* Override any gcc2 internal prototype to avoid an error. */ | 9491 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9486 /* We use char because int might match the return type of a gcc2 | 9492 /* We use char because int might match the return type of a gcc2 |
| 9487 builtin and then its argument prototype would still apply. */ | 9493 builtin and then its argument prototype would still apply. */ |
| 9488 char dbm_open(); | 9494 char dbm_open(); |
| 9489 | 9495 |
| 9490 int main() { | 9496 int main() { |
| 9491 dbm_open() | 9497 dbm_open() |
| 9492 ; return 0; } | 9498 ; return 0; } |
| 9493 EOF | 9499 EOF |
| 9494 if { (eval echo configure:9495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9500 if { (eval echo configure:9501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9495 rm -rf conftest* | 9501 rm -rf conftest* |
| 9496 eval "ac_cv_lib_$ac_lib_var=yes" | 9502 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9497 else | 9503 else |
| 9498 echo "configure: failed program was:" >&5 | 9504 echo "configure: failed program was:" >&5 |
| 9499 cat conftest.$ac_ext >&5 | 9505 cat conftest.$ac_ext >&5 |
| 9511 fi | 9517 fi |
| 9512 | 9518 |
| 9513 | 9519 |
| 9514 if test "$with_database_gnudbm" != "yes"; then | 9520 if test "$with_database_gnudbm" != "yes"; then |
| 9515 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9521 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9516 echo "configure:9517: checking for dbm_open" >&5 | 9522 echo "configure:9523: checking for dbm_open" >&5 |
| 9517 | 9523 |
| 9518 cat > conftest.$ac_ext <<EOF | 9524 cat > conftest.$ac_ext <<EOF |
| 9519 #line 9520 "configure" | 9525 #line 9526 "configure" |
| 9520 #include "confdefs.h" | 9526 #include "confdefs.h" |
| 9521 /* System header to define __stub macros and hopefully few prototypes, | 9527 /* System header to define __stub macros and hopefully few prototypes, |
| 9522 which can conflict with char dbm_open(); below. */ | 9528 which can conflict with char dbm_open(); below. */ |
| 9523 #include <assert.h> | 9529 #include <assert.h> |
| 9524 /* Override any gcc2 internal prototype to avoid an error. */ | 9530 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9537 dbm_open(); | 9543 dbm_open(); |
| 9538 #endif | 9544 #endif |
| 9539 | 9545 |
| 9540 ; return 0; } | 9546 ; return 0; } |
| 9541 EOF | 9547 EOF |
| 9542 if { (eval echo configure:9543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9548 if { (eval echo configure:9549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9543 rm -rf conftest* | 9549 rm -rf conftest* |
| 9544 eval "ac_cv_func_dbm_open=yes" | 9550 eval "ac_cv_func_dbm_open=yes" |
| 9545 else | 9551 else |
| 9546 echo "configure: failed program was:" >&5 | 9552 echo "configure: failed program was:" >&5 |
| 9547 cat conftest.$ac_ext >&5 | 9553 cat conftest.$ac_ext >&5 |
| 9573 fi | 9579 fi |
| 9574 fi | 9580 fi |
| 9575 | 9581 |
| 9576 if test "$with_database_dbm" != "no"; then | 9582 if test "$with_database_dbm" != "no"; then |
| 9577 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 9583 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
| 9578 echo "configure:9579: checking for dbm_open" >&5 | 9584 echo "configure:9585: checking for dbm_open" >&5 |
| 9579 | 9585 |
| 9580 cat > conftest.$ac_ext <<EOF | 9586 cat > conftest.$ac_ext <<EOF |
| 9581 #line 9582 "configure" | 9587 #line 9588 "configure" |
| 9582 #include "confdefs.h" | 9588 #include "confdefs.h" |
| 9583 /* System header to define __stub macros and hopefully few prototypes, | 9589 /* System header to define __stub macros and hopefully few prototypes, |
| 9584 which can conflict with char dbm_open(); below. */ | 9590 which can conflict with char dbm_open(); below. */ |
| 9585 #include <assert.h> | 9591 #include <assert.h> |
| 9586 /* Override any gcc2 internal prototype to avoid an error. */ | 9592 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9599 dbm_open(); | 9605 dbm_open(); |
| 9600 #endif | 9606 #endif |
| 9601 | 9607 |
| 9602 ; return 0; } | 9608 ; return 0; } |
| 9603 EOF | 9609 EOF |
| 9604 if { (eval echo configure:9605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9610 if { (eval echo configure:9611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9605 rm -rf conftest* | 9611 rm -rf conftest* |
| 9606 eval "ac_cv_func_dbm_open=yes" | 9612 eval "ac_cv_func_dbm_open=yes" |
| 9607 else | 9613 else |
| 9608 echo "configure: failed program was:" >&5 | 9614 echo "configure: failed program was:" >&5 |
| 9609 cat conftest.$ac_ext >&5 | 9615 cat conftest.$ac_ext >&5 |
| 9620 fi | 9626 fi |
| 9621 | 9627 |
| 9622 if test "$need_libdbm" != "no"; then | 9628 if test "$need_libdbm" != "no"; then |
| 9623 | 9629 |
| 9624 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 9630 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
| 9625 echo "configure:9626: checking for dbm_open in -ldbm" >&5 | 9631 echo "configure:9632: checking for dbm_open in -ldbm" >&5 |
| 9626 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 9632 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
| 9627 | 9633 |
| 9628 xe_check_libs=" -ldbm " | 9634 xe_check_libs=" -ldbm " |
| 9629 cat > conftest.$ac_ext <<EOF | 9635 cat > conftest.$ac_ext <<EOF |
| 9630 #line 9631 "configure" | 9636 #line 9637 "configure" |
| 9631 #include "confdefs.h" | 9637 #include "confdefs.h" |
| 9632 /* Override any gcc2 internal prototype to avoid an error. */ | 9638 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9633 /* We use char because int might match the return type of a gcc2 | 9639 /* We use char because int might match the return type of a gcc2 |
| 9634 builtin and then its argument prototype would still apply. */ | 9640 builtin and then its argument prototype would still apply. */ |
| 9635 char dbm_open(); | 9641 char dbm_open(); |
| 9636 | 9642 |
| 9637 int main() { | 9643 int main() { |
| 9638 dbm_open() | 9644 dbm_open() |
| 9639 ; return 0; } | 9645 ; return 0; } |
| 9640 EOF | 9646 EOF |
| 9641 if { (eval echo configure:9642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9647 if { (eval echo configure:9648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9642 rm -rf conftest* | 9648 rm -rf conftest* |
| 9643 eval "ac_cv_lib_$ac_lib_var=yes" | 9649 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9644 else | 9650 else |
| 9645 echo "configure: failed program was:" >&5 | 9651 echo "configure: failed program was:" >&5 |
| 9646 cat conftest.$ac_ext >&5 | 9652 cat conftest.$ac_ext >&5 |
| 9673 fi | 9679 fi |
| 9674 fi | 9680 fi |
| 9675 | 9681 |
| 9676 if test "$with_database_berkdb" != "no"; then | 9682 if test "$with_database_berkdb" != "no"; then |
| 9677 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 | 9683 echo $ac_n "checking for dbopen""... $ac_c" 1>&6 |
| 9678 echo "configure:9679: checking for dbopen" >&5 | 9684 echo "configure:9685: checking for dbopen" >&5 |
| 9679 | 9685 |
| 9680 cat > conftest.$ac_ext <<EOF | 9686 cat > conftest.$ac_ext <<EOF |
| 9681 #line 9682 "configure" | 9687 #line 9688 "configure" |
| 9682 #include "confdefs.h" | 9688 #include "confdefs.h" |
| 9683 /* System header to define __stub macros and hopefully few prototypes, | 9689 /* System header to define __stub macros and hopefully few prototypes, |
| 9684 which can conflict with char dbopen(); below. */ | 9690 which can conflict with char dbopen(); below. */ |
| 9685 #include <assert.h> | 9691 #include <assert.h> |
| 9686 /* Override any gcc2 internal prototype to avoid an error. */ | 9692 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9699 dbopen(); | 9705 dbopen(); |
| 9700 #endif | 9706 #endif |
| 9701 | 9707 |
| 9702 ; return 0; } | 9708 ; return 0; } |
| 9703 EOF | 9709 EOF |
| 9704 if { (eval echo configure:9705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9710 if { (eval echo configure:9711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9705 rm -rf conftest* | 9711 rm -rf conftest* |
| 9706 eval "ac_cv_func_dbopen=yes" | 9712 eval "ac_cv_func_dbopen=yes" |
| 9707 else | 9713 else |
| 9708 echo "configure: failed program was:" >&5 | 9714 echo "configure: failed program was:" >&5 |
| 9709 cat conftest.$ac_ext >&5 | 9715 cat conftest.$ac_ext >&5 |
| 9720 fi | 9726 fi |
| 9721 | 9727 |
| 9722 if test "$need_libdb" != "no"; then | 9728 if test "$need_libdb" != "no"; then |
| 9723 | 9729 |
| 9724 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 | 9730 echo $ac_n "checking for dbopen in -ldb""... $ac_c" 1>&6 |
| 9725 echo "configure:9726: checking for dbopen in -ldb" >&5 | 9731 echo "configure:9732: checking for dbopen in -ldb" >&5 |
| 9726 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` | 9732 ac_lib_var=`echo db'_'dbopen | sed 'y%./+-%__p_%'` |
| 9727 | 9733 |
| 9728 xe_check_libs=" -ldb " | 9734 xe_check_libs=" -ldb " |
| 9729 cat > conftest.$ac_ext <<EOF | 9735 cat > conftest.$ac_ext <<EOF |
| 9730 #line 9731 "configure" | 9736 #line 9737 "configure" |
| 9731 #include "confdefs.h" | 9737 #include "confdefs.h" |
| 9732 /* Override any gcc2 internal prototype to avoid an error. */ | 9738 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9733 /* We use char because int might match the return type of a gcc2 | 9739 /* We use char because int might match the return type of a gcc2 |
| 9734 builtin and then its argument prototype would still apply. */ | 9740 builtin and then its argument prototype would still apply. */ |
| 9735 char dbopen(); | 9741 char dbopen(); |
| 9736 | 9742 |
| 9737 int main() { | 9743 int main() { |
| 9738 dbopen() | 9744 dbopen() |
| 9739 ; return 0; } | 9745 ; return 0; } |
| 9740 EOF | 9746 EOF |
| 9741 if { (eval echo configure:9742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9747 if { (eval echo configure:9748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9742 rm -rf conftest* | 9748 rm -rf conftest* |
| 9743 eval "ac_cv_lib_$ac_lib_var=yes" | 9749 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9744 else | 9750 else |
| 9745 echo "configure: failed program was:" >&5 | 9751 echo "configure: failed program was:" >&5 |
| 9746 cat conftest.$ac_ext >&5 | 9752 cat conftest.$ac_ext >&5 |
| 9760 | 9766 |
| 9761 fi | 9767 fi |
| 9762 if test "$with_database_berkdb" = "yes"; then | 9768 if test "$with_database_berkdb" = "yes"; then |
| 9763 for path in "db/db.h" "db.h"; do | 9769 for path in "db/db.h" "db.h"; do |
| 9764 cat > conftest.$ac_ext <<EOF | 9770 cat > conftest.$ac_ext <<EOF |
| 9765 #line 9766 "configure" | 9771 #line 9772 "configure" |
| 9766 #include "confdefs.h" | 9772 #include "confdefs.h" |
| 9767 #ifdef HAVE_INTTYPES_H | 9773 #ifdef HAVE_INTTYPES_H |
| 9768 #define __BIT_TYPES_DEFINED__ | 9774 #define __BIT_TYPES_DEFINED__ |
| 9769 #include <inttypes.h> | 9775 #include <inttypes.h> |
| 9770 typedef uint8_t u_int8_t; | 9776 typedef uint8_t u_int8_t; |
| 9778 | 9784 |
| 9779 int main() { | 9785 int main() { |
| 9780 | 9786 |
| 9781 ; return 0; } | 9787 ; return 0; } |
| 9782 EOF | 9788 EOF |
| 9783 if { (eval echo configure:9784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9789 if { (eval echo configure:9790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 9784 rm -rf conftest* | 9790 rm -rf conftest* |
| 9785 db_h_path="$path"; break | 9791 db_h_path="$path"; break |
| 9786 else | 9792 else |
| 9787 echo "configure: failed program was:" >&5 | 9793 echo "configure: failed program was:" >&5 |
| 9788 cat conftest.$ac_ext >&5 | 9794 cat conftest.$ac_ext >&5 |
| 9830 fi | 9836 fi |
| 9831 | 9837 |
| 9832 if test "$with_socks" = "yes"; then | 9838 if test "$with_socks" = "yes"; then |
| 9833 | 9839 |
| 9834 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 9840 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
| 9835 echo "configure:9836: checking for SOCKSinit in -lsocks" >&5 | 9841 echo "configure:9842: checking for SOCKSinit in -lsocks" >&5 |
| 9836 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 9842 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
| 9837 | 9843 |
| 9838 xe_check_libs=" -lsocks " | 9844 xe_check_libs=" -lsocks " |
| 9839 cat > conftest.$ac_ext <<EOF | 9845 cat > conftest.$ac_ext <<EOF |
| 9840 #line 9841 "configure" | 9846 #line 9847 "configure" |
| 9841 #include "confdefs.h" | 9847 #include "confdefs.h" |
| 9842 /* Override any gcc2 internal prototype to avoid an error. */ | 9848 /* Override any gcc2 internal prototype to avoid an error. */ |
| 9843 /* We use char because int might match the return type of a gcc2 | 9849 /* We use char because int might match the return type of a gcc2 |
| 9844 builtin and then its argument prototype would still apply. */ | 9850 builtin and then its argument prototype would still apply. */ |
| 9845 char SOCKSinit(); | 9851 char SOCKSinit(); |
| 9846 | 9852 |
| 9847 int main() { | 9853 int main() { |
| 9848 SOCKSinit() | 9854 SOCKSinit() |
| 9849 ; return 0; } | 9855 ; return 0; } |
| 9850 EOF | 9856 EOF |
| 9851 if { (eval echo configure:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9857 if { (eval echo configure:9858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
| 9852 rm -rf conftest* | 9858 rm -rf conftest* |
| 9853 eval "ac_cv_lib_$ac_lib_var=yes" | 9859 eval "ac_cv_lib_$ac_lib_var=yes" |
| 9854 else | 9860 else |
| 9855 echo "configure: failed program was:" >&5 | 9861 echo "configure: failed program was:" >&5 |
| 9856 cat conftest.$ac_ext >&5 | 9862 cat conftest.$ac_ext >&5 |
