Mercurial > hg > xemacs-beta
comparison configure @ 1454:38d0f093d818
[xemacs-hg @ 2003-05-04 01:04:36 by youngs]
2003-05-04 Steve Youngs <youngs@xemacs.org>
* configure: Regenerate.
2003-05-04 Martin Buchholz <martin@xemacs.org>
* configure.in: Don't look for Motif if it's already present in
$x_includes and $x_libraries.
author | youngs |
---|---|
date | Sun, 04 May 2003 01:04:41 +0000 |
parents | dd63b61df78c |
children | c5da5c66fea7 |
comparison
equal
deleted
inserted
replaced
1453:908cd1ff6104 | 1454:38d0f093d818 |
---|---|
6502 } | 6502 } |
6503 | 6503 |
6504 MAKE_SUBDIR="$MAKE_SUBDIR lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$MAKE_SUBDIR"; fi | 6504 MAKE_SUBDIR="$MAKE_SUBDIR lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$MAKE_SUBDIR"; fi |
6505 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6505 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6506 | 6506 |
6507 for lib_dir in "/usr/dt/lib" "/usr/lib/Motif2.1" "/usr/lib/Motif1.2" "/usr/lib/Motif1.1"; do | 6507 |
6508 inc_dir=`echo $lib_dir | sed -e 's/lib/include/'` | 6508 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6509 if test -d "$lib_dir" -a -d "$inc_dir"; then | 6509 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6510 case "$x_libraries" in *"$lib_dir"* ) ;; *) | 6510 echo "configure:6511: checking for Xm/Xm.h" >&5 |
6511 x_libraries="$lib_dir $x_libraries" | 6511 |
6512 X_LIBS="-L${lib_dir} $X_LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-L${lib_dir}\" to \$X_LIBS"; fi ;; | 6512 cat > conftest.$ac_ext <<EOF |
6513 esac | 6513 #line 6514 "configure" |
6514 case "$x_includes" in "$inc_dir"* ) ;; *) | 6514 #include "confdefs.h" |
6515 x_includes="$inc_dir $x_includes" | 6515 #include <Xm/Xm.h> |
6516 X_CFLAGS="-I${inc_dir} $X_CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-I${inc_dir}\" to \$X_CFLAGS"; fi ;; | 6516 EOF |
6517 esac | 6517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6518 break; fi | 6518 { (eval echo configure:6519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6519 done | 6519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6520 if test -z "$ac_err"; then | |
6521 rm -rf conftest* | |
6522 eval "ac_cv_header_$ac_safe=yes" | |
6523 else | |
6524 echo "$ac_err" >&5 | |
6525 echo "configure: failed program was:" >&5 | |
6526 cat conftest.$ac_ext >&5 | |
6527 rm -rf conftest* | |
6528 eval "ac_cv_header_$ac_safe=no" | |
6529 fi | |
6530 rm -f conftest* | |
6531 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
6532 echo "$ac_t""yes" 1>&6 | |
6533 | |
6534 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | |
6535 echo "configure:6536: checking for XmStringFree in -lXm" >&5 | |
6536 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | |
6537 | |
6538 xe_check_libs=" -lXm " | |
6539 cat > conftest.$ac_ext <<EOF | |
6540 #line 6541 "configure" | |
6541 #include "confdefs.h" | |
6542 /* Override any gcc2 internal prototype to avoid an error. */ | |
6543 /* We use char because int might match the return type of a gcc2 | |
6544 builtin and then its argument prototype would still apply. */ | |
6545 char XmStringFree(); | |
6546 | |
6547 int main() { | |
6548 XmStringFree() | |
6549 ; return 0; } | |
6550 EOF | |
6551 if { (eval echo configure:6552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
6552 rm -rf conftest* | |
6553 eval "ac_cv_lib_$ac_lib_var=yes" | |
6554 else | |
6555 echo "configure: failed program was:" >&5 | |
6556 cat conftest.$ac_ext >&5 | |
6557 rm -rf conftest* | |
6558 eval "ac_cv_lib_$ac_lib_var=no" | |
6559 fi | |
6560 rm -f conftest* | |
6561 xe_check_libs="" | |
6562 | |
6563 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
6564 echo "$ac_t""yes" 1>&6 | |
6565 got_motif=yes | |
6566 else | |
6567 echo "$ac_t""no" 1>&6 | |
6568 fi | |
6569 | |
6570 | |
6571 else | |
6572 echo "$ac_t""no" 1>&6 | |
6573 fi | |
6574 | |
6575 | |
6576 if test "$got_motif" != "yes"; then | |
6577 for lib_dir in "/usr/dt/lib" "/usr/lib/Motif2.1" \ | |
6578 "/usr/lib/Motif1.2" "/usr/lib/Motif1.1"; do | |
6579 inc_dir=`echo $lib_dir | sed -e 's/lib/include/'` | |
6580 if test -d "$lib_dir" -a -d "$inc_dir"; then | |
6581 case "$x_libraries" in *"$lib_dir"* ) ;; *) | |
6582 x_libraries="$lib_dir $x_libraries" | |
6583 X_LIBS="-L${lib_dir} $X_LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-L${lib_dir}\" to \$X_LIBS"; fi ;; | |
6584 esac | |
6585 case "$x_includes" in "$inc_dir"* ) ;; *) | |
6586 x_includes="$inc_dir $x_includes" | |
6587 X_CFLAGS="-I${inc_dir} $X_CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-I${inc_dir}\" to \$X_CFLAGS"; fi ;; | |
6588 esac | |
6589 break; fi | |
6590 done | |
6591 fi | |
6520 | 6592 |
6521 for rel in "X11R6" "X11R5" "X11R4"; do | 6593 for rel in "X11R6" "X11R5" "X11R4"; do |
6522 lib_dir="/usr/contrib/$rel/lib" inc_dir="/usr/contrib/$rel/include" | 6594 lib_dir="/usr/contrib/$rel/lib" inc_dir="/usr/contrib/$rel/include" |
6523 if test -d "$lib_dir" -a -d "$inc_dir"; then | 6595 if test -d "$lib_dir" -a -d "$inc_dir"; then |
6524 case "$x_libraries" in *"$lib_dir"* ) ;; *) | 6596 case "$x_libraries" in *"$lib_dir"* ) ;; *) |
6626 EOF | 6698 EOF |
6627 } | 6699 } |
6628 | 6700 |
6629 | 6701 |
6630 echo "checking for X defines extracted by xmkmf" 1>&6 | 6702 echo "checking for X defines extracted by xmkmf" 1>&6 |
6631 echo "configure:6632: checking for X defines extracted by xmkmf" >&5 | 6703 echo "configure:6704: checking for X defines extracted by xmkmf" >&5 |
6632 rm -fr conftestdir | 6704 rm -fr conftestdir |
6633 if mkdir conftestdir; then | 6705 if mkdir conftestdir; then |
6634 cd conftestdir | 6706 cd conftestdir |
6635 cat > Imakefile <<'EOF' | 6707 cat > Imakefile <<'EOF' |
6636 xetest: | 6708 xetest: |
6675 done | 6747 done |
6676 fi | 6748 fi |
6677 | 6749 |
6678 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6750 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6679 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6751 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6680 echo "configure:6681: checking for X11/Intrinsic.h" >&5 | 6752 echo "configure:6753: checking for X11/Intrinsic.h" >&5 |
6681 | 6753 |
6682 cat > conftest.$ac_ext <<EOF | 6754 cat > conftest.$ac_ext <<EOF |
6683 #line 6684 "configure" | 6755 #line 6756 "configure" |
6684 #include "confdefs.h" | 6756 #include "confdefs.h" |
6685 #include <X11/Intrinsic.h> | 6757 #include <X11/Intrinsic.h> |
6686 EOF | 6758 EOF |
6687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6759 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6688 { (eval echo configure:6689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6760 { (eval echo configure:6761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6761 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6690 if test -z "$ac_err"; then | 6762 if test -z "$ac_err"; then |
6691 rm -rf conftest* | 6763 rm -rf conftest* |
6692 eval "ac_cv_header_$ac_safe=yes" | 6764 eval "ac_cv_header_$ac_safe=yes" |
6693 else | 6765 else |
6707 fi | 6779 fi |
6708 | 6780 |
6709 | 6781 |
6710 | 6782 |
6711 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6783 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6712 echo "configure:6713: checking for XOpenDisplay in -lX11" >&5 | 6784 echo "configure:6785: checking for XOpenDisplay in -lX11" >&5 |
6713 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6785 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6714 | 6786 |
6715 xe_check_libs=" -lX11 " | 6787 xe_check_libs=" -lX11 " |
6716 cat > conftest.$ac_ext <<EOF | 6788 cat > conftest.$ac_ext <<EOF |
6717 #line 6718 "configure" | 6789 #line 6790 "configure" |
6718 #include "confdefs.h" | 6790 #include "confdefs.h" |
6719 /* Override any gcc2 internal prototype to avoid an error. */ | 6791 /* Override any gcc2 internal prototype to avoid an error. */ |
6720 /* 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 |
6721 builtin and then its argument prototype would still apply. */ | 6793 builtin and then its argument prototype would still apply. */ |
6722 char XOpenDisplay(); | 6794 char XOpenDisplay(); |
6723 | 6795 |
6724 int main() { | 6796 int main() { |
6725 XOpenDisplay() | 6797 XOpenDisplay() |
6726 ; return 0; } | 6798 ; return 0; } |
6727 EOF | 6799 EOF |
6728 if { (eval echo configure:6729: \"$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 |
6729 rm -rf conftest* | 6801 rm -rf conftest* |
6730 eval "ac_cv_lib_$ac_lib_var=yes" | 6802 eval "ac_cv_lib_$ac_lib_var=yes" |
6731 else | 6803 else |
6732 echo "configure: failed program was:" >&5 | 6804 echo "configure: failed program was:" >&5 |
6733 cat conftest.$ac_ext >&5 | 6805 cat conftest.$ac_ext >&5 |
6748 if test "$have_lib_x11" != "yes"; then | 6820 if test "$have_lib_x11" != "yes"; then |
6749 | 6821 |
6750 xe_msg_checking="for XGetFontProperty in -lX11" | 6822 xe_msg_checking="for XGetFontProperty in -lX11" |
6751 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6823 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6752 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6824 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6753 echo "configure:6754: checking "$xe_msg_checking"" >&5 | 6825 echo "configure:6826: checking "$xe_msg_checking"" >&5 |
6754 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6826 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6755 | 6827 |
6756 xe_check_libs=" -lX11 -b i486-linuxaout" | 6828 xe_check_libs=" -lX11 -b i486-linuxaout" |
6757 cat > conftest.$ac_ext <<EOF | 6829 cat > conftest.$ac_ext <<EOF |
6758 #line 6759 "configure" | 6830 #line 6831 "configure" |
6759 #include "confdefs.h" | 6831 #include "confdefs.h" |
6760 /* Override any gcc2 internal prototype to avoid an error. */ | 6832 /* Override any gcc2 internal prototype to avoid an error. */ |
6761 /* We use char because int might match the return type of a gcc2 | 6833 /* We use char because int might match the return type of a gcc2 |
6762 builtin and then its argument prototype would still apply. */ | 6834 builtin and then its argument prototype would still apply. */ |
6763 char XGetFontProperty(); | 6835 char XGetFontProperty(); |
6764 | 6836 |
6765 int main() { | 6837 int main() { |
6766 XGetFontProperty() | 6838 XGetFontProperty() |
6767 ; return 0; } | 6839 ; return 0; } |
6768 EOF | 6840 EOF |
6769 if { (eval echo configure:6770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6841 if { (eval echo configure:6842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6770 rm -rf conftest* | 6842 rm -rf conftest* |
6771 eval "ac_cv_lib_$ac_lib_var=yes" | 6843 eval "ac_cv_lib_$ac_lib_var=yes" |
6772 else | 6844 else |
6773 echo "configure: failed program was:" >&5 | 6845 echo "configure: failed program was:" >&5 |
6774 cat conftest.$ac_ext >&5 | 6846 cat conftest.$ac_ext >&5 |
6791 libs_x="-lX11" | 6863 libs_x="-lX11" |
6792 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6864 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6793 | 6865 |
6794 | 6866 |
6795 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6867 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6796 echo "configure:6797: checking for XShapeSelectInput in -lXext" >&5 | 6868 echo "configure:6869: checking for XShapeSelectInput in -lXext" >&5 |
6797 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6869 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6798 | 6870 |
6799 xe_check_libs=" -lXext " | 6871 xe_check_libs=" -lXext " |
6800 cat > conftest.$ac_ext <<EOF | 6872 cat > conftest.$ac_ext <<EOF |
6801 #line 6802 "configure" | 6873 #line 6874 "configure" |
6802 #include "confdefs.h" | 6874 #include "confdefs.h" |
6803 /* Override any gcc2 internal prototype to avoid an error. */ | 6875 /* Override any gcc2 internal prototype to avoid an error. */ |
6804 /* We use char because int might match the return type of a gcc2 | 6876 /* We use char because int might match the return type of a gcc2 |
6805 builtin and then its argument prototype would still apply. */ | 6877 builtin and then its argument prototype would still apply. */ |
6806 char XShapeSelectInput(); | 6878 char XShapeSelectInput(); |
6807 | 6879 |
6808 int main() { | 6880 int main() { |
6809 XShapeSelectInput() | 6881 XShapeSelectInput() |
6810 ; return 0; } | 6882 ; return 0; } |
6811 EOF | 6883 EOF |
6812 if { (eval echo configure:6813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6884 if { (eval echo configure:6885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6813 rm -rf conftest* | 6885 rm -rf conftest* |
6814 eval "ac_cv_lib_$ac_lib_var=yes" | 6886 eval "ac_cv_lib_$ac_lib_var=yes" |
6815 else | 6887 else |
6816 echo "configure: failed program was:" >&5 | 6888 echo "configure: failed program was:" >&5 |
6817 cat conftest.$ac_ext >&5 | 6889 cat conftest.$ac_ext >&5 |
6830 | 6902 |
6831 | 6903 |
6832 | 6904 |
6833 | 6905 |
6834 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6906 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6835 echo "configure:6836: checking for XtOpenDisplay in -lXt" >&5 | 6907 echo "configure:6908: checking for XtOpenDisplay in -lXt" >&5 |
6836 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6908 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6837 | 6909 |
6838 xe_check_libs=" -lXt " | 6910 xe_check_libs=" -lXt " |
6839 cat > conftest.$ac_ext <<EOF | 6911 cat > conftest.$ac_ext <<EOF |
6840 #line 6841 "configure" | 6912 #line 6913 "configure" |
6841 #include "confdefs.h" | 6913 #include "confdefs.h" |
6842 /* Override any gcc2 internal prototype to avoid an error. */ | 6914 /* Override any gcc2 internal prototype to avoid an error. */ |
6843 /* We use char because int might match the return type of a gcc2 | 6915 /* We use char because int might match the return type of a gcc2 |
6844 builtin and then its argument prototype would still apply. */ | 6916 builtin and then its argument prototype would still apply. */ |
6845 char XtOpenDisplay(); | 6917 char XtOpenDisplay(); |
6846 | 6918 |
6847 int main() { | 6919 int main() { |
6848 XtOpenDisplay() | 6920 XtOpenDisplay() |
6849 ; return 0; } | 6921 ; return 0; } |
6850 EOF | 6922 EOF |
6851 if { (eval echo configure:6852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6923 if { (eval echo configure:6924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6852 rm -rf conftest* | 6924 rm -rf conftest* |
6853 eval "ac_cv_lib_$ac_lib_var=yes" | 6925 eval "ac_cv_lib_$ac_lib_var=yes" |
6854 else | 6926 else |
6855 echo "configure: failed program was:" >&5 | 6927 echo "configure: failed program was:" >&5 |
6856 cat conftest.$ac_ext >&5 | 6928 cat conftest.$ac_ext >&5 |
6869 fi | 6941 fi |
6870 | 6942 |
6871 | 6943 |
6872 | 6944 |
6873 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6945 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6874 echo "configure:6875: checking the version of X11 being used" >&5 | 6946 echo "configure:6947: checking the version of X11 being used" >&5 |
6875 cat > conftest.$ac_ext <<EOF | 6947 cat > conftest.$ac_ext <<EOF |
6876 #line 6877 "configure" | 6948 #line 6949 "configure" |
6877 #include "confdefs.h" | 6949 #include "confdefs.h" |
6878 #include <X11/Intrinsic.h> | 6950 #include <X11/Intrinsic.h> |
6879 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6951 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6880 EOF | 6952 EOF |
6881 if { (eval echo configure:6882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6953 if { (eval echo configure:6954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6882 then | 6954 then |
6883 ./conftest foobar; x11_release=$? | 6955 ./conftest foobar; x11_release=$? |
6884 else | 6956 else |
6885 conftest_rc="$?" | 6957 conftest_rc="$?" |
6886 echo "configure: failed program was:" >&5 | 6958 echo "configure: failed program was:" >&5 |
6907 fi | 6979 fi |
6908 | 6980 |
6909 for ac_func in XConvertCase | 6981 for ac_func in XConvertCase |
6910 do | 6982 do |
6911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6912 echo "configure:6913: checking for $ac_func" >&5 | 6984 echo "configure:6985: checking for $ac_func" >&5 |
6913 | 6985 |
6914 cat > conftest.$ac_ext <<EOF | 6986 cat > conftest.$ac_ext <<EOF |
6915 #line 6916 "configure" | 6987 #line 6988 "configure" |
6916 #include "confdefs.h" | 6988 #include "confdefs.h" |
6917 /* System header to define __stub macros and hopefully few prototypes, | 6989 /* System header to define __stub macros and hopefully few prototypes, |
6918 which can conflict with char $ac_func(); below. */ | 6990 which can conflict with char $ac_func(); below. */ |
6919 #include <assert.h> | 6991 #include <assert.h> |
6920 /* Override any gcc2 internal prototype to avoid an error. */ | 6992 /* Override any gcc2 internal prototype to avoid an error. */ |
6933 $ac_func(); | 7005 $ac_func(); |
6934 #endif | 7006 #endif |
6935 | 7007 |
6936 ; return 0; } | 7008 ; return 0; } |
6937 EOF | 7009 EOF |
6938 if { (eval echo configure:6939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7010 if { (eval echo configure:7011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6939 rm -rf conftest* | 7011 rm -rf conftest* |
6940 eval "ac_cv_func_$ac_func=yes" | 7012 eval "ac_cv_func_$ac_func=yes" |
6941 else | 7013 else |
6942 echo "configure: failed program was:" >&5 | 7014 echo "configure: failed program was:" >&5 |
6943 cat conftest.$ac_ext >&5 | 7015 cat conftest.$ac_ext >&5 |
6965 | 7037 |
6966 for ac_hdr in X11/Xlocale.h | 7038 for ac_hdr in X11/Xlocale.h |
6967 do | 7039 do |
6968 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7040 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6969 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7041 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6970 echo "configure:6971: checking for $ac_hdr" >&5 | 7042 echo "configure:7043: checking for $ac_hdr" >&5 |
6971 | 7043 |
6972 cat > conftest.$ac_ext <<EOF | 7044 cat > conftest.$ac_ext <<EOF |
6973 #line 6974 "configure" | 7045 #line 7046 "configure" |
6974 #include "confdefs.h" | 7046 #include "confdefs.h" |
6975 #include <$ac_hdr> | 7047 #include <$ac_hdr> |
6976 EOF | 7048 EOF |
6977 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6978 { (eval echo configure:6979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7050 { (eval echo configure:7051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6979 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6980 if test -z "$ac_err"; then | 7052 if test -z "$ac_err"; then |
6981 rm -rf conftest* | 7053 rm -rf conftest* |
6982 eval "ac_cv_header_$ac_safe=yes" | 7054 eval "ac_cv_header_$ac_safe=yes" |
6983 else | 7055 else |
7006 | 7078 |
7007 | 7079 |
7008 for ac_func in XRegisterIMInstantiateCallback | 7080 for ac_func in XRegisterIMInstantiateCallback |
7009 do | 7081 do |
7010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7011 echo "configure:7012: checking for $ac_func" >&5 | 7083 echo "configure:7084: checking for $ac_func" >&5 |
7012 | 7084 |
7013 cat > conftest.$ac_ext <<EOF | 7085 cat > conftest.$ac_ext <<EOF |
7014 #line 7015 "configure" | 7086 #line 7087 "configure" |
7015 #include "confdefs.h" | 7087 #include "confdefs.h" |
7016 /* System header to define __stub macros and hopefully few prototypes, | 7088 /* System header to define __stub macros and hopefully few prototypes, |
7017 which can conflict with char $ac_func(); below. */ | 7089 which can conflict with char $ac_func(); below. */ |
7018 #include <assert.h> | 7090 #include <assert.h> |
7019 /* Override any gcc2 internal prototype to avoid an error. */ | 7091 /* Override any gcc2 internal prototype to avoid an error. */ |
7032 $ac_func(); | 7104 $ac_func(); |
7033 #endif | 7105 #endif |
7034 | 7106 |
7035 ; return 0; } | 7107 ; return 0; } |
7036 EOF | 7108 EOF |
7037 if { (eval echo configure:7038: \"$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 |
7038 rm -rf conftest* | 7110 rm -rf conftest* |
7039 eval "ac_cv_func_$ac_func=yes" | 7111 eval "ac_cv_func_$ac_func=yes" |
7040 else | 7112 else |
7041 echo "configure: failed program was:" >&5 | 7113 echo "configure: failed program was:" >&5 |
7042 cat conftest.$ac_ext >&5 | 7114 cat conftest.$ac_ext >&5 |
7060 echo "$ac_t""no" 1>&6 | 7132 echo "$ac_t""no" 1>&6 |
7061 fi | 7133 fi |
7062 done | 7134 done |
7063 | 7135 |
7064 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7136 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7065 echo "configure:7066: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7137 echo "configure:7138: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7066 cat > conftest.$ac_ext <<EOF | 7138 cat > conftest.$ac_ext <<EOF |
7067 #line 7068 "configure" | 7139 #line 7140 "configure" |
7068 #include "confdefs.h" | 7140 #include "confdefs.h" |
7069 | 7141 |
7070 #define NeedFunctionPrototypes 1 | 7142 #define NeedFunctionPrototypes 1 |
7071 #include <X11/Xlib.h> | 7143 #include <X11/Xlib.h> |
7072 extern Bool XRegisterIMInstantiateCallback( | 7144 extern Bool XRegisterIMInstantiateCallback( |
7074 | 7146 |
7075 int main() { | 7147 int main() { |
7076 | 7148 |
7077 ; return 0; } | 7149 ; return 0; } |
7078 EOF | 7150 EOF |
7079 if { (eval echo configure:7080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7151 if { (eval echo configure:7152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7080 rm -rf conftest* | 7152 rm -rf conftest* |
7081 echo "$ac_t""yes" 1>&6 | 7153 echo "$ac_t""yes" 1>&6 |
7082 else | 7154 else |
7083 echo "configure: failed program was:" >&5 | 7155 echo "configure: failed program was:" >&5 |
7084 cat conftest.$ac_ext >&5 | 7156 cat conftest.$ac_ext >&5 |
7095 fi | 7167 fi |
7096 rm -f conftest* | 7168 rm -f conftest* |
7097 | 7169 |
7098 test -z "$with_xmu" && { | 7170 test -z "$with_xmu" && { |
7099 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7171 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7100 echo "configure:7101: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7172 echo "configure:7173: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7101 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7173 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7102 | 7174 |
7103 xe_check_libs=" -lXmu " | 7175 xe_check_libs=" -lXmu " |
7104 cat > conftest.$ac_ext <<EOF | 7176 cat > conftest.$ac_ext <<EOF |
7105 #line 7106 "configure" | 7177 #line 7178 "configure" |
7106 #include "confdefs.h" | 7178 #include "confdefs.h" |
7107 /* Override any gcc2 internal prototype to avoid an error. */ | 7179 /* Override any gcc2 internal prototype to avoid an error. */ |
7108 /* We use char because int might match the return type of a gcc2 | 7180 /* We use char because int might match the return type of a gcc2 |
7109 builtin and then its argument prototype would still apply. */ | 7181 builtin and then its argument prototype would still apply. */ |
7110 char XmuReadBitmapDataFromFile(); | 7182 char XmuReadBitmapDataFromFile(); |
7111 | 7183 |
7112 int main() { | 7184 int main() { |
7113 XmuReadBitmapDataFromFile() | 7185 XmuReadBitmapDataFromFile() |
7114 ; return 0; } | 7186 ; return 0; } |
7115 EOF | 7187 EOF |
7116 if { (eval echo configure:7117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7188 if { (eval echo configure:7189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7117 rm -rf conftest* | 7189 rm -rf conftest* |
7118 eval "ac_cv_lib_$ac_lib_var=yes" | 7190 eval "ac_cv_lib_$ac_lib_var=yes" |
7119 else | 7191 else |
7120 echo "configure: failed program was:" >&5 | 7192 echo "configure: failed program was:" >&5 |
7121 cat conftest.$ac_ext >&5 | 7193 cat conftest.$ac_ext >&5 |
7150 | 7222 |
7151 fi | 7223 fi |
7152 | 7224 |
7153 | 7225 |
7154 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7226 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7155 echo "configure:7156: checking for main in -lXbsd" >&5 | 7227 echo "configure:7228: checking for main in -lXbsd" >&5 |
7156 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7228 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7157 | 7229 |
7158 xe_check_libs=" -lXbsd " | 7230 xe_check_libs=" -lXbsd " |
7159 cat > conftest.$ac_ext <<EOF | 7231 cat > conftest.$ac_ext <<EOF |
7160 #line 7161 "configure" | 7232 #line 7233 "configure" |
7161 #include "confdefs.h" | 7233 #include "confdefs.h" |
7162 | 7234 |
7163 int main() { | 7235 int main() { |
7164 main() | 7236 main() |
7165 ; return 0; } | 7237 ; return 0; } |
7166 EOF | 7238 EOF |
7167 if { (eval echo configure:7168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7239 if { (eval echo configure:7240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7168 rm -rf conftest* | 7240 rm -rf conftest* |
7169 eval "ac_cv_lib_$ac_lib_var=yes" | 7241 eval "ac_cv_lib_$ac_lib_var=yes" |
7170 else | 7242 else |
7171 echo "configure: failed program was:" >&5 | 7243 echo "configure: failed program was:" >&5 |
7172 cat conftest.$ac_ext >&5 | 7244 cat conftest.$ac_ext >&5 |
7199 fi | 7271 fi |
7200 | 7272 |
7201 fi | 7273 fi |
7202 if test "$with_msw" != "no"; then | 7274 if test "$with_msw" != "no"; then |
7203 echo "checking for MS-Windows" 1>&6 | 7275 echo "checking for MS-Windows" 1>&6 |
7204 echo "configure:7205: checking for MS-Windows" >&5 | 7276 echo "configure:7277: checking for MS-Windows" >&5 |
7205 | 7277 |
7206 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7278 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7207 echo "configure:7208: checking for main in -lgdi32" >&5 | 7279 echo "configure:7280: checking for main in -lgdi32" >&5 |
7208 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7280 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7209 | 7281 |
7210 xe_check_libs=" -lgdi32 " | 7282 xe_check_libs=" -lgdi32 " |
7211 cat > conftest.$ac_ext <<EOF | 7283 cat > conftest.$ac_ext <<EOF |
7212 #line 7213 "configure" | 7284 #line 7285 "configure" |
7213 #include "confdefs.h" | 7285 #include "confdefs.h" |
7214 | 7286 |
7215 int main() { | 7287 int main() { |
7216 main() | 7288 main() |
7217 ; return 0; } | 7289 ; return 0; } |
7218 EOF | 7290 EOF |
7219 if { (eval echo configure:7220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7291 if { (eval echo configure:7292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7220 rm -rf conftest* | 7292 rm -rf conftest* |
7221 eval "ac_cv_lib_$ac_lib_var=yes" | 7293 eval "ac_cv_lib_$ac_lib_var=yes" |
7222 else | 7294 else |
7223 echo "configure: failed program was:" >&5 | 7295 echo "configure: failed program was:" >&5 |
7224 cat conftest.$ac_ext >&5 | 7296 cat conftest.$ac_ext >&5 |
7265 test "$with_toolbars" != "no" && with_toolbars=msw | 7337 test "$with_toolbars" != "no" && with_toolbars=msw |
7266 test "$with_dialogs" != "no" && with_dialogs=msw | 7338 test "$with_dialogs" != "no" && with_dialogs=msw |
7267 test "$with_widgets" != "no" && with_widgets=msw | 7339 test "$with_widgets" != "no" && with_widgets=msw |
7268 fi | 7340 fi |
7269 cat > conftest.$ac_ext <<EOF | 7341 cat > conftest.$ac_ext <<EOF |
7270 #line 7271 "configure" | 7342 #line 7343 "configure" |
7271 #include "confdefs.h" | 7343 #include "confdefs.h" |
7272 #include <fcntl.h> | 7344 #include <fcntl.h> |
7273 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7345 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7274 EOF | 7346 EOF |
7275 if { (eval echo configure:7276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7347 if { (eval echo configure:7348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7276 then | 7348 then |
7277 { test "$extra_verbose" = "yes" && cat << \EOF | 7349 { test "$extra_verbose" = "yes" && cat << \EOF |
7278 Defining HAVE_MSG_SELECT | 7350 Defining HAVE_MSG_SELECT |
7279 EOF | 7351 EOF |
7280 cat >> confdefs.h <<\EOF | 7352 cat >> confdefs.h <<\EOF |
7331 fi | 7403 fi |
7332 | 7404 |
7333 if test "$with_x11" = "yes"; then | 7405 if test "$with_x11" = "yes"; then |
7334 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7406 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7335 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7407 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7336 echo "configure:7337: checking for X11/extensions/shape.h" >&5 | 7408 echo "configure:7409: checking for X11/extensions/shape.h" >&5 |
7337 | 7409 |
7338 cat > conftest.$ac_ext <<EOF | 7410 cat > conftest.$ac_ext <<EOF |
7339 #line 7340 "configure" | 7411 #line 7412 "configure" |
7340 #include "confdefs.h" | 7412 #include "confdefs.h" |
7341 #include <X11/extensions/shape.h> | 7413 #include <X11/extensions/shape.h> |
7342 EOF | 7414 EOF |
7343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7344 { (eval echo configure:7345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7416 { (eval echo configure:7417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7346 if test -z "$ac_err"; then | 7418 if test -z "$ac_err"; then |
7347 rm -rf conftest* | 7419 rm -rf conftest* |
7348 eval "ac_cv_header_$ac_safe=yes" | 7420 eval "ac_cv_header_$ac_safe=yes" |
7349 else | 7421 else |
7389 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7461 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7390 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7462 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7391 esac | 7463 esac |
7392 | 7464 |
7393 echo "checking for WM_COMMAND option" 1>&6 | 7465 echo "checking for WM_COMMAND option" 1>&6 |
7394 echo "configure:7395: checking for WM_COMMAND option" >&5; | 7466 echo "configure:7467: checking for WM_COMMAND option" >&5; |
7395 if test "$with_wmcommand" != "no"; then | 7467 if test "$with_wmcommand" != "no"; then |
7396 { test "$extra_verbose" = "yes" && cat << \EOF | 7468 { test "$extra_verbose" = "yes" && cat << \EOF |
7397 Defining HAVE_WMCOMMAND | 7469 Defining HAVE_WMCOMMAND |
7398 EOF | 7470 EOF |
7399 cat >> confdefs.h <<\EOF | 7471 cat >> confdefs.h <<\EOF |
7404 fi | 7476 fi |
7405 | 7477 |
7406 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7478 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7407 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7479 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7408 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7480 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7409 echo "configure:7410: checking for X11/Xauth.h" >&5 | 7481 echo "configure:7482: checking for X11/Xauth.h" >&5 |
7410 | 7482 |
7411 cat > conftest.$ac_ext <<EOF | 7483 cat > conftest.$ac_ext <<EOF |
7412 #line 7413 "configure" | 7484 #line 7485 "configure" |
7413 #include "confdefs.h" | 7485 #include "confdefs.h" |
7414 #include <X11/Xauth.h> | 7486 #include <X11/Xauth.h> |
7415 EOF | 7487 EOF |
7416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7488 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7417 { (eval echo configure:7418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7489 { (eval echo configure:7490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7490 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7419 if test -z "$ac_err"; then | 7491 if test -z "$ac_err"; then |
7420 rm -rf conftest* | 7492 rm -rf conftest* |
7421 eval "ac_cv_header_$ac_safe=yes" | 7493 eval "ac_cv_header_$ac_safe=yes" |
7422 else | 7494 else |
7435 with_xauth=no | 7507 with_xauth=no |
7436 fi | 7508 fi |
7437 } | 7509 } |
7438 test -z "$with_xauth" && { | 7510 test -z "$with_xauth" && { |
7439 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7511 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7440 echo "configure:7441: checking for XauGetAuthByAddr in -lXau" >&5 | 7512 echo "configure:7513: checking for XauGetAuthByAddr in -lXau" >&5 |
7441 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7513 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7442 | 7514 |
7443 xe_check_libs=" -lXau " | 7515 xe_check_libs=" -lXau " |
7444 cat > conftest.$ac_ext <<EOF | 7516 cat > conftest.$ac_ext <<EOF |
7445 #line 7446 "configure" | 7517 #line 7518 "configure" |
7446 #include "confdefs.h" | 7518 #include "confdefs.h" |
7447 /* Override any gcc2 internal prototype to avoid an error. */ | 7519 /* Override any gcc2 internal prototype to avoid an error. */ |
7448 /* We use char because int might match the return type of a gcc2 | 7520 /* We use char because int might match the return type of a gcc2 |
7449 builtin and then its argument prototype would still apply. */ | 7521 builtin and then its argument prototype would still apply. */ |
7450 char XauGetAuthByAddr(); | 7522 char XauGetAuthByAddr(); |
7451 | 7523 |
7452 int main() { | 7524 int main() { |
7453 XauGetAuthByAddr() | 7525 XauGetAuthByAddr() |
7454 ; return 0; } | 7526 ; return 0; } |
7455 EOF | 7527 EOF |
7456 if { (eval echo configure:7457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7528 if { (eval echo configure:7529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7457 rm -rf conftest* | 7529 rm -rf conftest* |
7458 eval "ac_cv_lib_$ac_lib_var=yes" | 7530 eval "ac_cv_lib_$ac_lib_var=yes" |
7459 else | 7531 else |
7460 echo "configure: failed program was:" >&5 | 7532 echo "configure: failed program was:" >&5 |
7461 cat conftest.$ac_ext >&5 | 7533 cat conftest.$ac_ext >&5 |
7501 | 7573 |
7502 if test "$with_tooltalk" != "no" ; then | 7574 if test "$with_tooltalk" != "no" ; then |
7503 for dir in "" "Tt/" "desktop/" ; do | 7575 for dir in "" "Tt/" "desktop/" ; do |
7504 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7576 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7505 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7577 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7506 echo "configure:7507: checking for ${dir}tt_c.h" >&5 | 7578 echo "configure:7579: checking for ${dir}tt_c.h" >&5 |
7507 | 7579 |
7508 cat > conftest.$ac_ext <<EOF | 7580 cat > conftest.$ac_ext <<EOF |
7509 #line 7510 "configure" | 7581 #line 7582 "configure" |
7510 #include "confdefs.h" | 7582 #include "confdefs.h" |
7511 #include <${dir}tt_c.h> | 7583 #include <${dir}tt_c.h> |
7512 EOF | 7584 EOF |
7513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7514 { (eval echo configure:7515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7586 { (eval echo configure:7587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7516 if test -z "$ac_err"; then | 7588 if test -z "$ac_err"; then |
7517 rm -rf conftest* | 7589 rm -rf conftest* |
7518 eval "ac_cv_header_$ac_safe=yes" | 7590 eval "ac_cv_header_$ac_safe=yes" |
7519 else | 7591 else |
7545 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7617 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7546 | 7618 |
7547 xe_msg_checking="for tt_message_create in -ltt" | 7619 xe_msg_checking="for tt_message_create in -ltt" |
7548 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7620 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7549 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7621 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7550 echo "configure:7551: checking "$xe_msg_checking"" >&5 | 7622 echo "configure:7623: checking "$xe_msg_checking"" >&5 |
7551 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7623 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7552 | 7624 |
7553 xe_check_libs=" -ltt $extra_libs" | 7625 xe_check_libs=" -ltt $extra_libs" |
7554 cat > conftest.$ac_ext <<EOF | 7626 cat > conftest.$ac_ext <<EOF |
7555 #line 7556 "configure" | 7627 #line 7628 "configure" |
7556 #include "confdefs.h" | 7628 #include "confdefs.h" |
7557 /* Override any gcc2 internal prototype to avoid an error. */ | 7629 /* Override any gcc2 internal prototype to avoid an error. */ |
7558 /* We use char because int might match the return type of a gcc2 | 7630 /* We use char because int might match the return type of a gcc2 |
7559 builtin and then its argument prototype would still apply. */ | 7631 builtin and then its argument prototype would still apply. */ |
7560 char tt_message_create(); | 7632 char tt_message_create(); |
7561 | 7633 |
7562 int main() { | 7634 int main() { |
7563 tt_message_create() | 7635 tt_message_create() |
7564 ; return 0; } | 7636 ; return 0; } |
7565 EOF | 7637 EOF |
7566 if { (eval echo configure:7567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7638 if { (eval echo configure:7639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7567 rm -rf conftest* | 7639 rm -rf conftest* |
7568 eval "ac_cv_lib_$ac_lib_var=yes" | 7640 eval "ac_cv_lib_$ac_lib_var=yes" |
7569 else | 7641 else |
7570 echo "configure: failed program was:" >&5 | 7642 echo "configure: failed program was:" >&5 |
7571 cat conftest.$ac_ext >&5 | 7643 cat conftest.$ac_ext >&5 |
7615 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 7687 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
7616 fi | 7688 fi |
7617 | 7689 |
7618 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7690 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7619 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7691 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7620 echo "configure:7621: checking for Dt/Dt.h" >&5 | 7692 echo "configure:7693: checking for Dt/Dt.h" >&5 |
7621 | 7693 |
7622 cat > conftest.$ac_ext <<EOF | 7694 cat > conftest.$ac_ext <<EOF |
7623 #line 7624 "configure" | 7695 #line 7696 "configure" |
7624 #include "confdefs.h" | 7696 #include "confdefs.h" |
7625 #include <Dt/Dt.h> | 7697 #include <Dt/Dt.h> |
7626 EOF | 7698 EOF |
7627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7628 { (eval echo configure:7629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7700 { (eval echo configure:7701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7629 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7701 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7630 if test -z "$ac_err"; then | 7702 if test -z "$ac_err"; then |
7631 rm -rf conftest* | 7703 rm -rf conftest* |
7632 eval "ac_cv_header_$ac_safe=yes" | 7704 eval "ac_cv_header_$ac_safe=yes" |
7633 else | 7705 else |
7646 with_cde=no | 7718 with_cde=no |
7647 fi | 7719 fi |
7648 } | 7720 } |
7649 test -z "$with_cde" && { | 7721 test -z "$with_cde" && { |
7650 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7722 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7651 echo "configure:7652: checking for DtDndDragStart in -lDtSvc" >&5 | 7723 echo "configure:7724: checking for DtDndDragStart in -lDtSvc" >&5 |
7652 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7724 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7653 | 7725 |
7654 xe_check_libs=" -lDtSvc " | 7726 xe_check_libs=" -lDtSvc " |
7655 cat > conftest.$ac_ext <<EOF | 7727 cat > conftest.$ac_ext <<EOF |
7656 #line 7657 "configure" | 7728 #line 7729 "configure" |
7657 #include "confdefs.h" | 7729 #include "confdefs.h" |
7658 /* Override any gcc2 internal prototype to avoid an error. */ | 7730 /* Override any gcc2 internal prototype to avoid an error. */ |
7659 /* We use char because int might match the return type of a gcc2 | 7731 /* We use char because int might match the return type of a gcc2 |
7660 builtin and then its argument prototype would still apply. */ | 7732 builtin and then its argument prototype would still apply. */ |
7661 char DtDndDragStart(); | 7733 char DtDndDragStart(); |
7662 | 7734 |
7663 int main() { | 7735 int main() { |
7664 DtDndDragStart() | 7736 DtDndDragStart() |
7665 ; return 0; } | 7737 ; return 0; } |
7666 EOF | 7738 EOF |
7667 if { (eval echo configure:7668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7739 if { (eval echo configure:7740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7668 rm -rf conftest* | 7740 rm -rf conftest* |
7669 eval "ac_cv_lib_$ac_lib_var=yes" | 7741 eval "ac_cv_lib_$ac_lib_var=yes" |
7670 else | 7742 else |
7671 echo "configure: failed program was:" >&5 | 7743 echo "configure: failed program was:" >&5 |
7672 cat conftest.$ac_ext >&5 | 7744 cat conftest.$ac_ext >&5 |
7743 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7815 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7744 fi | 7816 fi |
7745 | 7817 |
7746 if test "$with_dragndrop" != "no" ; then | 7818 if test "$with_dragndrop" != "no" ; then |
7747 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7819 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7748 echo "configure:7749: checking if drag and drop API is needed" >&5 | 7820 echo "configure:7821: checking if drag and drop API is needed" >&5 |
7749 if test -n "$dragndrop_proto" ; then | 7821 if test -n "$dragndrop_proto" ; then |
7750 with_dragndrop=yes | 7822 with_dragndrop=yes |
7751 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7823 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7752 { test "$extra_verbose" = "yes" && cat << \EOF | 7824 { test "$extra_verbose" = "yes" && cat << \EOF |
7753 Defining HAVE_DRAGNDROP | 7825 Defining HAVE_DRAGNDROP |
7766 | 7838 |
7767 | 7839 |
7768 | 7840 |
7769 if test "$window_system" != "none"; then | 7841 if test "$window_system" != "none"; then |
7770 echo "checking for graphics libraries" 1>&6 | 7842 echo "checking for graphics libraries" 1>&6 |
7771 echo "configure:7772: checking for graphics libraries" >&5 | 7843 echo "configure:7844: checking for graphics libraries" >&5 |
7772 | 7844 |
7773 libpath_xpm= | 7845 libpath_xpm= |
7774 incpath_xpm= | 7846 incpath_xpm= |
7775 case "$opsys" in | 7847 case "$opsys" in |
7776 cygwin*) | 7848 cygwin*) |
7792 xpm_problem="" | 7864 xpm_problem="" |
7793 if test -z "$with_xpm"; then | 7865 if test -z "$with_xpm"; then |
7794 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 7866 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
7795 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 7867 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
7796 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 7868 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
7797 echo "configure:7798: checking for Xpm - no older than 3.4f" >&5 | 7869 echo "configure:7870: checking for Xpm - no older than 3.4f" >&5 |
7798 xe_check_libs=-lXpm | 7870 xe_check_libs=-lXpm |
7799 cat > conftest.$ac_ext <<EOF | 7871 cat > conftest.$ac_ext <<EOF |
7800 #line 7801 "configure" | 7872 #line 7873 "configure" |
7801 #include "confdefs.h" | 7873 #include "confdefs.h" |
7802 #define XPM_NUMBERS | 7874 #define XPM_NUMBERS |
7803 #include <X11/xpm.h> | 7875 #include <X11/xpm.h> |
7804 int main(int c, char **v) { | 7876 int main(int c, char **v) { |
7805 return c == 1 ? 0 : | 7877 return c == 1 ? 0 : |
7806 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 7878 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
7807 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 7879 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
7808 EOF | 7880 EOF |
7809 if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7881 if { (eval echo configure:7882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7810 then | 7882 then |
7811 ./conftest dummy_arg; xpm_status=$?; | 7883 ./conftest dummy_arg; xpm_status=$?; |
7812 if test "$xpm_status" = "0"; then | 7884 if test "$xpm_status" = "0"; then |
7813 with_xpm=yes; | 7885 with_xpm=yes; |
7814 else | 7886 else |
7848 | 7920 |
7849 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 7921 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
7850 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 7922 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
7851 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 7923 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
7852 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 7924 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
7853 echo "configure:7854: checking for \"FOR_MSW\" xpm" >&5 | 7925 echo "configure:7926: checking for \"FOR_MSW\" xpm" >&5 |
7854 xe_check_libs=-lXpm | 7926 xe_check_libs=-lXpm |
7855 cat > conftest.$ac_ext <<EOF | 7927 cat > conftest.$ac_ext <<EOF |
7856 #line 7857 "configure" | 7928 #line 7929 "configure" |
7857 #include "confdefs.h" | 7929 #include "confdefs.h" |
7858 | 7930 |
7859 int main() { | 7931 int main() { |
7860 XpmCreatePixmapFromData() | 7932 XpmCreatePixmapFromData() |
7861 ; return 0; } | 7933 ; return 0; } |
7862 EOF | 7934 EOF |
7863 if { (eval echo configure:7864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7935 if { (eval echo configure:7936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7864 rm -rf conftest* | 7936 rm -rf conftest* |
7865 xpm_for_msw=no | 7937 xpm_for_msw=no |
7866 else | 7938 else |
7867 echo "configure: failed program was:" >&5 | 7939 echo "configure: failed program was:" >&5 |
7868 cat conftest.$ac_ext >&5 | 7940 cat conftest.$ac_ext >&5 |
7884 fi | 7956 fi |
7885 fi | 7957 fi |
7886 | 7958 |
7887 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7959 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7888 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7960 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7889 echo "configure:7890: checking for compface.h" >&5 | 7961 echo "configure:7962: checking for compface.h" >&5 |
7890 | 7962 |
7891 cat > conftest.$ac_ext <<EOF | 7963 cat > conftest.$ac_ext <<EOF |
7892 #line 7893 "configure" | 7964 #line 7965 "configure" |
7893 #include "confdefs.h" | 7965 #include "confdefs.h" |
7894 #include <compface.h> | 7966 #include <compface.h> |
7895 EOF | 7967 EOF |
7896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7968 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7897 { (eval echo configure:7898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7969 { (eval echo configure:7970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7898 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7970 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7899 if test -z "$ac_err"; then | 7971 if test -z "$ac_err"; then |
7900 rm -rf conftest* | 7972 rm -rf conftest* |
7901 eval "ac_cv_header_$ac_safe=yes" | 7973 eval "ac_cv_header_$ac_safe=yes" |
7902 else | 7974 else |
7915 with_xface=no | 7987 with_xface=no |
7916 fi | 7988 fi |
7917 } | 7989 } |
7918 test -z "$with_xface" && { | 7990 test -z "$with_xface" && { |
7919 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7991 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7920 echo "configure:7921: checking for UnGenFace in -lcompface" >&5 | 7992 echo "configure:7993: checking for UnGenFace in -lcompface" >&5 |
7921 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7993 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7922 | 7994 |
7923 xe_check_libs=" -lcompface " | 7995 xe_check_libs=" -lcompface " |
7924 cat > conftest.$ac_ext <<EOF | 7996 cat > conftest.$ac_ext <<EOF |
7925 #line 7926 "configure" | 7997 #line 7998 "configure" |
7926 #include "confdefs.h" | 7998 #include "confdefs.h" |
7927 /* Override any gcc2 internal prototype to avoid an error. */ | 7999 /* Override any gcc2 internal prototype to avoid an error. */ |
7928 /* We use char because int might match the return type of a gcc2 | 8000 /* We use char because int might match the return type of a gcc2 |
7929 builtin and then its argument prototype would still apply. */ | 8001 builtin and then its argument prototype would still apply. */ |
7930 char UnGenFace(); | 8002 char UnGenFace(); |
7931 | 8003 |
7932 int main() { | 8004 int main() { |
7933 UnGenFace() | 8005 UnGenFace() |
7934 ; return 0; } | 8006 ; return 0; } |
7935 EOF | 8007 EOF |
7936 if { (eval echo configure:7937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8008 if { (eval echo configure:8009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7937 rm -rf conftest* | 8009 rm -rf conftest* |
7938 eval "ac_cv_lib_$ac_lib_var=yes" | 8010 eval "ac_cv_lib_$ac_lib_var=yes" |
7939 else | 8011 else |
7940 echo "configure: failed program was:" >&5 | 8012 echo "configure: failed program was:" >&5 |
7941 cat conftest.$ac_ext >&5 | 8013 cat conftest.$ac_ext >&5 |
7980 fi | 8052 fi |
7981 | 8053 |
7982 if test "$with_png $with_tiff" != "no no"; then | 8054 if test "$with_png $with_tiff" != "no no"; then |
7983 | 8055 |
7984 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8056 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
7985 echo "configure:7986: checking for inflate in -lc" >&5 | 8057 echo "configure:8058: checking for inflate in -lc" >&5 |
7986 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8058 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
7987 | 8059 |
7988 xe_check_libs=" -lc " | 8060 xe_check_libs=" -lc " |
7989 cat > conftest.$ac_ext <<EOF | 8061 cat > conftest.$ac_ext <<EOF |
7990 #line 7991 "configure" | 8062 #line 8063 "configure" |
7991 #include "confdefs.h" | 8063 #include "confdefs.h" |
7992 /* Override any gcc2 internal prototype to avoid an error. */ | 8064 /* Override any gcc2 internal prototype to avoid an error. */ |
7993 /* We use char because int might match the return type of a gcc2 | 8065 /* We use char because int might match the return type of a gcc2 |
7994 builtin and then its argument prototype would still apply. */ | 8066 builtin and then its argument prototype would still apply. */ |
7995 char inflate(); | 8067 char inflate(); |
7996 | 8068 |
7997 int main() { | 8069 int main() { |
7998 inflate() | 8070 inflate() |
7999 ; return 0; } | 8071 ; return 0; } |
8000 EOF | 8072 EOF |
8001 if { (eval echo configure:8002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8073 if { (eval echo configure:8074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8002 rm -rf conftest* | 8074 rm -rf conftest* |
8003 eval "ac_cv_lib_$ac_lib_var=yes" | 8075 eval "ac_cv_lib_$ac_lib_var=yes" |
8004 else | 8076 else |
8005 echo "configure: failed program was:" >&5 | 8077 echo "configure: failed program was:" >&5 |
8006 cat conftest.$ac_ext >&5 | 8078 cat conftest.$ac_ext >&5 |
8015 : | 8087 : |
8016 else | 8088 else |
8017 echo "$ac_t""no" 1>&6 | 8089 echo "$ac_t""no" 1>&6 |
8018 | 8090 |
8019 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8091 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8020 echo "configure:8021: checking for inflate in -lz" >&5 | 8092 echo "configure:8093: checking for inflate in -lz" >&5 |
8021 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8093 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8022 | 8094 |
8023 xe_check_libs=" -lz " | 8095 xe_check_libs=" -lz " |
8024 cat > conftest.$ac_ext <<EOF | 8096 cat > conftest.$ac_ext <<EOF |
8025 #line 8026 "configure" | 8097 #line 8098 "configure" |
8026 #include "confdefs.h" | 8098 #include "confdefs.h" |
8027 /* Override any gcc2 internal prototype to avoid an error. */ | 8099 /* Override any gcc2 internal prototype to avoid an error. */ |
8028 /* We use char because int might match the return type of a gcc2 | 8100 /* We use char because int might match the return type of a gcc2 |
8029 builtin and then its argument prototype would still apply. */ | 8101 builtin and then its argument prototype would still apply. */ |
8030 char inflate(); | 8102 char inflate(); |
8031 | 8103 |
8032 int main() { | 8104 int main() { |
8033 inflate() | 8105 inflate() |
8034 ; return 0; } | 8106 ; return 0; } |
8035 EOF | 8107 EOF |
8036 if { (eval echo configure:8037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8108 if { (eval echo configure:8109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8037 rm -rf conftest* | 8109 rm -rf conftest* |
8038 eval "ac_cv_lib_$ac_lib_var=yes" | 8110 eval "ac_cv_lib_$ac_lib_var=yes" |
8039 else | 8111 else |
8040 echo "configure: failed program was:" >&5 | 8112 echo "configure: failed program was:" >&5 |
8041 cat conftest.$ac_ext >&5 | 8113 cat conftest.$ac_ext >&5 |
8050 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8122 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8051 else | 8123 else |
8052 echo "$ac_t""no" 1>&6 | 8124 echo "$ac_t""no" 1>&6 |
8053 | 8125 |
8054 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8126 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8055 echo "configure:8056: checking for inflate in -lgz" >&5 | 8127 echo "configure:8128: checking for inflate in -lgz" >&5 |
8056 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8128 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8057 | 8129 |
8058 xe_check_libs=" -lgz " | 8130 xe_check_libs=" -lgz " |
8059 cat > conftest.$ac_ext <<EOF | 8131 cat > conftest.$ac_ext <<EOF |
8060 #line 8061 "configure" | 8132 #line 8133 "configure" |
8061 #include "confdefs.h" | 8133 #include "confdefs.h" |
8062 /* Override any gcc2 internal prototype to avoid an error. */ | 8134 /* Override any gcc2 internal prototype to avoid an error. */ |
8063 /* We use char because int might match the return type of a gcc2 | 8135 /* We use char because int might match the return type of a gcc2 |
8064 builtin and then its argument prototype would still apply. */ | 8136 builtin and then its argument prototype would still apply. */ |
8065 char inflate(); | 8137 char inflate(); |
8066 | 8138 |
8067 int main() { | 8139 int main() { |
8068 inflate() | 8140 inflate() |
8069 ; return 0; } | 8141 ; return 0; } |
8070 EOF | 8142 EOF |
8071 if { (eval echo configure:8072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8143 if { (eval echo configure:8144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8072 rm -rf conftest* | 8144 rm -rf conftest* |
8073 eval "ac_cv_lib_$ac_lib_var=yes" | 8145 eval "ac_cv_lib_$ac_lib_var=yes" |
8074 else | 8146 else |
8075 echo "configure: failed program was:" >&5 | 8147 echo "configure: failed program was:" >&5 |
8076 cat conftest.$ac_ext >&5 | 8148 cat conftest.$ac_ext >&5 |
8096 | 8168 |
8097 fi | 8169 fi |
8098 | 8170 |
8099 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8171 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8100 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8172 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8101 echo "configure:8102: checking for jpeglib.h" >&5 | 8173 echo "configure:8174: checking for jpeglib.h" >&5 |
8102 | 8174 |
8103 cat > conftest.$ac_ext <<EOF | 8175 cat > conftest.$ac_ext <<EOF |
8104 #line 8105 "configure" | 8176 #line 8177 "configure" |
8105 #include "confdefs.h" | 8177 #include "confdefs.h" |
8106 #include <jpeglib.h> | 8178 #include <jpeglib.h> |
8107 EOF | 8179 EOF |
8108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8180 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8109 { (eval echo configure:8110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8181 { (eval echo configure:8182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8110 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8182 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8111 if test -z "$ac_err"; then | 8183 if test -z "$ac_err"; then |
8112 rm -rf conftest* | 8184 rm -rf conftest* |
8113 eval "ac_cv_header_$ac_safe=yes" | 8185 eval "ac_cv_header_$ac_safe=yes" |
8114 else | 8186 else |
8127 with_jpeg=no | 8199 with_jpeg=no |
8128 fi | 8200 fi |
8129 } | 8201 } |
8130 test -z "$with_jpeg" && { | 8202 test -z "$with_jpeg" && { |
8131 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8203 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8132 echo "configure:8133: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8204 echo "configure:8205: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8133 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8205 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8134 | 8206 |
8135 xe_check_libs=" -ljpeg " | 8207 xe_check_libs=" -ljpeg " |
8136 cat > conftest.$ac_ext <<EOF | 8208 cat > conftest.$ac_ext <<EOF |
8137 #line 8138 "configure" | 8209 #line 8210 "configure" |
8138 #include "confdefs.h" | 8210 #include "confdefs.h" |
8139 /* Override any gcc2 internal prototype to avoid an error. */ | 8211 /* Override any gcc2 internal prototype to avoid an error. */ |
8140 /* We use char because int might match the return type of a gcc2 | 8212 /* We use char because int might match the return type of a gcc2 |
8141 builtin and then its argument prototype would still apply. */ | 8213 builtin and then its argument prototype would still apply. */ |
8142 char jpeg_destroy_decompress(); | 8214 char jpeg_destroy_decompress(); |
8143 | 8215 |
8144 int main() { | 8216 int main() { |
8145 jpeg_destroy_decompress() | 8217 jpeg_destroy_decompress() |
8146 ; return 0; } | 8218 ; return 0; } |
8147 EOF | 8219 EOF |
8148 if { (eval echo configure:8149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8220 if { (eval echo configure:8221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8149 rm -rf conftest* | 8221 rm -rf conftest* |
8150 eval "ac_cv_lib_$ac_lib_var=yes" | 8222 eval "ac_cv_lib_$ac_lib_var=yes" |
8151 else | 8223 else |
8152 echo "configure: failed program was:" >&5 | 8224 echo "configure: failed program was:" >&5 |
8153 cat conftest.$ac_ext >&5 | 8225 cat conftest.$ac_ext >&5 |
8179 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8251 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8180 fi | 8252 fi |
8181 | 8253 |
8182 png_problem="" | 8254 png_problem="" |
8183 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8255 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8184 echo "configure:8185: checking for pow" >&5 | 8256 echo "configure:8257: checking for pow" >&5 |
8185 | 8257 |
8186 cat > conftest.$ac_ext <<EOF | 8258 cat > conftest.$ac_ext <<EOF |
8187 #line 8188 "configure" | 8259 #line 8260 "configure" |
8188 #include "confdefs.h" | 8260 #include "confdefs.h" |
8189 /* System header to define __stub macros and hopefully few prototypes, | 8261 /* System header to define __stub macros and hopefully few prototypes, |
8190 which can conflict with char pow(); below. */ | 8262 which can conflict with char pow(); below. */ |
8191 #include <assert.h> | 8263 #include <assert.h> |
8192 /* Override any gcc2 internal prototype to avoid an error. */ | 8264 /* Override any gcc2 internal prototype to avoid an error. */ |
8205 pow(); | 8277 pow(); |
8206 #endif | 8278 #endif |
8207 | 8279 |
8208 ; return 0; } | 8280 ; return 0; } |
8209 EOF | 8281 EOF |
8210 if { (eval echo configure:8211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8282 if { (eval echo configure:8283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8211 rm -rf conftest* | 8283 rm -rf conftest* |
8212 eval "ac_cv_func_pow=yes" | 8284 eval "ac_cv_func_pow=yes" |
8213 else | 8285 else |
8214 echo "configure: failed program was:" >&5 | 8286 echo "configure: failed program was:" >&5 |
8215 cat conftest.$ac_ext >&5 | 8287 cat conftest.$ac_ext >&5 |
8226 with_png=no | 8298 with_png=no |
8227 fi | 8299 fi |
8228 } | 8300 } |
8229 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8301 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8230 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8302 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8231 echo "configure:8232: checking for png.h" >&5 | 8303 echo "configure:8304: checking for png.h" >&5 |
8232 | 8304 |
8233 cat > conftest.$ac_ext <<EOF | 8305 cat > conftest.$ac_ext <<EOF |
8234 #line 8235 "configure" | 8306 #line 8307 "configure" |
8235 #include "confdefs.h" | 8307 #include "confdefs.h" |
8236 #include <png.h> | 8308 #include <png.h> |
8237 EOF | 8309 EOF |
8238 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8239 { (eval echo configure:8240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8311 { (eval echo configure:8312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8240 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8241 if test -z "$ac_err"; then | 8313 if test -z "$ac_err"; then |
8242 rm -rf conftest* | 8314 rm -rf conftest* |
8243 eval "ac_cv_header_$ac_safe=yes" | 8315 eval "ac_cv_header_$ac_safe=yes" |
8244 else | 8316 else |
8257 with_png=no | 8329 with_png=no |
8258 fi | 8330 fi |
8259 } | 8331 } |
8260 test -z "$with_png" && { | 8332 test -z "$with_png" && { |
8261 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8333 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8262 echo "configure:8263: checking for png_read_image in -lpng" >&5 | 8334 echo "configure:8335: checking for png_read_image in -lpng" >&5 |
8263 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8335 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8264 | 8336 |
8265 xe_check_libs=" -lpng " | 8337 xe_check_libs=" -lpng " |
8266 cat > conftest.$ac_ext <<EOF | 8338 cat > conftest.$ac_ext <<EOF |
8267 #line 8268 "configure" | 8339 #line 8340 "configure" |
8268 #include "confdefs.h" | 8340 #include "confdefs.h" |
8269 /* Override any gcc2 internal prototype to avoid an error. */ | 8341 /* Override any gcc2 internal prototype to avoid an error. */ |
8270 /* We use char because int might match the return type of a gcc2 | 8342 /* We use char because int might match the return type of a gcc2 |
8271 builtin and then its argument prototype would still apply. */ | 8343 builtin and then its argument prototype would still apply. */ |
8272 char png_read_image(); | 8344 char png_read_image(); |
8273 | 8345 |
8274 int main() { | 8346 int main() { |
8275 png_read_image() | 8347 png_read_image() |
8276 ; return 0; } | 8348 ; return 0; } |
8277 EOF | 8349 EOF |
8278 if { (eval echo configure:8279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8350 if { (eval echo configure:8351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8279 rm -rf conftest* | 8351 rm -rf conftest* |
8280 eval "ac_cv_lib_$ac_lib_var=yes" | 8352 eval "ac_cv_lib_$ac_lib_var=yes" |
8281 else | 8353 else |
8282 echo "configure: failed program was:" >&5 | 8354 echo "configure: failed program was:" >&5 |
8283 cat conftest.$ac_ext >&5 | 8355 cat conftest.$ac_ext >&5 |
8296 fi | 8368 fi |
8297 | 8369 |
8298 } | 8370 } |
8299 if test -z "$with_png"; then | 8371 if test -z "$with_png"; then |
8300 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8372 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8301 echo "configure:8302: checking for workable png version information" >&5 | 8373 echo "configure:8374: checking for workable png version information" >&5 |
8302 xe_check_libs="-lpng -lz" | 8374 xe_check_libs="-lpng -lz" |
8303 cat > conftest.$ac_ext <<EOF | 8375 cat > conftest.$ac_ext <<EOF |
8304 #line 8305 "configure" | 8376 #line 8377 "configure" |
8305 #include "confdefs.h" | 8377 #include "confdefs.h" |
8306 #include <png.h> | 8378 #include <png.h> |
8307 int main(int c, char **v) { | 8379 int main(int c, char **v) { |
8308 if (c == 1) return 0; | 8380 if (c == 1) return 0; |
8309 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8381 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8310 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8382 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8311 EOF | 8383 EOF |
8312 if { (eval echo configure:8313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8384 if { (eval echo configure:8385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8313 then | 8385 then |
8314 ./conftest dummy_arg; png_status=$?; | 8386 ./conftest dummy_arg; png_status=$?; |
8315 if test "$png_status" = "0"; then | 8387 if test "$png_status" = "0"; then |
8316 with_png=yes; | 8388 with_png=yes; |
8317 else | 8389 else |
8350 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8422 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8351 fi | 8423 fi |
8352 | 8424 |
8353 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8425 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8354 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8426 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8355 echo "configure:8356: checking for tiffio.h" >&5 | 8427 echo "configure:8428: checking for tiffio.h" >&5 |
8356 | 8428 |
8357 cat > conftest.$ac_ext <<EOF | 8429 cat > conftest.$ac_ext <<EOF |
8358 #line 8359 "configure" | 8430 #line 8431 "configure" |
8359 #include "confdefs.h" | 8431 #include "confdefs.h" |
8360 #include <tiffio.h> | 8432 #include <tiffio.h> |
8361 EOF | 8433 EOF |
8362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8363 { (eval echo configure:8364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8435 { (eval echo configure:8436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8436 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8365 if test -z "$ac_err"; then | 8437 if test -z "$ac_err"; then |
8366 rm -rf conftest* | 8438 rm -rf conftest* |
8367 eval "ac_cv_header_$ac_safe=yes" | 8439 eval "ac_cv_header_$ac_safe=yes" |
8368 else | 8440 else |
8381 with_tiff=no | 8453 with_tiff=no |
8382 fi | 8454 fi |
8383 } | 8455 } |
8384 test -z "$with_tiff" && { | 8456 test -z "$with_tiff" && { |
8385 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8457 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8386 echo "configure:8387: checking for TIFFClientOpen in -ltiff" >&5 | 8458 echo "configure:8459: checking for TIFFClientOpen in -ltiff" >&5 |
8387 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8459 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8388 | 8460 |
8389 xe_check_libs=" -ltiff " | 8461 xe_check_libs=" -ltiff " |
8390 cat > conftest.$ac_ext <<EOF | 8462 cat > conftest.$ac_ext <<EOF |
8391 #line 8392 "configure" | 8463 #line 8464 "configure" |
8392 #include "confdefs.h" | 8464 #include "confdefs.h" |
8393 /* Override any gcc2 internal prototype to avoid an error. */ | 8465 /* Override any gcc2 internal prototype to avoid an error. */ |
8394 /* We use char because int might match the return type of a gcc2 | 8466 /* We use char because int might match the return type of a gcc2 |
8395 builtin and then its argument prototype would still apply. */ | 8467 builtin and then its argument prototype would still apply. */ |
8396 char TIFFClientOpen(); | 8468 char TIFFClientOpen(); |
8397 | 8469 |
8398 int main() { | 8470 int main() { |
8399 TIFFClientOpen() | 8471 TIFFClientOpen() |
8400 ; return 0; } | 8472 ; return 0; } |
8401 EOF | 8473 EOF |
8402 if { (eval echo configure:8403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8474 if { (eval echo configure:8475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8403 rm -rf conftest* | 8475 rm -rf conftest* |
8404 eval "ac_cv_lib_$ac_lib_var=yes" | 8476 eval "ac_cv_lib_$ac_lib_var=yes" |
8405 else | 8477 else |
8406 echo "configure: failed program was:" >&5 | 8478 echo "configure: failed program was:" >&5 |
8407 cat conftest.$ac_ext >&5 | 8479 cat conftest.$ac_ext >&5 |
8436 | 8508 |
8437 | 8509 |
8438 if test "$with_gtk" = "yes"; then | 8510 if test "$with_gtk" = "yes"; then |
8439 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8511 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8440 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8512 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8441 echo "configure:8442: checking for compface.h" >&5 | 8513 echo "configure:8514: checking for compface.h" >&5 |
8442 | 8514 |
8443 cat > conftest.$ac_ext <<EOF | 8515 cat > conftest.$ac_ext <<EOF |
8444 #line 8445 "configure" | 8516 #line 8517 "configure" |
8445 #include "confdefs.h" | 8517 #include "confdefs.h" |
8446 #include <compface.h> | 8518 #include <compface.h> |
8447 EOF | 8519 EOF |
8448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8520 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8449 { (eval echo configure:8450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8521 { (eval echo configure:8522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8522 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8451 if test -z "$ac_err"; then | 8523 if test -z "$ac_err"; then |
8452 rm -rf conftest* | 8524 rm -rf conftest* |
8453 eval "ac_cv_header_$ac_safe=yes" | 8525 eval "ac_cv_header_$ac_safe=yes" |
8454 else | 8526 else |
8467 with_xface=no | 8539 with_xface=no |
8468 fi | 8540 fi |
8469 } | 8541 } |
8470 test -z "$with_xface" && { | 8542 test -z "$with_xface" && { |
8471 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8543 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8472 echo "configure:8473: checking for UnGenFace in -lcompface" >&5 | 8544 echo "configure:8545: checking for UnGenFace in -lcompface" >&5 |
8473 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8545 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8474 | 8546 |
8475 xe_check_libs=" -lcompface " | 8547 xe_check_libs=" -lcompface " |
8476 cat > conftest.$ac_ext <<EOF | 8548 cat > conftest.$ac_ext <<EOF |
8477 #line 8478 "configure" | 8549 #line 8550 "configure" |
8478 #include "confdefs.h" | 8550 #include "confdefs.h" |
8479 /* Override any gcc2 internal prototype to avoid an error. */ | 8551 /* Override any gcc2 internal prototype to avoid an error. */ |
8480 /* We use char because int might match the return type of a gcc2 | 8552 /* We use char because int might match the return type of a gcc2 |
8481 builtin and then its argument prototype would still apply. */ | 8553 builtin and then its argument prototype would still apply. */ |
8482 char UnGenFace(); | 8554 char UnGenFace(); |
8483 | 8555 |
8484 int main() { | 8556 int main() { |
8485 UnGenFace() | 8557 UnGenFace() |
8486 ; return 0; } | 8558 ; return 0; } |
8487 EOF | 8559 EOF |
8488 if { (eval echo configure:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8560 if { (eval echo configure:8561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8489 rm -rf conftest* | 8561 rm -rf conftest* |
8490 eval "ac_cv_lib_$ac_lib_var=yes" | 8562 eval "ac_cv_lib_$ac_lib_var=yes" |
8491 else | 8563 else |
8492 echo "configure: failed program was:" >&5 | 8564 echo "configure: failed program was:" >&5 |
8493 cat conftest.$ac_ext >&5 | 8565 cat conftest.$ac_ext >&5 |
8522 | 8594 |
8523 | 8595 |
8524 | 8596 |
8525 if test "$with_x11" = "yes"; then | 8597 if test "$with_x11" = "yes"; then |
8526 echo "checking for X11 graphics libraries" 1>&6 | 8598 echo "checking for X11 graphics libraries" 1>&6 |
8527 echo "configure:8528: checking for X11 graphics libraries" >&5 | 8599 echo "configure:8600: checking for X11 graphics libraries" >&5 |
8528 fi | 8600 fi |
8529 | 8601 |
8530 case "$with_widgets" in | 8602 case "$with_widgets" in |
8531 "yes" | "athena") detect_athena=yes ;; | 8603 "yes" | "athena") detect_athena=yes ;; |
8532 *) detect_athena=no ;; | 8604 *) detect_athena=no ;; |
8533 esac | 8605 esac |
8534 | 8606 |
8535 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 8607 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
8536 echo "checking for the Athena widgets" 1>&6 | 8608 echo "checking for the Athena widgets" 1>&6 |
8537 echo "configure:8538: checking for the Athena widgets" >&5 | 8609 echo "configure:8610: checking for the Athena widgets" >&5 |
8538 | 8610 |
8539 case "$with_athena" in | 8611 case "$with_athena" in |
8540 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8612 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8541 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8613 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8542 "next") athena_variant=neXtaw athena_3d=yes ;; | 8614 "next") athena_variant=neXtaw athena_3d=yes ;; |
8546 esac | 8618 esac |
8547 | 8619 |
8548 if test "$athena_3d" = "no"; then | 8620 if test "$athena_3d" = "no"; then |
8549 | 8621 |
8550 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8622 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8551 echo "configure:8552: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8623 echo "configure:8624: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8552 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8624 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8553 | 8625 |
8554 xe_check_libs=" -l$athena_variant " | 8626 xe_check_libs=" -l$athena_variant " |
8555 cat > conftest.$ac_ext <<EOF | 8627 cat > conftest.$ac_ext <<EOF |
8556 #line 8557 "configure" | 8628 #line 8629 "configure" |
8557 #include "confdefs.h" | 8629 #include "confdefs.h" |
8558 /* Override any gcc2 internal prototype to avoid an error. */ | 8630 /* Override any gcc2 internal prototype to avoid an error. */ |
8559 /* We use char because int might match the return type of a gcc2 | 8631 /* We use char because int might match the return type of a gcc2 |
8560 builtin and then its argument prototype would still apply. */ | 8632 builtin and then its argument prototype would still apply. */ |
8561 char XawScrollbarSetThumb(); | 8633 char XawScrollbarSetThumb(); |
8562 | 8634 |
8563 int main() { | 8635 int main() { |
8564 XawScrollbarSetThumb() | 8636 XawScrollbarSetThumb() |
8565 ; return 0; } | 8637 ; return 0; } |
8566 EOF | 8638 EOF |
8567 if { (eval echo configure:8568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8639 if { (eval echo configure:8640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8568 rm -rf conftest* | 8640 rm -rf conftest* |
8569 eval "ac_cv_lib_$ac_lib_var=yes" | 8641 eval "ac_cv_lib_$ac_lib_var=yes" |
8570 else | 8642 else |
8571 echo "configure: failed program was:" >&5 | 8643 echo "configure: failed program was:" >&5 |
8572 cat conftest.$ac_ext >&5 | 8644 cat conftest.$ac_ext >&5 |
8578 | 8650 |
8579 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8651 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8580 echo "$ac_t""yes" 1>&6 | 8652 echo "$ac_t""yes" 1>&6 |
8581 | 8653 |
8582 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8654 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8583 echo "configure:8584: checking for threeDClassRec in -l$athena_variant" >&5 | 8655 echo "configure:8656: checking for threeDClassRec in -l$athena_variant" >&5 |
8584 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8656 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8585 | 8657 |
8586 xe_check_libs=" -l$athena_variant " | 8658 xe_check_libs=" -l$athena_variant " |
8587 cat > conftest.$ac_ext <<EOF | 8659 cat > conftest.$ac_ext <<EOF |
8588 #line 8589 "configure" | 8660 #line 8661 "configure" |
8589 #include "confdefs.h" | 8661 #include "confdefs.h" |
8590 /* Override any gcc2 internal prototype to avoid an error. */ | 8662 /* Override any gcc2 internal prototype to avoid an error. */ |
8591 /* We use char because int might match the return type of a gcc2 | 8663 /* We use char because int might match the return type of a gcc2 |
8592 builtin and then its argument prototype would still apply. */ | 8664 builtin and then its argument prototype would still apply. */ |
8593 char threeDClassRec(); | 8665 char threeDClassRec(); |
8594 | 8666 |
8595 int main() { | 8667 int main() { |
8596 threeDClassRec() | 8668 threeDClassRec() |
8597 ; return 0; } | 8669 ; return 0; } |
8598 EOF | 8670 EOF |
8599 if { (eval echo configure:8600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8671 if { (eval echo configure:8672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8600 rm -rf conftest* | 8672 rm -rf conftest* |
8601 eval "ac_cv_lib_$ac_lib_var=yes" | 8673 eval "ac_cv_lib_$ac_lib_var=yes" |
8602 else | 8674 else |
8603 echo "configure: failed program was:" >&5 | 8675 echo "configure: failed program was:" >&5 |
8604 cat conftest.$ac_ext >&5 | 8676 cat conftest.$ac_ext >&5 |
8625 | 8697 |
8626 | 8698 |
8627 else | 8699 else |
8628 | 8700 |
8629 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8701 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8630 echo "configure:8631: checking for threeDClassRec in -l$athena_variant" >&5 | 8702 echo "configure:8703: checking for threeDClassRec in -l$athena_variant" >&5 |
8631 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8703 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8632 | 8704 |
8633 xe_check_libs=" -l$athena_variant " | 8705 xe_check_libs=" -l$athena_variant " |
8634 cat > conftest.$ac_ext <<EOF | 8706 cat > conftest.$ac_ext <<EOF |
8635 #line 8636 "configure" | 8707 #line 8708 "configure" |
8636 #include "confdefs.h" | 8708 #include "confdefs.h" |
8637 /* Override any gcc2 internal prototype to avoid an error. */ | 8709 /* Override any gcc2 internal prototype to avoid an error. */ |
8638 /* We use char because int might match the return type of a gcc2 | 8710 /* We use char because int might match the return type of a gcc2 |
8639 builtin and then its argument prototype would still apply. */ | 8711 builtin and then its argument prototype would still apply. */ |
8640 char threeDClassRec(); | 8712 char threeDClassRec(); |
8641 | 8713 |
8642 int main() { | 8714 int main() { |
8643 threeDClassRec() | 8715 threeDClassRec() |
8644 ; return 0; } | 8716 ; return 0; } |
8645 EOF | 8717 EOF |
8646 if { (eval echo configure:8647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8718 if { (eval echo configure:8719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8647 rm -rf conftest* | 8719 rm -rf conftest* |
8648 eval "ac_cv_lib_$ac_lib_var=yes" | 8720 eval "ac_cv_lib_$ac_lib_var=yes" |
8649 else | 8721 else |
8650 echo "configure: failed program was:" >&5 | 8722 echo "configure: failed program was:" >&5 |
8651 cat conftest.$ac_ext >&5 | 8723 cat conftest.$ac_ext >&5 |
8659 echo "$ac_t""yes" 1>&6 | 8731 echo "$ac_t""yes" 1>&6 |
8660 athena_lib=$athena_variant | 8732 athena_lib=$athena_variant |
8661 else | 8733 else |
8662 echo "$ac_t""no" 1>&6 | 8734 echo "$ac_t""no" 1>&6 |
8663 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8735 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8664 echo "configure:8665: checking for threeDClassRec in -lXaw" >&5 | 8736 echo "configure:8737: checking for threeDClassRec in -lXaw" >&5 |
8665 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8737 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8666 | 8738 |
8667 xe_check_libs=" -lXaw " | 8739 xe_check_libs=" -lXaw " |
8668 cat > conftest.$ac_ext <<EOF | 8740 cat > conftest.$ac_ext <<EOF |
8669 #line 8670 "configure" | 8741 #line 8742 "configure" |
8670 #include "confdefs.h" | 8742 #include "confdefs.h" |
8671 /* Override any gcc2 internal prototype to avoid an error. */ | 8743 /* Override any gcc2 internal prototype to avoid an error. */ |
8672 /* We use char because int might match the return type of a gcc2 | 8744 /* We use char because int might match the return type of a gcc2 |
8673 builtin and then its argument prototype would still apply. */ | 8745 builtin and then its argument prototype would still apply. */ |
8674 char threeDClassRec(); | 8746 char threeDClassRec(); |
8675 | 8747 |
8676 int main() { | 8748 int main() { |
8677 threeDClassRec() | 8749 threeDClassRec() |
8678 ; return 0; } | 8750 ; return 0; } |
8679 EOF | 8751 EOF |
8680 if { (eval echo configure:8681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8752 if { (eval echo configure:8753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8681 rm -rf conftest* | 8753 rm -rf conftest* |
8682 eval "ac_cv_lib_$ac_lib_var=yes" | 8754 eval "ac_cv_lib_$ac_lib_var=yes" |
8683 else | 8755 else |
8684 echo "configure: failed program was:" >&5 | 8756 echo "configure: failed program was:" >&5 |
8685 cat conftest.$ac_ext >&5 | 8757 cat conftest.$ac_ext >&5 |
8706 fi | 8778 fi |
8707 | 8779 |
8708 if test "$athena_3d" = "no"; then | 8780 if test "$athena_3d" = "no"; then |
8709 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8781 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8710 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8782 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8711 echo "configure:8712: checking for X11/Xaw/ThreeD.h" >&5 | 8783 echo "configure:8784: checking for X11/Xaw/ThreeD.h" >&5 |
8712 | 8784 |
8713 cat > conftest.$ac_ext <<EOF | 8785 cat > conftest.$ac_ext <<EOF |
8714 #line 8715 "configure" | 8786 #line 8787 "configure" |
8715 #include "confdefs.h" | 8787 #include "confdefs.h" |
8716 #include <X11/Xaw/ThreeD.h> | 8788 #include <X11/Xaw/ThreeD.h> |
8717 EOF | 8789 EOF |
8718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8790 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8719 { (eval echo configure:8720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8791 { (eval echo configure:8792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8792 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8721 if test -z "$ac_err"; then | 8793 if test -z "$ac_err"; then |
8722 rm -rf conftest* | 8794 rm -rf conftest* |
8723 eval "ac_cv_header_$ac_safe=yes" | 8795 eval "ac_cv_header_$ac_safe=yes" |
8724 else | 8796 else |
8734 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 8806 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
8735 else | 8807 else |
8736 echo "$ac_t""no" 1>&6 | 8808 echo "$ac_t""no" 1>&6 |
8737 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8809 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
8738 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8810 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
8739 echo "configure:8740: checking for X11/Xaw/XawInit.h" >&5 | 8811 echo "configure:8812: checking for X11/Xaw/XawInit.h" >&5 |
8740 | 8812 |
8741 cat > conftest.$ac_ext <<EOF | 8813 cat > conftest.$ac_ext <<EOF |
8742 #line 8743 "configure" | 8814 #line 8815 "configure" |
8743 #include "confdefs.h" | 8815 #include "confdefs.h" |
8744 #include <X11/Xaw/XawInit.h> | 8816 #include <X11/Xaw/XawInit.h> |
8745 EOF | 8817 EOF |
8746 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8747 { (eval echo configure:8748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8819 { (eval echo configure:8820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8748 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8749 if test -z "$ac_err"; then | 8821 if test -z "$ac_err"; then |
8750 rm -rf conftest* | 8822 rm -rf conftest* |
8751 eval "ac_cv_header_$ac_safe=yes" | 8823 eval "ac_cv_header_$ac_safe=yes" |
8752 else | 8824 else |
8768 fi | 8840 fi |
8769 | 8841 |
8770 else | 8842 else |
8771 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8843 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8772 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 8844 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
8773 echo "configure:8774: checking for X11/$athena_variant/XawInit.h" >&5 | 8845 echo "configure:8846: checking for X11/$athena_variant/XawInit.h" >&5 |
8774 | 8846 |
8775 cat > conftest.$ac_ext <<EOF | 8847 cat > conftest.$ac_ext <<EOF |
8776 #line 8777 "configure" | 8848 #line 8849 "configure" |
8777 #include "confdefs.h" | 8849 #include "confdefs.h" |
8778 #include <X11/$athena_variant/XawInit.h> | 8850 #include <X11/$athena_variant/XawInit.h> |
8779 EOF | 8851 EOF |
8780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8781 { (eval echo configure:8782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8853 { (eval echo configure:8854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8783 if test -z "$ac_err"; then | 8855 if test -z "$ac_err"; then |
8784 rm -rf conftest* | 8856 rm -rf conftest* |
8785 eval "ac_cv_header_$ac_safe=yes" | 8857 eval "ac_cv_header_$ac_safe=yes" |
8786 else | 8858 else |
8793 rm -f conftest* | 8865 rm -f conftest* |
8794 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8866 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8795 echo "$ac_t""yes" 1>&6 | 8867 echo "$ac_t""yes" 1>&6 |
8796 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8868 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
8797 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8869 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
8798 echo "configure:8799: checking for X11/$athena_variant/ThreeD.h" >&5 | 8870 echo "configure:8871: checking for X11/$athena_variant/ThreeD.h" >&5 |
8799 | 8871 |
8800 cat > conftest.$ac_ext <<EOF | 8872 cat > conftest.$ac_ext <<EOF |
8801 #line 8802 "configure" | 8873 #line 8874 "configure" |
8802 #include "confdefs.h" | 8874 #include "confdefs.h" |
8803 #include <X11/$athena_variant/ThreeD.h> | 8875 #include <X11/$athena_variant/ThreeD.h> |
8804 EOF | 8876 EOF |
8805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8806 { (eval echo configure:8807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8878 { (eval echo configure:8879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8808 if test -z "$ac_err"; then | 8880 if test -z "$ac_err"; then |
8809 rm -rf conftest* | 8881 rm -rf conftest* |
8810 eval "ac_cv_header_$ac_safe=yes" | 8882 eval "ac_cv_header_$ac_safe=yes" |
8811 else | 8883 else |
8829 | 8901 |
8830 | 8902 |
8831 if test -z "$athena_h_path"; then | 8903 if test -z "$athena_h_path"; then |
8832 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8904 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8833 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 8905 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
8834 echo "configure:8835: checking for $athena_variant/XawInit.h" >&5 | 8906 echo "configure:8907: checking for $athena_variant/XawInit.h" >&5 |
8835 | 8907 |
8836 cat > conftest.$ac_ext <<EOF | 8908 cat > conftest.$ac_ext <<EOF |
8837 #line 8838 "configure" | 8909 #line 8910 "configure" |
8838 #include "confdefs.h" | 8910 #include "confdefs.h" |
8839 #include <$athena_variant/XawInit.h> | 8911 #include <$athena_variant/XawInit.h> |
8840 EOF | 8912 EOF |
8841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8913 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8842 { (eval echo configure:8843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8914 { (eval echo configure:8915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8843 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8915 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8844 if test -z "$ac_err"; then | 8916 if test -z "$ac_err"; then |
8845 rm -rf conftest* | 8917 rm -rf conftest* |
8846 eval "ac_cv_header_$ac_safe=yes" | 8918 eval "ac_cv_header_$ac_safe=yes" |
8847 else | 8919 else |
8854 rm -f conftest* | 8926 rm -f conftest* |
8855 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8927 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8856 echo "$ac_t""yes" 1>&6 | 8928 echo "$ac_t""yes" 1>&6 |
8857 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8929 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
8858 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8930 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
8859 echo "configure:8860: checking for $athena_variant/ThreeD.h" >&5 | 8931 echo "configure:8932: checking for $athena_variant/ThreeD.h" >&5 |
8860 | 8932 |
8861 cat > conftest.$ac_ext <<EOF | 8933 cat > conftest.$ac_ext <<EOF |
8862 #line 8863 "configure" | 8934 #line 8935 "configure" |
8863 #include "confdefs.h" | 8935 #include "confdefs.h" |
8864 #include <$athena_variant/ThreeD.h> | 8936 #include <$athena_variant/ThreeD.h> |
8865 EOF | 8937 EOF |
8866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8867 { (eval echo configure:8868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8939 { (eval echo configure:8940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8940 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8869 if test -z "$ac_err"; then | 8941 if test -z "$ac_err"; then |
8870 rm -rf conftest* | 8942 rm -rf conftest* |
8871 eval "ac_cv_header_$ac_safe=yes" | 8943 eval "ac_cv_header_$ac_safe=yes" |
8872 else | 8944 else |
8891 fi | 8963 fi |
8892 | 8964 |
8893 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8965 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8894 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8966 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8895 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8967 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8896 echo "configure:8897: checking for X11/Xaw3d/XawInit.h" >&5 | 8968 echo "configure:8969: checking for X11/Xaw3d/XawInit.h" >&5 |
8897 | 8969 |
8898 cat > conftest.$ac_ext <<EOF | 8970 cat > conftest.$ac_ext <<EOF |
8899 #line 8900 "configure" | 8971 #line 8972 "configure" |
8900 #include "confdefs.h" | 8972 #include "confdefs.h" |
8901 #include <X11/Xaw3d/XawInit.h> | 8973 #include <X11/Xaw3d/XawInit.h> |
8902 EOF | 8974 EOF |
8903 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8975 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8904 { (eval echo configure:8905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8976 { (eval echo configure:8977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8905 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8977 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8906 if test -z "$ac_err"; then | 8978 if test -z "$ac_err"; then |
8907 rm -rf conftest* | 8979 rm -rf conftest* |
8908 eval "ac_cv_header_$ac_safe=yes" | 8980 eval "ac_cv_header_$ac_safe=yes" |
8909 else | 8981 else |
8916 rm -f conftest* | 8988 rm -f conftest* |
8917 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8989 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8918 echo "$ac_t""yes" 1>&6 | 8990 echo "$ac_t""yes" 1>&6 |
8919 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8991 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8920 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8992 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8921 echo "configure:8922: checking for X11/Xaw3d/ThreeD.h" >&5 | 8993 echo "configure:8994: checking for X11/Xaw3d/ThreeD.h" >&5 |
8922 | 8994 |
8923 cat > conftest.$ac_ext <<EOF | 8995 cat > conftest.$ac_ext <<EOF |
8924 #line 8925 "configure" | 8996 #line 8997 "configure" |
8925 #include "confdefs.h" | 8997 #include "confdefs.h" |
8926 #include <X11/Xaw3d/ThreeD.h> | 8998 #include <X11/Xaw3d/ThreeD.h> |
8927 EOF | 8999 EOF |
8928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9000 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8929 { (eval echo configure:8930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9001 { (eval echo configure:9002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9002 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8931 if test -z "$ac_err"; then | 9003 if test -z "$ac_err"; then |
8932 rm -rf conftest* | 9004 rm -rf conftest* |
8933 eval "ac_cv_header_$ac_safe=yes" | 9005 eval "ac_cv_header_$ac_safe=yes" |
8934 else | 9006 else |
8956 fi | 9028 fi |
8957 | 9029 |
8958 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9030 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8959 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9031 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8960 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9032 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8961 echo "configure:8962: checking for Xaw3d/XawInit.h" >&5 | 9033 echo "configure:9034: checking for Xaw3d/XawInit.h" >&5 |
8962 | 9034 |
8963 cat > conftest.$ac_ext <<EOF | 9035 cat > conftest.$ac_ext <<EOF |
8964 #line 8965 "configure" | 9036 #line 9037 "configure" |
8965 #include "confdefs.h" | 9037 #include "confdefs.h" |
8966 #include <Xaw3d/XawInit.h> | 9038 #include <Xaw3d/XawInit.h> |
8967 EOF | 9039 EOF |
8968 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9040 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8969 { (eval echo configure:8970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9041 { (eval echo configure:9042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8970 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9042 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8971 if test -z "$ac_err"; then | 9043 if test -z "$ac_err"; then |
8972 rm -rf conftest* | 9044 rm -rf conftest* |
8973 eval "ac_cv_header_$ac_safe=yes" | 9045 eval "ac_cv_header_$ac_safe=yes" |
8974 else | 9046 else |
8981 rm -f conftest* | 9053 rm -f conftest* |
8982 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9054 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8983 echo "$ac_t""yes" 1>&6 | 9055 echo "$ac_t""yes" 1>&6 |
8984 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9056 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8985 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9057 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8986 echo "configure:8987: checking for Xaw3d/ThreeD.h" >&5 | 9058 echo "configure:9059: checking for Xaw3d/ThreeD.h" >&5 |
8987 | 9059 |
8988 cat > conftest.$ac_ext <<EOF | 9060 cat > conftest.$ac_ext <<EOF |
8989 #line 8990 "configure" | 9061 #line 9062 "configure" |
8990 #include "confdefs.h" | 9062 #include "confdefs.h" |
8991 #include <Xaw3d/ThreeD.h> | 9063 #include <Xaw3d/ThreeD.h> |
8992 EOF | 9064 EOF |
8993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9065 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8994 { (eval echo configure:8995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9066 { (eval echo configure:9067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9067 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8996 if test -z "$ac_err"; then | 9068 if test -z "$ac_err"; then |
8997 rm -rf conftest* | 9069 rm -rf conftest* |
8998 eval "ac_cv_header_$ac_safe=yes" | 9070 eval "ac_cv_header_$ac_safe=yes" |
8999 else | 9071 else |
9021 fi | 9093 fi |
9022 | 9094 |
9023 if test -z "$athena_h_path"; then | 9095 if test -z "$athena_h_path"; then |
9024 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9096 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9025 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9097 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9026 echo "configure:9027: checking for X11/Xaw/ThreeD.h" >&5 | 9098 echo "configure:9099: checking for X11/Xaw/ThreeD.h" >&5 |
9027 | 9099 |
9028 cat > conftest.$ac_ext <<EOF | 9100 cat > conftest.$ac_ext <<EOF |
9029 #line 9030 "configure" | 9101 #line 9102 "configure" |
9030 #include "confdefs.h" | 9102 #include "confdefs.h" |
9031 #include <X11/Xaw/ThreeD.h> | 9103 #include <X11/Xaw/ThreeD.h> |
9032 EOF | 9104 EOF |
9033 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9105 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9034 { (eval echo configure:9035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9106 { (eval echo configure:9107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9107 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9036 if test -z "$ac_err"; then | 9108 if test -z "$ac_err"; then |
9037 rm -rf conftest* | 9109 rm -rf conftest* |
9038 eval "ac_cv_header_$ac_safe=yes" | 9110 eval "ac_cv_header_$ac_safe=yes" |
9039 else | 9111 else |
9068 have_xaw=no | 9140 have_xaw=no |
9069 fi | 9141 fi |
9070 if test "$with_x11" = "yes"; then | 9142 if test "$with_x11" = "yes"; then |
9071 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9143 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9072 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9144 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9073 echo "configure:9074: checking for Xm/Xm.h" >&5 | 9145 echo "configure:9146: checking for Xm/Xm.h" >&5 |
9074 | 9146 |
9075 cat > conftest.$ac_ext <<EOF | 9147 cat > conftest.$ac_ext <<EOF |
9076 #line 9077 "configure" | 9148 #line 9149 "configure" |
9077 #include "confdefs.h" | 9149 #include "confdefs.h" |
9078 #include <Xm/Xm.h> | 9150 #include <Xm/Xm.h> |
9079 EOF | 9151 EOF |
9080 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9081 { (eval echo configure:9082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9153 { (eval echo configure:9154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9082 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9083 if test -z "$ac_err"; then | 9155 if test -z "$ac_err"; then |
9084 rm -rf conftest* | 9156 rm -rf conftest* |
9085 eval "ac_cv_header_$ac_safe=yes" | 9157 eval "ac_cv_header_$ac_safe=yes" |
9086 else | 9158 else |
9093 rm -f conftest* | 9165 rm -f conftest* |
9094 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9166 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9095 echo "$ac_t""yes" 1>&6 | 9167 echo "$ac_t""yes" 1>&6 |
9096 | 9168 |
9097 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9169 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9098 echo "configure:9099: checking for XmStringFree in -lXm" >&5 | 9170 echo "configure:9171: checking for XmStringFree in -lXm" >&5 |
9099 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9171 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9100 | 9172 |
9101 xe_check_libs=" -lXm " | 9173 xe_check_libs=" -lXm " |
9102 cat > conftest.$ac_ext <<EOF | 9174 cat > conftest.$ac_ext <<EOF |
9103 #line 9104 "configure" | 9175 #line 9176 "configure" |
9104 #include "confdefs.h" | 9176 #include "confdefs.h" |
9105 /* Override any gcc2 internal prototype to avoid an error. */ | 9177 /* Override any gcc2 internal prototype to avoid an error. */ |
9106 /* We use char because int might match the return type of a gcc2 | 9178 /* We use char because int might match the return type of a gcc2 |
9107 builtin and then its argument prototype would still apply. */ | 9179 builtin and then its argument prototype would still apply. */ |
9108 char XmStringFree(); | 9180 char XmStringFree(); |
9109 | 9181 |
9110 int main() { | 9182 int main() { |
9111 XmStringFree() | 9183 XmStringFree() |
9112 ; return 0; } | 9184 ; return 0; } |
9113 EOF | 9185 EOF |
9114 if { (eval echo configure:9115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9186 if { (eval echo configure:9187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9115 rm -rf conftest* | 9187 rm -rf conftest* |
9116 eval "ac_cv_lib_$ac_lib_var=yes" | 9188 eval "ac_cv_lib_$ac_lib_var=yes" |
9117 else | 9189 else |
9118 echo "configure: failed program was:" >&5 | 9190 echo "configure: failed program was:" >&5 |
9119 cat conftest.$ac_ext >&5 | 9191 cat conftest.$ac_ext >&5 |
9138 fi | 9210 fi |
9139 | 9211 |
9140 | 9212 |
9141 if test "$have_motif" = "yes"; then | 9213 if test "$have_motif" = "yes"; then |
9142 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9214 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9143 echo "configure:9144: checking for Lesstif" >&5 | 9215 echo "configure:9216: checking for Lesstif" >&5 |
9144 cat > conftest.$ac_ext <<EOF | 9216 cat > conftest.$ac_ext <<EOF |
9145 #line 9146 "configure" | 9217 #line 9218 "configure" |
9146 #include "confdefs.h" | 9218 #include "confdefs.h" |
9147 #include <Xm/Xm.h> | 9219 #include <Xm/Xm.h> |
9148 #ifdef LESSTIF_VERSION | 9220 #ifdef LESSTIF_VERSION |
9149 yes | 9221 yes |
9150 #endif | 9222 #endif |
9513 | 9585 |
9514 fi | 9586 fi |
9515 | 9587 |
9516 if test "$with_mule" = "yes" ; then | 9588 if test "$with_mule" = "yes" ; then |
9517 echo "checking for Mule-related features" 1>&6 | 9589 echo "checking for Mule-related features" 1>&6 |
9518 echo "configure:9519: checking for Mule-related features" >&5 | 9590 echo "configure:9591: checking for Mule-related features" >&5 |
9519 { test "$extra_verbose" = "yes" && cat << \EOF | 9591 { test "$extra_verbose" = "yes" && cat << \EOF |
9520 Defining MULE | 9592 Defining MULE |
9521 EOF | 9593 EOF |
9522 cat >> confdefs.h <<\EOF | 9594 cat >> confdefs.h <<\EOF |
9523 #define MULE 1 | 9595 #define MULE 1 |
9527 | 9599 |
9528 for ac_hdr in libintl.h | 9600 for ac_hdr in libintl.h |
9529 do | 9601 do |
9530 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9602 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9531 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9603 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9532 echo "configure:9533: checking for $ac_hdr" >&5 | 9604 echo "configure:9605: checking for $ac_hdr" >&5 |
9533 | 9605 |
9534 cat > conftest.$ac_ext <<EOF | 9606 cat > conftest.$ac_ext <<EOF |
9535 #line 9536 "configure" | 9607 #line 9608 "configure" |
9536 #include "confdefs.h" | 9608 #include "confdefs.h" |
9537 #include <$ac_hdr> | 9609 #include <$ac_hdr> |
9538 EOF | 9610 EOF |
9539 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9540 { (eval echo configure:9541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9612 { (eval echo configure:9613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9541 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9542 if test -z "$ac_err"; then | 9614 if test -z "$ac_err"; then |
9543 rm -rf conftest* | 9615 rm -rf conftest* |
9544 eval "ac_cv_header_$ac_safe=yes" | 9616 eval "ac_cv_header_$ac_safe=yes" |
9545 else | 9617 else |
9566 fi | 9638 fi |
9567 done | 9639 done |
9568 | 9640 |
9569 | 9641 |
9570 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9642 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9571 echo "configure:9572: checking for strerror in -lintl" >&5 | 9643 echo "configure:9644: checking for strerror in -lintl" >&5 |
9572 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9644 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9573 | 9645 |
9574 xe_check_libs=" -lintl " | 9646 xe_check_libs=" -lintl " |
9575 cat > conftest.$ac_ext <<EOF | 9647 cat > conftest.$ac_ext <<EOF |
9576 #line 9577 "configure" | 9648 #line 9649 "configure" |
9577 #include "confdefs.h" | 9649 #include "confdefs.h" |
9578 /* Override any gcc2 internal prototype to avoid an error. */ | 9650 /* Override any gcc2 internal prototype to avoid an error. */ |
9579 /* We use char because int might match the return type of a gcc2 | 9651 /* We use char because int might match the return type of a gcc2 |
9580 builtin and then its argument prototype would still apply. */ | 9652 builtin and then its argument prototype would still apply. */ |
9581 char strerror(); | 9653 char strerror(); |
9582 | 9654 |
9583 int main() { | 9655 int main() { |
9584 strerror() | 9656 strerror() |
9585 ; return 0; } | 9657 ; return 0; } |
9586 EOF | 9658 EOF |
9587 if { (eval echo configure:9588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9659 if { (eval echo configure:9660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9588 rm -rf conftest* | 9660 rm -rf conftest* |
9589 eval "ac_cv_lib_$ac_lib_var=yes" | 9661 eval "ac_cv_lib_$ac_lib_var=yes" |
9590 else | 9662 else |
9591 echo "configure: failed program was:" >&5 | 9663 echo "configure: failed program was:" >&5 |
9592 cat conftest.$ac_ext >&5 | 9664 cat conftest.$ac_ext >&5 |
9615 fi | 9687 fi |
9616 | 9688 |
9617 | 9689 |
9618 | 9690 |
9619 echo "checking for Mule input methods" 1>&6 | 9691 echo "checking for Mule input methods" 1>&6 |
9620 echo "configure:9621: checking for Mule input methods" >&5 | 9692 echo "configure:9693: checking for Mule input methods" >&5 |
9621 case "$with_xim" in "" | "yes" ) | 9693 case "$with_xim" in "" | "yes" ) |
9622 echo "checking for XIM" 1>&6 | 9694 echo "checking for XIM" 1>&6 |
9623 echo "configure:9624: checking for XIM" >&5 | 9695 echo "configure:9696: checking for XIM" >&5 |
9624 | 9696 |
9625 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9697 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9626 echo "configure:9627: checking for XOpenIM in -lX11" >&5 | 9698 echo "configure:9699: checking for XOpenIM in -lX11" >&5 |
9627 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9699 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9628 | 9700 |
9629 xe_check_libs=" -lX11 " | 9701 xe_check_libs=" -lX11 " |
9630 cat > conftest.$ac_ext <<EOF | 9702 cat > conftest.$ac_ext <<EOF |
9631 #line 9632 "configure" | 9703 #line 9704 "configure" |
9632 #include "confdefs.h" | 9704 #include "confdefs.h" |
9633 /* Override any gcc2 internal prototype to avoid an error. */ | 9705 /* Override any gcc2 internal prototype to avoid an error. */ |
9634 /* We use char because int might match the return type of a gcc2 | 9706 /* We use char because int might match the return type of a gcc2 |
9635 builtin and then its argument prototype would still apply. */ | 9707 builtin and then its argument prototype would still apply. */ |
9636 char XOpenIM(); | 9708 char XOpenIM(); |
9637 | 9709 |
9638 int main() { | 9710 int main() { |
9639 XOpenIM() | 9711 XOpenIM() |
9640 ; return 0; } | 9712 ; return 0; } |
9641 EOF | 9713 EOF |
9642 if { (eval echo configure:9643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9714 if { (eval echo configure:9715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9643 rm -rf conftest* | 9715 rm -rf conftest* |
9644 eval "ac_cv_lib_$ac_lib_var=yes" | 9716 eval "ac_cv_lib_$ac_lib_var=yes" |
9645 else | 9717 else |
9646 echo "configure: failed program was:" >&5 | 9718 echo "configure: failed program was:" >&5 |
9647 cat conftest.$ac_ext >&5 | 9719 cat conftest.$ac_ext >&5 |
9661 | 9733 |
9662 | 9734 |
9663 if test "$have_motif $have_lesstif" = "yes no"; then | 9735 if test "$have_motif $have_lesstif" = "yes no"; then |
9664 | 9736 |
9665 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9737 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9666 echo "configure:9667: checking for XmImMbLookupString in -lXm" >&5 | 9738 echo "configure:9739: checking for XmImMbLookupString in -lXm" >&5 |
9667 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9739 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9668 | 9740 |
9669 xe_check_libs=" -lXm " | 9741 xe_check_libs=" -lXm " |
9670 cat > conftest.$ac_ext <<EOF | 9742 cat > conftest.$ac_ext <<EOF |
9671 #line 9672 "configure" | 9743 #line 9744 "configure" |
9672 #include "confdefs.h" | 9744 #include "confdefs.h" |
9673 /* Override any gcc2 internal prototype to avoid an error. */ | 9745 /* Override any gcc2 internal prototype to avoid an error. */ |
9674 /* We use char because int might match the return type of a gcc2 | 9746 /* We use char because int might match the return type of a gcc2 |
9675 builtin and then its argument prototype would still apply. */ | 9747 builtin and then its argument prototype would still apply. */ |
9676 char XmImMbLookupString(); | 9748 char XmImMbLookupString(); |
9677 | 9749 |
9678 int main() { | 9750 int main() { |
9679 XmImMbLookupString() | 9751 XmImMbLookupString() |
9680 ; return 0; } | 9752 ; return 0; } |
9681 EOF | 9753 EOF |
9682 if { (eval echo configure:9683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9754 if { (eval echo configure:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9683 rm -rf conftest* | 9755 rm -rf conftest* |
9684 eval "ac_cv_lib_$ac_lib_var=yes" | 9756 eval "ac_cv_lib_$ac_lib_var=yes" |
9685 else | 9757 else |
9686 echo "configure: failed program was:" >&5 | 9758 echo "configure: failed program was:" >&5 |
9687 cat conftest.$ac_ext >&5 | 9759 cat conftest.$ac_ext >&5 |
9742 fi | 9814 fi |
9743 fi | 9815 fi |
9744 | 9816 |
9745 if test "$with_xfs" = "yes" ; then | 9817 if test "$with_xfs" = "yes" ; then |
9746 echo "checking for XFontSet" 1>&6 | 9818 echo "checking for XFontSet" 1>&6 |
9747 echo "configure:9748: checking for XFontSet" >&5 | 9819 echo "configure:9820: checking for XFontSet" >&5 |
9748 | 9820 |
9749 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 9821 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
9750 echo "configure:9751: checking for XmbDrawString in -lX11" >&5 | 9822 echo "configure:9823: checking for XmbDrawString in -lX11" >&5 |
9751 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 9823 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
9752 | 9824 |
9753 xe_check_libs=" -lX11 " | 9825 xe_check_libs=" -lX11 " |
9754 cat > conftest.$ac_ext <<EOF | 9826 cat > conftest.$ac_ext <<EOF |
9755 #line 9756 "configure" | 9827 #line 9828 "configure" |
9756 #include "confdefs.h" | 9828 #include "confdefs.h" |
9757 /* Override any gcc2 internal prototype to avoid an error. */ | 9829 /* Override any gcc2 internal prototype to avoid an error. */ |
9758 /* We use char because int might match the return type of a gcc2 | 9830 /* We use char because int might match the return type of a gcc2 |
9759 builtin and then its argument prototype would still apply. */ | 9831 builtin and then its argument prototype would still apply. */ |
9760 char XmbDrawString(); | 9832 char XmbDrawString(); |
9761 | 9833 |
9762 int main() { | 9834 int main() { |
9763 XmbDrawString() | 9835 XmbDrawString() |
9764 ; return 0; } | 9836 ; return 0; } |
9765 EOF | 9837 EOF |
9766 if { (eval echo configure:9767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9838 if { (eval echo configure:9839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9767 rm -rf conftest* | 9839 rm -rf conftest* |
9768 eval "ac_cv_lib_$ac_lib_var=yes" | 9840 eval "ac_cv_lib_$ac_lib_var=yes" |
9769 else | 9841 else |
9770 echo "configure: failed program was:" >&5 | 9842 echo "configure: failed program was:" >&5 |
9771 cat conftest.$ac_ext >&5 | 9843 cat conftest.$ac_ext >&5 |
9801 fi | 9873 fi |
9802 fi | 9874 fi |
9803 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 9875 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
9804 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 9876 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
9805 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 9877 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
9806 echo "configure:9807: checking for wnn/jllib.h" >&5 | 9878 echo "configure:9879: checking for wnn/jllib.h" >&5 |
9807 | 9879 |
9808 cat > conftest.$ac_ext <<EOF | 9880 cat > conftest.$ac_ext <<EOF |
9809 #line 9810 "configure" | 9881 #line 9882 "configure" |
9810 #include "confdefs.h" | 9882 #include "confdefs.h" |
9811 #include <wnn/jllib.h> | 9883 #include <wnn/jllib.h> |
9812 EOF | 9884 EOF |
9813 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9814 { (eval echo configure:9815: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9886 { (eval echo configure:9887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9815 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9887 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9816 if test -z "$ac_err"; then | 9888 if test -z "$ac_err"; then |
9817 rm -rf conftest* | 9889 rm -rf conftest* |
9818 eval "ac_cv_header_$ac_safe=yes" | 9890 eval "ac_cv_header_$ac_safe=yes" |
9819 else | 9891 else |
9832 with_wnn=no | 9904 with_wnn=no |
9833 fi | 9905 fi |
9834 } | 9906 } |
9835 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 9907 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
9836 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 9908 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
9837 echo "configure:9838: checking for wnn/commonhd.h" >&5 | 9909 echo "configure:9910: checking for wnn/commonhd.h" >&5 |
9838 | 9910 |
9839 cat > conftest.$ac_ext <<EOF | 9911 cat > conftest.$ac_ext <<EOF |
9840 #line 9841 "configure" | 9912 #line 9913 "configure" |
9841 #include "confdefs.h" | 9913 #include "confdefs.h" |
9842 #include <wnn/commonhd.h> | 9914 #include <wnn/commonhd.h> |
9843 EOF | 9915 EOF |
9844 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9916 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9845 { (eval echo configure:9846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9917 { (eval echo configure:9918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9846 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9918 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9847 if test -z "$ac_err"; then | 9919 if test -z "$ac_err"; then |
9848 rm -rf conftest* | 9920 rm -rf conftest* |
9849 eval "ac_cv_header_$ac_safe=yes" | 9921 eval "ac_cv_header_$ac_safe=yes" |
9850 else | 9922 else |
9865 } | 9937 } |
9866 if test "$with_wnn" != "no"; then | 9938 if test "$with_wnn" != "no"; then |
9867 for ac_func in crypt | 9939 for ac_func in crypt |
9868 do | 9940 do |
9869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9941 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9870 echo "configure:9871: checking for $ac_func" >&5 | 9942 echo "configure:9943: checking for $ac_func" >&5 |
9871 | 9943 |
9872 cat > conftest.$ac_ext <<EOF | 9944 cat > conftest.$ac_ext <<EOF |
9873 #line 9874 "configure" | 9945 #line 9946 "configure" |
9874 #include "confdefs.h" | 9946 #include "confdefs.h" |
9875 /* System header to define __stub macros and hopefully few prototypes, | 9947 /* System header to define __stub macros and hopefully few prototypes, |
9876 which can conflict with char $ac_func(); below. */ | 9948 which can conflict with char $ac_func(); below. */ |
9877 #include <assert.h> | 9949 #include <assert.h> |
9878 /* Override any gcc2 internal prototype to avoid an error. */ | 9950 /* Override any gcc2 internal prototype to avoid an error. */ |
9891 $ac_func(); | 9963 $ac_func(); |
9892 #endif | 9964 #endif |
9893 | 9965 |
9894 ; return 0; } | 9966 ; return 0; } |
9895 EOF | 9967 EOF |
9896 if { (eval echo configure:9897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9968 if { (eval echo configure:9969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9897 rm -rf conftest* | 9969 rm -rf conftest* |
9898 eval "ac_cv_func_$ac_func=yes" | 9970 eval "ac_cv_func_$ac_func=yes" |
9899 else | 9971 else |
9900 echo "configure: failed program was:" >&5 | 9972 echo "configure: failed program was:" >&5 |
9901 cat conftest.$ac_ext >&5 | 9973 cat conftest.$ac_ext >&5 |
9920 fi | 9992 fi |
9921 done | 9993 done |
9922 | 9994 |
9923 test "$ac_cv_func_crypt" != "yes" && { | 9995 test "$ac_cv_func_crypt" != "yes" && { |
9924 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 9996 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
9925 echo "configure:9926: checking for crypt in -lcrypt" >&5 | 9997 echo "configure:9998: checking for crypt in -lcrypt" >&5 |
9926 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 9998 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
9927 | 9999 |
9928 xe_check_libs=" -lcrypt " | 10000 xe_check_libs=" -lcrypt " |
9929 cat > conftest.$ac_ext <<EOF | 10001 cat > conftest.$ac_ext <<EOF |
9930 #line 9931 "configure" | 10002 #line 10003 "configure" |
9931 #include "confdefs.h" | 10003 #include "confdefs.h" |
9932 /* Override any gcc2 internal prototype to avoid an error. */ | 10004 /* Override any gcc2 internal prototype to avoid an error. */ |
9933 /* We use char because int might match the return type of a gcc2 | 10005 /* We use char because int might match the return type of a gcc2 |
9934 builtin and then its argument prototype would still apply. */ | 10006 builtin and then its argument prototype would still apply. */ |
9935 char crypt(); | 10007 char crypt(); |
9936 | 10008 |
9937 int main() { | 10009 int main() { |
9938 crypt() | 10010 crypt() |
9939 ; return 0; } | 10011 ; return 0; } |
9940 EOF | 10012 EOF |
9941 if { (eval echo configure:9942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10013 if { (eval echo configure:10014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9942 rm -rf conftest* | 10014 rm -rf conftest* |
9943 eval "ac_cv_lib_$ac_lib_var=yes" | 10015 eval "ac_cv_lib_$ac_lib_var=yes" |
9944 else | 10016 else |
9945 echo "configure: failed program was:" >&5 | 10017 echo "configure: failed program was:" >&5 |
9946 cat conftest.$ac_ext >&5 | 10018 cat conftest.$ac_ext >&5 |
9971 } | 10043 } |
9972 fi | 10044 fi |
9973 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10045 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
9974 | 10046 |
9975 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10047 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
9976 echo "configure:9977: checking for jl_dic_list_e in -lwnn" >&5 | 10048 echo "configure:10049: checking for jl_dic_list_e in -lwnn" >&5 |
9977 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10049 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9978 | 10050 |
9979 xe_check_libs=" -lwnn " | 10051 xe_check_libs=" -lwnn " |
9980 cat > conftest.$ac_ext <<EOF | 10052 cat > conftest.$ac_ext <<EOF |
9981 #line 9982 "configure" | 10053 #line 10054 "configure" |
9982 #include "confdefs.h" | 10054 #include "confdefs.h" |
9983 /* Override any gcc2 internal prototype to avoid an error. */ | 10055 /* Override any gcc2 internal prototype to avoid an error. */ |
9984 /* We use char because int might match the return type of a gcc2 | 10056 /* We use char because int might match the return type of a gcc2 |
9985 builtin and then its argument prototype would still apply. */ | 10057 builtin and then its argument prototype would still apply. */ |
9986 char jl_dic_list_e(); | 10058 char jl_dic_list_e(); |
9987 | 10059 |
9988 int main() { | 10060 int main() { |
9989 jl_dic_list_e() | 10061 jl_dic_list_e() |
9990 ; return 0; } | 10062 ; return 0; } |
9991 EOF | 10063 EOF |
9992 if { (eval echo configure:9993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10064 if { (eval echo configure:10065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9993 rm -rf conftest* | 10065 rm -rf conftest* |
9994 eval "ac_cv_lib_$ac_lib_var=yes" | 10066 eval "ac_cv_lib_$ac_lib_var=yes" |
9995 else | 10067 else |
9996 echo "configure: failed program was:" >&5 | 10068 echo "configure: failed program was:" >&5 |
9997 cat conftest.$ac_ext >&5 | 10069 cat conftest.$ac_ext >&5 |
10005 echo "$ac_t""yes" 1>&6 | 10077 echo "$ac_t""yes" 1>&6 |
10006 libwnn=wnn | 10078 libwnn=wnn |
10007 else | 10079 else |
10008 echo "$ac_t""no" 1>&6 | 10080 echo "$ac_t""no" 1>&6 |
10009 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10081 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10010 echo "configure:10011: checking for jl_dic_list_e in -lwnn4" >&5 | 10082 echo "configure:10083: checking for jl_dic_list_e in -lwnn4" >&5 |
10011 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10083 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10012 | 10084 |
10013 xe_check_libs=" -lwnn4 " | 10085 xe_check_libs=" -lwnn4 " |
10014 cat > conftest.$ac_ext <<EOF | 10086 cat > conftest.$ac_ext <<EOF |
10015 #line 10016 "configure" | 10087 #line 10088 "configure" |
10016 #include "confdefs.h" | 10088 #include "confdefs.h" |
10017 /* Override any gcc2 internal prototype to avoid an error. */ | 10089 /* Override any gcc2 internal prototype to avoid an error. */ |
10018 /* We use char because int might match the return type of a gcc2 | 10090 /* We use char because int might match the return type of a gcc2 |
10019 builtin and then its argument prototype would still apply. */ | 10091 builtin and then its argument prototype would still apply. */ |
10020 char jl_dic_list_e(); | 10092 char jl_dic_list_e(); |
10021 | 10093 |
10022 int main() { | 10094 int main() { |
10023 jl_dic_list_e() | 10095 jl_dic_list_e() |
10024 ; return 0; } | 10096 ; return 0; } |
10025 EOF | 10097 EOF |
10026 if { (eval echo configure:10027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10098 if { (eval echo configure:10099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10027 rm -rf conftest* | 10099 rm -rf conftest* |
10028 eval "ac_cv_lib_$ac_lib_var=yes" | 10100 eval "ac_cv_lib_$ac_lib_var=yes" |
10029 else | 10101 else |
10030 echo "configure: failed program was:" >&5 | 10102 echo "configure: failed program was:" >&5 |
10031 cat conftest.$ac_ext >&5 | 10103 cat conftest.$ac_ext >&5 |
10039 echo "$ac_t""yes" 1>&6 | 10111 echo "$ac_t""yes" 1>&6 |
10040 libwnn=wnn4 | 10112 libwnn=wnn4 |
10041 else | 10113 else |
10042 echo "$ac_t""no" 1>&6 | 10114 echo "$ac_t""no" 1>&6 |
10043 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10115 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10044 echo "configure:10045: checking for jl_dic_list_e in -lwnn6" >&5 | 10116 echo "configure:10117: checking for jl_dic_list_e in -lwnn6" >&5 |
10045 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10117 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10046 | 10118 |
10047 xe_check_libs=" -lwnn6 " | 10119 xe_check_libs=" -lwnn6 " |
10048 cat > conftest.$ac_ext <<EOF | 10120 cat > conftest.$ac_ext <<EOF |
10049 #line 10050 "configure" | 10121 #line 10122 "configure" |
10050 #include "confdefs.h" | 10122 #include "confdefs.h" |
10051 /* Override any gcc2 internal prototype to avoid an error. */ | 10123 /* Override any gcc2 internal prototype to avoid an error. */ |
10052 /* We use char because int might match the return type of a gcc2 | 10124 /* We use char because int might match the return type of a gcc2 |
10053 builtin and then its argument prototype would still apply. */ | 10125 builtin and then its argument prototype would still apply. */ |
10054 char jl_dic_list_e(); | 10126 char jl_dic_list_e(); |
10055 | 10127 |
10056 int main() { | 10128 int main() { |
10057 jl_dic_list_e() | 10129 jl_dic_list_e() |
10058 ; return 0; } | 10130 ; return 0; } |
10059 EOF | 10131 EOF |
10060 if { (eval echo configure:10061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10132 if { (eval echo configure:10133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10061 rm -rf conftest* | 10133 rm -rf conftest* |
10062 eval "ac_cv_lib_$ac_lib_var=yes" | 10134 eval "ac_cv_lib_$ac_lib_var=yes" |
10063 else | 10135 else |
10064 echo "configure: failed program was:" >&5 | 10136 echo "configure: failed program was:" >&5 |
10065 cat conftest.$ac_ext >&5 | 10137 cat conftest.$ac_ext >&5 |
10073 echo "$ac_t""yes" 1>&6 | 10145 echo "$ac_t""yes" 1>&6 |
10074 libwnn=wnn6 | 10146 libwnn=wnn6 |
10075 else | 10147 else |
10076 echo "$ac_t""no" 1>&6 | 10148 echo "$ac_t""no" 1>&6 |
10077 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10149 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10078 echo "configure:10079: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10150 echo "configure:10151: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10079 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10151 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10080 | 10152 |
10081 xe_check_libs=" -lwnn6_fromsrc " | 10153 xe_check_libs=" -lwnn6_fromsrc " |
10082 cat > conftest.$ac_ext <<EOF | 10154 cat > conftest.$ac_ext <<EOF |
10083 #line 10084 "configure" | 10155 #line 10156 "configure" |
10084 #include "confdefs.h" | 10156 #include "confdefs.h" |
10085 /* Override any gcc2 internal prototype to avoid an error. */ | 10157 /* Override any gcc2 internal prototype to avoid an error. */ |
10086 /* We use char because int might match the return type of a gcc2 | 10158 /* We use char because int might match the return type of a gcc2 |
10087 builtin and then its argument prototype would still apply. */ | 10159 builtin and then its argument prototype would still apply. */ |
10088 char dic_list_e(); | 10160 char dic_list_e(); |
10089 | 10161 |
10090 int main() { | 10162 int main() { |
10091 dic_list_e() | 10163 dic_list_e() |
10092 ; return 0; } | 10164 ; return 0; } |
10093 EOF | 10165 EOF |
10094 if { (eval echo configure:10095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10166 if { (eval echo configure:10167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10095 rm -rf conftest* | 10167 rm -rf conftest* |
10096 eval "ac_cv_lib_$ac_lib_var=yes" | 10168 eval "ac_cv_lib_$ac_lib_var=yes" |
10097 else | 10169 else |
10098 echo "configure: failed program was:" >&5 | 10170 echo "configure: failed program was:" >&5 |
10099 cat conftest.$ac_ext >&5 | 10171 cat conftest.$ac_ext >&5 |
10134 | 10206 |
10135 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 10207 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
10136 if test "$with_wnn6" != "no"; then | 10208 if test "$with_wnn6" != "no"; then |
10137 | 10209 |
10138 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10210 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10139 echo "configure:10140: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10211 echo "configure:10212: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10140 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10212 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10141 | 10213 |
10142 xe_check_libs=" -l$libwnn " | 10214 xe_check_libs=" -l$libwnn " |
10143 cat > conftest.$ac_ext <<EOF | 10215 cat > conftest.$ac_ext <<EOF |
10144 #line 10145 "configure" | 10216 #line 10217 "configure" |
10145 #include "confdefs.h" | 10217 #include "confdefs.h" |
10146 /* Override any gcc2 internal prototype to avoid an error. */ | 10218 /* Override any gcc2 internal prototype to avoid an error. */ |
10147 /* We use char because int might match the return type of a gcc2 | 10219 /* We use char because int might match the return type of a gcc2 |
10148 builtin and then its argument prototype would still apply. */ | 10220 builtin and then its argument prototype would still apply. */ |
10149 char jl_fi_dic_list(); | 10221 char jl_fi_dic_list(); |
10150 | 10222 |
10151 int main() { | 10223 int main() { |
10152 jl_fi_dic_list() | 10224 jl_fi_dic_list() |
10153 ; return 0; } | 10225 ; return 0; } |
10154 EOF | 10226 EOF |
10155 if { (eval echo configure:10156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10227 if { (eval echo configure:10228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10156 rm -rf conftest* | 10228 rm -rf conftest* |
10157 eval "ac_cv_lib_$ac_lib_var=yes" | 10229 eval "ac_cv_lib_$ac_lib_var=yes" |
10158 else | 10230 else |
10159 echo "configure: failed program was:" >&5 | 10231 echo "configure: failed program was:" >&5 |
10160 cat conftest.$ac_ext >&5 | 10232 cat conftest.$ac_ext >&5 |
10185 | 10257 |
10186 canna_includes_found=no | 10258 canna_includes_found=no |
10187 if test "$with_canna" != "no"; then | 10259 if test "$with_canna" != "no"; then |
10188 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10260 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10189 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10261 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10190 echo "configure:10191: checking for canna/jrkanji.h" >&5 | 10262 echo "configure:10263: checking for canna/jrkanji.h" >&5 |
10191 | 10263 |
10192 cat > conftest.$ac_ext <<EOF | 10264 cat > conftest.$ac_ext <<EOF |
10193 #line 10194 "configure" | 10265 #line 10266 "configure" |
10194 #include "confdefs.h" | 10266 #include "confdefs.h" |
10195 #include <canna/jrkanji.h> | 10267 #include <canna/jrkanji.h> |
10196 EOF | 10268 EOF |
10197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10198 { (eval echo configure:10199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10270 { (eval echo configure:10271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10271 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10200 if test -z "$ac_err"; then | 10272 if test -z "$ac_err"; then |
10201 rm -rf conftest* | 10273 rm -rf conftest* |
10202 eval "ac_cv_header_$ac_safe=yes" | 10274 eval "ac_cv_header_$ac_safe=yes" |
10203 else | 10275 else |
10220 -d "/usr/local/canna/include"; then | 10292 -d "/usr/local/canna/include"; then |
10221 save_c_switch_site="$c_switch_site" | 10293 save_c_switch_site="$c_switch_site" |
10222 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10294 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10223 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10295 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10224 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10296 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10225 echo "configure:10226: checking for canna/jrkanji.h" >&5 | 10297 echo "configure:10298: checking for canna/jrkanji.h" >&5 |
10226 | 10298 |
10227 cat > conftest.$ac_ext <<EOF | 10299 cat > conftest.$ac_ext <<EOF |
10228 #line 10229 "configure" | 10300 #line 10301 "configure" |
10229 #include "confdefs.h" | 10301 #include "confdefs.h" |
10230 #include <canna/jrkanji.h> | 10302 #include <canna/jrkanji.h> |
10231 EOF | 10303 EOF |
10232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10233 { (eval echo configure:10234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10305 { (eval echo configure:10306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10235 if test -z "$ac_err"; then | 10307 if test -z "$ac_err"; then |
10236 rm -rf conftest* | 10308 rm -rf conftest* |
10237 eval "ac_cv_header_$ac_safe=yes" | 10309 eval "ac_cv_header_$ac_safe=yes" |
10238 else | 10310 else |
10256 fi | 10328 fi |
10257 fi | 10329 fi |
10258 | 10330 |
10259 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10331 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10260 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10332 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10261 echo "configure:10262: checking for canna/RK.h" >&5 | 10333 echo "configure:10334: checking for canna/RK.h" >&5 |
10262 | 10334 |
10263 cat > conftest.$ac_ext <<EOF | 10335 cat > conftest.$ac_ext <<EOF |
10264 #line 10265 "configure" | 10336 #line 10337 "configure" |
10265 #include "confdefs.h" | 10337 #include "confdefs.h" |
10266 #include <canna/RK.h> | 10338 #include <canna/RK.h> |
10267 EOF | 10339 EOF |
10268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10340 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10269 { (eval echo configure:10270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10341 { (eval echo configure:10342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10342 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10271 if test -z "$ac_err"; then | 10343 if test -z "$ac_err"; then |
10272 rm -rf conftest* | 10344 rm -rf conftest* |
10273 eval "ac_cv_header_$ac_safe=yes" | 10345 eval "ac_cv_header_$ac_safe=yes" |
10274 else | 10346 else |
10287 with_canna=no | 10359 with_canna=no |
10288 fi | 10360 fi |
10289 } | 10361 } |
10290 test -z "$with_canna" && { | 10362 test -z "$with_canna" && { |
10291 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10363 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10292 echo "configure:10293: checking for RkBgnBun in -lRKC" >&5 | 10364 echo "configure:10365: checking for RkBgnBun in -lRKC" >&5 |
10293 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10365 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10294 | 10366 |
10295 xe_check_libs=" -lRKC " | 10367 xe_check_libs=" -lRKC " |
10296 cat > conftest.$ac_ext <<EOF | 10368 cat > conftest.$ac_ext <<EOF |
10297 #line 10298 "configure" | 10369 #line 10370 "configure" |
10298 #include "confdefs.h" | 10370 #include "confdefs.h" |
10299 /* Override any gcc2 internal prototype to avoid an error. */ | 10371 /* Override any gcc2 internal prototype to avoid an error. */ |
10300 /* We use char because int might match the return type of a gcc2 | 10372 /* We use char because int might match the return type of a gcc2 |
10301 builtin and then its argument prototype would still apply. */ | 10373 builtin and then its argument prototype would still apply. */ |
10302 char RkBgnBun(); | 10374 char RkBgnBun(); |
10303 | 10375 |
10304 int main() { | 10376 int main() { |
10305 RkBgnBun() | 10377 RkBgnBun() |
10306 ; return 0; } | 10378 ; return 0; } |
10307 EOF | 10379 EOF |
10308 if { (eval echo configure:10309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10380 if { (eval echo configure:10381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10309 rm -rf conftest* | 10381 rm -rf conftest* |
10310 eval "ac_cv_lib_$ac_lib_var=yes" | 10382 eval "ac_cv_lib_$ac_lib_var=yes" |
10311 else | 10383 else |
10312 echo "configure: failed program was:" >&5 | 10384 echo "configure: failed program was:" >&5 |
10313 cat conftest.$ac_ext >&5 | 10385 cat conftest.$ac_ext >&5 |
10326 fi | 10398 fi |
10327 | 10399 |
10328 } | 10400 } |
10329 test -z "$with_canna" && { | 10401 test -z "$with_canna" && { |
10330 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10402 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10331 echo "configure:10332: checking for jrKanjiControl in -lcanna" >&5 | 10403 echo "configure:10404: checking for jrKanjiControl in -lcanna" >&5 |
10332 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10404 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10333 | 10405 |
10334 xe_check_libs=" -lcanna " | 10406 xe_check_libs=" -lcanna " |
10335 cat > conftest.$ac_ext <<EOF | 10407 cat > conftest.$ac_ext <<EOF |
10336 #line 10337 "configure" | 10408 #line 10409 "configure" |
10337 #include "confdefs.h" | 10409 #include "confdefs.h" |
10338 /* Override any gcc2 internal prototype to avoid an error. */ | 10410 /* Override any gcc2 internal prototype to avoid an error. */ |
10339 /* We use char because int might match the return type of a gcc2 | 10411 /* We use char because int might match the return type of a gcc2 |
10340 builtin and then its argument prototype would still apply. */ | 10412 builtin and then its argument prototype would still apply. */ |
10341 char jrKanjiControl(); | 10413 char jrKanjiControl(); |
10342 | 10414 |
10343 int main() { | 10415 int main() { |
10344 jrKanjiControl() | 10416 jrKanjiControl() |
10345 ; return 0; } | 10417 ; return 0; } |
10346 EOF | 10418 EOF |
10347 if { (eval echo configure:10348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10419 if { (eval echo configure:10420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10348 rm -rf conftest* | 10420 rm -rf conftest* |
10349 eval "ac_cv_lib_$ac_lib_var=yes" | 10421 eval "ac_cv_lib_$ac_lib_var=yes" |
10350 else | 10422 else |
10351 echo "configure: failed program was:" >&5 | 10423 echo "configure: failed program was:" >&5 |
10352 cat conftest.$ac_ext >&5 | 10424 cat conftest.$ac_ext >&5 |
10388 | 10460 |
10389 if test "$need_motif" = "yes" ; then | 10461 if test "$need_motif" = "yes" ; then |
10390 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10462 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10391 | 10463 |
10392 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10464 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10393 echo "configure:10394: checking for layout_object_getvalue in -li18n" >&5 | 10465 echo "configure:10466: checking for layout_object_getvalue in -li18n" >&5 |
10394 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10466 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10395 | 10467 |
10396 xe_check_libs=" -li18n " | 10468 xe_check_libs=" -li18n " |
10397 cat > conftest.$ac_ext <<EOF | 10469 cat > conftest.$ac_ext <<EOF |
10398 #line 10399 "configure" | 10470 #line 10471 "configure" |
10399 #include "confdefs.h" | 10471 #include "confdefs.h" |
10400 /* Override any gcc2 internal prototype to avoid an error. */ | 10472 /* Override any gcc2 internal prototype to avoid an error. */ |
10401 /* We use char because int might match the return type of a gcc2 | 10473 /* We use char because int might match the return type of a gcc2 |
10402 builtin and then its argument prototype would still apply. */ | 10474 builtin and then its argument prototype would still apply. */ |
10403 char layout_object_getvalue(); | 10475 char layout_object_getvalue(); |
10404 | 10476 |
10405 int main() { | 10477 int main() { |
10406 layout_object_getvalue() | 10478 layout_object_getvalue() |
10407 ; return 0; } | 10479 ; return 0; } |
10408 EOF | 10480 EOF |
10409 if { (eval echo configure:10410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10481 if { (eval echo configure:10482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10410 rm -rf conftest* | 10482 rm -rf conftest* |
10411 eval "ac_cv_lib_$ac_lib_var=yes" | 10483 eval "ac_cv_lib_$ac_lib_var=yes" |
10412 else | 10484 else |
10413 echo "configure: failed program was:" >&5 | 10485 echo "configure: failed program was:" >&5 |
10414 cat conftest.$ac_ext >&5 | 10486 cat conftest.$ac_ext >&5 |
10491 | 10563 |
10492 | 10564 |
10493 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 10565 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
10494 do | 10566 do |
10495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10496 echo "configure:10497: checking for $ac_func" >&5 | 10568 echo "configure:10569: checking for $ac_func" >&5 |
10497 | 10569 |
10498 cat > conftest.$ac_ext <<EOF | 10570 cat > conftest.$ac_ext <<EOF |
10499 #line 10500 "configure" | 10571 #line 10572 "configure" |
10500 #include "confdefs.h" | 10572 #include "confdefs.h" |
10501 /* System header to define __stub macros and hopefully few prototypes, | 10573 /* System header to define __stub macros and hopefully few prototypes, |
10502 which can conflict with char $ac_func(); below. */ | 10574 which can conflict with char $ac_func(); below. */ |
10503 #include <assert.h> | 10575 #include <assert.h> |
10504 /* Override any gcc2 internal prototype to avoid an error. */ | 10576 /* Override any gcc2 internal prototype to avoid an error. */ |
10517 $ac_func(); | 10589 $ac_func(); |
10518 #endif | 10590 #endif |
10519 | 10591 |
10520 ; return 0; } | 10592 ; return 0; } |
10521 EOF | 10593 EOF |
10522 if { (eval echo configure:10523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10594 if { (eval echo configure:10595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10523 rm -rf conftest* | 10595 rm -rf conftest* |
10524 eval "ac_cv_func_$ac_func=yes" | 10596 eval "ac_cv_func_$ac_func=yes" |
10525 else | 10597 else |
10526 echo "configure: failed program was:" >&5 | 10598 echo "configure: failed program was:" >&5 |
10527 cat conftest.$ac_ext >&5 | 10599 cat conftest.$ac_ext >&5 |
10558 | 10630 |
10559 | 10631 |
10560 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10632 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10561 do | 10633 do |
10562 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10563 echo "configure:10564: checking for $ac_func" >&5 | 10635 echo "configure:10636: checking for $ac_func" >&5 |
10564 | 10636 |
10565 cat > conftest.$ac_ext <<EOF | 10637 cat > conftest.$ac_ext <<EOF |
10566 #line 10567 "configure" | 10638 #line 10639 "configure" |
10567 #include "confdefs.h" | 10639 #include "confdefs.h" |
10568 /* System header to define __stub macros and hopefully few prototypes, | 10640 /* System header to define __stub macros and hopefully few prototypes, |
10569 which can conflict with char $ac_func(); below. */ | 10641 which can conflict with char $ac_func(); below. */ |
10570 #include <assert.h> | 10642 #include <assert.h> |
10571 /* Override any gcc2 internal prototype to avoid an error. */ | 10643 /* Override any gcc2 internal prototype to avoid an error. */ |
10584 $ac_func(); | 10656 $ac_func(); |
10585 #endif | 10657 #endif |
10586 | 10658 |
10587 ; return 0; } | 10659 ; return 0; } |
10588 EOF | 10660 EOF |
10589 if { (eval echo configure:10590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10661 if { (eval echo configure:10662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10590 rm -rf conftest* | 10662 rm -rf conftest* |
10591 eval "ac_cv_func_$ac_func=yes" | 10663 eval "ac_cv_func_$ac_func=yes" |
10592 else | 10664 else |
10593 echo "configure: failed program was:" >&5 | 10665 echo "configure: failed program was:" >&5 |
10594 cat conftest.$ac_ext >&5 | 10666 cat conftest.$ac_ext >&5 |
10613 fi | 10685 fi |
10614 done | 10686 done |
10615 | 10687 |
10616 | 10688 |
10617 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10689 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10618 echo "configure:10619: checking for openpty" >&5 | 10690 echo "configure:10691: checking for openpty" >&5 |
10619 | 10691 |
10620 cat > conftest.$ac_ext <<EOF | 10692 cat > conftest.$ac_ext <<EOF |
10621 #line 10622 "configure" | 10693 #line 10694 "configure" |
10622 #include "confdefs.h" | 10694 #include "confdefs.h" |
10623 /* System header to define __stub macros and hopefully few prototypes, | 10695 /* System header to define __stub macros and hopefully few prototypes, |
10624 which can conflict with char openpty(); below. */ | 10696 which can conflict with char openpty(); below. */ |
10625 #include <assert.h> | 10697 #include <assert.h> |
10626 /* Override any gcc2 internal prototype to avoid an error. */ | 10698 /* Override any gcc2 internal prototype to avoid an error. */ |
10639 openpty(); | 10711 openpty(); |
10640 #endif | 10712 #endif |
10641 | 10713 |
10642 ; return 0; } | 10714 ; return 0; } |
10643 EOF | 10715 EOF |
10644 if { (eval echo configure:10645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10716 if { (eval echo configure:10717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10645 rm -rf conftest* | 10717 rm -rf conftest* |
10646 eval "ac_cv_func_openpty=yes" | 10718 eval "ac_cv_func_openpty=yes" |
10647 else | 10719 else |
10648 echo "configure: failed program was:" >&5 | 10720 echo "configure: failed program was:" >&5 |
10649 cat conftest.$ac_ext >&5 | 10721 cat conftest.$ac_ext >&5 |
10658 else | 10730 else |
10659 echo "$ac_t""no" 1>&6 | 10731 echo "$ac_t""no" 1>&6 |
10660 | 10732 |
10661 | 10733 |
10662 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10734 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10663 echo "configure:10664: checking for openpty in -lutil" >&5 | 10735 echo "configure:10736: checking for openpty in -lutil" >&5 |
10664 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10736 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10665 | 10737 |
10666 xe_check_libs=" -lutil " | 10738 xe_check_libs=" -lutil " |
10667 cat > conftest.$ac_ext <<EOF | 10739 cat > conftest.$ac_ext <<EOF |
10668 #line 10669 "configure" | 10740 #line 10741 "configure" |
10669 #include "confdefs.h" | 10741 #include "confdefs.h" |
10670 /* Override any gcc2 internal prototype to avoid an error. */ | 10742 /* Override any gcc2 internal prototype to avoid an error. */ |
10671 /* We use char because int might match the return type of a gcc2 | 10743 /* We use char because int might match the return type of a gcc2 |
10672 builtin and then its argument prototype would still apply. */ | 10744 builtin and then its argument prototype would still apply. */ |
10673 char openpty(); | 10745 char openpty(); |
10674 | 10746 |
10675 int main() { | 10747 int main() { |
10676 openpty() | 10748 openpty() |
10677 ; return 0; } | 10749 ; return 0; } |
10678 EOF | 10750 EOF |
10679 if { (eval echo configure:10680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10751 if { (eval echo configure:10752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10680 rm -rf conftest* | 10752 rm -rf conftest* |
10681 eval "ac_cv_lib_$ac_lib_var=yes" | 10753 eval "ac_cv_lib_$ac_lib_var=yes" |
10682 else | 10754 else |
10683 echo "configure: failed program was:" >&5 | 10755 echo "configure: failed program was:" >&5 |
10684 cat conftest.$ac_ext >&5 | 10756 cat conftest.$ac_ext >&5 |
10709 | 10781 |
10710 for ac_hdr in libutil.h util.h | 10782 for ac_hdr in libutil.h util.h |
10711 do | 10783 do |
10712 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10784 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10713 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10785 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10714 echo "configure:10715: checking for $ac_hdr" >&5 | 10786 echo "configure:10787: checking for $ac_hdr" >&5 |
10715 | 10787 |
10716 cat > conftest.$ac_ext <<EOF | 10788 cat > conftest.$ac_ext <<EOF |
10717 #line 10718 "configure" | 10789 #line 10790 "configure" |
10718 #include "confdefs.h" | 10790 #include "confdefs.h" |
10719 #include <$ac_hdr> | 10791 #include <$ac_hdr> |
10720 EOF | 10792 EOF |
10721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10722 { (eval echo configure:10723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10794 { (eval echo configure:10795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10723 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10724 if test -z "$ac_err"; then | 10796 if test -z "$ac_err"; then |
10725 rm -rf conftest* | 10797 rm -rf conftest* |
10726 eval "ac_cv_header_$ac_safe=yes" | 10798 eval "ac_cv_header_$ac_safe=yes" |
10727 else | 10799 else |
10754 case "$opsys" in | 10826 case "$opsys" in |
10755 hpux*) for ac_hdr in sys/ptyio.h | 10827 hpux*) for ac_hdr in sys/ptyio.h |
10756 do | 10828 do |
10757 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10829 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10758 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10830 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10759 echo "configure:10760: checking for $ac_hdr" >&5 | 10831 echo "configure:10832: checking for $ac_hdr" >&5 |
10760 | 10832 |
10761 cat > conftest.$ac_ext <<EOF | 10833 cat > conftest.$ac_ext <<EOF |
10762 #line 10763 "configure" | 10834 #line 10835 "configure" |
10763 #include "confdefs.h" | 10835 #include "confdefs.h" |
10764 #include <$ac_hdr> | 10836 #include <$ac_hdr> |
10765 EOF | 10837 EOF |
10766 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10767 { (eval echo configure:10768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10839 { (eval echo configure:10840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10768 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10769 if test -z "$ac_err"; then | 10841 if test -z "$ac_err"; then |
10770 rm -rf conftest* | 10842 rm -rf conftest* |
10771 eval "ac_cv_header_$ac_safe=yes" | 10843 eval "ac_cv_header_$ac_safe=yes" |
10772 else | 10844 else |
10795 ;; | 10867 ;; |
10796 *) for ac_hdr in pty.h | 10868 *) for ac_hdr in pty.h |
10797 do | 10869 do |
10798 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10870 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10799 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10871 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10800 echo "configure:10801: checking for $ac_hdr" >&5 | 10872 echo "configure:10873: checking for $ac_hdr" >&5 |
10801 | 10873 |
10802 cat > conftest.$ac_ext <<EOF | 10874 cat > conftest.$ac_ext <<EOF |
10803 #line 10804 "configure" | 10875 #line 10876 "configure" |
10804 #include "confdefs.h" | 10876 #include "confdefs.h" |
10805 #include <$ac_hdr> | 10877 #include <$ac_hdr> |
10806 EOF | 10878 EOF |
10807 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10808 { (eval echo configure:10809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10880 { (eval echo configure:10881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10809 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10810 if test -z "$ac_err"; then | 10882 if test -z "$ac_err"; then |
10811 rm -rf conftest* | 10883 rm -rf conftest* |
10812 eval "ac_cv_header_$ac_safe=yes" | 10884 eval "ac_cv_header_$ac_safe=yes" |
10813 else | 10885 else |
10836 | 10908 |
10837 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 10909 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
10838 do | 10910 do |
10839 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10911 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10840 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10912 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10841 echo "configure:10842: checking for $ac_hdr" >&5 | 10913 echo "configure:10914: checking for $ac_hdr" >&5 |
10842 | 10914 |
10843 cat > conftest.$ac_ext <<EOF | 10915 cat > conftest.$ac_ext <<EOF |
10844 #line 10845 "configure" | 10916 #line 10917 "configure" |
10845 #include "confdefs.h" | 10917 #include "confdefs.h" |
10846 #include <$ac_hdr> | 10918 #include <$ac_hdr> |
10847 EOF | 10919 EOF |
10848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10920 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10849 { (eval echo configure:10850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10921 { (eval echo configure:10922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10922 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10851 if test -z "$ac_err"; then | 10923 if test -z "$ac_err"; then |
10852 rm -rf conftest* | 10924 rm -rf conftest* |
10853 eval "ac_cv_header_$ac_safe=yes" | 10925 eval "ac_cv_header_$ac_safe=yes" |
10854 else | 10926 else |
10880 | 10952 |
10881 for ac_hdr in stropts.h | 10953 for ac_hdr in stropts.h |
10882 do | 10954 do |
10883 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10955 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10884 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10956 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10885 echo "configure:10886: checking for $ac_hdr" >&5 | 10957 echo "configure:10958: checking for $ac_hdr" >&5 |
10886 | 10958 |
10887 cat > conftest.$ac_ext <<EOF | 10959 cat > conftest.$ac_ext <<EOF |
10888 #line 10889 "configure" | 10960 #line 10961 "configure" |
10889 #include "confdefs.h" | 10961 #include "confdefs.h" |
10890 #include <$ac_hdr> | 10962 #include <$ac_hdr> |
10891 EOF | 10963 EOF |
10892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10893 { (eval echo configure:10894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10965 { (eval echo configure:10966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10894 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10895 if test -z "$ac_err"; then | 10967 if test -z "$ac_err"; then |
10896 rm -rf conftest* | 10968 rm -rf conftest* |
10897 eval "ac_cv_header_$ac_safe=yes" | 10969 eval "ac_cv_header_$ac_safe=yes" |
10898 else | 10970 else |
10921 | 10993 |
10922 if test "$ac_cv_header_stropts_h" = "yes"; then | 10994 if test "$ac_cv_header_stropts_h" = "yes"; then |
10923 for ac_func in isastream | 10995 for ac_func in isastream |
10924 do | 10996 do |
10925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10997 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10926 echo "configure:10927: checking for $ac_func" >&5 | 10998 echo "configure:10999: checking for $ac_func" >&5 |
10927 | 10999 |
10928 cat > conftest.$ac_ext <<EOF | 11000 cat > conftest.$ac_ext <<EOF |
10929 #line 10930 "configure" | 11001 #line 11002 "configure" |
10930 #include "confdefs.h" | 11002 #include "confdefs.h" |
10931 /* System header to define __stub macros and hopefully few prototypes, | 11003 /* System header to define __stub macros and hopefully few prototypes, |
10932 which can conflict with char $ac_func(); below. */ | 11004 which can conflict with char $ac_func(); below. */ |
10933 #include <assert.h> | 11005 #include <assert.h> |
10934 /* Override any gcc2 internal prototype to avoid an error. */ | 11006 /* Override any gcc2 internal prototype to avoid an error. */ |
10947 $ac_func(); | 11019 $ac_func(); |
10948 #endif | 11020 #endif |
10949 | 11021 |
10950 ; return 0; } | 11022 ; return 0; } |
10951 EOF | 11023 EOF |
10952 if { (eval echo configure:10953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11024 if { (eval echo configure:11025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10953 rm -rf conftest* | 11025 rm -rf conftest* |
10954 eval "ac_cv_func_$ac_func=yes" | 11026 eval "ac_cv_func_$ac_func=yes" |
10955 else | 11027 else |
10956 echo "configure: failed program was:" >&5 | 11028 echo "configure: failed program was:" >&5 |
10957 cat conftest.$ac_ext >&5 | 11029 cat conftest.$ac_ext >&5 |
10978 | 11050 |
10979 for ac_hdr in strtio.h | 11051 for ac_hdr in strtio.h |
10980 do | 11052 do |
10981 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11053 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10982 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11054 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10983 echo "configure:10984: checking for $ac_hdr" >&5 | 11055 echo "configure:11056: checking for $ac_hdr" >&5 |
10984 | 11056 |
10985 cat > conftest.$ac_ext <<EOF | 11057 cat > conftest.$ac_ext <<EOF |
10986 #line 10987 "configure" | 11058 #line 11059 "configure" |
10987 #include "confdefs.h" | 11059 #include "confdefs.h" |
10988 #include <$ac_hdr> | 11060 #include <$ac_hdr> |
10989 EOF | 11061 EOF |
10990 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10991 { (eval echo configure:10992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11063 { (eval echo configure:11064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10992 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10993 if test -z "$ac_err"; then | 11065 if test -z "$ac_err"; then |
10994 rm -rf conftest* | 11066 rm -rf conftest* |
10995 eval "ac_cv_header_$ac_safe=yes" | 11067 eval "ac_cv_header_$ac_safe=yes" |
10996 else | 11068 else |
11019 fi | 11091 fi |
11020 | 11092 |
11021 for ac_func in getloadavg | 11093 for ac_func in getloadavg |
11022 do | 11094 do |
11023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11095 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11024 echo "configure:11025: checking for $ac_func" >&5 | 11096 echo "configure:11097: checking for $ac_func" >&5 |
11025 | 11097 |
11026 cat > conftest.$ac_ext <<EOF | 11098 cat > conftest.$ac_ext <<EOF |
11027 #line 11028 "configure" | 11099 #line 11100 "configure" |
11028 #include "confdefs.h" | 11100 #include "confdefs.h" |
11029 /* System header to define __stub macros and hopefully few prototypes, | 11101 /* System header to define __stub macros and hopefully few prototypes, |
11030 which can conflict with char $ac_func(); below. */ | 11102 which can conflict with char $ac_func(); below. */ |
11031 #include <assert.h> | 11103 #include <assert.h> |
11032 /* Override any gcc2 internal prototype to avoid an error. */ | 11104 /* Override any gcc2 internal prototype to avoid an error. */ |
11045 $ac_func(); | 11117 $ac_func(); |
11046 #endif | 11118 #endif |
11047 | 11119 |
11048 ; return 0; } | 11120 ; return 0; } |
11049 EOF | 11121 EOF |
11050 if { (eval echo configure:11051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11122 if { (eval echo configure:11123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11051 rm -rf conftest* | 11123 rm -rf conftest* |
11052 eval "ac_cv_func_$ac_func=yes" | 11124 eval "ac_cv_func_$ac_func=yes" |
11053 else | 11125 else |
11054 echo "configure: failed program was:" >&5 | 11126 echo "configure: failed program was:" >&5 |
11055 cat conftest.$ac_ext >&5 | 11127 cat conftest.$ac_ext >&5 |
11078 if test "$ac_cv_func_getloadavg" = "yes"; then | 11150 if test "$ac_cv_func_getloadavg" = "yes"; then |
11079 for ac_hdr in sys/loadavg.h | 11151 for ac_hdr in sys/loadavg.h |
11080 do | 11152 do |
11081 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11153 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11082 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11154 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11083 echo "configure:11084: checking for $ac_hdr" >&5 | 11155 echo "configure:11156: checking for $ac_hdr" >&5 |
11084 | 11156 |
11085 cat > conftest.$ac_ext <<EOF | 11157 cat > conftest.$ac_ext <<EOF |
11086 #line 11087 "configure" | 11158 #line 11159 "configure" |
11087 #include "confdefs.h" | 11159 #include "confdefs.h" |
11088 #include <$ac_hdr> | 11160 #include <$ac_hdr> |
11089 EOF | 11161 EOF |
11090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11162 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11091 { (eval echo configure:11092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11163 { (eval echo configure:11164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11164 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11093 if test -z "$ac_err"; then | 11165 if test -z "$ac_err"; then |
11094 rm -rf conftest* | 11166 rm -rf conftest* |
11095 eval "ac_cv_header_$ac_safe=yes" | 11167 eval "ac_cv_header_$ac_safe=yes" |
11096 else | 11168 else |
11122 echo " xemacs will be linked with \"getloadavg.o\"" | 11194 echo " xemacs will be linked with \"getloadavg.o\"" |
11123 fi | 11195 fi |
11124 | 11196 |
11125 | 11197 |
11126 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11198 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11127 echo "configure:11128: checking for kstat_open in -lkstat" >&5 | 11199 echo "configure:11200: checking for kstat_open in -lkstat" >&5 |
11128 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11200 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11129 | 11201 |
11130 xe_check_libs=" -lkstat " | 11202 xe_check_libs=" -lkstat " |
11131 cat > conftest.$ac_ext <<EOF | 11203 cat > conftest.$ac_ext <<EOF |
11132 #line 11133 "configure" | 11204 #line 11205 "configure" |
11133 #include "confdefs.h" | 11205 #include "confdefs.h" |
11134 /* Override any gcc2 internal prototype to avoid an error. */ | 11206 /* Override any gcc2 internal prototype to avoid an error. */ |
11135 /* We use char because int might match the return type of a gcc2 | 11207 /* We use char because int might match the return type of a gcc2 |
11136 builtin and then its argument prototype would still apply. */ | 11208 builtin and then its argument prototype would still apply. */ |
11137 char kstat_open(); | 11209 char kstat_open(); |
11138 | 11210 |
11139 int main() { | 11211 int main() { |
11140 kstat_open() | 11212 kstat_open() |
11141 ; return 0; } | 11213 ; return 0; } |
11142 EOF | 11214 EOF |
11143 if { (eval echo configure:11144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11215 if { (eval echo configure:11216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11144 rm -rf conftest* | 11216 rm -rf conftest* |
11145 eval "ac_cv_lib_$ac_lib_var=yes" | 11217 eval "ac_cv_lib_$ac_lib_var=yes" |
11146 else | 11218 else |
11147 echo "configure: failed program was:" >&5 | 11219 echo "configure: failed program was:" >&5 |
11148 cat conftest.$ac_ext >&5 | 11220 cat conftest.$ac_ext >&5 |
11173 | 11245 |
11174 for ac_hdr in kstat.h | 11246 for ac_hdr in kstat.h |
11175 do | 11247 do |
11176 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11248 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11177 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11249 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11178 echo "configure:11179: checking for $ac_hdr" >&5 | 11250 echo "configure:11251: checking for $ac_hdr" >&5 |
11179 | 11251 |
11180 cat > conftest.$ac_ext <<EOF | 11252 cat > conftest.$ac_ext <<EOF |
11181 #line 11182 "configure" | 11253 #line 11254 "configure" |
11182 #include "confdefs.h" | 11254 #include "confdefs.h" |
11183 #include <$ac_hdr> | 11255 #include <$ac_hdr> |
11184 EOF | 11256 EOF |
11185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11186 { (eval echo configure:11187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11258 { (eval echo configure:11259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11187 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11188 if test -z "$ac_err"; then | 11260 if test -z "$ac_err"; then |
11189 rm -rf conftest* | 11261 rm -rf conftest* |
11190 eval "ac_cv_header_$ac_safe=yes" | 11262 eval "ac_cv_header_$ac_safe=yes" |
11191 else | 11263 else |
11213 done | 11285 done |
11214 | 11286 |
11215 | 11287 |
11216 | 11288 |
11217 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11289 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11218 echo "configure:11219: checking for kvm_read in -lkvm" >&5 | 11290 echo "configure:11291: checking for kvm_read in -lkvm" >&5 |
11219 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11291 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11220 | 11292 |
11221 xe_check_libs=" -lkvm " | 11293 xe_check_libs=" -lkvm " |
11222 cat > conftest.$ac_ext <<EOF | 11294 cat > conftest.$ac_ext <<EOF |
11223 #line 11224 "configure" | 11295 #line 11296 "configure" |
11224 #include "confdefs.h" | 11296 #include "confdefs.h" |
11225 /* Override any gcc2 internal prototype to avoid an error. */ | 11297 /* Override any gcc2 internal prototype to avoid an error. */ |
11226 /* We use char because int might match the return type of a gcc2 | 11298 /* We use char because int might match the return type of a gcc2 |
11227 builtin and then its argument prototype would still apply. */ | 11299 builtin and then its argument prototype would still apply. */ |
11228 char kvm_read(); | 11300 char kvm_read(); |
11229 | 11301 |
11230 int main() { | 11302 int main() { |
11231 kvm_read() | 11303 kvm_read() |
11232 ; return 0; } | 11304 ; return 0; } |
11233 EOF | 11305 EOF |
11234 if { (eval echo configure:11235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11306 if { (eval echo configure:11307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11235 rm -rf conftest* | 11307 rm -rf conftest* |
11236 eval "ac_cv_lib_$ac_lib_var=yes" | 11308 eval "ac_cv_lib_$ac_lib_var=yes" |
11237 else | 11309 else |
11238 echo "configure: failed program was:" >&5 | 11310 echo "configure: failed program was:" >&5 |
11239 cat conftest.$ac_ext >&5 | 11311 cat conftest.$ac_ext >&5 |
11263 | 11335 |
11264 | 11336 |
11265 fi | 11337 fi |
11266 | 11338 |
11267 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11339 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11268 echo "configure:11269: checking whether netdb declares h_errno" >&5 | 11340 echo "configure:11341: checking whether netdb declares h_errno" >&5 |
11269 cat > conftest.$ac_ext <<EOF | 11341 cat > conftest.$ac_ext <<EOF |
11270 #line 11271 "configure" | 11342 #line 11343 "configure" |
11271 #include "confdefs.h" | 11343 #include "confdefs.h" |
11272 #include <netdb.h> | 11344 #include <netdb.h> |
11273 int main() { | 11345 int main() { |
11274 return h_errno; | 11346 return h_errno; |
11275 ; return 0; } | 11347 ; return 0; } |
11276 EOF | 11348 EOF |
11277 if { (eval echo configure:11278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11349 if { (eval echo configure:11350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11278 rm -rf conftest* | 11350 rm -rf conftest* |
11279 echo "$ac_t""yes" 1>&6 | 11351 echo "$ac_t""yes" 1>&6 |
11280 { test "$extra_verbose" = "yes" && cat << \EOF | 11352 { test "$extra_verbose" = "yes" && cat << \EOF |
11281 Defining HAVE_H_ERRNO | 11353 Defining HAVE_H_ERRNO |
11282 EOF | 11354 EOF |
11292 echo "$ac_t""no" 1>&6 | 11364 echo "$ac_t""no" 1>&6 |
11293 fi | 11365 fi |
11294 rm -f conftest* | 11366 rm -f conftest* |
11295 | 11367 |
11296 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11368 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11297 echo "configure:11298: checking for sigsetjmp" >&5 | 11369 echo "configure:11370: checking for sigsetjmp" >&5 |
11298 cat > conftest.$ac_ext <<EOF | 11370 cat > conftest.$ac_ext <<EOF |
11299 #line 11300 "configure" | 11371 #line 11372 "configure" |
11300 #include "confdefs.h" | 11372 #include "confdefs.h" |
11301 #include <setjmp.h> | 11373 #include <setjmp.h> |
11302 int main() { | 11374 int main() { |
11303 sigjmp_buf bar; sigsetjmp (bar, 0); | 11375 sigjmp_buf bar; sigsetjmp (bar, 0); |
11304 ; return 0; } | 11376 ; return 0; } |
11305 EOF | 11377 EOF |
11306 if { (eval echo configure:11307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11378 if { (eval echo configure:11379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11307 rm -rf conftest* | 11379 rm -rf conftest* |
11308 echo "$ac_t""yes" 1>&6 | 11380 echo "$ac_t""yes" 1>&6 |
11309 { test "$extra_verbose" = "yes" && cat << \EOF | 11381 { test "$extra_verbose" = "yes" && cat << \EOF |
11310 Defining HAVE_SIGSETJMP | 11382 Defining HAVE_SIGSETJMP |
11311 EOF | 11383 EOF |
11321 echo "$ac_t""no" 1>&6 | 11393 echo "$ac_t""no" 1>&6 |
11322 fi | 11394 fi |
11323 rm -f conftest* | 11395 rm -f conftest* |
11324 | 11396 |
11325 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11397 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11326 echo "configure:11327: checking whether localtime caches TZ" >&5 | 11398 echo "configure:11399: checking whether localtime caches TZ" >&5 |
11327 | 11399 |
11328 if test "$ac_cv_func_tzset" = "yes"; then | 11400 if test "$ac_cv_func_tzset" = "yes"; then |
11329 cat > conftest.$ac_ext <<EOF | 11401 cat > conftest.$ac_ext <<EOF |
11330 #line 11331 "configure" | 11402 #line 11403 "configure" |
11331 #include "confdefs.h" | 11403 #include "confdefs.h" |
11332 #include <time.h> | 11404 #include <time.h> |
11333 #if STDC_HEADERS | 11405 #if STDC_HEADERS |
11334 # include <stdlib.h> | 11406 # include <stdlib.h> |
11335 #endif | 11407 #endif |
11360 if (localtime (&now)->tm_hour != hour_unset) | 11432 if (localtime (&now)->tm_hour != hour_unset) |
11361 exit (1); | 11433 exit (1); |
11362 exit (0); | 11434 exit (0); |
11363 } | 11435 } |
11364 EOF | 11436 EOF |
11365 if { (eval echo configure:11366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11437 if { (eval echo configure:11438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11366 then | 11438 then |
11367 emacs_cv_localtime_cache=no | 11439 emacs_cv_localtime_cache=no |
11368 else | 11440 else |
11369 conftest_rc="$?" | 11441 conftest_rc="$?" |
11370 echo "configure: failed program was:" >&5 | 11442 echo "configure: failed program was:" >&5 |
11390 | 11462 |
11391 fi | 11463 fi |
11392 | 11464 |
11393 if test "$HAVE_TIMEVAL" = "yes"; then | 11465 if test "$HAVE_TIMEVAL" = "yes"; then |
11394 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11466 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11395 echo "configure:11396: checking whether gettimeofday accepts one or two arguments" >&5 | 11467 echo "configure:11468: checking whether gettimeofday accepts one or two arguments" >&5 |
11396 cat > conftest.$ac_ext <<EOF | 11468 cat > conftest.$ac_ext <<EOF |
11397 #line 11398 "configure" | 11469 #line 11470 "configure" |
11398 #include "confdefs.h" | 11470 #include "confdefs.h" |
11399 | 11471 |
11400 #ifdef TIME_WITH_SYS_TIME | 11472 #ifdef TIME_WITH_SYS_TIME |
11401 #include <sys/time.h> | 11473 #include <sys/time.h> |
11402 #include <time.h> | 11474 #include <time.h> |
11413 struct timeval time; | 11485 struct timeval time; |
11414 gettimeofday (&time, 0); | 11486 gettimeofday (&time, 0); |
11415 | 11487 |
11416 ; return 0; } | 11488 ; return 0; } |
11417 EOF | 11489 EOF |
11418 if { (eval echo configure:11419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11490 if { (eval echo configure:11491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11419 rm -rf conftest* | 11491 rm -rf conftest* |
11420 echo "$ac_t""two" 1>&6 | 11492 echo "$ac_t""two" 1>&6 |
11421 else | 11493 else |
11422 echo "configure: failed program was:" >&5 | 11494 echo "configure: failed program was:" >&5 |
11423 cat conftest.$ac_ext >&5 | 11495 cat conftest.$ac_ext >&5 |
11435 rm -f conftest* | 11507 rm -f conftest* |
11436 fi | 11508 fi |
11437 | 11509 |
11438 | 11510 |
11439 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11511 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11440 echo "configure:11441: checking for inline" >&5 | 11512 echo "configure:11513: checking for inline" >&5 |
11441 | 11513 |
11442 ac_cv_c_inline=no | 11514 ac_cv_c_inline=no |
11443 for ac_kw in inline __inline__ __inline; do | 11515 for ac_kw in inline __inline__ __inline; do |
11444 cat > conftest.$ac_ext <<EOF | 11516 cat > conftest.$ac_ext <<EOF |
11445 #line 11446 "configure" | 11517 #line 11518 "configure" |
11446 #include "confdefs.h" | 11518 #include "confdefs.h" |
11447 | 11519 |
11448 int main() { | 11520 int main() { |
11449 } $ac_kw foo() { | 11521 } $ac_kw foo() { |
11450 ; return 0; } | 11522 ; return 0; } |
11451 EOF | 11523 EOF |
11452 if { (eval echo configure:11453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11524 if { (eval echo configure:11525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11453 rm -rf conftest* | 11525 rm -rf conftest* |
11454 ac_cv_c_inline=$ac_kw; break | 11526 ac_cv_c_inline=$ac_kw; break |
11455 else | 11527 else |
11456 echo "configure: failed program was:" >&5 | 11528 echo "configure: failed program was:" >&5 |
11457 cat conftest.$ac_ext >&5 | 11529 cat conftest.$ac_ext >&5 |
11488 | 11560 |
11489 if test "$__DECC" != "yes"; then | 11561 if test "$__DECC" != "yes"; then |
11490 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11562 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11491 # for constant arguments. Useless! | 11563 # for constant arguments. Useless! |
11492 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11564 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11493 echo "configure:11494: checking for working alloca.h" >&5 | 11565 echo "configure:11566: checking for working alloca.h" >&5 |
11494 | 11566 |
11495 cat > conftest.$ac_ext <<EOF | 11567 cat > conftest.$ac_ext <<EOF |
11496 #line 11497 "configure" | 11568 #line 11569 "configure" |
11497 #include "confdefs.h" | 11569 #include "confdefs.h" |
11498 #include <alloca.h> | 11570 #include <alloca.h> |
11499 int main() { | 11571 int main() { |
11500 char *p = alloca(2 * sizeof(int)); | 11572 char *p = alloca(2 * sizeof(int)); |
11501 ; return 0; } | 11573 ; return 0; } |
11502 EOF | 11574 EOF |
11503 if { (eval echo configure:11504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11575 if { (eval echo configure:11576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11504 rm -rf conftest* | 11576 rm -rf conftest* |
11505 ac_cv_header_alloca_h=yes | 11577 ac_cv_header_alloca_h=yes |
11506 else | 11578 else |
11507 echo "configure: failed program was:" >&5 | 11579 echo "configure: failed program was:" >&5 |
11508 cat conftest.$ac_ext >&5 | 11580 cat conftest.$ac_ext >&5 |
11522 } | 11594 } |
11523 | 11595 |
11524 fi | 11596 fi |
11525 | 11597 |
11526 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11598 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11527 echo "configure:11528: checking for alloca" >&5 | 11599 echo "configure:11600: checking for alloca" >&5 |
11528 | 11600 |
11529 cat > conftest.$ac_ext <<EOF | 11601 cat > conftest.$ac_ext <<EOF |
11530 #line 11531 "configure" | 11602 #line 11603 "configure" |
11531 #include "confdefs.h" | 11603 #include "confdefs.h" |
11532 | 11604 |
11533 #ifdef __GNUC__ | 11605 #ifdef __GNUC__ |
11534 # define alloca __builtin_alloca | 11606 # define alloca __builtin_alloca |
11535 #else | 11607 #else |
11553 | 11625 |
11554 int main() { | 11626 int main() { |
11555 char *p = (char *) alloca(1); | 11627 char *p = (char *) alloca(1); |
11556 ; return 0; } | 11628 ; return 0; } |
11557 EOF | 11629 EOF |
11558 if { (eval echo configure:11559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11630 if { (eval echo configure:11631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11559 rm -rf conftest* | 11631 rm -rf conftest* |
11560 ac_cv_func_alloca_works=yes | 11632 ac_cv_func_alloca_works=yes |
11561 else | 11633 else |
11562 echo "configure: failed program was:" >&5 | 11634 echo "configure: failed program was:" >&5 |
11563 cat conftest.$ac_ext >&5 | 11635 cat conftest.$ac_ext >&5 |
11592 EOF | 11664 EOF |
11593 } | 11665 } |
11594 | 11666 |
11595 | 11667 |
11596 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11668 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11597 echo "configure:11598: checking whether alloca needs Cray hooks" >&5 | 11669 echo "configure:11670: checking whether alloca needs Cray hooks" >&5 |
11598 | 11670 |
11599 cat > conftest.$ac_ext <<EOF | 11671 cat > conftest.$ac_ext <<EOF |
11600 #line 11601 "configure" | 11672 #line 11673 "configure" |
11601 #include "confdefs.h" | 11673 #include "confdefs.h" |
11602 #if defined(CRAY) && ! defined(CRAY2) | 11674 #if defined(CRAY) && ! defined(CRAY2) |
11603 webecray | 11675 webecray |
11604 #else | 11676 #else |
11605 wenotbecray | 11677 wenotbecray |
11619 | 11691 |
11620 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11692 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11621 if test $ac_cv_os_cray = yes; then | 11693 if test $ac_cv_os_cray = yes; then |
11622 for ac_func in _getb67 GETB67 getb67; do | 11694 for ac_func in _getb67 GETB67 getb67; do |
11623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11695 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11624 echo "configure:11625: checking for $ac_func" >&5 | 11696 echo "configure:11697: checking for $ac_func" >&5 |
11625 | 11697 |
11626 cat > conftest.$ac_ext <<EOF | 11698 cat > conftest.$ac_ext <<EOF |
11627 #line 11628 "configure" | 11699 #line 11700 "configure" |
11628 #include "confdefs.h" | 11700 #include "confdefs.h" |
11629 /* System header to define __stub macros and hopefully few prototypes, | 11701 /* System header to define __stub macros and hopefully few prototypes, |
11630 which can conflict with char $ac_func(); below. */ | 11702 which can conflict with char $ac_func(); below. */ |
11631 #include <assert.h> | 11703 #include <assert.h> |
11632 /* Override any gcc2 internal prototype to avoid an error. */ | 11704 /* Override any gcc2 internal prototype to avoid an error. */ |
11645 $ac_func(); | 11717 $ac_func(); |
11646 #endif | 11718 #endif |
11647 | 11719 |
11648 ; return 0; } | 11720 ; return 0; } |
11649 EOF | 11721 EOF |
11650 if { (eval echo configure:11651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11722 if { (eval echo configure:11723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11651 rm -rf conftest* | 11723 rm -rf conftest* |
11652 eval "ac_cv_func_$ac_func=yes" | 11724 eval "ac_cv_func_$ac_func=yes" |
11653 else | 11725 else |
11654 echo "configure: failed program was:" >&5 | 11726 echo "configure: failed program was:" >&5 |
11655 cat conftest.$ac_ext >&5 | 11727 cat conftest.$ac_ext >&5 |
11675 | 11747 |
11676 done | 11748 done |
11677 fi | 11749 fi |
11678 | 11750 |
11679 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11751 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
11680 echo "configure:11681: checking stack direction for C alloca" >&5 | 11752 echo "configure:11753: checking stack direction for C alloca" >&5 |
11681 | 11753 |
11682 cat > conftest.$ac_ext <<EOF | 11754 cat > conftest.$ac_ext <<EOF |
11683 #line 11684 "configure" | 11755 #line 11756 "configure" |
11684 #include "confdefs.h" | 11756 #include "confdefs.h" |
11685 find_stack_direction () | 11757 find_stack_direction () |
11686 { | 11758 { |
11687 static char *addr = 0; | 11759 static char *addr = 0; |
11688 auto char dummy; | 11760 auto char dummy; |
11697 main () | 11769 main () |
11698 { | 11770 { |
11699 exit (find_stack_direction() < 0); | 11771 exit (find_stack_direction() < 0); |
11700 } | 11772 } |
11701 EOF | 11773 EOF |
11702 if { (eval echo configure:11703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11774 if { (eval echo configure:11775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11703 then | 11775 then |
11704 ac_cv_c_stack_direction=1 | 11776 ac_cv_c_stack_direction=1 |
11705 else | 11777 else |
11706 conftest_rc="$?" | 11778 conftest_rc="$?" |
11707 echo "configure: failed program was:" >&5 | 11779 echo "configure: failed program was:" >&5 |
11726 echo " xemacs will be linked with \"$ALLOCA\"" | 11798 echo " xemacs will be linked with \"$ALLOCA\"" |
11727 fi | 11799 fi |
11728 fi | 11800 fi |
11729 | 11801 |
11730 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 11802 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
11731 echo "configure:11732: checking for working alloca in function calls" >&5 | 11803 echo "configure:11804: checking for working alloca in function calls" >&5 |
11732 cat > conftest.$ac_ext <<EOF | 11804 cat > conftest.$ac_ext <<EOF |
11733 #line 11734 "configure" | 11805 #line 11806 "configure" |
11734 #include "confdefs.h" | 11806 #include "confdefs.h" |
11735 | 11807 |
11736 #if defined (__CYGWIN__) | 11808 #if defined (__CYGWIN__) |
11737 #include <alloca.h> | 11809 #include <alloca.h> |
11738 #elif defined (__GNUC__) | 11810 #elif defined (__GNUC__) |
11781 return 1; | 11853 return 1; |
11782 return 0; | 11854 return 0; |
11783 } | 11855 } |
11784 | 11856 |
11785 EOF | 11857 EOF |
11786 if { (eval echo configure:11787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11858 if { (eval echo configure:11859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11787 then | 11859 then |
11788 working_alloca_in_function_calls=yes | 11860 working_alloca_in_function_calls=yes |
11789 else | 11861 else |
11790 conftest_rc="$?" | 11862 conftest_rc="$?" |
11791 echo "configure: failed program was:" >&5 | 11863 echo "configure: failed program was:" >&5 |
11804 EOF | 11876 EOF |
11805 } | 11877 } |
11806 | 11878 |
11807 | 11879 |
11808 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 11880 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
11809 echo "configure:11810: checking for working strcoll" >&5 | 11881 echo "configure:11882: checking for working strcoll" >&5 |
11810 | 11882 |
11811 cat > conftest.$ac_ext <<EOF | 11883 cat > conftest.$ac_ext <<EOF |
11812 #line 11813 "configure" | 11884 #line 11885 "configure" |
11813 #include "confdefs.h" | 11885 #include "confdefs.h" |
11814 #include <string.h> | 11886 #include <string.h> |
11815 main () | 11887 main () |
11816 { | 11888 { |
11817 exit (strcoll ("abc", "def") >= 0 || | 11889 exit (strcoll ("abc", "def") >= 0 || |
11818 strcoll ("ABC", "DEF") >= 0 || | 11890 strcoll ("ABC", "DEF") >= 0 || |
11819 strcoll ("123", "456") >= 0); | 11891 strcoll ("123", "456") >= 0); |
11820 } | 11892 } |
11821 EOF | 11893 EOF |
11822 if { (eval echo configure:11823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11894 if { (eval echo configure:11895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11823 then | 11895 then |
11824 ac_cv_func_strcoll_works=yes | 11896 ac_cv_func_strcoll_works=yes |
11825 else | 11897 else |
11826 conftest_rc="$?" | 11898 conftest_rc="$?" |
11827 echo "configure: failed program was:" >&5 | 11899 echo "configure: failed program was:" >&5 |
11845 | 11917 |
11846 | 11918 |
11847 for ac_func in getpgrp | 11919 for ac_func in getpgrp |
11848 do | 11920 do |
11849 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11850 echo "configure:11851: checking for $ac_func" >&5 | 11922 echo "configure:11923: checking for $ac_func" >&5 |
11851 | 11923 |
11852 cat > conftest.$ac_ext <<EOF | 11924 cat > conftest.$ac_ext <<EOF |
11853 #line 11854 "configure" | 11925 #line 11926 "configure" |
11854 #include "confdefs.h" | 11926 #include "confdefs.h" |
11855 /* System header to define __stub macros and hopefully few prototypes, | 11927 /* System header to define __stub macros and hopefully few prototypes, |
11856 which can conflict with char $ac_func(); below. */ | 11928 which can conflict with char $ac_func(); below. */ |
11857 #include <assert.h> | 11929 #include <assert.h> |
11858 /* Override any gcc2 internal prototype to avoid an error. */ | 11930 /* Override any gcc2 internal prototype to avoid an error. */ |
11871 $ac_func(); | 11943 $ac_func(); |
11872 #endif | 11944 #endif |
11873 | 11945 |
11874 ; return 0; } | 11946 ; return 0; } |
11875 EOF | 11947 EOF |
11876 if { (eval echo configure:11877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11948 if { (eval echo configure:11949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11877 rm -rf conftest* | 11949 rm -rf conftest* |
11878 eval "ac_cv_func_$ac_func=yes" | 11950 eval "ac_cv_func_$ac_func=yes" |
11879 else | 11951 else |
11880 echo "configure: failed program was:" >&5 | 11952 echo "configure: failed program was:" >&5 |
11881 cat conftest.$ac_ext >&5 | 11953 cat conftest.$ac_ext >&5 |
11899 echo "$ac_t""no" 1>&6 | 11971 echo "$ac_t""no" 1>&6 |
11900 fi | 11972 fi |
11901 done | 11973 done |
11902 | 11974 |
11903 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 11975 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
11904 echo "configure:11905: checking whether getpgrp takes no argument" >&5 | 11976 echo "configure:11977: checking whether getpgrp takes no argument" >&5 |
11905 | 11977 |
11906 cat > conftest.$ac_ext <<EOF | 11978 cat > conftest.$ac_ext <<EOF |
11907 #line 11908 "configure" | 11979 #line 11980 "configure" |
11908 #include "confdefs.h" | 11980 #include "confdefs.h" |
11909 | 11981 |
11910 /* | 11982 /* |
11911 * If this system has a BSD-style getpgrp(), | 11983 * If this system has a BSD-style getpgrp(), |
11912 * which takes a pid argument, exit unsuccessfully. | 11984 * which takes a pid argument, exit unsuccessfully. |
11957 exit(s>>8); | 12029 exit(s>>8); |
11958 } | 12030 } |
11959 } | 12031 } |
11960 | 12032 |
11961 EOF | 12033 EOF |
11962 if { (eval echo configure:11963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12034 if { (eval echo configure:12035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11963 then | 12035 then |
11964 ac_cv_func_getpgrp_void=yes | 12036 ac_cv_func_getpgrp_void=yes |
11965 else | 12037 else |
11966 conftest_rc="$?" | 12038 conftest_rc="$?" |
11967 echo "configure: failed program was:" >&5 | 12039 echo "configure: failed program was:" >&5 |
11984 | 12056 |
11985 fi | 12057 fi |
11986 | 12058 |
11987 | 12059 |
11988 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12060 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
11989 echo "configure:11990: checking for working mmap" >&5 | 12061 echo "configure:12062: checking for working mmap" >&5 |
11990 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12062 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
11991 cat > conftest.$ac_ext <<EOF | 12063 cat > conftest.$ac_ext <<EOF |
11992 #line 11993 "configure" | 12064 #line 12065 "configure" |
11993 #include "confdefs.h" | 12065 #include "confdefs.h" |
11994 #include <stdio.h> | 12066 #include <stdio.h> |
11995 #include <unistd.h> | 12067 #include <unistd.h> |
11996 #include <fcntl.h> | 12068 #include <fcntl.h> |
11997 #include <sys/mman.h> | 12069 #include <sys/mman.h> |
12020 return 0; | 12092 return 0; |
12021 perror ("conftest: mmap failed"); | 12093 perror ("conftest: mmap failed"); |
12022 return 1; | 12094 return 1; |
12023 } | 12095 } |
12024 EOF | 12096 EOF |
12025 if { (eval echo configure:12026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12097 if { (eval echo configure:12098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12026 then | 12098 then |
12027 have_mmap=yes | 12099 have_mmap=yes |
12028 else | 12100 else |
12029 conftest_rc="$?" | 12101 conftest_rc="$?" |
12030 echo "configure: failed program was:" >&5 | 12102 echo "configure: failed program was:" >&5 |
12049 esac | 12121 esac |
12050 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12122 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12051 if test "$rel_alloc $have_mmap" = "default yes"; then | 12123 if test "$rel_alloc $have_mmap" = "default yes"; then |
12052 if test "$doug_lea_malloc" = "yes"; then | 12124 if test "$doug_lea_malloc" = "yes"; then |
12053 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12125 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12054 echo "configure:12055: checking for M_MMAP_THRESHOLD" >&5 | 12126 echo "configure:12127: checking for M_MMAP_THRESHOLD" >&5 |
12055 cat > conftest.$ac_ext <<EOF | 12127 cat > conftest.$ac_ext <<EOF |
12056 #line 12057 "configure" | 12128 #line 12129 "configure" |
12057 #include "confdefs.h" | 12129 #include "confdefs.h" |
12058 #include <malloc.h> | 12130 #include <malloc.h> |
12059 int main() { | 12131 int main() { |
12060 | 12132 |
12061 #ifndef M_MMAP_THRESHOLD | 12133 #ifndef M_MMAP_THRESHOLD |
12063 !@+$%^&*_)(_ - unlikely to compile... | 12135 !@+$%^&*_)(_ - unlikely to compile... |
12064 #endif | 12136 #endif |
12065 | 12137 |
12066 ; return 0; } | 12138 ; return 0; } |
12067 EOF | 12139 EOF |
12068 if { (eval echo configure:12069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12140 if { (eval echo configure:12141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12069 rm -rf conftest* | 12141 rm -rf conftest* |
12070 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12142 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12071 else | 12143 else |
12072 echo "configure: failed program was:" >&5 | 12144 echo "configure: failed program was:" >&5 |
12073 cat conftest.$ac_ext >&5 | 12145 cat conftest.$ac_ext >&5 |
12088 } | 12160 } |
12089 | 12161 |
12090 | 12162 |
12091 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12163 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12092 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12164 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12093 echo "configure:12094: checking for termios.h" >&5 | 12165 echo "configure:12166: checking for termios.h" >&5 |
12094 | 12166 |
12095 cat > conftest.$ac_ext <<EOF | 12167 cat > conftest.$ac_ext <<EOF |
12096 #line 12097 "configure" | 12168 #line 12169 "configure" |
12097 #include "confdefs.h" | 12169 #include "confdefs.h" |
12098 #include <termios.h> | 12170 #include <termios.h> |
12099 EOF | 12171 EOF |
12100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12101 { (eval echo configure:12102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12173 { (eval echo configure:12174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12102 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12103 if test -z "$ac_err"; then | 12175 if test -z "$ac_err"; then |
12104 rm -rf conftest* | 12176 rm -rf conftest* |
12105 eval "ac_cv_header_$ac_safe=yes" | 12177 eval "ac_cv_header_$ac_safe=yes" |
12106 else | 12178 else |
12139 | 12211 |
12140 else | 12212 else |
12141 echo "$ac_t""no" 1>&6 | 12213 echo "$ac_t""no" 1>&6 |
12142 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12214 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12143 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12215 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12144 echo "configure:12145: checking for termio.h" >&5 | 12216 echo "configure:12217: checking for termio.h" >&5 |
12145 | 12217 |
12146 cat > conftest.$ac_ext <<EOF | 12218 cat > conftest.$ac_ext <<EOF |
12147 #line 12148 "configure" | 12219 #line 12220 "configure" |
12148 #include "confdefs.h" | 12220 #include "confdefs.h" |
12149 #include <termio.h> | 12221 #include <termio.h> |
12150 EOF | 12222 EOF |
12151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12223 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12152 { (eval echo configure:12153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12224 { (eval echo configure:12225: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12153 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12225 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12154 if test -z "$ac_err"; then | 12226 if test -z "$ac_err"; then |
12155 rm -rf conftest* | 12227 rm -rf conftest* |
12156 eval "ac_cv_header_$ac_safe=yes" | 12228 eval "ac_cv_header_$ac_safe=yes" |
12157 else | 12229 else |
12179 fi | 12251 fi |
12180 | 12252 |
12181 | 12253 |
12182 | 12254 |
12183 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12255 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12184 echo "configure:12185: checking for socket" >&5 | 12256 echo "configure:12257: checking for socket" >&5 |
12185 | 12257 |
12186 cat > conftest.$ac_ext <<EOF | 12258 cat > conftest.$ac_ext <<EOF |
12187 #line 12188 "configure" | 12259 #line 12260 "configure" |
12188 #include "confdefs.h" | 12260 #include "confdefs.h" |
12189 /* System header to define __stub macros and hopefully few prototypes, | 12261 /* System header to define __stub macros and hopefully few prototypes, |
12190 which can conflict with char socket(); below. */ | 12262 which can conflict with char socket(); below. */ |
12191 #include <assert.h> | 12263 #include <assert.h> |
12192 /* Override any gcc2 internal prototype to avoid an error. */ | 12264 /* Override any gcc2 internal prototype to avoid an error. */ |
12205 socket(); | 12277 socket(); |
12206 #endif | 12278 #endif |
12207 | 12279 |
12208 ; return 0; } | 12280 ; return 0; } |
12209 EOF | 12281 EOF |
12210 if { (eval echo configure:12211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12282 if { (eval echo configure:12283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12211 rm -rf conftest* | 12283 rm -rf conftest* |
12212 eval "ac_cv_func_socket=yes" | 12284 eval "ac_cv_func_socket=yes" |
12213 else | 12285 else |
12214 echo "configure: failed program was:" >&5 | 12286 echo "configure: failed program was:" >&5 |
12215 cat conftest.$ac_ext >&5 | 12287 cat conftest.$ac_ext >&5 |
12220 | 12292 |
12221 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12293 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12222 echo "$ac_t""yes" 1>&6 | 12294 echo "$ac_t""yes" 1>&6 |
12223 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12295 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12224 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12296 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12225 echo "configure:12226: checking for netinet/in.h" >&5 | 12297 echo "configure:12298: checking for netinet/in.h" >&5 |
12226 | 12298 |
12227 cat > conftest.$ac_ext <<EOF | 12299 cat > conftest.$ac_ext <<EOF |
12228 #line 12229 "configure" | 12300 #line 12301 "configure" |
12229 #include "confdefs.h" | 12301 #include "confdefs.h" |
12230 #include <netinet/in.h> | 12302 #include <netinet/in.h> |
12231 EOF | 12303 EOF |
12232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12233 { (eval echo configure:12234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12305 { (eval echo configure:12306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12235 if test -z "$ac_err"; then | 12307 if test -z "$ac_err"; then |
12236 rm -rf conftest* | 12308 rm -rf conftest* |
12237 eval "ac_cv_header_$ac_safe=yes" | 12309 eval "ac_cv_header_$ac_safe=yes" |
12238 else | 12310 else |
12245 rm -f conftest* | 12317 rm -f conftest* |
12246 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12318 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12247 echo "$ac_t""yes" 1>&6 | 12319 echo "$ac_t""yes" 1>&6 |
12248 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12320 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12249 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12321 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12250 echo "configure:12251: checking for arpa/inet.h" >&5 | 12322 echo "configure:12323: checking for arpa/inet.h" >&5 |
12251 | 12323 |
12252 cat > conftest.$ac_ext <<EOF | 12324 cat > conftest.$ac_ext <<EOF |
12253 #line 12254 "configure" | 12325 #line 12326 "configure" |
12254 #include "confdefs.h" | 12326 #include "confdefs.h" |
12255 #include <arpa/inet.h> | 12327 #include <arpa/inet.h> |
12256 EOF | 12328 EOF |
12257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12258 { (eval echo configure:12259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12330 { (eval echo configure:12331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12260 if test -z "$ac_err"; then | 12332 if test -z "$ac_err"; then |
12261 rm -rf conftest* | 12333 rm -rf conftest* |
12262 eval "ac_cv_header_$ac_safe=yes" | 12334 eval "ac_cv_header_$ac_safe=yes" |
12263 else | 12335 else |
12278 #define HAVE_SOCKETS 1 | 12350 #define HAVE_SOCKETS 1 |
12279 EOF | 12351 EOF |
12280 } | 12352 } |
12281 | 12353 |
12282 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12354 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12283 echo "configure:12284: checking "for sun_len member in struct sockaddr_un"" >&5 | 12355 echo "configure:12356: checking "for sun_len member in struct sockaddr_un"" >&5 |
12284 cat > conftest.$ac_ext <<EOF | 12356 cat > conftest.$ac_ext <<EOF |
12285 #line 12286 "configure" | 12357 #line 12358 "configure" |
12286 #include "confdefs.h" | 12358 #include "confdefs.h" |
12287 | 12359 |
12288 #include <sys/types.h> | 12360 #include <sys/types.h> |
12289 #include <sys/socket.h> | 12361 #include <sys/socket.h> |
12290 #include <sys/un.h> | 12362 #include <sys/un.h> |
12291 | 12363 |
12292 int main() { | 12364 int main() { |
12293 static struct sockaddr_un x; x.sun_len = 1; | 12365 static struct sockaddr_un x; x.sun_len = 1; |
12294 ; return 0; } | 12366 ; return 0; } |
12295 EOF | 12367 EOF |
12296 if { (eval echo configure:12297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12368 if { (eval echo configure:12369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12297 rm -rf conftest* | 12369 rm -rf conftest* |
12298 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12370 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12299 Defining HAVE_SOCKADDR_SUN_LEN | 12371 Defining HAVE_SOCKADDR_SUN_LEN |
12300 EOF | 12372 EOF |
12301 cat >> confdefs.h <<\EOF | 12373 cat >> confdefs.h <<\EOF |
12309 rm -rf conftest* | 12381 rm -rf conftest* |
12310 echo "$ac_t""no" 1>&6 | 12382 echo "$ac_t""no" 1>&6 |
12311 fi | 12383 fi |
12312 rm -f conftest* | 12384 rm -f conftest* |
12313 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12385 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12314 echo "configure:12315: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12386 echo "configure:12387: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12315 cat > conftest.$ac_ext <<EOF | 12387 cat > conftest.$ac_ext <<EOF |
12316 #line 12317 "configure" | 12388 #line 12389 "configure" |
12317 #include "confdefs.h" | 12389 #include "confdefs.h" |
12318 | 12390 |
12319 #include <sys/types.h> | 12391 #include <sys/types.h> |
12320 #include <netinet/in.h> | 12392 #include <netinet/in.h> |
12321 | 12393 |
12322 int main() { | 12394 int main() { |
12323 static struct ip_mreq x; | 12395 static struct ip_mreq x; |
12324 ; return 0; } | 12396 ; return 0; } |
12325 EOF | 12397 EOF |
12326 if { (eval echo configure:12327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12398 if { (eval echo configure:12399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12327 rm -rf conftest* | 12399 rm -rf conftest* |
12328 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12400 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12329 Defining HAVE_MULTICAST | 12401 Defining HAVE_MULTICAST |
12330 EOF | 12402 EOF |
12331 cat >> confdefs.h <<\EOF | 12403 cat >> confdefs.h <<\EOF |
12352 echo "$ac_t""no" 1>&6 | 12424 echo "$ac_t""no" 1>&6 |
12353 fi | 12425 fi |
12354 | 12426 |
12355 | 12427 |
12356 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12428 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12357 echo "configure:12358: checking for msgget" >&5 | 12429 echo "configure:12430: checking for msgget" >&5 |
12358 | 12430 |
12359 cat > conftest.$ac_ext <<EOF | 12431 cat > conftest.$ac_ext <<EOF |
12360 #line 12361 "configure" | 12432 #line 12433 "configure" |
12361 #include "confdefs.h" | 12433 #include "confdefs.h" |
12362 /* System header to define __stub macros and hopefully few prototypes, | 12434 /* System header to define __stub macros and hopefully few prototypes, |
12363 which can conflict with char msgget(); below. */ | 12435 which can conflict with char msgget(); below. */ |
12364 #include <assert.h> | 12436 #include <assert.h> |
12365 /* Override any gcc2 internal prototype to avoid an error. */ | 12437 /* Override any gcc2 internal prototype to avoid an error. */ |
12378 msgget(); | 12450 msgget(); |
12379 #endif | 12451 #endif |
12380 | 12452 |
12381 ; return 0; } | 12453 ; return 0; } |
12382 EOF | 12454 EOF |
12383 if { (eval echo configure:12384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12455 if { (eval echo configure:12456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12384 rm -rf conftest* | 12456 rm -rf conftest* |
12385 eval "ac_cv_func_msgget=yes" | 12457 eval "ac_cv_func_msgget=yes" |
12386 else | 12458 else |
12387 echo "configure: failed program was:" >&5 | 12459 echo "configure: failed program was:" >&5 |
12388 cat conftest.$ac_ext >&5 | 12460 cat conftest.$ac_ext >&5 |
12393 | 12465 |
12394 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12466 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12395 echo "$ac_t""yes" 1>&6 | 12467 echo "$ac_t""yes" 1>&6 |
12396 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12468 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12397 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12469 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12398 echo "configure:12399: checking for sys/ipc.h" >&5 | 12470 echo "configure:12471: checking for sys/ipc.h" >&5 |
12399 | 12471 |
12400 cat > conftest.$ac_ext <<EOF | 12472 cat > conftest.$ac_ext <<EOF |
12401 #line 12402 "configure" | 12473 #line 12474 "configure" |
12402 #include "confdefs.h" | 12474 #include "confdefs.h" |
12403 #include <sys/ipc.h> | 12475 #include <sys/ipc.h> |
12404 EOF | 12476 EOF |
12405 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12406 { (eval echo configure:12407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12478 { (eval echo configure:12479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12407 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12408 if test -z "$ac_err"; then | 12480 if test -z "$ac_err"; then |
12409 rm -rf conftest* | 12481 rm -rf conftest* |
12410 eval "ac_cv_header_$ac_safe=yes" | 12482 eval "ac_cv_header_$ac_safe=yes" |
12411 else | 12483 else |
12418 rm -f conftest* | 12490 rm -f conftest* |
12419 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12491 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12420 echo "$ac_t""yes" 1>&6 | 12492 echo "$ac_t""yes" 1>&6 |
12421 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12493 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12422 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12494 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12423 echo "configure:12424: checking for sys/msg.h" >&5 | 12495 echo "configure:12496: checking for sys/msg.h" >&5 |
12424 | 12496 |
12425 cat > conftest.$ac_ext <<EOF | 12497 cat > conftest.$ac_ext <<EOF |
12426 #line 12427 "configure" | 12498 #line 12499 "configure" |
12427 #include "confdefs.h" | 12499 #include "confdefs.h" |
12428 #include <sys/msg.h> | 12500 #include <sys/msg.h> |
12429 EOF | 12501 EOF |
12430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12502 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12431 { (eval echo configure:12432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12503 { (eval echo configure:12504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12504 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12433 if test -z "$ac_err"; then | 12505 if test -z "$ac_err"; then |
12434 rm -rf conftest* | 12506 rm -rf conftest* |
12435 eval "ac_cv_header_$ac_safe=yes" | 12507 eval "ac_cv_header_$ac_safe=yes" |
12436 else | 12508 else |
12464 fi | 12536 fi |
12465 | 12537 |
12466 | 12538 |
12467 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12539 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12468 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12540 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12469 echo "configure:12470: checking for dirent.h" >&5 | 12541 echo "configure:12542: checking for dirent.h" >&5 |
12470 | 12542 |
12471 cat > conftest.$ac_ext <<EOF | 12543 cat > conftest.$ac_ext <<EOF |
12472 #line 12473 "configure" | 12544 #line 12545 "configure" |
12473 #include "confdefs.h" | 12545 #include "confdefs.h" |
12474 #include <dirent.h> | 12546 #include <dirent.h> |
12475 EOF | 12547 EOF |
12476 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12477 { (eval echo configure:12478: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12549 { (eval echo configure:12550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12478 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12479 if test -z "$ac_err"; then | 12551 if test -z "$ac_err"; then |
12480 rm -rf conftest* | 12552 rm -rf conftest* |
12481 eval "ac_cv_header_$ac_safe=yes" | 12553 eval "ac_cv_header_$ac_safe=yes" |
12482 else | 12554 else |
12499 | 12571 |
12500 else | 12572 else |
12501 echo "$ac_t""no" 1>&6 | 12573 echo "$ac_t""no" 1>&6 |
12502 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12574 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12503 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12575 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12504 echo "configure:12505: checking for sys/dir.h" >&5 | 12576 echo "configure:12577: checking for sys/dir.h" >&5 |
12505 | 12577 |
12506 cat > conftest.$ac_ext <<EOF | 12578 cat > conftest.$ac_ext <<EOF |
12507 #line 12508 "configure" | 12579 #line 12580 "configure" |
12508 #include "confdefs.h" | 12580 #include "confdefs.h" |
12509 #include <sys/dir.h> | 12581 #include <sys/dir.h> |
12510 EOF | 12582 EOF |
12511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12512 { (eval echo configure:12513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12584 { (eval echo configure:12585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12514 if test -z "$ac_err"; then | 12586 if test -z "$ac_err"; then |
12515 rm -rf conftest* | 12587 rm -rf conftest* |
12516 eval "ac_cv_header_$ac_safe=yes" | 12588 eval "ac_cv_header_$ac_safe=yes" |
12517 else | 12589 else |
12540 fi | 12612 fi |
12541 | 12613 |
12542 | 12614 |
12543 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12615 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12544 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12616 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12545 echo "configure:12546: checking for nlist.h" >&5 | 12617 echo "configure:12618: checking for nlist.h" >&5 |
12546 | 12618 |
12547 cat > conftest.$ac_ext <<EOF | 12619 cat > conftest.$ac_ext <<EOF |
12548 #line 12549 "configure" | 12620 #line 12621 "configure" |
12549 #include "confdefs.h" | 12621 #include "confdefs.h" |
12550 #include <nlist.h> | 12622 #include <nlist.h> |
12551 EOF | 12623 EOF |
12552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12624 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12553 { (eval echo configure:12554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12625 { (eval echo configure:12626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12626 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12555 if test -z "$ac_err"; then | 12627 if test -z "$ac_err"; then |
12556 rm -rf conftest* | 12628 rm -rf conftest* |
12557 eval "ac_cv_header_$ac_safe=yes" | 12629 eval "ac_cv_header_$ac_safe=yes" |
12558 else | 12630 else |
12578 fi | 12650 fi |
12579 | 12651 |
12580 | 12652 |
12581 | 12653 |
12582 echo "checking "for sound support"" 1>&6 | 12654 echo "checking "for sound support"" 1>&6 |
12583 echo "configure:12584: checking "for sound support"" >&5 | 12655 echo "configure:12656: checking "for sound support"" >&5 |
12584 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12656 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12585 | 12657 |
12586 if test "$with_native_sound" != "no"; then | 12658 if test "$with_native_sound" != "no"; then |
12587 if test -n "$native_sound_lib"; then | 12659 if test -n "$native_sound_lib"; then |
12588 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12660 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12589 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12661 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12590 echo "configure:12591: checking for multimedia/audio_device.h" >&5 | 12662 echo "configure:12663: checking for multimedia/audio_device.h" >&5 |
12591 | 12663 |
12592 cat > conftest.$ac_ext <<EOF | 12664 cat > conftest.$ac_ext <<EOF |
12593 #line 12594 "configure" | 12665 #line 12666 "configure" |
12594 #include "confdefs.h" | 12666 #include "confdefs.h" |
12595 #include <multimedia/audio_device.h> | 12667 #include <multimedia/audio_device.h> |
12596 EOF | 12668 EOF |
12597 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12598 { (eval echo configure:12599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12670 { (eval echo configure:12671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12599 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12600 if test -z "$ac_err"; then | 12672 if test -z "$ac_err"; then |
12601 rm -rf conftest* | 12673 rm -rf conftest* |
12602 eval "ac_cv_header_$ac_safe=yes" | 12674 eval "ac_cv_header_$ac_safe=yes" |
12603 else | 12675 else |
12641 case "$canonical" in | 12713 case "$canonical" in |
12642 *-sgi-* ) | 12714 *-sgi-* ) |
12643 if test -z "$native_sound_lib"; then | 12715 if test -z "$native_sound_lib"; then |
12644 | 12716 |
12645 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12717 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
12646 echo "configure:12647: checking for ALopenport in -laudio" >&5 | 12718 echo "configure:12719: checking for ALopenport in -laudio" >&5 |
12647 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12719 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
12648 | 12720 |
12649 xe_check_libs=" -laudio " | 12721 xe_check_libs=" -laudio " |
12650 cat > conftest.$ac_ext <<EOF | 12722 cat > conftest.$ac_ext <<EOF |
12651 #line 12652 "configure" | 12723 #line 12724 "configure" |
12652 #include "confdefs.h" | 12724 #include "confdefs.h" |
12653 /* Override any gcc2 internal prototype to avoid an error. */ | 12725 /* Override any gcc2 internal prototype to avoid an error. */ |
12654 /* We use char because int might match the return type of a gcc2 | 12726 /* We use char because int might match the return type of a gcc2 |
12655 builtin and then its argument prototype would still apply. */ | 12727 builtin and then its argument prototype would still apply. */ |
12656 char ALopenport(); | 12728 char ALopenport(); |
12657 | 12729 |
12658 int main() { | 12730 int main() { |
12659 ALopenport() | 12731 ALopenport() |
12660 ; return 0; } | 12732 ; return 0; } |
12661 EOF | 12733 EOF |
12662 if { (eval echo configure:12663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12734 if { (eval echo configure:12735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12663 rm -rf conftest* | 12735 rm -rf conftest* |
12664 eval "ac_cv_lib_$ac_lib_var=yes" | 12736 eval "ac_cv_lib_$ac_lib_var=yes" |
12665 else | 12737 else |
12666 echo "configure: failed program was:" >&5 | 12738 echo "configure: failed program was:" >&5 |
12667 cat conftest.$ac_ext >&5 | 12739 cat conftest.$ac_ext >&5 |
12688 fi ;; | 12760 fi ;; |
12689 hppa*-hp-hpux* ) | 12761 hppa*-hp-hpux* ) |
12690 if test -z "$native_sound_lib"; then | 12762 if test -z "$native_sound_lib"; then |
12691 | 12763 |
12692 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12764 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
12693 echo "configure:12694: checking for AOpenAudio in -lAlib" >&5 | 12765 echo "configure:12766: checking for AOpenAudio in -lAlib" >&5 |
12694 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12766 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
12695 | 12767 |
12696 xe_check_libs=" -lAlib " | 12768 xe_check_libs=" -lAlib " |
12697 cat > conftest.$ac_ext <<EOF | 12769 cat > conftest.$ac_ext <<EOF |
12698 #line 12699 "configure" | 12770 #line 12771 "configure" |
12699 #include "confdefs.h" | 12771 #include "confdefs.h" |
12700 /* Override any gcc2 internal prototype to avoid an error. */ | 12772 /* Override any gcc2 internal prototype to avoid an error. */ |
12701 /* We use char because int might match the return type of a gcc2 | 12773 /* We use char because int might match the return type of a gcc2 |
12702 builtin and then its argument prototype would still apply. */ | 12774 builtin and then its argument prototype would still apply. */ |
12703 char AOpenAudio(); | 12775 char AOpenAudio(); |
12704 | 12776 |
12705 int main() { | 12777 int main() { |
12706 AOpenAudio() | 12778 AOpenAudio() |
12707 ; return 0; } | 12779 ; return 0; } |
12708 EOF | 12780 EOF |
12709 if { (eval echo configure:12710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12781 if { (eval echo configure:12782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12710 rm -rf conftest* | 12782 rm -rf conftest* |
12711 eval "ac_cv_lib_$ac_lib_var=yes" | 12783 eval "ac_cv_lib_$ac_lib_var=yes" |
12712 else | 12784 else |
12713 echo "configure: failed program was:" >&5 | 12785 echo "configure: failed program was:" >&5 |
12714 cat conftest.$ac_ext >&5 | 12786 cat conftest.$ac_ext >&5 |
12752 | 12824 |
12753 if test -z "$sound_found"; then | 12825 if test -z "$sound_found"; then |
12754 for dir in "machine" "sys" "linux"; do | 12826 for dir in "machine" "sys" "linux"; do |
12755 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 12827 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
12756 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 12828 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
12757 echo "configure:12758: checking for ${dir}/soundcard.h" >&5 | 12829 echo "configure:12830: checking for ${dir}/soundcard.h" >&5 |
12758 | 12830 |
12759 cat > conftest.$ac_ext <<EOF | 12831 cat > conftest.$ac_ext <<EOF |
12760 #line 12761 "configure" | 12832 #line 12833 "configure" |
12761 #include "confdefs.h" | 12833 #include "confdefs.h" |
12762 #include <${dir}/soundcard.h> | 12834 #include <${dir}/soundcard.h> |
12763 EOF | 12835 EOF |
12764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12836 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12765 { (eval echo configure:12766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12837 { (eval echo configure:12838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12838 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12767 if test -z "$ac_err"; then | 12839 if test -z "$ac_err"; then |
12768 rm -rf conftest* | 12840 rm -rf conftest* |
12769 eval "ac_cv_header_$ac_safe=yes" | 12841 eval "ac_cv_header_$ac_safe=yes" |
12770 else | 12842 else |
12814 fi | 12886 fi |
12815 | 12887 |
12816 if test "$with_nas_sound" != "no"; then | 12888 if test "$with_nas_sound" != "no"; then |
12817 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 12889 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
12818 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 12890 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
12819 echo "configure:12820: checking for audio/audiolib.h" >&5 | 12891 echo "configure:12892: checking for audio/audiolib.h" >&5 |
12820 | 12892 |
12821 cat > conftest.$ac_ext <<EOF | 12893 cat > conftest.$ac_ext <<EOF |
12822 #line 12823 "configure" | 12894 #line 12895 "configure" |
12823 #include "confdefs.h" | 12895 #include "confdefs.h" |
12824 #include <audio/audiolib.h> | 12896 #include <audio/audiolib.h> |
12825 EOF | 12897 EOF |
12826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12827 { (eval echo configure:12828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12899 { (eval echo configure:12900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12828 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12829 if test -z "$ac_err"; then | 12901 if test -z "$ac_err"; then |
12830 rm -rf conftest* | 12902 rm -rf conftest* |
12831 eval "ac_cv_header_$ac_safe=yes" | 12903 eval "ac_cv_header_$ac_safe=yes" |
12832 else | 12904 else |
12840 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12912 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12841 echo "$ac_t""yes" 1>&6 | 12913 echo "$ac_t""yes" 1>&6 |
12842 | 12914 |
12843 | 12915 |
12844 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 12916 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
12845 echo "configure:12846: checking for AuOpenServer in -laudio" >&5 | 12917 echo "configure:12918: checking for AuOpenServer in -laudio" >&5 |
12846 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 12918 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
12847 | 12919 |
12848 xe_check_libs=" -laudio " | 12920 xe_check_libs=" -laudio " |
12849 cat > conftest.$ac_ext <<EOF | 12921 cat > conftest.$ac_ext <<EOF |
12850 #line 12851 "configure" | 12922 #line 12923 "configure" |
12851 #include "confdefs.h" | 12923 #include "confdefs.h" |
12852 /* Override any gcc2 internal prototype to avoid an error. */ | 12924 /* Override any gcc2 internal prototype to avoid an error. */ |
12853 /* We use char because int might match the return type of a gcc2 | 12925 /* We use char because int might match the return type of a gcc2 |
12854 builtin and then its argument prototype would still apply. */ | 12926 builtin and then its argument prototype would still apply. */ |
12855 char AuOpenServer(); | 12927 char AuOpenServer(); |
12856 | 12928 |
12857 int main() { | 12929 int main() { |
12858 AuOpenServer() | 12930 AuOpenServer() |
12859 ; return 0; } | 12931 ; return 0; } |
12860 EOF | 12932 EOF |
12861 if { (eval echo configure:12862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12933 if { (eval echo configure:12934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12862 rm -rf conftest* | 12934 rm -rf conftest* |
12863 eval "ac_cv_lib_$ac_lib_var=yes" | 12935 eval "ac_cv_lib_$ac_lib_var=yes" |
12864 else | 12936 else |
12865 echo "configure: failed program was:" >&5 | 12937 echo "configure: failed program was:" >&5 |
12866 cat conftest.$ac_ext >&5 | 12938 cat conftest.$ac_ext >&5 |
12895 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 12967 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
12896 echo " xemacs will be linked with \"nas.o\"" | 12968 echo " xemacs will be linked with \"nas.o\"" |
12897 fi | 12969 fi |
12898 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 12970 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
12899 cat > conftest.$ac_ext <<EOF | 12971 cat > conftest.$ac_ext <<EOF |
12900 #line 12901 "configure" | 12972 #line 12973 "configure" |
12901 #include "confdefs.h" | 12973 #include "confdefs.h" |
12902 #include <audio/Xtutil.h> | 12974 #include <audio/Xtutil.h> |
12903 EOF | 12975 EOF |
12904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 12976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
12905 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 12977 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
12926 | 12998 |
12927 if test "$with_esd_sound" != "no"; then | 12999 if test "$with_esd_sound" != "no"; then |
12928 # Extract the first word of "esd-config", so it can be a program name with args. | 13000 # Extract the first word of "esd-config", so it can be a program name with args. |
12929 set dummy esd-config; ac_word=$2 | 13001 set dummy esd-config; ac_word=$2 |
12930 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13002 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
12931 echo "configure:12932: checking for $ac_word" >&5 | 13003 echo "configure:13004: checking for $ac_word" >&5 |
12932 | 13004 |
12933 if test -n "$have_esd_config"; then | 13005 if test -n "$have_esd_config"; then |
12934 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13006 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
12935 else | 13007 else |
12936 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13008 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
12955 if test "$have_esd_config" = "yes"; then | 13027 if test "$have_esd_config" = "yes"; then |
12956 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13028 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
12957 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 13029 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
12958 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13030 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
12959 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13031 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
12960 echo "configure:12961: checking for esd_play_stream" >&5 | 13032 echo "configure:13033: checking for esd_play_stream" >&5 |
12961 | 13033 |
12962 cat > conftest.$ac_ext <<EOF | 13034 cat > conftest.$ac_ext <<EOF |
12963 #line 12964 "configure" | 13035 #line 13036 "configure" |
12964 #include "confdefs.h" | 13036 #include "confdefs.h" |
12965 /* System header to define __stub macros and hopefully few prototypes, | 13037 /* System header to define __stub macros and hopefully few prototypes, |
12966 which can conflict with char esd_play_stream(); below. */ | 13038 which can conflict with char esd_play_stream(); below. */ |
12967 #include <assert.h> | 13039 #include <assert.h> |
12968 /* Override any gcc2 internal prototype to avoid an error. */ | 13040 /* Override any gcc2 internal prototype to avoid an error. */ |
12981 esd_play_stream(); | 13053 esd_play_stream(); |
12982 #endif | 13054 #endif |
12983 | 13055 |
12984 ; return 0; } | 13056 ; return 0; } |
12985 EOF | 13057 EOF |
12986 if { (eval echo configure:12987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13058 if { (eval echo configure:13059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12987 rm -rf conftest* | 13059 rm -rf conftest* |
12988 eval "ac_cv_func_esd_play_stream=yes" | 13060 eval "ac_cv_func_esd_play_stream=yes" |
12989 else | 13061 else |
12990 echo "configure: failed program was:" >&5 | 13062 echo "configure: failed program was:" >&5 |
12991 cat conftest.$ac_ext >&5 | 13063 cat conftest.$ac_ext >&5 |
13032 | 13104 |
13033 test -z "$with_tty" && with_tty=yes | 13105 test -z "$with_tty" && with_tty=yes |
13034 | 13106 |
13035 if test "$with_tty" = "yes" ; then | 13107 if test "$with_tty" = "yes" ; then |
13036 echo "checking for TTY-related features" 1>&6 | 13108 echo "checking for TTY-related features" 1>&6 |
13037 echo "configure:13038: checking for TTY-related features" >&5 | 13109 echo "configure:13110: checking for TTY-related features" >&5 |
13038 { test "$extra_verbose" = "yes" && cat << \EOF | 13110 { test "$extra_verbose" = "yes" && cat << \EOF |
13039 Defining HAVE_TTY | 13111 Defining HAVE_TTY |
13040 EOF | 13112 EOF |
13041 cat >> confdefs.h <<\EOF | 13113 cat >> confdefs.h <<\EOF |
13042 #define HAVE_TTY 1 | 13114 #define HAVE_TTY 1 |
13045 | 13117 |
13046 | 13118 |
13047 if test -z "$with_ncurses"; then | 13119 if test -z "$with_ncurses"; then |
13048 | 13120 |
13049 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13121 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13050 echo "configure:13051: checking for tgetent in -lncurses" >&5 | 13122 echo "configure:13123: checking for tgetent in -lncurses" >&5 |
13051 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13123 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13052 | 13124 |
13053 xe_check_libs=" -lncurses " | 13125 xe_check_libs=" -lncurses " |
13054 cat > conftest.$ac_ext <<EOF | 13126 cat > conftest.$ac_ext <<EOF |
13055 #line 13056 "configure" | 13127 #line 13128 "configure" |
13056 #include "confdefs.h" | 13128 #include "confdefs.h" |
13057 /* Override any gcc2 internal prototype to avoid an error. */ | 13129 /* Override any gcc2 internal prototype to avoid an error. */ |
13058 /* We use char because int might match the return type of a gcc2 | 13130 /* We use char because int might match the return type of a gcc2 |
13059 builtin and then its argument prototype would still apply. */ | 13131 builtin and then its argument prototype would still apply. */ |
13060 char tgetent(); | 13132 char tgetent(); |
13061 | 13133 |
13062 int main() { | 13134 int main() { |
13063 tgetent() | 13135 tgetent() |
13064 ; return 0; } | 13136 ; return 0; } |
13065 EOF | 13137 EOF |
13066 if { (eval echo configure:13067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13138 if { (eval echo configure:13139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13067 rm -rf conftest* | 13139 rm -rf conftest* |
13068 eval "ac_cv_lib_$ac_lib_var=yes" | 13140 eval "ac_cv_lib_$ac_lib_var=yes" |
13069 else | 13141 else |
13070 echo "configure: failed program was:" >&5 | 13142 echo "configure: failed program was:" >&5 |
13071 cat conftest.$ac_ext >&5 | 13143 cat conftest.$ac_ext >&5 |
13094 EOF | 13166 EOF |
13095 } | 13167 } |
13096 | 13168 |
13097 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13169 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13098 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13170 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13099 echo "configure:13100: checking for ncurses/curses.h" >&5 | 13171 echo "configure:13172: checking for ncurses/curses.h" >&5 |
13100 | 13172 |
13101 cat > conftest.$ac_ext <<EOF | 13173 cat > conftest.$ac_ext <<EOF |
13102 #line 13103 "configure" | 13174 #line 13175 "configure" |
13103 #include "confdefs.h" | 13175 #include "confdefs.h" |
13104 #include <ncurses/curses.h> | 13176 #include <ncurses/curses.h> |
13105 EOF | 13177 EOF |
13106 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13107 { (eval echo configure:13108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13179 { (eval echo configure:13180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13108 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13180 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13109 if test -z "$ac_err"; then | 13181 if test -z "$ac_err"; then |
13110 rm -rf conftest* | 13182 rm -rf conftest* |
13111 eval "ac_cv_header_$ac_safe=yes" | 13183 eval "ac_cv_header_$ac_safe=yes" |
13112 else | 13184 else |
13124 echo "$ac_t""no" 1>&6 | 13196 echo "$ac_t""no" 1>&6 |
13125 fi | 13197 fi |
13126 | 13198 |
13127 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13199 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13128 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13200 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13129 echo "configure:13130: checking for ncurses/term.h" >&5 | 13201 echo "configure:13202: checking for ncurses/term.h" >&5 |
13130 | 13202 |
13131 cat > conftest.$ac_ext <<EOF | 13203 cat > conftest.$ac_ext <<EOF |
13132 #line 13133 "configure" | 13204 #line 13205 "configure" |
13133 #include "confdefs.h" | 13205 #include "confdefs.h" |
13134 #include <ncurses/term.h> | 13206 #include <ncurses/term.h> |
13135 EOF | 13207 EOF |
13136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13208 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13137 { (eval echo configure:13138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13209 { (eval echo configure:13210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13210 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13139 if test -z "$ac_err"; then | 13211 if test -z "$ac_err"; then |
13140 rm -rf conftest* | 13212 rm -rf conftest* |
13141 eval "ac_cv_header_$ac_safe=yes" | 13213 eval "ac_cv_header_$ac_safe=yes" |
13142 else | 13214 else |
13162 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13234 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13163 save_c_switch_site="$c_switch_site" | 13235 save_c_switch_site="$c_switch_site" |
13164 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13236 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13165 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13237 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13166 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13238 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13167 echo "configure:13168: checking for ncurses/curses.h" >&5 | 13239 echo "configure:13240: checking for ncurses/curses.h" >&5 |
13168 | 13240 |
13169 cat > conftest.$ac_ext <<EOF | 13241 cat > conftest.$ac_ext <<EOF |
13170 #line 13171 "configure" | 13242 #line 13243 "configure" |
13171 #include "confdefs.h" | 13243 #include "confdefs.h" |
13172 #include <ncurses/curses.h> | 13244 #include <ncurses/curses.h> |
13173 EOF | 13245 EOF |
13174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13175 { (eval echo configure:13176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13247 { (eval echo configure:13248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13248 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13177 if test -z "$ac_err"; then | 13249 if test -z "$ac_err"; then |
13178 rm -rf conftest* | 13250 rm -rf conftest* |
13179 eval "ac_cv_header_$ac_safe=yes" | 13251 eval "ac_cv_header_$ac_safe=yes" |
13180 else | 13252 else |
13205 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13277 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13206 else | 13278 else |
13207 for lib in curses termlib termcap; do | 13279 for lib in curses termlib termcap; do |
13208 | 13280 |
13209 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13281 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13210 echo "configure:13211: checking for tgetent in -l$lib" >&5 | 13282 echo "configure:13283: checking for tgetent in -l$lib" >&5 |
13211 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13283 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13212 | 13284 |
13213 xe_check_libs=" -l$lib " | 13285 xe_check_libs=" -l$lib " |
13214 cat > conftest.$ac_ext <<EOF | 13286 cat > conftest.$ac_ext <<EOF |
13215 #line 13216 "configure" | 13287 #line 13288 "configure" |
13216 #include "confdefs.h" | 13288 #include "confdefs.h" |
13217 /* Override any gcc2 internal prototype to avoid an error. */ | 13289 /* Override any gcc2 internal prototype to avoid an error. */ |
13218 /* We use char because int might match the return type of a gcc2 | 13290 /* We use char because int might match the return type of a gcc2 |
13219 builtin and then its argument prototype would still apply. */ | 13291 builtin and then its argument prototype would still apply. */ |
13220 char tgetent(); | 13292 char tgetent(); |
13221 | 13293 |
13222 int main() { | 13294 int main() { |
13223 tgetent() | 13295 tgetent() |
13224 ; return 0; } | 13296 ; return 0; } |
13225 EOF | 13297 EOF |
13226 if { (eval echo configure:13227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13298 if { (eval echo configure:13299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13227 rm -rf conftest* | 13299 rm -rf conftest* |
13228 eval "ac_cv_lib_$ac_lib_var=yes" | 13300 eval "ac_cv_lib_$ac_lib_var=yes" |
13229 else | 13301 else |
13230 echo "configure: failed program was:" >&5 | 13302 echo "configure: failed program was:" >&5 |
13231 cat conftest.$ac_ext >&5 | 13303 cat conftest.$ac_ext >&5 |
13252 if test -n "$libs_termcap"; then | 13324 if test -n "$libs_termcap"; then |
13253 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13325 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13254 else | 13326 else |
13255 | 13327 |
13256 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13328 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13257 echo "configure:13258: checking for tgetent in -lcurses" >&5 | 13329 echo "configure:13330: checking for tgetent in -lcurses" >&5 |
13258 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13330 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13259 | 13331 |
13260 xe_check_libs=" -lcurses " | 13332 xe_check_libs=" -lcurses " |
13261 cat > conftest.$ac_ext <<EOF | 13333 cat > conftest.$ac_ext <<EOF |
13262 #line 13263 "configure" | 13334 #line 13335 "configure" |
13263 #include "confdefs.h" | 13335 #include "confdefs.h" |
13264 /* Override any gcc2 internal prototype to avoid an error. */ | 13336 /* Override any gcc2 internal prototype to avoid an error. */ |
13265 /* We use char because int might match the return type of a gcc2 | 13337 /* We use char because int might match the return type of a gcc2 |
13266 builtin and then its argument prototype would still apply. */ | 13338 builtin and then its argument prototype would still apply. */ |
13267 char tgetent(); | 13339 char tgetent(); |
13268 | 13340 |
13269 int main() { | 13341 int main() { |
13270 tgetent() | 13342 tgetent() |
13271 ; return 0; } | 13343 ; return 0; } |
13272 EOF | 13344 EOF |
13273 if { (eval echo configure:13274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13345 if { (eval echo configure:13346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13274 rm -rf conftest* | 13346 rm -rf conftest* |
13275 eval "ac_cv_lib_$ac_lib_var=yes" | 13347 eval "ac_cv_lib_$ac_lib_var=yes" |
13276 else | 13348 else |
13277 echo "configure: failed program was:" >&5 | 13349 echo "configure: failed program was:" >&5 |
13278 cat conftest.$ac_ext >&5 | 13350 cat conftest.$ac_ext >&5 |
13286 echo "$ac_t""yes" 1>&6 | 13358 echo "$ac_t""yes" 1>&6 |
13287 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13359 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13288 else | 13360 else |
13289 echo "$ac_t""no" 1>&6 | 13361 echo "$ac_t""no" 1>&6 |
13290 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13362 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13291 echo "configure:13292: checking for tgetent in -ltermcap" >&5 | 13363 echo "configure:13364: checking for tgetent in -ltermcap" >&5 |
13292 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13364 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13293 | 13365 |
13294 xe_check_libs=" -ltermcap " | 13366 xe_check_libs=" -ltermcap " |
13295 cat > conftest.$ac_ext <<EOF | 13367 cat > conftest.$ac_ext <<EOF |
13296 #line 13297 "configure" | 13368 #line 13369 "configure" |
13297 #include "confdefs.h" | 13369 #include "confdefs.h" |
13298 /* Override any gcc2 internal prototype to avoid an error. */ | 13370 /* Override any gcc2 internal prototype to avoid an error. */ |
13299 /* We use char because int might match the return type of a gcc2 | 13371 /* We use char because int might match the return type of a gcc2 |
13300 builtin and then its argument prototype would still apply. */ | 13372 builtin and then its argument prototype would still apply. */ |
13301 char tgetent(); | 13373 char tgetent(); |
13302 | 13374 |
13303 int main() { | 13375 int main() { |
13304 tgetent() | 13376 tgetent() |
13305 ; return 0; } | 13377 ; return 0; } |
13306 EOF | 13378 EOF |
13307 if { (eval echo configure:13308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13379 if { (eval echo configure:13380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13308 rm -rf conftest* | 13380 rm -rf conftest* |
13309 eval "ac_cv_lib_$ac_lib_var=yes" | 13381 eval "ac_cv_lib_$ac_lib_var=yes" |
13310 else | 13382 else |
13311 echo "configure: failed program was:" >&5 | 13383 echo "configure: failed program was:" >&5 |
13312 cat conftest.$ac_ext >&5 | 13384 cat conftest.$ac_ext >&5 |
13350 } | 13422 } |
13351 | 13423 |
13352 | 13424 |
13353 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13425 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13354 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13426 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13355 echo "configure:13356: checking for gpm.h" >&5 | 13427 echo "configure:13428: checking for gpm.h" >&5 |
13356 | 13428 |
13357 cat > conftest.$ac_ext <<EOF | 13429 cat > conftest.$ac_ext <<EOF |
13358 #line 13359 "configure" | 13430 #line 13431 "configure" |
13359 #include "confdefs.h" | 13431 #include "confdefs.h" |
13360 #include <gpm.h> | 13432 #include <gpm.h> |
13361 EOF | 13433 EOF |
13362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13434 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13363 { (eval echo configure:13364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13435 { (eval echo configure:13436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13436 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13365 if test -z "$ac_err"; then | 13437 if test -z "$ac_err"; then |
13366 rm -rf conftest* | 13438 rm -rf conftest* |
13367 eval "ac_cv_header_$ac_safe=yes" | 13439 eval "ac_cv_header_$ac_safe=yes" |
13368 else | 13440 else |
13381 with_gpm=no | 13453 with_gpm=no |
13382 fi | 13454 fi |
13383 } | 13455 } |
13384 test -z "$with_gpm" && { | 13456 test -z "$with_gpm" && { |
13385 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13457 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13386 echo "configure:13387: checking for Gpm_Open in -lgpm" >&5 | 13458 echo "configure:13459: checking for Gpm_Open in -lgpm" >&5 |
13387 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13459 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13388 | 13460 |
13389 xe_check_libs=" -lgpm " | 13461 xe_check_libs=" -lgpm " |
13390 cat > conftest.$ac_ext <<EOF | 13462 cat > conftest.$ac_ext <<EOF |
13391 #line 13392 "configure" | 13463 #line 13464 "configure" |
13392 #include "confdefs.h" | 13464 #include "confdefs.h" |
13393 /* Override any gcc2 internal prototype to avoid an error. */ | 13465 /* Override any gcc2 internal prototype to avoid an error. */ |
13394 /* We use char because int might match the return type of a gcc2 | 13466 /* We use char because int might match the return type of a gcc2 |
13395 builtin and then its argument prototype would still apply. */ | 13467 builtin and then its argument prototype would still apply. */ |
13396 char Gpm_Open(); | 13468 char Gpm_Open(); |
13397 | 13469 |
13398 int main() { | 13470 int main() { |
13399 Gpm_Open() | 13471 Gpm_Open() |
13400 ; return 0; } | 13472 ; return 0; } |
13401 EOF | 13473 EOF |
13402 if { (eval echo configure:13403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13474 if { (eval echo configure:13475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13403 rm -rf conftest* | 13475 rm -rf conftest* |
13404 eval "ac_cv_lib_$ac_lib_var=yes" | 13476 eval "ac_cv_lib_$ac_lib_var=yes" |
13405 else | 13477 else |
13406 echo "configure: failed program was:" >&5 | 13478 echo "configure: failed program was:" >&5 |
13407 cat conftest.$ac_ext >&5 | 13479 cat conftest.$ac_ext >&5 |
13440 done | 13512 done |
13441 fi | 13513 fi |
13442 | 13514 |
13443 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13515 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13444 != "no no no" && echo "checking for database support" 1>&6 | 13516 != "no no no" && echo "checking for database support" 1>&6 |
13445 echo "configure:13446: checking for database support" >&5 | 13517 echo "configure:13518: checking for database support" >&5 |
13446 | 13518 |
13447 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13519 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13448 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13520 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13449 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13521 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13450 echo "configure:13451: checking for ndbm.h" >&5 | 13522 echo "configure:13523: checking for ndbm.h" >&5 |
13451 | 13523 |
13452 cat > conftest.$ac_ext <<EOF | 13524 cat > conftest.$ac_ext <<EOF |
13453 #line 13454 "configure" | 13525 #line 13526 "configure" |
13454 #include "confdefs.h" | 13526 #include "confdefs.h" |
13455 #include <ndbm.h> | 13527 #include <ndbm.h> |
13456 EOF | 13528 EOF |
13457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13458 { (eval echo configure:13459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13530 { (eval echo configure:13531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13460 if test -z "$ac_err"; then | 13532 if test -z "$ac_err"; then |
13461 rm -rf conftest* | 13533 rm -rf conftest* |
13462 eval "ac_cv_header_$ac_safe=yes" | 13534 eval "ac_cv_header_$ac_safe=yes" |
13463 else | 13535 else |
13483 fi | 13555 fi |
13484 | 13556 |
13485 if test "$with_database_gdbm" != "no"; then | 13557 if test "$with_database_gdbm" != "no"; then |
13486 | 13558 |
13487 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13559 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13488 echo "configure:13489: checking for dbm_open in -lgdbm" >&5 | 13560 echo "configure:13561: checking for dbm_open in -lgdbm" >&5 |
13489 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13561 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13490 | 13562 |
13491 xe_check_libs=" -lgdbm " | 13563 xe_check_libs=" -lgdbm " |
13492 cat > conftest.$ac_ext <<EOF | 13564 cat > conftest.$ac_ext <<EOF |
13493 #line 13494 "configure" | 13565 #line 13566 "configure" |
13494 #include "confdefs.h" | 13566 #include "confdefs.h" |
13495 /* Override any gcc2 internal prototype to avoid an error. */ | 13567 /* Override any gcc2 internal prototype to avoid an error. */ |
13496 /* We use char because int might match the return type of a gcc2 | 13568 /* We use char because int might match the return type of a gcc2 |
13497 builtin and then its argument prototype would still apply. */ | 13569 builtin and then its argument prototype would still apply. */ |
13498 char dbm_open(); | 13570 char dbm_open(); |
13499 | 13571 |
13500 int main() { | 13572 int main() { |
13501 dbm_open() | 13573 dbm_open() |
13502 ; return 0; } | 13574 ; return 0; } |
13503 EOF | 13575 EOF |
13504 if { (eval echo configure:13505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13576 if { (eval echo configure:13577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13505 rm -rf conftest* | 13577 rm -rf conftest* |
13506 eval "ac_cv_lib_$ac_lib_var=yes" | 13578 eval "ac_cv_lib_$ac_lib_var=yes" |
13507 else | 13579 else |
13508 echo "configure: failed program was:" >&5 | 13580 echo "configure: failed program was:" >&5 |
13509 cat conftest.$ac_ext >&5 | 13581 cat conftest.$ac_ext >&5 |
13527 | 13599 |
13528 fi | 13600 fi |
13529 | 13601 |
13530 if test "$with_database_dbm" != "no"; then | 13602 if test "$with_database_dbm" != "no"; then |
13531 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13603 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13532 echo "configure:13533: checking for dbm_open" >&5 | 13604 echo "configure:13605: checking for dbm_open" >&5 |
13533 | 13605 |
13534 cat > conftest.$ac_ext <<EOF | 13606 cat > conftest.$ac_ext <<EOF |
13535 #line 13536 "configure" | 13607 #line 13608 "configure" |
13536 #include "confdefs.h" | 13608 #include "confdefs.h" |
13537 /* System header to define __stub macros and hopefully few prototypes, | 13609 /* System header to define __stub macros and hopefully few prototypes, |
13538 which can conflict with char dbm_open(); below. */ | 13610 which can conflict with char dbm_open(); below. */ |
13539 #include <assert.h> | 13611 #include <assert.h> |
13540 /* Override any gcc2 internal prototype to avoid an error. */ | 13612 /* Override any gcc2 internal prototype to avoid an error. */ |
13553 dbm_open(); | 13625 dbm_open(); |
13554 #endif | 13626 #endif |
13555 | 13627 |
13556 ; return 0; } | 13628 ; return 0; } |
13557 EOF | 13629 EOF |
13558 if { (eval echo configure:13559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13630 if { (eval echo configure:13631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13559 rm -rf conftest* | 13631 rm -rf conftest* |
13560 eval "ac_cv_func_dbm_open=yes" | 13632 eval "ac_cv_func_dbm_open=yes" |
13561 else | 13633 else |
13562 echo "configure: failed program was:" >&5 | 13634 echo "configure: failed program was:" >&5 |
13563 cat conftest.$ac_ext >&5 | 13635 cat conftest.$ac_ext >&5 |
13572 else | 13644 else |
13573 echo "$ac_t""no" 1>&6 | 13645 echo "$ac_t""no" 1>&6 |
13574 | 13646 |
13575 | 13647 |
13576 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13648 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13577 echo "configure:13578: checking for dbm_open in -ldbm" >&5 | 13649 echo "configure:13650: checking for dbm_open in -ldbm" >&5 |
13578 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13650 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13579 | 13651 |
13580 xe_check_libs=" -ldbm " | 13652 xe_check_libs=" -ldbm " |
13581 cat > conftest.$ac_ext <<EOF | 13653 cat > conftest.$ac_ext <<EOF |
13582 #line 13583 "configure" | 13654 #line 13655 "configure" |
13583 #include "confdefs.h" | 13655 #include "confdefs.h" |
13584 /* Override any gcc2 internal prototype to avoid an error. */ | 13656 /* Override any gcc2 internal prototype to avoid an error. */ |
13585 /* We use char because int might match the return type of a gcc2 | 13657 /* We use char because int might match the return type of a gcc2 |
13586 builtin and then its argument prototype would still apply. */ | 13658 builtin and then its argument prototype would still apply. */ |
13587 char dbm_open(); | 13659 char dbm_open(); |
13588 | 13660 |
13589 int main() { | 13661 int main() { |
13590 dbm_open() | 13662 dbm_open() |
13591 ; return 0; } | 13663 ; return 0; } |
13592 EOF | 13664 EOF |
13593 if { (eval echo configure:13594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13665 if { (eval echo configure:13666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13594 rm -rf conftest* | 13666 rm -rf conftest* |
13595 eval "ac_cv_lib_$ac_lib_var=yes" | 13667 eval "ac_cv_lib_$ac_lib_var=yes" |
13596 else | 13668 else |
13597 echo "configure: failed program was:" >&5 | 13669 echo "configure: failed program was:" >&5 |
13598 cat conftest.$ac_ext >&5 | 13670 cat conftest.$ac_ext >&5 |
13629 } | 13701 } |
13630 | 13702 |
13631 | 13703 |
13632 if test "$with_database_berkdb" != "no"; then | 13704 if test "$with_database_berkdb" != "no"; then |
13633 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13705 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
13634 echo "configure:13635: checking for Berkeley db.h" >&5 | 13706 echo "configure:13707: checking for Berkeley db.h" >&5 |
13635 for header in "db/db.h" "db.h"; do | 13707 for header in "db/db.h" "db.h"; do |
13636 cat > conftest.$ac_ext <<EOF | 13708 cat > conftest.$ac_ext <<EOF |
13637 #line 13638 "configure" | 13709 #line 13710 "configure" |
13638 #include "confdefs.h" | 13710 #include "confdefs.h" |
13639 | 13711 |
13640 #include <stdlib.h> | 13712 #include <stdlib.h> |
13641 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13713 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
13642 #ifdef HAVE_INTTYPES_H | 13714 #ifdef HAVE_INTTYPES_H |
13654 | 13726 |
13655 int main() { | 13727 int main() { |
13656 | 13728 |
13657 ; return 0; } | 13729 ; return 0; } |
13658 EOF | 13730 EOF |
13659 if { (eval echo configure:13660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13731 if { (eval echo configure:13732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13660 rm -rf conftest* | 13732 rm -rf conftest* |
13661 db_h_file="$header"; break | 13733 db_h_file="$header"; break |
13662 else | 13734 else |
13663 echo "configure: failed program was:" >&5 | 13735 echo "configure: failed program was:" >&5 |
13664 cat conftest.$ac_ext >&5 | 13736 cat conftest.$ac_ext >&5 |
13670 else echo "$ac_t""$db_h_file" 1>&6 | 13742 else echo "$ac_t""$db_h_file" 1>&6 |
13671 fi | 13743 fi |
13672 | 13744 |
13673 if test "$with_database_berkdb" != "no"; then | 13745 if test "$with_database_berkdb" != "no"; then |
13674 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13746 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
13675 echo "configure:13676: checking for Berkeley DB version" >&5 | 13747 echo "configure:13748: checking for Berkeley DB version" >&5 |
13676 cat > conftest.$ac_ext <<EOF | 13748 cat > conftest.$ac_ext <<EOF |
13677 #line 13678 "configure" | 13749 #line 13750 "configure" |
13678 #include "confdefs.h" | 13750 #include "confdefs.h" |
13679 #include <$db_h_file> | 13751 #include <$db_h_file> |
13680 #if DB_VERSION_MAJOR > 1 | 13752 #if DB_VERSION_MAJOR > 1 |
13681 yes | 13753 yes |
13682 #endif | 13754 #endif |
13684 EOF | 13756 EOF |
13685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13686 egrep "yes" >/dev/null 2>&1; then | 13758 egrep "yes" >/dev/null 2>&1; then |
13687 rm -rf conftest* | 13759 rm -rf conftest* |
13688 cat > conftest.$ac_ext <<EOF | 13760 cat > conftest.$ac_ext <<EOF |
13689 #line 13690 "configure" | 13761 #line 13762 "configure" |
13690 #include "confdefs.h" | 13762 #include "confdefs.h" |
13691 #include <$db_h_file> | 13763 #include <$db_h_file> |
13692 #if DB_VERSION_MAJOR > 2 | 13764 #if DB_VERSION_MAJOR > 2 |
13693 yes | 13765 yes |
13694 #endif | 13766 #endif |
13696 EOF | 13768 EOF |
13697 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13698 egrep "yes" >/dev/null 2>&1; then | 13770 egrep "yes" >/dev/null 2>&1; then |
13699 rm -rf conftest* | 13771 rm -rf conftest* |
13700 cat > conftest.$ac_ext <<EOF | 13772 cat > conftest.$ac_ext <<EOF |
13701 #line 13702 "configure" | 13773 #line 13774 "configure" |
13702 #include "confdefs.h" | 13774 #include "confdefs.h" |
13703 #include <$db_h_file> | 13775 #include <$db_h_file> |
13704 #if DB_VERSION_MAJOR > 3 | 13776 #if DB_VERSION_MAJOR > 3 |
13705 yes | 13777 yes |
13706 #endif | 13778 #endif |
13730 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 13802 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
13731 fi | 13803 fi |
13732 rm -f conftest* | 13804 rm -f conftest* |
13733 | 13805 |
13734 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13806 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
13735 echo "configure:13736: checking for $dbfunc" >&5 | 13807 echo "configure:13808: checking for $dbfunc" >&5 |
13736 | 13808 |
13737 cat > conftest.$ac_ext <<EOF | 13809 cat > conftest.$ac_ext <<EOF |
13738 #line 13739 "configure" | 13810 #line 13811 "configure" |
13739 #include "confdefs.h" | 13811 #include "confdefs.h" |
13740 /* System header to define __stub macros and hopefully few prototypes, | 13812 /* System header to define __stub macros and hopefully few prototypes, |
13741 which can conflict with char $dbfunc(); below. */ | 13813 which can conflict with char $dbfunc(); below. */ |
13742 #include <assert.h> | 13814 #include <assert.h> |
13743 /* Override any gcc2 internal prototype to avoid an error. */ | 13815 /* Override any gcc2 internal prototype to avoid an error. */ |
13756 $dbfunc(); | 13828 $dbfunc(); |
13757 #endif | 13829 #endif |
13758 | 13830 |
13759 ; return 0; } | 13831 ; return 0; } |
13760 EOF | 13832 EOF |
13761 if { (eval echo configure:13762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13833 if { (eval echo configure:13834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13762 rm -rf conftest* | 13834 rm -rf conftest* |
13763 eval "ac_cv_func_$dbfunc=yes" | 13835 eval "ac_cv_func_$dbfunc=yes" |
13764 else | 13836 else |
13765 echo "configure: failed program was:" >&5 | 13837 echo "configure: failed program was:" >&5 |
13766 cat conftest.$ac_ext >&5 | 13838 cat conftest.$ac_ext >&5 |
13775 else | 13847 else |
13776 echo "$ac_t""no" 1>&6 | 13848 echo "$ac_t""no" 1>&6 |
13777 | 13849 |
13778 | 13850 |
13779 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 13851 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
13780 echo "configure:13781: checking for $dbfunc in -ldb" >&5 | 13852 echo "configure:13853: checking for $dbfunc in -ldb" >&5 |
13781 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 13853 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
13782 | 13854 |
13783 xe_check_libs=" -ldb " | 13855 xe_check_libs=" -ldb " |
13784 cat > conftest.$ac_ext <<EOF | 13856 cat > conftest.$ac_ext <<EOF |
13785 #line 13786 "configure" | 13857 #line 13858 "configure" |
13786 #include "confdefs.h" | 13858 #include "confdefs.h" |
13787 /* Override any gcc2 internal prototype to avoid an error. */ | 13859 /* Override any gcc2 internal prototype to avoid an error. */ |
13788 /* We use char because int might match the return type of a gcc2 | 13860 /* We use char because int might match the return type of a gcc2 |
13789 builtin and then its argument prototype would still apply. */ | 13861 builtin and then its argument prototype would still apply. */ |
13790 char $dbfunc(); | 13862 char $dbfunc(); |
13791 | 13863 |
13792 int main() { | 13864 int main() { |
13793 $dbfunc() | 13865 $dbfunc() |
13794 ; return 0; } | 13866 ; return 0; } |
13795 EOF | 13867 EOF |
13796 if { (eval echo configure:13797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13868 if { (eval echo configure:13869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13797 rm -rf conftest* | 13869 rm -rf conftest* |
13798 eval "ac_cv_lib_$ac_lib_var=yes" | 13870 eval "ac_cv_lib_$ac_lib_var=yes" |
13799 else | 13871 else |
13800 echo "configure: failed program was:" >&5 | 13872 echo "configure: failed program was:" >&5 |
13801 cat conftest.$ac_ext >&5 | 13873 cat conftest.$ac_ext >&5 |
13825 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 13897 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
13826 rm -f $tempcname | 13898 rm -f $tempcname |
13827 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 13899 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
13828 | 13900 |
13829 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 13901 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
13830 echo "configure:13831: checking for $dbfunc in -ldb" >&5 | 13902 echo "configure:13903: checking for $dbfunc in -ldb" >&5 |
13831 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 13903 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
13832 | 13904 |
13833 xe_check_libs=" -ldb " | 13905 xe_check_libs=" -ldb " |
13834 cat > conftest.$ac_ext <<EOF | 13906 cat > conftest.$ac_ext <<EOF |
13835 #line 13836 "configure" | 13907 #line 13908 "configure" |
13836 #include "confdefs.h" | 13908 #include "confdefs.h" |
13837 /* Override any gcc2 internal prototype to avoid an error. */ | 13909 /* Override any gcc2 internal prototype to avoid an error. */ |
13838 /* We use char because int might match the return type of a gcc2 | 13910 /* We use char because int might match the return type of a gcc2 |
13839 builtin and then its argument prototype would still apply. */ | 13911 builtin and then its argument prototype would still apply. */ |
13840 char $dbfunc(); | 13912 char $dbfunc(); |
13841 | 13913 |
13842 int main() { | 13914 int main() { |
13843 $dbfunc() | 13915 $dbfunc() |
13844 ; return 0; } | 13916 ; return 0; } |
13845 EOF | 13917 EOF |
13846 if { (eval echo configure:13847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13918 if { (eval echo configure:13919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13847 rm -rf conftest* | 13919 rm -rf conftest* |
13848 eval "ac_cv_lib_$ac_lib_var=yes" | 13920 eval "ac_cv_lib_$ac_lib_var=yes" |
13849 else | 13921 else |
13850 echo "configure: failed program was:" >&5 | 13922 echo "configure: failed program was:" >&5 |
13851 cat conftest.$ac_ext >&5 | 13923 cat conftest.$ac_ext >&5 |
13900 fi | 13972 fi |
13901 | 13973 |
13902 if test "$with_socks" = "yes"; then | 13974 if test "$with_socks" = "yes"; then |
13903 | 13975 |
13904 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 13976 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
13905 echo "configure:13906: checking for SOCKSinit in -lsocks" >&5 | 13977 echo "configure:13978: checking for SOCKSinit in -lsocks" >&5 |
13906 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 13978 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
13907 | 13979 |
13908 xe_check_libs=" -lsocks " | 13980 xe_check_libs=" -lsocks " |
13909 cat > conftest.$ac_ext <<EOF | 13981 cat > conftest.$ac_ext <<EOF |
13910 #line 13911 "configure" | 13982 #line 13983 "configure" |
13911 #include "confdefs.h" | 13983 #include "confdefs.h" |
13912 /* Override any gcc2 internal prototype to avoid an error. */ | 13984 /* Override any gcc2 internal prototype to avoid an error. */ |
13913 /* We use char because int might match the return type of a gcc2 | 13985 /* We use char because int might match the return type of a gcc2 |
13914 builtin and then its argument prototype would still apply. */ | 13986 builtin and then its argument prototype would still apply. */ |
13915 char SOCKSinit(); | 13987 char SOCKSinit(); |
13916 | 13988 |
13917 int main() { | 13989 int main() { |
13918 SOCKSinit() | 13990 SOCKSinit() |
13919 ; return 0; } | 13991 ; return 0; } |
13920 EOF | 13992 EOF |
13921 if { (eval echo configure:13922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13993 if { (eval echo configure:13994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13922 rm -rf conftest* | 13994 rm -rf conftest* |
13923 eval "ac_cv_lib_$ac_lib_var=yes" | 13995 eval "ac_cv_lib_$ac_lib_var=yes" |
13924 else | 13996 else |
13925 echo "configure: failed program was:" >&5 | 13997 echo "configure: failed program was:" >&5 |
13926 cat conftest.$ac_ext >&5 | 13998 cat conftest.$ac_ext >&5 |
13970 | 14042 |
13971 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14043 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
13972 fi | 14044 fi |
13973 | 14045 |
13974 cat > conftest.$ac_ext <<EOF | 14046 cat > conftest.$ac_ext <<EOF |
13975 #line 13976 "configure" | 14047 #line 14048 "configure" |
13976 #include "confdefs.h" | 14048 #include "confdefs.h" |
13977 int main(int c,char *v[]){return 0;} | 14049 int main(int c,char *v[]){return 0;} |
13978 EOF | 14050 EOF |
13979 if { (eval echo configure:13980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 14051 if { (eval echo configure:14052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13980 then | 14052 then |
13981 : | 14053 : |
13982 else | 14054 else |
13983 conftest_rc="$?" | 14055 conftest_rc="$?" |
13984 echo "configure: failed program was:" >&5 | 14056 echo "configure: failed program was:" >&5 |
14085 | 14157 |
14086 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi | 14158 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi |
14087 | 14159 |
14088 if test "$with_modules" != "no"; then | 14160 if test "$with_modules" != "no"; then |
14089 echo "checking for module support" 1>&6 | 14161 echo "checking for module support" 1>&6 |
14090 echo "configure:14091: checking for module support" >&5 | 14162 echo "configure:14163: checking for module support" >&5 |
14091 | 14163 |
14092 if test "$with_msw" = "yes"; then | 14164 if test "$with_msw" = "yes"; then |
14093 have_dl=yes; | 14165 have_dl=yes; |
14094 else | 14166 else |
14095 case "$opsys" in | 14167 case "$opsys" in |
14102 } | 14174 } |
14103 ;; | 14175 ;; |
14104 * ) | 14176 * ) |
14105 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14177 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14106 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14178 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14107 echo "configure:14108: checking for dlfcn.h" >&5 | 14179 echo "configure:14180: checking for dlfcn.h" >&5 |
14108 | 14180 |
14109 cat > conftest.$ac_ext <<EOF | 14181 cat > conftest.$ac_ext <<EOF |
14110 #line 14111 "configure" | 14182 #line 14183 "configure" |
14111 #include "confdefs.h" | 14183 #include "confdefs.h" |
14112 #include <dlfcn.h> | 14184 #include <dlfcn.h> |
14113 EOF | 14185 EOF |
14114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14115 { (eval echo configure:14116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14187 { (eval echo configure:14188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14117 if test -z "$ac_err"; then | 14189 if test -z "$ac_err"; then |
14118 rm -rf conftest* | 14190 rm -rf conftest* |
14119 eval "ac_cv_header_$ac_safe=yes" | 14191 eval "ac_cv_header_$ac_safe=yes" |
14120 else | 14192 else |
14127 rm -f conftest* | 14199 rm -f conftest* |
14128 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14200 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14129 echo "$ac_t""yes" 1>&6 | 14201 echo "$ac_t""yes" 1>&6 |
14130 | 14202 |
14131 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14203 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14132 echo "configure:14133: checking for dlopen in -lc" >&5 | 14204 echo "configure:14205: checking for dlopen in -lc" >&5 |
14133 cat > conftest.$ac_ext <<EOF | 14205 cat > conftest.$ac_ext <<EOF |
14134 #line 14135 "configure" | 14206 #line 14207 "configure" |
14135 #include "confdefs.h" | 14207 #include "confdefs.h" |
14136 #include <dlfcn.h> | 14208 #include <dlfcn.h> |
14137 int main() { | 14209 int main() { |
14138 dlopen ("", 0); | 14210 dlopen ("", 0); |
14139 ; return 0; } | 14211 ; return 0; } |
14140 EOF | 14212 EOF |
14141 if { (eval echo configure:14142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14213 if { (eval echo configure:14214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14142 rm -rf conftest* | 14214 rm -rf conftest* |
14143 have_dl=yes | 14215 have_dl=yes |
14144 else | 14216 else |
14145 echo "configure: failed program was:" >&5 | 14217 echo "configure: failed program was:" >&5 |
14146 cat conftest.$ac_ext >&5 | 14218 cat conftest.$ac_ext >&5 |
14147 rm -rf conftest* | 14219 rm -rf conftest* |
14148 | 14220 |
14149 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14221 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14150 echo "configure:14151: checking for dlopen in -ldl" >&5 | 14222 echo "configure:14223: checking for dlopen in -ldl" >&5 |
14151 ac_save_LIBS="$LIBS" | 14223 ac_save_LIBS="$LIBS" |
14152 LIBS="-ldl $LIBS" | 14224 LIBS="-ldl $LIBS" |
14153 cat > conftest.$ac_ext <<EOF | 14225 cat > conftest.$ac_ext <<EOF |
14154 #line 14155 "configure" | 14226 #line 14227 "configure" |
14155 #include "confdefs.h" | 14227 #include "confdefs.h" |
14156 #include <dlfcn.h> | 14228 #include <dlfcn.h> |
14157 int main() { | 14229 int main() { |
14158 dlopen ("", 0); | 14230 dlopen ("", 0); |
14159 ; return 0; } | 14231 ; return 0; } |
14160 EOF | 14232 EOF |
14161 if { (eval echo configure:14162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14233 if { (eval echo configure:14234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14162 rm -rf conftest* | 14234 rm -rf conftest* |
14163 have_dl=yes | 14235 have_dl=yes |
14164 else | 14236 else |
14165 echo "configure: failed program was:" >&5 | 14237 echo "configure: failed program was:" >&5 |
14166 cat conftest.$ac_ext >&5 | 14238 cat conftest.$ac_ext >&5 |
14185 } | 14257 } |
14186 | 14258 |
14187 else | 14259 else |
14188 | 14260 |
14189 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14261 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14190 echo "configure:14191: checking for shl_load in -ldld" >&5 | 14262 echo "configure:14263: checking for shl_load in -ldld" >&5 |
14191 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14263 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14192 | 14264 |
14193 xe_check_libs=" -ldld " | 14265 xe_check_libs=" -ldld " |
14194 cat > conftest.$ac_ext <<EOF | 14266 cat > conftest.$ac_ext <<EOF |
14195 #line 14196 "configure" | 14267 #line 14268 "configure" |
14196 #include "confdefs.h" | 14268 #include "confdefs.h" |
14197 /* Override any gcc2 internal prototype to avoid an error. */ | 14269 /* Override any gcc2 internal prototype to avoid an error. */ |
14198 /* We use char because int might match the return type of a gcc2 | 14270 /* We use char because int might match the return type of a gcc2 |
14199 builtin and then its argument prototype would still apply. */ | 14271 builtin and then its argument prototype would still apply. */ |
14200 char shl_load(); | 14272 char shl_load(); |
14201 | 14273 |
14202 int main() { | 14274 int main() { |
14203 shl_load() | 14275 shl_load() |
14204 ; return 0; } | 14276 ; return 0; } |
14205 EOF | 14277 EOF |
14206 if { (eval echo configure:14207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14278 if { (eval echo configure:14279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14207 rm -rf conftest* | 14279 rm -rf conftest* |
14208 eval "ac_cv_lib_$ac_lib_var=yes" | 14280 eval "ac_cv_lib_$ac_lib_var=yes" |
14209 else | 14281 else |
14210 echo "configure: failed program was:" >&5 | 14282 echo "configure: failed program was:" >&5 |
14211 cat conftest.$ac_ext >&5 | 14283 cat conftest.$ac_ext >&5 |
14228 | 14300 |
14229 else | 14301 else |
14230 echo "$ac_t""no" 1>&6 | 14302 echo "$ac_t""no" 1>&6 |
14231 | 14303 |
14232 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14304 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14233 echo "configure:14234: checking for dld_init in -ldld" >&5 | 14305 echo "configure:14306: checking for dld_init in -ldld" >&5 |
14234 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14306 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14235 | 14307 |
14236 xe_check_libs=" -ldld " | 14308 xe_check_libs=" -ldld " |
14237 cat > conftest.$ac_ext <<EOF | 14309 cat > conftest.$ac_ext <<EOF |
14238 #line 14239 "configure" | 14310 #line 14311 "configure" |
14239 #include "confdefs.h" | 14311 #include "confdefs.h" |
14240 /* Override any gcc2 internal prototype to avoid an error. */ | 14312 /* Override any gcc2 internal prototype to avoid an error. */ |
14241 /* We use char because int might match the return type of a gcc2 | 14313 /* We use char because int might match the return type of a gcc2 |
14242 builtin and then its argument prototype would still apply. */ | 14314 builtin and then its argument prototype would still apply. */ |
14243 char dld_init(); | 14315 char dld_init(); |
14244 | 14316 |
14245 int main() { | 14317 int main() { |
14246 dld_init() | 14318 dld_init() |
14247 ; return 0; } | 14319 ; return 0; } |
14248 EOF | 14320 EOF |
14249 if { (eval echo configure:14250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14321 if { (eval echo configure:14322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14250 rm -rf conftest* | 14322 rm -rf conftest* |
14251 eval "ac_cv_lib_$ac_lib_var=yes" | 14323 eval "ac_cv_lib_$ac_lib_var=yes" |
14252 else | 14324 else |
14253 echo "configure: failed program was:" >&5 | 14325 echo "configure: failed program was:" >&5 |
14254 cat conftest.$ac_ext >&5 | 14326 cat conftest.$ac_ext >&5 |
14289 ld_dynamic_link_flags= | 14361 ld_dynamic_link_flags= |
14290 xehost=$canonical | 14362 xehost=$canonical |
14291 xealias=$internal_configuration | 14363 xealias=$internal_configuration |
14292 | 14364 |
14293 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14365 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14294 echo "configure:14295: checking how to build dynamic libraries for ${xehost}" >&5 | 14366 echo "configure:14367: checking how to build dynamic libraries for ${xehost}" >&5 |
14295 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14367 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14296 case "$xehost" in | 14368 case "$xehost" in |
14297 *-*-linux-gnu*) ;; | 14369 *-*-linux-gnu*) ;; |
14298 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14370 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14299 esac | 14371 esac |
14317 # Now see if the compiler is really GCC. | 14389 # Now see if the compiler is really GCC. |
14318 if test "$GCC" = "yes"; then | 14390 if test "$GCC" = "yes"; then |
14319 XEGCC=yes | 14391 XEGCC=yes |
14320 else | 14392 else |
14321 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14393 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14322 echo "configure:14323: checking checking whether we are using GNU C" >&5 | 14394 echo "configure:14395: checking checking whether we are using GNU C" >&5 |
14323 cat > conftest.$ac_ext <<EOF | 14395 cat > conftest.$ac_ext <<EOF |
14324 #line 14325 "configure" | 14396 #line 14397 "configure" |
14325 #include "confdefs.h" | 14397 #include "confdefs.h" |
14326 | 14398 |
14327 #ifdef __GNUC__ | 14399 #ifdef __GNUC__ |
14328 yes; | 14400 yes; |
14329 #endif | 14401 #endif |
14341 | 14413 |
14342 echo "$ac_t""${XEGCC}" 1>&6 | 14414 echo "$ac_t""${XEGCC}" 1>&6 |
14343 fi | 14415 fi |
14344 | 14416 |
14345 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14417 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14346 echo "configure:14347: checking how to produce PIC code" >&5 | 14418 echo "configure:14419: checking how to produce PIC code" >&5 |
14347 wl= | 14419 wl= |
14348 | 14420 |
14349 can_build_shared=yes | 14421 can_build_shared=yes |
14350 cygwin_warn= | 14422 cygwin_warn= |
14351 if test "$XEGCC" = yes; then | 14423 if test "$XEGCC" = yes; then |
14450 if test -n "$dll_cflags"; then | 14522 if test -n "$dll_cflags"; then |
14451 echo "$ac_t""${dll_cflags}" 1>&6 | 14523 echo "$ac_t""${dll_cflags}" 1>&6 |
14452 | 14524 |
14453 # Check to make sure the dll_cflags actually works. | 14525 # Check to make sure the dll_cflags actually works. |
14454 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14526 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14455 echo "configure:14456: checking if PIC flag ${dll_cflags} really works" >&5 | 14527 echo "configure:14528: checking if PIC flag ${dll_cflags} really works" >&5 |
14456 save_CFLAGS="$CFLAGS" | 14528 save_CFLAGS="$CFLAGS" |
14457 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14529 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14458 cat > conftest.$ac_ext <<EOF | 14530 cat > conftest.$ac_ext <<EOF |
14459 #line 14460 "configure" | 14531 #line 14532 "configure" |
14460 #include "confdefs.h" | 14532 #include "confdefs.h" |
14461 | 14533 |
14462 int main() { | 14534 int main() { |
14463 int x=0; | 14535 int x=0; |
14464 ; return 0; } | 14536 ; return 0; } |
14465 EOF | 14537 EOF |
14466 if { (eval echo configure:14467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14538 if { (eval echo configure:14539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14467 rm -rf conftest* | 14539 rm -rf conftest* |
14468 | 14540 |
14469 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14541 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14470 # reports no error. So, we need to grep stderr for (Bundled). | 14542 # reports no error. So, we need to grep stderr for (Bundled). |
14471 if grep '(Bundled)' config.log >/dev/null; then | 14543 if grep '(Bundled)' config.log >/dev/null; then |
14496 if test "$can_build_shared" = "yes"; then | 14568 if test "$can_build_shared" = "yes"; then |
14497 cc_produces_so=no | 14569 cc_produces_so=no |
14498 xldf= | 14570 xldf= |
14499 xcldf= | 14571 xcldf= |
14500 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14572 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14501 echo "configure:14502: checking if C compiler can produce shared libraries" >&5 | 14573 echo "configure:14574: checking if C compiler can produce shared libraries" >&5 |
14502 if test "$XEGCC" = yes; then | 14574 if test "$XEGCC" = yes; then |
14503 case "$xehost_os" in | 14575 case "$xehost_os" in |
14504 *darwin*) | 14576 *darwin*) |
14505 xcldf='-bundle' | 14577 xcldf='-bundle' |
14506 xldf='-bundle -bundle_loader ../../src/xemacs' | 14578 xldf='-bundle -bundle_loader ../../src/xemacs' |
14555 LDFLAGS="$xcldf $LDFLAGS" | 14627 LDFLAGS="$xcldf $LDFLAGS" |
14556 LIBS= | 14628 LIBS= |
14557 xe_libs= | 14629 xe_libs= |
14558 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14630 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14559 cat > conftest.$ac_ext <<EOF | 14631 cat > conftest.$ac_ext <<EOF |
14560 #line 14561 "configure" | 14632 #line 14633 "configure" |
14561 #include "confdefs.h" | 14633 #include "confdefs.h" |
14562 | 14634 |
14563 int main() { | 14635 int main() { |
14564 int x=0; | 14636 int x=0; |
14565 ; return 0; } | 14637 ; return 0; } |
14566 EOF | 14638 EOF |
14567 if { (eval echo configure:14568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14639 if { (eval echo configure:14640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14568 rm -rf conftest* | 14640 rm -rf conftest* |
14569 cc_produces_so=yes | 14641 cc_produces_so=yes |
14570 else | 14642 else |
14571 echo "configure: failed program was:" >&5 | 14643 echo "configure: failed program was:" >&5 |
14572 cat conftest.$ac_ext >&5 | 14644 cat conftest.$ac_ext >&5 |
14587 if test -z "$LTLD"; then | 14659 if test -z "$LTLD"; then |
14588 ac_prog=ld | 14660 ac_prog=ld |
14589 if test "$XEGCC" = yes; then | 14661 if test "$XEGCC" = yes; then |
14590 # Check if gcc -print-prog-name=ld gives a path. | 14662 # Check if gcc -print-prog-name=ld gives a path. |
14591 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14663 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14592 echo "configure:14593: checking for ld used by GCC" >&5 | 14664 echo "configure:14665: checking for ld used by GCC" >&5 |
14593 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14665 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14594 case "$ac_prog" in | 14666 case "$ac_prog" in |
14595 # Accept absolute paths. | 14667 # Accept absolute paths. |
14596 /*) | 14668 /*) |
14597 if test -z "$LTLD"; then | 14669 if test -z "$LTLD"; then |
14613 with_gnu_ld=unknown | 14685 with_gnu_ld=unknown |
14614 ;; | 14686 ;; |
14615 esac | 14687 esac |
14616 else | 14688 else |
14617 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14689 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14618 echo "configure:14619: checking for GNU ld" >&5 | 14690 echo "configure:14691: checking for GNU ld" >&5 |
14619 fi | 14691 fi |
14620 | 14692 |
14621 if test -z "$LTLD"; then | 14693 if test -z "$LTLD"; then |
14622 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14694 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14623 for ac_dir in $PATH; do | 14695 for ac_dir in $PATH; do |
14651 | 14723 |
14652 ld_dynamic_link_flags= | 14724 ld_dynamic_link_flags= |
14653 | 14725 |
14654 # Check to see if it really is or isn't GNU ld. | 14726 # Check to see if it really is or isn't GNU ld. |
14655 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14727 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14656 echo "configure:14657: checking if the linker is GNU ld" >&5 | 14728 echo "configure:14729: checking if the linker is GNU ld" >&5 |
14657 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14729 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14658 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14730 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14659 xe_gnu_ld=yes | 14731 xe_gnu_ld=yes |
14660 else | 14732 else |
14661 xe_gnu_ld=no | 14733 xe_gnu_ld=no |
14679 ld_shlibs=yes | 14751 ld_shlibs=yes |
14680 else | 14752 else |
14681 # OK - only NOW do we futz about with ld. | 14753 # OK - only NOW do we futz about with ld. |
14682 # See if the linker supports building shared libraries. | 14754 # See if the linker supports building shared libraries. |
14683 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14755 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14684 echo "configure:14685: checking whether the linker supports shared libraries" >&5 | 14756 echo "configure:14757: checking whether the linker supports shared libraries" >&5 |
14685 dll_ld=$CC | 14757 dll_ld=$CC |
14686 dll_ldflags=$LDFLAGS | 14758 dll_ldflags=$LDFLAGS |
14687 ld_shlibs=yes | 14759 ld_shlibs=yes |
14688 can_build_shared=yes | 14760 can_build_shared=yes |
14689 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14761 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
14890 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14962 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
14891 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14963 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
14892 for ac_func in dlerror _dlerror | 14964 for ac_func in dlerror _dlerror |
14893 do | 14965 do |
14894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14966 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
14895 echo "configure:14896: checking for $ac_func" >&5 | 14967 echo "configure:14968: checking for $ac_func" >&5 |
14896 | 14968 |
14897 cat > conftest.$ac_ext <<EOF | 14969 cat > conftest.$ac_ext <<EOF |
14898 #line 14899 "configure" | 14970 #line 14971 "configure" |
14899 #include "confdefs.h" | 14971 #include "confdefs.h" |
14900 /* System header to define __stub macros and hopefully few prototypes, | 14972 /* System header to define __stub macros and hopefully few prototypes, |
14901 which can conflict with char $ac_func(); below. */ | 14973 which can conflict with char $ac_func(); below. */ |
14902 #include <assert.h> | 14974 #include <assert.h> |
14903 /* Override any gcc2 internal prototype to avoid an error. */ | 14975 /* Override any gcc2 internal prototype to avoid an error. */ |
14916 $ac_func(); | 14988 $ac_func(); |
14917 #endif | 14989 #endif |
14918 | 14990 |
14919 ; return 0; } | 14991 ; return 0; } |
14920 EOF | 14992 EOF |
14921 if { (eval echo configure:14922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14993 if { (eval echo configure:14994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14922 rm -rf conftest* | 14994 rm -rf conftest* |
14923 eval "ac_cv_func_$ac_func=yes" | 14995 eval "ac_cv_func_$ac_func=yes" |
14924 else | 14996 else |
14925 echo "configure: failed program was:" >&5 | 14997 echo "configure: failed program was:" >&5 |
14926 cat conftest.$ac_ext >&5 | 14998 cat conftest.$ac_ext >&5 |
14976 | 15048 |
14977 | 15049 |
14978 | 15050 |
14979 | 15051 |
14980 echo "checking for LDAP" 1>&6 | 15052 echo "checking for LDAP" 1>&6 |
14981 echo "configure:14982: checking for LDAP" >&5 | 15053 echo "configure:15054: checking for LDAP" >&5 |
14982 ldap_libs= | 15054 ldap_libs= |
14983 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 15055 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
14984 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 15056 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
14985 echo "configure:14986: checking for ldap.h" >&5 | 15057 echo "configure:15058: checking for ldap.h" >&5 |
14986 | 15058 |
14987 cat > conftest.$ac_ext <<EOF | 15059 cat > conftest.$ac_ext <<EOF |
14988 #line 14989 "configure" | 15060 #line 15061 "configure" |
14989 #include "confdefs.h" | 15061 #include "confdefs.h" |
14990 #include <ldap.h> | 15062 #include <ldap.h> |
14991 EOF | 15063 EOF |
14992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15064 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14993 { (eval echo configure:14994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15065 { (eval echo configure:15066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15066 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14995 if test -z "$ac_err"; then | 15067 if test -z "$ac_err"; then |
14996 rm -rf conftest* | 15068 rm -rf conftest* |
14997 eval "ac_cv_header_$ac_safe=yes" | 15069 eval "ac_cv_header_$ac_safe=yes" |
14998 else | 15070 else |
15011 with_ldap=no | 15083 with_ldap=no |
15012 fi | 15084 fi |
15013 } | 15085 } |
15014 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 15086 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
15015 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 15087 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
15016 echo "configure:15017: checking for lber.h" >&5 | 15088 echo "configure:15089: checking for lber.h" >&5 |
15017 | 15089 |
15018 cat > conftest.$ac_ext <<EOF | 15090 cat > conftest.$ac_ext <<EOF |
15019 #line 15020 "configure" | 15091 #line 15092 "configure" |
15020 #include "confdefs.h" | 15092 #include "confdefs.h" |
15021 #include <lber.h> | 15093 #include <lber.h> |
15022 EOF | 15094 EOF |
15023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15095 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15024 { (eval echo configure:15025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15096 { (eval echo configure:15097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15026 if test -z "$ac_err"; then | 15098 if test -z "$ac_err"; then |
15027 rm -rf conftest* | 15099 rm -rf conftest* |
15028 eval "ac_cv_header_$ac_safe=yes" | 15100 eval "ac_cv_header_$ac_safe=yes" |
15029 else | 15101 else |
15043 fi | 15115 fi |
15044 } | 15116 } |
15045 if test "$with_ldap" != "no"; then | 15117 if test "$with_ldap" != "no"; then |
15046 | 15118 |
15047 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 15119 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
15048 echo "configure:15049: checking for ldap_search in -lldap" >&5 | 15120 echo "configure:15121: checking for ldap_search in -lldap" >&5 |
15049 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 15121 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
15050 | 15122 |
15051 xe_check_libs=" -lldap " | 15123 xe_check_libs=" -lldap " |
15052 cat > conftest.$ac_ext <<EOF | 15124 cat > conftest.$ac_ext <<EOF |
15053 #line 15054 "configure" | 15125 #line 15126 "configure" |
15054 #include "confdefs.h" | 15126 #include "confdefs.h" |
15055 /* Override any gcc2 internal prototype to avoid an error. */ | 15127 /* Override any gcc2 internal prototype to avoid an error. */ |
15056 /* We use char because int might match the return type of a gcc2 | 15128 /* We use char because int might match the return type of a gcc2 |
15057 builtin and then its argument prototype would still apply. */ | 15129 builtin and then its argument prototype would still apply. */ |
15058 char ldap_search(); | 15130 char ldap_search(); |
15059 | 15131 |
15060 int main() { | 15132 int main() { |
15061 ldap_search() | 15133 ldap_search() |
15062 ; return 0; } | 15134 ; return 0; } |
15063 EOF | 15135 EOF |
15064 if { (eval echo configure:15065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15136 if { (eval echo configure:15137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15065 rm -rf conftest* | 15137 rm -rf conftest* |
15066 eval "ac_cv_lib_$ac_lib_var=yes" | 15138 eval "ac_cv_lib_$ac_lib_var=yes" |
15067 else | 15139 else |
15068 echo "configure: failed program was:" >&5 | 15140 echo "configure: failed program was:" >&5 |
15069 cat conftest.$ac_ext >&5 | 15141 cat conftest.$ac_ext >&5 |
15084 | 15156 |
15085 test "$with_ldap_nolber" = "no" && { | 15157 test "$with_ldap_nolber" = "no" && { |
15086 xe_msg_checking="for ldap_open in -lldap" | 15158 xe_msg_checking="for ldap_open in -lldap" |
15087 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 15159 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
15088 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15160 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15089 echo "configure:15090: checking "$xe_msg_checking"" >&5 | 15161 echo "configure:15162: checking "$xe_msg_checking"" >&5 |
15090 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 15162 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
15091 | 15163 |
15092 xe_check_libs=" -lldap -llber" | 15164 xe_check_libs=" -lldap -llber" |
15093 cat > conftest.$ac_ext <<EOF | 15165 cat > conftest.$ac_ext <<EOF |
15094 #line 15095 "configure" | 15166 #line 15167 "configure" |
15095 #include "confdefs.h" | 15167 #include "confdefs.h" |
15096 /* Override any gcc2 internal prototype to avoid an error. */ | 15168 /* Override any gcc2 internal prototype to avoid an error. */ |
15097 /* We use char because int might match the return type of a gcc2 | 15169 /* We use char because int might match the return type of a gcc2 |
15098 builtin and then its argument prototype would still apply. */ | 15170 builtin and then its argument prototype would still apply. */ |
15099 char ldap_open(); | 15171 char ldap_open(); |
15100 | 15172 |
15101 int main() { | 15173 int main() { |
15102 ldap_open() | 15174 ldap_open() |
15103 ; return 0; } | 15175 ; return 0; } |
15104 EOF | 15176 EOF |
15105 if { (eval echo configure:15106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15177 if { (eval echo configure:15178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15106 rm -rf conftest* | 15178 rm -rf conftest* |
15107 eval "ac_cv_lib_$ac_lib_var=yes" | 15179 eval "ac_cv_lib_$ac_lib_var=yes" |
15108 else | 15180 else |
15109 echo "configure: failed program was:" >&5 | 15181 echo "configure: failed program was:" >&5 |
15110 cat conftest.$ac_ext >&5 | 15182 cat conftest.$ac_ext >&5 |
15125 } | 15197 } |
15126 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 15198 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
15127 xe_msg_checking="for ldap_open in -lldap" | 15199 xe_msg_checking="for ldap_open in -lldap" |
15128 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 15200 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
15129 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15201 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15130 echo "configure:15131: checking "$xe_msg_checking"" >&5 | 15202 echo "configure:15203: checking "$xe_msg_checking"" >&5 |
15131 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 15203 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
15132 | 15204 |
15133 xe_check_libs=" -lldap -llber -lkrb" | 15205 xe_check_libs=" -lldap -llber -lkrb" |
15134 cat > conftest.$ac_ext <<EOF | 15206 cat > conftest.$ac_ext <<EOF |
15135 #line 15136 "configure" | 15207 #line 15208 "configure" |
15136 #include "confdefs.h" | 15208 #include "confdefs.h" |
15137 /* Override any gcc2 internal prototype to avoid an error. */ | 15209 /* Override any gcc2 internal prototype to avoid an error. */ |
15138 /* We use char because int might match the return type of a gcc2 | 15210 /* We use char because int might match the return type of a gcc2 |
15139 builtin and then its argument prototype would still apply. */ | 15211 builtin and then its argument prototype would still apply. */ |
15140 char ldap_open(); | 15212 char ldap_open(); |
15141 | 15213 |
15142 int main() { | 15214 int main() { |
15143 ldap_open() | 15215 ldap_open() |
15144 ; return 0; } | 15216 ; return 0; } |
15145 EOF | 15217 EOF |
15146 if { (eval echo configure:15147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15218 if { (eval echo configure:15219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15147 rm -rf conftest* | 15219 rm -rf conftest* |
15148 eval "ac_cv_lib_$ac_lib_var=yes" | 15220 eval "ac_cv_lib_$ac_lib_var=yes" |
15149 else | 15221 else |
15150 echo "configure: failed program was:" >&5 | 15222 echo "configure: failed program was:" >&5 |
15151 cat conftest.$ac_ext >&5 | 15223 cat conftest.$ac_ext >&5 |
15166 } | 15238 } |
15167 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 15239 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
15168 xe_msg_checking="for ldap_open in -lldap" | 15240 xe_msg_checking="for ldap_open in -lldap" |
15169 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 15241 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
15170 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15242 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15171 echo "configure:15172: checking "$xe_msg_checking"" >&5 | 15243 echo "configure:15244: checking "$xe_msg_checking"" >&5 |
15172 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 15244 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
15173 | 15245 |
15174 xe_check_libs=" -lldap -llber -lkrb -ldes" | 15246 xe_check_libs=" -lldap -llber -lkrb -ldes" |
15175 cat > conftest.$ac_ext <<EOF | 15247 cat > conftest.$ac_ext <<EOF |
15176 #line 15177 "configure" | 15248 #line 15249 "configure" |
15177 #include "confdefs.h" | 15249 #include "confdefs.h" |
15178 /* Override any gcc2 internal prototype to avoid an error. */ | 15250 /* Override any gcc2 internal prototype to avoid an error. */ |
15179 /* We use char because int might match the return type of a gcc2 | 15251 /* We use char because int might match the return type of a gcc2 |
15180 builtin and then its argument prototype would still apply. */ | 15252 builtin and then its argument prototype would still apply. */ |
15181 char ldap_open(); | 15253 char ldap_open(); |
15182 | 15254 |
15183 int main() { | 15255 int main() { |
15184 ldap_open() | 15256 ldap_open() |
15185 ; return 0; } | 15257 ; return 0; } |
15186 EOF | 15258 EOF |
15187 if { (eval echo configure:15188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15259 if { (eval echo configure:15260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15188 rm -rf conftest* | 15260 rm -rf conftest* |
15189 eval "ac_cv_lib_$ac_lib_var=yes" | 15261 eval "ac_cv_lib_$ac_lib_var=yes" |
15190 else | 15262 else |
15191 echo "configure: failed program was:" >&5 | 15263 echo "configure: failed program was:" >&5 |
15192 cat conftest.$ac_ext >&5 | 15264 cat conftest.$ac_ext >&5 |
15231 fi | 15303 fi |
15232 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 15304 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
15233 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 15305 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
15234 do | 15306 do |
15235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 15307 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
15236 echo "configure:15237: checking for $ac_func" >&5 | 15308 echo "configure:15309: checking for $ac_func" >&5 |
15237 | 15309 |
15238 cat > conftest.$ac_ext <<EOF | 15310 cat > conftest.$ac_ext <<EOF |
15239 #line 15240 "configure" | 15311 #line 15312 "configure" |
15240 #include "confdefs.h" | 15312 #include "confdefs.h" |
15241 /* System header to define __stub macros and hopefully few prototypes, | 15313 /* System header to define __stub macros and hopefully few prototypes, |
15242 which can conflict with char $ac_func(); below. */ | 15314 which can conflict with char $ac_func(); below. */ |
15243 #include <assert.h> | 15315 #include <assert.h> |
15244 /* Override any gcc2 internal prototype to avoid an error. */ | 15316 /* Override any gcc2 internal prototype to avoid an error. */ |
15257 $ac_func(); | 15329 $ac_func(); |
15258 #endif | 15330 #endif |
15259 | 15331 |
15260 ; return 0; } | 15332 ; return 0; } |
15261 EOF | 15333 EOF |
15262 if { (eval echo configure:15263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15334 if { (eval echo configure:15335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15263 rm -rf conftest* | 15335 rm -rf conftest* |
15264 eval "ac_cv_func_$ac_func=yes" | 15336 eval "ac_cv_func_$ac_func=yes" |
15265 else | 15337 else |
15266 echo "configure: failed program was:" >&5 | 15338 echo "configure: failed program was:" >&5 |
15267 cat conftest.$ac_ext >&5 | 15339 cat conftest.$ac_ext >&5 |
15296 | 15368 |
15297 | 15369 |
15298 postgresql_libs= | 15370 postgresql_libs= |
15299 if test "$with_postgresql" != "no"; then | 15371 if test "$with_postgresql" != "no"; then |
15300 echo "checking for PostgreSQL" 1>&6 | 15372 echo "checking for PostgreSQL" 1>&6 |
15301 echo "configure:15302: checking for PostgreSQL" >&5 | 15373 echo "configure:15374: checking for PostgreSQL" >&5 |
15302 | 15374 |
15303 for header_dir in "" "pgsql/" "postgresql/"; do | 15375 for header_dir in "" "pgsql/" "postgresql/"; do |
15304 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 15376 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
15305 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 15377 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
15306 echo "configure:15307: checking for ${header_dir}libpq-fe.h" >&5 | 15378 echo "configure:15379: checking for ${header_dir}libpq-fe.h" >&5 |
15307 | 15379 |
15308 cat > conftest.$ac_ext <<EOF | 15380 cat > conftest.$ac_ext <<EOF |
15309 #line 15310 "configure" | 15381 #line 15382 "configure" |
15310 #include "confdefs.h" | 15382 #include "confdefs.h" |
15311 #include <${header_dir}libpq-fe.h> | 15383 #include <${header_dir}libpq-fe.h> |
15312 EOF | 15384 EOF |
15313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15314 { (eval echo configure:15315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15386 { (eval echo configure:15387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15316 if test -z "$ac_err"; then | 15388 if test -z "$ac_err"; then |
15317 rm -rf conftest* | 15389 rm -rf conftest* |
15318 eval "ac_cv_header_$ac_safe=yes" | 15390 eval "ac_cv_header_$ac_safe=yes" |
15319 else | 15391 else |
15333 | 15405 |
15334 done | 15406 done |
15335 | 15407 |
15336 test -n "$libpq_fe_h_file" && { | 15408 test -n "$libpq_fe_h_file" && { |
15337 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 15409 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
15338 echo "configure:15339: checking for PQconnectdb in -lpq" >&5 | 15410 echo "configure:15411: checking for PQconnectdb in -lpq" >&5 |
15339 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 15411 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
15340 | 15412 |
15341 xe_check_libs=" -lpq " | 15413 xe_check_libs=" -lpq " |
15342 cat > conftest.$ac_ext <<EOF | 15414 cat > conftest.$ac_ext <<EOF |
15343 #line 15344 "configure" | 15415 #line 15416 "configure" |
15344 #include "confdefs.h" | 15416 #include "confdefs.h" |
15345 /* Override any gcc2 internal prototype to avoid an error. */ | 15417 /* Override any gcc2 internal prototype to avoid an error. */ |
15346 /* We use char because int might match the return type of a gcc2 | 15418 /* We use char because int might match the return type of a gcc2 |
15347 builtin and then its argument prototype would still apply. */ | 15419 builtin and then its argument prototype would still apply. */ |
15348 char PQconnectdb(); | 15420 char PQconnectdb(); |
15349 | 15421 |
15350 int main() { | 15422 int main() { |
15351 PQconnectdb() | 15423 PQconnectdb() |
15352 ; return 0; } | 15424 ; return 0; } |
15353 EOF | 15425 EOF |
15354 if { (eval echo configure:15355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15426 if { (eval echo configure:15427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15355 rm -rf conftest* | 15427 rm -rf conftest* |
15356 eval "ac_cv_lib_$ac_lib_var=yes" | 15428 eval "ac_cv_lib_$ac_lib_var=yes" |
15357 else | 15429 else |
15358 echo "configure: failed program was:" >&5 | 15430 echo "configure: failed program was:" >&5 |
15359 cat conftest.$ac_ext >&5 | 15431 cat conftest.$ac_ext >&5 |
15382 EOF | 15454 EOF |
15383 } | 15455 } |
15384 | 15456 |
15385 | 15457 |
15386 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 15458 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
15387 echo "configure:15388: checking for PQconnectStart in -lpq" >&5 | 15459 echo "configure:15460: checking for PQconnectStart in -lpq" >&5 |
15388 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 15460 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
15389 | 15461 |
15390 xe_check_libs=" -lpq " | 15462 xe_check_libs=" -lpq " |
15391 cat > conftest.$ac_ext <<EOF | 15463 cat > conftest.$ac_ext <<EOF |
15392 #line 15393 "configure" | 15464 #line 15465 "configure" |
15393 #include "confdefs.h" | 15465 #include "confdefs.h" |
15394 /* Override any gcc2 internal prototype to avoid an error. */ | 15466 /* Override any gcc2 internal prototype to avoid an error. */ |
15395 /* We use char because int might match the return type of a gcc2 | 15467 /* We use char because int might match the return type of a gcc2 |
15396 builtin and then its argument prototype would still apply. */ | 15468 builtin and then its argument prototype would still apply. */ |
15397 char PQconnectStart(); | 15469 char PQconnectStart(); |
15398 | 15470 |
15399 int main() { | 15471 int main() { |
15400 PQconnectStart() | 15472 PQconnectStart() |
15401 ; return 0; } | 15473 ; return 0; } |
15402 EOF | 15474 EOF |
15403 if { (eval echo configure:15404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15475 if { (eval echo configure:15476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15404 rm -rf conftest* | 15476 rm -rf conftest* |
15405 eval "ac_cv_lib_$ac_lib_var=yes" | 15477 eval "ac_cv_lib_$ac_lib_var=yes" |
15406 else | 15478 else |
15407 echo "configure: failed program was:" >&5 | 15479 echo "configure: failed program was:" >&5 |
15408 cat conftest.$ac_ext >&5 | 15480 cat conftest.$ac_ext >&5 |