comparison configure @ 448:3078fd1074e8 r21-2-39

Import from CVS: tag r21-2-39
author cvs
date Mon, 13 Aug 2007 11:38:25 +0200
parents 1ccc32a20af4
children 98528da0b7fc
comparison
equal deleted inserted replaced
447:4fc5f13f3bd3 448:3078fd1074e8
2783 echo "configure: warning: There have been reports of egcs-1.1 not compiling XEmacs correctly on" 1>&2 2783 echo "configure: warning: There have been reports of egcs-1.1 not compiling XEmacs correctly on" 1>&2
2784 echo "configure: warning: Alpha Linux. There have also been reports that egcs-1.0.3a is O.K." 1>&2 2784 echo "configure: warning: Alpha Linux. There have also been reports that egcs-1.0.3a is O.K." 1>&2
2785 { echo "configure: error: Aborting due to known problem" 1>&2; exit 1; } 2785 { echo "configure: error: Aborting due to known problem" 1>&2; exit 1; }
2786 ;; 2786 ;;
2787 *:i*86*:2.7.2*) 2787 *:i*86*:2.7.2*)
2788 case "$GCC_VERSION" in 2788 case "$CFLAGS" in
2789 2.7.2) 2789 *-O2*|*-O3*)
2790 case "$CFLAGS" in 2790 case "$GCC_VERSION" in
2791 *-O2*|*-O3*) 2791 2.7.2)
2792 case "$CFLAGS" in 2792 case "$CFLAGS" in
2793 *-fno-strength-reduce*) ;; 2793 *-fno-strength-reduce*) ;;
2794 *) 2794 *)
2795 echo "$ac_t""yes" 1>&6 2795 echo "$ac_t""yes" 1>&6
2796 echo "configure: warning: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" 1>&2 2796 echo "configure: warning: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" 1>&2
2798 { echo "configure: error: Aborting due to known problem" 1>&2; exit 1; } 2798 { echo "configure: error: Aborting due to known problem" 1>&2; exit 1; }
2799 ;; 2799 ;;
2800 esac 2800 esac
2801 ;; 2801 ;;
2802 esac 2802 esac
2803 case "$CFLAGS" in
2804 *-fno-caller-saves*) ;;
2805 *)
2806 echo "$ac_t""yes" 1>&6
2807 echo "configure: warning: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" 1>&2
2808 echo "configure: warning: -fno-caller-saves." 1>&2
2809 { echo "configure: error: Aborting due to known problem" 1>&2; exit 1; }
2810 ;;
2811 esac
2803 ;; 2812 ;;
2804 esac 2813 esac
2805 case "$CFLAGS" in
2806 *-fno-caller-saves*) ;;
2807 *)
2808 echo "$ac_t""yes" 1>&6
2809 echo "configure: warning: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" 1>&2
2810 echo "configure: warning: -fno-caller-saves." 1>&2
2811 { echo "configure: error: Aborting due to known problem" 1>&2; exit 1; }
2812 ;;
2813 esac
2814 ;; 2814 ;;
2815 esac 2815 esac
2816 echo "$ac_t""no" 1>&6 2816 echo "$ac_t""no" 1>&6
2817 fi 2817 fi
2818 2818
6531 cat >> confdefs.h <<\EOF 6531 cat >> confdefs.h <<\EOF
6532 #define HAVE_MS_WINDOWS 1 6532 #define HAVE_MS_WINDOWS 1
6533 EOF 6533 EOF
6534 } 6534 }
6535 6535
6536
6537 MAKE_SUBDIR="$MAKE_SUBDIR netinstall" && if test "$extra_verbose" = "yes"; then echo " Appending \"netinstall\" to \$MAKE_SUBDIR"; fi
6538 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS netinstall" && if test "$extra_verbose" = "yes"; then echo " Appending \"netinstall\" to \$SRC_SUBDIR_DEPS"; fi
6539 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR netinstall" && if test "$extra_verbose" = "yes"; then echo " Appending \"netinstall\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
6540
6536 install_pp="$blddir/lib-src/installexe.sh" 6541 install_pp="$blddir/lib-src/installexe.sh"
6537 libs_system="$libs_system -lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool\" to \$libs_system"; fi 6542 libs_system="$libs_system -lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lshell32 -lgdi32 -luser32 -lcomdlg32 -lcomctl32 -lwinspool\" to \$libs_system"; fi
6538 test "$with_dragndrop" != no && dragndrop_proto="$dragndrop_proto msw" && if test "$extra_verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi 6543 test "$with_dragndrop" != no && dragndrop_proto="$dragndrop_proto msw" && if test "$extra_verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi
6539 if test "$window_system" != x11; then 6544 if test "$window_system" != x11; then
6540 window_system=msw 6545 window_system=msw
6568 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then 6573 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then
6569 echo " xemacs will be linked with \"dialog-msw.o\"" 6574 echo " xemacs will be linked with \"dialog-msw.o\""
6570 fi 6575 fi
6571 fi 6576 fi
6572 cat > conftest.$ac_ext <<EOF 6577 cat > conftest.$ac_ext <<EOF
6573 #line 6574 "configure" 6578 #line 6579 "configure"
6574 #include "confdefs.h" 6579 #include "confdefs.h"
6575 #include <fcntl.h> 6580 #include <fcntl.h>
6576 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 6581 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
6577 EOF 6582 EOF
6578 if { (eval echo configure:6579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 6583 if { (eval echo configure:6584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
6579 then 6584 then
6580 { test "$extra_verbose" = "yes" && cat << \EOF 6585 { test "$extra_verbose" = "yes" && cat << \EOF
6581 Defining HAVE_MSG_SELECT 6586 Defining HAVE_MSG_SELECT
6582 EOF 6587 EOF
6583 cat >> confdefs.h <<\EOF 6588 cat >> confdefs.h <<\EOF
6637 fi 6642 fi
6638 6643
6639 if test "$with_x11" = "yes"; then 6644 if test "$with_x11" = "yes"; then
6640 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` 6645 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'`
6641 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 6646 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
6642 echo "configure:6643: checking for X11/extensions/shape.h" >&5 6647 echo "configure:6648: checking for X11/extensions/shape.h" >&5
6643 6648
6644 cat > conftest.$ac_ext <<EOF 6649 cat > conftest.$ac_ext <<EOF
6645 #line 6646 "configure" 6650 #line 6651 "configure"
6646 #include "confdefs.h" 6651 #include "confdefs.h"
6647 #include <X11/extensions/shape.h> 6652 #include <X11/extensions/shape.h>
6648 EOF 6653 EOF
6649 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6654 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6650 { (eval echo configure:6651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6655 { (eval echo configure:6656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6651 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6656 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6652 if test -z "$ac_err"; then 6657 if test -z "$ac_err"; then
6653 rm -rf conftest* 6658 rm -rf conftest*
6654 eval "ac_cv_header_$ac_safe=yes" 6659 eval "ac_cv_header_$ac_safe=yes"
6655 else 6660 else
6692 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" 6697 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h"
6693 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 6698 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
6694 esac 6699 esac
6695 6700
6696 echo "checking for WM_COMMAND option" 1>&6 6701 echo "checking for WM_COMMAND option" 1>&6
6697 echo "configure:6698: checking for WM_COMMAND option" >&5; 6702 echo "configure:6703: checking for WM_COMMAND option" >&5;
6698 if test "$with_wmcommand" != "no"; then 6703 if test "$with_wmcommand" != "no"; then
6699 { test "$extra_verbose" = "yes" && cat << \EOF 6704 { test "$extra_verbose" = "yes" && cat << \EOF
6700 Defining HAVE_WMCOMMAND 6705 Defining HAVE_WMCOMMAND
6701 EOF 6706 EOF
6702 cat >> confdefs.h <<\EOF 6707 cat >> confdefs.h <<\EOF
6707 fi 6712 fi
6708 6713
6709 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 6714 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
6710 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` 6715 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'`
6711 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 6716 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6
6712 echo "configure:6713: checking for X11/Xauth.h" >&5 6717 echo "configure:6718: checking for X11/Xauth.h" >&5
6713 6718
6714 cat > conftest.$ac_ext <<EOF 6719 cat > conftest.$ac_ext <<EOF
6715 #line 6716 "configure" 6720 #line 6721 "configure"
6716 #include "confdefs.h" 6721 #include "confdefs.h"
6717 #include <X11/Xauth.h> 6722 #include <X11/Xauth.h>
6718 EOF 6723 EOF
6719 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6720 { (eval echo configure:6721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6725 { (eval echo configure:6726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6721 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6722 if test -z "$ac_err"; then 6727 if test -z "$ac_err"; then
6723 rm -rf conftest* 6728 rm -rf conftest*
6724 eval "ac_cv_header_$ac_safe=yes" 6729 eval "ac_cv_header_$ac_safe=yes"
6725 else 6730 else
6738 with_xauth=no 6743 with_xauth=no
6739 fi 6744 fi
6740 } 6745 }
6741 test -z "$with_xauth" && { 6746 test -z "$with_xauth" && {
6742 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 6747 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6
6743 echo "configure:6744: checking for XauGetAuthByAddr in -lXau" >&5 6748 echo "configure:6749: checking for XauGetAuthByAddr in -lXau" >&5
6744 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` 6749 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'`
6745 6750
6746 xe_check_libs=" -lXau " 6751 xe_check_libs=" -lXau "
6747 cat > conftest.$ac_ext <<EOF 6752 cat > conftest.$ac_ext <<EOF
6748 #line 6749 "configure" 6753 #line 6754 "configure"
6749 #include "confdefs.h" 6754 #include "confdefs.h"
6750 /* Override any gcc2 internal prototype to avoid an error. */ 6755 /* Override any gcc2 internal prototype to avoid an error. */
6751 /* We use char because int might match the return type of a gcc2 6756 /* We use char because int might match the return type of a gcc2
6752 builtin and then its argument prototype would still apply. */ 6757 builtin and then its argument prototype would still apply. */
6753 char XauGetAuthByAddr(); 6758 char XauGetAuthByAddr();
6754 6759
6755 int main() { 6760 int main() {
6756 XauGetAuthByAddr() 6761 XauGetAuthByAddr()
6757 ; return 0; } 6762 ; return 0; }
6758 EOF 6763 EOF
6759 if { (eval echo configure:6760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6764 if { (eval echo configure:6765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6760 rm -rf conftest* 6765 rm -rf conftest*
6761 eval "ac_cv_lib_$ac_lib_var=yes" 6766 eval "ac_cv_lib_$ac_lib_var=yes"
6762 else 6767 else
6763 echo "configure: failed program was:" >&5 6768 echo "configure: failed program was:" >&5
6764 cat conftest.$ac_ext >&5 6769 cat conftest.$ac_ext >&5
6799 6804
6800 if test "$with_tooltalk" != "no" ; then 6805 if test "$with_tooltalk" != "no" ; then
6801 for dir in "" "Tt/" "desktop/" ; do 6806 for dir in "" "Tt/" "desktop/" ; do
6802 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` 6807 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'`
6803 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 6808 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6
6804 echo "configure:6805: checking for ${dir}tt_c.h" >&5 6809 echo "configure:6810: checking for ${dir}tt_c.h" >&5
6805 6810
6806 cat > conftest.$ac_ext <<EOF 6811 cat > conftest.$ac_ext <<EOF
6807 #line 6808 "configure" 6812 #line 6813 "configure"
6808 #include "confdefs.h" 6813 #include "confdefs.h"
6809 #include <${dir}tt_c.h> 6814 #include <${dir}tt_c.h>
6810 EOF 6815 EOF
6811 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6816 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6812 { (eval echo configure:6813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6817 { (eval echo configure:6818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6813 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6818 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6814 if test -z "$ac_err"; then 6819 if test -z "$ac_err"; then
6815 rm -rf conftest* 6820 rm -rf conftest*
6816 eval "ac_cv_header_$ac_safe=yes" 6821 eval "ac_cv_header_$ac_safe=yes"
6817 else 6822 else
6843 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 6848 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
6844 6849
6845 xe_msg_checking="for tt_message_create in -ltt" 6850 xe_msg_checking="for tt_message_create in -ltt"
6846 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" 6851 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs"
6847 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 6852 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
6848 echo "configure:6849: checking "$xe_msg_checking"" >&5 6853 echo "configure:6854: checking "$xe_msg_checking"" >&5
6849 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` 6854 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'`
6850 6855
6851 xe_check_libs=" -ltt $extra_libs" 6856 xe_check_libs=" -ltt $extra_libs"
6852 cat > conftest.$ac_ext <<EOF 6857 cat > conftest.$ac_ext <<EOF
6853 #line 6854 "configure" 6858 #line 6859 "configure"
6854 #include "confdefs.h" 6859 #include "confdefs.h"
6855 /* Override any gcc2 internal prototype to avoid an error. */ 6860 /* Override any gcc2 internal prototype to avoid an error. */
6856 /* We use char because int might match the return type of a gcc2 6861 /* We use char because int might match the return type of a gcc2
6857 builtin and then its argument prototype would still apply. */ 6862 builtin and then its argument prototype would still apply. */
6858 char tt_message_create(); 6863 char tt_message_create();
6859 6864
6860 int main() { 6865 int main() {
6861 tt_message_create() 6866 tt_message_create()
6862 ; return 0; } 6867 ; return 0; }
6863 EOF 6868 EOF
6864 if { (eval echo configure:6865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6869 if { (eval echo configure:6870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6865 rm -rf conftest* 6870 rm -rf conftest*
6866 eval "ac_cv_lib_$ac_lib_var=yes" 6871 eval "ac_cv_lib_$ac_lib_var=yes"
6867 else 6872 else
6868 echo "configure: failed program was:" >&5 6873 echo "configure: failed program was:" >&5
6869 cat conftest.$ac_ext >&5 6874 cat conftest.$ac_ext >&5
6916 fi 6921 fi
6917 fi 6922 fi
6918 6923
6919 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` 6924 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'`
6920 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 6925 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6
6921 echo "configure:6922: checking for Dt/Dt.h" >&5 6926 echo "configure:6927: checking for Dt/Dt.h" >&5
6922 6927
6923 cat > conftest.$ac_ext <<EOF 6928 cat > conftest.$ac_ext <<EOF
6924 #line 6925 "configure" 6929 #line 6930 "configure"
6925 #include "confdefs.h" 6930 #include "confdefs.h"
6926 #include <Dt/Dt.h> 6931 #include <Dt/Dt.h>
6927 EOF 6932 EOF
6928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 6933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6929 { (eval echo configure:6930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 6934 { (eval echo configure:6935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 6935 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6931 if test -z "$ac_err"; then 6936 if test -z "$ac_err"; then
6932 rm -rf conftest* 6937 rm -rf conftest*
6933 eval "ac_cv_header_$ac_safe=yes" 6938 eval "ac_cv_header_$ac_safe=yes"
6934 else 6939 else
6947 with_cde=no 6952 with_cde=no
6948 fi 6953 fi
6949 } 6954 }
6950 test -z "$with_cde" && { 6955 test -z "$with_cde" && {
6951 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 6956 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6
6952 echo "configure:6953: checking for DtDndDragStart in -lDtSvc" >&5 6957 echo "configure:6958: checking for DtDndDragStart in -lDtSvc" >&5
6953 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` 6958 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'`
6954 6959
6955 xe_check_libs=" -lDtSvc " 6960 xe_check_libs=" -lDtSvc "
6956 cat > conftest.$ac_ext <<EOF 6961 cat > conftest.$ac_ext <<EOF
6957 #line 6958 "configure" 6962 #line 6963 "configure"
6958 #include "confdefs.h" 6963 #include "confdefs.h"
6959 /* Override any gcc2 internal prototype to avoid an error. */ 6964 /* Override any gcc2 internal prototype to avoid an error. */
6960 /* We use char because int might match the return type of a gcc2 6965 /* We use char because int might match the return type of a gcc2
6961 builtin and then its argument prototype would still apply. */ 6966 builtin and then its argument prototype would still apply. */
6962 char DtDndDragStart(); 6967 char DtDndDragStart();
6963 6968
6964 int main() { 6969 int main() {
6965 DtDndDragStart() 6970 DtDndDragStart()
6966 ; return 0; } 6971 ; return 0; }
6967 EOF 6972 EOF
6968 if { (eval echo configure:6969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 6973 if { (eval echo configure:6974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6969 rm -rf conftest* 6974 rm -rf conftest*
6970 eval "ac_cv_lib_$ac_lib_var=yes" 6975 eval "ac_cv_lib_$ac_lib_var=yes"
6971 else 6976 else
6972 echo "configure: failed program was:" >&5 6977 echo "configure: failed program was:" >&5
6973 cat conftest.$ac_ext >&5 6978 cat conftest.$ac_ext >&5
7033 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi 7038 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi
7034 fi 7039 fi
7035 7040
7036 if test "$with_dragndrop" != "no" ; then 7041 if test "$with_dragndrop" != "no" ; then
7037 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 7042 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6
7038 echo "configure:7039: checking if drag and drop API is needed" >&5 7043 echo "configure:7044: checking if drag and drop API is needed" >&5
7039 if test -n "$dragndrop_proto" ; then 7044 if test -n "$dragndrop_proto" ; then
7040 with_dragndrop=yes 7045 with_dragndrop=yes
7041 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 7046 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6
7042 { test "$extra_verbose" = "yes" && cat << \EOF 7047 { test "$extra_verbose" = "yes" && cat << \EOF
7043 Defining HAVE_DRAGNDROP 7048 Defining HAVE_DRAGNDROP
7053 echo "$ac_t""no" 1>&6 7058 echo "$ac_t""no" 1>&6
7054 fi 7059 fi
7055 fi 7060 fi
7056 7061
7057 echo "checking for LDAP" 1>&6 7062 echo "checking for LDAP" 1>&6
7058 echo "configure:7059: checking for LDAP" >&5 7063 echo "configure:7064: checking for LDAP" >&5
7059 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` 7064 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'`
7060 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 7065 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6
7061 echo "configure:7062: checking for ldap.h" >&5 7066 echo "configure:7067: checking for ldap.h" >&5
7062 7067
7063 cat > conftest.$ac_ext <<EOF 7068 cat > conftest.$ac_ext <<EOF
7064 #line 7065 "configure" 7069 #line 7070 "configure"
7065 #include "confdefs.h" 7070 #include "confdefs.h"
7066 #include <ldap.h> 7071 #include <ldap.h>
7067 EOF 7072 EOF
7068 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7069 { (eval echo configure:7070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7074 { (eval echo configure:7075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7070 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7071 if test -z "$ac_err"; then 7076 if test -z "$ac_err"; then
7072 rm -rf conftest* 7077 rm -rf conftest*
7073 eval "ac_cv_header_$ac_safe=yes" 7078 eval "ac_cv_header_$ac_safe=yes"
7074 else 7079 else
7087 with_ldap=no 7092 with_ldap=no
7088 fi 7093 fi
7089 } 7094 }
7090 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` 7095 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'`
7091 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 7096 echo $ac_n "checking for lber.h""... $ac_c" 1>&6
7092 echo "configure:7093: checking for lber.h" >&5 7097 echo "configure:7098: checking for lber.h" >&5
7093 7098
7094 cat > conftest.$ac_ext <<EOF 7099 cat > conftest.$ac_ext <<EOF
7095 #line 7096 "configure" 7100 #line 7101 "configure"
7096 #include "confdefs.h" 7101 #include "confdefs.h"
7097 #include <lber.h> 7102 #include <lber.h>
7098 EOF 7103 EOF
7099 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7104 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7100 { (eval echo configure:7101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7105 { (eval echo configure:7106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7101 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7106 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7102 if test -z "$ac_err"; then 7107 if test -z "$ac_err"; then
7103 rm -rf conftest* 7108 rm -rf conftest*
7104 eval "ac_cv_header_$ac_safe=yes" 7109 eval "ac_cv_header_$ac_safe=yes"
7105 else 7110 else
7119 fi 7124 fi
7120 } 7125 }
7121 if test "$with_ldap" != "no"; then 7126 if test "$with_ldap" != "no"; then
7122 7127
7123 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 7128 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6
7124 echo "configure:7125: checking for ldap_search in -lldap" >&5 7129 echo "configure:7130: checking for ldap_search in -lldap" >&5
7125 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` 7130 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'`
7126 7131
7127 xe_check_libs=" -lldap " 7132 xe_check_libs=" -lldap "
7128 cat > conftest.$ac_ext <<EOF 7133 cat > conftest.$ac_ext <<EOF
7129 #line 7130 "configure" 7134 #line 7135 "configure"
7130 #include "confdefs.h" 7135 #include "confdefs.h"
7131 /* Override any gcc2 internal prototype to avoid an error. */ 7136 /* Override any gcc2 internal prototype to avoid an error. */
7132 /* We use char because int might match the return type of a gcc2 7137 /* We use char because int might match the return type of a gcc2
7133 builtin and then its argument prototype would still apply. */ 7138 builtin and then its argument prototype would still apply. */
7134 char ldap_search(); 7139 char ldap_search();
7135 7140
7136 int main() { 7141 int main() {
7137 ldap_search() 7142 ldap_search()
7138 ; return 0; } 7143 ; return 0; }
7139 EOF 7144 EOF
7140 if { (eval echo configure:7141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7145 if { (eval echo configure:7146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7141 rm -rf conftest* 7146 rm -rf conftest*
7142 eval "ac_cv_lib_$ac_lib_var=yes" 7147 eval "ac_cv_lib_$ac_lib_var=yes"
7143 else 7148 else
7144 echo "configure: failed program was:" >&5 7149 echo "configure: failed program was:" >&5
7145 cat conftest.$ac_ext >&5 7150 cat conftest.$ac_ext >&5
7160 7165
7161 test "$with_ldap_nolber" = "no" && { 7166 test "$with_ldap_nolber" = "no" && {
7162 xe_msg_checking="for ldap_open in -lldap" 7167 xe_msg_checking="for ldap_open in -lldap"
7163 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" 7168 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber"
7164 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7169 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7165 echo "configure:7166: checking "$xe_msg_checking"" >&5 7170 echo "configure:7171: checking "$xe_msg_checking"" >&5
7166 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 7171 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
7167 7172
7168 xe_check_libs=" -lldap -llber" 7173 xe_check_libs=" -lldap -llber"
7169 cat > conftest.$ac_ext <<EOF 7174 cat > conftest.$ac_ext <<EOF
7170 #line 7171 "configure" 7175 #line 7176 "configure"
7171 #include "confdefs.h" 7176 #include "confdefs.h"
7172 /* Override any gcc2 internal prototype to avoid an error. */ 7177 /* Override any gcc2 internal prototype to avoid an error. */
7173 /* We use char because int might match the return type of a gcc2 7178 /* We use char because int might match the return type of a gcc2
7174 builtin and then its argument prototype would still apply. */ 7179 builtin and then its argument prototype would still apply. */
7175 char ldap_open(); 7180 char ldap_open();
7176 7181
7177 int main() { 7182 int main() {
7178 ldap_open() 7183 ldap_open()
7179 ; return 0; } 7184 ; return 0; }
7180 EOF 7185 EOF
7181 if { (eval echo configure:7182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7186 if { (eval echo configure:7187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7182 rm -rf conftest* 7187 rm -rf conftest*
7183 eval "ac_cv_lib_$ac_lib_var=yes" 7188 eval "ac_cv_lib_$ac_lib_var=yes"
7184 else 7189 else
7185 echo "configure: failed program was:" >&5 7190 echo "configure: failed program was:" >&5
7186 cat conftest.$ac_ext >&5 7191 cat conftest.$ac_ext >&5
7201 } 7206 }
7202 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { 7207 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && {
7203 xe_msg_checking="for ldap_open in -lldap" 7208 xe_msg_checking="for ldap_open in -lldap"
7204 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" 7209 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb"
7205 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7210 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7206 echo "configure:7207: checking "$xe_msg_checking"" >&5 7211 echo "configure:7212: checking "$xe_msg_checking"" >&5
7207 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 7212 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
7208 7213
7209 xe_check_libs=" -lldap -llber -lkrb" 7214 xe_check_libs=" -lldap -llber -lkrb"
7210 cat > conftest.$ac_ext <<EOF 7215 cat > conftest.$ac_ext <<EOF
7211 #line 7212 "configure" 7216 #line 7217 "configure"
7212 #include "confdefs.h" 7217 #include "confdefs.h"
7213 /* Override any gcc2 internal prototype to avoid an error. */ 7218 /* Override any gcc2 internal prototype to avoid an error. */
7214 /* We use char because int might match the return type of a gcc2 7219 /* We use char because int might match the return type of a gcc2
7215 builtin and then its argument prototype would still apply. */ 7220 builtin and then its argument prototype would still apply. */
7216 char ldap_open(); 7221 char ldap_open();
7217 7222
7218 int main() { 7223 int main() {
7219 ldap_open() 7224 ldap_open()
7220 ; return 0; } 7225 ; return 0; }
7221 EOF 7226 EOF
7222 if { (eval echo configure:7223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7227 if { (eval echo configure:7228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7223 rm -rf conftest* 7228 rm -rf conftest*
7224 eval "ac_cv_lib_$ac_lib_var=yes" 7229 eval "ac_cv_lib_$ac_lib_var=yes"
7225 else 7230 else
7226 echo "configure: failed program was:" >&5 7231 echo "configure: failed program was:" >&5
7227 cat conftest.$ac_ext >&5 7232 cat conftest.$ac_ext >&5
7242 } 7247 }
7243 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { 7248 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && {
7244 xe_msg_checking="for ldap_open in -lldap" 7249 xe_msg_checking="for ldap_open in -lldap"
7245 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" 7250 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes"
7246 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 7251 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6
7247 echo "configure:7248: checking "$xe_msg_checking"" >&5 7252 echo "configure:7253: checking "$xe_msg_checking"" >&5
7248 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` 7253 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'`
7249 7254
7250 xe_check_libs=" -lldap -llber -lkrb -ldes" 7255 xe_check_libs=" -lldap -llber -lkrb -ldes"
7251 cat > conftest.$ac_ext <<EOF 7256 cat > conftest.$ac_ext <<EOF
7252 #line 7253 "configure" 7257 #line 7258 "configure"
7253 #include "confdefs.h" 7258 #include "confdefs.h"
7254 /* Override any gcc2 internal prototype to avoid an error. */ 7259 /* Override any gcc2 internal prototype to avoid an error. */
7255 /* We use char because int might match the return type of a gcc2 7260 /* We use char because int might match the return type of a gcc2
7256 builtin and then its argument prototype would still apply. */ 7261 builtin and then its argument prototype would still apply. */
7257 char ldap_open(); 7262 char ldap_open();
7258 7263
7259 int main() { 7264 int main() {
7260 ldap_open() 7265 ldap_open()
7261 ; return 0; } 7266 ; return 0; }
7262 EOF 7267 EOF
7263 if { (eval echo configure:7264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7268 if { (eval echo configure:7269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7264 rm -rf conftest* 7269 rm -rf conftest*
7265 eval "ac_cv_lib_$ac_lib_var=yes" 7270 eval "ac_cv_lib_$ac_lib_var=yes"
7266 else 7271 else
7267 echo "configure: failed program was:" >&5 7272 echo "configure: failed program was:" >&5
7268 cat conftest.$ac_ext >&5 7273 cat conftest.$ac_ext >&5
7309 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi 7314 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi
7310 fi 7315 fi
7311 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 7316 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
7312 do 7317 do
7313 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 7318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7314 echo "configure:7315: checking for $ac_func" >&5 7319 echo "configure:7320: checking for $ac_func" >&5
7315 7320
7316 cat > conftest.$ac_ext <<EOF 7321 cat > conftest.$ac_ext <<EOF
7317 #line 7318 "configure" 7322 #line 7323 "configure"
7318 #include "confdefs.h" 7323 #include "confdefs.h"
7319 /* System header to define __stub macros and hopefully few prototypes, 7324 /* System header to define __stub macros and hopefully few prototypes,
7320 which can conflict with char $ac_func(); below. */ 7325 which can conflict with char $ac_func(); below. */
7321 #include <assert.h> 7326 #include <assert.h>
7322 /* Override any gcc2 internal prototype to avoid an error. */ 7327 /* Override any gcc2 internal prototype to avoid an error. */
7335 $ac_func(); 7340 $ac_func();
7336 #endif 7341 #endif
7337 7342
7338 ; return 0; } 7343 ; return 0; }
7339 EOF 7344 EOF
7340 if { (eval echo configure:7341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7345 if { (eval echo configure:7346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7341 rm -rf conftest* 7346 rm -rf conftest*
7342 eval "ac_cv_func_$ac_func=yes" 7347 eval "ac_cv_func_$ac_func=yes"
7343 else 7348 else
7344 echo "configure: failed program was:" >&5 7349 echo "configure: failed program was:" >&5
7345 cat conftest.$ac_ext >&5 7350 cat conftest.$ac_ext >&5
7366 7371
7367 fi 7372 fi
7368 7373
7369 if test "$with_postgresql" != "no"; then 7374 if test "$with_postgresql" != "no"; then
7370 echo "checking for PostgreSQL" 1>&6 7375 echo "checking for PostgreSQL" 1>&6
7371 echo "configure:7372: checking for PostgreSQL" >&5 7376 echo "configure:7377: checking for PostgreSQL" >&5
7372 7377
7373 for header_dir in "" "pgsql/" "postgresql/"; do 7378 for header_dir in "" "pgsql/" "postgresql/"; do
7374 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` 7379 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'`
7375 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 7380 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6
7376 echo "configure:7377: checking for ${header_dir}libpq-fe.h" >&5 7381 echo "configure:7382: checking for ${header_dir}libpq-fe.h" >&5
7377 7382
7378 cat > conftest.$ac_ext <<EOF 7383 cat > conftest.$ac_ext <<EOF
7379 #line 7380 "configure" 7384 #line 7385 "configure"
7380 #include "confdefs.h" 7385 #include "confdefs.h"
7381 #include <${header_dir}libpq-fe.h> 7386 #include <${header_dir}libpq-fe.h>
7382 EOF 7387 EOF
7383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7384 { (eval echo configure:7385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7389 { (eval echo configure:7390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7386 if test -z "$ac_err"; then 7391 if test -z "$ac_err"; then
7387 rm -rf conftest* 7392 rm -rf conftest*
7388 eval "ac_cv_header_$ac_safe=yes" 7393 eval "ac_cv_header_$ac_safe=yes"
7389 else 7394 else
7403 7408
7404 done 7409 done
7405 7410
7406 test -n "$libpq_fe_h_file" && { 7411 test -n "$libpq_fe_h_file" && {
7407 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 7412 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6
7408 echo "configure:7409: checking for PQconnectdb in -lpq" >&5 7413 echo "configure:7414: checking for PQconnectdb in -lpq" >&5
7409 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` 7414 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'`
7410 7415
7411 xe_check_libs=" -lpq " 7416 xe_check_libs=" -lpq "
7412 cat > conftest.$ac_ext <<EOF 7417 cat > conftest.$ac_ext <<EOF
7413 #line 7414 "configure" 7418 #line 7419 "configure"
7414 #include "confdefs.h" 7419 #include "confdefs.h"
7415 /* Override any gcc2 internal prototype to avoid an error. */ 7420 /* Override any gcc2 internal prototype to avoid an error. */
7416 /* We use char because int might match the return type of a gcc2 7421 /* We use char because int might match the return type of a gcc2
7417 builtin and then its argument prototype would still apply. */ 7422 builtin and then its argument prototype would still apply. */
7418 char PQconnectdb(); 7423 char PQconnectdb();
7419 7424
7420 int main() { 7425 int main() {
7421 PQconnectdb() 7426 PQconnectdb()
7422 ; return 0; } 7427 ; return 0; }
7423 EOF 7428 EOF
7424 if { (eval echo configure:7425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7429 if { (eval echo configure:7430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7425 rm -rf conftest* 7430 rm -rf conftest*
7426 eval "ac_cv_lib_$ac_lib_var=yes" 7431 eval "ac_cv_lib_$ac_lib_var=yes"
7427 else 7432 else
7428 echo "configure: failed program was:" >&5 7433 echo "configure: failed program was:" >&5
7429 cat conftest.$ac_ext >&5 7434 cat conftest.$ac_ext >&5
7452 EOF 7457 EOF
7453 } 7458 }
7454 7459
7455 7460
7456 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 7461 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6
7457 echo "configure:7458: checking for PQconnectStart in -lpq" >&5 7462 echo "configure:7463: checking for PQconnectStart in -lpq" >&5
7458 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` 7463 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'`
7459 7464
7460 xe_check_libs=" -lpq " 7465 xe_check_libs=" -lpq "
7461 cat > conftest.$ac_ext <<EOF 7466 cat > conftest.$ac_ext <<EOF
7462 #line 7463 "configure" 7467 #line 7468 "configure"
7463 #include "confdefs.h" 7468 #include "confdefs.h"
7464 /* Override any gcc2 internal prototype to avoid an error. */ 7469 /* Override any gcc2 internal prototype to avoid an error. */
7465 /* We use char because int might match the return type of a gcc2 7470 /* We use char because int might match the return type of a gcc2
7466 builtin and then its argument prototype would still apply. */ 7471 builtin and then its argument prototype would still apply. */
7467 char PQconnectStart(); 7472 char PQconnectStart();
7468 7473
7469 int main() { 7474 int main() {
7470 PQconnectStart() 7475 PQconnectStart()
7471 ; return 0; } 7476 ; return 0; }
7472 EOF 7477 EOF
7473 if { (eval echo configure:7474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7478 if { (eval echo configure:7479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7474 rm -rf conftest* 7479 rm -rf conftest*
7475 eval "ac_cv_lib_$ac_lib_var=yes" 7480 eval "ac_cv_lib_$ac_lib_var=yes"
7476 else 7481 else
7477 echo "configure: failed program was:" >&5 7482 echo "configure: failed program was:" >&5
7478 cat conftest.$ac_ext >&5 7483 cat conftest.$ac_ext >&5
7516 fi 7521 fi
7517 7522
7518 7523
7519 if test "$window_system" != "none"; then 7524 if test "$window_system" != "none"; then
7520 echo "checking for graphics libraries" 1>&6 7525 echo "checking for graphics libraries" 1>&6
7521 echo "configure:7522: checking for graphics libraries" >&5 7526 echo "configure:7527: checking for graphics libraries" >&5
7522 7527
7523 xpm_problem="" 7528 xpm_problem=""
7524 if test -z "$with_xpm"; then 7529 if test -z "$with_xpm"; then
7525 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 7530 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6
7526 echo "configure:7527: checking for Xpm - no older than 3.4f" >&5 7531 echo "configure:7532: checking for Xpm - no older than 3.4f" >&5
7527 xe_check_libs=-lXpm 7532 xe_check_libs=-lXpm
7528 cat > conftest.$ac_ext <<EOF 7533 cat > conftest.$ac_ext <<EOF
7529 #line 7530 "configure" 7534 #line 7535 "configure"
7530 #include "confdefs.h" 7535 #include "confdefs.h"
7531 #define XPM_NUMBERS 7536 #define XPM_NUMBERS
7532 #include <X11/xpm.h> 7537 #include <X11/xpm.h>
7533 int main(int c, char **v) { 7538 int main(int c, char **v) {
7534 return c == 1 ? 0 : 7539 return c == 1 ? 0 :
7535 XpmIncludeVersion != XpmLibraryVersion() ? 1 : 7540 XpmIncludeVersion != XpmLibraryVersion() ? 1 :
7536 XpmIncludeVersion < 30406 ? 2 : 0 ;} 7541 XpmIncludeVersion < 30406 ? 2 : 0 ;}
7537 EOF 7542 EOF
7538 if { (eval echo configure:7539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 7543 if { (eval echo configure:7544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
7539 then 7544 then
7540 ./conftest dummy_arg; xpm_status=$?; 7545 ./conftest dummy_arg; xpm_status=$?;
7541 if test "$xpm_status" = "0"; then 7546 if test "$xpm_status" = "0"; then
7542 with_xpm=yes; 7547 with_xpm=yes;
7543 else 7548 else
7575 EOF 7580 EOF
7576 } 7581 }
7577 7582
7578 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi 7583 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi
7579 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 7584 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6
7580 echo "configure:7581: checking for \"FOR_MSW\" xpm" >&5 7585 echo "configure:7586: checking for \"FOR_MSW\" xpm" >&5
7581 xe_check_libs=-lXpm 7586 xe_check_libs=-lXpm
7582 cat > conftest.$ac_ext <<EOF 7587 cat > conftest.$ac_ext <<EOF
7583 #line 7584 "configure" 7588 #line 7589 "configure"
7584 #include "confdefs.h" 7589 #include "confdefs.h"
7585 7590
7586 int main() { 7591 int main() {
7587 XpmCreatePixmapFromData() 7592 XpmCreatePixmapFromData()
7588 ; return 0; } 7593 ; return 0; }
7589 EOF 7594 EOF
7590 if { (eval echo configure:7591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7595 if { (eval echo configure:7596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7591 rm -rf conftest* 7596 rm -rf conftest*
7592 xpm_for_msw=no 7597 xpm_for_msw=no
7593 else 7598 else
7594 echo "configure: failed program was:" >&5 7599 echo "configure: failed program was:" >&5
7595 cat conftest.$ac_ext >&5 7600 cat conftest.$ac_ext >&5
7611 fi 7616 fi
7612 fi 7617 fi
7613 7618
7614 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` 7619 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'`
7615 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 7620 echo $ac_n "checking for compface.h""... $ac_c" 1>&6
7616 echo "configure:7617: checking for compface.h" >&5 7621 echo "configure:7622: checking for compface.h" >&5
7617 7622
7618 cat > conftest.$ac_ext <<EOF 7623 cat > conftest.$ac_ext <<EOF
7619 #line 7620 "configure" 7624 #line 7625 "configure"
7620 #include "confdefs.h" 7625 #include "confdefs.h"
7621 #include <compface.h> 7626 #include <compface.h>
7622 EOF 7627 EOF
7623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7628 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7624 { (eval echo configure:7625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7629 { (eval echo configure:7630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7630 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7626 if test -z "$ac_err"; then 7631 if test -z "$ac_err"; then
7627 rm -rf conftest* 7632 rm -rf conftest*
7628 eval "ac_cv_header_$ac_safe=yes" 7633 eval "ac_cv_header_$ac_safe=yes"
7629 else 7634 else
7642 with_xface=no 7647 with_xface=no
7643 fi 7648 fi
7644 } 7649 }
7645 test -z "$with_xface" && { 7650 test -z "$with_xface" && {
7646 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 7651 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6
7647 echo "configure:7648: checking for UnGenFace in -lcompface" >&5 7652 echo "configure:7653: checking for UnGenFace in -lcompface" >&5
7648 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` 7653 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'`
7649 7654
7650 xe_check_libs=" -lcompface " 7655 xe_check_libs=" -lcompface "
7651 cat > conftest.$ac_ext <<EOF 7656 cat > conftest.$ac_ext <<EOF
7652 #line 7653 "configure" 7657 #line 7658 "configure"
7653 #include "confdefs.h" 7658 #include "confdefs.h"
7654 /* Override any gcc2 internal prototype to avoid an error. */ 7659 /* Override any gcc2 internal prototype to avoid an error. */
7655 /* We use char because int might match the return type of a gcc2 7660 /* We use char because int might match the return type of a gcc2
7656 builtin and then its argument prototype would still apply. */ 7661 builtin and then its argument prototype would still apply. */
7657 char UnGenFace(); 7662 char UnGenFace();
7658 7663
7659 int main() { 7664 int main() {
7660 UnGenFace() 7665 UnGenFace()
7661 ; return 0; } 7666 ; return 0; }
7662 EOF 7667 EOF
7663 if { (eval echo configure:7664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7668 if { (eval echo configure:7669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7664 rm -rf conftest* 7669 rm -rf conftest*
7665 eval "ac_cv_lib_$ac_lib_var=yes" 7670 eval "ac_cv_lib_$ac_lib_var=yes"
7666 else 7671 else
7667 echo "configure: failed program was:" >&5 7672 echo "configure: failed program was:" >&5
7668 cat conftest.$ac_ext >&5 7673 cat conftest.$ac_ext >&5
7710 fi 7715 fi
7711 7716
7712 if test "$with_png $with_tiff" != "no no"; then 7717 if test "$with_png $with_tiff" != "no no"; then
7713 7718
7714 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 7719 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6
7715 echo "configure:7716: checking for inflate in -lc" >&5 7720 echo "configure:7721: checking for inflate in -lc" >&5
7716 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` 7721 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'`
7717 7722
7718 xe_check_libs=" -lc " 7723 xe_check_libs=" -lc "
7719 cat > conftest.$ac_ext <<EOF 7724 cat > conftest.$ac_ext <<EOF
7720 #line 7721 "configure" 7725 #line 7726 "configure"
7721 #include "confdefs.h" 7726 #include "confdefs.h"
7722 /* Override any gcc2 internal prototype to avoid an error. */ 7727 /* Override any gcc2 internal prototype to avoid an error. */
7723 /* We use char because int might match the return type of a gcc2 7728 /* We use char because int might match the return type of a gcc2
7724 builtin and then its argument prototype would still apply. */ 7729 builtin and then its argument prototype would still apply. */
7725 char inflate(); 7730 char inflate();
7726 7731
7727 int main() { 7732 int main() {
7728 inflate() 7733 inflate()
7729 ; return 0; } 7734 ; return 0; }
7730 EOF 7735 EOF
7731 if { (eval echo configure:7732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7736 if { (eval echo configure:7737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7732 rm -rf conftest* 7737 rm -rf conftest*
7733 eval "ac_cv_lib_$ac_lib_var=yes" 7738 eval "ac_cv_lib_$ac_lib_var=yes"
7734 else 7739 else
7735 echo "configure: failed program was:" >&5 7740 echo "configure: failed program was:" >&5
7736 cat conftest.$ac_ext >&5 7741 cat conftest.$ac_ext >&5
7745 : 7750 :
7746 else 7751 else
7747 echo "$ac_t""no" 1>&6 7752 echo "$ac_t""no" 1>&6
7748 7753
7749 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 7754 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6
7750 echo "configure:7751: checking for inflate in -lz" >&5 7755 echo "configure:7756: checking for inflate in -lz" >&5
7751 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` 7756 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'`
7752 7757
7753 xe_check_libs=" -lz " 7758 xe_check_libs=" -lz "
7754 cat > conftest.$ac_ext <<EOF 7759 cat > conftest.$ac_ext <<EOF
7755 #line 7756 "configure" 7760 #line 7761 "configure"
7756 #include "confdefs.h" 7761 #include "confdefs.h"
7757 /* Override any gcc2 internal prototype to avoid an error. */ 7762 /* Override any gcc2 internal prototype to avoid an error. */
7758 /* We use char because int might match the return type of a gcc2 7763 /* We use char because int might match the return type of a gcc2
7759 builtin and then its argument prototype would still apply. */ 7764 builtin and then its argument prototype would still apply. */
7760 char inflate(); 7765 char inflate();
7761 7766
7762 int main() { 7767 int main() {
7763 inflate() 7768 inflate()
7764 ; return 0; } 7769 ; return 0; }
7765 EOF 7770 EOF
7766 if { (eval echo configure:7767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7771 if { (eval echo configure:7772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7767 rm -rf conftest* 7772 rm -rf conftest*
7768 eval "ac_cv_lib_$ac_lib_var=yes" 7773 eval "ac_cv_lib_$ac_lib_var=yes"
7769 else 7774 else
7770 echo "configure: failed program was:" >&5 7775 echo "configure: failed program was:" >&5
7771 cat conftest.$ac_ext >&5 7776 cat conftest.$ac_ext >&5
7780 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 7785 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
7781 else 7786 else
7782 echo "$ac_t""no" 1>&6 7787 echo "$ac_t""no" 1>&6
7783 7788
7784 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 7789 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6
7785 echo "configure:7786: checking for inflate in -lgz" >&5 7790 echo "configure:7791: checking for inflate in -lgz" >&5
7786 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` 7791 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'`
7787 7792
7788 xe_check_libs=" -lgz " 7793 xe_check_libs=" -lgz "
7789 cat > conftest.$ac_ext <<EOF 7794 cat > conftest.$ac_ext <<EOF
7790 #line 7791 "configure" 7795 #line 7796 "configure"
7791 #include "confdefs.h" 7796 #include "confdefs.h"
7792 /* Override any gcc2 internal prototype to avoid an error. */ 7797 /* Override any gcc2 internal prototype to avoid an error. */
7793 /* We use char because int might match the return type of a gcc2 7798 /* We use char because int might match the return type of a gcc2
7794 builtin and then its argument prototype would still apply. */ 7799 builtin and then its argument prototype would still apply. */
7795 char inflate(); 7800 char inflate();
7796 7801
7797 int main() { 7802 int main() {
7798 inflate() 7803 inflate()
7799 ; return 0; } 7804 ; return 0; }
7800 EOF 7805 EOF
7801 if { (eval echo configure:7802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7806 if { (eval echo configure:7807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7802 rm -rf conftest* 7807 rm -rf conftest*
7803 eval "ac_cv_lib_$ac_lib_var=yes" 7808 eval "ac_cv_lib_$ac_lib_var=yes"
7804 else 7809 else
7805 echo "configure: failed program was:" >&5 7810 echo "configure: failed program was:" >&5
7806 cat conftest.$ac_ext >&5 7811 cat conftest.$ac_ext >&5
7826 7831
7827 fi 7832 fi
7828 7833
7829 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` 7834 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
7830 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 7835 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
7831 echo "configure:7832: checking for jpeglib.h" >&5 7836 echo "configure:7837: checking for jpeglib.h" >&5
7832 7837
7833 cat > conftest.$ac_ext <<EOF 7838 cat > conftest.$ac_ext <<EOF
7834 #line 7835 "configure" 7839 #line 7840 "configure"
7835 #include "confdefs.h" 7840 #include "confdefs.h"
7836 #include <jpeglib.h> 7841 #include <jpeglib.h>
7837 EOF 7842 EOF
7838 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7839 { (eval echo configure:7840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7844 { (eval echo configure:7845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7840 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7841 if test -z "$ac_err"; then 7846 if test -z "$ac_err"; then
7842 rm -rf conftest* 7847 rm -rf conftest*
7843 eval "ac_cv_header_$ac_safe=yes" 7848 eval "ac_cv_header_$ac_safe=yes"
7844 else 7849 else
7857 with_jpeg=no 7862 with_jpeg=no
7858 fi 7863 fi
7859 } 7864 }
7860 test -z "$with_jpeg" && { 7865 test -z "$with_jpeg" && {
7861 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 7866 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6
7862 echo "configure:7863: checking for jpeg_destroy_decompress in -ljpeg" >&5 7867 echo "configure:7868: checking for jpeg_destroy_decompress in -ljpeg" >&5
7863 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` 7868 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'`
7864 7869
7865 xe_check_libs=" -ljpeg " 7870 xe_check_libs=" -ljpeg "
7866 cat > conftest.$ac_ext <<EOF 7871 cat > conftest.$ac_ext <<EOF
7867 #line 7868 "configure" 7872 #line 7873 "configure"
7868 #include "confdefs.h" 7873 #include "confdefs.h"
7869 /* Override any gcc2 internal prototype to avoid an error. */ 7874 /* Override any gcc2 internal prototype to avoid an error. */
7870 /* We use char because int might match the return type of a gcc2 7875 /* We use char because int might match the return type of a gcc2
7871 builtin and then its argument prototype would still apply. */ 7876 builtin and then its argument prototype would still apply. */
7872 char jpeg_destroy_decompress(); 7877 char jpeg_destroy_decompress();
7873 7878
7874 int main() { 7879 int main() {
7875 jpeg_destroy_decompress() 7880 jpeg_destroy_decompress()
7876 ; return 0; } 7881 ; return 0; }
7877 EOF 7882 EOF
7878 if { (eval echo configure:7879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7883 if { (eval echo configure:7884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7879 rm -rf conftest* 7884 rm -rf conftest*
7880 eval "ac_cv_lib_$ac_lib_var=yes" 7885 eval "ac_cv_lib_$ac_lib_var=yes"
7881 else 7886 else
7882 echo "configure: failed program was:" >&5 7887 echo "configure: failed program was:" >&5
7883 cat conftest.$ac_ext >&5 7888 cat conftest.$ac_ext >&5
7909 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 7914 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
7910 fi 7915 fi
7911 7916
7912 png_problem="" 7917 png_problem=""
7913 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 7918 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6
7914 echo "configure:7915: checking for pow" >&5 7919 echo "configure:7920: checking for pow" >&5
7915 7920
7916 cat > conftest.$ac_ext <<EOF 7921 cat > conftest.$ac_ext <<EOF
7917 #line 7918 "configure" 7922 #line 7923 "configure"
7918 #include "confdefs.h" 7923 #include "confdefs.h"
7919 /* System header to define __stub macros and hopefully few prototypes, 7924 /* System header to define __stub macros and hopefully few prototypes,
7920 which can conflict with char pow(); below. */ 7925 which can conflict with char pow(); below. */
7921 #include <assert.h> 7926 #include <assert.h>
7922 /* Override any gcc2 internal prototype to avoid an error. */ 7927 /* Override any gcc2 internal prototype to avoid an error. */
7935 pow(); 7940 pow();
7936 #endif 7941 #endif
7937 7942
7938 ; return 0; } 7943 ; return 0; }
7939 EOF 7944 EOF
7940 if { (eval echo configure:7941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 7945 if { (eval echo configure:7946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7941 rm -rf conftest* 7946 rm -rf conftest*
7942 eval "ac_cv_func_pow=yes" 7947 eval "ac_cv_func_pow=yes"
7943 else 7948 else
7944 echo "configure: failed program was:" >&5 7949 echo "configure: failed program was:" >&5
7945 cat conftest.$ac_ext >&5 7950 cat conftest.$ac_ext >&5
7956 with_png=no 7961 with_png=no
7957 fi 7962 fi
7958 } 7963 }
7959 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` 7964 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'`
7960 echo $ac_n "checking for png.h""... $ac_c" 1>&6 7965 echo $ac_n "checking for png.h""... $ac_c" 1>&6
7961 echo "configure:7962: checking for png.h" >&5 7966 echo "configure:7967: checking for png.h" >&5
7962 7967
7963 cat > conftest.$ac_ext <<EOF 7968 cat > conftest.$ac_ext <<EOF
7964 #line 7965 "configure" 7969 #line 7970 "configure"
7965 #include "confdefs.h" 7970 #include "confdefs.h"
7966 #include <png.h> 7971 #include <png.h>
7967 EOF 7972 EOF
7968 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 7973 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7969 { (eval echo configure:7970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 7974 { (eval echo configure:7975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7970 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 7975 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7971 if test -z "$ac_err"; then 7976 if test -z "$ac_err"; then
7972 rm -rf conftest* 7977 rm -rf conftest*
7973 eval "ac_cv_header_$ac_safe=yes" 7978 eval "ac_cv_header_$ac_safe=yes"
7974 else 7979 else
7987 with_png=no 7992 with_png=no
7988 fi 7993 fi
7989 } 7994 }
7990 test -z "$with_png" && { 7995 test -z "$with_png" && {
7991 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 7996 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
7992 echo "configure:7993: checking for png_read_image in -lpng" >&5 7997 echo "configure:7998: checking for png_read_image in -lpng" >&5
7993 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` 7998 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
7994 7999
7995 xe_check_libs=" -lpng " 8000 xe_check_libs=" -lpng "
7996 cat > conftest.$ac_ext <<EOF 8001 cat > conftest.$ac_ext <<EOF
7997 #line 7998 "configure" 8002 #line 8003 "configure"
7998 #include "confdefs.h" 8003 #include "confdefs.h"
7999 /* Override any gcc2 internal prototype to avoid an error. */ 8004 /* Override any gcc2 internal prototype to avoid an error. */
8000 /* We use char because int might match the return type of a gcc2 8005 /* We use char because int might match the return type of a gcc2
8001 builtin and then its argument prototype would still apply. */ 8006 builtin and then its argument prototype would still apply. */
8002 char png_read_image(); 8007 char png_read_image();
8003 8008
8004 int main() { 8009 int main() {
8005 png_read_image() 8010 png_read_image()
8006 ; return 0; } 8011 ; return 0; }
8007 EOF 8012 EOF
8008 if { (eval echo configure:8009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8013 if { (eval echo configure:8014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8009 rm -rf conftest* 8014 rm -rf conftest*
8010 eval "ac_cv_lib_$ac_lib_var=yes" 8015 eval "ac_cv_lib_$ac_lib_var=yes"
8011 else 8016 else
8012 echo "configure: failed program was:" >&5 8017 echo "configure: failed program was:" >&5
8013 cat conftest.$ac_ext >&5 8018 cat conftest.$ac_ext >&5
8026 fi 8031 fi
8027 8032
8028 } 8033 }
8029 if test -z "$with_png"; then 8034 if test -z "$with_png"; then
8030 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 8035 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6
8031 echo "configure:8032: checking for workable png version information" >&5 8036 echo "configure:8037: checking for workable png version information" >&5
8032 xe_check_libs="-lpng -lz" 8037 xe_check_libs="-lpng -lz"
8033 cat > conftest.$ac_ext <<EOF 8038 cat > conftest.$ac_ext <<EOF
8034 #line 8035 "configure" 8039 #line 8040 "configure"
8035 #include "confdefs.h" 8040 #include "confdefs.h"
8036 #include <png.h> 8041 #include <png.h>
8037 int main(int c, char **v) { 8042 int main(int c, char **v) {
8038 if (c == 1) return 0; 8043 if (c == 1) return 0;
8039 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; 8044 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1;
8040 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} 8045 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;}
8041 EOF 8046 EOF
8042 if { (eval echo configure:8043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 8047 if { (eval echo configure:8048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
8043 then 8048 then
8044 ./conftest dummy_arg; png_status=$?; 8049 ./conftest dummy_arg; png_status=$?;
8045 if test "$png_status" = "0"; then 8050 if test "$png_status" = "0"; then
8046 with_png=yes; 8051 with_png=yes;
8047 else 8052 else
8080 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 8085 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
8081 fi 8086 fi
8082 8087
8083 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` 8088 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
8084 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 8089 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
8085 echo "configure:8086: checking for tiffio.h" >&5 8090 echo "configure:8091: checking for tiffio.h" >&5
8086 8091
8087 cat > conftest.$ac_ext <<EOF 8092 cat > conftest.$ac_ext <<EOF
8088 #line 8089 "configure" 8093 #line 8094 "configure"
8089 #include "confdefs.h" 8094 #include "confdefs.h"
8090 #include <tiffio.h> 8095 #include <tiffio.h>
8091 EOF 8096 EOF
8092 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"
8093 { (eval echo configure:8094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8098 { (eval echo configure:8099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8099 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8095 if test -z "$ac_err"; then 8100 if test -z "$ac_err"; then
8096 rm -rf conftest* 8101 rm -rf conftest*
8097 eval "ac_cv_header_$ac_safe=yes" 8102 eval "ac_cv_header_$ac_safe=yes"
8098 else 8103 else
8111 with_tiff=no 8116 with_tiff=no
8112 fi 8117 fi
8113 } 8118 }
8114 test -z "$with_tiff" && { 8119 test -z "$with_tiff" && {
8115 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 8120 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6
8116 echo "configure:8117: checking for TIFFClientOpen in -ltiff" >&5 8121 echo "configure:8122: checking for TIFFClientOpen in -ltiff" >&5
8117 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` 8122 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'`
8118 8123
8119 xe_check_libs=" -ltiff " 8124 xe_check_libs=" -ltiff "
8120 cat > conftest.$ac_ext <<EOF 8125 cat > conftest.$ac_ext <<EOF
8121 #line 8122 "configure" 8126 #line 8127 "configure"
8122 #include "confdefs.h" 8127 #include "confdefs.h"
8123 /* Override any gcc2 internal prototype to avoid an error. */ 8128 /* Override any gcc2 internal prototype to avoid an error. */
8124 /* We use char because int might match the return type of a gcc2 8129 /* We use char because int might match the return type of a gcc2
8125 builtin and then its argument prototype would still apply. */ 8130 builtin and then its argument prototype would still apply. */
8126 char TIFFClientOpen(); 8131 char TIFFClientOpen();
8127 8132
8128 int main() { 8133 int main() {
8129 TIFFClientOpen() 8134 TIFFClientOpen()
8130 ; return 0; } 8135 ; return 0; }
8131 EOF 8136 EOF
8132 if { (eval echo configure:8133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8137 if { (eval echo configure:8138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8133 rm -rf conftest* 8138 rm -rf conftest*
8134 eval "ac_cv_lib_$ac_lib_var=yes" 8139 eval "ac_cv_lib_$ac_lib_var=yes"
8135 else 8140 else
8136 echo "configure: failed program was:" >&5 8141 echo "configure: failed program was:" >&5
8137 cat conftest.$ac_ext >&5 8142 cat conftest.$ac_ext >&5
8166 8171
8167 8172
8168 if test "$with_x11" = "yes"; then 8173 if test "$with_x11" = "yes"; then
8169 8174
8170 echo "checking for X11 graphics libraries" 1>&6 8175 echo "checking for X11 graphics libraries" 1>&6
8171 echo "configure:8172: checking for X11 graphics libraries" >&5 8176 echo "configure:8177: checking for X11 graphics libraries" >&5
8172 8177
8173 echo "checking for the Athena widgets" 1>&6 8178 echo "checking for the Athena widgets" 1>&6
8174 echo "configure:8175: checking for the Athena widgets" >&5 8179 echo "configure:8180: checking for the Athena widgets" >&5
8175 8180
8176 case "$with_athena" in 8181 case "$with_athena" in
8177 "xaw" | "") athena_variant=Xaw athena_3d=no ;; 8182 "xaw" | "") athena_variant=Xaw athena_3d=no ;;
8178 "3d") athena_variant=Xaw3d athena_3d=yes ;; 8183 "3d") athena_variant=Xaw3d athena_3d=yes ;;
8179 "next") athena_variant=neXtaw athena_3d=yes ;; 8184 "next") athena_variant=neXtaw athena_3d=yes ;;
8183 esac 8188 esac
8184 8189
8185 if test "$athena_3d" = "no"; then 8190 if test "$athena_3d" = "no"; then
8186 8191
8187 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 8192 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6
8188 echo "configure:8189: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 8193 echo "configure:8194: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
8189 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` 8194 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'`
8190 8195
8191 xe_check_libs=" -l$athena_variant " 8196 xe_check_libs=" -l$athena_variant "
8192 cat > conftest.$ac_ext <<EOF 8197 cat > conftest.$ac_ext <<EOF
8193 #line 8194 "configure" 8198 #line 8199 "configure"
8194 #include "confdefs.h" 8199 #include "confdefs.h"
8195 /* Override any gcc2 internal prototype to avoid an error. */ 8200 /* Override any gcc2 internal prototype to avoid an error. */
8196 /* We use char because int might match the return type of a gcc2 8201 /* We use char because int might match the return type of a gcc2
8197 builtin and then its argument prototype would still apply. */ 8202 builtin and then its argument prototype would still apply. */
8198 char XawScrollbarSetThumb(); 8203 char XawScrollbarSetThumb();
8199 8204
8200 int main() { 8205 int main() {
8201 XawScrollbarSetThumb() 8206 XawScrollbarSetThumb()
8202 ; return 0; } 8207 ; return 0; }
8203 EOF 8208 EOF
8204 if { (eval echo configure:8205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8209 if { (eval echo configure:8210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8205 rm -rf conftest* 8210 rm -rf conftest*
8206 eval "ac_cv_lib_$ac_lib_var=yes" 8211 eval "ac_cv_lib_$ac_lib_var=yes"
8207 else 8212 else
8208 echo "configure: failed program was:" >&5 8213 echo "configure: failed program was:" >&5
8209 cat conftest.$ac_ext >&5 8214 cat conftest.$ac_ext >&5
8215 8220
8216 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then 8221 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then
8217 echo "$ac_t""yes" 1>&6 8222 echo "$ac_t""yes" 1>&6
8218 8223
8219 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 8224 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
8220 echo "configure:8221: checking for threeDClassRec in -l$athena_variant" >&5 8225 echo "configure:8226: checking for threeDClassRec in -l$athena_variant" >&5
8221 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 8226 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
8222 8227
8223 xe_check_libs=" -l$athena_variant " 8228 xe_check_libs=" -l$athena_variant "
8224 cat > conftest.$ac_ext <<EOF 8229 cat > conftest.$ac_ext <<EOF
8225 #line 8226 "configure" 8230 #line 8231 "configure"
8226 #include "confdefs.h" 8231 #include "confdefs.h"
8227 /* Override any gcc2 internal prototype to avoid an error. */ 8232 /* Override any gcc2 internal prototype to avoid an error. */
8228 /* We use char because int might match the return type of a gcc2 8233 /* We use char because int might match the return type of a gcc2
8229 builtin and then its argument prototype would still apply. */ 8234 builtin and then its argument prototype would still apply. */
8230 char threeDClassRec(); 8235 char threeDClassRec();
8231 8236
8232 int main() { 8237 int main() {
8233 threeDClassRec() 8238 threeDClassRec()
8234 ; return 0; } 8239 ; return 0; }
8235 EOF 8240 EOF
8236 if { (eval echo configure:8237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8241 if { (eval echo configure:8242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8237 rm -rf conftest* 8242 rm -rf conftest*
8238 eval "ac_cv_lib_$ac_lib_var=yes" 8243 eval "ac_cv_lib_$ac_lib_var=yes"
8239 else 8244 else
8240 echo "configure: failed program was:" >&5 8245 echo "configure: failed program was:" >&5
8241 cat conftest.$ac_ext >&5 8246 cat conftest.$ac_ext >&5
8262 8267
8263 8268
8264 else 8269 else
8265 8270
8266 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 8271 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6
8267 echo "configure:8268: checking for threeDClassRec in -l$athena_variant" >&5 8272 echo "configure:8273: checking for threeDClassRec in -l$athena_variant" >&5
8268 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` 8273 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'`
8269 8274
8270 xe_check_libs=" -l$athena_variant " 8275 xe_check_libs=" -l$athena_variant "
8271 cat > conftest.$ac_ext <<EOF 8276 cat > conftest.$ac_ext <<EOF
8272 #line 8273 "configure" 8277 #line 8278 "configure"
8273 #include "confdefs.h" 8278 #include "confdefs.h"
8274 /* Override any gcc2 internal prototype to avoid an error. */ 8279 /* Override any gcc2 internal prototype to avoid an error. */
8275 /* We use char because int might match the return type of a gcc2 8280 /* We use char because int might match the return type of a gcc2
8276 builtin and then its argument prototype would still apply. */ 8281 builtin and then its argument prototype would still apply. */
8277 char threeDClassRec(); 8282 char threeDClassRec();
8278 8283
8279 int main() { 8284 int main() {
8280 threeDClassRec() 8285 threeDClassRec()
8281 ; return 0; } 8286 ; return 0; }
8282 EOF 8287 EOF
8283 if { (eval echo configure:8284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8288 if { (eval echo configure:8289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8284 rm -rf conftest* 8289 rm -rf conftest*
8285 eval "ac_cv_lib_$ac_lib_var=yes" 8290 eval "ac_cv_lib_$ac_lib_var=yes"
8286 else 8291 else
8287 echo "configure: failed program was:" >&5 8292 echo "configure: failed program was:" >&5
8288 cat conftest.$ac_ext >&5 8293 cat conftest.$ac_ext >&5
8296 echo "$ac_t""yes" 1>&6 8301 echo "$ac_t""yes" 1>&6
8297 athena_lib=$athena_variant 8302 athena_lib=$athena_variant
8298 else 8303 else
8299 echo "$ac_t""no" 1>&6 8304 echo "$ac_t""no" 1>&6
8300 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 8305 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6
8301 echo "configure:8302: checking for threeDClassRec in -lXaw" >&5 8306 echo "configure:8307: checking for threeDClassRec in -lXaw" >&5
8302 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` 8307 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'`
8303 8308
8304 xe_check_libs=" -lXaw " 8309 xe_check_libs=" -lXaw "
8305 cat > conftest.$ac_ext <<EOF 8310 cat > conftest.$ac_ext <<EOF
8306 #line 8307 "configure" 8311 #line 8312 "configure"
8307 #include "confdefs.h" 8312 #include "confdefs.h"
8308 /* Override any gcc2 internal prototype to avoid an error. */ 8313 /* Override any gcc2 internal prototype to avoid an error. */
8309 /* We use char because int might match the return type of a gcc2 8314 /* We use char because int might match the return type of a gcc2
8310 builtin and then its argument prototype would still apply. */ 8315 builtin and then its argument prototype would still apply. */
8311 char threeDClassRec(); 8316 char threeDClassRec();
8312 8317
8313 int main() { 8318 int main() {
8314 threeDClassRec() 8319 threeDClassRec()
8315 ; return 0; } 8320 ; return 0; }
8316 EOF 8321 EOF
8317 if { (eval echo configure:8318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8322 if { (eval echo configure:8323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8318 rm -rf conftest* 8323 rm -rf conftest*
8319 eval "ac_cv_lib_$ac_lib_var=yes" 8324 eval "ac_cv_lib_$ac_lib_var=yes"
8320 else 8325 else
8321 echo "configure: failed program was:" >&5 8326 echo "configure: failed program was:" >&5
8322 cat conftest.$ac_ext >&5 8327 cat conftest.$ac_ext >&5
8343 fi 8348 fi
8344 8349
8345 if test "$athena_3d" = "no"; then 8350 if test "$athena_3d" = "no"; then
8346 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 8351 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
8347 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 8352 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
8348 echo "configure:8349: checking for X11/Xaw/ThreeD.h" >&5 8353 echo "configure:8354: checking for X11/Xaw/ThreeD.h" >&5
8349 8354
8350 cat > conftest.$ac_ext <<EOF 8355 cat > conftest.$ac_ext <<EOF
8351 #line 8352 "configure" 8356 #line 8357 "configure"
8352 #include "confdefs.h" 8357 #include "confdefs.h"
8353 #include <X11/Xaw/ThreeD.h> 8358 #include <X11/Xaw/ThreeD.h>
8354 EOF 8359 EOF
8355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8356 { (eval echo configure:8357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8361 { (eval echo configure:8362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8358 if test -z "$ac_err"; then 8363 if test -z "$ac_err"; then
8359 rm -rf conftest* 8364 rm -rf conftest*
8360 eval "ac_cv_header_$ac_safe=yes" 8365 eval "ac_cv_header_$ac_safe=yes"
8361 else 8366 else
8371 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 8376 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2
8372 else 8377 else
8373 echo "$ac_t""no" 1>&6 8378 echo "$ac_t""no" 1>&6
8374 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` 8379 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'`
8375 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 8380 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6
8376 echo "configure:8377: checking for X11/Xaw/XawInit.h" >&5 8381 echo "configure:8382: checking for X11/Xaw/XawInit.h" >&5
8377 8382
8378 cat > conftest.$ac_ext <<EOF 8383 cat > conftest.$ac_ext <<EOF
8379 #line 8380 "configure" 8384 #line 8385 "configure"
8380 #include "confdefs.h" 8385 #include "confdefs.h"
8381 #include <X11/Xaw/XawInit.h> 8386 #include <X11/Xaw/XawInit.h>
8382 EOF 8387 EOF
8383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8388 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8384 { (eval echo configure:8385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8389 { (eval echo configure:8390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8390 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8386 if test -z "$ac_err"; then 8391 if test -z "$ac_err"; then
8387 rm -rf conftest* 8392 rm -rf conftest*
8388 eval "ac_cv_header_$ac_safe=yes" 8393 eval "ac_cv_header_$ac_safe=yes"
8389 else 8394 else
8405 fi 8410 fi
8406 8411
8407 else 8412 else
8408 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 8413 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
8409 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 8414 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6
8410 echo "configure:8411: checking for X11/$athena_variant/XawInit.h" >&5 8415 echo "configure:8416: checking for X11/$athena_variant/XawInit.h" >&5
8411 8416
8412 cat > conftest.$ac_ext <<EOF 8417 cat > conftest.$ac_ext <<EOF
8413 #line 8414 "configure" 8418 #line 8419 "configure"
8414 #include "confdefs.h" 8419 #include "confdefs.h"
8415 #include <X11/$athena_variant/XawInit.h> 8420 #include <X11/$athena_variant/XawInit.h>
8416 EOF 8421 EOF
8417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8422 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8418 { (eval echo configure:8419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8423 { (eval echo configure:8424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8424 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8420 if test -z "$ac_err"; then 8425 if test -z "$ac_err"; then
8421 rm -rf conftest* 8426 rm -rf conftest*
8422 eval "ac_cv_header_$ac_safe=yes" 8427 eval "ac_cv_header_$ac_safe=yes"
8423 else 8428 else
8430 rm -f conftest* 8435 rm -f conftest*
8431 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8436 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8432 echo "$ac_t""yes" 1>&6 8437 echo "$ac_t""yes" 1>&6
8433 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 8438 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
8434 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 8439 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6
8435 echo "configure:8436: checking for X11/$athena_variant/ThreeD.h" >&5 8440 echo "configure:8441: checking for X11/$athena_variant/ThreeD.h" >&5
8436 8441
8437 cat > conftest.$ac_ext <<EOF 8442 cat > conftest.$ac_ext <<EOF
8438 #line 8439 "configure" 8443 #line 8444 "configure"
8439 #include "confdefs.h" 8444 #include "confdefs.h"
8440 #include <X11/$athena_variant/ThreeD.h> 8445 #include <X11/$athena_variant/ThreeD.h>
8441 EOF 8446 EOF
8442 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8447 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8443 { (eval echo configure:8444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8448 { (eval echo configure:8449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8444 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8449 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8445 if test -z "$ac_err"; then 8450 if test -z "$ac_err"; then
8446 rm -rf conftest* 8451 rm -rf conftest*
8447 eval "ac_cv_header_$ac_safe=yes" 8452 eval "ac_cv_header_$ac_safe=yes"
8448 else 8453 else
8466 8471
8467 8472
8468 if test -z "$athena_h_path"; then 8473 if test -z "$athena_h_path"; then
8469 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` 8474 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'`
8470 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 8475 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6
8471 echo "configure:8472: checking for $athena_variant/XawInit.h" >&5 8476 echo "configure:8477: checking for $athena_variant/XawInit.h" >&5
8472 8477
8473 cat > conftest.$ac_ext <<EOF 8478 cat > conftest.$ac_ext <<EOF
8474 #line 8475 "configure" 8479 #line 8480 "configure"
8475 #include "confdefs.h" 8480 #include "confdefs.h"
8476 #include <$athena_variant/XawInit.h> 8481 #include <$athena_variant/XawInit.h>
8477 EOF 8482 EOF
8478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8483 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8479 { (eval echo configure:8480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8484 { (eval echo configure:8485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8485 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8481 if test -z "$ac_err"; then 8486 if test -z "$ac_err"; then
8482 rm -rf conftest* 8487 rm -rf conftest*
8483 eval "ac_cv_header_$ac_safe=yes" 8488 eval "ac_cv_header_$ac_safe=yes"
8484 else 8489 else
8491 rm -f conftest* 8496 rm -f conftest*
8492 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8497 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8493 echo "$ac_t""yes" 1>&6 8498 echo "$ac_t""yes" 1>&6
8494 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` 8499 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'`
8495 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 8500 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6
8496 echo "configure:8497: checking for $athena_variant/ThreeD.h" >&5 8501 echo "configure:8502: checking for $athena_variant/ThreeD.h" >&5
8497 8502
8498 cat > conftest.$ac_ext <<EOF 8503 cat > conftest.$ac_ext <<EOF
8499 #line 8500 "configure" 8504 #line 8505 "configure"
8500 #include "confdefs.h" 8505 #include "confdefs.h"
8501 #include <$athena_variant/ThreeD.h> 8506 #include <$athena_variant/ThreeD.h>
8502 EOF 8507 EOF
8503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8508 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8504 { (eval echo configure:8505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8509 { (eval echo configure:8510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8506 if test -z "$ac_err"; then 8511 if test -z "$ac_err"; then
8507 rm -rf conftest* 8512 rm -rf conftest*
8508 eval "ac_cv_header_$ac_safe=yes" 8513 eval "ac_cv_header_$ac_safe=yes"
8509 else 8514 else
8528 fi 8533 fi
8529 8534
8530 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 8535 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
8531 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 8536 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
8532 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 8537 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6
8533 echo "configure:8534: checking for X11/Xaw3d/XawInit.h" >&5 8538 echo "configure:8539: checking for X11/Xaw3d/XawInit.h" >&5
8534 8539
8535 cat > conftest.$ac_ext <<EOF 8540 cat > conftest.$ac_ext <<EOF
8536 #line 8537 "configure" 8541 #line 8542 "configure"
8537 #include "confdefs.h" 8542 #include "confdefs.h"
8538 #include <X11/Xaw3d/XawInit.h> 8543 #include <X11/Xaw3d/XawInit.h>
8539 EOF 8544 EOF
8540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8541 { (eval echo configure:8542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8546 { (eval echo configure:8547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8543 if test -z "$ac_err"; then 8548 if test -z "$ac_err"; then
8544 rm -rf conftest* 8549 rm -rf conftest*
8545 eval "ac_cv_header_$ac_safe=yes" 8550 eval "ac_cv_header_$ac_safe=yes"
8546 else 8551 else
8553 rm -f conftest* 8558 rm -f conftest*
8554 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8559 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8555 echo "$ac_t""yes" 1>&6 8560 echo "$ac_t""yes" 1>&6
8556 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 8561 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
8557 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 8562 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6
8558 echo "configure:8559: checking for X11/Xaw3d/ThreeD.h" >&5 8563 echo "configure:8564: checking for X11/Xaw3d/ThreeD.h" >&5
8559 8564
8560 cat > conftest.$ac_ext <<EOF 8565 cat > conftest.$ac_ext <<EOF
8561 #line 8562 "configure" 8566 #line 8567 "configure"
8562 #include "confdefs.h" 8567 #include "confdefs.h"
8563 #include <X11/Xaw3d/ThreeD.h> 8568 #include <X11/Xaw3d/ThreeD.h>
8564 EOF 8569 EOF
8565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8570 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8566 { (eval echo configure:8567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8571 { (eval echo configure:8572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8572 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8568 if test -z "$ac_err"; then 8573 if test -z "$ac_err"; then
8569 rm -rf conftest* 8574 rm -rf conftest*
8570 eval "ac_cv_header_$ac_safe=yes" 8575 eval "ac_cv_header_$ac_safe=yes"
8571 else 8576 else
8593 fi 8598 fi
8594 8599
8595 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then 8600 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then
8596 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` 8601 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'`
8597 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 8602 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6
8598 echo "configure:8599: checking for Xaw3d/XawInit.h" >&5 8603 echo "configure:8604: checking for Xaw3d/XawInit.h" >&5
8599 8604
8600 cat > conftest.$ac_ext <<EOF 8605 cat > conftest.$ac_ext <<EOF
8601 #line 8602 "configure" 8606 #line 8607 "configure"
8602 #include "confdefs.h" 8607 #include "confdefs.h"
8603 #include <Xaw3d/XawInit.h> 8608 #include <Xaw3d/XawInit.h>
8604 EOF 8609 EOF
8605 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8606 { (eval echo configure:8607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8611 { (eval echo configure:8612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8607 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8608 if test -z "$ac_err"; then 8613 if test -z "$ac_err"; then
8609 rm -rf conftest* 8614 rm -rf conftest*
8610 eval "ac_cv_header_$ac_safe=yes" 8615 eval "ac_cv_header_$ac_safe=yes"
8611 else 8616 else
8618 rm -f conftest* 8623 rm -f conftest*
8619 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8620 echo "$ac_t""yes" 1>&6 8625 echo "$ac_t""yes" 1>&6
8621 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` 8626 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'`
8622 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 8627 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6
8623 echo "configure:8624: checking for Xaw3d/ThreeD.h" >&5 8628 echo "configure:8629: checking for Xaw3d/ThreeD.h" >&5
8624 8629
8625 cat > conftest.$ac_ext <<EOF 8630 cat > conftest.$ac_ext <<EOF
8626 #line 8627 "configure" 8631 #line 8632 "configure"
8627 #include "confdefs.h" 8632 #include "confdefs.h"
8628 #include <Xaw3d/ThreeD.h> 8633 #include <Xaw3d/ThreeD.h>
8629 EOF 8634 EOF
8630 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8631 { (eval echo configure:8632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8636 { (eval echo configure:8637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8632 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8633 if test -z "$ac_err"; then 8638 if test -z "$ac_err"; then
8634 rm -rf conftest* 8639 rm -rf conftest*
8635 eval "ac_cv_header_$ac_safe=yes" 8640 eval "ac_cv_header_$ac_safe=yes"
8636 else 8641 else
8658 fi 8663 fi
8659 8664
8660 if test -z "$athena_h_path"; then 8665 if test -z "$athena_h_path"; then
8661 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` 8666 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'`
8662 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 8667 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6
8663 echo "configure:8664: checking for X11/Xaw/ThreeD.h" >&5 8668 echo "configure:8669: checking for X11/Xaw/ThreeD.h" >&5
8664 8669
8665 cat > conftest.$ac_ext <<EOF 8670 cat > conftest.$ac_ext <<EOF
8666 #line 8667 "configure" 8671 #line 8672 "configure"
8667 #include "confdefs.h" 8672 #include "confdefs.h"
8668 #include <X11/Xaw/ThreeD.h> 8673 #include <X11/Xaw/ThreeD.h>
8669 EOF 8674 EOF
8670 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8671 { (eval echo configure:8672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8676 { (eval echo configure:8677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8672 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8677 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8673 if test -z "$ac_err"; then 8678 if test -z "$ac_err"; then
8674 rm -rf conftest* 8679 rm -rf conftest*
8675 eval "ac_cv_header_$ac_safe=yes" 8680 eval "ac_cv_header_$ac_safe=yes"
8676 else 8681 else
8701 have_xaw=no 8706 have_xaw=no
8702 fi 8707 fi
8703 8708
8704 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` 8709 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'`
8705 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 8710 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6
8706 echo "configure:8707: checking for Xm/Xm.h" >&5 8711 echo "configure:8712: checking for Xm/Xm.h" >&5
8707 8712
8708 cat > conftest.$ac_ext <<EOF 8713 cat > conftest.$ac_ext <<EOF
8709 #line 8710 "configure" 8714 #line 8715 "configure"
8710 #include "confdefs.h" 8715 #include "confdefs.h"
8711 #include <Xm/Xm.h> 8716 #include <Xm/Xm.h>
8712 EOF 8717 EOF
8713 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 8718 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8714 { (eval echo configure:8715: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 8719 { (eval echo configure:8720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8715 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 8720 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8716 if test -z "$ac_err"; then 8721 if test -z "$ac_err"; then
8717 rm -rf conftest* 8722 rm -rf conftest*
8718 eval "ac_cv_header_$ac_safe=yes" 8723 eval "ac_cv_header_$ac_safe=yes"
8719 else 8724 else
8726 rm -f conftest* 8731 rm -f conftest*
8727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 8732 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8728 echo "$ac_t""yes" 1>&6 8733 echo "$ac_t""yes" 1>&6
8729 8734
8730 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 8735 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6
8731 echo "configure:8732: checking for XmStringFree in -lXm" >&5 8736 echo "configure:8737: checking for XmStringFree in -lXm" >&5
8732 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` 8737 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'`
8733 8738
8734 xe_check_libs=" -lXm " 8739 xe_check_libs=" -lXm "
8735 cat > conftest.$ac_ext <<EOF 8740 cat > conftest.$ac_ext <<EOF
8736 #line 8737 "configure" 8741 #line 8742 "configure"
8737 #include "confdefs.h" 8742 #include "confdefs.h"
8738 /* Override any gcc2 internal prototype to avoid an error. */ 8743 /* Override any gcc2 internal prototype to avoid an error. */
8739 /* We use char because int might match the return type of a gcc2 8744 /* We use char because int might match the return type of a gcc2
8740 builtin and then its argument prototype would still apply. */ 8745 builtin and then its argument prototype would still apply. */
8741 char XmStringFree(); 8746 char XmStringFree();
8742 8747
8743 int main() { 8748 int main() {
8744 XmStringFree() 8749 XmStringFree()
8745 ; return 0; } 8750 ; return 0; }
8746 EOF 8751 EOF
8747 if { (eval echo configure:8748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 8752 if { (eval echo configure:8753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8748 rm -rf conftest* 8753 rm -rf conftest*
8749 eval "ac_cv_lib_$ac_lib_var=yes" 8754 eval "ac_cv_lib_$ac_lib_var=yes"
8750 else 8755 else
8751 echo "configure: failed program was:" >&5 8756 echo "configure: failed program was:" >&5
8752 cat conftest.$ac_ext >&5 8757 cat conftest.$ac_ext >&5
8771 fi 8776 fi
8772 8777
8773 8778
8774 if test "$have_motif" = "yes"; then 8779 if test "$have_motif" = "yes"; then
8775 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 8780 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6
8776 echo "configure:8777: checking for Lesstif" >&5 8781 echo "configure:8782: checking for Lesstif" >&5
8777 cat > conftest.$ac_ext <<EOF 8782 cat > conftest.$ac_ext <<EOF
8778 #line 8779 "configure" 8783 #line 8784 "configure"
8779 #include "confdefs.h" 8784 #include "confdefs.h"
8780 #include <Xm/Xm.h> 8785 #include <Xm/Xm.h>
8781 #ifdef LESSTIF_VERSION 8786 #ifdef LESSTIF_VERSION
8782 yes 8787 yes
8783 #endif 8788 #endif
9179 fi 9184 fi
9180 fi 9185 fi
9181 9186
9182 if test "$with_mule" = "yes" ; then 9187 if test "$with_mule" = "yes" ; then
9183 echo "checking for Mule-related features" 1>&6 9188 echo "checking for Mule-related features" 1>&6
9184 echo "configure:9185: checking for Mule-related features" >&5 9189 echo "configure:9190: checking for Mule-related features" >&5
9185 { test "$extra_verbose" = "yes" && cat << \EOF 9190 { test "$extra_verbose" = "yes" && cat << \EOF
9186 Defining MULE 9191 Defining MULE
9187 EOF 9192 EOF
9188 cat >> confdefs.h <<\EOF 9193 cat >> confdefs.h <<\EOF
9189 #define MULE 1 9194 #define MULE 1
9204 9209
9205 for ac_hdr in libintl.h 9210 for ac_hdr in libintl.h
9206 do 9211 do
9207 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 9212 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9208 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 9213 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9209 echo "configure:9210: checking for $ac_hdr" >&5 9214 echo "configure:9215: checking for $ac_hdr" >&5
9210 9215
9211 cat > conftest.$ac_ext <<EOF 9216 cat > conftest.$ac_ext <<EOF
9212 #line 9213 "configure" 9217 #line 9218 "configure"
9213 #include "confdefs.h" 9218 #include "confdefs.h"
9214 #include <$ac_hdr> 9219 #include <$ac_hdr>
9215 EOF 9220 EOF
9216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9217 { (eval echo configure:9218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9222 { (eval echo configure:9223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9219 if test -z "$ac_err"; then 9224 if test -z "$ac_err"; then
9220 rm -rf conftest* 9225 rm -rf conftest*
9221 eval "ac_cv_header_$ac_safe=yes" 9226 eval "ac_cv_header_$ac_safe=yes"
9222 else 9227 else
9243 fi 9248 fi
9244 done 9249 done
9245 9250
9246 9251
9247 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 9252 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6
9248 echo "configure:9249: checking for strerror in -lintl" >&5 9253 echo "configure:9254: checking for strerror in -lintl" >&5
9249 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` 9254 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'`
9250 9255
9251 xe_check_libs=" -lintl " 9256 xe_check_libs=" -lintl "
9252 cat > conftest.$ac_ext <<EOF 9257 cat > conftest.$ac_ext <<EOF
9253 #line 9254 "configure" 9258 #line 9259 "configure"
9254 #include "confdefs.h" 9259 #include "confdefs.h"
9255 /* Override any gcc2 internal prototype to avoid an error. */ 9260 /* Override any gcc2 internal prototype to avoid an error. */
9256 /* We use char because int might match the return type of a gcc2 9261 /* We use char because int might match the return type of a gcc2
9257 builtin and then its argument prototype would still apply. */ 9262 builtin and then its argument prototype would still apply. */
9258 char strerror(); 9263 char strerror();
9259 9264
9260 int main() { 9265 int main() {
9261 strerror() 9266 strerror()
9262 ; return 0; } 9267 ; return 0; }
9263 EOF 9268 EOF
9264 if { (eval echo configure:9265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9269 if { (eval echo configure:9270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9265 rm -rf conftest* 9270 rm -rf conftest*
9266 eval "ac_cv_lib_$ac_lib_var=yes" 9271 eval "ac_cv_lib_$ac_lib_var=yes"
9267 else 9272 else
9268 echo "configure: failed program was:" >&5 9273 echo "configure: failed program was:" >&5
9269 cat conftest.$ac_ext >&5 9274 cat conftest.$ac_ext >&5
9292 fi 9297 fi
9293 9298
9294 9299
9295 9300
9296 echo "checking for Mule input methods" 1>&6 9301 echo "checking for Mule input methods" 1>&6
9297 echo "configure:9298: checking for Mule input methods" >&5 9302 echo "configure:9303: checking for Mule input methods" >&5
9298 case "$with_xim" in "" | "yes" ) 9303 case "$with_xim" in "" | "yes" )
9299 echo "checking for XIM" 1>&6 9304 echo "checking for XIM" 1>&6
9300 echo "configure:9301: checking for XIM" >&5 9305 echo "configure:9306: checking for XIM" >&5
9301 9306
9302 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 9307 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6
9303 echo "configure:9304: checking for XOpenIM in -lX11" >&5 9308 echo "configure:9309: checking for XOpenIM in -lX11" >&5
9304 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` 9309 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'`
9305 9310
9306 xe_check_libs=" -lX11 " 9311 xe_check_libs=" -lX11 "
9307 cat > conftest.$ac_ext <<EOF 9312 cat > conftest.$ac_ext <<EOF
9308 #line 9309 "configure" 9313 #line 9314 "configure"
9309 #include "confdefs.h" 9314 #include "confdefs.h"
9310 /* Override any gcc2 internal prototype to avoid an error. */ 9315 /* Override any gcc2 internal prototype to avoid an error. */
9311 /* We use char because int might match the return type of a gcc2 9316 /* We use char because int might match the return type of a gcc2
9312 builtin and then its argument prototype would still apply. */ 9317 builtin and then its argument prototype would still apply. */
9313 char XOpenIM(); 9318 char XOpenIM();
9314 9319
9315 int main() { 9320 int main() {
9316 XOpenIM() 9321 XOpenIM()
9317 ; return 0; } 9322 ; return 0; }
9318 EOF 9323 EOF
9319 if { (eval echo configure:9320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9324 if { (eval echo configure:9325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9320 rm -rf conftest* 9325 rm -rf conftest*
9321 eval "ac_cv_lib_$ac_lib_var=yes" 9326 eval "ac_cv_lib_$ac_lib_var=yes"
9322 else 9327 else
9323 echo "configure: failed program was:" >&5 9328 echo "configure: failed program was:" >&5
9324 cat conftest.$ac_ext >&5 9329 cat conftest.$ac_ext >&5
9338 9343
9339 9344
9340 if test "$have_motif $have_lesstif" = "yes no"; then 9345 if test "$have_motif $have_lesstif" = "yes no"; then
9341 9346
9342 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 9347 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6
9343 echo "configure:9344: checking for XmImMbLookupString in -lXm" >&5 9348 echo "configure:9349: checking for XmImMbLookupString in -lXm" >&5
9344 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` 9349 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'`
9345 9350
9346 xe_check_libs=" -lXm " 9351 xe_check_libs=" -lXm "
9347 cat > conftest.$ac_ext <<EOF 9352 cat > conftest.$ac_ext <<EOF
9348 #line 9349 "configure" 9353 #line 9354 "configure"
9349 #include "confdefs.h" 9354 #include "confdefs.h"
9350 /* Override any gcc2 internal prototype to avoid an error. */ 9355 /* Override any gcc2 internal prototype to avoid an error. */
9351 /* We use char because int might match the return type of a gcc2 9356 /* We use char because int might match the return type of a gcc2
9352 builtin and then its argument prototype would still apply. */ 9357 builtin and then its argument prototype would still apply. */
9353 char XmImMbLookupString(); 9358 char XmImMbLookupString();
9354 9359
9355 int main() { 9360 int main() {
9356 XmImMbLookupString() 9361 XmImMbLookupString()
9357 ; return 0; } 9362 ; return 0; }
9358 EOF 9363 EOF
9359 if { (eval echo configure:9360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9364 if { (eval echo configure:9365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9360 rm -rf conftest* 9365 rm -rf conftest*
9361 eval "ac_cv_lib_$ac_lib_var=yes" 9366 eval "ac_cv_lib_$ac_lib_var=yes"
9362 else 9367 else
9363 echo "configure: failed program was:" >&5 9368 echo "configure: failed program was:" >&5
9364 cat conftest.$ac_ext >&5 9369 cat conftest.$ac_ext >&5
9419 fi 9424 fi
9420 fi 9425 fi
9421 9426
9422 if test "$with_xfs" = "yes" ; then 9427 if test "$with_xfs" = "yes" ; then
9423 echo "checking for XFontSet" 1>&6 9428 echo "checking for XFontSet" 1>&6
9424 echo "configure:9425: checking for XFontSet" >&5 9429 echo "configure:9430: checking for XFontSet" >&5
9425 9430
9426 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 9431 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6
9427 echo "configure:9428: checking for XmbDrawString in -lX11" >&5 9432 echo "configure:9433: checking for XmbDrawString in -lX11" >&5
9428 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` 9433 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'`
9429 9434
9430 xe_check_libs=" -lX11 " 9435 xe_check_libs=" -lX11 "
9431 cat > conftest.$ac_ext <<EOF 9436 cat > conftest.$ac_ext <<EOF
9432 #line 9433 "configure" 9437 #line 9438 "configure"
9433 #include "confdefs.h" 9438 #include "confdefs.h"
9434 /* Override any gcc2 internal prototype to avoid an error. */ 9439 /* Override any gcc2 internal prototype to avoid an error. */
9435 /* We use char because int might match the return type of a gcc2 9440 /* We use char because int might match the return type of a gcc2
9436 builtin and then its argument prototype would still apply. */ 9441 builtin and then its argument prototype would still apply. */
9437 char XmbDrawString(); 9442 char XmbDrawString();
9438 9443
9439 int main() { 9444 int main() {
9440 XmbDrawString() 9445 XmbDrawString()
9441 ; return 0; } 9446 ; return 0; }
9442 EOF 9447 EOF
9443 if { (eval echo configure:9444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9448 if { (eval echo configure:9449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9444 rm -rf conftest* 9449 rm -rf conftest*
9445 eval "ac_cv_lib_$ac_lib_var=yes" 9450 eval "ac_cv_lib_$ac_lib_var=yes"
9446 else 9451 else
9447 echo "configure: failed program was:" >&5 9452 echo "configure: failed program was:" >&5
9448 cat conftest.$ac_ext >&5 9453 cat conftest.$ac_ext >&5
9478 fi 9483 fi
9479 fi 9484 fi
9480 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 9485 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
9481 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` 9486 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'`
9482 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 9487 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6
9483 echo "configure:9484: checking for wnn/jllib.h" >&5 9488 echo "configure:9489: checking for wnn/jllib.h" >&5
9484 9489
9485 cat > conftest.$ac_ext <<EOF 9490 cat > conftest.$ac_ext <<EOF
9486 #line 9487 "configure" 9491 #line 9492 "configure"
9487 #include "confdefs.h" 9492 #include "confdefs.h"
9488 #include <wnn/jllib.h> 9493 #include <wnn/jllib.h>
9489 EOF 9494 EOF
9490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9495 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9491 { (eval echo configure:9492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9496 { (eval echo configure:9497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9497 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9493 if test -z "$ac_err"; then 9498 if test -z "$ac_err"; then
9494 rm -rf conftest* 9499 rm -rf conftest*
9495 eval "ac_cv_header_$ac_safe=yes" 9500 eval "ac_cv_header_$ac_safe=yes"
9496 else 9501 else
9511 } 9516 }
9512 if test "$with_wnn" != "no"; then 9517 if test "$with_wnn" != "no"; then
9513 for ac_func in crypt 9518 for ac_func in crypt
9514 do 9519 do
9515 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 9520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9516 echo "configure:9517: checking for $ac_func" >&5 9521 echo "configure:9522: checking for $ac_func" >&5
9517 9522
9518 cat > conftest.$ac_ext <<EOF 9523 cat > conftest.$ac_ext <<EOF
9519 #line 9520 "configure" 9524 #line 9525 "configure"
9520 #include "confdefs.h" 9525 #include "confdefs.h"
9521 /* System header to define __stub macros and hopefully few prototypes, 9526 /* System header to define __stub macros and hopefully few prototypes,
9522 which can conflict with char $ac_func(); below. */ 9527 which can conflict with char $ac_func(); below. */
9523 #include <assert.h> 9528 #include <assert.h>
9524 /* Override any gcc2 internal prototype to avoid an error. */ 9529 /* Override any gcc2 internal prototype to avoid an error. */
9537 $ac_func(); 9542 $ac_func();
9538 #endif 9543 #endif
9539 9544
9540 ; return 0; } 9545 ; return 0; }
9541 EOF 9546 EOF
9542 if { (eval echo configure:9543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9547 if { (eval echo configure:9548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9543 rm -rf conftest* 9548 rm -rf conftest*
9544 eval "ac_cv_func_$ac_func=yes" 9549 eval "ac_cv_func_$ac_func=yes"
9545 else 9550 else
9546 echo "configure: failed program was:" >&5 9551 echo "configure: failed program was:" >&5
9547 cat conftest.$ac_ext >&5 9552 cat conftest.$ac_ext >&5
9566 fi 9571 fi
9567 done 9572 done
9568 9573
9569 test "$ac_cv_func_crypt" != "yes" && { 9574 test "$ac_cv_func_crypt" != "yes" && {
9570 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 9575 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
9571 echo "configure:9572: checking for crypt in -lcrypt" >&5 9576 echo "configure:9577: checking for crypt in -lcrypt" >&5
9572 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` 9577 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
9573 9578
9574 xe_check_libs=" -lcrypt " 9579 xe_check_libs=" -lcrypt "
9575 cat > conftest.$ac_ext <<EOF 9580 cat > conftest.$ac_ext <<EOF
9576 #line 9577 "configure" 9581 #line 9582 "configure"
9577 #include "confdefs.h" 9582 #include "confdefs.h"
9578 /* Override any gcc2 internal prototype to avoid an error. */ 9583 /* Override any gcc2 internal prototype to avoid an error. */
9579 /* We use char because int might match the return type of a gcc2 9584 /* We use char because int might match the return type of a gcc2
9580 builtin and then its argument prototype would still apply. */ 9585 builtin and then its argument prototype would still apply. */
9581 char crypt(); 9586 char crypt();
9582 9587
9583 int main() { 9588 int main() {
9584 crypt() 9589 crypt()
9585 ; return 0; } 9590 ; return 0; }
9586 EOF 9591 EOF
9587 if { (eval echo configure:9588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9592 if { (eval echo configure:9593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9588 rm -rf conftest* 9593 rm -rf conftest*
9589 eval "ac_cv_lib_$ac_lib_var=yes" 9594 eval "ac_cv_lib_$ac_lib_var=yes"
9590 else 9595 else
9591 echo "configure: failed program was:" >&5 9596 echo "configure: failed program was:" >&5
9592 cat conftest.$ac_ext >&5 9597 cat conftest.$ac_ext >&5
9617 } 9622 }
9618 fi 9623 fi
9619 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 9624 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
9620 9625
9621 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 9626 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6
9622 echo "configure:9623: checking for jl_dic_list_e in -lwnn" >&5 9627 echo "configure:9628: checking for jl_dic_list_e in -lwnn" >&5
9623 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 9628 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
9624 9629
9625 xe_check_libs=" -lwnn " 9630 xe_check_libs=" -lwnn "
9626 cat > conftest.$ac_ext <<EOF 9631 cat > conftest.$ac_ext <<EOF
9627 #line 9628 "configure" 9632 #line 9633 "configure"
9628 #include "confdefs.h" 9633 #include "confdefs.h"
9629 /* Override any gcc2 internal prototype to avoid an error. */ 9634 /* Override any gcc2 internal prototype to avoid an error. */
9630 /* We use char because int might match the return type of a gcc2 9635 /* We use char because int might match the return type of a gcc2
9631 builtin and then its argument prototype would still apply. */ 9636 builtin and then its argument prototype would still apply. */
9632 char jl_dic_list_e(); 9637 char jl_dic_list_e();
9633 9638
9634 int main() { 9639 int main() {
9635 jl_dic_list_e() 9640 jl_dic_list_e()
9636 ; return 0; } 9641 ; return 0; }
9637 EOF 9642 EOF
9638 if { (eval echo configure:9639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9643 if { (eval echo configure:9644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9639 rm -rf conftest* 9644 rm -rf conftest*
9640 eval "ac_cv_lib_$ac_lib_var=yes" 9645 eval "ac_cv_lib_$ac_lib_var=yes"
9641 else 9646 else
9642 echo "configure: failed program was:" >&5 9647 echo "configure: failed program was:" >&5
9643 cat conftest.$ac_ext >&5 9648 cat conftest.$ac_ext >&5
9651 echo "$ac_t""yes" 1>&6 9656 echo "$ac_t""yes" 1>&6
9652 libwnn=wnn 9657 libwnn=wnn
9653 else 9658 else
9654 echo "$ac_t""no" 1>&6 9659 echo "$ac_t""no" 1>&6
9655 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 9660 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6
9656 echo "configure:9657: checking for jl_dic_list_e in -lwnn4" >&5 9661 echo "configure:9662: checking for jl_dic_list_e in -lwnn4" >&5
9657 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 9662 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
9658 9663
9659 xe_check_libs=" -lwnn4 " 9664 xe_check_libs=" -lwnn4 "
9660 cat > conftest.$ac_ext <<EOF 9665 cat > conftest.$ac_ext <<EOF
9661 #line 9662 "configure" 9666 #line 9667 "configure"
9662 #include "confdefs.h" 9667 #include "confdefs.h"
9663 /* Override any gcc2 internal prototype to avoid an error. */ 9668 /* Override any gcc2 internal prototype to avoid an error. */
9664 /* We use char because int might match the return type of a gcc2 9669 /* We use char because int might match the return type of a gcc2
9665 builtin and then its argument prototype would still apply. */ 9670 builtin and then its argument prototype would still apply. */
9666 char jl_dic_list_e(); 9671 char jl_dic_list_e();
9667 9672
9668 int main() { 9673 int main() {
9669 jl_dic_list_e() 9674 jl_dic_list_e()
9670 ; return 0; } 9675 ; return 0; }
9671 EOF 9676 EOF
9672 if { (eval echo configure:9673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9677 if { (eval echo configure:9678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9673 rm -rf conftest* 9678 rm -rf conftest*
9674 eval "ac_cv_lib_$ac_lib_var=yes" 9679 eval "ac_cv_lib_$ac_lib_var=yes"
9675 else 9680 else
9676 echo "configure: failed program was:" >&5 9681 echo "configure: failed program was:" >&5
9677 cat conftest.$ac_ext >&5 9682 cat conftest.$ac_ext >&5
9685 echo "$ac_t""yes" 1>&6 9690 echo "$ac_t""yes" 1>&6
9686 libwnn=wnn4 9691 libwnn=wnn4
9687 else 9692 else
9688 echo "$ac_t""no" 1>&6 9693 echo "$ac_t""no" 1>&6
9689 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 9694 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6
9690 echo "configure:9691: checking for jl_dic_list_e in -lwnn6" >&5 9695 echo "configure:9696: checking for jl_dic_list_e in -lwnn6" >&5
9691 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` 9696 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'`
9692 9697
9693 xe_check_libs=" -lwnn6 " 9698 xe_check_libs=" -lwnn6 "
9694 cat > conftest.$ac_ext <<EOF 9699 cat > conftest.$ac_ext <<EOF
9695 #line 9696 "configure" 9700 #line 9701 "configure"
9696 #include "confdefs.h" 9701 #include "confdefs.h"
9697 /* Override any gcc2 internal prototype to avoid an error. */ 9702 /* Override any gcc2 internal prototype to avoid an error. */
9698 /* We use char because int might match the return type of a gcc2 9703 /* We use char because int might match the return type of a gcc2
9699 builtin and then its argument prototype would still apply. */ 9704 builtin and then its argument prototype would still apply. */
9700 char jl_dic_list_e(); 9705 char jl_dic_list_e();
9701 9706
9702 int main() { 9707 int main() {
9703 jl_dic_list_e() 9708 jl_dic_list_e()
9704 ; return 0; } 9709 ; return 0; }
9705 EOF 9710 EOF
9706 if { (eval echo configure:9707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9711 if { (eval echo configure:9712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9707 rm -rf conftest* 9712 rm -rf conftest*
9708 eval "ac_cv_lib_$ac_lib_var=yes" 9713 eval "ac_cv_lib_$ac_lib_var=yes"
9709 else 9714 else
9710 echo "configure: failed program was:" >&5 9715 echo "configure: failed program was:" >&5
9711 cat conftest.$ac_ext >&5 9716 cat conftest.$ac_ext >&5
9719 echo "$ac_t""yes" 1>&6 9724 echo "$ac_t""yes" 1>&6
9720 libwnn=wnn6 9725 libwnn=wnn6
9721 else 9726 else
9722 echo "$ac_t""no" 1>&6 9727 echo "$ac_t""no" 1>&6
9723 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 9728 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6
9724 echo "configure:9725: checking for dic_list_e in -lwnn6_fromsrc" >&5 9729 echo "configure:9730: checking for dic_list_e in -lwnn6_fromsrc" >&5
9725 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` 9730 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'`
9726 9731
9727 xe_check_libs=" -lwnn6_fromsrc " 9732 xe_check_libs=" -lwnn6_fromsrc "
9728 cat > conftest.$ac_ext <<EOF 9733 cat > conftest.$ac_ext <<EOF
9729 #line 9730 "configure" 9734 #line 9735 "configure"
9730 #include "confdefs.h" 9735 #include "confdefs.h"
9731 /* Override any gcc2 internal prototype to avoid an error. */ 9736 /* Override any gcc2 internal prototype to avoid an error. */
9732 /* We use char because int might match the return type of a gcc2 9737 /* We use char because int might match the return type of a gcc2
9733 builtin and then its argument prototype would still apply. */ 9738 builtin and then its argument prototype would still apply. */
9734 char dic_list_e(); 9739 char dic_list_e();
9735 9740
9736 int main() { 9741 int main() {
9737 dic_list_e() 9742 dic_list_e()
9738 ; return 0; } 9743 ; return 0; }
9739 EOF 9744 EOF
9740 if { (eval echo configure:9741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9745 if { (eval echo configure:9746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9741 rm -rf conftest* 9746 rm -rf conftest*
9742 eval "ac_cv_lib_$ac_lib_var=yes" 9747 eval "ac_cv_lib_$ac_lib_var=yes"
9743 else 9748 else
9744 echo "configure: failed program was:" >&5 9749 echo "configure: failed program was:" >&5
9745 cat conftest.$ac_ext >&5 9750 cat conftest.$ac_ext >&5
9783 echo " xemacs will be linked with \"mule-wnnfns.o\"" 9788 echo " xemacs will be linked with \"mule-wnnfns.o\""
9784 fi 9789 fi
9785 if test "$with_wnn6" != "no"; then 9790 if test "$with_wnn6" != "no"; then
9786 9791
9787 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 9792 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6
9788 echo "configure:9789: checking for jl_fi_dic_list in -l$libwnn" >&5 9793 echo "configure:9794: checking for jl_fi_dic_list in -l$libwnn" >&5
9789 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` 9794 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'`
9790 9795
9791 xe_check_libs=" -l$libwnn " 9796 xe_check_libs=" -l$libwnn "
9792 cat > conftest.$ac_ext <<EOF 9797 cat > conftest.$ac_ext <<EOF
9793 #line 9794 "configure" 9798 #line 9799 "configure"
9794 #include "confdefs.h" 9799 #include "confdefs.h"
9795 /* Override any gcc2 internal prototype to avoid an error. */ 9800 /* Override any gcc2 internal prototype to avoid an error. */
9796 /* We use char because int might match the return type of a gcc2 9801 /* We use char because int might match the return type of a gcc2
9797 builtin and then its argument prototype would still apply. */ 9802 builtin and then its argument prototype would still apply. */
9798 char jl_fi_dic_list(); 9803 char jl_fi_dic_list();
9799 9804
9800 int main() { 9805 int main() {
9801 jl_fi_dic_list() 9806 jl_fi_dic_list()
9802 ; return 0; } 9807 ; return 0; }
9803 EOF 9808 EOF
9804 if { (eval echo configure:9805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9809 if { (eval echo configure:9810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9805 rm -rf conftest* 9810 rm -rf conftest*
9806 eval "ac_cv_lib_$ac_lib_var=yes" 9811 eval "ac_cv_lib_$ac_lib_var=yes"
9807 else 9812 else
9808 echo "configure: failed program was:" >&5 9813 echo "configure: failed program was:" >&5
9809 cat conftest.$ac_ext >&5 9814 cat conftest.$ac_ext >&5
9834 9839
9835 canna_includes_found=no 9840 canna_includes_found=no
9836 if test "$with_canna" != "no"; then 9841 if test "$with_canna" != "no"; then
9837 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 9842 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
9838 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 9843 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
9839 echo "configure:9840: checking for canna/jrkanji.h" >&5 9844 echo "configure:9845: checking for canna/jrkanji.h" >&5
9840 9845
9841 cat > conftest.$ac_ext <<EOF 9846 cat > conftest.$ac_ext <<EOF
9842 #line 9843 "configure" 9847 #line 9848 "configure"
9843 #include "confdefs.h" 9848 #include "confdefs.h"
9844 #include <canna/jrkanji.h> 9849 #include <canna/jrkanji.h>
9845 EOF 9850 EOF
9846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9851 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9847 { (eval echo configure:9848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9852 { (eval echo configure:9853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9853 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9849 if test -z "$ac_err"; then 9854 if test -z "$ac_err"; then
9850 rm -rf conftest* 9855 rm -rf conftest*
9851 eval "ac_cv_header_$ac_safe=yes" 9856 eval "ac_cv_header_$ac_safe=yes"
9852 else 9857 else
9869 -d "/usr/local/canna/include"; then 9874 -d "/usr/local/canna/include"; then
9870 save_c_switch_site="$c_switch_site" 9875 save_c_switch_site="$c_switch_site"
9871 c_switch_site="$c_switch_site -I/usr/local/canna/include" 9876 c_switch_site="$c_switch_site -I/usr/local/canna/include"
9872 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` 9877 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'`
9873 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 9878 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6
9874 echo "configure:9875: checking for canna/jrkanji.h" >&5 9879 echo "configure:9880: checking for canna/jrkanji.h" >&5
9875 9880
9876 cat > conftest.$ac_ext <<EOF 9881 cat > conftest.$ac_ext <<EOF
9877 #line 9878 "configure" 9882 #line 9883 "configure"
9878 #include "confdefs.h" 9883 #include "confdefs.h"
9879 #include <canna/jrkanji.h> 9884 #include <canna/jrkanji.h>
9880 EOF 9885 EOF
9881 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9882 { (eval echo configure:9883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9887 { (eval echo configure:9888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9883 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9888 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9884 if test -z "$ac_err"; then 9889 if test -z "$ac_err"; then
9885 rm -rf conftest* 9890 rm -rf conftest*
9886 eval "ac_cv_header_$ac_safe=yes" 9891 eval "ac_cv_header_$ac_safe=yes"
9887 else 9892 else
9905 fi 9910 fi
9906 fi 9911 fi
9907 9912
9908 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` 9913 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'`
9909 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 9914 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6
9910 echo "configure:9911: checking for canna/RK.h" >&5 9915 echo "configure:9916: checking for canna/RK.h" >&5
9911 9916
9912 cat > conftest.$ac_ext <<EOF 9917 cat > conftest.$ac_ext <<EOF
9913 #line 9914 "configure" 9918 #line 9919 "configure"
9914 #include "confdefs.h" 9919 #include "confdefs.h"
9915 #include <canna/RK.h> 9920 #include <canna/RK.h>
9916 EOF 9921 EOF
9917 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 9922 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9918 { (eval echo configure:9919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 9923 { (eval echo configure:9924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9919 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 9924 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9920 if test -z "$ac_err"; then 9925 if test -z "$ac_err"; then
9921 rm -rf conftest* 9926 rm -rf conftest*
9922 eval "ac_cv_header_$ac_safe=yes" 9927 eval "ac_cv_header_$ac_safe=yes"
9923 else 9928 else
9936 with_canna=no 9941 with_canna=no
9937 fi 9942 fi
9938 } 9943 }
9939 test -z "$with_canna" && { 9944 test -z "$with_canna" && {
9940 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 9945 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6
9941 echo "configure:9942: checking for RkBgnBun in -lRKC" >&5 9946 echo "configure:9947: checking for RkBgnBun in -lRKC" >&5
9942 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` 9947 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'`
9943 9948
9944 xe_check_libs=" -lRKC " 9949 xe_check_libs=" -lRKC "
9945 cat > conftest.$ac_ext <<EOF 9950 cat > conftest.$ac_ext <<EOF
9946 #line 9947 "configure" 9951 #line 9952 "configure"
9947 #include "confdefs.h" 9952 #include "confdefs.h"
9948 /* Override any gcc2 internal prototype to avoid an error. */ 9953 /* Override any gcc2 internal prototype to avoid an error. */
9949 /* We use char because int might match the return type of a gcc2 9954 /* We use char because int might match the return type of a gcc2
9950 builtin and then its argument prototype would still apply. */ 9955 builtin and then its argument prototype would still apply. */
9951 char RkBgnBun(); 9956 char RkBgnBun();
9952 9957
9953 int main() { 9958 int main() {
9954 RkBgnBun() 9959 RkBgnBun()
9955 ; return 0; } 9960 ; return 0; }
9956 EOF 9961 EOF
9957 if { (eval echo configure:9958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 9962 if { (eval echo configure:9963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9958 rm -rf conftest* 9963 rm -rf conftest*
9959 eval "ac_cv_lib_$ac_lib_var=yes" 9964 eval "ac_cv_lib_$ac_lib_var=yes"
9960 else 9965 else
9961 echo "configure: failed program was:" >&5 9966 echo "configure: failed program was:" >&5
9962 cat conftest.$ac_ext >&5 9967 cat conftest.$ac_ext >&5
9975 fi 9980 fi
9976 9981
9977 } 9982 }
9978 test -z "$with_canna" && { 9983 test -z "$with_canna" && {
9979 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 9984 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6
9980 echo "configure:9981: checking for jrKanjiControl in -lcanna" >&5 9985 echo "configure:9986: checking for jrKanjiControl in -lcanna" >&5
9981 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` 9986 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'`
9982 9987
9983 xe_check_libs=" -lcanna " 9988 xe_check_libs=" -lcanna "
9984 cat > conftest.$ac_ext <<EOF 9989 cat > conftest.$ac_ext <<EOF
9985 #line 9986 "configure" 9990 #line 9991 "configure"
9986 #include "confdefs.h" 9991 #include "confdefs.h"
9987 /* Override any gcc2 internal prototype to avoid an error. */ 9992 /* Override any gcc2 internal prototype to avoid an error. */
9988 /* We use char because int might match the return type of a gcc2 9993 /* We use char because int might match the return type of a gcc2
9989 builtin and then its argument prototype would still apply. */ 9994 builtin and then its argument prototype would still apply. */
9990 char jrKanjiControl(); 9995 char jrKanjiControl();
9991 9996
9992 int main() { 9997 int main() {
9993 jrKanjiControl() 9998 jrKanjiControl()
9994 ; return 0; } 9999 ; return 0; }
9995 EOF 10000 EOF
9996 if { (eval echo configure:9997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10001 if { (eval echo configure:10002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9997 rm -rf conftest* 10002 rm -rf conftest*
9998 eval "ac_cv_lib_$ac_lib_var=yes" 10003 eval "ac_cv_lib_$ac_lib_var=yes"
9999 else 10004 else
10000 echo "configure: failed program was:" >&5 10005 echo "configure: failed program was:" >&5
10001 cat conftest.$ac_ext >&5 10006 cat conftest.$ac_ext >&5
10040 10045
10041 if test "$need_motif" = "yes" ; then 10046 if test "$need_motif" = "yes" ; then
10042 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 10047 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
10043 10048
10044 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 10049 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6
10045 echo "configure:10046: checking for layout_object_getvalue in -li18n" >&5 10050 echo "configure:10051: checking for layout_object_getvalue in -li18n" >&5
10046 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` 10051 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'`
10047 10052
10048 xe_check_libs=" -li18n " 10053 xe_check_libs=" -li18n "
10049 cat > conftest.$ac_ext <<EOF 10054 cat > conftest.$ac_ext <<EOF
10050 #line 10051 "configure" 10055 #line 10056 "configure"
10051 #include "confdefs.h" 10056 #include "confdefs.h"
10052 /* Override any gcc2 internal prototype to avoid an error. */ 10057 /* Override any gcc2 internal prototype to avoid an error. */
10053 /* We use char because int might match the return type of a gcc2 10058 /* We use char because int might match the return type of a gcc2
10054 builtin and then its argument prototype would still apply. */ 10059 builtin and then its argument prototype would still apply. */
10055 char layout_object_getvalue(); 10060 char layout_object_getvalue();
10056 10061
10057 int main() { 10062 int main() {
10058 layout_object_getvalue() 10063 layout_object_getvalue()
10059 ; return 0; } 10064 ; return 0; }
10060 EOF 10065 EOF
10061 if { (eval echo configure:10062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10066 if { (eval echo configure:10067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10062 rm -rf conftest* 10067 rm -rf conftest*
10063 eval "ac_cv_lib_$ac_lib_var=yes" 10068 eval "ac_cv_lib_$ac_lib_var=yes"
10064 else 10069 else
10065 echo "configure: failed program was:" >&5 10070 echo "configure: failed program was:" >&5
10066 cat conftest.$ac_ext >&5 10071 cat conftest.$ac_ext >&5
10142 fi 10147 fi
10143 10148
10144 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo 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 stpcpy strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask 10149 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo 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 stpcpy strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask
10145 do 10150 do
10146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10147 echo "configure:10148: checking for $ac_func" >&5 10152 echo "configure:10153: checking for $ac_func" >&5
10148 10153
10149 cat > conftest.$ac_ext <<EOF 10154 cat > conftest.$ac_ext <<EOF
10150 #line 10151 "configure" 10155 #line 10156 "configure"
10151 #include "confdefs.h" 10156 #include "confdefs.h"
10152 /* System header to define __stub macros and hopefully few prototypes, 10157 /* System header to define __stub macros and hopefully few prototypes,
10153 which can conflict with char $ac_func(); below. */ 10158 which can conflict with char $ac_func(); below. */
10154 #include <assert.h> 10159 #include <assert.h>
10155 /* Override any gcc2 internal prototype to avoid an error. */ 10160 /* Override any gcc2 internal prototype to avoid an error. */
10168 $ac_func(); 10173 $ac_func();
10169 #endif 10174 #endif
10170 10175
10171 ; return 0; } 10176 ; return 0; }
10172 EOF 10177 EOF
10173 if { (eval echo configure:10174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10178 if { (eval echo configure:10179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10174 rm -rf conftest* 10179 rm -rf conftest*
10175 eval "ac_cv_func_$ac_func=yes" 10180 eval "ac_cv_func_$ac_func=yes"
10176 else 10181 else
10177 echo "configure: failed program was:" >&5 10182 echo "configure: failed program was:" >&5
10178 cat conftest.$ac_ext >&5 10183 cat conftest.$ac_ext >&5
10199 10204
10200 10205
10201 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 10206 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
10202 do 10207 do
10203 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10204 echo "configure:10205: checking for $ac_func" >&5 10209 echo "configure:10210: checking for $ac_func" >&5
10205 10210
10206 cat > conftest.$ac_ext <<EOF 10211 cat > conftest.$ac_ext <<EOF
10207 #line 10208 "configure" 10212 #line 10213 "configure"
10208 #include "confdefs.h" 10213 #include "confdefs.h"
10209 /* System header to define __stub macros and hopefully few prototypes, 10214 /* System header to define __stub macros and hopefully few prototypes,
10210 which can conflict with char $ac_func(); below. */ 10215 which can conflict with char $ac_func(); below. */
10211 #include <assert.h> 10216 #include <assert.h>
10212 /* Override any gcc2 internal prototype to avoid an error. */ 10217 /* Override any gcc2 internal prototype to avoid an error. */
10225 $ac_func(); 10230 $ac_func();
10226 #endif 10231 #endif
10227 10232
10228 ; return 0; } 10233 ; return 0; }
10229 EOF 10234 EOF
10230 if { (eval echo configure:10231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10235 if { (eval echo configure:10236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10231 rm -rf conftest* 10236 rm -rf conftest*
10232 eval "ac_cv_func_$ac_func=yes" 10237 eval "ac_cv_func_$ac_func=yes"
10233 else 10238 else
10234 echo "configure: failed program was:" >&5 10239 echo "configure: failed program was:" >&5
10235 cat conftest.$ac_ext >&5 10240 cat conftest.$ac_ext >&5
10254 fi 10259 fi
10255 done 10260 done
10256 10261
10257 10262
10258 echo $ac_n "checking for openpty""... $ac_c" 1>&6 10263 echo $ac_n "checking for openpty""... $ac_c" 1>&6
10259 echo "configure:10260: checking for openpty" >&5 10264 echo "configure:10265: checking for openpty" >&5
10260 10265
10261 cat > conftest.$ac_ext <<EOF 10266 cat > conftest.$ac_ext <<EOF
10262 #line 10263 "configure" 10267 #line 10268 "configure"
10263 #include "confdefs.h" 10268 #include "confdefs.h"
10264 /* System header to define __stub macros and hopefully few prototypes, 10269 /* System header to define __stub macros and hopefully few prototypes,
10265 which can conflict with char openpty(); below. */ 10270 which can conflict with char openpty(); below. */
10266 #include <assert.h> 10271 #include <assert.h>
10267 /* Override any gcc2 internal prototype to avoid an error. */ 10272 /* Override any gcc2 internal prototype to avoid an error. */
10280 openpty(); 10285 openpty();
10281 #endif 10286 #endif
10282 10287
10283 ; return 0; } 10288 ; return 0; }
10284 EOF 10289 EOF
10285 if { (eval echo configure:10286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10290 if { (eval echo configure:10291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10286 rm -rf conftest* 10291 rm -rf conftest*
10287 eval "ac_cv_func_openpty=yes" 10292 eval "ac_cv_func_openpty=yes"
10288 else 10293 else
10289 echo "configure: failed program was:" >&5 10294 echo "configure: failed program was:" >&5
10290 cat conftest.$ac_ext >&5 10295 cat conftest.$ac_ext >&5
10299 else 10304 else
10300 echo "$ac_t""no" 1>&6 10305 echo "$ac_t""no" 1>&6
10301 10306
10302 10307
10303 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 10308 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6
10304 echo "configure:10305: checking for openpty in -lutil" >&5 10309 echo "configure:10310: checking for openpty in -lutil" >&5
10305 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` 10310 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'`
10306 10311
10307 xe_check_libs=" -lutil " 10312 xe_check_libs=" -lutil "
10308 cat > conftest.$ac_ext <<EOF 10313 cat > conftest.$ac_ext <<EOF
10309 #line 10310 "configure" 10314 #line 10315 "configure"
10310 #include "confdefs.h" 10315 #include "confdefs.h"
10311 /* Override any gcc2 internal prototype to avoid an error. */ 10316 /* Override any gcc2 internal prototype to avoid an error. */
10312 /* We use char because int might match the return type of a gcc2 10317 /* We use char because int might match the return type of a gcc2
10313 builtin and then its argument prototype would still apply. */ 10318 builtin and then its argument prototype would still apply. */
10314 char openpty(); 10319 char openpty();
10315 10320
10316 int main() { 10321 int main() {
10317 openpty() 10322 openpty()
10318 ; return 0; } 10323 ; return 0; }
10319 EOF 10324 EOF
10320 if { (eval echo configure:10321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10325 if { (eval echo configure:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10321 rm -rf conftest* 10326 rm -rf conftest*
10322 eval "ac_cv_lib_$ac_lib_var=yes" 10327 eval "ac_cv_lib_$ac_lib_var=yes"
10323 else 10328 else
10324 echo "configure: failed program was:" >&5 10329 echo "configure: failed program was:" >&5
10325 cat conftest.$ac_ext >&5 10330 cat conftest.$ac_ext >&5
10350 10355
10351 for ac_hdr in pty.h libutil.h 10356 for ac_hdr in pty.h libutil.h
10352 do 10357 do
10353 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10358 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10354 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10359 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10355 echo "configure:10356: checking for $ac_hdr" >&5 10360 echo "configure:10361: checking for $ac_hdr" >&5
10356 10361
10357 cat > conftest.$ac_ext <<EOF 10362 cat > conftest.$ac_ext <<EOF
10358 #line 10359 "configure" 10363 #line 10364 "configure"
10359 #include "confdefs.h" 10364 #include "confdefs.h"
10360 #include <$ac_hdr> 10365 #include <$ac_hdr>
10361 EOF 10366 EOF
10362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10367 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10363 { (eval echo configure:10364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10368 { (eval echo configure:10369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10369 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10365 if test -z "$ac_err"; then 10370 if test -z "$ac_err"; then
10366 rm -rf conftest* 10371 rm -rf conftest*
10367 eval "ac_cv_header_$ac_safe=yes" 10372 eval "ac_cv_header_$ac_safe=yes"
10368 else 10373 else
10394 10399
10395 for ac_hdr in stropts.h 10400 for ac_hdr in stropts.h
10396 do 10401 do
10397 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10402 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10398 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10403 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10399 echo "configure:10400: checking for $ac_hdr" >&5 10404 echo "configure:10405: checking for $ac_hdr" >&5
10400 10405
10401 cat > conftest.$ac_ext <<EOF 10406 cat > conftest.$ac_ext <<EOF
10402 #line 10403 "configure" 10407 #line 10408 "configure"
10403 #include "confdefs.h" 10408 #include "confdefs.h"
10404 #include <$ac_hdr> 10409 #include <$ac_hdr>
10405 EOF 10410 EOF
10406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10411 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10407 { (eval echo configure:10408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10412 { (eval echo configure:10413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10413 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10409 if test -z "$ac_err"; then 10414 if test -z "$ac_err"; then
10410 rm -rf conftest* 10415 rm -rf conftest*
10411 eval "ac_cv_header_$ac_safe=yes" 10416 eval "ac_cv_header_$ac_safe=yes"
10412 else 10417 else
10435 10440
10436 if test "$ac_cv_header_stropts_h" = "yes"; then 10441 if test "$ac_cv_header_stropts_h" = "yes"; then
10437 for ac_func in isastream 10442 for ac_func in isastream
10438 do 10443 do
10439 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10440 echo "configure:10441: checking for $ac_func" >&5 10445 echo "configure:10446: checking for $ac_func" >&5
10441 10446
10442 cat > conftest.$ac_ext <<EOF 10447 cat > conftest.$ac_ext <<EOF
10443 #line 10444 "configure" 10448 #line 10449 "configure"
10444 #include "confdefs.h" 10449 #include "confdefs.h"
10445 /* System header to define __stub macros and hopefully few prototypes, 10450 /* System header to define __stub macros and hopefully few prototypes,
10446 which can conflict with char $ac_func(); below. */ 10451 which can conflict with char $ac_func(); below. */
10447 #include <assert.h> 10452 #include <assert.h>
10448 /* Override any gcc2 internal prototype to avoid an error. */ 10453 /* Override any gcc2 internal prototype to avoid an error. */
10461 $ac_func(); 10466 $ac_func();
10462 #endif 10467 #endif
10463 10468
10464 ; return 0; } 10469 ; return 0; }
10465 EOF 10470 EOF
10466 if { (eval echo configure:10467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10471 if { (eval echo configure:10472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10467 rm -rf conftest* 10472 rm -rf conftest*
10468 eval "ac_cv_func_$ac_func=yes" 10473 eval "ac_cv_func_$ac_func=yes"
10469 else 10474 else
10470 echo "configure: failed program was:" >&5 10475 echo "configure: failed program was:" >&5
10471 cat conftest.$ac_ext >&5 10476 cat conftest.$ac_ext >&5
10492 10497
10493 for ac_hdr in strtio.h 10498 for ac_hdr in strtio.h
10494 do 10499 do
10495 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10500 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10496 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10501 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10497 echo "configure:10498: checking for $ac_hdr" >&5 10502 echo "configure:10503: checking for $ac_hdr" >&5
10498 10503
10499 cat > conftest.$ac_ext <<EOF 10504 cat > conftest.$ac_ext <<EOF
10500 #line 10501 "configure" 10505 #line 10506 "configure"
10501 #include "confdefs.h" 10506 #include "confdefs.h"
10502 #include <$ac_hdr> 10507 #include <$ac_hdr>
10503 EOF 10508 EOF
10504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10509 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10505 { (eval echo configure:10506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10510 { (eval echo configure:10511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10511 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10507 if test -z "$ac_err"; then 10512 if test -z "$ac_err"; then
10508 rm -rf conftest* 10513 rm -rf conftest*
10509 eval "ac_cv_header_$ac_safe=yes" 10514 eval "ac_cv_header_$ac_safe=yes"
10510 else 10515 else
10537 fi 10542 fi
10538 10543
10539 for ac_func in getloadavg 10544 for ac_func in getloadavg
10540 do 10545 do
10541 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 10546 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10542 echo "configure:10543: checking for $ac_func" >&5 10547 echo "configure:10548: checking for $ac_func" >&5
10543 10548
10544 cat > conftest.$ac_ext <<EOF 10549 cat > conftest.$ac_ext <<EOF
10545 #line 10546 "configure" 10550 #line 10551 "configure"
10546 #include "confdefs.h" 10551 #include "confdefs.h"
10547 /* System header to define __stub macros and hopefully few prototypes, 10552 /* System header to define __stub macros and hopefully few prototypes,
10548 which can conflict with char $ac_func(); below. */ 10553 which can conflict with char $ac_func(); below. */
10549 #include <assert.h> 10554 #include <assert.h>
10550 /* Override any gcc2 internal prototype to avoid an error. */ 10555 /* Override any gcc2 internal prototype to avoid an error. */
10563 $ac_func(); 10568 $ac_func();
10564 #endif 10569 #endif
10565 10570
10566 ; return 0; } 10571 ; return 0; }
10567 EOF 10572 EOF
10568 if { (eval echo configure:10569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10573 if { (eval echo configure:10574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10569 rm -rf conftest* 10574 rm -rf conftest*
10570 eval "ac_cv_func_$ac_func=yes" 10575 eval "ac_cv_func_$ac_func=yes"
10571 else 10576 else
10572 echo "configure: failed program was:" >&5 10577 echo "configure: failed program was:" >&5
10573 cat conftest.$ac_ext >&5 10578 cat conftest.$ac_ext >&5
10596 if test "$ac_cv_func_getloadavg" = "yes"; then 10601 if test "$ac_cv_func_getloadavg" = "yes"; then
10597 for ac_hdr in sys/loadavg.h 10602 for ac_hdr in sys/loadavg.h
10598 do 10603 do
10599 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10604 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10600 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10605 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10601 echo "configure:10602: checking for $ac_hdr" >&5 10606 echo "configure:10607: checking for $ac_hdr" >&5
10602 10607
10603 cat > conftest.$ac_ext <<EOF 10608 cat > conftest.$ac_ext <<EOF
10604 #line 10605 "configure" 10609 #line 10610 "configure"
10605 #include "confdefs.h" 10610 #include "confdefs.h"
10606 #include <$ac_hdr> 10611 #include <$ac_hdr>
10607 EOF 10612 EOF
10608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10609 { (eval echo configure:10610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10614 { (eval echo configure:10615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10611 if test -z "$ac_err"; then 10616 if test -z "$ac_err"; then
10612 rm -rf conftest* 10617 rm -rf conftest*
10613 eval "ac_cv_header_$ac_safe=yes" 10618 eval "ac_cv_header_$ac_safe=yes"
10614 else 10619 else
10640 echo " xemacs will be linked with \"getloadavg.o\"" 10645 echo " xemacs will be linked with \"getloadavg.o\""
10641 fi 10646 fi
10642 10647
10643 10648
10644 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 10649 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6
10645 echo "configure:10646: checking for kstat_open in -lkstat" >&5 10650 echo "configure:10651: checking for kstat_open in -lkstat" >&5
10646 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` 10651 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'`
10647 10652
10648 xe_check_libs=" -lkstat " 10653 xe_check_libs=" -lkstat "
10649 cat > conftest.$ac_ext <<EOF 10654 cat > conftest.$ac_ext <<EOF
10650 #line 10651 "configure" 10655 #line 10656 "configure"
10651 #include "confdefs.h" 10656 #include "confdefs.h"
10652 /* Override any gcc2 internal prototype to avoid an error. */ 10657 /* Override any gcc2 internal prototype to avoid an error. */
10653 /* We use char because int might match the return type of a gcc2 10658 /* We use char because int might match the return type of a gcc2
10654 builtin and then its argument prototype would still apply. */ 10659 builtin and then its argument prototype would still apply. */
10655 char kstat_open(); 10660 char kstat_open();
10656 10661
10657 int main() { 10662 int main() {
10658 kstat_open() 10663 kstat_open()
10659 ; return 0; } 10664 ; return 0; }
10660 EOF 10665 EOF
10661 if { (eval echo configure:10662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10666 if { (eval echo configure:10667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10662 rm -rf conftest* 10667 rm -rf conftest*
10663 eval "ac_cv_lib_$ac_lib_var=yes" 10668 eval "ac_cv_lib_$ac_lib_var=yes"
10664 else 10669 else
10665 echo "configure: failed program was:" >&5 10670 echo "configure: failed program was:" >&5
10666 cat conftest.$ac_ext >&5 10671 cat conftest.$ac_ext >&5
10691 10696
10692 for ac_hdr in kstat.h 10697 for ac_hdr in kstat.h
10693 do 10698 do
10694 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 10699 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10695 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 10700 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10696 echo "configure:10697: checking for $ac_hdr" >&5 10701 echo "configure:10702: checking for $ac_hdr" >&5
10697 10702
10698 cat > conftest.$ac_ext <<EOF 10703 cat > conftest.$ac_ext <<EOF
10699 #line 10700 "configure" 10704 #line 10705 "configure"
10700 #include "confdefs.h" 10705 #include "confdefs.h"
10701 #include <$ac_hdr> 10706 #include <$ac_hdr>
10702 EOF 10707 EOF
10703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 10708 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10704 { (eval echo configure:10705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 10709 { (eval echo configure:10710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 10710 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10706 if test -z "$ac_err"; then 10711 if test -z "$ac_err"; then
10707 rm -rf conftest* 10712 rm -rf conftest*
10708 eval "ac_cv_header_$ac_safe=yes" 10713 eval "ac_cv_header_$ac_safe=yes"
10709 else 10714 else
10731 done 10736 done
10732 10737
10733 10738
10734 10739
10735 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 10740 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6
10736 echo "configure:10737: checking for kvm_read in -lkvm" >&5 10741 echo "configure:10742: checking for kvm_read in -lkvm" >&5
10737 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` 10742 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'`
10738 10743
10739 xe_check_libs=" -lkvm " 10744 xe_check_libs=" -lkvm "
10740 cat > conftest.$ac_ext <<EOF 10745 cat > conftest.$ac_ext <<EOF
10741 #line 10742 "configure" 10746 #line 10747 "configure"
10742 #include "confdefs.h" 10747 #include "confdefs.h"
10743 /* Override any gcc2 internal prototype to avoid an error. */ 10748 /* Override any gcc2 internal prototype to avoid an error. */
10744 /* We use char because int might match the return type of a gcc2 10749 /* We use char because int might match the return type of a gcc2
10745 builtin and then its argument prototype would still apply. */ 10750 builtin and then its argument prototype would still apply. */
10746 char kvm_read(); 10751 char kvm_read();
10747 10752
10748 int main() { 10753 int main() {
10749 kvm_read() 10754 kvm_read()
10750 ; return 0; } 10755 ; return 0; }
10751 EOF 10756 EOF
10752 if { (eval echo configure:10753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10757 if { (eval echo configure:10758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10753 rm -rf conftest* 10758 rm -rf conftest*
10754 eval "ac_cv_lib_$ac_lib_var=yes" 10759 eval "ac_cv_lib_$ac_lib_var=yes"
10755 else 10760 else
10756 echo "configure: failed program was:" >&5 10761 echo "configure: failed program was:" >&5
10757 cat conftest.$ac_ext >&5 10762 cat conftest.$ac_ext >&5
10781 10786
10782 10787
10783 fi 10788 fi
10784 10789
10785 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 10790 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6
10786 echo "configure:10787: checking whether netdb declares h_errno" >&5 10791 echo "configure:10792: checking whether netdb declares h_errno" >&5
10787 cat > conftest.$ac_ext <<EOF 10792 cat > conftest.$ac_ext <<EOF
10788 #line 10789 "configure" 10793 #line 10794 "configure"
10789 #include "confdefs.h" 10794 #include "confdefs.h"
10790 #include <netdb.h> 10795 #include <netdb.h>
10791 int main() { 10796 int main() {
10792 return h_errno; 10797 return h_errno;
10793 ; return 0; } 10798 ; return 0; }
10794 EOF 10799 EOF
10795 if { (eval echo configure:10796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10800 if { (eval echo configure:10801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10796 rm -rf conftest* 10801 rm -rf conftest*
10797 echo "$ac_t""yes" 1>&6 10802 echo "$ac_t""yes" 1>&6
10798 { test "$extra_verbose" = "yes" && cat << \EOF 10803 { test "$extra_verbose" = "yes" && cat << \EOF
10799 Defining HAVE_H_ERRNO 10804 Defining HAVE_H_ERRNO
10800 EOF 10805 EOF
10810 echo "$ac_t""no" 1>&6 10815 echo "$ac_t""no" 1>&6
10811 fi 10816 fi
10812 rm -f conftest* 10817 rm -f conftest*
10813 10818
10814 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 10819 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6
10815 echo "configure:10816: checking for sigsetjmp" >&5 10820 echo "configure:10821: checking for sigsetjmp" >&5
10816 cat > conftest.$ac_ext <<EOF 10821 cat > conftest.$ac_ext <<EOF
10817 #line 10818 "configure" 10822 #line 10823 "configure"
10818 #include "confdefs.h" 10823 #include "confdefs.h"
10819 #include <setjmp.h> 10824 #include <setjmp.h>
10820 int main() { 10825 int main() {
10821 sigjmp_buf bar; sigsetjmp (bar, 0); 10826 sigjmp_buf bar; sigsetjmp (bar, 0);
10822 ; return 0; } 10827 ; return 0; }
10823 EOF 10828 EOF
10824 if { (eval echo configure:10825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 10829 if { (eval echo configure:10830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10825 rm -rf conftest* 10830 rm -rf conftest*
10826 echo "$ac_t""yes" 1>&6 10831 echo "$ac_t""yes" 1>&6
10827 { test "$extra_verbose" = "yes" && cat << \EOF 10832 { test "$extra_verbose" = "yes" && cat << \EOF
10828 Defining HAVE_SIGSETJMP 10833 Defining HAVE_SIGSETJMP
10829 EOF 10834 EOF
10839 echo "$ac_t""no" 1>&6 10844 echo "$ac_t""no" 1>&6
10840 fi 10845 fi
10841 rm -f conftest* 10846 rm -f conftest*
10842 10847
10843 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 10848 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6
10844 echo "configure:10845: checking whether localtime caches TZ" >&5 10849 echo "configure:10850: checking whether localtime caches TZ" >&5
10845 10850
10846 if test "$ac_cv_func_tzset" = "yes"; then 10851 if test "$ac_cv_func_tzset" = "yes"; then
10847 cat > conftest.$ac_ext <<EOF 10852 cat > conftest.$ac_ext <<EOF
10848 #line 10849 "configure" 10853 #line 10854 "configure"
10849 #include "confdefs.h" 10854 #include "confdefs.h"
10850 #include <time.h> 10855 #include <time.h>
10851 #if STDC_HEADERS 10856 #if STDC_HEADERS
10852 # include <stdlib.h> 10857 # include <stdlib.h>
10853 #endif 10858 #endif
10878 if (localtime (&now)->tm_hour != hour_unset) 10883 if (localtime (&now)->tm_hour != hour_unset)
10879 exit (1); 10884 exit (1);
10880 exit (0); 10885 exit (0);
10881 } 10886 }
10882 EOF 10887 EOF
10883 if { (eval echo configure:10884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 10888 if { (eval echo configure:10889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
10884 then 10889 then
10885 emacs_cv_localtime_cache=no 10890 emacs_cv_localtime_cache=no
10886 else 10891 else
10887 conftest_rc="$?" 10892 conftest_rc="$?"
10888 echo "configure: failed program was:" >&5 10893 echo "configure: failed program was:" >&5
10908 10913
10909 fi 10914 fi
10910 10915
10911 if test "$HAVE_TIMEVAL" = "yes"; then 10916 if test "$HAVE_TIMEVAL" = "yes"; then
10912 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 10917 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6
10913 echo "configure:10914: checking whether gettimeofday accepts one or two arguments" >&5 10918 echo "configure:10919: checking whether gettimeofday accepts one or two arguments" >&5
10914 cat > conftest.$ac_ext <<EOF 10919 cat > conftest.$ac_ext <<EOF
10915 #line 10916 "configure" 10920 #line 10921 "configure"
10916 #include "confdefs.h" 10921 #include "confdefs.h"
10917 10922
10918 #ifdef TIME_WITH_SYS_TIME 10923 #ifdef TIME_WITH_SYS_TIME
10919 #include <sys/time.h> 10924 #include <sys/time.h>
10920 #include <time.h> 10925 #include <time.h>
10931 struct timeval time; 10936 struct timeval time;
10932 gettimeofday (&time, 0); 10937 gettimeofday (&time, 0);
10933 10938
10934 ; return 0; } 10939 ; return 0; }
10935 EOF 10940 EOF
10936 if { (eval echo configure:10937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 10941 if { (eval echo configure:10942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10937 rm -rf conftest* 10942 rm -rf conftest*
10938 echo "$ac_t""two" 1>&6 10943 echo "$ac_t""two" 1>&6
10939 else 10944 else
10940 echo "configure: failed program was:" >&5 10945 echo "configure: failed program was:" >&5
10941 cat conftest.$ac_ext >&5 10946 cat conftest.$ac_ext >&5
10953 rm -f conftest* 10958 rm -f conftest*
10954 fi 10959 fi
10955 10960
10956 10961
10957 echo $ac_n "checking for inline""... $ac_c" 1>&6 10962 echo $ac_n "checking for inline""... $ac_c" 1>&6
10958 echo "configure:10959: checking for inline" >&5 10963 echo "configure:10964: checking for inline" >&5
10959 10964
10960 ac_cv_c_inline=no 10965 ac_cv_c_inline=no
10961 for ac_kw in inline __inline__ __inline; do 10966 for ac_kw in inline __inline__ __inline; do
10962 cat > conftest.$ac_ext <<EOF 10967 cat > conftest.$ac_ext <<EOF
10963 #line 10964 "configure" 10968 #line 10969 "configure"
10964 #include "confdefs.h" 10969 #include "confdefs.h"
10965 10970
10966 int main() { 10971 int main() {
10967 } $ac_kw foo() { 10972 } $ac_kw foo() {
10968 ; return 0; } 10973 ; return 0; }
10969 EOF 10974 EOF
10970 if { (eval echo configure:10971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 10975 if { (eval echo configure:10976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10971 rm -rf conftest* 10976 rm -rf conftest*
10972 ac_cv_c_inline=$ac_kw; break 10977 ac_cv_c_inline=$ac_kw; break
10973 else 10978 else
10974 echo "configure: failed program was:" >&5 10979 echo "configure: failed program was:" >&5
10975 cat conftest.$ac_ext >&5 10980 cat conftest.$ac_ext >&5
11006 11011
11007 if test "$__DECC" != "yes"; then 11012 if test "$__DECC" != "yes"; then
11008 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 11013 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
11009 # for constant arguments. Useless! 11014 # for constant arguments. Useless!
11010 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 11015 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
11011 echo "configure:11012: checking for working alloca.h" >&5 11016 echo "configure:11017: checking for working alloca.h" >&5
11012 11017
11013 cat > conftest.$ac_ext <<EOF 11018 cat > conftest.$ac_ext <<EOF
11014 #line 11015 "configure" 11019 #line 11020 "configure"
11015 #include "confdefs.h" 11020 #include "confdefs.h"
11016 #include <alloca.h> 11021 #include <alloca.h>
11017 int main() { 11022 int main() {
11018 char *p = alloca(2 * sizeof(int)); 11023 char *p = alloca(2 * sizeof(int));
11019 ; return 0; } 11024 ; return 0; }
11020 EOF 11025 EOF
11021 if { (eval echo configure:11022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11026 if { (eval echo configure:11027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11022 rm -rf conftest* 11027 rm -rf conftest*
11023 ac_cv_header_alloca_h=yes 11028 ac_cv_header_alloca_h=yes
11024 else 11029 else
11025 echo "configure: failed program was:" >&5 11030 echo "configure: failed program was:" >&5
11026 cat conftest.$ac_ext >&5 11031 cat conftest.$ac_ext >&5
11040 } 11045 }
11041 11046
11042 fi 11047 fi
11043 11048
11044 echo $ac_n "checking for alloca""... $ac_c" 1>&6 11049 echo $ac_n "checking for alloca""... $ac_c" 1>&6
11045 echo "configure:11046: checking for alloca" >&5 11050 echo "configure:11051: checking for alloca" >&5
11046 11051
11047 cat > conftest.$ac_ext <<EOF 11052 cat > conftest.$ac_ext <<EOF
11048 #line 11049 "configure" 11053 #line 11054 "configure"
11049 #include "confdefs.h" 11054 #include "confdefs.h"
11050 11055
11051 #ifdef __GNUC__ 11056 #ifdef __GNUC__
11052 # define alloca __builtin_alloca 11057 # define alloca __builtin_alloca
11053 #else 11058 #else
11071 11076
11072 int main() { 11077 int main() {
11073 char *p = (char *) alloca(1); 11078 char *p = (char *) alloca(1);
11074 ; return 0; } 11079 ; return 0; }
11075 EOF 11080 EOF
11076 if { (eval echo configure:11077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11081 if { (eval echo configure:11082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11077 rm -rf conftest* 11082 rm -rf conftest*
11078 ac_cv_func_alloca_works=yes 11083 ac_cv_func_alloca_works=yes
11079 else 11084 else
11080 echo "configure: failed program was:" >&5 11085 echo "configure: failed program was:" >&5
11081 cat conftest.$ac_ext >&5 11086 cat conftest.$ac_ext >&5
11110 EOF 11115 EOF
11111 } 11116 }
11112 11117
11113 11118
11114 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 11119 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
11115 echo "configure:11116: checking whether alloca needs Cray hooks" >&5 11120 echo "configure:11121: checking whether alloca needs Cray hooks" >&5
11116 11121
11117 cat > conftest.$ac_ext <<EOF 11122 cat > conftest.$ac_ext <<EOF
11118 #line 11119 "configure" 11123 #line 11124 "configure"
11119 #include "confdefs.h" 11124 #include "confdefs.h"
11120 #if defined(CRAY) && ! defined(CRAY2) 11125 #if defined(CRAY) && ! defined(CRAY2)
11121 webecray 11126 webecray
11122 #else 11127 #else
11123 wenotbecray 11128 wenotbecray
11137 11142
11138 echo "$ac_t""$ac_cv_os_cray" 1>&6 11143 echo "$ac_t""$ac_cv_os_cray" 1>&6
11139 if test $ac_cv_os_cray = yes; then 11144 if test $ac_cv_os_cray = yes; then
11140 for ac_func in _getb67 GETB67 getb67; do 11145 for ac_func in _getb67 GETB67 getb67; do
11141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11142 echo "configure:11143: checking for $ac_func" >&5 11147 echo "configure:11148: checking for $ac_func" >&5
11143 11148
11144 cat > conftest.$ac_ext <<EOF 11149 cat > conftest.$ac_ext <<EOF
11145 #line 11146 "configure" 11150 #line 11151 "configure"
11146 #include "confdefs.h" 11151 #include "confdefs.h"
11147 /* System header to define __stub macros and hopefully few prototypes, 11152 /* System header to define __stub macros and hopefully few prototypes,
11148 which can conflict with char $ac_func(); below. */ 11153 which can conflict with char $ac_func(); below. */
11149 #include <assert.h> 11154 #include <assert.h>
11150 /* Override any gcc2 internal prototype to avoid an error. */ 11155 /* Override any gcc2 internal prototype to avoid an error. */
11163 $ac_func(); 11168 $ac_func();
11164 #endif 11169 #endif
11165 11170
11166 ; return 0; } 11171 ; return 0; }
11167 EOF 11172 EOF
11168 if { (eval echo configure:11169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11173 if { (eval echo configure:11174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11169 rm -rf conftest* 11174 rm -rf conftest*
11170 eval "ac_cv_func_$ac_func=yes" 11175 eval "ac_cv_func_$ac_func=yes"
11171 else 11176 else
11172 echo "configure: failed program was:" >&5 11177 echo "configure: failed program was:" >&5
11173 cat conftest.$ac_ext >&5 11178 cat conftest.$ac_ext >&5
11193 11198
11194 done 11199 done
11195 fi 11200 fi
11196 11201
11197 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 11202 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
11198 echo "configure:11199: checking stack direction for C alloca" >&5 11203 echo "configure:11204: checking stack direction for C alloca" >&5
11199 11204
11200 cat > conftest.$ac_ext <<EOF 11205 cat > conftest.$ac_ext <<EOF
11201 #line 11202 "configure" 11206 #line 11207 "configure"
11202 #include "confdefs.h" 11207 #include "confdefs.h"
11203 find_stack_direction () 11208 find_stack_direction ()
11204 { 11209 {
11205 static char *addr = 0; 11210 static char *addr = 0;
11206 auto char dummy; 11211 auto char dummy;
11215 main () 11220 main ()
11216 { 11221 {
11217 exit (find_stack_direction() < 0); 11222 exit (find_stack_direction() < 0);
11218 } 11223 }
11219 EOF 11224 EOF
11220 if { (eval echo configure:11221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 11225 if { (eval echo configure:11226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
11221 then 11226 then
11222 ac_cv_c_stack_direction=1 11227 ac_cv_c_stack_direction=1
11223 else 11228 else
11224 conftest_rc="$?" 11229 conftest_rc="$?"
11225 echo "configure: failed program was:" >&5 11230 echo "configure: failed program was:" >&5
11245 fi 11250 fi
11246 fi 11251 fi
11247 11252
11248 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` 11253 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
11249 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 11254 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
11250 echo "configure:11251: checking for vfork.h" >&5 11255 echo "configure:11256: checking for vfork.h" >&5
11251 11256
11252 cat > conftest.$ac_ext <<EOF 11257 cat > conftest.$ac_ext <<EOF
11253 #line 11254 "configure" 11258 #line 11259 "configure"
11254 #include "confdefs.h" 11259 #include "confdefs.h"
11255 #include <vfork.h> 11260 #include <vfork.h>
11256 EOF 11261 EOF
11257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11258 { (eval echo configure:11259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11263 { (eval echo configure:11264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11260 if test -z "$ac_err"; then 11265 if test -z "$ac_err"; then
11261 rm -rf conftest* 11266 rm -rf conftest*
11262 eval "ac_cv_header_$ac_safe=yes" 11267 eval "ac_cv_header_$ac_safe=yes"
11263 else 11268 else
11281 else 11286 else
11282 echo "$ac_t""no" 1>&6 11287 echo "$ac_t""no" 1>&6
11283 fi 11288 fi
11284 11289
11285 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 11290 echo $ac_n "checking for working vfork""... $ac_c" 1>&6
11286 echo "configure:11287: checking for working vfork" >&5 11291 echo "configure:11292: checking for working vfork" >&5
11287 11292
11288 cat > conftest.$ac_ext <<EOF 11293 cat > conftest.$ac_ext <<EOF
11289 #line 11290 "configure" 11294 #line 11295 "configure"
11290 #include "confdefs.h" 11295 #include "confdefs.h"
11291 /* Thanks to Paul Eggert for this test. */ 11296 /* Thanks to Paul Eggert for this test. */
11292 #include <stdio.h> 11297 #include <stdio.h>
11293 #include <sys/types.h> 11298 #include <sys/types.h>
11294 #include <sys/stat.h> 11299 #include <sys/stat.h>
11379 || fstat(fileno(stdout), &st) != 0 11384 || fstat(fileno(stdout), &st) != 0
11380 ); 11385 );
11381 } 11386 }
11382 } 11387 }
11383 EOF 11388 EOF
11384 if { (eval echo configure:11385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 11389 if { (eval echo configure:11390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
11385 then 11390 then
11386 ac_cv_func_vfork_works=yes 11391 ac_cv_func_vfork_works=yes
11387 else 11392 else
11388 conftest_rc="$?" 11393 conftest_rc="$?"
11389 echo "configure: failed program was:" >&5 11394 echo "configure: failed program was:" >&5
11405 11410
11406 fi 11411 fi
11407 11412
11408 11413
11409 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 11414 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
11410 echo "configure:11411: checking for working strcoll" >&5 11415 echo "configure:11416: checking for working strcoll" >&5
11411 11416
11412 cat > conftest.$ac_ext <<EOF 11417 cat > conftest.$ac_ext <<EOF
11413 #line 11414 "configure" 11418 #line 11419 "configure"
11414 #include "confdefs.h" 11419 #include "confdefs.h"
11415 #include <string.h> 11420 #include <string.h>
11416 main () 11421 main ()
11417 { 11422 {
11418 exit (strcoll ("abc", "def") >= 0 || 11423 exit (strcoll ("abc", "def") >= 0 ||
11419 strcoll ("ABC", "DEF") >= 0 || 11424 strcoll ("ABC", "DEF") >= 0 ||
11420 strcoll ("123", "456") >= 0); 11425 strcoll ("123", "456") >= 0);
11421 } 11426 }
11422 EOF 11427 EOF
11423 if { (eval echo configure:11424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 11428 if { (eval echo configure:11429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
11424 then 11429 then
11425 ac_cv_func_strcoll_works=yes 11430 ac_cv_func_strcoll_works=yes
11426 else 11431 else
11427 conftest_rc="$?" 11432 conftest_rc="$?"
11428 echo "configure: failed program was:" >&5 11433 echo "configure: failed program was:" >&5
11446 11451
11447 11452
11448 for ac_func in getpgrp 11453 for ac_func in getpgrp
11449 do 11454 do
11450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 11455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11451 echo "configure:11452: checking for $ac_func" >&5 11456 echo "configure:11457: checking for $ac_func" >&5
11452 11457
11453 cat > conftest.$ac_ext <<EOF 11458 cat > conftest.$ac_ext <<EOF
11454 #line 11455 "configure" 11459 #line 11460 "configure"
11455 #include "confdefs.h" 11460 #include "confdefs.h"
11456 /* System header to define __stub macros and hopefully few prototypes, 11461 /* System header to define __stub macros and hopefully few prototypes,
11457 which can conflict with char $ac_func(); below. */ 11462 which can conflict with char $ac_func(); below. */
11458 #include <assert.h> 11463 #include <assert.h>
11459 /* Override any gcc2 internal prototype to avoid an error. */ 11464 /* Override any gcc2 internal prototype to avoid an error. */
11472 $ac_func(); 11477 $ac_func();
11473 #endif 11478 #endif
11474 11479
11475 ; return 0; } 11480 ; return 0; }
11476 EOF 11481 EOF
11477 if { (eval echo configure:11478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11482 if { (eval echo configure:11483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11478 rm -rf conftest* 11483 rm -rf conftest*
11479 eval "ac_cv_func_$ac_func=yes" 11484 eval "ac_cv_func_$ac_func=yes"
11480 else 11485 else
11481 echo "configure: failed program was:" >&5 11486 echo "configure: failed program was:" >&5
11482 cat conftest.$ac_ext >&5 11487 cat conftest.$ac_ext >&5
11500 echo "$ac_t""no" 1>&6 11505 echo "$ac_t""no" 1>&6
11501 fi 11506 fi
11502 done 11507 done
11503 11508
11504 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 11509 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
11505 echo "configure:11506: checking whether getpgrp takes no argument" >&5 11510 echo "configure:11511: checking whether getpgrp takes no argument" >&5
11506 11511
11507 cat > conftest.$ac_ext <<EOF 11512 cat > conftest.$ac_ext <<EOF
11508 #line 11509 "configure" 11513 #line 11514 "configure"
11509 #include "confdefs.h" 11514 #include "confdefs.h"
11510 11515
11511 /* 11516 /*
11512 * If this system has a BSD-style getpgrp(), 11517 * If this system has a BSD-style getpgrp(),
11513 * which takes a pid argument, exit unsuccessfully. 11518 * which takes a pid argument, exit unsuccessfully.
11558 exit(s>>8); 11563 exit(s>>8);
11559 } 11564 }
11560 } 11565 }
11561 11566
11562 EOF 11567 EOF
11563 if { (eval echo configure:11564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 11568 if { (eval echo configure:11569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
11564 then 11569 then
11565 ac_cv_func_getpgrp_void=yes 11570 ac_cv_func_getpgrp_void=yes
11566 else 11571 else
11567 conftest_rc="$?" 11572 conftest_rc="$?"
11568 echo "configure: failed program was:" >&5 11573 echo "configure: failed program was:" >&5
11585 11590
11586 fi 11591 fi
11587 11592
11588 11593
11589 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 11594 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
11590 echo "configure:11591: checking for working mmap" >&5 11595 echo "configure:11596: checking for working mmap" >&5
11591 case "$opsys" in ultrix* ) have_mmap=no ;; *) 11596 case "$opsys" in ultrix* ) have_mmap=no ;; *)
11592 cat > conftest.$ac_ext <<EOF 11597 cat > conftest.$ac_ext <<EOF
11593 #line 11594 "configure" 11598 #line 11599 "configure"
11594 #include "confdefs.h" 11599 #include "confdefs.h"
11595 #include <stdio.h> 11600 #include <stdio.h>
11596 #include <unistd.h> 11601 #include <unistd.h>
11597 #include <fcntl.h> 11602 #include <fcntl.h>
11598 #include <sys/mman.h> 11603 #include <sys/mman.h>
11621 return 0; 11626 return 0;
11622 perror ("conftest: mmap failed"); 11627 perror ("conftest: mmap failed");
11623 return 1; 11628 return 1;
11624 } 11629 }
11625 EOF 11630 EOF
11626 if { (eval echo configure:11627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 11631 if { (eval echo configure:11632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
11627 then 11632 then
11628 have_mmap=yes 11633 have_mmap=yes
11629 else 11634 else
11630 conftest_rc="$?" 11635 conftest_rc="$?"
11631 echo "configure: failed program was:" >&5 11636 echo "configure: failed program was:" >&5
11647 11652
11648 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 11653 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
11649 if test "$rel_alloc $have_mmap" = "default yes"; then 11654 if test "$rel_alloc $have_mmap" = "default yes"; then
11650 if test "$doug_lea_malloc" = "yes"; then 11655 if test "$doug_lea_malloc" = "yes"; then
11651 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 11656 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6
11652 echo "configure:11653: checking for M_MMAP_THRESHOLD" >&5 11657 echo "configure:11658: checking for M_MMAP_THRESHOLD" >&5
11653 cat > conftest.$ac_ext <<EOF 11658 cat > conftest.$ac_ext <<EOF
11654 #line 11655 "configure" 11659 #line 11660 "configure"
11655 #include "confdefs.h" 11660 #include "confdefs.h"
11656 #include <malloc.h> 11661 #include <malloc.h>
11657 int main() { 11662 int main() {
11658 11663
11659 #ifndef M_MMAP_THRESHOLD 11664 #ifndef M_MMAP_THRESHOLD
11661 !@+$%^&*_)(_ - unlikely to compile... 11666 !@+$%^&*_)(_ - unlikely to compile...
11662 #endif 11667 #endif
11663 11668
11664 ; return 0; } 11669 ; return 0; }
11665 EOF 11670 EOF
11666 if { (eval echo configure:11667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 11671 if { (eval echo configure:11672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11667 rm -rf conftest* 11672 rm -rf conftest*
11668 rel_alloc=no; echo "$ac_t""yes" 1>&6; 11673 rel_alloc=no; echo "$ac_t""yes" 1>&6;
11669 else 11674 else
11670 echo "configure: failed program was:" >&5 11675 echo "configure: failed program was:" >&5
11671 cat conftest.$ac_ext >&5 11676 cat conftest.$ac_ext >&5
11686 } 11691 }
11687 11692
11688 11693
11689 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 11694 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
11690 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 11695 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
11691 echo "configure:11692: checking for termios.h" >&5 11696 echo "configure:11697: checking for termios.h" >&5
11692 11697
11693 cat > conftest.$ac_ext <<EOF 11698 cat > conftest.$ac_ext <<EOF
11694 #line 11695 "configure" 11699 #line 11700 "configure"
11695 #include "confdefs.h" 11700 #include "confdefs.h"
11696 #include <termios.h> 11701 #include <termios.h>
11697 EOF 11702 EOF
11698 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11703 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11699 { (eval echo configure:11700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11704 { (eval echo configure:11705: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11700 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11705 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11701 if test -z "$ac_err"; then 11706 if test -z "$ac_err"; then
11702 rm -rf conftest* 11707 rm -rf conftest*
11703 eval "ac_cv_header_$ac_safe=yes" 11708 eval "ac_cv_header_$ac_safe=yes"
11704 else 11709 else
11737 11742
11738 else 11743 else
11739 echo "$ac_t""no" 1>&6 11744 echo "$ac_t""no" 1>&6
11740 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 11745 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
11741 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 11746 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
11742 echo "configure:11743: checking for termio.h" >&5 11747 echo "configure:11748: checking for termio.h" >&5
11743 11748
11744 cat > conftest.$ac_ext <<EOF 11749 cat > conftest.$ac_ext <<EOF
11745 #line 11746 "configure" 11750 #line 11751 "configure"
11746 #include "confdefs.h" 11751 #include "confdefs.h"
11747 #include <termio.h> 11752 #include <termio.h>
11748 EOF 11753 EOF
11749 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11754 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11750 { (eval echo configure:11751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11755 { (eval echo configure:11756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11756 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11752 if test -z "$ac_err"; then 11757 if test -z "$ac_err"; then
11753 rm -rf conftest* 11758 rm -rf conftest*
11754 eval "ac_cv_header_$ac_safe=yes" 11759 eval "ac_cv_header_$ac_safe=yes"
11755 else 11760 else
11777 fi 11782 fi
11778 11783
11779 11784
11780 11785
11781 echo $ac_n "checking for socket""... $ac_c" 1>&6 11786 echo $ac_n "checking for socket""... $ac_c" 1>&6
11782 echo "configure:11783: checking for socket" >&5 11787 echo "configure:11788: checking for socket" >&5
11783 11788
11784 cat > conftest.$ac_ext <<EOF 11789 cat > conftest.$ac_ext <<EOF
11785 #line 11786 "configure" 11790 #line 11791 "configure"
11786 #include "confdefs.h" 11791 #include "confdefs.h"
11787 /* System header to define __stub macros and hopefully few prototypes, 11792 /* System header to define __stub macros and hopefully few prototypes,
11788 which can conflict with char socket(); below. */ 11793 which can conflict with char socket(); below. */
11789 #include <assert.h> 11794 #include <assert.h>
11790 /* Override any gcc2 internal prototype to avoid an error. */ 11795 /* Override any gcc2 internal prototype to avoid an error. */
11803 socket(); 11808 socket();
11804 #endif 11809 #endif
11805 11810
11806 ; return 0; } 11811 ; return 0; }
11807 EOF 11812 EOF
11808 if { (eval echo configure:11809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11813 if { (eval echo configure:11814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11809 rm -rf conftest* 11814 rm -rf conftest*
11810 eval "ac_cv_func_socket=yes" 11815 eval "ac_cv_func_socket=yes"
11811 else 11816 else
11812 echo "configure: failed program was:" >&5 11817 echo "configure: failed program was:" >&5
11813 cat conftest.$ac_ext >&5 11818 cat conftest.$ac_ext >&5
11818 11823
11819 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 11824 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
11820 echo "$ac_t""yes" 1>&6 11825 echo "$ac_t""yes" 1>&6
11821 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 11826 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
11822 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 11827 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
11823 echo "configure:11824: checking for netinet/in.h" >&5 11828 echo "configure:11829: checking for netinet/in.h" >&5
11824 11829
11825 cat > conftest.$ac_ext <<EOF 11830 cat > conftest.$ac_ext <<EOF
11826 #line 11827 "configure" 11831 #line 11832 "configure"
11827 #include "confdefs.h" 11832 #include "confdefs.h"
11828 #include <netinet/in.h> 11833 #include <netinet/in.h>
11829 EOF 11834 EOF
11830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11835 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11831 { (eval echo configure:11832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11836 { (eval echo configure:11837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11832 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11837 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11833 if test -z "$ac_err"; then 11838 if test -z "$ac_err"; then
11834 rm -rf conftest* 11839 rm -rf conftest*
11835 eval "ac_cv_header_$ac_safe=yes" 11840 eval "ac_cv_header_$ac_safe=yes"
11836 else 11841 else
11843 rm -f conftest* 11848 rm -f conftest*
11844 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 11849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11845 echo "$ac_t""yes" 1>&6 11850 echo "$ac_t""yes" 1>&6
11846 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 11851 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
11847 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 11852 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
11848 echo "configure:11849: checking for arpa/inet.h" >&5 11853 echo "configure:11854: checking for arpa/inet.h" >&5
11849 11854
11850 cat > conftest.$ac_ext <<EOF 11855 cat > conftest.$ac_ext <<EOF
11851 #line 11852 "configure" 11856 #line 11857 "configure"
11852 #include "confdefs.h" 11857 #include "confdefs.h"
11853 #include <arpa/inet.h> 11858 #include <arpa/inet.h>
11854 EOF 11859 EOF
11855 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 11860 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11856 { (eval echo configure:11857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 11861 { (eval echo configure:11862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11857 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 11862 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11858 if test -z "$ac_err"; then 11863 if test -z "$ac_err"; then
11859 rm -rf conftest* 11864 rm -rf conftest*
11860 eval "ac_cv_header_$ac_safe=yes" 11865 eval "ac_cv_header_$ac_safe=yes"
11861 else 11866 else
11876 #define HAVE_SOCKETS 1 11881 #define HAVE_SOCKETS 1
11877 EOF 11882 EOF
11878 } 11883 }
11879 11884
11880 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 11885 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
11881 echo "configure:11882: checking "for sun_len member in struct sockaddr_un"" >&5 11886 echo "configure:11887: checking "for sun_len member in struct sockaddr_un"" >&5
11882 cat > conftest.$ac_ext <<EOF 11887 cat > conftest.$ac_ext <<EOF
11883 #line 11884 "configure" 11888 #line 11889 "configure"
11884 #include "confdefs.h" 11889 #include "confdefs.h"
11885 11890
11886 #include <sys/types.h> 11891 #include <sys/types.h>
11887 #include <sys/socket.h> 11892 #include <sys/socket.h>
11888 #include <sys/un.h> 11893 #include <sys/un.h>
11889 11894
11890 int main() { 11895 int main() {
11891 static struct sockaddr_un x; x.sun_len = 1; 11896 static struct sockaddr_un x; x.sun_len = 1;
11892 ; return 0; } 11897 ; return 0; }
11893 EOF 11898 EOF
11894 if { (eval echo configure:11895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11899 if { (eval echo configure:11900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11895 rm -rf conftest* 11900 rm -rf conftest*
11896 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 11901 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
11897 Defining HAVE_SOCKADDR_SUN_LEN 11902 Defining HAVE_SOCKADDR_SUN_LEN
11898 EOF 11903 EOF
11899 cat >> confdefs.h <<\EOF 11904 cat >> confdefs.h <<\EOF
11907 rm -rf conftest* 11912 rm -rf conftest*
11908 echo "$ac_t""no" 1>&6 11913 echo "$ac_t""no" 1>&6
11909 fi 11914 fi
11910 rm -f conftest* 11915 rm -f conftest*
11911 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 11916 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
11912 echo "configure:11913: checking "for ip_mreq struct in netinet/in.h"" >&5 11917 echo "configure:11918: checking "for ip_mreq struct in netinet/in.h"" >&5
11913 cat > conftest.$ac_ext <<EOF 11918 cat > conftest.$ac_ext <<EOF
11914 #line 11915 "configure" 11919 #line 11920 "configure"
11915 #include "confdefs.h" 11920 #include "confdefs.h"
11916 11921
11917 #include <sys/types.h> 11922 #include <sys/types.h>
11918 #include <netinet/in.h> 11923 #include <netinet/in.h>
11919 11924
11920 int main() { 11925 int main() {
11921 static struct ip_mreq x; 11926 static struct ip_mreq x;
11922 ; return 0; } 11927 ; return 0; }
11923 EOF 11928 EOF
11924 if { (eval echo configure:11925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11929 if { (eval echo configure:11930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11925 rm -rf conftest* 11930 rm -rf conftest*
11926 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 11931 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
11927 Defining HAVE_MULTICAST 11932 Defining HAVE_MULTICAST
11928 EOF 11933 EOF
11929 cat >> confdefs.h <<\EOF 11934 cat >> confdefs.h <<\EOF
11950 echo "$ac_t""no" 1>&6 11955 echo "$ac_t""no" 1>&6
11951 fi 11956 fi
11952 11957
11953 11958
11954 echo $ac_n "checking for msgget""... $ac_c" 1>&6 11959 echo $ac_n "checking for msgget""... $ac_c" 1>&6
11955 echo "configure:11956: checking for msgget" >&5 11960 echo "configure:11961: checking for msgget" >&5
11956 11961
11957 cat > conftest.$ac_ext <<EOF 11962 cat > conftest.$ac_ext <<EOF
11958 #line 11959 "configure" 11963 #line 11964 "configure"
11959 #include "confdefs.h" 11964 #include "confdefs.h"
11960 /* System header to define __stub macros and hopefully few prototypes, 11965 /* System header to define __stub macros and hopefully few prototypes,
11961 which can conflict with char msgget(); below. */ 11966 which can conflict with char msgget(); below. */
11962 #include <assert.h> 11967 #include <assert.h>
11963 /* Override any gcc2 internal prototype to avoid an error. */ 11968 /* Override any gcc2 internal prototype to avoid an error. */
11976 msgget(); 11981 msgget();
11977 #endif 11982 #endif
11978 11983
11979 ; return 0; } 11984 ; return 0; }
11980 EOF 11985 EOF
11981 if { (eval echo configure:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 11986 if { (eval echo configure:11987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11982 rm -rf conftest* 11987 rm -rf conftest*
11983 eval "ac_cv_func_msgget=yes" 11988 eval "ac_cv_func_msgget=yes"
11984 else 11989 else
11985 echo "configure: failed program was:" >&5 11990 echo "configure: failed program was:" >&5
11986 cat conftest.$ac_ext >&5 11991 cat conftest.$ac_ext >&5
11991 11996
11992 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 11997 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
11993 echo "$ac_t""yes" 1>&6 11998 echo "$ac_t""yes" 1>&6
11994 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 11999 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
11995 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 12000 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
11996 echo "configure:11997: checking for sys/ipc.h" >&5 12001 echo "configure:12002: checking for sys/ipc.h" >&5
11997 12002
11998 cat > conftest.$ac_ext <<EOF 12003 cat > conftest.$ac_ext <<EOF
11999 #line 12000 "configure" 12004 #line 12005 "configure"
12000 #include "confdefs.h" 12005 #include "confdefs.h"
12001 #include <sys/ipc.h> 12006 #include <sys/ipc.h>
12002 EOF 12007 EOF
12003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12008 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12004 { (eval echo configure:12005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12009 { (eval echo configure:12010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12005 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12010 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12006 if test -z "$ac_err"; then 12011 if test -z "$ac_err"; then
12007 rm -rf conftest* 12012 rm -rf conftest*
12008 eval "ac_cv_header_$ac_safe=yes" 12013 eval "ac_cv_header_$ac_safe=yes"
12009 else 12014 else
12016 rm -f conftest* 12021 rm -f conftest*
12017 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 12022 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12018 echo "$ac_t""yes" 1>&6 12023 echo "$ac_t""yes" 1>&6
12019 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 12024 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
12020 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 12025 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
12021 echo "configure:12022: checking for sys/msg.h" >&5 12026 echo "configure:12027: checking for sys/msg.h" >&5
12022 12027
12023 cat > conftest.$ac_ext <<EOF 12028 cat > conftest.$ac_ext <<EOF
12024 #line 12025 "configure" 12029 #line 12030 "configure"
12025 #include "confdefs.h" 12030 #include "confdefs.h"
12026 #include <sys/msg.h> 12031 #include <sys/msg.h>
12027 EOF 12032 EOF
12028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12033 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12029 { (eval echo configure:12030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12034 { (eval echo configure:12035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12035 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12031 if test -z "$ac_err"; then 12036 if test -z "$ac_err"; then
12032 rm -rf conftest* 12037 rm -rf conftest*
12033 eval "ac_cv_header_$ac_safe=yes" 12038 eval "ac_cv_header_$ac_safe=yes"
12034 else 12039 else
12062 fi 12067 fi
12063 12068
12064 12069
12065 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 12070 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
12066 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 12071 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
12067 echo "configure:12068: checking for dirent.h" >&5 12072 echo "configure:12073: checking for dirent.h" >&5
12068 12073
12069 cat > conftest.$ac_ext <<EOF 12074 cat > conftest.$ac_ext <<EOF
12070 #line 12071 "configure" 12075 #line 12076 "configure"
12071 #include "confdefs.h" 12076 #include "confdefs.h"
12072 #include <dirent.h> 12077 #include <dirent.h>
12073 EOF 12078 EOF
12074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12079 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12075 { (eval echo configure:12076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12080 { (eval echo configure:12081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12081 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12077 if test -z "$ac_err"; then 12082 if test -z "$ac_err"; then
12078 rm -rf conftest* 12083 rm -rf conftest*
12079 eval "ac_cv_header_$ac_safe=yes" 12084 eval "ac_cv_header_$ac_safe=yes"
12080 else 12085 else
12097 12102
12098 else 12103 else
12099 echo "$ac_t""no" 1>&6 12104 echo "$ac_t""no" 1>&6
12100 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 12105 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
12101 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 12106 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
12102 echo "configure:12103: checking for sys/dir.h" >&5 12107 echo "configure:12108: checking for sys/dir.h" >&5
12103 12108
12104 cat > conftest.$ac_ext <<EOF 12109 cat > conftest.$ac_ext <<EOF
12105 #line 12106 "configure" 12110 #line 12111 "configure"
12106 #include "confdefs.h" 12111 #include "confdefs.h"
12107 #include <sys/dir.h> 12112 #include <sys/dir.h>
12108 EOF 12113 EOF
12109 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12110 { (eval echo configure:12111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12115 { (eval echo configure:12116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12111 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12112 if test -z "$ac_err"; then 12117 if test -z "$ac_err"; then
12113 rm -rf conftest* 12118 rm -rf conftest*
12114 eval "ac_cv_header_$ac_safe=yes" 12119 eval "ac_cv_header_$ac_safe=yes"
12115 else 12120 else
12138 fi 12143 fi
12139 12144
12140 12145
12141 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 12146 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
12142 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 12147 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
12143 echo "configure:12144: checking for nlist.h" >&5 12148 echo "configure:12149: checking for nlist.h" >&5
12144 12149
12145 cat > conftest.$ac_ext <<EOF 12150 cat > conftest.$ac_ext <<EOF
12146 #line 12147 "configure" 12151 #line 12152 "configure"
12147 #include "confdefs.h" 12152 #include "confdefs.h"
12148 #include <nlist.h> 12153 #include <nlist.h>
12149 EOF 12154 EOF
12150 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12151 { (eval echo configure:12152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12156 { (eval echo configure:12157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12152 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12153 if test -z "$ac_err"; then 12158 if test -z "$ac_err"; then
12154 rm -rf conftest* 12159 rm -rf conftest*
12155 eval "ac_cv_header_$ac_safe=yes" 12160 eval "ac_cv_header_$ac_safe=yes"
12156 else 12161 else
12176 fi 12181 fi
12177 12182
12178 12183
12179 12184
12180 echo "checking "for sound support"" 1>&6 12185 echo "checking "for sound support"" 1>&6
12181 echo "configure:12182: checking "for sound support"" >&5 12186 echo "configure:12187: checking "for sound support"" >&5
12182 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 12187 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
12183 12188
12184 if test "$with_native_sound" != "no"; then 12189 if test "$with_native_sound" != "no"; then
12185 if test -n "$native_sound_lib"; then 12190 if test -n "$native_sound_lib"; then
12186 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 12191 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
12187 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 12192 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
12188 echo "configure:12189: checking for multimedia/audio_device.h" >&5 12193 echo "configure:12194: checking for multimedia/audio_device.h" >&5
12189 12194
12190 cat > conftest.$ac_ext <<EOF 12195 cat > conftest.$ac_ext <<EOF
12191 #line 12192 "configure" 12196 #line 12197 "configure"
12192 #include "confdefs.h" 12197 #include "confdefs.h"
12193 #include <multimedia/audio_device.h> 12198 #include <multimedia/audio_device.h>
12194 EOF 12199 EOF
12195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12200 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12196 { (eval echo configure:12197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12201 { (eval echo configure:12202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12202 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12198 if test -z "$ac_err"; then 12203 if test -z "$ac_err"; then
12199 rm -rf conftest* 12204 rm -rf conftest*
12200 eval "ac_cv_header_$ac_safe=yes" 12205 eval "ac_cv_header_$ac_safe=yes"
12201 else 12206 else
12239 case "$canonical" in 12244 case "$canonical" in
12240 *-sgi-* ) 12245 *-sgi-* )
12241 if test -z "$native_sound_lib"; then 12246 if test -z "$native_sound_lib"; then
12242 12247
12243 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 12248 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
12244 echo "configure:12245: checking for ALopenport in -laudio" >&5 12249 echo "configure:12250: checking for ALopenport in -laudio" >&5
12245 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 12250 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
12246 12251
12247 xe_check_libs=" -laudio " 12252 xe_check_libs=" -laudio "
12248 cat > conftest.$ac_ext <<EOF 12253 cat > conftest.$ac_ext <<EOF
12249 #line 12250 "configure" 12254 #line 12255 "configure"
12250 #include "confdefs.h" 12255 #include "confdefs.h"
12251 /* Override any gcc2 internal prototype to avoid an error. */ 12256 /* Override any gcc2 internal prototype to avoid an error. */
12252 /* We use char because int might match the return type of a gcc2 12257 /* We use char because int might match the return type of a gcc2
12253 builtin and then its argument prototype would still apply. */ 12258 builtin and then its argument prototype would still apply. */
12254 char ALopenport(); 12259 char ALopenport();
12255 12260
12256 int main() { 12261 int main() {
12257 ALopenport() 12262 ALopenport()
12258 ; return 0; } 12263 ; return 0; }
12259 EOF 12264 EOF
12260 if { (eval echo configure:12261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12265 if { (eval echo configure:12266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12261 rm -rf conftest* 12266 rm -rf conftest*
12262 eval "ac_cv_lib_$ac_lib_var=yes" 12267 eval "ac_cv_lib_$ac_lib_var=yes"
12263 else 12268 else
12264 echo "configure: failed program was:" >&5 12269 echo "configure: failed program was:" >&5
12265 cat conftest.$ac_ext >&5 12270 cat conftest.$ac_ext >&5
12286 fi ;; 12291 fi ;;
12287 hppa*-hp-hpux* ) 12292 hppa*-hp-hpux* )
12288 if test -z "$native_sound_lib"; then 12293 if test -z "$native_sound_lib"; then
12289 12294
12290 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 12295 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
12291 echo "configure:12292: checking for AOpenAudio in -lAlib" >&5 12296 echo "configure:12297: checking for AOpenAudio in -lAlib" >&5
12292 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 12297 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
12293 12298
12294 xe_check_libs=" -lAlib " 12299 xe_check_libs=" -lAlib "
12295 cat > conftest.$ac_ext <<EOF 12300 cat > conftest.$ac_ext <<EOF
12296 #line 12297 "configure" 12301 #line 12302 "configure"
12297 #include "confdefs.h" 12302 #include "confdefs.h"
12298 /* Override any gcc2 internal prototype to avoid an error. */ 12303 /* Override any gcc2 internal prototype to avoid an error. */
12299 /* We use char because int might match the return type of a gcc2 12304 /* We use char because int might match the return type of a gcc2
12300 builtin and then its argument prototype would still apply. */ 12305 builtin and then its argument prototype would still apply. */
12301 char AOpenAudio(); 12306 char AOpenAudio();
12302 12307
12303 int main() { 12308 int main() {
12304 AOpenAudio() 12309 AOpenAudio()
12305 ; return 0; } 12310 ; return 0; }
12306 EOF 12311 EOF
12307 if { (eval echo configure:12308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12312 if { (eval echo configure:12313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12308 rm -rf conftest* 12313 rm -rf conftest*
12309 eval "ac_cv_lib_$ac_lib_var=yes" 12314 eval "ac_cv_lib_$ac_lib_var=yes"
12310 else 12315 else
12311 echo "configure: failed program was:" >&5 12316 echo "configure: failed program was:" >&5
12312 cat conftest.$ac_ext >&5 12317 cat conftest.$ac_ext >&5
12340 12345
12341 if test -z "$sound_found"; then 12346 if test -z "$sound_found"; then
12342 for dir in "machine" "sys" "linux"; do 12347 for dir in "machine" "sys" "linux"; do
12343 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 12348 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
12344 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 12349 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
12345 echo "configure:12346: checking for ${dir}/soundcard.h" >&5 12350 echo "configure:12351: checking for ${dir}/soundcard.h" >&5
12346 12351
12347 cat > conftest.$ac_ext <<EOF 12352 cat > conftest.$ac_ext <<EOF
12348 #line 12349 "configure" 12353 #line 12354 "configure"
12349 #include "confdefs.h" 12354 #include "confdefs.h"
12350 #include <${dir}/soundcard.h> 12355 #include <${dir}/soundcard.h>
12351 EOF 12356 EOF
12352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12353 { (eval echo configure:12354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12358 { (eval echo configure:12359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12355 if test -z "$ac_err"; then 12360 if test -z "$ac_err"; then
12356 rm -rf conftest* 12361 rm -rf conftest*
12357 eval "ac_cv_header_$ac_safe=yes" 12362 eval "ac_cv_header_$ac_safe=yes"
12358 else 12363 else
12409 fi 12414 fi
12410 12415
12411 if test "$with_nas_sound" != "no"; then 12416 if test "$with_nas_sound" != "no"; then
12412 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 12417 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
12413 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 12418 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
12414 echo "configure:12415: checking for audio/audiolib.h" >&5 12419 echo "configure:12420: checking for audio/audiolib.h" >&5
12415 12420
12416 cat > conftest.$ac_ext <<EOF 12421 cat > conftest.$ac_ext <<EOF
12417 #line 12418 "configure" 12422 #line 12423 "configure"
12418 #include "confdefs.h" 12423 #include "confdefs.h"
12419 #include <audio/audiolib.h> 12424 #include <audio/audiolib.h>
12420 EOF 12425 EOF
12421 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12426 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12422 { (eval echo configure:12423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12427 { (eval echo configure:12428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12423 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12428 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12424 if test -z "$ac_err"; then 12429 if test -z "$ac_err"; then
12425 rm -rf conftest* 12430 rm -rf conftest*
12426 eval "ac_cv_header_$ac_safe=yes" 12431 eval "ac_cv_header_$ac_safe=yes"
12427 else 12432 else
12435 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 12440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12436 echo "$ac_t""yes" 1>&6 12441 echo "$ac_t""yes" 1>&6
12437 12442
12438 12443
12439 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 12444 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
12440 echo "configure:12441: checking for AuOpenServer in -laudio" >&5 12445 echo "configure:12446: checking for AuOpenServer in -laudio" >&5
12441 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 12446 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
12442 12447
12443 xe_check_libs=" -laudio " 12448 xe_check_libs=" -laudio "
12444 cat > conftest.$ac_ext <<EOF 12449 cat > conftest.$ac_ext <<EOF
12445 #line 12446 "configure" 12450 #line 12451 "configure"
12446 #include "confdefs.h" 12451 #include "confdefs.h"
12447 /* Override any gcc2 internal prototype to avoid an error. */ 12452 /* Override any gcc2 internal prototype to avoid an error. */
12448 /* We use char because int might match the return type of a gcc2 12453 /* We use char because int might match the return type of a gcc2
12449 builtin and then its argument prototype would still apply. */ 12454 builtin and then its argument prototype would still apply. */
12450 char AuOpenServer(); 12455 char AuOpenServer();
12451 12456
12452 int main() { 12457 int main() {
12453 AuOpenServer() 12458 AuOpenServer()
12454 ; return 0; } 12459 ; return 0; }
12455 EOF 12460 EOF
12456 if { (eval echo configure:12457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12461 if { (eval echo configure:12462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12457 rm -rf conftest* 12462 rm -rf conftest*
12458 eval "ac_cv_lib_$ac_lib_var=yes" 12463 eval "ac_cv_lib_$ac_lib_var=yes"
12459 else 12464 else
12460 echo "configure: failed program was:" >&5 12465 echo "configure: failed program was:" >&5
12461 cat conftest.$ac_ext >&5 12466 cat conftest.$ac_ext >&5
12490 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 12495 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
12491 echo " xemacs will be linked with \"nas.o\"" 12496 echo " xemacs will be linked with \"nas.o\""
12492 fi 12497 fi
12493 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 12498 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
12494 cat > conftest.$ac_ext <<EOF 12499 cat > conftest.$ac_ext <<EOF
12495 #line 12496 "configure" 12500 #line 12501 "configure"
12496 #include "confdefs.h" 12501 #include "confdefs.h"
12497 #include <audio/Xtutil.h> 12502 #include <audio/Xtutil.h>
12498 EOF 12503 EOF
12499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 12504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12500 egrep "AuXtErrorJump" >/dev/null 2>&1; then 12505 egrep "AuXtErrorJump" >/dev/null 2>&1; then
12521 12526
12522 if test "$with_esd_sound" != "no"; then 12527 if test "$with_esd_sound" != "no"; then
12523 # Extract the first word of "esd-config", so it can be a program name with args. 12528 # Extract the first word of "esd-config", so it can be a program name with args.
12524 set dummy esd-config; ac_word=$2 12529 set dummy esd-config; ac_word=$2
12525 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 12530 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12526 echo "configure:12527: checking for $ac_word" >&5 12531 echo "configure:12532: checking for $ac_word" >&5
12527 12532
12528 if test -n "$have_esd_config"; then 12533 if test -n "$have_esd_config"; then
12529 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 12534 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
12530 else 12535 else
12531 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 12536 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
12550 if test "$have_esd_config" = "yes"; then 12555 if test "$have_esd_config" = "yes"; then
12551 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 12556 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
12552 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi 12557 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi
12553 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 12558 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
12554 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 12559 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
12555 echo "configure:12556: checking for esd_play_stream" >&5 12560 echo "configure:12561: checking for esd_play_stream" >&5
12556 12561
12557 cat > conftest.$ac_ext <<EOF 12562 cat > conftest.$ac_ext <<EOF
12558 #line 12559 "configure" 12563 #line 12564 "configure"
12559 #include "confdefs.h" 12564 #include "confdefs.h"
12560 /* System header to define __stub macros and hopefully few prototypes, 12565 /* System header to define __stub macros and hopefully few prototypes,
12561 which can conflict with char esd_play_stream(); below. */ 12566 which can conflict with char esd_play_stream(); below. */
12562 #include <assert.h> 12567 #include <assert.h>
12563 /* Override any gcc2 internal prototype to avoid an error. */ 12568 /* Override any gcc2 internal prototype to avoid an error. */
12576 esd_play_stream(); 12581 esd_play_stream();
12577 #endif 12582 #endif
12578 12583
12579 ; return 0; } 12584 ; return 0; }
12580 EOF 12585 EOF
12581 if { (eval echo configure:12582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12586 if { (eval echo configure:12587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12582 rm -rf conftest* 12587 rm -rf conftest*
12583 eval "ac_cv_func_esd_play_stream=yes" 12588 eval "ac_cv_func_esd_play_stream=yes"
12584 else 12589 else
12585 echo "configure: failed program was:" >&5 12590 echo "configure: failed program was:" >&5
12586 cat conftest.$ac_ext >&5 12591 cat conftest.$ac_ext >&5
12627 12632
12628 test -z "$with_tty" && with_tty=yes 12633 test -z "$with_tty" && with_tty=yes
12629 12634
12630 if test "$with_tty" = "yes" ; then 12635 if test "$with_tty" = "yes" ; then
12631 echo "checking for TTY-related features" 1>&6 12636 echo "checking for TTY-related features" 1>&6
12632 echo "configure:12633: checking for TTY-related features" >&5 12637 echo "configure:12638: checking for TTY-related features" >&5
12633 { test "$extra_verbose" = "yes" && cat << \EOF 12638 { test "$extra_verbose" = "yes" && cat << \EOF
12634 Defining HAVE_TTY 12639 Defining HAVE_TTY
12635 EOF 12640 EOF
12636 cat >> confdefs.h <<\EOF 12641 cat >> confdefs.h <<\EOF
12637 #define HAVE_TTY 1 12642 #define HAVE_TTY 1
12643 fi 12648 fi
12644 12649
12645 if test -z "$with_ncurses"; then 12650 if test -z "$with_ncurses"; then
12646 12651
12647 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 12652 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
12648 echo "configure:12649: checking for tgetent in -lncurses" >&5 12653 echo "configure:12654: checking for tgetent in -lncurses" >&5
12649 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 12654 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
12650 12655
12651 xe_check_libs=" -lncurses " 12656 xe_check_libs=" -lncurses "
12652 cat > conftest.$ac_ext <<EOF 12657 cat > conftest.$ac_ext <<EOF
12653 #line 12654 "configure" 12658 #line 12659 "configure"
12654 #include "confdefs.h" 12659 #include "confdefs.h"
12655 /* Override any gcc2 internal prototype to avoid an error. */ 12660 /* Override any gcc2 internal prototype to avoid an error. */
12656 /* We use char because int might match the return type of a gcc2 12661 /* We use char because int might match the return type of a gcc2
12657 builtin and then its argument prototype would still apply. */ 12662 builtin and then its argument prototype would still apply. */
12658 char tgetent(); 12663 char tgetent();
12659 12664
12660 int main() { 12665 int main() {
12661 tgetent() 12666 tgetent()
12662 ; return 0; } 12667 ; return 0; }
12663 EOF 12668 EOF
12664 if { (eval echo configure:12665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12669 if { (eval echo configure:12670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12665 rm -rf conftest* 12670 rm -rf conftest*
12666 eval "ac_cv_lib_$ac_lib_var=yes" 12671 eval "ac_cv_lib_$ac_lib_var=yes"
12667 else 12672 else
12668 echo "configure: failed program was:" >&5 12673 echo "configure: failed program was:" >&5
12669 cat conftest.$ac_ext >&5 12674 cat conftest.$ac_ext >&5
12692 EOF 12697 EOF
12693 } 12698 }
12694 12699
12695 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 12700 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
12696 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 12701 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
12697 echo "configure:12698: checking for ncurses/curses.h" >&5 12702 echo "configure:12703: checking for ncurses/curses.h" >&5
12698 12703
12699 cat > conftest.$ac_ext <<EOF 12704 cat > conftest.$ac_ext <<EOF
12700 #line 12701 "configure" 12705 #line 12706 "configure"
12701 #include "confdefs.h" 12706 #include "confdefs.h"
12702 #include <ncurses/curses.h> 12707 #include <ncurses/curses.h>
12703 EOF 12708 EOF
12704 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12705 { (eval echo configure:12706: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12710 { (eval echo configure:12711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12706 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12707 if test -z "$ac_err"; then 12712 if test -z "$ac_err"; then
12708 rm -rf conftest* 12713 rm -rf conftest*
12709 eval "ac_cv_header_$ac_safe=yes" 12714 eval "ac_cv_header_$ac_safe=yes"
12710 else 12715 else
12722 echo "$ac_t""no" 1>&6 12727 echo "$ac_t""no" 1>&6
12723 fi 12728 fi
12724 12729
12725 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 12730 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
12726 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 12731 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
12727 echo "configure:12728: checking for ncurses/term.h" >&5 12732 echo "configure:12733: checking for ncurses/term.h" >&5
12728 12733
12729 cat > conftest.$ac_ext <<EOF 12734 cat > conftest.$ac_ext <<EOF
12730 #line 12731 "configure" 12735 #line 12736 "configure"
12731 #include "confdefs.h" 12736 #include "confdefs.h"
12732 #include <ncurses/term.h> 12737 #include <ncurses/term.h>
12733 EOF 12738 EOF
12734 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12739 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12735 { (eval echo configure:12736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12740 { (eval echo configure:12741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12736 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12741 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12737 if test -z "$ac_err"; then 12742 if test -z "$ac_err"; then
12738 rm -rf conftest* 12743 rm -rf conftest*
12739 eval "ac_cv_header_$ac_safe=yes" 12744 eval "ac_cv_header_$ac_safe=yes"
12740 else 12745 else
12760 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 12765 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
12761 save_c_switch_site="$c_switch_site" 12766 save_c_switch_site="$c_switch_site"
12762 c_switch_site="$c_switch_site -I/usr/include/ncurses" 12767 c_switch_site="$c_switch_site -I/usr/include/ncurses"
12763 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 12768 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
12764 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 12769 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
12765 echo "configure:12766: checking for ncurses/curses.h" >&5 12770 echo "configure:12771: checking for ncurses/curses.h" >&5
12766 12771
12767 cat > conftest.$ac_ext <<EOF 12772 cat > conftest.$ac_ext <<EOF
12768 #line 12769 "configure" 12773 #line 12774 "configure"
12769 #include "confdefs.h" 12774 #include "confdefs.h"
12770 #include <ncurses/curses.h> 12775 #include <ncurses/curses.h>
12771 EOF 12776 EOF
12772 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12777 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12773 { (eval echo configure:12774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12778 { (eval echo configure:12779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12774 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12779 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12775 if test -z "$ac_err"; then 12780 if test -z "$ac_err"; then
12776 rm -rf conftest* 12781 rm -rf conftest*
12777 eval "ac_cv_header_$ac_safe=yes" 12782 eval "ac_cv_header_$ac_safe=yes"
12778 else 12783 else
12803 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 12808 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
12804 else 12809 else
12805 for lib in curses termlib termcap; do 12810 for lib in curses termlib termcap; do
12806 12811
12807 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 12812 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
12808 echo "configure:12809: checking for tgetent in -l$lib" >&5 12813 echo "configure:12814: checking for tgetent in -l$lib" >&5
12809 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 12814 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
12810 12815
12811 xe_check_libs=" -l$lib " 12816 xe_check_libs=" -l$lib "
12812 cat > conftest.$ac_ext <<EOF 12817 cat > conftest.$ac_ext <<EOF
12813 #line 12814 "configure" 12818 #line 12819 "configure"
12814 #include "confdefs.h" 12819 #include "confdefs.h"
12815 /* Override any gcc2 internal prototype to avoid an error. */ 12820 /* Override any gcc2 internal prototype to avoid an error. */
12816 /* We use char because int might match the return type of a gcc2 12821 /* We use char because int might match the return type of a gcc2
12817 builtin and then its argument prototype would still apply. */ 12822 builtin and then its argument prototype would still apply. */
12818 char tgetent(); 12823 char tgetent();
12819 12824
12820 int main() { 12825 int main() {
12821 tgetent() 12826 tgetent()
12822 ; return 0; } 12827 ; return 0; }
12823 EOF 12828 EOF
12824 if { (eval echo configure:12825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12829 if { (eval echo configure:12830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12825 rm -rf conftest* 12830 rm -rf conftest*
12826 eval "ac_cv_lib_$ac_lib_var=yes" 12831 eval "ac_cv_lib_$ac_lib_var=yes"
12827 else 12832 else
12828 echo "configure: failed program was:" >&5 12833 echo "configure: failed program was:" >&5
12829 cat conftest.$ac_ext >&5 12834 cat conftest.$ac_ext >&5
12850 if test -n "$libs_termcap"; then 12855 if test -n "$libs_termcap"; then
12851 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 12856 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
12852 else 12857 else
12853 12858
12854 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 12859 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
12855 echo "configure:12856: checking for tgetent in -lcurses" >&5 12860 echo "configure:12861: checking for tgetent in -lcurses" >&5
12856 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 12861 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
12857 12862
12858 xe_check_libs=" -lcurses " 12863 xe_check_libs=" -lcurses "
12859 cat > conftest.$ac_ext <<EOF 12864 cat > conftest.$ac_ext <<EOF
12860 #line 12861 "configure" 12865 #line 12866 "configure"
12861 #include "confdefs.h" 12866 #include "confdefs.h"
12862 /* Override any gcc2 internal prototype to avoid an error. */ 12867 /* Override any gcc2 internal prototype to avoid an error. */
12863 /* We use char because int might match the return type of a gcc2 12868 /* We use char because int might match the return type of a gcc2
12864 builtin and then its argument prototype would still apply. */ 12869 builtin and then its argument prototype would still apply. */
12865 char tgetent(); 12870 char tgetent();
12866 12871
12867 int main() { 12872 int main() {
12868 tgetent() 12873 tgetent()
12869 ; return 0; } 12874 ; return 0; }
12870 EOF 12875 EOF
12871 if { (eval echo configure:12872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12876 if { (eval echo configure:12877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12872 rm -rf conftest* 12877 rm -rf conftest*
12873 eval "ac_cv_lib_$ac_lib_var=yes" 12878 eval "ac_cv_lib_$ac_lib_var=yes"
12874 else 12879 else
12875 echo "configure: failed program was:" >&5 12880 echo "configure: failed program was:" >&5
12876 cat conftest.$ac_ext >&5 12881 cat conftest.$ac_ext >&5
12884 echo "$ac_t""yes" 1>&6 12889 echo "$ac_t""yes" 1>&6
12885 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 12890 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
12886 else 12891 else
12887 echo "$ac_t""no" 1>&6 12892 echo "$ac_t""no" 1>&6
12888 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 12893 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
12889 echo "configure:12890: checking for tgetent in -ltermcap" >&5 12894 echo "configure:12895: checking for tgetent in -ltermcap" >&5
12890 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 12895 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
12891 12896
12892 xe_check_libs=" -ltermcap " 12897 xe_check_libs=" -ltermcap "
12893 cat > conftest.$ac_ext <<EOF 12898 cat > conftest.$ac_ext <<EOF
12894 #line 12895 "configure" 12899 #line 12900 "configure"
12895 #include "confdefs.h" 12900 #include "confdefs.h"
12896 /* Override any gcc2 internal prototype to avoid an error. */ 12901 /* Override any gcc2 internal prototype to avoid an error. */
12897 /* We use char because int might match the return type of a gcc2 12902 /* We use char because int might match the return type of a gcc2
12898 builtin and then its argument prototype would still apply. */ 12903 builtin and then its argument prototype would still apply. */
12899 char tgetent(); 12904 char tgetent();
12900 12905
12901 int main() { 12906 int main() {
12902 tgetent() 12907 tgetent()
12903 ; return 0; } 12908 ; return 0; }
12904 EOF 12909 EOF
12905 if { (eval echo configure:12906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12910 if { (eval echo configure:12911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12906 rm -rf conftest* 12911 rm -rf conftest*
12907 eval "ac_cv_lib_$ac_lib_var=yes" 12912 eval "ac_cv_lib_$ac_lib_var=yes"
12908 else 12913 else
12909 echo "configure: failed program was:" >&5 12914 echo "configure: failed program was:" >&5
12910 cat conftest.$ac_ext >&5 12915 cat conftest.$ac_ext >&5
12948 } 12953 }
12949 12954
12950 12955
12951 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 12956 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
12952 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 12957 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
12953 echo "configure:12954: checking for gpm.h" >&5 12958 echo "configure:12959: checking for gpm.h" >&5
12954 12959
12955 cat > conftest.$ac_ext <<EOF 12960 cat > conftest.$ac_ext <<EOF
12956 #line 12957 "configure" 12961 #line 12962 "configure"
12957 #include "confdefs.h" 12962 #include "confdefs.h"
12958 #include <gpm.h> 12963 #include <gpm.h>
12959 EOF 12964 EOF
12960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 12965 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12961 { (eval echo configure:12962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 12966 { (eval echo configure:12967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 12967 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12963 if test -z "$ac_err"; then 12968 if test -z "$ac_err"; then
12964 rm -rf conftest* 12969 rm -rf conftest*
12965 eval "ac_cv_header_$ac_safe=yes" 12970 eval "ac_cv_header_$ac_safe=yes"
12966 else 12971 else
12979 with_gpm=no 12984 with_gpm=no
12980 fi 12985 fi
12981 } 12986 }
12982 test -z "$with_gpm" && { 12987 test -z "$with_gpm" && {
12983 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 12988 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
12984 echo "configure:12985: checking for Gpm_Open in -lgpm" >&5 12989 echo "configure:12990: checking for Gpm_Open in -lgpm" >&5
12985 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 12990 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
12986 12991
12987 xe_check_libs=" -lgpm " 12992 xe_check_libs=" -lgpm "
12988 cat > conftest.$ac_ext <<EOF 12993 cat > conftest.$ac_ext <<EOF
12989 #line 12990 "configure" 12994 #line 12995 "configure"
12990 #include "confdefs.h" 12995 #include "confdefs.h"
12991 /* Override any gcc2 internal prototype to avoid an error. */ 12996 /* Override any gcc2 internal prototype to avoid an error. */
12992 /* We use char because int might match the return type of a gcc2 12997 /* We use char because int might match the return type of a gcc2
12993 builtin and then its argument prototype would still apply. */ 12998 builtin and then its argument prototype would still apply. */
12994 char Gpm_Open(); 12999 char Gpm_Open();
12995 13000
12996 int main() { 13001 int main() {
12997 Gpm_Open() 13002 Gpm_Open()
12998 ; return 0; } 13003 ; return 0; }
12999 EOF 13004 EOF
13000 if { (eval echo configure:13001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13005 if { (eval echo configure:13006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13001 rm -rf conftest* 13006 rm -rf conftest*
13002 eval "ac_cv_lib_$ac_lib_var=yes" 13007 eval "ac_cv_lib_$ac_lib_var=yes"
13003 else 13008 else
13004 echo "configure: failed program was:" >&5 13009 echo "configure: failed program was:" >&5
13005 cat conftest.$ac_ext >&5 13010 cat conftest.$ac_ext >&5
13045 fi 13050 fi
13046 13051
13047 13052
13048 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 13053 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
13049 != "no no no" && echo "checking for database support" 1>&6 13054 != "no no no" && echo "checking for database support" 1>&6
13050 echo "configure:13051: checking for database support" >&5 13055 echo "configure:13056: checking for database support" >&5
13051 13056
13052 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 13057 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
13053 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 13058 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
13054 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 13059 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
13055 echo "configure:13056: checking for ndbm.h" >&5 13060 echo "configure:13061: checking for ndbm.h" >&5
13056 13061
13057 cat > conftest.$ac_ext <<EOF 13062 cat > conftest.$ac_ext <<EOF
13058 #line 13059 "configure" 13063 #line 13064 "configure"
13059 #include "confdefs.h" 13064 #include "confdefs.h"
13060 #include <ndbm.h> 13065 #include <ndbm.h>
13061 EOF 13066 EOF
13062 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13063 { (eval echo configure:13064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13068 { (eval echo configure:13069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13069 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13065 if test -z "$ac_err"; then 13070 if test -z "$ac_err"; then
13066 rm -rf conftest* 13071 rm -rf conftest*
13067 eval "ac_cv_header_$ac_safe=yes" 13072 eval "ac_cv_header_$ac_safe=yes"
13068 else 13073 else
13088 fi 13093 fi
13089 13094
13090 if test "$with_database_gdbm" != "no"; then 13095 if test "$with_database_gdbm" != "no"; then
13091 13096
13092 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 13097 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
13093 echo "configure:13094: checking for dbm_open in -lgdbm" >&5 13098 echo "configure:13099: checking for dbm_open in -lgdbm" >&5
13094 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 13099 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
13095 13100
13096 xe_check_libs=" -lgdbm " 13101 xe_check_libs=" -lgdbm "
13097 cat > conftest.$ac_ext <<EOF 13102 cat > conftest.$ac_ext <<EOF
13098 #line 13099 "configure" 13103 #line 13104 "configure"
13099 #include "confdefs.h" 13104 #include "confdefs.h"
13100 /* Override any gcc2 internal prototype to avoid an error. */ 13105 /* Override any gcc2 internal prototype to avoid an error. */
13101 /* We use char because int might match the return type of a gcc2 13106 /* We use char because int might match the return type of a gcc2
13102 builtin and then its argument prototype would still apply. */ 13107 builtin and then its argument prototype would still apply. */
13103 char dbm_open(); 13108 char dbm_open();
13104 13109
13105 int main() { 13110 int main() {
13106 dbm_open() 13111 dbm_open()
13107 ; return 0; } 13112 ; return 0; }
13108 EOF 13113 EOF
13109 if { (eval echo configure:13110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13114 if { (eval echo configure:13115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13110 rm -rf conftest* 13115 rm -rf conftest*
13111 eval "ac_cv_lib_$ac_lib_var=yes" 13116 eval "ac_cv_lib_$ac_lib_var=yes"
13112 else 13117 else
13113 echo "configure: failed program was:" >&5 13118 echo "configure: failed program was:" >&5
13114 cat conftest.$ac_ext >&5 13119 cat conftest.$ac_ext >&5
13132 13137
13133 fi 13138 fi
13134 13139
13135 if test "$with_database_dbm" != "no"; then 13140 if test "$with_database_dbm" != "no"; then
13136 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 13141 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
13137 echo "configure:13138: checking for dbm_open" >&5 13142 echo "configure:13143: checking for dbm_open" >&5
13138 13143
13139 cat > conftest.$ac_ext <<EOF 13144 cat > conftest.$ac_ext <<EOF
13140 #line 13141 "configure" 13145 #line 13146 "configure"
13141 #include "confdefs.h" 13146 #include "confdefs.h"
13142 /* System header to define __stub macros and hopefully few prototypes, 13147 /* System header to define __stub macros and hopefully few prototypes,
13143 which can conflict with char dbm_open(); below. */ 13148 which can conflict with char dbm_open(); below. */
13144 #include <assert.h> 13149 #include <assert.h>
13145 /* Override any gcc2 internal prototype to avoid an error. */ 13150 /* Override any gcc2 internal prototype to avoid an error. */
13158 dbm_open(); 13163 dbm_open();
13159 #endif 13164 #endif
13160 13165
13161 ; return 0; } 13166 ; return 0; }
13162 EOF 13167 EOF
13163 if { (eval echo configure:13164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13168 if { (eval echo configure:13169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13164 rm -rf conftest* 13169 rm -rf conftest*
13165 eval "ac_cv_func_dbm_open=yes" 13170 eval "ac_cv_func_dbm_open=yes"
13166 else 13171 else
13167 echo "configure: failed program was:" >&5 13172 echo "configure: failed program was:" >&5
13168 cat conftest.$ac_ext >&5 13173 cat conftest.$ac_ext >&5
13177 else 13182 else
13178 echo "$ac_t""no" 1>&6 13183 echo "$ac_t""no" 1>&6
13179 13184
13180 13185
13181 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 13186 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
13182 echo "configure:13183: checking for dbm_open in -ldbm" >&5 13187 echo "configure:13188: checking for dbm_open in -ldbm" >&5
13183 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 13188 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
13184 13189
13185 xe_check_libs=" -ldbm " 13190 xe_check_libs=" -ldbm "
13186 cat > conftest.$ac_ext <<EOF 13191 cat > conftest.$ac_ext <<EOF
13187 #line 13188 "configure" 13192 #line 13193 "configure"
13188 #include "confdefs.h" 13193 #include "confdefs.h"
13189 /* Override any gcc2 internal prototype to avoid an error. */ 13194 /* Override any gcc2 internal prototype to avoid an error. */
13190 /* We use char because int might match the return type of a gcc2 13195 /* We use char because int might match the return type of a gcc2
13191 builtin and then its argument prototype would still apply. */ 13196 builtin and then its argument prototype would still apply. */
13192 char dbm_open(); 13197 char dbm_open();
13193 13198
13194 int main() { 13199 int main() {
13195 dbm_open() 13200 dbm_open()
13196 ; return 0; } 13201 ; return 0; }
13197 EOF 13202 EOF
13198 if { (eval echo configure:13199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13203 if { (eval echo configure:13204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13199 rm -rf conftest* 13204 rm -rf conftest*
13200 eval "ac_cv_lib_$ac_lib_var=yes" 13205 eval "ac_cv_lib_$ac_lib_var=yes"
13201 else 13206 else
13202 echo "configure: failed program was:" >&5 13207 echo "configure: failed program was:" >&5
13203 cat conftest.$ac_ext >&5 13208 cat conftest.$ac_ext >&5
13234 } 13239 }
13235 13240
13236 13241
13237 if test "$with_database_berkdb" != "no"; then 13242 if test "$with_database_berkdb" != "no"; then
13238 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 13243 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
13239 echo "configure:13240: checking for Berkeley db.h" >&5 13244 echo "configure:13245: checking for Berkeley db.h" >&5
13240 for header in "db/db.h" "db.h"; do 13245 for header in "db/db.h" "db.h"; do
13241 cat > conftest.$ac_ext <<EOF 13246 cat > conftest.$ac_ext <<EOF
13242 #line 13243 "configure" 13247 #line 13248 "configure"
13243 #include "confdefs.h" 13248 #include "confdefs.h"
13244 13249
13245 #include <stdlib.h> 13250 #include <stdlib.h>
13246 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 13251 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
13247 #ifdef HAVE_INTTYPES_H 13252 #ifdef HAVE_INTTYPES_H
13259 13264
13260 int main() { 13265 int main() {
13261 13266
13262 ; return 0; } 13267 ; return 0; }
13263 EOF 13268 EOF
13264 if { (eval echo configure:13265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13269 if { (eval echo configure:13270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13265 rm -rf conftest* 13270 rm -rf conftest*
13266 db_h_file="$header"; break 13271 db_h_file="$header"; break
13267 else 13272 else
13268 echo "configure: failed program was:" >&5 13273 echo "configure: failed program was:" >&5
13269 cat conftest.$ac_ext >&5 13274 cat conftest.$ac_ext >&5
13275 else echo "$ac_t""$db_h_file" 1>&6 13280 else echo "$ac_t""$db_h_file" 1>&6
13276 fi 13281 fi
13277 13282
13278 if test "$with_database_berkdb" != "no"; then 13283 if test "$with_database_berkdb" != "no"; then
13279 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 13284 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
13280 echo "configure:13281: checking for Berkeley DB version" >&5 13285 echo "configure:13286: checking for Berkeley DB version" >&5
13281 cat > conftest.$ac_ext <<EOF 13286 cat > conftest.$ac_ext <<EOF
13282 #line 13283 "configure" 13287 #line 13288 "configure"
13283 #include "confdefs.h" 13288 #include "confdefs.h"
13284 #include <$db_h_file> 13289 #include <$db_h_file>
13285 #if DB_VERSION_MAJOR > 1 13290 #if DB_VERSION_MAJOR > 1
13286 yes 13291 yes
13287 #endif 13292 #endif
13288 13293
13289 EOF 13294 EOF
13290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13291 egrep "yes" >/dev/null 2>&1; then 13296 egrep "yes" >/dev/null 2>&1; then
13292 rm -rf conftest* 13297 rm -rf conftest*
13293 echo "$ac_t""2" 1>&6; dbfunc=db_open 13298 cat > conftest.$ac_ext <<EOF
13294 else 13299 #line 13300 "configure"
13295 rm -rf conftest* 13300 #include "confdefs.h"
13296 echo "$ac_t""1" 1>&6; dbfunc=dbopen 13301 #include <$db_h_file>
13302 #if DB_VERSION_MAJOR > 2
13303 yes
13304 #endif
13305
13306 EOF
13307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13308 egrep "yes" >/dev/null 2>&1; then
13309 rm -rf conftest*
13310 echo "$ac_t""3" 1>&6; dbfunc=db_create
13311 else
13312 rm -rf conftest*
13313
13314 echo "$ac_t""2" 1>&6; dbfunc=db_open
13315 fi
13316 rm -f conftest*
13317
13318 else
13319 rm -rf conftest*
13320
13321 echo "$ac_t""1" 1>&6; dbfunc=dbopen
13297 fi 13322 fi
13298 rm -f conftest* 13323 rm -f conftest*
13299 13324
13300 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 13325 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
13301 echo "configure:13302: checking for $dbfunc" >&5 13326 echo "configure:13327: checking for $dbfunc" >&5
13302 13327
13303 cat > conftest.$ac_ext <<EOF 13328 cat > conftest.$ac_ext <<EOF
13304 #line 13305 "configure" 13329 #line 13330 "configure"
13305 #include "confdefs.h" 13330 #include "confdefs.h"
13306 /* System header to define __stub macros and hopefully few prototypes, 13331 /* System header to define __stub macros and hopefully few prototypes,
13307 which can conflict with char $dbfunc(); below. */ 13332 which can conflict with char $dbfunc(); below. */
13308 #include <assert.h> 13333 #include <assert.h>
13309 /* Override any gcc2 internal prototype to avoid an error. */ 13334 /* Override any gcc2 internal prototype to avoid an error. */
13322 $dbfunc(); 13347 $dbfunc();
13323 #endif 13348 #endif
13324 13349
13325 ; return 0; } 13350 ; return 0; }
13326 EOF 13351 EOF
13327 if { (eval echo configure:13328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13352 if { (eval echo configure:13353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13328 rm -rf conftest* 13353 rm -rf conftest*
13329 eval "ac_cv_func_$dbfunc=yes" 13354 eval "ac_cv_func_$dbfunc=yes"
13330 else 13355 else
13331 echo "configure: failed program was:" >&5 13356 echo "configure: failed program was:" >&5
13332 cat conftest.$ac_ext >&5 13357 cat conftest.$ac_ext >&5
13341 else 13366 else
13342 echo "$ac_t""no" 1>&6 13367 echo "$ac_t""no" 1>&6
13343 13368
13344 13369
13345 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 13370 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
13346 echo "configure:13347: checking for $dbfunc in -ldb" >&5 13371 echo "configure:13372: checking for $dbfunc in -ldb" >&5
13347 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 13372 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
13348 13373
13349 xe_check_libs=" -ldb " 13374 xe_check_libs=" -ldb "
13350 cat > conftest.$ac_ext <<EOF 13375 cat > conftest.$ac_ext <<EOF
13351 #line 13352 "configure" 13376 #line 13377 "configure"
13352 #include "confdefs.h" 13377 #include "confdefs.h"
13353 /* Override any gcc2 internal prototype to avoid an error. */ 13378 /* Override any gcc2 internal prototype to avoid an error. */
13354 /* We use char because int might match the return type of a gcc2 13379 /* We use char because int might match the return type of a gcc2
13355 builtin and then its argument prototype would still apply. */ 13380 builtin and then its argument prototype would still apply. */
13356 char $dbfunc(); 13381 char $dbfunc();
13357 13382
13358 int main() { 13383 int main() {
13359 $dbfunc() 13384 $dbfunc()
13360 ; return 0; } 13385 ; return 0; }
13361 EOF 13386 EOF
13362 if { (eval echo configure:13363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13387 if { (eval echo configure:13388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13363 rm -rf conftest* 13388 rm -rf conftest*
13364 eval "ac_cv_lib_$ac_lib_var=yes" 13389 eval "ac_cv_lib_$ac_lib_var=yes"
13365 else 13390 else
13366 echo "configure: failed program was:" >&5 13391 echo "configure: failed program was:" >&5
13367 cat conftest.$ac_ext >&5 13392 cat conftest.$ac_ext >&5
13421 fi 13446 fi
13422 13447
13423 if test "$with_socks" = "yes"; then 13448 if test "$with_socks" = "yes"; then
13424 13449
13425 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 13450 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
13426 echo "configure:13427: checking for SOCKSinit in -lsocks" >&5 13451 echo "configure:13452: checking for SOCKSinit in -lsocks" >&5
13427 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 13452 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
13428 13453
13429 xe_check_libs=" -lsocks " 13454 xe_check_libs=" -lsocks "
13430 cat > conftest.$ac_ext <<EOF 13455 cat > conftest.$ac_ext <<EOF
13431 #line 13432 "configure" 13456 #line 13457 "configure"
13432 #include "confdefs.h" 13457 #include "confdefs.h"
13433 /* Override any gcc2 internal prototype to avoid an error. */ 13458 /* Override any gcc2 internal prototype to avoid an error. */
13434 /* We use char because int might match the return type of a gcc2 13459 /* We use char because int might match the return type of a gcc2
13435 builtin and then its argument prototype would still apply. */ 13460 builtin and then its argument prototype would still apply. */
13436 char SOCKSinit(); 13461 char SOCKSinit();
13437 13462
13438 int main() { 13463 int main() {
13439 SOCKSinit() 13464 SOCKSinit()
13440 ; return 0; } 13465 ; return 0; }
13441 EOF 13466 EOF
13442 if { (eval echo configure:13443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13467 if { (eval echo configure:13468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13443 rm -rf conftest* 13468 rm -rf conftest*
13444 eval "ac_cv_lib_$ac_lib_var=yes" 13469 eval "ac_cv_lib_$ac_lib_var=yes"
13445 else 13470 else
13446 echo "configure: failed program was:" >&5 13471 echo "configure: failed program was:" >&5
13447 cat conftest.$ac_ext >&5 13472 cat conftest.$ac_ext >&5
13492 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi 13517 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi
13493 fi 13518 fi
13494 13519
13495 if test "$with_modules" != "no"; then 13520 if test "$with_modules" != "no"; then
13496 echo "checking for module support" 1>&6 13521 echo "checking for module support" 1>&6
13497 echo "configure:13498: checking for module support" >&5 13522 echo "configure:13523: checking for module support" >&5
13498 13523
13499 if test "$with_msw" = "yes"; then 13524 if test "$with_msw" = "yes"; then
13500 have_dl=yes; 13525 have_dl=yes;
13501 else 13526 else
13502 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` 13527 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'`
13503 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 13528 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6
13504 echo "configure:13505: checking for dlfcn.h" >&5 13529 echo "configure:13530: checking for dlfcn.h" >&5
13505 13530
13506 cat > conftest.$ac_ext <<EOF 13531 cat > conftest.$ac_ext <<EOF
13507 #line 13508 "configure" 13532 #line 13533 "configure"
13508 #include "confdefs.h" 13533 #include "confdefs.h"
13509 #include <dlfcn.h> 13534 #include <dlfcn.h>
13510 EOF 13535 EOF
13511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13512 { (eval echo configure:13513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13537 { (eval echo configure:13538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13538 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13514 if test -z "$ac_err"; then 13539 if test -z "$ac_err"; then
13515 rm -rf conftest* 13540 rm -rf conftest*
13516 eval "ac_cv_header_$ac_safe=yes" 13541 eval "ac_cv_header_$ac_safe=yes"
13517 else 13542 else
13525 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 13550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13526 echo "$ac_t""yes" 1>&6 13551 echo "$ac_t""yes" 1>&6
13527 13552
13528 13553
13529 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 13554 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
13530 echo "configure:13531: checking for dlopen in -ldl" >&5 13555 echo "configure:13556: checking for dlopen in -ldl" >&5
13531 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 13556 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
13532 13557
13533 xe_check_libs=" -ldl " 13558 xe_check_libs=" -ldl "
13534 cat > conftest.$ac_ext <<EOF 13559 cat > conftest.$ac_ext <<EOF
13535 #line 13536 "configure" 13560 #line 13561 "configure"
13536 #include "confdefs.h" 13561 #include "confdefs.h"
13537 /* Override any gcc2 internal prototype to avoid an error. */ 13562 /* Override any gcc2 internal prototype to avoid an error. */
13538 /* We use char because int might match the return type of a gcc2 13563 /* We use char because int might match the return type of a gcc2
13539 builtin and then its argument prototype would still apply. */ 13564 builtin and then its argument prototype would still apply. */
13540 char dlopen(); 13565 char dlopen();
13541 13566
13542 int main() { 13567 int main() {
13543 dlopen() 13568 dlopen()
13544 ; return 0; } 13569 ; return 0; }
13545 EOF 13570 EOF
13546 if { (eval echo configure:13547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13571 if { (eval echo configure:13572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13547 rm -rf conftest* 13572 rm -rf conftest*
13548 eval "ac_cv_lib_$ac_lib_var=yes" 13573 eval "ac_cv_lib_$ac_lib_var=yes"
13549 else 13574 else
13550 echo "configure: failed program was:" >&5 13575 echo "configure: failed program was:" >&5
13551 cat conftest.$ac_ext >&5 13576 cat conftest.$ac_ext >&5
13560 have_dl=yes libdl=dl 13585 have_dl=yes libdl=dl
13561 else 13586 else
13562 echo "$ac_t""no" 1>&6 13587 echo "$ac_t""no" 1>&6
13563 13588
13564 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 13589 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
13565 echo "configure:13566: checking for dlopen in -lc" >&5 13590 echo "configure:13591: checking for dlopen in -lc" >&5
13566 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` 13591 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'`
13567 13592
13568 xe_check_libs=" -lc " 13593 xe_check_libs=" -lc "
13569 cat > conftest.$ac_ext <<EOF 13594 cat > conftest.$ac_ext <<EOF
13570 #line 13571 "configure" 13595 #line 13596 "configure"
13571 #include "confdefs.h" 13596 #include "confdefs.h"
13572 /* Override any gcc2 internal prototype to avoid an error. */ 13597 /* Override any gcc2 internal prototype to avoid an error. */
13573 /* We use char because int might match the return type of a gcc2 13598 /* We use char because int might match the return type of a gcc2
13574 builtin and then its argument prototype would still apply. */ 13599 builtin and then its argument prototype would still apply. */
13575 char dlopen(); 13600 char dlopen();
13576 13601
13577 int main() { 13602 int main() {
13578 dlopen() 13603 dlopen()
13579 ; return 0; } 13604 ; return 0; }
13580 EOF 13605 EOF
13581 if { (eval echo configure:13582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13606 if { (eval echo configure:13607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13582 rm -rf conftest* 13607 rm -rf conftest*
13583 eval "ac_cv_lib_$ac_lib_var=yes" 13608 eval "ac_cv_lib_$ac_lib_var=yes"
13584 else 13609 else
13585 echo "configure: failed program was:" >&5 13610 echo "configure: failed program was:" >&5
13586 cat conftest.$ac_ext >&5 13611 cat conftest.$ac_ext >&5
13615 } 13640 }
13616 13641
13617 else 13642 else
13618 13643
13619 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 13644 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
13620 echo "configure:13621: checking for shl_load in -ldld" >&5 13645 echo "configure:13646: checking for shl_load in -ldld" >&5
13621 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 13646 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
13622 13647
13623 xe_check_libs=" -ldld " 13648 xe_check_libs=" -ldld "
13624 cat > conftest.$ac_ext <<EOF 13649 cat > conftest.$ac_ext <<EOF
13625 #line 13626 "configure" 13650 #line 13651 "configure"
13626 #include "confdefs.h" 13651 #include "confdefs.h"
13627 /* Override any gcc2 internal prototype to avoid an error. */ 13652 /* Override any gcc2 internal prototype to avoid an error. */
13628 /* We use char because int might match the return type of a gcc2 13653 /* We use char because int might match the return type of a gcc2
13629 builtin and then its argument prototype would still apply. */ 13654 builtin and then its argument prototype would still apply. */
13630 char shl_load(); 13655 char shl_load();
13631 13656
13632 int main() { 13657 int main() {
13633 shl_load() 13658 shl_load()
13634 ; return 0; } 13659 ; return 0; }
13635 EOF 13660 EOF
13636 if { (eval echo configure:13637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13661 if { (eval echo configure:13662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13637 rm -rf conftest* 13662 rm -rf conftest*
13638 eval "ac_cv_lib_$ac_lib_var=yes" 13663 eval "ac_cv_lib_$ac_lib_var=yes"
13639 else 13664 else
13640 echo "configure: failed program was:" >&5 13665 echo "configure: failed program was:" >&5
13641 cat conftest.$ac_ext >&5 13666 cat conftest.$ac_ext >&5
13658 13683
13659 else 13684 else
13660 echo "$ac_t""no" 1>&6 13685 echo "$ac_t""no" 1>&6
13661 13686
13662 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 13687 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6
13663 echo "configure:13664: checking for dld_init in -ldld" >&5 13688 echo "configure:13689: checking for dld_init in -ldld" >&5
13664 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` 13689 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'`
13665 13690
13666 xe_check_libs=" -ldld " 13691 xe_check_libs=" -ldld "
13667 cat > conftest.$ac_ext <<EOF 13692 cat > conftest.$ac_ext <<EOF
13668 #line 13669 "configure" 13693 #line 13694 "configure"
13669 #include "confdefs.h" 13694 #include "confdefs.h"
13670 /* Override any gcc2 internal prototype to avoid an error. */ 13695 /* Override any gcc2 internal prototype to avoid an error. */
13671 /* We use char because int might match the return type of a gcc2 13696 /* We use char because int might match the return type of a gcc2
13672 builtin and then its argument prototype would still apply. */ 13697 builtin and then its argument prototype would still apply. */
13673 char dld_init(); 13698 char dld_init();
13674 13699
13675 int main() { 13700 int main() {
13676 dld_init() 13701 dld_init()
13677 ; return 0; } 13702 ; return 0; }
13678 EOF 13703 EOF
13679 if { (eval echo configure:13680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13704 if { (eval echo configure:13705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13680 rm -rf conftest* 13705 rm -rf conftest*
13681 eval "ac_cv_lib_$ac_lib_var=yes" 13706 eval "ac_cv_lib_$ac_lib_var=yes"
13682 else 13707 else
13683 echo "configure: failed program was:" >&5 13708 echo "configure: failed program was:" >&5
13684 cat conftest.$ac_ext >&5 13709 cat conftest.$ac_ext >&5
13719 ld_dynamic_link_flags= 13744 ld_dynamic_link_flags=
13720 xehost=$canonical 13745 xehost=$canonical
13721 xealias=$internal_configuration 13746 xealias=$internal_configuration
13722 13747
13723 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 13748 echo "checking how to build dynamic libraries for ${xehost}" 1>&6
13724 echo "configure:13725: checking how to build dynamic libraries for ${xehost}" >&5 13749 echo "configure:13750: checking how to build dynamic libraries for ${xehost}" >&5
13725 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. 13750 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts.
13726 case "$xehost" in 13751 case "$xehost" in
13727 *-*-linux-gnu*) ;; 13752 *-*-linux-gnu*) ;;
13728 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` 13753 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
13729 esac 13754 esac
13747 # Now see if the compiler is really GCC. 13772 # Now see if the compiler is really GCC.
13748 if test "$GCC" = "yes"; then 13773 if test "$GCC" = "yes"; then
13749 XEGCC=yes 13774 XEGCC=yes
13750 else 13775 else
13751 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 13776 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6
13752 echo "configure:13753: checking checking whether we are using GNU C" >&5 13777 echo "configure:13778: checking checking whether we are using GNU C" >&5
13753 cat > conftest.$ac_ext <<EOF 13778 cat > conftest.$ac_ext <<EOF
13754 #line 13755 "configure" 13779 #line 13780 "configure"
13755 #include "confdefs.h" 13780 #include "confdefs.h"
13756 13781
13757 #ifdef __GNUC__ 13782 #ifdef __GNUC__
13758 yes; 13783 yes;
13759 #endif 13784 #endif
13771 13796
13772 echo "$ac_t""${XEGCC}" 1>&6 13797 echo "$ac_t""${XEGCC}" 1>&6
13773 fi 13798 fi
13774 13799
13775 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 13800 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6
13776 echo "configure:13777: checking how to produce PIC code" >&5 13801 echo "configure:13802: checking how to produce PIC code" >&5
13777 wl= 13802 wl=
13778 13803
13779 can_build_shared=yes 13804 can_build_shared=yes
13780 if test "$XEGCC" = yes; then 13805 if test "$XEGCC" = yes; then
13781 wl='-Wl,' 13806 wl='-Wl,'
13867 if test -n "$dll_cflags"; then 13892 if test -n "$dll_cflags"; then
13868 echo "$ac_t""${dll_cflags}" 1>&6 13893 echo "$ac_t""${dll_cflags}" 1>&6
13869 13894
13870 # Check to make sure the dll_cflags actually works. 13895 # Check to make sure the dll_cflags actually works.
13871 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 13896 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6
13872 echo "configure:13873: checking if PIC flag ${dll_cflags} really works" >&5 13897 echo "configure:13898: checking if PIC flag ${dll_cflags} really works" >&5
13873 save_CFLAGS="$CFLAGS" 13898 save_CFLAGS="$CFLAGS"
13874 CFLAGS="$CFLAGS $dll_cflags -DPIC" 13899 CFLAGS="$CFLAGS $dll_cflags -DPIC"
13875 cat > conftest.$ac_ext <<EOF 13900 cat > conftest.$ac_ext <<EOF
13876 #line 13877 "configure" 13901 #line 13902 "configure"
13877 #include "confdefs.h" 13902 #include "confdefs.h"
13878 13903
13879 int main() { 13904 int main() {
13880 int x=0; 13905 int x=0;
13881 ; return 0; } 13906 ; return 0; }
13882 EOF 13907 EOF
13883 if { (eval echo configure:13884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13908 if { (eval echo configure:13909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13884 rm -rf conftest* 13909 rm -rf conftest*
13885 13910
13886 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also 13911 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also
13887 # reports no error. So, we need to grep stderr for (Bundled). 13912 # reports no error. So, we need to grep stderr for (Bundled).
13888 if grep '(Bundled)' config.log >/dev/null; then 13913 if grep '(Bundled)' config.log >/dev/null; then
13909 if test "$can_build_shared" = "yes"; then 13934 if test "$can_build_shared" = "yes"; then
13910 cc_produces_so=no 13935 cc_produces_so=no
13911 xldf= 13936 xldf=
13912 xcldf= 13937 xcldf=
13913 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 13938 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6
13914 echo "configure:13915: checking if C compiler can produce shared libraries" >&5 13939 echo "configure:13940: checking if C compiler can produce shared libraries" >&5
13915 if test "$XEGCC" = yes; then 13940 if test "$XEGCC" = yes; then
13916 xcldf="-shared" 13941 xcldf="-shared"
13917 xldf="-shared" 13942 xldf="-shared"
13918 else # Not using GCC 13943 else # Not using GCC
13919 case "$xehost_os" in 13944 case "$xehost_os" in
13960 LDFLAGS="$xcldf $LDFLAGS" 13985 LDFLAGS="$xcldf $LDFLAGS"
13961 LIBS= 13986 LIBS=
13962 xe_libs= 13987 xe_libs=
13963 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' 13988 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5'
13964 cat > conftest.$ac_ext <<EOF 13989 cat > conftest.$ac_ext <<EOF
13965 #line 13966 "configure" 13990 #line 13991 "configure"
13966 #include "confdefs.h" 13991 #include "confdefs.h"
13967 13992
13968 int main() { 13993 int main() {
13969 int x=0; 13994 int x=0;
13970 ; return 0; } 13995 ; return 0; }
13971 EOF 13996 EOF
13972 if { (eval echo configure:13973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13997 if { (eval echo configure:13998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13973 rm -rf conftest* 13998 rm -rf conftest*
13974 cc_produces_so=yes 13999 cc_produces_so=yes
13975 else 14000 else
13976 echo "configure: failed program was:" >&5 14001 echo "configure: failed program was:" >&5
13977 cat conftest.$ac_ext >&5 14002 cat conftest.$ac_ext >&5
13992 if test -z "$LTLD"; then 14017 if test -z "$LTLD"; then
13993 ac_prog=ld 14018 ac_prog=ld
13994 if test "$XEGCC" = yes; then 14019 if test "$XEGCC" = yes; then
13995 # Check if gcc -print-prog-name=ld gives a path. 14020 # Check if gcc -print-prog-name=ld gives a path.
13996 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 14021 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
13997 echo "configure:13998: checking for ld used by GCC" >&5 14022 echo "configure:14023: checking for ld used by GCC" >&5
13998 ac_prog=`($CC -print-prog-name=ld) 2>&5` 14023 ac_prog=`($CC -print-prog-name=ld) 2>&5`
13999 case "$ac_prog" in 14024 case "$ac_prog" in
14000 # Accept absolute paths. 14025 # Accept absolute paths.
14001 /*) 14026 /*)
14002 if test -z "$LTLD"; then 14027 if test -z "$LTLD"; then
14017 with_gnu_ld=unknown 14042 with_gnu_ld=unknown
14018 ;; 14043 ;;
14019 esac 14044 esac
14020 else 14045 else
14021 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 14046 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
14022 echo "configure:14023: checking for GNU ld" >&5 14047 echo "configure:14048: checking for GNU ld" >&5
14023 fi 14048 fi
14024 14049
14025 if test -z "$LTLD"; then 14050 if test -z "$LTLD"; then
14026 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14051 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14027 for ac_dir in $PATH; do 14052 for ac_dir in $PATH; do
14055 14080
14056 ld_dynamic_link_flags= 14081 ld_dynamic_link_flags=
14057 14082
14058 # Check to see if it really is or isn't GNU ld. 14083 # Check to see if it really is or isn't GNU ld.
14059 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 14084 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6
14060 echo "configure:14061: checking if the linker is GNU ld" >&5 14085 echo "configure:14086: checking if the linker is GNU ld" >&5
14061 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 14086 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14062 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 14087 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
14063 xe_gnu_ld=yes 14088 xe_gnu_ld=yes
14064 else 14089 else
14065 xe_gnu_ld=no 14090 xe_gnu_ld=no
14083 ld_shlibs=yes 14108 ld_shlibs=yes
14084 else 14109 else
14085 # OK - only NOW do we futz about with ld. 14110 # OK - only NOW do we futz about with ld.
14086 # See if the linker supports building shared libraries. 14111 # See if the linker supports building shared libraries.
14087 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 14112 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6
14088 echo "configure:14089: checking whether the linker supports shared libraries" >&5 14113 echo "configure:14114: checking whether the linker supports shared libraries" >&5
14089 dll_ld=$CC 14114 dll_ld=$CC
14090 dll_ldflags=$LDFLAGS 14115 dll_ldflags=$LDFLAGS
14091 ld_shlibs=yes 14116 ld_shlibs=yes
14092 can_build_shared=yes 14117 can_build_shared=yes
14093 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then 14118 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then
14298 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 14323 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
14299 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 14324 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
14300 for ac_func in dlerror _dlerror 14325 for ac_func in dlerror _dlerror
14301 do 14326 do
14302 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 14327 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14303 echo "configure:14304: checking for $ac_func" >&5 14328 echo "configure:14329: checking for $ac_func" >&5
14304 14329
14305 cat > conftest.$ac_ext <<EOF 14330 cat > conftest.$ac_ext <<EOF
14306 #line 14307 "configure" 14331 #line 14332 "configure"
14307 #include "confdefs.h" 14332 #include "confdefs.h"
14308 /* System header to define __stub macros and hopefully few prototypes, 14333 /* System header to define __stub macros and hopefully few prototypes,
14309 which can conflict with char $ac_func(); below. */ 14334 which can conflict with char $ac_func(); below. */
14310 #include <assert.h> 14335 #include <assert.h>
14311 /* Override any gcc2 internal prototype to avoid an error. */ 14336 /* Override any gcc2 internal prototype to avoid an error. */
14324 $ac_func(); 14349 $ac_func();
14325 #endif 14350 #endif
14326 14351
14327 ; return 0; } 14352 ; return 0; }
14328 EOF 14353 EOF
14329 if { (eval echo configure:14330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14354 if { (eval echo configure:14355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14330 rm -rf conftest* 14355 rm -rf conftest*
14331 eval "ac_cv_func_$ac_func=yes" 14356 eval "ac_cv_func_$ac_func=yes"
14332 else 14357 else
14333 echo "configure: failed program was:" >&5 14358 echo "configure: failed program was:" >&5
14334 cat conftest.$ac_ext >&5 14359 cat conftest.$ac_ext >&5
14363 with_modules=no 14388 with_modules=no
14364 fi 14389 fi
14365 fi 14390 fi
14366 14391
14367 cat > conftest.$ac_ext <<EOF 14392 cat > conftest.$ac_ext <<EOF
14368 #line 14369 "configure" 14393 #line 14394 "configure"
14369 #include "confdefs.h" 14394 #include "confdefs.h"
14370 int main(int c,char *v[]){return 0;} 14395 int main(int c,char *v[]){return 0;}
14371 EOF 14396 EOF
14372 if { (eval echo configure:14373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 14397 if { (eval echo configure:14398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
14373 then 14398 then
14374 : 14399 :
14375 else 14400 else
14376 conftest_rc="$?" 14401 conftest_rc="$?"
14377 echo "configure: failed program was:" >&5 14402 echo "configure: failed program was:" >&5