Mercurial > hg > xemacs-beta
comparison configure @ 310:851ff35f137f r21-0b53
Import from CVS: tag r21-0b53
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:43:28 +0200 |
parents | 33bdb3d4b97f |
children | afd57c14dfc8 |
comparison
equal
deleted
inserted
replaced
309:7f3a3eb0558c | 310:851ff35f137f |
---|---|
6499 | 6499 |
6500 if test "$window_system" != "none"; then | 6500 if test "$window_system" != "none"; then |
6501 echo "checking for graphics libraries" 1>&6 | 6501 echo "checking for graphics libraries" 1>&6 |
6502 echo "configure:6503: checking for graphics libraries" >&5 | 6502 echo "configure:6503: checking for graphics libraries" >&5 |
6503 | 6503 |
6504 if test -z "$with_xpm"; then | 6504 xpm_problem="" |
6505 if test -z "$with_xpm"; then | |
6505 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6506 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6506 echo "configure:6507: checking for Xpm - no older than 3.4f" >&5 | 6507 echo "configure:6508: checking for Xpm - no older than 3.4f" >&5 |
6507 xe_check_libs=-lXpm | 6508 xe_check_libs=-lXpm |
6508 cat > conftest.$ac_ext <<EOF | 6509 cat > conftest.$ac_ext <<EOF |
6509 #line 6510 "configure" | 6510 #line 6511 "configure" |
6510 #include "confdefs.h" | 6511 #include "confdefs.h" |
6511 #include <X11/xpm.h> | 6512 #include <X11/xpm.h> |
6512 int main(int c, char **v) { | 6513 int main(int c, char **v) { |
6513 return c == 1 ? 0 : | 6514 return c == 1 ? 0 : |
6514 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6515 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6515 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6516 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6516 EOF | 6517 EOF |
6517 if { (eval echo configure:6518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6518 if { (eval echo configure:6519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6518 then | 6519 then |
6519 ./conftest dummy_arg; xpm_status=$?; | 6520 ./conftest dummy_arg; xpm_status=$?; |
6520 if test "$?" = "0"; then | 6521 if test "$xpm_status" = "0"; then |
6521 with_xpm=yes; | 6522 with_xpm=yes; |
6522 else | 6523 else |
6523 with_xpm=no; | 6524 with_xpm=no; |
6524 if test "$?" = "1"; then | 6525 if test "$xpm_status" = "1"; then |
6525 xpm_problem="Xpm library version and header file version don't match!" | 6526 xpm_problem="Xpm library version and header file version don't match!" |
6526 elif test "$?" = "2"; then | 6527 elif test "$xpm_status" = "2"; then |
6527 xpm_problem="Xpm library version is too old!" | 6528 xpm_problem="Xpm library version is too old!" |
6528 else | 6529 else |
6529 xpm_problem="Internal xpm detection logic error!" | 6530 xpm_problem="Internal xpm detection logic error!" |
6530 fi | 6531 fi |
6531 echo " | 6532 echo " |
6532 *** WARNING *** $problem | 6533 *** WARNING *** $xpm_problem |
6533 I'm not touching that with a 10-foot pole! | 6534 I'm not touching that with a 10-foot pole! |
6534 If you really want to use the installed version of Xpm, rerun | 6535 If you really want to use the installed version of Xpm, rerun |
6535 configure --with-xpm=yes, but don't blame me if XEmacs crashes!" | 6536 configure and add '--with-xpm=yes', but don't blame me if XEmacs crashes!" |
6536 fi | 6537 fi |
6537 else | 6538 else |
6538 conftest_rc="$?" | 6539 conftest_rc="$?" |
6539 echo "configure: failed program was:" >&5 | 6540 echo "configure: failed program was:" >&5 |
6540 cat conftest.$ac_ext >&5 | 6541 cat conftest.$ac_ext >&5 |
6554 EOF | 6555 EOF |
6555 } | 6556 } |
6556 | 6557 |
6557 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6558 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6558 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6559 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6559 echo "configure:6560: checking for \"FOR_MSW\" xpm" >&5 | 6560 echo "configure:6561: checking for \"FOR_MSW\" xpm" >&5 |
6560 xe_check_libs=-lXpm | 6561 xe_check_libs=-lXpm |
6561 cat > conftest.$ac_ext <<EOF | 6562 cat > conftest.$ac_ext <<EOF |
6562 #line 6563 "configure" | 6563 #line 6564 "configure" |
6563 #include "confdefs.h" | 6564 #include "confdefs.h" |
6564 | 6565 |
6565 int main() { | 6566 int main() { |
6566 XpmCreatePixmapFromData() | 6567 XpmCreatePixmapFromData() |
6567 ; return 0; } | 6568 ; return 0; } |
6568 EOF | 6569 EOF |
6569 if { (eval echo configure:6570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6570 if { (eval echo configure:6571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6570 rm -rf conftest* | 6571 rm -rf conftest* |
6571 xpm_for_msw=no | 6572 xpm_for_msw=no |
6572 else | 6573 else |
6573 echo "configure: failed program was:" >&5 | 6574 echo "configure: failed program was:" >&5 |
6574 cat conftest.$ac_ext >&5 | 6575 cat conftest.$ac_ext >&5 |
6606 fi | 6607 fi |
6607 | 6608 |
6608 if test "$with_png $with_tiff" != "no no"; then | 6609 if test "$with_png $with_tiff" != "no no"; then |
6609 | 6610 |
6610 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 6611 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
6611 echo "configure:6612: checking for inflate in -lc" >&5 | 6612 echo "configure:6613: checking for inflate in -lc" >&5 |
6612 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 6613 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
6613 | 6614 |
6614 xe_check_libs=" -lc " | 6615 xe_check_libs=" -lc " |
6615 cat > conftest.$ac_ext <<EOF | 6616 cat > conftest.$ac_ext <<EOF |
6616 #line 6617 "configure" | 6617 #line 6618 "configure" |
6617 #include "confdefs.h" | 6618 #include "confdefs.h" |
6618 /* Override any gcc2 internal prototype to avoid an error. */ | 6619 /* Override any gcc2 internal prototype to avoid an error. */ |
6619 /* We use char because int might match the return type of a gcc2 | 6620 /* We use char because int might match the return type of a gcc2 |
6620 builtin and then its argument prototype would still apply. */ | 6621 builtin and then its argument prototype would still apply. */ |
6621 char inflate(); | 6622 char inflate(); |
6622 | 6623 |
6623 int main() { | 6624 int main() { |
6624 inflate() | 6625 inflate() |
6625 ; return 0; } | 6626 ; return 0; } |
6626 EOF | 6627 EOF |
6627 if { (eval echo configure:6628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6628 if { (eval echo configure:6629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6628 rm -rf conftest* | 6629 rm -rf conftest* |
6629 eval "ac_cv_lib_$ac_lib_var=yes" | 6630 eval "ac_cv_lib_$ac_lib_var=yes" |
6630 else | 6631 else |
6631 echo "configure: failed program was:" >&5 | 6632 echo "configure: failed program was:" >&5 |
6632 cat conftest.$ac_ext >&5 | 6633 cat conftest.$ac_ext >&5 |
6641 : | 6642 : |
6642 else | 6643 else |
6643 echo "$ac_t""no" 1>&6 | 6644 echo "$ac_t""no" 1>&6 |
6644 | 6645 |
6645 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 6646 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
6646 echo "configure:6647: checking for inflate in -lz" >&5 | 6647 echo "configure:6648: checking for inflate in -lz" >&5 |
6647 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 6648 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
6648 | 6649 |
6649 xe_check_libs=" -lz " | 6650 xe_check_libs=" -lz " |
6650 cat > conftest.$ac_ext <<EOF | 6651 cat > conftest.$ac_ext <<EOF |
6651 #line 6652 "configure" | 6652 #line 6653 "configure" |
6652 #include "confdefs.h" | 6653 #include "confdefs.h" |
6653 /* Override any gcc2 internal prototype to avoid an error. */ | 6654 /* Override any gcc2 internal prototype to avoid an error. */ |
6654 /* We use char because int might match the return type of a gcc2 | 6655 /* We use char because int might match the return type of a gcc2 |
6655 builtin and then its argument prototype would still apply. */ | 6656 builtin and then its argument prototype would still apply. */ |
6656 char inflate(); | 6657 char inflate(); |
6657 | 6658 |
6658 int main() { | 6659 int main() { |
6659 inflate() | 6660 inflate() |
6660 ; return 0; } | 6661 ; return 0; } |
6661 EOF | 6662 EOF |
6662 if { (eval echo configure:6663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6663 if { (eval echo configure:6664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6663 rm -rf conftest* | 6664 rm -rf conftest* |
6664 eval "ac_cv_lib_$ac_lib_var=yes" | 6665 eval "ac_cv_lib_$ac_lib_var=yes" |
6665 else | 6666 else |
6666 echo "configure: failed program was:" >&5 | 6667 echo "configure: failed program was:" >&5 |
6667 cat conftest.$ac_ext >&5 | 6668 cat conftest.$ac_ext >&5 |
6676 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 6677 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
6677 else | 6678 else |
6678 echo "$ac_t""no" 1>&6 | 6679 echo "$ac_t""no" 1>&6 |
6679 | 6680 |
6680 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 6681 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
6681 echo "configure:6682: checking for inflate in -lgz" >&5 | 6682 echo "configure:6683: checking for inflate in -lgz" >&5 |
6682 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 6683 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
6683 | 6684 |
6684 xe_check_libs=" -lgz " | 6685 xe_check_libs=" -lgz " |
6685 cat > conftest.$ac_ext <<EOF | 6686 cat > conftest.$ac_ext <<EOF |
6686 #line 6687 "configure" | 6687 #line 6688 "configure" |
6687 #include "confdefs.h" | 6688 #include "confdefs.h" |
6688 /* Override any gcc2 internal prototype to avoid an error. */ | 6689 /* Override any gcc2 internal prototype to avoid an error. */ |
6689 /* We use char because int might match the return type of a gcc2 | 6690 /* We use char because int might match the return type of a gcc2 |
6690 builtin and then its argument prototype would still apply. */ | 6691 builtin and then its argument prototype would still apply. */ |
6691 char inflate(); | 6692 char inflate(); |
6692 | 6693 |
6693 int main() { | 6694 int main() { |
6694 inflate() | 6695 inflate() |
6695 ; return 0; } | 6696 ; return 0; } |
6696 EOF | 6697 EOF |
6697 if { (eval echo configure:6698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6698 if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6698 rm -rf conftest* | 6699 rm -rf conftest* |
6699 eval "ac_cv_lib_$ac_lib_var=yes" | 6700 eval "ac_cv_lib_$ac_lib_var=yes" |
6700 else | 6701 else |
6701 echo "configure: failed program was:" >&5 | 6702 echo "configure: failed program was:" >&5 |
6702 cat conftest.$ac_ext >&5 | 6703 cat conftest.$ac_ext >&5 |
6722 | 6723 |
6723 fi | 6724 fi |
6724 | 6725 |
6725 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 6726 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
6726 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 6727 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
6727 echo "configure:6728: checking for jpeglib.h" >&5 | 6728 echo "configure:6729: checking for jpeglib.h" >&5 |
6728 | 6729 |
6729 cat > conftest.$ac_ext <<EOF | 6730 cat > conftest.$ac_ext <<EOF |
6730 #line 6731 "configure" | 6731 #line 6732 "configure" |
6731 #include "confdefs.h" | 6732 #include "confdefs.h" |
6732 #include <jpeglib.h> | 6733 #include <jpeglib.h> |
6733 EOF | 6734 EOF |
6734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6735 { (eval echo configure:6736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6736 { (eval echo configure:6737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6736 ac_err=`grep -v '^ *+' conftest.out` | 6737 ac_err=`grep -v '^ *+' conftest.out` |
6737 if test -z "$ac_err"; then | 6738 if test -z "$ac_err"; then |
6738 rm -rf conftest* | 6739 rm -rf conftest* |
6739 eval "ac_cv_header_$ac_safe=yes" | 6740 eval "ac_cv_header_$ac_safe=yes" |
6740 else | 6741 else |
6753 with_jpeg=no | 6754 with_jpeg=no |
6754 fi | 6755 fi |
6755 } | 6756 } |
6756 test -z "$with_jpeg" && { | 6757 test -z "$with_jpeg" && { |
6757 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 6758 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
6758 echo "configure:6759: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 6759 echo "configure:6760: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
6759 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 6760 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
6760 | 6761 |
6761 xe_check_libs=" -ljpeg " | 6762 xe_check_libs=" -ljpeg " |
6762 cat > conftest.$ac_ext <<EOF | 6763 cat > conftest.$ac_ext <<EOF |
6763 #line 6764 "configure" | 6764 #line 6765 "configure" |
6764 #include "confdefs.h" | 6765 #include "confdefs.h" |
6765 /* Override any gcc2 internal prototype to avoid an error. */ | 6766 /* Override any gcc2 internal prototype to avoid an error. */ |
6766 /* We use char because int might match the return type of a gcc2 | 6767 /* We use char because int might match the return type of a gcc2 |
6767 builtin and then its argument prototype would still apply. */ | 6768 builtin and then its argument prototype would still apply. */ |
6768 char jpeg_destroy_decompress(); | 6769 char jpeg_destroy_decompress(); |
6769 | 6770 |
6770 int main() { | 6771 int main() { |
6771 jpeg_destroy_decompress() | 6772 jpeg_destroy_decompress() |
6772 ; return 0; } | 6773 ; return 0; } |
6773 EOF | 6774 EOF |
6774 if { (eval echo configure:6775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6775 if { (eval echo configure:6776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6775 rm -rf conftest* | 6776 rm -rf conftest* |
6776 eval "ac_cv_lib_$ac_lib_var=yes" | 6777 eval "ac_cv_lib_$ac_lib_var=yes" |
6777 else | 6778 else |
6778 echo "configure: failed program was:" >&5 | 6779 echo "configure: failed program was:" >&5 |
6779 cat conftest.$ac_ext >&5 | 6780 cat conftest.$ac_ext >&5 |
6803 } | 6804 } |
6804 | 6805 |
6805 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 6806 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
6806 fi | 6807 fi |
6807 | 6808 |
6808 if test -z "$with_png"; then | 6809 png_problem="" |
6809 echo $ac_n "checking for png.h - no older than 1.02""... $ac_c" 1>&6 | |
6810 echo "configure:6811: checking for png.h - no older than 1.02" >&5 | |
6811 cat > conftest.$ac_ext <<EOF | |
6812 #line 6813 "configure" | |
6813 #include "confdefs.h" | |
6814 #include <png.h> | |
6815 #if PNG_LIBPNG_VER >= 10002 | |
6816 yes | |
6817 #endif | |
6818 | |
6819 EOF | |
6820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
6821 egrep "yes" >/dev/null 2>&1; then | |
6822 rm -rf conftest* | |
6823 echo "$ac_t""yes" 1>&6 | |
6824 else | |
6825 rm -rf conftest* | |
6826 echo "$ac_t""no" 1>&6; with_png=no | |
6827 fi | |
6828 rm -f conftest* | |
6829 | |
6830 fi | |
6831 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 6810 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
6832 echo "configure:6833: checking for pow" >&5 | 6811 echo "configure:6812: checking for pow" >&5 |
6833 | 6812 |
6834 cat > conftest.$ac_ext <<EOF | 6813 cat > conftest.$ac_ext <<EOF |
6835 #line 6836 "configure" | 6814 #line 6815 "configure" |
6836 #include "confdefs.h" | 6815 #include "confdefs.h" |
6837 /* System header to define __stub macros and hopefully few prototypes, | 6816 /* System header to define __stub macros and hopefully few prototypes, |
6838 which can conflict with char pow(); below. */ | 6817 which can conflict with char pow(); below. */ |
6839 #include <assert.h> | 6818 #include <assert.h> |
6840 /* Override any gcc2 internal prototype to avoid an error. */ | 6819 /* Override any gcc2 internal prototype to avoid an error. */ |
6853 pow(); | 6832 pow(); |
6854 #endif | 6833 #endif |
6855 | 6834 |
6856 ; return 0; } | 6835 ; return 0; } |
6857 EOF | 6836 EOF |
6858 if { (eval echo configure:6859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6837 if { (eval echo configure:6838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6859 rm -rf conftest* | 6838 rm -rf conftest* |
6860 eval "ac_cv_func_pow=yes" | 6839 eval "ac_cv_func_pow=yes" |
6861 else | 6840 else |
6862 echo "configure: failed program was:" >&5 | 6841 echo "configure: failed program was:" >&5 |
6863 cat conftest.$ac_ext >&5 | 6842 cat conftest.$ac_ext >&5 |
6872 else | 6851 else |
6873 echo "$ac_t""no" 1>&6 | 6852 echo "$ac_t""no" 1>&6 |
6874 with_png=no | 6853 with_png=no |
6875 fi | 6854 fi |
6876 } | 6855 } |
6856 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | |
6857 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | |
6858 echo "configure:6859: checking for png.h" >&5 | |
6859 | |
6860 cat > conftest.$ac_ext <<EOF | |
6861 #line 6862 "configure" | |
6862 #include "confdefs.h" | |
6863 #include <png.h> | |
6864 EOF | |
6865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
6866 { (eval echo configure:6867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
6867 ac_err=`grep -v '^ *+' conftest.out` | |
6868 if test -z "$ac_err"; then | |
6869 rm -rf conftest* | |
6870 eval "ac_cv_header_$ac_safe=yes" | |
6871 else | |
6872 echo "$ac_err" >&5 | |
6873 echo "configure: failed program was:" >&5 | |
6874 cat conftest.$ac_ext >&5 | |
6875 rm -rf conftest* | |
6876 eval "ac_cv_header_$ac_safe=no" | |
6877 fi | |
6878 rm -f conftest* | |
6879 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
6880 echo "$ac_t""yes" 1>&6 | |
6881 : | |
6882 else | |
6883 echo "$ac_t""no" 1>&6 | |
6884 with_png=no | |
6885 fi | |
6886 } | |
6877 test -z "$with_png" && { | 6887 test -z "$with_png" && { |
6878 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 6888 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
6879 echo "configure:6880: checking for png_read_image in -lpng" >&5 | 6889 echo "configure:6890: checking for png_read_image in -lpng" >&5 |
6880 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 6890 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
6881 | 6891 |
6882 xe_check_libs=" -lpng " | 6892 xe_check_libs=" -lpng " |
6883 cat > conftest.$ac_ext <<EOF | 6893 cat > conftest.$ac_ext <<EOF |
6884 #line 6885 "configure" | 6894 #line 6895 "configure" |
6885 #include "confdefs.h" | 6895 #include "confdefs.h" |
6886 /* Override any gcc2 internal prototype to avoid an error. */ | 6896 /* Override any gcc2 internal prototype to avoid an error. */ |
6887 /* We use char because int might match the return type of a gcc2 | 6897 /* We use char because int might match the return type of a gcc2 |
6888 builtin and then its argument prototype would still apply. */ | 6898 builtin and then its argument prototype would still apply. */ |
6889 char png_read_image(); | 6899 char png_read_image(); |
6890 | 6900 |
6891 int main() { | 6901 int main() { |
6892 png_read_image() | 6902 png_read_image() |
6893 ; return 0; } | 6903 ; return 0; } |
6894 EOF | 6904 EOF |
6895 if { (eval echo configure:6896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 6905 if { (eval echo configure:6906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6896 rm -rf conftest* | 6906 rm -rf conftest* |
6897 eval "ac_cv_lib_$ac_lib_var=yes" | 6907 eval "ac_cv_lib_$ac_lib_var=yes" |
6898 else | 6908 else |
6899 echo "configure: failed program was:" >&5 | 6909 echo "configure: failed program was:" >&5 |
6900 cat conftest.$ac_ext >&5 | 6910 cat conftest.$ac_ext >&5 |
6911 echo "$ac_t""no" 1>&6 | 6921 echo "$ac_t""no" 1>&6 |
6912 with_png=no | 6922 with_png=no |
6913 fi | 6923 fi |
6914 | 6924 |
6915 } | 6925 } |
6916 test -z "$with_png" && with_png=yes | 6926 if test -z "$with_png"; then |
6927 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | |
6928 echo "configure:6929: checking for workable png version information" >&5 | |
6929 xe_check_libs="-lpng -lz" | |
6930 cat > conftest.$ac_ext <<EOF | |
6931 #line 6932 "configure" | |
6932 #include "confdefs.h" | |
6933 #include <png.h> | |
6934 int main(int c, char **v) { | |
6935 if (c == 1) return 0; | |
6936 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | |
6937 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | |
6938 EOF | |
6939 if { (eval echo configure:6940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | |
6940 then | |
6941 ./conftest dummy_arg; png_status=$?; | |
6942 if test "$png_status" = "0"; then | |
6943 with_png=yes; | |
6944 else | |
6945 with_png=no; | |
6946 if test "$png_status" = "1"; then | |
6947 png_problem="PNG library version and header file don't match!" | |
6948 elif test "$png_status" = "2"; then | |
6949 png_problem="PNG library version too old (pre 1.0.2)!" | |
6950 fi | |
6951 echo " | |
6952 *** WARNING *** $png_problem | |
6953 I'm not touching that with a 10-foot pole! | |
6954 If you really want to use the installed version of libPNG, rerun | |
6955 configure and add '--with-png=yes', but don't blame me if XEmacs crashes!" | |
6956 fi | |
6957 else | |
6958 conftest_rc="$?" | |
6959 echo "configure: failed program was:" >&5 | |
6960 cat conftest.$ac_ext >&5 | |
6961 rm -fr conftest* | |
6962 with_png=no | |
6963 fi | |
6964 rm -fr conftest* | |
6965 xe_check_libs= | |
6966 echo "$ac_t""$with_png" 1>&6 | |
6967 fi | |
6917 if test "$with_png" = "yes"; then | 6968 if test "$with_png" = "yes"; then |
6918 { test "$extra_verbose" = "yes" && cat << \EOF | 6969 { test "$extra_verbose" = "yes" && cat << \EOF |
6919 Defining HAVE_PNG | 6970 Defining HAVE_PNG |
6920 EOF | 6971 EOF |
6921 cat >> confdefs.h <<\EOF | 6972 cat >> confdefs.h <<\EOF |
6926 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 6977 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
6927 fi | 6978 fi |
6928 | 6979 |
6929 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 6980 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
6930 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 6981 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
6931 echo "configure:6932: checking for tiffio.h" >&5 | 6982 echo "configure:6983: checking for tiffio.h" >&5 |
6932 | 6983 |
6933 cat > conftest.$ac_ext <<EOF | 6984 cat > conftest.$ac_ext <<EOF |
6934 #line 6935 "configure" | 6985 #line 6986 "configure" |
6935 #include "confdefs.h" | 6986 #include "confdefs.h" |
6936 #include <tiffio.h> | 6987 #include <tiffio.h> |
6937 EOF | 6988 EOF |
6938 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6989 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6939 { (eval echo configure:6940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6990 { (eval echo configure:6991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6940 ac_err=`grep -v '^ *+' conftest.out` | 6991 ac_err=`grep -v '^ *+' conftest.out` |
6941 if test -z "$ac_err"; then | 6992 if test -z "$ac_err"; then |
6942 rm -rf conftest* | 6993 rm -rf conftest* |
6943 eval "ac_cv_header_$ac_safe=yes" | 6994 eval "ac_cv_header_$ac_safe=yes" |
6944 else | 6995 else |
6957 with_tiff=no | 7008 with_tiff=no |
6958 fi | 7009 fi |
6959 } | 7010 } |
6960 test -z "$with_tiff" && { | 7011 test -z "$with_tiff" && { |
6961 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7012 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
6962 echo "configure:6963: checking for TIFFClientOpen in -ltiff" >&5 | 7013 echo "configure:7014: checking for TIFFClientOpen in -ltiff" >&5 |
6963 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7014 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
6964 | 7015 |
6965 xe_check_libs=" -ltiff " | 7016 xe_check_libs=" -ltiff " |
6966 cat > conftest.$ac_ext <<EOF | 7017 cat > conftest.$ac_ext <<EOF |
6967 #line 6968 "configure" | 7018 #line 7019 "configure" |
6968 #include "confdefs.h" | 7019 #include "confdefs.h" |
6969 /* Override any gcc2 internal prototype to avoid an error. */ | 7020 /* Override any gcc2 internal prototype to avoid an error. */ |
6970 /* We use char because int might match the return type of a gcc2 | 7021 /* We use char because int might match the return type of a gcc2 |
6971 builtin and then its argument prototype would still apply. */ | 7022 builtin and then its argument prototype would still apply. */ |
6972 char TIFFClientOpen(); | 7023 char TIFFClientOpen(); |
6973 | 7024 |
6974 int main() { | 7025 int main() { |
6975 TIFFClientOpen() | 7026 TIFFClientOpen() |
6976 ; return 0; } | 7027 ; return 0; } |
6977 EOF | 7028 EOF |
6978 if { (eval echo configure:6979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
6979 rm -rf conftest* | 7030 rm -rf conftest* |
6980 eval "ac_cv_lib_$ac_lib_var=yes" | 7031 eval "ac_cv_lib_$ac_lib_var=yes" |
6981 else | 7032 else |
6982 echo "configure: failed program was:" >&5 | 7033 echo "configure: failed program was:" >&5 |
6983 cat conftest.$ac_ext >&5 | 7034 cat conftest.$ac_ext >&5 |
7012 | 7063 |
7013 | 7064 |
7014 if test "$with_x11" = "yes"; then | 7065 if test "$with_x11" = "yes"; then |
7015 | 7066 |
7016 echo "checking for X11 graphics libraries" 1>&6 | 7067 echo "checking for X11 graphics libraries" 1>&6 |
7017 echo "configure:7018: checking for X11 graphics libraries" >&5 | 7068 echo "configure:7069: checking for X11 graphics libraries" >&5 |
7018 | 7069 |
7019 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7070 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7020 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7071 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7021 echo "configure:7022: checking for compface.h" >&5 | 7072 echo "configure:7073: checking for compface.h" >&5 |
7022 | 7073 |
7023 cat > conftest.$ac_ext <<EOF | 7074 cat > conftest.$ac_ext <<EOF |
7024 #line 7025 "configure" | 7075 #line 7076 "configure" |
7025 #include "confdefs.h" | 7076 #include "confdefs.h" |
7026 #include <compface.h> | 7077 #include <compface.h> |
7027 EOF | 7078 EOF |
7028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7029 { (eval echo configure:7030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7080 { (eval echo configure:7081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7030 ac_err=`grep -v '^ *+' conftest.out` | 7081 ac_err=`grep -v '^ *+' conftest.out` |
7031 if test -z "$ac_err"; then | 7082 if test -z "$ac_err"; then |
7032 rm -rf conftest* | 7083 rm -rf conftest* |
7033 eval "ac_cv_header_$ac_safe=yes" | 7084 eval "ac_cv_header_$ac_safe=yes" |
7034 else | 7085 else |
7047 with_xface=no | 7098 with_xface=no |
7048 fi | 7099 fi |
7049 } | 7100 } |
7050 test -z "$with_xface" && { | 7101 test -z "$with_xface" && { |
7051 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7102 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7052 echo "configure:7053: checking for UnGenFace in -lcompface" >&5 | 7103 echo "configure:7104: checking for UnGenFace in -lcompface" >&5 |
7053 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7104 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7054 | 7105 |
7055 xe_check_libs=" -lcompface " | 7106 xe_check_libs=" -lcompface " |
7056 cat > conftest.$ac_ext <<EOF | 7107 cat > conftest.$ac_ext <<EOF |
7057 #line 7058 "configure" | 7108 #line 7109 "configure" |
7058 #include "confdefs.h" | 7109 #include "confdefs.h" |
7059 /* Override any gcc2 internal prototype to avoid an error. */ | 7110 /* Override any gcc2 internal prototype to avoid an error. */ |
7060 /* We use char because int might match the return type of a gcc2 | 7111 /* We use char because int might match the return type of a gcc2 |
7061 builtin and then its argument prototype would still apply. */ | 7112 builtin and then its argument prototype would still apply. */ |
7062 char UnGenFace(); | 7113 char UnGenFace(); |
7063 | 7114 |
7064 int main() { | 7115 int main() { |
7065 UnGenFace() | 7116 UnGenFace() |
7066 ; return 0; } | 7117 ; return 0; } |
7067 EOF | 7118 EOF |
7068 if { (eval echo configure:7069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7119 if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7069 rm -rf conftest* | 7120 rm -rf conftest* |
7070 eval "ac_cv_lib_$ac_lib_var=yes" | 7121 eval "ac_cv_lib_$ac_lib_var=yes" |
7071 else | 7122 else |
7072 echo "configure: failed program was:" >&5 | 7123 echo "configure: failed program was:" >&5 |
7073 cat conftest.$ac_ext >&5 | 7124 cat conftest.$ac_ext >&5 |
7099 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi | 7150 libs_x="-lcompface $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi |
7100 fi | 7151 fi |
7101 | 7152 |
7102 | 7153 |
7103 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7154 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 |
7104 echo "configure:7105: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7155 echo "configure:7156: checking for XawScrollbarSetThumb in -lXaw" >&5 |
7105 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7156 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7106 | 7157 |
7107 xe_check_libs=" -lXaw " | 7158 xe_check_libs=" -lXaw " |
7108 cat > conftest.$ac_ext <<EOF | 7159 cat > conftest.$ac_ext <<EOF |
7109 #line 7110 "configure" | 7160 #line 7161 "configure" |
7110 #include "confdefs.h" | 7161 #include "confdefs.h" |
7111 /* Override any gcc2 internal prototype to avoid an error. */ | 7162 /* Override any gcc2 internal prototype to avoid an error. */ |
7112 /* We use char because int might match the return type of a gcc2 | 7163 /* We use char because int might match the return type of a gcc2 |
7113 builtin and then its argument prototype would still apply. */ | 7164 builtin and then its argument prototype would still apply. */ |
7114 char XawScrollbarSetThumb(); | 7165 char XawScrollbarSetThumb(); |
7115 | 7166 |
7116 int main() { | 7167 int main() { |
7117 XawScrollbarSetThumb() | 7168 XawScrollbarSetThumb() |
7118 ; return 0; } | 7169 ; return 0; } |
7119 EOF | 7170 EOF |
7120 if { (eval echo configure:7121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7171 if { (eval echo configure:7172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7121 rm -rf conftest* | 7172 rm -rf conftest* |
7122 eval "ac_cv_lib_$ac_lib_var=yes" | 7173 eval "ac_cv_lib_$ac_lib_var=yes" |
7123 else | 7174 else |
7124 echo "configure: failed program was:" >&5 | 7175 echo "configure: failed program was:" >&5 |
7125 cat conftest.$ac_ext >&5 | 7176 cat conftest.$ac_ext >&5 |
7139 | 7190 |
7140 | 7191 |
7141 | 7192 |
7142 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7193 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7143 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7194 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7144 echo "configure:7145: checking for Xm/Xm.h" >&5 | 7195 echo "configure:7196: checking for Xm/Xm.h" >&5 |
7145 | 7196 |
7146 cat > conftest.$ac_ext <<EOF | 7197 cat > conftest.$ac_ext <<EOF |
7147 #line 7148 "configure" | 7198 #line 7199 "configure" |
7148 #include "confdefs.h" | 7199 #include "confdefs.h" |
7149 #include <Xm/Xm.h> | 7200 #include <Xm/Xm.h> |
7150 EOF | 7201 EOF |
7151 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7152 { (eval echo configure:7153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7203 { (eval echo configure:7204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7153 ac_err=`grep -v '^ *+' conftest.out` | 7204 ac_err=`grep -v '^ *+' conftest.out` |
7154 if test -z "$ac_err"; then | 7205 if test -z "$ac_err"; then |
7155 rm -rf conftest* | 7206 rm -rf conftest* |
7156 eval "ac_cv_header_$ac_safe=yes" | 7207 eval "ac_cv_header_$ac_safe=yes" |
7157 else | 7208 else |
7164 rm -f conftest* | 7215 rm -f conftest* |
7165 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7166 echo "$ac_t""yes" 1>&6 | 7217 echo "$ac_t""yes" 1>&6 |
7167 | 7218 |
7168 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7219 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7169 echo "configure:7170: checking for XmStringFree in -lXm" >&5 | 7220 echo "configure:7221: checking for XmStringFree in -lXm" >&5 |
7170 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7221 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7171 | 7222 |
7172 xe_check_libs=" -lXm " | 7223 xe_check_libs=" -lXm " |
7173 cat > conftest.$ac_ext <<EOF | 7224 cat > conftest.$ac_ext <<EOF |
7174 #line 7175 "configure" | 7225 #line 7226 "configure" |
7175 #include "confdefs.h" | 7226 #include "confdefs.h" |
7176 /* Override any gcc2 internal prototype to avoid an error. */ | 7227 /* Override any gcc2 internal prototype to avoid an error. */ |
7177 /* We use char because int might match the return type of a gcc2 | 7228 /* We use char because int might match the return type of a gcc2 |
7178 builtin and then its argument prototype would still apply. */ | 7229 builtin and then its argument prototype would still apply. */ |
7179 char XmStringFree(); | 7230 char XmStringFree(); |
7180 | 7231 |
7181 int main() { | 7232 int main() { |
7182 XmStringFree() | 7233 XmStringFree() |
7183 ; return 0; } | 7234 ; return 0; } |
7184 EOF | 7235 EOF |
7185 if { (eval echo configure:7186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7236 if { (eval echo configure:7237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7186 rm -rf conftest* | 7237 rm -rf conftest* |
7187 eval "ac_cv_lib_$ac_lib_var=yes" | 7238 eval "ac_cv_lib_$ac_lib_var=yes" |
7188 else | 7239 else |
7189 echo "configure: failed program was:" >&5 | 7240 echo "configure: failed program was:" >&5 |
7190 cat conftest.$ac_ext >&5 | 7241 cat conftest.$ac_ext >&5 |
7209 fi | 7260 fi |
7210 | 7261 |
7211 | 7262 |
7212 if test "$have_motif" = "yes"; then | 7263 if test "$have_motif" = "yes"; then |
7213 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 7264 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7214 echo "configure:7215: checking for Lesstif" >&5 | 7265 echo "configure:7266: checking for Lesstif" >&5 |
7215 cat > conftest.$ac_ext <<EOF | 7266 cat > conftest.$ac_ext <<EOF |
7216 #line 7217 "configure" | 7267 #line 7268 "configure" |
7217 #include "confdefs.h" | 7268 #include "confdefs.h" |
7218 #include <Xm/Xm.h> | 7269 #include <Xm/Xm.h> |
7219 #ifdef LESSTIF_VERSION | 7270 #ifdef LESSTIF_VERSION |
7220 yes | 7271 yes |
7221 #endif | 7272 #endif |
7495 fi | 7546 fi |
7496 fi | 7547 fi |
7497 | 7548 |
7498 if test "$with_mule" = "yes" ; then | 7549 if test "$with_mule" = "yes" ; then |
7499 echo "checking for Mule-related features" 1>&6 | 7550 echo "checking for Mule-related features" 1>&6 |
7500 echo "configure:7501: checking for Mule-related features" >&5 | 7551 echo "configure:7552: checking for Mule-related features" >&5 |
7501 { test "$extra_verbose" = "yes" && cat << \EOF | 7552 { test "$extra_verbose" = "yes" && cat << \EOF |
7502 Defining MULE | 7553 Defining MULE |
7503 EOF | 7554 EOF |
7504 cat >> confdefs.h <<\EOF | 7555 cat >> confdefs.h <<\EOF |
7505 #define MULE 1 | 7556 #define MULE 1 |
7520 | 7571 |
7521 for ac_hdr in libintl.h | 7572 for ac_hdr in libintl.h |
7522 do | 7573 do |
7523 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7574 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7524 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7575 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7525 echo "configure:7526: checking for $ac_hdr" >&5 | 7576 echo "configure:7577: checking for $ac_hdr" >&5 |
7526 | 7577 |
7527 cat > conftest.$ac_ext <<EOF | 7578 cat > conftest.$ac_ext <<EOF |
7528 #line 7529 "configure" | 7579 #line 7580 "configure" |
7529 #include "confdefs.h" | 7580 #include "confdefs.h" |
7530 #include <$ac_hdr> | 7581 #include <$ac_hdr> |
7531 EOF | 7582 EOF |
7532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7583 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7533 { (eval echo configure:7534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7584 { (eval echo configure:7585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7534 ac_err=`grep -v '^ *+' conftest.out` | 7585 ac_err=`grep -v '^ *+' conftest.out` |
7535 if test -z "$ac_err"; then | 7586 if test -z "$ac_err"; then |
7536 rm -rf conftest* | 7587 rm -rf conftest* |
7537 eval "ac_cv_header_$ac_safe=yes" | 7588 eval "ac_cv_header_$ac_safe=yes" |
7538 else | 7589 else |
7559 fi | 7610 fi |
7560 done | 7611 done |
7561 | 7612 |
7562 | 7613 |
7563 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 7614 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
7564 echo "configure:7565: checking for strerror in -lintl" >&5 | 7615 echo "configure:7616: checking for strerror in -lintl" >&5 |
7565 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 7616 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
7566 | 7617 |
7567 xe_check_libs=" -lintl " | 7618 xe_check_libs=" -lintl " |
7568 cat > conftest.$ac_ext <<EOF | 7619 cat > conftest.$ac_ext <<EOF |
7569 #line 7570 "configure" | 7620 #line 7621 "configure" |
7570 #include "confdefs.h" | 7621 #include "confdefs.h" |
7571 /* Override any gcc2 internal prototype to avoid an error. */ | 7622 /* Override any gcc2 internal prototype to avoid an error. */ |
7572 /* We use char because int might match the return type of a gcc2 | 7623 /* We use char because int might match the return type of a gcc2 |
7573 builtin and then its argument prototype would still apply. */ | 7624 builtin and then its argument prototype would still apply. */ |
7574 char strerror(); | 7625 char strerror(); |
7575 | 7626 |
7576 int main() { | 7627 int main() { |
7577 strerror() | 7628 strerror() |
7578 ; return 0; } | 7629 ; return 0; } |
7579 EOF | 7630 EOF |
7580 if { (eval echo configure:7581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7631 if { (eval echo configure:7632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7581 rm -rf conftest* | 7632 rm -rf conftest* |
7582 eval "ac_cv_lib_$ac_lib_var=yes" | 7633 eval "ac_cv_lib_$ac_lib_var=yes" |
7583 else | 7634 else |
7584 echo "configure: failed program was:" >&5 | 7635 echo "configure: failed program was:" >&5 |
7585 cat conftest.$ac_ext >&5 | 7636 cat conftest.$ac_ext >&5 |
7608 fi | 7659 fi |
7609 | 7660 |
7610 | 7661 |
7611 | 7662 |
7612 echo "checking for Mule input methods" 1>&6 | 7663 echo "checking for Mule input methods" 1>&6 |
7613 echo "configure:7614: checking for Mule input methods" >&5 | 7664 echo "configure:7665: checking for Mule input methods" >&5 |
7614 case "$with_xim" in "" | "yes" ) | 7665 case "$with_xim" in "" | "yes" ) |
7615 echo "checking for XIM" 1>&6 | 7666 echo "checking for XIM" 1>&6 |
7616 echo "configure:7617: checking for XIM" >&5 | 7667 echo "configure:7668: checking for XIM" >&5 |
7617 if test "$have_lesstif" = "yes"; then with_xim=xlib | 7668 if test "$have_lesstif" = "yes"; then with_xim=xlib |
7618 else | 7669 else |
7619 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 7670 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
7620 echo "configure:7621: checking for XmImMbLookupString in -lXm" >&5 | 7671 echo "configure:7672: checking for XmImMbLookupString in -lXm" >&5 |
7621 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 7672 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
7622 | 7673 |
7623 xe_check_libs=" -lXm " | 7674 xe_check_libs=" -lXm " |
7624 cat > conftest.$ac_ext <<EOF | 7675 cat > conftest.$ac_ext <<EOF |
7625 #line 7626 "configure" | 7676 #line 7677 "configure" |
7626 #include "confdefs.h" | 7677 #include "confdefs.h" |
7627 /* Override any gcc2 internal prototype to avoid an error. */ | 7678 /* Override any gcc2 internal prototype to avoid an error. */ |
7628 /* We use char because int might match the return type of a gcc2 | 7679 /* We use char because int might match the return type of a gcc2 |
7629 builtin and then its argument prototype would still apply. */ | 7680 builtin and then its argument prototype would still apply. */ |
7630 char XmImMbLookupString(); | 7681 char XmImMbLookupString(); |
7631 | 7682 |
7632 int main() { | 7683 int main() { |
7633 XmImMbLookupString() | 7684 XmImMbLookupString() |
7634 ; return 0; } | 7685 ; return 0; } |
7635 EOF | 7686 EOF |
7636 if { (eval echo configure:7637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7687 if { (eval echo configure:7688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7637 rm -rf conftest* | 7688 rm -rf conftest* |
7638 eval "ac_cv_lib_$ac_lib_var=yes" | 7689 eval "ac_cv_lib_$ac_lib_var=yes" |
7639 else | 7690 else |
7640 echo "configure: failed program was:" >&5 | 7691 echo "configure: failed program was:" >&5 |
7641 cat conftest.$ac_ext >&5 | 7692 cat conftest.$ac_ext >&5 |
7697 fi | 7748 fi |
7698 fi | 7749 fi |
7699 | 7750 |
7700 if test "$with_xfs" = "yes" ; then | 7751 if test "$with_xfs" = "yes" ; then |
7701 echo "checking for XFontSet" 1>&6 | 7752 echo "checking for XFontSet" 1>&6 |
7702 echo "configure:7703: checking for XFontSet" >&5 | 7753 echo "configure:7754: checking for XFontSet" >&5 |
7703 | 7754 |
7704 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 7755 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
7705 echo "configure:7706: checking for XmbDrawString in -lX11" >&5 | 7756 echo "configure:7757: checking for XmbDrawString in -lX11" >&5 |
7706 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 7757 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
7707 | 7758 |
7708 xe_check_libs=" -lX11 " | 7759 xe_check_libs=" -lX11 " |
7709 cat > conftest.$ac_ext <<EOF | 7760 cat > conftest.$ac_ext <<EOF |
7710 #line 7711 "configure" | 7761 #line 7762 "configure" |
7711 #include "confdefs.h" | 7762 #include "confdefs.h" |
7712 /* Override any gcc2 internal prototype to avoid an error. */ | 7763 /* Override any gcc2 internal prototype to avoid an error. */ |
7713 /* We use char because int might match the return type of a gcc2 | 7764 /* We use char because int might match the return type of a gcc2 |
7714 builtin and then its argument prototype would still apply. */ | 7765 builtin and then its argument prototype would still apply. */ |
7715 char XmbDrawString(); | 7766 char XmbDrawString(); |
7716 | 7767 |
7717 int main() { | 7768 int main() { |
7718 XmbDrawString() | 7769 XmbDrawString() |
7719 ; return 0; } | 7770 ; return 0; } |
7720 EOF | 7771 EOF |
7721 if { (eval echo configure:7722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7772 if { (eval echo configure:7773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7722 rm -rf conftest* | 7773 rm -rf conftest* |
7723 eval "ac_cv_lib_$ac_lib_var=yes" | 7774 eval "ac_cv_lib_$ac_lib_var=yes" |
7724 else | 7775 else |
7725 echo "configure: failed program was:" >&5 | 7776 echo "configure: failed program was:" >&5 |
7726 cat conftest.$ac_ext >&5 | 7777 cat conftest.$ac_ext >&5 |
7756 fi | 7807 fi |
7757 fi | 7808 fi |
7758 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 7809 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
7759 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 7810 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
7760 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 7811 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
7761 echo "configure:7762: checking for wnn/jllib.h" >&5 | 7812 echo "configure:7813: checking for wnn/jllib.h" >&5 |
7762 | 7813 |
7763 cat > conftest.$ac_ext <<EOF | 7814 cat > conftest.$ac_ext <<EOF |
7764 #line 7765 "configure" | 7815 #line 7816 "configure" |
7765 #include "confdefs.h" | 7816 #include "confdefs.h" |
7766 #include <wnn/jllib.h> | 7817 #include <wnn/jllib.h> |
7767 EOF | 7818 EOF |
7768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7819 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7769 { (eval echo configure:7770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7820 { (eval echo configure:7821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7770 ac_err=`grep -v '^ *+' conftest.out` | 7821 ac_err=`grep -v '^ *+' conftest.out` |
7771 if test -z "$ac_err"; then | 7822 if test -z "$ac_err"; then |
7772 rm -rf conftest* | 7823 rm -rf conftest* |
7773 eval "ac_cv_header_$ac_safe=yes" | 7824 eval "ac_cv_header_$ac_safe=yes" |
7774 else | 7825 else |
7789 } | 7840 } |
7790 if test "$with_wnn" != "no"; then | 7841 if test "$with_wnn" != "no"; then |
7791 for ac_func in crypt | 7842 for ac_func in crypt |
7792 do | 7843 do |
7793 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7794 echo "configure:7795: checking for $ac_func" >&5 | 7845 echo "configure:7846: checking for $ac_func" >&5 |
7795 | 7846 |
7796 cat > conftest.$ac_ext <<EOF | 7847 cat > conftest.$ac_ext <<EOF |
7797 #line 7798 "configure" | 7848 #line 7849 "configure" |
7798 #include "confdefs.h" | 7849 #include "confdefs.h" |
7799 /* System header to define __stub macros and hopefully few prototypes, | 7850 /* System header to define __stub macros and hopefully few prototypes, |
7800 which can conflict with char $ac_func(); below. */ | 7851 which can conflict with char $ac_func(); below. */ |
7801 #include <assert.h> | 7852 #include <assert.h> |
7802 /* Override any gcc2 internal prototype to avoid an error. */ | 7853 /* Override any gcc2 internal prototype to avoid an error. */ |
7815 $ac_func(); | 7866 $ac_func(); |
7816 #endif | 7867 #endif |
7817 | 7868 |
7818 ; return 0; } | 7869 ; return 0; } |
7819 EOF | 7870 EOF |
7820 if { (eval echo configure:7821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7871 if { (eval echo configure:7872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7821 rm -rf conftest* | 7872 rm -rf conftest* |
7822 eval "ac_cv_func_$ac_func=yes" | 7873 eval "ac_cv_func_$ac_func=yes" |
7823 else | 7874 else |
7824 echo "configure: failed program was:" >&5 | 7875 echo "configure: failed program was:" >&5 |
7825 cat conftest.$ac_ext >&5 | 7876 cat conftest.$ac_ext >&5 |
7844 fi | 7895 fi |
7845 done | 7896 done |
7846 | 7897 |
7847 test "$ac_cv_func_crypt" != "yes" && { | 7898 test "$ac_cv_func_crypt" != "yes" && { |
7848 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 7899 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
7849 echo "configure:7850: checking for crypt in -lcrypt" >&5 | 7900 echo "configure:7901: checking for crypt in -lcrypt" >&5 |
7850 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 7901 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
7851 | 7902 |
7852 xe_check_libs=" -lcrypt " | 7903 xe_check_libs=" -lcrypt " |
7853 cat > conftest.$ac_ext <<EOF | 7904 cat > conftest.$ac_ext <<EOF |
7854 #line 7855 "configure" | 7905 #line 7906 "configure" |
7855 #include "confdefs.h" | 7906 #include "confdefs.h" |
7856 /* Override any gcc2 internal prototype to avoid an error. */ | 7907 /* Override any gcc2 internal prototype to avoid an error. */ |
7857 /* We use char because int might match the return type of a gcc2 | 7908 /* We use char because int might match the return type of a gcc2 |
7858 builtin and then its argument prototype would still apply. */ | 7909 builtin and then its argument prototype would still apply. */ |
7859 char crypt(); | 7910 char crypt(); |
7860 | 7911 |
7861 int main() { | 7912 int main() { |
7862 crypt() | 7913 crypt() |
7863 ; return 0; } | 7914 ; return 0; } |
7864 EOF | 7915 EOF |
7865 if { (eval echo configure:7866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7916 if { (eval echo configure:7917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7866 rm -rf conftest* | 7917 rm -rf conftest* |
7867 eval "ac_cv_lib_$ac_lib_var=yes" | 7918 eval "ac_cv_lib_$ac_lib_var=yes" |
7868 else | 7919 else |
7869 echo "configure: failed program was:" >&5 | 7920 echo "configure: failed program was:" >&5 |
7870 cat conftest.$ac_ext >&5 | 7921 cat conftest.$ac_ext >&5 |
7894 | 7945 |
7895 } | 7946 } |
7896 fi | 7947 fi |
7897 test -z "$with_wnn" && { | 7948 test -z "$with_wnn" && { |
7898 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 7949 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
7899 echo "configure:7900: checking for jl_dic_list_e in -lwnn" >&5 | 7950 echo "configure:7951: checking for jl_dic_list_e in -lwnn" >&5 |
7900 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 7951 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
7901 | 7952 |
7902 xe_check_libs=" -lwnn " | 7953 xe_check_libs=" -lwnn " |
7903 cat > conftest.$ac_ext <<EOF | 7954 cat > conftest.$ac_ext <<EOF |
7904 #line 7905 "configure" | 7955 #line 7956 "configure" |
7905 #include "confdefs.h" | 7956 #include "confdefs.h" |
7906 /* Override any gcc2 internal prototype to avoid an error. */ | 7957 /* Override any gcc2 internal prototype to avoid an error. */ |
7907 /* We use char because int might match the return type of a gcc2 | 7958 /* We use char because int might match the return type of a gcc2 |
7908 builtin and then its argument prototype would still apply. */ | 7959 builtin and then its argument prototype would still apply. */ |
7909 char jl_dic_list_e(); | 7960 char jl_dic_list_e(); |
7910 | 7961 |
7911 int main() { | 7962 int main() { |
7912 jl_dic_list_e() | 7963 jl_dic_list_e() |
7913 ; return 0; } | 7964 ; return 0; } |
7914 EOF | 7965 EOF |
7915 if { (eval echo configure:7916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 7966 if { (eval echo configure:7967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7916 rm -rf conftest* | 7967 rm -rf conftest* |
7917 eval "ac_cv_lib_$ac_lib_var=yes" | 7968 eval "ac_cv_lib_$ac_lib_var=yes" |
7918 else | 7969 else |
7919 echo "configure: failed program was:" >&5 | 7970 echo "configure: failed program was:" >&5 |
7920 cat conftest.$ac_ext >&5 | 7971 cat conftest.$ac_ext >&5 |
7948 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 7999 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
7949 fi | 8000 fi |
7950 if test "$with_wnn6" != "no"; then | 8001 if test "$with_wnn6" != "no"; then |
7951 | 8002 |
7952 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 | 8003 echo $ac_n "checking for jl_fi_dic_list in -lwnn""... $ac_c" 1>&6 |
7953 echo "configure:7954: checking for jl_fi_dic_list in -lwnn" >&5 | 8004 echo "configure:8005: checking for jl_fi_dic_list in -lwnn" >&5 |
7954 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8005 ac_lib_var=`echo wnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
7955 | 8006 |
7956 xe_check_libs=" -lwnn " | 8007 xe_check_libs=" -lwnn " |
7957 cat > conftest.$ac_ext <<EOF | 8008 cat > conftest.$ac_ext <<EOF |
7958 #line 7959 "configure" | 8009 #line 8010 "configure" |
7959 #include "confdefs.h" | 8010 #include "confdefs.h" |
7960 /* Override any gcc2 internal prototype to avoid an error. */ | 8011 /* Override any gcc2 internal prototype to avoid an error. */ |
7961 /* We use char because int might match the return type of a gcc2 | 8012 /* We use char because int might match the return type of a gcc2 |
7962 builtin and then its argument prototype would still apply. */ | 8013 builtin and then its argument prototype would still apply. */ |
7963 char jl_fi_dic_list(); | 8014 char jl_fi_dic_list(); |
7964 | 8015 |
7965 int main() { | 8016 int main() { |
7966 jl_fi_dic_list() | 8017 jl_fi_dic_list() |
7967 ; return 0; } | 8018 ; return 0; } |
7968 EOF | 8019 EOF |
7969 if { (eval echo configure:7970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8020 if { (eval echo configure:8021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
7970 rm -rf conftest* | 8021 rm -rf conftest* |
7971 eval "ac_cv_lib_$ac_lib_var=yes" | 8022 eval "ac_cv_lib_$ac_lib_var=yes" |
7972 else | 8023 else |
7973 echo "configure: failed program was:" >&5 | 8024 echo "configure: failed program was:" >&5 |
7974 cat conftest.$ac_ext >&5 | 8025 cat conftest.$ac_ext >&5 |
7999 | 8050 |
8000 canna_includes_found=no | 8051 canna_includes_found=no |
8001 if test "$with_canna" != "no"; then | 8052 if test "$with_canna" != "no"; then |
8002 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8053 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8003 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8054 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8004 echo "configure:8005: checking for canna/jrkanji.h" >&5 | 8055 echo "configure:8056: checking for canna/jrkanji.h" >&5 |
8005 | 8056 |
8006 cat > conftest.$ac_ext <<EOF | 8057 cat > conftest.$ac_ext <<EOF |
8007 #line 8008 "configure" | 8058 #line 8059 "configure" |
8008 #include "confdefs.h" | 8059 #include "confdefs.h" |
8009 #include <canna/jrkanji.h> | 8060 #include <canna/jrkanji.h> |
8010 EOF | 8061 EOF |
8011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8012 { (eval echo configure:8013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8063 { (eval echo configure:8064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8013 ac_err=`grep -v '^ *+' conftest.out` | 8064 ac_err=`grep -v '^ *+' conftest.out` |
8014 if test -z "$ac_err"; then | 8065 if test -z "$ac_err"; then |
8015 rm -rf conftest* | 8066 rm -rf conftest* |
8016 eval "ac_cv_header_$ac_safe=yes" | 8067 eval "ac_cv_header_$ac_safe=yes" |
8017 else | 8068 else |
8034 -d "/usr/local/canna/include"; then | 8085 -d "/usr/local/canna/include"; then |
8035 save_c_switch_site="$c_switch_site" | 8086 save_c_switch_site="$c_switch_site" |
8036 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 8087 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8037 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 8088 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8038 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 8089 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8039 echo "configure:8040: checking for canna/jrkanji.h" >&5 | 8090 echo "configure:8091: checking for canna/jrkanji.h" >&5 |
8040 | 8091 |
8041 cat > conftest.$ac_ext <<EOF | 8092 cat > conftest.$ac_ext <<EOF |
8042 #line 8043 "configure" | 8093 #line 8094 "configure" |
8043 #include "confdefs.h" | 8094 #include "confdefs.h" |
8044 #include <canna/jrkanji.h> | 8095 #include <canna/jrkanji.h> |
8045 EOF | 8096 EOF |
8046 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8097 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8047 { (eval echo configure:8048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8098 { (eval echo configure:8099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8048 ac_err=`grep -v '^ *+' conftest.out` | 8099 ac_err=`grep -v '^ *+' conftest.out` |
8049 if test -z "$ac_err"; then | 8100 if test -z "$ac_err"; then |
8050 rm -rf conftest* | 8101 rm -rf conftest* |
8051 eval "ac_cv_header_$ac_safe=yes" | 8102 eval "ac_cv_header_$ac_safe=yes" |
8052 else | 8103 else |
8070 fi | 8121 fi |
8071 fi | 8122 fi |
8072 | 8123 |
8073 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 8124 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8074 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 8125 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8075 echo "configure:8076: checking for canna/RK.h" >&5 | 8126 echo "configure:8127: checking for canna/RK.h" >&5 |
8076 | 8127 |
8077 cat > conftest.$ac_ext <<EOF | 8128 cat > conftest.$ac_ext <<EOF |
8078 #line 8079 "configure" | 8129 #line 8130 "configure" |
8079 #include "confdefs.h" | 8130 #include "confdefs.h" |
8080 #include <canna/RK.h> | 8131 #include <canna/RK.h> |
8081 EOF | 8132 EOF |
8082 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8083 { (eval echo configure:8084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8134 { (eval echo configure:8135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8084 ac_err=`grep -v '^ *+' conftest.out` | 8135 ac_err=`grep -v '^ *+' conftest.out` |
8085 if test -z "$ac_err"; then | 8136 if test -z "$ac_err"; then |
8086 rm -rf conftest* | 8137 rm -rf conftest* |
8087 eval "ac_cv_header_$ac_safe=yes" | 8138 eval "ac_cv_header_$ac_safe=yes" |
8088 else | 8139 else |
8101 with_canna=no | 8152 with_canna=no |
8102 fi | 8153 fi |
8103 } | 8154 } |
8104 test -z "$with_canna" && { | 8155 test -z "$with_canna" && { |
8105 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 8156 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8106 echo "configure:8107: checking for RkBgnBun in -lRKC" >&5 | 8157 echo "configure:8158: checking for RkBgnBun in -lRKC" >&5 |
8107 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 8158 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8108 | 8159 |
8109 xe_check_libs=" -lRKC " | 8160 xe_check_libs=" -lRKC " |
8110 cat > conftest.$ac_ext <<EOF | 8161 cat > conftest.$ac_ext <<EOF |
8111 #line 8112 "configure" | 8162 #line 8163 "configure" |
8112 #include "confdefs.h" | 8163 #include "confdefs.h" |
8113 /* Override any gcc2 internal prototype to avoid an error. */ | 8164 /* Override any gcc2 internal prototype to avoid an error. */ |
8114 /* We use char because int might match the return type of a gcc2 | 8165 /* We use char because int might match the return type of a gcc2 |
8115 builtin and then its argument prototype would still apply. */ | 8166 builtin and then its argument prototype would still apply. */ |
8116 char RkBgnBun(); | 8167 char RkBgnBun(); |
8117 | 8168 |
8118 int main() { | 8169 int main() { |
8119 RkBgnBun() | 8170 RkBgnBun() |
8120 ; return 0; } | 8171 ; return 0; } |
8121 EOF | 8172 EOF |
8122 if { (eval echo configure:8123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8173 if { (eval echo configure:8174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8123 rm -rf conftest* | 8174 rm -rf conftest* |
8124 eval "ac_cv_lib_$ac_lib_var=yes" | 8175 eval "ac_cv_lib_$ac_lib_var=yes" |
8125 else | 8176 else |
8126 echo "configure: failed program was:" >&5 | 8177 echo "configure: failed program was:" >&5 |
8127 cat conftest.$ac_ext >&5 | 8178 cat conftest.$ac_ext >&5 |
8140 fi | 8191 fi |
8141 | 8192 |
8142 } | 8193 } |
8143 test -z "$with_canna" && { | 8194 test -z "$with_canna" && { |
8144 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 8195 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8145 echo "configure:8146: checking for jrKanjiControl in -lcanna" >&5 | 8196 echo "configure:8197: checking for jrKanjiControl in -lcanna" >&5 |
8146 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 8197 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8147 | 8198 |
8148 xe_check_libs=" -lcanna " | 8199 xe_check_libs=" -lcanna " |
8149 cat > conftest.$ac_ext <<EOF | 8200 cat > conftest.$ac_ext <<EOF |
8150 #line 8151 "configure" | 8201 #line 8202 "configure" |
8151 #include "confdefs.h" | 8202 #include "confdefs.h" |
8152 /* Override any gcc2 internal prototype to avoid an error. */ | 8203 /* Override any gcc2 internal prototype to avoid an error. */ |
8153 /* We use char because int might match the return type of a gcc2 | 8204 /* We use char because int might match the return type of a gcc2 |
8154 builtin and then its argument prototype would still apply. */ | 8205 builtin and then its argument prototype would still apply. */ |
8155 char jrKanjiControl(); | 8206 char jrKanjiControl(); |
8156 | 8207 |
8157 int main() { | 8208 int main() { |
8158 jrKanjiControl() | 8209 jrKanjiControl() |
8159 ; return 0; } | 8210 ; return 0; } |
8160 EOF | 8211 EOF |
8161 if { (eval echo configure:8162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8212 if { (eval echo configure:8213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8162 rm -rf conftest* | 8213 rm -rf conftest* |
8163 eval "ac_cv_lib_$ac_lib_var=yes" | 8214 eval "ac_cv_lib_$ac_lib_var=yes" |
8164 else | 8215 else |
8165 echo "configure: failed program was:" >&5 | 8216 echo "configure: failed program was:" >&5 |
8166 cat conftest.$ac_ext >&5 | 8217 cat conftest.$ac_ext >&5 |
8205 | 8256 |
8206 if test "$need_motif" = "yes" ; then | 8257 if test "$need_motif" = "yes" ; then |
8207 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 8258 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8208 | 8259 |
8209 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 8260 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8210 echo "configure:8211: checking for layout_object_getvalue in -li18n" >&5 | 8261 echo "configure:8262: checking for layout_object_getvalue in -li18n" >&5 |
8211 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 8262 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8212 | 8263 |
8213 xe_check_libs=" -li18n " | 8264 xe_check_libs=" -li18n " |
8214 cat > conftest.$ac_ext <<EOF | 8265 cat > conftest.$ac_ext <<EOF |
8215 #line 8216 "configure" | 8266 #line 8267 "configure" |
8216 #include "confdefs.h" | 8267 #include "confdefs.h" |
8217 /* Override any gcc2 internal prototype to avoid an error. */ | 8268 /* Override any gcc2 internal prototype to avoid an error. */ |
8218 /* We use char because int might match the return type of a gcc2 | 8269 /* We use char because int might match the return type of a gcc2 |
8219 builtin and then its argument prototype would still apply. */ | 8270 builtin and then its argument prototype would still apply. */ |
8220 char layout_object_getvalue(); | 8271 char layout_object_getvalue(); |
8221 | 8272 |
8222 int main() { | 8273 int main() { |
8223 layout_object_getvalue() | 8274 layout_object_getvalue() |
8224 ; return 0; } | 8275 ; return 0; } |
8225 EOF | 8276 EOF |
8226 if { (eval echo configure:8227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8277 if { (eval echo configure:8278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8227 rm -rf conftest* | 8278 rm -rf conftest* |
8228 eval "ac_cv_lib_$ac_lib_var=yes" | 8279 eval "ac_cv_lib_$ac_lib_var=yes" |
8229 else | 8280 else |
8230 echo "configure: failed program was:" >&5 | 8281 echo "configure: failed program was:" >&5 |
8231 cat conftest.$ac_ext >&5 | 8282 cat conftest.$ac_ext >&5 |
8307 fi | 8358 fi |
8308 | 8359 |
8309 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf | 8360 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf |
8310 do | 8361 do |
8311 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8312 echo "configure:8313: checking for $ac_func" >&5 | 8363 echo "configure:8364: checking for $ac_func" >&5 |
8313 | 8364 |
8314 cat > conftest.$ac_ext <<EOF | 8365 cat > conftest.$ac_ext <<EOF |
8315 #line 8316 "configure" | 8366 #line 8367 "configure" |
8316 #include "confdefs.h" | 8367 #include "confdefs.h" |
8317 /* System header to define __stub macros and hopefully few prototypes, | 8368 /* System header to define __stub macros and hopefully few prototypes, |
8318 which can conflict with char $ac_func(); below. */ | 8369 which can conflict with char $ac_func(); below. */ |
8319 #include <assert.h> | 8370 #include <assert.h> |
8320 /* Override any gcc2 internal prototype to avoid an error. */ | 8371 /* Override any gcc2 internal prototype to avoid an error. */ |
8333 $ac_func(); | 8384 $ac_func(); |
8334 #endif | 8385 #endif |
8335 | 8386 |
8336 ; return 0; } | 8387 ; return 0; } |
8337 EOF | 8388 EOF |
8338 if { (eval echo configure:8339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8389 if { (eval echo configure:8390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8339 rm -rf conftest* | 8390 rm -rf conftest* |
8340 eval "ac_cv_func_$ac_func=yes" | 8391 eval "ac_cv_func_$ac_func=yes" |
8341 else | 8392 else |
8342 echo "configure: failed program was:" >&5 | 8393 echo "configure: failed program was:" >&5 |
8343 cat conftest.$ac_ext >&5 | 8394 cat conftest.$ac_ext >&5 |
8370 fi ;; | 8421 fi ;; |
8371 * ) | 8422 * ) |
8372 for ac_func in realpath | 8423 for ac_func in realpath |
8373 do | 8424 do |
8374 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8375 echo "configure:8376: checking for $ac_func" >&5 | 8426 echo "configure:8427: checking for $ac_func" >&5 |
8376 | 8427 |
8377 cat > conftest.$ac_ext <<EOF | 8428 cat > conftest.$ac_ext <<EOF |
8378 #line 8379 "configure" | 8429 #line 8430 "configure" |
8379 #include "confdefs.h" | 8430 #include "confdefs.h" |
8380 /* System header to define __stub macros and hopefully few prototypes, | 8431 /* System header to define __stub macros and hopefully few prototypes, |
8381 which can conflict with char $ac_func(); below. */ | 8432 which can conflict with char $ac_func(); below. */ |
8382 #include <assert.h> | 8433 #include <assert.h> |
8383 /* Override any gcc2 internal prototype to avoid an error. */ | 8434 /* Override any gcc2 internal prototype to avoid an error. */ |
8396 $ac_func(); | 8447 $ac_func(); |
8397 #endif | 8448 #endif |
8398 | 8449 |
8399 ; return 0; } | 8450 ; return 0; } |
8400 EOF | 8451 EOF |
8401 if { (eval echo configure:8402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8452 if { (eval echo configure:8453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8402 rm -rf conftest* | 8453 rm -rf conftest* |
8403 eval "ac_cv_func_$ac_func=yes" | 8454 eval "ac_cv_func_$ac_func=yes" |
8404 else | 8455 else |
8405 echo "configure: failed program was:" >&5 | 8456 echo "configure: failed program was:" >&5 |
8406 cat conftest.$ac_ext >&5 | 8457 cat conftest.$ac_ext >&5 |
8429 echo " xemacs will be linked with \"realpath.o\"" | 8480 echo " xemacs will be linked with \"realpath.o\"" |
8430 fi ;; | 8481 fi ;; |
8431 esac | 8482 esac |
8432 | 8483 |
8433 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 8484 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
8434 echo "configure:8435: checking whether netdb declares h_errno" >&5 | 8485 echo "configure:8486: checking whether netdb declares h_errno" >&5 |
8435 cat > conftest.$ac_ext <<EOF | 8486 cat > conftest.$ac_ext <<EOF |
8436 #line 8437 "configure" | 8487 #line 8488 "configure" |
8437 #include "confdefs.h" | 8488 #include "confdefs.h" |
8438 #include <netdb.h> | 8489 #include <netdb.h> |
8439 int main() { | 8490 int main() { |
8440 return h_errno; | 8491 return h_errno; |
8441 ; return 0; } | 8492 ; return 0; } |
8442 EOF | 8493 EOF |
8443 if { (eval echo configure:8444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8494 if { (eval echo configure:8495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8444 rm -rf conftest* | 8495 rm -rf conftest* |
8445 echo "$ac_t""yes" 1>&6 | 8496 echo "$ac_t""yes" 1>&6 |
8446 { test "$extra_verbose" = "yes" && cat << \EOF | 8497 { test "$extra_verbose" = "yes" && cat << \EOF |
8447 Defining HAVE_H_ERRNO | 8498 Defining HAVE_H_ERRNO |
8448 EOF | 8499 EOF |
8458 echo "$ac_t""no" 1>&6 | 8509 echo "$ac_t""no" 1>&6 |
8459 fi | 8510 fi |
8460 rm -f conftest* | 8511 rm -f conftest* |
8461 | 8512 |
8462 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 8513 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
8463 echo "configure:8464: checking for sigsetjmp" >&5 | 8514 echo "configure:8515: checking for sigsetjmp" >&5 |
8464 cat > conftest.$ac_ext <<EOF | 8515 cat > conftest.$ac_ext <<EOF |
8465 #line 8466 "configure" | 8516 #line 8517 "configure" |
8466 #include "confdefs.h" | 8517 #include "confdefs.h" |
8467 #include <setjmp.h> | 8518 #include <setjmp.h> |
8468 int main() { | 8519 int main() { |
8469 sigjmp_buf bar; sigsetjmp (bar, 0); | 8520 sigjmp_buf bar; sigsetjmp (bar, 0); |
8470 ; return 0; } | 8521 ; return 0; } |
8471 EOF | 8522 EOF |
8472 if { (eval echo configure:8473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8523 if { (eval echo configure:8524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8473 rm -rf conftest* | 8524 rm -rf conftest* |
8474 echo "$ac_t""yes" 1>&6 | 8525 echo "$ac_t""yes" 1>&6 |
8475 { test "$extra_verbose" = "yes" && cat << \EOF | 8526 { test "$extra_verbose" = "yes" && cat << \EOF |
8476 Defining HAVE_SIGSETJMP | 8527 Defining HAVE_SIGSETJMP |
8477 EOF | 8528 EOF |
8487 echo "$ac_t""no" 1>&6 | 8538 echo "$ac_t""no" 1>&6 |
8488 fi | 8539 fi |
8489 rm -f conftest* | 8540 rm -f conftest* |
8490 | 8541 |
8491 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 8542 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
8492 echo "configure:8493: checking whether localtime caches TZ" >&5 | 8543 echo "configure:8544: checking whether localtime caches TZ" >&5 |
8493 | 8544 |
8494 if test "$ac_cv_func_tzset" = "yes"; then | 8545 if test "$ac_cv_func_tzset" = "yes"; then |
8495 cat > conftest.$ac_ext <<EOF | 8546 cat > conftest.$ac_ext <<EOF |
8496 #line 8497 "configure" | 8547 #line 8548 "configure" |
8497 #include "confdefs.h" | 8548 #include "confdefs.h" |
8498 #include <time.h> | 8549 #include <time.h> |
8499 #if STDC_HEADERS | 8550 #if STDC_HEADERS |
8500 # include <stdlib.h> | 8551 # include <stdlib.h> |
8501 #endif | 8552 #endif |
8526 if (localtime (&now)->tm_hour != hour_unset) | 8577 if (localtime (&now)->tm_hour != hour_unset) |
8527 exit (1); | 8578 exit (1); |
8528 exit (0); | 8579 exit (0); |
8529 } | 8580 } |
8530 EOF | 8581 EOF |
8531 if { (eval echo configure:8532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8582 if { (eval echo configure:8583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8532 then | 8583 then |
8533 emacs_cv_localtime_cache=no | 8584 emacs_cv_localtime_cache=no |
8534 else | 8585 else |
8535 conftest_rc="$?" | 8586 conftest_rc="$?" |
8536 echo "configure: failed program was:" >&5 | 8587 echo "configure: failed program was:" >&5 |
8556 | 8607 |
8557 fi | 8608 fi |
8558 | 8609 |
8559 if test "$HAVE_TIMEVAL" = "yes"; then | 8610 if test "$HAVE_TIMEVAL" = "yes"; then |
8560 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 8611 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
8561 echo "configure:8562: checking whether gettimeofday accepts one or two arguments" >&5 | 8612 echo "configure:8613: checking whether gettimeofday accepts one or two arguments" >&5 |
8562 cat > conftest.$ac_ext <<EOF | 8613 cat > conftest.$ac_ext <<EOF |
8563 #line 8564 "configure" | 8614 #line 8615 "configure" |
8564 #include "confdefs.h" | 8615 #include "confdefs.h" |
8565 | 8616 |
8566 #ifdef TIME_WITH_SYS_TIME | 8617 #ifdef TIME_WITH_SYS_TIME |
8567 #include <sys/time.h> | 8618 #include <sys/time.h> |
8568 #include <time.h> | 8619 #include <time.h> |
8580 struct timezone dummy; | 8631 struct timezone dummy; |
8581 gettimeofday (&time, &dummy); | 8632 gettimeofday (&time, &dummy); |
8582 | 8633 |
8583 ; return 0; } | 8634 ; return 0; } |
8584 EOF | 8635 EOF |
8585 if { (eval echo configure:8586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8636 if { (eval echo configure:8637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8586 rm -rf conftest* | 8637 rm -rf conftest* |
8587 echo "$ac_t""two" 1>&6 | 8638 echo "$ac_t""two" 1>&6 |
8588 else | 8639 else |
8589 echo "configure: failed program was:" >&5 | 8640 echo "configure: failed program was:" >&5 |
8590 cat conftest.$ac_ext >&5 | 8641 cat conftest.$ac_ext >&5 |
8602 rm -f conftest* | 8653 rm -f conftest* |
8603 fi | 8654 fi |
8604 | 8655 |
8605 | 8656 |
8606 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 8657 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
8607 echo "configure:8608: checking for inline" >&5 | 8658 echo "configure:8659: checking for inline" >&5 |
8608 | 8659 |
8609 ac_cv_c_inline=no | 8660 ac_cv_c_inline=no |
8610 for ac_kw in inline __inline__ __inline; do | 8661 for ac_kw in inline __inline__ __inline; do |
8611 cat > conftest.$ac_ext <<EOF | 8662 cat > conftest.$ac_ext <<EOF |
8612 #line 8613 "configure" | 8663 #line 8664 "configure" |
8613 #include "confdefs.h" | 8664 #include "confdefs.h" |
8614 | 8665 |
8615 int main() { | 8666 int main() { |
8616 } $ac_kw foo() { | 8667 } $ac_kw foo() { |
8617 ; return 0; } | 8668 ; return 0; } |
8618 EOF | 8669 EOF |
8619 if { (eval echo configure:8620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8670 if { (eval echo configure:8671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8620 rm -rf conftest* | 8671 rm -rf conftest* |
8621 ac_cv_c_inline=$ac_kw; break | 8672 ac_cv_c_inline=$ac_kw; break |
8622 else | 8673 else |
8623 echo "configure: failed program was:" >&5 | 8674 echo "configure: failed program was:" >&5 |
8624 cat conftest.$ac_ext >&5 | 8675 cat conftest.$ac_ext >&5 |
8664 | 8715 |
8665 | 8716 |
8666 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 8717 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
8667 # for constant arguments. Useless! | 8718 # for constant arguments. Useless! |
8668 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 8719 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
8669 echo "configure:8670: checking for working alloca.h" >&5 | 8720 echo "configure:8721: checking for working alloca.h" >&5 |
8670 | 8721 |
8671 cat > conftest.$ac_ext <<EOF | 8722 cat > conftest.$ac_ext <<EOF |
8672 #line 8673 "configure" | 8723 #line 8724 "configure" |
8673 #include "confdefs.h" | 8724 #include "confdefs.h" |
8674 #include <alloca.h> | 8725 #include <alloca.h> |
8675 int main() { | 8726 int main() { |
8676 char *p = alloca(2 * sizeof(int)); | 8727 char *p = alloca(2 * sizeof(int)); |
8677 ; return 0; } | 8728 ; return 0; } |
8678 EOF | 8729 EOF |
8679 if { (eval echo configure:8680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8730 if { (eval echo configure:8731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8680 rm -rf conftest* | 8731 rm -rf conftest* |
8681 ac_cv_header_alloca_h=yes | 8732 ac_cv_header_alloca_h=yes |
8682 else | 8733 else |
8683 echo "configure: failed program was:" >&5 | 8734 echo "configure: failed program was:" >&5 |
8684 cat conftest.$ac_ext >&5 | 8735 cat conftest.$ac_ext >&5 |
8698 } | 8749 } |
8699 | 8750 |
8700 fi | 8751 fi |
8701 | 8752 |
8702 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 8753 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
8703 echo "configure:8704: checking for alloca" >&5 | 8754 echo "configure:8755: checking for alloca" >&5 |
8704 | 8755 |
8705 cat > conftest.$ac_ext <<EOF | 8756 cat > conftest.$ac_ext <<EOF |
8706 #line 8707 "configure" | 8757 #line 8758 "configure" |
8707 #include "confdefs.h" | 8758 #include "confdefs.h" |
8708 | 8759 |
8709 #ifdef __GNUC__ | 8760 #ifdef __GNUC__ |
8710 # define alloca __builtin_alloca | 8761 # define alloca __builtin_alloca |
8711 #else | 8762 #else |
8724 | 8775 |
8725 int main() { | 8776 int main() { |
8726 char *p = (char *) alloca(1); | 8777 char *p = (char *) alloca(1); |
8727 ; return 0; } | 8778 ; return 0; } |
8728 EOF | 8779 EOF |
8729 if { (eval echo configure:8730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8780 if { (eval echo configure:8781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8730 rm -rf conftest* | 8781 rm -rf conftest* |
8731 ac_cv_func_alloca_works=yes | 8782 ac_cv_func_alloca_works=yes |
8732 else | 8783 else |
8733 echo "configure: failed program was:" >&5 | 8784 echo "configure: failed program was:" >&5 |
8734 cat conftest.$ac_ext >&5 | 8785 cat conftest.$ac_ext >&5 |
8763 EOF | 8814 EOF |
8764 } | 8815 } |
8765 | 8816 |
8766 | 8817 |
8767 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 8818 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
8768 echo "configure:8769: checking whether alloca needs Cray hooks" >&5 | 8819 echo "configure:8820: checking whether alloca needs Cray hooks" >&5 |
8769 | 8820 |
8770 cat > conftest.$ac_ext <<EOF | 8821 cat > conftest.$ac_ext <<EOF |
8771 #line 8772 "configure" | 8822 #line 8823 "configure" |
8772 #include "confdefs.h" | 8823 #include "confdefs.h" |
8773 #if defined(CRAY) && ! defined(CRAY2) | 8824 #if defined(CRAY) && ! defined(CRAY2) |
8774 webecray | 8825 webecray |
8775 #else | 8826 #else |
8776 wenotbecray | 8827 wenotbecray |
8790 | 8841 |
8791 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 8842 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
8792 if test $ac_cv_os_cray = yes; then | 8843 if test $ac_cv_os_cray = yes; then |
8793 for ac_func in _getb67 GETB67 getb67; do | 8844 for ac_func in _getb67 GETB67 getb67; do |
8794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8795 echo "configure:8796: checking for $ac_func" >&5 | 8846 echo "configure:8847: checking for $ac_func" >&5 |
8796 | 8847 |
8797 cat > conftest.$ac_ext <<EOF | 8848 cat > conftest.$ac_ext <<EOF |
8798 #line 8799 "configure" | 8849 #line 8850 "configure" |
8799 #include "confdefs.h" | 8850 #include "confdefs.h" |
8800 /* System header to define __stub macros and hopefully few prototypes, | 8851 /* System header to define __stub macros and hopefully few prototypes, |
8801 which can conflict with char $ac_func(); below. */ | 8852 which can conflict with char $ac_func(); below. */ |
8802 #include <assert.h> | 8853 #include <assert.h> |
8803 /* Override any gcc2 internal prototype to avoid an error. */ | 8854 /* Override any gcc2 internal prototype to avoid an error. */ |
8816 $ac_func(); | 8867 $ac_func(); |
8817 #endif | 8868 #endif |
8818 | 8869 |
8819 ; return 0; } | 8870 ; return 0; } |
8820 EOF | 8871 EOF |
8821 if { (eval echo configure:8822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 8872 if { (eval echo configure:8873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
8822 rm -rf conftest* | 8873 rm -rf conftest* |
8823 eval "ac_cv_func_$ac_func=yes" | 8874 eval "ac_cv_func_$ac_func=yes" |
8824 else | 8875 else |
8825 echo "configure: failed program was:" >&5 | 8876 echo "configure: failed program was:" >&5 |
8826 cat conftest.$ac_ext >&5 | 8877 cat conftest.$ac_ext >&5 |
8846 | 8897 |
8847 done | 8898 done |
8848 fi | 8899 fi |
8849 | 8900 |
8850 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 8901 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
8851 echo "configure:8852: checking stack direction for C alloca" >&5 | 8902 echo "configure:8903: checking stack direction for C alloca" >&5 |
8852 | 8903 |
8853 cat > conftest.$ac_ext <<EOF | 8904 cat > conftest.$ac_ext <<EOF |
8854 #line 8855 "configure" | 8905 #line 8906 "configure" |
8855 #include "confdefs.h" | 8906 #include "confdefs.h" |
8856 find_stack_direction () | 8907 find_stack_direction () |
8857 { | 8908 { |
8858 static char *addr = 0; | 8909 static char *addr = 0; |
8859 auto char dummy; | 8910 auto char dummy; |
8868 main () | 8919 main () |
8869 { | 8920 { |
8870 exit (find_stack_direction() < 0); | 8921 exit (find_stack_direction() < 0); |
8871 } | 8922 } |
8872 EOF | 8923 EOF |
8873 if { (eval echo configure:8874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8924 if { (eval echo configure:8925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8874 then | 8925 then |
8875 ac_cv_c_stack_direction=1 | 8926 ac_cv_c_stack_direction=1 |
8876 else | 8927 else |
8877 conftest_rc="$?" | 8928 conftest_rc="$?" |
8878 echo "configure: failed program was:" >&5 | 8929 echo "configure: failed program was:" >&5 |
8897 echo " xemacs will be linked with \"$ALLOCA\"" | 8948 echo " xemacs will be linked with \"$ALLOCA\"" |
8898 fi | 8949 fi |
8899 | 8950 |
8900 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 8951 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
8901 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 8952 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
8902 echo "configure:8903: checking for vfork.h" >&5 | 8953 echo "configure:8954: checking for vfork.h" >&5 |
8903 | 8954 |
8904 cat > conftest.$ac_ext <<EOF | 8955 cat > conftest.$ac_ext <<EOF |
8905 #line 8906 "configure" | 8956 #line 8957 "configure" |
8906 #include "confdefs.h" | 8957 #include "confdefs.h" |
8907 #include <vfork.h> | 8958 #include <vfork.h> |
8908 EOF | 8959 EOF |
8909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8910 { (eval echo configure:8911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8961 { (eval echo configure:8962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8911 ac_err=`grep -v '^ *+' conftest.out` | 8962 ac_err=`grep -v '^ *+' conftest.out` |
8912 if test -z "$ac_err"; then | 8963 if test -z "$ac_err"; then |
8913 rm -rf conftest* | 8964 rm -rf conftest* |
8914 eval "ac_cv_header_$ac_safe=yes" | 8965 eval "ac_cv_header_$ac_safe=yes" |
8915 else | 8966 else |
8933 else | 8984 else |
8934 echo "$ac_t""no" 1>&6 | 8985 echo "$ac_t""no" 1>&6 |
8935 fi | 8986 fi |
8936 | 8987 |
8937 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 8988 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
8938 echo "configure:8939: checking for working vfork" >&5 | 8989 echo "configure:8990: checking for working vfork" >&5 |
8939 | 8990 |
8940 cat > conftest.$ac_ext <<EOF | 8991 cat > conftest.$ac_ext <<EOF |
8941 #line 8942 "configure" | 8992 #line 8993 "configure" |
8942 #include "confdefs.h" | 8993 #include "confdefs.h" |
8943 /* Thanks to Paul Eggert for this test. */ | 8994 /* Thanks to Paul Eggert for this test. */ |
8944 #include <stdio.h> | 8995 #include <stdio.h> |
8945 #include <sys/types.h> | 8996 #include <sys/types.h> |
8946 #include <sys/stat.h> | 8997 #include <sys/stat.h> |
9031 || fstat(fileno(stdout), &st) != 0 | 9082 || fstat(fileno(stdout), &st) != 0 |
9032 ); | 9083 ); |
9033 } | 9084 } |
9034 } | 9085 } |
9035 EOF | 9086 EOF |
9036 if { (eval echo configure:9037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9087 if { (eval echo configure:9088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9037 then | 9088 then |
9038 ac_cv_func_vfork_works=yes | 9089 ac_cv_func_vfork_works=yes |
9039 else | 9090 else |
9040 conftest_rc="$?" | 9091 conftest_rc="$?" |
9041 echo "configure: failed program was:" >&5 | 9092 echo "configure: failed program was:" >&5 |
9057 | 9108 |
9058 fi | 9109 fi |
9059 | 9110 |
9060 | 9111 |
9061 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 9112 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9062 echo "configure:9063: checking for working strcoll" >&5 | 9113 echo "configure:9114: checking for working strcoll" >&5 |
9063 | 9114 |
9064 cat > conftest.$ac_ext <<EOF | 9115 cat > conftest.$ac_ext <<EOF |
9065 #line 9066 "configure" | 9116 #line 9117 "configure" |
9066 #include "confdefs.h" | 9117 #include "confdefs.h" |
9067 #include <string.h> | 9118 #include <string.h> |
9068 main () | 9119 main () |
9069 { | 9120 { |
9070 exit (strcoll ("abc", "def") >= 0 || | 9121 exit (strcoll ("abc", "def") >= 0 || |
9071 strcoll ("ABC", "DEF") >= 0 || | 9122 strcoll ("ABC", "DEF") >= 0 || |
9072 strcoll ("123", "456") >= 0); | 9123 strcoll ("123", "456") >= 0); |
9073 } | 9124 } |
9074 EOF | 9125 EOF |
9075 if { (eval echo configure:9076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9126 if { (eval echo configure:9127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9076 then | 9127 then |
9077 ac_cv_func_strcoll_works=yes | 9128 ac_cv_func_strcoll_works=yes |
9078 else | 9129 else |
9079 conftest_rc="$?" | 9130 conftest_rc="$?" |
9080 echo "configure: failed program was:" >&5 | 9131 echo "configure: failed program was:" >&5 |
9098 | 9149 |
9099 | 9150 |
9100 for ac_func in getpgrp | 9151 for ac_func in getpgrp |
9101 do | 9152 do |
9102 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9103 echo "configure:9104: checking for $ac_func" >&5 | 9154 echo "configure:9155: checking for $ac_func" >&5 |
9104 | 9155 |
9105 cat > conftest.$ac_ext <<EOF | 9156 cat > conftest.$ac_ext <<EOF |
9106 #line 9107 "configure" | 9157 #line 9158 "configure" |
9107 #include "confdefs.h" | 9158 #include "confdefs.h" |
9108 /* System header to define __stub macros and hopefully few prototypes, | 9159 /* System header to define __stub macros and hopefully few prototypes, |
9109 which can conflict with char $ac_func(); below. */ | 9160 which can conflict with char $ac_func(); below. */ |
9110 #include <assert.h> | 9161 #include <assert.h> |
9111 /* Override any gcc2 internal prototype to avoid an error. */ | 9162 /* Override any gcc2 internal prototype to avoid an error. */ |
9124 $ac_func(); | 9175 $ac_func(); |
9125 #endif | 9176 #endif |
9126 | 9177 |
9127 ; return 0; } | 9178 ; return 0; } |
9128 EOF | 9179 EOF |
9129 if { (eval echo configure:9130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9180 if { (eval echo configure:9181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9130 rm -rf conftest* | 9181 rm -rf conftest* |
9131 eval "ac_cv_func_$ac_func=yes" | 9182 eval "ac_cv_func_$ac_func=yes" |
9132 else | 9183 else |
9133 echo "configure: failed program was:" >&5 | 9184 echo "configure: failed program was:" >&5 |
9134 cat conftest.$ac_ext >&5 | 9185 cat conftest.$ac_ext >&5 |
9152 echo "$ac_t""no" 1>&6 | 9203 echo "$ac_t""no" 1>&6 |
9153 fi | 9204 fi |
9154 done | 9205 done |
9155 | 9206 |
9156 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 9207 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
9157 echo "configure:9158: checking whether getpgrp takes no argument" >&5 | 9208 echo "configure:9209: checking whether getpgrp takes no argument" >&5 |
9158 | 9209 |
9159 cat > conftest.$ac_ext <<EOF | 9210 cat > conftest.$ac_ext <<EOF |
9160 #line 9161 "configure" | 9211 #line 9212 "configure" |
9161 #include "confdefs.h" | 9212 #include "confdefs.h" |
9162 | 9213 |
9163 /* | 9214 /* |
9164 * If this system has a BSD-style getpgrp(), | 9215 * If this system has a BSD-style getpgrp(), |
9165 * which takes a pid argument, exit unsuccessfully. | 9216 * which takes a pid argument, exit unsuccessfully. |
9210 exit(s>>8); | 9261 exit(s>>8); |
9211 } | 9262 } |
9212 } | 9263 } |
9213 | 9264 |
9214 EOF | 9265 EOF |
9215 if { (eval echo configure:9216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9266 if { (eval echo configure:9267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9216 then | 9267 then |
9217 ac_cv_func_getpgrp_void=yes | 9268 ac_cv_func_getpgrp_void=yes |
9218 else | 9269 else |
9219 conftest_rc="$?" | 9270 conftest_rc="$?" |
9220 echo "configure: failed program was:" >&5 | 9271 echo "configure: failed program was:" >&5 |
9237 | 9288 |
9238 fi | 9289 fi |
9239 | 9290 |
9240 | 9291 |
9241 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 9292 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
9242 echo "configure:9243: checking for working mmap" >&5 | 9293 echo "configure:9294: checking for working mmap" >&5 |
9243 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 9294 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
9244 cat > conftest.$ac_ext <<EOF | 9295 cat > conftest.$ac_ext <<EOF |
9245 #line 9246 "configure" | 9296 #line 9297 "configure" |
9246 #include "confdefs.h" | 9297 #include "confdefs.h" |
9247 #include <stdio.h> | 9298 #include <stdio.h> |
9248 #include <unistd.h> | 9299 #include <unistd.h> |
9249 #include <fcntl.h> | 9300 #include <fcntl.h> |
9250 #include <sys/mman.h> | 9301 #include <sys/mman.h> |
9273 return 0; | 9324 return 0; |
9274 perror ("conftest: mmap failed"); | 9325 perror ("conftest: mmap failed"); |
9275 return 1; | 9326 return 1; |
9276 } | 9327 } |
9277 EOF | 9328 EOF |
9278 if { (eval echo configure:9279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9329 if { (eval echo configure:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9279 then | 9330 then |
9280 have_mmap=yes | 9331 have_mmap=yes |
9281 else | 9332 else |
9282 conftest_rc="$?" | 9333 conftest_rc="$?" |
9283 echo "configure: failed program was:" >&5 | 9334 echo "configure: failed program was:" >&5 |
9308 } | 9359 } |
9309 | 9360 |
9310 | 9361 |
9311 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 9362 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
9312 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 9363 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
9313 echo "configure:9314: checking for termios.h" >&5 | 9364 echo "configure:9365: checking for termios.h" >&5 |
9314 | 9365 |
9315 cat > conftest.$ac_ext <<EOF | 9366 cat > conftest.$ac_ext <<EOF |
9316 #line 9317 "configure" | 9367 #line 9368 "configure" |
9317 #include "confdefs.h" | 9368 #include "confdefs.h" |
9318 #include <termios.h> | 9369 #include <termios.h> |
9319 EOF | 9370 EOF |
9320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9321 { (eval echo configure:9322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9372 { (eval echo configure:9373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9322 ac_err=`grep -v '^ *+' conftest.out` | 9373 ac_err=`grep -v '^ *+' conftest.out` |
9323 if test -z "$ac_err"; then | 9374 if test -z "$ac_err"; then |
9324 rm -rf conftest* | 9375 rm -rf conftest* |
9325 eval "ac_cv_header_$ac_safe=yes" | 9376 eval "ac_cv_header_$ac_safe=yes" |
9326 else | 9377 else |
9359 | 9410 |
9360 else | 9411 else |
9361 echo "$ac_t""no" 1>&6 | 9412 echo "$ac_t""no" 1>&6 |
9362 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 9413 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
9363 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 9414 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
9364 echo "configure:9365: checking for termio.h" >&5 | 9415 echo "configure:9416: checking for termio.h" >&5 |
9365 | 9416 |
9366 cat > conftest.$ac_ext <<EOF | 9417 cat > conftest.$ac_ext <<EOF |
9367 #line 9368 "configure" | 9418 #line 9419 "configure" |
9368 #include "confdefs.h" | 9419 #include "confdefs.h" |
9369 #include <termio.h> | 9420 #include <termio.h> |
9370 EOF | 9421 EOF |
9371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9422 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9372 { (eval echo configure:9373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9423 { (eval echo configure:9424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9373 ac_err=`grep -v '^ *+' conftest.out` | 9424 ac_err=`grep -v '^ *+' conftest.out` |
9374 if test -z "$ac_err"; then | 9425 if test -z "$ac_err"; then |
9375 rm -rf conftest* | 9426 rm -rf conftest* |
9376 eval "ac_cv_header_$ac_safe=yes" | 9427 eval "ac_cv_header_$ac_safe=yes" |
9377 else | 9428 else |
9399 fi | 9450 fi |
9400 | 9451 |
9401 | 9452 |
9402 | 9453 |
9403 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 9454 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
9404 echo "configure:9405: checking for socket" >&5 | 9455 echo "configure:9456: checking for socket" >&5 |
9405 | 9456 |
9406 cat > conftest.$ac_ext <<EOF | 9457 cat > conftest.$ac_ext <<EOF |
9407 #line 9408 "configure" | 9458 #line 9459 "configure" |
9408 #include "confdefs.h" | 9459 #include "confdefs.h" |
9409 /* System header to define __stub macros and hopefully few prototypes, | 9460 /* System header to define __stub macros and hopefully few prototypes, |
9410 which can conflict with char socket(); below. */ | 9461 which can conflict with char socket(); below. */ |
9411 #include <assert.h> | 9462 #include <assert.h> |
9412 /* Override any gcc2 internal prototype to avoid an error. */ | 9463 /* Override any gcc2 internal prototype to avoid an error. */ |
9425 socket(); | 9476 socket(); |
9426 #endif | 9477 #endif |
9427 | 9478 |
9428 ; return 0; } | 9479 ; return 0; } |
9429 EOF | 9480 EOF |
9430 if { (eval echo configure:9431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9481 if { (eval echo configure:9482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9431 rm -rf conftest* | 9482 rm -rf conftest* |
9432 eval "ac_cv_func_socket=yes" | 9483 eval "ac_cv_func_socket=yes" |
9433 else | 9484 else |
9434 echo "configure: failed program was:" >&5 | 9485 echo "configure: failed program was:" >&5 |
9435 cat conftest.$ac_ext >&5 | 9486 cat conftest.$ac_ext >&5 |
9440 | 9491 |
9441 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 9492 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
9442 echo "$ac_t""yes" 1>&6 | 9493 echo "$ac_t""yes" 1>&6 |
9443 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 9494 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
9444 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 9495 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
9445 echo "configure:9446: checking for netinet/in.h" >&5 | 9496 echo "configure:9497: checking for netinet/in.h" >&5 |
9446 | 9497 |
9447 cat > conftest.$ac_ext <<EOF | 9498 cat > conftest.$ac_ext <<EOF |
9448 #line 9449 "configure" | 9499 #line 9500 "configure" |
9449 #include "confdefs.h" | 9500 #include "confdefs.h" |
9450 #include <netinet/in.h> | 9501 #include <netinet/in.h> |
9451 EOF | 9502 EOF |
9452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9453 { (eval echo configure:9454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9504 { (eval echo configure:9505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9454 ac_err=`grep -v '^ *+' conftest.out` | 9505 ac_err=`grep -v '^ *+' conftest.out` |
9455 if test -z "$ac_err"; then | 9506 if test -z "$ac_err"; then |
9456 rm -rf conftest* | 9507 rm -rf conftest* |
9457 eval "ac_cv_header_$ac_safe=yes" | 9508 eval "ac_cv_header_$ac_safe=yes" |
9458 else | 9509 else |
9465 rm -f conftest* | 9516 rm -f conftest* |
9466 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9517 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9467 echo "$ac_t""yes" 1>&6 | 9518 echo "$ac_t""yes" 1>&6 |
9468 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 9519 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
9469 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 9520 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
9470 echo "configure:9471: checking for arpa/inet.h" >&5 | 9521 echo "configure:9522: checking for arpa/inet.h" >&5 |
9471 | 9522 |
9472 cat > conftest.$ac_ext <<EOF | 9523 cat > conftest.$ac_ext <<EOF |
9473 #line 9474 "configure" | 9524 #line 9525 "configure" |
9474 #include "confdefs.h" | 9525 #include "confdefs.h" |
9475 #include <arpa/inet.h> | 9526 #include <arpa/inet.h> |
9476 EOF | 9527 EOF |
9477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9478 { (eval echo configure:9479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9529 { (eval echo configure:9530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9479 ac_err=`grep -v '^ *+' conftest.out` | 9530 ac_err=`grep -v '^ *+' conftest.out` |
9480 if test -z "$ac_err"; then | 9531 if test -z "$ac_err"; then |
9481 rm -rf conftest* | 9532 rm -rf conftest* |
9482 eval "ac_cv_header_$ac_safe=yes" | 9533 eval "ac_cv_header_$ac_safe=yes" |
9483 else | 9534 else |
9498 #define HAVE_SOCKETS 1 | 9549 #define HAVE_SOCKETS 1 |
9499 EOF | 9550 EOF |
9500 } | 9551 } |
9501 | 9552 |
9502 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 9553 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
9503 echo "configure:9504: checking "for sun_len member in struct sockaddr_un"" >&5 | 9554 echo "configure:9555: checking "for sun_len member in struct sockaddr_un"" >&5 |
9504 cat > conftest.$ac_ext <<EOF | 9555 cat > conftest.$ac_ext <<EOF |
9505 #line 9506 "configure" | 9556 #line 9557 "configure" |
9506 #include "confdefs.h" | 9557 #include "confdefs.h" |
9507 | 9558 |
9508 #include <sys/types.h> | 9559 #include <sys/types.h> |
9509 #include <sys/socket.h> | 9560 #include <sys/socket.h> |
9510 #include <sys/un.h> | 9561 #include <sys/un.h> |
9511 | 9562 |
9512 int main() { | 9563 int main() { |
9513 static struct sockaddr_un x; x.sun_len = 1; | 9564 static struct sockaddr_un x; x.sun_len = 1; |
9514 ; return 0; } | 9565 ; return 0; } |
9515 EOF | 9566 EOF |
9516 if { (eval echo configure:9517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9567 if { (eval echo configure:9568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9517 rm -rf conftest* | 9568 rm -rf conftest* |
9518 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9569 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9519 Defining HAVE_SOCKADDR_SUN_LEN | 9570 Defining HAVE_SOCKADDR_SUN_LEN |
9520 EOF | 9571 EOF |
9521 cat >> confdefs.h <<\EOF | 9572 cat >> confdefs.h <<\EOF |
9529 rm -rf conftest* | 9580 rm -rf conftest* |
9530 echo "$ac_t""no" 1>&6 | 9581 echo "$ac_t""no" 1>&6 |
9531 fi | 9582 fi |
9532 rm -f conftest* | 9583 rm -f conftest* |
9533 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 9584 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
9534 echo "configure:9535: checking "for ip_mreq struct in netinet/in.h"" >&5 | 9585 echo "configure:9586: checking "for ip_mreq struct in netinet/in.h"" >&5 |
9535 cat > conftest.$ac_ext <<EOF | 9586 cat > conftest.$ac_ext <<EOF |
9536 #line 9537 "configure" | 9587 #line 9588 "configure" |
9537 #include "confdefs.h" | 9588 #include "confdefs.h" |
9538 | 9589 |
9539 #include <sys/types.h> | 9590 #include <sys/types.h> |
9540 #include <netinet/in.h> | 9591 #include <netinet/in.h> |
9541 | 9592 |
9542 int main() { | 9593 int main() { |
9543 static struct ip_mreq x; | 9594 static struct ip_mreq x; |
9544 ; return 0; } | 9595 ; return 0; } |
9545 EOF | 9596 EOF |
9546 if { (eval echo configure:9547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9597 if { (eval echo configure:9598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9547 rm -rf conftest* | 9598 rm -rf conftest* |
9548 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 9599 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
9549 Defining HAVE_MULTICAST | 9600 Defining HAVE_MULTICAST |
9550 EOF | 9601 EOF |
9551 cat >> confdefs.h <<\EOF | 9602 cat >> confdefs.h <<\EOF |
9572 echo "$ac_t""no" 1>&6 | 9623 echo "$ac_t""no" 1>&6 |
9573 fi | 9624 fi |
9574 | 9625 |
9575 | 9626 |
9576 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 9627 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
9577 echo "configure:9578: checking for msgget" >&5 | 9628 echo "configure:9629: checking for msgget" >&5 |
9578 | 9629 |
9579 cat > conftest.$ac_ext <<EOF | 9630 cat > conftest.$ac_ext <<EOF |
9580 #line 9581 "configure" | 9631 #line 9632 "configure" |
9581 #include "confdefs.h" | 9632 #include "confdefs.h" |
9582 /* System header to define __stub macros and hopefully few prototypes, | 9633 /* System header to define __stub macros and hopefully few prototypes, |
9583 which can conflict with char msgget(); below. */ | 9634 which can conflict with char msgget(); below. */ |
9584 #include <assert.h> | 9635 #include <assert.h> |
9585 /* Override any gcc2 internal prototype to avoid an error. */ | 9636 /* Override any gcc2 internal prototype to avoid an error. */ |
9598 msgget(); | 9649 msgget(); |
9599 #endif | 9650 #endif |
9600 | 9651 |
9601 ; return 0; } | 9652 ; return 0; } |
9602 EOF | 9653 EOF |
9603 if { (eval echo configure:9604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9654 if { (eval echo configure:9655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9604 rm -rf conftest* | 9655 rm -rf conftest* |
9605 eval "ac_cv_func_msgget=yes" | 9656 eval "ac_cv_func_msgget=yes" |
9606 else | 9657 else |
9607 echo "configure: failed program was:" >&5 | 9658 echo "configure: failed program was:" >&5 |
9608 cat conftest.$ac_ext >&5 | 9659 cat conftest.$ac_ext >&5 |
9613 | 9664 |
9614 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 9665 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
9615 echo "$ac_t""yes" 1>&6 | 9666 echo "$ac_t""yes" 1>&6 |
9616 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 9667 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
9617 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 9668 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
9618 echo "configure:9619: checking for sys/ipc.h" >&5 | 9669 echo "configure:9670: checking for sys/ipc.h" >&5 |
9619 | 9670 |
9620 cat > conftest.$ac_ext <<EOF | 9671 cat > conftest.$ac_ext <<EOF |
9621 #line 9622 "configure" | 9672 #line 9673 "configure" |
9622 #include "confdefs.h" | 9673 #include "confdefs.h" |
9623 #include <sys/ipc.h> | 9674 #include <sys/ipc.h> |
9624 EOF | 9675 EOF |
9625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9626 { (eval echo configure:9627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9677 { (eval echo configure:9678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9627 ac_err=`grep -v '^ *+' conftest.out` | 9678 ac_err=`grep -v '^ *+' conftest.out` |
9628 if test -z "$ac_err"; then | 9679 if test -z "$ac_err"; then |
9629 rm -rf conftest* | 9680 rm -rf conftest* |
9630 eval "ac_cv_header_$ac_safe=yes" | 9681 eval "ac_cv_header_$ac_safe=yes" |
9631 else | 9682 else |
9638 rm -f conftest* | 9689 rm -f conftest* |
9639 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9690 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9640 echo "$ac_t""yes" 1>&6 | 9691 echo "$ac_t""yes" 1>&6 |
9641 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 9692 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
9642 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 9693 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
9643 echo "configure:9644: checking for sys/msg.h" >&5 | 9694 echo "configure:9695: checking for sys/msg.h" >&5 |
9644 | 9695 |
9645 cat > conftest.$ac_ext <<EOF | 9696 cat > conftest.$ac_ext <<EOF |
9646 #line 9647 "configure" | 9697 #line 9698 "configure" |
9647 #include "confdefs.h" | 9698 #include "confdefs.h" |
9648 #include <sys/msg.h> | 9699 #include <sys/msg.h> |
9649 EOF | 9700 EOF |
9650 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9701 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9651 { (eval echo configure:9652: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9702 { (eval echo configure:9703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9652 ac_err=`grep -v '^ *+' conftest.out` | 9703 ac_err=`grep -v '^ *+' conftest.out` |
9653 if test -z "$ac_err"; then | 9704 if test -z "$ac_err"; then |
9654 rm -rf conftest* | 9705 rm -rf conftest* |
9655 eval "ac_cv_header_$ac_safe=yes" | 9706 eval "ac_cv_header_$ac_safe=yes" |
9656 else | 9707 else |
9684 fi | 9735 fi |
9685 | 9736 |
9686 | 9737 |
9687 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 9738 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
9688 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 9739 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
9689 echo "configure:9690: checking for dirent.h" >&5 | 9740 echo "configure:9741: checking for dirent.h" >&5 |
9690 | 9741 |
9691 cat > conftest.$ac_ext <<EOF | 9742 cat > conftest.$ac_ext <<EOF |
9692 #line 9693 "configure" | 9743 #line 9744 "configure" |
9693 #include "confdefs.h" | 9744 #include "confdefs.h" |
9694 #include <dirent.h> | 9745 #include <dirent.h> |
9695 EOF | 9746 EOF |
9696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9747 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9697 { (eval echo configure:9698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9748 { (eval echo configure:9749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9698 ac_err=`grep -v '^ *+' conftest.out` | 9749 ac_err=`grep -v '^ *+' conftest.out` |
9699 if test -z "$ac_err"; then | 9750 if test -z "$ac_err"; then |
9700 rm -rf conftest* | 9751 rm -rf conftest* |
9701 eval "ac_cv_header_$ac_safe=yes" | 9752 eval "ac_cv_header_$ac_safe=yes" |
9702 else | 9753 else |
9719 | 9770 |
9720 else | 9771 else |
9721 echo "$ac_t""no" 1>&6 | 9772 echo "$ac_t""no" 1>&6 |
9722 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 9773 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
9723 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 9774 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
9724 echo "configure:9725: checking for sys/dir.h" >&5 | 9775 echo "configure:9776: checking for sys/dir.h" >&5 |
9725 | 9776 |
9726 cat > conftest.$ac_ext <<EOF | 9777 cat > conftest.$ac_ext <<EOF |
9727 #line 9728 "configure" | 9778 #line 9779 "configure" |
9728 #include "confdefs.h" | 9779 #include "confdefs.h" |
9729 #include <sys/dir.h> | 9780 #include <sys/dir.h> |
9730 EOF | 9781 EOF |
9731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9732 { (eval echo configure:9733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9783 { (eval echo configure:9784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9733 ac_err=`grep -v '^ *+' conftest.out` | 9784 ac_err=`grep -v '^ *+' conftest.out` |
9734 if test -z "$ac_err"; then | 9785 if test -z "$ac_err"; then |
9735 rm -rf conftest* | 9786 rm -rf conftest* |
9736 eval "ac_cv_header_$ac_safe=yes" | 9787 eval "ac_cv_header_$ac_safe=yes" |
9737 else | 9788 else |
9760 fi | 9811 fi |
9761 | 9812 |
9762 | 9813 |
9763 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 9814 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
9764 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 9815 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
9765 echo "configure:9766: checking for nlist.h" >&5 | 9816 echo "configure:9817: checking for nlist.h" >&5 |
9766 | 9817 |
9767 cat > conftest.$ac_ext <<EOF | 9818 cat > conftest.$ac_ext <<EOF |
9768 #line 9769 "configure" | 9819 #line 9820 "configure" |
9769 #include "confdefs.h" | 9820 #include "confdefs.h" |
9770 #include <nlist.h> | 9821 #include <nlist.h> |
9771 EOF | 9822 EOF |
9772 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9773 { (eval echo configure:9774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9824 { (eval echo configure:9825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9774 ac_err=`grep -v '^ *+' conftest.out` | 9825 ac_err=`grep -v '^ *+' conftest.out` |
9775 if test -z "$ac_err"; then | 9826 if test -z "$ac_err"; then |
9776 rm -rf conftest* | 9827 rm -rf conftest* |
9777 eval "ac_cv_header_$ac_safe=yes" | 9828 eval "ac_cv_header_$ac_safe=yes" |
9778 else | 9829 else |
9798 fi | 9849 fi |
9799 | 9850 |
9800 | 9851 |
9801 | 9852 |
9802 echo "checking "for sound support"" 1>&6 | 9853 echo "checking "for sound support"" 1>&6 |
9803 echo "configure:9804: checking "for sound support"" >&5 | 9854 echo "configure:9855: checking "for sound support"" >&5 |
9804 case "$with_sound" in | 9855 case "$with_sound" in |
9805 native | both ) with_native_sound=yes;; | 9856 native | both ) with_native_sound=yes;; |
9806 nas | no ) with_native_sound=no;; | 9857 nas | no ) with_native_sound=no;; |
9807 esac | 9858 esac |
9808 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 9859 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
9809 | 9860 |
9810 if test "$with_native_sound" != "no"; then | 9861 if test "$with_native_sound" != "no"; then |
9811 if test -n "$native_sound_lib"; then | 9862 if test -n "$native_sound_lib"; then |
9812 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 9863 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
9813 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 9864 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
9814 echo "configure:9815: checking for multimedia/audio_device.h" >&5 | 9865 echo "configure:9866: checking for multimedia/audio_device.h" >&5 |
9815 | 9866 |
9816 cat > conftest.$ac_ext <<EOF | 9867 cat > conftest.$ac_ext <<EOF |
9817 #line 9818 "configure" | 9868 #line 9869 "configure" |
9818 #include "confdefs.h" | 9869 #include "confdefs.h" |
9819 #include <multimedia/audio_device.h> | 9870 #include <multimedia/audio_device.h> |
9820 EOF | 9871 EOF |
9821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9822 { (eval echo configure:9823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9873 { (eval echo configure:9874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9823 ac_err=`grep -v '^ *+' conftest.out` | 9874 ac_err=`grep -v '^ *+' conftest.out` |
9824 if test -z "$ac_err"; then | 9875 if test -z "$ac_err"; then |
9825 rm -rf conftest* | 9876 rm -rf conftest* |
9826 eval "ac_cv_header_$ac_safe=yes" | 9877 eval "ac_cv_header_$ac_safe=yes" |
9827 else | 9878 else |
9865 case "$canonical" in | 9916 case "$canonical" in |
9866 *-sgi-* ) | 9917 *-sgi-* ) |
9867 if test -z "$native_sound_lib"; then | 9918 if test -z "$native_sound_lib"; then |
9868 | 9919 |
9869 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 9920 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
9870 echo "configure:9871: checking for ALopenport in -laudio" >&5 | 9921 echo "configure:9922: checking for ALopenport in -laudio" >&5 |
9871 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 9922 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
9872 | 9923 |
9873 xe_check_libs=" -laudio " | 9924 xe_check_libs=" -laudio " |
9874 cat > conftest.$ac_ext <<EOF | 9925 cat > conftest.$ac_ext <<EOF |
9875 #line 9876 "configure" | 9926 #line 9927 "configure" |
9876 #include "confdefs.h" | 9927 #include "confdefs.h" |
9877 /* Override any gcc2 internal prototype to avoid an error. */ | 9928 /* Override any gcc2 internal prototype to avoid an error. */ |
9878 /* We use char because int might match the return type of a gcc2 | 9929 /* We use char because int might match the return type of a gcc2 |
9879 builtin and then its argument prototype would still apply. */ | 9930 builtin and then its argument prototype would still apply. */ |
9880 char ALopenport(); | 9931 char ALopenport(); |
9881 | 9932 |
9882 int main() { | 9933 int main() { |
9883 ALopenport() | 9934 ALopenport() |
9884 ; return 0; } | 9935 ; return 0; } |
9885 EOF | 9936 EOF |
9886 if { (eval echo configure:9887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9937 if { (eval echo configure:9938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9887 rm -rf conftest* | 9938 rm -rf conftest* |
9888 eval "ac_cv_lib_$ac_lib_var=yes" | 9939 eval "ac_cv_lib_$ac_lib_var=yes" |
9889 else | 9940 else |
9890 echo "configure: failed program was:" >&5 | 9941 echo "configure: failed program was:" >&5 |
9891 cat conftest.$ac_ext >&5 | 9942 cat conftest.$ac_ext >&5 |
9912 fi ;; | 9963 fi ;; |
9913 hppa*-hp-hpux* ) | 9964 hppa*-hp-hpux* ) |
9914 if test -z "$native_sound_lib"; then | 9965 if test -z "$native_sound_lib"; then |
9915 | 9966 |
9916 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 9967 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
9917 echo "configure:9918: checking for AOpenAudio in -lAlib" >&5 | 9968 echo "configure:9969: checking for AOpenAudio in -lAlib" >&5 |
9918 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 9969 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
9919 | 9970 |
9920 xe_check_libs=" -lAlib " | 9971 xe_check_libs=" -lAlib " |
9921 cat > conftest.$ac_ext <<EOF | 9972 cat > conftest.$ac_ext <<EOF |
9922 #line 9923 "configure" | 9973 #line 9974 "configure" |
9923 #include "confdefs.h" | 9974 #include "confdefs.h" |
9924 /* Override any gcc2 internal prototype to avoid an error. */ | 9975 /* Override any gcc2 internal prototype to avoid an error. */ |
9925 /* We use char because int might match the return type of a gcc2 | 9976 /* We use char because int might match the return type of a gcc2 |
9926 builtin and then its argument prototype would still apply. */ | 9977 builtin and then its argument prototype would still apply. */ |
9927 char AOpenAudio(); | 9978 char AOpenAudio(); |
9928 | 9979 |
9929 int main() { | 9980 int main() { |
9930 AOpenAudio() | 9981 AOpenAudio() |
9931 ; return 0; } | 9982 ; return 0; } |
9932 EOF | 9983 EOF |
9933 if { (eval echo configure:9934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 9984 if { (eval echo configure:9985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
9934 rm -rf conftest* | 9985 rm -rf conftest* |
9935 eval "ac_cv_lib_$ac_lib_var=yes" | 9986 eval "ac_cv_lib_$ac_lib_var=yes" |
9936 else | 9987 else |
9937 echo "configure: failed program was:" >&5 | 9988 echo "configure: failed program was:" >&5 |
9938 cat conftest.$ac_ext >&5 | 9989 cat conftest.$ac_ext >&5 |
9966 | 10017 |
9967 if test -z "$sound_found"; then | 10018 if test -z "$sound_found"; then |
9968 for dir in "machine" "sys" "linux"; do | 10019 for dir in "machine" "sys" "linux"; do |
9969 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 10020 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
9970 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 10021 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
9971 echo "configure:9972: checking for ${dir}/soundcard.h" >&5 | 10022 echo "configure:10023: checking for ${dir}/soundcard.h" >&5 |
9972 | 10023 |
9973 cat > conftest.$ac_ext <<EOF | 10024 cat > conftest.$ac_ext <<EOF |
9974 #line 9975 "configure" | 10025 #line 10026 "configure" |
9975 #include "confdefs.h" | 10026 #include "confdefs.h" |
9976 #include <${dir}/soundcard.h> | 10027 #include <${dir}/soundcard.h> |
9977 EOF | 10028 EOF |
9978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10029 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9979 { (eval echo configure:9980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10030 { (eval echo configure:10031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9980 ac_err=`grep -v '^ *+' conftest.out` | 10031 ac_err=`grep -v '^ *+' conftest.out` |
9981 if test -z "$ac_err"; then | 10032 if test -z "$ac_err"; then |
9982 rm -rf conftest* | 10033 rm -rf conftest* |
9983 eval "ac_cv_header_$ac_safe=yes" | 10034 eval "ac_cv_header_$ac_safe=yes" |
9984 else | 10035 else |
10044 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 10095 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10045 echo " xemacs will be linked with \"nas.o\"" | 10096 echo " xemacs will be linked with \"nas.o\"" |
10046 fi | 10097 fi |
10047 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 10098 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10048 cat > conftest.$ac_ext <<EOF | 10099 cat > conftest.$ac_ext <<EOF |
10049 #line 10050 "configure" | 10100 #line 10101 "configure" |
10050 #include "confdefs.h" | 10101 #include "confdefs.h" |
10051 #include <audio/Xtutil.h> | 10102 #include <audio/Xtutil.h> |
10052 EOF | 10103 EOF |
10053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 10104 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10054 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 10105 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10071 | 10122 |
10072 test -z "$with_tty" && with_tty=yes | 10123 test -z "$with_tty" && with_tty=yes |
10073 | 10124 |
10074 if test "$with_tty" = "yes" ; then | 10125 if test "$with_tty" = "yes" ; then |
10075 echo "checking for TTY-related features" 1>&6 | 10126 echo "checking for TTY-related features" 1>&6 |
10076 echo "configure:10077: checking for TTY-related features" >&5 | 10127 echo "configure:10128: checking for TTY-related features" >&5 |
10077 { test "$extra_verbose" = "yes" && cat << \EOF | 10128 { test "$extra_verbose" = "yes" && cat << \EOF |
10078 Defining HAVE_TTY | 10129 Defining HAVE_TTY |
10079 EOF | 10130 EOF |
10080 cat >> confdefs.h <<\EOF | 10131 cat >> confdefs.h <<\EOF |
10081 #define HAVE_TTY 1 | 10132 #define HAVE_TTY 1 |
10087 fi | 10138 fi |
10088 | 10139 |
10089 if test -z "$with_ncurses"; then | 10140 if test -z "$with_ncurses"; then |
10090 | 10141 |
10091 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 10142 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
10092 echo "configure:10093: checking for tgetent in -lncurses" >&5 | 10143 echo "configure:10144: checking for tgetent in -lncurses" >&5 |
10093 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 10144 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
10094 | 10145 |
10095 xe_check_libs=" -lncurses " | 10146 xe_check_libs=" -lncurses " |
10096 cat > conftest.$ac_ext <<EOF | 10147 cat > conftest.$ac_ext <<EOF |
10097 #line 10098 "configure" | 10148 #line 10149 "configure" |
10098 #include "confdefs.h" | 10149 #include "confdefs.h" |
10099 /* Override any gcc2 internal prototype to avoid an error. */ | 10150 /* Override any gcc2 internal prototype to avoid an error. */ |
10100 /* We use char because int might match the return type of a gcc2 | 10151 /* We use char because int might match the return type of a gcc2 |
10101 builtin and then its argument prototype would still apply. */ | 10152 builtin and then its argument prototype would still apply. */ |
10102 char tgetent(); | 10153 char tgetent(); |
10103 | 10154 |
10104 int main() { | 10155 int main() { |
10105 tgetent() | 10156 tgetent() |
10106 ; return 0; } | 10157 ; return 0; } |
10107 EOF | 10158 EOF |
10108 if { (eval echo configure:10109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10159 if { (eval echo configure:10160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10109 rm -rf conftest* | 10160 rm -rf conftest* |
10110 eval "ac_cv_lib_$ac_lib_var=yes" | 10161 eval "ac_cv_lib_$ac_lib_var=yes" |
10111 else | 10162 else |
10112 echo "configure: failed program was:" >&5 | 10163 echo "configure: failed program was:" >&5 |
10113 cat conftest.$ac_ext >&5 | 10164 cat conftest.$ac_ext >&5 |
10136 EOF | 10187 EOF |
10137 } | 10188 } |
10138 | 10189 |
10139 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10190 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10140 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10191 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10141 echo "configure:10142: checking for ncurses/curses.h" >&5 | 10192 echo "configure:10193: checking for ncurses/curses.h" >&5 |
10142 | 10193 |
10143 cat > conftest.$ac_ext <<EOF | 10194 cat > conftest.$ac_ext <<EOF |
10144 #line 10145 "configure" | 10195 #line 10196 "configure" |
10145 #include "confdefs.h" | 10196 #include "confdefs.h" |
10146 #include <ncurses/curses.h> | 10197 #include <ncurses/curses.h> |
10147 EOF | 10198 EOF |
10148 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10149 { (eval echo configure:10150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10200 { (eval echo configure:10201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10150 ac_err=`grep -v '^ *+' conftest.out` | 10201 ac_err=`grep -v '^ *+' conftest.out` |
10151 if test -z "$ac_err"; then | 10202 if test -z "$ac_err"; then |
10152 rm -rf conftest* | 10203 rm -rf conftest* |
10153 eval "ac_cv_header_$ac_safe=yes" | 10204 eval "ac_cv_header_$ac_safe=yes" |
10154 else | 10205 else |
10166 echo "$ac_t""no" 1>&6 | 10217 echo "$ac_t""no" 1>&6 |
10167 fi | 10218 fi |
10168 | 10219 |
10169 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 10220 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
10170 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 10221 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
10171 echo "configure:10172: checking for ncurses/term.h" >&5 | 10222 echo "configure:10223: checking for ncurses/term.h" >&5 |
10172 | 10223 |
10173 cat > conftest.$ac_ext <<EOF | 10224 cat > conftest.$ac_ext <<EOF |
10174 #line 10175 "configure" | 10225 #line 10226 "configure" |
10175 #include "confdefs.h" | 10226 #include "confdefs.h" |
10176 #include <ncurses/term.h> | 10227 #include <ncurses/term.h> |
10177 EOF | 10228 EOF |
10178 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10179 { (eval echo configure:10180: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10230 { (eval echo configure:10231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10180 ac_err=`grep -v '^ *+' conftest.out` | 10231 ac_err=`grep -v '^ *+' conftest.out` |
10181 if test -z "$ac_err"; then | 10232 if test -z "$ac_err"; then |
10182 rm -rf conftest* | 10233 rm -rf conftest* |
10183 eval "ac_cv_header_$ac_safe=yes" | 10234 eval "ac_cv_header_$ac_safe=yes" |
10184 else | 10235 else |
10204 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 10255 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
10205 save_c_switch_site="$c_switch_site" | 10256 save_c_switch_site="$c_switch_site" |
10206 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 10257 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
10207 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 10258 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
10208 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 10259 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
10209 echo "configure:10210: checking for ncurses/curses.h" >&5 | 10260 echo "configure:10261: checking for ncurses/curses.h" >&5 |
10210 | 10261 |
10211 cat > conftest.$ac_ext <<EOF | 10262 cat > conftest.$ac_ext <<EOF |
10212 #line 10213 "configure" | 10263 #line 10264 "configure" |
10213 #include "confdefs.h" | 10264 #include "confdefs.h" |
10214 #include <ncurses/curses.h> | 10265 #include <ncurses/curses.h> |
10215 EOF | 10266 EOF |
10216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10217 { (eval echo configure:10218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10268 { (eval echo configure:10269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10218 ac_err=`grep -v '^ *+' conftest.out` | 10269 ac_err=`grep -v '^ *+' conftest.out` |
10219 if test -z "$ac_err"; then | 10270 if test -z "$ac_err"; then |
10220 rm -rf conftest* | 10271 rm -rf conftest* |
10221 eval "ac_cv_header_$ac_safe=yes" | 10272 eval "ac_cv_header_$ac_safe=yes" |
10222 else | 10273 else |
10247 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10298 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10248 else | 10299 else |
10249 for lib in curses termlib termcap; do | 10300 for lib in curses termlib termcap; do |
10250 | 10301 |
10251 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 10302 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
10252 echo "configure:10253: checking for tgetent in -l$lib" >&5 | 10303 echo "configure:10304: checking for tgetent in -l$lib" >&5 |
10253 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 10304 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
10254 | 10305 |
10255 xe_check_libs=" -l$lib " | 10306 xe_check_libs=" -l$lib " |
10256 cat > conftest.$ac_ext <<EOF | 10307 cat > conftest.$ac_ext <<EOF |
10257 #line 10258 "configure" | 10308 #line 10309 "configure" |
10258 #include "confdefs.h" | 10309 #include "confdefs.h" |
10259 /* Override any gcc2 internal prototype to avoid an error. */ | 10310 /* Override any gcc2 internal prototype to avoid an error. */ |
10260 /* We use char because int might match the return type of a gcc2 | 10311 /* We use char because int might match the return type of a gcc2 |
10261 builtin and then its argument prototype would still apply. */ | 10312 builtin and then its argument prototype would still apply. */ |
10262 char tgetent(); | 10313 char tgetent(); |
10263 | 10314 |
10264 int main() { | 10315 int main() { |
10265 tgetent() | 10316 tgetent() |
10266 ; return 0; } | 10317 ; return 0; } |
10267 EOF | 10318 EOF |
10268 if { (eval echo configure:10269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10319 if { (eval echo configure:10320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10269 rm -rf conftest* | 10320 rm -rf conftest* |
10270 eval "ac_cv_lib_$ac_lib_var=yes" | 10321 eval "ac_cv_lib_$ac_lib_var=yes" |
10271 else | 10322 else |
10272 echo "configure: failed program was:" >&5 | 10323 echo "configure: failed program was:" >&5 |
10273 cat conftest.$ac_ext >&5 | 10324 cat conftest.$ac_ext >&5 |
10294 if test -n "$libs_termcap"; then | 10345 if test -n "$libs_termcap"; then |
10295 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 10346 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
10296 else | 10347 else |
10297 | 10348 |
10298 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 10349 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
10299 echo "configure:10300: checking for tgetent in -lcurses" >&5 | 10350 echo "configure:10351: checking for tgetent in -lcurses" >&5 |
10300 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 10351 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
10301 | 10352 |
10302 xe_check_libs=" -lcurses " | 10353 xe_check_libs=" -lcurses " |
10303 cat > conftest.$ac_ext <<EOF | 10354 cat > conftest.$ac_ext <<EOF |
10304 #line 10305 "configure" | 10355 #line 10356 "configure" |
10305 #include "confdefs.h" | 10356 #include "confdefs.h" |
10306 /* Override any gcc2 internal prototype to avoid an error. */ | 10357 /* Override any gcc2 internal prototype to avoid an error. */ |
10307 /* We use char because int might match the return type of a gcc2 | 10358 /* We use char because int might match the return type of a gcc2 |
10308 builtin and then its argument prototype would still apply. */ | 10359 builtin and then its argument prototype would still apply. */ |
10309 char tgetent(); | 10360 char tgetent(); |
10310 | 10361 |
10311 int main() { | 10362 int main() { |
10312 tgetent() | 10363 tgetent() |
10313 ; return 0; } | 10364 ; return 0; } |
10314 EOF | 10365 EOF |
10315 if { (eval echo configure:10316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10366 if { (eval echo configure:10367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10316 rm -rf conftest* | 10367 rm -rf conftest* |
10317 eval "ac_cv_lib_$ac_lib_var=yes" | 10368 eval "ac_cv_lib_$ac_lib_var=yes" |
10318 else | 10369 else |
10319 echo "configure: failed program was:" >&5 | 10370 echo "configure: failed program was:" >&5 |
10320 cat conftest.$ac_ext >&5 | 10371 cat conftest.$ac_ext >&5 |
10328 echo "$ac_t""yes" 1>&6 | 10379 echo "$ac_t""yes" 1>&6 |
10329 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 10380 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
10330 else | 10381 else |
10331 echo "$ac_t""no" 1>&6 | 10382 echo "$ac_t""no" 1>&6 |
10332 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 10383 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
10333 echo "configure:10334: checking for tgetent in -ltermcap" >&5 | 10384 echo "configure:10385: checking for tgetent in -ltermcap" >&5 |
10334 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 10385 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
10335 | 10386 |
10336 xe_check_libs=" -ltermcap " | 10387 xe_check_libs=" -ltermcap " |
10337 cat > conftest.$ac_ext <<EOF | 10388 cat > conftest.$ac_ext <<EOF |
10338 #line 10339 "configure" | 10389 #line 10390 "configure" |
10339 #include "confdefs.h" | 10390 #include "confdefs.h" |
10340 /* Override any gcc2 internal prototype to avoid an error. */ | 10391 /* Override any gcc2 internal prototype to avoid an error. */ |
10341 /* We use char because int might match the return type of a gcc2 | 10392 /* We use char because int might match the return type of a gcc2 |
10342 builtin and then its argument prototype would still apply. */ | 10393 builtin and then its argument prototype would still apply. */ |
10343 char tgetent(); | 10394 char tgetent(); |
10344 | 10395 |
10345 int main() { | 10396 int main() { |
10346 tgetent() | 10397 tgetent() |
10347 ; return 0; } | 10398 ; return 0; } |
10348 EOF | 10399 EOF |
10349 if { (eval echo configure:10350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10400 if { (eval echo configure:10401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10350 rm -rf conftest* | 10401 rm -rf conftest* |
10351 eval "ac_cv_lib_$ac_lib_var=yes" | 10402 eval "ac_cv_lib_$ac_lib_var=yes" |
10352 else | 10403 else |
10353 echo "configure: failed program was:" >&5 | 10404 echo "configure: failed program was:" >&5 |
10354 cat conftest.$ac_ext >&5 | 10405 cat conftest.$ac_ext >&5 |
10392 } | 10443 } |
10393 | 10444 |
10394 | 10445 |
10395 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 10446 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
10396 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 10447 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
10397 echo "configure:10398: checking for gpm.h" >&5 | 10448 echo "configure:10449: checking for gpm.h" >&5 |
10398 | 10449 |
10399 cat > conftest.$ac_ext <<EOF | 10450 cat > conftest.$ac_ext <<EOF |
10400 #line 10401 "configure" | 10451 #line 10452 "configure" |
10401 #include "confdefs.h" | 10452 #include "confdefs.h" |
10402 #include <gpm.h> | 10453 #include <gpm.h> |
10403 EOF | 10454 EOF |
10404 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10405 { (eval echo configure:10406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10456 { (eval echo configure:10457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10406 ac_err=`grep -v '^ *+' conftest.out` | 10457 ac_err=`grep -v '^ *+' conftest.out` |
10407 if test -z "$ac_err"; then | 10458 if test -z "$ac_err"; then |
10408 rm -rf conftest* | 10459 rm -rf conftest* |
10409 eval "ac_cv_header_$ac_safe=yes" | 10460 eval "ac_cv_header_$ac_safe=yes" |
10410 else | 10461 else |
10423 with_gpm=no | 10474 with_gpm=no |
10424 fi | 10475 fi |
10425 } | 10476 } |
10426 test -z "$with_gpm" && { | 10477 test -z "$with_gpm" && { |
10427 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 10478 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
10428 echo "configure:10429: checking for Gpm_Open in -lgpm" >&5 | 10479 echo "configure:10480: checking for Gpm_Open in -lgpm" >&5 |
10429 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 10480 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
10430 | 10481 |
10431 xe_check_libs=" -lgpm " | 10482 xe_check_libs=" -lgpm " |
10432 cat > conftest.$ac_ext <<EOF | 10483 cat > conftest.$ac_ext <<EOF |
10433 #line 10434 "configure" | 10484 #line 10485 "configure" |
10434 #include "confdefs.h" | 10485 #include "confdefs.h" |
10435 /* Override any gcc2 internal prototype to avoid an error. */ | 10486 /* Override any gcc2 internal prototype to avoid an error. */ |
10436 /* We use char because int might match the return type of a gcc2 | 10487 /* We use char because int might match the return type of a gcc2 |
10437 builtin and then its argument prototype would still apply. */ | 10488 builtin and then its argument prototype would still apply. */ |
10438 char Gpm_Open(); | 10489 char Gpm_Open(); |
10439 | 10490 |
10440 int main() { | 10491 int main() { |
10441 Gpm_Open() | 10492 Gpm_Open() |
10442 ; return 0; } | 10493 ; return 0; } |
10443 EOF | 10494 EOF |
10444 if { (eval echo configure:10445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10495 if { (eval echo configure:10496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10445 rm -rf conftest* | 10496 rm -rf conftest* |
10446 eval "ac_cv_lib_$ac_lib_var=yes" | 10497 eval "ac_cv_lib_$ac_lib_var=yes" |
10447 else | 10498 else |
10448 echo "configure: failed program was:" >&5 | 10499 echo "configure: failed program was:" >&5 |
10449 cat conftest.$ac_ext >&5 | 10500 cat conftest.$ac_ext >&5 |
10488 echo " xemacs will be linked with \"event-unixoid.o\"" | 10539 echo " xemacs will be linked with \"event-unixoid.o\"" |
10489 fi | 10540 fi |
10490 | 10541 |
10491 | 10542 |
10492 echo "checking for database support" 1>&6 | 10543 echo "checking for database support" 1>&6 |
10493 echo "configure:10494: checking for database support" >&5 | 10544 echo "configure:10545: checking for database support" >&5 |
10494 | 10545 |
10495 if test "$with_database_gnudbm" != "no"; then | 10546 if test "$with_database_gnudbm" != "no"; then |
10496 for ac_hdr in ndbm.h | 10547 for ac_hdr in ndbm.h |
10497 do | 10548 do |
10498 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10549 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10499 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10500 echo "configure:10501: checking for $ac_hdr" >&5 | 10551 echo "configure:10552: checking for $ac_hdr" >&5 |
10501 | 10552 |
10502 cat > conftest.$ac_ext <<EOF | 10553 cat > conftest.$ac_ext <<EOF |
10503 #line 10504 "configure" | 10554 #line 10555 "configure" |
10504 #include "confdefs.h" | 10555 #include "confdefs.h" |
10505 #include <$ac_hdr> | 10556 #include <$ac_hdr> |
10506 EOF | 10557 EOF |
10507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10508 { (eval echo configure:10509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10559 { (eval echo configure:10560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10509 ac_err=`grep -v '^ *+' conftest.out` | 10560 ac_err=`grep -v '^ *+' conftest.out` |
10510 if test -z "$ac_err"; then | 10561 if test -z "$ac_err"; then |
10511 rm -rf conftest* | 10562 rm -rf conftest* |
10512 eval "ac_cv_header_$ac_safe=yes" | 10563 eval "ac_cv_header_$ac_safe=yes" |
10513 else | 10564 else |
10535 done | 10586 done |
10536 | 10587 |
10537 if test "$have_ndbm_h" = "yes"; then | 10588 if test "$have_ndbm_h" = "yes"; then |
10538 | 10589 |
10539 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 10590 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
10540 echo "configure:10541: checking for dbm_open in -lgdbm" >&5 | 10591 echo "configure:10592: checking for dbm_open in -lgdbm" >&5 |
10541 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10592 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10542 | 10593 |
10543 xe_check_libs=" -lgdbm " | 10594 xe_check_libs=" -lgdbm " |
10544 cat > conftest.$ac_ext <<EOF | 10595 cat > conftest.$ac_ext <<EOF |
10545 #line 10546 "configure" | 10596 #line 10597 "configure" |
10546 #include "confdefs.h" | 10597 #include "confdefs.h" |
10547 /* Override any gcc2 internal prototype to avoid an error. */ | 10598 /* Override any gcc2 internal prototype to avoid an error. */ |
10548 /* We use char because int might match the return type of a gcc2 | 10599 /* We use char because int might match the return type of a gcc2 |
10549 builtin and then its argument prototype would still apply. */ | 10600 builtin and then its argument prototype would still apply. */ |
10550 char dbm_open(); | 10601 char dbm_open(); |
10551 | 10602 |
10552 int main() { | 10603 int main() { |
10553 dbm_open() | 10604 dbm_open() |
10554 ; return 0; } | 10605 ; return 0; } |
10555 EOF | 10606 EOF |
10556 if { (eval echo configure:10557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10607 if { (eval echo configure:10608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10557 rm -rf conftest* | 10608 rm -rf conftest* |
10558 eval "ac_cv_lib_$ac_lib_var=yes" | 10609 eval "ac_cv_lib_$ac_lib_var=yes" |
10559 else | 10610 else |
10560 echo "configure: failed program was:" >&5 | 10611 echo "configure: failed program was:" >&5 |
10561 cat conftest.$ac_ext >&5 | 10612 cat conftest.$ac_ext >&5 |
10574 | 10625 |
10575 | 10626 |
10576 fi | 10627 fi |
10577 if test "$with_database_gnudbm" != "yes"; then | 10628 if test "$with_database_gnudbm" != "yes"; then |
10578 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10629 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10579 echo "configure:10580: checking for dbm_open" >&5 | 10630 echo "configure:10631: checking for dbm_open" >&5 |
10580 | 10631 |
10581 cat > conftest.$ac_ext <<EOF | 10632 cat > conftest.$ac_ext <<EOF |
10582 #line 10583 "configure" | 10633 #line 10634 "configure" |
10583 #include "confdefs.h" | 10634 #include "confdefs.h" |
10584 /* System header to define __stub macros and hopefully few prototypes, | 10635 /* System header to define __stub macros and hopefully few prototypes, |
10585 which can conflict with char dbm_open(); below. */ | 10636 which can conflict with char dbm_open(); below. */ |
10586 #include <assert.h> | 10637 #include <assert.h> |
10587 /* Override any gcc2 internal prototype to avoid an error. */ | 10638 /* Override any gcc2 internal prototype to avoid an error. */ |
10600 dbm_open(); | 10651 dbm_open(); |
10601 #endif | 10652 #endif |
10602 | 10653 |
10603 ; return 0; } | 10654 ; return 0; } |
10604 EOF | 10655 EOF |
10605 if { (eval echo configure:10606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10656 if { (eval echo configure:10657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10606 rm -rf conftest* | 10657 rm -rf conftest* |
10607 eval "ac_cv_func_dbm_open=yes" | 10658 eval "ac_cv_func_dbm_open=yes" |
10608 else | 10659 else |
10609 echo "configure: failed program was:" >&5 | 10660 echo "configure: failed program was:" >&5 |
10610 cat conftest.$ac_ext >&5 | 10661 cat conftest.$ac_ext >&5 |
10636 fi | 10687 fi |
10637 fi | 10688 fi |
10638 | 10689 |
10639 if test "$with_database_dbm" != "no"; then | 10690 if test "$with_database_dbm" != "no"; then |
10640 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 10691 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
10641 echo "configure:10642: checking for dbm_open" >&5 | 10692 echo "configure:10693: checking for dbm_open" >&5 |
10642 | 10693 |
10643 cat > conftest.$ac_ext <<EOF | 10694 cat > conftest.$ac_ext <<EOF |
10644 #line 10645 "configure" | 10695 #line 10696 "configure" |
10645 #include "confdefs.h" | 10696 #include "confdefs.h" |
10646 /* System header to define __stub macros and hopefully few prototypes, | 10697 /* System header to define __stub macros and hopefully few prototypes, |
10647 which can conflict with char dbm_open(); below. */ | 10698 which can conflict with char dbm_open(); below. */ |
10648 #include <assert.h> | 10699 #include <assert.h> |
10649 /* Override any gcc2 internal prototype to avoid an error. */ | 10700 /* Override any gcc2 internal prototype to avoid an error. */ |
10662 dbm_open(); | 10713 dbm_open(); |
10663 #endif | 10714 #endif |
10664 | 10715 |
10665 ; return 0; } | 10716 ; return 0; } |
10666 EOF | 10717 EOF |
10667 if { (eval echo configure:10668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10718 if { (eval echo configure:10719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10668 rm -rf conftest* | 10719 rm -rf conftest* |
10669 eval "ac_cv_func_dbm_open=yes" | 10720 eval "ac_cv_func_dbm_open=yes" |
10670 else | 10721 else |
10671 echo "configure: failed program was:" >&5 | 10722 echo "configure: failed program was:" >&5 |
10672 cat conftest.$ac_ext >&5 | 10723 cat conftest.$ac_ext >&5 |
10683 fi | 10734 fi |
10684 | 10735 |
10685 if test "$need_libdbm" != "no"; then | 10736 if test "$need_libdbm" != "no"; then |
10686 | 10737 |
10687 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 10738 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
10688 echo "configure:10689: checking for dbm_open in -ldbm" >&5 | 10739 echo "configure:10740: checking for dbm_open in -ldbm" >&5 |
10689 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 10740 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
10690 | 10741 |
10691 xe_check_libs=" -ldbm " | 10742 xe_check_libs=" -ldbm " |
10692 cat > conftest.$ac_ext <<EOF | 10743 cat > conftest.$ac_ext <<EOF |
10693 #line 10694 "configure" | 10744 #line 10745 "configure" |
10694 #include "confdefs.h" | 10745 #include "confdefs.h" |
10695 /* Override any gcc2 internal prototype to avoid an error. */ | 10746 /* Override any gcc2 internal prototype to avoid an error. */ |
10696 /* We use char because int might match the return type of a gcc2 | 10747 /* We use char because int might match the return type of a gcc2 |
10697 builtin and then its argument prototype would still apply. */ | 10748 builtin and then its argument prototype would still apply. */ |
10698 char dbm_open(); | 10749 char dbm_open(); |
10699 | 10750 |
10700 int main() { | 10751 int main() { |
10701 dbm_open() | 10752 dbm_open() |
10702 ; return 0; } | 10753 ; return 0; } |
10703 EOF | 10754 EOF |
10704 if { (eval echo configure:10705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10755 if { (eval echo configure:10756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10705 rm -rf conftest* | 10756 rm -rf conftest* |
10706 eval "ac_cv_lib_$ac_lib_var=yes" | 10757 eval "ac_cv_lib_$ac_lib_var=yes" |
10707 else | 10758 else |
10708 echo "configure: failed program was:" >&5 | 10759 echo "configure: failed program was:" >&5 |
10709 cat conftest.$ac_ext >&5 | 10760 cat conftest.$ac_ext >&5 |
10736 fi | 10787 fi |
10737 fi | 10788 fi |
10738 | 10789 |
10739 if test "$with_database_berkdb" != "no"; then | 10790 if test "$with_database_berkdb" != "no"; then |
10740 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 10791 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
10741 echo "configure:10742: checking for Berkeley db.h" >&5 | 10792 echo "configure:10793: checking for Berkeley db.h" >&5 |
10742 for path in "db/db.h" "db.h"; do | 10793 for path in "db/db.h" "db.h"; do |
10743 cat > conftest.$ac_ext <<EOF | 10794 cat > conftest.$ac_ext <<EOF |
10744 #line 10745 "configure" | 10795 #line 10796 "configure" |
10745 #include "confdefs.h" | 10796 #include "confdefs.h" |
10746 #ifdef HAVE_INTTYPES_H | 10797 #ifdef HAVE_INTTYPES_H |
10747 #define __BIT_TYPES_DEFINED__ | 10798 #define __BIT_TYPES_DEFINED__ |
10748 #include <inttypes.h> | 10799 #include <inttypes.h> |
10749 typedef uint8_t u_int8_t; | 10800 typedef uint8_t u_int8_t; |
10757 | 10808 |
10758 int main() { | 10809 int main() { |
10759 | 10810 |
10760 ; return 0; } | 10811 ; return 0; } |
10761 EOF | 10812 EOF |
10762 if { (eval echo configure:10763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10813 if { (eval echo configure:10814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10763 rm -rf conftest* | 10814 rm -rf conftest* |
10764 db_h_path="$path"; break | 10815 db_h_path="$path"; break |
10765 else | 10816 else |
10766 echo "configure: failed program was:" >&5 | 10817 echo "configure: failed program was:" >&5 |
10767 cat conftest.$ac_ext >&5 | 10818 cat conftest.$ac_ext >&5 |
10773 else echo "$ac_t""$db_h_path" 1>&6 | 10824 else echo "$ac_t""$db_h_path" 1>&6 |
10774 fi | 10825 fi |
10775 | 10826 |
10776 if test "$with_database_berkdb" != "no"; then | 10827 if test "$with_database_berkdb" != "no"; then |
10777 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 10828 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
10778 echo "configure:10779: checking for Berkeley DB version" >&5 | 10829 echo "configure:10830: checking for Berkeley DB version" >&5 |
10779 cat > conftest.$ac_ext <<EOF | 10830 cat > conftest.$ac_ext <<EOF |
10780 #line 10781 "configure" | 10831 #line 10832 "configure" |
10781 #include "confdefs.h" | 10832 #include "confdefs.h" |
10782 #include <$db_h_path> | 10833 #include <$db_h_path> |
10783 #if DB_VERSION_MAJOR > 1 | 10834 #if DB_VERSION_MAJOR > 1 |
10784 yes | 10835 yes |
10785 #endif | 10836 #endif |
10794 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 10845 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
10795 fi | 10846 fi |
10796 rm -f conftest* | 10847 rm -f conftest* |
10797 | 10848 |
10798 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 10849 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
10799 echo "configure:10800: checking for $dbfunc" >&5 | 10850 echo "configure:10851: checking for $dbfunc" >&5 |
10800 | 10851 |
10801 cat > conftest.$ac_ext <<EOF | 10852 cat > conftest.$ac_ext <<EOF |
10802 #line 10803 "configure" | 10853 #line 10854 "configure" |
10803 #include "confdefs.h" | 10854 #include "confdefs.h" |
10804 /* System header to define __stub macros and hopefully few prototypes, | 10855 /* System header to define __stub macros and hopefully few prototypes, |
10805 which can conflict with char $dbfunc(); below. */ | 10856 which can conflict with char $dbfunc(); below. */ |
10806 #include <assert.h> | 10857 #include <assert.h> |
10807 /* Override any gcc2 internal prototype to avoid an error. */ | 10858 /* Override any gcc2 internal prototype to avoid an error. */ |
10820 $dbfunc(); | 10871 $dbfunc(); |
10821 #endif | 10872 #endif |
10822 | 10873 |
10823 ; return 0; } | 10874 ; return 0; } |
10824 EOF | 10875 EOF |
10825 if { (eval echo configure:10826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10876 if { (eval echo configure:10877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10826 rm -rf conftest* | 10877 rm -rf conftest* |
10827 eval "ac_cv_func_$dbfunc=yes" | 10878 eval "ac_cv_func_$dbfunc=yes" |
10828 else | 10879 else |
10829 echo "configure: failed program was:" >&5 | 10880 echo "configure: failed program was:" >&5 |
10830 cat conftest.$ac_ext >&5 | 10881 cat conftest.$ac_ext >&5 |
10839 else | 10890 else |
10840 echo "$ac_t""no" 1>&6 | 10891 echo "$ac_t""no" 1>&6 |
10841 | 10892 |
10842 | 10893 |
10843 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 10894 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
10844 echo "configure:10845: checking for $dbfunc in -ldb" >&5 | 10895 echo "configure:10896: checking for $dbfunc in -ldb" >&5 |
10845 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 10896 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
10846 | 10897 |
10847 xe_check_libs=" -ldb " | 10898 xe_check_libs=" -ldb " |
10848 cat > conftest.$ac_ext <<EOF | 10899 cat > conftest.$ac_ext <<EOF |
10849 #line 10850 "configure" | 10900 #line 10901 "configure" |
10850 #include "confdefs.h" | 10901 #include "confdefs.h" |
10851 /* Override any gcc2 internal prototype to avoid an error. */ | 10902 /* Override any gcc2 internal prototype to avoid an error. */ |
10852 /* We use char because int might match the return type of a gcc2 | 10903 /* We use char because int might match the return type of a gcc2 |
10853 builtin and then its argument prototype would still apply. */ | 10904 builtin and then its argument prototype would still apply. */ |
10854 char $dbfunc(); | 10905 char $dbfunc(); |
10855 | 10906 |
10856 int main() { | 10907 int main() { |
10857 $dbfunc() | 10908 $dbfunc() |
10858 ; return 0; } | 10909 ; return 0; } |
10859 EOF | 10910 EOF |
10860 if { (eval echo configure:10861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10911 if { (eval echo configure:10912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10861 rm -rf conftest* | 10912 rm -rf conftest* |
10862 eval "ac_cv_lib_$ac_lib_var=yes" | 10913 eval "ac_cv_lib_$ac_lib_var=yes" |
10863 else | 10914 else |
10864 echo "configure: failed program was:" >&5 | 10915 echo "configure: failed program was:" >&5 |
10865 cat conftest.$ac_ext >&5 | 10916 cat conftest.$ac_ext >&5 |
10919 fi | 10970 fi |
10920 | 10971 |
10921 if test "$with_socks" = "yes"; then | 10972 if test "$with_socks" = "yes"; then |
10922 | 10973 |
10923 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 10974 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
10924 echo "configure:10925: checking for SOCKSinit in -lsocks" >&5 | 10975 echo "configure:10976: checking for SOCKSinit in -lsocks" >&5 |
10925 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 10976 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
10926 | 10977 |
10927 xe_check_libs=" -lsocks " | 10978 xe_check_libs=" -lsocks " |
10928 cat > conftest.$ac_ext <<EOF | 10979 cat > conftest.$ac_ext <<EOF |
10929 #line 10930 "configure" | 10980 #line 10981 "configure" |
10930 #include "confdefs.h" | 10981 #include "confdefs.h" |
10931 /* Override any gcc2 internal prototype to avoid an error. */ | 10982 /* Override any gcc2 internal prototype to avoid an error. */ |
10932 /* We use char because int might match the return type of a gcc2 | 10983 /* We use char because int might match the return type of a gcc2 |
10933 builtin and then its argument prototype would still apply. */ | 10984 builtin and then its argument prototype would still apply. */ |
10934 char SOCKSinit(); | 10985 char SOCKSinit(); |
10935 | 10986 |
10936 int main() { | 10987 int main() { |
10937 SOCKSinit() | 10988 SOCKSinit() |
10938 ; return 0; } | 10989 ; return 0; } |
10939 EOF | 10990 EOF |
10940 if { (eval echo configure:10941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 10991 if { (eval echo configure:10992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
10941 rm -rf conftest* | 10992 rm -rf conftest* |
10942 eval "ac_cv_lib_$ac_lib_var=yes" | 10993 eval "ac_cv_lib_$ac_lib_var=yes" |
10943 else | 10994 else |
10944 echo "configure: failed program was:" >&5 | 10995 echo "configure: failed program was:" >&5 |
10945 cat conftest.$ac_ext >&5 | 10996 cat conftest.$ac_ext >&5 |
10992 | 11043 |
10993 for ac_hdr in dlfcn.h | 11044 for ac_hdr in dlfcn.h |
10994 do | 11045 do |
10995 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11046 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10996 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11047 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10997 echo "configure:10998: checking for $ac_hdr" >&5 | 11048 echo "configure:11049: checking for $ac_hdr" >&5 |
10998 | 11049 |
10999 cat > conftest.$ac_ext <<EOF | 11050 cat > conftest.$ac_ext <<EOF |
11000 #line 11001 "configure" | 11051 #line 11052 "configure" |
11001 #include "confdefs.h" | 11052 #include "confdefs.h" |
11002 #include <$ac_hdr> | 11053 #include <$ac_hdr> |
11003 EOF | 11054 EOF |
11004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11005 { (eval echo configure:11006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11056 { (eval echo configure:11057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11006 ac_err=`grep -v '^ *+' conftest.out` | 11057 ac_err=`grep -v '^ *+' conftest.out` |
11007 if test -z "$ac_err"; then | 11058 if test -z "$ac_err"; then |
11008 rm -rf conftest* | 11059 rm -rf conftest* |
11009 eval "ac_cv_header_$ac_safe=yes" | 11060 eval "ac_cv_header_$ac_safe=yes" |
11010 else | 11061 else |
11031 fi | 11082 fi |
11032 done | 11083 done |
11033 | 11084 |
11034 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11085 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11035 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 11086 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11036 echo "configure:11037: checking for dlopen in -ldl" >&5 | 11087 echo "configure:11088: checking for dlopen in -ldl" >&5 |
11037 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 11088 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11038 | 11089 |
11039 xe_check_libs=" -ldl " | 11090 xe_check_libs=" -ldl " |
11040 cat > conftest.$ac_ext <<EOF | 11091 cat > conftest.$ac_ext <<EOF |
11041 #line 11042 "configure" | 11092 #line 11093 "configure" |
11042 #include "confdefs.h" | 11093 #include "confdefs.h" |
11043 /* Override any gcc2 internal prototype to avoid an error. */ | 11094 /* Override any gcc2 internal prototype to avoid an error. */ |
11044 /* We use char because int might match the return type of a gcc2 | 11095 /* We use char because int might match the return type of a gcc2 |
11045 builtin and then its argument prototype would still apply. */ | 11096 builtin and then its argument prototype would still apply. */ |
11046 char dlopen(); | 11097 char dlopen(); |
11047 | 11098 |
11048 int main() { | 11099 int main() { |
11049 dlopen() | 11100 dlopen() |
11050 ; return 0; } | 11101 ; return 0; } |
11051 EOF | 11102 EOF |
11052 if { (eval echo configure:11053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11103 if { (eval echo configure:11104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11053 rm -rf conftest* | 11104 rm -rf conftest* |
11054 eval "ac_cv_lib_$ac_lib_var=yes" | 11105 eval "ac_cv_lib_$ac_lib_var=yes" |
11055 else | 11106 else |
11056 echo "configure: failed program was:" >&5 | 11107 echo "configure: failed program was:" >&5 |
11057 cat conftest.$ac_ext >&5 | 11108 cat conftest.$ac_ext >&5 |
11076 fi | 11127 fi |
11077 | 11128 |
11078 } | 11129 } |
11079 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11130 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11080 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 | 11131 echo $ac_n "checking for _dlopen in -lc""... $ac_c" 1>&6 |
11081 echo "configure:11082: checking for _dlopen in -lc" >&5 | 11132 echo "configure:11133: checking for _dlopen in -lc" >&5 |
11082 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` | 11133 ac_lib_var=`echo c'_'_dlopen | sed 'y%./+-%__p_%'` |
11083 | 11134 |
11084 xe_check_libs=" -lc " | 11135 xe_check_libs=" -lc " |
11085 cat > conftest.$ac_ext <<EOF | 11136 cat > conftest.$ac_ext <<EOF |
11086 #line 11087 "configure" | 11137 #line 11138 "configure" |
11087 #include "confdefs.h" | 11138 #include "confdefs.h" |
11088 /* Override any gcc2 internal prototype to avoid an error. */ | 11139 /* Override any gcc2 internal prototype to avoid an error. */ |
11089 /* We use char because int might match the return type of a gcc2 | 11140 /* We use char because int might match the return type of a gcc2 |
11090 builtin and then its argument prototype would still apply. */ | 11141 builtin and then its argument prototype would still apply. */ |
11091 char _dlopen(); | 11142 char _dlopen(); |
11092 | 11143 |
11093 int main() { | 11144 int main() { |
11094 _dlopen() | 11145 _dlopen() |
11095 ; return 0; } | 11146 ; return 0; } |
11096 EOF | 11147 EOF |
11097 if { (eval echo configure:11098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11148 if { (eval echo configure:11149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11098 rm -rf conftest* | 11149 rm -rf conftest* |
11099 eval "ac_cv_lib_$ac_lib_var=yes" | 11150 eval "ac_cv_lib_$ac_lib_var=yes" |
11100 else | 11151 else |
11101 echo "configure: failed program was:" >&5 | 11152 echo "configure: failed program was:" >&5 |
11102 cat conftest.$ac_ext >&5 | 11153 cat conftest.$ac_ext >&5 |
11121 fi | 11172 fi |
11122 | 11173 |
11123 } | 11174 } |
11124 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { | 11175 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { |
11125 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 11176 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
11126 echo "configure:11127: checking for dlopen in -lc" >&5 | 11177 echo "configure:11178: checking for dlopen in -lc" >&5 |
11127 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 11178 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
11128 | 11179 |
11129 xe_check_libs=" -lc " | 11180 xe_check_libs=" -lc " |
11130 cat > conftest.$ac_ext <<EOF | 11181 cat > conftest.$ac_ext <<EOF |
11131 #line 11132 "configure" | 11182 #line 11183 "configure" |
11132 #include "confdefs.h" | 11183 #include "confdefs.h" |
11133 /* Override any gcc2 internal prototype to avoid an error. */ | 11184 /* Override any gcc2 internal prototype to avoid an error. */ |
11134 /* We use char because int might match the return type of a gcc2 | 11185 /* We use char because int might match the return type of a gcc2 |
11135 builtin and then its argument prototype would still apply. */ | 11186 builtin and then its argument prototype would still apply. */ |
11136 char dlopen(); | 11187 char dlopen(); |
11137 | 11188 |
11138 int main() { | 11189 int main() { |
11139 dlopen() | 11190 dlopen() |
11140 ; return 0; } | 11191 ; return 0; } |
11141 EOF | 11192 EOF |
11142 if { (eval echo configure:11143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11193 if { (eval echo configure:11194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11143 rm -rf conftest* | 11194 rm -rf conftest* |
11144 eval "ac_cv_lib_$ac_lib_var=yes" | 11195 eval "ac_cv_lib_$ac_lib_var=yes" |
11145 else | 11196 else |
11146 echo "configure: failed program was:" >&5 | 11197 echo "configure: failed program was:" >&5 |
11147 cat conftest.$ac_ext >&5 | 11198 cat conftest.$ac_ext >&5 |
11166 fi | 11217 fi |
11167 | 11218 |
11168 } | 11219 } |
11169 test -z "$with_shlib" && { | 11220 test -z "$with_shlib" && { |
11170 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 11221 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
11171 echo "configure:11172: checking for shl_load in -ldld" >&5 | 11222 echo "configure:11223: checking for shl_load in -ldld" >&5 |
11172 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 11223 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
11173 | 11224 |
11174 xe_check_libs=" -ldld " | 11225 xe_check_libs=" -ldld " |
11175 cat > conftest.$ac_ext <<EOF | 11226 cat > conftest.$ac_ext <<EOF |
11176 #line 11177 "configure" | 11227 #line 11228 "configure" |
11177 #include "confdefs.h" | 11228 #include "confdefs.h" |
11178 /* Override any gcc2 internal prototype to avoid an error. */ | 11229 /* Override any gcc2 internal prototype to avoid an error. */ |
11179 /* We use char because int might match the return type of a gcc2 | 11230 /* We use char because int might match the return type of a gcc2 |
11180 builtin and then its argument prototype would still apply. */ | 11231 builtin and then its argument prototype would still apply. */ |
11181 char shl_load(); | 11232 char shl_load(); |
11182 | 11233 |
11183 int main() { | 11234 int main() { |
11184 shl_load() | 11235 shl_load() |
11185 ; return 0; } | 11236 ; return 0; } |
11186 EOF | 11237 EOF |
11187 if { (eval echo configure:11188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11238 if { (eval echo configure:11239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11188 rm -rf conftest* | 11239 rm -rf conftest* |
11189 eval "ac_cv_lib_$ac_lib_var=yes" | 11240 eval "ac_cv_lib_$ac_lib_var=yes" |
11190 else | 11241 else |
11191 echo "configure: failed program was:" >&5 | 11242 echo "configure: failed program was:" >&5 |
11192 cat conftest.$ac_ext >&5 | 11243 cat conftest.$ac_ext >&5 |
11211 fi | 11262 fi |
11212 | 11263 |
11213 } | 11264 } |
11214 test -z "$with_shlib" && { | 11265 test -z "$with_shlib" && { |
11215 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 11266 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
11216 echo "configure:11217: checking for dld_init in -ldld" >&5 | 11267 echo "configure:11268: checking for dld_init in -ldld" >&5 |
11217 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 11268 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
11218 | 11269 |
11219 xe_check_libs=" -ldld " | 11270 xe_check_libs=" -ldld " |
11220 cat > conftest.$ac_ext <<EOF | 11271 cat > conftest.$ac_ext <<EOF |
11221 #line 11222 "configure" | 11272 #line 11273 "configure" |
11222 #include "confdefs.h" | 11273 #include "confdefs.h" |
11223 /* Override any gcc2 internal prototype to avoid an error. */ | 11274 /* Override any gcc2 internal prototype to avoid an error. */ |
11224 /* We use char because int might match the return type of a gcc2 | 11275 /* We use char because int might match the return type of a gcc2 |
11225 builtin and then its argument prototype would still apply. */ | 11276 builtin and then its argument prototype would still apply. */ |
11226 char dld_init(); | 11277 char dld_init(); |
11227 | 11278 |
11228 int main() { | 11279 int main() { |
11229 dld_init() | 11280 dld_init() |
11230 ; return 0; } | 11281 ; return 0; } |
11231 EOF | 11282 EOF |
11232 if { (eval echo configure:11233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11283 if { (eval echo configure:11284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11233 rm -rf conftest* | 11284 rm -rf conftest* |
11234 eval "ac_cv_lib_$ac_lib_var=yes" | 11285 eval "ac_cv_lib_$ac_lib_var=yes" |
11235 else | 11286 else |
11236 echo "configure: failed program was:" >&5 | 11287 echo "configure: failed program was:" >&5 |
11237 cat conftest.$ac_ext >&5 | 11288 cat conftest.$ac_ext >&5 |
11277 dll_lflags="-shared" | 11328 dll_lflags="-shared" |
11278 dll_cflags="-r" | 11329 dll_cflags="-r" |
11279 dll_oflags="-o " | 11330 dll_oflags="-o " |
11280 | 11331 |
11281 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 | 11332 echo $ac_n "checking how to build a shared library""... $ac_c" 1>&6 |
11282 echo "configure:11283: checking how to build a shared library" >&5 | 11333 echo "configure:11334: checking how to build a shared library" >&5 |
11283 case `uname -rs` in | 11334 case `uname -rs` in |
11284 UNIX_SV*|UNIX_System_V*) | 11335 UNIX_SV*|UNIX_System_V*) |
11285 dll_lflags="-G" | 11336 dll_lflags="-G" |
11286 dll_cflags=-Kpic | 11337 dll_cflags=-Kpic |
11287 dll_ld="ld" | 11338 dll_ld="ld" |
11368 | 11419 |
11369 | 11420 |
11370 for ac_func in dlerror | 11421 for ac_func in dlerror |
11371 do | 11422 do |
11372 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11423 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11373 echo "configure:11374: checking for $ac_func" >&5 | 11424 echo "configure:11425: checking for $ac_func" >&5 |
11374 | 11425 |
11375 cat > conftest.$ac_ext <<EOF | 11426 cat > conftest.$ac_ext <<EOF |
11376 #line 11377 "configure" | 11427 #line 11428 "configure" |
11377 #include "confdefs.h" | 11428 #include "confdefs.h" |
11378 /* System header to define __stub macros and hopefully few prototypes, | 11429 /* System header to define __stub macros and hopefully few prototypes, |
11379 which can conflict with char $ac_func(); below. */ | 11430 which can conflict with char $ac_func(); below. */ |
11380 #include <assert.h> | 11431 #include <assert.h> |
11381 /* Override any gcc2 internal prototype to avoid an error. */ | 11432 /* Override any gcc2 internal prototype to avoid an error. */ |
11394 $ac_func(); | 11445 $ac_func(); |
11395 #endif | 11446 #endif |
11396 | 11447 |
11397 ; return 0; } | 11448 ; return 0; } |
11398 EOF | 11449 EOF |
11399 if { (eval echo configure:11400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then | 11450 if { (eval echo configure:11451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
11400 rm -rf conftest* | 11451 rm -rf conftest* |
11401 eval "ac_cv_func_$ac_func=yes" | 11452 eval "ac_cv_func_$ac_func=yes" |
11402 else | 11453 else |
11403 echo "configure: failed program was:" >&5 | 11454 echo "configure: failed program was:" >&5 |
11404 cat conftest.$ac_ext >&5 | 11455 cat conftest.$ac_ext >&5 |
11430 *) ;; | 11481 *) ;; |
11431 esac | 11482 esac |
11432 fi | 11483 fi |
11433 | 11484 |
11434 cat > conftest.$ac_ext <<EOF | 11485 cat > conftest.$ac_ext <<EOF |
11435 #line 11436 "configure" | 11486 #line 11487 "configure" |
11436 #include "confdefs.h" | 11487 #include "confdefs.h" |
11437 int main(int c,char *v[]){return 0;} | 11488 int main(int c,char *v[]){return 0;} |
11438 EOF | 11489 EOF |
11439 if { (eval echo configure:11440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11490 if { (eval echo configure:11491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11440 then | 11491 then |
11441 : | 11492 : |
11442 else | 11493 else |
11443 conftest_rc="$?" | 11494 conftest_rc="$?" |
11444 echo "configure: failed program was:" >&5 | 11495 echo "configure: failed program was:" >&5 |
11995 if test "$with_xpm" = yes; then | 12046 if test "$with_xpm" = yes; then |
11996 echo " Compiling in support for XPM images." | 12047 echo " Compiling in support for XPM images." |
11997 elif test "$with_x11" = yes; then | 12048 elif test "$with_x11" = yes; then |
11998 echo " --------------------------------------------------------------------" | 12049 echo " --------------------------------------------------------------------" |
11999 echo " WARNING: Compiling without XPM support." | 12050 echo " WARNING: Compiling without XPM support." |
12051 if test "$xpm_problem" != ""; then | |
12052 echo " Reason: $xpm_problem" | |
12053 fi | |
12000 echo " WARNING: You should strongly consider installing XPM." | 12054 echo " WARNING: You should strongly consider installing XPM." |
12001 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." | 12055 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." |
12002 echo " WARNING: (a copy may be found at ftp://ftp.xemacs.org/pub/xemacs/aux)" | 12056 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" |
12003 echo " --------------------------------------------------------------------" | 12057 echo " --------------------------------------------------------------------" |
12004 fi | 12058 fi |
12005 if test "$with_png" = yes; then | 12059 if test "$with_png" = yes; then |
12006 echo " Compiling in support for PNG image handling." | 12060 echo " Compiling in support for PNG image handling." |
12007 else | 12061 elif test "$window_system" != "none"; then |
12008 echo " --------------------------------------------------------------------" | 12062 echo " --------------------------------------------------------------------" |
12009 echo " WARNING: Compiling without PNG image support." | 12063 echo " WARNING: Compiling without PNG image support." |
12064 if test "$png_problem" != ""; then | |
12065 echo " Reason: $png_problem" | |
12066 fi | |
12010 echo " WARNING: You should strongly consider installing the PNG libraries." | 12067 echo " WARNING: You should strongly consider installing the PNG libraries." |
12011 echo " WARNING: Otherwise certain images and glyphs may not display." | 12068 echo " WARNING: Otherwise certain images and glyphs may not display." |
12012 echo " WARNING: (a copy may be found at ftp://ftp.xemacs.org/pub/xemacs/aux)" | 12069 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" |
12013 echo " --------------------------------------------------------------------" | 12070 echo " --------------------------------------------------------------------" |
12014 fi | 12071 fi |
12015 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." | |
12016 test "$with_gif" = yes && echo " Compiling in support for (builtin) GIF image handling." | 12072 test "$with_gif" = yes && echo " Compiling in support for (builtin) GIF image handling." |
12017 test "$with_jpeg" = yes && echo " Compiling in support for JPEG image handling." | 12073 test "$with_jpeg" = yes && echo " Compiling in support for JPEG image handling." |
12018 test "$with_tiff" = yes && echo " Compiling in support for TIFF image handling." | 12074 test "$with_tiff" = yes && echo " Compiling in support for TIFF image handling." |
12075 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." | |
12019 case "$with_sound" in | 12076 case "$with_sound" in |
12020 nas ) echo " Compiling in network sound (NAS) support." ;; | 12077 nas ) echo " Compiling in network sound (NAS) support." ;; |
12021 native ) echo " Compiling in native sound support." ;; | 12078 native ) echo " Compiling in native sound support." ;; |
12022 both ) echo " Compiling in both network and native sound support." ;; | 12079 both ) echo " Compiling in both network and native sound support." ;; |
12023 esac | 12080 esac |