Mercurial > hg > xemacs-beta
comparison configure @ 1651:d3af5b868526
[xemacs-hg @ 2003-08-28 15:45:20 by james]
The usual second commit for the toplevel due to unknown brain damage.
author | james |
---|---|
date | Thu, 28 Aug 2003 15:45:30 +0000 |
parents | baca156a450b |
children | 6265c9c31f53 |
comparison
equal
deleted
inserted
replaced
1650:34abfb24e891 | 1651:d3af5b868526 |
---|---|
7571 | 7571 |
7572 | 7572 |
7573 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" | 7573 test -n "$xemacs_compiler" && XEMACS_CC="$xemacs_compiler" |
7574 : ${XEMACS_CC:="$CC"} | 7574 : ${XEMACS_CC:="$CC"} |
7575 | 7575 |
7576 if test "$xemacs_compiler" = "g++"; then | |
7577 LIBSTDCPP=-lstdc++ | |
7578 else | |
7579 LIBSTDCPP= | |
7580 fi | |
7581 | |
7582 | |
7576 if test "$with_modules" != "no"; then | 7583 if test "$with_modules" != "no"; then |
7577 echo "checking for module support" 1>&6 | 7584 echo "checking for module support" 1>&6 |
7578 echo "configure:7579: checking for module support" >&5 | 7585 echo "configure:7586: checking for module support" >&5 |
7579 | 7586 |
7580 if test "$with_msw" = "yes"; then | 7587 if test "$with_msw" = "yes"; then |
7581 have_dl=yes; | 7588 have_dl=yes; |
7582 else | 7589 else |
7583 case "$opsys" in | 7590 case "$opsys" in |
7590 } | 7597 } |
7591 ;; | 7598 ;; |
7592 * ) | 7599 * ) |
7593 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7600 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7594 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7601 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7595 echo "configure:7596: checking for dlfcn.h" >&5 | 7602 echo "configure:7603: checking for dlfcn.h" >&5 |
7596 | 7603 |
7597 cat > conftest.$ac_ext <<EOF | 7604 cat > conftest.$ac_ext <<EOF |
7598 #line 7599 "configure" | 7605 #line 7606 "configure" |
7599 #include "confdefs.h" | 7606 #include "confdefs.h" |
7600 #include <dlfcn.h> | 7607 #include <dlfcn.h> |
7601 EOF | 7608 EOF |
7602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7609 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7603 { (eval echo configure:7604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7610 { (eval echo configure:7611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7605 if test -z "$ac_err"; then | 7612 if test -z "$ac_err"; then |
7606 rm -rf conftest* | 7613 rm -rf conftest* |
7607 eval "ac_cv_header_$ac_safe=yes" | 7614 eval "ac_cv_header_$ac_safe=yes" |
7608 else | 7615 else |
7615 rm -f conftest* | 7622 rm -f conftest* |
7616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7623 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7617 echo "$ac_t""yes" 1>&6 | 7624 echo "$ac_t""yes" 1>&6 |
7618 | 7625 |
7619 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7626 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7620 echo "configure:7621: checking for dlopen in -lc" >&5 | 7627 echo "configure:7628: checking for dlopen in -lc" >&5 |
7621 cat > conftest.$ac_ext <<EOF | 7628 cat > conftest.$ac_ext <<EOF |
7622 #line 7623 "configure" | 7629 #line 7630 "configure" |
7623 #include "confdefs.h" | 7630 #include "confdefs.h" |
7624 #include <dlfcn.h> | 7631 #include <dlfcn.h> |
7625 int main() { | 7632 int main() { |
7626 dlopen ("", 0); | 7633 dlopen ("", 0); |
7627 ; return 0; } | 7634 ; return 0; } |
7628 EOF | 7635 EOF |
7629 if { (eval echo configure:7630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7636 if { (eval echo configure:7637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7630 rm -rf conftest* | 7637 rm -rf conftest* |
7631 have_dl=yes | 7638 have_dl=yes |
7632 else | 7639 else |
7633 echo "configure: failed program was:" >&5 | 7640 echo "configure: failed program was:" >&5 |
7634 cat conftest.$ac_ext >&5 | 7641 cat conftest.$ac_ext >&5 |
7635 rm -rf conftest* | 7642 rm -rf conftest* |
7636 | 7643 |
7637 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7644 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7638 echo "configure:7639: checking for dlopen in -ldl" >&5 | 7645 echo "configure:7646: checking for dlopen in -ldl" >&5 |
7639 ac_save_LIBS="$LIBS" | 7646 ac_save_LIBS="$LIBS" |
7640 LIBS="-ldl $LIBS" | 7647 LIBS="-ldl $LIBS" |
7641 cat > conftest.$ac_ext <<EOF | 7648 cat > conftest.$ac_ext <<EOF |
7642 #line 7643 "configure" | 7649 #line 7650 "configure" |
7643 #include "confdefs.h" | 7650 #include "confdefs.h" |
7644 #include <dlfcn.h> | 7651 #include <dlfcn.h> |
7645 int main() { | 7652 int main() { |
7646 dlopen ("", 0); | 7653 dlopen ("", 0); |
7647 ; return 0; } | 7654 ; return 0; } |
7648 EOF | 7655 EOF |
7649 if { (eval echo configure:7650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7656 if { (eval echo configure:7657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7650 rm -rf conftest* | 7657 rm -rf conftest* |
7651 have_dl=yes | 7658 have_dl=yes |
7652 else | 7659 else |
7653 echo "configure: failed program was:" >&5 | 7660 echo "configure: failed program was:" >&5 |
7654 cat conftest.$ac_ext >&5 | 7661 cat conftest.$ac_ext >&5 |
7673 } | 7680 } |
7674 | 7681 |
7675 else | 7682 else |
7676 | 7683 |
7677 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 7684 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
7678 echo "configure:7679: checking for shl_load in -ldld" >&5 | 7685 echo "configure:7686: checking for shl_load in -ldld" >&5 |
7679 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 7686 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
7680 | 7687 |
7681 xe_check_libs=" -ldld " | 7688 xe_check_libs=" -ldld " |
7682 cat > conftest.$ac_ext <<EOF | 7689 cat > conftest.$ac_ext <<EOF |
7683 #line 7684 "configure" | 7690 #line 7691 "configure" |
7684 #include "confdefs.h" | 7691 #include "confdefs.h" |
7685 /* Override any gcc2 internal prototype to avoid an error. */ | 7692 /* Override any gcc2 internal prototype to avoid an error. */ |
7686 /* We use char because int might match the return type of a gcc2 | 7693 /* We use char because int might match the return type of a gcc2 |
7687 builtin and then its argument prototype would still apply. */ | 7694 builtin and then its argument prototype would still apply. */ |
7688 char shl_load(); | 7695 char shl_load(); |
7689 | 7696 |
7690 int main() { | 7697 int main() { |
7691 shl_load() | 7698 shl_load() |
7692 ; return 0; } | 7699 ; return 0; } |
7693 EOF | 7700 EOF |
7694 if { (eval echo configure:7695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7701 if { (eval echo configure:7702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7695 rm -rf conftest* | 7702 rm -rf conftest* |
7696 eval "ac_cv_lib_$ac_lib_var=yes" | 7703 eval "ac_cv_lib_$ac_lib_var=yes" |
7697 else | 7704 else |
7698 echo "configure: failed program was:" >&5 | 7705 echo "configure: failed program was:" >&5 |
7699 cat conftest.$ac_ext >&5 | 7706 cat conftest.$ac_ext >&5 |
7716 | 7723 |
7717 else | 7724 else |
7718 echo "$ac_t""no" 1>&6 | 7725 echo "$ac_t""no" 1>&6 |
7719 | 7726 |
7720 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 7727 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
7721 echo "configure:7722: checking for dld_init in -ldld" >&5 | 7728 echo "configure:7729: checking for dld_init in -ldld" >&5 |
7722 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 7729 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
7723 | 7730 |
7724 xe_check_libs=" -ldld " | 7731 xe_check_libs=" -ldld " |
7725 cat > conftest.$ac_ext <<EOF | 7732 cat > conftest.$ac_ext <<EOF |
7726 #line 7727 "configure" | 7733 #line 7734 "configure" |
7727 #include "confdefs.h" | 7734 #include "confdefs.h" |
7728 /* Override any gcc2 internal prototype to avoid an error. */ | 7735 /* Override any gcc2 internal prototype to avoid an error. */ |
7729 /* We use char because int might match the return type of a gcc2 | 7736 /* We use char because int might match the return type of a gcc2 |
7730 builtin and then its argument prototype would still apply. */ | 7737 builtin and then its argument prototype would still apply. */ |
7731 char dld_init(); | 7738 char dld_init(); |
7732 | 7739 |
7733 int main() { | 7740 int main() { |
7734 dld_init() | 7741 dld_init() |
7735 ; return 0; } | 7742 ; return 0; } |
7736 EOF | 7743 EOF |
7737 if { (eval echo configure:7738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7744 if { (eval echo configure:7745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7738 rm -rf conftest* | 7745 rm -rf conftest* |
7739 eval "ac_cv_lib_$ac_lib_var=yes" | 7746 eval "ac_cv_lib_$ac_lib_var=yes" |
7740 else | 7747 else |
7741 echo "configure: failed program was:" >&5 | 7748 echo "configure: failed program was:" >&5 |
7742 cat conftest.$ac_ext >&5 | 7749 cat conftest.$ac_ext >&5 |
7777 ld_dynamic_link_flags= | 7784 ld_dynamic_link_flags= |
7778 xehost=$canonical | 7785 xehost=$canonical |
7779 xealias=$internal_configuration | 7786 xealias=$internal_configuration |
7780 | 7787 |
7781 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7788 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7782 echo "configure:7783: checking how to build dynamic libraries for ${xehost}" >&5 | 7789 echo "configure:7790: checking how to build dynamic libraries for ${xehost}" >&5 |
7783 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7790 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7784 case "$xehost" in | 7791 case "$xehost" in |
7785 *-*-linux-gnu*) ;; | 7792 *-*-linux-gnu*) ;; |
7786 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7793 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7787 esac | 7794 esac |
7805 # Now see if the compiler is really GCC. | 7812 # Now see if the compiler is really GCC. |
7806 if test "$GCC" = "yes"; then | 7813 if test "$GCC" = "yes"; then |
7807 XEGCC=yes | 7814 XEGCC=yes |
7808 else | 7815 else |
7809 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7816 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7810 echo "configure:7811: checking checking whether we are using GNU C" >&5 | 7817 echo "configure:7818: checking checking whether we are using GNU C" >&5 |
7811 cat > conftest.$ac_ext <<EOF | 7818 cat > conftest.$ac_ext <<EOF |
7812 #line 7813 "configure" | 7819 #line 7820 "configure" |
7813 #include "confdefs.h" | 7820 #include "confdefs.h" |
7814 | 7821 |
7815 #ifdef __GNUC__ | 7822 #ifdef __GNUC__ |
7816 yes; | 7823 yes; |
7817 #endif | 7824 #endif |
7829 | 7836 |
7830 echo "$ac_t""${XEGCC}" 1>&6 | 7837 echo "$ac_t""${XEGCC}" 1>&6 |
7831 fi | 7838 fi |
7832 | 7839 |
7833 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7840 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7834 echo "configure:7835: checking how to produce PIC code" >&5 | 7841 echo "configure:7842: checking how to produce PIC code" >&5 |
7835 wl= | 7842 wl= |
7836 | 7843 |
7837 can_build_shared=yes | 7844 can_build_shared=yes |
7838 if test "$XEGCC" = yes; then | 7845 if test "$XEGCC" = yes; then |
7839 wl='-Wl,' | 7846 wl='-Wl,' |
7930 if test -n "$dll_cflags"; then | 7937 if test -n "$dll_cflags"; then |
7931 echo "$ac_t""${dll_cflags}" 1>&6 | 7938 echo "$ac_t""${dll_cflags}" 1>&6 |
7932 | 7939 |
7933 # Check to make sure the dll_cflags actually works. | 7940 # Check to make sure the dll_cflags actually works. |
7934 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 7941 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7935 echo "configure:7936: checking if PIC flag ${dll_cflags} really works" >&5 | 7942 echo "configure:7943: checking if PIC flag ${dll_cflags} really works" >&5 |
7936 save_CFLAGS="$CFLAGS" | 7943 save_CFLAGS="$CFLAGS" |
7937 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 7944 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7938 cat > conftest.$ac_ext <<EOF | 7945 cat > conftest.$ac_ext <<EOF |
7939 #line 7940 "configure" | 7946 #line 7947 "configure" |
7940 #include "confdefs.h" | 7947 #include "confdefs.h" |
7941 | 7948 |
7942 int main() { | 7949 int main() { |
7943 int x=0; | 7950 int x=0; |
7944 ; return 0; } | 7951 ; return 0; } |
7945 EOF | 7952 EOF |
7946 if { (eval echo configure:7947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7953 if { (eval echo configure:7954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7947 rm -rf conftest* | 7954 rm -rf conftest* |
7948 | 7955 |
7949 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 7956 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7950 # reports no error. So, we need to grep stderr for (Bundled). | 7957 # reports no error. So, we need to grep stderr for (Bundled). |
7951 if grep '(Bundled)' config.log >/dev/null; then | 7958 if grep '(Bundled)' config.log >/dev/null; then |
7972 if test "$can_build_shared" = "yes"; then | 7979 if test "$can_build_shared" = "yes"; then |
7973 cc_produces_so=no | 7980 cc_produces_so=no |
7974 xldf= | 7981 xldf= |
7975 xcldf= | 7982 xcldf= |
7976 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 7983 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
7977 echo "configure:7978: checking if C compiler can produce shared libraries" >&5 | 7984 echo "configure:7985: checking if C compiler can produce shared libraries" >&5 |
7978 if test "$XEGCC" = yes; then | 7985 if test "$XEGCC" = yes; then |
7979 xcldf="-shared" | 7986 xcldf="-shared" |
7980 xldf="-shared" | 7987 xldf="-shared" |
7981 else # Not using GCC | 7988 else # Not using GCC |
7982 case "$xehost_os" in | 7989 case "$xehost_os" in |
8023 LDFLAGS="$xcldf $LDFLAGS" | 8030 LDFLAGS="$xcldf $LDFLAGS" |
8024 LIBS= | 8031 LIBS= |
8025 xe_libs= | 8032 xe_libs= |
8026 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8033 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8027 cat > conftest.$ac_ext <<EOF | 8034 cat > conftest.$ac_ext <<EOF |
8028 #line 8029 "configure" | 8035 #line 8036 "configure" |
8029 #include "confdefs.h" | 8036 #include "confdefs.h" |
8030 | 8037 |
8031 int main() { | 8038 int main() { |
8032 int x=0; | 8039 int x=0; |
8033 ; return 0; } | 8040 ; return 0; } |
8034 EOF | 8041 EOF |
8035 if { (eval echo configure:8036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8042 if { (eval echo configure:8043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8036 rm -rf conftest* | 8043 rm -rf conftest* |
8037 cc_produces_so=yes | 8044 cc_produces_so=yes |
8038 else | 8045 else |
8039 echo "configure: failed program was:" >&5 | 8046 echo "configure: failed program was:" >&5 |
8040 cat conftest.$ac_ext >&5 | 8047 cat conftest.$ac_ext >&5 |
8055 if test -z "$LTLD"; then | 8062 if test -z "$LTLD"; then |
8056 ac_prog=ld | 8063 ac_prog=ld |
8057 if test "$XEGCC" = yes; then | 8064 if test "$XEGCC" = yes; then |
8058 # Check if gcc -print-prog-name=ld gives a path. | 8065 # Check if gcc -print-prog-name=ld gives a path. |
8059 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8066 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8060 echo "configure:8061: checking for ld used by GCC" >&5 | 8067 echo "configure:8068: checking for ld used by GCC" >&5 |
8061 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8068 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8062 case "$ac_prog" in | 8069 case "$ac_prog" in |
8063 # Accept absolute paths. | 8070 # Accept absolute paths. |
8064 /*) | 8071 /*) |
8065 if test -z "$LTLD"; then | 8072 if test -z "$LTLD"; then |
8081 with_gnu_ld=unknown | 8088 with_gnu_ld=unknown |
8082 ;; | 8089 ;; |
8083 esac | 8090 esac |
8084 else | 8091 else |
8085 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8092 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8086 echo "configure:8087: checking for GNU ld" >&5 | 8093 echo "configure:8094: checking for GNU ld" >&5 |
8087 fi | 8094 fi |
8088 | 8095 |
8089 if test -z "$LTLD"; then | 8096 if test -z "$LTLD"; then |
8090 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8097 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8091 for ac_dir in $PATH; do | 8098 for ac_dir in $PATH; do |
8119 | 8126 |
8120 ld_dynamic_link_flags= | 8127 ld_dynamic_link_flags= |
8121 | 8128 |
8122 # Check to see if it really is or isn't GNU ld. | 8129 # Check to see if it really is or isn't GNU ld. |
8123 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8130 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8124 echo "configure:8125: checking if the linker is GNU ld" >&5 | 8131 echo "configure:8132: checking if the linker is GNU ld" >&5 |
8125 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8132 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8126 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8133 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8127 xe_gnu_ld=yes | 8134 xe_gnu_ld=yes |
8128 else | 8135 else |
8129 xe_gnu_ld=no | 8136 xe_gnu_ld=no |
8147 ld_shlibs=yes | 8154 ld_shlibs=yes |
8148 else | 8155 else |
8149 # OK - only NOW do we futz about with ld. | 8156 # OK - only NOW do we futz about with ld. |
8150 # See if the linker supports building shared libraries. | 8157 # See if the linker supports building shared libraries. |
8151 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8158 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8152 echo "configure:8153: checking whether the linker supports shared libraries" >&5 | 8159 echo "configure:8160: checking whether the linker supports shared libraries" >&5 |
8153 dll_ld=$CC | 8160 dll_ld=$CC |
8154 dll_ldflags=$LDFLAGS | 8161 dll_ldflags=$LDFLAGS |
8155 ld_shlibs=yes | 8162 ld_shlibs=yes |
8156 can_build_shared=yes | 8163 can_build_shared=yes |
8157 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8164 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8356 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8363 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8357 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8364 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8358 for ac_func in dlerror _dlerror | 8365 for ac_func in dlerror _dlerror |
8359 do | 8366 do |
8360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8367 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8361 echo "configure:8362: checking for $ac_func" >&5 | 8368 echo "configure:8369: checking for $ac_func" >&5 |
8362 | 8369 |
8363 cat > conftest.$ac_ext <<EOF | 8370 cat > conftest.$ac_ext <<EOF |
8364 #line 8365 "configure" | 8371 #line 8372 "configure" |
8365 #include "confdefs.h" | 8372 #include "confdefs.h" |
8366 /* System header to define __stub macros and hopefully few prototypes, | 8373 /* System header to define __stub macros and hopefully few prototypes, |
8367 which can conflict with char $ac_func(); below. */ | 8374 which can conflict with char $ac_func(); below. */ |
8368 #include <assert.h> | 8375 #include <assert.h> |
8369 /* Override any gcc2 internal prototype to avoid an error. */ | 8376 /* Override any gcc2 internal prototype to avoid an error. */ |
8382 $ac_func(); | 8389 $ac_func(); |
8383 #endif | 8390 #endif |
8384 | 8391 |
8385 ; return 0; } | 8392 ; return 0; } |
8386 EOF | 8393 EOF |
8387 if { (eval echo configure:8388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8394 if { (eval echo configure:8395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8388 rm -rf conftest* | 8395 rm -rf conftest* |
8389 eval "ac_cv_func_$ac_func=yes" | 8396 eval "ac_cv_func_$ac_func=yes" |
8390 else | 8397 else |
8391 echo "configure: failed program was:" >&5 | 8398 echo "configure: failed program was:" >&5 |
8392 cat conftest.$ac_ext >&5 | 8399 cat conftest.$ac_ext >&5 |
8446 | 8453 |
8447 if test "$with_tooltalk" != "no" ; then | 8454 if test "$with_tooltalk" != "no" ; then |
8448 for dir in "" "Tt/" "desktop/" ; do | 8455 for dir in "" "Tt/" "desktop/" ; do |
8449 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8456 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8450 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8457 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8451 echo "configure:8452: checking for ${dir}tt_c.h" >&5 | 8458 echo "configure:8459: checking for ${dir}tt_c.h" >&5 |
8452 | 8459 |
8453 cat > conftest.$ac_ext <<EOF | 8460 cat > conftest.$ac_ext <<EOF |
8454 #line 8455 "configure" | 8461 #line 8462 "configure" |
8455 #include "confdefs.h" | 8462 #include "confdefs.h" |
8456 #include <${dir}tt_c.h> | 8463 #include <${dir}tt_c.h> |
8457 EOF | 8464 EOF |
8458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8465 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8459 { (eval echo configure:8460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8466 { (eval echo configure:8467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8467 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8461 if test -z "$ac_err"; then | 8468 if test -z "$ac_err"; then |
8462 rm -rf conftest* | 8469 rm -rf conftest* |
8463 eval "ac_cv_header_$ac_safe=yes" | 8470 eval "ac_cv_header_$ac_safe=yes" |
8464 else | 8471 else |
8490 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8497 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8491 | 8498 |
8492 xe_msg_checking="for tt_message_create in -ltt" | 8499 xe_msg_checking="for tt_message_create in -ltt" |
8493 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8500 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8494 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8501 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8495 echo "configure:8496: checking "$xe_msg_checking"" >&5 | 8502 echo "configure:8503: checking "$xe_msg_checking"" >&5 |
8496 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8503 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8497 | 8504 |
8498 xe_check_libs=" -ltt $extra_libs" | 8505 xe_check_libs=" -ltt $extra_libs" |
8499 cat > conftest.$ac_ext <<EOF | 8506 cat > conftest.$ac_ext <<EOF |
8500 #line 8501 "configure" | 8507 #line 8508 "configure" |
8501 #include "confdefs.h" | 8508 #include "confdefs.h" |
8502 /* Override any gcc2 internal prototype to avoid an error. */ | 8509 /* Override any gcc2 internal prototype to avoid an error. */ |
8503 /* We use char because int might match the return type of a gcc2 | 8510 /* We use char because int might match the return type of a gcc2 |
8504 builtin and then its argument prototype would still apply. */ | 8511 builtin and then its argument prototype would still apply. */ |
8505 char tt_message_create(); | 8512 char tt_message_create(); |
8506 | 8513 |
8507 int main() { | 8514 int main() { |
8508 tt_message_create() | 8515 tt_message_create() |
8509 ; return 0; } | 8516 ; return 0; } |
8510 EOF | 8517 EOF |
8511 if { (eval echo configure:8512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8518 if { (eval echo configure:8519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8512 rm -rf conftest* | 8519 rm -rf conftest* |
8513 eval "ac_cv_lib_$ac_lib_var=yes" | 8520 eval "ac_cv_lib_$ac_lib_var=yes" |
8514 else | 8521 else |
8515 echo "configure: failed program was:" >&5 | 8522 echo "configure: failed program was:" >&5 |
8516 cat conftest.$ac_ext >&5 | 8523 cat conftest.$ac_ext >&5 |
8560 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8567 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8561 fi | 8568 fi |
8562 | 8569 |
8563 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8570 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8564 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8571 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8565 echo "configure:8566: checking for Dt/Dt.h" >&5 | 8572 echo "configure:8573: checking for Dt/Dt.h" >&5 |
8566 | 8573 |
8567 cat > conftest.$ac_ext <<EOF | 8574 cat > conftest.$ac_ext <<EOF |
8568 #line 8569 "configure" | 8575 #line 8576 "configure" |
8569 #include "confdefs.h" | 8576 #include "confdefs.h" |
8570 #include <Dt/Dt.h> | 8577 #include <Dt/Dt.h> |
8571 EOF | 8578 EOF |
8572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8579 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8573 { (eval echo configure:8574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8580 { (eval echo configure:8581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8574 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8581 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8575 if test -z "$ac_err"; then | 8582 if test -z "$ac_err"; then |
8576 rm -rf conftest* | 8583 rm -rf conftest* |
8577 eval "ac_cv_header_$ac_safe=yes" | 8584 eval "ac_cv_header_$ac_safe=yes" |
8578 else | 8585 else |
8591 with_cde=no | 8598 with_cde=no |
8592 fi | 8599 fi |
8593 } | 8600 } |
8594 test -z "$with_cde" && { | 8601 test -z "$with_cde" && { |
8595 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8602 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8596 echo "configure:8597: checking for DtDndDragStart in -lDtSvc" >&5 | 8603 echo "configure:8604: checking for DtDndDragStart in -lDtSvc" >&5 |
8597 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8604 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8598 | 8605 |
8599 xe_check_libs=" -lDtSvc " | 8606 xe_check_libs=" -lDtSvc " |
8600 cat > conftest.$ac_ext <<EOF | 8607 cat > conftest.$ac_ext <<EOF |
8601 #line 8602 "configure" | 8608 #line 8609 "configure" |
8602 #include "confdefs.h" | 8609 #include "confdefs.h" |
8603 /* Override any gcc2 internal prototype to avoid an error. */ | 8610 /* Override any gcc2 internal prototype to avoid an error. */ |
8604 /* We use char because int might match the return type of a gcc2 | 8611 /* We use char because int might match the return type of a gcc2 |
8605 builtin and then its argument prototype would still apply. */ | 8612 builtin and then its argument prototype would still apply. */ |
8606 char DtDndDragStart(); | 8613 char DtDndDragStart(); |
8607 | 8614 |
8608 int main() { | 8615 int main() { |
8609 DtDndDragStart() | 8616 DtDndDragStart() |
8610 ; return 0; } | 8617 ; return 0; } |
8611 EOF | 8618 EOF |
8612 if { (eval echo configure:8613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8619 if { (eval echo configure:8620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8613 rm -rf conftest* | 8620 rm -rf conftest* |
8614 eval "ac_cv_lib_$ac_lib_var=yes" | 8621 eval "ac_cv_lib_$ac_lib_var=yes" |
8615 else | 8622 else |
8616 echo "configure: failed program was:" >&5 | 8623 echo "configure: failed program was:" >&5 |
8617 cat conftest.$ac_ext >&5 | 8624 cat conftest.$ac_ext >&5 |
8688 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8695 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8689 fi | 8696 fi |
8690 | 8697 |
8691 if test "$with_dragndrop" != "no" ; then | 8698 if test "$with_dragndrop" != "no" ; then |
8692 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8699 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8693 echo "configure:8694: checking if drag and drop API is needed" >&5 | 8700 echo "configure:8701: checking if drag and drop API is needed" >&5 |
8694 if test -n "$dragndrop_proto" ; then | 8701 if test -n "$dragndrop_proto" ; then |
8695 with_dragndrop=yes | 8702 with_dragndrop=yes |
8696 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8703 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8697 { test "$extra_verbose" = "yes" && cat << \EOF | 8704 { test "$extra_verbose" = "yes" && cat << \EOF |
8698 Defining HAVE_DRAGNDROP | 8705 Defining HAVE_DRAGNDROP |
8708 echo "$ac_t""no" 1>&6 | 8715 echo "$ac_t""no" 1>&6 |
8709 fi | 8716 fi |
8710 fi | 8717 fi |
8711 | 8718 |
8712 echo "checking for LDAP" 1>&6 | 8719 echo "checking for LDAP" 1>&6 |
8713 echo "configure:8714: checking for LDAP" >&5 | 8720 echo "configure:8721: checking for LDAP" >&5 |
8714 ldap_libs= | 8721 ldap_libs= |
8715 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8722 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8716 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8723 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8717 echo "configure:8718: checking for ldap.h" >&5 | 8724 echo "configure:8725: checking for ldap.h" >&5 |
8718 | 8725 |
8719 cat > conftest.$ac_ext <<EOF | 8726 cat > conftest.$ac_ext <<EOF |
8720 #line 8721 "configure" | 8727 #line 8728 "configure" |
8721 #include "confdefs.h" | 8728 #include "confdefs.h" |
8722 #include <ldap.h> | 8729 #include <ldap.h> |
8723 EOF | 8730 EOF |
8724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8731 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8725 { (eval echo configure:8726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8732 { (eval echo configure:8733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8727 if test -z "$ac_err"; then | 8734 if test -z "$ac_err"; then |
8728 rm -rf conftest* | 8735 rm -rf conftest* |
8729 eval "ac_cv_header_$ac_safe=yes" | 8736 eval "ac_cv_header_$ac_safe=yes" |
8730 else | 8737 else |
8743 with_ldap=no | 8750 with_ldap=no |
8744 fi | 8751 fi |
8745 } | 8752 } |
8746 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8753 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8747 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8754 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8748 echo "configure:8749: checking for lber.h" >&5 | 8755 echo "configure:8756: checking for lber.h" >&5 |
8749 | 8756 |
8750 cat > conftest.$ac_ext <<EOF | 8757 cat > conftest.$ac_ext <<EOF |
8751 #line 8752 "configure" | 8758 #line 8759 "configure" |
8752 #include "confdefs.h" | 8759 #include "confdefs.h" |
8753 #include <lber.h> | 8760 #include <lber.h> |
8754 EOF | 8761 EOF |
8755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8756 { (eval echo configure:8757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8763 { (eval echo configure:8764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8758 if test -z "$ac_err"; then | 8765 if test -z "$ac_err"; then |
8759 rm -rf conftest* | 8766 rm -rf conftest* |
8760 eval "ac_cv_header_$ac_safe=yes" | 8767 eval "ac_cv_header_$ac_safe=yes" |
8761 else | 8768 else |
8775 fi | 8782 fi |
8776 } | 8783 } |
8777 if test "$with_ldap" != "no"; then | 8784 if test "$with_ldap" != "no"; then |
8778 | 8785 |
8779 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8786 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8780 echo "configure:8781: checking for ldap_search in -lldap" >&5 | 8787 echo "configure:8788: checking for ldap_search in -lldap" >&5 |
8781 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8788 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8782 | 8789 |
8783 xe_check_libs=" -lldap " | 8790 xe_check_libs=" -lldap " |
8784 cat > conftest.$ac_ext <<EOF | 8791 cat > conftest.$ac_ext <<EOF |
8785 #line 8786 "configure" | 8792 #line 8793 "configure" |
8786 #include "confdefs.h" | 8793 #include "confdefs.h" |
8787 /* Override any gcc2 internal prototype to avoid an error. */ | 8794 /* Override any gcc2 internal prototype to avoid an error. */ |
8788 /* We use char because int might match the return type of a gcc2 | 8795 /* We use char because int might match the return type of a gcc2 |
8789 builtin and then its argument prototype would still apply. */ | 8796 builtin and then its argument prototype would still apply. */ |
8790 char ldap_search(); | 8797 char ldap_search(); |
8791 | 8798 |
8792 int main() { | 8799 int main() { |
8793 ldap_search() | 8800 ldap_search() |
8794 ; return 0; } | 8801 ; return 0; } |
8795 EOF | 8802 EOF |
8796 if { (eval echo configure:8797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8803 if { (eval echo configure:8804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8797 rm -rf conftest* | 8804 rm -rf conftest* |
8798 eval "ac_cv_lib_$ac_lib_var=yes" | 8805 eval "ac_cv_lib_$ac_lib_var=yes" |
8799 else | 8806 else |
8800 echo "configure: failed program was:" >&5 | 8807 echo "configure: failed program was:" >&5 |
8801 cat conftest.$ac_ext >&5 | 8808 cat conftest.$ac_ext >&5 |
8816 | 8823 |
8817 test "$with_ldap_nolber" = "no" && { | 8824 test "$with_ldap_nolber" = "no" && { |
8818 xe_msg_checking="for ldap_open in -lldap" | 8825 xe_msg_checking="for ldap_open in -lldap" |
8819 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8826 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8820 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8827 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8821 echo "configure:8822: checking "$xe_msg_checking"" >&5 | 8828 echo "configure:8829: checking "$xe_msg_checking"" >&5 |
8822 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8829 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8823 | 8830 |
8824 xe_check_libs=" -lldap -llber" | 8831 xe_check_libs=" -lldap -llber" |
8825 cat > conftest.$ac_ext <<EOF | 8832 cat > conftest.$ac_ext <<EOF |
8826 #line 8827 "configure" | 8833 #line 8834 "configure" |
8827 #include "confdefs.h" | 8834 #include "confdefs.h" |
8828 /* Override any gcc2 internal prototype to avoid an error. */ | 8835 /* Override any gcc2 internal prototype to avoid an error. */ |
8829 /* We use char because int might match the return type of a gcc2 | 8836 /* We use char because int might match the return type of a gcc2 |
8830 builtin and then its argument prototype would still apply. */ | 8837 builtin and then its argument prototype would still apply. */ |
8831 char ldap_open(); | 8838 char ldap_open(); |
8832 | 8839 |
8833 int main() { | 8840 int main() { |
8834 ldap_open() | 8841 ldap_open() |
8835 ; return 0; } | 8842 ; return 0; } |
8836 EOF | 8843 EOF |
8837 if { (eval echo configure:8838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8844 if { (eval echo configure:8845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8838 rm -rf conftest* | 8845 rm -rf conftest* |
8839 eval "ac_cv_lib_$ac_lib_var=yes" | 8846 eval "ac_cv_lib_$ac_lib_var=yes" |
8840 else | 8847 else |
8841 echo "configure: failed program was:" >&5 | 8848 echo "configure: failed program was:" >&5 |
8842 cat conftest.$ac_ext >&5 | 8849 cat conftest.$ac_ext >&5 |
8857 } | 8864 } |
8858 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8865 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8859 xe_msg_checking="for ldap_open in -lldap" | 8866 xe_msg_checking="for ldap_open in -lldap" |
8860 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8867 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8861 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8868 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8862 echo "configure:8863: checking "$xe_msg_checking"" >&5 | 8869 echo "configure:8870: checking "$xe_msg_checking"" >&5 |
8863 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8870 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8864 | 8871 |
8865 xe_check_libs=" -lldap -llber -lkrb" | 8872 xe_check_libs=" -lldap -llber -lkrb" |
8866 cat > conftest.$ac_ext <<EOF | 8873 cat > conftest.$ac_ext <<EOF |
8867 #line 8868 "configure" | 8874 #line 8875 "configure" |
8868 #include "confdefs.h" | 8875 #include "confdefs.h" |
8869 /* Override any gcc2 internal prototype to avoid an error. */ | 8876 /* Override any gcc2 internal prototype to avoid an error. */ |
8870 /* We use char because int might match the return type of a gcc2 | 8877 /* We use char because int might match the return type of a gcc2 |
8871 builtin and then its argument prototype would still apply. */ | 8878 builtin and then its argument prototype would still apply. */ |
8872 char ldap_open(); | 8879 char ldap_open(); |
8873 | 8880 |
8874 int main() { | 8881 int main() { |
8875 ldap_open() | 8882 ldap_open() |
8876 ; return 0; } | 8883 ; return 0; } |
8877 EOF | 8884 EOF |
8878 if { (eval echo configure:8879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8885 if { (eval echo configure:8886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8879 rm -rf conftest* | 8886 rm -rf conftest* |
8880 eval "ac_cv_lib_$ac_lib_var=yes" | 8887 eval "ac_cv_lib_$ac_lib_var=yes" |
8881 else | 8888 else |
8882 echo "configure: failed program was:" >&5 | 8889 echo "configure: failed program was:" >&5 |
8883 cat conftest.$ac_ext >&5 | 8890 cat conftest.$ac_ext >&5 |
8898 } | 8905 } |
8899 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8906 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8900 xe_msg_checking="for ldap_open in -lldap" | 8907 xe_msg_checking="for ldap_open in -lldap" |
8901 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8908 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8902 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8909 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8903 echo "configure:8904: checking "$xe_msg_checking"" >&5 | 8910 echo "configure:8911: checking "$xe_msg_checking"" >&5 |
8904 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8911 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8905 | 8912 |
8906 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8913 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8907 cat > conftest.$ac_ext <<EOF | 8914 cat > conftest.$ac_ext <<EOF |
8908 #line 8909 "configure" | 8915 #line 8916 "configure" |
8909 #include "confdefs.h" | 8916 #include "confdefs.h" |
8910 /* Override any gcc2 internal prototype to avoid an error. */ | 8917 /* Override any gcc2 internal prototype to avoid an error. */ |
8911 /* We use char because int might match the return type of a gcc2 | 8918 /* We use char because int might match the return type of a gcc2 |
8912 builtin and then its argument prototype would still apply. */ | 8919 builtin and then its argument prototype would still apply. */ |
8913 char ldap_open(); | 8920 char ldap_open(); |
8914 | 8921 |
8915 int main() { | 8922 int main() { |
8916 ldap_open() | 8923 ldap_open() |
8917 ; return 0; } | 8924 ; return 0; } |
8918 EOF | 8925 EOF |
8919 if { (eval echo configure:8920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8926 if { (eval echo configure:8927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8920 rm -rf conftest* | 8927 rm -rf conftest* |
8921 eval "ac_cv_lib_$ac_lib_var=yes" | 8928 eval "ac_cv_lib_$ac_lib_var=yes" |
8922 else | 8929 else |
8923 echo "configure: failed program was:" >&5 | 8930 echo "configure: failed program was:" >&5 |
8924 cat conftest.$ac_ext >&5 | 8931 cat conftest.$ac_ext >&5 |
8963 fi | 8970 fi |
8964 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8971 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
8965 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8972 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
8966 do | 8973 do |
8967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8968 echo "configure:8969: checking for $ac_func" >&5 | 8975 echo "configure:8976: checking for $ac_func" >&5 |
8969 | 8976 |
8970 cat > conftest.$ac_ext <<EOF | 8977 cat > conftest.$ac_ext <<EOF |
8971 #line 8972 "configure" | 8978 #line 8979 "configure" |
8972 #include "confdefs.h" | 8979 #include "confdefs.h" |
8973 /* System header to define __stub macros and hopefully few prototypes, | 8980 /* System header to define __stub macros and hopefully few prototypes, |
8974 which can conflict with char $ac_func(); below. */ | 8981 which can conflict with char $ac_func(); below. */ |
8975 #include <assert.h> | 8982 #include <assert.h> |
8976 /* Override any gcc2 internal prototype to avoid an error. */ | 8983 /* Override any gcc2 internal prototype to avoid an error. */ |
8989 $ac_func(); | 8996 $ac_func(); |
8990 #endif | 8997 #endif |
8991 | 8998 |
8992 ; return 0; } | 8999 ; return 0; } |
8993 EOF | 9000 EOF |
8994 if { (eval echo configure:8995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9001 if { (eval echo configure:9002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8995 rm -rf conftest* | 9002 rm -rf conftest* |
8996 eval "ac_cv_func_$ac_func=yes" | 9003 eval "ac_cv_func_$ac_func=yes" |
8997 else | 9004 else |
8998 echo "configure: failed program was:" >&5 | 9005 echo "configure: failed program was:" >&5 |
8999 cat conftest.$ac_ext >&5 | 9006 cat conftest.$ac_ext >&5 |
9028 | 9035 |
9029 | 9036 |
9030 postgresql_libs= | 9037 postgresql_libs= |
9031 if test "$with_postgresql" != "no"; then | 9038 if test "$with_postgresql" != "no"; then |
9032 echo "checking for PostgreSQL" 1>&6 | 9039 echo "checking for PostgreSQL" 1>&6 |
9033 echo "configure:9034: checking for PostgreSQL" >&5 | 9040 echo "configure:9041: checking for PostgreSQL" >&5 |
9034 | 9041 |
9035 for header_dir in "" "pgsql/" "postgresql/"; do | 9042 for header_dir in "" "pgsql/" "postgresql/"; do |
9036 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9043 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9037 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9044 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9038 echo "configure:9039: checking for ${header_dir}libpq-fe.h" >&5 | 9045 echo "configure:9046: checking for ${header_dir}libpq-fe.h" >&5 |
9039 | 9046 |
9040 cat > conftest.$ac_ext <<EOF | 9047 cat > conftest.$ac_ext <<EOF |
9041 #line 9042 "configure" | 9048 #line 9049 "configure" |
9042 #include "confdefs.h" | 9049 #include "confdefs.h" |
9043 #include <${header_dir}libpq-fe.h> | 9050 #include <${header_dir}libpq-fe.h> |
9044 EOF | 9051 EOF |
9045 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9052 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9046 { (eval echo configure:9047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9053 { (eval echo configure:9054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9047 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9054 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9048 if test -z "$ac_err"; then | 9055 if test -z "$ac_err"; then |
9049 rm -rf conftest* | 9056 rm -rf conftest* |
9050 eval "ac_cv_header_$ac_safe=yes" | 9057 eval "ac_cv_header_$ac_safe=yes" |
9051 else | 9058 else |
9065 | 9072 |
9066 done | 9073 done |
9067 | 9074 |
9068 test -n "$libpq_fe_h_file" && { | 9075 test -n "$libpq_fe_h_file" && { |
9069 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9076 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9070 echo "configure:9071: checking for PQconnectdb in -lpq" >&5 | 9077 echo "configure:9078: checking for PQconnectdb in -lpq" >&5 |
9071 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9078 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9072 | 9079 |
9073 xe_check_libs=" -lpq " | 9080 xe_check_libs=" -lpq " |
9074 cat > conftest.$ac_ext <<EOF | 9081 cat > conftest.$ac_ext <<EOF |
9075 #line 9076 "configure" | 9082 #line 9083 "configure" |
9076 #include "confdefs.h" | 9083 #include "confdefs.h" |
9077 /* Override any gcc2 internal prototype to avoid an error. */ | 9084 /* Override any gcc2 internal prototype to avoid an error. */ |
9078 /* We use char because int might match the return type of a gcc2 | 9085 /* We use char because int might match the return type of a gcc2 |
9079 builtin and then its argument prototype would still apply. */ | 9086 builtin and then its argument prototype would still apply. */ |
9080 char PQconnectdb(); | 9087 char PQconnectdb(); |
9081 | 9088 |
9082 int main() { | 9089 int main() { |
9083 PQconnectdb() | 9090 PQconnectdb() |
9084 ; return 0; } | 9091 ; return 0; } |
9085 EOF | 9092 EOF |
9086 if { (eval echo configure:9087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9093 if { (eval echo configure:9094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9087 rm -rf conftest* | 9094 rm -rf conftest* |
9088 eval "ac_cv_lib_$ac_lib_var=yes" | 9095 eval "ac_cv_lib_$ac_lib_var=yes" |
9089 else | 9096 else |
9090 echo "configure: failed program was:" >&5 | 9097 echo "configure: failed program was:" >&5 |
9091 cat conftest.$ac_ext >&5 | 9098 cat conftest.$ac_ext >&5 |
9114 EOF | 9121 EOF |
9115 } | 9122 } |
9116 | 9123 |
9117 | 9124 |
9118 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9125 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9119 echo "configure:9120: checking for PQconnectStart in -lpq" >&5 | 9126 echo "configure:9127: checking for PQconnectStart in -lpq" >&5 |
9120 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9127 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9121 | 9128 |
9122 xe_check_libs=" -lpq " | 9129 xe_check_libs=" -lpq " |
9123 cat > conftest.$ac_ext <<EOF | 9130 cat > conftest.$ac_ext <<EOF |
9124 #line 9125 "configure" | 9131 #line 9132 "configure" |
9125 #include "confdefs.h" | 9132 #include "confdefs.h" |
9126 /* Override any gcc2 internal prototype to avoid an error. */ | 9133 /* Override any gcc2 internal prototype to avoid an error. */ |
9127 /* We use char because int might match the return type of a gcc2 | 9134 /* We use char because int might match the return type of a gcc2 |
9128 builtin and then its argument prototype would still apply. */ | 9135 builtin and then its argument prototype would still apply. */ |
9129 char PQconnectStart(); | 9136 char PQconnectStart(); |
9130 | 9137 |
9131 int main() { | 9138 int main() { |
9132 PQconnectStart() | 9139 PQconnectStart() |
9133 ; return 0; } | 9140 ; return 0; } |
9134 EOF | 9141 EOF |
9135 if { (eval echo configure:9136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9142 if { (eval echo configure:9143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9136 rm -rf conftest* | 9143 rm -rf conftest* |
9137 eval "ac_cv_lib_$ac_lib_var=yes" | 9144 eval "ac_cv_lib_$ac_lib_var=yes" |
9138 else | 9145 else |
9139 echo "configure: failed program was:" >&5 | 9146 echo "configure: failed program was:" >&5 |
9140 cat conftest.$ac_ext >&5 | 9147 cat conftest.$ac_ext >&5 |
9181 | 9188 |
9182 | 9189 |
9183 | 9190 |
9184 if test "$window_system" != "none"; then | 9191 if test "$window_system" != "none"; then |
9185 echo "checking for graphics libraries" 1>&6 | 9192 echo "checking for graphics libraries" 1>&6 |
9186 echo "configure:9187: checking for graphics libraries" >&5 | 9193 echo "configure:9194: checking for graphics libraries" >&5 |
9187 | 9194 |
9188 libpath_xpm= | 9195 libpath_xpm= |
9189 incpath_xpm= | 9196 incpath_xpm= |
9190 case "$opsys" in | 9197 case "$opsys" in |
9191 cygwin*) | 9198 cygwin*) |
9207 xpm_problem="" | 9214 xpm_problem="" |
9208 if test -z "$with_xpm"; then | 9215 if test -z "$with_xpm"; then |
9209 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9216 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9210 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9217 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9211 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9218 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9212 echo "configure:9213: checking for Xpm - no older than 3.4f" >&5 | 9219 echo "configure:9220: checking for Xpm - no older than 3.4f" >&5 |
9213 xe_check_libs=-lXpm | 9220 xe_check_libs=-lXpm |
9214 cat > conftest.$ac_ext <<EOF | 9221 cat > conftest.$ac_ext <<EOF |
9215 #line 9216 "configure" | 9222 #line 9223 "configure" |
9216 #include "confdefs.h" | 9223 #include "confdefs.h" |
9217 #define XPM_NUMBERS | 9224 #define XPM_NUMBERS |
9218 #include <X11/xpm.h> | 9225 #include <X11/xpm.h> |
9219 int main(int c, char **v) { | 9226 int main(int c, char **v) { |
9220 return c == 1 ? 0 : | 9227 return c == 1 ? 0 : |
9221 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9228 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9222 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9229 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9223 EOF | 9230 EOF |
9224 if { (eval echo configure:9225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9231 if { (eval echo configure:9232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9225 then | 9232 then |
9226 ./conftest dummy_arg; xpm_status=$?; | 9233 ./conftest dummy_arg; xpm_status=$?; |
9227 if test "$xpm_status" = "0"; then | 9234 if test "$xpm_status" = "0"; then |
9228 with_xpm=yes; | 9235 with_xpm=yes; |
9229 else | 9236 else |
9263 | 9270 |
9264 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9271 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9265 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9272 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9266 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9273 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9267 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9274 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9268 echo "configure:9269: checking for \"FOR_MSW\" xpm" >&5 | 9275 echo "configure:9276: checking for \"FOR_MSW\" xpm" >&5 |
9269 xe_check_libs=-lXpm | 9276 xe_check_libs=-lXpm |
9270 cat > conftest.$ac_ext <<EOF | 9277 cat > conftest.$ac_ext <<EOF |
9271 #line 9272 "configure" | 9278 #line 9279 "configure" |
9272 #include "confdefs.h" | 9279 #include "confdefs.h" |
9273 | 9280 |
9274 int main() { | 9281 int main() { |
9275 XpmCreatePixmapFromData() | 9282 XpmCreatePixmapFromData() |
9276 ; return 0; } | 9283 ; return 0; } |
9277 EOF | 9284 EOF |
9278 if { (eval echo configure:9279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9285 if { (eval echo configure:9286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9279 rm -rf conftest* | 9286 rm -rf conftest* |
9280 xpm_for_msw=no | 9287 xpm_for_msw=no |
9281 else | 9288 else |
9282 echo "configure: failed program was:" >&5 | 9289 echo "configure: failed program was:" >&5 |
9283 cat conftest.$ac_ext >&5 | 9290 cat conftest.$ac_ext >&5 |
9299 fi | 9306 fi |
9300 fi | 9307 fi |
9301 | 9308 |
9302 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9309 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9303 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9310 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9304 echo "configure:9305: checking for compface.h" >&5 | 9311 echo "configure:9312: checking for compface.h" >&5 |
9305 | 9312 |
9306 cat > conftest.$ac_ext <<EOF | 9313 cat > conftest.$ac_ext <<EOF |
9307 #line 9308 "configure" | 9314 #line 9315 "configure" |
9308 #include "confdefs.h" | 9315 #include "confdefs.h" |
9309 #include <compface.h> | 9316 #include <compface.h> |
9310 EOF | 9317 EOF |
9311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9312 { (eval echo configure:9313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9319 { (eval echo configure:9320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9314 if test -z "$ac_err"; then | 9321 if test -z "$ac_err"; then |
9315 rm -rf conftest* | 9322 rm -rf conftest* |
9316 eval "ac_cv_header_$ac_safe=yes" | 9323 eval "ac_cv_header_$ac_safe=yes" |
9317 else | 9324 else |
9330 with_xface=no | 9337 with_xface=no |
9331 fi | 9338 fi |
9332 } | 9339 } |
9333 test -z "$with_xface" && { | 9340 test -z "$with_xface" && { |
9334 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9341 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9335 echo "configure:9336: checking for UnGenFace in -lcompface" >&5 | 9342 echo "configure:9343: checking for UnGenFace in -lcompface" >&5 |
9336 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9343 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9337 | 9344 |
9338 xe_check_libs=" -lcompface " | 9345 xe_check_libs=" -lcompface " |
9339 cat > conftest.$ac_ext <<EOF | 9346 cat > conftest.$ac_ext <<EOF |
9340 #line 9341 "configure" | 9347 #line 9348 "configure" |
9341 #include "confdefs.h" | 9348 #include "confdefs.h" |
9342 /* Override any gcc2 internal prototype to avoid an error. */ | 9349 /* Override any gcc2 internal prototype to avoid an error. */ |
9343 /* We use char because int might match the return type of a gcc2 | 9350 /* We use char because int might match the return type of a gcc2 |
9344 builtin and then its argument prototype would still apply. */ | 9351 builtin and then its argument prototype would still apply. */ |
9345 char UnGenFace(); | 9352 char UnGenFace(); |
9346 | 9353 |
9347 int main() { | 9354 int main() { |
9348 UnGenFace() | 9355 UnGenFace() |
9349 ; return 0; } | 9356 ; return 0; } |
9350 EOF | 9357 EOF |
9351 if { (eval echo configure:9352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9358 if { (eval echo configure:9359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9352 rm -rf conftest* | 9359 rm -rf conftest* |
9353 eval "ac_cv_lib_$ac_lib_var=yes" | 9360 eval "ac_cv_lib_$ac_lib_var=yes" |
9354 else | 9361 else |
9355 echo "configure: failed program was:" >&5 | 9362 echo "configure: failed program was:" >&5 |
9356 cat conftest.$ac_ext >&5 | 9363 cat conftest.$ac_ext >&5 |
9395 fi | 9402 fi |
9396 | 9403 |
9397 if test "$with_png $with_tiff" != "no no"; then | 9404 if test "$with_png $with_tiff" != "no no"; then |
9398 | 9405 |
9399 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9406 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9400 echo "configure:9401: checking for inflate in -lc" >&5 | 9407 echo "configure:9408: checking for inflate in -lc" >&5 |
9401 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9408 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9402 | 9409 |
9403 xe_check_libs=" -lc " | 9410 xe_check_libs=" -lc " |
9404 cat > conftest.$ac_ext <<EOF | 9411 cat > conftest.$ac_ext <<EOF |
9405 #line 9406 "configure" | 9412 #line 9413 "configure" |
9406 #include "confdefs.h" | 9413 #include "confdefs.h" |
9407 /* Override any gcc2 internal prototype to avoid an error. */ | 9414 /* Override any gcc2 internal prototype to avoid an error. */ |
9408 /* We use char because int might match the return type of a gcc2 | 9415 /* We use char because int might match the return type of a gcc2 |
9409 builtin and then its argument prototype would still apply. */ | 9416 builtin and then its argument prototype would still apply. */ |
9410 char inflate(); | 9417 char inflate(); |
9411 | 9418 |
9412 int main() { | 9419 int main() { |
9413 inflate() | 9420 inflate() |
9414 ; return 0; } | 9421 ; return 0; } |
9415 EOF | 9422 EOF |
9416 if { (eval echo configure:9417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9423 if { (eval echo configure:9424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9417 rm -rf conftest* | 9424 rm -rf conftest* |
9418 eval "ac_cv_lib_$ac_lib_var=yes" | 9425 eval "ac_cv_lib_$ac_lib_var=yes" |
9419 else | 9426 else |
9420 echo "configure: failed program was:" >&5 | 9427 echo "configure: failed program was:" >&5 |
9421 cat conftest.$ac_ext >&5 | 9428 cat conftest.$ac_ext >&5 |
9430 : | 9437 : |
9431 else | 9438 else |
9432 echo "$ac_t""no" 1>&6 | 9439 echo "$ac_t""no" 1>&6 |
9433 | 9440 |
9434 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9441 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9435 echo "configure:9436: checking for inflate in -lz" >&5 | 9442 echo "configure:9443: checking for inflate in -lz" >&5 |
9436 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9443 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9437 | 9444 |
9438 xe_check_libs=" -lz " | 9445 xe_check_libs=" -lz " |
9439 cat > conftest.$ac_ext <<EOF | 9446 cat > conftest.$ac_ext <<EOF |
9440 #line 9441 "configure" | 9447 #line 9448 "configure" |
9441 #include "confdefs.h" | 9448 #include "confdefs.h" |
9442 /* Override any gcc2 internal prototype to avoid an error. */ | 9449 /* Override any gcc2 internal prototype to avoid an error. */ |
9443 /* We use char because int might match the return type of a gcc2 | 9450 /* We use char because int might match the return type of a gcc2 |
9444 builtin and then its argument prototype would still apply. */ | 9451 builtin and then its argument prototype would still apply. */ |
9445 char inflate(); | 9452 char inflate(); |
9446 | 9453 |
9447 int main() { | 9454 int main() { |
9448 inflate() | 9455 inflate() |
9449 ; return 0; } | 9456 ; return 0; } |
9450 EOF | 9457 EOF |
9451 if { (eval echo configure:9452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9458 if { (eval echo configure:9459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9452 rm -rf conftest* | 9459 rm -rf conftest* |
9453 eval "ac_cv_lib_$ac_lib_var=yes" | 9460 eval "ac_cv_lib_$ac_lib_var=yes" |
9454 else | 9461 else |
9455 echo "configure: failed program was:" >&5 | 9462 echo "configure: failed program was:" >&5 |
9456 cat conftest.$ac_ext >&5 | 9463 cat conftest.$ac_ext >&5 |
9465 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9472 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9466 else | 9473 else |
9467 echo "$ac_t""no" 1>&6 | 9474 echo "$ac_t""no" 1>&6 |
9468 | 9475 |
9469 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9476 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9470 echo "configure:9471: checking for inflate in -lgz" >&5 | 9477 echo "configure:9478: checking for inflate in -lgz" >&5 |
9471 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9478 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9472 | 9479 |
9473 xe_check_libs=" -lgz " | 9480 xe_check_libs=" -lgz " |
9474 cat > conftest.$ac_ext <<EOF | 9481 cat > conftest.$ac_ext <<EOF |
9475 #line 9476 "configure" | 9482 #line 9483 "configure" |
9476 #include "confdefs.h" | 9483 #include "confdefs.h" |
9477 /* Override any gcc2 internal prototype to avoid an error. */ | 9484 /* Override any gcc2 internal prototype to avoid an error. */ |
9478 /* We use char because int might match the return type of a gcc2 | 9485 /* We use char because int might match the return type of a gcc2 |
9479 builtin and then its argument prototype would still apply. */ | 9486 builtin and then its argument prototype would still apply. */ |
9480 char inflate(); | 9487 char inflate(); |
9481 | 9488 |
9482 int main() { | 9489 int main() { |
9483 inflate() | 9490 inflate() |
9484 ; return 0; } | 9491 ; return 0; } |
9485 EOF | 9492 EOF |
9486 if { (eval echo configure:9487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9493 if { (eval echo configure:9494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9487 rm -rf conftest* | 9494 rm -rf conftest* |
9488 eval "ac_cv_lib_$ac_lib_var=yes" | 9495 eval "ac_cv_lib_$ac_lib_var=yes" |
9489 else | 9496 else |
9490 echo "configure: failed program was:" >&5 | 9497 echo "configure: failed program was:" >&5 |
9491 cat conftest.$ac_ext >&5 | 9498 cat conftest.$ac_ext >&5 |
9511 | 9518 |
9512 fi | 9519 fi |
9513 | 9520 |
9514 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9521 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9515 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9522 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9516 echo "configure:9517: checking for jpeglib.h" >&5 | 9523 echo "configure:9524: checking for jpeglib.h" >&5 |
9517 | 9524 |
9518 cat > conftest.$ac_ext <<EOF | 9525 cat > conftest.$ac_ext <<EOF |
9519 #line 9520 "configure" | 9526 #line 9527 "configure" |
9520 #include "confdefs.h" | 9527 #include "confdefs.h" |
9521 #include <jpeglib.h> | 9528 #include <jpeglib.h> |
9522 EOF | 9529 EOF |
9523 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9524 { (eval echo configure:9525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9531 { (eval echo configure:9532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9525 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9532 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9526 if test -z "$ac_err"; then | 9533 if test -z "$ac_err"; then |
9527 rm -rf conftest* | 9534 rm -rf conftest* |
9528 eval "ac_cv_header_$ac_safe=yes" | 9535 eval "ac_cv_header_$ac_safe=yes" |
9529 else | 9536 else |
9542 with_jpeg=no | 9549 with_jpeg=no |
9543 fi | 9550 fi |
9544 } | 9551 } |
9545 test -z "$with_jpeg" && { | 9552 test -z "$with_jpeg" && { |
9546 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9553 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9547 echo "configure:9548: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9554 echo "configure:9555: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9548 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9555 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9549 | 9556 |
9550 xe_check_libs=" -ljpeg " | 9557 xe_check_libs=" -ljpeg " |
9551 cat > conftest.$ac_ext <<EOF | 9558 cat > conftest.$ac_ext <<EOF |
9552 #line 9553 "configure" | 9559 #line 9560 "configure" |
9553 #include "confdefs.h" | 9560 #include "confdefs.h" |
9554 /* Override any gcc2 internal prototype to avoid an error. */ | 9561 /* Override any gcc2 internal prototype to avoid an error. */ |
9555 /* We use char because int might match the return type of a gcc2 | 9562 /* We use char because int might match the return type of a gcc2 |
9556 builtin and then its argument prototype would still apply. */ | 9563 builtin and then its argument prototype would still apply. */ |
9557 char jpeg_destroy_decompress(); | 9564 char jpeg_destroy_decompress(); |
9558 | 9565 |
9559 int main() { | 9566 int main() { |
9560 jpeg_destroy_decompress() | 9567 jpeg_destroy_decompress() |
9561 ; return 0; } | 9568 ; return 0; } |
9562 EOF | 9569 EOF |
9563 if { (eval echo configure:9564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9570 if { (eval echo configure:9571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9564 rm -rf conftest* | 9571 rm -rf conftest* |
9565 eval "ac_cv_lib_$ac_lib_var=yes" | 9572 eval "ac_cv_lib_$ac_lib_var=yes" |
9566 else | 9573 else |
9567 echo "configure: failed program was:" >&5 | 9574 echo "configure: failed program was:" >&5 |
9568 cat conftest.$ac_ext >&5 | 9575 cat conftest.$ac_ext >&5 |
9594 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9601 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9595 fi | 9602 fi |
9596 | 9603 |
9597 png_problem="" | 9604 png_problem="" |
9598 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9605 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9599 echo "configure:9600: checking for pow" >&5 | 9606 echo "configure:9607: checking for pow" >&5 |
9600 | 9607 |
9601 cat > conftest.$ac_ext <<EOF | 9608 cat > conftest.$ac_ext <<EOF |
9602 #line 9603 "configure" | 9609 #line 9610 "configure" |
9603 #include "confdefs.h" | 9610 #include "confdefs.h" |
9604 /* System header to define __stub macros and hopefully few prototypes, | 9611 /* System header to define __stub macros and hopefully few prototypes, |
9605 which can conflict with char pow(); below. */ | 9612 which can conflict with char pow(); below. */ |
9606 #include <assert.h> | 9613 #include <assert.h> |
9607 /* Override any gcc2 internal prototype to avoid an error. */ | 9614 /* Override any gcc2 internal prototype to avoid an error. */ |
9620 pow(); | 9627 pow(); |
9621 #endif | 9628 #endif |
9622 | 9629 |
9623 ; return 0; } | 9630 ; return 0; } |
9624 EOF | 9631 EOF |
9625 if { (eval echo configure:9626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9632 if { (eval echo configure:9633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9626 rm -rf conftest* | 9633 rm -rf conftest* |
9627 eval "ac_cv_func_pow=yes" | 9634 eval "ac_cv_func_pow=yes" |
9628 else | 9635 else |
9629 echo "configure: failed program was:" >&5 | 9636 echo "configure: failed program was:" >&5 |
9630 cat conftest.$ac_ext >&5 | 9637 cat conftest.$ac_ext >&5 |
9641 with_png=no | 9648 with_png=no |
9642 fi | 9649 fi |
9643 } | 9650 } |
9644 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9651 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9645 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9652 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9646 echo "configure:9647: checking for png.h" >&5 | 9653 echo "configure:9654: checking for png.h" >&5 |
9647 | 9654 |
9648 cat > conftest.$ac_ext <<EOF | 9655 cat > conftest.$ac_ext <<EOF |
9649 #line 9650 "configure" | 9656 #line 9657 "configure" |
9650 #include "confdefs.h" | 9657 #include "confdefs.h" |
9651 #include <png.h> | 9658 #include <png.h> |
9652 EOF | 9659 EOF |
9653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9654 { (eval echo configure:9655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9661 { (eval echo configure:9662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9656 if test -z "$ac_err"; then | 9663 if test -z "$ac_err"; then |
9657 rm -rf conftest* | 9664 rm -rf conftest* |
9658 eval "ac_cv_header_$ac_safe=yes" | 9665 eval "ac_cv_header_$ac_safe=yes" |
9659 else | 9666 else |
9672 with_png=no | 9679 with_png=no |
9673 fi | 9680 fi |
9674 } | 9681 } |
9675 test -z "$with_png" && { | 9682 test -z "$with_png" && { |
9676 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9683 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9677 echo "configure:9678: checking for png_read_image in -lpng" >&5 | 9684 echo "configure:9685: checking for png_read_image in -lpng" >&5 |
9678 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9685 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9679 | 9686 |
9680 xe_check_libs=" -lpng " | 9687 xe_check_libs=" -lpng " |
9681 cat > conftest.$ac_ext <<EOF | 9688 cat > conftest.$ac_ext <<EOF |
9682 #line 9683 "configure" | 9689 #line 9690 "configure" |
9683 #include "confdefs.h" | 9690 #include "confdefs.h" |
9684 /* Override any gcc2 internal prototype to avoid an error. */ | 9691 /* Override any gcc2 internal prototype to avoid an error. */ |
9685 /* We use char because int might match the return type of a gcc2 | 9692 /* We use char because int might match the return type of a gcc2 |
9686 builtin and then its argument prototype would still apply. */ | 9693 builtin and then its argument prototype would still apply. */ |
9687 char png_read_image(); | 9694 char png_read_image(); |
9688 | 9695 |
9689 int main() { | 9696 int main() { |
9690 png_read_image() | 9697 png_read_image() |
9691 ; return 0; } | 9698 ; return 0; } |
9692 EOF | 9699 EOF |
9693 if { (eval echo configure:9694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9700 if { (eval echo configure:9701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9694 rm -rf conftest* | 9701 rm -rf conftest* |
9695 eval "ac_cv_lib_$ac_lib_var=yes" | 9702 eval "ac_cv_lib_$ac_lib_var=yes" |
9696 else | 9703 else |
9697 echo "configure: failed program was:" >&5 | 9704 echo "configure: failed program was:" >&5 |
9698 cat conftest.$ac_ext >&5 | 9705 cat conftest.$ac_ext >&5 |
9711 fi | 9718 fi |
9712 | 9719 |
9713 } | 9720 } |
9714 if test -z "$with_png"; then | 9721 if test -z "$with_png"; then |
9715 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9722 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9716 echo "configure:9717: checking for workable png version information" >&5 | 9723 echo "configure:9724: checking for workable png version information" >&5 |
9717 xe_check_libs="-lpng -lz" | 9724 xe_check_libs="-lpng -lz" |
9718 cat > conftest.$ac_ext <<EOF | 9725 cat > conftest.$ac_ext <<EOF |
9719 #line 9720 "configure" | 9726 #line 9727 "configure" |
9720 #include "confdefs.h" | 9727 #include "confdefs.h" |
9721 #include <png.h> | 9728 #include <png.h> |
9722 int main(int c, char **v) { | 9729 int main(int c, char **v) { |
9723 if (c == 1) return 0; | 9730 if (c == 1) return 0; |
9724 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9731 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9725 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9732 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9726 EOF | 9733 EOF |
9727 if { (eval echo configure:9728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9734 if { (eval echo configure:9735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9728 then | 9735 then |
9729 ./conftest dummy_arg; png_status=$?; | 9736 ./conftest dummy_arg; png_status=$?; |
9730 if test "$png_status" = "0"; then | 9737 if test "$png_status" = "0"; then |
9731 with_png=yes; | 9738 with_png=yes; |
9732 else | 9739 else |
9765 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9772 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9766 fi | 9773 fi |
9767 | 9774 |
9768 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9775 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9769 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9776 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9770 echo "configure:9771: checking for tiffio.h" >&5 | 9777 echo "configure:9778: checking for tiffio.h" >&5 |
9771 | 9778 |
9772 cat > conftest.$ac_ext <<EOF | 9779 cat > conftest.$ac_ext <<EOF |
9773 #line 9774 "configure" | 9780 #line 9781 "configure" |
9774 #include "confdefs.h" | 9781 #include "confdefs.h" |
9775 #include <tiffio.h> | 9782 #include <tiffio.h> |
9776 EOF | 9783 EOF |
9777 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9778 { (eval echo configure:9779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9785 { (eval echo configure:9786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9779 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9780 if test -z "$ac_err"; then | 9787 if test -z "$ac_err"; then |
9781 rm -rf conftest* | 9788 rm -rf conftest* |
9782 eval "ac_cv_header_$ac_safe=yes" | 9789 eval "ac_cv_header_$ac_safe=yes" |
9783 else | 9790 else |
9796 with_tiff=no | 9803 with_tiff=no |
9797 fi | 9804 fi |
9798 } | 9805 } |
9799 test -z "$with_tiff" && { | 9806 test -z "$with_tiff" && { |
9800 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9807 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9801 echo "configure:9802: checking for TIFFClientOpen in -ltiff" >&5 | 9808 echo "configure:9809: checking for TIFFClientOpen in -ltiff" >&5 |
9802 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9809 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9803 | 9810 |
9804 xe_check_libs=" -ltiff " | 9811 xe_check_libs=" -ltiff " |
9805 cat > conftest.$ac_ext <<EOF | 9812 cat > conftest.$ac_ext <<EOF |
9806 #line 9807 "configure" | 9813 #line 9814 "configure" |
9807 #include "confdefs.h" | 9814 #include "confdefs.h" |
9808 /* Override any gcc2 internal prototype to avoid an error. */ | 9815 /* Override any gcc2 internal prototype to avoid an error. */ |
9809 /* We use char because int might match the return type of a gcc2 | 9816 /* We use char because int might match the return type of a gcc2 |
9810 builtin and then its argument prototype would still apply. */ | 9817 builtin and then its argument prototype would still apply. */ |
9811 char TIFFClientOpen(); | 9818 char TIFFClientOpen(); |
9812 | 9819 |
9813 int main() { | 9820 int main() { |
9814 TIFFClientOpen() | 9821 TIFFClientOpen() |
9815 ; return 0; } | 9822 ; return 0; } |
9816 EOF | 9823 EOF |
9817 if { (eval echo configure:9818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9824 if { (eval echo configure:9825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9818 rm -rf conftest* | 9825 rm -rf conftest* |
9819 eval "ac_cv_lib_$ac_lib_var=yes" | 9826 eval "ac_cv_lib_$ac_lib_var=yes" |
9820 else | 9827 else |
9821 echo "configure: failed program was:" >&5 | 9828 echo "configure: failed program was:" >&5 |
9822 cat conftest.$ac_ext >&5 | 9829 cat conftest.$ac_ext >&5 |
9851 | 9858 |
9852 | 9859 |
9853 if test "$with_gtk" = "yes"; then | 9860 if test "$with_gtk" = "yes"; then |
9854 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9861 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9855 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9862 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9856 echo "configure:9857: checking for compface.h" >&5 | 9863 echo "configure:9864: checking for compface.h" >&5 |
9857 | 9864 |
9858 cat > conftest.$ac_ext <<EOF | 9865 cat > conftest.$ac_ext <<EOF |
9859 #line 9860 "configure" | 9866 #line 9867 "configure" |
9860 #include "confdefs.h" | 9867 #include "confdefs.h" |
9861 #include <compface.h> | 9868 #include <compface.h> |
9862 EOF | 9869 EOF |
9863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9870 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9864 { (eval echo configure:9865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9871 { (eval echo configure:9872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9872 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9866 if test -z "$ac_err"; then | 9873 if test -z "$ac_err"; then |
9867 rm -rf conftest* | 9874 rm -rf conftest* |
9868 eval "ac_cv_header_$ac_safe=yes" | 9875 eval "ac_cv_header_$ac_safe=yes" |
9869 else | 9876 else |
9882 with_xface=no | 9889 with_xface=no |
9883 fi | 9890 fi |
9884 } | 9891 } |
9885 test -z "$with_xface" && { | 9892 test -z "$with_xface" && { |
9886 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9893 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9887 echo "configure:9888: checking for UnGenFace in -lcompface" >&5 | 9894 echo "configure:9895: checking for UnGenFace in -lcompface" >&5 |
9888 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9895 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9889 | 9896 |
9890 xe_check_libs=" -lcompface " | 9897 xe_check_libs=" -lcompface " |
9891 cat > conftest.$ac_ext <<EOF | 9898 cat > conftest.$ac_ext <<EOF |
9892 #line 9893 "configure" | 9899 #line 9900 "configure" |
9893 #include "confdefs.h" | 9900 #include "confdefs.h" |
9894 /* Override any gcc2 internal prototype to avoid an error. */ | 9901 /* Override any gcc2 internal prototype to avoid an error. */ |
9895 /* We use char because int might match the return type of a gcc2 | 9902 /* We use char because int might match the return type of a gcc2 |
9896 builtin and then its argument prototype would still apply. */ | 9903 builtin and then its argument prototype would still apply. */ |
9897 char UnGenFace(); | 9904 char UnGenFace(); |
9898 | 9905 |
9899 int main() { | 9906 int main() { |
9900 UnGenFace() | 9907 UnGenFace() |
9901 ; return 0; } | 9908 ; return 0; } |
9902 EOF | 9909 EOF |
9903 if { (eval echo configure:9904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9910 if { (eval echo configure:9911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9904 rm -rf conftest* | 9911 rm -rf conftest* |
9905 eval "ac_cv_lib_$ac_lib_var=yes" | 9912 eval "ac_cv_lib_$ac_lib_var=yes" |
9906 else | 9913 else |
9907 echo "configure: failed program was:" >&5 | 9914 echo "configure: failed program was:" >&5 |
9908 cat conftest.$ac_ext >&5 | 9915 cat conftest.$ac_ext >&5 |
9937 | 9944 |
9938 | 9945 |
9939 | 9946 |
9940 if test "$with_x11" = "yes"; then | 9947 if test "$with_x11" = "yes"; then |
9941 echo "checking for X11 graphics libraries" 1>&6 | 9948 echo "checking for X11 graphics libraries" 1>&6 |
9942 echo "configure:9943: checking for X11 graphics libraries" >&5 | 9949 echo "configure:9950: checking for X11 graphics libraries" >&5 |
9943 fi | 9950 fi |
9944 | 9951 |
9945 case "$with_widgets" in | 9952 case "$with_widgets" in |
9946 "yes" | "athena") detect_athena=yes ;; | 9953 "yes" | "athena") detect_athena=yes ;; |
9947 *) detect_athena=no ;; | 9954 *) detect_athena=no ;; |
9948 esac | 9955 esac |
9949 | 9956 |
9950 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9957 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9951 echo "checking for the Athena widgets" 1>&6 | 9958 echo "checking for the Athena widgets" 1>&6 |
9952 echo "configure:9953: checking for the Athena widgets" >&5 | 9959 echo "configure:9960: checking for the Athena widgets" >&5 |
9953 | 9960 |
9954 case "$with_athena" in | 9961 case "$with_athena" in |
9955 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9962 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9956 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9963 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9957 "next") athena_variant=neXtaw athena_3d=yes ;; | 9964 "next") athena_variant=neXtaw athena_3d=yes ;; |
9961 esac | 9968 esac |
9962 | 9969 |
9963 if test "$athena_3d" = "no"; then | 9970 if test "$athena_3d" = "no"; then |
9964 | 9971 |
9965 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9972 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
9966 echo "configure:9967: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 9973 echo "configure:9974: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
9967 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 9974 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
9968 | 9975 |
9969 xe_check_libs=" -l$athena_variant " | 9976 xe_check_libs=" -l$athena_variant " |
9970 cat > conftest.$ac_ext <<EOF | 9977 cat > conftest.$ac_ext <<EOF |
9971 #line 9972 "configure" | 9978 #line 9979 "configure" |
9972 #include "confdefs.h" | 9979 #include "confdefs.h" |
9973 /* Override any gcc2 internal prototype to avoid an error. */ | 9980 /* Override any gcc2 internal prototype to avoid an error. */ |
9974 /* We use char because int might match the return type of a gcc2 | 9981 /* We use char because int might match the return type of a gcc2 |
9975 builtin and then its argument prototype would still apply. */ | 9982 builtin and then its argument prototype would still apply. */ |
9976 char XawScrollbarSetThumb(); | 9983 char XawScrollbarSetThumb(); |
9977 | 9984 |
9978 int main() { | 9985 int main() { |
9979 XawScrollbarSetThumb() | 9986 XawScrollbarSetThumb() |
9980 ; return 0; } | 9987 ; return 0; } |
9981 EOF | 9988 EOF |
9982 if { (eval echo configure:9983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9989 if { (eval echo configure:9990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9983 rm -rf conftest* | 9990 rm -rf conftest* |
9984 eval "ac_cv_lib_$ac_lib_var=yes" | 9991 eval "ac_cv_lib_$ac_lib_var=yes" |
9985 else | 9992 else |
9986 echo "configure: failed program was:" >&5 | 9993 echo "configure: failed program was:" >&5 |
9987 cat conftest.$ac_ext >&5 | 9994 cat conftest.$ac_ext >&5 |
9993 | 10000 |
9994 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10001 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
9995 echo "$ac_t""yes" 1>&6 | 10002 echo "$ac_t""yes" 1>&6 |
9996 | 10003 |
9997 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10004 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
9998 echo "configure:9999: checking for threeDClassRec in -l$athena_variant" >&5 | 10005 echo "configure:10006: checking for threeDClassRec in -l$athena_variant" >&5 |
9999 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10006 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10000 | 10007 |
10001 xe_check_libs=" -l$athena_variant " | 10008 xe_check_libs=" -l$athena_variant " |
10002 cat > conftest.$ac_ext <<EOF | 10009 cat > conftest.$ac_ext <<EOF |
10003 #line 10004 "configure" | 10010 #line 10011 "configure" |
10004 #include "confdefs.h" | 10011 #include "confdefs.h" |
10005 /* Override any gcc2 internal prototype to avoid an error. */ | 10012 /* Override any gcc2 internal prototype to avoid an error. */ |
10006 /* We use char because int might match the return type of a gcc2 | 10013 /* We use char because int might match the return type of a gcc2 |
10007 builtin and then its argument prototype would still apply. */ | 10014 builtin and then its argument prototype would still apply. */ |
10008 char threeDClassRec(); | 10015 char threeDClassRec(); |
10009 | 10016 |
10010 int main() { | 10017 int main() { |
10011 threeDClassRec() | 10018 threeDClassRec() |
10012 ; return 0; } | 10019 ; return 0; } |
10013 EOF | 10020 EOF |
10014 if { (eval echo configure:10015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10021 if { (eval echo configure:10022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10015 rm -rf conftest* | 10022 rm -rf conftest* |
10016 eval "ac_cv_lib_$ac_lib_var=yes" | 10023 eval "ac_cv_lib_$ac_lib_var=yes" |
10017 else | 10024 else |
10018 echo "configure: failed program was:" >&5 | 10025 echo "configure: failed program was:" >&5 |
10019 cat conftest.$ac_ext >&5 | 10026 cat conftest.$ac_ext >&5 |
10040 | 10047 |
10041 | 10048 |
10042 else | 10049 else |
10043 | 10050 |
10044 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10051 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10045 echo "configure:10046: checking for threeDClassRec in -l$athena_variant" >&5 | 10052 echo "configure:10053: checking for threeDClassRec in -l$athena_variant" >&5 |
10046 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10053 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10047 | 10054 |
10048 xe_check_libs=" -l$athena_variant " | 10055 xe_check_libs=" -l$athena_variant " |
10049 cat > conftest.$ac_ext <<EOF | 10056 cat > conftest.$ac_ext <<EOF |
10050 #line 10051 "configure" | 10057 #line 10058 "configure" |
10051 #include "confdefs.h" | 10058 #include "confdefs.h" |
10052 /* Override any gcc2 internal prototype to avoid an error. */ | 10059 /* Override any gcc2 internal prototype to avoid an error. */ |
10053 /* We use char because int might match the return type of a gcc2 | 10060 /* We use char because int might match the return type of a gcc2 |
10054 builtin and then its argument prototype would still apply. */ | 10061 builtin and then its argument prototype would still apply. */ |
10055 char threeDClassRec(); | 10062 char threeDClassRec(); |
10056 | 10063 |
10057 int main() { | 10064 int main() { |
10058 threeDClassRec() | 10065 threeDClassRec() |
10059 ; return 0; } | 10066 ; return 0; } |
10060 EOF | 10067 EOF |
10061 if { (eval echo configure:10062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10068 if { (eval echo configure:10069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10062 rm -rf conftest* | 10069 rm -rf conftest* |
10063 eval "ac_cv_lib_$ac_lib_var=yes" | 10070 eval "ac_cv_lib_$ac_lib_var=yes" |
10064 else | 10071 else |
10065 echo "configure: failed program was:" >&5 | 10072 echo "configure: failed program was:" >&5 |
10066 cat conftest.$ac_ext >&5 | 10073 cat conftest.$ac_ext >&5 |
10074 echo "$ac_t""yes" 1>&6 | 10081 echo "$ac_t""yes" 1>&6 |
10075 athena_lib=$athena_variant | 10082 athena_lib=$athena_variant |
10076 else | 10083 else |
10077 echo "$ac_t""no" 1>&6 | 10084 echo "$ac_t""no" 1>&6 |
10078 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10085 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10079 echo "configure:10080: checking for threeDClassRec in -lXaw" >&5 | 10086 echo "configure:10087: checking for threeDClassRec in -lXaw" >&5 |
10080 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10087 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10081 | 10088 |
10082 xe_check_libs=" -lXaw " | 10089 xe_check_libs=" -lXaw " |
10083 cat > conftest.$ac_ext <<EOF | 10090 cat > conftest.$ac_ext <<EOF |
10084 #line 10085 "configure" | 10091 #line 10092 "configure" |
10085 #include "confdefs.h" | 10092 #include "confdefs.h" |
10086 /* Override any gcc2 internal prototype to avoid an error. */ | 10093 /* Override any gcc2 internal prototype to avoid an error. */ |
10087 /* We use char because int might match the return type of a gcc2 | 10094 /* We use char because int might match the return type of a gcc2 |
10088 builtin and then its argument prototype would still apply. */ | 10095 builtin and then its argument prototype would still apply. */ |
10089 char threeDClassRec(); | 10096 char threeDClassRec(); |
10090 | 10097 |
10091 int main() { | 10098 int main() { |
10092 threeDClassRec() | 10099 threeDClassRec() |
10093 ; return 0; } | 10100 ; return 0; } |
10094 EOF | 10101 EOF |
10095 if { (eval echo configure:10096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10102 if { (eval echo configure:10103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10096 rm -rf conftest* | 10103 rm -rf conftest* |
10097 eval "ac_cv_lib_$ac_lib_var=yes" | 10104 eval "ac_cv_lib_$ac_lib_var=yes" |
10098 else | 10105 else |
10099 echo "configure: failed program was:" >&5 | 10106 echo "configure: failed program was:" >&5 |
10100 cat conftest.$ac_ext >&5 | 10107 cat conftest.$ac_ext >&5 |
10121 fi | 10128 fi |
10122 | 10129 |
10123 if test "$athena_3d" = "no"; then | 10130 if test "$athena_3d" = "no"; then |
10124 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10131 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10125 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10132 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10126 echo "configure:10127: checking for X11/Xaw/ThreeD.h" >&5 | 10133 echo "configure:10134: checking for X11/Xaw/ThreeD.h" >&5 |
10127 | 10134 |
10128 cat > conftest.$ac_ext <<EOF | 10135 cat > conftest.$ac_ext <<EOF |
10129 #line 10130 "configure" | 10136 #line 10137 "configure" |
10130 #include "confdefs.h" | 10137 #include "confdefs.h" |
10131 #include <X11/Xaw/ThreeD.h> | 10138 #include <X11/Xaw/ThreeD.h> |
10132 EOF | 10139 EOF |
10133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10140 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10134 { (eval echo configure:10135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10141 { (eval echo configure:10142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10135 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10142 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10136 if test -z "$ac_err"; then | 10143 if test -z "$ac_err"; then |
10137 rm -rf conftest* | 10144 rm -rf conftest* |
10138 eval "ac_cv_header_$ac_safe=yes" | 10145 eval "ac_cv_header_$ac_safe=yes" |
10139 else | 10146 else |
10149 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10156 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10150 else | 10157 else |
10151 echo "$ac_t""no" 1>&6 | 10158 echo "$ac_t""no" 1>&6 |
10152 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10159 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10153 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10160 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10154 echo "configure:10155: checking for X11/Xaw/XawInit.h" >&5 | 10161 echo "configure:10162: checking for X11/Xaw/XawInit.h" >&5 |
10155 | 10162 |
10156 cat > conftest.$ac_ext <<EOF | 10163 cat > conftest.$ac_ext <<EOF |
10157 #line 10158 "configure" | 10164 #line 10165 "configure" |
10158 #include "confdefs.h" | 10165 #include "confdefs.h" |
10159 #include <X11/Xaw/XawInit.h> | 10166 #include <X11/Xaw/XawInit.h> |
10160 EOF | 10167 EOF |
10161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10168 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10162 { (eval echo configure:10163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10169 { (eval echo configure:10170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10170 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10164 if test -z "$ac_err"; then | 10171 if test -z "$ac_err"; then |
10165 rm -rf conftest* | 10172 rm -rf conftest* |
10166 eval "ac_cv_header_$ac_safe=yes" | 10173 eval "ac_cv_header_$ac_safe=yes" |
10167 else | 10174 else |
10183 fi | 10190 fi |
10184 | 10191 |
10185 else | 10192 else |
10186 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10193 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10187 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10194 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10188 echo "configure:10189: checking for X11/$athena_variant/XawInit.h" >&5 | 10195 echo "configure:10196: checking for X11/$athena_variant/XawInit.h" >&5 |
10189 | 10196 |
10190 cat > conftest.$ac_ext <<EOF | 10197 cat > conftest.$ac_ext <<EOF |
10191 #line 10192 "configure" | 10198 #line 10199 "configure" |
10192 #include "confdefs.h" | 10199 #include "confdefs.h" |
10193 #include <X11/$athena_variant/XawInit.h> | 10200 #include <X11/$athena_variant/XawInit.h> |
10194 EOF | 10201 EOF |
10195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10202 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10196 { (eval echo configure:10197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10203 { (eval echo configure:10204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10204 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10198 if test -z "$ac_err"; then | 10205 if test -z "$ac_err"; then |
10199 rm -rf conftest* | 10206 rm -rf conftest* |
10200 eval "ac_cv_header_$ac_safe=yes" | 10207 eval "ac_cv_header_$ac_safe=yes" |
10201 else | 10208 else |
10208 rm -f conftest* | 10215 rm -f conftest* |
10209 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10210 echo "$ac_t""yes" 1>&6 | 10217 echo "$ac_t""yes" 1>&6 |
10211 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10218 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10212 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10219 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10213 echo "configure:10214: checking for X11/$athena_variant/ThreeD.h" >&5 | 10220 echo "configure:10221: checking for X11/$athena_variant/ThreeD.h" >&5 |
10214 | 10221 |
10215 cat > conftest.$ac_ext <<EOF | 10222 cat > conftest.$ac_ext <<EOF |
10216 #line 10217 "configure" | 10223 #line 10224 "configure" |
10217 #include "confdefs.h" | 10224 #include "confdefs.h" |
10218 #include <X11/$athena_variant/ThreeD.h> | 10225 #include <X11/$athena_variant/ThreeD.h> |
10219 EOF | 10226 EOF |
10220 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10227 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10221 { (eval echo configure:10222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10228 { (eval echo configure:10229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10222 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10229 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10223 if test -z "$ac_err"; then | 10230 if test -z "$ac_err"; then |
10224 rm -rf conftest* | 10231 rm -rf conftest* |
10225 eval "ac_cv_header_$ac_safe=yes" | 10232 eval "ac_cv_header_$ac_safe=yes" |
10226 else | 10233 else |
10244 | 10251 |
10245 | 10252 |
10246 if test -z "$athena_h_path"; then | 10253 if test -z "$athena_h_path"; then |
10247 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10254 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10248 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10255 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10249 echo "configure:10250: checking for $athena_variant/XawInit.h" >&5 | 10256 echo "configure:10257: checking for $athena_variant/XawInit.h" >&5 |
10250 | 10257 |
10251 cat > conftest.$ac_ext <<EOF | 10258 cat > conftest.$ac_ext <<EOF |
10252 #line 10253 "configure" | 10259 #line 10260 "configure" |
10253 #include "confdefs.h" | 10260 #include "confdefs.h" |
10254 #include <$athena_variant/XawInit.h> | 10261 #include <$athena_variant/XawInit.h> |
10255 EOF | 10262 EOF |
10256 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10257 { (eval echo configure:10258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10264 { (eval echo configure:10265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10259 if test -z "$ac_err"; then | 10266 if test -z "$ac_err"; then |
10260 rm -rf conftest* | 10267 rm -rf conftest* |
10261 eval "ac_cv_header_$ac_safe=yes" | 10268 eval "ac_cv_header_$ac_safe=yes" |
10262 else | 10269 else |
10269 rm -f conftest* | 10276 rm -f conftest* |
10270 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10277 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10271 echo "$ac_t""yes" 1>&6 | 10278 echo "$ac_t""yes" 1>&6 |
10272 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10279 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10273 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10280 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10274 echo "configure:10275: checking for $athena_variant/ThreeD.h" >&5 | 10281 echo "configure:10282: checking for $athena_variant/ThreeD.h" >&5 |
10275 | 10282 |
10276 cat > conftest.$ac_ext <<EOF | 10283 cat > conftest.$ac_ext <<EOF |
10277 #line 10278 "configure" | 10284 #line 10285 "configure" |
10278 #include "confdefs.h" | 10285 #include "confdefs.h" |
10279 #include <$athena_variant/ThreeD.h> | 10286 #include <$athena_variant/ThreeD.h> |
10280 EOF | 10287 EOF |
10281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10288 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10282 { (eval echo configure:10283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10289 { (eval echo configure:10290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10290 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10284 if test -z "$ac_err"; then | 10291 if test -z "$ac_err"; then |
10285 rm -rf conftest* | 10292 rm -rf conftest* |
10286 eval "ac_cv_header_$ac_safe=yes" | 10293 eval "ac_cv_header_$ac_safe=yes" |
10287 else | 10294 else |
10306 fi | 10313 fi |
10307 | 10314 |
10308 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10315 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10309 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10316 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10310 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10317 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10311 echo "configure:10312: checking for X11/Xaw3d/XawInit.h" >&5 | 10318 echo "configure:10319: checking for X11/Xaw3d/XawInit.h" >&5 |
10312 | 10319 |
10313 cat > conftest.$ac_ext <<EOF | 10320 cat > conftest.$ac_ext <<EOF |
10314 #line 10315 "configure" | 10321 #line 10322 "configure" |
10315 #include "confdefs.h" | 10322 #include "confdefs.h" |
10316 #include <X11/Xaw3d/XawInit.h> | 10323 #include <X11/Xaw3d/XawInit.h> |
10317 EOF | 10324 EOF |
10318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10319 { (eval echo configure:10320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10326 { (eval echo configure:10327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10321 if test -z "$ac_err"; then | 10328 if test -z "$ac_err"; then |
10322 rm -rf conftest* | 10329 rm -rf conftest* |
10323 eval "ac_cv_header_$ac_safe=yes" | 10330 eval "ac_cv_header_$ac_safe=yes" |
10324 else | 10331 else |
10331 rm -f conftest* | 10338 rm -f conftest* |
10332 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10339 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10333 echo "$ac_t""yes" 1>&6 | 10340 echo "$ac_t""yes" 1>&6 |
10334 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10341 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10335 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10342 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10336 echo "configure:10337: checking for X11/Xaw3d/ThreeD.h" >&5 | 10343 echo "configure:10344: checking for X11/Xaw3d/ThreeD.h" >&5 |
10337 | 10344 |
10338 cat > conftest.$ac_ext <<EOF | 10345 cat > conftest.$ac_ext <<EOF |
10339 #line 10340 "configure" | 10346 #line 10347 "configure" |
10340 #include "confdefs.h" | 10347 #include "confdefs.h" |
10341 #include <X11/Xaw3d/ThreeD.h> | 10348 #include <X11/Xaw3d/ThreeD.h> |
10342 EOF | 10349 EOF |
10343 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10344 { (eval echo configure:10345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10351 { (eval echo configure:10352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10345 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10346 if test -z "$ac_err"; then | 10353 if test -z "$ac_err"; then |
10347 rm -rf conftest* | 10354 rm -rf conftest* |
10348 eval "ac_cv_header_$ac_safe=yes" | 10355 eval "ac_cv_header_$ac_safe=yes" |
10349 else | 10356 else |
10371 fi | 10378 fi |
10372 | 10379 |
10373 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10380 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10374 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10381 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10375 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10382 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10376 echo "configure:10377: checking for Xaw3d/XawInit.h" >&5 | 10383 echo "configure:10384: checking for Xaw3d/XawInit.h" >&5 |
10377 | 10384 |
10378 cat > conftest.$ac_ext <<EOF | 10385 cat > conftest.$ac_ext <<EOF |
10379 #line 10380 "configure" | 10386 #line 10387 "configure" |
10380 #include "confdefs.h" | 10387 #include "confdefs.h" |
10381 #include <Xaw3d/XawInit.h> | 10388 #include <Xaw3d/XawInit.h> |
10382 EOF | 10389 EOF |
10383 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10384 { (eval echo configure:10385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10391 { (eval echo configure:10392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10386 if test -z "$ac_err"; then | 10393 if test -z "$ac_err"; then |
10387 rm -rf conftest* | 10394 rm -rf conftest* |
10388 eval "ac_cv_header_$ac_safe=yes" | 10395 eval "ac_cv_header_$ac_safe=yes" |
10389 else | 10396 else |
10396 rm -f conftest* | 10403 rm -f conftest* |
10397 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10404 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10398 echo "$ac_t""yes" 1>&6 | 10405 echo "$ac_t""yes" 1>&6 |
10399 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10406 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10400 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10407 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10401 echo "configure:10402: checking for Xaw3d/ThreeD.h" >&5 | 10408 echo "configure:10409: checking for Xaw3d/ThreeD.h" >&5 |
10402 | 10409 |
10403 cat > conftest.$ac_ext <<EOF | 10410 cat > conftest.$ac_ext <<EOF |
10404 #line 10405 "configure" | 10411 #line 10412 "configure" |
10405 #include "confdefs.h" | 10412 #include "confdefs.h" |
10406 #include <Xaw3d/ThreeD.h> | 10413 #include <Xaw3d/ThreeD.h> |
10407 EOF | 10414 EOF |
10408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10409 { (eval echo configure:10410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10416 { (eval echo configure:10417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10411 if test -z "$ac_err"; then | 10418 if test -z "$ac_err"; then |
10412 rm -rf conftest* | 10419 rm -rf conftest* |
10413 eval "ac_cv_header_$ac_safe=yes" | 10420 eval "ac_cv_header_$ac_safe=yes" |
10414 else | 10421 else |
10436 fi | 10443 fi |
10437 | 10444 |
10438 if test -z "$athena_h_path"; then | 10445 if test -z "$athena_h_path"; then |
10439 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10446 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10440 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10447 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10441 echo "configure:10442: checking for X11/Xaw/ThreeD.h" >&5 | 10448 echo "configure:10449: checking for X11/Xaw/ThreeD.h" >&5 |
10442 | 10449 |
10443 cat > conftest.$ac_ext <<EOF | 10450 cat > conftest.$ac_ext <<EOF |
10444 #line 10445 "configure" | 10451 #line 10452 "configure" |
10445 #include "confdefs.h" | 10452 #include "confdefs.h" |
10446 #include <X11/Xaw/ThreeD.h> | 10453 #include <X11/Xaw/ThreeD.h> |
10447 EOF | 10454 EOF |
10448 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10455 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10449 { (eval echo configure:10450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10456 { (eval echo configure:10457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10450 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10451 if test -z "$ac_err"; then | 10458 if test -z "$ac_err"; then |
10452 rm -rf conftest* | 10459 rm -rf conftest* |
10453 eval "ac_cv_header_$ac_safe=yes" | 10460 eval "ac_cv_header_$ac_safe=yes" |
10454 else | 10461 else |
10483 have_xaw=no | 10490 have_xaw=no |
10484 fi | 10491 fi |
10485 if test "$with_x11" = "yes"; then | 10492 if test "$with_x11" = "yes"; then |
10486 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10493 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10487 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10494 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10488 echo "configure:10489: checking for Xm/Xm.h" >&5 | 10495 echo "configure:10496: checking for Xm/Xm.h" >&5 |
10489 | 10496 |
10490 cat > conftest.$ac_ext <<EOF | 10497 cat > conftest.$ac_ext <<EOF |
10491 #line 10492 "configure" | 10498 #line 10499 "configure" |
10492 #include "confdefs.h" | 10499 #include "confdefs.h" |
10493 #include <Xm/Xm.h> | 10500 #include <Xm/Xm.h> |
10494 EOF | 10501 EOF |
10495 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10502 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10496 { (eval echo configure:10497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10503 { (eval echo configure:10504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10497 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10504 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10498 if test -z "$ac_err"; then | 10505 if test -z "$ac_err"; then |
10499 rm -rf conftest* | 10506 rm -rf conftest* |
10500 eval "ac_cv_header_$ac_safe=yes" | 10507 eval "ac_cv_header_$ac_safe=yes" |
10501 else | 10508 else |
10508 rm -f conftest* | 10515 rm -f conftest* |
10509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10516 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10510 echo "$ac_t""yes" 1>&6 | 10517 echo "$ac_t""yes" 1>&6 |
10511 | 10518 |
10512 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10519 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10513 echo "configure:10514: checking for XmStringFree in -lXm" >&5 | 10520 echo "configure:10521: checking for XmStringFree in -lXm" >&5 |
10514 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10521 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10515 | 10522 |
10516 xe_check_libs=" -lXm " | 10523 xe_check_libs=" -lXm " |
10517 cat > conftest.$ac_ext <<EOF | 10524 cat > conftest.$ac_ext <<EOF |
10518 #line 10519 "configure" | 10525 #line 10526 "configure" |
10519 #include "confdefs.h" | 10526 #include "confdefs.h" |
10520 /* Override any gcc2 internal prototype to avoid an error. */ | 10527 /* Override any gcc2 internal prototype to avoid an error. */ |
10521 /* We use char because int might match the return type of a gcc2 | 10528 /* We use char because int might match the return type of a gcc2 |
10522 builtin and then its argument prototype would still apply. */ | 10529 builtin and then its argument prototype would still apply. */ |
10523 char XmStringFree(); | 10530 char XmStringFree(); |
10524 | 10531 |
10525 int main() { | 10532 int main() { |
10526 XmStringFree() | 10533 XmStringFree() |
10527 ; return 0; } | 10534 ; return 0; } |
10528 EOF | 10535 EOF |
10529 if { (eval echo configure:10530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10536 if { (eval echo configure:10537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10530 rm -rf conftest* | 10537 rm -rf conftest* |
10531 eval "ac_cv_lib_$ac_lib_var=yes" | 10538 eval "ac_cv_lib_$ac_lib_var=yes" |
10532 else | 10539 else |
10533 echo "configure: failed program was:" >&5 | 10540 echo "configure: failed program was:" >&5 |
10534 cat conftest.$ac_ext >&5 | 10541 cat conftest.$ac_ext >&5 |
10553 fi | 10560 fi |
10554 | 10561 |
10555 | 10562 |
10556 if test "$have_motif" = "yes"; then | 10563 if test "$have_motif" = "yes"; then |
10557 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10564 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10558 echo "configure:10559: checking for Lesstif" >&5 | 10565 echo "configure:10566: checking for Lesstif" >&5 |
10559 cat > conftest.$ac_ext <<EOF | 10566 cat > conftest.$ac_ext <<EOF |
10560 #line 10561 "configure" | 10567 #line 10568 "configure" |
10561 #include "confdefs.h" | 10568 #include "confdefs.h" |
10562 #include <Xm/Xm.h> | 10569 #include <Xm/Xm.h> |
10563 #ifdef LESSTIF_VERSION | 10570 #ifdef LESSTIF_VERSION |
10564 yes | 10571 yes |
10565 #endif | 10572 #endif |
10928 | 10935 |
10929 fi | 10936 fi |
10930 | 10937 |
10931 if test "$with_mule" = "yes" ; then | 10938 if test "$with_mule" = "yes" ; then |
10932 echo "checking for Mule-related features" 1>&6 | 10939 echo "checking for Mule-related features" 1>&6 |
10933 echo "configure:10934: checking for Mule-related features" >&5 | 10940 echo "configure:10941: checking for Mule-related features" >&5 |
10934 { test "$extra_verbose" = "yes" && cat << \EOF | 10941 { test "$extra_verbose" = "yes" && cat << \EOF |
10935 Defining MULE | 10942 Defining MULE |
10936 EOF | 10943 EOF |
10937 cat >> confdefs.h <<\EOF | 10944 cat >> confdefs.h <<\EOF |
10938 #define MULE 1 | 10945 #define MULE 1 |
10942 | 10949 |
10943 for ac_hdr in libintl.h | 10950 for ac_hdr in libintl.h |
10944 do | 10951 do |
10945 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10952 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10946 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10953 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10947 echo "configure:10948: checking for $ac_hdr" >&5 | 10954 echo "configure:10955: checking for $ac_hdr" >&5 |
10948 | 10955 |
10949 cat > conftest.$ac_ext <<EOF | 10956 cat > conftest.$ac_ext <<EOF |
10950 #line 10951 "configure" | 10957 #line 10958 "configure" |
10951 #include "confdefs.h" | 10958 #include "confdefs.h" |
10952 #include <$ac_hdr> | 10959 #include <$ac_hdr> |
10953 EOF | 10960 EOF |
10954 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10961 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10955 { (eval echo configure:10956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10962 { (eval echo configure:10963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10956 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10963 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10957 if test -z "$ac_err"; then | 10964 if test -z "$ac_err"; then |
10958 rm -rf conftest* | 10965 rm -rf conftest* |
10959 eval "ac_cv_header_$ac_safe=yes" | 10966 eval "ac_cv_header_$ac_safe=yes" |
10960 else | 10967 else |
10981 fi | 10988 fi |
10982 done | 10989 done |
10983 | 10990 |
10984 | 10991 |
10985 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 10992 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
10986 echo "configure:10987: checking for strerror in -lintl" >&5 | 10993 echo "configure:10994: checking for strerror in -lintl" >&5 |
10987 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 10994 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
10988 | 10995 |
10989 xe_check_libs=" -lintl " | 10996 xe_check_libs=" -lintl " |
10990 cat > conftest.$ac_ext <<EOF | 10997 cat > conftest.$ac_ext <<EOF |
10991 #line 10992 "configure" | 10998 #line 10999 "configure" |
10992 #include "confdefs.h" | 10999 #include "confdefs.h" |
10993 /* Override any gcc2 internal prototype to avoid an error. */ | 11000 /* Override any gcc2 internal prototype to avoid an error. */ |
10994 /* We use char because int might match the return type of a gcc2 | 11001 /* We use char because int might match the return type of a gcc2 |
10995 builtin and then its argument prototype would still apply. */ | 11002 builtin and then its argument prototype would still apply. */ |
10996 char strerror(); | 11003 char strerror(); |
10997 | 11004 |
10998 int main() { | 11005 int main() { |
10999 strerror() | 11006 strerror() |
11000 ; return 0; } | 11007 ; return 0; } |
11001 EOF | 11008 EOF |
11002 if { (eval echo configure:11003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11009 if { (eval echo configure:11010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11003 rm -rf conftest* | 11010 rm -rf conftest* |
11004 eval "ac_cv_lib_$ac_lib_var=yes" | 11011 eval "ac_cv_lib_$ac_lib_var=yes" |
11005 else | 11012 else |
11006 echo "configure: failed program was:" >&5 | 11013 echo "configure: failed program was:" >&5 |
11007 cat conftest.$ac_ext >&5 | 11014 cat conftest.$ac_ext >&5 |
11030 fi | 11037 fi |
11031 | 11038 |
11032 | 11039 |
11033 | 11040 |
11034 echo "checking for Mule input methods" 1>&6 | 11041 echo "checking for Mule input methods" 1>&6 |
11035 echo "configure:11036: checking for Mule input methods" >&5 | 11042 echo "configure:11043: checking for Mule input methods" >&5 |
11036 case "$with_xim" in "" | "yes" ) | 11043 case "$with_xim" in "" | "yes" ) |
11037 echo "checking for XIM" 1>&6 | 11044 echo "checking for XIM" 1>&6 |
11038 echo "configure:11039: checking for XIM" >&5 | 11045 echo "configure:11046: checking for XIM" >&5 |
11039 | 11046 |
11040 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11047 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11041 echo "configure:11042: checking for XOpenIM in -lX11" >&5 | 11048 echo "configure:11049: checking for XOpenIM in -lX11" >&5 |
11042 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11049 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11043 | 11050 |
11044 xe_check_libs=" -lX11 " | 11051 xe_check_libs=" -lX11 " |
11045 cat > conftest.$ac_ext <<EOF | 11052 cat > conftest.$ac_ext <<EOF |
11046 #line 11047 "configure" | 11053 #line 11054 "configure" |
11047 #include "confdefs.h" | 11054 #include "confdefs.h" |
11048 /* Override any gcc2 internal prototype to avoid an error. */ | 11055 /* Override any gcc2 internal prototype to avoid an error. */ |
11049 /* We use char because int might match the return type of a gcc2 | 11056 /* We use char because int might match the return type of a gcc2 |
11050 builtin and then its argument prototype would still apply. */ | 11057 builtin and then its argument prototype would still apply. */ |
11051 char XOpenIM(); | 11058 char XOpenIM(); |
11052 | 11059 |
11053 int main() { | 11060 int main() { |
11054 XOpenIM() | 11061 XOpenIM() |
11055 ; return 0; } | 11062 ; return 0; } |
11056 EOF | 11063 EOF |
11057 if { (eval echo configure:11058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11064 if { (eval echo configure:11065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11058 rm -rf conftest* | 11065 rm -rf conftest* |
11059 eval "ac_cv_lib_$ac_lib_var=yes" | 11066 eval "ac_cv_lib_$ac_lib_var=yes" |
11060 else | 11067 else |
11061 echo "configure: failed program was:" >&5 | 11068 echo "configure: failed program was:" >&5 |
11062 cat conftest.$ac_ext >&5 | 11069 cat conftest.$ac_ext >&5 |
11076 | 11083 |
11077 | 11084 |
11078 if test "$have_motif $have_lesstif" = "yes no"; then | 11085 if test "$have_motif $have_lesstif" = "yes no"; then |
11079 | 11086 |
11080 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11087 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11081 echo "configure:11082: checking for XmImMbLookupString in -lXm" >&5 | 11088 echo "configure:11089: checking for XmImMbLookupString in -lXm" >&5 |
11082 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11089 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11083 | 11090 |
11084 xe_check_libs=" -lXm " | 11091 xe_check_libs=" -lXm " |
11085 cat > conftest.$ac_ext <<EOF | 11092 cat > conftest.$ac_ext <<EOF |
11086 #line 11087 "configure" | 11093 #line 11094 "configure" |
11087 #include "confdefs.h" | 11094 #include "confdefs.h" |
11088 /* Override any gcc2 internal prototype to avoid an error. */ | 11095 /* Override any gcc2 internal prototype to avoid an error. */ |
11089 /* We use char because int might match the return type of a gcc2 | 11096 /* We use char because int might match the return type of a gcc2 |
11090 builtin and then its argument prototype would still apply. */ | 11097 builtin and then its argument prototype would still apply. */ |
11091 char XmImMbLookupString(); | 11098 char XmImMbLookupString(); |
11092 | 11099 |
11093 int main() { | 11100 int main() { |
11094 XmImMbLookupString() | 11101 XmImMbLookupString() |
11095 ; return 0; } | 11102 ; return 0; } |
11096 EOF | 11103 EOF |
11097 if { (eval echo configure:11098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11104 if { (eval echo configure:11105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11098 rm -rf conftest* | 11105 rm -rf conftest* |
11099 eval "ac_cv_lib_$ac_lib_var=yes" | 11106 eval "ac_cv_lib_$ac_lib_var=yes" |
11100 else | 11107 else |
11101 echo "configure: failed program was:" >&5 | 11108 echo "configure: failed program was:" >&5 |
11102 cat conftest.$ac_ext >&5 | 11109 cat conftest.$ac_ext >&5 |
11157 fi | 11164 fi |
11158 fi | 11165 fi |
11159 | 11166 |
11160 if test "$with_xfs" = "yes" ; then | 11167 if test "$with_xfs" = "yes" ; then |
11161 echo "checking for XFontSet" 1>&6 | 11168 echo "checking for XFontSet" 1>&6 |
11162 echo "configure:11163: checking for XFontSet" >&5 | 11169 echo "configure:11170: checking for XFontSet" >&5 |
11163 | 11170 |
11164 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11171 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11165 echo "configure:11166: checking for XmbDrawString in -lX11" >&5 | 11172 echo "configure:11173: checking for XmbDrawString in -lX11" >&5 |
11166 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11173 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11167 | 11174 |
11168 xe_check_libs=" -lX11 " | 11175 xe_check_libs=" -lX11 " |
11169 cat > conftest.$ac_ext <<EOF | 11176 cat > conftest.$ac_ext <<EOF |
11170 #line 11171 "configure" | 11177 #line 11178 "configure" |
11171 #include "confdefs.h" | 11178 #include "confdefs.h" |
11172 /* Override any gcc2 internal prototype to avoid an error. */ | 11179 /* Override any gcc2 internal prototype to avoid an error. */ |
11173 /* We use char because int might match the return type of a gcc2 | 11180 /* We use char because int might match the return type of a gcc2 |
11174 builtin and then its argument prototype would still apply. */ | 11181 builtin and then its argument prototype would still apply. */ |
11175 char XmbDrawString(); | 11182 char XmbDrawString(); |
11176 | 11183 |
11177 int main() { | 11184 int main() { |
11178 XmbDrawString() | 11185 XmbDrawString() |
11179 ; return 0; } | 11186 ; return 0; } |
11180 EOF | 11187 EOF |
11181 if { (eval echo configure:11182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11188 if { (eval echo configure:11189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11182 rm -rf conftest* | 11189 rm -rf conftest* |
11183 eval "ac_cv_lib_$ac_lib_var=yes" | 11190 eval "ac_cv_lib_$ac_lib_var=yes" |
11184 else | 11191 else |
11185 echo "configure: failed program was:" >&5 | 11192 echo "configure: failed program was:" >&5 |
11186 cat conftest.$ac_ext >&5 | 11193 cat conftest.$ac_ext >&5 |
11216 fi | 11223 fi |
11217 fi | 11224 fi |
11218 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11225 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11219 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11226 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11220 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11227 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11221 echo "configure:11222: checking for wnn/jllib.h" >&5 | 11228 echo "configure:11229: checking for wnn/jllib.h" >&5 |
11222 | 11229 |
11223 cat > conftest.$ac_ext <<EOF | 11230 cat > conftest.$ac_ext <<EOF |
11224 #line 11225 "configure" | 11231 #line 11232 "configure" |
11225 #include "confdefs.h" | 11232 #include "confdefs.h" |
11226 #include <wnn/jllib.h> | 11233 #include <wnn/jllib.h> |
11227 EOF | 11234 EOF |
11228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11229 { (eval echo configure:11230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11236 { (eval echo configure:11237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11237 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11231 if test -z "$ac_err"; then | 11238 if test -z "$ac_err"; then |
11232 rm -rf conftest* | 11239 rm -rf conftest* |
11233 eval "ac_cv_header_$ac_safe=yes" | 11240 eval "ac_cv_header_$ac_safe=yes" |
11234 else | 11241 else |
11247 with_wnn=no | 11254 with_wnn=no |
11248 fi | 11255 fi |
11249 } | 11256 } |
11250 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11257 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11251 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11258 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11252 echo "configure:11253: checking for wnn/commonhd.h" >&5 | 11259 echo "configure:11260: checking for wnn/commonhd.h" >&5 |
11253 | 11260 |
11254 cat > conftest.$ac_ext <<EOF | 11261 cat > conftest.$ac_ext <<EOF |
11255 #line 11256 "configure" | 11262 #line 11263 "configure" |
11256 #include "confdefs.h" | 11263 #include "confdefs.h" |
11257 #include <wnn/commonhd.h> | 11264 #include <wnn/commonhd.h> |
11258 EOF | 11265 EOF |
11259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11260 { (eval echo configure:11261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11267 { (eval echo configure:11268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11268 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11262 if test -z "$ac_err"; then | 11269 if test -z "$ac_err"; then |
11263 rm -rf conftest* | 11270 rm -rf conftest* |
11264 eval "ac_cv_header_$ac_safe=yes" | 11271 eval "ac_cv_header_$ac_safe=yes" |
11265 else | 11272 else |
11280 } | 11287 } |
11281 if test "$with_wnn" != "no"; then | 11288 if test "$with_wnn" != "no"; then |
11282 for ac_func in crypt | 11289 for ac_func in crypt |
11283 do | 11290 do |
11284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11285 echo "configure:11286: checking for $ac_func" >&5 | 11292 echo "configure:11293: checking for $ac_func" >&5 |
11286 | 11293 |
11287 cat > conftest.$ac_ext <<EOF | 11294 cat > conftest.$ac_ext <<EOF |
11288 #line 11289 "configure" | 11295 #line 11296 "configure" |
11289 #include "confdefs.h" | 11296 #include "confdefs.h" |
11290 /* System header to define __stub macros and hopefully few prototypes, | 11297 /* System header to define __stub macros and hopefully few prototypes, |
11291 which can conflict with char $ac_func(); below. */ | 11298 which can conflict with char $ac_func(); below. */ |
11292 #include <assert.h> | 11299 #include <assert.h> |
11293 /* Override any gcc2 internal prototype to avoid an error. */ | 11300 /* Override any gcc2 internal prototype to avoid an error. */ |
11306 $ac_func(); | 11313 $ac_func(); |
11307 #endif | 11314 #endif |
11308 | 11315 |
11309 ; return 0; } | 11316 ; return 0; } |
11310 EOF | 11317 EOF |
11311 if { (eval echo configure:11312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11318 if { (eval echo configure:11319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11312 rm -rf conftest* | 11319 rm -rf conftest* |
11313 eval "ac_cv_func_$ac_func=yes" | 11320 eval "ac_cv_func_$ac_func=yes" |
11314 else | 11321 else |
11315 echo "configure: failed program was:" >&5 | 11322 echo "configure: failed program was:" >&5 |
11316 cat conftest.$ac_ext >&5 | 11323 cat conftest.$ac_ext >&5 |
11335 fi | 11342 fi |
11336 done | 11343 done |
11337 | 11344 |
11338 test "$ac_cv_func_crypt" != "yes" && { | 11345 test "$ac_cv_func_crypt" != "yes" && { |
11339 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11346 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11340 echo "configure:11341: checking for crypt in -lcrypt" >&5 | 11347 echo "configure:11348: checking for crypt in -lcrypt" >&5 |
11341 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11348 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11342 | 11349 |
11343 xe_check_libs=" -lcrypt " | 11350 xe_check_libs=" -lcrypt " |
11344 cat > conftest.$ac_ext <<EOF | 11351 cat > conftest.$ac_ext <<EOF |
11345 #line 11346 "configure" | 11352 #line 11353 "configure" |
11346 #include "confdefs.h" | 11353 #include "confdefs.h" |
11347 /* Override any gcc2 internal prototype to avoid an error. */ | 11354 /* Override any gcc2 internal prototype to avoid an error. */ |
11348 /* We use char because int might match the return type of a gcc2 | 11355 /* We use char because int might match the return type of a gcc2 |
11349 builtin and then its argument prototype would still apply. */ | 11356 builtin and then its argument prototype would still apply. */ |
11350 char crypt(); | 11357 char crypt(); |
11351 | 11358 |
11352 int main() { | 11359 int main() { |
11353 crypt() | 11360 crypt() |
11354 ; return 0; } | 11361 ; return 0; } |
11355 EOF | 11362 EOF |
11356 if { (eval echo configure:11357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11363 if { (eval echo configure:11364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11357 rm -rf conftest* | 11364 rm -rf conftest* |
11358 eval "ac_cv_lib_$ac_lib_var=yes" | 11365 eval "ac_cv_lib_$ac_lib_var=yes" |
11359 else | 11366 else |
11360 echo "configure: failed program was:" >&5 | 11367 echo "configure: failed program was:" >&5 |
11361 cat conftest.$ac_ext >&5 | 11368 cat conftest.$ac_ext >&5 |
11386 } | 11393 } |
11387 fi | 11394 fi |
11388 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11395 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11389 | 11396 |
11390 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11397 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11391 echo "configure:11392: checking for jl_dic_list_e in -lwnn" >&5 | 11398 echo "configure:11399: checking for jl_dic_list_e in -lwnn" >&5 |
11392 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11399 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11393 | 11400 |
11394 xe_check_libs=" -lwnn " | 11401 xe_check_libs=" -lwnn " |
11395 cat > conftest.$ac_ext <<EOF | 11402 cat > conftest.$ac_ext <<EOF |
11396 #line 11397 "configure" | 11403 #line 11404 "configure" |
11397 #include "confdefs.h" | 11404 #include "confdefs.h" |
11398 /* Override any gcc2 internal prototype to avoid an error. */ | 11405 /* Override any gcc2 internal prototype to avoid an error. */ |
11399 /* We use char because int might match the return type of a gcc2 | 11406 /* We use char because int might match the return type of a gcc2 |
11400 builtin and then its argument prototype would still apply. */ | 11407 builtin and then its argument prototype would still apply. */ |
11401 char jl_dic_list_e(); | 11408 char jl_dic_list_e(); |
11402 | 11409 |
11403 int main() { | 11410 int main() { |
11404 jl_dic_list_e() | 11411 jl_dic_list_e() |
11405 ; return 0; } | 11412 ; return 0; } |
11406 EOF | 11413 EOF |
11407 if { (eval echo configure:11408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11414 if { (eval echo configure:11415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11408 rm -rf conftest* | 11415 rm -rf conftest* |
11409 eval "ac_cv_lib_$ac_lib_var=yes" | 11416 eval "ac_cv_lib_$ac_lib_var=yes" |
11410 else | 11417 else |
11411 echo "configure: failed program was:" >&5 | 11418 echo "configure: failed program was:" >&5 |
11412 cat conftest.$ac_ext >&5 | 11419 cat conftest.$ac_ext >&5 |
11420 echo "$ac_t""yes" 1>&6 | 11427 echo "$ac_t""yes" 1>&6 |
11421 libwnn=wnn | 11428 libwnn=wnn |
11422 else | 11429 else |
11423 echo "$ac_t""no" 1>&6 | 11430 echo "$ac_t""no" 1>&6 |
11424 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11431 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11425 echo "configure:11426: checking for jl_dic_list_e in -lwnn4" >&5 | 11432 echo "configure:11433: checking for jl_dic_list_e in -lwnn4" >&5 |
11426 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11433 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11427 | 11434 |
11428 xe_check_libs=" -lwnn4 " | 11435 xe_check_libs=" -lwnn4 " |
11429 cat > conftest.$ac_ext <<EOF | 11436 cat > conftest.$ac_ext <<EOF |
11430 #line 11431 "configure" | 11437 #line 11438 "configure" |
11431 #include "confdefs.h" | 11438 #include "confdefs.h" |
11432 /* Override any gcc2 internal prototype to avoid an error. */ | 11439 /* Override any gcc2 internal prototype to avoid an error. */ |
11433 /* We use char because int might match the return type of a gcc2 | 11440 /* We use char because int might match the return type of a gcc2 |
11434 builtin and then its argument prototype would still apply. */ | 11441 builtin and then its argument prototype would still apply. */ |
11435 char jl_dic_list_e(); | 11442 char jl_dic_list_e(); |
11436 | 11443 |
11437 int main() { | 11444 int main() { |
11438 jl_dic_list_e() | 11445 jl_dic_list_e() |
11439 ; return 0; } | 11446 ; return 0; } |
11440 EOF | 11447 EOF |
11441 if { (eval echo configure:11442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11448 if { (eval echo configure:11449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11442 rm -rf conftest* | 11449 rm -rf conftest* |
11443 eval "ac_cv_lib_$ac_lib_var=yes" | 11450 eval "ac_cv_lib_$ac_lib_var=yes" |
11444 else | 11451 else |
11445 echo "configure: failed program was:" >&5 | 11452 echo "configure: failed program was:" >&5 |
11446 cat conftest.$ac_ext >&5 | 11453 cat conftest.$ac_ext >&5 |
11454 echo "$ac_t""yes" 1>&6 | 11461 echo "$ac_t""yes" 1>&6 |
11455 libwnn=wnn4 | 11462 libwnn=wnn4 |
11456 else | 11463 else |
11457 echo "$ac_t""no" 1>&6 | 11464 echo "$ac_t""no" 1>&6 |
11458 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11465 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11459 echo "configure:11460: checking for jl_dic_list_e in -lwnn6" >&5 | 11466 echo "configure:11467: checking for jl_dic_list_e in -lwnn6" >&5 |
11460 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11467 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11461 | 11468 |
11462 xe_check_libs=" -lwnn6 " | 11469 xe_check_libs=" -lwnn6 " |
11463 cat > conftest.$ac_ext <<EOF | 11470 cat > conftest.$ac_ext <<EOF |
11464 #line 11465 "configure" | 11471 #line 11472 "configure" |
11465 #include "confdefs.h" | 11472 #include "confdefs.h" |
11466 /* Override any gcc2 internal prototype to avoid an error. */ | 11473 /* Override any gcc2 internal prototype to avoid an error. */ |
11467 /* We use char because int might match the return type of a gcc2 | 11474 /* We use char because int might match the return type of a gcc2 |
11468 builtin and then its argument prototype would still apply. */ | 11475 builtin and then its argument prototype would still apply. */ |
11469 char jl_dic_list_e(); | 11476 char jl_dic_list_e(); |
11470 | 11477 |
11471 int main() { | 11478 int main() { |
11472 jl_dic_list_e() | 11479 jl_dic_list_e() |
11473 ; return 0; } | 11480 ; return 0; } |
11474 EOF | 11481 EOF |
11475 if { (eval echo configure:11476: \"$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 |
11476 rm -rf conftest* | 11483 rm -rf conftest* |
11477 eval "ac_cv_lib_$ac_lib_var=yes" | 11484 eval "ac_cv_lib_$ac_lib_var=yes" |
11478 else | 11485 else |
11479 echo "configure: failed program was:" >&5 | 11486 echo "configure: failed program was:" >&5 |
11480 cat conftest.$ac_ext >&5 | 11487 cat conftest.$ac_ext >&5 |
11488 echo "$ac_t""yes" 1>&6 | 11495 echo "$ac_t""yes" 1>&6 |
11489 libwnn=wnn6 | 11496 libwnn=wnn6 |
11490 else | 11497 else |
11491 echo "$ac_t""no" 1>&6 | 11498 echo "$ac_t""no" 1>&6 |
11492 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11499 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11493 echo "configure:11494: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11500 echo "configure:11501: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11494 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11501 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11495 | 11502 |
11496 xe_check_libs=" -lwnn6_fromsrc " | 11503 xe_check_libs=" -lwnn6_fromsrc " |
11497 cat > conftest.$ac_ext <<EOF | 11504 cat > conftest.$ac_ext <<EOF |
11498 #line 11499 "configure" | 11505 #line 11506 "configure" |
11499 #include "confdefs.h" | 11506 #include "confdefs.h" |
11500 /* Override any gcc2 internal prototype to avoid an error. */ | 11507 /* Override any gcc2 internal prototype to avoid an error. */ |
11501 /* We use char because int might match the return type of a gcc2 | 11508 /* We use char because int might match the return type of a gcc2 |
11502 builtin and then its argument prototype would still apply. */ | 11509 builtin and then its argument prototype would still apply. */ |
11503 char dic_list_e(); | 11510 char dic_list_e(); |
11504 | 11511 |
11505 int main() { | 11512 int main() { |
11506 dic_list_e() | 11513 dic_list_e() |
11507 ; return 0; } | 11514 ; return 0; } |
11508 EOF | 11515 EOF |
11509 if { (eval echo configure:11510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11516 if { (eval echo configure:11517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11510 rm -rf conftest* | 11517 rm -rf conftest* |
11511 eval "ac_cv_lib_$ac_lib_var=yes" | 11518 eval "ac_cv_lib_$ac_lib_var=yes" |
11512 else | 11519 else |
11513 echo "configure: failed program was:" >&5 | 11520 echo "configure: failed program was:" >&5 |
11514 cat conftest.$ac_ext >&5 | 11521 cat conftest.$ac_ext >&5 |
11549 | 11556 |
11550 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11557 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11551 if test "$with_wnn6" != "no"; then | 11558 if test "$with_wnn6" != "no"; then |
11552 | 11559 |
11553 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11560 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11554 echo "configure:11555: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11561 echo "configure:11562: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11555 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11562 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11556 | 11563 |
11557 xe_check_libs=" -l$libwnn " | 11564 xe_check_libs=" -l$libwnn " |
11558 cat > conftest.$ac_ext <<EOF | 11565 cat > conftest.$ac_ext <<EOF |
11559 #line 11560 "configure" | 11566 #line 11567 "configure" |
11560 #include "confdefs.h" | 11567 #include "confdefs.h" |
11561 /* Override any gcc2 internal prototype to avoid an error. */ | 11568 /* Override any gcc2 internal prototype to avoid an error. */ |
11562 /* We use char because int might match the return type of a gcc2 | 11569 /* We use char because int might match the return type of a gcc2 |
11563 builtin and then its argument prototype would still apply. */ | 11570 builtin and then its argument prototype would still apply. */ |
11564 char jl_fi_dic_list(); | 11571 char jl_fi_dic_list(); |
11565 | 11572 |
11566 int main() { | 11573 int main() { |
11567 jl_fi_dic_list() | 11574 jl_fi_dic_list() |
11568 ; return 0; } | 11575 ; return 0; } |
11569 EOF | 11576 EOF |
11570 if { (eval echo configure:11571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11577 if { (eval echo configure:11578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11571 rm -rf conftest* | 11578 rm -rf conftest* |
11572 eval "ac_cv_lib_$ac_lib_var=yes" | 11579 eval "ac_cv_lib_$ac_lib_var=yes" |
11573 else | 11580 else |
11574 echo "configure: failed program was:" >&5 | 11581 echo "configure: failed program was:" >&5 |
11575 cat conftest.$ac_ext >&5 | 11582 cat conftest.$ac_ext >&5 |
11600 | 11607 |
11601 canna_includes_found=no | 11608 canna_includes_found=no |
11602 if test "$with_canna" != "no"; then | 11609 if test "$with_canna" != "no"; then |
11603 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11610 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11604 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11611 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11605 echo "configure:11606: checking for canna/jrkanji.h" >&5 | 11612 echo "configure:11613: checking for canna/jrkanji.h" >&5 |
11606 | 11613 |
11607 cat > conftest.$ac_ext <<EOF | 11614 cat > conftest.$ac_ext <<EOF |
11608 #line 11609 "configure" | 11615 #line 11616 "configure" |
11609 #include "confdefs.h" | 11616 #include "confdefs.h" |
11610 #include <canna/jrkanji.h> | 11617 #include <canna/jrkanji.h> |
11611 EOF | 11618 EOF |
11612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11619 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11613 { (eval echo configure:11614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11620 { (eval echo configure:11621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11621 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11615 if test -z "$ac_err"; then | 11622 if test -z "$ac_err"; then |
11616 rm -rf conftest* | 11623 rm -rf conftest* |
11617 eval "ac_cv_header_$ac_safe=yes" | 11624 eval "ac_cv_header_$ac_safe=yes" |
11618 else | 11625 else |
11635 -d "/usr/local/canna/include"; then | 11642 -d "/usr/local/canna/include"; then |
11636 save_c_switch_site="$c_switch_site" | 11643 save_c_switch_site="$c_switch_site" |
11637 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11644 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11638 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11645 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11639 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11646 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11640 echo "configure:11641: checking for canna/jrkanji.h" >&5 | 11647 echo "configure:11648: checking for canna/jrkanji.h" >&5 |
11641 | 11648 |
11642 cat > conftest.$ac_ext <<EOF | 11649 cat > conftest.$ac_ext <<EOF |
11643 #line 11644 "configure" | 11650 #line 11651 "configure" |
11644 #include "confdefs.h" | 11651 #include "confdefs.h" |
11645 #include <canna/jrkanji.h> | 11652 #include <canna/jrkanji.h> |
11646 EOF | 11653 EOF |
11647 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11654 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11648 { (eval echo configure:11649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11655 { (eval echo configure:11656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11649 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11656 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11650 if test -z "$ac_err"; then | 11657 if test -z "$ac_err"; then |
11651 rm -rf conftest* | 11658 rm -rf conftest* |
11652 eval "ac_cv_header_$ac_safe=yes" | 11659 eval "ac_cv_header_$ac_safe=yes" |
11653 else | 11660 else |
11671 fi | 11678 fi |
11672 fi | 11679 fi |
11673 | 11680 |
11674 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11681 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11675 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11682 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11676 echo "configure:11677: checking for canna/RK.h" >&5 | 11683 echo "configure:11684: checking for canna/RK.h" >&5 |
11677 | 11684 |
11678 cat > conftest.$ac_ext <<EOF | 11685 cat > conftest.$ac_ext <<EOF |
11679 #line 11680 "configure" | 11686 #line 11687 "configure" |
11680 #include "confdefs.h" | 11687 #include "confdefs.h" |
11681 #include <canna/RK.h> | 11688 #include <canna/RK.h> |
11682 EOF | 11689 EOF |
11683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11690 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11684 { (eval echo configure:11685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11691 { (eval echo configure:11692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11692 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11686 if test -z "$ac_err"; then | 11693 if test -z "$ac_err"; then |
11687 rm -rf conftest* | 11694 rm -rf conftest* |
11688 eval "ac_cv_header_$ac_safe=yes" | 11695 eval "ac_cv_header_$ac_safe=yes" |
11689 else | 11696 else |
11702 with_canna=no | 11709 with_canna=no |
11703 fi | 11710 fi |
11704 } | 11711 } |
11705 test -z "$with_canna" && { | 11712 test -z "$with_canna" && { |
11706 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11713 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11707 echo "configure:11708: checking for RkBgnBun in -lRKC" >&5 | 11714 echo "configure:11715: checking for RkBgnBun in -lRKC" >&5 |
11708 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11715 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11709 | 11716 |
11710 xe_check_libs=" -lRKC " | 11717 xe_check_libs=" -lRKC " |
11711 cat > conftest.$ac_ext <<EOF | 11718 cat > conftest.$ac_ext <<EOF |
11712 #line 11713 "configure" | 11719 #line 11720 "configure" |
11713 #include "confdefs.h" | 11720 #include "confdefs.h" |
11714 /* Override any gcc2 internal prototype to avoid an error. */ | 11721 /* Override any gcc2 internal prototype to avoid an error. */ |
11715 /* We use char because int might match the return type of a gcc2 | 11722 /* We use char because int might match the return type of a gcc2 |
11716 builtin and then its argument prototype would still apply. */ | 11723 builtin and then its argument prototype would still apply. */ |
11717 char RkBgnBun(); | 11724 char RkBgnBun(); |
11718 | 11725 |
11719 int main() { | 11726 int main() { |
11720 RkBgnBun() | 11727 RkBgnBun() |
11721 ; return 0; } | 11728 ; return 0; } |
11722 EOF | 11729 EOF |
11723 if { (eval echo configure:11724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11730 if { (eval echo configure:11731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11724 rm -rf conftest* | 11731 rm -rf conftest* |
11725 eval "ac_cv_lib_$ac_lib_var=yes" | 11732 eval "ac_cv_lib_$ac_lib_var=yes" |
11726 else | 11733 else |
11727 echo "configure: failed program was:" >&5 | 11734 echo "configure: failed program was:" >&5 |
11728 cat conftest.$ac_ext >&5 | 11735 cat conftest.$ac_ext >&5 |
11741 fi | 11748 fi |
11742 | 11749 |
11743 } | 11750 } |
11744 test -z "$with_canna" && { | 11751 test -z "$with_canna" && { |
11745 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11752 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11746 echo "configure:11747: checking for jrKanjiControl in -lcanna" >&5 | 11753 echo "configure:11754: checking for jrKanjiControl in -lcanna" >&5 |
11747 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11754 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11748 | 11755 |
11749 xe_check_libs=" -lcanna " | 11756 xe_check_libs=" -lcanna " |
11750 cat > conftest.$ac_ext <<EOF | 11757 cat > conftest.$ac_ext <<EOF |
11751 #line 11752 "configure" | 11758 #line 11759 "configure" |
11752 #include "confdefs.h" | 11759 #include "confdefs.h" |
11753 /* Override any gcc2 internal prototype to avoid an error. */ | 11760 /* Override any gcc2 internal prototype to avoid an error. */ |
11754 /* We use char because int might match the return type of a gcc2 | 11761 /* We use char because int might match the return type of a gcc2 |
11755 builtin and then its argument prototype would still apply. */ | 11762 builtin and then its argument prototype would still apply. */ |
11756 char jrKanjiControl(); | 11763 char jrKanjiControl(); |
11757 | 11764 |
11758 int main() { | 11765 int main() { |
11759 jrKanjiControl() | 11766 jrKanjiControl() |
11760 ; return 0; } | 11767 ; return 0; } |
11761 EOF | 11768 EOF |
11762 if { (eval echo configure:11763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11769 if { (eval echo configure:11770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11763 rm -rf conftest* | 11770 rm -rf conftest* |
11764 eval "ac_cv_lib_$ac_lib_var=yes" | 11771 eval "ac_cv_lib_$ac_lib_var=yes" |
11765 else | 11772 else |
11766 echo "configure: failed program was:" >&5 | 11773 echo "configure: failed program was:" >&5 |
11767 cat conftest.$ac_ext >&5 | 11774 cat conftest.$ac_ext >&5 |
11803 | 11810 |
11804 if test "$need_motif" = "yes" ; then | 11811 if test "$need_motif" = "yes" ; then |
11805 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11812 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11806 | 11813 |
11807 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11814 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11808 echo "configure:11809: checking for layout_object_getvalue in -li18n" >&5 | 11815 echo "configure:11816: checking for layout_object_getvalue in -li18n" >&5 |
11809 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11816 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11810 | 11817 |
11811 xe_check_libs=" -li18n " | 11818 xe_check_libs=" -li18n " |
11812 cat > conftest.$ac_ext <<EOF | 11819 cat > conftest.$ac_ext <<EOF |
11813 #line 11814 "configure" | 11820 #line 11821 "configure" |
11814 #include "confdefs.h" | 11821 #include "confdefs.h" |
11815 /* Override any gcc2 internal prototype to avoid an error. */ | 11822 /* Override any gcc2 internal prototype to avoid an error. */ |
11816 /* We use char because int might match the return type of a gcc2 | 11823 /* We use char because int might match the return type of a gcc2 |
11817 builtin and then its argument prototype would still apply. */ | 11824 builtin and then its argument prototype would still apply. */ |
11818 char layout_object_getvalue(); | 11825 char layout_object_getvalue(); |
11819 | 11826 |
11820 int main() { | 11827 int main() { |
11821 layout_object_getvalue() | 11828 layout_object_getvalue() |
11822 ; return 0; } | 11829 ; return 0; } |
11823 EOF | 11830 EOF |
11824 if { (eval echo configure:11825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11831 if { (eval echo configure:11832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11825 rm -rf conftest* | 11832 rm -rf conftest* |
11826 eval "ac_cv_lib_$ac_lib_var=yes" | 11833 eval "ac_cv_lib_$ac_lib_var=yes" |
11827 else | 11834 else |
11828 echo "configure: failed program was:" >&5 | 11835 echo "configure: failed program was:" >&5 |
11829 cat conftest.$ac_ext >&5 | 11836 cat conftest.$ac_ext >&5 |
11906 | 11913 |
11907 | 11914 |
11908 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 11915 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
11909 do | 11916 do |
11910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11911 echo "configure:11912: checking for $ac_func" >&5 | 11918 echo "configure:11919: checking for $ac_func" >&5 |
11912 | 11919 |
11913 cat > conftest.$ac_ext <<EOF | 11920 cat > conftest.$ac_ext <<EOF |
11914 #line 11915 "configure" | 11921 #line 11922 "configure" |
11915 #include "confdefs.h" | 11922 #include "confdefs.h" |
11916 /* System header to define __stub macros and hopefully few prototypes, | 11923 /* System header to define __stub macros and hopefully few prototypes, |
11917 which can conflict with char $ac_func(); below. */ | 11924 which can conflict with char $ac_func(); below. */ |
11918 #include <assert.h> | 11925 #include <assert.h> |
11919 /* Override any gcc2 internal prototype to avoid an error. */ | 11926 /* Override any gcc2 internal prototype to avoid an error. */ |
11932 $ac_func(); | 11939 $ac_func(); |
11933 #endif | 11940 #endif |
11934 | 11941 |
11935 ; return 0; } | 11942 ; return 0; } |
11936 EOF | 11943 EOF |
11937 if { (eval echo configure:11938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11944 if { (eval echo configure:11945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11938 rm -rf conftest* | 11945 rm -rf conftest* |
11939 eval "ac_cv_func_$ac_func=yes" | 11946 eval "ac_cv_func_$ac_func=yes" |
11940 else | 11947 else |
11941 echo "configure: failed program was:" >&5 | 11948 echo "configure: failed program was:" >&5 |
11942 cat conftest.$ac_ext >&5 | 11949 cat conftest.$ac_ext >&5 |
11973 | 11980 |
11974 | 11981 |
11975 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 11982 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
11976 do | 11983 do |
11977 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11984 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11978 echo "configure:11979: checking for $ac_func" >&5 | 11985 echo "configure:11986: checking for $ac_func" >&5 |
11979 | 11986 |
11980 cat > conftest.$ac_ext <<EOF | 11987 cat > conftest.$ac_ext <<EOF |
11981 #line 11982 "configure" | 11988 #line 11989 "configure" |
11982 #include "confdefs.h" | 11989 #include "confdefs.h" |
11983 /* System header to define __stub macros and hopefully few prototypes, | 11990 /* System header to define __stub macros and hopefully few prototypes, |
11984 which can conflict with char $ac_func(); below. */ | 11991 which can conflict with char $ac_func(); below. */ |
11985 #include <assert.h> | 11992 #include <assert.h> |
11986 /* Override any gcc2 internal prototype to avoid an error. */ | 11993 /* Override any gcc2 internal prototype to avoid an error. */ |
11999 $ac_func(); | 12006 $ac_func(); |
12000 #endif | 12007 #endif |
12001 | 12008 |
12002 ; return 0; } | 12009 ; return 0; } |
12003 EOF | 12010 EOF |
12004 if { (eval echo configure:12005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12011 if { (eval echo configure:12012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12005 rm -rf conftest* | 12012 rm -rf conftest* |
12006 eval "ac_cv_func_$ac_func=yes" | 12013 eval "ac_cv_func_$ac_func=yes" |
12007 else | 12014 else |
12008 echo "configure: failed program was:" >&5 | 12015 echo "configure: failed program was:" >&5 |
12009 cat conftest.$ac_ext >&5 | 12016 cat conftest.$ac_ext >&5 |
12028 fi | 12035 fi |
12029 done | 12036 done |
12030 | 12037 |
12031 | 12038 |
12032 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12039 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12033 echo "configure:12034: checking for openpty" >&5 | 12040 echo "configure:12041: checking for openpty" >&5 |
12034 | 12041 |
12035 cat > conftest.$ac_ext <<EOF | 12042 cat > conftest.$ac_ext <<EOF |
12036 #line 12037 "configure" | 12043 #line 12044 "configure" |
12037 #include "confdefs.h" | 12044 #include "confdefs.h" |
12038 /* System header to define __stub macros and hopefully few prototypes, | 12045 /* System header to define __stub macros and hopefully few prototypes, |
12039 which can conflict with char openpty(); below. */ | 12046 which can conflict with char openpty(); below. */ |
12040 #include <assert.h> | 12047 #include <assert.h> |
12041 /* Override any gcc2 internal prototype to avoid an error. */ | 12048 /* Override any gcc2 internal prototype to avoid an error. */ |
12054 openpty(); | 12061 openpty(); |
12055 #endif | 12062 #endif |
12056 | 12063 |
12057 ; return 0; } | 12064 ; return 0; } |
12058 EOF | 12065 EOF |
12059 if { (eval echo configure:12060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12066 if { (eval echo configure:12067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12060 rm -rf conftest* | 12067 rm -rf conftest* |
12061 eval "ac_cv_func_openpty=yes" | 12068 eval "ac_cv_func_openpty=yes" |
12062 else | 12069 else |
12063 echo "configure: failed program was:" >&5 | 12070 echo "configure: failed program was:" >&5 |
12064 cat conftest.$ac_ext >&5 | 12071 cat conftest.$ac_ext >&5 |
12073 else | 12080 else |
12074 echo "$ac_t""no" 1>&6 | 12081 echo "$ac_t""no" 1>&6 |
12075 | 12082 |
12076 | 12083 |
12077 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12084 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12078 echo "configure:12079: checking for openpty in -lutil" >&5 | 12085 echo "configure:12086: checking for openpty in -lutil" >&5 |
12079 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12086 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12080 | 12087 |
12081 xe_check_libs=" -lutil " | 12088 xe_check_libs=" -lutil " |
12082 cat > conftest.$ac_ext <<EOF | 12089 cat > conftest.$ac_ext <<EOF |
12083 #line 12084 "configure" | 12090 #line 12091 "configure" |
12084 #include "confdefs.h" | 12091 #include "confdefs.h" |
12085 /* Override any gcc2 internal prototype to avoid an error. */ | 12092 /* Override any gcc2 internal prototype to avoid an error. */ |
12086 /* We use char because int might match the return type of a gcc2 | 12093 /* We use char because int might match the return type of a gcc2 |
12087 builtin and then its argument prototype would still apply. */ | 12094 builtin and then its argument prototype would still apply. */ |
12088 char openpty(); | 12095 char openpty(); |
12089 | 12096 |
12090 int main() { | 12097 int main() { |
12091 openpty() | 12098 openpty() |
12092 ; return 0; } | 12099 ; return 0; } |
12093 EOF | 12100 EOF |
12094 if { (eval echo configure:12095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12101 if { (eval echo configure:12102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12095 rm -rf conftest* | 12102 rm -rf conftest* |
12096 eval "ac_cv_lib_$ac_lib_var=yes" | 12103 eval "ac_cv_lib_$ac_lib_var=yes" |
12097 else | 12104 else |
12098 echo "configure: failed program was:" >&5 | 12105 echo "configure: failed program was:" >&5 |
12099 cat conftest.$ac_ext >&5 | 12106 cat conftest.$ac_ext >&5 |
12124 | 12131 |
12125 for ac_hdr in libutil.h util.h | 12132 for ac_hdr in libutil.h util.h |
12126 do | 12133 do |
12127 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12134 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12128 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12135 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12129 echo "configure:12130: checking for $ac_hdr" >&5 | 12136 echo "configure:12137: checking for $ac_hdr" >&5 |
12130 | 12137 |
12131 cat > conftest.$ac_ext <<EOF | 12138 cat > conftest.$ac_ext <<EOF |
12132 #line 12133 "configure" | 12139 #line 12140 "configure" |
12133 #include "confdefs.h" | 12140 #include "confdefs.h" |
12134 #include <$ac_hdr> | 12141 #include <$ac_hdr> |
12135 EOF | 12142 EOF |
12136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12143 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12137 { (eval echo configure:12138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12144 { (eval echo configure:12145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12145 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12139 if test -z "$ac_err"; then | 12146 if test -z "$ac_err"; then |
12140 rm -rf conftest* | 12147 rm -rf conftest* |
12141 eval "ac_cv_header_$ac_safe=yes" | 12148 eval "ac_cv_header_$ac_safe=yes" |
12142 else | 12149 else |
12169 case "$opsys" in | 12176 case "$opsys" in |
12170 hpux*) for ac_hdr in sys/ptyio.h | 12177 hpux*) for ac_hdr in sys/ptyio.h |
12171 do | 12178 do |
12172 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12179 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12173 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12180 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12174 echo "configure:12175: checking for $ac_hdr" >&5 | 12181 echo "configure:12182: checking for $ac_hdr" >&5 |
12175 | 12182 |
12176 cat > conftest.$ac_ext <<EOF | 12183 cat > conftest.$ac_ext <<EOF |
12177 #line 12178 "configure" | 12184 #line 12185 "configure" |
12178 #include "confdefs.h" | 12185 #include "confdefs.h" |
12179 #include <$ac_hdr> | 12186 #include <$ac_hdr> |
12180 EOF | 12187 EOF |
12181 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12182 { (eval echo configure:12183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12189 { (eval echo configure:12190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12183 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12190 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12184 if test -z "$ac_err"; then | 12191 if test -z "$ac_err"; then |
12185 rm -rf conftest* | 12192 rm -rf conftest* |
12186 eval "ac_cv_header_$ac_safe=yes" | 12193 eval "ac_cv_header_$ac_safe=yes" |
12187 else | 12194 else |
12210 ;; | 12217 ;; |
12211 *) for ac_hdr in pty.h | 12218 *) for ac_hdr in pty.h |
12212 do | 12219 do |
12213 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12220 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12214 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12221 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12215 echo "configure:12216: checking for $ac_hdr" >&5 | 12222 echo "configure:12223: checking for $ac_hdr" >&5 |
12216 | 12223 |
12217 cat > conftest.$ac_ext <<EOF | 12224 cat > conftest.$ac_ext <<EOF |
12218 #line 12219 "configure" | 12225 #line 12226 "configure" |
12219 #include "confdefs.h" | 12226 #include "confdefs.h" |
12220 #include <$ac_hdr> | 12227 #include <$ac_hdr> |
12221 EOF | 12228 EOF |
12222 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12223 { (eval echo configure:12224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12230 { (eval echo configure:12231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12224 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12225 if test -z "$ac_err"; then | 12232 if test -z "$ac_err"; then |
12226 rm -rf conftest* | 12233 rm -rf conftest* |
12227 eval "ac_cv_header_$ac_safe=yes" | 12234 eval "ac_cv_header_$ac_safe=yes" |
12228 else | 12235 else |
12251 | 12258 |
12252 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12259 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12253 do | 12260 do |
12254 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12261 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12255 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12262 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12256 echo "configure:12257: checking for $ac_hdr" >&5 | 12263 echo "configure:12264: checking for $ac_hdr" >&5 |
12257 | 12264 |
12258 cat > conftest.$ac_ext <<EOF | 12265 cat > conftest.$ac_ext <<EOF |
12259 #line 12260 "configure" | 12266 #line 12267 "configure" |
12260 #include "confdefs.h" | 12267 #include "confdefs.h" |
12261 #include <$ac_hdr> | 12268 #include <$ac_hdr> |
12262 EOF | 12269 EOF |
12263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12264 { (eval echo configure:12265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12271 { (eval echo configure:12272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12266 if test -z "$ac_err"; then | 12273 if test -z "$ac_err"; then |
12267 rm -rf conftest* | 12274 rm -rf conftest* |
12268 eval "ac_cv_header_$ac_safe=yes" | 12275 eval "ac_cv_header_$ac_safe=yes" |
12269 else | 12276 else |
12295 | 12302 |
12296 for ac_hdr in stropts.h | 12303 for ac_hdr in stropts.h |
12297 do | 12304 do |
12298 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12305 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12299 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12306 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12300 echo "configure:12301: checking for $ac_hdr" >&5 | 12307 echo "configure:12308: checking for $ac_hdr" >&5 |
12301 | 12308 |
12302 cat > conftest.$ac_ext <<EOF | 12309 cat > conftest.$ac_ext <<EOF |
12303 #line 12304 "configure" | 12310 #line 12311 "configure" |
12304 #include "confdefs.h" | 12311 #include "confdefs.h" |
12305 #include <$ac_hdr> | 12312 #include <$ac_hdr> |
12306 EOF | 12313 EOF |
12307 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12314 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12308 { (eval echo configure:12309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12315 { (eval echo configure:12316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12309 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12316 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12310 if test -z "$ac_err"; then | 12317 if test -z "$ac_err"; then |
12311 rm -rf conftest* | 12318 rm -rf conftest* |
12312 eval "ac_cv_header_$ac_safe=yes" | 12319 eval "ac_cv_header_$ac_safe=yes" |
12313 else | 12320 else |
12336 | 12343 |
12337 if test "$ac_cv_header_stropts_h" = "yes"; then | 12344 if test "$ac_cv_header_stropts_h" = "yes"; then |
12338 for ac_func in isastream | 12345 for ac_func in isastream |
12339 do | 12346 do |
12340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12341 echo "configure:12342: checking for $ac_func" >&5 | 12348 echo "configure:12349: checking for $ac_func" >&5 |
12342 | 12349 |
12343 cat > conftest.$ac_ext <<EOF | 12350 cat > conftest.$ac_ext <<EOF |
12344 #line 12345 "configure" | 12351 #line 12352 "configure" |
12345 #include "confdefs.h" | 12352 #include "confdefs.h" |
12346 /* System header to define __stub macros and hopefully few prototypes, | 12353 /* System header to define __stub macros and hopefully few prototypes, |
12347 which can conflict with char $ac_func(); below. */ | 12354 which can conflict with char $ac_func(); below. */ |
12348 #include <assert.h> | 12355 #include <assert.h> |
12349 /* Override any gcc2 internal prototype to avoid an error. */ | 12356 /* Override any gcc2 internal prototype to avoid an error. */ |
12362 $ac_func(); | 12369 $ac_func(); |
12363 #endif | 12370 #endif |
12364 | 12371 |
12365 ; return 0; } | 12372 ; return 0; } |
12366 EOF | 12373 EOF |
12367 if { (eval echo configure:12368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12374 if { (eval echo configure:12375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12368 rm -rf conftest* | 12375 rm -rf conftest* |
12369 eval "ac_cv_func_$ac_func=yes" | 12376 eval "ac_cv_func_$ac_func=yes" |
12370 else | 12377 else |
12371 echo "configure: failed program was:" >&5 | 12378 echo "configure: failed program was:" >&5 |
12372 cat conftest.$ac_ext >&5 | 12379 cat conftest.$ac_ext >&5 |
12393 | 12400 |
12394 for ac_hdr in strtio.h | 12401 for ac_hdr in strtio.h |
12395 do | 12402 do |
12396 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12403 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12397 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12404 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12398 echo "configure:12399: checking for $ac_hdr" >&5 | 12405 echo "configure:12406: checking for $ac_hdr" >&5 |
12399 | 12406 |
12400 cat > conftest.$ac_ext <<EOF | 12407 cat > conftest.$ac_ext <<EOF |
12401 #line 12402 "configure" | 12408 #line 12409 "configure" |
12402 #include "confdefs.h" | 12409 #include "confdefs.h" |
12403 #include <$ac_hdr> | 12410 #include <$ac_hdr> |
12404 EOF | 12411 EOF |
12405 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12412 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12406 { (eval echo configure:12407: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12413 { (eval echo configure:12414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12407 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12414 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12408 if test -z "$ac_err"; then | 12415 if test -z "$ac_err"; then |
12409 rm -rf conftest* | 12416 rm -rf conftest* |
12410 eval "ac_cv_header_$ac_safe=yes" | 12417 eval "ac_cv_header_$ac_safe=yes" |
12411 else | 12418 else |
12434 fi | 12441 fi |
12435 | 12442 |
12436 for ac_func in getloadavg | 12443 for ac_func in getloadavg |
12437 do | 12444 do |
12438 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12439 echo "configure:12440: checking for $ac_func" >&5 | 12446 echo "configure:12447: checking for $ac_func" >&5 |
12440 | 12447 |
12441 cat > conftest.$ac_ext <<EOF | 12448 cat > conftest.$ac_ext <<EOF |
12442 #line 12443 "configure" | 12449 #line 12450 "configure" |
12443 #include "confdefs.h" | 12450 #include "confdefs.h" |
12444 /* System header to define __stub macros and hopefully few prototypes, | 12451 /* System header to define __stub macros and hopefully few prototypes, |
12445 which can conflict with char $ac_func(); below. */ | 12452 which can conflict with char $ac_func(); below. */ |
12446 #include <assert.h> | 12453 #include <assert.h> |
12447 /* Override any gcc2 internal prototype to avoid an error. */ | 12454 /* Override any gcc2 internal prototype to avoid an error. */ |
12460 $ac_func(); | 12467 $ac_func(); |
12461 #endif | 12468 #endif |
12462 | 12469 |
12463 ; return 0; } | 12470 ; return 0; } |
12464 EOF | 12471 EOF |
12465 if { (eval echo configure:12466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12472 if { (eval echo configure:12473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12466 rm -rf conftest* | 12473 rm -rf conftest* |
12467 eval "ac_cv_func_$ac_func=yes" | 12474 eval "ac_cv_func_$ac_func=yes" |
12468 else | 12475 else |
12469 echo "configure: failed program was:" >&5 | 12476 echo "configure: failed program was:" >&5 |
12470 cat conftest.$ac_ext >&5 | 12477 cat conftest.$ac_ext >&5 |
12493 if test "$ac_cv_func_getloadavg" = "yes"; then | 12500 if test "$ac_cv_func_getloadavg" = "yes"; then |
12494 for ac_hdr in sys/loadavg.h | 12501 for ac_hdr in sys/loadavg.h |
12495 do | 12502 do |
12496 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12503 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12497 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12504 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12498 echo "configure:12499: checking for $ac_hdr" >&5 | 12505 echo "configure:12506: checking for $ac_hdr" >&5 |
12499 | 12506 |
12500 cat > conftest.$ac_ext <<EOF | 12507 cat > conftest.$ac_ext <<EOF |
12501 #line 12502 "configure" | 12508 #line 12509 "configure" |
12502 #include "confdefs.h" | 12509 #include "confdefs.h" |
12503 #include <$ac_hdr> | 12510 #include <$ac_hdr> |
12504 EOF | 12511 EOF |
12505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12506 { (eval echo configure:12507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12513 { (eval echo configure:12514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12508 if test -z "$ac_err"; then | 12515 if test -z "$ac_err"; then |
12509 rm -rf conftest* | 12516 rm -rf conftest* |
12510 eval "ac_cv_header_$ac_safe=yes" | 12517 eval "ac_cv_header_$ac_safe=yes" |
12511 else | 12518 else |
12537 echo " xemacs will be linked with \"getloadavg.o\"" | 12544 echo " xemacs will be linked with \"getloadavg.o\"" |
12538 fi | 12545 fi |
12539 | 12546 |
12540 | 12547 |
12541 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12548 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12542 echo "configure:12543: checking for kstat_open in -lkstat" >&5 | 12549 echo "configure:12550: checking for kstat_open in -lkstat" >&5 |
12543 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12550 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12544 | 12551 |
12545 xe_check_libs=" -lkstat " | 12552 xe_check_libs=" -lkstat " |
12546 cat > conftest.$ac_ext <<EOF | 12553 cat > conftest.$ac_ext <<EOF |
12547 #line 12548 "configure" | 12554 #line 12555 "configure" |
12548 #include "confdefs.h" | 12555 #include "confdefs.h" |
12549 /* Override any gcc2 internal prototype to avoid an error. */ | 12556 /* Override any gcc2 internal prototype to avoid an error. */ |
12550 /* We use char because int might match the return type of a gcc2 | 12557 /* We use char because int might match the return type of a gcc2 |
12551 builtin and then its argument prototype would still apply. */ | 12558 builtin and then its argument prototype would still apply. */ |
12552 char kstat_open(); | 12559 char kstat_open(); |
12553 | 12560 |
12554 int main() { | 12561 int main() { |
12555 kstat_open() | 12562 kstat_open() |
12556 ; return 0; } | 12563 ; return 0; } |
12557 EOF | 12564 EOF |
12558 if { (eval echo configure:12559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12565 if { (eval echo configure:12566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12559 rm -rf conftest* | 12566 rm -rf conftest* |
12560 eval "ac_cv_lib_$ac_lib_var=yes" | 12567 eval "ac_cv_lib_$ac_lib_var=yes" |
12561 else | 12568 else |
12562 echo "configure: failed program was:" >&5 | 12569 echo "configure: failed program was:" >&5 |
12563 cat conftest.$ac_ext >&5 | 12570 cat conftest.$ac_ext >&5 |
12588 | 12595 |
12589 for ac_hdr in kstat.h | 12596 for ac_hdr in kstat.h |
12590 do | 12597 do |
12591 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12598 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12592 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12599 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12593 echo "configure:12594: checking for $ac_hdr" >&5 | 12600 echo "configure:12601: checking for $ac_hdr" >&5 |
12594 | 12601 |
12595 cat > conftest.$ac_ext <<EOF | 12602 cat > conftest.$ac_ext <<EOF |
12596 #line 12597 "configure" | 12603 #line 12604 "configure" |
12597 #include "confdefs.h" | 12604 #include "confdefs.h" |
12598 #include <$ac_hdr> | 12605 #include <$ac_hdr> |
12599 EOF | 12606 EOF |
12600 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12601 { (eval echo configure:12602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12608 { (eval echo configure:12609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12602 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12603 if test -z "$ac_err"; then | 12610 if test -z "$ac_err"; then |
12604 rm -rf conftest* | 12611 rm -rf conftest* |
12605 eval "ac_cv_header_$ac_safe=yes" | 12612 eval "ac_cv_header_$ac_safe=yes" |
12606 else | 12613 else |
12628 done | 12635 done |
12629 | 12636 |
12630 | 12637 |
12631 | 12638 |
12632 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12639 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12633 echo "configure:12634: checking for kvm_read in -lkvm" >&5 | 12640 echo "configure:12641: checking for kvm_read in -lkvm" >&5 |
12634 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12641 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12635 | 12642 |
12636 xe_check_libs=" -lkvm " | 12643 xe_check_libs=" -lkvm " |
12637 cat > conftest.$ac_ext <<EOF | 12644 cat > conftest.$ac_ext <<EOF |
12638 #line 12639 "configure" | 12645 #line 12646 "configure" |
12639 #include "confdefs.h" | 12646 #include "confdefs.h" |
12640 /* Override any gcc2 internal prototype to avoid an error. */ | 12647 /* Override any gcc2 internal prototype to avoid an error. */ |
12641 /* We use char because int might match the return type of a gcc2 | 12648 /* We use char because int might match the return type of a gcc2 |
12642 builtin and then its argument prototype would still apply. */ | 12649 builtin and then its argument prototype would still apply. */ |
12643 char kvm_read(); | 12650 char kvm_read(); |
12644 | 12651 |
12645 int main() { | 12652 int main() { |
12646 kvm_read() | 12653 kvm_read() |
12647 ; return 0; } | 12654 ; return 0; } |
12648 EOF | 12655 EOF |
12649 if { (eval echo configure:12650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12656 if { (eval echo configure:12657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12650 rm -rf conftest* | 12657 rm -rf conftest* |
12651 eval "ac_cv_lib_$ac_lib_var=yes" | 12658 eval "ac_cv_lib_$ac_lib_var=yes" |
12652 else | 12659 else |
12653 echo "configure: failed program was:" >&5 | 12660 echo "configure: failed program was:" >&5 |
12654 cat conftest.$ac_ext >&5 | 12661 cat conftest.$ac_ext >&5 |
12678 | 12685 |
12679 | 12686 |
12680 fi | 12687 fi |
12681 | 12688 |
12682 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12689 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12683 echo "configure:12684: checking whether netdb declares h_errno" >&5 | 12690 echo "configure:12691: checking whether netdb declares h_errno" >&5 |
12684 cat > conftest.$ac_ext <<EOF | 12691 cat > conftest.$ac_ext <<EOF |
12685 #line 12686 "configure" | 12692 #line 12693 "configure" |
12686 #include "confdefs.h" | 12693 #include "confdefs.h" |
12687 #include <netdb.h> | 12694 #include <netdb.h> |
12688 int main() { | 12695 int main() { |
12689 return h_errno; | 12696 return h_errno; |
12690 ; return 0; } | 12697 ; return 0; } |
12691 EOF | 12698 EOF |
12692 if { (eval echo configure:12693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12699 if { (eval echo configure:12700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12693 rm -rf conftest* | 12700 rm -rf conftest* |
12694 echo "$ac_t""yes" 1>&6 | 12701 echo "$ac_t""yes" 1>&6 |
12695 { test "$extra_verbose" = "yes" && cat << \EOF | 12702 { test "$extra_verbose" = "yes" && cat << \EOF |
12696 Defining HAVE_H_ERRNO | 12703 Defining HAVE_H_ERRNO |
12697 EOF | 12704 EOF |
12707 echo "$ac_t""no" 1>&6 | 12714 echo "$ac_t""no" 1>&6 |
12708 fi | 12715 fi |
12709 rm -f conftest* | 12716 rm -f conftest* |
12710 | 12717 |
12711 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12718 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12712 echo "configure:12713: checking for sigsetjmp" >&5 | 12719 echo "configure:12720: checking for sigsetjmp" >&5 |
12713 cat > conftest.$ac_ext <<EOF | 12720 cat > conftest.$ac_ext <<EOF |
12714 #line 12715 "configure" | 12721 #line 12722 "configure" |
12715 #include "confdefs.h" | 12722 #include "confdefs.h" |
12716 #include <setjmp.h> | 12723 #include <setjmp.h> |
12717 int main() { | 12724 int main() { |
12718 sigjmp_buf bar; sigsetjmp (bar, 0); | 12725 sigjmp_buf bar; sigsetjmp (bar, 0); |
12719 ; return 0; } | 12726 ; return 0; } |
12720 EOF | 12727 EOF |
12721 if { (eval echo configure:12722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12728 if { (eval echo configure:12729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12722 rm -rf conftest* | 12729 rm -rf conftest* |
12723 echo "$ac_t""yes" 1>&6 | 12730 echo "$ac_t""yes" 1>&6 |
12724 { test "$extra_verbose" = "yes" && cat << \EOF | 12731 { test "$extra_verbose" = "yes" && cat << \EOF |
12725 Defining HAVE_SIGSETJMP | 12732 Defining HAVE_SIGSETJMP |
12726 EOF | 12733 EOF |
12736 echo "$ac_t""no" 1>&6 | 12743 echo "$ac_t""no" 1>&6 |
12737 fi | 12744 fi |
12738 rm -f conftest* | 12745 rm -f conftest* |
12739 | 12746 |
12740 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12747 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12741 echo "configure:12742: checking whether localtime caches TZ" >&5 | 12748 echo "configure:12749: checking whether localtime caches TZ" >&5 |
12742 | 12749 |
12743 if test "$ac_cv_func_tzset" = "yes"; then | 12750 if test "$ac_cv_func_tzset" = "yes"; then |
12744 cat > conftest.$ac_ext <<EOF | 12751 cat > conftest.$ac_ext <<EOF |
12745 #line 12746 "configure" | 12752 #line 12753 "configure" |
12746 #include "confdefs.h" | 12753 #include "confdefs.h" |
12747 #include <time.h> | 12754 #include <time.h> |
12748 #if STDC_HEADERS | 12755 #if STDC_HEADERS |
12749 # include <stdlib.h> | 12756 # include <stdlib.h> |
12750 #endif | 12757 #endif |
12775 if (localtime (&now)->tm_hour != hour_unset) | 12782 if (localtime (&now)->tm_hour != hour_unset) |
12776 exit (1); | 12783 exit (1); |
12777 exit (0); | 12784 exit (0); |
12778 } | 12785 } |
12779 EOF | 12786 EOF |
12780 if { (eval echo configure:12781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12787 if { (eval echo configure:12788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12781 then | 12788 then |
12782 emacs_cv_localtime_cache=no | 12789 emacs_cv_localtime_cache=no |
12783 else | 12790 else |
12784 conftest_rc="$?" | 12791 conftest_rc="$?" |
12785 echo "configure: failed program was:" >&5 | 12792 echo "configure: failed program was:" >&5 |
12805 | 12812 |
12806 fi | 12813 fi |
12807 | 12814 |
12808 if test "$HAVE_TIMEVAL" = "yes"; then | 12815 if test "$HAVE_TIMEVAL" = "yes"; then |
12809 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12816 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12810 echo "configure:12811: checking whether gettimeofday accepts one or two arguments" >&5 | 12817 echo "configure:12818: checking whether gettimeofday accepts one or two arguments" >&5 |
12811 cat > conftest.$ac_ext <<EOF | 12818 cat > conftest.$ac_ext <<EOF |
12812 #line 12813 "configure" | 12819 #line 12820 "configure" |
12813 #include "confdefs.h" | 12820 #include "confdefs.h" |
12814 | 12821 |
12815 #ifdef TIME_WITH_SYS_TIME | 12822 #ifdef TIME_WITH_SYS_TIME |
12816 #include <sys/time.h> | 12823 #include <sys/time.h> |
12817 #include <time.h> | 12824 #include <time.h> |
12828 struct timeval time; | 12835 struct timeval time; |
12829 gettimeofday (&time, 0); | 12836 gettimeofday (&time, 0); |
12830 | 12837 |
12831 ; return 0; } | 12838 ; return 0; } |
12832 EOF | 12839 EOF |
12833 if { (eval echo configure:12834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12840 if { (eval echo configure:12841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12834 rm -rf conftest* | 12841 rm -rf conftest* |
12835 echo "$ac_t""two" 1>&6 | 12842 echo "$ac_t""two" 1>&6 |
12836 else | 12843 else |
12837 echo "configure: failed program was:" >&5 | 12844 echo "configure: failed program was:" >&5 |
12838 cat conftest.$ac_ext >&5 | 12845 cat conftest.$ac_ext >&5 |
12850 rm -f conftest* | 12857 rm -f conftest* |
12851 fi | 12858 fi |
12852 | 12859 |
12853 | 12860 |
12854 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12861 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12855 echo "configure:12856: checking for inline" >&5 | 12862 echo "configure:12863: checking for inline" >&5 |
12856 | 12863 |
12857 ac_cv_c_inline=no | 12864 ac_cv_c_inline=no |
12858 for ac_kw in inline __inline__ __inline; do | 12865 for ac_kw in inline __inline__ __inline; do |
12859 cat > conftest.$ac_ext <<EOF | 12866 cat > conftest.$ac_ext <<EOF |
12860 #line 12861 "configure" | 12867 #line 12868 "configure" |
12861 #include "confdefs.h" | 12868 #include "confdefs.h" |
12862 | 12869 |
12863 int main() { | 12870 int main() { |
12864 } $ac_kw foo() { | 12871 } $ac_kw foo() { |
12865 ; return 0; } | 12872 ; return 0; } |
12866 EOF | 12873 EOF |
12867 if { (eval echo configure:12868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12874 if { (eval echo configure:12875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12868 rm -rf conftest* | 12875 rm -rf conftest* |
12869 ac_cv_c_inline=$ac_kw; break | 12876 ac_cv_c_inline=$ac_kw; break |
12870 else | 12877 else |
12871 echo "configure: failed program was:" >&5 | 12878 echo "configure: failed program was:" >&5 |
12872 cat conftest.$ac_ext >&5 | 12879 cat conftest.$ac_ext >&5 |
12903 | 12910 |
12904 if test "$__DECC" != "yes"; then | 12911 if test "$__DECC" != "yes"; then |
12905 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12912 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12906 # for constant arguments. Useless! | 12913 # for constant arguments. Useless! |
12907 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12914 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12908 echo "configure:12909: checking for working alloca.h" >&5 | 12915 echo "configure:12916: checking for working alloca.h" >&5 |
12909 | 12916 |
12910 cat > conftest.$ac_ext <<EOF | 12917 cat > conftest.$ac_ext <<EOF |
12911 #line 12912 "configure" | 12918 #line 12919 "configure" |
12912 #include "confdefs.h" | 12919 #include "confdefs.h" |
12913 #include <alloca.h> | 12920 #include <alloca.h> |
12914 int main() { | 12921 int main() { |
12915 char *p = alloca(2 * sizeof(int)); | 12922 char *p = alloca(2 * sizeof(int)); |
12916 ; return 0; } | 12923 ; return 0; } |
12917 EOF | 12924 EOF |
12918 if { (eval echo configure:12919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12925 if { (eval echo configure:12926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12919 rm -rf conftest* | 12926 rm -rf conftest* |
12920 ac_cv_header_alloca_h=yes | 12927 ac_cv_header_alloca_h=yes |
12921 else | 12928 else |
12922 echo "configure: failed program was:" >&5 | 12929 echo "configure: failed program was:" >&5 |
12923 cat conftest.$ac_ext >&5 | 12930 cat conftest.$ac_ext >&5 |
12937 } | 12944 } |
12938 | 12945 |
12939 fi | 12946 fi |
12940 | 12947 |
12941 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12948 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
12942 echo "configure:12943: checking for alloca" >&5 | 12949 echo "configure:12950: checking for alloca" >&5 |
12943 | 12950 |
12944 cat > conftest.$ac_ext <<EOF | 12951 cat > conftest.$ac_ext <<EOF |
12945 #line 12946 "configure" | 12952 #line 12953 "configure" |
12946 #include "confdefs.h" | 12953 #include "confdefs.h" |
12947 | 12954 |
12948 #ifdef __GNUC__ | 12955 #ifdef __GNUC__ |
12949 # define alloca __builtin_alloca | 12956 # define alloca __builtin_alloca |
12950 #else | 12957 #else |
12968 | 12975 |
12969 int main() { | 12976 int main() { |
12970 char *p = (char *) alloca(1); | 12977 char *p = (char *) alloca(1); |
12971 ; return 0; } | 12978 ; return 0; } |
12972 EOF | 12979 EOF |
12973 if { (eval echo configure:12974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12980 if { (eval echo configure:12981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12974 rm -rf conftest* | 12981 rm -rf conftest* |
12975 ac_cv_func_alloca_works=yes | 12982 ac_cv_func_alloca_works=yes |
12976 else | 12983 else |
12977 echo "configure: failed program was:" >&5 | 12984 echo "configure: failed program was:" >&5 |
12978 cat conftest.$ac_ext >&5 | 12985 cat conftest.$ac_ext >&5 |
13007 EOF | 13014 EOF |
13008 } | 13015 } |
13009 | 13016 |
13010 | 13017 |
13011 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13018 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13012 echo "configure:13013: checking whether alloca needs Cray hooks" >&5 | 13019 echo "configure:13020: checking whether alloca needs Cray hooks" >&5 |
13013 | 13020 |
13014 cat > conftest.$ac_ext <<EOF | 13021 cat > conftest.$ac_ext <<EOF |
13015 #line 13016 "configure" | 13022 #line 13023 "configure" |
13016 #include "confdefs.h" | 13023 #include "confdefs.h" |
13017 #if defined(CRAY) && ! defined(CRAY2) | 13024 #if defined(CRAY) && ! defined(CRAY2) |
13018 webecray | 13025 webecray |
13019 #else | 13026 #else |
13020 wenotbecray | 13027 wenotbecray |
13034 | 13041 |
13035 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13042 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13036 if test $ac_cv_os_cray = yes; then | 13043 if test $ac_cv_os_cray = yes; then |
13037 for ac_func in _getb67 GETB67 getb67; do | 13044 for ac_func in _getb67 GETB67 getb67; do |
13038 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13045 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13039 echo "configure:13040: checking for $ac_func" >&5 | 13046 echo "configure:13047: checking for $ac_func" >&5 |
13040 | 13047 |
13041 cat > conftest.$ac_ext <<EOF | 13048 cat > conftest.$ac_ext <<EOF |
13042 #line 13043 "configure" | 13049 #line 13050 "configure" |
13043 #include "confdefs.h" | 13050 #include "confdefs.h" |
13044 /* System header to define __stub macros and hopefully few prototypes, | 13051 /* System header to define __stub macros and hopefully few prototypes, |
13045 which can conflict with char $ac_func(); below. */ | 13052 which can conflict with char $ac_func(); below. */ |
13046 #include <assert.h> | 13053 #include <assert.h> |
13047 /* Override any gcc2 internal prototype to avoid an error. */ | 13054 /* Override any gcc2 internal prototype to avoid an error. */ |
13060 $ac_func(); | 13067 $ac_func(); |
13061 #endif | 13068 #endif |
13062 | 13069 |
13063 ; return 0; } | 13070 ; return 0; } |
13064 EOF | 13071 EOF |
13065 if { (eval echo configure:13066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13072 if { (eval echo configure:13073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13066 rm -rf conftest* | 13073 rm -rf conftest* |
13067 eval "ac_cv_func_$ac_func=yes" | 13074 eval "ac_cv_func_$ac_func=yes" |
13068 else | 13075 else |
13069 echo "configure: failed program was:" >&5 | 13076 echo "configure: failed program was:" >&5 |
13070 cat conftest.$ac_ext >&5 | 13077 cat conftest.$ac_ext >&5 |
13090 | 13097 |
13091 done | 13098 done |
13092 fi | 13099 fi |
13093 | 13100 |
13094 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13101 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13095 echo "configure:13096: checking stack direction for C alloca" >&5 | 13102 echo "configure:13103: checking stack direction for C alloca" >&5 |
13096 | 13103 |
13097 cat > conftest.$ac_ext <<EOF | 13104 cat > conftest.$ac_ext <<EOF |
13098 #line 13099 "configure" | 13105 #line 13106 "configure" |
13099 #include "confdefs.h" | 13106 #include "confdefs.h" |
13100 find_stack_direction () | 13107 find_stack_direction () |
13101 { | 13108 { |
13102 static char *addr = 0; | 13109 static char *addr = 0; |
13103 auto char dummy; | 13110 auto char dummy; |
13112 main () | 13119 main () |
13113 { | 13120 { |
13114 exit (find_stack_direction() < 0); | 13121 exit (find_stack_direction() < 0); |
13115 } | 13122 } |
13116 EOF | 13123 EOF |
13117 if { (eval echo configure:13118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13124 if { (eval echo configure:13125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13118 then | 13125 then |
13119 ac_cv_c_stack_direction=1 | 13126 ac_cv_c_stack_direction=1 |
13120 else | 13127 else |
13121 conftest_rc="$?" | 13128 conftest_rc="$?" |
13122 echo "configure: failed program was:" >&5 | 13129 echo "configure: failed program was:" >&5 |
13141 echo " xemacs will be linked with \"$ALLOCA\"" | 13148 echo " xemacs will be linked with \"$ALLOCA\"" |
13142 fi | 13149 fi |
13143 fi | 13150 fi |
13144 | 13151 |
13145 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13152 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13146 echo "configure:13147: checking for working alloca in function calls" >&5 | 13153 echo "configure:13154: checking for working alloca in function calls" >&5 |
13147 cat > conftest.$ac_ext <<EOF | 13154 cat > conftest.$ac_ext <<EOF |
13148 #line 13149 "configure" | 13155 #line 13156 "configure" |
13149 #include "confdefs.h" | 13156 #include "confdefs.h" |
13150 | 13157 |
13151 #if defined (__CYGWIN__) | 13158 #if defined (__CYGWIN__) |
13152 #include <alloca.h> | 13159 #include <alloca.h> |
13153 #elif defined (__GNUC__) | 13160 #elif defined (__GNUC__) |
13196 return 1; | 13203 return 1; |
13197 return 0; | 13204 return 0; |
13198 } | 13205 } |
13199 | 13206 |
13200 EOF | 13207 EOF |
13201 if { (eval echo configure:13202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13208 if { (eval echo configure:13209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13202 then | 13209 then |
13203 working_alloca_in_function_calls=yes | 13210 working_alloca_in_function_calls=yes |
13204 else | 13211 else |
13205 conftest_rc="$?" | 13212 conftest_rc="$?" |
13206 echo "configure: failed program was:" >&5 | 13213 echo "configure: failed program was:" >&5 |
13219 EOF | 13226 EOF |
13220 } | 13227 } |
13221 | 13228 |
13222 | 13229 |
13223 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13230 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13224 echo "configure:13225: checking for working strcoll" >&5 | 13231 echo "configure:13232: checking for working strcoll" >&5 |
13225 | 13232 |
13226 cat > conftest.$ac_ext <<EOF | 13233 cat > conftest.$ac_ext <<EOF |
13227 #line 13228 "configure" | 13234 #line 13235 "configure" |
13228 #include "confdefs.h" | 13235 #include "confdefs.h" |
13229 #include <string.h> | 13236 #include <string.h> |
13230 main () | 13237 main () |
13231 { | 13238 { |
13232 exit (strcoll ("abc", "def") >= 0 || | 13239 exit (strcoll ("abc", "def") >= 0 || |
13233 strcoll ("ABC", "DEF") >= 0 || | 13240 strcoll ("ABC", "DEF") >= 0 || |
13234 strcoll ("123", "456") >= 0); | 13241 strcoll ("123", "456") >= 0); |
13235 } | 13242 } |
13236 EOF | 13243 EOF |
13237 if { (eval echo configure:13238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13244 if { (eval echo configure:13245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13238 then | 13245 then |
13239 ac_cv_func_strcoll_works=yes | 13246 ac_cv_func_strcoll_works=yes |
13240 else | 13247 else |
13241 conftest_rc="$?" | 13248 conftest_rc="$?" |
13242 echo "configure: failed program was:" >&5 | 13249 echo "configure: failed program was:" >&5 |
13260 | 13267 |
13261 | 13268 |
13262 for ac_func in getpgrp | 13269 for ac_func in getpgrp |
13263 do | 13270 do |
13264 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13265 echo "configure:13266: checking for $ac_func" >&5 | 13272 echo "configure:13273: checking for $ac_func" >&5 |
13266 | 13273 |
13267 cat > conftest.$ac_ext <<EOF | 13274 cat > conftest.$ac_ext <<EOF |
13268 #line 13269 "configure" | 13275 #line 13276 "configure" |
13269 #include "confdefs.h" | 13276 #include "confdefs.h" |
13270 /* System header to define __stub macros and hopefully few prototypes, | 13277 /* System header to define __stub macros and hopefully few prototypes, |
13271 which can conflict with char $ac_func(); below. */ | 13278 which can conflict with char $ac_func(); below. */ |
13272 #include <assert.h> | 13279 #include <assert.h> |
13273 /* Override any gcc2 internal prototype to avoid an error. */ | 13280 /* Override any gcc2 internal prototype to avoid an error. */ |
13286 $ac_func(); | 13293 $ac_func(); |
13287 #endif | 13294 #endif |
13288 | 13295 |
13289 ; return 0; } | 13296 ; return 0; } |
13290 EOF | 13297 EOF |
13291 if { (eval echo configure:13292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13298 if { (eval echo configure:13299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13292 rm -rf conftest* | 13299 rm -rf conftest* |
13293 eval "ac_cv_func_$ac_func=yes" | 13300 eval "ac_cv_func_$ac_func=yes" |
13294 else | 13301 else |
13295 echo "configure: failed program was:" >&5 | 13302 echo "configure: failed program was:" >&5 |
13296 cat conftest.$ac_ext >&5 | 13303 cat conftest.$ac_ext >&5 |
13314 echo "$ac_t""no" 1>&6 | 13321 echo "$ac_t""no" 1>&6 |
13315 fi | 13322 fi |
13316 done | 13323 done |
13317 | 13324 |
13318 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13325 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13319 echo "configure:13320: checking whether getpgrp takes no argument" >&5 | 13326 echo "configure:13327: checking whether getpgrp takes no argument" >&5 |
13320 | 13327 |
13321 cat > conftest.$ac_ext <<EOF | 13328 cat > conftest.$ac_ext <<EOF |
13322 #line 13323 "configure" | 13329 #line 13330 "configure" |
13323 #include "confdefs.h" | 13330 #include "confdefs.h" |
13324 | 13331 |
13325 /* | 13332 /* |
13326 * If this system has a BSD-style getpgrp(), | 13333 * If this system has a BSD-style getpgrp(), |
13327 * which takes a pid argument, exit unsuccessfully. | 13334 * which takes a pid argument, exit unsuccessfully. |
13372 exit(s>>8); | 13379 exit(s>>8); |
13373 } | 13380 } |
13374 } | 13381 } |
13375 | 13382 |
13376 EOF | 13383 EOF |
13377 if { (eval echo configure:13378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13384 if { (eval echo configure:13385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13378 then | 13385 then |
13379 ac_cv_func_getpgrp_void=yes | 13386 ac_cv_func_getpgrp_void=yes |
13380 else | 13387 else |
13381 conftest_rc="$?" | 13388 conftest_rc="$?" |
13382 echo "configure: failed program was:" >&5 | 13389 echo "configure: failed program was:" >&5 |
13399 | 13406 |
13400 fi | 13407 fi |
13401 | 13408 |
13402 | 13409 |
13403 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13410 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13404 echo "configure:13405: checking for working mmap" >&5 | 13411 echo "configure:13412: checking for working mmap" >&5 |
13405 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13412 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13406 cat > conftest.$ac_ext <<EOF | 13413 cat > conftest.$ac_ext <<EOF |
13407 #line 13408 "configure" | 13414 #line 13415 "configure" |
13408 #include "confdefs.h" | 13415 #include "confdefs.h" |
13409 #include <stdio.h> | 13416 #include <stdio.h> |
13410 #include <unistd.h> | 13417 #include <unistd.h> |
13411 #include <fcntl.h> | 13418 #include <fcntl.h> |
13412 #include <sys/mman.h> | 13419 #include <sys/mman.h> |
13435 return 0; | 13442 return 0; |
13436 perror ("conftest: mmap failed"); | 13443 perror ("conftest: mmap failed"); |
13437 return 1; | 13444 return 1; |
13438 } | 13445 } |
13439 EOF | 13446 EOF |
13440 if { (eval echo configure:13441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13447 if { (eval echo configure:13448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13441 then | 13448 then |
13442 have_mmap=yes | 13449 have_mmap=yes |
13443 else | 13450 else |
13444 conftest_rc="$?" | 13451 conftest_rc="$?" |
13445 echo "configure: failed program was:" >&5 | 13452 echo "configure: failed program was:" >&5 |
13464 esac | 13471 esac |
13465 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13472 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13466 if test "$rel_alloc $have_mmap" = "default yes"; then | 13473 if test "$rel_alloc $have_mmap" = "default yes"; then |
13467 if test "$doug_lea_malloc" = "yes"; then | 13474 if test "$doug_lea_malloc" = "yes"; then |
13468 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13475 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13469 echo "configure:13470: checking for M_MMAP_THRESHOLD" >&5 | 13476 echo "configure:13477: checking for M_MMAP_THRESHOLD" >&5 |
13470 cat > conftest.$ac_ext <<EOF | 13477 cat > conftest.$ac_ext <<EOF |
13471 #line 13472 "configure" | 13478 #line 13479 "configure" |
13472 #include "confdefs.h" | 13479 #include "confdefs.h" |
13473 #include <malloc.h> | 13480 #include <malloc.h> |
13474 int main() { | 13481 int main() { |
13475 | 13482 |
13476 #ifndef M_MMAP_THRESHOLD | 13483 #ifndef M_MMAP_THRESHOLD |
13478 !@+$%^&*_)(_ - unlikely to compile... | 13485 !@+$%^&*_)(_ - unlikely to compile... |
13479 #endif | 13486 #endif |
13480 | 13487 |
13481 ; return 0; } | 13488 ; return 0; } |
13482 EOF | 13489 EOF |
13483 if { (eval echo configure:13484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13490 if { (eval echo configure:13491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13484 rm -rf conftest* | 13491 rm -rf conftest* |
13485 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13492 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13486 else | 13493 else |
13487 echo "configure: failed program was:" >&5 | 13494 echo "configure: failed program was:" >&5 |
13488 cat conftest.$ac_ext >&5 | 13495 cat conftest.$ac_ext >&5 |
13503 } | 13510 } |
13504 | 13511 |
13505 | 13512 |
13506 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13513 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13507 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13514 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13508 echo "configure:13509: checking for termios.h" >&5 | 13515 echo "configure:13516: checking for termios.h" >&5 |
13509 | 13516 |
13510 cat > conftest.$ac_ext <<EOF | 13517 cat > conftest.$ac_ext <<EOF |
13511 #line 13512 "configure" | 13518 #line 13519 "configure" |
13512 #include "confdefs.h" | 13519 #include "confdefs.h" |
13513 #include <termios.h> | 13520 #include <termios.h> |
13514 EOF | 13521 EOF |
13515 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13522 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13516 { (eval echo configure:13517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13523 { (eval echo configure:13524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13517 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13524 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13518 if test -z "$ac_err"; then | 13525 if test -z "$ac_err"; then |
13519 rm -rf conftest* | 13526 rm -rf conftest* |
13520 eval "ac_cv_header_$ac_safe=yes" | 13527 eval "ac_cv_header_$ac_safe=yes" |
13521 else | 13528 else |
13554 | 13561 |
13555 else | 13562 else |
13556 echo "$ac_t""no" 1>&6 | 13563 echo "$ac_t""no" 1>&6 |
13557 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13564 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13558 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13565 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13559 echo "configure:13560: checking for termio.h" >&5 | 13566 echo "configure:13567: checking for termio.h" >&5 |
13560 | 13567 |
13561 cat > conftest.$ac_ext <<EOF | 13568 cat > conftest.$ac_ext <<EOF |
13562 #line 13563 "configure" | 13569 #line 13570 "configure" |
13563 #include "confdefs.h" | 13570 #include "confdefs.h" |
13564 #include <termio.h> | 13571 #include <termio.h> |
13565 EOF | 13572 EOF |
13566 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13573 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13567 { (eval echo configure:13568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13574 { (eval echo configure:13575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13568 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13575 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13569 if test -z "$ac_err"; then | 13576 if test -z "$ac_err"; then |
13570 rm -rf conftest* | 13577 rm -rf conftest* |
13571 eval "ac_cv_header_$ac_safe=yes" | 13578 eval "ac_cv_header_$ac_safe=yes" |
13572 else | 13579 else |
13594 fi | 13601 fi |
13595 | 13602 |
13596 | 13603 |
13597 | 13604 |
13598 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13605 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13599 echo "configure:13600: checking for socket" >&5 | 13606 echo "configure:13607: checking for socket" >&5 |
13600 | 13607 |
13601 cat > conftest.$ac_ext <<EOF | 13608 cat > conftest.$ac_ext <<EOF |
13602 #line 13603 "configure" | 13609 #line 13610 "configure" |
13603 #include "confdefs.h" | 13610 #include "confdefs.h" |
13604 /* System header to define __stub macros and hopefully few prototypes, | 13611 /* System header to define __stub macros and hopefully few prototypes, |
13605 which can conflict with char socket(); below. */ | 13612 which can conflict with char socket(); below. */ |
13606 #include <assert.h> | 13613 #include <assert.h> |
13607 /* Override any gcc2 internal prototype to avoid an error. */ | 13614 /* Override any gcc2 internal prototype to avoid an error. */ |
13620 socket(); | 13627 socket(); |
13621 #endif | 13628 #endif |
13622 | 13629 |
13623 ; return 0; } | 13630 ; return 0; } |
13624 EOF | 13631 EOF |
13625 if { (eval echo configure:13626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13632 if { (eval echo configure:13633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13626 rm -rf conftest* | 13633 rm -rf conftest* |
13627 eval "ac_cv_func_socket=yes" | 13634 eval "ac_cv_func_socket=yes" |
13628 else | 13635 else |
13629 echo "configure: failed program was:" >&5 | 13636 echo "configure: failed program was:" >&5 |
13630 cat conftest.$ac_ext >&5 | 13637 cat conftest.$ac_ext >&5 |
13635 | 13642 |
13636 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13643 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13637 echo "$ac_t""yes" 1>&6 | 13644 echo "$ac_t""yes" 1>&6 |
13638 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13645 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13639 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13646 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13640 echo "configure:13641: checking for netinet/in.h" >&5 | 13647 echo "configure:13648: checking for netinet/in.h" >&5 |
13641 | 13648 |
13642 cat > conftest.$ac_ext <<EOF | 13649 cat > conftest.$ac_ext <<EOF |
13643 #line 13644 "configure" | 13650 #line 13651 "configure" |
13644 #include "confdefs.h" | 13651 #include "confdefs.h" |
13645 #include <netinet/in.h> | 13652 #include <netinet/in.h> |
13646 EOF | 13653 EOF |
13647 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13654 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13648 { (eval echo configure:13649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13655 { (eval echo configure:13656: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13649 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13656 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13650 if test -z "$ac_err"; then | 13657 if test -z "$ac_err"; then |
13651 rm -rf conftest* | 13658 rm -rf conftest* |
13652 eval "ac_cv_header_$ac_safe=yes" | 13659 eval "ac_cv_header_$ac_safe=yes" |
13653 else | 13660 else |
13660 rm -f conftest* | 13667 rm -f conftest* |
13661 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13668 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13662 echo "$ac_t""yes" 1>&6 | 13669 echo "$ac_t""yes" 1>&6 |
13663 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13670 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13664 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13671 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13665 echo "configure:13666: checking for arpa/inet.h" >&5 | 13672 echo "configure:13673: checking for arpa/inet.h" >&5 |
13666 | 13673 |
13667 cat > conftest.$ac_ext <<EOF | 13674 cat > conftest.$ac_ext <<EOF |
13668 #line 13669 "configure" | 13675 #line 13676 "configure" |
13669 #include "confdefs.h" | 13676 #include "confdefs.h" |
13670 #include <arpa/inet.h> | 13677 #include <arpa/inet.h> |
13671 EOF | 13678 EOF |
13672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13673 { (eval echo configure:13674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13680 { (eval echo configure:13681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13675 if test -z "$ac_err"; then | 13682 if test -z "$ac_err"; then |
13676 rm -rf conftest* | 13683 rm -rf conftest* |
13677 eval "ac_cv_header_$ac_safe=yes" | 13684 eval "ac_cv_header_$ac_safe=yes" |
13678 else | 13685 else |
13693 #define HAVE_SOCKETS 1 | 13700 #define HAVE_SOCKETS 1 |
13694 EOF | 13701 EOF |
13695 } | 13702 } |
13696 | 13703 |
13697 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13704 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13698 echo "configure:13699: checking "for sun_len member in struct sockaddr_un"" >&5 | 13705 echo "configure:13706: checking "for sun_len member in struct sockaddr_un"" >&5 |
13699 cat > conftest.$ac_ext <<EOF | 13706 cat > conftest.$ac_ext <<EOF |
13700 #line 13701 "configure" | 13707 #line 13708 "configure" |
13701 #include "confdefs.h" | 13708 #include "confdefs.h" |
13702 | 13709 |
13703 #include <sys/types.h> | 13710 #include <sys/types.h> |
13704 #include <sys/socket.h> | 13711 #include <sys/socket.h> |
13705 #include <sys/un.h> | 13712 #include <sys/un.h> |
13706 | 13713 |
13707 int main() { | 13714 int main() { |
13708 static struct sockaddr_un x; x.sun_len = 1; | 13715 static struct sockaddr_un x; x.sun_len = 1; |
13709 ; return 0; } | 13716 ; return 0; } |
13710 EOF | 13717 EOF |
13711 if { (eval echo configure:13712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13718 if { (eval echo configure:13719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13712 rm -rf conftest* | 13719 rm -rf conftest* |
13713 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13720 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13714 Defining HAVE_SOCKADDR_SUN_LEN | 13721 Defining HAVE_SOCKADDR_SUN_LEN |
13715 EOF | 13722 EOF |
13716 cat >> confdefs.h <<\EOF | 13723 cat >> confdefs.h <<\EOF |
13724 rm -rf conftest* | 13731 rm -rf conftest* |
13725 echo "$ac_t""no" 1>&6 | 13732 echo "$ac_t""no" 1>&6 |
13726 fi | 13733 fi |
13727 rm -f conftest* | 13734 rm -f conftest* |
13728 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13735 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13729 echo "configure:13730: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13736 echo "configure:13737: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13730 cat > conftest.$ac_ext <<EOF | 13737 cat > conftest.$ac_ext <<EOF |
13731 #line 13732 "configure" | 13738 #line 13739 "configure" |
13732 #include "confdefs.h" | 13739 #include "confdefs.h" |
13733 | 13740 |
13734 #include <sys/types.h> | 13741 #include <sys/types.h> |
13735 #include <netinet/in.h> | 13742 #include <netinet/in.h> |
13736 | 13743 |
13737 int main() { | 13744 int main() { |
13738 static struct ip_mreq x; | 13745 static struct ip_mreq x; |
13739 ; return 0; } | 13746 ; return 0; } |
13740 EOF | 13747 EOF |
13741 if { (eval echo configure:13742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13748 if { (eval echo configure:13749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13742 rm -rf conftest* | 13749 rm -rf conftest* |
13743 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13750 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13744 Defining HAVE_MULTICAST | 13751 Defining HAVE_MULTICAST |
13745 EOF | 13752 EOF |
13746 cat >> confdefs.h <<\EOF | 13753 cat >> confdefs.h <<\EOF |
13767 echo "$ac_t""no" 1>&6 | 13774 echo "$ac_t""no" 1>&6 |
13768 fi | 13775 fi |
13769 | 13776 |
13770 | 13777 |
13771 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13778 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13772 echo "configure:13773: checking for msgget" >&5 | 13779 echo "configure:13780: checking for msgget" >&5 |
13773 | 13780 |
13774 cat > conftest.$ac_ext <<EOF | 13781 cat > conftest.$ac_ext <<EOF |
13775 #line 13776 "configure" | 13782 #line 13783 "configure" |
13776 #include "confdefs.h" | 13783 #include "confdefs.h" |
13777 /* System header to define __stub macros and hopefully few prototypes, | 13784 /* System header to define __stub macros and hopefully few prototypes, |
13778 which can conflict with char msgget(); below. */ | 13785 which can conflict with char msgget(); below. */ |
13779 #include <assert.h> | 13786 #include <assert.h> |
13780 /* Override any gcc2 internal prototype to avoid an error. */ | 13787 /* Override any gcc2 internal prototype to avoid an error. */ |
13793 msgget(); | 13800 msgget(); |
13794 #endif | 13801 #endif |
13795 | 13802 |
13796 ; return 0; } | 13803 ; return 0; } |
13797 EOF | 13804 EOF |
13798 if { (eval echo configure:13799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13805 if { (eval echo configure:13806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13799 rm -rf conftest* | 13806 rm -rf conftest* |
13800 eval "ac_cv_func_msgget=yes" | 13807 eval "ac_cv_func_msgget=yes" |
13801 else | 13808 else |
13802 echo "configure: failed program was:" >&5 | 13809 echo "configure: failed program was:" >&5 |
13803 cat conftest.$ac_ext >&5 | 13810 cat conftest.$ac_ext >&5 |
13808 | 13815 |
13809 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13816 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13810 echo "$ac_t""yes" 1>&6 | 13817 echo "$ac_t""yes" 1>&6 |
13811 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13818 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13812 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13819 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13813 echo "configure:13814: checking for sys/ipc.h" >&5 | 13820 echo "configure:13821: checking for sys/ipc.h" >&5 |
13814 | 13821 |
13815 cat > conftest.$ac_ext <<EOF | 13822 cat > conftest.$ac_ext <<EOF |
13816 #line 13817 "configure" | 13823 #line 13824 "configure" |
13817 #include "confdefs.h" | 13824 #include "confdefs.h" |
13818 #include <sys/ipc.h> | 13825 #include <sys/ipc.h> |
13819 EOF | 13826 EOF |
13820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13821 { (eval echo configure:13822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13828 { (eval echo configure:13829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13823 if test -z "$ac_err"; then | 13830 if test -z "$ac_err"; then |
13824 rm -rf conftest* | 13831 rm -rf conftest* |
13825 eval "ac_cv_header_$ac_safe=yes" | 13832 eval "ac_cv_header_$ac_safe=yes" |
13826 else | 13833 else |
13833 rm -f conftest* | 13840 rm -f conftest* |
13834 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13841 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13835 echo "$ac_t""yes" 1>&6 | 13842 echo "$ac_t""yes" 1>&6 |
13836 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13843 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13837 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13844 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13838 echo "configure:13839: checking for sys/msg.h" >&5 | 13845 echo "configure:13846: checking for sys/msg.h" >&5 |
13839 | 13846 |
13840 cat > conftest.$ac_ext <<EOF | 13847 cat > conftest.$ac_ext <<EOF |
13841 #line 13842 "configure" | 13848 #line 13849 "configure" |
13842 #include "confdefs.h" | 13849 #include "confdefs.h" |
13843 #include <sys/msg.h> | 13850 #include <sys/msg.h> |
13844 EOF | 13851 EOF |
13845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13846 { (eval echo configure:13847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13853 { (eval echo configure:13854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13848 if test -z "$ac_err"; then | 13855 if test -z "$ac_err"; then |
13849 rm -rf conftest* | 13856 rm -rf conftest* |
13850 eval "ac_cv_header_$ac_safe=yes" | 13857 eval "ac_cv_header_$ac_safe=yes" |
13851 else | 13858 else |
13879 fi | 13886 fi |
13880 | 13887 |
13881 | 13888 |
13882 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13889 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13883 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13890 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13884 echo "configure:13885: checking for dirent.h" >&5 | 13891 echo "configure:13892: checking for dirent.h" >&5 |
13885 | 13892 |
13886 cat > conftest.$ac_ext <<EOF | 13893 cat > conftest.$ac_ext <<EOF |
13887 #line 13888 "configure" | 13894 #line 13895 "configure" |
13888 #include "confdefs.h" | 13895 #include "confdefs.h" |
13889 #include <dirent.h> | 13896 #include <dirent.h> |
13890 EOF | 13897 EOF |
13891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13892 { (eval echo configure:13893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13899 { (eval echo configure:13900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13893 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13894 if test -z "$ac_err"; then | 13901 if test -z "$ac_err"; then |
13895 rm -rf conftest* | 13902 rm -rf conftest* |
13896 eval "ac_cv_header_$ac_safe=yes" | 13903 eval "ac_cv_header_$ac_safe=yes" |
13897 else | 13904 else |
13914 | 13921 |
13915 else | 13922 else |
13916 echo "$ac_t""no" 1>&6 | 13923 echo "$ac_t""no" 1>&6 |
13917 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13924 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13918 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13925 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13919 echo "configure:13920: checking for sys/dir.h" >&5 | 13926 echo "configure:13927: checking for sys/dir.h" >&5 |
13920 | 13927 |
13921 cat > conftest.$ac_ext <<EOF | 13928 cat > conftest.$ac_ext <<EOF |
13922 #line 13923 "configure" | 13929 #line 13930 "configure" |
13923 #include "confdefs.h" | 13930 #include "confdefs.h" |
13924 #include <sys/dir.h> | 13931 #include <sys/dir.h> |
13925 EOF | 13932 EOF |
13926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13927 { (eval echo configure:13928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13934 { (eval echo configure:13935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13928 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13935 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13929 if test -z "$ac_err"; then | 13936 if test -z "$ac_err"; then |
13930 rm -rf conftest* | 13937 rm -rf conftest* |
13931 eval "ac_cv_header_$ac_safe=yes" | 13938 eval "ac_cv_header_$ac_safe=yes" |
13932 else | 13939 else |
13955 fi | 13962 fi |
13956 | 13963 |
13957 | 13964 |
13958 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13965 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13959 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13966 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13960 echo "configure:13961: checking for nlist.h" >&5 | 13967 echo "configure:13968: checking for nlist.h" >&5 |
13961 | 13968 |
13962 cat > conftest.$ac_ext <<EOF | 13969 cat > conftest.$ac_ext <<EOF |
13963 #line 13964 "configure" | 13970 #line 13971 "configure" |
13964 #include "confdefs.h" | 13971 #include "confdefs.h" |
13965 #include <nlist.h> | 13972 #include <nlist.h> |
13966 EOF | 13973 EOF |
13967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13968 { (eval echo configure:13969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13975 { (eval echo configure:13976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13976 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13970 if test -z "$ac_err"; then | 13977 if test -z "$ac_err"; then |
13971 rm -rf conftest* | 13978 rm -rf conftest* |
13972 eval "ac_cv_header_$ac_safe=yes" | 13979 eval "ac_cv_header_$ac_safe=yes" |
13973 else | 13980 else |
13993 fi | 14000 fi |
13994 | 14001 |
13995 | 14002 |
13996 | 14003 |
13997 echo "checking "for sound support"" 1>&6 | 14004 echo "checking "for sound support"" 1>&6 |
13998 echo "configure:13999: checking "for sound support"" >&5 | 14005 echo "configure:14006: checking "for sound support"" >&5 |
13999 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14006 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14000 | 14007 |
14001 if test "$with_native_sound" != "no"; then | 14008 if test "$with_native_sound" != "no"; then |
14002 if test -n "$native_sound_lib"; then | 14009 if test -n "$native_sound_lib"; then |
14003 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14010 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14004 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14011 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14005 echo "configure:14006: checking for multimedia/audio_device.h" >&5 | 14012 echo "configure:14013: checking for multimedia/audio_device.h" >&5 |
14006 | 14013 |
14007 cat > conftest.$ac_ext <<EOF | 14014 cat > conftest.$ac_ext <<EOF |
14008 #line 14009 "configure" | 14015 #line 14016 "configure" |
14009 #include "confdefs.h" | 14016 #include "confdefs.h" |
14010 #include <multimedia/audio_device.h> | 14017 #include <multimedia/audio_device.h> |
14011 EOF | 14018 EOF |
14012 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14019 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14013 { (eval echo configure:14014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14020 { (eval echo configure:14021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14014 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14021 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14015 if test -z "$ac_err"; then | 14022 if test -z "$ac_err"; then |
14016 rm -rf conftest* | 14023 rm -rf conftest* |
14017 eval "ac_cv_header_$ac_safe=yes" | 14024 eval "ac_cv_header_$ac_safe=yes" |
14018 else | 14025 else |
14056 case "$canonical" in | 14063 case "$canonical" in |
14057 *-sgi-* ) | 14064 *-sgi-* ) |
14058 if test -z "$native_sound_lib"; then | 14065 if test -z "$native_sound_lib"; then |
14059 | 14066 |
14060 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14067 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14061 echo "configure:14062: checking for ALopenport in -laudio" >&5 | 14068 echo "configure:14069: checking for ALopenport in -laudio" >&5 |
14062 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14069 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14063 | 14070 |
14064 xe_check_libs=" -laudio " | 14071 xe_check_libs=" -laudio " |
14065 cat > conftest.$ac_ext <<EOF | 14072 cat > conftest.$ac_ext <<EOF |
14066 #line 14067 "configure" | 14073 #line 14074 "configure" |
14067 #include "confdefs.h" | 14074 #include "confdefs.h" |
14068 /* Override any gcc2 internal prototype to avoid an error. */ | 14075 /* Override any gcc2 internal prototype to avoid an error. */ |
14069 /* We use char because int might match the return type of a gcc2 | 14076 /* We use char because int might match the return type of a gcc2 |
14070 builtin and then its argument prototype would still apply. */ | 14077 builtin and then its argument prototype would still apply. */ |
14071 char ALopenport(); | 14078 char ALopenport(); |
14072 | 14079 |
14073 int main() { | 14080 int main() { |
14074 ALopenport() | 14081 ALopenport() |
14075 ; return 0; } | 14082 ; return 0; } |
14076 EOF | 14083 EOF |
14077 if { (eval echo configure:14078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14084 if { (eval echo configure:14085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14078 rm -rf conftest* | 14085 rm -rf conftest* |
14079 eval "ac_cv_lib_$ac_lib_var=yes" | 14086 eval "ac_cv_lib_$ac_lib_var=yes" |
14080 else | 14087 else |
14081 echo "configure: failed program was:" >&5 | 14088 echo "configure: failed program was:" >&5 |
14082 cat conftest.$ac_ext >&5 | 14089 cat conftest.$ac_ext >&5 |
14103 fi ;; | 14110 fi ;; |
14104 hppa*-hp-hpux* ) | 14111 hppa*-hp-hpux* ) |
14105 if test -z "$native_sound_lib"; then | 14112 if test -z "$native_sound_lib"; then |
14106 | 14113 |
14107 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14114 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14108 echo "configure:14109: checking for AOpenAudio in -lAlib" >&5 | 14115 echo "configure:14116: checking for AOpenAudio in -lAlib" >&5 |
14109 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14116 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14110 | 14117 |
14111 xe_check_libs=" -lAlib " | 14118 xe_check_libs=" -lAlib " |
14112 cat > conftest.$ac_ext <<EOF | 14119 cat > conftest.$ac_ext <<EOF |
14113 #line 14114 "configure" | 14120 #line 14121 "configure" |
14114 #include "confdefs.h" | 14121 #include "confdefs.h" |
14115 /* Override any gcc2 internal prototype to avoid an error. */ | 14122 /* Override any gcc2 internal prototype to avoid an error. */ |
14116 /* We use char because int might match the return type of a gcc2 | 14123 /* We use char because int might match the return type of a gcc2 |
14117 builtin and then its argument prototype would still apply. */ | 14124 builtin and then its argument prototype would still apply. */ |
14118 char AOpenAudio(); | 14125 char AOpenAudio(); |
14119 | 14126 |
14120 int main() { | 14127 int main() { |
14121 AOpenAudio() | 14128 AOpenAudio() |
14122 ; return 0; } | 14129 ; return 0; } |
14123 EOF | 14130 EOF |
14124 if { (eval echo configure:14125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14131 if { (eval echo configure:14132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14125 rm -rf conftest* | 14132 rm -rf conftest* |
14126 eval "ac_cv_lib_$ac_lib_var=yes" | 14133 eval "ac_cv_lib_$ac_lib_var=yes" |
14127 else | 14134 else |
14128 echo "configure: failed program was:" >&5 | 14135 echo "configure: failed program was:" >&5 |
14129 cat conftest.$ac_ext >&5 | 14136 cat conftest.$ac_ext >&5 |
14167 | 14174 |
14168 if test -z "$sound_found"; then | 14175 if test -z "$sound_found"; then |
14169 for dir in "machine" "sys" "linux"; do | 14176 for dir in "machine" "sys" "linux"; do |
14170 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14177 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14171 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14178 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14172 echo "configure:14173: checking for ${dir}/soundcard.h" >&5 | 14179 echo "configure:14180: checking for ${dir}/soundcard.h" >&5 |
14173 | 14180 |
14174 cat > conftest.$ac_ext <<EOF | 14181 cat > conftest.$ac_ext <<EOF |
14175 #line 14176 "configure" | 14182 #line 14183 "configure" |
14176 #include "confdefs.h" | 14183 #include "confdefs.h" |
14177 #include <${dir}/soundcard.h> | 14184 #include <${dir}/soundcard.h> |
14178 EOF | 14185 EOF |
14179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14180 { (eval echo configure:14181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14187 { (eval echo configure:14188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14182 if test -z "$ac_err"; then | 14189 if test -z "$ac_err"; then |
14183 rm -rf conftest* | 14190 rm -rf conftest* |
14184 eval "ac_cv_header_$ac_safe=yes" | 14191 eval "ac_cv_header_$ac_safe=yes" |
14185 else | 14192 else |
14229 fi | 14236 fi |
14230 | 14237 |
14231 if test "$with_nas_sound" != "no"; then | 14238 if test "$with_nas_sound" != "no"; then |
14232 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14239 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14233 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14240 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14234 echo "configure:14235: checking for audio/audiolib.h" >&5 | 14241 echo "configure:14242: checking for audio/audiolib.h" >&5 |
14235 | 14242 |
14236 cat > conftest.$ac_ext <<EOF | 14243 cat > conftest.$ac_ext <<EOF |
14237 #line 14238 "configure" | 14244 #line 14245 "configure" |
14238 #include "confdefs.h" | 14245 #include "confdefs.h" |
14239 #include <audio/audiolib.h> | 14246 #include <audio/audiolib.h> |
14240 EOF | 14247 EOF |
14241 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14242 { (eval echo configure:14243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14249 { (eval echo configure:14250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14244 if test -z "$ac_err"; then | 14251 if test -z "$ac_err"; then |
14245 rm -rf conftest* | 14252 rm -rf conftest* |
14246 eval "ac_cv_header_$ac_safe=yes" | 14253 eval "ac_cv_header_$ac_safe=yes" |
14247 else | 14254 else |
14255 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14262 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14256 echo "$ac_t""yes" 1>&6 | 14263 echo "$ac_t""yes" 1>&6 |
14257 | 14264 |
14258 | 14265 |
14259 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14266 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14260 echo "configure:14261: checking for AuOpenServer in -laudio" >&5 | 14267 echo "configure:14268: checking for AuOpenServer in -laudio" >&5 |
14261 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14268 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14262 | 14269 |
14263 xe_check_libs=" -laudio " | 14270 xe_check_libs=" -laudio " |
14264 cat > conftest.$ac_ext <<EOF | 14271 cat > conftest.$ac_ext <<EOF |
14265 #line 14266 "configure" | 14272 #line 14273 "configure" |
14266 #include "confdefs.h" | 14273 #include "confdefs.h" |
14267 /* Override any gcc2 internal prototype to avoid an error. */ | 14274 /* Override any gcc2 internal prototype to avoid an error. */ |
14268 /* We use char because int might match the return type of a gcc2 | 14275 /* We use char because int might match the return type of a gcc2 |
14269 builtin and then its argument prototype would still apply. */ | 14276 builtin and then its argument prototype would still apply. */ |
14270 char AuOpenServer(); | 14277 char AuOpenServer(); |
14271 | 14278 |
14272 int main() { | 14279 int main() { |
14273 AuOpenServer() | 14280 AuOpenServer() |
14274 ; return 0; } | 14281 ; return 0; } |
14275 EOF | 14282 EOF |
14276 if { (eval echo configure:14277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14283 if { (eval echo configure:14284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14277 rm -rf conftest* | 14284 rm -rf conftest* |
14278 eval "ac_cv_lib_$ac_lib_var=yes" | 14285 eval "ac_cv_lib_$ac_lib_var=yes" |
14279 else | 14286 else |
14280 echo "configure: failed program was:" >&5 | 14287 echo "configure: failed program was:" >&5 |
14281 cat conftest.$ac_ext >&5 | 14288 cat conftest.$ac_ext >&5 |
14310 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14317 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14311 echo " xemacs will be linked with \"nas.o\"" | 14318 echo " xemacs will be linked with \"nas.o\"" |
14312 fi | 14319 fi |
14313 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14320 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14314 cat > conftest.$ac_ext <<EOF | 14321 cat > conftest.$ac_ext <<EOF |
14315 #line 14316 "configure" | 14322 #line 14323 "configure" |
14316 #include "confdefs.h" | 14323 #include "confdefs.h" |
14317 #include <audio/Xtutil.h> | 14324 #include <audio/Xtutil.h> |
14318 EOF | 14325 EOF |
14319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14320 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14327 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14341 | 14348 |
14342 if test "$with_esd_sound" != "no"; then | 14349 if test "$with_esd_sound" != "no"; then |
14343 # Extract the first word of "esd-config", so it can be a program name with args. | 14350 # Extract the first word of "esd-config", so it can be a program name with args. |
14344 set dummy esd-config; ac_word=$2 | 14351 set dummy esd-config; ac_word=$2 |
14345 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14352 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14346 echo "configure:14347: checking for $ac_word" >&5 | 14353 echo "configure:14354: checking for $ac_word" >&5 |
14347 | 14354 |
14348 if test -n "$have_esd_config"; then | 14355 if test -n "$have_esd_config"; then |
14349 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14356 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14350 else | 14357 else |
14351 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14358 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14370 if test "$have_esd_config" = "yes"; then | 14377 if test "$have_esd_config" = "yes"; then |
14371 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14378 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14372 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 | 14379 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 |
14373 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14380 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14374 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14381 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14375 echo "configure:14376: checking for esd_play_stream" >&5 | 14382 echo "configure:14383: checking for esd_play_stream" >&5 |
14376 | 14383 |
14377 cat > conftest.$ac_ext <<EOF | 14384 cat > conftest.$ac_ext <<EOF |
14378 #line 14379 "configure" | 14385 #line 14386 "configure" |
14379 #include "confdefs.h" | 14386 #include "confdefs.h" |
14380 /* System header to define __stub macros and hopefully few prototypes, | 14387 /* System header to define __stub macros and hopefully few prototypes, |
14381 which can conflict with char esd_play_stream(); below. */ | 14388 which can conflict with char esd_play_stream(); below. */ |
14382 #include <assert.h> | 14389 #include <assert.h> |
14383 /* Override any gcc2 internal prototype to avoid an error. */ | 14390 /* Override any gcc2 internal prototype to avoid an error. */ |
14396 esd_play_stream(); | 14403 esd_play_stream(); |
14397 #endif | 14404 #endif |
14398 | 14405 |
14399 ; return 0; } | 14406 ; return 0; } |
14400 EOF | 14407 EOF |
14401 if { (eval echo configure:14402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14408 if { (eval echo configure:14409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14402 rm -rf conftest* | 14409 rm -rf conftest* |
14403 eval "ac_cv_func_esd_play_stream=yes" | 14410 eval "ac_cv_func_esd_play_stream=yes" |
14404 else | 14411 else |
14405 echo "configure: failed program was:" >&5 | 14412 echo "configure: failed program was:" >&5 |
14406 cat conftest.$ac_ext >&5 | 14413 cat conftest.$ac_ext >&5 |
14447 | 14454 |
14448 test -z "$with_tty" && with_tty=yes | 14455 test -z "$with_tty" && with_tty=yes |
14449 | 14456 |
14450 if test "$with_tty" = "yes" ; then | 14457 if test "$with_tty" = "yes" ; then |
14451 echo "checking for TTY-related features" 1>&6 | 14458 echo "checking for TTY-related features" 1>&6 |
14452 echo "configure:14453: checking for TTY-related features" >&5 | 14459 echo "configure:14460: checking for TTY-related features" >&5 |
14453 { test "$extra_verbose" = "yes" && cat << \EOF | 14460 { test "$extra_verbose" = "yes" && cat << \EOF |
14454 Defining HAVE_TTY | 14461 Defining HAVE_TTY |
14455 EOF | 14462 EOF |
14456 cat >> confdefs.h <<\EOF | 14463 cat >> confdefs.h <<\EOF |
14457 #define HAVE_TTY 1 | 14464 #define HAVE_TTY 1 |
14460 | 14467 |
14461 | 14468 |
14462 if test -z "$with_ncurses"; then | 14469 if test -z "$with_ncurses"; then |
14463 | 14470 |
14464 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14471 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14465 echo "configure:14466: checking for tgetent in -lncurses" >&5 | 14472 echo "configure:14473: checking for tgetent in -lncurses" >&5 |
14466 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14473 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14467 | 14474 |
14468 xe_check_libs=" -lncurses " | 14475 xe_check_libs=" -lncurses " |
14469 cat > conftest.$ac_ext <<EOF | 14476 cat > conftest.$ac_ext <<EOF |
14470 #line 14471 "configure" | 14477 #line 14478 "configure" |
14471 #include "confdefs.h" | 14478 #include "confdefs.h" |
14472 /* Override any gcc2 internal prototype to avoid an error. */ | 14479 /* Override any gcc2 internal prototype to avoid an error. */ |
14473 /* We use char because int might match the return type of a gcc2 | 14480 /* We use char because int might match the return type of a gcc2 |
14474 builtin and then its argument prototype would still apply. */ | 14481 builtin and then its argument prototype would still apply. */ |
14475 char tgetent(); | 14482 char tgetent(); |
14476 | 14483 |
14477 int main() { | 14484 int main() { |
14478 tgetent() | 14485 tgetent() |
14479 ; return 0; } | 14486 ; return 0; } |
14480 EOF | 14487 EOF |
14481 if { (eval echo configure:14482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14488 if { (eval echo configure:14489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14482 rm -rf conftest* | 14489 rm -rf conftest* |
14483 eval "ac_cv_lib_$ac_lib_var=yes" | 14490 eval "ac_cv_lib_$ac_lib_var=yes" |
14484 else | 14491 else |
14485 echo "configure: failed program was:" >&5 | 14492 echo "configure: failed program was:" >&5 |
14486 cat conftest.$ac_ext >&5 | 14493 cat conftest.$ac_ext >&5 |
14509 EOF | 14516 EOF |
14510 } | 14517 } |
14511 | 14518 |
14512 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14519 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14513 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14520 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14514 echo "configure:14515: checking for ncurses/curses.h" >&5 | 14521 echo "configure:14522: checking for ncurses/curses.h" >&5 |
14515 | 14522 |
14516 cat > conftest.$ac_ext <<EOF | 14523 cat > conftest.$ac_ext <<EOF |
14517 #line 14518 "configure" | 14524 #line 14525 "configure" |
14518 #include "confdefs.h" | 14525 #include "confdefs.h" |
14519 #include <ncurses/curses.h> | 14526 #include <ncurses/curses.h> |
14520 EOF | 14527 EOF |
14521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14522 { (eval echo configure:14523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14529 { (eval echo configure:14530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14524 if test -z "$ac_err"; then | 14531 if test -z "$ac_err"; then |
14525 rm -rf conftest* | 14532 rm -rf conftest* |
14526 eval "ac_cv_header_$ac_safe=yes" | 14533 eval "ac_cv_header_$ac_safe=yes" |
14527 else | 14534 else |
14539 echo "$ac_t""no" 1>&6 | 14546 echo "$ac_t""no" 1>&6 |
14540 fi | 14547 fi |
14541 | 14548 |
14542 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14549 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14543 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14550 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14544 echo "configure:14545: checking for ncurses/term.h" >&5 | 14551 echo "configure:14552: checking for ncurses/term.h" >&5 |
14545 | 14552 |
14546 cat > conftest.$ac_ext <<EOF | 14553 cat > conftest.$ac_ext <<EOF |
14547 #line 14548 "configure" | 14554 #line 14555 "configure" |
14548 #include "confdefs.h" | 14555 #include "confdefs.h" |
14549 #include <ncurses/term.h> | 14556 #include <ncurses/term.h> |
14550 EOF | 14557 EOF |
14551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14552 { (eval echo configure:14553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14559 { (eval echo configure:14560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14553 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14554 if test -z "$ac_err"; then | 14561 if test -z "$ac_err"; then |
14555 rm -rf conftest* | 14562 rm -rf conftest* |
14556 eval "ac_cv_header_$ac_safe=yes" | 14563 eval "ac_cv_header_$ac_safe=yes" |
14557 else | 14564 else |
14577 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14584 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14578 save_c_switch_site="$c_switch_site" | 14585 save_c_switch_site="$c_switch_site" |
14579 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14586 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14580 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14587 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14581 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14588 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14582 echo "configure:14583: checking for ncurses/curses.h" >&5 | 14589 echo "configure:14590: checking for ncurses/curses.h" >&5 |
14583 | 14590 |
14584 cat > conftest.$ac_ext <<EOF | 14591 cat > conftest.$ac_ext <<EOF |
14585 #line 14586 "configure" | 14592 #line 14593 "configure" |
14586 #include "confdefs.h" | 14593 #include "confdefs.h" |
14587 #include <ncurses/curses.h> | 14594 #include <ncurses/curses.h> |
14588 EOF | 14595 EOF |
14589 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14596 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14590 { (eval echo configure:14591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14597 { (eval echo configure:14598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14591 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14598 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14592 if test -z "$ac_err"; then | 14599 if test -z "$ac_err"; then |
14593 rm -rf conftest* | 14600 rm -rf conftest* |
14594 eval "ac_cv_header_$ac_safe=yes" | 14601 eval "ac_cv_header_$ac_safe=yes" |
14595 else | 14602 else |
14620 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14627 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14621 else | 14628 else |
14622 for lib in curses termlib termcap; do | 14629 for lib in curses termlib termcap; do |
14623 | 14630 |
14624 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14631 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14625 echo "configure:14626: checking for tgetent in -l$lib" >&5 | 14632 echo "configure:14633: checking for tgetent in -l$lib" >&5 |
14626 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14633 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14627 | 14634 |
14628 xe_check_libs=" -l$lib " | 14635 xe_check_libs=" -l$lib " |
14629 cat > conftest.$ac_ext <<EOF | 14636 cat > conftest.$ac_ext <<EOF |
14630 #line 14631 "configure" | 14637 #line 14638 "configure" |
14631 #include "confdefs.h" | 14638 #include "confdefs.h" |
14632 /* Override any gcc2 internal prototype to avoid an error. */ | 14639 /* Override any gcc2 internal prototype to avoid an error. */ |
14633 /* We use char because int might match the return type of a gcc2 | 14640 /* We use char because int might match the return type of a gcc2 |
14634 builtin and then its argument prototype would still apply. */ | 14641 builtin and then its argument prototype would still apply. */ |
14635 char tgetent(); | 14642 char tgetent(); |
14636 | 14643 |
14637 int main() { | 14644 int main() { |
14638 tgetent() | 14645 tgetent() |
14639 ; return 0; } | 14646 ; return 0; } |
14640 EOF | 14647 EOF |
14641 if { (eval echo configure:14642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14648 if { (eval echo configure:14649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14642 rm -rf conftest* | 14649 rm -rf conftest* |
14643 eval "ac_cv_lib_$ac_lib_var=yes" | 14650 eval "ac_cv_lib_$ac_lib_var=yes" |
14644 else | 14651 else |
14645 echo "configure: failed program was:" >&5 | 14652 echo "configure: failed program was:" >&5 |
14646 cat conftest.$ac_ext >&5 | 14653 cat conftest.$ac_ext >&5 |
14667 if test -n "$libs_termcap"; then | 14674 if test -n "$libs_termcap"; then |
14668 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14675 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14669 else | 14676 else |
14670 | 14677 |
14671 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14678 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14672 echo "configure:14673: checking for tgetent in -lcurses" >&5 | 14679 echo "configure:14680: checking for tgetent in -lcurses" >&5 |
14673 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14680 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14674 | 14681 |
14675 xe_check_libs=" -lcurses " | 14682 xe_check_libs=" -lcurses " |
14676 cat > conftest.$ac_ext <<EOF | 14683 cat > conftest.$ac_ext <<EOF |
14677 #line 14678 "configure" | 14684 #line 14685 "configure" |
14678 #include "confdefs.h" | 14685 #include "confdefs.h" |
14679 /* Override any gcc2 internal prototype to avoid an error. */ | 14686 /* Override any gcc2 internal prototype to avoid an error. */ |
14680 /* We use char because int might match the return type of a gcc2 | 14687 /* We use char because int might match the return type of a gcc2 |
14681 builtin and then its argument prototype would still apply. */ | 14688 builtin and then its argument prototype would still apply. */ |
14682 char tgetent(); | 14689 char tgetent(); |
14683 | 14690 |
14684 int main() { | 14691 int main() { |
14685 tgetent() | 14692 tgetent() |
14686 ; return 0; } | 14693 ; return 0; } |
14687 EOF | 14694 EOF |
14688 if { (eval echo configure:14689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14695 if { (eval echo configure:14696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14689 rm -rf conftest* | 14696 rm -rf conftest* |
14690 eval "ac_cv_lib_$ac_lib_var=yes" | 14697 eval "ac_cv_lib_$ac_lib_var=yes" |
14691 else | 14698 else |
14692 echo "configure: failed program was:" >&5 | 14699 echo "configure: failed program was:" >&5 |
14693 cat conftest.$ac_ext >&5 | 14700 cat conftest.$ac_ext >&5 |
14701 echo "$ac_t""yes" 1>&6 | 14708 echo "$ac_t""yes" 1>&6 |
14702 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14709 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14703 else | 14710 else |
14704 echo "$ac_t""no" 1>&6 | 14711 echo "$ac_t""no" 1>&6 |
14705 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14712 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14706 echo "configure:14707: checking for tgetent in -ltermcap" >&5 | 14713 echo "configure:14714: checking for tgetent in -ltermcap" >&5 |
14707 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14714 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14708 | 14715 |
14709 xe_check_libs=" -ltermcap " | 14716 xe_check_libs=" -ltermcap " |
14710 cat > conftest.$ac_ext <<EOF | 14717 cat > conftest.$ac_ext <<EOF |
14711 #line 14712 "configure" | 14718 #line 14719 "configure" |
14712 #include "confdefs.h" | 14719 #include "confdefs.h" |
14713 /* Override any gcc2 internal prototype to avoid an error. */ | 14720 /* Override any gcc2 internal prototype to avoid an error. */ |
14714 /* We use char because int might match the return type of a gcc2 | 14721 /* We use char because int might match the return type of a gcc2 |
14715 builtin and then its argument prototype would still apply. */ | 14722 builtin and then its argument prototype would still apply. */ |
14716 char tgetent(); | 14723 char tgetent(); |
14717 | 14724 |
14718 int main() { | 14725 int main() { |
14719 tgetent() | 14726 tgetent() |
14720 ; return 0; } | 14727 ; return 0; } |
14721 EOF | 14728 EOF |
14722 if { (eval echo configure:14723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14729 if { (eval echo configure:14730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14723 rm -rf conftest* | 14730 rm -rf conftest* |
14724 eval "ac_cv_lib_$ac_lib_var=yes" | 14731 eval "ac_cv_lib_$ac_lib_var=yes" |
14725 else | 14732 else |
14726 echo "configure: failed program was:" >&5 | 14733 echo "configure: failed program was:" >&5 |
14727 cat conftest.$ac_ext >&5 | 14734 cat conftest.$ac_ext >&5 |
14765 } | 14772 } |
14766 | 14773 |
14767 | 14774 |
14768 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14775 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14769 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14776 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14770 echo "configure:14771: checking for gpm.h" >&5 | 14777 echo "configure:14778: checking for gpm.h" >&5 |
14771 | 14778 |
14772 cat > conftest.$ac_ext <<EOF | 14779 cat > conftest.$ac_ext <<EOF |
14773 #line 14774 "configure" | 14780 #line 14781 "configure" |
14774 #include "confdefs.h" | 14781 #include "confdefs.h" |
14775 #include <gpm.h> | 14782 #include <gpm.h> |
14776 EOF | 14783 EOF |
14777 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14784 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14778 { (eval echo configure:14779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14785 { (eval echo configure:14786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14779 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14786 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14780 if test -z "$ac_err"; then | 14787 if test -z "$ac_err"; then |
14781 rm -rf conftest* | 14788 rm -rf conftest* |
14782 eval "ac_cv_header_$ac_safe=yes" | 14789 eval "ac_cv_header_$ac_safe=yes" |
14783 else | 14790 else |
14796 with_gpm=no | 14803 with_gpm=no |
14797 fi | 14804 fi |
14798 } | 14805 } |
14799 test -z "$with_gpm" && { | 14806 test -z "$with_gpm" && { |
14800 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14807 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14801 echo "configure:14802: checking for Gpm_Open in -lgpm" >&5 | 14808 echo "configure:14809: checking for Gpm_Open in -lgpm" >&5 |
14802 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14809 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14803 | 14810 |
14804 xe_check_libs=" -lgpm " | 14811 xe_check_libs=" -lgpm " |
14805 cat > conftest.$ac_ext <<EOF | 14812 cat > conftest.$ac_ext <<EOF |
14806 #line 14807 "configure" | 14813 #line 14814 "configure" |
14807 #include "confdefs.h" | 14814 #include "confdefs.h" |
14808 /* Override any gcc2 internal prototype to avoid an error. */ | 14815 /* Override any gcc2 internal prototype to avoid an error. */ |
14809 /* We use char because int might match the return type of a gcc2 | 14816 /* We use char because int might match the return type of a gcc2 |
14810 builtin and then its argument prototype would still apply. */ | 14817 builtin and then its argument prototype would still apply. */ |
14811 char Gpm_Open(); | 14818 char Gpm_Open(); |
14812 | 14819 |
14813 int main() { | 14820 int main() { |
14814 Gpm_Open() | 14821 Gpm_Open() |
14815 ; return 0; } | 14822 ; return 0; } |
14816 EOF | 14823 EOF |
14817 if { (eval echo configure:14818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14824 if { (eval echo configure:14825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14818 rm -rf conftest* | 14825 rm -rf conftest* |
14819 eval "ac_cv_lib_$ac_lib_var=yes" | 14826 eval "ac_cv_lib_$ac_lib_var=yes" |
14820 else | 14827 else |
14821 echo "configure: failed program was:" >&5 | 14828 echo "configure: failed program was:" >&5 |
14822 cat conftest.$ac_ext >&5 | 14829 cat conftest.$ac_ext >&5 |
14855 done | 14862 done |
14856 fi | 14863 fi |
14857 | 14864 |
14858 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14865 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14859 != "no no no" && echo "checking for database support" 1>&6 | 14866 != "no no no" && echo "checking for database support" 1>&6 |
14860 echo "configure:14861: checking for database support" >&5 | 14867 echo "configure:14868: checking for database support" >&5 |
14861 | 14868 |
14862 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14869 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14863 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14870 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14864 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14871 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14865 echo "configure:14866: checking for ndbm.h" >&5 | 14872 echo "configure:14873: checking for ndbm.h" >&5 |
14866 | 14873 |
14867 cat > conftest.$ac_ext <<EOF | 14874 cat > conftest.$ac_ext <<EOF |
14868 #line 14869 "configure" | 14875 #line 14876 "configure" |
14869 #include "confdefs.h" | 14876 #include "confdefs.h" |
14870 #include <ndbm.h> | 14877 #include <ndbm.h> |
14871 EOF | 14878 EOF |
14872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14879 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14873 { (eval echo configure:14874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14880 { (eval echo configure:14881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14874 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14881 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14875 if test -z "$ac_err"; then | 14882 if test -z "$ac_err"; then |
14876 rm -rf conftest* | 14883 rm -rf conftest* |
14877 eval "ac_cv_header_$ac_safe=yes" | 14884 eval "ac_cv_header_$ac_safe=yes" |
14878 else | 14885 else |
14898 fi | 14905 fi |
14899 | 14906 |
14900 if test "$with_database_gdbm" != "no"; then | 14907 if test "$with_database_gdbm" != "no"; then |
14901 | 14908 |
14902 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14909 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14903 echo "configure:14904: checking for dbm_open in -lgdbm" >&5 | 14910 echo "configure:14911: checking for dbm_open in -lgdbm" >&5 |
14904 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14911 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14905 | 14912 |
14906 xe_check_libs=" -lgdbm " | 14913 xe_check_libs=" -lgdbm " |
14907 cat > conftest.$ac_ext <<EOF | 14914 cat > conftest.$ac_ext <<EOF |
14908 #line 14909 "configure" | 14915 #line 14916 "configure" |
14909 #include "confdefs.h" | 14916 #include "confdefs.h" |
14910 /* Override any gcc2 internal prototype to avoid an error. */ | 14917 /* Override any gcc2 internal prototype to avoid an error. */ |
14911 /* We use char because int might match the return type of a gcc2 | 14918 /* We use char because int might match the return type of a gcc2 |
14912 builtin and then its argument prototype would still apply. */ | 14919 builtin and then its argument prototype would still apply. */ |
14913 char dbm_open(); | 14920 char dbm_open(); |
14914 | 14921 |
14915 int main() { | 14922 int main() { |
14916 dbm_open() | 14923 dbm_open() |
14917 ; return 0; } | 14924 ; return 0; } |
14918 EOF | 14925 EOF |
14919 if { (eval echo configure:14920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14926 if { (eval echo configure:14927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14920 rm -rf conftest* | 14927 rm -rf conftest* |
14921 eval "ac_cv_lib_$ac_lib_var=yes" | 14928 eval "ac_cv_lib_$ac_lib_var=yes" |
14922 else | 14929 else |
14923 echo "configure: failed program was:" >&5 | 14930 echo "configure: failed program was:" >&5 |
14924 cat conftest.$ac_ext >&5 | 14931 cat conftest.$ac_ext >&5 |
14942 | 14949 |
14943 fi | 14950 fi |
14944 | 14951 |
14945 if test "$with_database_dbm" != "no"; then | 14952 if test "$with_database_dbm" != "no"; then |
14946 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14953 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14947 echo "configure:14948: checking for dbm_open" >&5 | 14954 echo "configure:14955: checking for dbm_open" >&5 |
14948 | 14955 |
14949 cat > conftest.$ac_ext <<EOF | 14956 cat > conftest.$ac_ext <<EOF |
14950 #line 14951 "configure" | 14957 #line 14958 "configure" |
14951 #include "confdefs.h" | 14958 #include "confdefs.h" |
14952 /* System header to define __stub macros and hopefully few prototypes, | 14959 /* System header to define __stub macros and hopefully few prototypes, |
14953 which can conflict with char dbm_open(); below. */ | 14960 which can conflict with char dbm_open(); below. */ |
14954 #include <assert.h> | 14961 #include <assert.h> |
14955 /* Override any gcc2 internal prototype to avoid an error. */ | 14962 /* Override any gcc2 internal prototype to avoid an error. */ |
14968 dbm_open(); | 14975 dbm_open(); |
14969 #endif | 14976 #endif |
14970 | 14977 |
14971 ; return 0; } | 14978 ; return 0; } |
14972 EOF | 14979 EOF |
14973 if { (eval echo configure:14974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14980 if { (eval echo configure:14981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14974 rm -rf conftest* | 14981 rm -rf conftest* |
14975 eval "ac_cv_func_dbm_open=yes" | 14982 eval "ac_cv_func_dbm_open=yes" |
14976 else | 14983 else |
14977 echo "configure: failed program was:" >&5 | 14984 echo "configure: failed program was:" >&5 |
14978 cat conftest.$ac_ext >&5 | 14985 cat conftest.$ac_ext >&5 |
14987 else | 14994 else |
14988 echo "$ac_t""no" 1>&6 | 14995 echo "$ac_t""no" 1>&6 |
14989 | 14996 |
14990 | 14997 |
14991 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 14998 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14992 echo "configure:14993: checking for dbm_open in -ldbm" >&5 | 14999 echo "configure:15000: checking for dbm_open in -ldbm" >&5 |
14993 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15000 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14994 | 15001 |
14995 xe_check_libs=" -ldbm " | 15002 xe_check_libs=" -ldbm " |
14996 cat > conftest.$ac_ext <<EOF | 15003 cat > conftest.$ac_ext <<EOF |
14997 #line 14998 "configure" | 15004 #line 15005 "configure" |
14998 #include "confdefs.h" | 15005 #include "confdefs.h" |
14999 /* Override any gcc2 internal prototype to avoid an error. */ | 15006 /* Override any gcc2 internal prototype to avoid an error. */ |
15000 /* We use char because int might match the return type of a gcc2 | 15007 /* We use char because int might match the return type of a gcc2 |
15001 builtin and then its argument prototype would still apply. */ | 15008 builtin and then its argument prototype would still apply. */ |
15002 char dbm_open(); | 15009 char dbm_open(); |
15003 | 15010 |
15004 int main() { | 15011 int main() { |
15005 dbm_open() | 15012 dbm_open() |
15006 ; return 0; } | 15013 ; return 0; } |
15007 EOF | 15014 EOF |
15008 if { (eval echo configure:15009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15015 if { (eval echo configure:15016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15009 rm -rf conftest* | 15016 rm -rf conftest* |
15010 eval "ac_cv_lib_$ac_lib_var=yes" | 15017 eval "ac_cv_lib_$ac_lib_var=yes" |
15011 else | 15018 else |
15012 echo "configure: failed program was:" >&5 | 15019 echo "configure: failed program was:" >&5 |
15013 cat conftest.$ac_ext >&5 | 15020 cat conftest.$ac_ext >&5 |
15044 } | 15051 } |
15045 | 15052 |
15046 | 15053 |
15047 if test "$with_database_berkdb" != "no"; then | 15054 if test "$with_database_berkdb" != "no"; then |
15048 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15055 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15049 echo "configure:15050: checking for Berkeley db.h" >&5 | 15056 echo "configure:15057: checking for Berkeley db.h" >&5 |
15050 for header in "db/db.h" "db.h"; do | 15057 for header in "db/db.h" "db.h"; do |
15051 cat > conftest.$ac_ext <<EOF | 15058 cat > conftest.$ac_ext <<EOF |
15052 #line 15053 "configure" | 15059 #line 15060 "configure" |
15053 #include "confdefs.h" | 15060 #include "confdefs.h" |
15054 | 15061 |
15055 #include <stdlib.h> | 15062 #include <stdlib.h> |
15056 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15063 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15057 #ifdef HAVE_INTTYPES_H | 15064 #ifdef HAVE_INTTYPES_H |
15069 | 15076 |
15070 int main() { | 15077 int main() { |
15071 | 15078 |
15072 ; return 0; } | 15079 ; return 0; } |
15073 EOF | 15080 EOF |
15074 if { (eval echo configure:15075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15081 if { (eval echo configure:15082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15075 rm -rf conftest* | 15082 rm -rf conftest* |
15076 db_h_file="$header"; break | 15083 db_h_file="$header"; break |
15077 else | 15084 else |
15078 echo "configure: failed program was:" >&5 | 15085 echo "configure: failed program was:" >&5 |
15079 cat conftest.$ac_ext >&5 | 15086 cat conftest.$ac_ext >&5 |
15085 else echo "$ac_t""$db_h_file" 1>&6 | 15092 else echo "$ac_t""$db_h_file" 1>&6 |
15086 fi | 15093 fi |
15087 | 15094 |
15088 if test "$with_database_berkdb" != "no"; then | 15095 if test "$with_database_berkdb" != "no"; then |
15089 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15096 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15090 echo "configure:15091: checking for Berkeley DB version" >&5 | 15097 echo "configure:15098: checking for Berkeley DB version" >&5 |
15091 cat > conftest.$ac_ext <<EOF | 15098 cat > conftest.$ac_ext <<EOF |
15092 #line 15093 "configure" | 15099 #line 15100 "configure" |
15093 #include "confdefs.h" | 15100 #include "confdefs.h" |
15094 #include <$db_h_file> | 15101 #include <$db_h_file> |
15095 #if DB_VERSION_MAJOR > 1 | 15102 #if DB_VERSION_MAJOR > 1 |
15096 yes | 15103 yes |
15097 #endif | 15104 #endif |
15099 EOF | 15106 EOF |
15100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15101 egrep "yes" >/dev/null 2>&1; then | 15108 egrep "yes" >/dev/null 2>&1; then |
15102 rm -rf conftest* | 15109 rm -rf conftest* |
15103 cat > conftest.$ac_ext <<EOF | 15110 cat > conftest.$ac_ext <<EOF |
15104 #line 15105 "configure" | 15111 #line 15112 "configure" |
15105 #include "confdefs.h" | 15112 #include "confdefs.h" |
15106 #include <$db_h_file> | 15113 #include <$db_h_file> |
15107 #if DB_VERSION_MAJOR > 2 | 15114 #if DB_VERSION_MAJOR > 2 |
15108 yes | 15115 yes |
15109 #endif | 15116 #endif |
15111 EOF | 15118 EOF |
15112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15113 egrep "yes" >/dev/null 2>&1; then | 15120 egrep "yes" >/dev/null 2>&1; then |
15114 rm -rf conftest* | 15121 rm -rf conftest* |
15115 cat > conftest.$ac_ext <<EOF | 15122 cat > conftest.$ac_ext <<EOF |
15116 #line 15117 "configure" | 15123 #line 15124 "configure" |
15117 #include "confdefs.h" | 15124 #include "confdefs.h" |
15118 #include <$db_h_file> | 15125 #include <$db_h_file> |
15119 #if DB_VERSION_MAJOR > 3 | 15126 #if DB_VERSION_MAJOR > 3 |
15120 yes | 15127 yes |
15121 #endif | 15128 #endif |
15145 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15152 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15146 fi | 15153 fi |
15147 rm -f conftest* | 15154 rm -f conftest* |
15148 | 15155 |
15149 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15156 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15150 echo "configure:15151: checking for $dbfunc" >&5 | 15157 echo "configure:15158: checking for $dbfunc" >&5 |
15151 | 15158 |
15152 cat > conftest.$ac_ext <<EOF | 15159 cat > conftest.$ac_ext <<EOF |
15153 #line 15154 "configure" | 15160 #line 15161 "configure" |
15154 #include "confdefs.h" | 15161 #include "confdefs.h" |
15155 /* System header to define __stub macros and hopefully few prototypes, | 15162 /* System header to define __stub macros and hopefully few prototypes, |
15156 which can conflict with char $dbfunc(); below. */ | 15163 which can conflict with char $dbfunc(); below. */ |
15157 #include <assert.h> | 15164 #include <assert.h> |
15158 /* Override any gcc2 internal prototype to avoid an error. */ | 15165 /* Override any gcc2 internal prototype to avoid an error. */ |
15171 $dbfunc(); | 15178 $dbfunc(); |
15172 #endif | 15179 #endif |
15173 | 15180 |
15174 ; return 0; } | 15181 ; return 0; } |
15175 EOF | 15182 EOF |
15176 if { (eval echo configure:15177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15183 if { (eval echo configure:15184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15177 rm -rf conftest* | 15184 rm -rf conftest* |
15178 eval "ac_cv_func_$dbfunc=yes" | 15185 eval "ac_cv_func_$dbfunc=yes" |
15179 else | 15186 else |
15180 echo "configure: failed program was:" >&5 | 15187 echo "configure: failed program was:" >&5 |
15181 cat conftest.$ac_ext >&5 | 15188 cat conftest.$ac_ext >&5 |
15190 else | 15197 else |
15191 echo "$ac_t""no" 1>&6 | 15198 echo "$ac_t""no" 1>&6 |
15192 | 15199 |
15193 | 15200 |
15194 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15201 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15195 echo "configure:15196: checking for $dbfunc in -ldb" >&5 | 15202 echo "configure:15203: checking for $dbfunc in -ldb" >&5 |
15196 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15203 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15197 | 15204 |
15198 xe_check_libs=" -ldb " | 15205 xe_check_libs=" -ldb " |
15199 cat > conftest.$ac_ext <<EOF | 15206 cat > conftest.$ac_ext <<EOF |
15200 #line 15201 "configure" | 15207 #line 15208 "configure" |
15201 #include "confdefs.h" | 15208 #include "confdefs.h" |
15202 /* Override any gcc2 internal prototype to avoid an error. */ | 15209 /* Override any gcc2 internal prototype to avoid an error. */ |
15203 /* We use char because int might match the return type of a gcc2 | 15210 /* We use char because int might match the return type of a gcc2 |
15204 builtin and then its argument prototype would still apply. */ | 15211 builtin and then its argument prototype would still apply. */ |
15205 char $dbfunc(); | 15212 char $dbfunc(); |
15206 | 15213 |
15207 int main() { | 15214 int main() { |
15208 $dbfunc() | 15215 $dbfunc() |
15209 ; return 0; } | 15216 ; return 0; } |
15210 EOF | 15217 EOF |
15211 if { (eval echo configure:15212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15218 if { (eval echo configure:15219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15212 rm -rf conftest* | 15219 rm -rf conftest* |
15213 eval "ac_cv_lib_$ac_lib_var=yes" | 15220 eval "ac_cv_lib_$ac_lib_var=yes" |
15214 else | 15221 else |
15215 echo "configure: failed program was:" >&5 | 15222 echo "configure: failed program was:" >&5 |
15216 cat conftest.$ac_ext >&5 | 15223 cat conftest.$ac_ext >&5 |
15240 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15247 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15241 rm -f $tempcname | 15248 rm -f $tempcname |
15242 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15249 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15243 | 15250 |
15244 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15251 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15245 echo "configure:15246: checking for $dbfunc in -ldb" >&5 | 15252 echo "configure:15253: checking for $dbfunc in -ldb" >&5 |
15246 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15253 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15247 | 15254 |
15248 xe_check_libs=" -ldb " | 15255 xe_check_libs=" -ldb " |
15249 cat > conftest.$ac_ext <<EOF | 15256 cat > conftest.$ac_ext <<EOF |
15250 #line 15251 "configure" | 15257 #line 15258 "configure" |
15251 #include "confdefs.h" | 15258 #include "confdefs.h" |
15252 /* Override any gcc2 internal prototype to avoid an error. */ | 15259 /* Override any gcc2 internal prototype to avoid an error. */ |
15253 /* We use char because int might match the return type of a gcc2 | 15260 /* We use char because int might match the return type of a gcc2 |
15254 builtin and then its argument prototype would still apply. */ | 15261 builtin and then its argument prototype would still apply. */ |
15255 char $dbfunc(); | 15262 char $dbfunc(); |
15256 | 15263 |
15257 int main() { | 15264 int main() { |
15258 $dbfunc() | 15265 $dbfunc() |
15259 ; return 0; } | 15266 ; return 0; } |
15260 EOF | 15267 EOF |
15261 if { (eval echo configure:15262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15268 if { (eval echo configure:15269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15262 rm -rf conftest* | 15269 rm -rf conftest* |
15263 eval "ac_cv_lib_$ac_lib_var=yes" | 15270 eval "ac_cv_lib_$ac_lib_var=yes" |
15264 else | 15271 else |
15265 echo "configure: failed program was:" >&5 | 15272 echo "configure: failed program was:" >&5 |
15266 cat conftest.$ac_ext >&5 | 15273 cat conftest.$ac_ext >&5 |
15315 fi | 15322 fi |
15316 | 15323 |
15317 if test "$with_socks" = "yes"; then | 15324 if test "$with_socks" = "yes"; then |
15318 | 15325 |
15319 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15326 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15320 echo "configure:15321: checking for SOCKSinit in -lsocks" >&5 | 15327 echo "configure:15328: checking for SOCKSinit in -lsocks" >&5 |
15321 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15328 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15322 | 15329 |
15323 xe_check_libs=" -lsocks " | 15330 xe_check_libs=" -lsocks " |
15324 cat > conftest.$ac_ext <<EOF | 15331 cat > conftest.$ac_ext <<EOF |
15325 #line 15326 "configure" | 15332 #line 15333 "configure" |
15326 #include "confdefs.h" | 15333 #include "confdefs.h" |
15327 /* Override any gcc2 internal prototype to avoid an error. */ | 15334 /* Override any gcc2 internal prototype to avoid an error. */ |
15328 /* We use char because int might match the return type of a gcc2 | 15335 /* We use char because int might match the return type of a gcc2 |
15329 builtin and then its argument prototype would still apply. */ | 15336 builtin and then its argument prototype would still apply. */ |
15330 char SOCKSinit(); | 15337 char SOCKSinit(); |
15331 | 15338 |
15332 int main() { | 15339 int main() { |
15333 SOCKSinit() | 15340 SOCKSinit() |
15334 ; return 0; } | 15341 ; return 0; } |
15335 EOF | 15342 EOF |
15336 if { (eval echo configure:15337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15343 if { (eval echo configure:15344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15337 rm -rf conftest* | 15344 rm -rf conftest* |
15338 eval "ac_cv_lib_$ac_lib_var=yes" | 15345 eval "ac_cv_lib_$ac_lib_var=yes" |
15339 else | 15346 else |
15340 echo "configure: failed program was:" >&5 | 15347 echo "configure: failed program was:" >&5 |
15341 cat conftest.$ac_ext >&5 | 15348 cat conftest.$ac_ext >&5 |
15385 | 15392 |
15386 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15393 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15387 fi | 15394 fi |
15388 | 15395 |
15389 cat > conftest.$ac_ext <<EOF | 15396 cat > conftest.$ac_ext <<EOF |
15390 #line 15391 "configure" | 15397 #line 15398 "configure" |
15391 #include "confdefs.h" | 15398 #include "confdefs.h" |
15392 int main(int c,char *v[]){return 0;} | 15399 int main(int c,char *v[]){return 0;} |
15393 EOF | 15400 EOF |
15394 if { (eval echo configure:15395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15401 if { (eval echo configure:15402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15395 then | 15402 then |
15396 : | 15403 : |
15397 else | 15404 else |
15398 conftest_rc="$?" | 15405 conftest_rc="$?" |
15399 echo "configure: failed program was:" >&5 | 15406 echo "configure: failed program was:" >&5 |
16337 s%@X_LIBS@%$X_LIBS%g | 16344 s%@X_LIBS@%$X_LIBS%g |
16338 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g | 16345 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
16339 s%@install_pp@%$install_pp%g | 16346 s%@install_pp@%$install_pp%g |
16340 s%@libs_xauth@%$libs_xauth%g | 16347 s%@libs_xauth@%$libs_xauth%g |
16341 s%@dnd_objs@%$dnd_objs%g | 16348 s%@dnd_objs@%$dnd_objs%g |
16349 s%@LIBSTDCPP@%$LIBSTDCPP%g | |
16342 s%@dll_ld@%$dll_ld%g | 16350 s%@dll_ld@%$dll_ld%g |
16343 s%@dll_cflags@%$dll_cflags%g | 16351 s%@dll_cflags@%$dll_cflags%g |
16344 s%@dll_ldflags@%$dll_ldflags%g | 16352 s%@dll_ldflags@%$dll_ldflags%g |
16345 s%@dll_post@%$dll_post%g | 16353 s%@dll_post@%$dll_post%g |
16346 s%@dll_ldo@%$dll_ldo%g | 16354 s%@dll_ldo@%$dll_ldo%g |