Mercurial > hg > xemacs-beta
comparison configure @ 367:a4f53d9b3154 r21-1-13
Import from CVS: tag r21-1-13
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:01:07 +0200 |
parents | 30d2cfa1092a |
children | 1d62742628b6 |
comparison
equal
deleted
inserted
replaced
366:83d76f480a59 | 367:a4f53d9b3154 |
---|---|
5487 X_CFLAGS="$X_CFLAGS -I${inc_dir}" && if test "$extra_verbose" = "yes"; then echo " Appending \"-I${inc_dir}\" to \$X_CFLAGS"; fi | 5487 X_CFLAGS="$X_CFLAGS -I${inc_dir}" && if test "$extra_verbose" = "yes"; then echo " Appending \"-I${inc_dir}\" to \$X_CFLAGS"; fi |
5488 esac | 5488 esac |
5489 break; fi | 5489 break; fi |
5490 done | 5490 done |
5491 | 5491 |
5492 if test "$GCC" = yes -a -d /usr/shlib; then X_LIBS="$X_LIBS -L/usr/shlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"-L/usr/shlib\" to \$X_LIBS"; fi; fi | 5492 case "$opsys" in |
5493 decosf*) if test "$GCC" = yes -a -d /usr/shlib; then X_LIBS="$X_LIBS -L/usr/shlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"-L/usr/shlib\" to \$X_LIBS"; fi; fi ;; | |
5494 esac | |
5493 | 5495 |
5494 ld_switch_x_site="$X_LIBS" | 5496 ld_switch_x_site="$X_LIBS" |
5495 | 5497 |
5496 | 5498 |
5497 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then | 5499 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then |
5581 EOF | 5583 EOF |
5582 } | 5584 } |
5583 | 5585 |
5584 | 5586 |
5585 echo "checking for X defines extracted by xmkmf" 1>&6 | 5587 echo "checking for X defines extracted by xmkmf" 1>&6 |
5586 echo "configure:5587: checking for X defines extracted by xmkmf" >&5 | 5588 echo "configure:5589: checking for X defines extracted by xmkmf" >&5 |
5587 rm -fr conftestdir | 5589 rm -fr conftestdir |
5588 if mkdir conftestdir; then | 5590 if mkdir conftestdir; then |
5589 cd conftestdir | 5591 cd conftestdir |
5590 cat > Imakefile <<'EOF' | 5592 cat > Imakefile <<'EOF' |
5591 xetest: | 5593 xetest: |
5628 done | 5630 done |
5629 fi | 5631 fi |
5630 | 5632 |
5631 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5633 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5632 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5634 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5633 echo "configure:5634: checking for X11/Intrinsic.h" >&5 | 5635 echo "configure:5636: checking for X11/Intrinsic.h" >&5 |
5634 | 5636 |
5635 cat > conftest.$ac_ext <<EOF | 5637 cat > conftest.$ac_ext <<EOF |
5636 #line 5637 "configure" | 5638 #line 5639 "configure" |
5637 #include "confdefs.h" | 5639 #include "confdefs.h" |
5638 #include <X11/Intrinsic.h> | 5640 #include <X11/Intrinsic.h> |
5639 EOF | 5641 EOF |
5640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5642 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5641 { (eval echo configure:5642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5643 { (eval echo configure:5644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5644 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5643 if test -z "$ac_err"; then | 5645 if test -z "$ac_err"; then |
5644 rm -rf conftest* | 5646 rm -rf conftest* |
5645 eval "ac_cv_header_$ac_safe=yes" | 5647 eval "ac_cv_header_$ac_safe=yes" |
5646 else | 5648 else |
5660 fi | 5662 fi |
5661 | 5663 |
5662 | 5664 |
5663 | 5665 |
5664 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5666 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5665 echo "configure:5666: checking for XOpenDisplay in -lX11" >&5 | 5667 echo "configure:5668: checking for XOpenDisplay in -lX11" >&5 |
5666 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5668 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5667 | 5669 |
5668 xe_check_libs=" -lX11 " | 5670 xe_check_libs=" -lX11 " |
5669 cat > conftest.$ac_ext <<EOF | 5671 cat > conftest.$ac_ext <<EOF |
5670 #line 5671 "configure" | 5672 #line 5673 "configure" |
5671 #include "confdefs.h" | 5673 #include "confdefs.h" |
5672 /* Override any gcc2 internal prototype to avoid an error. */ | 5674 /* Override any gcc2 internal prototype to avoid an error. */ |
5673 /* We use char because int might match the return type of a gcc2 | 5675 /* We use char because int might match the return type of a gcc2 |
5674 builtin and then its argument prototype would still apply. */ | 5676 builtin and then its argument prototype would still apply. */ |
5675 char XOpenDisplay(); | 5677 char XOpenDisplay(); |
5676 | 5678 |
5677 int main() { | 5679 int main() { |
5678 XOpenDisplay() | 5680 XOpenDisplay() |
5679 ; return 0; } | 5681 ; return 0; } |
5680 EOF | 5682 EOF |
5681 if { (eval echo configure:5682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5683 if { (eval echo configure:5684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5682 rm -rf conftest* | 5684 rm -rf conftest* |
5683 eval "ac_cv_lib_$ac_lib_var=yes" | 5685 eval "ac_cv_lib_$ac_lib_var=yes" |
5684 else | 5686 else |
5685 echo "configure: failed program was:" >&5 | 5687 echo "configure: failed program was:" >&5 |
5686 cat conftest.$ac_ext >&5 | 5688 cat conftest.$ac_ext >&5 |
5701 if test "$have_lib_x11" != "yes"; then | 5703 if test "$have_lib_x11" != "yes"; then |
5702 | 5704 |
5703 xe_msg_checking="for XGetFontProperty in -lX11" | 5705 xe_msg_checking="for XGetFontProperty in -lX11" |
5704 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5706 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5705 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5707 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5706 echo "configure:5707: checking "$xe_msg_checking"" >&5 | 5708 echo "configure:5709: checking "$xe_msg_checking"" >&5 |
5707 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5709 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5708 | 5710 |
5709 xe_check_libs=" -lX11 -b i486-linuxaout" | 5711 xe_check_libs=" -lX11 -b i486-linuxaout" |
5710 cat > conftest.$ac_ext <<EOF | 5712 cat > conftest.$ac_ext <<EOF |
5711 #line 5712 "configure" | 5713 #line 5714 "configure" |
5712 #include "confdefs.h" | 5714 #include "confdefs.h" |
5713 /* Override any gcc2 internal prototype to avoid an error. */ | 5715 /* Override any gcc2 internal prototype to avoid an error. */ |
5714 /* We use char because int might match the return type of a gcc2 | 5716 /* We use char because int might match the return type of a gcc2 |
5715 builtin and then its argument prototype would still apply. */ | 5717 builtin and then its argument prototype would still apply. */ |
5716 char XGetFontProperty(); | 5718 char XGetFontProperty(); |
5717 | 5719 |
5718 int main() { | 5720 int main() { |
5719 XGetFontProperty() | 5721 XGetFontProperty() |
5720 ; return 0; } | 5722 ; return 0; } |
5721 EOF | 5723 EOF |
5722 if { (eval echo configure:5723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5724 if { (eval echo configure:5725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5723 rm -rf conftest* | 5725 rm -rf conftest* |
5724 eval "ac_cv_lib_$ac_lib_var=yes" | 5726 eval "ac_cv_lib_$ac_lib_var=yes" |
5725 else | 5727 else |
5726 echo "configure: failed program was:" >&5 | 5728 echo "configure: failed program was:" >&5 |
5727 cat conftest.$ac_ext >&5 | 5729 cat conftest.$ac_ext >&5 |
5744 libs_x="-lX11" | 5746 libs_x="-lX11" |
5745 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5747 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5746 | 5748 |
5747 | 5749 |
5748 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5750 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5749 echo "configure:5750: checking for XShapeSelectInput in -lXext" >&5 | 5751 echo "configure:5752: checking for XShapeSelectInput in -lXext" >&5 |
5750 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5752 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5751 | 5753 |
5752 xe_check_libs=" -lXext " | 5754 xe_check_libs=" -lXext " |
5753 cat > conftest.$ac_ext <<EOF | 5755 cat > conftest.$ac_ext <<EOF |
5754 #line 5755 "configure" | 5756 #line 5757 "configure" |
5755 #include "confdefs.h" | 5757 #include "confdefs.h" |
5756 /* Override any gcc2 internal prototype to avoid an error. */ | 5758 /* Override any gcc2 internal prototype to avoid an error. */ |
5757 /* We use char because int might match the return type of a gcc2 | 5759 /* We use char because int might match the return type of a gcc2 |
5758 builtin and then its argument prototype would still apply. */ | 5760 builtin and then its argument prototype would still apply. */ |
5759 char XShapeSelectInput(); | 5761 char XShapeSelectInput(); |
5760 | 5762 |
5761 int main() { | 5763 int main() { |
5762 XShapeSelectInput() | 5764 XShapeSelectInput() |
5763 ; return 0; } | 5765 ; return 0; } |
5764 EOF | 5766 EOF |
5765 if { (eval echo configure:5766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5767 if { (eval echo configure:5768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5766 rm -rf conftest* | 5768 rm -rf conftest* |
5767 eval "ac_cv_lib_$ac_lib_var=yes" | 5769 eval "ac_cv_lib_$ac_lib_var=yes" |
5768 else | 5770 else |
5769 echo "configure: failed program was:" >&5 | 5771 echo "configure: failed program was:" >&5 |
5770 cat conftest.$ac_ext >&5 | 5772 cat conftest.$ac_ext >&5 |
5783 | 5785 |
5784 | 5786 |
5785 | 5787 |
5786 | 5788 |
5787 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5789 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5788 echo "configure:5789: checking for XtOpenDisplay in -lXt" >&5 | 5790 echo "configure:5791: checking for XtOpenDisplay in -lXt" >&5 |
5789 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5791 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5790 | 5792 |
5791 xe_check_libs=" -lXt " | 5793 xe_check_libs=" -lXt " |
5792 cat > conftest.$ac_ext <<EOF | 5794 cat > conftest.$ac_ext <<EOF |
5793 #line 5794 "configure" | 5795 #line 5796 "configure" |
5794 #include "confdefs.h" | 5796 #include "confdefs.h" |
5795 /* Override any gcc2 internal prototype to avoid an error. */ | 5797 /* Override any gcc2 internal prototype to avoid an error. */ |
5796 /* We use char because int might match the return type of a gcc2 | 5798 /* We use char because int might match the return type of a gcc2 |
5797 builtin and then its argument prototype would still apply. */ | 5799 builtin and then its argument prototype would still apply. */ |
5798 char XtOpenDisplay(); | 5800 char XtOpenDisplay(); |
5799 | 5801 |
5800 int main() { | 5802 int main() { |
5801 XtOpenDisplay() | 5803 XtOpenDisplay() |
5802 ; return 0; } | 5804 ; return 0; } |
5803 EOF | 5805 EOF |
5804 if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5806 if { (eval echo configure:5807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5805 rm -rf conftest* | 5807 rm -rf conftest* |
5806 eval "ac_cv_lib_$ac_lib_var=yes" | 5808 eval "ac_cv_lib_$ac_lib_var=yes" |
5807 else | 5809 else |
5808 echo "configure: failed program was:" >&5 | 5810 echo "configure: failed program was:" >&5 |
5809 cat conftest.$ac_ext >&5 | 5811 cat conftest.$ac_ext >&5 |
5822 fi | 5824 fi |
5823 | 5825 |
5824 | 5826 |
5825 | 5827 |
5826 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5828 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5827 echo "configure:5828: checking the version of X11 being used" >&5 | 5829 echo "configure:5830: checking the version of X11 being used" >&5 |
5828 cat > conftest.$ac_ext <<EOF | 5830 cat > conftest.$ac_ext <<EOF |
5829 #line 5830 "configure" | 5831 #line 5832 "configure" |
5830 #include "confdefs.h" | 5832 #include "confdefs.h" |
5831 #include <X11/Intrinsic.h> | 5833 #include <X11/Intrinsic.h> |
5832 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5834 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5833 EOF | 5835 EOF |
5834 if { (eval echo configure:5835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5836 if { (eval echo configure:5837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5835 then | 5837 then |
5836 ./conftest foobar; x11_release=$? | 5838 ./conftest foobar; x11_release=$? |
5837 else | 5839 else |
5838 conftest_rc="$?" | 5840 conftest_rc="$?" |
5839 echo "configure: failed program was:" >&5 | 5841 echo "configure: failed program was:" >&5 |
5854 | 5856 |
5855 for ac_hdr in X11/Xlocale.h | 5857 for ac_hdr in X11/Xlocale.h |
5856 do | 5858 do |
5857 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5859 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5858 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5860 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5859 echo "configure:5860: checking for $ac_hdr" >&5 | 5861 echo "configure:5862: checking for $ac_hdr" >&5 |
5860 | 5862 |
5861 cat > conftest.$ac_ext <<EOF | 5863 cat > conftest.$ac_ext <<EOF |
5862 #line 5863 "configure" | 5864 #line 5865 "configure" |
5863 #include "confdefs.h" | 5865 #include "confdefs.h" |
5864 #include <$ac_hdr> | 5866 #include <$ac_hdr> |
5865 EOF | 5867 EOF |
5866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5867 { (eval echo configure:5868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5869 { (eval echo configure:5870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5869 if test -z "$ac_err"; then | 5871 if test -z "$ac_err"; then |
5870 rm -rf conftest* | 5872 rm -rf conftest* |
5871 eval "ac_cv_header_$ac_safe=yes" | 5873 eval "ac_cv_header_$ac_safe=yes" |
5872 else | 5874 else |
5893 fi | 5895 fi |
5894 done | 5896 done |
5895 | 5897 |
5896 | 5898 |
5897 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5899 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5898 echo "configure:5899: checking for XFree86" >&5 | 5900 echo "configure:5901: checking for XFree86" >&5 |
5899 if test -d "/usr/X386/include" -o \ | 5901 if test -d "/usr/X386/include" -o \ |
5900 -f "/etc/XF86Config" -o \ | 5902 -f "/etc/XF86Config" -o \ |
5901 -f "/etc/X11/XF86Config" -o \ | 5903 -f "/etc/X11/XF86Config" -o \ |
5902 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5904 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5903 echo "$ac_t""yes" 1>&6 | 5905 echo "$ac_t""yes" 1>&6 |
5913 echo "$ac_t""no" 1>&6 | 5915 echo "$ac_t""no" 1>&6 |
5914 fi | 5916 fi |
5915 | 5917 |
5916 test -z "$with_xmu" && { | 5918 test -z "$with_xmu" && { |
5917 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5919 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5918 echo "configure:5919: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5920 echo "configure:5921: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5919 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5921 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5920 | 5922 |
5921 xe_check_libs=" -lXmu " | 5923 xe_check_libs=" -lXmu " |
5922 cat > conftest.$ac_ext <<EOF | 5924 cat > conftest.$ac_ext <<EOF |
5923 #line 5924 "configure" | 5925 #line 5926 "configure" |
5924 #include "confdefs.h" | 5926 #include "confdefs.h" |
5925 /* Override any gcc2 internal prototype to avoid an error. */ | 5927 /* Override any gcc2 internal prototype to avoid an error. */ |
5926 /* We use char because int might match the return type of a gcc2 | 5928 /* We use char because int might match the return type of a gcc2 |
5927 builtin and then its argument prototype would still apply. */ | 5929 builtin and then its argument prototype would still apply. */ |
5928 char XmuReadBitmapDataFromFile(); | 5930 char XmuReadBitmapDataFromFile(); |
5929 | 5931 |
5930 int main() { | 5932 int main() { |
5931 XmuReadBitmapDataFromFile() | 5933 XmuReadBitmapDataFromFile() |
5932 ; return 0; } | 5934 ; return 0; } |
5933 EOF | 5935 EOF |
5934 if { (eval echo configure:5935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5936 if { (eval echo configure:5937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5935 rm -rf conftest* | 5937 rm -rf conftest* |
5936 eval "ac_cv_lib_$ac_lib_var=yes" | 5938 eval "ac_cv_lib_$ac_lib_var=yes" |
5937 else | 5939 else |
5938 echo "configure: failed program was:" >&5 | 5940 echo "configure: failed program was:" >&5 |
5939 cat conftest.$ac_ext >&5 | 5941 cat conftest.$ac_ext >&5 |
5968 | 5970 |
5969 fi | 5971 fi |
5970 | 5972 |
5971 | 5973 |
5972 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 5974 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
5973 echo "configure:5974: checking for main in -lXbsd" >&5 | 5975 echo "configure:5976: checking for main in -lXbsd" >&5 |
5974 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 5976 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
5975 | 5977 |
5976 xe_check_libs=" -lXbsd " | 5978 xe_check_libs=" -lXbsd " |
5977 cat > conftest.$ac_ext <<EOF | 5979 cat > conftest.$ac_ext <<EOF |
5978 #line 5979 "configure" | 5980 #line 5981 "configure" |
5979 #include "confdefs.h" | 5981 #include "confdefs.h" |
5980 | 5982 |
5981 int main() { | 5983 int main() { |
5982 main() | 5984 main() |
5983 ; return 0; } | 5985 ; return 0; } |
5984 EOF | 5986 EOF |
5985 if { (eval echo configure:5986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5987 if { (eval echo configure:5988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5986 rm -rf conftest* | 5988 rm -rf conftest* |
5987 eval "ac_cv_lib_$ac_lib_var=yes" | 5989 eval "ac_cv_lib_$ac_lib_var=yes" |
5988 else | 5990 else |
5989 echo "configure: failed program was:" >&5 | 5991 echo "configure: failed program was:" >&5 |
5990 cat conftest.$ac_ext >&5 | 5992 cat conftest.$ac_ext >&5 |
6017 fi | 6019 fi |
6018 | 6020 |
6019 fi | 6021 fi |
6020 if test "$with_msw" != "no"; then | 6022 if test "$with_msw" != "no"; then |
6021 echo "checking for MS-Windows" 1>&6 | 6023 echo "checking for MS-Windows" 1>&6 |
6022 echo "configure:6023: checking for MS-Windows" >&5 | 6024 echo "configure:6025: checking for MS-Windows" >&5 |
6023 | 6025 |
6024 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6026 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6025 echo "configure:6026: checking for main in -lgdi32" >&5 | 6027 echo "configure:6028: checking for main in -lgdi32" >&5 |
6026 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6028 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6027 | 6029 |
6028 xe_check_libs=" -lgdi32 " | 6030 xe_check_libs=" -lgdi32 " |
6029 cat > conftest.$ac_ext <<EOF | 6031 cat > conftest.$ac_ext <<EOF |
6030 #line 6031 "configure" | 6032 #line 6033 "configure" |
6031 #include "confdefs.h" | 6033 #include "confdefs.h" |
6032 | 6034 |
6033 int main() { | 6035 int main() { |
6034 main() | 6036 main() |
6035 ; return 0; } | 6037 ; return 0; } |
6036 EOF | 6038 EOF |
6037 if { (eval echo configure:6038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6039 if { (eval echo configure:6040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6038 rm -rf conftest* | 6040 rm -rf conftest* |
6039 eval "ac_cv_lib_$ac_lib_var=yes" | 6041 eval "ac_cv_lib_$ac_lib_var=yes" |
6040 else | 6042 else |
6041 echo "configure: failed program was:" >&5 | 6043 echo "configure: failed program was:" >&5 |
6042 cat conftest.$ac_ext >&5 | 6044 cat conftest.$ac_ext >&5 |
6098 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6100 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
6099 echo " xemacs will be linked with \"dialog-msw.o\"" | 6101 echo " xemacs will be linked with \"dialog-msw.o\"" |
6100 fi | 6102 fi |
6101 fi | 6103 fi |
6102 cat > conftest.$ac_ext <<EOF | 6104 cat > conftest.$ac_ext <<EOF |
6103 #line 6104 "configure" | 6105 #line 6106 "configure" |
6104 #include "confdefs.h" | 6106 #include "confdefs.h" |
6105 #include <fcntl.h> | 6107 #include <fcntl.h> |
6106 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6108 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
6107 EOF | 6109 EOF |
6108 if { (eval echo configure:6109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6110 if { (eval echo configure:6111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6109 then | 6111 then |
6110 { test "$extra_verbose" = "yes" && cat << \EOF | 6112 { test "$extra_verbose" = "yes" && cat << \EOF |
6111 Defining HAVE_MSG_SELECT | 6113 Defining HAVE_MSG_SELECT |
6112 EOF | 6114 EOF |
6113 cat >> confdefs.h <<\EOF | 6115 cat >> confdefs.h <<\EOF |
6169 fi | 6171 fi |
6170 eval "with_${feature}=no" | 6172 eval "with_${feature}=no" |
6171 done | 6173 done |
6172 fi | 6174 fi |
6173 | 6175 |
6176 if test "$with_x11" = "yes"; then | |
6177 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | |
6178 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | |
6179 echo "configure:6180: checking for X11/extensions/shape.h" >&5 | |
6180 | |
6181 cat > conftest.$ac_ext <<EOF | |
6182 #line 6183 "configure" | |
6183 #include "confdefs.h" | |
6184 #include <X11/extensions/shape.h> | |
6185 EOF | |
6186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
6187 { (eval echo configure:6188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
6188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
6189 if test -z "$ac_err"; then | |
6190 rm -rf conftest* | |
6191 eval "ac_cv_header_$ac_safe=yes" | |
6192 else | |
6193 echo "$ac_err" >&5 | |
6194 echo "configure: failed program was:" >&5 | |
6195 cat conftest.$ac_ext >&5 | |
6196 rm -rf conftest* | |
6197 eval "ac_cv_header_$ac_safe=no" | |
6198 fi | |
6199 rm -f conftest* | |
6200 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
6201 echo "$ac_t""yes" 1>&6 | |
6202 | |
6203 { test "$extra_verbose" = "yes" && cat << \EOF | |
6204 Defining HAVE_BALLOON_HELP | |
6205 EOF | |
6206 cat >> confdefs.h <<\EOF | |
6207 #define HAVE_BALLOON_HELP 1 | |
6208 EOF | |
6209 } | |
6210 | |
6211 extra_objs="$extra_objs balloon_help.o balloon-x.o" && if test "$extra_verbose" = "yes"; then | |
6212 echo " xemacs will be linked with \"balloon_help.o balloon-x.o\"" | |
6213 fi | |
6214 else | |
6215 echo "$ac_t""no" 1>&6 | |
6216 fi | |
6217 | |
6218 fi | |
6219 | |
6174 bitmapdir= | 6220 bitmapdir= |
6175 | 6221 |
6176 case "$window_system" in | 6222 case "$window_system" in |
6177 x11 ) HAVE_X_WINDOWS=yes; echo " Using X11." ;; | 6223 x11 ) HAVE_X_WINDOWS=yes; echo " Using X11." ;; |
6178 msw ) HAVE_X_WINDOWS=no ; echo " Using MS-Windows." ;; | 6224 msw ) HAVE_X_WINDOWS=no ; echo " Using MS-Windows." ;; |
6183 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6229 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
6184 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6230 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
6185 esac | 6231 esac |
6186 | 6232 |
6187 echo "checking for session-management option" 1>&6 | 6233 echo "checking for session-management option" 1>&6 |
6188 echo "configure:6189: checking for session-management option" >&5; | 6234 echo "configure:6235: checking for session-management option" >&5; |
6189 if test "$with_session" != "no"; then | 6235 if test "$with_session" != "no"; then |
6190 { test "$extra_verbose" = "yes" && cat << \EOF | 6236 { test "$extra_verbose" = "yes" && cat << \EOF |
6191 Defining HAVE_SESSION | 6237 Defining HAVE_SESSION |
6192 EOF | 6238 EOF |
6193 cat >> confdefs.h <<\EOF | 6239 cat >> confdefs.h <<\EOF |
6198 fi | 6244 fi |
6199 | 6245 |
6200 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6246 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6201 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6247 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6202 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6248 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6203 echo "configure:6204: checking for X11/Xauth.h" >&5 | 6249 echo "configure:6250: checking for X11/Xauth.h" >&5 |
6204 | 6250 |
6205 cat > conftest.$ac_ext <<EOF | 6251 cat > conftest.$ac_ext <<EOF |
6206 #line 6207 "configure" | 6252 #line 6253 "configure" |
6207 #include "confdefs.h" | 6253 #include "confdefs.h" |
6208 #include <X11/Xauth.h> | 6254 #include <X11/Xauth.h> |
6209 EOF | 6255 EOF |
6210 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6211 { (eval echo configure:6212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6257 { (eval echo configure:6258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6212 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6213 if test -z "$ac_err"; then | 6259 if test -z "$ac_err"; then |
6214 rm -rf conftest* | 6260 rm -rf conftest* |
6215 eval "ac_cv_header_$ac_safe=yes" | 6261 eval "ac_cv_header_$ac_safe=yes" |
6216 else | 6262 else |
6229 with_xauth=no | 6275 with_xauth=no |
6230 fi | 6276 fi |
6231 } | 6277 } |
6232 test -z "$with_xauth" && { | 6278 test -z "$with_xauth" && { |
6233 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6279 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6234 echo "configure:6235: checking for XauGetAuthByAddr in -lXau" >&5 | 6280 echo "configure:6281: checking for XauGetAuthByAddr in -lXau" >&5 |
6235 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6281 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6236 | 6282 |
6237 xe_check_libs=" -lXau " | 6283 xe_check_libs=" -lXau " |
6238 cat > conftest.$ac_ext <<EOF | 6284 cat > conftest.$ac_ext <<EOF |
6239 #line 6240 "configure" | 6285 #line 6286 "configure" |
6240 #include "confdefs.h" | 6286 #include "confdefs.h" |
6241 /* Override any gcc2 internal prototype to avoid an error. */ | 6287 /* Override any gcc2 internal prototype to avoid an error. */ |
6242 /* We use char because int might match the return type of a gcc2 | 6288 /* We use char because int might match the return type of a gcc2 |
6243 builtin and then its argument prototype would still apply. */ | 6289 builtin and then its argument prototype would still apply. */ |
6244 char XauGetAuthByAddr(); | 6290 char XauGetAuthByAddr(); |
6245 | 6291 |
6246 int main() { | 6292 int main() { |
6247 XauGetAuthByAddr() | 6293 XauGetAuthByAddr() |
6248 ; return 0; } | 6294 ; return 0; } |
6249 EOF | 6295 EOF |
6250 if { (eval echo configure:6251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6296 if { (eval echo configure:6297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6251 rm -rf conftest* | 6297 rm -rf conftest* |
6252 eval "ac_cv_lib_$ac_lib_var=yes" | 6298 eval "ac_cv_lib_$ac_lib_var=yes" |
6253 else | 6299 else |
6254 echo "configure: failed program was:" >&5 | 6300 echo "configure: failed program was:" >&5 |
6255 cat conftest.$ac_ext >&5 | 6301 cat conftest.$ac_ext >&5 |
6290 | 6336 |
6291 if test "$with_tooltalk" != "no" ; then | 6337 if test "$with_tooltalk" != "no" ; then |
6292 for dir in "" "Tt/" "desktop/" ; do | 6338 for dir in "" "Tt/" "desktop/" ; do |
6293 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6339 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6294 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6340 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6295 echo "configure:6296: checking for ${dir}tt_c.h" >&5 | 6341 echo "configure:6342: checking for ${dir}tt_c.h" >&5 |
6296 | 6342 |
6297 cat > conftest.$ac_ext <<EOF | 6343 cat > conftest.$ac_ext <<EOF |
6298 #line 6299 "configure" | 6344 #line 6345 "configure" |
6299 #include "confdefs.h" | 6345 #include "confdefs.h" |
6300 #include <${dir}tt_c.h> | 6346 #include <${dir}tt_c.h> |
6301 EOF | 6347 EOF |
6302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6348 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6303 { (eval echo configure:6304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6349 { (eval echo configure:6350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6350 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6305 if test -z "$ac_err"; then | 6351 if test -z "$ac_err"; then |
6306 rm -rf conftest* | 6352 rm -rf conftest* |
6307 eval "ac_cv_header_$ac_safe=yes" | 6353 eval "ac_cv_header_$ac_safe=yes" |
6308 else | 6354 else |
6334 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6380 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6335 | 6381 |
6336 xe_msg_checking="for tt_message_create in -ltt" | 6382 xe_msg_checking="for tt_message_create in -ltt" |
6337 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6383 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6338 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6384 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6339 echo "configure:6340: checking "$xe_msg_checking"" >&5 | 6385 echo "configure:6386: checking "$xe_msg_checking"" >&5 |
6340 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6386 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6341 | 6387 |
6342 xe_check_libs=" -ltt $extra_libs" | 6388 xe_check_libs=" -ltt $extra_libs" |
6343 cat > conftest.$ac_ext <<EOF | 6389 cat > conftest.$ac_ext <<EOF |
6344 #line 6345 "configure" | 6390 #line 6391 "configure" |
6345 #include "confdefs.h" | 6391 #include "confdefs.h" |
6346 /* Override any gcc2 internal prototype to avoid an error. */ | 6392 /* Override any gcc2 internal prototype to avoid an error. */ |
6347 /* We use char because int might match the return type of a gcc2 | 6393 /* We use char because int might match the return type of a gcc2 |
6348 builtin and then its argument prototype would still apply. */ | 6394 builtin and then its argument prototype would still apply. */ |
6349 char tt_message_create(); | 6395 char tt_message_create(); |
6350 | 6396 |
6351 int main() { | 6397 int main() { |
6352 tt_message_create() | 6398 tt_message_create() |
6353 ; return 0; } | 6399 ; return 0; } |
6354 EOF | 6400 EOF |
6355 if { (eval echo configure:6356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6401 if { (eval echo configure:6402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6356 rm -rf conftest* | 6402 rm -rf conftest* |
6357 eval "ac_cv_lib_$ac_lib_var=yes" | 6403 eval "ac_cv_lib_$ac_lib_var=yes" |
6358 else | 6404 else |
6359 echo "configure: failed program was:" >&5 | 6405 echo "configure: failed program was:" >&5 |
6360 cat conftest.$ac_ext >&5 | 6406 cat conftest.$ac_ext >&5 |
6407 fi | 6453 fi |
6408 fi | 6454 fi |
6409 | 6455 |
6410 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6456 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6411 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6457 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6412 echo "configure:6413: checking for Dt/Dt.h" >&5 | 6458 echo "configure:6459: checking for Dt/Dt.h" >&5 |
6413 | 6459 |
6414 cat > conftest.$ac_ext <<EOF | 6460 cat > conftest.$ac_ext <<EOF |
6415 #line 6416 "configure" | 6461 #line 6462 "configure" |
6416 #include "confdefs.h" | 6462 #include "confdefs.h" |
6417 #include <Dt/Dt.h> | 6463 #include <Dt/Dt.h> |
6418 EOF | 6464 EOF |
6419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6420 { (eval echo configure:6421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6466 { (eval echo configure:6467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6467 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6422 if test -z "$ac_err"; then | 6468 if test -z "$ac_err"; then |
6423 rm -rf conftest* | 6469 rm -rf conftest* |
6424 eval "ac_cv_header_$ac_safe=yes" | 6470 eval "ac_cv_header_$ac_safe=yes" |
6425 else | 6471 else |
6438 with_cde=no | 6484 with_cde=no |
6439 fi | 6485 fi |
6440 } | 6486 } |
6441 test -z "$with_cde" && { | 6487 test -z "$with_cde" && { |
6442 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6488 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6443 echo "configure:6444: checking for DtDndDragStart in -lDtSvc" >&5 | 6489 echo "configure:6490: checking for DtDndDragStart in -lDtSvc" >&5 |
6444 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6490 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6445 | 6491 |
6446 xe_check_libs=" -lDtSvc " | 6492 xe_check_libs=" -lDtSvc " |
6447 cat > conftest.$ac_ext <<EOF | 6493 cat > conftest.$ac_ext <<EOF |
6448 #line 6449 "configure" | 6494 #line 6495 "configure" |
6449 #include "confdefs.h" | 6495 #include "confdefs.h" |
6450 /* Override any gcc2 internal prototype to avoid an error. */ | 6496 /* Override any gcc2 internal prototype to avoid an error. */ |
6451 /* We use char because int might match the return type of a gcc2 | 6497 /* We use char because int might match the return type of a gcc2 |
6452 builtin and then its argument prototype would still apply. */ | 6498 builtin and then its argument prototype would still apply. */ |
6453 char DtDndDragStart(); | 6499 char DtDndDragStart(); |
6454 | 6500 |
6455 int main() { | 6501 int main() { |
6456 DtDndDragStart() | 6502 DtDndDragStart() |
6457 ; return 0; } | 6503 ; return 0; } |
6458 EOF | 6504 EOF |
6459 if { (eval echo configure:6460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6505 if { (eval echo configure:6506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6460 rm -rf conftest* | 6506 rm -rf conftest* |
6461 eval "ac_cv_lib_$ac_lib_var=yes" | 6507 eval "ac_cv_lib_$ac_lib_var=yes" |
6462 else | 6508 else |
6463 echo "configure: failed program was:" >&5 | 6509 echo "configure: failed program was:" >&5 |
6464 cat conftest.$ac_ext >&5 | 6510 cat conftest.$ac_ext >&5 |
6523 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6569 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6524 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6570 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6525 fi | 6571 fi |
6526 | 6572 |
6527 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6573 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6528 echo "configure:6529: checking if drag and drop API is needed" >&5 | 6574 echo "configure:6575: checking if drag and drop API is needed" >&5 |
6529 if test "$with_dragndrop" != "no" ; then | 6575 if test "$with_dragndrop" != "no" ; then |
6530 if test -n "$dragndrop_proto" ; then | 6576 if test -n "$dragndrop_proto" ; then |
6531 with_dragndrop=yes | 6577 with_dragndrop=yes |
6532 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6578 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6533 { test "$extra_verbose" = "yes" && cat << \EOF | 6579 { test "$extra_verbose" = "yes" && cat << \EOF |
6544 echo "$ac_t""no" 1>&6 | 6590 echo "$ac_t""no" 1>&6 |
6545 fi | 6591 fi |
6546 fi | 6592 fi |
6547 | 6593 |
6548 echo "checking for LDAP" 1>&6 | 6594 echo "checking for LDAP" 1>&6 |
6549 echo "configure:6550: checking for LDAP" >&5 | 6595 echo "configure:6596: checking for LDAP" >&5 |
6550 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6596 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6551 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6597 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6552 echo "configure:6553: checking for ldap.h" >&5 | 6598 echo "configure:6599: checking for ldap.h" >&5 |
6553 | 6599 |
6554 cat > conftest.$ac_ext <<EOF | 6600 cat > conftest.$ac_ext <<EOF |
6555 #line 6556 "configure" | 6601 #line 6602 "configure" |
6556 #include "confdefs.h" | 6602 #include "confdefs.h" |
6557 #include <ldap.h> | 6603 #include <ldap.h> |
6558 EOF | 6604 EOF |
6559 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6560 { (eval echo configure:6561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6606 { (eval echo configure:6607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6561 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6562 if test -z "$ac_err"; then | 6608 if test -z "$ac_err"; then |
6563 rm -rf conftest* | 6609 rm -rf conftest* |
6564 eval "ac_cv_header_$ac_safe=yes" | 6610 eval "ac_cv_header_$ac_safe=yes" |
6565 else | 6611 else |
6578 with_ldap=no | 6624 with_ldap=no |
6579 fi | 6625 fi |
6580 } | 6626 } |
6581 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6627 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6582 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6628 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6583 echo "configure:6584: checking for lber.h" >&5 | 6629 echo "configure:6630: checking for lber.h" >&5 |
6584 | 6630 |
6585 cat > conftest.$ac_ext <<EOF | 6631 cat > conftest.$ac_ext <<EOF |
6586 #line 6587 "configure" | 6632 #line 6633 "configure" |
6587 #include "confdefs.h" | 6633 #include "confdefs.h" |
6588 #include <lber.h> | 6634 #include <lber.h> |
6589 EOF | 6635 EOF |
6590 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6636 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6591 { (eval echo configure:6592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6637 { (eval echo configure:6638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6592 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6638 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6593 if test -z "$ac_err"; then | 6639 if test -z "$ac_err"; then |
6594 rm -rf conftest* | 6640 rm -rf conftest* |
6595 eval "ac_cv_header_$ac_safe=yes" | 6641 eval "ac_cv_header_$ac_safe=yes" |
6596 else | 6642 else |
6610 fi | 6656 fi |
6611 } | 6657 } |
6612 if test "$with_ldap" != "no"; then | 6658 if test "$with_ldap" != "no"; then |
6613 | 6659 |
6614 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 6660 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
6615 echo "configure:6616: checking for ldap_search in -lldap" >&5 | 6661 echo "configure:6662: checking for ldap_search in -lldap" >&5 |
6616 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 6662 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
6617 | 6663 |
6618 xe_check_libs=" -lldap " | 6664 xe_check_libs=" -lldap " |
6619 cat > conftest.$ac_ext <<EOF | 6665 cat > conftest.$ac_ext <<EOF |
6620 #line 6621 "configure" | 6666 #line 6667 "configure" |
6621 #include "confdefs.h" | 6667 #include "confdefs.h" |
6622 /* Override any gcc2 internal prototype to avoid an error. */ | 6668 /* Override any gcc2 internal prototype to avoid an error. */ |
6623 /* We use char because int might match the return type of a gcc2 | 6669 /* We use char because int might match the return type of a gcc2 |
6624 builtin and then its argument prototype would still apply. */ | 6670 builtin and then its argument prototype would still apply. */ |
6625 char ldap_search(); | 6671 char ldap_search(); |
6626 | 6672 |
6627 int main() { | 6673 int main() { |
6628 ldap_search() | 6674 ldap_search() |
6629 ; return 0; } | 6675 ; return 0; } |
6630 EOF | 6676 EOF |
6631 if { (eval echo configure:6632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6677 if { (eval echo configure:6678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6632 rm -rf conftest* | 6678 rm -rf conftest* |
6633 eval "ac_cv_lib_$ac_lib_var=yes" | 6679 eval "ac_cv_lib_$ac_lib_var=yes" |
6634 else | 6680 else |
6635 echo "configure: failed program was:" >&5 | 6681 echo "configure: failed program was:" >&5 |
6636 cat conftest.$ac_ext >&5 | 6682 cat conftest.$ac_ext >&5 |
6651 | 6697 |
6652 test "$with_ldap_nolber" = "no" && { | 6698 test "$with_ldap_nolber" = "no" && { |
6653 xe_msg_checking="for ldap_open in -lldap" | 6699 xe_msg_checking="for ldap_open in -lldap" |
6654 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6700 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6655 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6701 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6656 echo "configure:6657: checking "$xe_msg_checking"" >&5 | 6702 echo "configure:6703: checking "$xe_msg_checking"" >&5 |
6657 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6703 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6658 | 6704 |
6659 xe_check_libs=" -lldap -llber" | 6705 xe_check_libs=" -lldap -llber" |
6660 cat > conftest.$ac_ext <<EOF | 6706 cat > conftest.$ac_ext <<EOF |
6661 #line 6662 "configure" | 6707 #line 6708 "configure" |
6662 #include "confdefs.h" | 6708 #include "confdefs.h" |
6663 /* Override any gcc2 internal prototype to avoid an error. */ | 6709 /* Override any gcc2 internal prototype to avoid an error. */ |
6664 /* We use char because int might match the return type of a gcc2 | 6710 /* We use char because int might match the return type of a gcc2 |
6665 builtin and then its argument prototype would still apply. */ | 6711 builtin and then its argument prototype would still apply. */ |
6666 char ldap_open(); | 6712 char ldap_open(); |
6667 | 6713 |
6668 int main() { | 6714 int main() { |
6669 ldap_open() | 6715 ldap_open() |
6670 ; return 0; } | 6716 ; return 0; } |
6671 EOF | 6717 EOF |
6672 if { (eval echo configure:6673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6718 if { (eval echo configure:6719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6673 rm -rf conftest* | 6719 rm -rf conftest* |
6674 eval "ac_cv_lib_$ac_lib_var=yes" | 6720 eval "ac_cv_lib_$ac_lib_var=yes" |
6675 else | 6721 else |
6676 echo "configure: failed program was:" >&5 | 6722 echo "configure: failed program was:" >&5 |
6677 cat conftest.$ac_ext >&5 | 6723 cat conftest.$ac_ext >&5 |
6692 } | 6738 } |
6693 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 6739 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
6694 xe_msg_checking="for ldap_open in -lldap" | 6740 xe_msg_checking="for ldap_open in -lldap" |
6695 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 6741 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
6696 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6742 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6697 echo "configure:6698: checking "$xe_msg_checking"" >&5 | 6743 echo "configure:6744: checking "$xe_msg_checking"" >&5 |
6698 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6744 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6699 | 6745 |
6700 xe_check_libs=" -lldap -llber -lkrb" | 6746 xe_check_libs=" -lldap -llber -lkrb" |
6701 cat > conftest.$ac_ext <<EOF | 6747 cat > conftest.$ac_ext <<EOF |
6702 #line 6703 "configure" | 6748 #line 6749 "configure" |
6703 #include "confdefs.h" | 6749 #include "confdefs.h" |
6704 /* Override any gcc2 internal prototype to avoid an error. */ | 6750 /* Override any gcc2 internal prototype to avoid an error. */ |
6705 /* We use char because int might match the return type of a gcc2 | 6751 /* We use char because int might match the return type of a gcc2 |
6706 builtin and then its argument prototype would still apply. */ | 6752 builtin and then its argument prototype would still apply. */ |
6707 char ldap_open(); | 6753 char ldap_open(); |
6708 | 6754 |
6709 int main() { | 6755 int main() { |
6710 ldap_open() | 6756 ldap_open() |
6711 ; return 0; } | 6757 ; return 0; } |
6712 EOF | 6758 EOF |
6713 if { (eval echo configure:6714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6759 if { (eval echo configure:6760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6714 rm -rf conftest* | 6760 rm -rf conftest* |
6715 eval "ac_cv_lib_$ac_lib_var=yes" | 6761 eval "ac_cv_lib_$ac_lib_var=yes" |
6716 else | 6762 else |
6717 echo "configure: failed program was:" >&5 | 6763 echo "configure: failed program was:" >&5 |
6718 cat conftest.$ac_ext >&5 | 6764 cat conftest.$ac_ext >&5 |
6733 } | 6779 } |
6734 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 6780 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
6735 xe_msg_checking="for ldap_open in -lldap" | 6781 xe_msg_checking="for ldap_open in -lldap" |
6736 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 6782 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
6737 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6783 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6738 echo "configure:6739: checking "$xe_msg_checking"" >&5 | 6784 echo "configure:6785: checking "$xe_msg_checking"" >&5 |
6739 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6785 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6740 | 6786 |
6741 xe_check_libs=" -lldap -llber -lkrb -ldes" | 6787 xe_check_libs=" -lldap -llber -lkrb -ldes" |
6742 cat > conftest.$ac_ext <<EOF | 6788 cat > conftest.$ac_ext <<EOF |
6743 #line 6744 "configure" | 6789 #line 6790 "configure" |
6744 #include "confdefs.h" | 6790 #include "confdefs.h" |
6745 /* Override any gcc2 internal prototype to avoid an error. */ | 6791 /* Override any gcc2 internal prototype to avoid an error. */ |
6746 /* We use char because int might match the return type of a gcc2 | 6792 /* We use char because int might match the return type of a gcc2 |
6747 builtin and then its argument prototype would still apply. */ | 6793 builtin and then its argument prototype would still apply. */ |
6748 char ldap_open(); | 6794 char ldap_open(); |
6749 | 6795 |
6750 int main() { | 6796 int main() { |
6751 ldap_open() | 6797 ldap_open() |
6752 ; return 0; } | 6798 ; return 0; } |
6753 EOF | 6799 EOF |
6754 if { (eval echo configure:6755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6800 if { (eval echo configure:6801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6755 rm -rf conftest* | 6801 rm -rf conftest* |
6756 eval "ac_cv_lib_$ac_lib_var=yes" | 6802 eval "ac_cv_lib_$ac_lib_var=yes" |
6757 else | 6803 else |
6758 echo "configure: failed program was:" >&5 | 6804 echo "configure: failed program was:" >&5 |
6759 cat conftest.$ac_ext >&5 | 6805 cat conftest.$ac_ext >&5 |
6800 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 6846 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
6801 fi | 6847 fi |
6802 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 6848 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
6803 do | 6849 do |
6804 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6805 echo "configure:6806: checking for $ac_func" >&5 | 6851 echo "configure:6852: checking for $ac_func" >&5 |
6806 | 6852 |
6807 cat > conftest.$ac_ext <<EOF | 6853 cat > conftest.$ac_ext <<EOF |
6808 #line 6809 "configure" | 6854 #line 6855 "configure" |
6809 #include "confdefs.h" | 6855 #include "confdefs.h" |
6810 /* System header to define __stub macros and hopefully few prototypes, | 6856 /* System header to define __stub macros and hopefully few prototypes, |
6811 which can conflict with char $ac_func(); below. */ | 6857 which can conflict with char $ac_func(); below. */ |
6812 #include <assert.h> | 6858 #include <assert.h> |
6813 /* Override any gcc2 internal prototype to avoid an error. */ | 6859 /* Override any gcc2 internal prototype to avoid an error. */ |
6826 $ac_func(); | 6872 $ac_func(); |
6827 #endif | 6873 #endif |
6828 | 6874 |
6829 ; return 0; } | 6875 ; return 0; } |
6830 EOF | 6876 EOF |
6831 if { (eval echo configure:6832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6877 if { (eval echo configure:6878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6832 rm -rf conftest* | 6878 rm -rf conftest* |
6833 eval "ac_cv_func_$ac_func=yes" | 6879 eval "ac_cv_func_$ac_func=yes" |
6834 else | 6880 else |
6835 echo "configure: failed program was:" >&5 | 6881 echo "configure: failed program was:" >&5 |
6836 cat conftest.$ac_ext >&5 | 6882 cat conftest.$ac_ext >&5 |
6858 fi | 6904 fi |
6859 | 6905 |
6860 | 6906 |
6861 if test "$window_system" != "none"; then | 6907 if test "$window_system" != "none"; then |
6862 echo "checking for graphics libraries" 1>&6 | 6908 echo "checking for graphics libraries" 1>&6 |
6863 echo "configure:6864: checking for graphics libraries" >&5 | 6909 echo "configure:6910: checking for graphics libraries" >&5 |
6864 | 6910 |
6865 | 6911 |
6866 echo $ac_n "checking for __T_9__nothrow in -lCsup""... $ac_c" 1>&6 | 6912 echo $ac_n "checking for __T_9__nothrow in -lCsup""... $ac_c" 1>&6 |
6867 echo "configure:6868: checking for __T_9__nothrow in -lCsup" >&5 | 6913 echo "configure:6914: checking for __T_9__nothrow in -lCsup" >&5 |
6868 ac_lib_var=`echo Csup'_'__T_9__nothrow | sed 'y%./+-%__p_%'` | 6914 ac_lib_var=`echo Csup'_'__T_9__nothrow | sed 'y%./+-%__p_%'` |
6869 | 6915 |
6870 xe_check_libs=" -lCsup " | 6916 xe_check_libs=" -lCsup " |
6871 cat > conftest.$ac_ext <<EOF | 6917 cat > conftest.$ac_ext <<EOF |
6872 #line 6873 "configure" | 6918 #line 6919 "configure" |
6873 #include "confdefs.h" | 6919 #include "confdefs.h" |
6874 /* Override any gcc2 internal prototype to avoid an error. */ | 6920 /* Override any gcc2 internal prototype to avoid an error. */ |
6875 /* We use char because int might match the return type of a gcc2 | 6921 /* We use char because int might match the return type of a gcc2 |
6876 builtin and then its argument prototype would still apply. */ | 6922 builtin and then its argument prototype would still apply. */ |
6877 char __T_9__nothrow(); | 6923 char __T_9__nothrow(); |
6878 | 6924 |
6879 int main() { | 6925 int main() { |
6880 __T_9__nothrow() | 6926 __T_9__nothrow() |
6881 ; return 0; } | 6927 ; return 0; } |
6882 EOF | 6928 EOF |
6883 if { (eval echo configure:6884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6929 if { (eval echo configure:6930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6884 rm -rf conftest* | 6930 rm -rf conftest* |
6885 eval "ac_cv_lib_$ac_lib_var=yes" | 6931 eval "ac_cv_lib_$ac_lib_var=yes" |
6886 else | 6932 else |
6887 echo "configure: failed program was:" >&5 | 6933 echo "configure: failed program was:" >&5 |
6888 cat conftest.$ac_ext >&5 | 6934 cat conftest.$ac_ext >&5 |
6902 | 6948 |
6903 | 6949 |
6904 xpm_problem="" | 6950 xpm_problem="" |
6905 if test -z "$with_xpm"; then | 6951 if test -z "$with_xpm"; then |
6906 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6952 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6907 echo "configure:6908: checking for Xpm - no older than 3.4f" >&5 | 6953 echo "configure:6954: checking for Xpm - no older than 3.4f" >&5 |
6908 xe_check_libs=-lXpm | 6954 xe_check_libs=-lXpm |
6909 cat > conftest.$ac_ext <<EOF | 6955 cat > conftest.$ac_ext <<EOF |
6910 #line 6911 "configure" | 6956 #line 6957 "configure" |
6911 #include "confdefs.h" | 6957 #include "confdefs.h" |
6912 #include <X11/xpm.h> | 6958 #include <X11/xpm.h> |
6913 int main(int c, char **v) { | 6959 int main(int c, char **v) { |
6914 return c == 1 ? 0 : | 6960 return c == 1 ? 0 : |
6915 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6961 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6916 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6962 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6917 EOF | 6963 EOF |
6918 if { (eval echo configure:6919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6964 if { (eval echo configure:6965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6919 then | 6965 then |
6920 ./conftest dummy_arg; xpm_status=$?; | 6966 ./conftest dummy_arg; xpm_status=$?; |
6921 if test "$xpm_status" = "0"; then | 6967 if test "$xpm_status" = "0"; then |
6922 with_xpm=yes; | 6968 with_xpm=yes; |
6923 else | 6969 else |
6955 EOF | 7001 EOF |
6956 } | 7002 } |
6957 | 7003 |
6958 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 7004 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6959 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 7005 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6960 echo "configure:6961: checking for \"FOR_MSW\" xpm" >&5 | 7006 echo "configure:7007: checking for \"FOR_MSW\" xpm" >&5 |
6961 xe_check_libs=-lXpm | 7007 xe_check_libs=-lXpm |
6962 cat > conftest.$ac_ext <<EOF | 7008 cat > conftest.$ac_ext <<EOF |
6963 #line 6964 "configure" | 7009 #line 7010 "configure" |
6964 #include "confdefs.h" | 7010 #include "confdefs.h" |
6965 | 7011 |
6966 int main() { | 7012 int main() { |
6967 XpmCreatePixmapFromData() | 7013 XpmCreatePixmapFromData() |
6968 ; return 0; } | 7014 ; return 0; } |
6969 EOF | 7015 EOF |
6970 if { (eval echo configure:6971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7016 if { (eval echo configure:7017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6971 rm -rf conftest* | 7017 rm -rf conftest* |
6972 xpm_for_msw=no | 7018 xpm_for_msw=no |
6973 else | 7019 else |
6974 echo "configure: failed program was:" >&5 | 7020 echo "configure: failed program was:" >&5 |
6975 cat conftest.$ac_ext >&5 | 7021 cat conftest.$ac_ext >&5 |
7007 fi | 7053 fi |
7008 | 7054 |
7009 if test "$with_png $with_tiff" != "no no"; then | 7055 if test "$with_png $with_tiff" != "no no"; then |
7010 | 7056 |
7011 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 7057 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
7012 echo "configure:7013: checking for inflate in -lc" >&5 | 7058 echo "configure:7059: checking for inflate in -lc" >&5 |
7013 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 7059 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
7014 | 7060 |
7015 xe_check_libs=" -lc " | 7061 xe_check_libs=" -lc " |
7016 cat > conftest.$ac_ext <<EOF | 7062 cat > conftest.$ac_ext <<EOF |
7017 #line 7018 "configure" | 7063 #line 7064 "configure" |
7018 #include "confdefs.h" | 7064 #include "confdefs.h" |
7019 /* Override any gcc2 internal prototype to avoid an error. */ | 7065 /* Override any gcc2 internal prototype to avoid an error. */ |
7020 /* We use char because int might match the return type of a gcc2 | 7066 /* We use char because int might match the return type of a gcc2 |
7021 builtin and then its argument prototype would still apply. */ | 7067 builtin and then its argument prototype would still apply. */ |
7022 char inflate(); | 7068 char inflate(); |
7023 | 7069 |
7024 int main() { | 7070 int main() { |
7025 inflate() | 7071 inflate() |
7026 ; return 0; } | 7072 ; return 0; } |
7027 EOF | 7073 EOF |
7028 if { (eval echo configure:7029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7074 if { (eval echo configure:7075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7029 rm -rf conftest* | 7075 rm -rf conftest* |
7030 eval "ac_cv_lib_$ac_lib_var=yes" | 7076 eval "ac_cv_lib_$ac_lib_var=yes" |
7031 else | 7077 else |
7032 echo "configure: failed program was:" >&5 | 7078 echo "configure: failed program was:" >&5 |
7033 cat conftest.$ac_ext >&5 | 7079 cat conftest.$ac_ext >&5 |
7042 : | 7088 : |
7043 else | 7089 else |
7044 echo "$ac_t""no" 1>&6 | 7090 echo "$ac_t""no" 1>&6 |
7045 | 7091 |
7046 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 7092 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
7047 echo "configure:7048: checking for inflate in -lz" >&5 | 7093 echo "configure:7094: checking for inflate in -lz" >&5 |
7048 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 7094 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
7049 | 7095 |
7050 xe_check_libs=" -lz " | 7096 xe_check_libs=" -lz " |
7051 cat > conftest.$ac_ext <<EOF | 7097 cat > conftest.$ac_ext <<EOF |
7052 #line 7053 "configure" | 7098 #line 7099 "configure" |
7053 #include "confdefs.h" | 7099 #include "confdefs.h" |
7054 /* Override any gcc2 internal prototype to avoid an error. */ | 7100 /* Override any gcc2 internal prototype to avoid an error. */ |
7055 /* We use char because int might match the return type of a gcc2 | 7101 /* We use char because int might match the return type of a gcc2 |
7056 builtin and then its argument prototype would still apply. */ | 7102 builtin and then its argument prototype would still apply. */ |
7057 char inflate(); | 7103 char inflate(); |
7058 | 7104 |
7059 int main() { | 7105 int main() { |
7060 inflate() | 7106 inflate() |
7061 ; return 0; } | 7107 ; return 0; } |
7062 EOF | 7108 EOF |
7063 if { (eval echo configure:7064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7109 if { (eval echo configure:7110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7064 rm -rf conftest* | 7110 rm -rf conftest* |
7065 eval "ac_cv_lib_$ac_lib_var=yes" | 7111 eval "ac_cv_lib_$ac_lib_var=yes" |
7066 else | 7112 else |
7067 echo "configure: failed program was:" >&5 | 7113 echo "configure: failed program was:" >&5 |
7068 cat conftest.$ac_ext >&5 | 7114 cat conftest.$ac_ext >&5 |
7077 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7123 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
7078 else | 7124 else |
7079 echo "$ac_t""no" 1>&6 | 7125 echo "$ac_t""no" 1>&6 |
7080 | 7126 |
7081 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7127 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
7082 echo "configure:7083: checking for inflate in -lgz" >&5 | 7128 echo "configure:7129: checking for inflate in -lgz" >&5 |
7083 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7129 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
7084 | 7130 |
7085 xe_check_libs=" -lgz " | 7131 xe_check_libs=" -lgz " |
7086 cat > conftest.$ac_ext <<EOF | 7132 cat > conftest.$ac_ext <<EOF |
7087 #line 7088 "configure" | 7133 #line 7134 "configure" |
7088 #include "confdefs.h" | 7134 #include "confdefs.h" |
7089 /* Override any gcc2 internal prototype to avoid an error. */ | 7135 /* Override any gcc2 internal prototype to avoid an error. */ |
7090 /* We use char because int might match the return type of a gcc2 | 7136 /* We use char because int might match the return type of a gcc2 |
7091 builtin and then its argument prototype would still apply. */ | 7137 builtin and then its argument prototype would still apply. */ |
7092 char inflate(); | 7138 char inflate(); |
7093 | 7139 |
7094 int main() { | 7140 int main() { |
7095 inflate() | 7141 inflate() |
7096 ; return 0; } | 7142 ; return 0; } |
7097 EOF | 7143 EOF |
7098 if { (eval echo configure:7099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7144 if { (eval echo configure:7145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7099 rm -rf conftest* | 7145 rm -rf conftest* |
7100 eval "ac_cv_lib_$ac_lib_var=yes" | 7146 eval "ac_cv_lib_$ac_lib_var=yes" |
7101 else | 7147 else |
7102 echo "configure: failed program was:" >&5 | 7148 echo "configure: failed program was:" >&5 |
7103 cat conftest.$ac_ext >&5 | 7149 cat conftest.$ac_ext >&5 |
7123 | 7169 |
7124 fi | 7170 fi |
7125 | 7171 |
7126 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7172 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
7127 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7173 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
7128 echo "configure:7129: checking for jpeglib.h" >&5 | 7174 echo "configure:7175: checking for jpeglib.h" >&5 |
7129 | 7175 |
7130 cat > conftest.$ac_ext <<EOF | 7176 cat > conftest.$ac_ext <<EOF |
7131 #line 7132 "configure" | 7177 #line 7178 "configure" |
7132 #include "confdefs.h" | 7178 #include "confdefs.h" |
7133 #include <jpeglib.h> | 7179 #include <jpeglib.h> |
7134 EOF | 7180 EOF |
7135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7136 { (eval echo configure:7137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7182 { (eval echo configure:7183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7138 if test -z "$ac_err"; then | 7184 if test -z "$ac_err"; then |
7139 rm -rf conftest* | 7185 rm -rf conftest* |
7140 eval "ac_cv_header_$ac_safe=yes" | 7186 eval "ac_cv_header_$ac_safe=yes" |
7141 else | 7187 else |
7154 with_jpeg=no | 7200 with_jpeg=no |
7155 fi | 7201 fi |
7156 } | 7202 } |
7157 test -z "$with_jpeg" && { | 7203 test -z "$with_jpeg" && { |
7158 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7204 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
7159 echo "configure:7160: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7205 echo "configure:7206: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
7160 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7206 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
7161 | 7207 |
7162 xe_check_libs=" -ljpeg " | 7208 xe_check_libs=" -ljpeg " |
7163 cat > conftest.$ac_ext <<EOF | 7209 cat > conftest.$ac_ext <<EOF |
7164 #line 7165 "configure" | 7210 #line 7211 "configure" |
7165 #include "confdefs.h" | 7211 #include "confdefs.h" |
7166 /* Override any gcc2 internal prototype to avoid an error. */ | 7212 /* Override any gcc2 internal prototype to avoid an error. */ |
7167 /* We use char because int might match the return type of a gcc2 | 7213 /* We use char because int might match the return type of a gcc2 |
7168 builtin and then its argument prototype would still apply. */ | 7214 builtin and then its argument prototype would still apply. */ |
7169 char jpeg_destroy_decompress(); | 7215 char jpeg_destroy_decompress(); |
7170 | 7216 |
7171 int main() { | 7217 int main() { |
7172 jpeg_destroy_decompress() | 7218 jpeg_destroy_decompress() |
7173 ; return 0; } | 7219 ; return 0; } |
7174 EOF | 7220 EOF |
7175 if { (eval echo configure:7176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7221 if { (eval echo configure:7222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7176 rm -rf conftest* | 7222 rm -rf conftest* |
7177 eval "ac_cv_lib_$ac_lib_var=yes" | 7223 eval "ac_cv_lib_$ac_lib_var=yes" |
7178 else | 7224 else |
7179 echo "configure: failed program was:" >&5 | 7225 echo "configure: failed program was:" >&5 |
7180 cat conftest.$ac_ext >&5 | 7226 cat conftest.$ac_ext >&5 |
7206 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7252 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
7207 fi | 7253 fi |
7208 | 7254 |
7209 png_problem="" | 7255 png_problem="" |
7210 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7256 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
7211 echo "configure:7212: checking for pow" >&5 | 7257 echo "configure:7258: checking for pow" >&5 |
7212 | 7258 |
7213 cat > conftest.$ac_ext <<EOF | 7259 cat > conftest.$ac_ext <<EOF |
7214 #line 7215 "configure" | 7260 #line 7261 "configure" |
7215 #include "confdefs.h" | 7261 #include "confdefs.h" |
7216 /* System header to define __stub macros and hopefully few prototypes, | 7262 /* System header to define __stub macros and hopefully few prototypes, |
7217 which can conflict with char pow(); below. */ | 7263 which can conflict with char pow(); below. */ |
7218 #include <assert.h> | 7264 #include <assert.h> |
7219 /* Override any gcc2 internal prototype to avoid an error. */ | 7265 /* Override any gcc2 internal prototype to avoid an error. */ |
7232 pow(); | 7278 pow(); |
7233 #endif | 7279 #endif |
7234 | 7280 |
7235 ; return 0; } | 7281 ; return 0; } |
7236 EOF | 7282 EOF |
7237 if { (eval echo configure:7238: \"$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 |
7238 rm -rf conftest* | 7284 rm -rf conftest* |
7239 eval "ac_cv_func_pow=yes" | 7285 eval "ac_cv_func_pow=yes" |
7240 else | 7286 else |
7241 echo "configure: failed program was:" >&5 | 7287 echo "configure: failed program was:" >&5 |
7242 cat conftest.$ac_ext >&5 | 7288 cat conftest.$ac_ext >&5 |
7253 with_png=no | 7299 with_png=no |
7254 fi | 7300 fi |
7255 } | 7301 } |
7256 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7302 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
7257 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7303 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
7258 echo "configure:7259: checking for png.h" >&5 | 7304 echo "configure:7305: checking for png.h" >&5 |
7259 | 7305 |
7260 cat > conftest.$ac_ext <<EOF | 7306 cat > conftest.$ac_ext <<EOF |
7261 #line 7262 "configure" | 7307 #line 7308 "configure" |
7262 #include "confdefs.h" | 7308 #include "confdefs.h" |
7263 #include <png.h> | 7309 #include <png.h> |
7264 EOF | 7310 EOF |
7265 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7266 { (eval echo configure:7267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7312 { (eval echo configure:7313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7267 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7268 if test -z "$ac_err"; then | 7314 if test -z "$ac_err"; then |
7269 rm -rf conftest* | 7315 rm -rf conftest* |
7270 eval "ac_cv_header_$ac_safe=yes" | 7316 eval "ac_cv_header_$ac_safe=yes" |
7271 else | 7317 else |
7284 with_png=no | 7330 with_png=no |
7285 fi | 7331 fi |
7286 } | 7332 } |
7287 test -z "$with_png" && { | 7333 test -z "$with_png" && { |
7288 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7334 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7289 echo "configure:7290: checking for png_read_image in -lpng" >&5 | 7335 echo "configure:7336: checking for png_read_image in -lpng" >&5 |
7290 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7336 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7291 | 7337 |
7292 xe_check_libs=" -lpng " | 7338 xe_check_libs=" -lpng " |
7293 cat > conftest.$ac_ext <<EOF | 7339 cat > conftest.$ac_ext <<EOF |
7294 #line 7295 "configure" | 7340 #line 7341 "configure" |
7295 #include "confdefs.h" | 7341 #include "confdefs.h" |
7296 /* Override any gcc2 internal prototype to avoid an error. */ | 7342 /* Override any gcc2 internal prototype to avoid an error. */ |
7297 /* We use char because int might match the return type of a gcc2 | 7343 /* We use char because int might match the return type of a gcc2 |
7298 builtin and then its argument prototype would still apply. */ | 7344 builtin and then its argument prototype would still apply. */ |
7299 char png_read_image(); | 7345 char png_read_image(); |
7300 | 7346 |
7301 int main() { | 7347 int main() { |
7302 png_read_image() | 7348 png_read_image() |
7303 ; return 0; } | 7349 ; return 0; } |
7304 EOF | 7350 EOF |
7305 if { (eval echo configure:7306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7351 if { (eval echo configure:7352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7306 rm -rf conftest* | 7352 rm -rf conftest* |
7307 eval "ac_cv_lib_$ac_lib_var=yes" | 7353 eval "ac_cv_lib_$ac_lib_var=yes" |
7308 else | 7354 else |
7309 echo "configure: failed program was:" >&5 | 7355 echo "configure: failed program was:" >&5 |
7310 cat conftest.$ac_ext >&5 | 7356 cat conftest.$ac_ext >&5 |
7323 fi | 7369 fi |
7324 | 7370 |
7325 } | 7371 } |
7326 if test -z "$with_png"; then | 7372 if test -z "$with_png"; then |
7327 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7373 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
7328 echo "configure:7329: checking for workable png version information" >&5 | 7374 echo "configure:7375: checking for workable png version information" >&5 |
7329 xe_check_libs="-lpng -lz" | 7375 xe_check_libs="-lpng -lz" |
7330 cat > conftest.$ac_ext <<EOF | 7376 cat > conftest.$ac_ext <<EOF |
7331 #line 7332 "configure" | 7377 #line 7378 "configure" |
7332 #include "confdefs.h" | 7378 #include "confdefs.h" |
7333 #include <png.h> | 7379 #include <png.h> |
7334 int main(int c, char **v) { | 7380 int main(int c, char **v) { |
7335 if (c == 1) return 0; | 7381 if (c == 1) return 0; |
7336 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7382 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
7337 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7383 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7338 EOF | 7384 EOF |
7339 if { (eval echo configure:7340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7385 if { (eval echo configure:7386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7340 then | 7386 then |
7341 ./conftest dummy_arg; png_status=$?; | 7387 ./conftest dummy_arg; png_status=$?; |
7342 if test "$png_status" = "0"; then | 7388 if test "$png_status" = "0"; then |
7343 with_png=yes; | 7389 with_png=yes; |
7344 else | 7390 else |
7377 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7423 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
7378 fi | 7424 fi |
7379 | 7425 |
7380 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7426 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
7381 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7427 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
7382 echo "configure:7383: checking for tiffio.h" >&5 | 7428 echo "configure:7429: checking for tiffio.h" >&5 |
7383 | 7429 |
7384 cat > conftest.$ac_ext <<EOF | 7430 cat > conftest.$ac_ext <<EOF |
7385 #line 7386 "configure" | 7431 #line 7432 "configure" |
7386 #include "confdefs.h" | 7432 #include "confdefs.h" |
7387 #include <tiffio.h> | 7433 #include <tiffio.h> |
7388 EOF | 7434 EOF |
7389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7435 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7390 { (eval echo configure:7391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7436 { (eval echo configure:7437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7437 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7392 if test -z "$ac_err"; then | 7438 if test -z "$ac_err"; then |
7393 rm -rf conftest* | 7439 rm -rf conftest* |
7394 eval "ac_cv_header_$ac_safe=yes" | 7440 eval "ac_cv_header_$ac_safe=yes" |
7395 else | 7441 else |
7408 with_tiff=no | 7454 with_tiff=no |
7409 fi | 7455 fi |
7410 } | 7456 } |
7411 test -z "$with_tiff" && { | 7457 test -z "$with_tiff" && { |
7412 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7458 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7413 echo "configure:7414: checking for TIFFClientOpen in -ltiff" >&5 | 7459 echo "configure:7460: checking for TIFFClientOpen in -ltiff" >&5 |
7414 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7460 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7415 | 7461 |
7416 xe_check_libs=" -ltiff " | 7462 xe_check_libs=" -ltiff " |
7417 cat > conftest.$ac_ext <<EOF | 7463 cat > conftest.$ac_ext <<EOF |
7418 #line 7419 "configure" | 7464 #line 7465 "configure" |
7419 #include "confdefs.h" | 7465 #include "confdefs.h" |
7420 /* Override any gcc2 internal prototype to avoid an error. */ | 7466 /* Override any gcc2 internal prototype to avoid an error. */ |
7421 /* We use char because int might match the return type of a gcc2 | 7467 /* We use char because int might match the return type of a gcc2 |
7422 builtin and then its argument prototype would still apply. */ | 7468 builtin and then its argument prototype would still apply. */ |
7423 char TIFFClientOpen(); | 7469 char TIFFClientOpen(); |
7424 | 7470 |
7425 int main() { | 7471 int main() { |
7426 TIFFClientOpen() | 7472 TIFFClientOpen() |
7427 ; return 0; } | 7473 ; return 0; } |
7428 EOF | 7474 EOF |
7429 if { (eval echo configure:7430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7475 if { (eval echo configure:7476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7430 rm -rf conftest* | 7476 rm -rf conftest* |
7431 eval "ac_cv_lib_$ac_lib_var=yes" | 7477 eval "ac_cv_lib_$ac_lib_var=yes" |
7432 else | 7478 else |
7433 echo "configure: failed program was:" >&5 | 7479 echo "configure: failed program was:" >&5 |
7434 cat conftest.$ac_ext >&5 | 7480 cat conftest.$ac_ext >&5 |
7463 | 7509 |
7464 | 7510 |
7465 if test "$with_x11" = "yes"; then | 7511 if test "$with_x11" = "yes"; then |
7466 | 7512 |
7467 echo "checking for X11 graphics libraries" 1>&6 | 7513 echo "checking for X11 graphics libraries" 1>&6 |
7468 echo "configure:7469: checking for X11 graphics libraries" >&5 | 7514 echo "configure:7515: checking for X11 graphics libraries" >&5 |
7469 | 7515 |
7470 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7516 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7471 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7517 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7472 echo "configure:7473: checking for compface.h" >&5 | 7518 echo "configure:7519: checking for compface.h" >&5 |
7473 | 7519 |
7474 cat > conftest.$ac_ext <<EOF | 7520 cat > conftest.$ac_ext <<EOF |
7475 #line 7476 "configure" | 7521 #line 7522 "configure" |
7476 #include "confdefs.h" | 7522 #include "confdefs.h" |
7477 #include <compface.h> | 7523 #include <compface.h> |
7478 EOF | 7524 EOF |
7479 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7480 { (eval echo configure:7481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7526 { (eval echo configure:7527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7482 if test -z "$ac_err"; then | 7528 if test -z "$ac_err"; then |
7483 rm -rf conftest* | 7529 rm -rf conftest* |
7484 eval "ac_cv_header_$ac_safe=yes" | 7530 eval "ac_cv_header_$ac_safe=yes" |
7485 else | 7531 else |
7498 with_xface=no | 7544 with_xface=no |
7499 fi | 7545 fi |
7500 } | 7546 } |
7501 test -z "$with_xface" && { | 7547 test -z "$with_xface" && { |
7502 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7548 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7503 echo "configure:7504: checking for UnGenFace in -lcompface" >&5 | 7549 echo "configure:7550: checking for UnGenFace in -lcompface" >&5 |
7504 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7550 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7505 | 7551 |
7506 xe_check_libs=" -lcompface " | 7552 xe_check_libs=" -lcompface " |
7507 cat > conftest.$ac_ext <<EOF | 7553 cat > conftest.$ac_ext <<EOF |
7508 #line 7509 "configure" | 7554 #line 7555 "configure" |
7509 #include "confdefs.h" | 7555 #include "confdefs.h" |
7510 /* Override any gcc2 internal prototype to avoid an error. */ | 7556 /* Override any gcc2 internal prototype to avoid an error. */ |
7511 /* We use char because int might match the return type of a gcc2 | 7557 /* We use char because int might match the return type of a gcc2 |
7512 builtin and then its argument prototype would still apply. */ | 7558 builtin and then its argument prototype would still apply. */ |
7513 char UnGenFace(); | 7559 char UnGenFace(); |
7514 | 7560 |
7515 int main() { | 7561 int main() { |
7516 UnGenFace() | 7562 UnGenFace() |
7517 ; return 0; } | 7563 ; return 0; } |
7518 EOF | 7564 EOF |
7519 if { (eval echo configure:7520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7565 if { (eval echo configure:7566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7520 rm -rf conftest* | 7566 rm -rf conftest* |
7521 eval "ac_cv_lib_$ac_lib_var=yes" | 7567 eval "ac_cv_lib_$ac_lib_var=yes" |
7522 else | 7568 else |
7523 echo "configure: failed program was:" >&5 | 7569 echo "configure: failed program was:" >&5 |
7524 cat conftest.$ac_ext >&5 | 7570 cat conftest.$ac_ext >&5 |
7550 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7596 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
7551 fi | 7597 fi |
7552 | 7598 |
7553 | 7599 |
7554 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7600 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7555 echo "configure:7556: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7601 echo "configure:7602: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7556 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7602 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7557 | 7603 |
7558 xe_check_libs=" -lXaw " | 7604 xe_check_libs=" -lXaw " |
7559 cat > conftest.$ac_ext <<EOF | 7605 cat > conftest.$ac_ext <<EOF |
7560 #line 7561 "configure" | 7606 #line 7607 "configure" |
7561 #include "confdefs.h" | 7607 #include "confdefs.h" |
7562 /* Override any gcc2 internal prototype to avoid an error. */ | 7608 /* Override any gcc2 internal prototype to avoid an error. */ |
7563 /* We use char because int might match the return type of a gcc2 | 7609 /* We use char because int might match the return type of a gcc2 |
7564 builtin and then its argument prototype would still apply. */ | 7610 builtin and then its argument prototype would still apply. */ |
7565 char XawScrollbarSetThumb(); | 7611 char XawScrollbarSetThumb(); |
7566 | 7612 |
7567 int main() { | 7613 int main() { |
7568 XawScrollbarSetThumb() | 7614 XawScrollbarSetThumb() |
7569 ; return 0; } | 7615 ; return 0; } |
7570 EOF | 7616 EOF |
7571 if { (eval echo configure:7572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7617 if { (eval echo configure:7618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7572 rm -rf conftest* | 7618 rm -rf conftest* |
7573 eval "ac_cv_lib_$ac_lib_var=yes" | 7619 eval "ac_cv_lib_$ac_lib_var=yes" |
7574 else | 7620 else |
7575 echo "configure: failed program was:" >&5 | 7621 echo "configure: failed program was:" >&5 |
7576 cat conftest.$ac_ext >&5 | 7622 cat conftest.$ac_ext >&5 |
7590 | 7636 |
7591 | 7637 |
7592 | 7638 |
7593 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7639 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7594 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7640 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7595 echo "configure:7596: checking for Xm/Xm.h" >&5 | 7641 echo "configure:7642: checking for Xm/Xm.h" >&5 |
7596 | 7642 |
7597 cat > conftest.$ac_ext <<EOF | 7643 cat > conftest.$ac_ext <<EOF |
7598 #line 7599 "configure" | 7644 #line 7645 "configure" |
7599 #include "confdefs.h" | 7645 #include "confdefs.h" |
7600 #include <Xm/Xm.h> | 7646 #include <Xm/Xm.h> |
7601 EOF | 7647 EOF |
7602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7603 { (eval echo configure:7604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7649 { (eval echo configure:7650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7605 if test -z "$ac_err"; then | 7651 if test -z "$ac_err"; then |
7606 rm -rf conftest* | 7652 rm -rf conftest* |
7607 eval "ac_cv_header_$ac_safe=yes" | 7653 eval "ac_cv_header_$ac_safe=yes" |
7608 else | 7654 else |
7615 rm -f conftest* | 7661 rm -f conftest* |
7616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7662 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7617 echo "$ac_t""yes" 1>&6 | 7663 echo "$ac_t""yes" 1>&6 |
7618 | 7664 |
7619 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7665 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7620 echo "configure:7621: checking for XmStringFree in -lXm" >&5 | 7666 echo "configure:7667: checking for XmStringFree in -lXm" >&5 |
7621 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7667 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7622 | 7668 |
7623 xe_check_libs=" -lXm " | 7669 xe_check_libs=" -lXm " |
7624 cat > conftest.$ac_ext <<EOF | 7670 cat > conftest.$ac_ext <<EOF |
7625 #line 7626 "configure" | 7671 #line 7672 "configure" |
7626 #include "confdefs.h" | 7672 #include "confdefs.h" |
7627 /* Override any gcc2 internal prototype to avoid an error. */ | 7673 /* Override any gcc2 internal prototype to avoid an error. */ |
7628 /* We use char because int might match the return type of a gcc2 | 7674 /* We use char because int might match the return type of a gcc2 |
7629 builtin and then its argument prototype would still apply. */ | 7675 builtin and then its argument prototype would still apply. */ |
7630 char XmStringFree(); | 7676 char XmStringFree(); |
7631 | 7677 |
7632 int main() { | 7678 int main() { |
7633 XmStringFree() | 7679 XmStringFree() |
7634 ; return 0; } | 7680 ; return 0; } |
7635 EOF | 7681 EOF |
7636 if { (eval echo configure:7637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7682 if { (eval echo configure:7683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7637 rm -rf conftest* | 7683 rm -rf conftest* |
7638 eval "ac_cv_lib_$ac_lib_var=yes" | 7684 eval "ac_cv_lib_$ac_lib_var=yes" |
7639 else | 7685 else |
7640 echo "configure: failed program was:" >&5 | 7686 echo "configure: failed program was:" >&5 |
7641 cat conftest.$ac_ext >&5 | 7687 cat conftest.$ac_ext >&5 |
7660 fi | 7706 fi |
7661 | 7707 |
7662 | 7708 |
7663 if test "$have_motif" = "yes"; then | 7709 if test "$have_motif" = "yes"; then |
7664 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7710 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7665 echo "configure:7666: checking for Lesstif" >&5 | 7711 echo "configure:7712: checking for Lesstif" >&5 |
7666 cat > conftest.$ac_ext <<EOF | 7712 cat > conftest.$ac_ext <<EOF |
7667 #line 7668 "configure" | 7713 #line 7714 "configure" |
7668 #include "confdefs.h" | 7714 #include "confdefs.h" |
7669 #include <Xm/Xm.h> | 7715 #include <Xm/Xm.h> |
7670 #ifdef LESSTIF_VERSION | 7716 #ifdef LESSTIF_VERSION |
7671 yes | 7717 yes |
7672 #endif | 7718 #endif |
7946 fi | 7992 fi |
7947 fi | 7993 fi |
7948 | 7994 |
7949 if test "$with_mule" = "yes" ; then | 7995 if test "$with_mule" = "yes" ; then |
7950 echo "checking for Mule-related features" 1>&6 | 7996 echo "checking for Mule-related features" 1>&6 |
7951 echo "configure:7952: checking for Mule-related features" >&5 | 7997 echo "configure:7998: checking for Mule-related features" >&5 |
7952 { test "$extra_verbose" = "yes" && cat << \EOF | 7998 { test "$extra_verbose" = "yes" && cat << \EOF |
7953 Defining MULE | 7999 Defining MULE |
7954 EOF | 8000 EOF |
7955 cat >> confdefs.h <<\EOF | 8001 cat >> confdefs.h <<\EOF |
7956 #define MULE 1 | 8002 #define MULE 1 |
7971 | 8017 |
7972 for ac_hdr in libintl.h | 8018 for ac_hdr in libintl.h |
7973 do | 8019 do |
7974 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 8020 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7975 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 8021 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7976 echo "configure:7977: checking for $ac_hdr" >&5 | 8022 echo "configure:8023: checking for $ac_hdr" >&5 |
7977 | 8023 |
7978 cat > conftest.$ac_ext <<EOF | 8024 cat > conftest.$ac_ext <<EOF |
7979 #line 7980 "configure" | 8025 #line 8026 "configure" |
7980 #include "confdefs.h" | 8026 #include "confdefs.h" |
7981 #include <$ac_hdr> | 8027 #include <$ac_hdr> |
7982 EOF | 8028 EOF |
7983 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8029 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7984 { (eval echo configure:7985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8030 { (eval echo configure:8031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7985 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8031 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7986 if test -z "$ac_err"; then | 8032 if test -z "$ac_err"; then |
7987 rm -rf conftest* | 8033 rm -rf conftest* |
7988 eval "ac_cv_header_$ac_safe=yes" | 8034 eval "ac_cv_header_$ac_safe=yes" |
7989 else | 8035 else |
8010 fi | 8056 fi |
8011 done | 8057 done |
8012 | 8058 |
8013 | 8059 |
8014 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 8060 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
8015 echo "configure:8016: checking for strerror in -lintl" >&5 | 8061 echo "configure:8062: checking for strerror in -lintl" >&5 |
8016 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 8062 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
8017 | 8063 |
8018 xe_check_libs=" -lintl " | 8064 xe_check_libs=" -lintl " |
8019 cat > conftest.$ac_ext <<EOF | 8065 cat > conftest.$ac_ext <<EOF |
8020 #line 8021 "configure" | 8066 #line 8067 "configure" |
8021 #include "confdefs.h" | 8067 #include "confdefs.h" |
8022 /* Override any gcc2 internal prototype to avoid an error. */ | 8068 /* Override any gcc2 internal prototype to avoid an error. */ |
8023 /* We use char because int might match the return type of a gcc2 | 8069 /* We use char because int might match the return type of a gcc2 |
8024 builtin and then its argument prototype would still apply. */ | 8070 builtin and then its argument prototype would still apply. */ |
8025 char strerror(); | 8071 char strerror(); |
8026 | 8072 |
8027 int main() { | 8073 int main() { |
8028 strerror() | 8074 strerror() |
8029 ; return 0; } | 8075 ; return 0; } |
8030 EOF | 8076 EOF |
8031 if { (eval echo configure:8032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8077 if { (eval echo configure:8078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8032 rm -rf conftest* | 8078 rm -rf conftest* |
8033 eval "ac_cv_lib_$ac_lib_var=yes" | 8079 eval "ac_cv_lib_$ac_lib_var=yes" |
8034 else | 8080 else |
8035 echo "configure: failed program was:" >&5 | 8081 echo "configure: failed program was:" >&5 |
8036 cat conftest.$ac_ext >&5 | 8082 cat conftest.$ac_ext >&5 |
8059 fi | 8105 fi |
8060 | 8106 |
8061 | 8107 |
8062 | 8108 |
8063 echo "checking for Mule input methods" 1>&6 | 8109 echo "checking for Mule input methods" 1>&6 |
8064 echo "configure:8065: checking for Mule input methods" >&5 | 8110 echo "configure:8111: checking for Mule input methods" >&5 |
8065 case "$with_xim" in "" | "yes" ) | 8111 case "$with_xim" in "" | "yes" ) |
8066 echo "checking for XIM" 1>&6 | 8112 echo "checking for XIM" 1>&6 |
8067 echo "configure:8068: checking for XIM" >&5 | 8113 echo "configure:8114: checking for XIM" >&5 |
8068 | 8114 |
8069 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 8115 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
8070 echo "configure:8071: checking for XOpenIM in -lX11" >&5 | 8116 echo "configure:8117: checking for XOpenIM in -lX11" >&5 |
8071 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 8117 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
8072 | 8118 |
8073 xe_check_libs=" -lX11 " | 8119 xe_check_libs=" -lX11 " |
8074 cat > conftest.$ac_ext <<EOF | 8120 cat > conftest.$ac_ext <<EOF |
8075 #line 8076 "configure" | 8121 #line 8122 "configure" |
8076 #include "confdefs.h" | 8122 #include "confdefs.h" |
8077 /* Override any gcc2 internal prototype to avoid an error. */ | 8123 /* Override any gcc2 internal prototype to avoid an error. */ |
8078 /* We use char because int might match the return type of a gcc2 | 8124 /* We use char because int might match the return type of a gcc2 |
8079 builtin and then its argument prototype would still apply. */ | 8125 builtin and then its argument prototype would still apply. */ |
8080 char XOpenIM(); | 8126 char XOpenIM(); |
8081 | 8127 |
8082 int main() { | 8128 int main() { |
8083 XOpenIM() | 8129 XOpenIM() |
8084 ; return 0; } | 8130 ; return 0; } |
8085 EOF | 8131 EOF |
8086 if { (eval echo configure:8087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8132 if { (eval echo configure:8133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8087 rm -rf conftest* | 8133 rm -rf conftest* |
8088 eval "ac_cv_lib_$ac_lib_var=yes" | 8134 eval "ac_cv_lib_$ac_lib_var=yes" |
8089 else | 8135 else |
8090 echo "configure: failed program was:" >&5 | 8136 echo "configure: failed program was:" >&5 |
8091 cat conftest.$ac_ext >&5 | 8137 cat conftest.$ac_ext >&5 |
8105 | 8151 |
8106 | 8152 |
8107 if test "$have_motif $have_lesstif" = "yes no"; then | 8153 if test "$have_motif $have_lesstif" = "yes no"; then |
8108 | 8154 |
8109 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 8155 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
8110 echo "configure:8111: checking for XmImMbLookupString in -lXm" >&5 | 8156 echo "configure:8157: checking for XmImMbLookupString in -lXm" >&5 |
8111 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 8157 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
8112 | 8158 |
8113 xe_check_libs=" -lXm " | 8159 xe_check_libs=" -lXm " |
8114 cat > conftest.$ac_ext <<EOF | 8160 cat > conftest.$ac_ext <<EOF |
8115 #line 8116 "configure" | 8161 #line 8162 "configure" |
8116 #include "confdefs.h" | 8162 #include "confdefs.h" |
8117 /* Override any gcc2 internal prototype to avoid an error. */ | 8163 /* Override any gcc2 internal prototype to avoid an error. */ |
8118 /* We use char because int might match the return type of a gcc2 | 8164 /* We use char because int might match the return type of a gcc2 |
8119 builtin and then its argument prototype would still apply. */ | 8165 builtin and then its argument prototype would still apply. */ |
8120 char XmImMbLookupString(); | 8166 char XmImMbLookupString(); |
8121 | 8167 |
8122 int main() { | 8168 int main() { |
8123 XmImMbLookupString() | 8169 XmImMbLookupString() |
8124 ; return 0; } | 8170 ; return 0; } |
8125 EOF | 8171 EOF |
8126 if { (eval echo configure:8127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8172 if { (eval echo configure:8173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8127 rm -rf conftest* | 8173 rm -rf conftest* |
8128 eval "ac_cv_lib_$ac_lib_var=yes" | 8174 eval "ac_cv_lib_$ac_lib_var=yes" |
8129 else | 8175 else |
8130 echo "configure: failed program was:" >&5 | 8176 echo "configure: failed program was:" >&5 |
8131 cat conftest.$ac_ext >&5 | 8177 cat conftest.$ac_ext >&5 |
8186 fi | 8232 fi |
8187 fi | 8233 fi |
8188 | 8234 |
8189 if test "$with_xfs" = "yes" ; then | 8235 if test "$with_xfs" = "yes" ; then |
8190 echo "checking for XFontSet" 1>&6 | 8236 echo "checking for XFontSet" 1>&6 |
8191 echo "configure:8192: checking for XFontSet" >&5 | 8237 echo "configure:8238: checking for XFontSet" >&5 |
8192 | 8238 |
8193 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 8239 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
8194 echo "configure:8195: checking for XmbDrawString in -lX11" >&5 | 8240 echo "configure:8241: checking for XmbDrawString in -lX11" >&5 |
8195 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 8241 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
8196 | 8242 |
8197 xe_check_libs=" -lX11 " | 8243 xe_check_libs=" -lX11 " |
8198 cat > conftest.$ac_ext <<EOF | 8244 cat > conftest.$ac_ext <<EOF |
8199 #line 8200 "configure" | 8245 #line 8246 "configure" |
8200 #include "confdefs.h" | 8246 #include "confdefs.h" |
8201 /* Override any gcc2 internal prototype to avoid an error. */ | 8247 /* Override any gcc2 internal prototype to avoid an error. */ |
8202 /* We use char because int might match the return type of a gcc2 | 8248 /* We use char because int might match the return type of a gcc2 |
8203 builtin and then its argument prototype would still apply. */ | 8249 builtin and then its argument prototype would still apply. */ |
8204 char XmbDrawString(); | 8250 char XmbDrawString(); |
8205 | 8251 |
8206 int main() { | 8252 int main() { |
8207 XmbDrawString() | 8253 XmbDrawString() |
8208 ; return 0; } | 8254 ; return 0; } |
8209 EOF | 8255 EOF |
8210 if { (eval echo configure:8211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8256 if { (eval echo configure:8257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8211 rm -rf conftest* | 8257 rm -rf conftest* |
8212 eval "ac_cv_lib_$ac_lib_var=yes" | 8258 eval "ac_cv_lib_$ac_lib_var=yes" |
8213 else | 8259 else |
8214 echo "configure: failed program was:" >&5 | 8260 echo "configure: failed program was:" >&5 |
8215 cat conftest.$ac_ext >&5 | 8261 cat conftest.$ac_ext >&5 |
8245 fi | 8291 fi |
8246 fi | 8292 fi |
8247 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 8293 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
8248 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 8294 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
8249 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 8295 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
8250 echo "configure:8251: checking for wnn/jllib.h" >&5 | 8296 echo "configure:8297: checking for wnn/jllib.h" >&5 |
8251 | 8297 |
8252 cat > conftest.$ac_ext <<EOF | 8298 cat > conftest.$ac_ext <<EOF |
8253 #line 8254 "configure" | 8299 #line 8300 "configure" |
8254 #include "confdefs.h" | 8300 #include "confdefs.h" |
8255 #include <wnn/jllib.h> | 8301 #include <wnn/jllib.h> |
8256 EOF | 8302 EOF |
8257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8303 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8258 { (eval echo configure:8259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8304 { (eval echo configure:8305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8305 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8260 if test -z "$ac_err"; then | 8306 if test -z "$ac_err"; then |
8261 rm -rf conftest* | 8307 rm -rf conftest* |
8262 eval "ac_cv_header_$ac_safe=yes" | 8308 eval "ac_cv_header_$ac_safe=yes" |
8263 else | 8309 else |
8278 } | 8324 } |
8279 if test "$with_wnn" != "no"; then | 8325 if test "$with_wnn" != "no"; then |
8280 for ac_func in crypt | 8326 for ac_func in crypt |
8281 do | 8327 do |
8282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8283 echo "configure:8284: checking for $ac_func" >&5 | 8329 echo "configure:8330: checking for $ac_func" >&5 |
8284 | 8330 |
8285 cat > conftest.$ac_ext <<EOF | 8331 cat > conftest.$ac_ext <<EOF |
8286 #line 8287 "configure" | 8332 #line 8333 "configure" |
8287 #include "confdefs.h" | 8333 #include "confdefs.h" |
8288 /* System header to define __stub macros and hopefully few prototypes, | 8334 /* System header to define __stub macros and hopefully few prototypes, |
8289 which can conflict with char $ac_func(); below. */ | 8335 which can conflict with char $ac_func(); below. */ |
8290 #include <assert.h> | 8336 #include <assert.h> |
8291 /* Override any gcc2 internal prototype to avoid an error. */ | 8337 /* Override any gcc2 internal prototype to avoid an error. */ |
8304 $ac_func(); | 8350 $ac_func(); |
8305 #endif | 8351 #endif |
8306 | 8352 |
8307 ; return 0; } | 8353 ; return 0; } |
8308 EOF | 8354 EOF |
8309 if { (eval echo configure:8310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8355 if { (eval echo configure:8356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8310 rm -rf conftest* | 8356 rm -rf conftest* |
8311 eval "ac_cv_func_$ac_func=yes" | 8357 eval "ac_cv_func_$ac_func=yes" |
8312 else | 8358 else |
8313 echo "configure: failed program was:" >&5 | 8359 echo "configure: failed program was:" >&5 |
8314 cat conftest.$ac_ext >&5 | 8360 cat conftest.$ac_ext >&5 |
8333 fi | 8379 fi |
8334 done | 8380 done |
8335 | 8381 |
8336 test "$ac_cv_func_crypt" != "yes" && { | 8382 test "$ac_cv_func_crypt" != "yes" && { |
8337 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 8383 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
8338 echo "configure:8339: checking for crypt in -lcrypt" >&5 | 8384 echo "configure:8385: checking for crypt in -lcrypt" >&5 |
8339 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 8385 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
8340 | 8386 |
8341 xe_check_libs=" -lcrypt " | 8387 xe_check_libs=" -lcrypt " |
8342 cat > conftest.$ac_ext <<EOF | 8388 cat > conftest.$ac_ext <<EOF |
8343 #line 8344 "configure" | 8389 #line 8390 "configure" |
8344 #include "confdefs.h" | 8390 #include "confdefs.h" |
8345 /* Override any gcc2 internal prototype to avoid an error. */ | 8391 /* Override any gcc2 internal prototype to avoid an error. */ |
8346 /* We use char because int might match the return type of a gcc2 | 8392 /* We use char because int might match the return type of a gcc2 |
8347 builtin and then its argument prototype would still apply. */ | 8393 builtin and then its argument prototype would still apply. */ |
8348 char crypt(); | 8394 char crypt(); |
8349 | 8395 |
8350 int main() { | 8396 int main() { |
8351 crypt() | 8397 crypt() |
8352 ; return 0; } | 8398 ; return 0; } |
8353 EOF | 8399 EOF |
8354 if { (eval echo configure:8355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8400 if { (eval echo configure:8401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8355 rm -rf conftest* | 8401 rm -rf conftest* |
8356 eval "ac_cv_lib_$ac_lib_var=yes" | 8402 eval "ac_cv_lib_$ac_lib_var=yes" |
8357 else | 8403 else |
8358 echo "configure: failed program was:" >&5 | 8404 echo "configure: failed program was:" >&5 |
8359 cat conftest.$ac_ext >&5 | 8405 cat conftest.$ac_ext >&5 |
8384 } | 8430 } |
8385 fi | 8431 fi |
8386 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 8432 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
8387 | 8433 |
8388 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 8434 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
8389 echo "configure:8390: checking for jl_dic_list_e in -lwnn" >&5 | 8435 echo "configure:8436: checking for jl_dic_list_e in -lwnn" >&5 |
8390 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8436 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8391 | 8437 |
8392 xe_check_libs=" -lwnn " | 8438 xe_check_libs=" -lwnn " |
8393 cat > conftest.$ac_ext <<EOF | 8439 cat > conftest.$ac_ext <<EOF |
8394 #line 8395 "configure" | 8440 #line 8441 "configure" |
8395 #include "confdefs.h" | 8441 #include "confdefs.h" |
8396 /* Override any gcc2 internal prototype to avoid an error. */ | 8442 /* Override any gcc2 internal prototype to avoid an error. */ |
8397 /* We use char because int might match the return type of a gcc2 | 8443 /* We use char because int might match the return type of a gcc2 |
8398 builtin and then its argument prototype would still apply. */ | 8444 builtin and then its argument prototype would still apply. */ |
8399 char jl_dic_list_e(); | 8445 char jl_dic_list_e(); |
8400 | 8446 |
8401 int main() { | 8447 int main() { |
8402 jl_dic_list_e() | 8448 jl_dic_list_e() |
8403 ; return 0; } | 8449 ; return 0; } |
8404 EOF | 8450 EOF |
8405 if { (eval echo configure:8406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8451 if { (eval echo configure:8452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8406 rm -rf conftest* | 8452 rm -rf conftest* |
8407 eval "ac_cv_lib_$ac_lib_var=yes" | 8453 eval "ac_cv_lib_$ac_lib_var=yes" |
8408 else | 8454 else |
8409 echo "configure: failed program was:" >&5 | 8455 echo "configure: failed program was:" >&5 |
8410 cat conftest.$ac_ext >&5 | 8456 cat conftest.$ac_ext >&5 |
8418 echo "$ac_t""yes" 1>&6 | 8464 echo "$ac_t""yes" 1>&6 |
8419 libwnn=wnn | 8465 libwnn=wnn |
8420 else | 8466 else |
8421 echo "$ac_t""no" 1>&6 | 8467 echo "$ac_t""no" 1>&6 |
8422 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8468 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
8423 echo "configure:8424: checking for jl_dic_list_e in -lwnn4" >&5 | 8469 echo "configure:8470: checking for jl_dic_list_e in -lwnn4" >&5 |
8424 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8470 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8425 | 8471 |
8426 xe_check_libs=" -lwnn4 " | 8472 xe_check_libs=" -lwnn4 " |
8427 cat > conftest.$ac_ext <<EOF | 8473 cat > conftest.$ac_ext <<EOF |
8428 #line 8429 "configure" | 8474 #line 8475 "configure" |
8429 #include "confdefs.h" | 8475 #include "confdefs.h" |
8430 /* Override any gcc2 internal prototype to avoid an error. */ | 8476 /* Override any gcc2 internal prototype to avoid an error. */ |
8431 /* We use char because int might match the return type of a gcc2 | 8477 /* We use char because int might match the return type of a gcc2 |
8432 builtin and then its argument prototype would still apply. */ | 8478 builtin and then its argument prototype would still apply. */ |
8433 char jl_dic_list_e(); | 8479 char jl_dic_list_e(); |
8434 | 8480 |
8435 int main() { | 8481 int main() { |
8436 jl_dic_list_e() | 8482 jl_dic_list_e() |
8437 ; return 0; } | 8483 ; return 0; } |
8438 EOF | 8484 EOF |
8439 if { (eval echo configure:8440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8485 if { (eval echo configure:8486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8440 rm -rf conftest* | 8486 rm -rf conftest* |
8441 eval "ac_cv_lib_$ac_lib_var=yes" | 8487 eval "ac_cv_lib_$ac_lib_var=yes" |
8442 else | 8488 else |
8443 echo "configure: failed program was:" >&5 | 8489 echo "configure: failed program was:" >&5 |
8444 cat conftest.$ac_ext >&5 | 8490 cat conftest.$ac_ext >&5 |
8452 echo "$ac_t""yes" 1>&6 | 8498 echo "$ac_t""yes" 1>&6 |
8453 libwnn=wnn4 | 8499 libwnn=wnn4 |
8454 else | 8500 else |
8455 echo "$ac_t""no" 1>&6 | 8501 echo "$ac_t""no" 1>&6 |
8456 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8502 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
8457 echo "configure:8458: checking for jl_dic_list_e in -lwnn6" >&5 | 8503 echo "configure:8504: checking for jl_dic_list_e in -lwnn6" >&5 |
8458 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8504 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8459 | 8505 |
8460 xe_check_libs=" -lwnn6 " | 8506 xe_check_libs=" -lwnn6 " |
8461 cat > conftest.$ac_ext <<EOF | 8507 cat > conftest.$ac_ext <<EOF |
8462 #line 8463 "configure" | 8508 #line 8509 "configure" |
8463 #include "confdefs.h" | 8509 #include "confdefs.h" |
8464 /* Override any gcc2 internal prototype to avoid an error. */ | 8510 /* Override any gcc2 internal prototype to avoid an error. */ |
8465 /* We use char because int might match the return type of a gcc2 | 8511 /* We use char because int might match the return type of a gcc2 |
8466 builtin and then its argument prototype would still apply. */ | 8512 builtin and then its argument prototype would still apply. */ |
8467 char jl_dic_list_e(); | 8513 char jl_dic_list_e(); |
8468 | 8514 |
8469 int main() { | 8515 int main() { |
8470 jl_dic_list_e() | 8516 jl_dic_list_e() |
8471 ; return 0; } | 8517 ; return 0; } |
8472 EOF | 8518 EOF |
8473 if { (eval echo configure:8474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8519 if { (eval echo configure:8520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8474 rm -rf conftest* | 8520 rm -rf conftest* |
8475 eval "ac_cv_lib_$ac_lib_var=yes" | 8521 eval "ac_cv_lib_$ac_lib_var=yes" |
8476 else | 8522 else |
8477 echo "configure: failed program was:" >&5 | 8523 echo "configure: failed program was:" >&5 |
8478 cat conftest.$ac_ext >&5 | 8524 cat conftest.$ac_ext >&5 |
8486 echo "$ac_t""yes" 1>&6 | 8532 echo "$ac_t""yes" 1>&6 |
8487 libwnn=wnn6 | 8533 libwnn=wnn6 |
8488 else | 8534 else |
8489 echo "$ac_t""no" 1>&6 | 8535 echo "$ac_t""no" 1>&6 |
8490 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8536 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
8491 echo "configure:8492: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8537 echo "configure:8538: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
8492 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8538 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
8493 | 8539 |
8494 xe_check_libs=" -lwnn6_fromsrc " | 8540 xe_check_libs=" -lwnn6_fromsrc " |
8495 cat > conftest.$ac_ext <<EOF | 8541 cat > conftest.$ac_ext <<EOF |
8496 #line 8497 "configure" | 8542 #line 8543 "configure" |
8497 #include "confdefs.h" | 8543 #include "confdefs.h" |
8498 /* Override any gcc2 internal prototype to avoid an error. */ | 8544 /* Override any gcc2 internal prototype to avoid an error. */ |
8499 /* We use char because int might match the return type of a gcc2 | 8545 /* We use char because int might match the return type of a gcc2 |
8500 builtin and then its argument prototype would still apply. */ | 8546 builtin and then its argument prototype would still apply. */ |
8501 char dic_list_e(); | 8547 char dic_list_e(); |
8502 | 8548 |
8503 int main() { | 8549 int main() { |
8504 dic_list_e() | 8550 dic_list_e() |
8505 ; return 0; } | 8551 ; return 0; } |
8506 EOF | 8552 EOF |
8507 if { (eval echo configure:8508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8553 if { (eval echo configure:8554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8508 rm -rf conftest* | 8554 rm -rf conftest* |
8509 eval "ac_cv_lib_$ac_lib_var=yes" | 8555 eval "ac_cv_lib_$ac_lib_var=yes" |
8510 else | 8556 else |
8511 echo "configure: failed program was:" >&5 | 8557 echo "configure: failed program was:" >&5 |
8512 cat conftest.$ac_ext >&5 | 8558 cat conftest.$ac_ext >&5 |
8550 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8596 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8551 fi | 8597 fi |
8552 if test "$with_wnn6" != "no"; then | 8598 if test "$with_wnn6" != "no"; then |
8553 | 8599 |
8554 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8600 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
8555 echo "configure:8556: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8601 echo "configure:8602: checking for jl_fi_dic_list in -l$libwnn" >&5 |
8556 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8602 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8557 | 8603 |
8558 xe_check_libs=" -l$libwnn " | 8604 xe_check_libs=" -l$libwnn " |
8559 cat > conftest.$ac_ext <<EOF | 8605 cat > conftest.$ac_ext <<EOF |
8560 #line 8561 "configure" | 8606 #line 8607 "configure" |
8561 #include "confdefs.h" | 8607 #include "confdefs.h" |
8562 /* Override any gcc2 internal prototype to avoid an error. */ | 8608 /* Override any gcc2 internal prototype to avoid an error. */ |
8563 /* 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 |
8564 builtin and then its argument prototype would still apply. */ | 8610 builtin and then its argument prototype would still apply. */ |
8565 char jl_fi_dic_list(); | 8611 char jl_fi_dic_list(); |
8566 | 8612 |
8567 int main() { | 8613 int main() { |
8568 jl_fi_dic_list() | 8614 jl_fi_dic_list() |
8569 ; return 0; } | 8615 ; return 0; } |
8570 EOF | 8616 EOF |
8571 if { (eval echo configure:8572: \"$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 |
8572 rm -rf conftest* | 8618 rm -rf conftest* |
8573 eval "ac_cv_lib_$ac_lib_var=yes" | 8619 eval "ac_cv_lib_$ac_lib_var=yes" |
8574 else | 8620 else |
8575 echo "configure: failed program was:" >&5 | 8621 echo "configure: failed program was:" >&5 |
8576 cat conftest.$ac_ext >&5 | 8622 cat conftest.$ac_ext >&5 |
8601 | 8647 |
8602 canna_includes_found=no | 8648 canna_includes_found=no |
8603 if test "$with_canna" != "no"; then | 8649 if test "$with_canna" != "no"; then |
8604 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8650 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8605 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8651 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8606 echo "configure:8607: checking for canna/jrkanji.h" >&5 | 8652 echo "configure:8653: checking for canna/jrkanji.h" >&5 |
8607 | 8653 |
8608 cat > conftest.$ac_ext <<EOF | 8654 cat > conftest.$ac_ext <<EOF |
8609 #line 8610 "configure" | 8655 #line 8656 "configure" |
8610 #include "confdefs.h" | 8656 #include "confdefs.h" |
8611 #include <canna/jrkanji.h> | 8657 #include <canna/jrkanji.h> |
8612 EOF | 8658 EOF |
8613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8614 { (eval echo configure:8615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8660 { (eval echo configure:8661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8616 if test -z "$ac_err"; then | 8662 if test -z "$ac_err"; then |
8617 rm -rf conftest* | 8663 rm -rf conftest* |
8618 eval "ac_cv_header_$ac_safe=yes" | 8664 eval "ac_cv_header_$ac_safe=yes" |
8619 else | 8665 else |
8636 -d "/usr/local/canna/include"; then | 8682 -d "/usr/local/canna/include"; then |
8637 save_c_switch_site="$c_switch_site" | 8683 save_c_switch_site="$c_switch_site" |
8638 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8684 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8639 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8685 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8640 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8686 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8641 echo "configure:8642: checking for canna/jrkanji.h" >&5 | 8687 echo "configure:8688: checking for canna/jrkanji.h" >&5 |
8642 | 8688 |
8643 cat > conftest.$ac_ext <<EOF | 8689 cat > conftest.$ac_ext <<EOF |
8644 #line 8645 "configure" | 8690 #line 8691 "configure" |
8645 #include "confdefs.h" | 8691 #include "confdefs.h" |
8646 #include <canna/jrkanji.h> | 8692 #include <canna/jrkanji.h> |
8647 EOF | 8693 EOF |
8648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8694 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8649 { (eval echo configure:8650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8695 { (eval echo configure:8696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8696 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8651 if test -z "$ac_err"; then | 8697 if test -z "$ac_err"; then |
8652 rm -rf conftest* | 8698 rm -rf conftest* |
8653 eval "ac_cv_header_$ac_safe=yes" | 8699 eval "ac_cv_header_$ac_safe=yes" |
8654 else | 8700 else |
8672 fi | 8718 fi |
8673 fi | 8719 fi |
8674 | 8720 |
8675 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8721 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8676 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8722 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8677 echo "configure:8678: checking for canna/RK.h" >&5 | 8723 echo "configure:8724: checking for canna/RK.h" >&5 |
8678 | 8724 |
8679 cat > conftest.$ac_ext <<EOF | 8725 cat > conftest.$ac_ext <<EOF |
8680 #line 8681 "configure" | 8726 #line 8727 "configure" |
8681 #include "confdefs.h" | 8727 #include "confdefs.h" |
8682 #include <canna/RK.h> | 8728 #include <canna/RK.h> |
8683 EOF | 8729 EOF |
8684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8685 { (eval echo configure:8686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8731 { (eval echo configure:8732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8732 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8687 if test -z "$ac_err"; then | 8733 if test -z "$ac_err"; then |
8688 rm -rf conftest* | 8734 rm -rf conftest* |
8689 eval "ac_cv_header_$ac_safe=yes" | 8735 eval "ac_cv_header_$ac_safe=yes" |
8690 else | 8736 else |
8703 with_canna=no | 8749 with_canna=no |
8704 fi | 8750 fi |
8705 } | 8751 } |
8706 test -z "$with_canna" && { | 8752 test -z "$with_canna" && { |
8707 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8753 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8708 echo "configure:8709: checking for RkBgnBun in -lRKC" >&5 | 8754 echo "configure:8755: checking for RkBgnBun in -lRKC" >&5 |
8709 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8755 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8710 | 8756 |
8711 xe_check_libs=" -lRKC " | 8757 xe_check_libs=" -lRKC " |
8712 cat > conftest.$ac_ext <<EOF | 8758 cat > conftest.$ac_ext <<EOF |
8713 #line 8714 "configure" | 8759 #line 8760 "configure" |
8714 #include "confdefs.h" | 8760 #include "confdefs.h" |
8715 /* Override any gcc2 internal prototype to avoid an error. */ | 8761 /* Override any gcc2 internal prototype to avoid an error. */ |
8716 /* We use char because int might match the return type of a gcc2 | 8762 /* We use char because int might match the return type of a gcc2 |
8717 builtin and then its argument prototype would still apply. */ | 8763 builtin and then its argument prototype would still apply. */ |
8718 char RkBgnBun(); | 8764 char RkBgnBun(); |
8719 | 8765 |
8720 int main() { | 8766 int main() { |
8721 RkBgnBun() | 8767 RkBgnBun() |
8722 ; return 0; } | 8768 ; return 0; } |
8723 EOF | 8769 EOF |
8724 if { (eval echo configure:8725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8770 if { (eval echo configure:8771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8725 rm -rf conftest* | 8771 rm -rf conftest* |
8726 eval "ac_cv_lib_$ac_lib_var=yes" | 8772 eval "ac_cv_lib_$ac_lib_var=yes" |
8727 else | 8773 else |
8728 echo "configure: failed program was:" >&5 | 8774 echo "configure: failed program was:" >&5 |
8729 cat conftest.$ac_ext >&5 | 8775 cat conftest.$ac_ext >&5 |
8742 fi | 8788 fi |
8743 | 8789 |
8744 } | 8790 } |
8745 test -z "$with_canna" && { | 8791 test -z "$with_canna" && { |
8746 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8792 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8747 echo "configure:8748: checking for jrKanjiControl in -lcanna" >&5 | 8793 echo "configure:8794: checking for jrKanjiControl in -lcanna" >&5 |
8748 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8794 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8749 | 8795 |
8750 xe_check_libs=" -lcanna " | 8796 xe_check_libs=" -lcanna " |
8751 cat > conftest.$ac_ext <<EOF | 8797 cat > conftest.$ac_ext <<EOF |
8752 #line 8753 "configure" | 8798 #line 8799 "configure" |
8753 #include "confdefs.h" | 8799 #include "confdefs.h" |
8754 /* Override any gcc2 internal prototype to avoid an error. */ | 8800 /* Override any gcc2 internal prototype to avoid an error. */ |
8755 /* We use char because int might match the return type of a gcc2 | 8801 /* We use char because int might match the return type of a gcc2 |
8756 builtin and then its argument prototype would still apply. */ | 8802 builtin and then its argument prototype would still apply. */ |
8757 char jrKanjiControl(); | 8803 char jrKanjiControl(); |
8758 | 8804 |
8759 int main() { | 8805 int main() { |
8760 jrKanjiControl() | 8806 jrKanjiControl() |
8761 ; return 0; } | 8807 ; return 0; } |
8762 EOF | 8808 EOF |
8763 if { (eval echo configure:8764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8809 if { (eval echo configure:8810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8764 rm -rf conftest* | 8810 rm -rf conftest* |
8765 eval "ac_cv_lib_$ac_lib_var=yes" | 8811 eval "ac_cv_lib_$ac_lib_var=yes" |
8766 else | 8812 else |
8767 echo "configure: failed program was:" >&5 | 8813 echo "configure: failed program was:" >&5 |
8768 cat conftest.$ac_ext >&5 | 8814 cat conftest.$ac_ext >&5 |
8807 | 8853 |
8808 if test "$need_motif" = "yes" ; then | 8854 if test "$need_motif" = "yes" ; then |
8809 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8855 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8810 | 8856 |
8811 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8857 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8812 echo "configure:8813: checking for layout_object_getvalue in -li18n" >&5 | 8858 echo "configure:8859: checking for layout_object_getvalue in -li18n" >&5 |
8813 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8859 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8814 | 8860 |
8815 xe_check_libs=" -li18n " | 8861 xe_check_libs=" -li18n " |
8816 cat > conftest.$ac_ext <<EOF | 8862 cat > conftest.$ac_ext <<EOF |
8817 #line 8818 "configure" | 8863 #line 8864 "configure" |
8818 #include "confdefs.h" | 8864 #include "confdefs.h" |
8819 /* Override any gcc2 internal prototype to avoid an error. */ | 8865 /* Override any gcc2 internal prototype to avoid an error. */ |
8820 /* We use char because int might match the return type of a gcc2 | 8866 /* We use char because int might match the return type of a gcc2 |
8821 builtin and then its argument prototype would still apply. */ | 8867 builtin and then its argument prototype would still apply. */ |
8822 char layout_object_getvalue(); | 8868 char layout_object_getvalue(); |
8823 | 8869 |
8824 int main() { | 8870 int main() { |
8825 layout_object_getvalue() | 8871 layout_object_getvalue() |
8826 ; return 0; } | 8872 ; return 0; } |
8827 EOF | 8873 EOF |
8828 if { (eval echo configure:8829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8874 if { (eval echo configure:8875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8829 rm -rf conftest* | 8875 rm -rf conftest* |
8830 eval "ac_cv_lib_$ac_lib_var=yes" | 8876 eval "ac_cv_lib_$ac_lib_var=yes" |
8831 else | 8877 else |
8832 echo "configure: failed program was:" >&5 | 8878 echo "configure: failed program was:" >&5 |
8833 cat conftest.$ac_ext >&5 | 8879 cat conftest.$ac_ext >&5 |
8909 fi | 8955 fi |
8910 | 8956 |
8911 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 | 8957 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 |
8912 do | 8958 do |
8913 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8914 echo "configure:8915: checking for $ac_func" >&5 | 8960 echo "configure:8961: checking for $ac_func" >&5 |
8915 | 8961 |
8916 cat > conftest.$ac_ext <<EOF | 8962 cat > conftest.$ac_ext <<EOF |
8917 #line 8918 "configure" | 8963 #line 8964 "configure" |
8918 #include "confdefs.h" | 8964 #include "confdefs.h" |
8919 /* System header to define __stub macros and hopefully few prototypes, | 8965 /* System header to define __stub macros and hopefully few prototypes, |
8920 which can conflict with char $ac_func(); below. */ | 8966 which can conflict with char $ac_func(); below. */ |
8921 #include <assert.h> | 8967 #include <assert.h> |
8922 /* Override any gcc2 internal prototype to avoid an error. */ | 8968 /* Override any gcc2 internal prototype to avoid an error. */ |
8935 $ac_func(); | 8981 $ac_func(); |
8936 #endif | 8982 #endif |
8937 | 8983 |
8938 ; return 0; } | 8984 ; return 0; } |
8939 EOF | 8985 EOF |
8940 if { (eval echo configure:8941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8986 if { (eval echo configure:8987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8941 rm -rf conftest* | 8987 rm -rf conftest* |
8942 eval "ac_cv_func_$ac_func=yes" | 8988 eval "ac_cv_func_$ac_func=yes" |
8943 else | 8989 else |
8944 echo "configure: failed program was:" >&5 | 8990 echo "configure: failed program was:" >&5 |
8945 cat conftest.$ac_ext >&5 | 8991 cat conftest.$ac_ext >&5 |
8969 # getpt is a glibc addition which emulates the master device on | 9015 # getpt is a glibc addition which emulates the master device on |
8970 # systems without kernel support. | 9016 # systems without kernel support. |
8971 for ac_func in grantpt unlockpt getpt ptsname | 9017 for ac_func in grantpt unlockpt getpt ptsname |
8972 do | 9018 do |
8973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8974 echo "configure:8975: checking for $ac_func" >&5 | 9020 echo "configure:9021: checking for $ac_func" >&5 |
8975 | 9021 |
8976 cat > conftest.$ac_ext <<EOF | 9022 cat > conftest.$ac_ext <<EOF |
8977 #line 8978 "configure" | 9023 #line 9024 "configure" |
8978 #include "confdefs.h" | 9024 #include "confdefs.h" |
8979 /* System header to define __stub macros and hopefully few prototypes, | 9025 /* System header to define __stub macros and hopefully few prototypes, |
8980 which can conflict with char $ac_func(); below. */ | 9026 which can conflict with char $ac_func(); below. */ |
8981 #include <assert.h> | 9027 #include <assert.h> |
8982 /* Override any gcc2 internal prototype to avoid an error. */ | 9028 /* Override any gcc2 internal prototype to avoid an error. */ |
8995 $ac_func(); | 9041 $ac_func(); |
8996 #endif | 9042 #endif |
8997 | 9043 |
8998 ; return 0; } | 9044 ; return 0; } |
8999 EOF | 9045 EOF |
9000 if { (eval echo configure:9001: \"$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 |
9001 rm -rf conftest* | 9047 rm -rf conftest* |
9002 eval "ac_cv_func_$ac_func=yes" | 9048 eval "ac_cv_func_$ac_func=yes" |
9003 else | 9049 else |
9004 echo "configure: failed program was:" >&5 | 9050 echo "configure: failed program was:" >&5 |
9005 cat conftest.$ac_ext >&5 | 9051 cat conftest.$ac_ext >&5 |
9036 echo " xemacs will be linked with \"realpath.o\"" | 9082 echo " xemacs will be linked with \"realpath.o\"" |
9037 fi ;; | 9083 fi ;; |
9038 * ) for ac_func in realpath | 9084 * ) for ac_func in realpath |
9039 do | 9085 do |
9040 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9041 echo "configure:9042: checking for $ac_func" >&5 | 9087 echo "configure:9088: checking for $ac_func" >&5 |
9042 | 9088 |
9043 cat > conftest.$ac_ext <<EOF | 9089 cat > conftest.$ac_ext <<EOF |
9044 #line 9045 "configure" | 9090 #line 9091 "configure" |
9045 #include "confdefs.h" | 9091 #include "confdefs.h" |
9046 /* System header to define __stub macros and hopefully few prototypes, | 9092 /* System header to define __stub macros and hopefully few prototypes, |
9047 which can conflict with char $ac_func(); below. */ | 9093 which can conflict with char $ac_func(); below. */ |
9048 #include <assert.h> | 9094 #include <assert.h> |
9049 /* Override any gcc2 internal prototype to avoid an error. */ | 9095 /* Override any gcc2 internal prototype to avoid an error. */ |
9062 $ac_func(); | 9108 $ac_func(); |
9063 #endif | 9109 #endif |
9064 | 9110 |
9065 ; return 0; } | 9111 ; return 0; } |
9066 EOF | 9112 EOF |
9067 if { (eval echo configure:9068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9113 if { (eval echo configure:9114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9068 rm -rf conftest* | 9114 rm -rf conftest* |
9069 eval "ac_cv_func_$ac_func=yes" | 9115 eval "ac_cv_func_$ac_func=yes" |
9070 else | 9116 else |
9071 echo "configure: failed program was:" >&5 | 9117 echo "configure: failed program was:" >&5 |
9072 cat conftest.$ac_ext >&5 | 9118 cat conftest.$ac_ext >&5 |
9096 fi ;; | 9142 fi ;; |
9097 esac ;; | 9143 esac ;; |
9098 esac | 9144 esac |
9099 | 9145 |
9100 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 9146 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
9101 echo "configure:9102: checking whether netdb declares h_errno" >&5 | 9147 echo "configure:9148: checking whether netdb declares h_errno" >&5 |
9102 cat > conftest.$ac_ext <<EOF | 9148 cat > conftest.$ac_ext <<EOF |
9103 #line 9104 "configure" | 9149 #line 9150 "configure" |
9104 #include "confdefs.h" | 9150 #include "confdefs.h" |
9105 #include <netdb.h> | 9151 #include <netdb.h> |
9106 int main() { | 9152 int main() { |
9107 return h_errno; | 9153 return h_errno; |
9108 ; return 0; } | 9154 ; return 0; } |
9109 EOF | 9155 EOF |
9110 if { (eval echo configure:9111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9156 if { (eval echo configure:9157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9111 rm -rf conftest* | 9157 rm -rf conftest* |
9112 echo "$ac_t""yes" 1>&6 | 9158 echo "$ac_t""yes" 1>&6 |
9113 { test "$extra_verbose" = "yes" && cat << \EOF | 9159 { test "$extra_verbose" = "yes" && cat << \EOF |
9114 Defining HAVE_H_ERRNO | 9160 Defining HAVE_H_ERRNO |
9115 EOF | 9161 EOF |
9125 echo "$ac_t""no" 1>&6 | 9171 echo "$ac_t""no" 1>&6 |
9126 fi | 9172 fi |
9127 rm -f conftest* | 9173 rm -f conftest* |
9128 | 9174 |
9129 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 9175 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
9130 echo "configure:9131: checking for sigsetjmp" >&5 | 9176 echo "configure:9177: checking for sigsetjmp" >&5 |
9131 cat > conftest.$ac_ext <<EOF | 9177 cat > conftest.$ac_ext <<EOF |
9132 #line 9133 "configure" | 9178 #line 9179 "configure" |
9133 #include "confdefs.h" | 9179 #include "confdefs.h" |
9134 #include <setjmp.h> | 9180 #include <setjmp.h> |
9135 int main() { | 9181 int main() { |
9136 sigjmp_buf bar; sigsetjmp (bar, 0); | 9182 sigjmp_buf bar; sigsetjmp (bar, 0); |
9137 ; return 0; } | 9183 ; return 0; } |
9138 EOF | 9184 EOF |
9139 if { (eval echo configure:9140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9185 if { (eval echo configure:9186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9140 rm -rf conftest* | 9186 rm -rf conftest* |
9141 echo "$ac_t""yes" 1>&6 | 9187 echo "$ac_t""yes" 1>&6 |
9142 { test "$extra_verbose" = "yes" && cat << \EOF | 9188 { test "$extra_verbose" = "yes" && cat << \EOF |
9143 Defining HAVE_SIGSETJMP | 9189 Defining HAVE_SIGSETJMP |
9144 EOF | 9190 EOF |
9154 echo "$ac_t""no" 1>&6 | 9200 echo "$ac_t""no" 1>&6 |
9155 fi | 9201 fi |
9156 rm -f conftest* | 9202 rm -f conftest* |
9157 | 9203 |
9158 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 9204 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
9159 echo "configure:9160: checking whether localtime caches TZ" >&5 | 9205 echo "configure:9206: checking whether localtime caches TZ" >&5 |
9160 | 9206 |
9161 if test "$ac_cv_func_tzset" = "yes"; then | 9207 if test "$ac_cv_func_tzset" = "yes"; then |
9162 cat > conftest.$ac_ext <<EOF | 9208 cat > conftest.$ac_ext <<EOF |
9163 #line 9164 "configure" | 9209 #line 9210 "configure" |
9164 #include "confdefs.h" | 9210 #include "confdefs.h" |
9165 #include <time.h> | 9211 #include <time.h> |
9166 #if STDC_HEADERS | 9212 #if STDC_HEADERS |
9167 # include <stdlib.h> | 9213 # include <stdlib.h> |
9168 #endif | 9214 #endif |
9193 if (localtime (&now)->tm_hour != hour_unset) | 9239 if (localtime (&now)->tm_hour != hour_unset) |
9194 exit (1); | 9240 exit (1); |
9195 exit (0); | 9241 exit (0); |
9196 } | 9242 } |
9197 EOF | 9243 EOF |
9198 if { (eval echo configure:9199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9244 if { (eval echo configure:9245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9199 then | 9245 then |
9200 emacs_cv_localtime_cache=no | 9246 emacs_cv_localtime_cache=no |
9201 else | 9247 else |
9202 conftest_rc="$?" | 9248 conftest_rc="$?" |
9203 echo "configure: failed program was:" >&5 | 9249 echo "configure: failed program was:" >&5 |
9223 | 9269 |
9224 fi | 9270 fi |
9225 | 9271 |
9226 if test "$HAVE_TIMEVAL" = "yes"; then | 9272 if test "$HAVE_TIMEVAL" = "yes"; then |
9227 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 9273 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
9228 echo "configure:9229: checking whether gettimeofday accepts one or two arguments" >&5 | 9274 echo "configure:9275: checking whether gettimeofday accepts one or two arguments" >&5 |
9229 cat > conftest.$ac_ext <<EOF | 9275 cat > conftest.$ac_ext <<EOF |
9230 #line 9231 "configure" | 9276 #line 9277 "configure" |
9231 #include "confdefs.h" | 9277 #include "confdefs.h" |
9232 | 9278 |
9233 #ifdef TIME_WITH_SYS_TIME | 9279 #ifdef TIME_WITH_SYS_TIME |
9234 #include <sys/time.h> | 9280 #include <sys/time.h> |
9235 #include <time.h> | 9281 #include <time.h> |
9247 struct timezone dummy; | 9293 struct timezone dummy; |
9248 gettimeofday (&time, &dummy); | 9294 gettimeofday (&time, &dummy); |
9249 | 9295 |
9250 ; return 0; } | 9296 ; return 0; } |
9251 EOF | 9297 EOF |
9252 if { (eval echo configure:9253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9298 if { (eval echo configure:9299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9253 rm -rf conftest* | 9299 rm -rf conftest* |
9254 echo "$ac_t""two" 1>&6 | 9300 echo "$ac_t""two" 1>&6 |
9255 else | 9301 else |
9256 echo "configure: failed program was:" >&5 | 9302 echo "configure: failed program was:" >&5 |
9257 cat conftest.$ac_ext >&5 | 9303 cat conftest.$ac_ext >&5 |
9269 rm -f conftest* | 9315 rm -f conftest* |
9270 fi | 9316 fi |
9271 | 9317 |
9272 | 9318 |
9273 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9319 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
9274 echo "configure:9275: checking for inline" >&5 | 9320 echo "configure:9321: checking for inline" >&5 |
9275 | 9321 |
9276 ac_cv_c_inline=no | 9322 ac_cv_c_inline=no |
9277 for ac_kw in inline __inline__ __inline; do | 9323 for ac_kw in inline __inline__ __inline; do |
9278 cat > conftest.$ac_ext <<EOF | 9324 cat > conftest.$ac_ext <<EOF |
9279 #line 9280 "configure" | 9325 #line 9326 "configure" |
9280 #include "confdefs.h" | 9326 #include "confdefs.h" |
9281 | 9327 |
9282 int main() { | 9328 int main() { |
9283 } $ac_kw foo() { | 9329 } $ac_kw foo() { |
9284 ; return 0; } | 9330 ; return 0; } |
9285 EOF | 9331 EOF |
9286 if { (eval echo configure:9287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9332 if { (eval echo configure:9333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9287 rm -rf conftest* | 9333 rm -rf conftest* |
9288 ac_cv_c_inline=$ac_kw; break | 9334 ac_cv_c_inline=$ac_kw; break |
9289 else | 9335 else |
9290 echo "configure: failed program was:" >&5 | 9336 echo "configure: failed program was:" >&5 |
9291 cat conftest.$ac_ext >&5 | 9337 cat conftest.$ac_ext >&5 |
9328 echo " xemacs will be linked with \"inline.o\"" | 9374 echo " xemacs will be linked with \"inline.o\"" |
9329 fi | 9375 fi |
9330 fi | 9376 fi |
9331 | 9377 |
9332 | 9378 |
9379 if test "$__DECC" != "yes"; then | |
9333 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9380 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
9334 # for constant arguments. Useless! | 9381 # for constant arguments. Useless! |
9335 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9382 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
9336 echo "configure:9337: checking for working alloca.h" >&5 | 9383 echo "configure:9384: checking for working alloca.h" >&5 |
9337 | 9384 |
9338 cat > conftest.$ac_ext <<EOF | 9385 cat > conftest.$ac_ext <<EOF |
9339 #line 9340 "configure" | 9386 #line 9387 "configure" |
9340 #include "confdefs.h" | 9387 #include "confdefs.h" |
9341 #include <alloca.h> | 9388 #include <alloca.h> |
9342 int main() { | 9389 int main() { |
9343 char *p = alloca(2 * sizeof(int)); | 9390 char *p = alloca(2 * sizeof(int)); |
9344 ; return 0; } | 9391 ; return 0; } |
9345 EOF | 9392 EOF |
9346 if { (eval echo configure:9347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9393 if { (eval echo configure:9394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9347 rm -rf conftest* | 9394 rm -rf conftest* |
9348 ac_cv_header_alloca_h=yes | 9395 ac_cv_header_alloca_h=yes |
9349 else | 9396 else |
9350 echo "configure: failed program was:" >&5 | 9397 echo "configure: failed program was:" >&5 |
9351 cat conftest.$ac_ext >&5 | 9398 cat conftest.$ac_ext >&5 |
9365 } | 9412 } |
9366 | 9413 |
9367 fi | 9414 fi |
9368 | 9415 |
9369 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9416 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
9370 echo "configure:9371: checking for alloca" >&5 | 9417 echo "configure:9418: checking for alloca" >&5 |
9371 | 9418 |
9372 cat > conftest.$ac_ext <<EOF | 9419 cat > conftest.$ac_ext <<EOF |
9373 #line 9374 "configure" | 9420 #line 9421 "configure" |
9374 #include "confdefs.h" | 9421 #include "confdefs.h" |
9375 | 9422 |
9376 #ifdef __GNUC__ | 9423 #ifdef __GNUC__ |
9377 # define alloca __builtin_alloca | 9424 # define alloca __builtin_alloca |
9378 #else | 9425 #else |
9396 | 9443 |
9397 int main() { | 9444 int main() { |
9398 char *p = (char *) alloca(1); | 9445 char *p = (char *) alloca(1); |
9399 ; return 0; } | 9446 ; return 0; } |
9400 EOF | 9447 EOF |
9401 if { (eval echo configure:9402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9448 if { (eval echo configure:9449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9402 rm -rf conftest* | 9449 rm -rf conftest* |
9403 ac_cv_func_alloca_works=yes | 9450 ac_cv_func_alloca_works=yes |
9404 else | 9451 else |
9405 echo "configure: failed program was:" >&5 | 9452 echo "configure: failed program was:" >&5 |
9406 cat conftest.$ac_ext >&5 | 9453 cat conftest.$ac_ext >&5 |
9435 EOF | 9482 EOF |
9436 } | 9483 } |
9437 | 9484 |
9438 | 9485 |
9439 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9486 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
9440 echo "configure:9441: checking whether alloca needs Cray hooks" >&5 | 9487 echo "configure:9488: checking whether alloca needs Cray hooks" >&5 |
9441 | 9488 |
9442 cat > conftest.$ac_ext <<EOF | 9489 cat > conftest.$ac_ext <<EOF |
9443 #line 9444 "configure" | 9490 #line 9491 "configure" |
9444 #include "confdefs.h" | 9491 #include "confdefs.h" |
9445 #if defined(CRAY) && ! defined(CRAY2) | 9492 #if defined(CRAY) && ! defined(CRAY2) |
9446 webecray | 9493 webecray |
9447 #else | 9494 #else |
9448 wenotbecray | 9495 wenotbecray |
9462 | 9509 |
9463 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9510 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
9464 if test $ac_cv_os_cray = yes; then | 9511 if test $ac_cv_os_cray = yes; then |
9465 for ac_func in _getb67 GETB67 getb67; do | 9512 for ac_func in _getb67 GETB67 getb67; do |
9466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9513 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9467 echo "configure:9468: checking for $ac_func" >&5 | 9514 echo "configure:9515: checking for $ac_func" >&5 |
9468 | 9515 |
9469 cat > conftest.$ac_ext <<EOF | 9516 cat > conftest.$ac_ext <<EOF |
9470 #line 9471 "configure" | 9517 #line 9518 "configure" |
9471 #include "confdefs.h" | 9518 #include "confdefs.h" |
9472 /* System header to define __stub macros and hopefully few prototypes, | 9519 /* System header to define __stub macros and hopefully few prototypes, |
9473 which can conflict with char $ac_func(); below. */ | 9520 which can conflict with char $ac_func(); below. */ |
9474 #include <assert.h> | 9521 #include <assert.h> |
9475 /* Override any gcc2 internal prototype to avoid an error. */ | 9522 /* Override any gcc2 internal prototype to avoid an error. */ |
9488 $ac_func(); | 9535 $ac_func(); |
9489 #endif | 9536 #endif |
9490 | 9537 |
9491 ; return 0; } | 9538 ; return 0; } |
9492 EOF | 9539 EOF |
9493 if { (eval echo configure:9494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9540 if { (eval echo configure:9541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9494 rm -rf conftest* | 9541 rm -rf conftest* |
9495 eval "ac_cv_func_$ac_func=yes" | 9542 eval "ac_cv_func_$ac_func=yes" |
9496 else | 9543 else |
9497 echo "configure: failed program was:" >&5 | 9544 echo "configure: failed program was:" >&5 |
9498 cat conftest.$ac_ext >&5 | 9545 cat conftest.$ac_ext >&5 |
9518 | 9565 |
9519 done | 9566 done |
9520 fi | 9567 fi |
9521 | 9568 |
9522 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 9569 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
9523 echo "configure:9524: checking stack direction for C alloca" >&5 | 9570 echo "configure:9571: checking stack direction for C alloca" >&5 |
9524 | 9571 |
9525 cat > conftest.$ac_ext <<EOF | 9572 cat > conftest.$ac_ext <<EOF |
9526 #line 9527 "configure" | 9573 #line 9574 "configure" |
9527 #include "confdefs.h" | 9574 #include "confdefs.h" |
9528 find_stack_direction () | 9575 find_stack_direction () |
9529 { | 9576 { |
9530 static char *addr = 0; | 9577 static char *addr = 0; |
9531 auto char dummy; | 9578 auto char dummy; |
9540 main () | 9587 main () |
9541 { | 9588 { |
9542 exit (find_stack_direction() < 0); | 9589 exit (find_stack_direction() < 0); |
9543 } | 9590 } |
9544 EOF | 9591 EOF |
9545 if { (eval echo configure:9546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9592 if { (eval echo configure:9593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9546 then | 9593 then |
9547 ac_cv_c_stack_direction=1 | 9594 ac_cv_c_stack_direction=1 |
9548 else | 9595 else |
9549 conftest_rc="$?" | 9596 conftest_rc="$?" |
9550 echo "configure: failed program was:" >&5 | 9597 echo "configure: failed program was:" >&5 |
9566 fi | 9613 fi |
9567 | 9614 |
9568 test -n "$ALLOCA" && extra_objs="$extra_objs $ALLOCA" && if test "$extra_verbose" = "yes"; then | 9615 test -n "$ALLOCA" && extra_objs="$extra_objs $ALLOCA" && if test "$extra_verbose" = "yes"; then |
9569 echo " xemacs will be linked with \"$ALLOCA\"" | 9616 echo " xemacs will be linked with \"$ALLOCA\"" |
9570 fi | 9617 fi |
9618 fi | |
9571 | 9619 |
9572 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 9620 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
9573 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 9621 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
9574 echo "configure:9575: checking for vfork.h" >&5 | 9622 echo "configure:9623: checking for vfork.h" >&5 |
9575 | 9623 |
9576 cat > conftest.$ac_ext <<EOF | 9624 cat > conftest.$ac_ext <<EOF |
9577 #line 9578 "configure" | 9625 #line 9626 "configure" |
9578 #include "confdefs.h" | 9626 #include "confdefs.h" |
9579 #include <vfork.h> | 9627 #include <vfork.h> |
9580 EOF | 9628 EOF |
9581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9629 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9582 { (eval echo configure:9583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9630 { (eval echo configure:9631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9631 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9584 if test -z "$ac_err"; then | 9632 if test -z "$ac_err"; then |
9585 rm -rf conftest* | 9633 rm -rf conftest* |
9586 eval "ac_cv_header_$ac_safe=yes" | 9634 eval "ac_cv_header_$ac_safe=yes" |
9587 else | 9635 else |
9605 else | 9653 else |
9606 echo "$ac_t""no" 1>&6 | 9654 echo "$ac_t""no" 1>&6 |
9607 fi | 9655 fi |
9608 | 9656 |
9609 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 9657 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9610 echo "configure:9611: checking for working vfork" >&5 | 9658 echo "configure:9659: checking for working vfork" >&5 |
9611 | 9659 |
9612 cat > conftest.$ac_ext <<EOF | 9660 cat > conftest.$ac_ext <<EOF |
9613 #line 9614 "configure" | 9661 #line 9662 "configure" |
9614 #include "confdefs.h" | 9662 #include "confdefs.h" |
9615 /* Thanks to Paul Eggert for this test. */ | 9663 /* Thanks to Paul Eggert for this test. */ |
9616 #include <stdio.h> | 9664 #include <stdio.h> |
9617 #include <sys/types.h> | 9665 #include <sys/types.h> |
9618 #include <sys/stat.h> | 9666 #include <sys/stat.h> |
9703 || fstat(fileno(stdout), &st) != 0 | 9751 || fstat(fileno(stdout), &st) != 0 |
9704 ); | 9752 ); |
9705 } | 9753 } |
9706 } | 9754 } |
9707 EOF | 9755 EOF |
9708 if { (eval echo configure:9709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9756 if { (eval echo configure:9757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9709 then | 9757 then |
9710 ac_cv_func_vfork_works=yes | 9758 ac_cv_func_vfork_works=yes |
9711 else | 9759 else |
9712 conftest_rc="$?" | 9760 conftest_rc="$?" |
9713 echo "configure: failed program was:" >&5 | 9761 echo "configure: failed program was:" >&5 |
9729 | 9777 |
9730 fi | 9778 fi |
9731 | 9779 |
9732 | 9780 |
9733 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9781 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9734 echo "configure:9735: checking for working strcoll" >&5 | 9782 echo "configure:9783: checking for working strcoll" >&5 |
9735 | 9783 |
9736 cat > conftest.$ac_ext <<EOF | 9784 cat > conftest.$ac_ext <<EOF |
9737 #line 9738 "configure" | 9785 #line 9786 "configure" |
9738 #include "confdefs.h" | 9786 #include "confdefs.h" |
9739 #include <string.h> | 9787 #include <string.h> |
9740 main () | 9788 main () |
9741 { | 9789 { |
9742 exit (strcoll ("abc", "def") >= 0 || | 9790 exit (strcoll ("abc", "def") >= 0 || |
9743 strcoll ("ABC", "DEF") >= 0 || | 9791 strcoll ("ABC", "DEF") >= 0 || |
9744 strcoll ("123", "456") >= 0); | 9792 strcoll ("123", "456") >= 0); |
9745 } | 9793 } |
9746 EOF | 9794 EOF |
9747 if { (eval echo configure:9748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9795 if { (eval echo configure:9796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9748 then | 9796 then |
9749 ac_cv_func_strcoll_works=yes | 9797 ac_cv_func_strcoll_works=yes |
9750 else | 9798 else |
9751 conftest_rc="$?" | 9799 conftest_rc="$?" |
9752 echo "configure: failed program was:" >&5 | 9800 echo "configure: failed program was:" >&5 |
9770 | 9818 |
9771 | 9819 |
9772 for ac_func in getpgrp | 9820 for ac_func in getpgrp |
9773 do | 9821 do |
9774 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9775 echo "configure:9776: checking for $ac_func" >&5 | 9823 echo "configure:9824: checking for $ac_func" >&5 |
9776 | 9824 |
9777 cat > conftest.$ac_ext <<EOF | 9825 cat > conftest.$ac_ext <<EOF |
9778 #line 9779 "configure" | 9826 #line 9827 "configure" |
9779 #include "confdefs.h" | 9827 #include "confdefs.h" |
9780 /* System header to define __stub macros and hopefully few prototypes, | 9828 /* System header to define __stub macros and hopefully few prototypes, |
9781 which can conflict with char $ac_func(); below. */ | 9829 which can conflict with char $ac_func(); below. */ |
9782 #include <assert.h> | 9830 #include <assert.h> |
9783 /* Override any gcc2 internal prototype to avoid an error. */ | 9831 /* Override any gcc2 internal prototype to avoid an error. */ |
9796 $ac_func(); | 9844 $ac_func(); |
9797 #endif | 9845 #endif |
9798 | 9846 |
9799 ; return 0; } | 9847 ; return 0; } |
9800 EOF | 9848 EOF |
9801 if { (eval echo configure:9802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9849 if { (eval echo configure:9850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9802 rm -rf conftest* | 9850 rm -rf conftest* |
9803 eval "ac_cv_func_$ac_func=yes" | 9851 eval "ac_cv_func_$ac_func=yes" |
9804 else | 9852 else |
9805 echo "configure: failed program was:" >&5 | 9853 echo "configure: failed program was:" >&5 |
9806 cat conftest.$ac_ext >&5 | 9854 cat conftest.$ac_ext >&5 |
9824 echo "$ac_t""no" 1>&6 | 9872 echo "$ac_t""no" 1>&6 |
9825 fi | 9873 fi |
9826 done | 9874 done |
9827 | 9875 |
9828 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9876 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9829 echo "configure:9830: checking whether getpgrp takes no argument" >&5 | 9877 echo "configure:9878: checking whether getpgrp takes no argument" >&5 |
9830 | 9878 |
9831 cat > conftest.$ac_ext <<EOF | 9879 cat > conftest.$ac_ext <<EOF |
9832 #line 9833 "configure" | 9880 #line 9881 "configure" |
9833 #include "confdefs.h" | 9881 #include "confdefs.h" |
9834 | 9882 |
9835 /* | 9883 /* |
9836 * If this system has a BSD-style getpgrp(), | 9884 * If this system has a BSD-style getpgrp(), |
9837 * which takes a pid argument, exit unsuccessfully. | 9885 * which takes a pid argument, exit unsuccessfully. |
9882 exit(s>>8); | 9930 exit(s>>8); |
9883 } | 9931 } |
9884 } | 9932 } |
9885 | 9933 |
9886 EOF | 9934 EOF |
9887 if { (eval echo configure:9888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9935 if { (eval echo configure:9936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9888 then | 9936 then |
9889 ac_cv_func_getpgrp_void=yes | 9937 ac_cv_func_getpgrp_void=yes |
9890 else | 9938 else |
9891 conftest_rc="$?" | 9939 conftest_rc="$?" |
9892 echo "configure: failed program was:" >&5 | 9940 echo "configure: failed program was:" >&5 |
9909 | 9957 |
9910 fi | 9958 fi |
9911 | 9959 |
9912 | 9960 |
9913 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9961 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9914 echo "configure:9915: checking for working mmap" >&5 | 9962 echo "configure:9963: checking for working mmap" >&5 |
9915 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9963 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9916 cat > conftest.$ac_ext <<EOF | 9964 cat > conftest.$ac_ext <<EOF |
9917 #line 9918 "configure" | 9965 #line 9966 "configure" |
9918 #include "confdefs.h" | 9966 #include "confdefs.h" |
9919 #include <stdio.h> | 9967 #include <stdio.h> |
9920 #include <unistd.h> | 9968 #include <unistd.h> |
9921 #include <fcntl.h> | 9969 #include <fcntl.h> |
9922 #include <sys/mman.h> | 9970 #include <sys/mman.h> |
9945 return 0; | 9993 return 0; |
9946 perror ("conftest: mmap failed"); | 9994 perror ("conftest: mmap failed"); |
9947 return 1; | 9995 return 1; |
9948 } | 9996 } |
9949 EOF | 9997 EOF |
9950 if { (eval echo configure:9951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9998 if { (eval echo configure:9999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9951 then | 9999 then |
9952 have_mmap=yes | 10000 have_mmap=yes |
9953 else | 10001 else |
9954 conftest_rc="$?" | 10002 conftest_rc="$?" |
9955 echo "configure: failed program was:" >&5 | 10003 echo "configure: failed program was:" >&5 |
9980 } | 10028 } |
9981 | 10029 |
9982 | 10030 |
9983 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 10031 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9984 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 10032 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9985 echo "configure:9986: checking for termios.h" >&5 | 10033 echo "configure:10034: checking for termios.h" >&5 |
9986 | 10034 |
9987 cat > conftest.$ac_ext <<EOF | 10035 cat > conftest.$ac_ext <<EOF |
9988 #line 9989 "configure" | 10036 #line 10037 "configure" |
9989 #include "confdefs.h" | 10037 #include "confdefs.h" |
9990 #include <termios.h> | 10038 #include <termios.h> |
9991 EOF | 10039 EOF |
9992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10040 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9993 { (eval echo configure:9994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10041 { (eval echo configure:10042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10042 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9995 if test -z "$ac_err"; then | 10043 if test -z "$ac_err"; then |
9996 rm -rf conftest* | 10044 rm -rf conftest* |
9997 eval "ac_cv_header_$ac_safe=yes" | 10045 eval "ac_cv_header_$ac_safe=yes" |
9998 else | 10046 else |
10031 | 10079 |
10032 else | 10080 else |
10033 echo "$ac_t""no" 1>&6 | 10081 echo "$ac_t""no" 1>&6 |
10034 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 10082 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
10035 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 10083 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
10036 echo "configure:10037: checking for termio.h" >&5 | 10084 echo "configure:10085: checking for termio.h" >&5 |
10037 | 10085 |
10038 cat > conftest.$ac_ext <<EOF | 10086 cat > conftest.$ac_ext <<EOF |
10039 #line 10040 "configure" | 10087 #line 10088 "configure" |
10040 #include "confdefs.h" | 10088 #include "confdefs.h" |
10041 #include <termio.h> | 10089 #include <termio.h> |
10042 EOF | 10090 EOF |
10043 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" |
10044 { (eval echo configure:10045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10092 { (eval echo configure:10093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10045 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10093 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10046 if test -z "$ac_err"; then | 10094 if test -z "$ac_err"; then |
10047 rm -rf conftest* | 10095 rm -rf conftest* |
10048 eval "ac_cv_header_$ac_safe=yes" | 10096 eval "ac_cv_header_$ac_safe=yes" |
10049 else | 10097 else |
10071 fi | 10119 fi |
10072 | 10120 |
10073 | 10121 |
10074 | 10122 |
10075 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10123 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
10076 echo "configure:10077: checking for socket" >&5 | 10124 echo "configure:10125: checking for socket" >&5 |
10077 | 10125 |
10078 cat > conftest.$ac_ext <<EOF | 10126 cat > conftest.$ac_ext <<EOF |
10079 #line 10080 "configure" | 10127 #line 10128 "configure" |
10080 #include "confdefs.h" | 10128 #include "confdefs.h" |
10081 /* System header to define __stub macros and hopefully few prototypes, | 10129 /* System header to define __stub macros and hopefully few prototypes, |
10082 which can conflict with char socket(); below. */ | 10130 which can conflict with char socket(); below. */ |
10083 #include <assert.h> | 10131 #include <assert.h> |
10084 /* Override any gcc2 internal prototype to avoid an error. */ | 10132 /* Override any gcc2 internal prototype to avoid an error. */ |
10097 socket(); | 10145 socket(); |
10098 #endif | 10146 #endif |
10099 | 10147 |
10100 ; return 0; } | 10148 ; return 0; } |
10101 EOF | 10149 EOF |
10102 if { (eval echo configure:10103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10150 if { (eval echo configure:10151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10103 rm -rf conftest* | 10151 rm -rf conftest* |
10104 eval "ac_cv_func_socket=yes" | 10152 eval "ac_cv_func_socket=yes" |
10105 else | 10153 else |
10106 echo "configure: failed program was:" >&5 | 10154 echo "configure: failed program was:" >&5 |
10107 cat conftest.$ac_ext >&5 | 10155 cat conftest.$ac_ext >&5 |
10112 | 10160 |
10113 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10161 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
10114 echo "$ac_t""yes" 1>&6 | 10162 echo "$ac_t""yes" 1>&6 |
10115 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10163 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
10116 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10164 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
10117 echo "configure:10118: checking for netinet/in.h" >&5 | 10165 echo "configure:10166: checking for netinet/in.h" >&5 |
10118 | 10166 |
10119 cat > conftest.$ac_ext <<EOF | 10167 cat > conftest.$ac_ext <<EOF |
10120 #line 10121 "configure" | 10168 #line 10169 "configure" |
10121 #include "confdefs.h" | 10169 #include "confdefs.h" |
10122 #include <netinet/in.h> | 10170 #include <netinet/in.h> |
10123 EOF | 10171 EOF |
10124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10125 { (eval echo configure:10126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10173 { (eval echo configure:10174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10127 if test -z "$ac_err"; then | 10175 if test -z "$ac_err"; then |
10128 rm -rf conftest* | 10176 rm -rf conftest* |
10129 eval "ac_cv_header_$ac_safe=yes" | 10177 eval "ac_cv_header_$ac_safe=yes" |
10130 else | 10178 else |
10137 rm -f conftest* | 10185 rm -f conftest* |
10138 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10186 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10139 echo "$ac_t""yes" 1>&6 | 10187 echo "$ac_t""yes" 1>&6 |
10140 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10188 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
10141 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10189 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
10142 echo "configure:10143: checking for arpa/inet.h" >&5 | 10190 echo "configure:10191: checking for arpa/inet.h" >&5 |
10143 | 10191 |
10144 cat > conftest.$ac_ext <<EOF | 10192 cat > conftest.$ac_ext <<EOF |
10145 #line 10146 "configure" | 10193 #line 10194 "configure" |
10146 #include "confdefs.h" | 10194 #include "confdefs.h" |
10147 #include <arpa/inet.h> | 10195 #include <arpa/inet.h> |
10148 EOF | 10196 EOF |
10149 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" |
10150 { (eval echo configure:10151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10198 { (eval echo configure:10199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10151 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10152 if test -z "$ac_err"; then | 10200 if test -z "$ac_err"; then |
10153 rm -rf conftest* | 10201 rm -rf conftest* |
10154 eval "ac_cv_header_$ac_safe=yes" | 10202 eval "ac_cv_header_$ac_safe=yes" |
10155 else | 10203 else |
10170 #define HAVE_SOCKETS 1 | 10218 #define HAVE_SOCKETS 1 |
10171 EOF | 10219 EOF |
10172 } | 10220 } |
10173 | 10221 |
10174 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10222 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
10175 echo "configure:10176: checking "for sun_len member in struct sockaddr_un"" >&5 | 10223 echo "configure:10224: checking "for sun_len member in struct sockaddr_un"" >&5 |
10176 cat > conftest.$ac_ext <<EOF | 10224 cat > conftest.$ac_ext <<EOF |
10177 #line 10178 "configure" | 10225 #line 10226 "configure" |
10178 #include "confdefs.h" | 10226 #include "confdefs.h" |
10179 | 10227 |
10180 #include <sys/types.h> | 10228 #include <sys/types.h> |
10181 #include <sys/socket.h> | 10229 #include <sys/socket.h> |
10182 #include <sys/un.h> | 10230 #include <sys/un.h> |
10183 | 10231 |
10184 int main() { | 10232 int main() { |
10185 static struct sockaddr_un x; x.sun_len = 1; | 10233 static struct sockaddr_un x; x.sun_len = 1; |
10186 ; return 0; } | 10234 ; return 0; } |
10187 EOF | 10235 EOF |
10188 if { (eval echo configure:10189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10236 if { (eval echo configure:10237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10189 rm -rf conftest* | 10237 rm -rf conftest* |
10190 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10238 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10191 Defining HAVE_SOCKADDR_SUN_LEN | 10239 Defining HAVE_SOCKADDR_SUN_LEN |
10192 EOF | 10240 EOF |
10193 cat >> confdefs.h <<\EOF | 10241 cat >> confdefs.h <<\EOF |
10201 rm -rf conftest* | 10249 rm -rf conftest* |
10202 echo "$ac_t""no" 1>&6 | 10250 echo "$ac_t""no" 1>&6 |
10203 fi | 10251 fi |
10204 rm -f conftest* | 10252 rm -f conftest* |
10205 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10253 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
10206 echo "configure:10207: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10254 echo "configure:10255: checking "for ip_mreq struct in netinet/in.h"" >&5 |
10207 cat > conftest.$ac_ext <<EOF | 10255 cat > conftest.$ac_ext <<EOF |
10208 #line 10209 "configure" | 10256 #line 10257 "configure" |
10209 #include "confdefs.h" | 10257 #include "confdefs.h" |
10210 | 10258 |
10211 #include <sys/types.h> | 10259 #include <sys/types.h> |
10212 #include <netinet/in.h> | 10260 #include <netinet/in.h> |
10213 | 10261 |
10214 int main() { | 10262 int main() { |
10215 static struct ip_mreq x; | 10263 static struct ip_mreq x; |
10216 ; return 0; } | 10264 ; return 0; } |
10217 EOF | 10265 EOF |
10218 if { (eval echo configure:10219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10266 if { (eval echo configure:10267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10219 rm -rf conftest* | 10267 rm -rf conftest* |
10220 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10268 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10221 Defining HAVE_MULTICAST | 10269 Defining HAVE_MULTICAST |
10222 EOF | 10270 EOF |
10223 cat >> confdefs.h <<\EOF | 10271 cat >> confdefs.h <<\EOF |
10244 echo "$ac_t""no" 1>&6 | 10292 echo "$ac_t""no" 1>&6 |
10245 fi | 10293 fi |
10246 | 10294 |
10247 | 10295 |
10248 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10296 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10249 echo "configure:10250: checking for msgget" >&5 | 10297 echo "configure:10298: checking for msgget" >&5 |
10250 | 10298 |
10251 cat > conftest.$ac_ext <<EOF | 10299 cat > conftest.$ac_ext <<EOF |
10252 #line 10253 "configure" | 10300 #line 10301 "configure" |
10253 #include "confdefs.h" | 10301 #include "confdefs.h" |
10254 /* System header to define __stub macros and hopefully few prototypes, | 10302 /* System header to define __stub macros and hopefully few prototypes, |
10255 which can conflict with char msgget(); below. */ | 10303 which can conflict with char msgget(); below. */ |
10256 #include <assert.h> | 10304 #include <assert.h> |
10257 /* Override any gcc2 internal prototype to avoid an error. */ | 10305 /* Override any gcc2 internal prototype to avoid an error. */ |
10270 msgget(); | 10318 msgget(); |
10271 #endif | 10319 #endif |
10272 | 10320 |
10273 ; return 0; } | 10321 ; return 0; } |
10274 EOF | 10322 EOF |
10275 if { (eval echo configure:10276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10323 if { (eval echo configure:10324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10276 rm -rf conftest* | 10324 rm -rf conftest* |
10277 eval "ac_cv_func_msgget=yes" | 10325 eval "ac_cv_func_msgget=yes" |
10278 else | 10326 else |
10279 echo "configure: failed program was:" >&5 | 10327 echo "configure: failed program was:" >&5 |
10280 cat conftest.$ac_ext >&5 | 10328 cat conftest.$ac_ext >&5 |
10285 | 10333 |
10286 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10334 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10287 echo "$ac_t""yes" 1>&6 | 10335 echo "$ac_t""yes" 1>&6 |
10288 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10336 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10289 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10337 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10290 echo "configure:10291: checking for sys/ipc.h" >&5 | 10338 echo "configure:10339: checking for sys/ipc.h" >&5 |
10291 | 10339 |
10292 cat > conftest.$ac_ext <<EOF | 10340 cat > conftest.$ac_ext <<EOF |
10293 #line 10294 "configure" | 10341 #line 10342 "configure" |
10294 #include "confdefs.h" | 10342 #include "confdefs.h" |
10295 #include <sys/ipc.h> | 10343 #include <sys/ipc.h> |
10296 EOF | 10344 EOF |
10297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10298 { (eval echo configure:10299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10346 { (eval echo configure:10347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10300 if test -z "$ac_err"; then | 10348 if test -z "$ac_err"; then |
10301 rm -rf conftest* | 10349 rm -rf conftest* |
10302 eval "ac_cv_header_$ac_safe=yes" | 10350 eval "ac_cv_header_$ac_safe=yes" |
10303 else | 10351 else |
10310 rm -f conftest* | 10358 rm -f conftest* |
10311 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10359 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10312 echo "$ac_t""yes" 1>&6 | 10360 echo "$ac_t""yes" 1>&6 |
10313 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10361 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
10314 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10362 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
10315 echo "configure:10316: checking for sys/msg.h" >&5 | 10363 echo "configure:10364: checking for sys/msg.h" >&5 |
10316 | 10364 |
10317 cat > conftest.$ac_ext <<EOF | 10365 cat > conftest.$ac_ext <<EOF |
10318 #line 10319 "configure" | 10366 #line 10367 "configure" |
10319 #include "confdefs.h" | 10367 #include "confdefs.h" |
10320 #include <sys/msg.h> | 10368 #include <sys/msg.h> |
10321 EOF | 10369 EOF |
10322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10370 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10323 { (eval echo configure:10324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10371 { (eval echo configure:10372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10324 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10372 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10325 if test -z "$ac_err"; then | 10373 if test -z "$ac_err"; then |
10326 rm -rf conftest* | 10374 rm -rf conftest* |
10327 eval "ac_cv_header_$ac_safe=yes" | 10375 eval "ac_cv_header_$ac_safe=yes" |
10328 else | 10376 else |
10356 fi | 10404 fi |
10357 | 10405 |
10358 | 10406 |
10359 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10407 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10360 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10408 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10361 echo "configure:10362: checking for dirent.h" >&5 | 10409 echo "configure:10410: checking for dirent.h" >&5 |
10362 | 10410 |
10363 cat > conftest.$ac_ext <<EOF | 10411 cat > conftest.$ac_ext <<EOF |
10364 #line 10365 "configure" | 10412 #line 10413 "configure" |
10365 #include "confdefs.h" | 10413 #include "confdefs.h" |
10366 #include <dirent.h> | 10414 #include <dirent.h> |
10367 EOF | 10415 EOF |
10368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10369 { (eval echo configure:10370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10417 { (eval echo configure:10418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10371 if test -z "$ac_err"; then | 10419 if test -z "$ac_err"; then |
10372 rm -rf conftest* | 10420 rm -rf conftest* |
10373 eval "ac_cv_header_$ac_safe=yes" | 10421 eval "ac_cv_header_$ac_safe=yes" |
10374 else | 10422 else |
10391 | 10439 |
10392 else | 10440 else |
10393 echo "$ac_t""no" 1>&6 | 10441 echo "$ac_t""no" 1>&6 |
10394 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10442 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10395 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10443 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10396 echo "configure:10397: checking for sys/dir.h" >&5 | 10444 echo "configure:10445: checking for sys/dir.h" >&5 |
10397 | 10445 |
10398 cat > conftest.$ac_ext <<EOF | 10446 cat > conftest.$ac_ext <<EOF |
10399 #line 10400 "configure" | 10447 #line 10448 "configure" |
10400 #include "confdefs.h" | 10448 #include "confdefs.h" |
10401 #include <sys/dir.h> | 10449 #include <sys/dir.h> |
10402 EOF | 10450 EOF |
10403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10451 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10404 { (eval echo configure:10405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10452 { (eval echo configure:10453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10453 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10406 if test -z "$ac_err"; then | 10454 if test -z "$ac_err"; then |
10407 rm -rf conftest* | 10455 rm -rf conftest* |
10408 eval "ac_cv_header_$ac_safe=yes" | 10456 eval "ac_cv_header_$ac_safe=yes" |
10409 else | 10457 else |
10432 fi | 10480 fi |
10433 | 10481 |
10434 | 10482 |
10435 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10483 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10436 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10484 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10437 echo "configure:10438: checking for nlist.h" >&5 | 10485 echo "configure:10486: checking for nlist.h" >&5 |
10438 | 10486 |
10439 cat > conftest.$ac_ext <<EOF | 10487 cat > conftest.$ac_ext <<EOF |
10440 #line 10441 "configure" | 10488 #line 10489 "configure" |
10441 #include "confdefs.h" | 10489 #include "confdefs.h" |
10442 #include <nlist.h> | 10490 #include <nlist.h> |
10443 EOF | 10491 EOF |
10444 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10445 { (eval echo configure:10446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10493 { (eval echo configure:10494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10446 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10447 if test -z "$ac_err"; then | 10495 if test -z "$ac_err"; then |
10448 rm -rf conftest* | 10496 rm -rf conftest* |
10449 eval "ac_cv_header_$ac_safe=yes" | 10497 eval "ac_cv_header_$ac_safe=yes" |
10450 else | 10498 else |
10470 fi | 10518 fi |
10471 | 10519 |
10472 | 10520 |
10473 | 10521 |
10474 echo "checking "for sound support"" 1>&6 | 10522 echo "checking "for sound support"" 1>&6 |
10475 echo "configure:10476: checking "for sound support"" >&5 | 10523 echo "configure:10524: checking "for sound support"" >&5 |
10476 case "$with_sound" in | 10524 case "$with_sound" in |
10477 native | both ) with_native_sound=yes;; | 10525 native | both ) with_native_sound=yes;; |
10478 nas | no ) with_native_sound=no;; | 10526 nas | no ) with_native_sound=no;; |
10479 esac | 10527 esac |
10480 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 10528 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10481 | 10529 |
10482 if test "$with_native_sound" != "no"; then | 10530 if test "$with_native_sound" != "no"; then |
10483 if test -n "$native_sound_lib"; then | 10531 if test -n "$native_sound_lib"; then |
10484 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 10532 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10485 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 10533 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10486 echo "configure:10487: checking for multimedia/audio_device.h" >&5 | 10534 echo "configure:10535: checking for multimedia/audio_device.h" >&5 |
10487 | 10535 |
10488 cat > conftest.$ac_ext <<EOF | 10536 cat > conftest.$ac_ext <<EOF |
10489 #line 10490 "configure" | 10537 #line 10538 "configure" |
10490 #include "confdefs.h" | 10538 #include "confdefs.h" |
10491 #include <multimedia/audio_device.h> | 10539 #include <multimedia/audio_device.h> |
10492 EOF | 10540 EOF |
10493 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10494 { (eval echo configure:10495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10542 { (eval echo configure:10543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10495 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10496 if test -z "$ac_err"; then | 10544 if test -z "$ac_err"; then |
10497 rm -rf conftest* | 10545 rm -rf conftest* |
10498 eval "ac_cv_header_$ac_safe=yes" | 10546 eval "ac_cv_header_$ac_safe=yes" |
10499 else | 10547 else |
10537 case "$canonical" in | 10585 case "$canonical" in |
10538 *-sgi-* ) | 10586 *-sgi-* ) |
10539 if test -z "$native_sound_lib"; then | 10587 if test -z "$native_sound_lib"; then |
10540 ac_safe=`echo "audio.h" | sed 'y%./+-%__p_%'` | 10588 ac_safe=`echo "audio.h" | sed 'y%./+-%__p_%'` |
10541 echo $ac_n "checking for audio.h""... $ac_c" 1>&6 | 10589 echo $ac_n "checking for audio.h""... $ac_c" 1>&6 |
10542 echo "configure:10543: checking for audio.h" >&5 | 10590 echo "configure:10591: checking for audio.h" >&5 |
10543 | 10591 |
10544 cat > conftest.$ac_ext <<EOF | 10592 cat > conftest.$ac_ext <<EOF |
10545 #line 10546 "configure" | 10593 #line 10594 "configure" |
10546 #include "confdefs.h" | 10594 #include "confdefs.h" |
10547 #include <audio.h> | 10595 #include <audio.h> |
10548 EOF | 10596 EOF |
10549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10550 { (eval echo configure:10551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10598 { (eval echo configure:10599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10552 if test -z "$ac_err"; then | 10600 if test -z "$ac_err"; then |
10553 rm -rf conftest* | 10601 rm -rf conftest* |
10554 eval "ac_cv_header_$ac_safe=yes" | 10602 eval "ac_cv_header_$ac_safe=yes" |
10555 else | 10603 else |
10563 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10611 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10564 echo "$ac_t""yes" 1>&6 | 10612 echo "$ac_t""yes" 1>&6 |
10565 | 10613 |
10566 | 10614 |
10567 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 10615 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10568 echo "configure:10569: checking for ALopenport in -laudio" >&5 | 10616 echo "configure:10617: checking for ALopenport in -laudio" >&5 |
10569 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 10617 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10570 | 10618 |
10571 xe_check_libs=" -laudio " | 10619 xe_check_libs=" -laudio " |
10572 cat > conftest.$ac_ext <<EOF | 10620 cat > conftest.$ac_ext <<EOF |
10573 #line 10574 "configure" | 10621 #line 10622 "configure" |
10574 #include "confdefs.h" | 10622 #include "confdefs.h" |
10575 /* Override any gcc2 internal prototype to avoid an error. */ | 10623 /* Override any gcc2 internal prototype to avoid an error. */ |
10576 /* We use char because int might match the return type of a gcc2 | 10624 /* We use char because int might match the return type of a gcc2 |
10577 builtin and then its argument prototype would still apply. */ | 10625 builtin and then its argument prototype would still apply. */ |
10578 char ALopenport(); | 10626 char ALopenport(); |
10579 | 10627 |
10580 int main() { | 10628 int main() { |
10581 ALopenport() | 10629 ALopenport() |
10582 ; return 0; } | 10630 ; return 0; } |
10583 EOF | 10631 EOF |
10584 if { (eval echo configure:10585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10632 if { (eval echo configure:10633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10585 rm -rf conftest* | 10633 rm -rf conftest* |
10586 eval "ac_cv_lib_$ac_lib_var=yes" | 10634 eval "ac_cv_lib_$ac_lib_var=yes" |
10587 else | 10635 else |
10588 echo "configure: failed program was:" >&5 | 10636 echo "configure: failed program was:" >&5 |
10589 cat conftest.$ac_ext >&5 | 10637 cat conftest.$ac_ext >&5 |
10615 fi ;; | 10663 fi ;; |
10616 hppa*-hp-hpux* ) | 10664 hppa*-hp-hpux* ) |
10617 if test -z "$native_sound_lib"; then | 10665 if test -z "$native_sound_lib"; then |
10618 | 10666 |
10619 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 10667 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10620 echo "configure:10621: checking for AOpenAudio in -lAlib" >&5 | 10668 echo "configure:10669: checking for AOpenAudio in -lAlib" >&5 |
10621 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 10669 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10622 | 10670 |
10623 xe_check_libs=" -lAlib " | 10671 xe_check_libs=" -lAlib " |
10624 cat > conftest.$ac_ext <<EOF | 10672 cat > conftest.$ac_ext <<EOF |
10625 #line 10626 "configure" | 10673 #line 10674 "configure" |
10626 #include "confdefs.h" | 10674 #include "confdefs.h" |
10627 /* Override any gcc2 internal prototype to avoid an error. */ | 10675 /* Override any gcc2 internal prototype to avoid an error. */ |
10628 /* We use char because int might match the return type of a gcc2 | 10676 /* We use char because int might match the return type of a gcc2 |
10629 builtin and then its argument prototype would still apply. */ | 10677 builtin and then its argument prototype would still apply. */ |
10630 char AOpenAudio(); | 10678 char AOpenAudio(); |
10631 | 10679 |
10632 int main() { | 10680 int main() { |
10633 AOpenAudio() | 10681 AOpenAudio() |
10634 ; return 0; } | 10682 ; return 0; } |
10635 EOF | 10683 EOF |
10636 if { (eval echo configure:10637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10684 if { (eval echo configure:10685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10637 rm -rf conftest* | 10685 rm -rf conftest* |
10638 eval "ac_cv_lib_$ac_lib_var=yes" | 10686 eval "ac_cv_lib_$ac_lib_var=yes" |
10639 else | 10687 else |
10640 echo "configure: failed program was:" >&5 | 10688 echo "configure: failed program was:" >&5 |
10641 cat conftest.$ac_ext >&5 | 10689 cat conftest.$ac_ext >&5 |
10669 | 10717 |
10670 if test -z "$sound_found"; then | 10718 if test -z "$sound_found"; then |
10671 for dir in "machine" "sys" "linux"; do | 10719 for dir in "machine" "sys" "linux"; do |
10672 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10720 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10673 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10721 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10674 echo "configure:10675: checking for ${dir}/soundcard.h" >&5 | 10722 echo "configure:10723: checking for ${dir}/soundcard.h" >&5 |
10675 | 10723 |
10676 cat > conftest.$ac_ext <<EOF | 10724 cat > conftest.$ac_ext <<EOF |
10677 #line 10678 "configure" | 10725 #line 10726 "configure" |
10678 #include "confdefs.h" | 10726 #include "confdefs.h" |
10679 #include <${dir}/soundcard.h> | 10727 #include <${dir}/soundcard.h> |
10680 EOF | 10728 EOF |
10681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10729 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10682 { (eval echo configure:10683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10730 { (eval echo configure:10731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10731 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10684 if test -z "$ac_err"; then | 10732 if test -z "$ac_err"; then |
10685 rm -rf conftest* | 10733 rm -rf conftest* |
10686 eval "ac_cv_header_$ac_safe=yes" | 10734 eval "ac_cv_header_$ac_safe=yes" |
10687 else | 10735 else |
10747 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10795 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10748 echo " xemacs will be linked with \"nas.o\"" | 10796 echo " xemacs will be linked with \"nas.o\"" |
10749 fi | 10797 fi |
10750 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10798 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10751 cat > conftest.$ac_ext <<EOF | 10799 cat > conftest.$ac_ext <<EOF |
10752 #line 10753 "configure" | 10800 #line 10801 "configure" |
10753 #include "confdefs.h" | 10801 #include "confdefs.h" |
10754 #include <audio/Xtutil.h> | 10802 #include <audio/Xtutil.h> |
10755 EOF | 10803 EOF |
10756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10757 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10805 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10768 | 10816 |
10769 fi | 10817 fi |
10770 rm -f conftest* | 10818 rm -f conftest* |
10771 | 10819 |
10772 cat > conftest.$ac_ext <<EOF | 10820 cat > conftest.$ac_ext <<EOF |
10773 #line 10774 "configure" | 10821 #line 10822 "configure" |
10774 #include "confdefs.h" | 10822 #include "confdefs.h" |
10775 #include <audio/fileutil.h> | 10823 #include <audio/fileutil.h> |
10776 #ifdef NAS_BIG_ENDIAN | 10824 #ifdef NAS_BIG_ENDIAN |
10777 yes | 10825 yes |
10778 #endif | 10826 #endif |
10797 | 10845 |
10798 test -z "$with_tty" && with_tty=yes | 10846 test -z "$with_tty" && with_tty=yes |
10799 | 10847 |
10800 if test "$with_tty" = "yes" ; then | 10848 if test "$with_tty" = "yes" ; then |
10801 echo "checking for TTY-related features" 1>&6 | 10849 echo "checking for TTY-related features" 1>&6 |
10802 echo "configure:10803: checking for TTY-related features" >&5 | 10850 echo "configure:10851: checking for TTY-related features" >&5 |
10803 { test "$extra_verbose" = "yes" && cat << \EOF | 10851 { test "$extra_verbose" = "yes" && cat << \EOF |
10804 Defining HAVE_TTY | 10852 Defining HAVE_TTY |
10805 EOF | 10853 EOF |
10806 cat >> confdefs.h <<\EOF | 10854 cat >> confdefs.h <<\EOF |
10807 #define HAVE_TTY 1 | 10855 #define HAVE_TTY 1 |
10813 fi | 10861 fi |
10814 | 10862 |
10815 if test -z "$with_ncurses"; then | 10863 if test -z "$with_ncurses"; then |
10816 | 10864 |
10817 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10865 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10818 echo "configure:10819: checking for tgetent in -lncurses" >&5 | 10866 echo "configure:10867: checking for tgetent in -lncurses" >&5 |
10819 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10867 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10820 | 10868 |
10821 xe_check_libs=" -lncurses " | 10869 xe_check_libs=" -lncurses " |
10822 cat > conftest.$ac_ext <<EOF | 10870 cat > conftest.$ac_ext <<EOF |
10823 #line 10824 "configure" | 10871 #line 10872 "configure" |
10824 #include "confdefs.h" | 10872 #include "confdefs.h" |
10825 /* Override any gcc2 internal prototype to avoid an error. */ | 10873 /* Override any gcc2 internal prototype to avoid an error. */ |
10826 /* We use char because int might match the return type of a gcc2 | 10874 /* We use char because int might match the return type of a gcc2 |
10827 builtin and then its argument prototype would still apply. */ | 10875 builtin and then its argument prototype would still apply. */ |
10828 char tgetent(); | 10876 char tgetent(); |
10829 | 10877 |
10830 int main() { | 10878 int main() { |
10831 tgetent() | 10879 tgetent() |
10832 ; return 0; } | 10880 ; return 0; } |
10833 EOF | 10881 EOF |
10834 if { (eval echo configure:10835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10882 if { (eval echo configure:10883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10835 rm -rf conftest* | 10883 rm -rf conftest* |
10836 eval "ac_cv_lib_$ac_lib_var=yes" | 10884 eval "ac_cv_lib_$ac_lib_var=yes" |
10837 else | 10885 else |
10838 echo "configure: failed program was:" >&5 | 10886 echo "configure: failed program was:" >&5 |
10839 cat conftest.$ac_ext >&5 | 10887 cat conftest.$ac_ext >&5 |
10862 EOF | 10910 EOF |
10863 } | 10911 } |
10864 | 10912 |
10865 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10913 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10866 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10914 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10867 echo "configure:10868: checking for ncurses/curses.h" >&5 | 10915 echo "configure:10916: checking for ncurses/curses.h" >&5 |
10868 | 10916 |
10869 cat > conftest.$ac_ext <<EOF | 10917 cat > conftest.$ac_ext <<EOF |
10870 #line 10871 "configure" | 10918 #line 10919 "configure" |
10871 #include "confdefs.h" | 10919 #include "confdefs.h" |
10872 #include <ncurses/curses.h> | 10920 #include <ncurses/curses.h> |
10873 EOF | 10921 EOF |
10874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10922 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10875 { (eval echo configure:10876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10923 { (eval echo configure:10924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10924 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10877 if test -z "$ac_err"; then | 10925 if test -z "$ac_err"; then |
10878 rm -rf conftest* | 10926 rm -rf conftest* |
10879 eval "ac_cv_header_$ac_safe=yes" | 10927 eval "ac_cv_header_$ac_safe=yes" |
10880 else | 10928 else |
10892 echo "$ac_t""no" 1>&6 | 10940 echo "$ac_t""no" 1>&6 |
10893 fi | 10941 fi |
10894 | 10942 |
10895 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10943 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10896 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10944 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10897 echo "configure:10898: checking for ncurses/term.h" >&5 | 10945 echo "configure:10946: checking for ncurses/term.h" >&5 |
10898 | 10946 |
10899 cat > conftest.$ac_ext <<EOF | 10947 cat > conftest.$ac_ext <<EOF |
10900 #line 10901 "configure" | 10948 #line 10949 "configure" |
10901 #include "confdefs.h" | 10949 #include "confdefs.h" |
10902 #include <ncurses/term.h> | 10950 #include <ncurses/term.h> |
10903 EOF | 10951 EOF |
10904 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10952 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10905 { (eval echo configure:10906: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10953 { (eval echo configure:10954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10906 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10954 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10907 if test -z "$ac_err"; then | 10955 if test -z "$ac_err"; then |
10908 rm -rf conftest* | 10956 rm -rf conftest* |
10909 eval "ac_cv_header_$ac_safe=yes" | 10957 eval "ac_cv_header_$ac_safe=yes" |
10910 else | 10958 else |
10930 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10978 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10931 save_c_switch_site="$c_switch_site" | 10979 save_c_switch_site="$c_switch_site" |
10932 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10980 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10933 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10981 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10934 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10982 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10935 echo "configure:10936: checking for ncurses/curses.h" >&5 | 10983 echo "configure:10984: checking for ncurses/curses.h" >&5 |
10936 | 10984 |
10937 cat > conftest.$ac_ext <<EOF | 10985 cat > conftest.$ac_ext <<EOF |
10938 #line 10939 "configure" | 10986 #line 10987 "configure" |
10939 #include "confdefs.h" | 10987 #include "confdefs.h" |
10940 #include <ncurses/curses.h> | 10988 #include <ncurses/curses.h> |
10941 EOF | 10989 EOF |
10942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10990 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10943 { (eval echo configure:10944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10991 { (eval echo configure:10992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10992 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10945 if test -z "$ac_err"; then | 10993 if test -z "$ac_err"; then |
10946 rm -rf conftest* | 10994 rm -rf conftest* |
10947 eval "ac_cv_header_$ac_safe=yes" | 10995 eval "ac_cv_header_$ac_safe=yes" |
10948 else | 10996 else |
10973 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11021 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10974 else | 11022 else |
10975 for lib in curses termlib termcap; do | 11023 for lib in curses termlib termcap; do |
10976 | 11024 |
10977 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 11025 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10978 echo "configure:10979: checking for tgetent in -l$lib" >&5 | 11026 echo "configure:11027: checking for tgetent in -l$lib" >&5 |
10979 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 11027 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10980 | 11028 |
10981 xe_check_libs=" -l$lib " | 11029 xe_check_libs=" -l$lib " |
10982 cat > conftest.$ac_ext <<EOF | 11030 cat > conftest.$ac_ext <<EOF |
10983 #line 10984 "configure" | 11031 #line 11032 "configure" |
10984 #include "confdefs.h" | 11032 #include "confdefs.h" |
10985 /* Override any gcc2 internal prototype to avoid an error. */ | 11033 /* Override any gcc2 internal prototype to avoid an error. */ |
10986 /* We use char because int might match the return type of a gcc2 | 11034 /* We use char because int might match the return type of a gcc2 |
10987 builtin and then its argument prototype would still apply. */ | 11035 builtin and then its argument prototype would still apply. */ |
10988 char tgetent(); | 11036 char tgetent(); |
10989 | 11037 |
10990 int main() { | 11038 int main() { |
10991 tgetent() | 11039 tgetent() |
10992 ; return 0; } | 11040 ; return 0; } |
10993 EOF | 11041 EOF |
10994 if { (eval echo configure:10995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11042 if { (eval echo configure:11043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10995 rm -rf conftest* | 11043 rm -rf conftest* |
10996 eval "ac_cv_lib_$ac_lib_var=yes" | 11044 eval "ac_cv_lib_$ac_lib_var=yes" |
10997 else | 11045 else |
10998 echo "configure: failed program was:" >&5 | 11046 echo "configure: failed program was:" >&5 |
10999 cat conftest.$ac_ext >&5 | 11047 cat conftest.$ac_ext >&5 |
11020 if test -n "$libs_termcap"; then | 11068 if test -n "$libs_termcap"; then |
11021 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11069 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11022 else | 11070 else |
11023 | 11071 |
11024 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 11072 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
11025 echo "configure:11026: checking for tgetent in -lcurses" >&5 | 11073 echo "configure:11074: checking for tgetent in -lcurses" >&5 |
11026 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 11074 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
11027 | 11075 |
11028 xe_check_libs=" -lcurses " | 11076 xe_check_libs=" -lcurses " |
11029 cat > conftest.$ac_ext <<EOF | 11077 cat > conftest.$ac_ext <<EOF |
11030 #line 11031 "configure" | 11078 #line 11079 "configure" |
11031 #include "confdefs.h" | 11079 #include "confdefs.h" |
11032 /* Override any gcc2 internal prototype to avoid an error. */ | 11080 /* Override any gcc2 internal prototype to avoid an error. */ |
11033 /* We use char because int might match the return type of a gcc2 | 11081 /* We use char because int might match the return type of a gcc2 |
11034 builtin and then its argument prototype would still apply. */ | 11082 builtin and then its argument prototype would still apply. */ |
11035 char tgetent(); | 11083 char tgetent(); |
11036 | 11084 |
11037 int main() { | 11085 int main() { |
11038 tgetent() | 11086 tgetent() |
11039 ; return 0; } | 11087 ; return 0; } |
11040 EOF | 11088 EOF |
11041 if { (eval echo configure:11042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11089 if { (eval echo configure:11090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11042 rm -rf conftest* | 11090 rm -rf conftest* |
11043 eval "ac_cv_lib_$ac_lib_var=yes" | 11091 eval "ac_cv_lib_$ac_lib_var=yes" |
11044 else | 11092 else |
11045 echo "configure: failed program was:" >&5 | 11093 echo "configure: failed program was:" >&5 |
11046 cat conftest.$ac_ext >&5 | 11094 cat conftest.$ac_ext >&5 |
11054 echo "$ac_t""yes" 1>&6 | 11102 echo "$ac_t""yes" 1>&6 |
11055 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 11103 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
11056 else | 11104 else |
11057 echo "$ac_t""no" 1>&6 | 11105 echo "$ac_t""no" 1>&6 |
11058 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 11106 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
11059 echo "configure:11060: checking for tgetent in -ltermcap" >&5 | 11107 echo "configure:11108: checking for tgetent in -ltermcap" >&5 |
11060 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 11108 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
11061 | 11109 |
11062 xe_check_libs=" -ltermcap " | 11110 xe_check_libs=" -ltermcap " |
11063 cat > conftest.$ac_ext <<EOF | 11111 cat > conftest.$ac_ext <<EOF |
11064 #line 11065 "configure" | 11112 #line 11113 "configure" |
11065 #include "confdefs.h" | 11113 #include "confdefs.h" |
11066 /* Override any gcc2 internal prototype to avoid an error. */ | 11114 /* Override any gcc2 internal prototype to avoid an error. */ |
11067 /* We use char because int might match the return type of a gcc2 | 11115 /* We use char because int might match the return type of a gcc2 |
11068 builtin and then its argument prototype would still apply. */ | 11116 builtin and then its argument prototype would still apply. */ |
11069 char tgetent(); | 11117 char tgetent(); |
11070 | 11118 |
11071 int main() { | 11119 int main() { |
11072 tgetent() | 11120 tgetent() |
11073 ; return 0; } | 11121 ; return 0; } |
11074 EOF | 11122 EOF |
11075 if { (eval echo configure:11076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11123 if { (eval echo configure:11124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11076 rm -rf conftest* | 11124 rm -rf conftest* |
11077 eval "ac_cv_lib_$ac_lib_var=yes" | 11125 eval "ac_cv_lib_$ac_lib_var=yes" |
11078 else | 11126 else |
11079 echo "configure: failed program was:" >&5 | 11127 echo "configure: failed program was:" >&5 |
11080 cat conftest.$ac_ext >&5 | 11128 cat conftest.$ac_ext >&5 |
11118 } | 11166 } |
11119 | 11167 |
11120 | 11168 |
11121 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11169 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
11122 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11170 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
11123 echo "configure:11124: checking for gpm.h" >&5 | 11171 echo "configure:11172: checking for gpm.h" >&5 |
11124 | 11172 |
11125 cat > conftest.$ac_ext <<EOF | 11173 cat > conftest.$ac_ext <<EOF |
11126 #line 11127 "configure" | 11174 #line 11175 "configure" |
11127 #include "confdefs.h" | 11175 #include "confdefs.h" |
11128 #include <gpm.h> | 11176 #include <gpm.h> |
11129 EOF | 11177 EOF |
11130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11131 { (eval echo configure:11132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11179 { (eval echo configure:11180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11133 if test -z "$ac_err"; then | 11181 if test -z "$ac_err"; then |
11134 rm -rf conftest* | 11182 rm -rf conftest* |
11135 eval "ac_cv_header_$ac_safe=yes" | 11183 eval "ac_cv_header_$ac_safe=yes" |
11136 else | 11184 else |
11149 with_gpm=no | 11197 with_gpm=no |
11150 fi | 11198 fi |
11151 } | 11199 } |
11152 test -z "$with_gpm" && { | 11200 test -z "$with_gpm" && { |
11153 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11201 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
11154 echo "configure:11155: checking for Gpm_Open in -lgpm" >&5 | 11202 echo "configure:11203: checking for Gpm_Open in -lgpm" >&5 |
11155 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11203 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
11156 | 11204 |
11157 xe_check_libs=" -lgpm " | 11205 xe_check_libs=" -lgpm " |
11158 cat > conftest.$ac_ext <<EOF | 11206 cat > conftest.$ac_ext <<EOF |
11159 #line 11160 "configure" | 11207 #line 11208 "configure" |
11160 #include "confdefs.h" | 11208 #include "confdefs.h" |
11161 /* Override any gcc2 internal prototype to avoid an error. */ | 11209 /* Override any gcc2 internal prototype to avoid an error. */ |
11162 /* We use char because int might match the return type of a gcc2 | 11210 /* We use char because int might match the return type of a gcc2 |
11163 builtin and then its argument prototype would still apply. */ | 11211 builtin and then its argument prototype would still apply. */ |
11164 char Gpm_Open(); | 11212 char Gpm_Open(); |
11165 | 11213 |
11166 int main() { | 11214 int main() { |
11167 Gpm_Open() | 11215 Gpm_Open() |
11168 ; return 0; } | 11216 ; return 0; } |
11169 EOF | 11217 EOF |
11170 if { (eval echo configure:11171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11218 if { (eval echo configure:11219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11171 rm -rf conftest* | 11219 rm -rf conftest* |
11172 eval "ac_cv_lib_$ac_lib_var=yes" | 11220 eval "ac_cv_lib_$ac_lib_var=yes" |
11173 else | 11221 else |
11174 echo "configure: failed program was:" >&5 | 11222 echo "configure: failed program was:" >&5 |
11175 cat conftest.$ac_ext >&5 | 11223 cat conftest.$ac_ext >&5 |
11214 echo " xemacs will be linked with \"event-unixoid.o\"" | 11262 echo " xemacs will be linked with \"event-unixoid.o\"" |
11215 fi | 11263 fi |
11216 | 11264 |
11217 | 11265 |
11218 echo "checking for database support" 1>&6 | 11266 echo "checking for database support" 1>&6 |
11219 echo "configure:11220: checking for database support" >&5 | 11267 echo "configure:11268: checking for database support" >&5 |
11220 | 11268 |
11221 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then | 11269 if test "$with_database_gnudbm $with_database_dbm" != "no no"; then |
11222 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11270 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
11223 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11271 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
11224 echo "configure:11225: checking for ndbm.h" >&5 | 11272 echo "configure:11273: checking for ndbm.h" >&5 |
11225 | 11273 |
11226 cat > conftest.$ac_ext <<EOF | 11274 cat > conftest.$ac_ext <<EOF |
11227 #line 11228 "configure" | 11275 #line 11276 "configure" |
11228 #include "confdefs.h" | 11276 #include "confdefs.h" |
11229 #include <ndbm.h> | 11277 #include <ndbm.h> |
11230 EOF | 11278 EOF |
11231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11232 { (eval echo configure:11233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11280 { (eval echo configure:11281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11234 if test -z "$ac_err"; then | 11282 if test -z "$ac_err"; then |
11235 rm -rf conftest* | 11283 rm -rf conftest* |
11236 eval "ac_cv_header_$ac_safe=yes" | 11284 eval "ac_cv_header_$ac_safe=yes" |
11237 else | 11285 else |
11257 fi | 11305 fi |
11258 | 11306 |
11259 if test "$with_database_gnudbm" != "no"; then | 11307 if test "$with_database_gnudbm" != "no"; then |
11260 | 11308 |
11261 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11309 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
11262 echo "configure:11263: checking for dbm_open in -lgdbm" >&5 | 11310 echo "configure:11311: checking for dbm_open in -lgdbm" >&5 |
11263 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11311 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11264 | 11312 |
11265 xe_check_libs=" -lgdbm " | 11313 xe_check_libs=" -lgdbm " |
11266 cat > conftest.$ac_ext <<EOF | 11314 cat > conftest.$ac_ext <<EOF |
11267 #line 11268 "configure" | 11315 #line 11316 "configure" |
11268 #include "confdefs.h" | 11316 #include "confdefs.h" |
11269 /* Override any gcc2 internal prototype to avoid an error. */ | 11317 /* Override any gcc2 internal prototype to avoid an error. */ |
11270 /* We use char because int might match the return type of a gcc2 | 11318 /* We use char because int might match the return type of a gcc2 |
11271 builtin and then its argument prototype would still apply. */ | 11319 builtin and then its argument prototype would still apply. */ |
11272 char dbm_open(); | 11320 char dbm_open(); |
11273 | 11321 |
11274 int main() { | 11322 int main() { |
11275 dbm_open() | 11323 dbm_open() |
11276 ; return 0; } | 11324 ; return 0; } |
11277 EOF | 11325 EOF |
11278 if { (eval echo configure:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11326 if { (eval echo configure:11327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11279 rm -rf conftest* | 11327 rm -rf conftest* |
11280 eval "ac_cv_lib_$ac_lib_var=yes" | 11328 eval "ac_cv_lib_$ac_lib_var=yes" |
11281 else | 11329 else |
11282 echo "configure: failed program was:" >&5 | 11330 echo "configure: failed program was:" >&5 |
11283 cat conftest.$ac_ext >&5 | 11331 cat conftest.$ac_ext >&5 |
11301 | 11349 |
11302 fi | 11350 fi |
11303 | 11351 |
11304 if test "$with_database_dbm" != "no"; then | 11352 if test "$with_database_dbm" != "no"; then |
11305 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11353 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
11306 echo "configure:11307: checking for dbm_open" >&5 | 11354 echo "configure:11355: checking for dbm_open" >&5 |
11307 | 11355 |
11308 cat > conftest.$ac_ext <<EOF | 11356 cat > conftest.$ac_ext <<EOF |
11309 #line 11310 "configure" | 11357 #line 11358 "configure" |
11310 #include "confdefs.h" | 11358 #include "confdefs.h" |
11311 /* System header to define __stub macros and hopefully few prototypes, | 11359 /* System header to define __stub macros and hopefully few prototypes, |
11312 which can conflict with char dbm_open(); below. */ | 11360 which can conflict with char dbm_open(); below. */ |
11313 #include <assert.h> | 11361 #include <assert.h> |
11314 /* Override any gcc2 internal prototype to avoid an error. */ | 11362 /* Override any gcc2 internal prototype to avoid an error. */ |
11327 dbm_open(); | 11375 dbm_open(); |
11328 #endif | 11376 #endif |
11329 | 11377 |
11330 ; return 0; } | 11378 ; return 0; } |
11331 EOF | 11379 EOF |
11332 if { (eval echo configure:11333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11380 if { (eval echo configure:11381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11333 rm -rf conftest* | 11381 rm -rf conftest* |
11334 eval "ac_cv_func_dbm_open=yes" | 11382 eval "ac_cv_func_dbm_open=yes" |
11335 else | 11383 else |
11336 echo "configure: failed program was:" >&5 | 11384 echo "configure: failed program was:" >&5 |
11337 cat conftest.$ac_ext >&5 | 11385 cat conftest.$ac_ext >&5 |
11346 else | 11394 else |
11347 echo "$ac_t""no" 1>&6 | 11395 echo "$ac_t""no" 1>&6 |
11348 | 11396 |
11349 | 11397 |
11350 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11398 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11351 echo "configure:11352: checking for dbm_open in -ldbm" >&5 | 11399 echo "configure:11400: checking for dbm_open in -ldbm" >&5 |
11352 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11400 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11353 | 11401 |
11354 xe_check_libs=" -ldbm " | 11402 xe_check_libs=" -ldbm " |
11355 cat > conftest.$ac_ext <<EOF | 11403 cat > conftest.$ac_ext <<EOF |
11356 #line 11357 "configure" | 11404 #line 11405 "configure" |
11357 #include "confdefs.h" | 11405 #include "confdefs.h" |
11358 /* Override any gcc2 internal prototype to avoid an error. */ | 11406 /* Override any gcc2 internal prototype to avoid an error. */ |
11359 /* We use char because int might match the return type of a gcc2 | 11407 /* We use char because int might match the return type of a gcc2 |
11360 builtin and then its argument prototype would still apply. */ | 11408 builtin and then its argument prototype would still apply. */ |
11361 char dbm_open(); | 11409 char dbm_open(); |
11362 | 11410 |
11363 int main() { | 11411 int main() { |
11364 dbm_open() | 11412 dbm_open() |
11365 ; return 0; } | 11413 ; return 0; } |
11366 EOF | 11414 EOF |
11367 if { (eval echo configure:11368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11415 if { (eval echo configure:11416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11368 rm -rf conftest* | 11416 rm -rf conftest* |
11369 eval "ac_cv_lib_$ac_lib_var=yes" | 11417 eval "ac_cv_lib_$ac_lib_var=yes" |
11370 else | 11418 else |
11371 echo "configure: failed program was:" >&5 | 11419 echo "configure: failed program was:" >&5 |
11372 cat conftest.$ac_ext >&5 | 11420 cat conftest.$ac_ext >&5 |
11404 | 11452 |
11405 fi | 11453 fi |
11406 | 11454 |
11407 if test "$with_database_berkdb" != "no"; then | 11455 if test "$with_database_berkdb" != "no"; then |
11408 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 11456 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11409 echo "configure:11410: checking for Berkeley db.h" >&5 | 11457 echo "configure:11458: checking for Berkeley db.h" >&5 |
11410 for path in "db/db.h" "db.h"; do | 11458 for path in "db/db.h" "db.h"; do |
11411 cat > conftest.$ac_ext <<EOF | 11459 cat > conftest.$ac_ext <<EOF |
11412 #line 11413 "configure" | 11460 #line 11461 "configure" |
11413 #include "confdefs.h" | 11461 #include "confdefs.h" |
11414 | 11462 |
11415 #include <stdlib.h> | 11463 #include <stdlib.h> |
11416 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 11464 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
11417 #ifdef HAVE_INTTYPES_H | 11465 #ifdef HAVE_INTTYPES_H |
11429 | 11477 |
11430 int main() { | 11478 int main() { |
11431 | 11479 |
11432 ; return 0; } | 11480 ; return 0; } |
11433 EOF | 11481 EOF |
11434 if { (eval echo configure:11435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11482 if { (eval echo configure:11483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11435 rm -rf conftest* | 11483 rm -rf conftest* |
11436 db_h_path="$path"; break | 11484 db_h_path="$path"; break |
11437 else | 11485 else |
11438 echo "configure: failed program was:" >&5 | 11486 echo "configure: failed program was:" >&5 |
11439 cat conftest.$ac_ext >&5 | 11487 cat conftest.$ac_ext >&5 |
11445 else echo "$ac_t""$db_h_path" 1>&6 | 11493 else echo "$ac_t""$db_h_path" 1>&6 |
11446 fi | 11494 fi |
11447 | 11495 |
11448 if test "$with_database_berkdb" != "no"; then | 11496 if test "$with_database_berkdb" != "no"; then |
11449 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 11497 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11450 echo "configure:11451: checking for Berkeley DB version" >&5 | 11498 echo "configure:11499: checking for Berkeley DB version" >&5 |
11451 cat > conftest.$ac_ext <<EOF | 11499 cat > conftest.$ac_ext <<EOF |
11452 #line 11453 "configure" | 11500 #line 11501 "configure" |
11453 #include "confdefs.h" | 11501 #include "confdefs.h" |
11454 #include <$db_h_path> | 11502 #include <$db_h_path> |
11455 #if DB_VERSION_MAJOR > 1 | 11503 #if DB_VERSION_MAJOR > 1 |
11456 yes | 11504 yes |
11457 #endif | 11505 #endif |
11466 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 11514 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11467 fi | 11515 fi |
11468 rm -f conftest* | 11516 rm -f conftest* |
11469 | 11517 |
11470 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 11518 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11471 echo "configure:11472: checking for $dbfunc" >&5 | 11519 echo "configure:11520: checking for $dbfunc" >&5 |
11472 | 11520 |
11473 cat > conftest.$ac_ext <<EOF | 11521 cat > conftest.$ac_ext <<EOF |
11474 #line 11475 "configure" | 11522 #line 11523 "configure" |
11475 #include "confdefs.h" | 11523 #include "confdefs.h" |
11476 /* System header to define __stub macros and hopefully few prototypes, | 11524 /* System header to define __stub macros and hopefully few prototypes, |
11477 which can conflict with char $dbfunc(); below. */ | 11525 which can conflict with char $dbfunc(); below. */ |
11478 #include <assert.h> | 11526 #include <assert.h> |
11479 /* Override any gcc2 internal prototype to avoid an error. */ | 11527 /* Override any gcc2 internal prototype to avoid an error. */ |
11492 $dbfunc(); | 11540 $dbfunc(); |
11493 #endif | 11541 #endif |
11494 | 11542 |
11495 ; return 0; } | 11543 ; return 0; } |
11496 EOF | 11544 EOF |
11497 if { (eval echo configure:11498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11545 if { (eval echo configure:11546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11498 rm -rf conftest* | 11546 rm -rf conftest* |
11499 eval "ac_cv_func_$dbfunc=yes" | 11547 eval "ac_cv_func_$dbfunc=yes" |
11500 else | 11548 else |
11501 echo "configure: failed program was:" >&5 | 11549 echo "configure: failed program was:" >&5 |
11502 cat conftest.$ac_ext >&5 | 11550 cat conftest.$ac_ext >&5 |
11511 else | 11559 else |
11512 echo "$ac_t""no" 1>&6 | 11560 echo "$ac_t""no" 1>&6 |
11513 | 11561 |
11514 | 11562 |
11515 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 11563 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11516 echo "configure:11517: checking for $dbfunc in -ldb" >&5 | 11564 echo "configure:11565: checking for $dbfunc in -ldb" >&5 |
11517 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 11565 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11518 | 11566 |
11519 xe_check_libs=" -ldb " | 11567 xe_check_libs=" -ldb " |
11520 cat > conftest.$ac_ext <<EOF | 11568 cat > conftest.$ac_ext <<EOF |
11521 #line 11522 "configure" | 11569 #line 11570 "configure" |
11522 #include "confdefs.h" | 11570 #include "confdefs.h" |
11523 /* Override any gcc2 internal prototype to avoid an error. */ | 11571 /* Override any gcc2 internal prototype to avoid an error. */ |
11524 /* We use char because int might match the return type of a gcc2 | 11572 /* We use char because int might match the return type of a gcc2 |
11525 builtin and then its argument prototype would still apply. */ | 11573 builtin and then its argument prototype would still apply. */ |
11526 char $dbfunc(); | 11574 char $dbfunc(); |
11527 | 11575 |
11528 int main() { | 11576 int main() { |
11529 $dbfunc() | 11577 $dbfunc() |
11530 ; return 0; } | 11578 ; return 0; } |
11531 EOF | 11579 EOF |
11532 if { (eval echo configure:11533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11580 if { (eval echo configure:11581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11533 rm -rf conftest* | 11581 rm -rf conftest* |
11534 eval "ac_cv_lib_$ac_lib_var=yes" | 11582 eval "ac_cv_lib_$ac_lib_var=yes" |
11535 else | 11583 else |
11536 echo "configure: failed program was:" >&5 | 11584 echo "configure: failed program was:" >&5 |
11537 cat conftest.$ac_ext >&5 | 11585 cat conftest.$ac_ext >&5 |
11591 fi | 11639 fi |
11592 | 11640 |
11593 if test "$with_socks" = "yes"; then | 11641 if test "$with_socks" = "yes"; then |
11594 | 11642 |
11595 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 11643 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11596 echo "configure:11597: checking for SOCKSinit in -lsocks" >&5 | 11644 echo "configure:11645: checking for SOCKSinit in -lsocks" >&5 |
11597 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 11645 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11598 | 11646 |
11599 xe_check_libs=" -lsocks " | 11647 xe_check_libs=" -lsocks " |
11600 cat > conftest.$ac_ext <<EOF | 11648 cat > conftest.$ac_ext <<EOF |
11601 #line 11602 "configure" | 11649 #line 11650 "configure" |
11602 #include "confdefs.h" | 11650 #include "confdefs.h" |
11603 /* Override any gcc2 internal prototype to avoid an error. */ | 11651 /* Override any gcc2 internal prototype to avoid an error. */ |
11604 /* We use char because int might match the return type of a gcc2 | 11652 /* We use char because int might match the return type of a gcc2 |
11605 builtin and then its argument prototype would still apply. */ | 11653 builtin and then its argument prototype would still apply. */ |
11606 char SOCKSinit(); | 11654 char SOCKSinit(); |
11607 | 11655 |
11608 int main() { | 11656 int main() { |
11609 SOCKSinit() | 11657 SOCKSinit() |
11610 ; return 0; } | 11658 ; return 0; } |
11611 EOF | 11659 EOF |
11612 if { (eval echo configure:11613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11660 if { (eval echo configure:11661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11613 rm -rf conftest* | 11661 rm -rf conftest* |
11614 eval "ac_cv_lib_$ac_lib_var=yes" | 11662 eval "ac_cv_lib_$ac_lib_var=yes" |
11615 else | 11663 else |
11616 echo "configure: failed program was:" >&5 | 11664 echo "configure: failed program was:" >&5 |
11617 cat conftest.$ac_ext >&5 | 11665 cat conftest.$ac_ext >&5 |
11666 | 11714 |
11667 for ac_hdr in dlfcn.h | 11715 for ac_hdr in dlfcn.h |
11668 do | 11716 do |
11669 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11717 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11670 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11718 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11671 echo "configure:11672: checking for $ac_hdr" >&5 | 11719 echo "configure:11720: checking for $ac_hdr" >&5 |
11672 | 11720 |
11673 cat > conftest.$ac_ext <<EOF | 11721 cat > conftest.$ac_ext <<EOF |
11674 #line 11675 "configure" | 11722 #line 11723 "configure" |
11675 #include "confdefs.h" | 11723 #include "confdefs.h" |
11676 #include <$ac_hdr> | 11724 #include <$ac_hdr> |
11677 EOF | 11725 EOF |
11678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11679 { (eval echo configure:11680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11727 { (eval echo configure:11728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11681 if test -z "$ac_err"; then | 11729 if test -z "$ac_err"; then |
11682 rm -rf conftest* | 11730 rm -rf conftest* |
11683 eval "ac_cv_header_$ac_safe=yes" | 11731 eval "ac_cv_header_$ac_safe=yes" |
11684 else | 11732 else |
11705 fi | 11753 fi |
11706 done | 11754 done |
11707 | 11755 |
11708 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11756 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11709 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11757 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11710 echo "configure:11711: checking for dlopen in -ldl" >&5 | 11758 echo "configure:11759: checking for dlopen in -ldl" >&5 |
11711 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11759 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11712 | 11760 |
11713 xe_check_libs=" -ldl " | 11761 xe_check_libs=" -ldl " |
11714 cat > conftest.$ac_ext <<EOF | 11762 cat > conftest.$ac_ext <<EOF |
11715 #line 11716 "configure" | 11763 #line 11764 "configure" |
11716 #include "confdefs.h" | 11764 #include "confdefs.h" |
11717 /* Override any gcc2 internal prototype to avoid an error. */ | 11765 /* Override any gcc2 internal prototype to avoid an error. */ |
11718 /* We use char because int might match the return type of a gcc2 | 11766 /* We use char because int might match the return type of a gcc2 |
11719 builtin and then its argument prototype would still apply. */ | 11767 builtin and then its argument prototype would still apply. */ |
11720 char dlopen(); | 11768 char dlopen(); |
11721 | 11769 |
11722 int main() { | 11770 int main() { |
11723 dlopen() | 11771 dlopen() |
11724 ; return 0; } | 11772 ; return 0; } |
11725 EOF | 11773 EOF |
11726 if { (eval echo configure:11727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11774 if { (eval echo configure:11775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11727 rm -rf conftest* | 11775 rm -rf conftest* |
11728 eval "ac_cv_lib_$ac_lib_var=yes" | 11776 eval "ac_cv_lib_$ac_lib_var=yes" |
11729 else | 11777 else |
11730 echo "configure: failed program was:" >&5 | 11778 echo "configure: failed program was:" >&5 |
11731 cat conftest.$ac_ext >&5 | 11779 cat conftest.$ac_ext >&5 |
11750 fi | 11798 fi |
11751 | 11799 |
11752 } | 11800 } |
11753 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11801 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11754 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11802 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11755 echo "configure:11756: checking for _dlopen in -lc" >&5 | 11803 echo "configure:11804: checking for _dlopen in -lc" >&5 |
11756 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11804 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11757 | 11805 |
11758 xe_check_libs=" -lc " | 11806 xe_check_libs=" -lc " |
11759 cat > conftest.$ac_ext <<EOF | 11807 cat > conftest.$ac_ext <<EOF |
11760 #line 11761 "configure" | 11808 #line 11809 "configure" |
11761 #include "confdefs.h" | 11809 #include "confdefs.h" |
11762 /* Override any gcc2 internal prototype to avoid an error. */ | 11810 /* Override any gcc2 internal prototype to avoid an error. */ |
11763 /* We use char because int might match the return type of a gcc2 | 11811 /* We use char because int might match the return type of a gcc2 |
11764 builtin and then its argument prototype would still apply. */ | 11812 builtin and then its argument prototype would still apply. */ |
11765 char _dlopen(); | 11813 char _dlopen(); |
11766 | 11814 |
11767 int main() { | 11815 int main() { |
11768 _dlopen() | 11816 _dlopen() |
11769 ; return 0; } | 11817 ; return 0; } |
11770 EOF | 11818 EOF |
11771 if { (eval echo configure:11772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11819 if { (eval echo configure:11820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11772 rm -rf conftest* | 11820 rm -rf conftest* |
11773 eval "ac_cv_lib_$ac_lib_var=yes" | 11821 eval "ac_cv_lib_$ac_lib_var=yes" |
11774 else | 11822 else |
11775 echo "configure: failed program was:" >&5 | 11823 echo "configure: failed program was:" >&5 |
11776 cat conftest.$ac_ext >&5 | 11824 cat conftest.$ac_ext >&5 |
11795 fi | 11843 fi |
11796 | 11844 |
11797 } | 11845 } |
11798 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11846 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11799 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11847 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11800 echo "configure:11801: checking for dlopen in -lc" >&5 | 11848 echo "configure:11849: checking for dlopen in -lc" >&5 |
11801 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11849 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11802 | 11850 |
11803 xe_check_libs=" -lc " | 11851 xe_check_libs=" -lc " |
11804 cat > conftest.$ac_ext <<EOF | 11852 cat > conftest.$ac_ext <<EOF |
11805 #line 11806 "configure" | 11853 #line 11854 "configure" |
11806 #include "confdefs.h" | 11854 #include "confdefs.h" |
11807 /* Override any gcc2 internal prototype to avoid an error. */ | 11855 /* Override any gcc2 internal prototype to avoid an error. */ |
11808 /* We use char because int might match the return type of a gcc2 | 11856 /* We use char because int might match the return type of a gcc2 |
11809 builtin and then its argument prototype would still apply. */ | 11857 builtin and then its argument prototype would still apply. */ |
11810 char dlopen(); | 11858 char dlopen(); |
11811 | 11859 |
11812 int main() { | 11860 int main() { |
11813 dlopen() | 11861 dlopen() |
11814 ; return 0; } | 11862 ; return 0; } |
11815 EOF | 11863 EOF |
11816 if { (eval echo configure:11817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11864 if { (eval echo configure:11865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11817 rm -rf conftest* | 11865 rm -rf conftest* |
11818 eval "ac_cv_lib_$ac_lib_var=yes" | 11866 eval "ac_cv_lib_$ac_lib_var=yes" |
11819 else | 11867 else |
11820 echo "configure: failed program was:" >&5 | 11868 echo "configure: failed program was:" >&5 |
11821 cat conftest.$ac_ext >&5 | 11869 cat conftest.$ac_ext >&5 |
11840 fi | 11888 fi |
11841 | 11889 |
11842 } | 11890 } |
11843 test -z "$with_shlib" && { | 11891 test -z "$with_shlib" && { |
11844 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11892 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11845 echo "configure:11846: checking for shl_load in -ldld" >&5 | 11893 echo "configure:11894: checking for shl_load in -ldld" >&5 |
11846 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11894 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11847 | 11895 |
11848 xe_check_libs=" -ldld " | 11896 xe_check_libs=" -ldld " |
11849 cat > conftest.$ac_ext <<EOF | 11897 cat > conftest.$ac_ext <<EOF |
11850 #line 11851 "configure" | 11898 #line 11899 "configure" |
11851 #include "confdefs.h" | 11899 #include "confdefs.h" |
11852 /* Override any gcc2 internal prototype to avoid an error. */ | 11900 /* Override any gcc2 internal prototype to avoid an error. */ |
11853 /* We use char because int might match the return type of a gcc2 | 11901 /* We use char because int might match the return type of a gcc2 |
11854 builtin and then its argument prototype would still apply. */ | 11902 builtin and then its argument prototype would still apply. */ |
11855 char shl_load(); | 11903 char shl_load(); |
11856 | 11904 |
11857 int main() { | 11905 int main() { |
11858 shl_load() | 11906 shl_load() |
11859 ; return 0; } | 11907 ; return 0; } |
11860 EOF | 11908 EOF |
11861 if { (eval echo configure:11862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11909 if { (eval echo configure:11910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11862 rm -rf conftest* | 11910 rm -rf conftest* |
11863 eval "ac_cv_lib_$ac_lib_var=yes" | 11911 eval "ac_cv_lib_$ac_lib_var=yes" |
11864 else | 11912 else |
11865 echo "configure: failed program was:" >&5 | 11913 echo "configure: failed program was:" >&5 |
11866 cat conftest.$ac_ext >&5 | 11914 cat conftest.$ac_ext >&5 |
11885 fi | 11933 fi |
11886 | 11934 |
11887 } | 11935 } |
11888 test -z "$with_shlib" && { | 11936 test -z "$with_shlib" && { |
11889 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11937 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11890 echo "configure:11891: checking for dld_init in -ldld" >&5 | 11938 echo "configure:11939: checking for dld_init in -ldld" >&5 |
11891 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11939 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11892 | 11940 |
11893 xe_check_libs=" -ldld " | 11941 xe_check_libs=" -ldld " |
11894 cat > conftest.$ac_ext <<EOF | 11942 cat > conftest.$ac_ext <<EOF |
11895 #line 11896 "configure" | 11943 #line 11944 "configure" |
11896 #include "confdefs.h" | 11944 #include "confdefs.h" |
11897 /* Override any gcc2 internal prototype to avoid an error. */ | 11945 /* Override any gcc2 internal prototype to avoid an error. */ |
11898 /* We use char because int might match the return type of a gcc2 | 11946 /* We use char because int might match the return type of a gcc2 |
11899 builtin and then its argument prototype would still apply. */ | 11947 builtin and then its argument prototype would still apply. */ |
11900 char dld_init(); | 11948 char dld_init(); |
11901 | 11949 |
11902 int main() { | 11950 int main() { |
11903 dld_init() | 11951 dld_init() |
11904 ; return 0; } | 11952 ; return 0; } |
11905 EOF | 11953 EOF |
11906 if { (eval echo configure:11907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11954 if { (eval echo configure:11955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11907 rm -rf conftest* | 11955 rm -rf conftest* |
11908 eval "ac_cv_lib_$ac_lib_var=yes" | 11956 eval "ac_cv_lib_$ac_lib_var=yes" |
11909 else | 11957 else |
11910 echo "configure: failed program was:" >&5 | 11958 echo "configure: failed program was:" >&5 |
11911 cat conftest.$ac_ext >&5 | 11959 cat conftest.$ac_ext >&5 |
11951 dll_lflags="-shared" | 11999 dll_lflags="-shared" |
11952 dll_cflags="-r" | 12000 dll_cflags="-r" |
11953 dll_oflags="-o " | 12001 dll_oflags="-o " |
11954 | 12002 |
11955 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 12003 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11956 echo "configure:11957: checking how to build a shared library" >&5 | 12004 echo "configure:12005: checking how to build a shared library" >&5 |
11957 case `uname -rs` in | 12005 case `uname -rs` in |
11958 UNIX_SV*|UNIX_System_V*) | 12006 UNIX_SV*|UNIX_System_V*) |
11959 dll_lflags="-G" | 12007 dll_lflags="-G" |
11960 dll_cflags=-Kpic | 12008 dll_cflags=-Kpic |
11961 dll_ld="ld" | 12009 dll_ld="ld" |
12042 | 12090 |
12043 | 12091 |
12044 for ac_func in dlerror | 12092 for ac_func in dlerror |
12045 do | 12093 do |
12046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12094 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12047 echo "configure:12048: checking for $ac_func" >&5 | 12095 echo "configure:12096: checking for $ac_func" >&5 |
12048 | 12096 |
12049 cat > conftest.$ac_ext <<EOF | 12097 cat > conftest.$ac_ext <<EOF |
12050 #line 12051 "configure" | 12098 #line 12099 "configure" |
12051 #include "confdefs.h" | 12099 #include "confdefs.h" |
12052 /* System header to define __stub macros and hopefully few prototypes, | 12100 /* System header to define __stub macros and hopefully few prototypes, |
12053 which can conflict with char $ac_func(); below. */ | 12101 which can conflict with char $ac_func(); below. */ |
12054 #include <assert.h> | 12102 #include <assert.h> |
12055 /* Override any gcc2 internal prototype to avoid an error. */ | 12103 /* Override any gcc2 internal prototype to avoid an error. */ |
12068 $ac_func(); | 12116 $ac_func(); |
12069 #endif | 12117 #endif |
12070 | 12118 |
12071 ; return 0; } | 12119 ; return 0; } |
12072 EOF | 12120 EOF |
12073 if { (eval echo configure:12074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12121 if { (eval echo configure:12122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12074 rm -rf conftest* | 12122 rm -rf conftest* |
12075 eval "ac_cv_func_$ac_func=yes" | 12123 eval "ac_cv_func_$ac_func=yes" |
12076 else | 12124 else |
12077 echo "configure: failed program was:" >&5 | 12125 echo "configure: failed program was:" >&5 |
12078 cat conftest.$ac_ext >&5 | 12126 cat conftest.$ac_ext >&5 |
12104 *) ;; | 12152 *) ;; |
12105 esac | 12153 esac |
12106 fi | 12154 fi |
12107 | 12155 |
12108 cat > conftest.$ac_ext <<EOF | 12156 cat > conftest.$ac_ext <<EOF |
12109 #line 12110 "configure" | 12157 #line 12158 "configure" |
12110 #include "confdefs.h" | 12158 #include "confdefs.h" |
12111 int main(int c,char *v[]){return 0;} | 12159 int main(int c,char *v[]){return 0;} |
12112 EOF | 12160 EOF |
12113 if { (eval echo configure:12114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12161 if { (eval echo configure:12162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12114 then | 12162 then |
12115 : | 12163 : |
12116 else | 12164 else |
12117 conftest_rc="$?" | 12165 conftest_rc="$?" |
12118 echo "configure: failed program was:" >&5 | 12166 echo "configure: failed program was:" >&5 |