Mercurial > hg > xemacs-beta
comparison configure @ 308:33bdb3d4b97f r21-0b52
Import from CVS: tag r21-0b52
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:42:44 +0200 |
parents | 9ea74add5d37 |
children | 851ff35f137f |
comparison
equal
deleted
inserted
replaced
307:42d630fd9bd8 | 308:33bdb3d4b97f |
---|---|
2504 if test "$add_runtime_path" = "yes"; then | 2504 if test "$add_runtime_path" = "yes"; then |
2505 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2505 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2506 echo "configure:2507: checking "for runtime libraries flag"" >&5 | 2506 echo "configure:2507: checking "for runtime libraries flag"" >&5 |
2507 case "$opsys" in | 2507 case "$opsys" in |
2508 sol2 ) dash_r="-R" ;; | 2508 sol2 ) dash_r="-R" ;; |
2509 decosf* | linux* ) dash_r="-rpath" ;; | 2509 decosf* | linux* ) dash_r="-rpath " ;; |
2510 *) | 2510 *) |
2511 dash_r="" | 2511 dash_r="" |
2512 for try_dash_r in "-R" "-R " "-rpath "; do | 2512 for try_dash_r in "-R" "-R " "-rpath "; do |
2513 xe_check_libs="${try_dash_r}/no/such/file-or-directory" | 2513 xe_check_libs="${try_dash_r}/no/such/file-or-directory" |
2514 | 2514 |
6588 } | 6588 } |
6589 | 6589 |
6590 fi | 6590 fi |
6591 fi | 6591 fi |
6592 | 6592 |
6593 if test "$with_gif" != "no"; then | |
6594 with_gif="yes" | |
6595 { test "$extra_verbose" = "yes" && cat << \EOF | |
6596 Defining HAVE_GIF | |
6597 EOF | |
6598 cat >> confdefs.h <<\EOF | |
6599 #define HAVE_GIF 1 | |
6600 EOF | |
6601 } | |
6602 | |
6603 extra_objs="$extra_objs dgif_lib.o gif_io.o" && if test "$extra_verbose" = "yes"; then | |
6604 echo " xemacs will be linked with \"dgif_lib.o gif_io.o\"" | |
6605 fi | |
6606 fi | |
6607 | |
6593 if test "$with_png $with_tiff" != "no no"; then | 6608 if test "$with_png $with_tiff" != "no no"; then |
6594 | 6609 |
6595 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6610 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6596 echo "configure:6597: checking for inflate in -lc" >&5 | 6611 echo "configure:6612: checking for inflate in -lc" >&5 |
6597 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6612 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6598 | 6613 |
6599 xe_check_libs=" -lc " | 6614 xe_check_libs=" -lc " |
6600 cat > conftest.$ac_ext <<EOF | 6615 cat > conftest.$ac_ext <<EOF |
6601 #line 6602 "configure" | 6616 #line 6617 "configure" |
6602 #include "confdefs.h" | 6617 #include "confdefs.h" |
6603 /* Override any gcc2 internal prototype to avoid an error. */ | 6618 /* Override any gcc2 internal prototype to avoid an error. */ |
6604 /* We use char because int might match the return type of a gcc2 | 6619 /* We use char because int might match the return type of a gcc2 |
6605 builtin and then its argument prototype would still apply. */ | 6620 builtin and then its argument prototype would still apply. */ |
6606 char inflate(); | 6621 char inflate(); |
6607 | 6622 |
6608 int main() { | 6623 int main() { |
6609 inflate() | 6624 inflate() |
6610 ; return 0; } | 6625 ; return 0; } |
6611 EOF | 6626 EOF |
6612 if { (eval echo configure:6613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6627 if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6613 rm -rf conftest* | 6628 rm -rf conftest* |
6614 eval "ac_cv_lib_$ac_lib_var=yes" | 6629 eval "ac_cv_lib_$ac_lib_var=yes" |
6615 else | 6630 else |
6616 echo "configure: failed program was:" >&5 | 6631 echo "configure: failed program was:" >&5 |
6617 cat conftest.$ac_ext >&5 | 6632 cat conftest.$ac_ext >&5 |
6626 : | 6641 : |
6627 else | 6642 else |
6628 echo "$ac_t""no" 1>&6 | 6643 echo "$ac_t""no" 1>&6 |
6629 | 6644 |
6630 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6645 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6631 echo "configure:6632: checking for inflate in -lz" >&5 | 6646 echo "configure:6647: checking for inflate in -lz" >&5 |
6632 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6647 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6633 | 6648 |
6634 xe_check_libs=" -lz " | 6649 xe_check_libs=" -lz " |
6635 cat > conftest.$ac_ext <<EOF | 6650 cat > conftest.$ac_ext <<EOF |
6636 #line 6637 "configure" | 6651 #line 6652 "configure" |
6637 #include "confdefs.h" | 6652 #include "confdefs.h" |
6638 /* Override any gcc2 internal prototype to avoid an error. */ | 6653 /* Override any gcc2 internal prototype to avoid an error. */ |
6639 /* We use char because int might match the return type of a gcc2 | 6654 /* We use char because int might match the return type of a gcc2 |
6640 builtin and then its argument prototype would still apply. */ | 6655 builtin and then its argument prototype would still apply. */ |
6641 char inflate(); | 6656 char inflate(); |
6642 | 6657 |
6643 int main() { | 6658 int main() { |
6644 inflate() | 6659 inflate() |
6645 ; return 0; } | 6660 ; return 0; } |
6646 EOF | 6661 EOF |
6647 if { (eval echo configure:6648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6662 if { (eval echo configure:6663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6648 rm -rf conftest* | 6663 rm -rf conftest* |
6649 eval "ac_cv_lib_$ac_lib_var=yes" | 6664 eval "ac_cv_lib_$ac_lib_var=yes" |
6650 else | 6665 else |
6651 echo "configure: failed program was:" >&5 | 6666 echo "configure: failed program was:" >&5 |
6652 cat conftest.$ac_ext >&5 | 6667 cat conftest.$ac_ext >&5 |
6661 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6676 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6662 else | 6677 else |
6663 echo "$ac_t""no" 1>&6 | 6678 echo "$ac_t""no" 1>&6 |
6664 | 6679 |
6665 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6680 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6666 echo "configure:6667: checking for inflate in -lgz" >&5 | 6681 echo "configure:6682: checking for inflate in -lgz" >&5 |
6667 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6682 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6668 | 6683 |
6669 xe_check_libs=" -lgz " | 6684 xe_check_libs=" -lgz " |
6670 cat > conftest.$ac_ext <<EOF | 6685 cat > conftest.$ac_ext <<EOF |
6671 #line 6672 "configure" | 6686 #line 6687 "configure" |
6672 #include "confdefs.h" | 6687 #include "confdefs.h" |
6673 /* Override any gcc2 internal prototype to avoid an error. */ | 6688 /* Override any gcc2 internal prototype to avoid an error. */ |
6674 /* We use char because int might match the return type of a gcc2 | 6689 /* We use char because int might match the return type of a gcc2 |
6675 builtin and then its argument prototype would still apply. */ | 6690 builtin and then its argument prototype would still apply. */ |
6676 char inflate(); | 6691 char inflate(); |
6677 | 6692 |
6678 int main() { | 6693 int main() { |
6679 inflate() | 6694 inflate() |
6680 ; return 0; } | 6695 ; return 0; } |
6681 EOF | 6696 EOF |
6682 if { (eval echo configure:6683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6697 if { (eval echo configure:6698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6683 rm -rf conftest* | 6698 rm -rf conftest* |
6684 eval "ac_cv_lib_$ac_lib_var=yes" | 6699 eval "ac_cv_lib_$ac_lib_var=yes" |
6685 else | 6700 else |
6686 echo "configure: failed program was:" >&5 | 6701 echo "configure: failed program was:" >&5 |
6687 cat conftest.$ac_ext >&5 | 6702 cat conftest.$ac_ext >&5 |
6705 fi | 6720 fi |
6706 | 6721 |
6707 | 6722 |
6708 fi | 6723 fi |
6709 | 6724 |
6710 echo $ac_n "checking for gifreader""... $ac_c" 1>&6 | 6725 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6711 echo "configure:6712: checking for gifreader" >&5 | 6726 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6712 test -z "$with_gif" && { ac_safe=`echo "gifrlib.h" | sed 'y%./+-%__p_%'` | 6727 echo "configure:6728: checking for jpeglib.h" >&5 |
6713 echo $ac_n "checking for gifrlib.h""... $ac_c" 1>&6 | 6728 |
6714 echo "configure:6715: checking for gifrlib.h" >&5 | 6729 cat > conftest.$ac_ext <<EOF |
6715 | 6730 #line 6731 "configure" |
6716 cat > conftest.$ac_ext <<EOF | 6731 #include "confdefs.h" |
6717 #line 6718 "configure" | 6732 #include <jpeglib.h> |
6718 #include "confdefs.h" | |
6719 #include <gifrlib.h> | |
6720 EOF | 6733 EOF |
6721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6722 { (eval echo configure:6723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6735 { (eval echo configure:6736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6723 ac_err=`grep -v '^ *+' conftest.out` | 6736 ac_err=`grep -v '^ *+' conftest.out` |
6724 if test -z "$ac_err"; then | 6737 if test -z "$ac_err"; then |
6725 rm -rf conftest* | 6738 rm -rf conftest* |
6726 eval "ac_cv_header_$ac_safe=yes" | 6739 eval "ac_cv_header_$ac_safe=yes" |
6727 else | 6740 else |
6735 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6748 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6736 echo "$ac_t""yes" 1>&6 | 6749 echo "$ac_t""yes" 1>&6 |
6737 : | 6750 : |
6738 else | 6751 else |
6739 echo "$ac_t""no" 1>&6 | 6752 echo "$ac_t""no" 1>&6 |
6740 with_gif=no | |
6741 fi | |
6742 } | |
6743 test -z "$with_gif" && { | |
6744 echo $ac_n "checking for GetGifError in -lgifreader""... $ac_c" 1>&6 | |
6745 echo "configure:6746: checking for GetGifError in -lgifreader" >&5 | |
6746 ac_lib_var=`echo gifreader'_'GetGifError | sed 'y%./+-%__p_%'` | |
6747 | |
6748 xe_check_libs=" -lgifreader " | |
6749 cat > conftest.$ac_ext <<EOF | |
6750 #line 6751 "configure" | |
6751 #include "confdefs.h" | |
6752 /* Override any gcc2 internal prototype to avoid an error. */ | |
6753 /* We use char because int might match the return type of a gcc2 | |
6754 builtin and then its argument prototype would still apply. */ | |
6755 char GetGifError(); | |
6756 | |
6757 int main() { | |
6758 GetGifError() | |
6759 ; return 0; } | |
6760 EOF | |
6761 if { (eval echo configure:6762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | |
6762 rm -rf conftest* | |
6763 eval "ac_cv_lib_$ac_lib_var=yes" | |
6764 else | |
6765 echo "configure: failed program was:" >&5 | |
6766 cat conftest.$ac_ext >&5 | |
6767 rm -rf conftest* | |
6768 eval "ac_cv_lib_$ac_lib_var=no" | |
6769 fi | |
6770 rm -f conftest* | |
6771 xe_check_libs="" | |
6772 | |
6773 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6774 echo "$ac_t""yes" 1>&6 | |
6775 : | |
6776 else | |
6777 echo "$ac_t""no" 1>&6 | |
6778 with_gif=no | |
6779 fi | |
6780 | |
6781 } | |
6782 test -z "$with_gif" && with_gif=yes | |
6783 if test "$with_gif" = "yes"; then | |
6784 { test "$extra_verbose" = "yes" && cat << \EOF | |
6785 Defining HAVE_GIF | |
6786 EOF | |
6787 cat >> confdefs.h <<\EOF | |
6788 #define HAVE_GIF 1 | |
6789 EOF | |
6790 } | |
6791 | |
6792 libs_x="-lgifreader $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgifreader\" to \$libs_x"; fi | |
6793 fi | |
6794 | |
6795 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | |
6796 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | |
6797 echo "configure:6798: checking for jpeglib.h" >&5 | |
6798 | |
6799 cat > conftest.$ac_ext <<EOF | |
6800 #line 6801 "configure" | |
6801 #include "confdefs.h" | |
6802 #include <jpeglib.h> | |
6803 EOF | |
6804 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
6805 { (eval echo configure:6806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
6806 ac_err=`grep -v '^ *+' conftest.out` | |
6807 if test -z "$ac_err"; then | |
6808 rm -rf conftest* | |
6809 eval "ac_cv_header_$ac_safe=yes" | |
6810 else | |
6811 echo "$ac_err" >&5 | |
6812 echo "configure: failed program was:" >&5 | |
6813 cat conftest.$ac_ext >&5 | |
6814 rm -rf conftest* | |
6815 eval "ac_cv_header_$ac_safe=no" | |
6816 fi | |
6817 rm -f conftest* | |
6818 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
6819 echo "$ac_t""yes" 1>&6 | |
6820 : | |
6821 else | |
6822 echo "$ac_t""no" 1>&6 | |
6823 with_jpeg=no | 6753 with_jpeg=no |
6824 fi | 6754 fi |
6825 } | 6755 } |
6826 test -z "$with_jpeg" && { | 6756 test -z "$with_jpeg" && { |
6827 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6757 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6828 echo "configure:6829: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6758 echo "configure:6759: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6829 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6759 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6830 | 6760 |
6831 xe_check_libs=" -ljpeg " | 6761 xe_check_libs=" -ljpeg " |
6832 cat > conftest.$ac_ext <<EOF | 6762 cat > conftest.$ac_ext <<EOF |
6833 #line 6834 "configure" | 6763 #line 6764 "configure" |
6834 #include "confdefs.h" | 6764 #include "confdefs.h" |
6835 /* Override any gcc2 internal prototype to avoid an error. */ | 6765 /* Override any gcc2 internal prototype to avoid an error. */ |
6836 /* We use char because int might match the return type of a gcc2 | 6766 /* We use char because int might match the return type of a gcc2 |
6837 builtin and then its argument prototype would still apply. */ | 6767 builtin and then its argument prototype would still apply. */ |
6838 char jpeg_destroy_decompress(); | 6768 char jpeg_destroy_decompress(); |
6839 | 6769 |
6840 int main() { | 6770 int main() { |
6841 jpeg_destroy_decompress() | 6771 jpeg_destroy_decompress() |
6842 ; return 0; } | 6772 ; return 0; } |
6843 EOF | 6773 EOF |
6844 if { (eval echo configure:6845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6774 if { (eval echo configure:6775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6845 rm -rf conftest* | 6775 rm -rf conftest* |
6846 eval "ac_cv_lib_$ac_lib_var=yes" | 6776 eval "ac_cv_lib_$ac_lib_var=yes" |
6847 else | 6777 else |
6848 echo "configure: failed program was:" >&5 | 6778 echo "configure: failed program was:" >&5 |
6849 cat conftest.$ac_ext >&5 | 6779 cat conftest.$ac_ext >&5 |
6874 | 6804 |
6875 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6805 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6876 fi | 6806 fi |
6877 | 6807 |
6878 if test -z "$with_png"; then | 6808 if test -z "$with_png"; then |
6879 echo $ac_n "checking for png.h - no older than 0.96""... $ac_c" 1>&6 | 6809 echo $ac_n "checking for png.h - no older than 1.02""... $ac_c" 1>&6 |
6880 echo "configure:6881: checking for png.h - no older than 0.96" >&5 | 6810 echo "configure:6811: checking for png.h - no older than 1.02" >&5 |
6881 cat > conftest.$ac_ext <<EOF | 6811 cat > conftest.$ac_ext <<EOF |
6882 #line 6883 "configure" | 6812 #line 6813 "configure" |
6883 #include "confdefs.h" | 6813 #include "confdefs.h" |
6884 #include <png.h> | 6814 #include <png.h> |
6885 #if PNG_LIBPNG_VER >= 96 | 6815 #if PNG_LIBPNG_VER >= 10002 |
6886 yes | 6816 yes |
6887 #endif | 6817 #endif |
6888 | 6818 |
6889 EOF | 6819 EOF |
6890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6897 fi | 6827 fi |
6898 rm -f conftest* | 6828 rm -f conftest* |
6899 | 6829 |
6900 fi | 6830 fi |
6901 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6831 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6902 echo "configure:6903: checking for pow" >&5 | 6832 echo "configure:6833: checking for pow" >&5 |
6903 | 6833 |
6904 cat > conftest.$ac_ext <<EOF | 6834 cat > conftest.$ac_ext <<EOF |
6905 #line 6906 "configure" | 6835 #line 6836 "configure" |
6906 #include "confdefs.h" | 6836 #include "confdefs.h" |
6907 /* System header to define __stub macros and hopefully few prototypes, | 6837 /* System header to define __stub macros and hopefully few prototypes, |
6908 which can conflict with char pow(); below. */ | 6838 which can conflict with char pow(); below. */ |
6909 #include <assert.h> | 6839 #include <assert.h> |
6910 /* Override any gcc2 internal prototype to avoid an error. */ | 6840 /* Override any gcc2 internal prototype to avoid an error. */ |
6923 pow(); | 6853 pow(); |
6924 #endif | 6854 #endif |
6925 | 6855 |
6926 ; return 0; } | 6856 ; return 0; } |
6927 EOF | 6857 EOF |
6928 if { (eval echo configure:6929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6858 if { (eval echo configure:6859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6929 rm -rf conftest* | 6859 rm -rf conftest* |
6930 eval "ac_cv_func_pow=yes" | 6860 eval "ac_cv_func_pow=yes" |
6931 else | 6861 else |
6932 echo "configure: failed program was:" >&5 | 6862 echo "configure: failed program was:" >&5 |
6933 cat conftest.$ac_ext >&5 | 6863 cat conftest.$ac_ext >&5 |
6944 with_png=no | 6874 with_png=no |
6945 fi | 6875 fi |
6946 } | 6876 } |
6947 test -z "$with_png" && { | 6877 test -z "$with_png" && { |
6948 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6878 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
6949 echo "configure:6950: checking for png_read_image in -lpng" >&5 | 6879 echo "configure:6880: checking for png_read_image in -lpng" >&5 |
6950 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6880 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6951 | 6881 |
6952 xe_check_libs=" -lpng " | 6882 xe_check_libs=" -lpng " |
6953 cat > conftest.$ac_ext <<EOF | 6883 cat > conftest.$ac_ext <<EOF |
6954 #line 6955 "configure" | 6884 #line 6885 "configure" |
6955 #include "confdefs.h" | 6885 #include "confdefs.h" |
6956 /* Override any gcc2 internal prototype to avoid an error. */ | 6886 /* Override any gcc2 internal prototype to avoid an error. */ |
6957 /* We use char because int might match the return type of a gcc2 | 6887 /* We use char because int might match the return type of a gcc2 |
6958 builtin and then its argument prototype would still apply. */ | 6888 builtin and then its argument prototype would still apply. */ |
6959 char png_read_image(); | 6889 char png_read_image(); |
6960 | 6890 |
6961 int main() { | 6891 int main() { |
6962 png_read_image() | 6892 png_read_image() |
6963 ; return 0; } | 6893 ; return 0; } |
6964 EOF | 6894 EOF |
6965 if { (eval echo configure:6966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6895 if { (eval echo configure:6896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6966 rm -rf conftest* | 6896 rm -rf conftest* |
6967 eval "ac_cv_lib_$ac_lib_var=yes" | 6897 eval "ac_cv_lib_$ac_lib_var=yes" |
6968 else | 6898 else |
6969 echo "configure: failed program was:" >&5 | 6899 echo "configure: failed program was:" >&5 |
6970 cat conftest.$ac_ext >&5 | 6900 cat conftest.$ac_ext >&5 |
6996 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6926 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
6997 fi | 6927 fi |
6998 | 6928 |
6999 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6929 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
7000 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6930 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
7001 echo "configure:7002: checking for tiffio.h" >&5 | 6931 echo "configure:6932: checking for tiffio.h" >&5 |
7002 | 6932 |
7003 cat > conftest.$ac_ext <<EOF | 6933 cat > conftest.$ac_ext <<EOF |
7004 #line 7005 "configure" | 6934 #line 6935 "configure" |
7005 #include "confdefs.h" | 6935 #include "confdefs.h" |
7006 #include <tiffio.h> | 6936 #include <tiffio.h> |
7007 EOF | 6937 EOF |
7008 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7009 { (eval echo configure:7010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6939 { (eval echo configure:6940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7010 ac_err=`grep -v '^ *+' conftest.out` | 6940 ac_err=`grep -v '^ *+' conftest.out` |
7011 if test -z "$ac_err"; then | 6941 if test -z "$ac_err"; then |
7012 rm -rf conftest* | 6942 rm -rf conftest* |
7013 eval "ac_cv_header_$ac_safe=yes" | 6943 eval "ac_cv_header_$ac_safe=yes" |
7014 else | 6944 else |
7027 with_tiff=no | 6957 with_tiff=no |
7028 fi | 6958 fi |
7029 } | 6959 } |
7030 test -z "$with_tiff" && { | 6960 test -z "$with_tiff" && { |
7031 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 6961 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7032 echo "configure:7033: checking for TIFFClientOpen in -ltiff" >&5 | 6962 echo "configure:6963: checking for TIFFClientOpen in -ltiff" >&5 |
7033 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 6963 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7034 | 6964 |
7035 xe_check_libs=" -ltiff " | 6965 xe_check_libs=" -ltiff " |
7036 cat > conftest.$ac_ext <<EOF | 6966 cat > conftest.$ac_ext <<EOF |
7037 #line 7038 "configure" | 6967 #line 6968 "configure" |
7038 #include "confdefs.h" | 6968 #include "confdefs.h" |
7039 /* Override any gcc2 internal prototype to avoid an error. */ | 6969 /* Override any gcc2 internal prototype to avoid an error. */ |
7040 /* We use char because int might match the return type of a gcc2 | 6970 /* We use char because int might match the return type of a gcc2 |
7041 builtin and then its argument prototype would still apply. */ | 6971 builtin and then its argument prototype would still apply. */ |
7042 char TIFFClientOpen(); | 6972 char TIFFClientOpen(); |
7043 | 6973 |
7044 int main() { | 6974 int main() { |
7045 TIFFClientOpen() | 6975 TIFFClientOpen() |
7046 ; return 0; } | 6976 ; return 0; } |
7047 EOF | 6977 EOF |
7048 if { (eval echo configure:7049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6978 if { (eval echo configure:6979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7049 rm -rf conftest* | 6979 rm -rf conftest* |
7050 eval "ac_cv_lib_$ac_lib_var=yes" | 6980 eval "ac_cv_lib_$ac_lib_var=yes" |
7051 else | 6981 else |
7052 echo "configure: failed program was:" >&5 | 6982 echo "configure: failed program was:" >&5 |
7053 cat conftest.$ac_ext >&5 | 6983 cat conftest.$ac_ext >&5 |
7082 | 7012 |
7083 | 7013 |
7084 if test "$with_x11" = "yes"; then | 7014 if test "$with_x11" = "yes"; then |
7085 | 7015 |
7086 echo "checking for X11 graphics libraries" 1>&6 | 7016 echo "checking for X11 graphics libraries" 1>&6 |
7087 echo "configure:7088: checking for X11 graphics libraries" >&5 | 7017 echo "configure:7018: checking for X11 graphics libraries" >&5 |
7088 | 7018 |
7089 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7019 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7090 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7020 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7091 echo "configure:7092: checking for compface.h" >&5 | 7021 echo "configure:7022: checking for compface.h" >&5 |
7092 | 7022 |
7093 cat > conftest.$ac_ext <<EOF | 7023 cat > conftest.$ac_ext <<EOF |
7094 #line 7095 "configure" | 7024 #line 7025 "configure" |
7095 #include "confdefs.h" | 7025 #include "confdefs.h" |
7096 #include <compface.h> | 7026 #include <compface.h> |
7097 EOF | 7027 EOF |
7098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7099 { (eval echo configure:7100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7029 { (eval echo configure:7030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7100 ac_err=`grep -v '^ *+' conftest.out` | 7030 ac_err=`grep -v '^ *+' conftest.out` |
7101 if test -z "$ac_err"; then | 7031 if test -z "$ac_err"; then |
7102 rm -rf conftest* | 7032 rm -rf conftest* |
7103 eval "ac_cv_header_$ac_safe=yes" | 7033 eval "ac_cv_header_$ac_safe=yes" |
7104 else | 7034 else |
7117 with_xface=no | 7047 with_xface=no |
7118 fi | 7048 fi |
7119 } | 7049 } |
7120 test -z "$with_xface" && { | 7050 test -z "$with_xface" && { |
7121 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7051 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7122 echo "configure:7123: checking for UnGenFace in -lcompface" >&5 | 7052 echo "configure:7053: checking for UnGenFace in -lcompface" >&5 |
7123 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7053 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7124 | 7054 |
7125 xe_check_libs=" -lcompface " | 7055 xe_check_libs=" -lcompface " |
7126 cat > conftest.$ac_ext <<EOF | 7056 cat > conftest.$ac_ext <<EOF |
7127 #line 7128 "configure" | 7057 #line 7058 "configure" |
7128 #include "confdefs.h" | 7058 #include "confdefs.h" |
7129 /* Override any gcc2 internal prototype to avoid an error. */ | 7059 /* Override any gcc2 internal prototype to avoid an error. */ |
7130 /* We use char because int might match the return type of a gcc2 | 7060 /* We use char because int might match the return type of a gcc2 |
7131 builtin and then its argument prototype would still apply. */ | 7061 builtin and then its argument prototype would still apply. */ |
7132 char UnGenFace(); | 7062 char UnGenFace(); |
7133 | 7063 |
7134 int main() { | 7064 int main() { |
7135 UnGenFace() | 7065 UnGenFace() |
7136 ; return 0; } | 7066 ; return 0; } |
7137 EOF | 7067 EOF |
7138 if { (eval echo configure:7139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7068 if { (eval echo configure:7069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7139 rm -rf conftest* | 7069 rm -rf conftest* |
7140 eval "ac_cv_lib_$ac_lib_var=yes" | 7070 eval "ac_cv_lib_$ac_lib_var=yes" |
7141 else | 7071 else |
7142 echo "configure: failed program was:" >&5 | 7072 echo "configure: failed program was:" >&5 |
7143 cat conftest.$ac_ext >&5 | 7073 cat conftest.$ac_ext >&5 |
7169 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7099 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
7170 fi | 7100 fi |
7171 | 7101 |
7172 | 7102 |
7173 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7103 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7174 echo "configure:7175: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7104 echo "configure:7105: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7175 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7105 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7176 | 7106 |
7177 xe_check_libs=" -lXaw " | 7107 xe_check_libs=" -lXaw " |
7178 cat > conftest.$ac_ext <<EOF | 7108 cat > conftest.$ac_ext <<EOF |
7179 #line 7180 "configure" | 7109 #line 7110 "configure" |
7180 #include "confdefs.h" | 7110 #include "confdefs.h" |
7181 /* Override any gcc2 internal prototype to avoid an error. */ | 7111 /* Override any gcc2 internal prototype to avoid an error. */ |
7182 /* We use char because int might match the return type of a gcc2 | 7112 /* We use char because int might match the return type of a gcc2 |
7183 builtin and then its argument prototype would still apply. */ | 7113 builtin and then its argument prototype would still apply. */ |
7184 char XawScrollbarSetThumb(); | 7114 char XawScrollbarSetThumb(); |
7185 | 7115 |
7186 int main() { | 7116 int main() { |
7187 XawScrollbarSetThumb() | 7117 XawScrollbarSetThumb() |
7188 ; return 0; } | 7118 ; return 0; } |
7189 EOF | 7119 EOF |
7190 if { (eval echo configure:7191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7120 if { (eval echo configure:7121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7191 rm -rf conftest* | 7121 rm -rf conftest* |
7192 eval "ac_cv_lib_$ac_lib_var=yes" | 7122 eval "ac_cv_lib_$ac_lib_var=yes" |
7193 else | 7123 else |
7194 echo "configure: failed program was:" >&5 | 7124 echo "configure: failed program was:" >&5 |
7195 cat conftest.$ac_ext >&5 | 7125 cat conftest.$ac_ext >&5 |
7209 | 7139 |
7210 | 7140 |
7211 | 7141 |
7212 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7142 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7213 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7143 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7214 echo "configure:7215: checking for Xm/Xm.h" >&5 | 7144 echo "configure:7145: checking for Xm/Xm.h" >&5 |
7215 | 7145 |
7216 cat > conftest.$ac_ext <<EOF | 7146 cat > conftest.$ac_ext <<EOF |
7217 #line 7218 "configure" | 7147 #line 7148 "configure" |
7218 #include "confdefs.h" | 7148 #include "confdefs.h" |
7219 #include <Xm/Xm.h> | 7149 #include <Xm/Xm.h> |
7220 EOF | 7150 EOF |
7221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7222 { (eval echo configure:7223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7152 { (eval echo configure:7153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7223 ac_err=`grep -v '^ *+' conftest.out` | 7153 ac_err=`grep -v '^ *+' conftest.out` |
7224 if test -z "$ac_err"; then | 7154 if test -z "$ac_err"; then |
7225 rm -rf conftest* | 7155 rm -rf conftest* |
7226 eval "ac_cv_header_$ac_safe=yes" | 7156 eval "ac_cv_header_$ac_safe=yes" |
7227 else | 7157 else |
7234 rm -f conftest* | 7164 rm -f conftest* |
7235 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7165 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7236 echo "$ac_t""yes" 1>&6 | 7166 echo "$ac_t""yes" 1>&6 |
7237 | 7167 |
7238 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7168 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7239 echo "configure:7240: checking for XmStringFree in -lXm" >&5 | 7169 echo "configure:7170: checking for XmStringFree in -lXm" >&5 |
7240 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7170 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7241 | 7171 |
7242 xe_check_libs=" -lXm " | 7172 xe_check_libs=" -lXm " |
7243 cat > conftest.$ac_ext <<EOF | 7173 cat > conftest.$ac_ext <<EOF |
7244 #line 7245 "configure" | 7174 #line 7175 "configure" |
7245 #include "confdefs.h" | 7175 #include "confdefs.h" |
7246 /* Override any gcc2 internal prototype to avoid an error. */ | 7176 /* Override any gcc2 internal prototype to avoid an error. */ |
7247 /* We use char because int might match the return type of a gcc2 | 7177 /* We use char because int might match the return type of a gcc2 |
7248 builtin and then its argument prototype would still apply. */ | 7178 builtin and then its argument prototype would still apply. */ |
7249 char XmStringFree(); | 7179 char XmStringFree(); |
7250 | 7180 |
7251 int main() { | 7181 int main() { |
7252 XmStringFree() | 7182 XmStringFree() |
7253 ; return 0; } | 7183 ; return 0; } |
7254 EOF | 7184 EOF |
7255 if { (eval echo configure:7256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7185 if { (eval echo configure:7186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7256 rm -rf conftest* | 7186 rm -rf conftest* |
7257 eval "ac_cv_lib_$ac_lib_var=yes" | 7187 eval "ac_cv_lib_$ac_lib_var=yes" |
7258 else | 7188 else |
7259 echo "configure: failed program was:" >&5 | 7189 echo "configure: failed program was:" >&5 |
7260 cat conftest.$ac_ext >&5 | 7190 cat conftest.$ac_ext >&5 |
7279 fi | 7209 fi |
7280 | 7210 |
7281 | 7211 |
7282 if test "$have_motif" = "yes"; then | 7212 if test "$have_motif" = "yes"; then |
7283 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7213 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7284 echo "configure:7285: checking for Lesstif" >&5 | 7214 echo "configure:7215: checking for Lesstif" >&5 |
7285 cat > conftest.$ac_ext <<EOF | 7215 cat > conftest.$ac_ext <<EOF |
7286 #line 7287 "configure" | 7216 #line 7217 "configure" |
7287 #include "confdefs.h" | 7217 #include "confdefs.h" |
7288 #include <Xm/Xm.h> | 7218 #include <Xm/Xm.h> |
7289 #ifdef LESSTIF_VERSION | 7219 #ifdef LESSTIF_VERSION |
7290 yes | 7220 yes |
7291 #endif | 7221 #endif |
7565 fi | 7495 fi |
7566 fi | 7496 fi |
7567 | 7497 |
7568 if test "$with_mule" = "yes" ; then | 7498 if test "$with_mule" = "yes" ; then |
7569 echo "checking for Mule-related features" 1>&6 | 7499 echo "checking for Mule-related features" 1>&6 |
7570 echo "configure:7571: checking for Mule-related features" >&5 | 7500 echo "configure:7501: checking for Mule-related features" >&5 |
7571 { test "$extra_verbose" = "yes" && cat << \EOF | 7501 { test "$extra_verbose" = "yes" && cat << \EOF |
7572 Defining MULE | 7502 Defining MULE |
7573 EOF | 7503 EOF |
7574 cat >> confdefs.h <<\EOF | 7504 cat >> confdefs.h <<\EOF |
7575 #define MULE 1 | 7505 #define MULE 1 |
7590 | 7520 |
7591 for ac_hdr in libintl.h | 7521 for ac_hdr in libintl.h |
7592 do | 7522 do |
7593 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7523 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7524 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7595 echo "configure:7596: checking for $ac_hdr" >&5 | 7525 echo "configure:7526: checking for $ac_hdr" >&5 |
7596 | 7526 |
7597 cat > conftest.$ac_ext <<EOF | 7527 cat > conftest.$ac_ext <<EOF |
7598 #line 7599 "configure" | 7528 #line 7529 "configure" |
7599 #include "confdefs.h" | 7529 #include "confdefs.h" |
7600 #include <$ac_hdr> | 7530 #include <$ac_hdr> |
7601 EOF | 7531 EOF |
7602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7603 { (eval echo configure:7604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7533 { (eval echo configure:7534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7604 ac_err=`grep -v '^ *+' conftest.out` | 7534 ac_err=`grep -v '^ *+' conftest.out` |
7605 if test -z "$ac_err"; then | 7535 if test -z "$ac_err"; then |
7606 rm -rf conftest* | 7536 rm -rf conftest* |
7607 eval "ac_cv_header_$ac_safe=yes" | 7537 eval "ac_cv_header_$ac_safe=yes" |
7608 else | 7538 else |
7629 fi | 7559 fi |
7630 done | 7560 done |
7631 | 7561 |
7632 | 7562 |
7633 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7563 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7634 echo "configure:7635: checking for strerror in -lintl" >&5 | 7564 echo "configure:7565: checking for strerror in -lintl" >&5 |
7635 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7565 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7636 | 7566 |
7637 xe_check_libs=" -lintl " | 7567 xe_check_libs=" -lintl " |
7638 cat > conftest.$ac_ext <<EOF | 7568 cat > conftest.$ac_ext <<EOF |
7639 #line 7640 "configure" | 7569 #line 7570 "configure" |
7640 #include "confdefs.h" | 7570 #include "confdefs.h" |
7641 /* Override any gcc2 internal prototype to avoid an error. */ | 7571 /* Override any gcc2 internal prototype to avoid an error. */ |
7642 /* We use char because int might match the return type of a gcc2 | 7572 /* We use char because int might match the return type of a gcc2 |
7643 builtin and then its argument prototype would still apply. */ | 7573 builtin and then its argument prototype would still apply. */ |
7644 char strerror(); | 7574 char strerror(); |
7645 | 7575 |
7646 int main() { | 7576 int main() { |
7647 strerror() | 7577 strerror() |
7648 ; return 0; } | 7578 ; return 0; } |
7649 EOF | 7579 EOF |
7650 if { (eval echo configure:7651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7580 if { (eval echo configure:7581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7651 rm -rf conftest* | 7581 rm -rf conftest* |
7652 eval "ac_cv_lib_$ac_lib_var=yes" | 7582 eval "ac_cv_lib_$ac_lib_var=yes" |
7653 else | 7583 else |
7654 echo "configure: failed program was:" >&5 | 7584 echo "configure: failed program was:" >&5 |
7655 cat conftest.$ac_ext >&5 | 7585 cat conftest.$ac_ext >&5 |
7678 fi | 7608 fi |
7679 | 7609 |
7680 | 7610 |
7681 | 7611 |
7682 echo "checking for Mule input methods" 1>&6 | 7612 echo "checking for Mule input methods" 1>&6 |
7683 echo "configure:7684: checking for Mule input methods" >&5 | 7613 echo "configure:7614: checking for Mule input methods" >&5 |
7684 case "$with_xim" in "" | "yes" ) | 7614 case "$with_xim" in "" | "yes" ) |
7685 echo "checking for XIM" 1>&6 | 7615 echo "checking for XIM" 1>&6 |
7686 echo "configure:7687: checking for XIM" >&5 | 7616 echo "configure:7617: checking for XIM" >&5 |
7687 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7617 if test "$have_lesstif" = "yes"; then with_xim=xlib |
7688 else | 7618 else |
7689 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7619 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7690 echo "configure:7691: checking for XmImMbLookupString in -lXm" >&5 | 7620 echo "configure:7621: checking for XmImMbLookupString in -lXm" >&5 |
7691 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7621 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7692 | 7622 |
7693 xe_check_libs=" -lXm " | 7623 xe_check_libs=" -lXm " |
7694 cat > conftest.$ac_ext <<EOF | 7624 cat > conftest.$ac_ext <<EOF |
7695 #line 7696 "configure" | 7625 #line 7626 "configure" |
7696 #include "confdefs.h" | 7626 #include "confdefs.h" |
7697 /* Override any gcc2 internal prototype to avoid an error. */ | 7627 /* Override any gcc2 internal prototype to avoid an error. */ |
7698 /* We use char because int might match the return type of a gcc2 | 7628 /* We use char because int might match the return type of a gcc2 |
7699 builtin and then its argument prototype would still apply. */ | 7629 builtin and then its argument prototype would still apply. */ |
7700 char XmImMbLookupString(); | 7630 char XmImMbLookupString(); |
7701 | 7631 |
7702 int main() { | 7632 int main() { |
7703 XmImMbLookupString() | 7633 XmImMbLookupString() |
7704 ; return 0; } | 7634 ; return 0; } |
7705 EOF | 7635 EOF |
7706 if { (eval echo configure:7707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7636 if { (eval echo configure:7637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7707 rm -rf conftest* | 7637 rm -rf conftest* |
7708 eval "ac_cv_lib_$ac_lib_var=yes" | 7638 eval "ac_cv_lib_$ac_lib_var=yes" |
7709 else | 7639 else |
7710 echo "configure: failed program was:" >&5 | 7640 echo "configure: failed program was:" >&5 |
7711 cat conftest.$ac_ext >&5 | 7641 cat conftest.$ac_ext >&5 |
7767 fi | 7697 fi |
7768 fi | 7698 fi |
7769 | 7699 |
7770 if test "$with_xfs" = "yes" ; then | 7700 if test "$with_xfs" = "yes" ; then |
7771 echo "checking for XFontSet" 1>&6 | 7701 echo "checking for XFontSet" 1>&6 |
7772 echo "configure:7773: checking for XFontSet" >&5 | 7702 echo "configure:7703: checking for XFontSet" >&5 |
7773 | 7703 |
7774 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7704 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7775 echo "configure:7776: checking for XmbDrawString in -lX11" >&5 | 7705 echo "configure:7706: checking for XmbDrawString in -lX11" >&5 |
7776 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7706 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7777 | 7707 |
7778 xe_check_libs=" -lX11 " | 7708 xe_check_libs=" -lX11 " |
7779 cat > conftest.$ac_ext <<EOF | 7709 cat > conftest.$ac_ext <<EOF |
7780 #line 7781 "configure" | 7710 #line 7711 "configure" |
7781 #include "confdefs.h" | 7711 #include "confdefs.h" |
7782 /* Override any gcc2 internal prototype to avoid an error. */ | 7712 /* Override any gcc2 internal prototype to avoid an error. */ |
7783 /* We use char because int might match the return type of a gcc2 | 7713 /* We use char because int might match the return type of a gcc2 |
7784 builtin and then its argument prototype would still apply. */ | 7714 builtin and then its argument prototype would still apply. */ |
7785 char XmbDrawString(); | 7715 char XmbDrawString(); |
7786 | 7716 |
7787 int main() { | 7717 int main() { |
7788 XmbDrawString() | 7718 XmbDrawString() |
7789 ; return 0; } | 7719 ; return 0; } |
7790 EOF | 7720 EOF |
7791 if { (eval echo configure:7792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7721 if { (eval echo configure:7722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7792 rm -rf conftest* | 7722 rm -rf conftest* |
7793 eval "ac_cv_lib_$ac_lib_var=yes" | 7723 eval "ac_cv_lib_$ac_lib_var=yes" |
7794 else | 7724 else |
7795 echo "configure: failed program was:" >&5 | 7725 echo "configure: failed program was:" >&5 |
7796 cat conftest.$ac_ext >&5 | 7726 cat conftest.$ac_ext >&5 |
7826 fi | 7756 fi |
7827 fi | 7757 fi |
7828 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7758 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7829 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7759 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7830 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7760 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7831 echo "configure:7832: checking for wnn/jllib.h" >&5 | 7761 echo "configure:7762: checking for wnn/jllib.h" >&5 |
7832 | 7762 |
7833 cat > conftest.$ac_ext <<EOF | 7763 cat > conftest.$ac_ext <<EOF |
7834 #line 7835 "configure" | 7764 #line 7765 "configure" |
7835 #include "confdefs.h" | 7765 #include "confdefs.h" |
7836 #include <wnn/jllib.h> | 7766 #include <wnn/jllib.h> |
7837 EOF | 7767 EOF |
7838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7839 { (eval echo configure:7840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7769 { (eval echo configure:7770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7840 ac_err=`grep -v '^ *+' conftest.out` | 7770 ac_err=`grep -v '^ *+' conftest.out` |
7841 if test -z "$ac_err"; then | 7771 if test -z "$ac_err"; then |
7842 rm -rf conftest* | 7772 rm -rf conftest* |
7843 eval "ac_cv_header_$ac_safe=yes" | 7773 eval "ac_cv_header_$ac_safe=yes" |
7844 else | 7774 else |
7859 } | 7789 } |
7860 if test "$with_wnn" != "no"; then | 7790 if test "$with_wnn" != "no"; then |
7861 for ac_func in crypt | 7791 for ac_func in crypt |
7862 do | 7792 do |
7863 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7793 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7864 echo "configure:7865: checking for $ac_func" >&5 | 7794 echo "configure:7795: checking for $ac_func" >&5 |
7865 | 7795 |
7866 cat > conftest.$ac_ext <<EOF | 7796 cat > conftest.$ac_ext <<EOF |
7867 #line 7868 "configure" | 7797 #line 7798 "configure" |
7868 #include "confdefs.h" | 7798 #include "confdefs.h" |
7869 /* System header to define __stub macros and hopefully few prototypes, | 7799 /* System header to define __stub macros and hopefully few prototypes, |
7870 which can conflict with char $ac_func(); below. */ | 7800 which can conflict with char $ac_func(); below. */ |
7871 #include <assert.h> | 7801 #include <assert.h> |
7872 /* Override any gcc2 internal prototype to avoid an error. */ | 7802 /* Override any gcc2 internal prototype to avoid an error. */ |
7885 $ac_func(); | 7815 $ac_func(); |
7886 #endif | 7816 #endif |
7887 | 7817 |
7888 ; return 0; } | 7818 ; return 0; } |
7889 EOF | 7819 EOF |
7890 if { (eval echo configure:7891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7820 if { (eval echo configure:7821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7891 rm -rf conftest* | 7821 rm -rf conftest* |
7892 eval "ac_cv_func_$ac_func=yes" | 7822 eval "ac_cv_func_$ac_func=yes" |
7893 else | 7823 else |
7894 echo "configure: failed program was:" >&5 | 7824 echo "configure: failed program was:" >&5 |
7895 cat conftest.$ac_ext >&5 | 7825 cat conftest.$ac_ext >&5 |
7914 fi | 7844 fi |
7915 done | 7845 done |
7916 | 7846 |
7917 test "$ac_cv_func_crypt" != "yes" && { | 7847 test "$ac_cv_func_crypt" != "yes" && { |
7918 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7848 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7919 echo "configure:7920: checking for crypt in -lcrypt" >&5 | 7849 echo "configure:7850: checking for crypt in -lcrypt" >&5 |
7920 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7850 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7921 | 7851 |
7922 xe_check_libs=" -lcrypt " | 7852 xe_check_libs=" -lcrypt " |
7923 cat > conftest.$ac_ext <<EOF | 7853 cat > conftest.$ac_ext <<EOF |
7924 #line 7925 "configure" | 7854 #line 7855 "configure" |
7925 #include "confdefs.h" | 7855 #include "confdefs.h" |
7926 /* Override any gcc2 internal prototype to avoid an error. */ | 7856 /* Override any gcc2 internal prototype to avoid an error. */ |
7927 /* We use char because int might match the return type of a gcc2 | 7857 /* We use char because int might match the return type of a gcc2 |
7928 builtin and then its argument prototype would still apply. */ | 7858 builtin and then its argument prototype would still apply. */ |
7929 char crypt(); | 7859 char crypt(); |
7930 | 7860 |
7931 int main() { | 7861 int main() { |
7932 crypt() | 7862 crypt() |
7933 ; return 0; } | 7863 ; return 0; } |
7934 EOF | 7864 EOF |
7935 if { (eval echo configure:7936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7865 if { (eval echo configure:7866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7936 rm -rf conftest* | 7866 rm -rf conftest* |
7937 eval "ac_cv_lib_$ac_lib_var=yes" | 7867 eval "ac_cv_lib_$ac_lib_var=yes" |
7938 else | 7868 else |
7939 echo "configure: failed program was:" >&5 | 7869 echo "configure: failed program was:" >&5 |
7940 cat conftest.$ac_ext >&5 | 7870 cat conftest.$ac_ext >&5 |
7964 | 7894 |
7965 } | 7895 } |
7966 fi | 7896 fi |
7967 test -z "$with_wnn" && { | 7897 test -z "$with_wnn" && { |
7968 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7898 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7969 echo "configure:7970: checking for jl_dic_list_e in -lwnn" >&5 | 7899 echo "configure:7900: checking for jl_dic_list_e in -lwnn" >&5 |
7970 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7900 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7971 | 7901 |
7972 xe_check_libs=" -lwnn " | 7902 xe_check_libs=" -lwnn " |
7973 cat > conftest.$ac_ext <<EOF | 7903 cat > conftest.$ac_ext <<EOF |
7974 #line 7975 "configure" | 7904 #line 7905 "configure" |
7975 #include "confdefs.h" | 7905 #include "confdefs.h" |
7976 /* Override any gcc2 internal prototype to avoid an error. */ | 7906 /* Override any gcc2 internal prototype to avoid an error. */ |
7977 /* We use char because int might match the return type of a gcc2 | 7907 /* We use char because int might match the return type of a gcc2 |
7978 builtin and then its argument prototype would still apply. */ | 7908 builtin and then its argument prototype would still apply. */ |
7979 char jl_dic_list_e(); | 7909 char jl_dic_list_e(); |
7980 | 7910 |
7981 int main() { | 7911 int main() { |
7982 jl_dic_list_e() | 7912 jl_dic_list_e() |
7983 ; return 0; } | 7913 ; return 0; } |
7984 EOF | 7914 EOF |
7985 if { (eval echo configure:7986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7915 if { (eval echo configure:7916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7986 rm -rf conftest* | 7916 rm -rf conftest* |
7987 eval "ac_cv_lib_$ac_lib_var=yes" | 7917 eval "ac_cv_lib_$ac_lib_var=yes" |
7988 else | 7918 else |
7989 echo "configure: failed program was:" >&5 | 7919 echo "configure: failed program was:" >&5 |
7990 cat conftest.$ac_ext >&5 | 7920 cat conftest.$ac_ext >&5 |
8018 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7948 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8019 fi | 7949 fi |
8020 if test "$with_wnn6" != "no"; then | 7950 if test "$with_wnn6" != "no"; then |
8021 | 7951 |
8022 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 7952 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
8023 echo "configure:8024: checking for jl_fi_dic_list in -lwnn" >&5 | 7953 echo "configure:7954: checking for jl_fi_dic_list in -lwnn" >&5 |
8024 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 7954 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8025 | 7955 |
8026 xe_check_libs=" -lwnn " | 7956 xe_check_libs=" -lwnn " |
8027 cat > conftest.$ac_ext <<EOF | 7957 cat > conftest.$ac_ext <<EOF |
8028 #line 8029 "configure" | 7958 #line 7959 "configure" |
8029 #include "confdefs.h" | 7959 #include "confdefs.h" |
8030 /* Override any gcc2 internal prototype to avoid an error. */ | 7960 /* Override any gcc2 internal prototype to avoid an error. */ |
8031 /* We use char because int might match the return type of a gcc2 | 7961 /* We use char because int might match the return type of a gcc2 |
8032 builtin and then its argument prototype would still apply. */ | 7962 builtin and then its argument prototype would still apply. */ |
8033 char jl_fi_dic_list(); | 7963 char jl_fi_dic_list(); |
8034 | 7964 |
8035 int main() { | 7965 int main() { |
8036 jl_fi_dic_list() | 7966 jl_fi_dic_list() |
8037 ; return 0; } | 7967 ; return 0; } |
8038 EOF | 7968 EOF |
8039 if { (eval echo configure:8040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7969 if { (eval echo configure:7970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8040 rm -rf conftest* | 7970 rm -rf conftest* |
8041 eval "ac_cv_lib_$ac_lib_var=yes" | 7971 eval "ac_cv_lib_$ac_lib_var=yes" |
8042 else | 7972 else |
8043 echo "configure: failed program was:" >&5 | 7973 echo "configure: failed program was:" >&5 |
8044 cat conftest.$ac_ext >&5 | 7974 cat conftest.$ac_ext >&5 |
8069 | 7999 |
8070 canna_includes_found=no | 8000 canna_includes_found=no |
8071 if test "$with_canna" != "no"; then | 8001 if test "$with_canna" != "no"; then |
8072 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8002 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8073 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8003 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8074 echo "configure:8075: checking for canna/jrkanji.h" >&5 | 8004 echo "configure:8005: checking for canna/jrkanji.h" >&5 |
8075 | 8005 |
8076 cat > conftest.$ac_ext <<EOF | 8006 cat > conftest.$ac_ext <<EOF |
8077 #line 8078 "configure" | 8007 #line 8008 "configure" |
8078 #include "confdefs.h" | 8008 #include "confdefs.h" |
8079 #include <canna/jrkanji.h> | 8009 #include <canna/jrkanji.h> |
8080 EOF | 8010 EOF |
8081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8082 { (eval echo configure:8083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8012 { (eval echo configure:8013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8083 ac_err=`grep -v '^ *+' conftest.out` | 8013 ac_err=`grep -v '^ *+' conftest.out` |
8084 if test -z "$ac_err"; then | 8014 if test -z "$ac_err"; then |
8085 rm -rf conftest* | 8015 rm -rf conftest* |
8086 eval "ac_cv_header_$ac_safe=yes" | 8016 eval "ac_cv_header_$ac_safe=yes" |
8087 else | 8017 else |
8104 -d "/usr/local/canna/include"; then | 8034 -d "/usr/local/canna/include"; then |
8105 save_c_switch_site="$c_switch_site" | 8035 save_c_switch_site="$c_switch_site" |
8106 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8036 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8107 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8037 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8108 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8038 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8109 echo "configure:8110: checking for canna/jrkanji.h" >&5 | 8039 echo "configure:8040: checking for canna/jrkanji.h" >&5 |
8110 | 8040 |
8111 cat > conftest.$ac_ext <<EOF | 8041 cat > conftest.$ac_ext <<EOF |
8112 #line 8113 "configure" | 8042 #line 8043 "configure" |
8113 #include "confdefs.h" | 8043 #include "confdefs.h" |
8114 #include <canna/jrkanji.h> | 8044 #include <canna/jrkanji.h> |
8115 EOF | 8045 EOF |
8116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8117 { (eval echo configure:8118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8047 { (eval echo configure:8048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8118 ac_err=`grep -v '^ *+' conftest.out` | 8048 ac_err=`grep -v '^ *+' conftest.out` |
8119 if test -z "$ac_err"; then | 8049 if test -z "$ac_err"; then |
8120 rm -rf conftest* | 8050 rm -rf conftest* |
8121 eval "ac_cv_header_$ac_safe=yes" | 8051 eval "ac_cv_header_$ac_safe=yes" |
8122 else | 8052 else |
8140 fi | 8070 fi |
8141 fi | 8071 fi |
8142 | 8072 |
8143 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8073 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8144 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8074 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8145 echo "configure:8146: checking for canna/RK.h" >&5 | 8075 echo "configure:8076: checking for canna/RK.h" >&5 |
8146 | 8076 |
8147 cat > conftest.$ac_ext <<EOF | 8077 cat > conftest.$ac_ext <<EOF |
8148 #line 8149 "configure" | 8078 #line 8079 "configure" |
8149 #include "confdefs.h" | 8079 #include "confdefs.h" |
8150 #include <canna/RK.h> | 8080 #include <canna/RK.h> |
8151 EOF | 8081 EOF |
8152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8082 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8153 { (eval echo configure:8154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8083 { (eval echo configure:8084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8154 ac_err=`grep -v '^ *+' conftest.out` | 8084 ac_err=`grep -v '^ *+' conftest.out` |
8155 if test -z "$ac_err"; then | 8085 if test -z "$ac_err"; then |
8156 rm -rf conftest* | 8086 rm -rf conftest* |
8157 eval "ac_cv_header_$ac_safe=yes" | 8087 eval "ac_cv_header_$ac_safe=yes" |
8158 else | 8088 else |
8171 with_canna=no | 8101 with_canna=no |
8172 fi | 8102 fi |
8173 } | 8103 } |
8174 test -z "$with_canna" && { | 8104 test -z "$with_canna" && { |
8175 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8105 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8176 echo "configure:8177: checking for RkBgnBun in -lRKC" >&5 | 8106 echo "configure:8107: checking for RkBgnBun in -lRKC" >&5 |
8177 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8107 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8178 | 8108 |
8179 xe_check_libs=" -lRKC " | 8109 xe_check_libs=" -lRKC " |
8180 cat > conftest.$ac_ext <<EOF | 8110 cat > conftest.$ac_ext <<EOF |
8181 #line 8182 "configure" | 8111 #line 8112 "configure" |
8182 #include "confdefs.h" | 8112 #include "confdefs.h" |
8183 /* Override any gcc2 internal prototype to avoid an error. */ | 8113 /* Override any gcc2 internal prototype to avoid an error. */ |
8184 /* We use char because int might match the return type of a gcc2 | 8114 /* We use char because int might match the return type of a gcc2 |
8185 builtin and then its argument prototype would still apply. */ | 8115 builtin and then its argument prototype would still apply. */ |
8186 char RkBgnBun(); | 8116 char RkBgnBun(); |
8187 | 8117 |
8188 int main() { | 8118 int main() { |
8189 RkBgnBun() | 8119 RkBgnBun() |
8190 ; return 0; } | 8120 ; return 0; } |
8191 EOF | 8121 EOF |
8192 if { (eval echo configure:8193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8122 if { (eval echo configure:8123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8193 rm -rf conftest* | 8123 rm -rf conftest* |
8194 eval "ac_cv_lib_$ac_lib_var=yes" | 8124 eval "ac_cv_lib_$ac_lib_var=yes" |
8195 else | 8125 else |
8196 echo "configure: failed program was:" >&5 | 8126 echo "configure: failed program was:" >&5 |
8197 cat conftest.$ac_ext >&5 | 8127 cat conftest.$ac_ext >&5 |
8210 fi | 8140 fi |
8211 | 8141 |
8212 } | 8142 } |
8213 test -z "$with_canna" && { | 8143 test -z "$with_canna" && { |
8214 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8144 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8215 echo "configure:8216: checking for jrKanjiControl in -lcanna" >&5 | 8145 echo "configure:8146: checking for jrKanjiControl in -lcanna" >&5 |
8216 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8146 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8217 | 8147 |
8218 xe_check_libs=" -lcanna " | 8148 xe_check_libs=" -lcanna " |
8219 cat > conftest.$ac_ext <<EOF | 8149 cat > conftest.$ac_ext <<EOF |
8220 #line 8221 "configure" | 8150 #line 8151 "configure" |
8221 #include "confdefs.h" | 8151 #include "confdefs.h" |
8222 /* Override any gcc2 internal prototype to avoid an error. */ | 8152 /* Override any gcc2 internal prototype to avoid an error. */ |
8223 /* We use char because int might match the return type of a gcc2 | 8153 /* We use char because int might match the return type of a gcc2 |
8224 builtin and then its argument prototype would still apply. */ | 8154 builtin and then its argument prototype would still apply. */ |
8225 char jrKanjiControl(); | 8155 char jrKanjiControl(); |
8226 | 8156 |
8227 int main() { | 8157 int main() { |
8228 jrKanjiControl() | 8158 jrKanjiControl() |
8229 ; return 0; } | 8159 ; return 0; } |
8230 EOF | 8160 EOF |
8231 if { (eval echo configure:8232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8161 if { (eval echo configure:8162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8232 rm -rf conftest* | 8162 rm -rf conftest* |
8233 eval "ac_cv_lib_$ac_lib_var=yes" | 8163 eval "ac_cv_lib_$ac_lib_var=yes" |
8234 else | 8164 else |
8235 echo "configure: failed program was:" >&5 | 8165 echo "configure: failed program was:" >&5 |
8236 cat conftest.$ac_ext >&5 | 8166 cat conftest.$ac_ext >&5 |
8275 | 8205 |
8276 if test "$need_motif" = "yes" ; then | 8206 if test "$need_motif" = "yes" ; then |
8277 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8207 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8278 | 8208 |
8279 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8209 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8280 echo "configure:8281: checking for layout_object_getvalue in -li18n" >&5 | 8210 echo "configure:8211: checking for layout_object_getvalue in -li18n" >&5 |
8281 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8211 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8282 | 8212 |
8283 xe_check_libs=" -li18n " | 8213 xe_check_libs=" -li18n " |
8284 cat > conftest.$ac_ext <<EOF | 8214 cat > conftest.$ac_ext <<EOF |
8285 #line 8286 "configure" | 8215 #line 8216 "configure" |
8286 #include "confdefs.h" | 8216 #include "confdefs.h" |
8287 /* Override any gcc2 internal prototype to avoid an error. */ | 8217 /* Override any gcc2 internal prototype to avoid an error. */ |
8288 /* We use char because int might match the return type of a gcc2 | 8218 /* We use char because int might match the return type of a gcc2 |
8289 builtin and then its argument prototype would still apply. */ | 8219 builtin and then its argument prototype would still apply. */ |
8290 char layout_object_getvalue(); | 8220 char layout_object_getvalue(); |
8291 | 8221 |
8292 int main() { | 8222 int main() { |
8293 layout_object_getvalue() | 8223 layout_object_getvalue() |
8294 ; return 0; } | 8224 ; return 0; } |
8295 EOF | 8225 EOF |
8296 if { (eval echo configure:8297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8226 if { (eval echo configure:8227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8297 rm -rf conftest* | 8227 rm -rf conftest* |
8298 eval "ac_cv_lib_$ac_lib_var=yes" | 8228 eval "ac_cv_lib_$ac_lib_var=yes" |
8299 else | 8229 else |
8300 echo "configure: failed program was:" >&5 | 8230 echo "configure: failed program was:" >&5 |
8301 cat conftest.$ac_ext >&5 | 8231 cat conftest.$ac_ext >&5 |
8377 fi | 8307 fi |
8378 | 8308 |
8379 for ac_func in 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 snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 8309 for ac_func in 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 snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
8380 do | 8310 do |
8381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8311 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8382 echo "configure:8383: checking for $ac_func" >&5 | 8312 echo "configure:8313: checking for $ac_func" >&5 |
8383 | 8313 |
8384 cat > conftest.$ac_ext <<EOF | 8314 cat > conftest.$ac_ext <<EOF |
8385 #line 8386 "configure" | 8315 #line 8316 "configure" |
8386 #include "confdefs.h" | 8316 #include "confdefs.h" |
8387 /* System header to define __stub macros and hopefully few prototypes, | 8317 /* System header to define __stub macros and hopefully few prototypes, |
8388 which can conflict with char $ac_func(); below. */ | 8318 which can conflict with char $ac_func(); below. */ |
8389 #include <assert.h> | 8319 #include <assert.h> |
8390 /* Override any gcc2 internal prototype to avoid an error. */ | 8320 /* Override any gcc2 internal prototype to avoid an error. */ |
8403 $ac_func(); | 8333 $ac_func(); |
8404 #endif | 8334 #endif |
8405 | 8335 |
8406 ; return 0; } | 8336 ; return 0; } |
8407 EOF | 8337 EOF |
8408 if { (eval echo configure:8409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8338 if { (eval echo configure:8339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8409 rm -rf conftest* | 8339 rm -rf conftest* |
8410 eval "ac_cv_func_$ac_func=yes" | 8340 eval "ac_cv_func_$ac_func=yes" |
8411 else | 8341 else |
8412 echo "configure: failed program was:" >&5 | 8342 echo "configure: failed program was:" >&5 |
8413 cat conftest.$ac_ext >&5 | 8343 cat conftest.$ac_ext >&5 |
8440 fi ;; | 8370 fi ;; |
8441 * ) | 8371 * ) |
8442 for ac_func in realpath | 8372 for ac_func in realpath |
8443 do | 8373 do |
8444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8445 echo "configure:8446: checking for $ac_func" >&5 | 8375 echo "configure:8376: checking for $ac_func" >&5 |
8446 | 8376 |
8447 cat > conftest.$ac_ext <<EOF | 8377 cat > conftest.$ac_ext <<EOF |
8448 #line 8449 "configure" | 8378 #line 8379 "configure" |
8449 #include "confdefs.h" | 8379 #include "confdefs.h" |
8450 /* System header to define __stub macros and hopefully few prototypes, | 8380 /* System header to define __stub macros and hopefully few prototypes, |
8451 which can conflict with char $ac_func(); below. */ | 8381 which can conflict with char $ac_func(); below. */ |
8452 #include <assert.h> | 8382 #include <assert.h> |
8453 /* Override any gcc2 internal prototype to avoid an error. */ | 8383 /* Override any gcc2 internal prototype to avoid an error. */ |
8466 $ac_func(); | 8396 $ac_func(); |
8467 #endif | 8397 #endif |
8468 | 8398 |
8469 ; return 0; } | 8399 ; return 0; } |
8470 EOF | 8400 EOF |
8471 if { (eval echo configure:8472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8401 if { (eval echo configure:8402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8472 rm -rf conftest* | 8402 rm -rf conftest* |
8473 eval "ac_cv_func_$ac_func=yes" | 8403 eval "ac_cv_func_$ac_func=yes" |
8474 else | 8404 else |
8475 echo "configure: failed program was:" >&5 | 8405 echo "configure: failed program was:" >&5 |
8476 cat conftest.$ac_ext >&5 | 8406 cat conftest.$ac_ext >&5 |
8499 echo " xemacs will be linked with \"realpath.o\"" | 8429 echo " xemacs will be linked with \"realpath.o\"" |
8500 fi ;; | 8430 fi ;; |
8501 esac | 8431 esac |
8502 | 8432 |
8503 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8433 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8504 echo "configure:8505: checking whether netdb declares h_errno" >&5 | 8434 echo "configure:8435: checking whether netdb declares h_errno" >&5 |
8505 cat > conftest.$ac_ext <<EOF | 8435 cat > conftest.$ac_ext <<EOF |
8506 #line 8507 "configure" | 8436 #line 8437 "configure" |
8507 #include "confdefs.h" | 8437 #include "confdefs.h" |
8508 #include <netdb.h> | 8438 #include <netdb.h> |
8509 int main() { | 8439 int main() { |
8510 return h_errno; | 8440 return h_errno; |
8511 ; return 0; } | 8441 ; return 0; } |
8512 EOF | 8442 EOF |
8513 if { (eval echo configure:8514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8443 if { (eval echo configure:8444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8514 rm -rf conftest* | 8444 rm -rf conftest* |
8515 echo "$ac_t""yes" 1>&6 | 8445 echo "$ac_t""yes" 1>&6 |
8516 { test "$extra_verbose" = "yes" && cat << \EOF | 8446 { test "$extra_verbose" = "yes" && cat << \EOF |
8517 Defining HAVE_H_ERRNO | 8447 Defining HAVE_H_ERRNO |
8518 EOF | 8448 EOF |
8528 echo "$ac_t""no" 1>&6 | 8458 echo "$ac_t""no" 1>&6 |
8529 fi | 8459 fi |
8530 rm -f conftest* | 8460 rm -f conftest* |
8531 | 8461 |
8532 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8462 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8533 echo "configure:8534: checking for sigsetjmp" >&5 | 8463 echo "configure:8464: checking for sigsetjmp" >&5 |
8534 cat > conftest.$ac_ext <<EOF | 8464 cat > conftest.$ac_ext <<EOF |
8535 #line 8536 "configure" | 8465 #line 8466 "configure" |
8536 #include "confdefs.h" | 8466 #include "confdefs.h" |
8537 #include <setjmp.h> | 8467 #include <setjmp.h> |
8538 int main() { | 8468 int main() { |
8539 sigjmp_buf bar; sigsetjmp (bar, 0); | 8469 sigjmp_buf bar; sigsetjmp (bar, 0); |
8540 ; return 0; } | 8470 ; return 0; } |
8541 EOF | 8471 EOF |
8542 if { (eval echo configure:8543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8472 if { (eval echo configure:8473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8543 rm -rf conftest* | 8473 rm -rf conftest* |
8544 echo "$ac_t""yes" 1>&6 | 8474 echo "$ac_t""yes" 1>&6 |
8545 { test "$extra_verbose" = "yes" && cat << \EOF | 8475 { test "$extra_verbose" = "yes" && cat << \EOF |
8546 Defining HAVE_SIGSETJMP | 8476 Defining HAVE_SIGSETJMP |
8547 EOF | 8477 EOF |
8557 echo "$ac_t""no" 1>&6 | 8487 echo "$ac_t""no" 1>&6 |
8558 fi | 8488 fi |
8559 rm -f conftest* | 8489 rm -f conftest* |
8560 | 8490 |
8561 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8491 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8562 echo "configure:8563: checking whether localtime caches TZ" >&5 | 8492 echo "configure:8493: checking whether localtime caches TZ" >&5 |
8563 | 8493 |
8564 if test "$ac_cv_func_tzset" = "yes"; then | 8494 if test "$ac_cv_func_tzset" = "yes"; then |
8565 cat > conftest.$ac_ext <<EOF | 8495 cat > conftest.$ac_ext <<EOF |
8566 #line 8567 "configure" | 8496 #line 8497 "configure" |
8567 #include "confdefs.h" | 8497 #include "confdefs.h" |
8568 #include <time.h> | 8498 #include <time.h> |
8569 #if STDC_HEADERS | 8499 #if STDC_HEADERS |
8570 # include <stdlib.h> | 8500 # include <stdlib.h> |
8571 #endif | 8501 #endif |
8596 if (localtime (&now)->tm_hour != hour_unset) | 8526 if (localtime (&now)->tm_hour != hour_unset) |
8597 exit (1); | 8527 exit (1); |
8598 exit (0); | 8528 exit (0); |
8599 } | 8529 } |
8600 EOF | 8530 EOF |
8601 if { (eval echo configure:8602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8531 if { (eval echo configure:8532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8602 then | 8532 then |
8603 emacs_cv_localtime_cache=no | 8533 emacs_cv_localtime_cache=no |
8604 else | 8534 else |
8605 conftest_rc="$?" | 8535 conftest_rc="$?" |
8606 echo "configure: failed program was:" >&5 | 8536 echo "configure: failed program was:" >&5 |
8626 | 8556 |
8627 fi | 8557 fi |
8628 | 8558 |
8629 if test "$HAVE_TIMEVAL" = "yes"; then | 8559 if test "$HAVE_TIMEVAL" = "yes"; then |
8630 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8560 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8631 echo "configure:8632: checking whether gettimeofday accepts one or two arguments" >&5 | 8561 echo "configure:8562: checking whether gettimeofday accepts one or two arguments" >&5 |
8632 cat > conftest.$ac_ext <<EOF | 8562 cat > conftest.$ac_ext <<EOF |
8633 #line 8634 "configure" | 8563 #line 8564 "configure" |
8634 #include "confdefs.h" | 8564 #include "confdefs.h" |
8635 | 8565 |
8636 #ifdef TIME_WITH_SYS_TIME | 8566 #ifdef TIME_WITH_SYS_TIME |
8637 #include <sys/time.h> | 8567 #include <sys/time.h> |
8638 #include <time.h> | 8568 #include <time.h> |
8650 struct timezone dummy; | 8580 struct timezone dummy; |
8651 gettimeofday (&time, &dummy); | 8581 gettimeofday (&time, &dummy); |
8652 | 8582 |
8653 ; return 0; } | 8583 ; return 0; } |
8654 EOF | 8584 EOF |
8655 if { (eval echo configure:8656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8585 if { (eval echo configure:8586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8656 rm -rf conftest* | 8586 rm -rf conftest* |
8657 echo "$ac_t""two" 1>&6 | 8587 echo "$ac_t""two" 1>&6 |
8658 else | 8588 else |
8659 echo "configure: failed program was:" >&5 | 8589 echo "configure: failed program was:" >&5 |
8660 cat conftest.$ac_ext >&5 | 8590 cat conftest.$ac_ext >&5 |
8672 rm -f conftest* | 8602 rm -f conftest* |
8673 fi | 8603 fi |
8674 | 8604 |
8675 | 8605 |
8676 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8606 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8677 echo "configure:8678: checking for inline" >&5 | 8607 echo "configure:8608: checking for inline" >&5 |
8678 | 8608 |
8679 ac_cv_c_inline=no | 8609 ac_cv_c_inline=no |
8680 for ac_kw in inline __inline__ __inline; do | 8610 for ac_kw in inline __inline__ __inline; do |
8681 cat > conftest.$ac_ext <<EOF | 8611 cat > conftest.$ac_ext <<EOF |
8682 #line 8683 "configure" | 8612 #line 8613 "configure" |
8683 #include "confdefs.h" | 8613 #include "confdefs.h" |
8684 | 8614 |
8685 int main() { | 8615 int main() { |
8686 } $ac_kw foo() { | 8616 } $ac_kw foo() { |
8687 ; return 0; } | 8617 ; return 0; } |
8688 EOF | 8618 EOF |
8689 if { (eval echo configure:8690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8619 if { (eval echo configure:8620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8690 rm -rf conftest* | 8620 rm -rf conftest* |
8691 ac_cv_c_inline=$ac_kw; break | 8621 ac_cv_c_inline=$ac_kw; break |
8692 else | 8622 else |
8693 echo "configure: failed program was:" >&5 | 8623 echo "configure: failed program was:" >&5 |
8694 cat conftest.$ac_ext >&5 | 8624 cat conftest.$ac_ext >&5 |
8734 | 8664 |
8735 | 8665 |
8736 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8666 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8737 # for constant arguments. Useless! | 8667 # for constant arguments. Useless! |
8738 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8668 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8739 echo "configure:8740: checking for working alloca.h" >&5 | 8669 echo "configure:8670: checking for working alloca.h" >&5 |
8740 | 8670 |
8741 cat > conftest.$ac_ext <<EOF | 8671 cat > conftest.$ac_ext <<EOF |
8742 #line 8743 "configure" | 8672 #line 8673 "configure" |
8743 #include "confdefs.h" | 8673 #include "confdefs.h" |
8744 #include <alloca.h> | 8674 #include <alloca.h> |
8745 int main() { | 8675 int main() { |
8746 char *p = alloca(2 * sizeof(int)); | 8676 char *p = alloca(2 * sizeof(int)); |
8747 ; return 0; } | 8677 ; return 0; } |
8748 EOF | 8678 EOF |
8749 if { (eval echo configure:8750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8679 if { (eval echo configure:8680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8750 rm -rf conftest* | 8680 rm -rf conftest* |
8751 ac_cv_header_alloca_h=yes | 8681 ac_cv_header_alloca_h=yes |
8752 else | 8682 else |
8753 echo "configure: failed program was:" >&5 | 8683 echo "configure: failed program was:" >&5 |
8754 cat conftest.$ac_ext >&5 | 8684 cat conftest.$ac_ext >&5 |
8768 } | 8698 } |
8769 | 8699 |
8770 fi | 8700 fi |
8771 | 8701 |
8772 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8702 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8773 echo "configure:8774: checking for alloca" >&5 | 8703 echo "configure:8704: checking for alloca" >&5 |
8774 | 8704 |
8775 cat > conftest.$ac_ext <<EOF | 8705 cat > conftest.$ac_ext <<EOF |
8776 #line 8777 "configure" | 8706 #line 8707 "configure" |
8777 #include "confdefs.h" | 8707 #include "confdefs.h" |
8778 | 8708 |
8779 #ifdef __GNUC__ | 8709 #ifdef __GNUC__ |
8780 # define alloca __builtin_alloca | 8710 # define alloca __builtin_alloca |
8781 #else | 8711 #else |
8794 | 8724 |
8795 int main() { | 8725 int main() { |
8796 char *p = (char *) alloca(1); | 8726 char *p = (char *) alloca(1); |
8797 ; return 0; } | 8727 ; return 0; } |
8798 EOF | 8728 EOF |
8799 if { (eval echo configure:8800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8729 if { (eval echo configure:8730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8800 rm -rf conftest* | 8730 rm -rf conftest* |
8801 ac_cv_func_alloca_works=yes | 8731 ac_cv_func_alloca_works=yes |
8802 else | 8732 else |
8803 echo "configure: failed program was:" >&5 | 8733 echo "configure: failed program was:" >&5 |
8804 cat conftest.$ac_ext >&5 | 8734 cat conftest.$ac_ext >&5 |
8833 EOF | 8763 EOF |
8834 } | 8764 } |
8835 | 8765 |
8836 | 8766 |
8837 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8767 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8838 echo "configure:8839: checking whether alloca needs Cray hooks" >&5 | 8768 echo "configure:8769: checking whether alloca needs Cray hooks" >&5 |
8839 | 8769 |
8840 cat > conftest.$ac_ext <<EOF | 8770 cat > conftest.$ac_ext <<EOF |
8841 #line 8842 "configure" | 8771 #line 8772 "configure" |
8842 #include "confdefs.h" | 8772 #include "confdefs.h" |
8843 #if defined(CRAY) && ! defined(CRAY2) | 8773 #if defined(CRAY) && ! defined(CRAY2) |
8844 webecray | 8774 webecray |
8845 #else | 8775 #else |
8846 wenotbecray | 8776 wenotbecray |
8860 | 8790 |
8861 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8791 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8862 if test $ac_cv_os_cray = yes; then | 8792 if test $ac_cv_os_cray = yes; then |
8863 for ac_func in _getb67 GETB67 getb67; do | 8793 for ac_func in _getb67 GETB67 getb67; do |
8864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8865 echo "configure:8866: checking for $ac_func" >&5 | 8795 echo "configure:8796: checking for $ac_func" >&5 |
8866 | 8796 |
8867 cat > conftest.$ac_ext <<EOF | 8797 cat > conftest.$ac_ext <<EOF |
8868 #line 8869 "configure" | 8798 #line 8799 "configure" |
8869 #include "confdefs.h" | 8799 #include "confdefs.h" |
8870 /* System header to define __stub macros and hopefully few prototypes, | 8800 /* System header to define __stub macros and hopefully few prototypes, |
8871 which can conflict with char $ac_func(); below. */ | 8801 which can conflict with char $ac_func(); below. */ |
8872 #include <assert.h> | 8802 #include <assert.h> |
8873 /* Override any gcc2 internal prototype to avoid an error. */ | 8803 /* Override any gcc2 internal prototype to avoid an error. */ |
8886 $ac_func(); | 8816 $ac_func(); |
8887 #endif | 8817 #endif |
8888 | 8818 |
8889 ; return 0; } | 8819 ; return 0; } |
8890 EOF | 8820 EOF |
8891 if { (eval echo configure:8892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8821 if { (eval echo configure:8822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8892 rm -rf conftest* | 8822 rm -rf conftest* |
8893 eval "ac_cv_func_$ac_func=yes" | 8823 eval "ac_cv_func_$ac_func=yes" |
8894 else | 8824 else |
8895 echo "configure: failed program was:" >&5 | 8825 echo "configure: failed program was:" >&5 |
8896 cat conftest.$ac_ext >&5 | 8826 cat conftest.$ac_ext >&5 |
8916 | 8846 |
8917 done | 8847 done |
8918 fi | 8848 fi |
8919 | 8849 |
8920 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8850 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8921 echo "configure:8922: checking stack direction for C alloca" >&5 | 8851 echo "configure:8852: checking stack direction for C alloca" >&5 |
8922 | 8852 |
8923 cat > conftest.$ac_ext <<EOF | 8853 cat > conftest.$ac_ext <<EOF |
8924 #line 8925 "configure" | 8854 #line 8855 "configure" |
8925 #include "confdefs.h" | 8855 #include "confdefs.h" |
8926 find_stack_direction () | 8856 find_stack_direction () |
8927 { | 8857 { |
8928 static char *addr = 0; | 8858 static char *addr = 0; |
8929 auto char dummy; | 8859 auto char dummy; |
8938 main () | 8868 main () |
8939 { | 8869 { |
8940 exit (find_stack_direction() < 0); | 8870 exit (find_stack_direction() < 0); |
8941 } | 8871 } |
8942 EOF | 8872 EOF |
8943 if { (eval echo configure:8944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8873 if { (eval echo configure:8874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8944 then | 8874 then |
8945 ac_cv_c_stack_direction=1 | 8875 ac_cv_c_stack_direction=1 |
8946 else | 8876 else |
8947 conftest_rc="$?" | 8877 conftest_rc="$?" |
8948 echo "configure: failed program was:" >&5 | 8878 echo "configure: failed program was:" >&5 |
8967 echo " xemacs will be linked with \"$ALLOCA\"" | 8897 echo " xemacs will be linked with \"$ALLOCA\"" |
8968 fi | 8898 fi |
8969 | 8899 |
8970 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8900 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8971 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8901 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8972 echo "configure:8973: checking for vfork.h" >&5 | 8902 echo "configure:8903: checking for vfork.h" >&5 |
8973 | 8903 |
8974 cat > conftest.$ac_ext <<EOF | 8904 cat > conftest.$ac_ext <<EOF |
8975 #line 8976 "configure" | 8905 #line 8906 "configure" |
8976 #include "confdefs.h" | 8906 #include "confdefs.h" |
8977 #include <vfork.h> | 8907 #include <vfork.h> |
8978 EOF | 8908 EOF |
8979 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8980 { (eval echo configure:8981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8910 { (eval echo configure:8911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8981 ac_err=`grep -v '^ *+' conftest.out` | 8911 ac_err=`grep -v '^ *+' conftest.out` |
8982 if test -z "$ac_err"; then | 8912 if test -z "$ac_err"; then |
8983 rm -rf conftest* | 8913 rm -rf conftest* |
8984 eval "ac_cv_header_$ac_safe=yes" | 8914 eval "ac_cv_header_$ac_safe=yes" |
8985 else | 8915 else |
9003 else | 8933 else |
9004 echo "$ac_t""no" 1>&6 | 8934 echo "$ac_t""no" 1>&6 |
9005 fi | 8935 fi |
9006 | 8936 |
9007 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8937 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9008 echo "configure:9009: checking for working vfork" >&5 | 8938 echo "configure:8939: checking for working vfork" >&5 |
9009 | 8939 |
9010 cat > conftest.$ac_ext <<EOF | 8940 cat > conftest.$ac_ext <<EOF |
9011 #line 9012 "configure" | 8941 #line 8942 "configure" |
9012 #include "confdefs.h" | 8942 #include "confdefs.h" |
9013 /* Thanks to Paul Eggert for this test. */ | 8943 /* Thanks to Paul Eggert for this test. */ |
9014 #include <stdio.h> | 8944 #include <stdio.h> |
9015 #include <sys/types.h> | 8945 #include <sys/types.h> |
9016 #include <sys/stat.h> | 8946 #include <sys/stat.h> |
9101 || fstat(fileno(stdout), &st) != 0 | 9031 || fstat(fileno(stdout), &st) != 0 |
9102 ); | 9032 ); |
9103 } | 9033 } |
9104 } | 9034 } |
9105 EOF | 9035 EOF |
9106 if { (eval echo configure:9107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9036 if { (eval echo configure:9037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9107 then | 9037 then |
9108 ac_cv_func_vfork_works=yes | 9038 ac_cv_func_vfork_works=yes |
9109 else | 9039 else |
9110 conftest_rc="$?" | 9040 conftest_rc="$?" |
9111 echo "configure: failed program was:" >&5 | 9041 echo "configure: failed program was:" >&5 |
9127 | 9057 |
9128 fi | 9058 fi |
9129 | 9059 |
9130 | 9060 |
9131 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9061 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9132 echo "configure:9133: checking for working strcoll" >&5 | 9062 echo "configure:9063: checking for working strcoll" >&5 |
9133 | 9063 |
9134 cat > conftest.$ac_ext <<EOF | 9064 cat > conftest.$ac_ext <<EOF |
9135 #line 9136 "configure" | 9065 #line 9066 "configure" |
9136 #include "confdefs.h" | 9066 #include "confdefs.h" |
9137 #include <string.h> | 9067 #include <string.h> |
9138 main () | 9068 main () |
9139 { | 9069 { |
9140 exit (strcoll ("abc", "def") >= 0 || | 9070 exit (strcoll ("abc", "def") >= 0 || |
9141 strcoll ("ABC", "DEF") >= 0 || | 9071 strcoll ("ABC", "DEF") >= 0 || |
9142 strcoll ("123", "456") >= 0); | 9072 strcoll ("123", "456") >= 0); |
9143 } | 9073 } |
9144 EOF | 9074 EOF |
9145 if { (eval echo configure:9146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9075 if { (eval echo configure:9076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9146 then | 9076 then |
9147 ac_cv_func_strcoll_works=yes | 9077 ac_cv_func_strcoll_works=yes |
9148 else | 9078 else |
9149 conftest_rc="$?" | 9079 conftest_rc="$?" |
9150 echo "configure: failed program was:" >&5 | 9080 echo "configure: failed program was:" >&5 |
9168 | 9098 |
9169 | 9099 |
9170 for ac_func in getpgrp | 9100 for ac_func in getpgrp |
9171 do | 9101 do |
9172 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9173 echo "configure:9174: checking for $ac_func" >&5 | 9103 echo "configure:9104: checking for $ac_func" >&5 |
9174 | 9104 |
9175 cat > conftest.$ac_ext <<EOF | 9105 cat > conftest.$ac_ext <<EOF |
9176 #line 9177 "configure" | 9106 #line 9107 "configure" |
9177 #include "confdefs.h" | 9107 #include "confdefs.h" |
9178 /* System header to define __stub macros and hopefully few prototypes, | 9108 /* System header to define __stub macros and hopefully few prototypes, |
9179 which can conflict with char $ac_func(); below. */ | 9109 which can conflict with char $ac_func(); below. */ |
9180 #include <assert.h> | 9110 #include <assert.h> |
9181 /* Override any gcc2 internal prototype to avoid an error. */ | 9111 /* Override any gcc2 internal prototype to avoid an error. */ |
9194 $ac_func(); | 9124 $ac_func(); |
9195 #endif | 9125 #endif |
9196 | 9126 |
9197 ; return 0; } | 9127 ; return 0; } |
9198 EOF | 9128 EOF |
9199 if { (eval echo configure:9200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9129 if { (eval echo configure:9130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9200 rm -rf conftest* | 9130 rm -rf conftest* |
9201 eval "ac_cv_func_$ac_func=yes" | 9131 eval "ac_cv_func_$ac_func=yes" |
9202 else | 9132 else |
9203 echo "configure: failed program was:" >&5 | 9133 echo "configure: failed program was:" >&5 |
9204 cat conftest.$ac_ext >&5 | 9134 cat conftest.$ac_ext >&5 |
9222 echo "$ac_t""no" 1>&6 | 9152 echo "$ac_t""no" 1>&6 |
9223 fi | 9153 fi |
9224 done | 9154 done |
9225 | 9155 |
9226 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9156 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9227 echo "configure:9228: checking whether getpgrp takes no argument" >&5 | 9157 echo "configure:9158: checking whether getpgrp takes no argument" >&5 |
9228 | 9158 |
9229 cat > conftest.$ac_ext <<EOF | 9159 cat > conftest.$ac_ext <<EOF |
9230 #line 9231 "configure" | 9160 #line 9161 "configure" |
9231 #include "confdefs.h" | 9161 #include "confdefs.h" |
9232 | 9162 |
9233 /* | 9163 /* |
9234 * If this system has a BSD-style getpgrp(), | 9164 * If this system has a BSD-style getpgrp(), |
9235 * which takes a pid argument, exit unsuccessfully. | 9165 * which takes a pid argument, exit unsuccessfully. |
9280 exit(s>>8); | 9210 exit(s>>8); |
9281 } | 9211 } |
9282 } | 9212 } |
9283 | 9213 |
9284 EOF | 9214 EOF |
9285 if { (eval echo configure:9286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9215 if { (eval echo configure:9216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9286 then | 9216 then |
9287 ac_cv_func_getpgrp_void=yes | 9217 ac_cv_func_getpgrp_void=yes |
9288 else | 9218 else |
9289 conftest_rc="$?" | 9219 conftest_rc="$?" |
9290 echo "configure: failed program was:" >&5 | 9220 echo "configure: failed program was:" >&5 |
9307 | 9237 |
9308 fi | 9238 fi |
9309 | 9239 |
9310 | 9240 |
9311 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9241 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9312 echo "configure:9313: checking for working mmap" >&5 | 9242 echo "configure:9243: checking for working mmap" >&5 |
9313 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9243 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9314 cat > conftest.$ac_ext <<EOF | 9244 cat > conftest.$ac_ext <<EOF |
9315 #line 9316 "configure" | 9245 #line 9246 "configure" |
9316 #include "confdefs.h" | 9246 #include "confdefs.h" |
9317 #include <stdio.h> | 9247 #include <stdio.h> |
9318 #include <unistd.h> | 9248 #include <unistd.h> |
9319 #include <fcntl.h> | 9249 #include <fcntl.h> |
9320 #include <sys/mman.h> | 9250 #include <sys/mman.h> |
9343 return 0; | 9273 return 0; |
9344 perror ("conftest: mmap failed"); | 9274 perror ("conftest: mmap failed"); |
9345 return 1; | 9275 return 1; |
9346 } | 9276 } |
9347 EOF | 9277 EOF |
9348 if { (eval echo configure:9349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9278 if { (eval echo configure:9279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9349 then | 9279 then |
9350 have_mmap=yes | 9280 have_mmap=yes |
9351 else | 9281 else |
9352 conftest_rc="$?" | 9282 conftest_rc="$?" |
9353 echo "configure: failed program was:" >&5 | 9283 echo "configure: failed program was:" >&5 |
9378 } | 9308 } |
9379 | 9309 |
9380 | 9310 |
9381 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9311 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9382 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9312 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9383 echo "configure:9384: checking for termios.h" >&5 | 9313 echo "configure:9314: checking for termios.h" >&5 |
9384 | 9314 |
9385 cat > conftest.$ac_ext <<EOF | 9315 cat > conftest.$ac_ext <<EOF |
9386 #line 9387 "configure" | 9316 #line 9317 "configure" |
9387 #include "confdefs.h" | 9317 #include "confdefs.h" |
9388 #include <termios.h> | 9318 #include <termios.h> |
9389 EOF | 9319 EOF |
9390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9391 { (eval echo configure:9392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9321 { (eval echo configure:9322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9392 ac_err=`grep -v '^ *+' conftest.out` | 9322 ac_err=`grep -v '^ *+' conftest.out` |
9393 if test -z "$ac_err"; then | 9323 if test -z "$ac_err"; then |
9394 rm -rf conftest* | 9324 rm -rf conftest* |
9395 eval "ac_cv_header_$ac_safe=yes" | 9325 eval "ac_cv_header_$ac_safe=yes" |
9396 else | 9326 else |
9429 | 9359 |
9430 else | 9360 else |
9431 echo "$ac_t""no" 1>&6 | 9361 echo "$ac_t""no" 1>&6 |
9432 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9362 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9433 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9363 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9434 echo "configure:9435: checking for termio.h" >&5 | 9364 echo "configure:9365: checking for termio.h" >&5 |
9435 | 9365 |
9436 cat > conftest.$ac_ext <<EOF | 9366 cat > conftest.$ac_ext <<EOF |
9437 #line 9438 "configure" | 9367 #line 9368 "configure" |
9438 #include "confdefs.h" | 9368 #include "confdefs.h" |
9439 #include <termio.h> | 9369 #include <termio.h> |
9440 EOF | 9370 EOF |
9441 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9442 { (eval echo configure:9443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9372 { (eval echo configure:9373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9443 ac_err=`grep -v '^ *+' conftest.out` | 9373 ac_err=`grep -v '^ *+' conftest.out` |
9444 if test -z "$ac_err"; then | 9374 if test -z "$ac_err"; then |
9445 rm -rf conftest* | 9375 rm -rf conftest* |
9446 eval "ac_cv_header_$ac_safe=yes" | 9376 eval "ac_cv_header_$ac_safe=yes" |
9447 else | 9377 else |
9469 fi | 9399 fi |
9470 | 9400 |
9471 | 9401 |
9472 | 9402 |
9473 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9403 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9474 echo "configure:9475: checking for socket" >&5 | 9404 echo "configure:9405: checking for socket" >&5 |
9475 | 9405 |
9476 cat > conftest.$ac_ext <<EOF | 9406 cat > conftest.$ac_ext <<EOF |
9477 #line 9478 "configure" | 9407 #line 9408 "configure" |
9478 #include "confdefs.h" | 9408 #include "confdefs.h" |
9479 /* System header to define __stub macros and hopefully few prototypes, | 9409 /* System header to define __stub macros and hopefully few prototypes, |
9480 which can conflict with char socket(); below. */ | 9410 which can conflict with char socket(); below. */ |
9481 #include <assert.h> | 9411 #include <assert.h> |
9482 /* Override any gcc2 internal prototype to avoid an error. */ | 9412 /* Override any gcc2 internal prototype to avoid an error. */ |
9495 socket(); | 9425 socket(); |
9496 #endif | 9426 #endif |
9497 | 9427 |
9498 ; return 0; } | 9428 ; return 0; } |
9499 EOF | 9429 EOF |
9500 if { (eval echo configure:9501: \"$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 |
9501 rm -rf conftest* | 9431 rm -rf conftest* |
9502 eval "ac_cv_func_socket=yes" | 9432 eval "ac_cv_func_socket=yes" |
9503 else | 9433 else |
9504 echo "configure: failed program was:" >&5 | 9434 echo "configure: failed program was:" >&5 |
9505 cat conftest.$ac_ext >&5 | 9435 cat conftest.$ac_ext >&5 |
9510 | 9440 |
9511 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9441 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9512 echo "$ac_t""yes" 1>&6 | 9442 echo "$ac_t""yes" 1>&6 |
9513 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9443 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9514 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9444 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9515 echo "configure:9516: checking for netinet/in.h" >&5 | 9445 echo "configure:9446: checking for netinet/in.h" >&5 |
9516 | 9446 |
9517 cat > conftest.$ac_ext <<EOF | 9447 cat > conftest.$ac_ext <<EOF |
9518 #line 9519 "configure" | 9448 #line 9449 "configure" |
9519 #include "confdefs.h" | 9449 #include "confdefs.h" |
9520 #include <netinet/in.h> | 9450 #include <netinet/in.h> |
9521 EOF | 9451 EOF |
9522 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9523 { (eval echo configure:9524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9453 { (eval echo configure:9454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9524 ac_err=`grep -v '^ *+' conftest.out` | 9454 ac_err=`grep -v '^ *+' conftest.out` |
9525 if test -z "$ac_err"; then | 9455 if test -z "$ac_err"; then |
9526 rm -rf conftest* | 9456 rm -rf conftest* |
9527 eval "ac_cv_header_$ac_safe=yes" | 9457 eval "ac_cv_header_$ac_safe=yes" |
9528 else | 9458 else |
9535 rm -f conftest* | 9465 rm -f conftest* |
9536 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9466 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9537 echo "$ac_t""yes" 1>&6 | 9467 echo "$ac_t""yes" 1>&6 |
9538 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9468 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9539 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9469 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9540 echo "configure:9541: checking for arpa/inet.h" >&5 | 9470 echo "configure:9471: checking for arpa/inet.h" >&5 |
9541 | 9471 |
9542 cat > conftest.$ac_ext <<EOF | 9472 cat > conftest.$ac_ext <<EOF |
9543 #line 9544 "configure" | 9473 #line 9474 "configure" |
9544 #include "confdefs.h" | 9474 #include "confdefs.h" |
9545 #include <arpa/inet.h> | 9475 #include <arpa/inet.h> |
9546 EOF | 9476 EOF |
9547 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9548 { (eval echo configure:9549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9478 { (eval echo configure:9479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9549 ac_err=`grep -v '^ *+' conftest.out` | 9479 ac_err=`grep -v '^ *+' conftest.out` |
9550 if test -z "$ac_err"; then | 9480 if test -z "$ac_err"; then |
9551 rm -rf conftest* | 9481 rm -rf conftest* |
9552 eval "ac_cv_header_$ac_safe=yes" | 9482 eval "ac_cv_header_$ac_safe=yes" |
9553 else | 9483 else |
9568 #define HAVE_SOCKETS 1 | 9498 #define HAVE_SOCKETS 1 |
9569 EOF | 9499 EOF |
9570 } | 9500 } |
9571 | 9501 |
9572 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9502 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9573 echo "configure:9574: checking "for sun_len member in struct sockaddr_un"" >&5 | 9503 echo "configure:9504: checking "for sun_len member in struct sockaddr_un"" >&5 |
9574 cat > conftest.$ac_ext <<EOF | 9504 cat > conftest.$ac_ext <<EOF |
9575 #line 9576 "configure" | 9505 #line 9506 "configure" |
9576 #include "confdefs.h" | 9506 #include "confdefs.h" |
9577 | 9507 |
9578 #include <sys/types.h> | 9508 #include <sys/types.h> |
9579 #include <sys/socket.h> | 9509 #include <sys/socket.h> |
9580 #include <sys/un.h> | 9510 #include <sys/un.h> |
9581 | 9511 |
9582 int main() { | 9512 int main() { |
9583 static struct sockaddr_un x; x.sun_len = 1; | 9513 static struct sockaddr_un x; x.sun_len = 1; |
9584 ; return 0; } | 9514 ; return 0; } |
9585 EOF | 9515 EOF |
9586 if { (eval echo configure:9587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9516 if { (eval echo configure:9517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9587 rm -rf conftest* | 9517 rm -rf conftest* |
9588 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9518 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9589 Defining HAVE_SOCKADDR_SUN_LEN | 9519 Defining HAVE_SOCKADDR_SUN_LEN |
9590 EOF | 9520 EOF |
9591 cat >> confdefs.h <<\EOF | 9521 cat >> confdefs.h <<\EOF |
9599 rm -rf conftest* | 9529 rm -rf conftest* |
9600 echo "$ac_t""no" 1>&6 | 9530 echo "$ac_t""no" 1>&6 |
9601 fi | 9531 fi |
9602 rm -f conftest* | 9532 rm -f conftest* |
9603 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9533 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
9604 echo "configure:9605: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9534 echo "configure:9535: checking "for ip_mreq struct in netinet/in.h"" >&5 |
9605 cat > conftest.$ac_ext <<EOF | 9535 cat > conftest.$ac_ext <<EOF |
9606 #line 9607 "configure" | 9536 #line 9537 "configure" |
9607 #include "confdefs.h" | 9537 #include "confdefs.h" |
9608 | 9538 |
9609 #include <sys/types.h> | 9539 #include <sys/types.h> |
9610 #include <netinet/in.h> | 9540 #include <netinet/in.h> |
9611 | 9541 |
9612 int main() { | 9542 int main() { |
9613 static struct ip_mreq x; | 9543 static struct ip_mreq x; |
9614 ; return 0; } | 9544 ; return 0; } |
9615 EOF | 9545 EOF |
9616 if { (eval echo configure:9617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9546 if { (eval echo configure:9547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9617 rm -rf conftest* | 9547 rm -rf conftest* |
9618 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9548 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9619 Defining HAVE_MULTICAST | 9549 Defining HAVE_MULTICAST |
9620 EOF | 9550 EOF |
9621 cat >> confdefs.h <<\EOF | 9551 cat >> confdefs.h <<\EOF |
9642 echo "$ac_t""no" 1>&6 | 9572 echo "$ac_t""no" 1>&6 |
9643 fi | 9573 fi |
9644 | 9574 |
9645 | 9575 |
9646 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 9576 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
9647 echo "configure:9648: checking for msgget" >&5 | 9577 echo "configure:9578: checking for msgget" >&5 |
9648 | 9578 |
9649 cat > conftest.$ac_ext <<EOF | 9579 cat > conftest.$ac_ext <<EOF |
9650 #line 9651 "configure" | 9580 #line 9581 "configure" |
9651 #include "confdefs.h" | 9581 #include "confdefs.h" |
9652 /* System header to define __stub macros and hopefully few prototypes, | 9582 /* System header to define __stub macros and hopefully few prototypes, |
9653 which can conflict with char msgget(); below. */ | 9583 which can conflict with char msgget(); below. */ |
9654 #include <assert.h> | 9584 #include <assert.h> |
9655 /* Override any gcc2 internal prototype to avoid an error. */ | 9585 /* Override any gcc2 internal prototype to avoid an error. */ |
9668 msgget(); | 9598 msgget(); |
9669 #endif | 9599 #endif |
9670 | 9600 |
9671 ; return 0; } | 9601 ; return 0; } |
9672 EOF | 9602 EOF |
9673 if { (eval echo configure:9674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9603 if { (eval echo configure:9604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9674 rm -rf conftest* | 9604 rm -rf conftest* |
9675 eval "ac_cv_func_msgget=yes" | 9605 eval "ac_cv_func_msgget=yes" |
9676 else | 9606 else |
9677 echo "configure: failed program was:" >&5 | 9607 echo "configure: failed program was:" >&5 |
9678 cat conftest.$ac_ext >&5 | 9608 cat conftest.$ac_ext >&5 |
9683 | 9613 |
9684 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 9614 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
9685 echo "$ac_t""yes" 1>&6 | 9615 echo "$ac_t""yes" 1>&6 |
9686 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 9616 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
9687 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 9617 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
9688 echo "configure:9689: checking for sys/ipc.h" >&5 | 9618 echo "configure:9619: checking for sys/ipc.h" >&5 |
9689 | 9619 |
9690 cat > conftest.$ac_ext <<EOF | 9620 cat > conftest.$ac_ext <<EOF |
9691 #line 9692 "configure" | 9621 #line 9622 "configure" |
9692 #include "confdefs.h" | 9622 #include "confdefs.h" |
9693 #include <sys/ipc.h> | 9623 #include <sys/ipc.h> |
9694 EOF | 9624 EOF |
9695 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9696 { (eval echo configure:9697: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9626 { (eval echo configure:9627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9697 ac_err=`grep -v '^ *+' conftest.out` | 9627 ac_err=`grep -v '^ *+' conftest.out` |
9698 if test -z "$ac_err"; then | 9628 if test -z "$ac_err"; then |
9699 rm -rf conftest* | 9629 rm -rf conftest* |
9700 eval "ac_cv_header_$ac_safe=yes" | 9630 eval "ac_cv_header_$ac_safe=yes" |
9701 else | 9631 else |
9708 rm -f conftest* | 9638 rm -f conftest* |
9709 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9639 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9710 echo "$ac_t""yes" 1>&6 | 9640 echo "$ac_t""yes" 1>&6 |
9711 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 9641 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
9712 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 9642 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
9713 echo "configure:9714: checking for sys/msg.h" >&5 | 9643 echo "configure:9644: checking for sys/msg.h" >&5 |
9714 | 9644 |
9715 cat > conftest.$ac_ext <<EOF | 9645 cat > conftest.$ac_ext <<EOF |
9716 #line 9717 "configure" | 9646 #line 9647 "configure" |
9717 #include "confdefs.h" | 9647 #include "confdefs.h" |
9718 #include <sys/msg.h> | 9648 #include <sys/msg.h> |
9719 EOF | 9649 EOF |
9720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9650 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9721 { (eval echo configure:9722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9651 { (eval echo configure:9652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9722 ac_err=`grep -v '^ *+' conftest.out` | 9652 ac_err=`grep -v '^ *+' conftest.out` |
9723 if test -z "$ac_err"; then | 9653 if test -z "$ac_err"; then |
9724 rm -rf conftest* | 9654 rm -rf conftest* |
9725 eval "ac_cv_header_$ac_safe=yes" | 9655 eval "ac_cv_header_$ac_safe=yes" |
9726 else | 9656 else |
9754 fi | 9684 fi |
9755 | 9685 |
9756 | 9686 |
9757 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 9687 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
9758 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 9688 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
9759 echo "configure:9760: checking for dirent.h" >&5 | 9689 echo "configure:9690: checking for dirent.h" >&5 |
9760 | 9690 |
9761 cat > conftest.$ac_ext <<EOF | 9691 cat > conftest.$ac_ext <<EOF |
9762 #line 9763 "configure" | 9692 #line 9693 "configure" |
9763 #include "confdefs.h" | 9693 #include "confdefs.h" |
9764 #include <dirent.h> | 9694 #include <dirent.h> |
9765 EOF | 9695 EOF |
9766 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9767 { (eval echo configure:9768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9697 { (eval echo configure:9698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9768 ac_err=`grep -v '^ *+' conftest.out` | 9698 ac_err=`grep -v '^ *+' conftest.out` |
9769 if test -z "$ac_err"; then | 9699 if test -z "$ac_err"; then |
9770 rm -rf conftest* | 9700 rm -rf conftest* |
9771 eval "ac_cv_header_$ac_safe=yes" | 9701 eval "ac_cv_header_$ac_safe=yes" |
9772 else | 9702 else |
9789 | 9719 |
9790 else | 9720 else |
9791 echo "$ac_t""no" 1>&6 | 9721 echo "$ac_t""no" 1>&6 |
9792 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 9722 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
9793 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 9723 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
9794 echo "configure:9795: checking for sys/dir.h" >&5 | 9724 echo "configure:9725: checking for sys/dir.h" >&5 |
9795 | 9725 |
9796 cat > conftest.$ac_ext <<EOF | 9726 cat > conftest.$ac_ext <<EOF |
9797 #line 9798 "configure" | 9727 #line 9728 "configure" |
9798 #include "confdefs.h" | 9728 #include "confdefs.h" |
9799 #include <sys/dir.h> | 9729 #include <sys/dir.h> |
9800 EOF | 9730 EOF |
9801 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9802 { (eval echo configure:9803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9732 { (eval echo configure:9733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9803 ac_err=`grep -v '^ *+' conftest.out` | 9733 ac_err=`grep -v '^ *+' conftest.out` |
9804 if test -z "$ac_err"; then | 9734 if test -z "$ac_err"; then |
9805 rm -rf conftest* | 9735 rm -rf conftest* |
9806 eval "ac_cv_header_$ac_safe=yes" | 9736 eval "ac_cv_header_$ac_safe=yes" |
9807 else | 9737 else |
9830 fi | 9760 fi |
9831 | 9761 |
9832 | 9762 |
9833 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 9763 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
9834 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 9764 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
9835 echo "configure:9836: checking for nlist.h" >&5 | 9765 echo "configure:9766: checking for nlist.h" >&5 |
9836 | 9766 |
9837 cat > conftest.$ac_ext <<EOF | 9767 cat > conftest.$ac_ext <<EOF |
9838 #line 9839 "configure" | 9768 #line 9769 "configure" |
9839 #include "confdefs.h" | 9769 #include "confdefs.h" |
9840 #include <nlist.h> | 9770 #include <nlist.h> |
9841 EOF | 9771 EOF |
9842 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9772 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9843 { (eval echo configure:9844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9773 { (eval echo configure:9774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9844 ac_err=`grep -v '^ *+' conftest.out` | 9774 ac_err=`grep -v '^ *+' conftest.out` |
9845 if test -z "$ac_err"; then | 9775 if test -z "$ac_err"; then |
9846 rm -rf conftest* | 9776 rm -rf conftest* |
9847 eval "ac_cv_header_$ac_safe=yes" | 9777 eval "ac_cv_header_$ac_safe=yes" |
9848 else | 9778 else |
9868 fi | 9798 fi |
9869 | 9799 |
9870 | 9800 |
9871 | 9801 |
9872 echo "checking "for sound support"" 1>&6 | 9802 echo "checking "for sound support"" 1>&6 |
9873 echo "configure:9874: checking "for sound support"" >&5 | 9803 echo "configure:9804: checking "for sound support"" >&5 |
9874 case "$with_sound" in | 9804 case "$with_sound" in |
9875 native | both ) with_native_sound=yes;; | 9805 native | both ) with_native_sound=yes;; |
9876 nas | no ) with_native_sound=no;; | 9806 nas | no ) with_native_sound=no;; |
9877 esac | 9807 esac |
9878 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 9808 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
9879 | 9809 |
9880 if test "$with_native_sound" != "no"; then | 9810 if test "$with_native_sound" != "no"; then |
9881 if test -n "$native_sound_lib"; then | 9811 if test -n "$native_sound_lib"; then |
9882 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 9812 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
9883 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 9813 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
9884 echo "configure:9885: checking for multimedia/audio_device.h" >&5 | 9814 echo "configure:9815: checking for multimedia/audio_device.h" >&5 |
9885 | 9815 |
9886 cat > conftest.$ac_ext <<EOF | 9816 cat > conftest.$ac_ext <<EOF |
9887 #line 9888 "configure" | 9817 #line 9818 "configure" |
9888 #include "confdefs.h" | 9818 #include "confdefs.h" |
9889 #include <multimedia/audio_device.h> | 9819 #include <multimedia/audio_device.h> |
9890 EOF | 9820 EOF |
9891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9892 { (eval echo configure:9893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9822 { (eval echo configure:9823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9893 ac_err=`grep -v '^ *+' conftest.out` | 9823 ac_err=`grep -v '^ *+' conftest.out` |
9894 if test -z "$ac_err"; then | 9824 if test -z "$ac_err"; then |
9895 rm -rf conftest* | 9825 rm -rf conftest* |
9896 eval "ac_cv_header_$ac_safe=yes" | 9826 eval "ac_cv_header_$ac_safe=yes" |
9897 else | 9827 else |
9935 case "$canonical" in | 9865 case "$canonical" in |
9936 *-sgi-* ) | 9866 *-sgi-* ) |
9937 if test -z "$native_sound_lib"; then | 9867 if test -z "$native_sound_lib"; then |
9938 | 9868 |
9939 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9869 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
9940 echo "configure:9941: checking for ALopenport in -laudio" >&5 | 9870 echo "configure:9871: checking for ALopenport in -laudio" >&5 |
9941 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9871 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
9942 | 9872 |
9943 xe_check_libs=" -laudio " | 9873 xe_check_libs=" -laudio " |
9944 cat > conftest.$ac_ext <<EOF | 9874 cat > conftest.$ac_ext <<EOF |
9945 #line 9946 "configure" | 9875 #line 9876 "configure" |
9946 #include "confdefs.h" | 9876 #include "confdefs.h" |
9947 /* Override any gcc2 internal prototype to avoid an error. */ | 9877 /* Override any gcc2 internal prototype to avoid an error. */ |
9948 /* We use char because int might match the return type of a gcc2 | 9878 /* We use char because int might match the return type of a gcc2 |
9949 builtin and then its argument prototype would still apply. */ | 9879 builtin and then its argument prototype would still apply. */ |
9950 char ALopenport(); | 9880 char ALopenport(); |
9951 | 9881 |
9952 int main() { | 9882 int main() { |
9953 ALopenport() | 9883 ALopenport() |
9954 ; return 0; } | 9884 ; return 0; } |
9955 EOF | 9885 EOF |
9956 if { (eval echo configure:9957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9886 if { (eval echo configure:9887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9957 rm -rf conftest* | 9887 rm -rf conftest* |
9958 eval "ac_cv_lib_$ac_lib_var=yes" | 9888 eval "ac_cv_lib_$ac_lib_var=yes" |
9959 else | 9889 else |
9960 echo "configure: failed program was:" >&5 | 9890 echo "configure: failed program was:" >&5 |
9961 cat conftest.$ac_ext >&5 | 9891 cat conftest.$ac_ext >&5 |
9982 fi ;; | 9912 fi ;; |
9983 hppa*-hp-hpux* ) | 9913 hppa*-hp-hpux* ) |
9984 if test -z "$native_sound_lib"; then | 9914 if test -z "$native_sound_lib"; then |
9985 | 9915 |
9986 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9916 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
9987 echo "configure:9988: checking for AOpenAudio in -lAlib" >&5 | 9917 echo "configure:9918: checking for AOpenAudio in -lAlib" >&5 |
9988 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9918 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
9989 | 9919 |
9990 xe_check_libs=" -lAlib " | 9920 xe_check_libs=" -lAlib " |
9991 cat > conftest.$ac_ext <<EOF | 9921 cat > conftest.$ac_ext <<EOF |
9992 #line 9993 "configure" | 9922 #line 9923 "configure" |
9993 #include "confdefs.h" | 9923 #include "confdefs.h" |
9994 /* Override any gcc2 internal prototype to avoid an error. */ | 9924 /* Override any gcc2 internal prototype to avoid an error. */ |
9995 /* We use char because int might match the return type of a gcc2 | 9925 /* We use char because int might match the return type of a gcc2 |
9996 builtin and then its argument prototype would still apply. */ | 9926 builtin and then its argument prototype would still apply. */ |
9997 char AOpenAudio(); | 9927 char AOpenAudio(); |
9998 | 9928 |
9999 int main() { | 9929 int main() { |
10000 AOpenAudio() | 9930 AOpenAudio() |
10001 ; return 0; } | 9931 ; return 0; } |
10002 EOF | 9932 EOF |
10003 if { (eval echo configure:10004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9933 if { (eval echo configure:9934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10004 rm -rf conftest* | 9934 rm -rf conftest* |
10005 eval "ac_cv_lib_$ac_lib_var=yes" | 9935 eval "ac_cv_lib_$ac_lib_var=yes" |
10006 else | 9936 else |
10007 echo "configure: failed program was:" >&5 | 9937 echo "configure: failed program was:" >&5 |
10008 cat conftest.$ac_ext >&5 | 9938 cat conftest.$ac_ext >&5 |
10036 | 9966 |
10037 if test -z "$sound_found"; then | 9967 if test -z "$sound_found"; then |
10038 for dir in "machine" "sys" "linux"; do | 9968 for dir in "machine" "sys" "linux"; do |
10039 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 9969 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10040 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 9970 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10041 echo "configure:10042: checking for ${dir}/soundcard.h" >&5 | 9971 echo "configure:9972: checking for ${dir}/soundcard.h" >&5 |
10042 | 9972 |
10043 cat > conftest.$ac_ext <<EOF | 9973 cat > conftest.$ac_ext <<EOF |
10044 #line 10045 "configure" | 9974 #line 9975 "configure" |
10045 #include "confdefs.h" | 9975 #include "confdefs.h" |
10046 #include <${dir}/soundcard.h> | 9976 #include <${dir}/soundcard.h> |
10047 EOF | 9977 EOF |
10048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10049 { (eval echo configure:10050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9979 { (eval echo configure:9980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10050 ac_err=`grep -v '^ *+' conftest.out` | 9980 ac_err=`grep -v '^ *+' conftest.out` |
10051 if test -z "$ac_err"; then | 9981 if test -z "$ac_err"; then |
10052 rm -rf conftest* | 9982 rm -rf conftest* |
10053 eval "ac_cv_header_$ac_safe=yes" | 9983 eval "ac_cv_header_$ac_safe=yes" |
10054 else | 9984 else |
10114 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10044 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10115 echo " xemacs will be linked with \"nas.o\"" | 10045 echo " xemacs will be linked with \"nas.o\"" |
10116 fi | 10046 fi |
10117 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10047 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10118 cat > conftest.$ac_ext <<EOF | 10048 cat > conftest.$ac_ext <<EOF |
10119 #line 10120 "configure" | 10049 #line 10050 "configure" |
10120 #include "confdefs.h" | 10050 #include "confdefs.h" |
10121 #include <audio/Xtutil.h> | 10051 #include <audio/Xtutil.h> |
10122 EOF | 10052 EOF |
10123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10124 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10054 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10141 | 10071 |
10142 test -z "$with_tty" && with_tty=yes | 10072 test -z "$with_tty" && with_tty=yes |
10143 | 10073 |
10144 if test "$with_tty" = "yes" ; then | 10074 if test "$with_tty" = "yes" ; then |
10145 echo "checking for TTY-related features" 1>&6 | 10075 echo "checking for TTY-related features" 1>&6 |
10146 echo "configure:10147: checking for TTY-related features" >&5 | 10076 echo "configure:10077: checking for TTY-related features" >&5 |
10147 { test "$extra_verbose" = "yes" && cat << \EOF | 10077 { test "$extra_verbose" = "yes" && cat << \EOF |
10148 Defining HAVE_TTY | 10078 Defining HAVE_TTY |
10149 EOF | 10079 EOF |
10150 cat >> confdefs.h <<\EOF | 10080 cat >> confdefs.h <<\EOF |
10151 #define HAVE_TTY 1 | 10081 #define HAVE_TTY 1 |
10157 fi | 10087 fi |
10158 | 10088 |
10159 if test -z "$with_ncurses"; then | 10089 if test -z "$with_ncurses"; then |
10160 | 10090 |
10161 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10091 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10162 echo "configure:10163: checking for tgetent in -lncurses" >&5 | 10092 echo "configure:10093: checking for tgetent in -lncurses" >&5 |
10163 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10093 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10164 | 10094 |
10165 xe_check_libs=" -lncurses " | 10095 xe_check_libs=" -lncurses " |
10166 cat > conftest.$ac_ext <<EOF | 10096 cat > conftest.$ac_ext <<EOF |
10167 #line 10168 "configure" | 10097 #line 10098 "configure" |
10168 #include "confdefs.h" | 10098 #include "confdefs.h" |
10169 /* Override any gcc2 internal prototype to avoid an error. */ | 10099 /* Override any gcc2 internal prototype to avoid an error. */ |
10170 /* We use char because int might match the return type of a gcc2 | 10100 /* We use char because int might match the return type of a gcc2 |
10171 builtin and then its argument prototype would still apply. */ | 10101 builtin and then its argument prototype would still apply. */ |
10172 char tgetent(); | 10102 char tgetent(); |
10173 | 10103 |
10174 int main() { | 10104 int main() { |
10175 tgetent() | 10105 tgetent() |
10176 ; return 0; } | 10106 ; return 0; } |
10177 EOF | 10107 EOF |
10178 if { (eval echo configure:10179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10108 if { (eval echo configure:10109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10179 rm -rf conftest* | 10109 rm -rf conftest* |
10180 eval "ac_cv_lib_$ac_lib_var=yes" | 10110 eval "ac_cv_lib_$ac_lib_var=yes" |
10181 else | 10111 else |
10182 echo "configure: failed program was:" >&5 | 10112 echo "configure: failed program was:" >&5 |
10183 cat conftest.$ac_ext >&5 | 10113 cat conftest.$ac_ext >&5 |
10206 EOF | 10136 EOF |
10207 } | 10137 } |
10208 | 10138 |
10209 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10139 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10210 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10140 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10211 echo "configure:10212: checking for ncurses/curses.h" >&5 | 10141 echo "configure:10142: checking for ncurses/curses.h" >&5 |
10212 | 10142 |
10213 cat > conftest.$ac_ext <<EOF | 10143 cat > conftest.$ac_ext <<EOF |
10214 #line 10215 "configure" | 10144 #line 10145 "configure" |
10215 #include "confdefs.h" | 10145 #include "confdefs.h" |
10216 #include <ncurses/curses.h> | 10146 #include <ncurses/curses.h> |
10217 EOF | 10147 EOF |
10218 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10219 { (eval echo configure:10220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10149 { (eval echo configure:10150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10220 ac_err=`grep -v '^ *+' conftest.out` | 10150 ac_err=`grep -v '^ *+' conftest.out` |
10221 if test -z "$ac_err"; then | 10151 if test -z "$ac_err"; then |
10222 rm -rf conftest* | 10152 rm -rf conftest* |
10223 eval "ac_cv_header_$ac_safe=yes" | 10153 eval "ac_cv_header_$ac_safe=yes" |
10224 else | 10154 else |
10236 echo "$ac_t""no" 1>&6 | 10166 echo "$ac_t""no" 1>&6 |
10237 fi | 10167 fi |
10238 | 10168 |
10239 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10169 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10240 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10170 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10241 echo "configure:10242: checking for ncurses/term.h" >&5 | 10171 echo "configure:10172: checking for ncurses/term.h" >&5 |
10242 | 10172 |
10243 cat > conftest.$ac_ext <<EOF | 10173 cat > conftest.$ac_ext <<EOF |
10244 #line 10245 "configure" | 10174 #line 10175 "configure" |
10245 #include "confdefs.h" | 10175 #include "confdefs.h" |
10246 #include <ncurses/term.h> | 10176 #include <ncurses/term.h> |
10247 EOF | 10177 EOF |
10248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10249 { (eval echo configure:10250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10179 { (eval echo configure:10180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10250 ac_err=`grep -v '^ *+' conftest.out` | 10180 ac_err=`grep -v '^ *+' conftest.out` |
10251 if test -z "$ac_err"; then | 10181 if test -z "$ac_err"; then |
10252 rm -rf conftest* | 10182 rm -rf conftest* |
10253 eval "ac_cv_header_$ac_safe=yes" | 10183 eval "ac_cv_header_$ac_safe=yes" |
10254 else | 10184 else |
10274 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10204 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10275 save_c_switch_site="$c_switch_site" | 10205 save_c_switch_site="$c_switch_site" |
10276 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10206 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10277 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10207 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10278 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10208 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10279 echo "configure:10280: checking for ncurses/curses.h" >&5 | 10209 echo "configure:10210: checking for ncurses/curses.h" >&5 |
10280 | 10210 |
10281 cat > conftest.$ac_ext <<EOF | 10211 cat > conftest.$ac_ext <<EOF |
10282 #line 10283 "configure" | 10212 #line 10213 "configure" |
10283 #include "confdefs.h" | 10213 #include "confdefs.h" |
10284 #include <ncurses/curses.h> | 10214 #include <ncurses/curses.h> |
10285 EOF | 10215 EOF |
10286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10287 { (eval echo configure:10288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10217 { (eval echo configure:10218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10288 ac_err=`grep -v '^ *+' conftest.out` | 10218 ac_err=`grep -v '^ *+' conftest.out` |
10289 if test -z "$ac_err"; then | 10219 if test -z "$ac_err"; then |
10290 rm -rf conftest* | 10220 rm -rf conftest* |
10291 eval "ac_cv_header_$ac_safe=yes" | 10221 eval "ac_cv_header_$ac_safe=yes" |
10292 else | 10222 else |
10317 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10247 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10318 else | 10248 else |
10319 for lib in curses termlib termcap; do | 10249 for lib in curses termlib termcap; do |
10320 | 10250 |
10321 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10251 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10322 echo "configure:10323: checking for tgetent in -l$lib" >&5 | 10252 echo "configure:10253: checking for tgetent in -l$lib" >&5 |
10323 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10253 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10324 | 10254 |
10325 xe_check_libs=" -l$lib " | 10255 xe_check_libs=" -l$lib " |
10326 cat > conftest.$ac_ext <<EOF | 10256 cat > conftest.$ac_ext <<EOF |
10327 #line 10328 "configure" | 10257 #line 10258 "configure" |
10328 #include "confdefs.h" | 10258 #include "confdefs.h" |
10329 /* Override any gcc2 internal prototype to avoid an error. */ | 10259 /* Override any gcc2 internal prototype to avoid an error. */ |
10330 /* We use char because int might match the return type of a gcc2 | 10260 /* We use char because int might match the return type of a gcc2 |
10331 builtin and then its argument prototype would still apply. */ | 10261 builtin and then its argument prototype would still apply. */ |
10332 char tgetent(); | 10262 char tgetent(); |
10333 | 10263 |
10334 int main() { | 10264 int main() { |
10335 tgetent() | 10265 tgetent() |
10336 ; return 0; } | 10266 ; return 0; } |
10337 EOF | 10267 EOF |
10338 if { (eval echo configure:10339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10268 if { (eval echo configure:10269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10339 rm -rf conftest* | 10269 rm -rf conftest* |
10340 eval "ac_cv_lib_$ac_lib_var=yes" | 10270 eval "ac_cv_lib_$ac_lib_var=yes" |
10341 else | 10271 else |
10342 echo "configure: failed program was:" >&5 | 10272 echo "configure: failed program was:" >&5 |
10343 cat conftest.$ac_ext >&5 | 10273 cat conftest.$ac_ext >&5 |
10364 if test -n "$libs_termcap"; then | 10294 if test -n "$libs_termcap"; then |
10365 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10295 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10366 else | 10296 else |
10367 | 10297 |
10368 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10298 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10369 echo "configure:10370: checking for tgetent in -lcurses" >&5 | 10299 echo "configure:10300: checking for tgetent in -lcurses" >&5 |
10370 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10300 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10371 | 10301 |
10372 xe_check_libs=" -lcurses " | 10302 xe_check_libs=" -lcurses " |
10373 cat > conftest.$ac_ext <<EOF | 10303 cat > conftest.$ac_ext <<EOF |
10374 #line 10375 "configure" | 10304 #line 10305 "configure" |
10375 #include "confdefs.h" | 10305 #include "confdefs.h" |
10376 /* Override any gcc2 internal prototype to avoid an error. */ | 10306 /* Override any gcc2 internal prototype to avoid an error. */ |
10377 /* We use char because int might match the return type of a gcc2 | 10307 /* We use char because int might match the return type of a gcc2 |
10378 builtin and then its argument prototype would still apply. */ | 10308 builtin and then its argument prototype would still apply. */ |
10379 char tgetent(); | 10309 char tgetent(); |
10380 | 10310 |
10381 int main() { | 10311 int main() { |
10382 tgetent() | 10312 tgetent() |
10383 ; return 0; } | 10313 ; return 0; } |
10384 EOF | 10314 EOF |
10385 if { (eval echo configure:10386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10315 if { (eval echo configure:10316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10386 rm -rf conftest* | 10316 rm -rf conftest* |
10387 eval "ac_cv_lib_$ac_lib_var=yes" | 10317 eval "ac_cv_lib_$ac_lib_var=yes" |
10388 else | 10318 else |
10389 echo "configure: failed program was:" >&5 | 10319 echo "configure: failed program was:" >&5 |
10390 cat conftest.$ac_ext >&5 | 10320 cat conftest.$ac_ext >&5 |
10398 echo "$ac_t""yes" 1>&6 | 10328 echo "$ac_t""yes" 1>&6 |
10399 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10329 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10400 else | 10330 else |
10401 echo "$ac_t""no" 1>&6 | 10331 echo "$ac_t""no" 1>&6 |
10402 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10332 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10403 echo "configure:10404: checking for tgetent in -ltermcap" >&5 | 10333 echo "configure:10334: checking for tgetent in -ltermcap" >&5 |
10404 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10334 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10405 | 10335 |
10406 xe_check_libs=" -ltermcap " | 10336 xe_check_libs=" -ltermcap " |
10407 cat > conftest.$ac_ext <<EOF | 10337 cat > conftest.$ac_ext <<EOF |
10408 #line 10409 "configure" | 10338 #line 10339 "configure" |
10409 #include "confdefs.h" | 10339 #include "confdefs.h" |
10410 /* Override any gcc2 internal prototype to avoid an error. */ | 10340 /* Override any gcc2 internal prototype to avoid an error. */ |
10411 /* We use char because int might match the return type of a gcc2 | 10341 /* We use char because int might match the return type of a gcc2 |
10412 builtin and then its argument prototype would still apply. */ | 10342 builtin and then its argument prototype would still apply. */ |
10413 char tgetent(); | 10343 char tgetent(); |
10414 | 10344 |
10415 int main() { | 10345 int main() { |
10416 tgetent() | 10346 tgetent() |
10417 ; return 0; } | 10347 ; return 0; } |
10418 EOF | 10348 EOF |
10419 if { (eval echo configure:10420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10349 if { (eval echo configure:10350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10420 rm -rf conftest* | 10350 rm -rf conftest* |
10421 eval "ac_cv_lib_$ac_lib_var=yes" | 10351 eval "ac_cv_lib_$ac_lib_var=yes" |
10422 else | 10352 else |
10423 echo "configure: failed program was:" >&5 | 10353 echo "configure: failed program was:" >&5 |
10424 cat conftest.$ac_ext >&5 | 10354 cat conftest.$ac_ext >&5 |
10462 } | 10392 } |
10463 | 10393 |
10464 | 10394 |
10465 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10395 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10466 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10396 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10467 echo "configure:10468: checking for gpm.h" >&5 | 10397 echo "configure:10398: checking for gpm.h" >&5 |
10468 | 10398 |
10469 cat > conftest.$ac_ext <<EOF | 10399 cat > conftest.$ac_ext <<EOF |
10470 #line 10471 "configure" | 10400 #line 10401 "configure" |
10471 #include "confdefs.h" | 10401 #include "confdefs.h" |
10472 #include <gpm.h> | 10402 #include <gpm.h> |
10473 EOF | 10403 EOF |
10474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10404 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10475 { (eval echo configure:10476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10405 { (eval echo configure:10406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10476 ac_err=`grep -v '^ *+' conftest.out` | 10406 ac_err=`grep -v '^ *+' conftest.out` |
10477 if test -z "$ac_err"; then | 10407 if test -z "$ac_err"; then |
10478 rm -rf conftest* | 10408 rm -rf conftest* |
10479 eval "ac_cv_header_$ac_safe=yes" | 10409 eval "ac_cv_header_$ac_safe=yes" |
10480 else | 10410 else |
10493 with_gpm=no | 10423 with_gpm=no |
10494 fi | 10424 fi |
10495 } | 10425 } |
10496 test -z "$with_gpm" && { | 10426 test -z "$with_gpm" && { |
10497 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10427 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10498 echo "configure:10499: checking for Gpm_Open in -lgpm" >&5 | 10428 echo "configure:10429: checking for Gpm_Open in -lgpm" >&5 |
10499 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10429 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10500 | 10430 |
10501 xe_check_libs=" -lgpm " | 10431 xe_check_libs=" -lgpm " |
10502 cat > conftest.$ac_ext <<EOF | 10432 cat > conftest.$ac_ext <<EOF |
10503 #line 10504 "configure" | 10433 #line 10434 "configure" |
10504 #include "confdefs.h" | 10434 #include "confdefs.h" |
10505 /* Override any gcc2 internal prototype to avoid an error. */ | 10435 /* Override any gcc2 internal prototype to avoid an error. */ |
10506 /* We use char because int might match the return type of a gcc2 | 10436 /* We use char because int might match the return type of a gcc2 |
10507 builtin and then its argument prototype would still apply. */ | 10437 builtin and then its argument prototype would still apply. */ |
10508 char Gpm_Open(); | 10438 char Gpm_Open(); |
10509 | 10439 |
10510 int main() { | 10440 int main() { |
10511 Gpm_Open() | 10441 Gpm_Open() |
10512 ; return 0; } | 10442 ; return 0; } |
10513 EOF | 10443 EOF |
10514 if { (eval echo configure:10515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10444 if { (eval echo configure:10445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10515 rm -rf conftest* | 10445 rm -rf conftest* |
10516 eval "ac_cv_lib_$ac_lib_var=yes" | 10446 eval "ac_cv_lib_$ac_lib_var=yes" |
10517 else | 10447 else |
10518 echo "configure: failed program was:" >&5 | 10448 echo "configure: failed program was:" >&5 |
10519 cat conftest.$ac_ext >&5 | 10449 cat conftest.$ac_ext >&5 |
10558 echo " xemacs will be linked with \"event-unixoid.o\"" | 10488 echo " xemacs will be linked with \"event-unixoid.o\"" |
10559 fi | 10489 fi |
10560 | 10490 |
10561 | 10491 |
10562 echo "checking for database support" 1>&6 | 10492 echo "checking for database support" 1>&6 |
10563 echo "configure:10564: checking for database support" >&5 | 10493 echo "configure:10494: checking for database support" >&5 |
10564 | 10494 |
10565 if test "$with_database_gnudbm" != "no"; then | 10495 if test "$with_database_gnudbm" != "no"; then |
10566 for ac_hdr in ndbm.h | 10496 for ac_hdr in ndbm.h |
10567 do | 10497 do |
10568 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10498 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10569 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10499 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10570 echo "configure:10571: checking for $ac_hdr" >&5 | 10500 echo "configure:10501: checking for $ac_hdr" >&5 |
10571 | 10501 |
10572 cat > conftest.$ac_ext <<EOF | 10502 cat > conftest.$ac_ext <<EOF |
10573 #line 10574 "configure" | 10503 #line 10504 "configure" |
10574 #include "confdefs.h" | 10504 #include "confdefs.h" |
10575 #include <$ac_hdr> | 10505 #include <$ac_hdr> |
10576 EOF | 10506 EOF |
10577 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10578 { (eval echo configure:10579: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10508 { (eval echo configure:10509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10579 ac_err=`grep -v '^ *+' conftest.out` | 10509 ac_err=`grep -v '^ *+' conftest.out` |
10580 if test -z "$ac_err"; then | 10510 if test -z "$ac_err"; then |
10581 rm -rf conftest* | 10511 rm -rf conftest* |
10582 eval "ac_cv_header_$ac_safe=yes" | 10512 eval "ac_cv_header_$ac_safe=yes" |
10583 else | 10513 else |
10605 done | 10535 done |
10606 | 10536 |
10607 if test "$have_ndbm_h" = "yes"; then | 10537 if test "$have_ndbm_h" = "yes"; then |
10608 | 10538 |
10609 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10539 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
10610 echo "configure:10611: checking for dbm_open in -lgdbm" >&5 | 10540 echo "configure:10541: checking for dbm_open in -lgdbm" >&5 |
10611 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10541 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10612 | 10542 |
10613 xe_check_libs=" -lgdbm " | 10543 xe_check_libs=" -lgdbm " |
10614 cat > conftest.$ac_ext <<EOF | 10544 cat > conftest.$ac_ext <<EOF |
10615 #line 10616 "configure" | 10545 #line 10546 "configure" |
10616 #include "confdefs.h" | 10546 #include "confdefs.h" |
10617 /* Override any gcc2 internal prototype to avoid an error. */ | 10547 /* Override any gcc2 internal prototype to avoid an error. */ |
10618 /* We use char because int might match the return type of a gcc2 | 10548 /* We use char because int might match the return type of a gcc2 |
10619 builtin and then its argument prototype would still apply. */ | 10549 builtin and then its argument prototype would still apply. */ |
10620 char dbm_open(); | 10550 char dbm_open(); |
10621 | 10551 |
10622 int main() { | 10552 int main() { |
10623 dbm_open() | 10553 dbm_open() |
10624 ; return 0; } | 10554 ; return 0; } |
10625 EOF | 10555 EOF |
10626 if { (eval echo configure:10627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10556 if { (eval echo configure:10557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10627 rm -rf conftest* | 10557 rm -rf conftest* |
10628 eval "ac_cv_lib_$ac_lib_var=yes" | 10558 eval "ac_cv_lib_$ac_lib_var=yes" |
10629 else | 10559 else |
10630 echo "configure: failed program was:" >&5 | 10560 echo "configure: failed program was:" >&5 |
10631 cat conftest.$ac_ext >&5 | 10561 cat conftest.$ac_ext >&5 |
10644 | 10574 |
10645 | 10575 |
10646 fi | 10576 fi |
10647 if test "$with_database_gnudbm" != "yes"; then | 10577 if test "$with_database_gnudbm" != "yes"; then |
10648 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10578 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10649 echo "configure:10650: checking for dbm_open" >&5 | 10579 echo "configure:10580: checking for dbm_open" >&5 |
10650 | 10580 |
10651 cat > conftest.$ac_ext <<EOF | 10581 cat > conftest.$ac_ext <<EOF |
10652 #line 10653 "configure" | 10582 #line 10583 "configure" |
10653 #include "confdefs.h" | 10583 #include "confdefs.h" |
10654 /* System header to define __stub macros and hopefully few prototypes, | 10584 /* System header to define __stub macros and hopefully few prototypes, |
10655 which can conflict with char dbm_open(); below. */ | 10585 which can conflict with char dbm_open(); below. */ |
10656 #include <assert.h> | 10586 #include <assert.h> |
10657 /* Override any gcc2 internal prototype to avoid an error. */ | 10587 /* Override any gcc2 internal prototype to avoid an error. */ |
10670 dbm_open(); | 10600 dbm_open(); |
10671 #endif | 10601 #endif |
10672 | 10602 |
10673 ; return 0; } | 10603 ; return 0; } |
10674 EOF | 10604 EOF |
10675 if { (eval echo configure:10676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10605 if { (eval echo configure:10606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10676 rm -rf conftest* | 10606 rm -rf conftest* |
10677 eval "ac_cv_func_dbm_open=yes" | 10607 eval "ac_cv_func_dbm_open=yes" |
10678 else | 10608 else |
10679 echo "configure: failed program was:" >&5 | 10609 echo "configure: failed program was:" >&5 |
10680 cat conftest.$ac_ext >&5 | 10610 cat conftest.$ac_ext >&5 |
10706 fi | 10636 fi |
10707 fi | 10637 fi |
10708 | 10638 |
10709 if test "$with_database_dbm" != "no"; then | 10639 if test "$with_database_dbm" != "no"; then |
10710 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10640 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10711 echo "configure:10712: checking for dbm_open" >&5 | 10641 echo "configure:10642: checking for dbm_open" >&5 |
10712 | 10642 |
10713 cat > conftest.$ac_ext <<EOF | 10643 cat > conftest.$ac_ext <<EOF |
10714 #line 10715 "configure" | 10644 #line 10645 "configure" |
10715 #include "confdefs.h" | 10645 #include "confdefs.h" |
10716 /* System header to define __stub macros and hopefully few prototypes, | 10646 /* System header to define __stub macros and hopefully few prototypes, |
10717 which can conflict with char dbm_open(); below. */ | 10647 which can conflict with char dbm_open(); below. */ |
10718 #include <assert.h> | 10648 #include <assert.h> |
10719 /* Override any gcc2 internal prototype to avoid an error. */ | 10649 /* Override any gcc2 internal prototype to avoid an error. */ |
10732 dbm_open(); | 10662 dbm_open(); |
10733 #endif | 10663 #endif |
10734 | 10664 |
10735 ; return 0; } | 10665 ; return 0; } |
10736 EOF | 10666 EOF |
10737 if { (eval echo configure:10738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10667 if { (eval echo configure:10668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10738 rm -rf conftest* | 10668 rm -rf conftest* |
10739 eval "ac_cv_func_dbm_open=yes" | 10669 eval "ac_cv_func_dbm_open=yes" |
10740 else | 10670 else |
10741 echo "configure: failed program was:" >&5 | 10671 echo "configure: failed program was:" >&5 |
10742 cat conftest.$ac_ext >&5 | 10672 cat conftest.$ac_ext >&5 |
10753 fi | 10683 fi |
10754 | 10684 |
10755 if test "$need_libdbm" != "no"; then | 10685 if test "$need_libdbm" != "no"; then |
10756 | 10686 |
10757 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 10687 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
10758 echo "configure:10759: checking for dbm_open in -ldbm" >&5 | 10688 echo "configure:10689: checking for dbm_open in -ldbm" >&5 |
10759 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10689 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10760 | 10690 |
10761 xe_check_libs=" -ldbm " | 10691 xe_check_libs=" -ldbm " |
10762 cat > conftest.$ac_ext <<EOF | 10692 cat > conftest.$ac_ext <<EOF |
10763 #line 10764 "configure" | 10693 #line 10694 "configure" |
10764 #include "confdefs.h" | 10694 #include "confdefs.h" |
10765 /* Override any gcc2 internal prototype to avoid an error. */ | 10695 /* Override any gcc2 internal prototype to avoid an error. */ |
10766 /* We use char because int might match the return type of a gcc2 | 10696 /* We use char because int might match the return type of a gcc2 |
10767 builtin and then its argument prototype would still apply. */ | 10697 builtin and then its argument prototype would still apply. */ |
10768 char dbm_open(); | 10698 char dbm_open(); |
10769 | 10699 |
10770 int main() { | 10700 int main() { |
10771 dbm_open() | 10701 dbm_open() |
10772 ; return 0; } | 10702 ; return 0; } |
10773 EOF | 10703 EOF |
10774 if { (eval echo configure:10775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10704 if { (eval echo configure:10705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10775 rm -rf conftest* | 10705 rm -rf conftest* |
10776 eval "ac_cv_lib_$ac_lib_var=yes" | 10706 eval "ac_cv_lib_$ac_lib_var=yes" |
10777 else | 10707 else |
10778 echo "configure: failed program was:" >&5 | 10708 echo "configure: failed program was:" >&5 |
10779 cat conftest.$ac_ext >&5 | 10709 cat conftest.$ac_ext >&5 |
10806 fi | 10736 fi |
10807 fi | 10737 fi |
10808 | 10738 |
10809 if test "$with_database_berkdb" != "no"; then | 10739 if test "$with_database_berkdb" != "no"; then |
10810 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 10740 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
10811 echo "configure:10812: checking for Berkeley db.h" >&5 | 10741 echo "configure:10742: checking for Berkeley db.h" >&5 |
10812 for path in "db/db.h" "db.h"; do | 10742 for path in "db/db.h" "db.h"; do |
10813 cat > conftest.$ac_ext <<EOF | 10743 cat > conftest.$ac_ext <<EOF |
10814 #line 10815 "configure" | 10744 #line 10745 "configure" |
10815 #include "confdefs.h" | 10745 #include "confdefs.h" |
10816 #ifdef HAVE_INTTYPES_H | 10746 #ifdef HAVE_INTTYPES_H |
10817 #define __BIT_TYPES_DEFINED__ | 10747 #define __BIT_TYPES_DEFINED__ |
10818 #include <inttypes.h> | 10748 #include <inttypes.h> |
10819 typedef uint8_t u_int8_t; | 10749 typedef uint8_t u_int8_t; |
10827 | 10757 |
10828 int main() { | 10758 int main() { |
10829 | 10759 |
10830 ; return 0; } | 10760 ; return 0; } |
10831 EOF | 10761 EOF |
10832 if { (eval echo configure:10833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10762 if { (eval echo configure:10763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10833 rm -rf conftest* | 10763 rm -rf conftest* |
10834 db_h_path="$path"; break | 10764 db_h_path="$path"; break |
10835 else | 10765 else |
10836 echo "configure: failed program was:" >&5 | 10766 echo "configure: failed program was:" >&5 |
10837 cat conftest.$ac_ext >&5 | 10767 cat conftest.$ac_ext >&5 |
10843 else echo "$ac_t""$db_h_path" 1>&6 | 10773 else echo "$ac_t""$db_h_path" 1>&6 |
10844 fi | 10774 fi |
10845 | 10775 |
10846 if test "$with_database_berkdb" != "no"; then | 10776 if test "$with_database_berkdb" != "no"; then |
10847 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 10777 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
10848 echo "configure:10849: checking for Berkeley DB version" >&5 | 10778 echo "configure:10779: checking for Berkeley DB version" >&5 |
10849 cat > conftest.$ac_ext <<EOF | 10779 cat > conftest.$ac_ext <<EOF |
10850 #line 10851 "configure" | 10780 #line 10781 "configure" |
10851 #include "confdefs.h" | 10781 #include "confdefs.h" |
10852 #include <$db_h_path> | 10782 #include <$db_h_path> |
10853 #if DB_VERSION_MAJOR > 1 | 10783 #if DB_VERSION_MAJOR > 1 |
10854 yes | 10784 yes |
10855 #endif | 10785 #endif |
10864 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 10794 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
10865 fi | 10795 fi |
10866 rm -f conftest* | 10796 rm -f conftest* |
10867 | 10797 |
10868 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 10798 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
10869 echo "configure:10870: checking for $dbfunc" >&5 | 10799 echo "configure:10800: checking for $dbfunc" >&5 |
10870 | 10800 |
10871 cat > conftest.$ac_ext <<EOF | 10801 cat > conftest.$ac_ext <<EOF |
10872 #line 10873 "configure" | 10802 #line 10803 "configure" |
10873 #include "confdefs.h" | 10803 #include "confdefs.h" |
10874 /* System header to define __stub macros and hopefully few prototypes, | 10804 /* System header to define __stub macros and hopefully few prototypes, |
10875 which can conflict with char $dbfunc(); below. */ | 10805 which can conflict with char $dbfunc(); below. */ |
10876 #include <assert.h> | 10806 #include <assert.h> |
10877 /* Override any gcc2 internal prototype to avoid an error. */ | 10807 /* Override any gcc2 internal prototype to avoid an error. */ |
10890 $dbfunc(); | 10820 $dbfunc(); |
10891 #endif | 10821 #endif |
10892 | 10822 |
10893 ; return 0; } | 10823 ; return 0; } |
10894 EOF | 10824 EOF |
10895 if { (eval echo configure:10896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10825 if { (eval echo configure:10826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10896 rm -rf conftest* | 10826 rm -rf conftest* |
10897 eval "ac_cv_func_$dbfunc=yes" | 10827 eval "ac_cv_func_$dbfunc=yes" |
10898 else | 10828 else |
10899 echo "configure: failed program was:" >&5 | 10829 echo "configure: failed program was:" >&5 |
10900 cat conftest.$ac_ext >&5 | 10830 cat conftest.$ac_ext >&5 |
10909 else | 10839 else |
10910 echo "$ac_t""no" 1>&6 | 10840 echo "$ac_t""no" 1>&6 |
10911 | 10841 |
10912 | 10842 |
10913 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 10843 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
10914 echo "configure:10915: checking for $dbfunc in -ldb" >&5 | 10844 echo "configure:10845: checking for $dbfunc in -ldb" >&5 |
10915 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 10845 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
10916 | 10846 |
10917 xe_check_libs=" -ldb " | 10847 xe_check_libs=" -ldb " |
10918 cat > conftest.$ac_ext <<EOF | 10848 cat > conftest.$ac_ext <<EOF |
10919 #line 10920 "configure" | 10849 #line 10850 "configure" |
10920 #include "confdefs.h" | 10850 #include "confdefs.h" |
10921 /* Override any gcc2 internal prototype to avoid an error. */ | 10851 /* Override any gcc2 internal prototype to avoid an error. */ |
10922 /* We use char because int might match the return type of a gcc2 | 10852 /* We use char because int might match the return type of a gcc2 |
10923 builtin and then its argument prototype would still apply. */ | 10853 builtin and then its argument prototype would still apply. */ |
10924 char $dbfunc(); | 10854 char $dbfunc(); |
10925 | 10855 |
10926 int main() { | 10856 int main() { |
10927 $dbfunc() | 10857 $dbfunc() |
10928 ; return 0; } | 10858 ; return 0; } |
10929 EOF | 10859 EOF |
10930 if { (eval echo configure:10931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10860 if { (eval echo configure:10861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10931 rm -rf conftest* | 10861 rm -rf conftest* |
10932 eval "ac_cv_lib_$ac_lib_var=yes" | 10862 eval "ac_cv_lib_$ac_lib_var=yes" |
10933 else | 10863 else |
10934 echo "configure: failed program was:" >&5 | 10864 echo "configure: failed program was:" >&5 |
10935 cat conftest.$ac_ext >&5 | 10865 cat conftest.$ac_ext >&5 |
10989 fi | 10919 fi |
10990 | 10920 |
10991 if test "$with_socks" = "yes"; then | 10921 if test "$with_socks" = "yes"; then |
10992 | 10922 |
10993 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10923 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
10994 echo "configure:10995: checking for SOCKSinit in -lsocks" >&5 | 10924 echo "configure:10925: checking for SOCKSinit in -lsocks" >&5 |
10995 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10925 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
10996 | 10926 |
10997 xe_check_libs=" -lsocks " | 10927 xe_check_libs=" -lsocks " |
10998 cat > conftest.$ac_ext <<EOF | 10928 cat > conftest.$ac_ext <<EOF |
10999 #line 11000 "configure" | 10929 #line 10930 "configure" |
11000 #include "confdefs.h" | 10930 #include "confdefs.h" |
11001 /* Override any gcc2 internal prototype to avoid an error. */ | 10931 /* Override any gcc2 internal prototype to avoid an error. */ |
11002 /* We use char because int might match the return type of a gcc2 | 10932 /* We use char because int might match the return type of a gcc2 |
11003 builtin and then its argument prototype would still apply. */ | 10933 builtin and then its argument prototype would still apply. */ |
11004 char SOCKSinit(); | 10934 char SOCKSinit(); |
11005 | 10935 |
11006 int main() { | 10936 int main() { |
11007 SOCKSinit() | 10937 SOCKSinit() |
11008 ; return 0; } | 10938 ; return 0; } |
11009 EOF | 10939 EOF |
11010 if { (eval echo configure:11011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10940 if { (eval echo configure:10941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11011 rm -rf conftest* | 10941 rm -rf conftest* |
11012 eval "ac_cv_lib_$ac_lib_var=yes" | 10942 eval "ac_cv_lib_$ac_lib_var=yes" |
11013 else | 10943 else |
11014 echo "configure: failed program was:" >&5 | 10944 echo "configure: failed program was:" >&5 |
11015 cat conftest.$ac_ext >&5 | 10945 cat conftest.$ac_ext >&5 |
11062 | 10992 |
11063 for ac_hdr in dlfcn.h | 10993 for ac_hdr in dlfcn.h |
11064 do | 10994 do |
11065 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10995 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11066 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10996 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11067 echo "configure:11068: checking for $ac_hdr" >&5 | 10997 echo "configure:10998: checking for $ac_hdr" >&5 |
11068 | 10998 |
11069 cat > conftest.$ac_ext <<EOF | 10999 cat > conftest.$ac_ext <<EOF |
11070 #line 11071 "configure" | 11000 #line 11001 "configure" |
11071 #include "confdefs.h" | 11001 #include "confdefs.h" |
11072 #include <$ac_hdr> | 11002 #include <$ac_hdr> |
11073 EOF | 11003 EOF |
11074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11075 { (eval echo configure:11076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11005 { (eval echo configure:11006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11076 ac_err=`grep -v '^ *+' conftest.out` | 11006 ac_err=`grep -v '^ *+' conftest.out` |
11077 if test -z "$ac_err"; then | 11007 if test -z "$ac_err"; then |
11078 rm -rf conftest* | 11008 rm -rf conftest* |
11079 eval "ac_cv_header_$ac_safe=yes" | 11009 eval "ac_cv_header_$ac_safe=yes" |
11080 else | 11010 else |
11101 fi | 11031 fi |
11102 done | 11032 done |
11103 | 11033 |
11104 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11034 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11105 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11035 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11106 echo "configure:11107: checking for dlopen in -ldl" >&5 | 11036 echo "configure:11037: checking for dlopen in -ldl" >&5 |
11107 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11037 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11108 | 11038 |
11109 xe_check_libs=" -ldl " | 11039 xe_check_libs=" -ldl " |
11110 cat > conftest.$ac_ext <<EOF | 11040 cat > conftest.$ac_ext <<EOF |
11111 #line 11112 "configure" | 11041 #line 11042 "configure" |
11112 #include "confdefs.h" | 11042 #include "confdefs.h" |
11113 /* Override any gcc2 internal prototype to avoid an error. */ | 11043 /* Override any gcc2 internal prototype to avoid an error. */ |
11114 /* We use char because int might match the return type of a gcc2 | 11044 /* We use char because int might match the return type of a gcc2 |
11115 builtin and then its argument prototype would still apply. */ | 11045 builtin and then its argument prototype would still apply. */ |
11116 char dlopen(); | 11046 char dlopen(); |
11117 | 11047 |
11118 int main() { | 11048 int main() { |
11119 dlopen() | 11049 dlopen() |
11120 ; return 0; } | 11050 ; return 0; } |
11121 EOF | 11051 EOF |
11122 if { (eval echo configure:11123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11052 if { (eval echo configure:11053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11123 rm -rf conftest* | 11053 rm -rf conftest* |
11124 eval "ac_cv_lib_$ac_lib_var=yes" | 11054 eval "ac_cv_lib_$ac_lib_var=yes" |
11125 else | 11055 else |
11126 echo "configure: failed program was:" >&5 | 11056 echo "configure: failed program was:" >&5 |
11127 cat conftest.$ac_ext >&5 | 11057 cat conftest.$ac_ext >&5 |
11146 fi | 11076 fi |
11147 | 11077 |
11148 } | 11078 } |
11149 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11079 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11150 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11080 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11151 echo "configure:11152: checking for _dlopen in -lc" >&5 | 11081 echo "configure:11082: checking for _dlopen in -lc" >&5 |
11152 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11082 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11153 | 11083 |
11154 xe_check_libs=" -lc " | 11084 xe_check_libs=" -lc " |
11155 cat > conftest.$ac_ext <<EOF | 11085 cat > conftest.$ac_ext <<EOF |
11156 #line 11157 "configure" | 11086 #line 11087 "configure" |
11157 #include "confdefs.h" | 11087 #include "confdefs.h" |
11158 /* Override any gcc2 internal prototype to avoid an error. */ | 11088 /* Override any gcc2 internal prototype to avoid an error. */ |
11159 /* We use char because int might match the return type of a gcc2 | 11089 /* We use char because int might match the return type of a gcc2 |
11160 builtin and then its argument prototype would still apply. */ | 11090 builtin and then its argument prototype would still apply. */ |
11161 char _dlopen(); | 11091 char _dlopen(); |
11162 | 11092 |
11163 int main() { | 11093 int main() { |
11164 _dlopen() | 11094 _dlopen() |
11165 ; return 0; } | 11095 ; return 0; } |
11166 EOF | 11096 EOF |
11167 if { (eval echo configure:11168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11097 if { (eval echo configure:11098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11168 rm -rf conftest* | 11098 rm -rf conftest* |
11169 eval "ac_cv_lib_$ac_lib_var=yes" | 11099 eval "ac_cv_lib_$ac_lib_var=yes" |
11170 else | 11100 else |
11171 echo "configure: failed program was:" >&5 | 11101 echo "configure: failed program was:" >&5 |
11172 cat conftest.$ac_ext >&5 | 11102 cat conftest.$ac_ext >&5 |
11191 fi | 11121 fi |
11192 | 11122 |
11193 } | 11123 } |
11194 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11124 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11195 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11125 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11196 echo "configure:11197: checking for dlopen in -lc" >&5 | 11126 echo "configure:11127: checking for dlopen in -lc" >&5 |
11197 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11127 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11198 | 11128 |
11199 xe_check_libs=" -lc " | 11129 xe_check_libs=" -lc " |
11200 cat > conftest.$ac_ext <<EOF | 11130 cat > conftest.$ac_ext <<EOF |
11201 #line 11202 "configure" | 11131 #line 11132 "configure" |
11202 #include "confdefs.h" | 11132 #include "confdefs.h" |
11203 /* Override any gcc2 internal prototype to avoid an error. */ | 11133 /* Override any gcc2 internal prototype to avoid an error. */ |
11204 /* We use char because int might match the return type of a gcc2 | 11134 /* We use char because int might match the return type of a gcc2 |
11205 builtin and then its argument prototype would still apply. */ | 11135 builtin and then its argument prototype would still apply. */ |
11206 char dlopen(); | 11136 char dlopen(); |
11207 | 11137 |
11208 int main() { | 11138 int main() { |
11209 dlopen() | 11139 dlopen() |
11210 ; return 0; } | 11140 ; return 0; } |
11211 EOF | 11141 EOF |
11212 if { (eval echo configure:11213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11142 if { (eval echo configure:11143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11213 rm -rf conftest* | 11143 rm -rf conftest* |
11214 eval "ac_cv_lib_$ac_lib_var=yes" | 11144 eval "ac_cv_lib_$ac_lib_var=yes" |
11215 else | 11145 else |
11216 echo "configure: failed program was:" >&5 | 11146 echo "configure: failed program was:" >&5 |
11217 cat conftest.$ac_ext >&5 | 11147 cat conftest.$ac_ext >&5 |
11236 fi | 11166 fi |
11237 | 11167 |
11238 } | 11168 } |
11239 test -z "$with_shlib" && { | 11169 test -z "$with_shlib" && { |
11240 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11170 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11241 echo "configure:11242: checking for shl_load in -ldld" >&5 | 11171 echo "configure:11172: checking for shl_load in -ldld" >&5 |
11242 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11172 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11243 | 11173 |
11244 xe_check_libs=" -ldld " | 11174 xe_check_libs=" -ldld " |
11245 cat > conftest.$ac_ext <<EOF | 11175 cat > conftest.$ac_ext <<EOF |
11246 #line 11247 "configure" | 11176 #line 11177 "configure" |
11247 #include "confdefs.h" | 11177 #include "confdefs.h" |
11248 /* Override any gcc2 internal prototype to avoid an error. */ | 11178 /* Override any gcc2 internal prototype to avoid an error. */ |
11249 /* We use char because int might match the return type of a gcc2 | 11179 /* We use char because int might match the return type of a gcc2 |
11250 builtin and then its argument prototype would still apply. */ | 11180 builtin and then its argument prototype would still apply. */ |
11251 char shl_load(); | 11181 char shl_load(); |
11252 | 11182 |
11253 int main() { | 11183 int main() { |
11254 shl_load() | 11184 shl_load() |
11255 ; return 0; } | 11185 ; return 0; } |
11256 EOF | 11186 EOF |
11257 if { (eval echo configure:11258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11187 if { (eval echo configure:11188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11258 rm -rf conftest* | 11188 rm -rf conftest* |
11259 eval "ac_cv_lib_$ac_lib_var=yes" | 11189 eval "ac_cv_lib_$ac_lib_var=yes" |
11260 else | 11190 else |
11261 echo "configure: failed program was:" >&5 | 11191 echo "configure: failed program was:" >&5 |
11262 cat conftest.$ac_ext >&5 | 11192 cat conftest.$ac_ext >&5 |
11281 fi | 11211 fi |
11282 | 11212 |
11283 } | 11213 } |
11284 test -z "$with_shlib" && { | 11214 test -z "$with_shlib" && { |
11285 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11215 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11286 echo "configure:11287: checking for dld_init in -ldld" >&5 | 11216 echo "configure:11217: checking for dld_init in -ldld" >&5 |
11287 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11217 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11288 | 11218 |
11289 xe_check_libs=" -ldld " | 11219 xe_check_libs=" -ldld " |
11290 cat > conftest.$ac_ext <<EOF | 11220 cat > conftest.$ac_ext <<EOF |
11291 #line 11292 "configure" | 11221 #line 11222 "configure" |
11292 #include "confdefs.h" | 11222 #include "confdefs.h" |
11293 /* Override any gcc2 internal prototype to avoid an error. */ | 11223 /* Override any gcc2 internal prototype to avoid an error. */ |
11294 /* We use char because int might match the return type of a gcc2 | 11224 /* We use char because int might match the return type of a gcc2 |
11295 builtin and then its argument prototype would still apply. */ | 11225 builtin and then its argument prototype would still apply. */ |
11296 char dld_init(); | 11226 char dld_init(); |
11297 | 11227 |
11298 int main() { | 11228 int main() { |
11299 dld_init() | 11229 dld_init() |
11300 ; return 0; } | 11230 ; return 0; } |
11301 EOF | 11231 EOF |
11302 if { (eval echo configure:11303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11232 if { (eval echo configure:11233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11303 rm -rf conftest* | 11233 rm -rf conftest* |
11304 eval "ac_cv_lib_$ac_lib_var=yes" | 11234 eval "ac_cv_lib_$ac_lib_var=yes" |
11305 else | 11235 else |
11306 echo "configure: failed program was:" >&5 | 11236 echo "configure: failed program was:" >&5 |
11307 cat conftest.$ac_ext >&5 | 11237 cat conftest.$ac_ext >&5 |
11347 dll_lflags="-shared" | 11277 dll_lflags="-shared" |
11348 dll_cflags="-r" | 11278 dll_cflags="-r" |
11349 dll_oflags="-o " | 11279 dll_oflags="-o " |
11350 | 11280 |
11351 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11281 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11352 echo "configure:11353: checking how to build a shared library" >&5 | 11282 echo "configure:11283: checking how to build a shared library" >&5 |
11353 case `uname -rs` in | 11283 case `uname -rs` in |
11354 UNIX_SV*|UNIX_System_V*) | 11284 UNIX_SV*|UNIX_System_V*) |
11355 dll_lflags="-G" | 11285 dll_lflags="-G" |
11356 dll_cflags=-Kpic | 11286 dll_cflags=-Kpic |
11357 dll_ld="ld" | 11287 dll_ld="ld" |
11438 | 11368 |
11439 | 11369 |
11440 for ac_func in dlerror | 11370 for ac_func in dlerror |
11441 do | 11371 do |
11442 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11372 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11443 echo "configure:11444: checking for $ac_func" >&5 | 11373 echo "configure:11374: checking for $ac_func" >&5 |
11444 | 11374 |
11445 cat > conftest.$ac_ext <<EOF | 11375 cat > conftest.$ac_ext <<EOF |
11446 #line 11447 "configure" | 11376 #line 11377 "configure" |
11447 #include "confdefs.h" | 11377 #include "confdefs.h" |
11448 /* System header to define __stub macros and hopefully few prototypes, | 11378 /* System header to define __stub macros and hopefully few prototypes, |
11449 which can conflict with char $ac_func(); below. */ | 11379 which can conflict with char $ac_func(); below. */ |
11450 #include <assert.h> | 11380 #include <assert.h> |
11451 /* Override any gcc2 internal prototype to avoid an error. */ | 11381 /* Override any gcc2 internal prototype to avoid an error. */ |
11464 $ac_func(); | 11394 $ac_func(); |
11465 #endif | 11395 #endif |
11466 | 11396 |
11467 ; return 0; } | 11397 ; return 0; } |
11468 EOF | 11398 EOF |
11469 if { (eval echo configure:11470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11399 if { (eval echo configure:11400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11470 rm -rf conftest* | 11400 rm -rf conftest* |
11471 eval "ac_cv_func_$ac_func=yes" | 11401 eval "ac_cv_func_$ac_func=yes" |
11472 else | 11402 else |
11473 echo "configure: failed program was:" >&5 | 11403 echo "configure: failed program was:" >&5 |
11474 cat conftest.$ac_ext >&5 | 11404 cat conftest.$ac_ext >&5 |
11500 *) ;; | 11430 *) ;; |
11501 esac | 11431 esac |
11502 fi | 11432 fi |
11503 | 11433 |
11504 cat > conftest.$ac_ext <<EOF | 11434 cat > conftest.$ac_ext <<EOF |
11505 #line 11506 "configure" | 11435 #line 11436 "configure" |
11506 #include "confdefs.h" | 11436 #include "confdefs.h" |
11507 int main(int c,char *v[]){return 0;} | 11437 int main(int c,char *v[]){return 0;} |
11508 EOF | 11438 EOF |
11509 if { (eval echo configure:11510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11439 if { (eval echo configure:11440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11510 then | 11440 then |
11511 : | 11441 : |
11512 else | 11442 else |
11513 conftest_rc="$?" | 11443 conftest_rc="$?" |
11514 echo "configure: failed program was:" >&5 | 11444 echo "configure: failed program was:" >&5 |
12065 if test "$with_xpm" = yes; then | 11995 if test "$with_xpm" = yes; then |
12066 echo " Compiling in support for XPM images." | 11996 echo " Compiling in support for XPM images." |
12067 elif test "$with_x11" = yes; then | 11997 elif test "$with_x11" = yes; then |
12068 echo " --------------------------------------------------------------------" | 11998 echo " --------------------------------------------------------------------" |
12069 echo " WARNING: Compiling without XPM support." | 11999 echo " WARNING: Compiling without XPM support." |
12070 echo " WARNING: You should strongly considering installing XPM." | 12000 echo " WARNING: You should strongly consider installing XPM." |
12071 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." | 12001 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." |
12002 echo " WARNING: (a copy may be found at ftp://ftp.xemacs.org/pub/xemacs/aux)" | |
12072 echo " --------------------------------------------------------------------" | 12003 echo " --------------------------------------------------------------------" |
12073 fi | 12004 fi |
12005 if test "$with_png" = yes; then | |
12006 echo " Compiling in support for PNG image handling." | |
12007 else | |
12008 echo " --------------------------------------------------------------------" | |
12009 echo " WARNING: Compiling without PNG image support." | |
12010 echo " WARNING: You should strongly consider installing the PNG libraries." | |
12011 echo " WARNING: Otherwise certain images and glyphs may not display." | |
12012 echo " WARNING: (a copy may be found at ftp://ftp.xemacs.org/pub/xemacs/aux)" | |
12013 echo " --------------------------------------------------------------------" | |
12014 fi | |
12074 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." | 12015 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." |
12075 test "$with_gif" = yes && echo " Compiling in support for GIF image conversion." | 12016 test "$with_gif" = yes && echo " Compiling in support for (builtin) GIF image handling." |
12076 test "$with_jpeg" = yes && echo " Compiling in support for JPEG image conversion." | 12017 test "$with_jpeg" = yes && echo " Compiling in support for JPEG image handling." |
12077 test "$with_png" = yes && echo " Compiling in support for PNG image conversion." | 12018 test "$with_tiff" = yes && echo " Compiling in support for TIFF image handling." |
12078 test "$with_tiff" = yes && echo " Compiling in support for TIFF image conversion." | |
12079 case "$with_sound" in | 12019 case "$with_sound" in |
12080 nas ) echo " Compiling in network sound (NAS) support." ;; | 12020 nas ) echo " Compiling in network sound (NAS) support." ;; |
12081 native ) echo " Compiling in native sound support." ;; | 12021 native ) echo " Compiling in native sound support." ;; |
12082 both ) echo " Compiling in both network and native sound support." ;; | 12022 both ) echo " Compiling in both network and native sound support." ;; |
12083 esac | 12023 esac |