comparison configure @ 357:4711e16a8e49 r21-1-8

Import from CVS: tag r21-1-8
author cvs
date Mon, 13 Aug 2007 10:57:04 +0200
parents 182f72e8cd0d
children 8e84bee8ddd0
comparison
equal deleted inserted replaced
356:e85f639a32f3 357:4711e16a8e49
6714 6714
6715 if test "$window_system" != "none"; then 6715 if test "$window_system" != "none"; then
6716 echo "checking for graphics libraries" 1>&6 6716 echo "checking for graphics libraries" 1>&6
6717 echo "configure:6718: checking for graphics libraries" >&5 6717 echo "configure:6718: checking for graphics libraries" >&5
6718 6718
6719
6720 echo $ac_n "checking for __T_9__nothrow in -lCsup""... $ac_c" 1>&6
6721 echo "configure:6722: checking for __T_9__nothrow in -lCsup" >&5
6722 ac_lib_var=`echo Csup'_'__T_9__nothrow | sed 'y%./+-%__p_%'`
6723
6724 xe_check_libs=" -lCsup "
6725 cat > conftest.$ac_ext <<EOF
6726 #line 6727 "configure"
6727 #include "confdefs.h"
6728 /* Override any gcc2 internal prototype to avoid an error. */
6729 /* We use char because int might match the return type of a gcc2
6730 builtin and then its argument prototype would still apply. */
6731 char __T_9__nothrow();
6732
6733 int main() {
6734 __T_9__nothrow()
6735 ; return 0; }
6736 EOF
6737 if { (eval echo configure:6738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6738 rm -rf conftest*
6739 eval "ac_cv_lib_$ac_lib_var=yes"
6740 else
6741 echo "configure: failed program was:" >&5
6742 cat conftest.$ac_ext >&5
6743 rm -rf conftest*
6744 eval "ac_cv_lib_$ac_lib_var=no"
6745 fi
6746 rm -f conftest*
6747 xe_check_libs=""
6748
6749 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
6750 echo "$ac_t""yes" 1>&6
6751 LIBS="-lCsup $LIBS"
6752 else
6753 echo "$ac_t""no" 1>&6
6754 fi
6755
6756
6757
6719 xpm_problem="" 6758 xpm_problem=""
6720 if test -z "$with_xpm"; then 6759 if test -z "$with_xpm"; then
6721 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 6760 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
6722 echo "configure:6723: checking for Xpm - no older than 3.4f" >&5 6761 echo "configure:6762: checking for Xpm - no older than 3.4f" >&5
6723 xe_check_libs=-lXpm 6762 xe_check_libs=-lXpm
6724 cat > conftest.$ac_ext <<EOF 6763 cat > conftest.$ac_ext <<EOF
6725 #line 6726 "configure" 6764 #line 6765 "configure"
6726 #include "confdefs.h" 6765 #include "confdefs.h"
6727 #include <X11/xpm.h> 6766 #include <X11/xpm.h>
6728 int main(int c, char **v) { 6767 int main(int c, char **v) {
6729 return c == 1 ? 0 : 6768 return c == 1 ? 0 :
6730 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 6769 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
6731 XpmIncludeVersion < 30406 ? 2 : 0 ;} 6770 XpmIncludeVersion < 30406 ? 2 : 0 ;}
6732 EOF 6771 EOF
6733 if { (eval echo configure:6734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 6772 if { (eval echo configure:6773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
6734 then 6773 then
6735 ./conftest dummy_arg; xpm_status=$?; 6774 ./conftest dummy_arg; xpm_status=$?;
6736 if test "$xpm_status" = "0"; then 6775 if test "$xpm_status" = "0"; then
6737 with_xpm=yes; 6776 with_xpm=yes;
6738 else 6777 else
6770 EOF 6809 EOF
6771 } 6810 }
6772 6811
6773 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 6812 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
6774 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 6813 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
6775 echo "configure:6776: checking for \"FOR_MSW\" xpm" >&5 6814 echo "configure:6815: checking for \"FOR_MSW\" xpm" >&5
6776 xe_check_libs=-lXpm 6815 xe_check_libs=-lXpm
6777 cat > conftest.$ac_ext <<EOF 6816 cat > conftest.$ac_ext <<EOF
6778 #line 6779 "configure" 6817 #line 6818 "configure"
6779 #include "confdefs.h" 6818 #include "confdefs.h"
6780 6819
6781 int main() { 6820 int main() {
6782 XpmCreatePixmapFromData() 6821 XpmCreatePixmapFromData()
6783 ; return 0; } 6822 ; return 0; }
6784 EOF 6823 EOF
6785 if { (eval echo configure:6786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6824 if { (eval echo configure:6825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6786 rm -rf conftest* 6825 rm -rf conftest*
6787 xpm_for_msw=no 6826 xpm_for_msw=no
6788 else 6827 else
6789 echo "configure: failed program was:" >&5 6828 echo "configure: failed program was:" >&5
6790 cat conftest.$ac_ext >&5 6829 cat conftest.$ac_ext >&5
6822 fi 6861 fi
6823 6862
6824 if test "$with_png $with_tiff" != "no no"; then 6863 if test "$with_png $with_tiff" != "no no"; then
6825 6864
6826 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 6865 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
6827 echo "configure:6828: checking for inflate in -lc" >&5 6866 echo "configure:6867: checking for inflate in -lc" >&5
6828 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 6867 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
6829 6868
6830 xe_check_libs=" -lc " 6869 xe_check_libs=" -lc "
6831 cat > conftest.$ac_ext <<EOF 6870 cat > conftest.$ac_ext <<EOF
6832 #line 6833 "configure" 6871 #line 6872 "configure"
6833 #include "confdefs.h" 6872 #include "confdefs.h"
6834 /* Override any gcc2 internal prototype to avoid an error. */ 6873 /* Override any gcc2 internal prototype to avoid an error. */
6835 /* We use char because int might match the return type of a gcc2 6874 /* We use char because int might match the return type of a gcc2
6836 builtin and then its argument prototype would still apply. */ 6875 builtin and then its argument prototype would still apply. */
6837 char inflate(); 6876 char inflate();
6838 6877
6839 int main() { 6878 int main() {
6840 inflate() 6879 inflate()
6841 ; return 0; } 6880 ; return 0; }
6842 EOF 6881 EOF
6843 if { (eval echo configure:6844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6882 if { (eval echo configure:6883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6844 rm -rf conftest* 6883 rm -rf conftest*
6845 eval "ac_cv_lib_$ac_lib_var=yes" 6884 eval "ac_cv_lib_$ac_lib_var=yes"
6846 else 6885 else
6847 echo "configure: failed program was:" >&5 6886 echo "configure: failed program was:" >&5
6848 cat conftest.$ac_ext >&5 6887 cat conftest.$ac_ext >&5
6857 : 6896 :
6858 else 6897 else
6859 echo "$ac_t""no" 1>&6 6898 echo "$ac_t""no" 1>&6
6860 6899
6861 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 6900 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
6862 echo "configure:6863: checking for inflate in -lz" >&5 6901 echo "configure:6902: checking for inflate in -lz" >&5
6863 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 6902 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
6864 6903
6865 xe_check_libs=" -lz " 6904 xe_check_libs=" -lz "
6866 cat > conftest.$ac_ext <<EOF 6905 cat > conftest.$ac_ext <<EOF
6867 #line 6868 "configure" 6906 #line 6907 "configure"
6868 #include "confdefs.h" 6907 #include "confdefs.h"
6869 /* Override any gcc2 internal prototype to avoid an error. */ 6908 /* Override any gcc2 internal prototype to avoid an error. */
6870 /* We use char because int might match the return type of a gcc2 6909 /* We use char because int might match the return type of a gcc2
6871 builtin and then its argument prototype would still apply. */ 6910 builtin and then its argument prototype would still apply. */
6872 char inflate(); 6911 char inflate();
6873 6912
6874 int main() { 6913 int main() {
6875 inflate() 6914 inflate()
6876 ; return 0; } 6915 ; return 0; }
6877 EOF 6916 EOF
6878 if { (eval echo configure:6879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6917 if { (eval echo configure:6918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6879 rm -rf conftest* 6918 rm -rf conftest*
6880 eval "ac_cv_lib_$ac_lib_var=yes" 6919 eval "ac_cv_lib_$ac_lib_var=yes"
6881 else 6920 else
6882 echo "configure: failed program was:" >&5 6921 echo "configure: failed program was:" >&5
6883 cat conftest.$ac_ext >&5 6922 cat conftest.$ac_ext >&5
6892 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 6931 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
6893 else 6932 else
6894 echo "$ac_t""no" 1>&6 6933 echo "$ac_t""no" 1>&6
6895 6934
6896 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 6935 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
6897 echo "configure:6898: checking for inflate in -lgz" >&5 6936 echo "configure:6937: checking for inflate in -lgz" >&5
6898 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 6937 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
6899 6938
6900 xe_check_libs=" -lgz " 6939 xe_check_libs=" -lgz "
6901 cat > conftest.$ac_ext <<EOF 6940 cat > conftest.$ac_ext <<EOF
6902 #line 6903 "configure" 6941 #line 6942 "configure"
6903 #include "confdefs.h" 6942 #include "confdefs.h"
6904 /* Override any gcc2 internal prototype to avoid an error. */ 6943 /* Override any gcc2 internal prototype to avoid an error. */
6905 /* We use char because int might match the return type of a gcc2 6944 /* We use char because int might match the return type of a gcc2
6906 builtin and then its argument prototype would still apply. */ 6945 builtin and then its argument prototype would still apply. */
6907 char inflate(); 6946 char inflate();
6908 6947
6909 int main() { 6948 int main() {
6910 inflate() 6949 inflate()
6911 ; return 0; } 6950 ; return 0; }
6912 EOF 6951 EOF
6913 if { (eval echo configure:6914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6952 if { (eval echo configure:6953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6914 rm -rf conftest* 6953 rm -rf conftest*
6915 eval "ac_cv_lib_$ac_lib_var=yes" 6954 eval "ac_cv_lib_$ac_lib_var=yes"
6916 else 6955 else
6917 echo "configure: failed program was:" >&5 6956 echo "configure: failed program was:" >&5
6918 cat conftest.$ac_ext >&5 6957 cat conftest.$ac_ext >&5
6938 6977
6939 fi 6978 fi
6940 6979
6941 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 6980 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
6942 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 6981 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
6943 echo "configure:6944: checking for jpeglib.h" >&5 6982 echo "configure:6983: checking for jpeglib.h" >&5
6944 6983
6945 cat > conftest.$ac_ext <<EOF 6984 cat > conftest.$ac_ext <<EOF
6946 #line 6947 "configure" 6985 #line 6986 "configure"
6947 #include "confdefs.h" 6986 #include "confdefs.h"
6948 #include <jpeglib.h> 6987 #include <jpeglib.h>
6949 EOF 6988 EOF
6950 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6951 { (eval echo configure:6952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6990 { (eval echo configure:6991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6952 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6991 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6953 if test -z "$ac_err"; then 6992 if test -z "$ac_err"; then
6954 rm -rf conftest* 6993 rm -rf conftest*
6955 eval "ac_cv_header_$ac_safe=yes" 6994 eval "ac_cv_header_$ac_safe=yes"
6956 else 6995 else
6969 with_jpeg=no 7008 with_jpeg=no
6970 fi 7009 fi
6971 } 7010 }
6972 test -z "$with_jpeg" && { 7011 test -z "$with_jpeg" && {
6973 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 7012 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
6974 echo "configure:6975: checking for jpeg_destroy_decompress in -ljpeg" >&5 7013 echo "configure:7014: checking for jpeg_destroy_decompress in -ljpeg" >&5
6975 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 7014 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
6976 7015
6977 xe_check_libs=" -ljpeg " 7016 xe_check_libs=" -ljpeg "
6978 cat > conftest.$ac_ext <<EOF 7017 cat > conftest.$ac_ext <<EOF
6979 #line 6980 "configure" 7018 #line 7019 "configure"
6980 #include "confdefs.h" 7019 #include "confdefs.h"
6981 /* Override any gcc2 internal prototype to avoid an error. */ 7020 /* Override any gcc2 internal prototype to avoid an error. */
6982 /* We use char because int might match the return type of a gcc2 7021 /* We use char because int might match the return type of a gcc2
6983 builtin and then its argument prototype would still apply. */ 7022 builtin and then its argument prototype would still apply. */
6984 char jpeg_destroy_decompress(); 7023 char jpeg_destroy_decompress();
6985 7024
6986 int main() { 7025 int main() {
6987 jpeg_destroy_decompress() 7026 jpeg_destroy_decompress()
6988 ; return 0; } 7027 ; return 0; }
6989 EOF 7028 EOF
6990 if { (eval echo configure:6991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6991 rm -rf conftest* 7030 rm -rf conftest*
6992 eval "ac_cv_lib_$ac_lib_var=yes" 7031 eval "ac_cv_lib_$ac_lib_var=yes"
6993 else 7032 else
6994 echo "configure: failed program was:" >&5 7033 echo "configure: failed program was:" >&5
6995 cat conftest.$ac_ext >&5 7034 cat conftest.$ac_ext >&5
7021 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 7060 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
7022 fi 7061 fi
7023 7062
7024 png_problem="" 7063 png_problem=""
7025 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 7064 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
7026 echo "configure:7027: checking for pow" >&5 7065 echo "configure:7066: checking for pow" >&5
7027 7066
7028 cat > conftest.$ac_ext <<EOF 7067 cat > conftest.$ac_ext <<EOF
7029 #line 7030 "configure" 7068 #line 7069 "configure"
7030 #include "confdefs.h" 7069 #include "confdefs.h"
7031 /* System header to define __stub macros and hopefully few prototypes, 7070 /* System header to define __stub macros and hopefully few prototypes,
7032 which can conflict with char pow(); below. */ 7071 which can conflict with char pow(); below. */
7033 #include <assert.h> 7072 #include <assert.h>
7034 /* Override any gcc2 internal prototype to avoid an error. */ 7073 /* Override any gcc2 internal prototype to avoid an error. */
7047 pow(); 7086 pow();
7048 #endif 7087 #endif
7049 7088
7050 ; return 0; } 7089 ; return 0; }
7051 EOF 7090 EOF
7052 if { (eval echo configure:7053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7091 if { (eval echo configure:7092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7053 rm -rf conftest* 7092 rm -rf conftest*
7054 eval "ac_cv_func_pow=yes" 7093 eval "ac_cv_func_pow=yes"
7055 else 7094 else
7056 echo "configure: failed program was:" >&5 7095 echo "configure: failed program was:" >&5
7057 cat conftest.$ac_ext >&5 7096 cat conftest.$ac_ext >&5
7068 with_png=no 7107 with_png=no
7069 fi 7108 fi
7070 } 7109 }
7071 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 7110 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
7072 echo $ac_n "checking for png.h""... $ac_c" 1>&6 7111 echo $ac_n "checking for png.h""... $ac_c" 1>&6
7073 echo "configure:7074: checking for png.h" >&5 7112 echo "configure:7113: checking for png.h" >&5
7074 7113
7075 cat > conftest.$ac_ext <<EOF 7114 cat > conftest.$ac_ext <<EOF
7076 #line 7077 "configure" 7115 #line 7116 "configure"
7077 #include "confdefs.h" 7116 #include "confdefs.h"
7078 #include <png.h> 7117 #include <png.h>
7079 EOF 7118 EOF
7080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7119 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7081 { (eval echo configure:7082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7120 { (eval echo configure:7121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7082 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7121 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7083 if test -z "$ac_err"; then 7122 if test -z "$ac_err"; then
7084 rm -rf conftest* 7123 rm -rf conftest*
7085 eval "ac_cv_header_$ac_safe=yes" 7124 eval "ac_cv_header_$ac_safe=yes"
7086 else 7125 else
7099 with_png=no 7138 with_png=no
7100 fi 7139 fi
7101 } 7140 }
7102 test -z "$with_png" && { 7141 test -z "$with_png" && {
7103 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 7142 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
7104 echo "configure:7105: checking for png_read_image in -lpng" >&5 7143 echo "configure:7144: checking for png_read_image in -lpng" >&5
7105 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 7144 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
7106 7145
7107 xe_check_libs=" -lpng " 7146 xe_check_libs=" -lpng "
7108 cat > conftest.$ac_ext <<EOF 7147 cat > conftest.$ac_ext <<EOF
7109 #line 7110 "configure" 7148 #line 7149 "configure"
7110 #include "confdefs.h" 7149 #include "confdefs.h"
7111 /* Override any gcc2 internal prototype to avoid an error. */ 7150 /* Override any gcc2 internal prototype to avoid an error. */
7112 /* We use char because int might match the return type of a gcc2 7151 /* We use char because int might match the return type of a gcc2
7113 builtin and then its argument prototype would still apply. */ 7152 builtin and then its argument prototype would still apply. */
7114 char png_read_image(); 7153 char png_read_image();
7115 7154
7116 int main() { 7155 int main() {
7117 png_read_image() 7156 png_read_image()
7118 ; return 0; } 7157 ; return 0; }
7119 EOF 7158 EOF
7120 if { (eval echo configure:7121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7159 if { (eval echo configure:7160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7121 rm -rf conftest* 7160 rm -rf conftest*
7122 eval "ac_cv_lib_$ac_lib_var=yes" 7161 eval "ac_cv_lib_$ac_lib_var=yes"
7123 else 7162 else
7124 echo "configure: failed program was:" >&5 7163 echo "configure: failed program was:" >&5
7125 cat conftest.$ac_ext >&5 7164 cat conftest.$ac_ext >&5
7138 fi 7177 fi
7139 7178
7140 } 7179 }
7141 if test -z "$with_png"; then 7180 if test -z "$with_png"; then
7142 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 7181 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
7143 echo "configure:7144: checking for workable png version information" >&5 7182 echo "configure:7183: checking for workable png version information" >&5
7144 xe_check_libs="-lpng -lz" 7183 xe_check_libs="-lpng -lz"
7145 cat > conftest.$ac_ext <<EOF 7184 cat > conftest.$ac_ext <<EOF
7146 #line 7147 "configure" 7185 #line 7186 "configure"
7147 #include "confdefs.h" 7186 #include "confdefs.h"
7148 #include <png.h> 7187 #include <png.h>
7149 int main(int c, char **v) { 7188 int main(int c, char **v) {
7150 if (c == 1) return 0; 7189 if (c == 1) return 0;
7151 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 7190 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
7152 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 7191 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
7153 EOF 7192 EOF
7154 if { (eval echo configure:7155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7193 if { (eval echo configure:7194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7155 then 7194 then
7156 ./conftest dummy_arg; png_status=$?; 7195 ./conftest dummy_arg; png_status=$?;
7157 if test "$png_status" = "0"; then 7196 if test "$png_status" = "0"; then
7158 with_png=yes; 7197 with_png=yes;
7159 else 7198 else
7192 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 7231 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
7193 fi 7232 fi
7194 7233
7195 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 7234 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
7196 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 7235 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
7197 echo "configure:7198: checking for tiffio.h" >&5 7236 echo "configure:7237: checking for tiffio.h" >&5
7198 7237
7199 cat > conftest.$ac_ext <<EOF 7238 cat > conftest.$ac_ext <<EOF
7200 #line 7201 "configure" 7239 #line 7240 "configure"
7201 #include "confdefs.h" 7240 #include "confdefs.h"
7202 #include <tiffio.h> 7241 #include <tiffio.h>
7203 EOF 7242 EOF
7204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7243 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7205 { (eval echo configure:7206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7244 { (eval echo configure:7245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7245 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7207 if test -z "$ac_err"; then 7246 if test -z "$ac_err"; then
7208 rm -rf conftest* 7247 rm -rf conftest*
7209 eval "ac_cv_header_$ac_safe=yes" 7248 eval "ac_cv_header_$ac_safe=yes"
7210 else 7249 else
7223 with_tiff=no 7262 with_tiff=no
7224 fi 7263 fi
7225 } 7264 }
7226 test -z "$with_tiff" && { 7265 test -z "$with_tiff" && {
7227 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 7266 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
7228 echo "configure:7229: checking for TIFFClientOpen in -ltiff" >&5 7267 echo "configure:7268: checking for TIFFClientOpen in -ltiff" >&5
7229 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 7268 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
7230 7269
7231 xe_check_libs=" -ltiff " 7270 xe_check_libs=" -ltiff "
7232 cat > conftest.$ac_ext <<EOF 7271 cat > conftest.$ac_ext <<EOF
7233 #line 7234 "configure" 7272 #line 7273 "configure"
7234 #include "confdefs.h" 7273 #include "confdefs.h"
7235 /* Override any gcc2 internal prototype to avoid an error. */ 7274 /* Override any gcc2 internal prototype to avoid an error. */
7236 /* We use char because int might match the return type of a gcc2 7275 /* We use char because int might match the return type of a gcc2
7237 builtin and then its argument prototype would still apply. */ 7276 builtin and then its argument prototype would still apply. */
7238 char TIFFClientOpen(); 7277 char TIFFClientOpen();
7239 7278
7240 int main() { 7279 int main() {
7241 TIFFClientOpen() 7280 TIFFClientOpen()
7242 ; return 0; } 7281 ; return 0; }
7243 EOF 7282 EOF
7244 if { (eval echo configure:7245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7283 if { (eval echo configure:7284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7245 rm -rf conftest* 7284 rm -rf conftest*
7246 eval "ac_cv_lib_$ac_lib_var=yes" 7285 eval "ac_cv_lib_$ac_lib_var=yes"
7247 else 7286 else
7248 echo "configure: failed program was:" >&5 7287 echo "configure: failed program was:" >&5
7249 cat conftest.$ac_ext >&5 7288 cat conftest.$ac_ext >&5
7278 7317
7279 7318
7280 if test "$with_x11" = "yes"; then 7319 if test "$with_x11" = "yes"; then
7281 7320
7282 echo "checking for X11 graphics libraries" 1>&6 7321 echo "checking for X11 graphics libraries" 1>&6
7283 echo "configure:7284: checking for X11 graphics libraries" >&5 7322 echo "configure:7323: checking for X11 graphics libraries" >&5
7284 7323
7285 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 7324 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
7286 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 7325 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
7287 echo "configure:7288: checking for compface.h" >&5 7326 echo "configure:7327: checking for compface.h" >&5
7288 7327
7289 cat > conftest.$ac_ext <<EOF 7328 cat > conftest.$ac_ext <<EOF
7290 #line 7291 "configure" 7329 #line 7330 "configure"
7291 #include "confdefs.h" 7330 #include "confdefs.h"
7292 #include <compface.h> 7331 #include <compface.h>
7293 EOF 7332 EOF
7294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7295 { (eval echo configure:7296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7334 { (eval echo configure:7335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7296 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7297 if test -z "$ac_err"; then 7336 if test -z "$ac_err"; then
7298 rm -rf conftest* 7337 rm -rf conftest*
7299 eval "ac_cv_header_$ac_safe=yes" 7338 eval "ac_cv_header_$ac_safe=yes"
7300 else 7339 else
7313 with_xface=no 7352 with_xface=no
7314 fi 7353 fi
7315 } 7354 }
7316 test -z "$with_xface" && { 7355 test -z "$with_xface" && {
7317 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 7356 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
7318 echo "configure:7319: checking for UnGenFace in -lcompface" >&5 7357 echo "configure:7358: checking for UnGenFace in -lcompface" >&5
7319 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 7358 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
7320 7359
7321 xe_check_libs=" -lcompface " 7360 xe_check_libs=" -lcompface "
7322 cat > conftest.$ac_ext <<EOF 7361 cat > conftest.$ac_ext <<EOF
7323 #line 7324 "configure" 7362 #line 7363 "configure"
7324 #include "confdefs.h" 7363 #include "confdefs.h"
7325 /* Override any gcc2 internal prototype to avoid an error. */ 7364 /* Override any gcc2 internal prototype to avoid an error. */
7326 /* We use char because int might match the return type of a gcc2 7365 /* We use char because int might match the return type of a gcc2
7327 builtin and then its argument prototype would still apply. */ 7366 builtin and then its argument prototype would still apply. */
7328 char UnGenFace(); 7367 char UnGenFace();
7329 7368
7330 int main() { 7369 int main() {
7331 UnGenFace() 7370 UnGenFace()
7332 ; return 0; } 7371 ; return 0; }
7333 EOF 7372 EOF
7334 if { (eval echo configure:7335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7373 if { (eval echo configure:7374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7335 rm -rf conftest* 7374 rm -rf conftest*
7336 eval "ac_cv_lib_$ac_lib_var=yes" 7375 eval "ac_cv_lib_$ac_lib_var=yes"
7337 else 7376 else
7338 echo "configure: failed program was:" >&5 7377 echo "configure: failed program was:" >&5
7339 cat conftest.$ac_ext >&5 7378 cat conftest.$ac_ext >&5
7365 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi 7404 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi
7366 fi 7405 fi
7367 7406
7368 7407
7369 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 7408 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6
7370 echo "configure:7371: checking for XawScrollbarSetThumb in -lXaw" >&5 7409 echo "configure:7410: checking for XawScrollbarSetThumb in -lXaw" >&5
7371 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 7410 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
7372 7411
7373 xe_check_libs=" -lXaw " 7412 xe_check_libs=" -lXaw "
7374 cat > conftest.$ac_ext <<EOF 7413 cat > conftest.$ac_ext <<EOF
7375 #line 7376 "configure" 7414 #line 7415 "configure"
7376 #include "confdefs.h" 7415 #include "confdefs.h"
7377 /* Override any gcc2 internal prototype to avoid an error. */ 7416 /* Override any gcc2 internal prototype to avoid an error. */
7378 /* We use char because int might match the return type of a gcc2 7417 /* We use char because int might match the return type of a gcc2
7379 builtin and then its argument prototype would still apply. */ 7418 builtin and then its argument prototype would still apply. */
7380 char XawScrollbarSetThumb(); 7419 char XawScrollbarSetThumb();
7381 7420
7382 int main() { 7421 int main() {
7383 XawScrollbarSetThumb() 7422 XawScrollbarSetThumb()
7384 ; return 0; } 7423 ; return 0; }
7385 EOF 7424 EOF
7386 if { (eval echo configure:7387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7425 if { (eval echo configure:7426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7387 rm -rf conftest* 7426 rm -rf conftest*
7388 eval "ac_cv_lib_$ac_lib_var=yes" 7427 eval "ac_cv_lib_$ac_lib_var=yes"
7389 else 7428 else
7390 echo "configure: failed program was:" >&5 7429 echo "configure: failed program was:" >&5
7391 cat conftest.$ac_ext >&5 7430 cat conftest.$ac_ext >&5
7405 7444
7406 7445
7407 7446
7408 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 7447 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
7409 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 7448 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
7410 echo "configure:7411: checking for Xm/Xm.h" >&5 7449 echo "configure:7450: checking for Xm/Xm.h" >&5
7411 7450
7412 cat > conftest.$ac_ext <<EOF 7451 cat > conftest.$ac_ext <<EOF
7413 #line 7414 "configure" 7452 #line 7453 "configure"
7414 #include "confdefs.h" 7453 #include "confdefs.h"
7415 #include <Xm/Xm.h> 7454 #include <Xm/Xm.h>
7416 EOF 7455 EOF
7417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7456 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7418 { (eval echo configure:7419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7457 { (eval echo configure:7458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7458 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7420 if test -z "$ac_err"; then 7459 if test -z "$ac_err"; then
7421 rm -rf conftest* 7460 rm -rf conftest*
7422 eval "ac_cv_header_$ac_safe=yes" 7461 eval "ac_cv_header_$ac_safe=yes"
7423 else 7462 else
7430 rm -f conftest* 7469 rm -f conftest*
7431 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 7470 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7432 echo "$ac_t""yes" 1>&6 7471 echo "$ac_t""yes" 1>&6
7433 7472
7434 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 7473 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
7435 echo "configure:7436: checking for XmStringFree in -lXm" >&5 7474 echo "configure:7475: checking for XmStringFree in -lXm" >&5
7436 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 7475 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
7437 7476
7438 xe_check_libs=" -lXm " 7477 xe_check_libs=" -lXm "
7439 cat > conftest.$ac_ext <<EOF 7478 cat > conftest.$ac_ext <<EOF
7440 #line 7441 "configure" 7479 #line 7480 "configure"
7441 #include "confdefs.h" 7480 #include "confdefs.h"
7442 /* Override any gcc2 internal prototype to avoid an error. */ 7481 /* Override any gcc2 internal prototype to avoid an error. */
7443 /* We use char because int might match the return type of a gcc2 7482 /* We use char because int might match the return type of a gcc2
7444 builtin and then its argument prototype would still apply. */ 7483 builtin and then its argument prototype would still apply. */
7445 char XmStringFree(); 7484 char XmStringFree();
7446 7485
7447 int main() { 7486 int main() {
7448 XmStringFree() 7487 XmStringFree()
7449 ; return 0; } 7488 ; return 0; }
7450 EOF 7489 EOF
7451 if { (eval echo configure:7452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7490 if { (eval echo configure:7491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7452 rm -rf conftest* 7491 rm -rf conftest*
7453 eval "ac_cv_lib_$ac_lib_var=yes" 7492 eval "ac_cv_lib_$ac_lib_var=yes"
7454 else 7493 else
7455 echo "configure: failed program was:" >&5 7494 echo "configure: failed program was:" >&5
7456 cat conftest.$ac_ext >&5 7495 cat conftest.$ac_ext >&5
7475 fi 7514 fi
7476 7515
7477 7516
7478 if test "$have_motif" = "yes"; then 7517 if test "$have_motif" = "yes"; then
7479 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 7518 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
7480 echo "configure:7481: checking for Lesstif" >&5 7519 echo "configure:7520: checking for Lesstif" >&5
7481 cat > conftest.$ac_ext <<EOF 7520 cat > conftest.$ac_ext <<EOF
7482 #line 7483 "configure" 7521 #line 7522 "configure"
7483 #include "confdefs.h" 7522 #include "confdefs.h"
7484 #include <Xm/Xm.h> 7523 #include <Xm/Xm.h>
7485 #ifdef LESSTIF_VERSION 7524 #ifdef LESSTIF_VERSION
7486 yes 7525 yes
7487 #endif 7526 #endif
7761 fi 7800 fi
7762 fi 7801 fi
7763 7802
7764 if test "$with_mule" = "yes" ; then 7803 if test "$with_mule" = "yes" ; then
7765 echo "checking for Mule-related features" 1>&6 7804 echo "checking for Mule-related features" 1>&6
7766 echo "configure:7767: checking for Mule-related features" >&5 7805 echo "configure:7806: checking for Mule-related features" >&5
7767 { test "$extra_verbose" = "yes" && cat << \EOF 7806 { test "$extra_verbose" = "yes" && cat << \EOF
7768 Defining MULE 7807 Defining MULE
7769 EOF 7808 EOF
7770 cat >> confdefs.h <<\EOF 7809 cat >> confdefs.h <<\EOF
7771 #define MULE 1 7810 #define MULE 1
7786 7825
7787 for ac_hdr in libintl.h 7826 for ac_hdr in libintl.h
7788 do 7827 do
7789 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 7828 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7790 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 7829 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7791 echo "configure:7792: checking for $ac_hdr" >&5 7830 echo "configure:7831: checking for $ac_hdr" >&5
7792 7831
7793 cat > conftest.$ac_ext <<EOF 7832 cat > conftest.$ac_ext <<EOF
7794 #line 7795 "configure" 7833 #line 7834 "configure"
7795 #include "confdefs.h" 7834 #include "confdefs.h"
7796 #include <$ac_hdr> 7835 #include <$ac_hdr>
7797 EOF 7836 EOF
7798 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7799 { (eval echo configure:7800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7838 { (eval echo configure:7839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7800 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7801 if test -z "$ac_err"; then 7840 if test -z "$ac_err"; then
7802 rm -rf conftest* 7841 rm -rf conftest*
7803 eval "ac_cv_header_$ac_safe=yes" 7842 eval "ac_cv_header_$ac_safe=yes"
7804 else 7843 else
7825 fi 7864 fi
7826 done 7865 done
7827 7866
7828 7867
7829 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 7868 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
7830 echo "configure:7831: checking for strerror in -lintl" >&5 7869 echo "configure:7870: checking for strerror in -lintl" >&5
7831 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 7870 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
7832 7871
7833 xe_check_libs=" -lintl " 7872 xe_check_libs=" -lintl "
7834 cat > conftest.$ac_ext <<EOF 7873 cat > conftest.$ac_ext <<EOF
7835 #line 7836 "configure" 7874 #line 7875 "configure"
7836 #include "confdefs.h" 7875 #include "confdefs.h"
7837 /* Override any gcc2 internal prototype to avoid an error. */ 7876 /* Override any gcc2 internal prototype to avoid an error. */
7838 /* We use char because int might match the return type of a gcc2 7877 /* We use char because int might match the return type of a gcc2
7839 builtin and then its argument prototype would still apply. */ 7878 builtin and then its argument prototype would still apply. */
7840 char strerror(); 7879 char strerror();
7841 7880
7842 int main() { 7881 int main() {
7843 strerror() 7882 strerror()
7844 ; return 0; } 7883 ; return 0; }
7845 EOF 7884 EOF
7846 if { (eval echo configure:7847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7885 if { (eval echo configure:7886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7847 rm -rf conftest* 7886 rm -rf conftest*
7848 eval "ac_cv_lib_$ac_lib_var=yes" 7887 eval "ac_cv_lib_$ac_lib_var=yes"
7849 else 7888 else
7850 echo "configure: failed program was:" >&5 7889 echo "configure: failed program was:" >&5
7851 cat conftest.$ac_ext >&5 7890 cat conftest.$ac_ext >&5
7874 fi 7913 fi
7875 7914
7876 7915
7877 7916
7878 echo "checking for Mule input methods" 1>&6 7917 echo "checking for Mule input methods" 1>&6
7879 echo "configure:7880: checking for Mule input methods" >&5 7918 echo "configure:7919: checking for Mule input methods" >&5
7880 case "$with_xim" in "" | "yes" ) 7919 case "$with_xim" in "" | "yes" )
7881 echo "checking for XIM" 1>&6 7920 echo "checking for XIM" 1>&6
7882 echo "configure:7883: checking for XIM" >&5 7921 echo "configure:7922: checking for XIM" >&5
7883 7922
7884 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 7923 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
7885 echo "configure:7886: checking for XOpenIM in -lX11" >&5 7924 echo "configure:7925: checking for XOpenIM in -lX11" >&5
7886 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 7925 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
7887 7926
7888 xe_check_libs=" -lX11 " 7927 xe_check_libs=" -lX11 "
7889 cat > conftest.$ac_ext <<EOF 7928 cat > conftest.$ac_ext <<EOF
7890 #line 7891 "configure" 7929 #line 7930 "configure"
7891 #include "confdefs.h" 7930 #include "confdefs.h"
7892 /* Override any gcc2 internal prototype to avoid an error. */ 7931 /* Override any gcc2 internal prototype to avoid an error. */
7893 /* We use char because int might match the return type of a gcc2 7932 /* We use char because int might match the return type of a gcc2
7894 builtin and then its argument prototype would still apply. */ 7933 builtin and then its argument prototype would still apply. */
7895 char XOpenIM(); 7934 char XOpenIM();
7896 7935
7897 int main() { 7936 int main() {
7898 XOpenIM() 7937 XOpenIM()
7899 ; return 0; } 7938 ; return 0; }
7900 EOF 7939 EOF
7901 if { (eval echo configure:7902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7940 if { (eval echo configure:7941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7902 rm -rf conftest* 7941 rm -rf conftest*
7903 eval "ac_cv_lib_$ac_lib_var=yes" 7942 eval "ac_cv_lib_$ac_lib_var=yes"
7904 else 7943 else
7905 echo "configure: failed program was:" >&5 7944 echo "configure: failed program was:" >&5
7906 cat conftest.$ac_ext >&5 7945 cat conftest.$ac_ext >&5
7920 7959
7921 7960
7922 if test "$have_motif $have_lesstif" = "yes no"; then 7961 if test "$have_motif $have_lesstif" = "yes no"; then
7923 7962
7924 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 7963 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
7925 echo "configure:7926: checking for XmImMbLookupString in -lXm" >&5 7964 echo "configure:7965: checking for XmImMbLookupString in -lXm" >&5
7926 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 7965 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
7927 7966
7928 xe_check_libs=" -lXm " 7967 xe_check_libs=" -lXm "
7929 cat > conftest.$ac_ext <<EOF 7968 cat > conftest.$ac_ext <<EOF
7930 #line 7931 "configure" 7969 #line 7970 "configure"
7931 #include "confdefs.h" 7970 #include "confdefs.h"
7932 /* Override any gcc2 internal prototype to avoid an error. */ 7971 /* Override any gcc2 internal prototype to avoid an error. */
7933 /* We use char because int might match the return type of a gcc2 7972 /* We use char because int might match the return type of a gcc2
7934 builtin and then its argument prototype would still apply. */ 7973 builtin and then its argument prototype would still apply. */
7935 char XmImMbLookupString(); 7974 char XmImMbLookupString();
7936 7975
7937 int main() { 7976 int main() {
7938 XmImMbLookupString() 7977 XmImMbLookupString()
7939 ; return 0; } 7978 ; return 0; }
7940 EOF 7979 EOF
7941 if { (eval echo configure:7942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7980 if { (eval echo configure:7981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7942 rm -rf conftest* 7981 rm -rf conftest*
7943 eval "ac_cv_lib_$ac_lib_var=yes" 7982 eval "ac_cv_lib_$ac_lib_var=yes"
7944 else 7983 else
7945 echo "configure: failed program was:" >&5 7984 echo "configure: failed program was:" >&5
7946 cat conftest.$ac_ext >&5 7985 cat conftest.$ac_ext >&5
8001 fi 8040 fi
8002 fi 8041 fi
8003 8042
8004 if test "$with_xfs" = "yes" ; then 8043 if test "$with_xfs" = "yes" ; then
8005 echo "checking for XFontSet" 1>&6 8044 echo "checking for XFontSet" 1>&6
8006 echo "configure:8007: checking for XFontSet" >&5 8045 echo "configure:8046: checking for XFontSet" >&5
8007 8046
8008 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 8047 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
8009 echo "configure:8010: checking for XmbDrawString in -lX11" >&5 8048 echo "configure:8049: checking for XmbDrawString in -lX11" >&5
8010 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 8049 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
8011 8050
8012 xe_check_libs=" -lX11 " 8051 xe_check_libs=" -lX11 "
8013 cat > conftest.$ac_ext <<EOF 8052 cat > conftest.$ac_ext <<EOF
8014 #line 8015 "configure" 8053 #line 8054 "configure"
8015 #include "confdefs.h" 8054 #include "confdefs.h"
8016 /* Override any gcc2 internal prototype to avoid an error. */ 8055 /* Override any gcc2 internal prototype to avoid an error. */
8017 /* We use char because int might match the return type of a gcc2 8056 /* We use char because int might match the return type of a gcc2
8018 builtin and then its argument prototype would still apply. */ 8057 builtin and then its argument prototype would still apply. */
8019 char XmbDrawString(); 8058 char XmbDrawString();
8020 8059
8021 int main() { 8060 int main() {
8022 XmbDrawString() 8061 XmbDrawString()
8023 ; return 0; } 8062 ; return 0; }
8024 EOF 8063 EOF
8025 if { (eval echo configure:8026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8064 if { (eval echo configure:8065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8026 rm -rf conftest* 8065 rm -rf conftest*
8027 eval "ac_cv_lib_$ac_lib_var=yes" 8066 eval "ac_cv_lib_$ac_lib_var=yes"
8028 else 8067 else
8029 echo "configure: failed program was:" >&5 8068 echo "configure: failed program was:" >&5
8030 cat conftest.$ac_ext >&5 8069 cat conftest.$ac_ext >&5
8060 fi 8099 fi
8061 fi 8100 fi
8062 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 8101 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
8063 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 8102 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
8064 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 8103 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
8065 echo "configure:8066: checking for wnn/jllib.h" >&5 8104 echo "configure:8105: checking for wnn/jllib.h" >&5
8066 8105
8067 cat > conftest.$ac_ext <<EOF 8106 cat > conftest.$ac_ext <<EOF
8068 #line 8069 "configure" 8107 #line 8108 "configure"
8069 #include "confdefs.h" 8108 #include "confdefs.h"
8070 #include <wnn/jllib.h> 8109 #include <wnn/jllib.h>
8071 EOF 8110 EOF
8072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8073 { (eval echo configure:8074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8112 { (eval echo configure:8113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8075 if test -z "$ac_err"; then 8114 if test -z "$ac_err"; then
8076 rm -rf conftest* 8115 rm -rf conftest*
8077 eval "ac_cv_header_$ac_safe=yes" 8116 eval "ac_cv_header_$ac_safe=yes"
8078 else 8117 else
8093 } 8132 }
8094 if test "$with_wnn" != "no"; then 8133 if test "$with_wnn" != "no"; then
8095 for ac_func in crypt 8134 for ac_func in crypt
8096 do 8135 do
8097 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8098 echo "configure:8099: checking for $ac_func" >&5 8137 echo "configure:8138: checking for $ac_func" >&5
8099 8138
8100 cat > conftest.$ac_ext <<EOF 8139 cat > conftest.$ac_ext <<EOF
8101 #line 8102 "configure" 8140 #line 8141 "configure"
8102 #include "confdefs.h" 8141 #include "confdefs.h"
8103 /* System header to define __stub macros and hopefully few prototypes, 8142 /* System header to define __stub macros and hopefully few prototypes,
8104 which can conflict with char $ac_func(); below. */ 8143 which can conflict with char $ac_func(); below. */
8105 #include <assert.h> 8144 #include <assert.h>
8106 /* Override any gcc2 internal prototype to avoid an error. */ 8145 /* Override any gcc2 internal prototype to avoid an error. */
8119 $ac_func(); 8158 $ac_func();
8120 #endif 8159 #endif
8121 8160
8122 ; return 0; } 8161 ; return 0; }
8123 EOF 8162 EOF
8124 if { (eval echo configure:8125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8163 if { (eval echo configure:8164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8125 rm -rf conftest* 8164 rm -rf conftest*
8126 eval "ac_cv_func_$ac_func=yes" 8165 eval "ac_cv_func_$ac_func=yes"
8127 else 8166 else
8128 echo "configure: failed program was:" >&5 8167 echo "configure: failed program was:" >&5
8129 cat conftest.$ac_ext >&5 8168 cat conftest.$ac_ext >&5
8148 fi 8187 fi
8149 done 8188 done
8150 8189
8151 test "$ac_cv_func_crypt" != "yes" && { 8190 test "$ac_cv_func_crypt" != "yes" && {
8152 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 8191 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
8153 echo "configure:8154: checking for crypt in -lcrypt" >&5 8192 echo "configure:8193: checking for crypt in -lcrypt" >&5
8154 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 8193 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
8155 8194
8156 xe_check_libs=" -lcrypt " 8195 xe_check_libs=" -lcrypt "
8157 cat > conftest.$ac_ext <<EOF 8196 cat > conftest.$ac_ext <<EOF
8158 #line 8159 "configure" 8197 #line 8198 "configure"
8159 #include "confdefs.h" 8198 #include "confdefs.h"
8160 /* Override any gcc2 internal prototype to avoid an error. */ 8199 /* Override any gcc2 internal prototype to avoid an error. */
8161 /* We use char because int might match the return type of a gcc2 8200 /* We use char because int might match the return type of a gcc2
8162 builtin and then its argument prototype would still apply. */ 8201 builtin and then its argument prototype would still apply. */
8163 char crypt(); 8202 char crypt();
8164 8203
8165 int main() { 8204 int main() {
8166 crypt() 8205 crypt()
8167 ; return 0; } 8206 ; return 0; }
8168 EOF 8207 EOF
8169 if { (eval echo configure:8170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8208 if { (eval echo configure:8209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8170 rm -rf conftest* 8209 rm -rf conftest*
8171 eval "ac_cv_lib_$ac_lib_var=yes" 8210 eval "ac_cv_lib_$ac_lib_var=yes"
8172 else 8211 else
8173 echo "configure: failed program was:" >&5 8212 echo "configure: failed program was:" >&5
8174 cat conftest.$ac_ext >&5 8213 cat conftest.$ac_ext >&5
8199 } 8238 }
8200 fi 8239 fi
8201 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 8240 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
8202 8241
8203 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 8242 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
8204 echo "configure:8205: checking for jl_dic_list_e in -lwnn" >&5 8243 echo "configure:8244: checking for jl_dic_list_e in -lwnn" >&5
8205 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 8244 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
8206 8245
8207 xe_check_libs=" -lwnn " 8246 xe_check_libs=" -lwnn "
8208 cat > conftest.$ac_ext <<EOF 8247 cat > conftest.$ac_ext <<EOF
8209 #line 8210 "configure" 8248 #line 8249 "configure"
8210 #include "confdefs.h" 8249 #include "confdefs.h"
8211 /* Override any gcc2 internal prototype to avoid an error. */ 8250 /* Override any gcc2 internal prototype to avoid an error. */
8212 /* We use char because int might match the return type of a gcc2 8251 /* We use char because int might match the return type of a gcc2
8213 builtin and then its argument prototype would still apply. */ 8252 builtin and then its argument prototype would still apply. */
8214 char jl_dic_list_e(); 8253 char jl_dic_list_e();
8215 8254
8216 int main() { 8255 int main() {
8217 jl_dic_list_e() 8256 jl_dic_list_e()
8218 ; return 0; } 8257 ; return 0; }
8219 EOF 8258 EOF
8220 if { (eval echo configure:8221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8259 if { (eval echo configure:8260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8221 rm -rf conftest* 8260 rm -rf conftest*
8222 eval "ac_cv_lib_$ac_lib_var=yes" 8261 eval "ac_cv_lib_$ac_lib_var=yes"
8223 else 8262 else
8224 echo "configure: failed program was:" >&5 8263 echo "configure: failed program was:" >&5
8225 cat conftest.$ac_ext >&5 8264 cat conftest.$ac_ext >&5
8233 echo "$ac_t""yes" 1>&6 8272 echo "$ac_t""yes" 1>&6
8234 libwnn=wnn 8273 libwnn=wnn
8235 else 8274 else
8236 echo "$ac_t""no" 1>&6 8275 echo "$ac_t""no" 1>&6
8237 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 8276 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
8238 echo "configure:8239: checking for jl_dic_list_e in -lwnn4" >&5 8277 echo "configure:8278: checking for jl_dic_list_e in -lwnn4" >&5
8239 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 8278 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
8240 8279
8241 xe_check_libs=" -lwnn4 " 8280 xe_check_libs=" -lwnn4 "
8242 cat > conftest.$ac_ext <<EOF 8281 cat > conftest.$ac_ext <<EOF
8243 #line 8244 "configure" 8282 #line 8283 "configure"
8244 #include "confdefs.h" 8283 #include "confdefs.h"
8245 /* Override any gcc2 internal prototype to avoid an error. */ 8284 /* Override any gcc2 internal prototype to avoid an error. */
8246 /* We use char because int might match the return type of a gcc2 8285 /* We use char because int might match the return type of a gcc2
8247 builtin and then its argument prototype would still apply. */ 8286 builtin and then its argument prototype would still apply. */
8248 char jl_dic_list_e(); 8287 char jl_dic_list_e();
8249 8288
8250 int main() { 8289 int main() {
8251 jl_dic_list_e() 8290 jl_dic_list_e()
8252 ; return 0; } 8291 ; return 0; }
8253 EOF 8292 EOF
8254 if { (eval echo configure:8255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8293 if { (eval echo configure:8294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8255 rm -rf conftest* 8294 rm -rf conftest*
8256 eval "ac_cv_lib_$ac_lib_var=yes" 8295 eval "ac_cv_lib_$ac_lib_var=yes"
8257 else 8296 else
8258 echo "configure: failed program was:" >&5 8297 echo "configure: failed program was:" >&5
8259 cat conftest.$ac_ext >&5 8298 cat conftest.$ac_ext >&5
8267 echo "$ac_t""yes" 1>&6 8306 echo "$ac_t""yes" 1>&6
8268 libwnn=wnn4 8307 libwnn=wnn4
8269 else 8308 else
8270 echo "$ac_t""no" 1>&6 8309 echo "$ac_t""no" 1>&6
8271 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 8310 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
8272 echo "configure:8273: checking for jl_dic_list_e in -lwnn6" >&5 8311 echo "configure:8312: checking for jl_dic_list_e in -lwnn6" >&5
8273 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 8312 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
8274 8313
8275 xe_check_libs=" -lwnn6 " 8314 xe_check_libs=" -lwnn6 "
8276 cat > conftest.$ac_ext <<EOF 8315 cat > conftest.$ac_ext <<EOF
8277 #line 8278 "configure" 8316 #line 8317 "configure"
8278 #include "confdefs.h" 8317 #include "confdefs.h"
8279 /* Override any gcc2 internal prototype to avoid an error. */ 8318 /* Override any gcc2 internal prototype to avoid an error. */
8280 /* We use char because int might match the return type of a gcc2 8319 /* We use char because int might match the return type of a gcc2
8281 builtin and then its argument prototype would still apply. */ 8320 builtin and then its argument prototype would still apply. */
8282 char jl_dic_list_e(); 8321 char jl_dic_list_e();
8283 8322
8284 int main() { 8323 int main() {
8285 jl_dic_list_e() 8324 jl_dic_list_e()
8286 ; return 0; } 8325 ; return 0; }
8287 EOF 8326 EOF
8288 if { (eval echo configure:8289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8327 if { (eval echo configure:8328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8289 rm -rf conftest* 8328 rm -rf conftest*
8290 eval "ac_cv_lib_$ac_lib_var=yes" 8329 eval "ac_cv_lib_$ac_lib_var=yes"
8291 else 8330 else
8292 echo "configure: failed program was:" >&5 8331 echo "configure: failed program was:" >&5
8293 cat conftest.$ac_ext >&5 8332 cat conftest.$ac_ext >&5
8301 echo "$ac_t""yes" 1>&6 8340 echo "$ac_t""yes" 1>&6
8302 libwnn=wnn6 8341 libwnn=wnn6
8303 else 8342 else
8304 echo "$ac_t""no" 1>&6 8343 echo "$ac_t""no" 1>&6
8305 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 8344 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
8306 echo "configure:8307: checking for dic_list_e in -lwnn6_fromsrc" >&5 8345 echo "configure:8346: checking for dic_list_e in -lwnn6_fromsrc" >&5
8307 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 8346 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
8308 8347
8309 xe_check_libs=" -lwnn6_fromsrc " 8348 xe_check_libs=" -lwnn6_fromsrc "
8310 cat > conftest.$ac_ext <<EOF 8349 cat > conftest.$ac_ext <<EOF
8311 #line 8312 "configure" 8350 #line 8351 "configure"
8312 #include "confdefs.h" 8351 #include "confdefs.h"
8313 /* Override any gcc2 internal prototype to avoid an error. */ 8352 /* Override any gcc2 internal prototype to avoid an error. */
8314 /* We use char because int might match the return type of a gcc2 8353 /* We use char because int might match the return type of a gcc2
8315 builtin and then its argument prototype would still apply. */ 8354 builtin and then its argument prototype would still apply. */
8316 char dic_list_e(); 8355 char dic_list_e();
8317 8356
8318 int main() { 8357 int main() {
8319 dic_list_e() 8358 dic_list_e()
8320 ; return 0; } 8359 ; return 0; }
8321 EOF 8360 EOF
8322 if { (eval echo configure:8323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8361 if { (eval echo configure:8362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8323 rm -rf conftest* 8362 rm -rf conftest*
8324 eval "ac_cv_lib_$ac_lib_var=yes" 8363 eval "ac_cv_lib_$ac_lib_var=yes"
8325 else 8364 else
8326 echo "configure: failed program was:" >&5 8365 echo "configure: failed program was:" >&5
8327 cat conftest.$ac_ext >&5 8366 cat conftest.$ac_ext >&5
8365 echo " xemacs will be linked with \"mule-wnnfns.o\"" 8404 echo " xemacs will be linked with \"mule-wnnfns.o\""
8366 fi 8405 fi
8367 if test "$with_wnn6" != "no"; then 8406 if test "$with_wnn6" != "no"; then
8368 8407
8369 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 8408 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
8370 echo "configure:8371: checking for jl_fi_dic_list in -l$libwnn" >&5 8409 echo "configure:8410: checking for jl_fi_dic_list in -l$libwnn" >&5
8371 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 8410 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
8372 8411
8373 xe_check_libs=" -l$libwnn " 8412 xe_check_libs=" -l$libwnn "
8374 cat > conftest.$ac_ext <<EOF 8413 cat > conftest.$ac_ext <<EOF
8375 #line 8376 "configure" 8414 #line 8415 "configure"
8376 #include "confdefs.h" 8415 #include "confdefs.h"
8377 /* Override any gcc2 internal prototype to avoid an error. */ 8416 /* Override any gcc2 internal prototype to avoid an error. */
8378 /* We use char because int might match the return type of a gcc2 8417 /* We use char because int might match the return type of a gcc2
8379 builtin and then its argument prototype would still apply. */ 8418 builtin and then its argument prototype would still apply. */
8380 char jl_fi_dic_list(); 8419 char jl_fi_dic_list();
8381 8420
8382 int main() { 8421 int main() {
8383 jl_fi_dic_list() 8422 jl_fi_dic_list()
8384 ; return 0; } 8423 ; return 0; }
8385 EOF 8424 EOF
8386 if { (eval echo configure:8387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8425 if { (eval echo configure:8426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8387 rm -rf conftest* 8426 rm -rf conftest*
8388 eval "ac_cv_lib_$ac_lib_var=yes" 8427 eval "ac_cv_lib_$ac_lib_var=yes"
8389 else 8428 else
8390 echo "configure: failed program was:" >&5 8429 echo "configure: failed program was:" >&5
8391 cat conftest.$ac_ext >&5 8430 cat conftest.$ac_ext >&5
8416 8455
8417 canna_includes_found=no 8456 canna_includes_found=no
8418 if test "$with_canna" != "no"; then 8457 if test "$with_canna" != "no"; then
8419 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 8458 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
8420 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 8459 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
8421 echo "configure:8422: checking for canna/jrkanji.h" >&5 8460 echo "configure:8461: checking for canna/jrkanji.h" >&5
8422 8461
8423 cat > conftest.$ac_ext <<EOF 8462 cat > conftest.$ac_ext <<EOF
8424 #line 8425 "configure" 8463 #line 8464 "configure"
8425 #include "confdefs.h" 8464 #include "confdefs.h"
8426 #include <canna/jrkanji.h> 8465 #include <canna/jrkanji.h>
8427 EOF 8466 EOF
8428 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8429 { (eval echo configure:8430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8468 { (eval echo configure:8469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8430 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8431 if test -z "$ac_err"; then 8470 if test -z "$ac_err"; then
8432 rm -rf conftest* 8471 rm -rf conftest*
8433 eval "ac_cv_header_$ac_safe=yes" 8472 eval "ac_cv_header_$ac_safe=yes"
8434 else 8473 else
8451 -d "/usr/local/canna/include"; then 8490 -d "/usr/local/canna/include"; then
8452 save_c_switch_site="$c_switch_site" 8491 save_c_switch_site="$c_switch_site"
8453 c_switch_site="$c_switch_site -I/usr/local/canna/include" 8492 c_switch_site="$c_switch_site -I/usr/local/canna/include"
8454 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 8493 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
8455 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 8494 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
8456 echo "configure:8457: checking for canna/jrkanji.h" >&5 8495 echo "configure:8496: checking for canna/jrkanji.h" >&5
8457 8496
8458 cat > conftest.$ac_ext <<EOF 8497 cat > conftest.$ac_ext <<EOF
8459 #line 8460 "configure" 8498 #line 8499 "configure"
8460 #include "confdefs.h" 8499 #include "confdefs.h"
8461 #include <canna/jrkanji.h> 8500 #include <canna/jrkanji.h>
8462 EOF 8501 EOF
8463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8502 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8464 { (eval echo configure:8465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8503 { (eval echo configure:8504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8504 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8466 if test -z "$ac_err"; then 8505 if test -z "$ac_err"; then
8467 rm -rf conftest* 8506 rm -rf conftest*
8468 eval "ac_cv_header_$ac_safe=yes" 8507 eval "ac_cv_header_$ac_safe=yes"
8469 else 8508 else
8487 fi 8526 fi
8488 fi 8527 fi
8489 8528
8490 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 8529 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
8491 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 8530 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
8492 echo "configure:8493: checking for canna/RK.h" >&5 8531 echo "configure:8532: checking for canna/RK.h" >&5
8493 8532
8494 cat > conftest.$ac_ext <<EOF 8533 cat > conftest.$ac_ext <<EOF
8495 #line 8496 "configure" 8534 #line 8535 "configure"
8496 #include "confdefs.h" 8535 #include "confdefs.h"
8497 #include <canna/RK.h> 8536 #include <canna/RK.h>
8498 EOF 8537 EOF
8499 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8500 { (eval echo configure:8501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8539 { (eval echo configure:8540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8501 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8502 if test -z "$ac_err"; then 8541 if test -z "$ac_err"; then
8503 rm -rf conftest* 8542 rm -rf conftest*
8504 eval "ac_cv_header_$ac_safe=yes" 8543 eval "ac_cv_header_$ac_safe=yes"
8505 else 8544 else
8518 with_canna=no 8557 with_canna=no
8519 fi 8558 fi
8520 } 8559 }
8521 test -z "$with_canna" && { 8560 test -z "$with_canna" && {
8522 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 8561 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
8523 echo "configure:8524: checking for RkBgnBun in -lRKC" >&5 8562 echo "configure:8563: checking for RkBgnBun in -lRKC" >&5
8524 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 8563 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
8525 8564
8526 xe_check_libs=" -lRKC " 8565 xe_check_libs=" -lRKC "
8527 cat > conftest.$ac_ext <<EOF 8566 cat > conftest.$ac_ext <<EOF
8528 #line 8529 "configure" 8567 #line 8568 "configure"
8529 #include "confdefs.h" 8568 #include "confdefs.h"
8530 /* Override any gcc2 internal prototype to avoid an error. */ 8569 /* Override any gcc2 internal prototype to avoid an error. */
8531 /* We use char because int might match the return type of a gcc2 8570 /* We use char because int might match the return type of a gcc2
8532 builtin and then its argument prototype would still apply. */ 8571 builtin and then its argument prototype would still apply. */
8533 char RkBgnBun(); 8572 char RkBgnBun();
8534 8573
8535 int main() { 8574 int main() {
8536 RkBgnBun() 8575 RkBgnBun()
8537 ; return 0; } 8576 ; return 0; }
8538 EOF 8577 EOF
8539 if { (eval echo configure:8540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8578 if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8540 rm -rf conftest* 8579 rm -rf conftest*
8541 eval "ac_cv_lib_$ac_lib_var=yes" 8580 eval "ac_cv_lib_$ac_lib_var=yes"
8542 else 8581 else
8543 echo "configure: failed program was:" >&5 8582 echo "configure: failed program was:" >&5
8544 cat conftest.$ac_ext >&5 8583 cat conftest.$ac_ext >&5
8557 fi 8596 fi
8558 8597
8559 } 8598 }
8560 test -z "$with_canna" && { 8599 test -z "$with_canna" && {
8561 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 8600 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
8562 echo "configure:8563: checking for jrKanjiControl in -lcanna" >&5 8601 echo "configure:8602: checking for jrKanjiControl in -lcanna" >&5
8563 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 8602 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
8564 8603
8565 xe_check_libs=" -lcanna " 8604 xe_check_libs=" -lcanna "
8566 cat > conftest.$ac_ext <<EOF 8605 cat > conftest.$ac_ext <<EOF
8567 #line 8568 "configure" 8606 #line 8607 "configure"
8568 #include "confdefs.h" 8607 #include "confdefs.h"
8569 /* Override any gcc2 internal prototype to avoid an error. */ 8608 /* Override any gcc2 internal prototype to avoid an error. */
8570 /* We use char because int might match the return type of a gcc2 8609 /* We use char because int might match the return type of a gcc2
8571 builtin and then its argument prototype would still apply. */ 8610 builtin and then its argument prototype would still apply. */
8572 char jrKanjiControl(); 8611 char jrKanjiControl();
8573 8612
8574 int main() { 8613 int main() {
8575 jrKanjiControl() 8614 jrKanjiControl()
8576 ; return 0; } 8615 ; return 0; }
8577 EOF 8616 EOF
8578 if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8617 if { (eval echo configure:8618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8579 rm -rf conftest* 8618 rm -rf conftest*
8580 eval "ac_cv_lib_$ac_lib_var=yes" 8619 eval "ac_cv_lib_$ac_lib_var=yes"
8581 else 8620 else
8582 echo "configure: failed program was:" >&5 8621 echo "configure: failed program was:" >&5
8583 cat conftest.$ac_ext >&5 8622 cat conftest.$ac_ext >&5
8622 8661
8623 if test "$need_motif" = "yes" ; then 8662 if test "$need_motif" = "yes" ; then
8624 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 8663 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
8625 8664
8626 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 8665 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
8627 echo "configure:8628: checking for layout_object_getvalue in -li18n" >&5 8666 echo "configure:8667: checking for layout_object_getvalue in -li18n" >&5
8628 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 8667 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
8629 8668
8630 xe_check_libs=" -li18n " 8669 xe_check_libs=" -li18n "
8631 cat > conftest.$ac_ext <<EOF 8670 cat > conftest.$ac_ext <<EOF
8632 #line 8633 "configure" 8671 #line 8672 "configure"
8633 #include "confdefs.h" 8672 #include "confdefs.h"
8634 /* Override any gcc2 internal prototype to avoid an error. */ 8673 /* Override any gcc2 internal prototype to avoid an error. */
8635 /* We use char because int might match the return type of a gcc2 8674 /* We use char because int might match the return type of a gcc2
8636 builtin and then its argument prototype would still apply. */ 8675 builtin and then its argument prototype would still apply. */
8637 char layout_object_getvalue(); 8676 char layout_object_getvalue();
8638 8677
8639 int main() { 8678 int main() {
8640 layout_object_getvalue() 8679 layout_object_getvalue()
8641 ; return 0; } 8680 ; return 0; }
8642 EOF 8681 EOF
8643 if { (eval echo configure:8644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8682 if { (eval echo configure:8683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8644 rm -rf conftest* 8683 rm -rf conftest*
8645 eval "ac_cv_lib_$ac_lib_var=yes" 8684 eval "ac_cv_lib_$ac_lib_var=yes"
8646 else 8685 else
8647 echo "configure: failed program was:" >&5 8686 echo "configure: failed program was:" >&5
8648 cat conftest.$ac_ext >&5 8687 cat conftest.$ac_ext >&5
8724 fi 8763 fi
8725 8764
8726 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 8765 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
8727 do 8766 do
8728 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8729 echo "configure:8730: checking for $ac_func" >&5 8768 echo "configure:8769: checking for $ac_func" >&5
8730 8769
8731 cat > conftest.$ac_ext <<EOF 8770 cat > conftest.$ac_ext <<EOF
8732 #line 8733 "configure" 8771 #line 8772 "configure"
8733 #include "confdefs.h" 8772 #include "confdefs.h"
8734 /* System header to define __stub macros and hopefully few prototypes, 8773 /* System header to define __stub macros and hopefully few prototypes,
8735 which can conflict with char $ac_func(); below. */ 8774 which can conflict with char $ac_func(); below. */
8736 #include <assert.h> 8775 #include <assert.h>
8737 /* Override any gcc2 internal prototype to avoid an error. */ 8776 /* Override any gcc2 internal prototype to avoid an error. */
8750 $ac_func(); 8789 $ac_func();
8751 #endif 8790 #endif
8752 8791
8753 ; return 0; } 8792 ; return 0; }
8754 EOF 8793 EOF
8755 if { (eval echo configure:8756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8794 if { (eval echo configure:8795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8756 rm -rf conftest* 8795 rm -rf conftest*
8757 eval "ac_cv_func_$ac_func=yes" 8796 eval "ac_cv_func_$ac_func=yes"
8758 else 8797 else
8759 echo "configure: failed program was:" >&5 8798 echo "configure: failed program was:" >&5
8760 cat conftest.$ac_ext >&5 8799 cat conftest.$ac_ext >&5
8791 echo " xemacs will be linked with \"realpath.o\"" 8830 echo " xemacs will be linked with \"realpath.o\""
8792 fi ;; 8831 fi ;;
8793 * ) for ac_func in realpath 8832 * ) for ac_func in realpath
8794 do 8833 do
8795 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 8834 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8796 echo "configure:8797: checking for $ac_func" >&5 8835 echo "configure:8836: checking for $ac_func" >&5
8797 8836
8798 cat > conftest.$ac_ext <<EOF 8837 cat > conftest.$ac_ext <<EOF
8799 #line 8800 "configure" 8838 #line 8839 "configure"
8800 #include "confdefs.h" 8839 #include "confdefs.h"
8801 /* System header to define __stub macros and hopefully few prototypes, 8840 /* System header to define __stub macros and hopefully few prototypes,
8802 which can conflict with char $ac_func(); below. */ 8841 which can conflict with char $ac_func(); below. */
8803 #include <assert.h> 8842 #include <assert.h>
8804 /* Override any gcc2 internal prototype to avoid an error. */ 8843 /* Override any gcc2 internal prototype to avoid an error. */
8817 $ac_func(); 8856 $ac_func();
8818 #endif 8857 #endif
8819 8858
8820 ; return 0; } 8859 ; return 0; }
8821 EOF 8860 EOF
8822 if { (eval echo configure:8823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8861 if { (eval echo configure:8862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8823 rm -rf conftest* 8862 rm -rf conftest*
8824 eval "ac_cv_func_$ac_func=yes" 8863 eval "ac_cv_func_$ac_func=yes"
8825 else 8864 else
8826 echo "configure: failed program was:" >&5 8865 echo "configure: failed program was:" >&5
8827 cat conftest.$ac_ext >&5 8866 cat conftest.$ac_ext >&5
8851 fi ;; 8890 fi ;;
8852 esac ;; 8891 esac ;;
8853 esac 8892 esac
8854 8893
8855 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 8894 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
8856 echo "configure:8857: checking whether netdb declares h_errno" >&5 8895 echo "configure:8896: checking whether netdb declares h_errno" >&5
8857 cat > conftest.$ac_ext <<EOF 8896 cat > conftest.$ac_ext <<EOF
8858 #line 8859 "configure" 8897 #line 8898 "configure"
8859 #include "confdefs.h" 8898 #include "confdefs.h"
8860 #include <netdb.h> 8899 #include <netdb.h>
8861 int main() { 8900 int main() {
8862 return h_errno; 8901 return h_errno;
8863 ; return 0; } 8902 ; return 0; }
8864 EOF 8903 EOF
8865 if { (eval echo configure:8866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8904 if { (eval echo configure:8905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8866 rm -rf conftest* 8905 rm -rf conftest*
8867 echo "$ac_t""yes" 1>&6 8906 echo "$ac_t""yes" 1>&6
8868 { test "$extra_verbose" = "yes" && cat << \EOF 8907 { test "$extra_verbose" = "yes" && cat << \EOF
8869 Defining HAVE_H_ERRNO 8908 Defining HAVE_H_ERRNO
8870 EOF 8909 EOF
8880 echo "$ac_t""no" 1>&6 8919 echo "$ac_t""no" 1>&6
8881 fi 8920 fi
8882 rm -f conftest* 8921 rm -f conftest*
8883 8922
8884 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 8923 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
8885 echo "configure:8886: checking for sigsetjmp" >&5 8924 echo "configure:8925: checking for sigsetjmp" >&5
8886 cat > conftest.$ac_ext <<EOF 8925 cat > conftest.$ac_ext <<EOF
8887 #line 8888 "configure" 8926 #line 8927 "configure"
8888 #include "confdefs.h" 8927 #include "confdefs.h"
8889 #include <setjmp.h> 8928 #include <setjmp.h>
8890 int main() { 8929 int main() {
8891 sigjmp_buf bar; sigsetjmp (bar, 0); 8930 sigjmp_buf bar; sigsetjmp (bar, 0);
8892 ; return 0; } 8931 ; return 0; }
8893 EOF 8932 EOF
8894 if { (eval echo configure:8895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 8933 if { (eval echo configure:8934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8895 rm -rf conftest* 8934 rm -rf conftest*
8896 echo "$ac_t""yes" 1>&6 8935 echo "$ac_t""yes" 1>&6
8897 { test "$extra_verbose" = "yes" && cat << \EOF 8936 { test "$extra_verbose" = "yes" && cat << \EOF
8898 Defining HAVE_SIGSETJMP 8937 Defining HAVE_SIGSETJMP
8899 EOF 8938 EOF
8909 echo "$ac_t""no" 1>&6 8948 echo "$ac_t""no" 1>&6
8910 fi 8949 fi
8911 rm -f conftest* 8950 rm -f conftest*
8912 8951
8913 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 8952 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
8914 echo "configure:8915: checking whether localtime caches TZ" >&5 8953 echo "configure:8954: checking whether localtime caches TZ" >&5
8915 8954
8916 if test "$ac_cv_func_tzset" = "yes"; then 8955 if test "$ac_cv_func_tzset" = "yes"; then
8917 cat > conftest.$ac_ext <<EOF 8956 cat > conftest.$ac_ext <<EOF
8918 #line 8919 "configure" 8957 #line 8958 "configure"
8919 #include "confdefs.h" 8958 #include "confdefs.h"
8920 #include <time.h> 8959 #include <time.h>
8921 #if STDC_HEADERS 8960 #if STDC_HEADERS
8922 # include <stdlib.h> 8961 # include <stdlib.h>
8923 #endif 8962 #endif
8948 if (localtime (&now)->tm_hour != hour_unset) 8987 if (localtime (&now)->tm_hour != hour_unset)
8949 exit (1); 8988 exit (1);
8950 exit (0); 8989 exit (0);
8951 } 8990 }
8952 EOF 8991 EOF
8953 if { (eval echo configure:8954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 8992 if { (eval echo configure:8993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
8954 then 8993 then
8955 emacs_cv_localtime_cache=no 8994 emacs_cv_localtime_cache=no
8956 else 8995 else
8957 conftest_rc="$?" 8996 conftest_rc="$?"
8958 echo "configure: failed program was:" >&5 8997 echo "configure: failed program was:" >&5
8978 9017
8979 fi 9018 fi
8980 9019
8981 if test "$HAVE_TIMEVAL" = "yes"; then 9020 if test "$HAVE_TIMEVAL" = "yes"; then
8982 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 9021 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
8983 echo "configure:8984: checking whether gettimeofday accepts one or two arguments" >&5 9022 echo "configure:9023: checking whether gettimeofday accepts one or two arguments" >&5
8984 cat > conftest.$ac_ext <<EOF 9023 cat > conftest.$ac_ext <<EOF
8985 #line 8986 "configure" 9024 #line 9025 "configure"
8986 #include "confdefs.h" 9025 #include "confdefs.h"
8987 9026
8988 #ifdef TIME_WITH_SYS_TIME 9027 #ifdef TIME_WITH_SYS_TIME
8989 #include <sys/time.h> 9028 #include <sys/time.h>
8990 #include <time.h> 9029 #include <time.h>
9002 struct timezone dummy; 9041 struct timezone dummy;
9003 gettimeofday (&time, &dummy); 9042 gettimeofday (&time, &dummy);
9004 9043
9005 ; return 0; } 9044 ; return 0; }
9006 EOF 9045 EOF
9007 if { (eval echo configure:9008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9046 if { (eval echo configure:9047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9008 rm -rf conftest* 9047 rm -rf conftest*
9009 echo "$ac_t""two" 1>&6 9048 echo "$ac_t""two" 1>&6
9010 else 9049 else
9011 echo "configure: failed program was:" >&5 9050 echo "configure: failed program was:" >&5
9012 cat conftest.$ac_ext >&5 9051 cat conftest.$ac_ext >&5
9024 rm -f conftest* 9063 rm -f conftest*
9025 fi 9064 fi
9026 9065
9027 9066
9028 echo $ac_n "checking for inline""... $ac_c" 1>&6 9067 echo $ac_n "checking for inline""... $ac_c" 1>&6
9029 echo "configure:9030: checking for inline" >&5 9068 echo "configure:9069: checking for inline" >&5
9030 9069
9031 ac_cv_c_inline=no 9070 ac_cv_c_inline=no
9032 for ac_kw in inline __inline__ __inline; do 9071 for ac_kw in inline __inline__ __inline; do
9033 cat > conftest.$ac_ext <<EOF 9072 cat > conftest.$ac_ext <<EOF
9034 #line 9035 "configure" 9073 #line 9074 "configure"
9035 #include "confdefs.h" 9074 #include "confdefs.h"
9036 9075
9037 int main() { 9076 int main() {
9038 } $ac_kw foo() { 9077 } $ac_kw foo() {
9039 ; return 0; } 9078 ; return 0; }
9040 EOF 9079 EOF
9041 if { (eval echo configure:9042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 9080 if { (eval echo configure:9081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9042 rm -rf conftest* 9081 rm -rf conftest*
9043 ac_cv_c_inline=$ac_kw; break 9082 ac_cv_c_inline=$ac_kw; break
9044 else 9083 else
9045 echo "configure: failed program was:" >&5 9084 echo "configure: failed program was:" >&5
9046 cat conftest.$ac_ext >&5 9085 cat conftest.$ac_ext >&5
9086 9125
9087 9126
9088 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 9127 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9089 # for constant arguments. Useless! 9128 # for constant arguments. Useless!
9090 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 9129 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
9091 echo "configure:9092: checking for working alloca.h" >&5 9130 echo "configure:9131: checking for working alloca.h" >&5
9092 9131
9093 cat > conftest.$ac_ext <<EOF 9132 cat > conftest.$ac_ext <<EOF
9094 #line 9095 "configure" 9133 #line 9134 "configure"
9095 #include "confdefs.h" 9134 #include "confdefs.h"
9096 #include <alloca.h> 9135 #include <alloca.h>
9097 int main() { 9136 int main() {
9098 char *p = alloca(2 * sizeof(int)); 9137 char *p = alloca(2 * sizeof(int));
9099 ; return 0; } 9138 ; return 0; }
9100 EOF 9139 EOF
9101 if { (eval echo configure:9102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9140 if { (eval echo configure:9141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9102 rm -rf conftest* 9141 rm -rf conftest*
9103 ac_cv_header_alloca_h=yes 9142 ac_cv_header_alloca_h=yes
9104 else 9143 else
9105 echo "configure: failed program was:" >&5 9144 echo "configure: failed program was:" >&5
9106 cat conftest.$ac_ext >&5 9145 cat conftest.$ac_ext >&5
9120 } 9159 }
9121 9160
9122 fi 9161 fi
9123 9162
9124 echo $ac_n "checking for alloca""... $ac_c" 1>&6 9163 echo $ac_n "checking for alloca""... $ac_c" 1>&6
9125 echo "configure:9126: checking for alloca" >&5 9164 echo "configure:9165: checking for alloca" >&5
9126 9165
9127 cat > conftest.$ac_ext <<EOF 9166 cat > conftest.$ac_ext <<EOF
9128 #line 9129 "configure" 9167 #line 9168 "configure"
9129 #include "confdefs.h" 9168 #include "confdefs.h"
9130 9169
9131 #ifdef __GNUC__ 9170 #ifdef __GNUC__
9132 # define alloca __builtin_alloca 9171 # define alloca __builtin_alloca
9133 #else 9172 #else
9151 9190
9152 int main() { 9191 int main() {
9153 char *p = (char *) alloca(1); 9192 char *p = (char *) alloca(1);
9154 ; return 0; } 9193 ; return 0; }
9155 EOF 9194 EOF
9156 if { (eval echo configure:9157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9195 if { (eval echo configure:9196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9157 rm -rf conftest* 9196 rm -rf conftest*
9158 ac_cv_func_alloca_works=yes 9197 ac_cv_func_alloca_works=yes
9159 else 9198 else
9160 echo "configure: failed program was:" >&5 9199 echo "configure: failed program was:" >&5
9161 cat conftest.$ac_ext >&5 9200 cat conftest.$ac_ext >&5
9190 EOF 9229 EOF
9191 } 9230 }
9192 9231
9193 9232
9194 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 9233 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
9195 echo "configure:9196: checking whether alloca needs Cray hooks" >&5 9234 echo "configure:9235: checking whether alloca needs Cray hooks" >&5
9196 9235
9197 cat > conftest.$ac_ext <<EOF 9236 cat > conftest.$ac_ext <<EOF
9198 #line 9199 "configure" 9237 #line 9238 "configure"
9199 #include "confdefs.h" 9238 #include "confdefs.h"
9200 #if defined(CRAY) && ! defined(CRAY2) 9239 #if defined(CRAY) && ! defined(CRAY2)
9201 webecray 9240 webecray
9202 #else 9241 #else
9203 wenotbecray 9242 wenotbecray
9217 9256
9218 echo "$ac_t""$ac_cv_os_cray" 1>&6 9257 echo "$ac_t""$ac_cv_os_cray" 1>&6
9219 if test $ac_cv_os_cray = yes; then 9258 if test $ac_cv_os_cray = yes; then
9220 for ac_func in _getb67 GETB67 getb67; do 9259 for ac_func in _getb67 GETB67 getb67; do
9221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9222 echo "configure:9223: checking for $ac_func" >&5 9261 echo "configure:9262: checking for $ac_func" >&5
9223 9262
9224 cat > conftest.$ac_ext <<EOF 9263 cat > conftest.$ac_ext <<EOF
9225 #line 9226 "configure" 9264 #line 9265 "configure"
9226 #include "confdefs.h" 9265 #include "confdefs.h"
9227 /* System header to define __stub macros and hopefully few prototypes, 9266 /* System header to define __stub macros and hopefully few prototypes,
9228 which can conflict with char $ac_func(); below. */ 9267 which can conflict with char $ac_func(); below. */
9229 #include <assert.h> 9268 #include <assert.h>
9230 /* Override any gcc2 internal prototype to avoid an error. */ 9269 /* Override any gcc2 internal prototype to avoid an error. */
9243 $ac_func(); 9282 $ac_func();
9244 #endif 9283 #endif
9245 9284
9246 ; return 0; } 9285 ; return 0; }
9247 EOF 9286 EOF
9248 if { (eval echo configure:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9287 if { (eval echo configure:9288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9249 rm -rf conftest* 9288 rm -rf conftest*
9250 eval "ac_cv_func_$ac_func=yes" 9289 eval "ac_cv_func_$ac_func=yes"
9251 else 9290 else
9252 echo "configure: failed program was:" >&5 9291 echo "configure: failed program was:" >&5
9253 cat conftest.$ac_ext >&5 9292 cat conftest.$ac_ext >&5
9273 9312
9274 done 9313 done
9275 fi 9314 fi
9276 9315
9277 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 9316 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
9278 echo "configure:9279: checking stack direction for C alloca" >&5 9317 echo "configure:9318: checking stack direction for C alloca" >&5
9279 9318
9280 cat > conftest.$ac_ext <<EOF 9319 cat > conftest.$ac_ext <<EOF
9281 #line 9282 "configure" 9320 #line 9321 "configure"
9282 #include "confdefs.h" 9321 #include "confdefs.h"
9283 find_stack_direction () 9322 find_stack_direction ()
9284 { 9323 {
9285 static char *addr = 0; 9324 static char *addr = 0;
9286 auto char dummy; 9325 auto char dummy;
9295 main () 9334 main ()
9296 { 9335 {
9297 exit (find_stack_direction() < 0); 9336 exit (find_stack_direction() < 0);
9298 } 9337 }
9299 EOF 9338 EOF
9300 if { (eval echo configure:9301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9339 if { (eval echo configure:9340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9301 then 9340 then
9302 ac_cv_c_stack_direction=1 9341 ac_cv_c_stack_direction=1
9303 else 9342 else
9304 conftest_rc="$?" 9343 conftest_rc="$?"
9305 echo "configure: failed program was:" >&5 9344 echo "configure: failed program was:" >&5
9324 echo " xemacs will be linked with \"$ALLOCA\"" 9363 echo " xemacs will be linked with \"$ALLOCA\""
9325 fi 9364 fi
9326 9365
9327 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 9366 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
9328 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 9367 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
9329 echo "configure:9330: checking for vfork.h" >&5 9368 echo "configure:9369: checking for vfork.h" >&5
9330 9369
9331 cat > conftest.$ac_ext <<EOF 9370 cat > conftest.$ac_ext <<EOF
9332 #line 9333 "configure" 9371 #line 9372 "configure"
9333 #include "confdefs.h" 9372 #include "confdefs.h"
9334 #include <vfork.h> 9373 #include <vfork.h>
9335 EOF 9374 EOF
9336 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9337 { (eval echo configure:9338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9376 { (eval echo configure:9377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9338 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9339 if test -z "$ac_err"; then 9378 if test -z "$ac_err"; then
9340 rm -rf conftest* 9379 rm -rf conftest*
9341 eval "ac_cv_header_$ac_safe=yes" 9380 eval "ac_cv_header_$ac_safe=yes"
9342 else 9381 else
9360 else 9399 else
9361 echo "$ac_t""no" 1>&6 9400 echo "$ac_t""no" 1>&6
9362 fi 9401 fi
9363 9402
9364 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 9403 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
9365 echo "configure:9366: checking for working vfork" >&5 9404 echo "configure:9405: checking for working vfork" >&5
9366 9405
9367 cat > conftest.$ac_ext <<EOF 9406 cat > conftest.$ac_ext <<EOF
9368 #line 9369 "configure" 9407 #line 9408 "configure"
9369 #include "confdefs.h" 9408 #include "confdefs.h"
9370 /* Thanks to Paul Eggert for this test. */ 9409 /* Thanks to Paul Eggert for this test. */
9371 #include <stdio.h> 9410 #include <stdio.h>
9372 #include <sys/types.h> 9411 #include <sys/types.h>
9373 #include <sys/stat.h> 9412 #include <sys/stat.h>
9458 || fstat(fileno(stdout), &st) != 0 9497 || fstat(fileno(stdout), &st) != 0
9459 ); 9498 );
9460 } 9499 }
9461 } 9500 }
9462 EOF 9501 EOF
9463 if { (eval echo configure:9464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9502 if { (eval echo configure:9503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9464 then 9503 then
9465 ac_cv_func_vfork_works=yes 9504 ac_cv_func_vfork_works=yes
9466 else 9505 else
9467 conftest_rc="$?" 9506 conftest_rc="$?"
9468 echo "configure: failed program was:" >&5 9507 echo "configure: failed program was:" >&5
9484 9523
9485 fi 9524 fi
9486 9525
9487 9526
9488 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 9527 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
9489 echo "configure:9490: checking for working strcoll" >&5 9528 echo "configure:9529: checking for working strcoll" >&5
9490 9529
9491 cat > conftest.$ac_ext <<EOF 9530 cat > conftest.$ac_ext <<EOF
9492 #line 9493 "configure" 9531 #line 9532 "configure"
9493 #include "confdefs.h" 9532 #include "confdefs.h"
9494 #include <string.h> 9533 #include <string.h>
9495 main () 9534 main ()
9496 { 9535 {
9497 exit (strcoll ("abc", "def") >= 0 || 9536 exit (strcoll ("abc", "def") >= 0 ||
9498 strcoll ("ABC", "DEF") >= 0 || 9537 strcoll ("ABC", "DEF") >= 0 ||
9499 strcoll ("123", "456") >= 0); 9538 strcoll ("123", "456") >= 0);
9500 } 9539 }
9501 EOF 9540 EOF
9502 if { (eval echo configure:9503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9541 if { (eval echo configure:9542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9503 then 9542 then
9504 ac_cv_func_strcoll_works=yes 9543 ac_cv_func_strcoll_works=yes
9505 else 9544 else
9506 conftest_rc="$?" 9545 conftest_rc="$?"
9507 echo "configure: failed program was:" >&5 9546 echo "configure: failed program was:" >&5
9525 9564
9526 9565
9527 for ac_func in getpgrp 9566 for ac_func in getpgrp
9528 do 9567 do
9529 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9568 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9530 echo "configure:9531: checking for $ac_func" >&5 9569 echo "configure:9570: checking for $ac_func" >&5
9531 9570
9532 cat > conftest.$ac_ext <<EOF 9571 cat > conftest.$ac_ext <<EOF
9533 #line 9534 "configure" 9572 #line 9573 "configure"
9534 #include "confdefs.h" 9573 #include "confdefs.h"
9535 /* System header to define __stub macros and hopefully few prototypes, 9574 /* System header to define __stub macros and hopefully few prototypes,
9536 which can conflict with char $ac_func(); below. */ 9575 which can conflict with char $ac_func(); below. */
9537 #include <assert.h> 9576 #include <assert.h>
9538 /* Override any gcc2 internal prototype to avoid an error. */ 9577 /* Override any gcc2 internal prototype to avoid an error. */
9551 $ac_func(); 9590 $ac_func();
9552 #endif 9591 #endif
9553 9592
9554 ; return 0; } 9593 ; return 0; }
9555 EOF 9594 EOF
9556 if { (eval echo configure:9557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9595 if { (eval echo configure:9596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9557 rm -rf conftest* 9596 rm -rf conftest*
9558 eval "ac_cv_func_$ac_func=yes" 9597 eval "ac_cv_func_$ac_func=yes"
9559 else 9598 else
9560 echo "configure: failed program was:" >&5 9599 echo "configure: failed program was:" >&5
9561 cat conftest.$ac_ext >&5 9600 cat conftest.$ac_ext >&5
9579 echo "$ac_t""no" 1>&6 9618 echo "$ac_t""no" 1>&6
9580 fi 9619 fi
9581 done 9620 done
9582 9621
9583 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 9622 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
9584 echo "configure:9585: checking whether getpgrp takes no argument" >&5 9623 echo "configure:9624: checking whether getpgrp takes no argument" >&5
9585 9624
9586 cat > conftest.$ac_ext <<EOF 9625 cat > conftest.$ac_ext <<EOF
9587 #line 9588 "configure" 9626 #line 9627 "configure"
9588 #include "confdefs.h" 9627 #include "confdefs.h"
9589 9628
9590 /* 9629 /*
9591 * If this system has a BSD-style getpgrp(), 9630 * If this system has a BSD-style getpgrp(),
9592 * which takes a pid argument, exit unsuccessfully. 9631 * which takes a pid argument, exit unsuccessfully.
9637 exit(s>>8); 9676 exit(s>>8);
9638 } 9677 }
9639 } 9678 }
9640 9679
9641 EOF 9680 EOF
9642 if { (eval echo configure:9643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9681 if { (eval echo configure:9682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9643 then 9682 then
9644 ac_cv_func_getpgrp_void=yes 9683 ac_cv_func_getpgrp_void=yes
9645 else 9684 else
9646 conftest_rc="$?" 9685 conftest_rc="$?"
9647 echo "configure: failed program was:" >&5 9686 echo "configure: failed program was:" >&5
9664 9703
9665 fi 9704 fi
9666 9705
9667 9706
9668 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 9707 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
9669 echo "configure:9670: checking for working mmap" >&5 9708 echo "configure:9709: checking for working mmap" >&5
9670 case "$opsys" in ultrix* ) have_mmap=no ;; *) 9709 case "$opsys" in ultrix* ) have_mmap=no ;; *)
9671 cat > conftest.$ac_ext <<EOF 9710 cat > conftest.$ac_ext <<EOF
9672 #line 9673 "configure" 9711 #line 9712 "configure"
9673 #include "confdefs.h" 9712 #include "confdefs.h"
9674 #include <stdio.h> 9713 #include <stdio.h>
9675 #include <unistd.h> 9714 #include <unistd.h>
9676 #include <fcntl.h> 9715 #include <fcntl.h>
9677 #include <sys/mman.h> 9716 #include <sys/mman.h>
9700 return 0; 9739 return 0;
9701 perror ("conftest: mmap failed"); 9740 perror ("conftest: mmap failed");
9702 return 1; 9741 return 1;
9703 } 9742 }
9704 EOF 9743 EOF
9705 if { (eval echo configure:9706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 9744 if { (eval echo configure:9745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
9706 then 9745 then
9707 have_mmap=yes 9746 have_mmap=yes
9708 else 9747 else
9709 conftest_rc="$?" 9748 conftest_rc="$?"
9710 echo "configure: failed program was:" >&5 9749 echo "configure: failed program was:" >&5
9735 } 9774 }
9736 9775
9737 9776
9738 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 9777 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
9739 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 9778 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
9740 echo "configure:9741: checking for termios.h" >&5 9779 echo "configure:9780: checking for termios.h" >&5
9741 9780
9742 cat > conftest.$ac_ext <<EOF 9781 cat > conftest.$ac_ext <<EOF
9743 #line 9744 "configure" 9782 #line 9783 "configure"
9744 #include "confdefs.h" 9783 #include "confdefs.h"
9745 #include <termios.h> 9784 #include <termios.h>
9746 EOF 9785 EOF
9747 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9786 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9748 { (eval echo configure:9749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9787 { (eval echo configure:9788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9749 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9788 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9750 if test -z "$ac_err"; then 9789 if test -z "$ac_err"; then
9751 rm -rf conftest* 9790 rm -rf conftest*
9752 eval "ac_cv_header_$ac_safe=yes" 9791 eval "ac_cv_header_$ac_safe=yes"
9753 else 9792 else
9786 9825
9787 else 9826 else
9788 echo "$ac_t""no" 1>&6 9827 echo "$ac_t""no" 1>&6
9789 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 9828 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
9790 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 9829 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
9791 echo "configure:9792: checking for termio.h" >&5 9830 echo "configure:9831: checking for termio.h" >&5
9792 9831
9793 cat > conftest.$ac_ext <<EOF 9832 cat > conftest.$ac_ext <<EOF
9794 #line 9795 "configure" 9833 #line 9834 "configure"
9795 #include "confdefs.h" 9834 #include "confdefs.h"
9796 #include <termio.h> 9835 #include <termio.h>
9797 EOF 9836 EOF
9798 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9837 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9799 { (eval echo configure:9800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9838 { (eval echo configure:9839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9800 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9839 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9801 if test -z "$ac_err"; then 9840 if test -z "$ac_err"; then
9802 rm -rf conftest* 9841 rm -rf conftest*
9803 eval "ac_cv_header_$ac_safe=yes" 9842 eval "ac_cv_header_$ac_safe=yes"
9804 else 9843 else
9826 fi 9865 fi
9827 9866
9828 9867
9829 9868
9830 echo $ac_n "checking for socket""... $ac_c" 1>&6 9869 echo $ac_n "checking for socket""... $ac_c" 1>&6
9831 echo "configure:9832: checking for socket" >&5 9870 echo "configure:9871: checking for socket" >&5
9832 9871
9833 cat > conftest.$ac_ext <<EOF 9872 cat > conftest.$ac_ext <<EOF
9834 #line 9835 "configure" 9873 #line 9874 "configure"
9835 #include "confdefs.h" 9874 #include "confdefs.h"
9836 /* System header to define __stub macros and hopefully few prototypes, 9875 /* System header to define __stub macros and hopefully few prototypes,
9837 which can conflict with char socket(); below. */ 9876 which can conflict with char socket(); below. */
9838 #include <assert.h> 9877 #include <assert.h>
9839 /* Override any gcc2 internal prototype to avoid an error. */ 9878 /* Override any gcc2 internal prototype to avoid an error. */
9852 socket(); 9891 socket();
9853 #endif 9892 #endif
9854 9893
9855 ; return 0; } 9894 ; return 0; }
9856 EOF 9895 EOF
9857 if { (eval echo configure:9858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9896 if { (eval echo configure:9897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9858 rm -rf conftest* 9897 rm -rf conftest*
9859 eval "ac_cv_func_socket=yes" 9898 eval "ac_cv_func_socket=yes"
9860 else 9899 else
9861 echo "configure: failed program was:" >&5 9900 echo "configure: failed program was:" >&5
9862 cat conftest.$ac_ext >&5 9901 cat conftest.$ac_ext >&5
9867 9906
9868 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 9907 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
9869 echo "$ac_t""yes" 1>&6 9908 echo "$ac_t""yes" 1>&6
9870 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 9909 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
9871 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 9910 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
9872 echo "configure:9873: checking for netinet/in.h" >&5 9911 echo "configure:9912: checking for netinet/in.h" >&5
9873 9912
9874 cat > conftest.$ac_ext <<EOF 9913 cat > conftest.$ac_ext <<EOF
9875 #line 9876 "configure" 9914 #line 9915 "configure"
9876 #include "confdefs.h" 9915 #include "confdefs.h"
9877 #include <netinet/in.h> 9916 #include <netinet/in.h>
9878 EOF 9917 EOF
9879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9918 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9880 { (eval echo configure:9881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9919 { (eval echo configure:9920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9920 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9882 if test -z "$ac_err"; then 9921 if test -z "$ac_err"; then
9883 rm -rf conftest* 9922 rm -rf conftest*
9884 eval "ac_cv_header_$ac_safe=yes" 9923 eval "ac_cv_header_$ac_safe=yes"
9885 else 9924 else
9892 rm -f conftest* 9931 rm -f conftest*
9893 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 9932 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9894 echo "$ac_t""yes" 1>&6 9933 echo "$ac_t""yes" 1>&6
9895 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 9934 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
9896 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 9935 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
9897 echo "configure:9898: checking for arpa/inet.h" >&5 9936 echo "configure:9937: checking for arpa/inet.h" >&5
9898 9937
9899 cat > conftest.$ac_ext <<EOF 9938 cat > conftest.$ac_ext <<EOF
9900 #line 9901 "configure" 9939 #line 9940 "configure"
9901 #include "confdefs.h" 9940 #include "confdefs.h"
9902 #include <arpa/inet.h> 9941 #include <arpa/inet.h>
9903 EOF 9942 EOF
9904 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9905 { (eval echo configure:9906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9944 { (eval echo configure:9945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9906 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9907 if test -z "$ac_err"; then 9946 if test -z "$ac_err"; then
9908 rm -rf conftest* 9947 rm -rf conftest*
9909 eval "ac_cv_header_$ac_safe=yes" 9948 eval "ac_cv_header_$ac_safe=yes"
9910 else 9949 else
9925 #define HAVE_SOCKETS 1 9964 #define HAVE_SOCKETS 1
9926 EOF 9965 EOF
9927 } 9966 }
9928 9967
9929 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 9968 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
9930 echo "configure:9931: checking "for sun_len member in struct sockaddr_un"" >&5 9969 echo "configure:9970: checking "for sun_len member in struct sockaddr_un"" >&5
9931 cat > conftest.$ac_ext <<EOF 9970 cat > conftest.$ac_ext <<EOF
9932 #line 9933 "configure" 9971 #line 9972 "configure"
9933 #include "confdefs.h" 9972 #include "confdefs.h"
9934 9973
9935 #include <sys/types.h> 9974 #include <sys/types.h>
9936 #include <sys/socket.h> 9975 #include <sys/socket.h>
9937 #include <sys/un.h> 9976 #include <sys/un.h>
9938 9977
9939 int main() { 9978 int main() {
9940 static struct sockaddr_un x; x.sun_len = 1; 9979 static struct sockaddr_un x; x.sun_len = 1;
9941 ; return 0; } 9980 ; return 0; }
9942 EOF 9981 EOF
9943 if { (eval echo configure:9944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9982 if { (eval echo configure:9983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9944 rm -rf conftest* 9983 rm -rf conftest*
9945 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 9984 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
9946 Defining HAVE_SOCKADDR_SUN_LEN 9985 Defining HAVE_SOCKADDR_SUN_LEN
9947 EOF 9986 EOF
9948 cat >> confdefs.h <<\EOF 9987 cat >> confdefs.h <<\EOF
9956 rm -rf conftest* 9995 rm -rf conftest*
9957 echo "$ac_t""no" 1>&6 9996 echo "$ac_t""no" 1>&6
9958 fi 9997 fi
9959 rm -f conftest* 9998 rm -f conftest*
9960 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 9999 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
9961 echo "configure:9962: checking "for ip_mreq struct in netinet/in.h"" >&5 10000 echo "configure:10001: checking "for ip_mreq struct in netinet/in.h"" >&5
9962 cat > conftest.$ac_ext <<EOF 10001 cat > conftest.$ac_ext <<EOF
9963 #line 9964 "configure" 10002 #line 10003 "configure"
9964 #include "confdefs.h" 10003 #include "confdefs.h"
9965 10004
9966 #include <sys/types.h> 10005 #include <sys/types.h>
9967 #include <netinet/in.h> 10006 #include <netinet/in.h>
9968 10007
9969 int main() { 10008 int main() {
9970 static struct ip_mreq x; 10009 static struct ip_mreq x;
9971 ; return 0; } 10010 ; return 0; }
9972 EOF 10011 EOF
9973 if { (eval echo configure:9974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10012 if { (eval echo configure:10013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9974 rm -rf conftest* 10013 rm -rf conftest*
9975 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 10014 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
9976 Defining HAVE_MULTICAST 10015 Defining HAVE_MULTICAST
9977 EOF 10016 EOF
9978 cat >> confdefs.h <<\EOF 10017 cat >> confdefs.h <<\EOF
9999 echo "$ac_t""no" 1>&6 10038 echo "$ac_t""no" 1>&6
10000 fi 10039 fi
10001 10040
10002 10041
10003 echo $ac_n "checking for msgget""... $ac_c" 1>&6 10042 echo $ac_n "checking for msgget""... $ac_c" 1>&6
10004 echo "configure:10005: checking for msgget" >&5 10043 echo "configure:10044: checking for msgget" >&5
10005 10044
10006 cat > conftest.$ac_ext <<EOF 10045 cat > conftest.$ac_ext <<EOF
10007 #line 10008 "configure" 10046 #line 10047 "configure"
10008 #include "confdefs.h" 10047 #include "confdefs.h"
10009 /* System header to define __stub macros and hopefully few prototypes, 10048 /* System header to define __stub macros and hopefully few prototypes,
10010 which can conflict with char msgget(); below. */ 10049 which can conflict with char msgget(); below. */
10011 #include <assert.h> 10050 #include <assert.h>
10012 /* Override any gcc2 internal prototype to avoid an error. */ 10051 /* Override any gcc2 internal prototype to avoid an error. */
10025 msgget(); 10064 msgget();
10026 #endif 10065 #endif
10027 10066
10028 ; return 0; } 10067 ; return 0; }
10029 EOF 10068 EOF
10030 if { (eval echo configure:10031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10069 if { (eval echo configure:10070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10031 rm -rf conftest* 10070 rm -rf conftest*
10032 eval "ac_cv_func_msgget=yes" 10071 eval "ac_cv_func_msgget=yes"
10033 else 10072 else
10034 echo "configure: failed program was:" >&5 10073 echo "configure: failed program was:" >&5
10035 cat conftest.$ac_ext >&5 10074 cat conftest.$ac_ext >&5
10040 10079
10041 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 10080 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
10042 echo "$ac_t""yes" 1>&6 10081 echo "$ac_t""yes" 1>&6
10043 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 10082 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
10044 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 10083 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
10045 echo "configure:10046: checking for sys/ipc.h" >&5 10084 echo "configure:10085: checking for sys/ipc.h" >&5
10046 10085
10047 cat > conftest.$ac_ext <<EOF 10086 cat > conftest.$ac_ext <<EOF
10048 #line 10049 "configure" 10087 #line 10088 "configure"
10049 #include "confdefs.h" 10088 #include "confdefs.h"
10050 #include <sys/ipc.h> 10089 #include <sys/ipc.h>
10051 EOF 10090 EOF
10052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10091 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10053 { (eval echo configure:10054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10092 { (eval echo configure:10093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10055 if test -z "$ac_err"; then 10094 if test -z "$ac_err"; then
10056 rm -rf conftest* 10095 rm -rf conftest*
10057 eval "ac_cv_header_$ac_safe=yes" 10096 eval "ac_cv_header_$ac_safe=yes"
10058 else 10097 else
10065 rm -f conftest* 10104 rm -f conftest*
10066 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 10105 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10067 echo "$ac_t""yes" 1>&6 10106 echo "$ac_t""yes" 1>&6
10068 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 10107 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
10069 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 10108 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
10070 echo "configure:10071: checking for sys/msg.h" >&5 10109 echo "configure:10110: checking for sys/msg.h" >&5
10071 10110
10072 cat > conftest.$ac_ext <<EOF 10111 cat > conftest.$ac_ext <<EOF
10073 #line 10074 "configure" 10112 #line 10113 "configure"
10074 #include "confdefs.h" 10113 #include "confdefs.h"
10075 #include <sys/msg.h> 10114 #include <sys/msg.h>
10076 EOF 10115 EOF
10077 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10078 { (eval echo configure:10079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10117 { (eval echo configure:10118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10079 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10118 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10080 if test -z "$ac_err"; then 10119 if test -z "$ac_err"; then
10081 rm -rf conftest* 10120 rm -rf conftest*
10082 eval "ac_cv_header_$ac_safe=yes" 10121 eval "ac_cv_header_$ac_safe=yes"
10083 else 10122 else
10111 fi 10150 fi
10112 10151
10113 10152
10114 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 10153 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
10115 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 10154 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
10116 echo "configure:10117: checking for dirent.h" >&5 10155 echo "configure:10156: checking for dirent.h" >&5
10117 10156
10118 cat > conftest.$ac_ext <<EOF 10157 cat > conftest.$ac_ext <<EOF
10119 #line 10120 "configure" 10158 #line 10159 "configure"
10120 #include "confdefs.h" 10159 #include "confdefs.h"
10121 #include <dirent.h> 10160 #include <dirent.h>
10122 EOF 10161 EOF
10123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10162 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10124 { (eval echo configure:10125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10163 { (eval echo configure:10164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10125 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10164 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10126 if test -z "$ac_err"; then 10165 if test -z "$ac_err"; then
10127 rm -rf conftest* 10166 rm -rf conftest*
10128 eval "ac_cv_header_$ac_safe=yes" 10167 eval "ac_cv_header_$ac_safe=yes"
10129 else 10168 else
10146 10185
10147 else 10186 else
10148 echo "$ac_t""no" 1>&6 10187 echo "$ac_t""no" 1>&6
10149 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 10188 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
10150 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 10189 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
10151 echo "configure:10152: checking for sys/dir.h" >&5 10190 echo "configure:10191: checking for sys/dir.h" >&5
10152 10191
10153 cat > conftest.$ac_ext <<EOF 10192 cat > conftest.$ac_ext <<EOF
10154 #line 10155 "configure" 10193 #line 10194 "configure"
10155 #include "confdefs.h" 10194 #include "confdefs.h"
10156 #include <sys/dir.h> 10195 #include <sys/dir.h>
10157 EOF 10196 EOF
10158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10159 { (eval echo configure:10160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10198 { (eval echo configure:10199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10161 if test -z "$ac_err"; then 10200 if test -z "$ac_err"; then
10162 rm -rf conftest* 10201 rm -rf conftest*
10163 eval "ac_cv_header_$ac_safe=yes" 10202 eval "ac_cv_header_$ac_safe=yes"
10164 else 10203 else
10187 fi 10226 fi
10188 10227
10189 10228
10190 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 10229 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
10191 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 10230 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
10192 echo "configure:10193: checking for nlist.h" >&5 10231 echo "configure:10232: checking for nlist.h" >&5
10193 10232
10194 cat > conftest.$ac_ext <<EOF 10233 cat > conftest.$ac_ext <<EOF
10195 #line 10196 "configure" 10234 #line 10235 "configure"
10196 #include "confdefs.h" 10235 #include "confdefs.h"
10197 #include <nlist.h> 10236 #include <nlist.h>
10198 EOF 10237 EOF
10199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10200 { (eval echo configure:10201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10239 { (eval echo configure:10240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10240 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10202 if test -z "$ac_err"; then 10241 if test -z "$ac_err"; then
10203 rm -rf conftest* 10242 rm -rf conftest*
10204 eval "ac_cv_header_$ac_safe=yes" 10243 eval "ac_cv_header_$ac_safe=yes"
10205 else 10244 else
10225 fi 10264 fi
10226 10265
10227 10266
10228 10267
10229 echo "checking "for sound support"" 1>&6 10268 echo "checking "for sound support"" 1>&6
10230 echo "configure:10231: checking "for sound support"" >&5 10269 echo "configure:10270: checking "for sound support"" >&5
10231 case "$with_sound" in 10270 case "$with_sound" in
10232 native | both ) with_native_sound=yes;; 10271 native | both ) with_native_sound=yes;;
10233 nas | no ) with_native_sound=no;; 10272 nas | no ) with_native_sound=no;;
10234 esac 10273 esac
10235 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 10274 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
10236 10275
10237 if test "$with_native_sound" != "no"; then 10276 if test "$with_native_sound" != "no"; then
10238 if test -n "$native_sound_lib"; then 10277 if test -n "$native_sound_lib"; then
10239 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 10278 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
10240 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 10279 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
10241 echo "configure:10242: checking for multimedia/audio_device.h" >&5 10280 echo "configure:10281: checking for multimedia/audio_device.h" >&5
10242 10281
10243 cat > conftest.$ac_ext <<EOF 10282 cat > conftest.$ac_ext <<EOF
10244 #line 10245 "configure" 10283 #line 10284 "configure"
10245 #include "confdefs.h" 10284 #include "confdefs.h"
10246 #include <multimedia/audio_device.h> 10285 #include <multimedia/audio_device.h>
10247 EOF 10286 EOF
10248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10287 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; } 10288 { (eval echo configure:10289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10251 if test -z "$ac_err"; then 10290 if test -z "$ac_err"; then
10252 rm -rf conftest* 10291 rm -rf conftest*
10253 eval "ac_cv_header_$ac_safe=yes" 10292 eval "ac_cv_header_$ac_safe=yes"
10254 else 10293 else
10290 10329
10291 if test -z "$sound_found"; then 10330 if test -z "$sound_found"; then
10292 case "$canonical" in 10331 case "$canonical" in
10293 *-sgi-* ) 10332 *-sgi-* )
10294 if test -z "$native_sound_lib"; then 10333 if test -z "$native_sound_lib"; then
10334 ac_safe=`echo "audio.h" | sed 'y%./+-%__p_%'`
10335 echo $ac_n "checking for audio.h""... $ac_c" 1>&6
10336 echo "configure:10337: checking for audio.h" >&5
10337
10338 cat > conftest.$ac_ext <<EOF
10339 #line 10340 "configure"
10340 #include "confdefs.h"
10341 #include <audio.h>
10342 EOF
10343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10344 { (eval echo configure:10345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10346 if test -z "$ac_err"; then
10347 rm -rf conftest*
10348 eval "ac_cv_header_$ac_safe=yes"
10349 else
10350 echo "$ac_err" >&5
10351 echo "configure: failed program was:" >&5
10352 cat conftest.$ac_ext >&5
10353 rm -rf conftest*
10354 eval "ac_cv_header_$ac_safe=no"
10355 fi
10356 rm -f conftest*
10357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10358 echo "$ac_t""yes" 1>&6
10359
10295 10360
10296 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 10361 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
10297 echo "configure:10298: checking for ALopenport in -laudio" >&5 10362 echo "configure:10363: checking for ALopenport in -laudio" >&5
10298 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 10363 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
10299 10364
10300 xe_check_libs=" -laudio " 10365 xe_check_libs=" -laudio "
10301 cat > conftest.$ac_ext <<EOF 10366 cat > conftest.$ac_ext <<EOF
10302 #line 10303 "configure" 10367 #line 10368 "configure"
10303 #include "confdefs.h" 10368 #include "confdefs.h"
10304 /* Override any gcc2 internal prototype to avoid an error. */ 10369 /* Override any gcc2 internal prototype to avoid an error. */
10305 /* We use char because int might match the return type of a gcc2 10370 /* We use char because int might match the return type of a gcc2
10306 builtin and then its argument prototype would still apply. */ 10371 builtin and then its argument prototype would still apply. */
10307 char ALopenport(); 10372 char ALopenport();
10308 10373
10309 int main() { 10374 int main() {
10310 ALopenport() 10375 ALopenport()
10311 ; return 0; } 10376 ; return 0; }
10312 EOF 10377 EOF
10313 if { (eval echo configure:10314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10378 if { (eval echo configure:10379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10314 rm -rf conftest* 10379 rm -rf conftest*
10315 eval "ac_cv_lib_$ac_lib_var=yes" 10380 eval "ac_cv_lib_$ac_lib_var=yes"
10316 else 10381 else
10317 echo "configure: failed program was:" >&5 10382 echo "configure: failed program was:" >&5
10318 cat conftest.$ac_ext >&5 10383 cat conftest.$ac_ext >&5
10327 native_sound_lib="-laudio" 10392 native_sound_lib="-laudio"
10328 else 10393 else
10329 echo "$ac_t""no" 1>&6 10394 echo "$ac_t""no" 1>&6
10330 fi 10395 fi
10331 10396
10397
10398
10399 else
10400 echo "$ac_t""no" 1>&6
10401 fi
10332 10402
10333 fi 10403 fi
10334 if test -n "$native_sound_lib"; then 10404 if test -n "$native_sound_lib"; then
10335 sound_found=yes sound_cflags="" 10405 sound_found=yes sound_cflags=""
10336 extra_objs="$extra_objs sgiplay.o" && if test "$extra_verbose" = "yes"; then 10406 extra_objs="$extra_objs sgiplay.o" && if test "$extra_verbose" = "yes"; then
10339 fi ;; 10409 fi ;;
10340 hppa*-hp-hpux* ) 10410 hppa*-hp-hpux* )
10341 if test -z "$native_sound_lib"; then 10411 if test -z "$native_sound_lib"; then
10342 10412
10343 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 10413 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
10344 echo "configure:10345: checking for AOpenAudio in -lAlib" >&5 10414 echo "configure:10415: checking for AOpenAudio in -lAlib" >&5
10345 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 10415 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
10346 10416
10347 xe_check_libs=" -lAlib " 10417 xe_check_libs=" -lAlib "
10348 cat > conftest.$ac_ext <<EOF 10418 cat > conftest.$ac_ext <<EOF
10349 #line 10350 "configure" 10419 #line 10420 "configure"
10350 #include "confdefs.h" 10420 #include "confdefs.h"
10351 /* Override any gcc2 internal prototype to avoid an error. */ 10421 /* Override any gcc2 internal prototype to avoid an error. */
10352 /* We use char because int might match the return type of a gcc2 10422 /* We use char because int might match the return type of a gcc2
10353 builtin and then its argument prototype would still apply. */ 10423 builtin and then its argument prototype would still apply. */
10354 char AOpenAudio(); 10424 char AOpenAudio();
10355 10425
10356 int main() { 10426 int main() {
10357 AOpenAudio() 10427 AOpenAudio()
10358 ; return 0; } 10428 ; return 0; }
10359 EOF 10429 EOF
10360 if { (eval echo configure:10361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10430 if { (eval echo configure:10431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10361 rm -rf conftest* 10431 rm -rf conftest*
10362 eval "ac_cv_lib_$ac_lib_var=yes" 10432 eval "ac_cv_lib_$ac_lib_var=yes"
10363 else 10433 else
10364 echo "configure: failed program was:" >&5 10434 echo "configure: failed program was:" >&5
10365 cat conftest.$ac_ext >&5 10435 cat conftest.$ac_ext >&5
10393 10463
10394 if test -z "$sound_found"; then 10464 if test -z "$sound_found"; then
10395 for dir in "machine" "sys" "linux"; do 10465 for dir in "machine" "sys" "linux"; do
10396 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 10466 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
10397 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 10467 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
10398 echo "configure:10399: checking for ${dir}/soundcard.h" >&5 10468 echo "configure:10469: checking for ${dir}/soundcard.h" >&5
10399 10469
10400 cat > conftest.$ac_ext <<EOF 10470 cat > conftest.$ac_ext <<EOF
10401 #line 10402 "configure" 10471 #line 10472 "configure"
10402 #include "confdefs.h" 10472 #include "confdefs.h"
10403 #include <${dir}/soundcard.h> 10473 #include <${dir}/soundcard.h>
10404 EOF 10474 EOF
10405 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10406 { (eval echo configure:10407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10476 { (eval echo configure:10477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10407 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10477 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10408 if test -z "$ac_err"; then 10478 if test -z "$ac_err"; then
10409 rm -rf conftest* 10479 rm -rf conftest*
10410 eval "ac_cv_header_$ac_safe=yes" 10480 eval "ac_cv_header_$ac_safe=yes"
10411 else 10481 else
10471 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 10541 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
10472 echo " xemacs will be linked with \"nas.o\"" 10542 echo " xemacs will be linked with \"nas.o\""
10473 fi 10543 fi
10474 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 10544 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
10475 cat > conftest.$ac_ext <<EOF 10545 cat > conftest.$ac_ext <<EOF
10476 #line 10477 "configure" 10546 #line 10547 "configure"
10477 #include "confdefs.h" 10547 #include "confdefs.h"
10478 #include <audio/Xtutil.h> 10548 #include <audio/Xtutil.h>
10479 EOF 10549 EOF
10480 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 10550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10481 egrep "AuXtErrorJump" >/dev/null 2>&1; then 10551 egrep "AuXtErrorJump" >/dev/null 2>&1; then
10498 10568
10499 test -z "$with_tty" && with_tty=yes 10569 test -z "$with_tty" && with_tty=yes
10500 10570
10501 if test "$with_tty" = "yes" ; then 10571 if test "$with_tty" = "yes" ; then
10502 echo "checking for TTY-related features" 1>&6 10572 echo "checking for TTY-related features" 1>&6
10503 echo "configure:10504: checking for TTY-related features" >&5 10573 echo "configure:10574: checking for TTY-related features" >&5
10504 { test "$extra_verbose" = "yes" && cat << \EOF 10574 { test "$extra_verbose" = "yes" && cat << \EOF
10505 Defining HAVE_TTY 10575 Defining HAVE_TTY
10506 EOF 10576 EOF
10507 cat >> confdefs.h <<\EOF 10577 cat >> confdefs.h <<\EOF
10508 #define HAVE_TTY 1 10578 #define HAVE_TTY 1
10514 fi 10584 fi
10515 10585
10516 if test -z "$with_ncurses"; then 10586 if test -z "$with_ncurses"; then
10517 10587
10518 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 10588 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
10519 echo "configure:10520: checking for tgetent in -lncurses" >&5 10589 echo "configure:10590: checking for tgetent in -lncurses" >&5
10520 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 10590 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
10521 10591
10522 xe_check_libs=" -lncurses " 10592 xe_check_libs=" -lncurses "
10523 cat > conftest.$ac_ext <<EOF 10593 cat > conftest.$ac_ext <<EOF
10524 #line 10525 "configure" 10594 #line 10595 "configure"
10525 #include "confdefs.h" 10595 #include "confdefs.h"
10526 /* Override any gcc2 internal prototype to avoid an error. */ 10596 /* Override any gcc2 internal prototype to avoid an error. */
10527 /* We use char because int might match the return type of a gcc2 10597 /* We use char because int might match the return type of a gcc2
10528 builtin and then its argument prototype would still apply. */ 10598 builtin and then its argument prototype would still apply. */
10529 char tgetent(); 10599 char tgetent();
10530 10600
10531 int main() { 10601 int main() {
10532 tgetent() 10602 tgetent()
10533 ; return 0; } 10603 ; return 0; }
10534 EOF 10604 EOF
10535 if { (eval echo configure:10536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10605 if { (eval echo configure:10606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10536 rm -rf conftest* 10606 rm -rf conftest*
10537 eval "ac_cv_lib_$ac_lib_var=yes" 10607 eval "ac_cv_lib_$ac_lib_var=yes"
10538 else 10608 else
10539 echo "configure: failed program was:" >&5 10609 echo "configure: failed program was:" >&5
10540 cat conftest.$ac_ext >&5 10610 cat conftest.$ac_ext >&5
10563 EOF 10633 EOF
10564 } 10634 }
10565 10635
10566 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 10636 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
10567 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 10637 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
10568 echo "configure:10569: checking for ncurses/curses.h" >&5 10638 echo "configure:10639: checking for ncurses/curses.h" >&5
10569 10639
10570 cat > conftest.$ac_ext <<EOF 10640 cat > conftest.$ac_ext <<EOF
10571 #line 10572 "configure" 10641 #line 10642 "configure"
10572 #include "confdefs.h" 10642 #include "confdefs.h"
10573 #include <ncurses/curses.h> 10643 #include <ncurses/curses.h>
10574 EOF 10644 EOF
10575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10645 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10576 { (eval echo configure:10577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10646 { (eval echo configure:10647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10647 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10578 if test -z "$ac_err"; then 10648 if test -z "$ac_err"; then
10579 rm -rf conftest* 10649 rm -rf conftest*
10580 eval "ac_cv_header_$ac_safe=yes" 10650 eval "ac_cv_header_$ac_safe=yes"
10581 else 10651 else
10593 echo "$ac_t""no" 1>&6 10663 echo "$ac_t""no" 1>&6
10594 fi 10664 fi
10595 10665
10596 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 10666 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
10597 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 10667 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
10598 echo "configure:10599: checking for ncurses/term.h" >&5 10668 echo "configure:10669: checking for ncurses/term.h" >&5
10599 10669
10600 cat > conftest.$ac_ext <<EOF 10670 cat > conftest.$ac_ext <<EOF
10601 #line 10602 "configure" 10671 #line 10672 "configure"
10602 #include "confdefs.h" 10672 #include "confdefs.h"
10603 #include <ncurses/term.h> 10673 #include <ncurses/term.h>
10604 EOF 10674 EOF
10605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10606 { (eval echo configure:10607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10676 { (eval echo configure:10677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10677 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10608 if test -z "$ac_err"; then 10678 if test -z "$ac_err"; then
10609 rm -rf conftest* 10679 rm -rf conftest*
10610 eval "ac_cv_header_$ac_safe=yes" 10680 eval "ac_cv_header_$ac_safe=yes"
10611 else 10681 else
10631 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 10701 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
10632 save_c_switch_site="$c_switch_site" 10702 save_c_switch_site="$c_switch_site"
10633 c_switch_site="$c_switch_site -I/usr/include/ncurses" 10703 c_switch_site="$c_switch_site -I/usr/include/ncurses"
10634 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 10704 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
10635 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 10705 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
10636 echo "configure:10637: checking for ncurses/curses.h" >&5 10706 echo "configure:10707: checking for ncurses/curses.h" >&5
10637 10707
10638 cat > conftest.$ac_ext <<EOF 10708 cat > conftest.$ac_ext <<EOF
10639 #line 10640 "configure" 10709 #line 10710 "configure"
10640 #include "confdefs.h" 10710 #include "confdefs.h"
10641 #include <ncurses/curses.h> 10711 #include <ncurses/curses.h>
10642 EOF 10712 EOF
10643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10644 { (eval echo configure:10645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10714 { (eval echo configure:10715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10646 if test -z "$ac_err"; then 10716 if test -z "$ac_err"; then
10647 rm -rf conftest* 10717 rm -rf conftest*
10648 eval "ac_cv_header_$ac_safe=yes" 10718 eval "ac_cv_header_$ac_safe=yes"
10649 else 10719 else
10674 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 10744 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
10675 else 10745 else
10676 for lib in curses termlib termcap; do 10746 for lib in curses termlib termcap; do
10677 10747
10678 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 10748 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
10679 echo "configure:10680: checking for tgetent in -l$lib" >&5 10749 echo "configure:10750: checking for tgetent in -l$lib" >&5
10680 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 10750 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
10681 10751
10682 xe_check_libs=" -l$lib " 10752 xe_check_libs=" -l$lib "
10683 cat > conftest.$ac_ext <<EOF 10753 cat > conftest.$ac_ext <<EOF
10684 #line 10685 "configure" 10754 #line 10755 "configure"
10685 #include "confdefs.h" 10755 #include "confdefs.h"
10686 /* Override any gcc2 internal prototype to avoid an error. */ 10756 /* Override any gcc2 internal prototype to avoid an error. */
10687 /* We use char because int might match the return type of a gcc2 10757 /* We use char because int might match the return type of a gcc2
10688 builtin and then its argument prototype would still apply. */ 10758 builtin and then its argument prototype would still apply. */
10689 char tgetent(); 10759 char tgetent();
10690 10760
10691 int main() { 10761 int main() {
10692 tgetent() 10762 tgetent()
10693 ; return 0; } 10763 ; return 0; }
10694 EOF 10764 EOF
10695 if { (eval echo configure:10696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10765 if { (eval echo configure:10766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10696 rm -rf conftest* 10766 rm -rf conftest*
10697 eval "ac_cv_lib_$ac_lib_var=yes" 10767 eval "ac_cv_lib_$ac_lib_var=yes"
10698 else 10768 else
10699 echo "configure: failed program was:" >&5 10769 echo "configure: failed program was:" >&5
10700 cat conftest.$ac_ext >&5 10770 cat conftest.$ac_ext >&5
10721 if test -n "$libs_termcap"; then 10791 if test -n "$libs_termcap"; then
10722 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 10792 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
10723 else 10793 else
10724 10794
10725 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 10795 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
10726 echo "configure:10727: checking for tgetent in -lcurses" >&5 10796 echo "configure:10797: checking for tgetent in -lcurses" >&5
10727 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 10797 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
10728 10798
10729 xe_check_libs=" -lcurses " 10799 xe_check_libs=" -lcurses "
10730 cat > conftest.$ac_ext <<EOF 10800 cat > conftest.$ac_ext <<EOF
10731 #line 10732 "configure" 10801 #line 10802 "configure"
10732 #include "confdefs.h" 10802 #include "confdefs.h"
10733 /* Override any gcc2 internal prototype to avoid an error. */ 10803 /* Override any gcc2 internal prototype to avoid an error. */
10734 /* We use char because int might match the return type of a gcc2 10804 /* We use char because int might match the return type of a gcc2
10735 builtin and then its argument prototype would still apply. */ 10805 builtin and then its argument prototype would still apply. */
10736 char tgetent(); 10806 char tgetent();
10737 10807
10738 int main() { 10808 int main() {
10739 tgetent() 10809 tgetent()
10740 ; return 0; } 10810 ; return 0; }
10741 EOF 10811 EOF
10742 if { (eval echo configure:10743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10812 if { (eval echo configure:10813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10743 rm -rf conftest* 10813 rm -rf conftest*
10744 eval "ac_cv_lib_$ac_lib_var=yes" 10814 eval "ac_cv_lib_$ac_lib_var=yes"
10745 else 10815 else
10746 echo "configure: failed program was:" >&5 10816 echo "configure: failed program was:" >&5
10747 cat conftest.$ac_ext >&5 10817 cat conftest.$ac_ext >&5
10755 echo "$ac_t""yes" 1>&6 10825 echo "$ac_t""yes" 1>&6
10756 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 10826 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
10757 else 10827 else
10758 echo "$ac_t""no" 1>&6 10828 echo "$ac_t""no" 1>&6
10759 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 10829 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
10760 echo "configure:10761: checking for tgetent in -ltermcap" >&5 10830 echo "configure:10831: checking for tgetent in -ltermcap" >&5
10761 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 10831 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
10762 10832
10763 xe_check_libs=" -ltermcap " 10833 xe_check_libs=" -ltermcap "
10764 cat > conftest.$ac_ext <<EOF 10834 cat > conftest.$ac_ext <<EOF
10765 #line 10766 "configure" 10835 #line 10836 "configure"
10766 #include "confdefs.h" 10836 #include "confdefs.h"
10767 /* Override any gcc2 internal prototype to avoid an error. */ 10837 /* Override any gcc2 internal prototype to avoid an error. */
10768 /* We use char because int might match the return type of a gcc2 10838 /* We use char because int might match the return type of a gcc2
10769 builtin and then its argument prototype would still apply. */ 10839 builtin and then its argument prototype would still apply. */
10770 char tgetent(); 10840 char tgetent();
10771 10841
10772 int main() { 10842 int main() {
10773 tgetent() 10843 tgetent()
10774 ; return 0; } 10844 ; return 0; }
10775 EOF 10845 EOF
10776 if { (eval echo configure:10777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10846 if { (eval echo configure:10847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10777 rm -rf conftest* 10847 rm -rf conftest*
10778 eval "ac_cv_lib_$ac_lib_var=yes" 10848 eval "ac_cv_lib_$ac_lib_var=yes"
10779 else 10849 else
10780 echo "configure: failed program was:" >&5 10850 echo "configure: failed program was:" >&5
10781 cat conftest.$ac_ext >&5 10851 cat conftest.$ac_ext >&5
10819 } 10889 }
10820 10890
10821 10891
10822 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 10892 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
10823 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 10893 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
10824 echo "configure:10825: checking for gpm.h" >&5 10894 echo "configure:10895: checking for gpm.h" >&5
10825 10895
10826 cat > conftest.$ac_ext <<EOF 10896 cat > conftest.$ac_ext <<EOF
10827 #line 10828 "configure" 10897 #line 10898 "configure"
10828 #include "confdefs.h" 10898 #include "confdefs.h"
10829 #include <gpm.h> 10899 #include <gpm.h>
10830 EOF 10900 EOF
10831 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10901 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10832 { (eval echo configure:10833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10902 { (eval echo configure:10903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10833 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10903 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10834 if test -z "$ac_err"; then 10904 if test -z "$ac_err"; then
10835 rm -rf conftest* 10905 rm -rf conftest*
10836 eval "ac_cv_header_$ac_safe=yes" 10906 eval "ac_cv_header_$ac_safe=yes"
10837 else 10907 else
10850 with_gpm=no 10920 with_gpm=no
10851 fi 10921 fi
10852 } 10922 }
10853 test -z "$with_gpm" && { 10923 test -z "$with_gpm" && {
10854 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 10924 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
10855 echo "configure:10856: checking for Gpm_Open in -lgpm" >&5 10925 echo "configure:10926: checking for Gpm_Open in -lgpm" >&5
10856 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 10926 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
10857 10927
10858 xe_check_libs=" -lgpm " 10928 xe_check_libs=" -lgpm "
10859 cat > conftest.$ac_ext <<EOF 10929 cat > conftest.$ac_ext <<EOF
10860 #line 10861 "configure" 10930 #line 10931 "configure"
10861 #include "confdefs.h" 10931 #include "confdefs.h"
10862 /* Override any gcc2 internal prototype to avoid an error. */ 10932 /* Override any gcc2 internal prototype to avoid an error. */
10863 /* We use char because int might match the return type of a gcc2 10933 /* We use char because int might match the return type of a gcc2
10864 builtin and then its argument prototype would still apply. */ 10934 builtin and then its argument prototype would still apply. */
10865 char Gpm_Open(); 10935 char Gpm_Open();
10866 10936
10867 int main() { 10937 int main() {
10868 Gpm_Open() 10938 Gpm_Open()
10869 ; return 0; } 10939 ; return 0; }
10870 EOF 10940 EOF
10871 if { (eval echo configure:10872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10941 if { (eval echo configure:10942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10872 rm -rf conftest* 10942 rm -rf conftest*
10873 eval "ac_cv_lib_$ac_lib_var=yes" 10943 eval "ac_cv_lib_$ac_lib_var=yes"
10874 else 10944 else
10875 echo "configure: failed program was:" >&5 10945 echo "configure: failed program was:" >&5
10876 cat conftest.$ac_ext >&5 10946 cat conftest.$ac_ext >&5
10915 echo " xemacs will be linked with \"event-unixoid.o\"" 10985 echo " xemacs will be linked with \"event-unixoid.o\""
10916 fi 10986 fi
10917 10987
10918 10988
10919 echo "checking for database support" 1>&6 10989 echo "checking for database support" 1>&6
10920 echo "configure:10921: checking for database support" >&5 10990 echo "configure:10991: checking for database support" >&5
10921 10991
10922 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then 10992 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then
10923 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 10993 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
10924 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 10994 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
10925 echo "configure:10926: checking for ndbm.h" >&5 10995 echo "configure:10996: checking for ndbm.h" >&5
10926 10996
10927 cat > conftest.$ac_ext <<EOF 10997 cat > conftest.$ac_ext <<EOF
10928 #line 10929 "configure" 10998 #line 10999 "configure"
10929 #include "confdefs.h" 10999 #include "confdefs.h"
10930 #include <ndbm.h> 11000 #include <ndbm.h>
10931 EOF 11001 EOF
10932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11002 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10933 { (eval echo configure:10934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11003 { (eval echo configure:11004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11004 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10935 if test -z "$ac_err"; then 11005 if test -z "$ac_err"; then
10936 rm -rf conftest* 11006 rm -rf conftest*
10937 eval "ac_cv_header_$ac_safe=yes" 11007 eval "ac_cv_header_$ac_safe=yes"
10938 else 11008 else
10958 fi 11028 fi
10959 11029
10960 if test "$with_database_gnudbm" != "no"; then 11030 if test "$with_database_gnudbm" != "no"; then
10961 11031
10962 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 11032 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
10963 echo "configure:10964: checking for dbm_open in -lgdbm" >&5 11033 echo "configure:11034: checking for dbm_open in -lgdbm" >&5
10964 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 11034 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
10965 11035
10966 xe_check_libs=" -lgdbm " 11036 xe_check_libs=" -lgdbm "
10967 cat > conftest.$ac_ext <<EOF 11037 cat > conftest.$ac_ext <<EOF
10968 #line 10969 "configure" 11038 #line 11039 "configure"
10969 #include "confdefs.h" 11039 #include "confdefs.h"
10970 /* Override any gcc2 internal prototype to avoid an error. */ 11040 /* Override any gcc2 internal prototype to avoid an error. */
10971 /* We use char because int might match the return type of a gcc2 11041 /* We use char because int might match the return type of a gcc2
10972 builtin and then its argument prototype would still apply. */ 11042 builtin and then its argument prototype would still apply. */
10973 char dbm_open(); 11043 char dbm_open();
10974 11044
10975 int main() { 11045 int main() {
10976 dbm_open() 11046 dbm_open()
10977 ; return 0; } 11047 ; return 0; }
10978 EOF 11048 EOF
10979 if { (eval echo configure:10980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11049 if { (eval echo configure:11050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10980 rm -rf conftest* 11050 rm -rf conftest*
10981 eval "ac_cv_lib_$ac_lib_var=yes" 11051 eval "ac_cv_lib_$ac_lib_var=yes"
10982 else 11052 else
10983 echo "configure: failed program was:" >&5 11053 echo "configure: failed program was:" >&5
10984 cat conftest.$ac_ext >&5 11054 cat conftest.$ac_ext >&5
11002 11072
11003 fi 11073 fi
11004 11074
11005 if test "$with_database_dbm" != "no"; then 11075 if test "$with_database_dbm" != "no"; then
11006 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 11076 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
11007 echo "configure:11008: checking for dbm_open" >&5 11077 echo "configure:11078: checking for dbm_open" >&5
11008 11078
11009 cat > conftest.$ac_ext <<EOF 11079 cat > conftest.$ac_ext <<EOF
11010 #line 11011 "configure" 11080 #line 11081 "configure"
11011 #include "confdefs.h" 11081 #include "confdefs.h"
11012 /* System header to define __stub macros and hopefully few prototypes, 11082 /* System header to define __stub macros and hopefully few prototypes,
11013 which can conflict with char dbm_open(); below. */ 11083 which can conflict with char dbm_open(); below. */
11014 #include <assert.h> 11084 #include <assert.h>
11015 /* Override any gcc2 internal prototype to avoid an error. */ 11085 /* Override any gcc2 internal prototype to avoid an error. */
11028 dbm_open(); 11098 dbm_open();
11029 #endif 11099 #endif
11030 11100
11031 ; return 0; } 11101 ; return 0; }
11032 EOF 11102 EOF
11033 if { (eval echo configure:11034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11103 if { (eval echo configure:11104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11034 rm -rf conftest* 11104 rm -rf conftest*
11035 eval "ac_cv_func_dbm_open=yes" 11105 eval "ac_cv_func_dbm_open=yes"
11036 else 11106 else
11037 echo "configure: failed program was:" >&5 11107 echo "configure: failed program was:" >&5
11038 cat conftest.$ac_ext >&5 11108 cat conftest.$ac_ext >&5
11047 else 11117 else
11048 echo "$ac_t""no" 1>&6 11118 echo "$ac_t""no" 1>&6
11049 11119
11050 11120
11051 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 11121 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
11052 echo "configure:11053: checking for dbm_open in -ldbm" >&5 11122 echo "configure:11123: checking for dbm_open in -ldbm" >&5
11053 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 11123 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
11054 11124
11055 xe_check_libs=" -ldbm " 11125 xe_check_libs=" -ldbm "
11056 cat > conftest.$ac_ext <<EOF 11126 cat > conftest.$ac_ext <<EOF
11057 #line 11058 "configure" 11127 #line 11128 "configure"
11058 #include "confdefs.h" 11128 #include "confdefs.h"
11059 /* Override any gcc2 internal prototype to avoid an error. */ 11129 /* Override any gcc2 internal prototype to avoid an error. */
11060 /* We use char because int might match the return type of a gcc2 11130 /* We use char because int might match the return type of a gcc2
11061 builtin and then its argument prototype would still apply. */ 11131 builtin and then its argument prototype would still apply. */
11062 char dbm_open(); 11132 char dbm_open();
11063 11133
11064 int main() { 11134 int main() {
11065 dbm_open() 11135 dbm_open()
11066 ; return 0; } 11136 ; return 0; }
11067 EOF 11137 EOF
11068 if { (eval echo configure:11069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11138 if { (eval echo configure:11139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11069 rm -rf conftest* 11139 rm -rf conftest*
11070 eval "ac_cv_lib_$ac_lib_var=yes" 11140 eval "ac_cv_lib_$ac_lib_var=yes"
11071 else 11141 else
11072 echo "configure: failed program was:" >&5 11142 echo "configure: failed program was:" >&5
11073 cat conftest.$ac_ext >&5 11143 cat conftest.$ac_ext >&5
11105 11175
11106 fi 11176 fi
11107 11177
11108 if test "$with_database_berkdb" != "no"; then 11178 if test "$with_database_berkdb" != "no"; then
11109 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 11179 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
11110 echo "configure:11111: checking for Berkeley db.h" >&5 11180 echo "configure:11181: checking for Berkeley db.h" >&5
11111 for path in "db/db.h" "db.h"; do 11181 for path in "db/db.h" "db.h"; do
11112 cat > conftest.$ac_ext <<EOF 11182 cat > conftest.$ac_ext <<EOF
11113 #line 11114 "configure" 11183 #line 11184 "configure"
11114 #include "confdefs.h" 11184 #include "confdefs.h"
11115 #ifdef HAVE_INTTYPES_H 11185 #ifdef HAVE_INTTYPES_H
11116 #define __BIT_TYPES_DEFINED__ 11186 #define __BIT_TYPES_DEFINED__
11117 #include <inttypes.h> 11187 #include <inttypes.h>
11118 typedef uint8_t u_int8_t; 11188 typedef uint8_t u_int8_t;
11126 11196
11127 int main() { 11197 int main() {
11128 11198
11129 ; return 0; } 11199 ; return 0; }
11130 EOF 11200 EOF
11131 if { (eval echo configure:11132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 11201 if { (eval echo configure:11202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11132 rm -rf conftest* 11202 rm -rf conftest*
11133 db_h_path="$path"; break 11203 db_h_path="$path"; break
11134 else 11204 else
11135 echo "configure: failed program was:" >&5 11205 echo "configure: failed program was:" >&5
11136 cat conftest.$ac_ext >&5 11206 cat conftest.$ac_ext >&5
11142 else echo "$ac_t""$db_h_path" 1>&6 11212 else echo "$ac_t""$db_h_path" 1>&6
11143 fi 11213 fi
11144 11214
11145 if test "$with_database_berkdb" != "no"; then 11215 if test "$with_database_berkdb" != "no"; then
11146 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 11216 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
11147 echo "configure:11148: checking for Berkeley DB version" >&5 11217 echo "configure:11218: checking for Berkeley DB version" >&5
11148 cat > conftest.$ac_ext <<EOF 11218 cat > conftest.$ac_ext <<EOF
11149 #line 11150 "configure" 11219 #line 11220 "configure"
11150 #include "confdefs.h" 11220 #include "confdefs.h"
11151 #include <$db_h_path> 11221 #include <$db_h_path>
11152 #if DB_VERSION_MAJOR > 1 11222 #if DB_VERSION_MAJOR > 1
11153 yes 11223 yes
11154 #endif 11224 #endif
11163 echo "$ac_t""1" 1>&6; dbfunc=dbopen 11233 echo "$ac_t""1" 1>&6; dbfunc=dbopen
11164 fi 11234 fi
11165 rm -f conftest* 11235 rm -f conftest*
11166 11236
11167 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 11237 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
11168 echo "configure:11169: checking for $dbfunc" >&5 11238 echo "configure:11239: checking for $dbfunc" >&5
11169 11239
11170 cat > conftest.$ac_ext <<EOF 11240 cat > conftest.$ac_ext <<EOF
11171 #line 11172 "configure" 11241 #line 11242 "configure"
11172 #include "confdefs.h" 11242 #include "confdefs.h"
11173 /* System header to define __stub macros and hopefully few prototypes, 11243 /* System header to define __stub macros and hopefully few prototypes,
11174 which can conflict with char $dbfunc(); below. */ 11244 which can conflict with char $dbfunc(); below. */
11175 #include <assert.h> 11245 #include <assert.h>
11176 /* Override any gcc2 internal prototype to avoid an error. */ 11246 /* Override any gcc2 internal prototype to avoid an error. */
11189 $dbfunc(); 11259 $dbfunc();
11190 #endif 11260 #endif
11191 11261
11192 ; return 0; } 11262 ; return 0; }
11193 EOF 11263 EOF
11194 if { (eval echo configure:11195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11264 if { (eval echo configure:11265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11195 rm -rf conftest* 11265 rm -rf conftest*
11196 eval "ac_cv_func_$dbfunc=yes" 11266 eval "ac_cv_func_$dbfunc=yes"
11197 else 11267 else
11198 echo "configure: failed program was:" >&5 11268 echo "configure: failed program was:" >&5
11199 cat conftest.$ac_ext >&5 11269 cat conftest.$ac_ext >&5
11208 else 11278 else
11209 echo "$ac_t""no" 1>&6 11279 echo "$ac_t""no" 1>&6
11210 11280
11211 11281
11212 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 11282 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
11213 echo "configure:11214: checking for $dbfunc in -ldb" >&5 11283 echo "configure:11284: checking for $dbfunc in -ldb" >&5
11214 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 11284 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
11215 11285
11216 xe_check_libs=" -ldb " 11286 xe_check_libs=" -ldb "
11217 cat > conftest.$ac_ext <<EOF 11287 cat > conftest.$ac_ext <<EOF
11218 #line 11219 "configure" 11288 #line 11289 "configure"
11219 #include "confdefs.h" 11289 #include "confdefs.h"
11220 /* Override any gcc2 internal prototype to avoid an error. */ 11290 /* Override any gcc2 internal prototype to avoid an error. */
11221 /* We use char because int might match the return type of a gcc2 11291 /* We use char because int might match the return type of a gcc2
11222 builtin and then its argument prototype would still apply. */ 11292 builtin and then its argument prototype would still apply. */
11223 char $dbfunc(); 11293 char $dbfunc();
11224 11294
11225 int main() { 11295 int main() {
11226 $dbfunc() 11296 $dbfunc()
11227 ; return 0; } 11297 ; return 0; }
11228 EOF 11298 EOF
11229 if { (eval echo configure:11230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11299 if { (eval echo configure:11300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11230 rm -rf conftest* 11300 rm -rf conftest*
11231 eval "ac_cv_lib_$ac_lib_var=yes" 11301 eval "ac_cv_lib_$ac_lib_var=yes"
11232 else 11302 else
11233 echo "configure: failed program was:" >&5 11303 echo "configure: failed program was:" >&5
11234 cat conftest.$ac_ext >&5 11304 cat conftest.$ac_ext >&5
11288 fi 11358 fi
11289 11359
11290 if test "$with_socks" = "yes"; then 11360 if test "$with_socks" = "yes"; then
11291 11361
11292 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 11362 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
11293 echo "configure:11294: checking for SOCKSinit in -lsocks" >&5 11363 echo "configure:11364: checking for SOCKSinit in -lsocks" >&5
11294 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 11364 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
11295 11365
11296 xe_check_libs=" -lsocks " 11366 xe_check_libs=" -lsocks "
11297 cat > conftest.$ac_ext <<EOF 11367 cat > conftest.$ac_ext <<EOF
11298 #line 11299 "configure" 11368 #line 11369 "configure"
11299 #include "confdefs.h" 11369 #include "confdefs.h"
11300 /* Override any gcc2 internal prototype to avoid an error. */ 11370 /* Override any gcc2 internal prototype to avoid an error. */
11301 /* We use char because int might match the return type of a gcc2 11371 /* We use char because int might match the return type of a gcc2
11302 builtin and then its argument prototype would still apply. */ 11372 builtin and then its argument prototype would still apply. */
11303 char SOCKSinit(); 11373 char SOCKSinit();
11304 11374
11305 int main() { 11375 int main() {
11306 SOCKSinit() 11376 SOCKSinit()
11307 ; return 0; } 11377 ; return 0; }
11308 EOF 11378 EOF
11309 if { (eval echo configure:11310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11379 if { (eval echo configure:11380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11310 rm -rf conftest* 11380 rm -rf conftest*
11311 eval "ac_cv_lib_$ac_lib_var=yes" 11381 eval "ac_cv_lib_$ac_lib_var=yes"
11312 else 11382 else
11313 echo "configure: failed program was:" >&5 11383 echo "configure: failed program was:" >&5
11314 cat conftest.$ac_ext >&5 11384 cat conftest.$ac_ext >&5
11363 11433
11364 for ac_hdr in dlfcn.h 11434 for ac_hdr in dlfcn.h
11365 do 11435 do
11366 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 11436 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11367 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 11437 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11368 echo "configure:11369: checking for $ac_hdr" >&5 11438 echo "configure:11439: checking for $ac_hdr" >&5
11369 11439
11370 cat > conftest.$ac_ext <<EOF 11440 cat > conftest.$ac_ext <<EOF
11371 #line 11372 "configure" 11441 #line 11442 "configure"
11372 #include "confdefs.h" 11442 #include "confdefs.h"
11373 #include <$ac_hdr> 11443 #include <$ac_hdr>
11374 EOF 11444 EOF
11375 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11445 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11376 { (eval echo configure:11377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11446 { (eval echo configure:11447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11447 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11378 if test -z "$ac_err"; then 11448 if test -z "$ac_err"; then
11379 rm -rf conftest* 11449 rm -rf conftest*
11380 eval "ac_cv_header_$ac_safe=yes" 11450 eval "ac_cv_header_$ac_safe=yes"
11381 else 11451 else
11402 fi 11472 fi
11403 done 11473 done
11404 11474
11405 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { 11475 test -z "$with_shlib" && test ! -z "$have_dlfcn" && {
11406 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 11476 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11407 echo "configure:11408: checking for dlopen in -ldl" >&5 11477 echo "configure:11478: checking for dlopen in -ldl" >&5
11408 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 11478 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11409 11479
11410 xe_check_libs=" -ldl " 11480 xe_check_libs=" -ldl "
11411 cat > conftest.$ac_ext <<EOF 11481 cat > conftest.$ac_ext <<EOF
11412 #line 11413 "configure" 11482 #line 11483 "configure"
11413 #include "confdefs.h" 11483 #include "confdefs.h"
11414 /* Override any gcc2 internal prototype to avoid an error. */ 11484 /* Override any gcc2 internal prototype to avoid an error. */
11415 /* We use char because int might match the return type of a gcc2 11485 /* We use char because int might match the return type of a gcc2
11416 builtin and then its argument prototype would still apply. */ 11486 builtin and then its argument prototype would still apply. */
11417 char dlopen(); 11487 char dlopen();
11418 11488
11419 int main() { 11489 int main() {
11420 dlopen() 11490 dlopen()
11421 ; return 0; } 11491 ; return 0; }
11422 EOF 11492 EOF
11423 if { (eval echo configure:11424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11493 if { (eval echo configure:11494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11424 rm -rf conftest* 11494 rm -rf conftest*
11425 eval "ac_cv_lib_$ac_lib_var=yes" 11495 eval "ac_cv_lib_$ac_lib_var=yes"
11426 else 11496 else
11427 echo "configure: failed program was:" >&5 11497 echo "configure: failed program was:" >&5
11428 cat conftest.$ac_ext >&5 11498 cat conftest.$ac_ext >&5
11447 fi 11517 fi
11448 11518
11449 } 11519 }
11450 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { 11520 test -z "$with_shlib" && test ! -z "$have_dlfcn" && {
11451 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 11521 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6
11452 echo "configure:11453: checking for _dlopen in -lc" >&5 11522 echo "configure:11523: checking for _dlopen in -lc" >&5
11453 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` 11523 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'`
11454 11524
11455 xe_check_libs=" -lc " 11525 xe_check_libs=" -lc "
11456 cat > conftest.$ac_ext <<EOF 11526 cat > conftest.$ac_ext <<EOF
11457 #line 11458 "configure" 11527 #line 11528 "configure"
11458 #include "confdefs.h" 11528 #include "confdefs.h"
11459 /* Override any gcc2 internal prototype to avoid an error. */ 11529 /* Override any gcc2 internal prototype to avoid an error. */
11460 /* We use char because int might match the return type of a gcc2 11530 /* We use char because int might match the return type of a gcc2
11461 builtin and then its argument prototype would still apply. */ 11531 builtin and then its argument prototype would still apply. */
11462 char _dlopen(); 11532 char _dlopen();
11463 11533
11464 int main() { 11534 int main() {
11465 _dlopen() 11535 _dlopen()
11466 ; return 0; } 11536 ; return 0; }
11467 EOF 11537 EOF
11468 if { (eval echo configure:11469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11538 if { (eval echo configure:11539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11469 rm -rf conftest* 11539 rm -rf conftest*
11470 eval "ac_cv_lib_$ac_lib_var=yes" 11540 eval "ac_cv_lib_$ac_lib_var=yes"
11471 else 11541 else
11472 echo "configure: failed program was:" >&5 11542 echo "configure: failed program was:" >&5
11473 cat conftest.$ac_ext >&5 11543 cat conftest.$ac_ext >&5
11492 fi 11562 fi
11493 11563
11494 } 11564 }
11495 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { 11565 test -z "$with_shlib" && test ! -z "$have_dlfcn" && {
11496 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 11566 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
11497 echo "configure:11498: checking for dlopen in -lc" >&5 11567 echo "configure:11568: checking for dlopen in -lc" >&5
11498 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` 11568 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'`
11499 11569
11500 xe_check_libs=" -lc " 11570 xe_check_libs=" -lc "
11501 cat > conftest.$ac_ext <<EOF 11571 cat > conftest.$ac_ext <<EOF
11502 #line 11503 "configure" 11572 #line 11573 "configure"
11503 #include "confdefs.h" 11573 #include "confdefs.h"
11504 /* Override any gcc2 internal prototype to avoid an error. */ 11574 /* Override any gcc2 internal prototype to avoid an error. */
11505 /* We use char because int might match the return type of a gcc2 11575 /* We use char because int might match the return type of a gcc2
11506 builtin and then its argument prototype would still apply. */ 11576 builtin and then its argument prototype would still apply. */
11507 char dlopen(); 11577 char dlopen();
11508 11578
11509 int main() { 11579 int main() {
11510 dlopen() 11580 dlopen()
11511 ; return 0; } 11581 ; return 0; }
11512 EOF 11582 EOF
11513 if { (eval echo configure:11514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11583 if { (eval echo configure:11584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11514 rm -rf conftest* 11584 rm -rf conftest*
11515 eval "ac_cv_lib_$ac_lib_var=yes" 11585 eval "ac_cv_lib_$ac_lib_var=yes"
11516 else 11586 else
11517 echo "configure: failed program was:" >&5 11587 echo "configure: failed program was:" >&5
11518 cat conftest.$ac_ext >&5 11588 cat conftest.$ac_ext >&5
11537 fi 11607 fi
11538 11608
11539 } 11609 }
11540 test -z "$with_shlib" && { 11610 test -z "$with_shlib" && {
11541 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 11611 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
11542 echo "configure:11543: checking for shl_load in -ldld" >&5 11612 echo "configure:11613: checking for shl_load in -ldld" >&5
11543 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 11613 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
11544 11614
11545 xe_check_libs=" -ldld " 11615 xe_check_libs=" -ldld "
11546 cat > conftest.$ac_ext <<EOF 11616 cat > conftest.$ac_ext <<EOF
11547 #line 11548 "configure" 11617 #line 11618 "configure"
11548 #include "confdefs.h" 11618 #include "confdefs.h"
11549 /* Override any gcc2 internal prototype to avoid an error. */ 11619 /* Override any gcc2 internal prototype to avoid an error. */
11550 /* We use char because int might match the return type of a gcc2 11620 /* We use char because int might match the return type of a gcc2
11551 builtin and then its argument prototype would still apply. */ 11621 builtin and then its argument prototype would still apply. */
11552 char shl_load(); 11622 char shl_load();
11553 11623
11554 int main() { 11624 int main() {
11555 shl_load() 11625 shl_load()
11556 ; return 0; } 11626 ; return 0; }
11557 EOF 11627 EOF
11558 if { (eval echo configure:11559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11628 if { (eval echo configure:11629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11559 rm -rf conftest* 11629 rm -rf conftest*
11560 eval "ac_cv_lib_$ac_lib_var=yes" 11630 eval "ac_cv_lib_$ac_lib_var=yes"
11561 else 11631 else
11562 echo "configure: failed program was:" >&5 11632 echo "configure: failed program was:" >&5
11563 cat conftest.$ac_ext >&5 11633 cat conftest.$ac_ext >&5
11582 fi 11652 fi
11583 11653
11584 } 11654 }
11585 test -z "$with_shlib" && { 11655 test -z "$with_shlib" && {
11586 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 11656 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6
11587 echo "configure:11588: checking for dld_init in -ldld" >&5 11657 echo "configure:11658: checking for dld_init in -ldld" >&5
11588 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` 11658 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'`
11589 11659
11590 xe_check_libs=" -ldld " 11660 xe_check_libs=" -ldld "
11591 cat > conftest.$ac_ext <<EOF 11661 cat > conftest.$ac_ext <<EOF
11592 #line 11593 "configure" 11662 #line 11663 "configure"
11593 #include "confdefs.h" 11663 #include "confdefs.h"
11594 /* Override any gcc2 internal prototype to avoid an error. */ 11664 /* Override any gcc2 internal prototype to avoid an error. */
11595 /* We use char because int might match the return type of a gcc2 11665 /* We use char because int might match the return type of a gcc2
11596 builtin and then its argument prototype would still apply. */ 11666 builtin and then its argument prototype would still apply. */
11597 char dld_init(); 11667 char dld_init();
11598 11668
11599 int main() { 11669 int main() {
11600 dld_init() 11670 dld_init()
11601 ; return 0; } 11671 ; return 0; }
11602 EOF 11672 EOF
11603 if { (eval echo configure:11604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11673 if { (eval echo configure:11674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11604 rm -rf conftest* 11674 rm -rf conftest*
11605 eval "ac_cv_lib_$ac_lib_var=yes" 11675 eval "ac_cv_lib_$ac_lib_var=yes"
11606 else 11676 else
11607 echo "configure: failed program was:" >&5 11677 echo "configure: failed program was:" >&5
11608 cat conftest.$ac_ext >&5 11678 cat conftest.$ac_ext >&5
11648 dll_lflags="-shared" 11718 dll_lflags="-shared"
11649 dll_cflags="-r" 11719 dll_cflags="-r"
11650 dll_oflags="-o " 11720 dll_oflags="-o "
11651 11721
11652 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 11722 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6
11653 echo "configure:11654: checking how to build a shared library" >&5 11723 echo "configure:11724: checking how to build a shared library" >&5
11654 case `uname -rs` in 11724 case `uname -rs` in
11655 UNIX_SV*|UNIX_System_V*) 11725 UNIX_SV*|UNIX_System_V*)
11656 dll_lflags="-G" 11726 dll_lflags="-G"
11657 dll_cflags=-Kpic 11727 dll_cflags=-Kpic
11658 dll_ld="ld" 11728 dll_ld="ld"
11739 11809
11740 11810
11741 for ac_func in dlerror 11811 for ac_func in dlerror
11742 do 11812 do
11743 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11813 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11744 echo "configure:11745: checking for $ac_func" >&5 11814 echo "configure:11815: checking for $ac_func" >&5
11745 11815
11746 cat > conftest.$ac_ext <<EOF 11816 cat > conftest.$ac_ext <<EOF
11747 #line 11748 "configure" 11817 #line 11818 "configure"
11748 #include "confdefs.h" 11818 #include "confdefs.h"
11749 /* System header to define __stub macros and hopefully few prototypes, 11819 /* System header to define __stub macros and hopefully few prototypes,
11750 which can conflict with char $ac_func(); below. */ 11820 which can conflict with char $ac_func(); below. */
11751 #include <assert.h> 11821 #include <assert.h>
11752 /* Override any gcc2 internal prototype to avoid an error. */ 11822 /* Override any gcc2 internal prototype to avoid an error. */
11765 $ac_func(); 11835 $ac_func();
11766 #endif 11836 #endif
11767 11837
11768 ; return 0; } 11838 ; return 0; }
11769 EOF 11839 EOF
11770 if { (eval echo configure:11771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11840 if { (eval echo configure:11841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11771 rm -rf conftest* 11841 rm -rf conftest*
11772 eval "ac_cv_func_$ac_func=yes" 11842 eval "ac_cv_func_$ac_func=yes"
11773 else 11843 else
11774 echo "configure: failed program was:" >&5 11844 echo "configure: failed program was:" >&5
11775 cat conftest.$ac_ext >&5 11845 cat conftest.$ac_ext >&5
11801 *) ;; 11871 *) ;;
11802 esac 11872 esac
11803 fi 11873 fi
11804 11874
11805 cat > conftest.$ac_ext <<EOF 11875 cat > conftest.$ac_ext <<EOF
11806 #line 11807 "configure" 11876 #line 11877 "configure"
11807 #include "confdefs.h" 11877 #include "confdefs.h"
11808 int main(int c,char *v[]){return 0;} 11878 int main(int c,char *v[]){return 0;}
11809 EOF 11879 EOF
11810 if { (eval echo configure:11811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 11880 if { (eval echo configure:11881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
11811 then 11881 then
11812 : 11882 :
11813 else 11883 else
11814 conftest_rc="$?" 11884 conftest_rc="$?"
11815 echo "configure: failed program was:" >&5 11885 echo "configure: failed program was:" >&5