Mercurial > hg > xemacs-beta
comparison configure @ 2079:9402c85dcf6f
[xemacs-hg @ 2004-05-14 15:35:28 by james]
Second LTDL patch due to the still unknown problem preventing the first commit
from committing the stuff in the top-level directory.
author | james |
---|---|
date | Fri, 14 May 2004 15:35:31 +0000 |
parents | a741f294362b |
children | 646a9dd3e204 |
comparison
equal
deleted
inserted
replaced
2078:0bcc1e4dfd91 | 2079:9402c85dcf6f |
---|---|
7755 | 7755 |
7756 if test "$with_modules" != "no"; then | 7756 if test "$with_modules" != "no"; then |
7757 echo "checking for module support" 1>&6 | 7757 echo "checking for module support" 1>&6 |
7758 echo "configure:7759: checking for module support" >&5 | 7758 echo "configure:7759: checking for module support" >&5 |
7759 | 7759 |
7760 if test "$with_msw" = "yes"; then | 7760 case "$opsys" in |
7761 have_dl=yes; | 7761 mingw* | cygwin* ) have_dl=yes ;; |
7762 else | 7762 darwin ) have_dl=yes |
7763 case "$opsys" in | 7763 { test "$extra_verbose" = "yes" && cat << \EOF |
7764 darwin ) have_dl=yes; { test "$extra_verbose" = "yes" && cat << \EOF | |
7765 Defining HAVE_DYLD | 7764 Defining HAVE_DYLD |
7766 EOF | 7765 EOF |
7767 cat >> confdefs.h <<\EOF | 7766 cat >> confdefs.h <<\EOF |
7768 #define HAVE_DYLD 1 | 7767 #define HAVE_DYLD 1 |
7769 EOF | 7768 EOF |
7770 } | 7769 } |
7771 ;; | 7770 |
7772 * ) | 7771 ;; |
7772 * ) | |
7773 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7773 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7774 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7774 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7775 echo "configure:7776: checking for dlfcn.h" >&5 | 7775 echo "configure:7776: checking for dlfcn.h" >&5 |
7776 | 7776 |
7777 cat > conftest.$ac_ext <<EOF | 7777 cat > conftest.$ac_ext <<EOF |
7801 cat > conftest.$ac_ext <<EOF | 7801 cat > conftest.$ac_ext <<EOF |
7802 #line 7803 "configure" | 7802 #line 7803 "configure" |
7803 #include "confdefs.h" | 7803 #include "confdefs.h" |
7804 #include <dlfcn.h> | 7804 #include <dlfcn.h> |
7805 int main() { | 7805 int main() { |
7806 dlopen ("", 0); | 7806 dlopen ("", 0); |
7807 ; return 0; } | 7807 ; return 0; } |
7808 EOF | 7808 EOF |
7809 if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7809 if { (eval echo configure:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7810 rm -rf conftest* | 7810 rm -rf conftest* |
7811 have_dl=yes | 7811 have_dl=yes |
7814 cat conftest.$ac_ext >&5 | 7814 cat conftest.$ac_ext >&5 |
7815 rm -rf conftest* | 7815 rm -rf conftest* |
7816 | 7816 |
7817 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7817 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7818 echo "configure:7819: checking for dlopen in -ldl" >&5 | 7818 echo "configure:7819: checking for dlopen in -ldl" >&5 |
7819 ac_save_LIBS="$LIBS" | 7819 ac_save_LIBS="$LIBS" |
7820 LIBS="-ldl $LIBS" | 7820 LIBS="$LIBS -ldl" |
7821 cat > conftest.$ac_ext <<EOF | 7821 cat > conftest.$ac_ext <<EOF |
7822 #line 7823 "configure" | 7822 #line 7823 "configure" |
7823 #include "confdefs.h" | 7823 #include "confdefs.h" |
7824 #include <dlfcn.h> | 7824 #include <dlfcn.h> |
7825 int main() { | 7825 int main() { |
7826 dlopen ("", 0); | 7826 dlopen ("", 0); |
7827 ; return 0; } | 7827 ; return 0; } |
7828 EOF | 7828 EOF |
7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7830 rm -rf conftest* | 7830 rm -rf conftest* |
7831 have_dl=yes | 7831 have_dl=yes |
7832 else | 7832 else |
7833 echo "configure: failed program was:" >&5 | 7833 echo "configure: failed program was:" >&5 |
7834 cat conftest.$ac_ext >&5 | 7834 cat conftest.$ac_ext >&5 |
7835 rm -rf conftest* | 7835 rm -rf conftest* |
7836 | |
7837 echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6 | |
7838 echo "configure:7839: checking for dlopen in -lsvld" >&5 | |
7839 LIBS="$ac_save_LIBS -lsvld" | |
7840 cat > conftest.$ac_ext <<EOF | |
7841 #line 7842 "configure" | |
7842 #include "confdefs.h" | |
7843 #include <dlfcn.h> | |
7844 int main() { | |
7845 dlopen ("", 0); | |
7846 ; return 0; } | |
7847 EOF | |
7848 if { (eval echo configure:7849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7849 rm -rf conftest* | |
7850 have_dl=yes | |
7851 else | |
7852 echo "configure: failed program was:" >&5 | |
7853 cat conftest.$ac_ext >&5 | |
7854 rm -rf conftest* | |
7836 LIBS="$ac_save_LIBS" | 7855 LIBS="$ac_save_LIBS" |
7837 fi | 7856 fi |
7838 rm -f conftest* | 7857 rm -f conftest* |
7839 ac_save_LIBS= | 7858 fi |
7840 fi | 7859 rm -f conftest* |
7841 rm -f conftest* | 7860 fi |
7842 else | 7861 rm -f conftest* |
7843 echo "$ac_t""no" 1>&6 | 7862 else |
7844 fi | 7863 echo "$ac_t""no" 1>&6 |
7845 | 7864 fi |
7846 if test -n "$have_dl"; then | 7865 |
7866 if test "$have_dl" = "yes"; then | |
7847 { test "$extra_verbose" = "yes" && cat << \EOF | 7867 { test "$extra_verbose" = "yes" && cat << \EOF |
7848 Defining HAVE_DLOPEN | 7868 Defining HAVE_DLOPEN |
7849 EOF | 7869 EOF |
7850 cat >> confdefs.h <<\EOF | 7870 cat >> confdefs.h <<\EOF |
7851 #define HAVE_DLOPEN 1 | 7871 #define HAVE_DLOPEN 1 |
7852 EOF | 7872 EOF |
7853 } | 7873 } |
7854 | 7874 |
7855 fi | 7875 else |
7856 esac fi | 7876 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` |
7877 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 | |
7878 echo "configure:7879: checking for dl.h" >&5 | |
7879 | |
7880 cat > conftest.$ac_ext <<EOF | |
7881 #line 7882 "configure" | |
7882 #include "confdefs.h" | |
7883 #include <dl.h> | |
7884 EOF | |
7885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7886 { (eval echo configure:7887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7887 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7888 if test -z "$ac_err"; then | |
7889 rm -rf conftest* | |
7890 eval "ac_cv_header_$ac_safe=yes" | |
7891 else | |
7892 echo "$ac_err" >&5 | |
7893 echo "configure: failed program was:" >&5 | |
7894 cat conftest.$ac_ext >&5 | |
7895 rm -rf conftest* | |
7896 eval "ac_cv_header_$ac_safe=no" | |
7897 fi | |
7898 rm -f conftest* | |
7899 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7900 echo "$ac_t""yes" 1>&6 | |
7901 | |
7902 echo $ac_n "checking for shl_load in -lc""... $ac_c" 1>&6 | |
7903 echo "configure:7904: checking for shl_load in -lc" >&5 | |
7904 cat > conftest.$ac_ext <<EOF | |
7905 #line 7906 "configure" | |
7906 #include "confdefs.h" | |
7907 #include <dl.h> | |
7908 int main() { | |
7909 shl_load ("", 0, 0); | |
7910 ; return 0; } | |
7911 EOF | |
7912 if { (eval echo configure:7913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7913 rm -rf conftest* | |
7914 have_dl=yes | |
7915 else | |
7916 echo "configure: failed program was:" >&5 | |
7917 cat conftest.$ac_ext >&5 | |
7918 rm -rf conftest* | |
7919 | |
7920 echo $ac_n "checking for shl_load in -ldl""... $ac_c" 1>&6 | |
7921 echo "configure:7922: checking for shl_load in -ldl" >&5 | |
7922 ac_save_LIBS="$LIBS" | |
7923 LIBS="$LIBS -ldld" | |
7924 cat > conftest.$ac_ext <<EOF | |
7925 #line 7926 "configure" | |
7926 #include "confdefs.h" | |
7927 #include <dl.h> | |
7928 int main() { | |
7929 shl_load ("", 0, 0); | |
7930 ; return 0; } | |
7931 EOF | |
7932 if { (eval echo configure:7933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7933 rm -rf conftest* | |
7934 have_dl=yes | |
7935 else | |
7936 echo "configure: failed program was:" >&5 | |
7937 cat conftest.$ac_ext >&5 | |
7938 rm -rf conftest* | |
7939 LIBS="$ac_save_LIBS" | |
7940 fi | |
7941 rm -f conftest* | |
7942 fi | |
7943 rm -f conftest* | |
7944 else | |
7945 echo "$ac_t""no" 1>&6 | |
7946 fi | |
7947 | |
7948 if test "$have_dl" = "yes"; then | |
7949 { test "$extra_verbose" = "yes" && cat << \EOF | |
7950 Defining HAVE_SHL_LOAD | |
7951 EOF | |
7952 cat >> confdefs.h <<\EOF | |
7953 #define HAVE_SHL_LOAD 1 | |
7954 EOF | |
7955 } | |
7956 | |
7957 else | |
7958 ac_safe=`echo "ltdl.h" | sed 'y%./+-%__p_%'` | |
7959 echo $ac_n "checking for ltdl.h""... $ac_c" 1>&6 | |
7960 echo "configure:7961: checking for ltdl.h" >&5 | |
7961 | |
7962 cat > conftest.$ac_ext <<EOF | |
7963 #line 7964 "configure" | |
7964 #include "confdefs.h" | |
7965 #include <ltdl.h> | |
7966 EOF | |
7967 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7968 { (eval echo configure:7969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7969 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7970 if test -z "$ac_err"; then | |
7971 rm -rf conftest* | |
7972 eval "ac_cv_header_$ac_safe=yes" | |
7973 else | |
7974 echo "$ac_err" >&5 | |
7975 echo "configure: failed program was:" >&5 | |
7976 cat conftest.$ac_ext >&5 | |
7977 rm -rf conftest* | |
7978 eval "ac_cv_header_$ac_safe=no" | |
7979 fi | |
7980 rm -f conftest* | |
7981 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7982 echo "$ac_t""yes" 1>&6 | |
7983 | |
7984 echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6 | |
7985 echo "configure:7986: checking for lt_dlinit in -lltdl" >&5 | |
7986 ac_save_LIBS="$LIBS" | |
7987 LIBS="$LIBS -lltdl" | |
7988 cat > conftest.$ac_ext <<EOF | |
7989 #line 7990 "configure" | |
7990 #include "confdefs.h" | |
7991 #include <ltdl.h> | |
7992 int main() { | |
7993 lt_dlinit (); | |
7994 ; return 0; } | |
7995 EOF | |
7996 if { (eval echo configure:7997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7997 rm -rf conftest* | |
7998 have_dl=yes | |
7999 else | |
8000 echo "configure: failed program was:" >&5 | |
8001 cat conftest.$ac_ext >&5 | |
8002 rm -rf conftest* | |
8003 LIBS="$ac_save_LIBS" | |
8004 fi | |
8005 rm -f conftest* | |
8006 else | |
8007 echo "$ac_t""no" 1>&6 | |
8008 fi | |
8009 | |
8010 if test "$have_dl" = "yes"; then | |
8011 { test "$extra_verbose" = "yes" && cat << \EOF | |
8012 Defining HAVE_LTDL | |
8013 EOF | |
8014 cat >> confdefs.h <<\EOF | |
8015 #define HAVE_LTDL 1 | |
8016 EOF | |
8017 } | |
8018 | |
8019 fi | |
8020 fi | |
8021 fi | |
8022 ac_save_LIBS= | |
8023 esac | |
8024 | |
7857 if test -n "$have_dl"; then | 8025 if test -n "$have_dl"; then |
7858 | 8026 |
7859 dll_ld= | 8027 dll_ld= |
7860 dll_ldflags= | 8028 dll_ldflags= |
7861 dll_cflags= | 8029 dll_cflags= |
7864 ld_dynamic_link_flags= | 8032 ld_dynamic_link_flags= |
7865 xehost=$canonical | 8033 xehost=$canonical |
7866 xealias=$internal_configuration | 8034 xealias=$internal_configuration |
7867 | 8035 |
7868 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 8036 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7869 echo "configure:7870: checking how to build dynamic libraries for ${xehost}" >&5 | 8037 echo "configure:8038: checking how to build dynamic libraries for ${xehost}" >&5 |
7870 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 8038 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7871 case "$xehost" in | 8039 case "$xehost" in |
7872 *-*-linux-gnu*) ;; | 8040 *-*-linux-gnu*) ;; |
7873 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 8041 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7874 esac | 8042 esac |
7892 # Now see if the compiler is really GCC. | 8060 # Now see if the compiler is really GCC. |
7893 if test "$GCC" = "yes"; then | 8061 if test "$GCC" = "yes"; then |
7894 XEGCC=yes | 8062 XEGCC=yes |
7895 else | 8063 else |
7896 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 8064 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7897 echo "configure:7898: checking checking whether we are using GNU C" >&5 | 8065 echo "configure:8066: checking checking whether we are using GNU C" >&5 |
7898 cat > conftest.$ac_ext <<EOF | 8066 cat > conftest.$ac_ext <<EOF |
7899 #line 7900 "configure" | 8067 #line 8068 "configure" |
7900 #include "confdefs.h" | 8068 #include "confdefs.h" |
7901 | 8069 |
7902 #ifdef __GNUC__ | 8070 #ifdef __GNUC__ |
7903 yes; | 8071 yes; |
7904 #endif | 8072 #endif |
7916 | 8084 |
7917 echo "$ac_t""${XEGCC}" 1>&6 | 8085 echo "$ac_t""${XEGCC}" 1>&6 |
7918 fi | 8086 fi |
7919 | 8087 |
7920 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 8088 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7921 echo "configure:7922: checking how to produce PIC code" >&5 | 8089 echo "configure:8090: checking how to produce PIC code" >&5 |
7922 wl= | 8090 wl= |
7923 | 8091 |
7924 can_build_shared=yes | 8092 can_build_shared=yes |
7925 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 8093 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7926 wl='-Wl,' | 8094 wl='-Wl,' |
8020 if test -n "$dll_cflags"; then | 8188 if test -n "$dll_cflags"; then |
8021 echo "$ac_t""${dll_cflags}" 1>&6 | 8189 echo "$ac_t""${dll_cflags}" 1>&6 |
8022 | 8190 |
8023 # Check to make sure the dll_cflags actually works. | 8191 # Check to make sure the dll_cflags actually works. |
8024 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 8192 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
8025 echo "configure:8026: checking if PIC flag ${dll_cflags} really works" >&5 | 8193 echo "configure:8194: checking if PIC flag ${dll_cflags} really works" >&5 |
8026 save_CFLAGS="$CFLAGS" | 8194 save_CFLAGS="$CFLAGS" |
8027 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 8195 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
8028 cat > conftest.$ac_ext <<EOF | 8196 cat > conftest.$ac_ext <<EOF |
8029 #line 8030 "configure" | 8197 #line 8198 "configure" |
8030 #include "confdefs.h" | 8198 #include "confdefs.h" |
8031 | 8199 |
8032 int main() { | 8200 int main() { |
8033 int x=0; | 8201 int x=0; |
8034 ; return 0; } | 8202 ; return 0; } |
8035 EOF | 8203 EOF |
8036 if { (eval echo configure:8037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8204 if { (eval echo configure:8205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8037 rm -rf conftest* | 8205 rm -rf conftest* |
8038 | 8206 |
8039 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 8207 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
8040 # reports no error. So, we need to grep stderr for (Bundled). | 8208 # reports no error. So, we need to grep stderr for (Bundled). |
8041 if grep '(Bundled)' config.log >/dev/null; then | 8209 if grep '(Bundled)' config.log >/dev/null; then |
8062 if test "$can_build_shared" = "yes"; then | 8230 if test "$can_build_shared" = "yes"; then |
8063 cc_produces_so=no | 8231 cc_produces_so=no |
8064 xldf= | 8232 xldf= |
8065 xcldf= | 8233 xcldf= |
8066 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 8234 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
8067 echo "configure:8068: checking if C compiler can produce shared libraries" >&5 | 8235 echo "configure:8236: checking if C compiler can produce shared libraries" >&5 |
8068 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 8236 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
8069 case "$xehost_os" in | 8237 case "$xehost_os" in |
8070 *darwin*) | 8238 *darwin*) |
8071 xcldf='-bundle' | 8239 xcldf='-bundle' |
8072 xldf='-bundle -bundle_loader ../../src/xemacs' | 8240 xldf='-bundle -bundle_loader ../../src/xemacs' |
8121 LDFLAGS="$xcldf $LDFLAGS" | 8289 LDFLAGS="$xcldf $LDFLAGS" |
8122 LIBS= | 8290 LIBS= |
8123 xe_libs= | 8291 xe_libs= |
8124 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8292 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8125 cat > conftest.$ac_ext <<EOF | 8293 cat > conftest.$ac_ext <<EOF |
8126 #line 8127 "configure" | 8294 #line 8295 "configure" |
8127 #include "confdefs.h" | 8295 #include "confdefs.h" |
8128 | 8296 |
8129 int main() { | 8297 int main() { |
8130 int x=0; | 8298 int x=0; |
8131 ; return 0; } | 8299 ; return 0; } |
8132 EOF | 8300 EOF |
8133 if { (eval echo configure:8134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8301 if { (eval echo configure:8302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8134 rm -rf conftest* | 8302 rm -rf conftest* |
8135 cc_produces_so=yes | 8303 cc_produces_so=yes |
8136 else | 8304 else |
8137 echo "configure: failed program was:" >&5 | 8305 echo "configure: failed program was:" >&5 |
8138 cat conftest.$ac_ext >&5 | 8306 cat conftest.$ac_ext >&5 |
8153 if test -z "$LTLD"; then | 8321 if test -z "$LTLD"; then |
8154 ac_prog=ld | 8322 ac_prog=ld |
8155 if test "$XEGCC" = yes; then | 8323 if test "$XEGCC" = yes; then |
8156 # Check if gcc -print-prog-name=ld gives a path. | 8324 # Check if gcc -print-prog-name=ld gives a path. |
8157 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8325 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8158 echo "configure:8159: checking for ld used by GCC" >&5 | 8326 echo "configure:8327: checking for ld used by GCC" >&5 |
8159 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8327 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8160 case "$ac_prog" in | 8328 case "$ac_prog" in |
8161 # Accept absolute paths. | 8329 # Accept absolute paths. |
8162 /*) | 8330 /*) |
8163 if test -z "$LTLD"; then | 8331 if test -z "$LTLD"; then |
8179 with_gnu_ld=unknown | 8347 with_gnu_ld=unknown |
8180 ;; | 8348 ;; |
8181 esac | 8349 esac |
8182 else | 8350 else |
8183 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8351 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8184 echo "configure:8185: checking for GNU ld" >&5 | 8352 echo "configure:8353: checking for GNU ld" >&5 |
8185 fi | 8353 fi |
8186 | 8354 |
8187 if test -z "$LTLD"; then | 8355 if test -z "$LTLD"; then |
8188 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8356 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8189 for ac_dir in $PATH; do | 8357 for ac_dir in $PATH; do |
8217 | 8385 |
8218 ld_dynamic_link_flags= | 8386 ld_dynamic_link_flags= |
8219 | 8387 |
8220 # Check to see if it really is or isn't GNU ld. | 8388 # Check to see if it really is or isn't GNU ld. |
8221 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8389 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8222 echo "configure:8223: checking if the linker is GNU ld" >&5 | 8390 echo "configure:8391: checking if the linker is GNU ld" >&5 |
8223 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8391 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8224 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8392 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8225 xe_gnu_ld=yes | 8393 xe_gnu_ld=yes |
8226 else | 8394 else |
8227 xe_gnu_ld=no | 8395 xe_gnu_ld=no |
8252 ld_shlibs=yes | 8420 ld_shlibs=yes |
8253 else | 8421 else |
8254 # OK - only NOW do we futz about with ld. | 8422 # OK - only NOW do we futz about with ld. |
8255 # See if the linker supports building shared libraries. | 8423 # See if the linker supports building shared libraries. |
8256 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8424 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8257 echo "configure:8258: checking whether the linker supports shared libraries" >&5 | 8425 echo "configure:8426: checking whether the linker supports shared libraries" >&5 |
8258 dll_ld=$CC | 8426 dll_ld=$CC |
8259 dll_ldflags=$LDFLAGS | 8427 dll_ldflags=$LDFLAGS |
8260 ld_shlibs=yes | 8428 ld_shlibs=yes |
8261 can_build_shared=yes | 8429 can_build_shared=yes |
8262 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8430 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8465 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8633 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8466 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8634 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8467 for ac_func in dlerror _dlerror | 8635 for ac_func in dlerror _dlerror |
8468 do | 8636 do |
8469 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8470 echo "configure:8471: checking for $ac_func" >&5 | 8638 echo "configure:8639: checking for $ac_func" >&5 |
8471 | 8639 |
8472 cat > conftest.$ac_ext <<EOF | 8640 cat > conftest.$ac_ext <<EOF |
8473 #line 8474 "configure" | 8641 #line 8642 "configure" |
8474 #include "confdefs.h" | 8642 #include "confdefs.h" |
8475 /* System header to define __stub macros and hopefully few prototypes, | 8643 /* System header to define __stub macros and hopefully few prototypes, |
8476 which can conflict with char $ac_func(); below. */ | 8644 which can conflict with char $ac_func(); below. */ |
8477 #include <assert.h> | 8645 #include <assert.h> |
8478 /* Override any gcc2 internal prototype to avoid an error. */ | 8646 /* Override any gcc2 internal prototype to avoid an error. */ |
8491 $ac_func(); | 8659 $ac_func(); |
8492 #endif | 8660 #endif |
8493 | 8661 |
8494 ; return 0; } | 8662 ; return 0; } |
8495 EOF | 8663 EOF |
8496 if { (eval echo configure:8497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8664 if { (eval echo configure:8665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8497 rm -rf conftest* | 8665 rm -rf conftest* |
8498 eval "ac_cv_func_$ac_func=yes" | 8666 eval "ac_cv_func_$ac_func=yes" |
8499 else | 8667 else |
8500 echo "configure: failed program was:" >&5 | 8668 echo "configure: failed program was:" >&5 |
8501 cat conftest.$ac_ext >&5 | 8669 cat conftest.$ac_ext >&5 |
8555 | 8723 |
8556 if test "$with_tooltalk" != "no" ; then | 8724 if test "$with_tooltalk" != "no" ; then |
8557 for dir in "" "Tt/" "desktop/" ; do | 8725 for dir in "" "Tt/" "desktop/" ; do |
8558 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8726 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8559 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8727 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8560 echo "configure:8561: checking for ${dir}tt_c.h" >&5 | 8728 echo "configure:8729: checking for ${dir}tt_c.h" >&5 |
8561 | 8729 |
8562 cat > conftest.$ac_ext <<EOF | 8730 cat > conftest.$ac_ext <<EOF |
8563 #line 8564 "configure" | 8731 #line 8732 "configure" |
8564 #include "confdefs.h" | 8732 #include "confdefs.h" |
8565 #include <${dir}tt_c.h> | 8733 #include <${dir}tt_c.h> |
8566 EOF | 8734 EOF |
8567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8735 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8568 { (eval echo configure:8569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8736 { (eval echo configure:8737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8737 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8570 if test -z "$ac_err"; then | 8738 if test -z "$ac_err"; then |
8571 rm -rf conftest* | 8739 rm -rf conftest* |
8572 eval "ac_cv_header_$ac_safe=yes" | 8740 eval "ac_cv_header_$ac_safe=yes" |
8573 else | 8741 else |
8599 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8767 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8600 | 8768 |
8601 xe_msg_checking="for tt_message_create in -ltt" | 8769 xe_msg_checking="for tt_message_create in -ltt" |
8602 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8770 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8603 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8771 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8604 echo "configure:8605: checking "$xe_msg_checking"" >&5 | 8772 echo "configure:8773: checking "$xe_msg_checking"" >&5 |
8605 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8773 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8606 | 8774 |
8607 xe_check_libs=" -ltt $extra_libs" | 8775 xe_check_libs=" -ltt $extra_libs" |
8608 cat > conftest.$ac_ext <<EOF | 8776 cat > conftest.$ac_ext <<EOF |
8609 #line 8610 "configure" | 8777 #line 8778 "configure" |
8610 #include "confdefs.h" | 8778 #include "confdefs.h" |
8611 /* Override any gcc2 internal prototype to avoid an error. */ | 8779 /* Override any gcc2 internal prototype to avoid an error. */ |
8612 /* We use char because int might match the return type of a gcc2 | 8780 /* We use char because int might match the return type of a gcc2 |
8613 builtin and then its argument prototype would still apply. */ | 8781 builtin and then its argument prototype would still apply. */ |
8614 char tt_message_create(); | 8782 char tt_message_create(); |
8615 | 8783 |
8616 int main() { | 8784 int main() { |
8617 tt_message_create() | 8785 tt_message_create() |
8618 ; return 0; } | 8786 ; return 0; } |
8619 EOF | 8787 EOF |
8620 if { (eval echo configure:8621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8788 if { (eval echo configure:8789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8621 rm -rf conftest* | 8789 rm -rf conftest* |
8622 eval "ac_cv_lib_$ac_lib_var=yes" | 8790 eval "ac_cv_lib_$ac_lib_var=yes" |
8623 else | 8791 else |
8624 echo "configure: failed program was:" >&5 | 8792 echo "configure: failed program was:" >&5 |
8625 cat conftest.$ac_ext >&5 | 8793 cat conftest.$ac_ext >&5 |
8669 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8837 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8670 fi | 8838 fi |
8671 | 8839 |
8672 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8840 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8673 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8841 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8674 echo "configure:8675: checking for Dt/Dt.h" >&5 | 8842 echo "configure:8843: checking for Dt/Dt.h" >&5 |
8675 | 8843 |
8676 cat > conftest.$ac_ext <<EOF | 8844 cat > conftest.$ac_ext <<EOF |
8677 #line 8678 "configure" | 8845 #line 8846 "configure" |
8678 #include "confdefs.h" | 8846 #include "confdefs.h" |
8679 #include <Dt/Dt.h> | 8847 #include <Dt/Dt.h> |
8680 EOF | 8848 EOF |
8681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8682 { (eval echo configure:8683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8850 { (eval echo configure:8851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8684 if test -z "$ac_err"; then | 8852 if test -z "$ac_err"; then |
8685 rm -rf conftest* | 8853 rm -rf conftest* |
8686 eval "ac_cv_header_$ac_safe=yes" | 8854 eval "ac_cv_header_$ac_safe=yes" |
8687 else | 8855 else |
8700 with_cde=no | 8868 with_cde=no |
8701 fi | 8869 fi |
8702 } | 8870 } |
8703 test -z "$with_cde" && { | 8871 test -z "$with_cde" && { |
8704 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8872 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8705 echo "configure:8706: checking for DtDndDragStart in -lDtSvc" >&5 | 8873 echo "configure:8874: checking for DtDndDragStart in -lDtSvc" >&5 |
8706 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8874 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8707 | 8875 |
8708 xe_check_libs=" -lDtSvc " | 8876 xe_check_libs=" -lDtSvc " |
8709 cat > conftest.$ac_ext <<EOF | 8877 cat > conftest.$ac_ext <<EOF |
8710 #line 8711 "configure" | 8878 #line 8879 "configure" |
8711 #include "confdefs.h" | 8879 #include "confdefs.h" |
8712 /* Override any gcc2 internal prototype to avoid an error. */ | 8880 /* Override any gcc2 internal prototype to avoid an error. */ |
8713 /* We use char because int might match the return type of a gcc2 | 8881 /* We use char because int might match the return type of a gcc2 |
8714 builtin and then its argument prototype would still apply. */ | 8882 builtin and then its argument prototype would still apply. */ |
8715 char DtDndDragStart(); | 8883 char DtDndDragStart(); |
8716 | 8884 |
8717 int main() { | 8885 int main() { |
8718 DtDndDragStart() | 8886 DtDndDragStart() |
8719 ; return 0; } | 8887 ; return 0; } |
8720 EOF | 8888 EOF |
8721 if { (eval echo configure:8722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8889 if { (eval echo configure:8890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8722 rm -rf conftest* | 8890 rm -rf conftest* |
8723 eval "ac_cv_lib_$ac_lib_var=yes" | 8891 eval "ac_cv_lib_$ac_lib_var=yes" |
8724 else | 8892 else |
8725 echo "configure: failed program was:" >&5 | 8893 echo "configure: failed program was:" >&5 |
8726 cat conftest.$ac_ext >&5 | 8894 cat conftest.$ac_ext >&5 |
8797 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8965 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8798 fi | 8966 fi |
8799 | 8967 |
8800 if test "$with_dragndrop" != "no" ; then | 8968 if test "$with_dragndrop" != "no" ; then |
8801 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8969 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8802 echo "configure:8803: checking if drag and drop API is needed" >&5 | 8970 echo "configure:8971: checking if drag and drop API is needed" >&5 |
8803 if test -n "$dragndrop_proto" ; then | 8971 if test -n "$dragndrop_proto" ; then |
8804 with_dragndrop=yes | 8972 with_dragndrop=yes |
8805 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8973 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8806 { test "$extra_verbose" = "yes" && cat << \EOF | 8974 { test "$extra_verbose" = "yes" && cat << \EOF |
8807 Defining HAVE_DRAGNDROP | 8975 Defining HAVE_DRAGNDROP |
8817 echo "$ac_t""no" 1>&6 | 8985 echo "$ac_t""no" 1>&6 |
8818 fi | 8986 fi |
8819 fi | 8987 fi |
8820 | 8988 |
8821 echo "checking for LDAP" 1>&6 | 8989 echo "checking for LDAP" 1>&6 |
8822 echo "configure:8823: checking for LDAP" >&5 | 8990 echo "configure:8991: checking for LDAP" >&5 |
8823 ldap_libs= | 8991 ldap_libs= |
8824 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8992 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8825 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8993 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8826 echo "configure:8827: checking for ldap.h" >&5 | 8994 echo "configure:8995: checking for ldap.h" >&5 |
8827 | 8995 |
8828 cat > conftest.$ac_ext <<EOF | 8996 cat > conftest.$ac_ext <<EOF |
8829 #line 8830 "configure" | 8997 #line 8998 "configure" |
8830 #include "confdefs.h" | 8998 #include "confdefs.h" |
8831 #include <ldap.h> | 8999 #include <ldap.h> |
8832 EOF | 9000 EOF |
8833 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9001 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8834 { (eval echo configure:8835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9002 { (eval echo configure:9003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8835 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9003 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8836 if test -z "$ac_err"; then | 9004 if test -z "$ac_err"; then |
8837 rm -rf conftest* | 9005 rm -rf conftest* |
8838 eval "ac_cv_header_$ac_safe=yes" | 9006 eval "ac_cv_header_$ac_safe=yes" |
8839 else | 9007 else |
8852 with_ldap=no | 9020 with_ldap=no |
8853 fi | 9021 fi |
8854 } | 9022 } |
8855 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 9023 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8856 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 9024 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8857 echo "configure:8858: checking for lber.h" >&5 | 9025 echo "configure:9026: checking for lber.h" >&5 |
8858 | 9026 |
8859 cat > conftest.$ac_ext <<EOF | 9027 cat > conftest.$ac_ext <<EOF |
8860 #line 8861 "configure" | 9028 #line 9029 "configure" |
8861 #include "confdefs.h" | 9029 #include "confdefs.h" |
8862 #include <lber.h> | 9030 #include <lber.h> |
8863 EOF | 9031 EOF |
8864 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9032 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8865 { (eval echo configure:8866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9033 { (eval echo configure:9034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8866 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9034 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8867 if test -z "$ac_err"; then | 9035 if test -z "$ac_err"; then |
8868 rm -rf conftest* | 9036 rm -rf conftest* |
8869 eval "ac_cv_header_$ac_safe=yes" | 9037 eval "ac_cv_header_$ac_safe=yes" |
8870 else | 9038 else |
8884 fi | 9052 fi |
8885 } | 9053 } |
8886 if test "$with_ldap" != "no"; then | 9054 if test "$with_ldap" != "no"; then |
8887 | 9055 |
8888 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 9056 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8889 echo "configure:8890: checking for ldap_search in -lldap" >&5 | 9057 echo "configure:9058: checking for ldap_search in -lldap" >&5 |
8890 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 9058 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8891 | 9059 |
8892 xe_check_libs=" -lldap " | 9060 xe_check_libs=" -lldap " |
8893 cat > conftest.$ac_ext <<EOF | 9061 cat > conftest.$ac_ext <<EOF |
8894 #line 8895 "configure" | 9062 #line 9063 "configure" |
8895 #include "confdefs.h" | 9063 #include "confdefs.h" |
8896 /* Override any gcc2 internal prototype to avoid an error. */ | 9064 /* Override any gcc2 internal prototype to avoid an error. */ |
8897 /* We use char because int might match the return type of a gcc2 | 9065 /* We use char because int might match the return type of a gcc2 |
8898 builtin and then its argument prototype would still apply. */ | 9066 builtin and then its argument prototype would still apply. */ |
8899 char ldap_search(); | 9067 char ldap_search(); |
8900 | 9068 |
8901 int main() { | 9069 int main() { |
8902 ldap_search() | 9070 ldap_search() |
8903 ; return 0; } | 9071 ; return 0; } |
8904 EOF | 9072 EOF |
8905 if { (eval echo configure:8906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9073 if { (eval echo configure:9074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8906 rm -rf conftest* | 9074 rm -rf conftest* |
8907 eval "ac_cv_lib_$ac_lib_var=yes" | 9075 eval "ac_cv_lib_$ac_lib_var=yes" |
8908 else | 9076 else |
8909 echo "configure: failed program was:" >&5 | 9077 echo "configure: failed program was:" >&5 |
8910 cat conftest.$ac_ext >&5 | 9078 cat conftest.$ac_ext >&5 |
8925 | 9093 |
8926 test "$with_ldap_nolber" = "no" && { | 9094 test "$with_ldap_nolber" = "no" && { |
8927 xe_msg_checking="for ldap_open in -lldap" | 9095 xe_msg_checking="for ldap_open in -lldap" |
8928 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 9096 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8929 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 9097 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8930 echo "configure:8931: checking "$xe_msg_checking"" >&5 | 9098 echo "configure:9099: checking "$xe_msg_checking"" >&5 |
8931 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 9099 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8932 | 9100 |
8933 xe_check_libs=" -lldap -llber" | 9101 xe_check_libs=" -lldap -llber" |
8934 cat > conftest.$ac_ext <<EOF | 9102 cat > conftest.$ac_ext <<EOF |
8935 #line 8936 "configure" | 9103 #line 9104 "configure" |
8936 #include "confdefs.h" | 9104 #include "confdefs.h" |
8937 /* Override any gcc2 internal prototype to avoid an error. */ | 9105 /* Override any gcc2 internal prototype to avoid an error. */ |
8938 /* We use char because int might match the return type of a gcc2 | 9106 /* We use char because int might match the return type of a gcc2 |
8939 builtin and then its argument prototype would still apply. */ | 9107 builtin and then its argument prototype would still apply. */ |
8940 char ldap_open(); | 9108 char ldap_open(); |
8941 | 9109 |
8942 int main() { | 9110 int main() { |
8943 ldap_open() | 9111 ldap_open() |
8944 ; return 0; } | 9112 ; return 0; } |
8945 EOF | 9113 EOF |
8946 if { (eval echo configure:8947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9114 if { (eval echo configure:9115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8947 rm -rf conftest* | 9115 rm -rf conftest* |
8948 eval "ac_cv_lib_$ac_lib_var=yes" | 9116 eval "ac_cv_lib_$ac_lib_var=yes" |
8949 else | 9117 else |
8950 echo "configure: failed program was:" >&5 | 9118 echo "configure: failed program was:" >&5 |
8951 cat conftest.$ac_ext >&5 | 9119 cat conftest.$ac_ext >&5 |
8966 } | 9134 } |
8967 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 9135 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8968 xe_msg_checking="for ldap_open in -lldap" | 9136 xe_msg_checking="for ldap_open in -lldap" |
8969 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 9137 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8970 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 9138 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8971 echo "configure:8972: checking "$xe_msg_checking"" >&5 | 9139 echo "configure:9140: checking "$xe_msg_checking"" >&5 |
8972 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 9140 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8973 | 9141 |
8974 xe_check_libs=" -lldap -llber -lkrb" | 9142 xe_check_libs=" -lldap -llber -lkrb" |
8975 cat > conftest.$ac_ext <<EOF | 9143 cat > conftest.$ac_ext <<EOF |
8976 #line 8977 "configure" | 9144 #line 9145 "configure" |
8977 #include "confdefs.h" | 9145 #include "confdefs.h" |
8978 /* Override any gcc2 internal prototype to avoid an error. */ | 9146 /* Override any gcc2 internal prototype to avoid an error. */ |
8979 /* We use char because int might match the return type of a gcc2 | 9147 /* We use char because int might match the return type of a gcc2 |
8980 builtin and then its argument prototype would still apply. */ | 9148 builtin and then its argument prototype would still apply. */ |
8981 char ldap_open(); | 9149 char ldap_open(); |
8982 | 9150 |
8983 int main() { | 9151 int main() { |
8984 ldap_open() | 9152 ldap_open() |
8985 ; return 0; } | 9153 ; return 0; } |
8986 EOF | 9154 EOF |
8987 if { (eval echo configure:8988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9155 if { (eval echo configure:9156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8988 rm -rf conftest* | 9156 rm -rf conftest* |
8989 eval "ac_cv_lib_$ac_lib_var=yes" | 9157 eval "ac_cv_lib_$ac_lib_var=yes" |
8990 else | 9158 else |
8991 echo "configure: failed program was:" >&5 | 9159 echo "configure: failed program was:" >&5 |
8992 cat conftest.$ac_ext >&5 | 9160 cat conftest.$ac_ext >&5 |
9007 } | 9175 } |
9008 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 9176 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
9009 xe_msg_checking="for ldap_open in -lldap" | 9177 xe_msg_checking="for ldap_open in -lldap" |
9010 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 9178 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
9011 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 9179 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
9012 echo "configure:9013: checking "$xe_msg_checking"" >&5 | 9180 echo "configure:9181: checking "$xe_msg_checking"" >&5 |
9013 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 9181 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
9014 | 9182 |
9015 xe_check_libs=" -lldap -llber -lkrb -ldes" | 9183 xe_check_libs=" -lldap -llber -lkrb -ldes" |
9016 cat > conftest.$ac_ext <<EOF | 9184 cat > conftest.$ac_ext <<EOF |
9017 #line 9018 "configure" | 9185 #line 9186 "configure" |
9018 #include "confdefs.h" | 9186 #include "confdefs.h" |
9019 /* Override any gcc2 internal prototype to avoid an error. */ | 9187 /* Override any gcc2 internal prototype to avoid an error. */ |
9020 /* We use char because int might match the return type of a gcc2 | 9188 /* We use char because int might match the return type of a gcc2 |
9021 builtin and then its argument prototype would still apply. */ | 9189 builtin and then its argument prototype would still apply. */ |
9022 char ldap_open(); | 9190 char ldap_open(); |
9023 | 9191 |
9024 int main() { | 9192 int main() { |
9025 ldap_open() | 9193 ldap_open() |
9026 ; return 0; } | 9194 ; return 0; } |
9027 EOF | 9195 EOF |
9028 if { (eval echo configure:9029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9196 if { (eval echo configure:9197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9029 rm -rf conftest* | 9197 rm -rf conftest* |
9030 eval "ac_cv_lib_$ac_lib_var=yes" | 9198 eval "ac_cv_lib_$ac_lib_var=yes" |
9031 else | 9199 else |
9032 echo "configure: failed program was:" >&5 | 9200 echo "configure: failed program was:" >&5 |
9033 cat conftest.$ac_ext >&5 | 9201 cat conftest.$ac_ext >&5 |
9072 fi | 9240 fi |
9073 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 9241 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
9074 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 9242 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
9075 do | 9243 do |
9076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9244 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9077 echo "configure:9078: checking for $ac_func" >&5 | 9245 echo "configure:9246: checking for $ac_func" >&5 |
9078 | 9246 |
9079 cat > conftest.$ac_ext <<EOF | 9247 cat > conftest.$ac_ext <<EOF |
9080 #line 9081 "configure" | 9248 #line 9249 "configure" |
9081 #include "confdefs.h" | 9249 #include "confdefs.h" |
9082 /* System header to define __stub macros and hopefully few prototypes, | 9250 /* System header to define __stub macros and hopefully few prototypes, |
9083 which can conflict with char $ac_func(); below. */ | 9251 which can conflict with char $ac_func(); below. */ |
9084 #include <assert.h> | 9252 #include <assert.h> |
9085 /* Override any gcc2 internal prototype to avoid an error. */ | 9253 /* Override any gcc2 internal prototype to avoid an error. */ |
9098 $ac_func(); | 9266 $ac_func(); |
9099 #endif | 9267 #endif |
9100 | 9268 |
9101 ; return 0; } | 9269 ; return 0; } |
9102 EOF | 9270 EOF |
9103 if { (eval echo configure:9104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9271 if { (eval echo configure:9272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9104 rm -rf conftest* | 9272 rm -rf conftest* |
9105 eval "ac_cv_func_$ac_func=yes" | 9273 eval "ac_cv_func_$ac_func=yes" |
9106 else | 9274 else |
9107 echo "configure: failed program was:" >&5 | 9275 echo "configure: failed program was:" >&5 |
9108 cat conftest.$ac_ext >&5 | 9276 cat conftest.$ac_ext >&5 |
9137 | 9305 |
9138 | 9306 |
9139 postgresql_libs= | 9307 postgresql_libs= |
9140 if test "$with_postgresql" != "no"; then | 9308 if test "$with_postgresql" != "no"; then |
9141 echo "checking for PostgreSQL" 1>&6 | 9309 echo "checking for PostgreSQL" 1>&6 |
9142 echo "configure:9143: checking for PostgreSQL" >&5 | 9310 echo "configure:9311: checking for PostgreSQL" >&5 |
9143 | 9311 |
9144 for header_dir in "" "pgsql/" "postgresql/"; do | 9312 for header_dir in "" "pgsql/" "postgresql/"; do |
9145 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9313 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9146 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9314 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9147 echo "configure:9148: checking for ${header_dir}libpq-fe.h" >&5 | 9315 echo "configure:9316: checking for ${header_dir}libpq-fe.h" >&5 |
9148 | 9316 |
9149 cat > conftest.$ac_ext <<EOF | 9317 cat > conftest.$ac_ext <<EOF |
9150 #line 9151 "configure" | 9318 #line 9319 "configure" |
9151 #include "confdefs.h" | 9319 #include "confdefs.h" |
9152 #include <${header_dir}libpq-fe.h> | 9320 #include <${header_dir}libpq-fe.h> |
9153 EOF | 9321 EOF |
9154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9155 { (eval echo configure:9156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9323 { (eval echo configure:9324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9324 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9157 if test -z "$ac_err"; then | 9325 if test -z "$ac_err"; then |
9158 rm -rf conftest* | 9326 rm -rf conftest* |
9159 eval "ac_cv_header_$ac_safe=yes" | 9327 eval "ac_cv_header_$ac_safe=yes" |
9160 else | 9328 else |
9174 | 9342 |
9175 done | 9343 done |
9176 | 9344 |
9177 test -n "$libpq_fe_h_file" && { | 9345 test -n "$libpq_fe_h_file" && { |
9178 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9346 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9179 echo "configure:9180: checking for PQconnectdb in -lpq" >&5 | 9347 echo "configure:9348: checking for PQconnectdb in -lpq" >&5 |
9180 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9348 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9181 | 9349 |
9182 xe_check_libs=" -lpq " | 9350 xe_check_libs=" -lpq " |
9183 cat > conftest.$ac_ext <<EOF | 9351 cat > conftest.$ac_ext <<EOF |
9184 #line 9185 "configure" | 9352 #line 9353 "configure" |
9185 #include "confdefs.h" | 9353 #include "confdefs.h" |
9186 /* Override any gcc2 internal prototype to avoid an error. */ | 9354 /* Override any gcc2 internal prototype to avoid an error. */ |
9187 /* We use char because int might match the return type of a gcc2 | 9355 /* We use char because int might match the return type of a gcc2 |
9188 builtin and then its argument prototype would still apply. */ | 9356 builtin and then its argument prototype would still apply. */ |
9189 char PQconnectdb(); | 9357 char PQconnectdb(); |
9190 | 9358 |
9191 int main() { | 9359 int main() { |
9192 PQconnectdb() | 9360 PQconnectdb() |
9193 ; return 0; } | 9361 ; return 0; } |
9194 EOF | 9362 EOF |
9195 if { (eval echo configure:9196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9363 if { (eval echo configure:9364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9196 rm -rf conftest* | 9364 rm -rf conftest* |
9197 eval "ac_cv_lib_$ac_lib_var=yes" | 9365 eval "ac_cv_lib_$ac_lib_var=yes" |
9198 else | 9366 else |
9199 echo "configure: failed program was:" >&5 | 9367 echo "configure: failed program was:" >&5 |
9200 cat conftest.$ac_ext >&5 | 9368 cat conftest.$ac_ext >&5 |
9223 EOF | 9391 EOF |
9224 } | 9392 } |
9225 | 9393 |
9226 | 9394 |
9227 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9395 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9228 echo "configure:9229: checking for PQconnectStart in -lpq" >&5 | 9396 echo "configure:9397: checking for PQconnectStart in -lpq" >&5 |
9229 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9397 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9230 | 9398 |
9231 xe_check_libs=" -lpq " | 9399 xe_check_libs=" -lpq " |
9232 cat > conftest.$ac_ext <<EOF | 9400 cat > conftest.$ac_ext <<EOF |
9233 #line 9234 "configure" | 9401 #line 9402 "configure" |
9234 #include "confdefs.h" | 9402 #include "confdefs.h" |
9235 /* Override any gcc2 internal prototype to avoid an error. */ | 9403 /* Override any gcc2 internal prototype to avoid an error. */ |
9236 /* We use char because int might match the return type of a gcc2 | 9404 /* We use char because int might match the return type of a gcc2 |
9237 builtin and then its argument prototype would still apply. */ | 9405 builtin and then its argument prototype would still apply. */ |
9238 char PQconnectStart(); | 9406 char PQconnectStart(); |
9239 | 9407 |
9240 int main() { | 9408 int main() { |
9241 PQconnectStart() | 9409 PQconnectStart() |
9242 ; return 0; } | 9410 ; return 0; } |
9243 EOF | 9411 EOF |
9244 if { (eval echo configure:9245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9412 if { (eval echo configure:9413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9245 rm -rf conftest* | 9413 rm -rf conftest* |
9246 eval "ac_cv_lib_$ac_lib_var=yes" | 9414 eval "ac_cv_lib_$ac_lib_var=yes" |
9247 else | 9415 else |
9248 echo "configure: failed program was:" >&5 | 9416 echo "configure: failed program was:" >&5 |
9249 cat conftest.$ac_ext >&5 | 9417 cat conftest.$ac_ext >&5 |
9290 | 9458 |
9291 | 9459 |
9292 | 9460 |
9293 if test "$window_system" != "none"; then | 9461 if test "$window_system" != "none"; then |
9294 echo "checking for graphics libraries" 1>&6 | 9462 echo "checking for graphics libraries" 1>&6 |
9295 echo "configure:9296: checking for graphics libraries" >&5 | 9463 echo "configure:9464: checking for graphics libraries" >&5 |
9296 | 9464 |
9297 libpath_xpm= | 9465 libpath_xpm= |
9298 incpath_xpm= | 9466 incpath_xpm= |
9299 case "$opsys" in | 9467 case "$opsys" in |
9300 cygwin*) | 9468 cygwin*) |
9316 xpm_problem="" | 9484 xpm_problem="" |
9317 if test -z "$with_xpm"; then | 9485 if test -z "$with_xpm"; then |
9318 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9486 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9319 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9487 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9320 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9488 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9321 echo "configure:9322: checking for Xpm - no older than 3.4f" >&5 | 9489 echo "configure:9490: checking for Xpm - no older than 3.4f" >&5 |
9322 xe_check_libs=-lXpm | 9490 xe_check_libs=-lXpm |
9323 cat > conftest.$ac_ext <<EOF | 9491 cat > conftest.$ac_ext <<EOF |
9324 #line 9325 "configure" | 9492 #line 9493 "configure" |
9325 #include "confdefs.h" | 9493 #include "confdefs.h" |
9326 #define XPM_NUMBERS | 9494 #define XPM_NUMBERS |
9327 #include <X11/xpm.h> | 9495 #include <X11/xpm.h> |
9328 int main(int c, char **v) { | 9496 int main(int c, char **v) { |
9329 return c == 1 ? 0 : | 9497 return c == 1 ? 0 : |
9330 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9498 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9331 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9499 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9332 EOF | 9500 EOF |
9333 if { (eval echo configure:9334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9501 if { (eval echo configure:9502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9334 then | 9502 then |
9335 ./conftest dummy_arg; xpm_status=$?; | 9503 ./conftest dummy_arg; xpm_status=$?; |
9336 if test "$xpm_status" = "0"; then | 9504 if test "$xpm_status" = "0"; then |
9337 with_xpm=yes; | 9505 with_xpm=yes; |
9338 else | 9506 else |
9372 | 9540 |
9373 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9541 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9374 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9542 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9375 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9543 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9376 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9544 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9377 echo "configure:9378: checking for \"FOR_MSW\" xpm" >&5 | 9545 echo "configure:9546: checking for \"FOR_MSW\" xpm" >&5 |
9378 xe_check_libs=-lXpm | 9546 xe_check_libs=-lXpm |
9379 cat > conftest.$ac_ext <<EOF | 9547 cat > conftest.$ac_ext <<EOF |
9380 #line 9381 "configure" | 9548 #line 9549 "configure" |
9381 #include "confdefs.h" | 9549 #include "confdefs.h" |
9382 | 9550 |
9383 int main() { | 9551 int main() { |
9384 XpmCreatePixmapFromData() | 9552 XpmCreatePixmapFromData() |
9385 ; return 0; } | 9553 ; return 0; } |
9386 EOF | 9554 EOF |
9387 if { (eval echo configure:9388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9555 if { (eval echo configure:9556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9388 rm -rf conftest* | 9556 rm -rf conftest* |
9389 xpm_for_msw=no | 9557 xpm_for_msw=no |
9390 else | 9558 else |
9391 echo "configure: failed program was:" >&5 | 9559 echo "configure: failed program was:" >&5 |
9392 cat conftest.$ac_ext >&5 | 9560 cat conftest.$ac_ext >&5 |
9408 fi | 9576 fi |
9409 fi | 9577 fi |
9410 | 9578 |
9411 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9579 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9412 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9580 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9413 echo "configure:9414: checking for compface.h" >&5 | 9581 echo "configure:9582: checking for compface.h" >&5 |
9414 | 9582 |
9415 cat > conftest.$ac_ext <<EOF | 9583 cat > conftest.$ac_ext <<EOF |
9416 #line 9417 "configure" | 9584 #line 9585 "configure" |
9417 #include "confdefs.h" | 9585 #include "confdefs.h" |
9418 #include <compface.h> | 9586 #include <compface.h> |
9419 EOF | 9587 EOF |
9420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9421 { (eval echo configure:9422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9589 { (eval echo configure:9590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9423 if test -z "$ac_err"; then | 9591 if test -z "$ac_err"; then |
9424 rm -rf conftest* | 9592 rm -rf conftest* |
9425 eval "ac_cv_header_$ac_safe=yes" | 9593 eval "ac_cv_header_$ac_safe=yes" |
9426 else | 9594 else |
9439 with_xface=no | 9607 with_xface=no |
9440 fi | 9608 fi |
9441 } | 9609 } |
9442 test -z "$with_xface" && { | 9610 test -z "$with_xface" && { |
9443 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9611 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9444 echo "configure:9445: checking for UnGenFace in -lcompface" >&5 | 9612 echo "configure:9613: checking for UnGenFace in -lcompface" >&5 |
9445 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9613 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9446 | 9614 |
9447 xe_check_libs=" -lcompface " | 9615 xe_check_libs=" -lcompface " |
9448 cat > conftest.$ac_ext <<EOF | 9616 cat > conftest.$ac_ext <<EOF |
9449 #line 9450 "configure" | 9617 #line 9618 "configure" |
9450 #include "confdefs.h" | 9618 #include "confdefs.h" |
9451 /* Override any gcc2 internal prototype to avoid an error. */ | 9619 /* Override any gcc2 internal prototype to avoid an error. */ |
9452 /* We use char because int might match the return type of a gcc2 | 9620 /* We use char because int might match the return type of a gcc2 |
9453 builtin and then its argument prototype would still apply. */ | 9621 builtin and then its argument prototype would still apply. */ |
9454 char UnGenFace(); | 9622 char UnGenFace(); |
9455 | 9623 |
9456 int main() { | 9624 int main() { |
9457 UnGenFace() | 9625 UnGenFace() |
9458 ; return 0; } | 9626 ; return 0; } |
9459 EOF | 9627 EOF |
9460 if { (eval echo configure:9461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9628 if { (eval echo configure:9629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9461 rm -rf conftest* | 9629 rm -rf conftest* |
9462 eval "ac_cv_lib_$ac_lib_var=yes" | 9630 eval "ac_cv_lib_$ac_lib_var=yes" |
9463 else | 9631 else |
9464 echo "configure: failed program was:" >&5 | 9632 echo "configure: failed program was:" >&5 |
9465 cat conftest.$ac_ext >&5 | 9633 cat conftest.$ac_ext >&5 |
9504 fi | 9672 fi |
9505 | 9673 |
9506 if test "$with_png $with_tiff" != "no no"; then | 9674 if test "$with_png $with_tiff" != "no no"; then |
9507 | 9675 |
9508 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9676 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9509 echo "configure:9510: checking for inflate in -lc" >&5 | 9677 echo "configure:9678: checking for inflate in -lc" >&5 |
9510 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9678 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9511 | 9679 |
9512 xe_check_libs=" -lc " | 9680 xe_check_libs=" -lc " |
9513 cat > conftest.$ac_ext <<EOF | 9681 cat > conftest.$ac_ext <<EOF |
9514 #line 9515 "configure" | 9682 #line 9683 "configure" |
9515 #include "confdefs.h" | 9683 #include "confdefs.h" |
9516 /* Override any gcc2 internal prototype to avoid an error. */ | 9684 /* Override any gcc2 internal prototype to avoid an error. */ |
9517 /* We use char because int might match the return type of a gcc2 | 9685 /* We use char because int might match the return type of a gcc2 |
9518 builtin and then its argument prototype would still apply. */ | 9686 builtin and then its argument prototype would still apply. */ |
9519 char inflate(); | 9687 char inflate(); |
9520 | 9688 |
9521 int main() { | 9689 int main() { |
9522 inflate() | 9690 inflate() |
9523 ; return 0; } | 9691 ; return 0; } |
9524 EOF | 9692 EOF |
9525 if { (eval echo configure:9526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9693 if { (eval echo configure:9694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9526 rm -rf conftest* | 9694 rm -rf conftest* |
9527 eval "ac_cv_lib_$ac_lib_var=yes" | 9695 eval "ac_cv_lib_$ac_lib_var=yes" |
9528 else | 9696 else |
9529 echo "configure: failed program was:" >&5 | 9697 echo "configure: failed program was:" >&5 |
9530 cat conftest.$ac_ext >&5 | 9698 cat conftest.$ac_ext >&5 |
9539 : | 9707 : |
9540 else | 9708 else |
9541 echo "$ac_t""no" 1>&6 | 9709 echo "$ac_t""no" 1>&6 |
9542 | 9710 |
9543 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9711 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9544 echo "configure:9545: checking for inflate in -lz" >&5 | 9712 echo "configure:9713: checking for inflate in -lz" >&5 |
9545 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9713 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9546 | 9714 |
9547 xe_check_libs=" -lz " | 9715 xe_check_libs=" -lz " |
9548 cat > conftest.$ac_ext <<EOF | 9716 cat > conftest.$ac_ext <<EOF |
9549 #line 9550 "configure" | 9717 #line 9718 "configure" |
9550 #include "confdefs.h" | 9718 #include "confdefs.h" |
9551 /* Override any gcc2 internal prototype to avoid an error. */ | 9719 /* Override any gcc2 internal prototype to avoid an error. */ |
9552 /* We use char because int might match the return type of a gcc2 | 9720 /* We use char because int might match the return type of a gcc2 |
9553 builtin and then its argument prototype would still apply. */ | 9721 builtin and then its argument prototype would still apply. */ |
9554 char inflate(); | 9722 char inflate(); |
9555 | 9723 |
9556 int main() { | 9724 int main() { |
9557 inflate() | 9725 inflate() |
9558 ; return 0; } | 9726 ; return 0; } |
9559 EOF | 9727 EOF |
9560 if { (eval echo configure:9561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9728 if { (eval echo configure:9729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9561 rm -rf conftest* | 9729 rm -rf conftest* |
9562 eval "ac_cv_lib_$ac_lib_var=yes" | 9730 eval "ac_cv_lib_$ac_lib_var=yes" |
9563 else | 9731 else |
9564 echo "configure: failed program was:" >&5 | 9732 echo "configure: failed program was:" >&5 |
9565 cat conftest.$ac_ext >&5 | 9733 cat conftest.$ac_ext >&5 |
9574 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9742 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9575 else | 9743 else |
9576 echo "$ac_t""no" 1>&6 | 9744 echo "$ac_t""no" 1>&6 |
9577 | 9745 |
9578 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9746 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9579 echo "configure:9580: checking for inflate in -lgz" >&5 | 9747 echo "configure:9748: checking for inflate in -lgz" >&5 |
9580 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9748 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9581 | 9749 |
9582 xe_check_libs=" -lgz " | 9750 xe_check_libs=" -lgz " |
9583 cat > conftest.$ac_ext <<EOF | 9751 cat > conftest.$ac_ext <<EOF |
9584 #line 9585 "configure" | 9752 #line 9753 "configure" |
9585 #include "confdefs.h" | 9753 #include "confdefs.h" |
9586 /* Override any gcc2 internal prototype to avoid an error. */ | 9754 /* Override any gcc2 internal prototype to avoid an error. */ |
9587 /* We use char because int might match the return type of a gcc2 | 9755 /* We use char because int might match the return type of a gcc2 |
9588 builtin and then its argument prototype would still apply. */ | 9756 builtin and then its argument prototype would still apply. */ |
9589 char inflate(); | 9757 char inflate(); |
9590 | 9758 |
9591 int main() { | 9759 int main() { |
9592 inflate() | 9760 inflate() |
9593 ; return 0; } | 9761 ; return 0; } |
9594 EOF | 9762 EOF |
9595 if { (eval echo configure:9596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9763 if { (eval echo configure:9764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9596 rm -rf conftest* | 9764 rm -rf conftest* |
9597 eval "ac_cv_lib_$ac_lib_var=yes" | 9765 eval "ac_cv_lib_$ac_lib_var=yes" |
9598 else | 9766 else |
9599 echo "configure: failed program was:" >&5 | 9767 echo "configure: failed program was:" >&5 |
9600 cat conftest.$ac_ext >&5 | 9768 cat conftest.$ac_ext >&5 |
9620 | 9788 |
9621 fi | 9789 fi |
9622 | 9790 |
9623 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9791 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9624 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9792 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9625 echo "configure:9626: checking for jpeglib.h" >&5 | 9793 echo "configure:9794: checking for jpeglib.h" >&5 |
9626 | 9794 |
9627 cat > conftest.$ac_ext <<EOF | 9795 cat > conftest.$ac_ext <<EOF |
9628 #line 9629 "configure" | 9796 #line 9797 "configure" |
9629 #include "confdefs.h" | 9797 #include "confdefs.h" |
9630 #include <jpeglib.h> | 9798 #include <jpeglib.h> |
9631 EOF | 9799 EOF |
9632 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9800 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9633 { (eval echo configure:9634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9801 { (eval echo configure:9802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9802 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9635 if test -z "$ac_err"; then | 9803 if test -z "$ac_err"; then |
9636 rm -rf conftest* | 9804 rm -rf conftest* |
9637 eval "ac_cv_header_$ac_safe=yes" | 9805 eval "ac_cv_header_$ac_safe=yes" |
9638 else | 9806 else |
9651 with_jpeg=no | 9819 with_jpeg=no |
9652 fi | 9820 fi |
9653 } | 9821 } |
9654 test -z "$with_jpeg" && { | 9822 test -z "$with_jpeg" && { |
9655 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9823 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9656 echo "configure:9657: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9824 echo "configure:9825: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9657 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9825 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9658 | 9826 |
9659 xe_check_libs=" -ljpeg " | 9827 xe_check_libs=" -ljpeg " |
9660 cat > conftest.$ac_ext <<EOF | 9828 cat > conftest.$ac_ext <<EOF |
9661 #line 9662 "configure" | 9829 #line 9830 "configure" |
9662 #include "confdefs.h" | 9830 #include "confdefs.h" |
9663 /* Override any gcc2 internal prototype to avoid an error. */ | 9831 /* Override any gcc2 internal prototype to avoid an error. */ |
9664 /* We use char because int might match the return type of a gcc2 | 9832 /* We use char because int might match the return type of a gcc2 |
9665 builtin and then its argument prototype would still apply. */ | 9833 builtin and then its argument prototype would still apply. */ |
9666 char jpeg_destroy_decompress(); | 9834 char jpeg_destroy_decompress(); |
9667 | 9835 |
9668 int main() { | 9836 int main() { |
9669 jpeg_destroy_decompress() | 9837 jpeg_destroy_decompress() |
9670 ; return 0; } | 9838 ; return 0; } |
9671 EOF | 9839 EOF |
9672 if { (eval echo configure:9673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9840 if { (eval echo configure:9841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9673 rm -rf conftest* | 9841 rm -rf conftest* |
9674 eval "ac_cv_lib_$ac_lib_var=yes" | 9842 eval "ac_cv_lib_$ac_lib_var=yes" |
9675 else | 9843 else |
9676 echo "configure: failed program was:" >&5 | 9844 echo "configure: failed program was:" >&5 |
9677 cat conftest.$ac_ext >&5 | 9845 cat conftest.$ac_ext >&5 |
9703 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9871 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9704 fi | 9872 fi |
9705 | 9873 |
9706 png_problem="" | 9874 png_problem="" |
9707 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9875 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9708 echo "configure:9709: checking for pow" >&5 | 9876 echo "configure:9877: checking for pow" >&5 |
9709 | 9877 |
9710 cat > conftest.$ac_ext <<EOF | 9878 cat > conftest.$ac_ext <<EOF |
9711 #line 9712 "configure" | 9879 #line 9880 "configure" |
9712 #include "confdefs.h" | 9880 #include "confdefs.h" |
9713 /* System header to define __stub macros and hopefully few prototypes, | 9881 /* System header to define __stub macros and hopefully few prototypes, |
9714 which can conflict with char pow(); below. */ | 9882 which can conflict with char pow(); below. */ |
9715 #include <assert.h> | 9883 #include <assert.h> |
9716 /* Override any gcc2 internal prototype to avoid an error. */ | 9884 /* Override any gcc2 internal prototype to avoid an error. */ |
9729 pow(); | 9897 pow(); |
9730 #endif | 9898 #endif |
9731 | 9899 |
9732 ; return 0; } | 9900 ; return 0; } |
9733 EOF | 9901 EOF |
9734 if { (eval echo configure:9735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9902 if { (eval echo configure:9903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9735 rm -rf conftest* | 9903 rm -rf conftest* |
9736 eval "ac_cv_func_pow=yes" | 9904 eval "ac_cv_func_pow=yes" |
9737 else | 9905 else |
9738 echo "configure: failed program was:" >&5 | 9906 echo "configure: failed program was:" >&5 |
9739 cat conftest.$ac_ext >&5 | 9907 cat conftest.$ac_ext >&5 |
9750 with_png=no | 9918 with_png=no |
9751 fi | 9919 fi |
9752 } | 9920 } |
9753 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9921 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9754 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9922 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9755 echo "configure:9756: checking for png.h" >&5 | 9923 echo "configure:9924: checking for png.h" >&5 |
9756 | 9924 |
9757 cat > conftest.$ac_ext <<EOF | 9925 cat > conftest.$ac_ext <<EOF |
9758 #line 9759 "configure" | 9926 #line 9927 "configure" |
9759 #include "confdefs.h" | 9927 #include "confdefs.h" |
9760 #include <png.h> | 9928 #include <png.h> |
9761 EOF | 9929 EOF |
9762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9763 { (eval echo configure:9764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9931 { (eval echo configure:9932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9765 if test -z "$ac_err"; then | 9933 if test -z "$ac_err"; then |
9766 rm -rf conftest* | 9934 rm -rf conftest* |
9767 eval "ac_cv_header_$ac_safe=yes" | 9935 eval "ac_cv_header_$ac_safe=yes" |
9768 else | 9936 else |
9781 with_png=no | 9949 with_png=no |
9782 fi | 9950 fi |
9783 } | 9951 } |
9784 test -z "$with_png" && { | 9952 test -z "$with_png" && { |
9785 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9953 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9786 echo "configure:9787: checking for png_read_image in -lpng" >&5 | 9954 echo "configure:9955: checking for png_read_image in -lpng" >&5 |
9787 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9955 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9788 | 9956 |
9789 xe_check_libs=" -lpng " | 9957 xe_check_libs=" -lpng " |
9790 cat > conftest.$ac_ext <<EOF | 9958 cat > conftest.$ac_ext <<EOF |
9791 #line 9792 "configure" | 9959 #line 9960 "configure" |
9792 #include "confdefs.h" | 9960 #include "confdefs.h" |
9793 /* Override any gcc2 internal prototype to avoid an error. */ | 9961 /* Override any gcc2 internal prototype to avoid an error. */ |
9794 /* We use char because int might match the return type of a gcc2 | 9962 /* We use char because int might match the return type of a gcc2 |
9795 builtin and then its argument prototype would still apply. */ | 9963 builtin and then its argument prototype would still apply. */ |
9796 char png_read_image(); | 9964 char png_read_image(); |
9797 | 9965 |
9798 int main() { | 9966 int main() { |
9799 png_read_image() | 9967 png_read_image() |
9800 ; return 0; } | 9968 ; return 0; } |
9801 EOF | 9969 EOF |
9802 if { (eval echo configure:9803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9970 if { (eval echo configure:9971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9803 rm -rf conftest* | 9971 rm -rf conftest* |
9804 eval "ac_cv_lib_$ac_lib_var=yes" | 9972 eval "ac_cv_lib_$ac_lib_var=yes" |
9805 else | 9973 else |
9806 echo "configure: failed program was:" >&5 | 9974 echo "configure: failed program was:" >&5 |
9807 cat conftest.$ac_ext >&5 | 9975 cat conftest.$ac_ext >&5 |
9820 fi | 9988 fi |
9821 | 9989 |
9822 } | 9990 } |
9823 if test -z "$with_png"; then | 9991 if test -z "$with_png"; then |
9824 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9992 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9825 echo "configure:9826: checking for workable png version information" >&5 | 9993 echo "configure:9994: checking for workable png version information" >&5 |
9826 xe_check_libs="-lpng -lz" | 9994 xe_check_libs="-lpng -lz" |
9827 cat > conftest.$ac_ext <<EOF | 9995 cat > conftest.$ac_ext <<EOF |
9828 #line 9829 "configure" | 9996 #line 9997 "configure" |
9829 #include "confdefs.h" | 9997 #include "confdefs.h" |
9830 #include <png.h> | 9998 #include <png.h> |
9831 int main(int c, char **v) { | 9999 int main(int c, char **v) { |
9832 if (c == 1) return 0; | 10000 if (c == 1) return 0; |
9833 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 10001 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9834 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 10002 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9835 EOF | 10003 EOF |
9836 if { (eval echo configure:9837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10004 if { (eval echo configure:10005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9837 then | 10005 then |
9838 ./conftest dummy_arg; png_status=$?; | 10006 ./conftest dummy_arg; png_status=$?; |
9839 if test "$png_status" = "0"; then | 10007 if test "$png_status" = "0"; then |
9840 with_png=yes; | 10008 with_png=yes; |
9841 else | 10009 else |
9874 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 10042 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9875 fi | 10043 fi |
9876 | 10044 |
9877 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 10045 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9878 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 10046 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9879 echo "configure:9880: checking for tiffio.h" >&5 | 10047 echo "configure:10048: checking for tiffio.h" >&5 |
9880 | 10048 |
9881 cat > conftest.$ac_ext <<EOF | 10049 cat > conftest.$ac_ext <<EOF |
9882 #line 9883 "configure" | 10050 #line 10051 "configure" |
9883 #include "confdefs.h" | 10051 #include "confdefs.h" |
9884 #include <tiffio.h> | 10052 #include <tiffio.h> |
9885 EOF | 10053 EOF |
9886 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9887 { (eval echo configure:9888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10055 { (eval echo configure:10056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9888 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9889 if test -z "$ac_err"; then | 10057 if test -z "$ac_err"; then |
9890 rm -rf conftest* | 10058 rm -rf conftest* |
9891 eval "ac_cv_header_$ac_safe=yes" | 10059 eval "ac_cv_header_$ac_safe=yes" |
9892 else | 10060 else |
9905 with_tiff=no | 10073 with_tiff=no |
9906 fi | 10074 fi |
9907 } | 10075 } |
9908 test -z "$with_tiff" && { | 10076 test -z "$with_tiff" && { |
9909 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 10077 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9910 echo "configure:9911: checking for TIFFClientOpen in -ltiff" >&5 | 10078 echo "configure:10079: checking for TIFFClientOpen in -ltiff" >&5 |
9911 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 10079 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9912 | 10080 |
9913 xe_check_libs=" -ltiff " | 10081 xe_check_libs=" -ltiff " |
9914 cat > conftest.$ac_ext <<EOF | 10082 cat > conftest.$ac_ext <<EOF |
9915 #line 9916 "configure" | 10083 #line 10084 "configure" |
9916 #include "confdefs.h" | 10084 #include "confdefs.h" |
9917 /* Override any gcc2 internal prototype to avoid an error. */ | 10085 /* Override any gcc2 internal prototype to avoid an error. */ |
9918 /* We use char because int might match the return type of a gcc2 | 10086 /* We use char because int might match the return type of a gcc2 |
9919 builtin and then its argument prototype would still apply. */ | 10087 builtin and then its argument prototype would still apply. */ |
9920 char TIFFClientOpen(); | 10088 char TIFFClientOpen(); |
9921 | 10089 |
9922 int main() { | 10090 int main() { |
9923 TIFFClientOpen() | 10091 TIFFClientOpen() |
9924 ; return 0; } | 10092 ; return 0; } |
9925 EOF | 10093 EOF |
9926 if { (eval echo configure:9927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10094 if { (eval echo configure:10095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9927 rm -rf conftest* | 10095 rm -rf conftest* |
9928 eval "ac_cv_lib_$ac_lib_var=yes" | 10096 eval "ac_cv_lib_$ac_lib_var=yes" |
9929 else | 10097 else |
9930 echo "configure: failed program was:" >&5 | 10098 echo "configure: failed program was:" >&5 |
9931 cat conftest.$ac_ext >&5 | 10099 cat conftest.$ac_ext >&5 |
9960 | 10128 |
9961 | 10129 |
9962 if test "$with_gtk" = "yes"; then | 10130 if test "$with_gtk" = "yes"; then |
9963 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 10131 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9964 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 10132 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9965 echo "configure:9966: checking for compface.h" >&5 | 10133 echo "configure:10134: checking for compface.h" >&5 |
9966 | 10134 |
9967 cat > conftest.$ac_ext <<EOF | 10135 cat > conftest.$ac_ext <<EOF |
9968 #line 9969 "configure" | 10136 #line 10137 "configure" |
9969 #include "confdefs.h" | 10137 #include "confdefs.h" |
9970 #include <compface.h> | 10138 #include <compface.h> |
9971 EOF | 10139 EOF |
9972 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" |
9973 { (eval echo configure:9974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10141 { (eval echo configure:10142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9974 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10142 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9975 if test -z "$ac_err"; then | 10143 if test -z "$ac_err"; then |
9976 rm -rf conftest* | 10144 rm -rf conftest* |
9977 eval "ac_cv_header_$ac_safe=yes" | 10145 eval "ac_cv_header_$ac_safe=yes" |
9978 else | 10146 else |
9991 with_xface=no | 10159 with_xface=no |
9992 fi | 10160 fi |
9993 } | 10161 } |
9994 test -z "$with_xface" && { | 10162 test -z "$with_xface" && { |
9995 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 10163 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9996 echo "configure:9997: checking for UnGenFace in -lcompface" >&5 | 10164 echo "configure:10165: checking for UnGenFace in -lcompface" >&5 |
9997 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 10165 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9998 | 10166 |
9999 xe_check_libs=" -lcompface " | 10167 xe_check_libs=" -lcompface " |
10000 cat > conftest.$ac_ext <<EOF | 10168 cat > conftest.$ac_ext <<EOF |
10001 #line 10002 "configure" | 10169 #line 10170 "configure" |
10002 #include "confdefs.h" | 10170 #include "confdefs.h" |
10003 /* Override any gcc2 internal prototype to avoid an error. */ | 10171 /* Override any gcc2 internal prototype to avoid an error. */ |
10004 /* We use char because int might match the return type of a gcc2 | 10172 /* We use char because int might match the return type of a gcc2 |
10005 builtin and then its argument prototype would still apply. */ | 10173 builtin and then its argument prototype would still apply. */ |
10006 char UnGenFace(); | 10174 char UnGenFace(); |
10007 | 10175 |
10008 int main() { | 10176 int main() { |
10009 UnGenFace() | 10177 UnGenFace() |
10010 ; return 0; } | 10178 ; return 0; } |
10011 EOF | 10179 EOF |
10012 if { (eval echo configure:10013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10180 if { (eval echo configure:10181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10013 rm -rf conftest* | 10181 rm -rf conftest* |
10014 eval "ac_cv_lib_$ac_lib_var=yes" | 10182 eval "ac_cv_lib_$ac_lib_var=yes" |
10015 else | 10183 else |
10016 echo "configure: failed program was:" >&5 | 10184 echo "configure: failed program was:" >&5 |
10017 cat conftest.$ac_ext >&5 | 10185 cat conftest.$ac_ext >&5 |
10046 | 10214 |
10047 | 10215 |
10048 | 10216 |
10049 if test "$with_x11" = "yes"; then | 10217 if test "$with_x11" = "yes"; then |
10050 echo "checking for X11 graphics libraries" 1>&6 | 10218 echo "checking for X11 graphics libraries" 1>&6 |
10051 echo "configure:10052: checking for X11 graphics libraries" >&5 | 10219 echo "configure:10220: checking for X11 graphics libraries" >&5 |
10052 fi | 10220 fi |
10053 | 10221 |
10054 case "$with_widgets" in | 10222 case "$with_widgets" in |
10055 "yes" | "athena") detect_athena=yes ;; | 10223 "yes" | "athena") detect_athena=yes ;; |
10056 *) detect_athena=no ;; | 10224 *) detect_athena=no ;; |
10057 esac | 10225 esac |
10058 | 10226 |
10059 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 10227 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
10060 echo "checking for the Athena widgets" 1>&6 | 10228 echo "checking for the Athena widgets" 1>&6 |
10061 echo "configure:10062: checking for the Athena widgets" >&5 | 10229 echo "configure:10230: checking for the Athena widgets" >&5 |
10062 | 10230 |
10063 case "$with_athena" in | 10231 case "$with_athena" in |
10064 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 10232 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
10065 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 10233 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
10066 "next") athena_variant=neXtaw athena_3d=yes ;; | 10234 "next") athena_variant=neXtaw athena_3d=yes ;; |
10070 esac | 10238 esac |
10071 | 10239 |
10072 if test "$athena_3d" = "no"; then | 10240 if test "$athena_3d" = "no"; then |
10073 | 10241 |
10074 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 10242 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
10075 echo "configure:10076: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 10243 echo "configure:10244: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
10076 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 10244 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
10077 | 10245 |
10078 xe_check_libs=" -l$athena_variant " | 10246 xe_check_libs=" -l$athena_variant " |
10079 cat > conftest.$ac_ext <<EOF | 10247 cat > conftest.$ac_ext <<EOF |
10080 #line 10081 "configure" | 10248 #line 10249 "configure" |
10081 #include "confdefs.h" | 10249 #include "confdefs.h" |
10082 /* Override any gcc2 internal prototype to avoid an error. */ | 10250 /* Override any gcc2 internal prototype to avoid an error. */ |
10083 /* We use char because int might match the return type of a gcc2 | 10251 /* We use char because int might match the return type of a gcc2 |
10084 builtin and then its argument prototype would still apply. */ | 10252 builtin and then its argument prototype would still apply. */ |
10085 char XawScrollbarSetThumb(); | 10253 char XawScrollbarSetThumb(); |
10086 | 10254 |
10087 int main() { | 10255 int main() { |
10088 XawScrollbarSetThumb() | 10256 XawScrollbarSetThumb() |
10089 ; return 0; } | 10257 ; return 0; } |
10090 EOF | 10258 EOF |
10091 if { (eval echo configure:10092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10259 if { (eval echo configure:10260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10092 rm -rf conftest* | 10260 rm -rf conftest* |
10093 eval "ac_cv_lib_$ac_lib_var=yes" | 10261 eval "ac_cv_lib_$ac_lib_var=yes" |
10094 else | 10262 else |
10095 echo "configure: failed program was:" >&5 | 10263 echo "configure: failed program was:" >&5 |
10096 cat conftest.$ac_ext >&5 | 10264 cat conftest.$ac_ext >&5 |
10102 | 10270 |
10103 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10271 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10104 echo "$ac_t""yes" 1>&6 | 10272 echo "$ac_t""yes" 1>&6 |
10105 | 10273 |
10106 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10274 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10107 echo "configure:10108: checking for threeDClassRec in -l$athena_variant" >&5 | 10275 echo "configure:10276: checking for threeDClassRec in -l$athena_variant" >&5 |
10108 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10276 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10109 | 10277 |
10110 xe_check_libs=" -l$athena_variant " | 10278 xe_check_libs=" -l$athena_variant " |
10111 cat > conftest.$ac_ext <<EOF | 10279 cat > conftest.$ac_ext <<EOF |
10112 #line 10113 "configure" | 10280 #line 10281 "configure" |
10113 #include "confdefs.h" | 10281 #include "confdefs.h" |
10114 /* Override any gcc2 internal prototype to avoid an error. */ | 10282 /* Override any gcc2 internal prototype to avoid an error. */ |
10115 /* We use char because int might match the return type of a gcc2 | 10283 /* We use char because int might match the return type of a gcc2 |
10116 builtin and then its argument prototype would still apply. */ | 10284 builtin and then its argument prototype would still apply. */ |
10117 char threeDClassRec(); | 10285 char threeDClassRec(); |
10118 | 10286 |
10119 int main() { | 10287 int main() { |
10120 threeDClassRec() | 10288 threeDClassRec() |
10121 ; return 0; } | 10289 ; return 0; } |
10122 EOF | 10290 EOF |
10123 if { (eval echo configure:10124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10291 if { (eval echo configure:10292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10124 rm -rf conftest* | 10292 rm -rf conftest* |
10125 eval "ac_cv_lib_$ac_lib_var=yes" | 10293 eval "ac_cv_lib_$ac_lib_var=yes" |
10126 else | 10294 else |
10127 echo "configure: failed program was:" >&5 | 10295 echo "configure: failed program was:" >&5 |
10128 cat conftest.$ac_ext >&5 | 10296 cat conftest.$ac_ext >&5 |
10149 | 10317 |
10150 | 10318 |
10151 else | 10319 else |
10152 | 10320 |
10153 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10321 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10154 echo "configure:10155: checking for threeDClassRec in -l$athena_variant" >&5 | 10322 echo "configure:10323: checking for threeDClassRec in -l$athena_variant" >&5 |
10155 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10323 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10156 | 10324 |
10157 xe_check_libs=" -l$athena_variant " | 10325 xe_check_libs=" -l$athena_variant " |
10158 cat > conftest.$ac_ext <<EOF | 10326 cat > conftest.$ac_ext <<EOF |
10159 #line 10160 "configure" | 10327 #line 10328 "configure" |
10160 #include "confdefs.h" | 10328 #include "confdefs.h" |
10161 /* Override any gcc2 internal prototype to avoid an error. */ | 10329 /* Override any gcc2 internal prototype to avoid an error. */ |
10162 /* We use char because int might match the return type of a gcc2 | 10330 /* We use char because int might match the return type of a gcc2 |
10163 builtin and then its argument prototype would still apply. */ | 10331 builtin and then its argument prototype would still apply. */ |
10164 char threeDClassRec(); | 10332 char threeDClassRec(); |
10165 | 10333 |
10166 int main() { | 10334 int main() { |
10167 threeDClassRec() | 10335 threeDClassRec() |
10168 ; return 0; } | 10336 ; return 0; } |
10169 EOF | 10337 EOF |
10170 if { (eval echo configure:10171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10338 if { (eval echo configure:10339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10171 rm -rf conftest* | 10339 rm -rf conftest* |
10172 eval "ac_cv_lib_$ac_lib_var=yes" | 10340 eval "ac_cv_lib_$ac_lib_var=yes" |
10173 else | 10341 else |
10174 echo "configure: failed program was:" >&5 | 10342 echo "configure: failed program was:" >&5 |
10175 cat conftest.$ac_ext >&5 | 10343 cat conftest.$ac_ext >&5 |
10183 echo "$ac_t""yes" 1>&6 | 10351 echo "$ac_t""yes" 1>&6 |
10184 athena_lib=$athena_variant | 10352 athena_lib=$athena_variant |
10185 else | 10353 else |
10186 echo "$ac_t""no" 1>&6 | 10354 echo "$ac_t""no" 1>&6 |
10187 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10355 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10188 echo "configure:10189: checking for threeDClassRec in -lXaw" >&5 | 10356 echo "configure:10357: checking for threeDClassRec in -lXaw" >&5 |
10189 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10357 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10190 | 10358 |
10191 xe_check_libs=" -lXaw " | 10359 xe_check_libs=" -lXaw " |
10192 cat > conftest.$ac_ext <<EOF | 10360 cat > conftest.$ac_ext <<EOF |
10193 #line 10194 "configure" | 10361 #line 10362 "configure" |
10194 #include "confdefs.h" | 10362 #include "confdefs.h" |
10195 /* Override any gcc2 internal prototype to avoid an error. */ | 10363 /* Override any gcc2 internal prototype to avoid an error. */ |
10196 /* We use char because int might match the return type of a gcc2 | 10364 /* We use char because int might match the return type of a gcc2 |
10197 builtin and then its argument prototype would still apply. */ | 10365 builtin and then its argument prototype would still apply. */ |
10198 char threeDClassRec(); | 10366 char threeDClassRec(); |
10199 | 10367 |
10200 int main() { | 10368 int main() { |
10201 threeDClassRec() | 10369 threeDClassRec() |
10202 ; return 0; } | 10370 ; return 0; } |
10203 EOF | 10371 EOF |
10204 if { (eval echo configure:10205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10372 if { (eval echo configure:10373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10205 rm -rf conftest* | 10373 rm -rf conftest* |
10206 eval "ac_cv_lib_$ac_lib_var=yes" | 10374 eval "ac_cv_lib_$ac_lib_var=yes" |
10207 else | 10375 else |
10208 echo "configure: failed program was:" >&5 | 10376 echo "configure: failed program was:" >&5 |
10209 cat conftest.$ac_ext >&5 | 10377 cat conftest.$ac_ext >&5 |
10230 fi | 10398 fi |
10231 | 10399 |
10232 if test "$athena_3d" = "no"; then | 10400 if test "$athena_3d" = "no"; then |
10233 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10401 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10234 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10402 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10235 echo "configure:10236: checking for X11/Xaw/ThreeD.h" >&5 | 10403 echo "configure:10404: checking for X11/Xaw/ThreeD.h" >&5 |
10236 | 10404 |
10237 cat > conftest.$ac_ext <<EOF | 10405 cat > conftest.$ac_ext <<EOF |
10238 #line 10239 "configure" | 10406 #line 10407 "configure" |
10239 #include "confdefs.h" | 10407 #include "confdefs.h" |
10240 #include <X11/Xaw/ThreeD.h> | 10408 #include <X11/Xaw/ThreeD.h> |
10241 EOF | 10409 EOF |
10242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10243 { (eval echo configure:10244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10411 { (eval echo configure:10412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10412 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10245 if test -z "$ac_err"; then | 10413 if test -z "$ac_err"; then |
10246 rm -rf conftest* | 10414 rm -rf conftest* |
10247 eval "ac_cv_header_$ac_safe=yes" | 10415 eval "ac_cv_header_$ac_safe=yes" |
10248 else | 10416 else |
10258 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10426 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10259 else | 10427 else |
10260 echo "$ac_t""no" 1>&6 | 10428 echo "$ac_t""no" 1>&6 |
10261 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10429 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10262 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10430 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10263 echo "configure:10264: checking for X11/Xaw/XawInit.h" >&5 | 10431 echo "configure:10432: checking for X11/Xaw/XawInit.h" >&5 |
10264 | 10432 |
10265 cat > conftest.$ac_ext <<EOF | 10433 cat > conftest.$ac_ext <<EOF |
10266 #line 10267 "configure" | 10434 #line 10435 "configure" |
10267 #include "confdefs.h" | 10435 #include "confdefs.h" |
10268 #include <X11/Xaw/XawInit.h> | 10436 #include <X11/Xaw/XawInit.h> |
10269 EOF | 10437 EOF |
10270 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10271 { (eval echo configure:10272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10439 { (eval echo configure:10440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10273 if test -z "$ac_err"; then | 10441 if test -z "$ac_err"; then |
10274 rm -rf conftest* | 10442 rm -rf conftest* |
10275 eval "ac_cv_header_$ac_safe=yes" | 10443 eval "ac_cv_header_$ac_safe=yes" |
10276 else | 10444 else |
10292 fi | 10460 fi |
10293 | 10461 |
10294 else | 10462 else |
10295 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10463 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10296 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10464 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10297 echo "configure:10298: checking for X11/$athena_variant/XawInit.h" >&5 | 10465 echo "configure:10466: checking for X11/$athena_variant/XawInit.h" >&5 |
10298 | 10466 |
10299 cat > conftest.$ac_ext <<EOF | 10467 cat > conftest.$ac_ext <<EOF |
10300 #line 10301 "configure" | 10468 #line 10469 "configure" |
10301 #include "confdefs.h" | 10469 #include "confdefs.h" |
10302 #include <X11/$athena_variant/XawInit.h> | 10470 #include <X11/$athena_variant/XawInit.h> |
10303 EOF | 10471 EOF |
10304 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10472 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10305 { (eval echo configure:10306: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10473 { (eval echo configure:10474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10306 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10474 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10307 if test -z "$ac_err"; then | 10475 if test -z "$ac_err"; then |
10308 rm -rf conftest* | 10476 rm -rf conftest* |
10309 eval "ac_cv_header_$ac_safe=yes" | 10477 eval "ac_cv_header_$ac_safe=yes" |
10310 else | 10478 else |
10317 rm -f conftest* | 10485 rm -f conftest* |
10318 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10486 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10319 echo "$ac_t""yes" 1>&6 | 10487 echo "$ac_t""yes" 1>&6 |
10320 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10488 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10321 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10489 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10322 echo "configure:10323: checking for X11/$athena_variant/ThreeD.h" >&5 | 10490 echo "configure:10491: checking for X11/$athena_variant/ThreeD.h" >&5 |
10323 | 10491 |
10324 cat > conftest.$ac_ext <<EOF | 10492 cat > conftest.$ac_ext <<EOF |
10325 #line 10326 "configure" | 10493 #line 10494 "configure" |
10326 #include "confdefs.h" | 10494 #include "confdefs.h" |
10327 #include <X11/$athena_variant/ThreeD.h> | 10495 #include <X11/$athena_variant/ThreeD.h> |
10328 EOF | 10496 EOF |
10329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10497 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10330 { (eval echo configure:10331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10498 { (eval echo configure:10499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10499 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10332 if test -z "$ac_err"; then | 10500 if test -z "$ac_err"; then |
10333 rm -rf conftest* | 10501 rm -rf conftest* |
10334 eval "ac_cv_header_$ac_safe=yes" | 10502 eval "ac_cv_header_$ac_safe=yes" |
10335 else | 10503 else |
10353 | 10521 |
10354 | 10522 |
10355 if test -z "$athena_h_path"; then | 10523 if test -z "$athena_h_path"; then |
10356 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10524 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10357 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10525 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10358 echo "configure:10359: checking for $athena_variant/XawInit.h" >&5 | 10526 echo "configure:10527: checking for $athena_variant/XawInit.h" >&5 |
10359 | 10527 |
10360 cat > conftest.$ac_ext <<EOF | 10528 cat > conftest.$ac_ext <<EOF |
10361 #line 10362 "configure" | 10529 #line 10530 "configure" |
10362 #include "confdefs.h" | 10530 #include "confdefs.h" |
10363 #include <$athena_variant/XawInit.h> | 10531 #include <$athena_variant/XawInit.h> |
10364 EOF | 10532 EOF |
10365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10533 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10366 { (eval echo configure:10367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10534 { (eval echo configure:10535: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10535 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10368 if test -z "$ac_err"; then | 10536 if test -z "$ac_err"; then |
10369 rm -rf conftest* | 10537 rm -rf conftest* |
10370 eval "ac_cv_header_$ac_safe=yes" | 10538 eval "ac_cv_header_$ac_safe=yes" |
10371 else | 10539 else |
10378 rm -f conftest* | 10546 rm -f conftest* |
10379 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10547 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10380 echo "$ac_t""yes" 1>&6 | 10548 echo "$ac_t""yes" 1>&6 |
10381 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10549 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10382 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10550 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10383 echo "configure:10384: checking for $athena_variant/ThreeD.h" >&5 | 10551 echo "configure:10552: checking for $athena_variant/ThreeD.h" >&5 |
10384 | 10552 |
10385 cat > conftest.$ac_ext <<EOF | 10553 cat > conftest.$ac_ext <<EOF |
10386 #line 10387 "configure" | 10554 #line 10555 "configure" |
10387 #include "confdefs.h" | 10555 #include "confdefs.h" |
10388 #include <$athena_variant/ThreeD.h> | 10556 #include <$athena_variant/ThreeD.h> |
10389 EOF | 10557 EOF |
10390 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10391 { (eval echo configure:10392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10559 { (eval echo configure:10560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10392 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10393 if test -z "$ac_err"; then | 10561 if test -z "$ac_err"; then |
10394 rm -rf conftest* | 10562 rm -rf conftest* |
10395 eval "ac_cv_header_$ac_safe=yes" | 10563 eval "ac_cv_header_$ac_safe=yes" |
10396 else | 10564 else |
10415 fi | 10583 fi |
10416 | 10584 |
10417 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10585 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10418 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10586 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10419 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10587 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10420 echo "configure:10421: checking for X11/Xaw3d/XawInit.h" >&5 | 10588 echo "configure:10589: checking for X11/Xaw3d/XawInit.h" >&5 |
10421 | 10589 |
10422 cat > conftest.$ac_ext <<EOF | 10590 cat > conftest.$ac_ext <<EOF |
10423 #line 10424 "configure" | 10591 #line 10592 "configure" |
10424 #include "confdefs.h" | 10592 #include "confdefs.h" |
10425 #include <X11/Xaw3d/XawInit.h> | 10593 #include <X11/Xaw3d/XawInit.h> |
10426 EOF | 10594 EOF |
10427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10428 { (eval echo configure:10429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10596 { (eval echo configure:10597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10429 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10430 if test -z "$ac_err"; then | 10598 if test -z "$ac_err"; then |
10431 rm -rf conftest* | 10599 rm -rf conftest* |
10432 eval "ac_cv_header_$ac_safe=yes" | 10600 eval "ac_cv_header_$ac_safe=yes" |
10433 else | 10601 else |
10440 rm -f conftest* | 10608 rm -f conftest* |
10441 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10442 echo "$ac_t""yes" 1>&6 | 10610 echo "$ac_t""yes" 1>&6 |
10443 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10611 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10444 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10612 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10445 echo "configure:10446: checking for X11/Xaw3d/ThreeD.h" >&5 | 10613 echo "configure:10614: checking for X11/Xaw3d/ThreeD.h" >&5 |
10446 | 10614 |
10447 cat > conftest.$ac_ext <<EOF | 10615 cat > conftest.$ac_ext <<EOF |
10448 #line 10449 "configure" | 10616 #line 10617 "configure" |
10449 #include "confdefs.h" | 10617 #include "confdefs.h" |
10450 #include <X11/Xaw3d/ThreeD.h> | 10618 #include <X11/Xaw3d/ThreeD.h> |
10451 EOF | 10619 EOF |
10452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10453 { (eval echo configure:10454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10621 { (eval echo configure:10622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10454 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10455 if test -z "$ac_err"; then | 10623 if test -z "$ac_err"; then |
10456 rm -rf conftest* | 10624 rm -rf conftest* |
10457 eval "ac_cv_header_$ac_safe=yes" | 10625 eval "ac_cv_header_$ac_safe=yes" |
10458 else | 10626 else |
10480 fi | 10648 fi |
10481 | 10649 |
10482 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10650 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10483 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10651 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10484 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10652 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10485 echo "configure:10486: checking for Xaw3d/XawInit.h" >&5 | 10653 echo "configure:10654: checking for Xaw3d/XawInit.h" >&5 |
10486 | 10654 |
10487 cat > conftest.$ac_ext <<EOF | 10655 cat > conftest.$ac_ext <<EOF |
10488 #line 10489 "configure" | 10656 #line 10657 "configure" |
10489 #include "confdefs.h" | 10657 #include "confdefs.h" |
10490 #include <Xaw3d/XawInit.h> | 10658 #include <Xaw3d/XawInit.h> |
10491 EOF | 10659 EOF |
10492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10660 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10493 { (eval echo configure:10494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10661 { (eval echo configure:10662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10662 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10495 if test -z "$ac_err"; then | 10663 if test -z "$ac_err"; then |
10496 rm -rf conftest* | 10664 rm -rf conftest* |
10497 eval "ac_cv_header_$ac_safe=yes" | 10665 eval "ac_cv_header_$ac_safe=yes" |
10498 else | 10666 else |
10505 rm -f conftest* | 10673 rm -f conftest* |
10506 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10674 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10507 echo "$ac_t""yes" 1>&6 | 10675 echo "$ac_t""yes" 1>&6 |
10508 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10676 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10509 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10677 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10510 echo "configure:10511: checking for Xaw3d/ThreeD.h" >&5 | 10678 echo "configure:10679: checking for Xaw3d/ThreeD.h" >&5 |
10511 | 10679 |
10512 cat > conftest.$ac_ext <<EOF | 10680 cat > conftest.$ac_ext <<EOF |
10513 #line 10514 "configure" | 10681 #line 10682 "configure" |
10514 #include "confdefs.h" | 10682 #include "confdefs.h" |
10515 #include <Xaw3d/ThreeD.h> | 10683 #include <Xaw3d/ThreeD.h> |
10516 EOF | 10684 EOF |
10517 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10685 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10518 { (eval echo configure:10519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10686 { (eval echo configure:10687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10687 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10520 if test -z "$ac_err"; then | 10688 if test -z "$ac_err"; then |
10521 rm -rf conftest* | 10689 rm -rf conftest* |
10522 eval "ac_cv_header_$ac_safe=yes" | 10690 eval "ac_cv_header_$ac_safe=yes" |
10523 else | 10691 else |
10545 fi | 10713 fi |
10546 | 10714 |
10547 if test -z "$athena_h_path"; then | 10715 if test -z "$athena_h_path"; then |
10548 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10716 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10549 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10717 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10550 echo "configure:10551: checking for X11/Xaw/ThreeD.h" >&5 | 10718 echo "configure:10719: checking for X11/Xaw/ThreeD.h" >&5 |
10551 | 10719 |
10552 cat > conftest.$ac_ext <<EOF | 10720 cat > conftest.$ac_ext <<EOF |
10553 #line 10554 "configure" | 10721 #line 10722 "configure" |
10554 #include "confdefs.h" | 10722 #include "confdefs.h" |
10555 #include <X11/Xaw/ThreeD.h> | 10723 #include <X11/Xaw/ThreeD.h> |
10556 EOF | 10724 EOF |
10557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10725 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10558 { (eval echo configure:10559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10726 { (eval echo configure:10727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10727 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10560 if test -z "$ac_err"; then | 10728 if test -z "$ac_err"; then |
10561 rm -rf conftest* | 10729 rm -rf conftest* |
10562 eval "ac_cv_header_$ac_safe=yes" | 10730 eval "ac_cv_header_$ac_safe=yes" |
10563 else | 10731 else |
10592 have_xaw=no | 10760 have_xaw=no |
10593 fi | 10761 fi |
10594 if test "$with_x11" = "yes"; then | 10762 if test "$with_x11" = "yes"; then |
10595 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10763 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10596 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10764 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10597 echo "configure:10598: checking for Xm/Xm.h" >&5 | 10765 echo "configure:10766: checking for Xm/Xm.h" >&5 |
10598 | 10766 |
10599 cat > conftest.$ac_ext <<EOF | 10767 cat > conftest.$ac_ext <<EOF |
10600 #line 10601 "configure" | 10768 #line 10769 "configure" |
10601 #include "confdefs.h" | 10769 #include "confdefs.h" |
10602 #include <Xm/Xm.h> | 10770 #include <Xm/Xm.h> |
10603 EOF | 10771 EOF |
10604 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10772 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10605 { (eval echo configure:10606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10773 { (eval echo configure:10774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10606 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10774 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10607 if test -z "$ac_err"; then | 10775 if test -z "$ac_err"; then |
10608 rm -rf conftest* | 10776 rm -rf conftest* |
10609 eval "ac_cv_header_$ac_safe=yes" | 10777 eval "ac_cv_header_$ac_safe=yes" |
10610 else | 10778 else |
10617 rm -f conftest* | 10785 rm -f conftest* |
10618 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10786 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10619 echo "$ac_t""yes" 1>&6 | 10787 echo "$ac_t""yes" 1>&6 |
10620 | 10788 |
10621 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10789 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10622 echo "configure:10623: checking for XmStringFree in -lXm" >&5 | 10790 echo "configure:10791: checking for XmStringFree in -lXm" >&5 |
10623 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10791 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10624 | 10792 |
10625 xe_check_libs=" -lXm " | 10793 xe_check_libs=" -lXm " |
10626 cat > conftest.$ac_ext <<EOF | 10794 cat > conftest.$ac_ext <<EOF |
10627 #line 10628 "configure" | 10795 #line 10796 "configure" |
10628 #include "confdefs.h" | 10796 #include "confdefs.h" |
10629 /* Override any gcc2 internal prototype to avoid an error. */ | 10797 /* Override any gcc2 internal prototype to avoid an error. */ |
10630 /* We use char because int might match the return type of a gcc2 | 10798 /* We use char because int might match the return type of a gcc2 |
10631 builtin and then its argument prototype would still apply. */ | 10799 builtin and then its argument prototype would still apply. */ |
10632 char XmStringFree(); | 10800 char XmStringFree(); |
10633 | 10801 |
10634 int main() { | 10802 int main() { |
10635 XmStringFree() | 10803 XmStringFree() |
10636 ; return 0; } | 10804 ; return 0; } |
10637 EOF | 10805 EOF |
10638 if { (eval echo configure:10639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10806 if { (eval echo configure:10807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10639 rm -rf conftest* | 10807 rm -rf conftest* |
10640 eval "ac_cv_lib_$ac_lib_var=yes" | 10808 eval "ac_cv_lib_$ac_lib_var=yes" |
10641 else | 10809 else |
10642 echo "configure: failed program was:" >&5 | 10810 echo "configure: failed program was:" >&5 |
10643 cat conftest.$ac_ext >&5 | 10811 cat conftest.$ac_ext >&5 |
10662 fi | 10830 fi |
10663 | 10831 |
10664 | 10832 |
10665 if test "$have_motif" = "yes"; then | 10833 if test "$have_motif" = "yes"; then |
10666 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10834 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10667 echo "configure:10668: checking for Lesstif" >&5 | 10835 echo "configure:10836: checking for Lesstif" >&5 |
10668 cat > conftest.$ac_ext <<EOF | 10836 cat > conftest.$ac_ext <<EOF |
10669 #line 10670 "configure" | 10837 #line 10838 "configure" |
10670 #include "confdefs.h" | 10838 #include "confdefs.h" |
10671 #include <Xm/Xm.h> | 10839 #include <Xm/Xm.h> |
10672 #ifdef LESSTIF_VERSION | 10840 #ifdef LESSTIF_VERSION |
10673 yes | 10841 yes |
10674 #endif | 10842 #endif |
11037 | 11205 |
11038 fi | 11206 fi |
11039 | 11207 |
11040 if test "$with_mule" = "yes" ; then | 11208 if test "$with_mule" = "yes" ; then |
11041 echo "checking for Mule-related features" 1>&6 | 11209 echo "checking for Mule-related features" 1>&6 |
11042 echo "configure:11043: checking for Mule-related features" >&5 | 11210 echo "configure:11211: checking for Mule-related features" >&5 |
11043 { test "$extra_verbose" = "yes" && cat << \EOF | 11211 { test "$extra_verbose" = "yes" && cat << \EOF |
11044 Defining MULE | 11212 Defining MULE |
11045 EOF | 11213 EOF |
11046 cat >> confdefs.h <<\EOF | 11214 cat >> confdefs.h <<\EOF |
11047 #define MULE 1 | 11215 #define MULE 1 |
11051 | 11219 |
11052 for ac_hdr in libintl.h | 11220 for ac_hdr in libintl.h |
11053 do | 11221 do |
11054 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11222 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11055 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11223 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11056 echo "configure:11057: checking for $ac_hdr" >&5 | 11224 echo "configure:11225: checking for $ac_hdr" >&5 |
11057 | 11225 |
11058 cat > conftest.$ac_ext <<EOF | 11226 cat > conftest.$ac_ext <<EOF |
11059 #line 11060 "configure" | 11227 #line 11228 "configure" |
11060 #include "confdefs.h" | 11228 #include "confdefs.h" |
11061 #include <$ac_hdr> | 11229 #include <$ac_hdr> |
11062 EOF | 11230 EOF |
11063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11064 { (eval echo configure:11065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11232 { (eval echo configure:11233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11066 if test -z "$ac_err"; then | 11234 if test -z "$ac_err"; then |
11067 rm -rf conftest* | 11235 rm -rf conftest* |
11068 eval "ac_cv_header_$ac_safe=yes" | 11236 eval "ac_cv_header_$ac_safe=yes" |
11069 else | 11237 else |
11090 fi | 11258 fi |
11091 done | 11259 done |
11092 | 11260 |
11093 | 11261 |
11094 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 11262 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
11095 echo "configure:11096: checking for strerror in -lintl" >&5 | 11263 echo "configure:11264: checking for strerror in -lintl" >&5 |
11096 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 11264 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
11097 | 11265 |
11098 xe_check_libs=" -lintl " | 11266 xe_check_libs=" -lintl " |
11099 cat > conftest.$ac_ext <<EOF | 11267 cat > conftest.$ac_ext <<EOF |
11100 #line 11101 "configure" | 11268 #line 11269 "configure" |
11101 #include "confdefs.h" | 11269 #include "confdefs.h" |
11102 /* Override any gcc2 internal prototype to avoid an error. */ | 11270 /* Override any gcc2 internal prototype to avoid an error. */ |
11103 /* We use char because int might match the return type of a gcc2 | 11271 /* We use char because int might match the return type of a gcc2 |
11104 builtin and then its argument prototype would still apply. */ | 11272 builtin and then its argument prototype would still apply. */ |
11105 char strerror(); | 11273 char strerror(); |
11106 | 11274 |
11107 int main() { | 11275 int main() { |
11108 strerror() | 11276 strerror() |
11109 ; return 0; } | 11277 ; return 0; } |
11110 EOF | 11278 EOF |
11111 if { (eval echo configure:11112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11279 if { (eval echo configure:11280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11112 rm -rf conftest* | 11280 rm -rf conftest* |
11113 eval "ac_cv_lib_$ac_lib_var=yes" | 11281 eval "ac_cv_lib_$ac_lib_var=yes" |
11114 else | 11282 else |
11115 echo "configure: failed program was:" >&5 | 11283 echo "configure: failed program was:" >&5 |
11116 cat conftest.$ac_ext >&5 | 11284 cat conftest.$ac_ext >&5 |
11139 fi | 11307 fi |
11140 | 11308 |
11141 | 11309 |
11142 | 11310 |
11143 echo "checking for Mule input methods" 1>&6 | 11311 echo "checking for Mule input methods" 1>&6 |
11144 echo "configure:11145: checking for Mule input methods" >&5 | 11312 echo "configure:11313: checking for Mule input methods" >&5 |
11145 case "$with_xim" in "" | "yes" ) | 11313 case "$with_xim" in "" | "yes" ) |
11146 echo "checking for XIM" 1>&6 | 11314 echo "checking for XIM" 1>&6 |
11147 echo "configure:11148: checking for XIM" >&5 | 11315 echo "configure:11316: checking for XIM" >&5 |
11148 | 11316 |
11149 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11317 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11150 echo "configure:11151: checking for XOpenIM in -lX11" >&5 | 11318 echo "configure:11319: checking for XOpenIM in -lX11" >&5 |
11151 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11319 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11152 | 11320 |
11153 xe_check_libs=" -lX11 " | 11321 xe_check_libs=" -lX11 " |
11154 cat > conftest.$ac_ext <<EOF | 11322 cat > conftest.$ac_ext <<EOF |
11155 #line 11156 "configure" | 11323 #line 11324 "configure" |
11156 #include "confdefs.h" | 11324 #include "confdefs.h" |
11157 /* Override any gcc2 internal prototype to avoid an error. */ | 11325 /* Override any gcc2 internal prototype to avoid an error. */ |
11158 /* We use char because int might match the return type of a gcc2 | 11326 /* We use char because int might match the return type of a gcc2 |
11159 builtin and then its argument prototype would still apply. */ | 11327 builtin and then its argument prototype would still apply. */ |
11160 char XOpenIM(); | 11328 char XOpenIM(); |
11161 | 11329 |
11162 int main() { | 11330 int main() { |
11163 XOpenIM() | 11331 XOpenIM() |
11164 ; return 0; } | 11332 ; return 0; } |
11165 EOF | 11333 EOF |
11166 if { (eval echo configure:11167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11334 if { (eval echo configure:11335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11167 rm -rf conftest* | 11335 rm -rf conftest* |
11168 eval "ac_cv_lib_$ac_lib_var=yes" | 11336 eval "ac_cv_lib_$ac_lib_var=yes" |
11169 else | 11337 else |
11170 echo "configure: failed program was:" >&5 | 11338 echo "configure: failed program was:" >&5 |
11171 cat conftest.$ac_ext >&5 | 11339 cat conftest.$ac_ext >&5 |
11185 | 11353 |
11186 | 11354 |
11187 if test "$have_motif $have_lesstif" = "yes no"; then | 11355 if test "$have_motif $have_lesstif" = "yes no"; then |
11188 | 11356 |
11189 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11357 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11190 echo "configure:11191: checking for XmImMbLookupString in -lXm" >&5 | 11358 echo "configure:11359: checking for XmImMbLookupString in -lXm" >&5 |
11191 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11359 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11192 | 11360 |
11193 xe_check_libs=" -lXm " | 11361 xe_check_libs=" -lXm " |
11194 cat > conftest.$ac_ext <<EOF | 11362 cat > conftest.$ac_ext <<EOF |
11195 #line 11196 "configure" | 11363 #line 11364 "configure" |
11196 #include "confdefs.h" | 11364 #include "confdefs.h" |
11197 /* Override any gcc2 internal prototype to avoid an error. */ | 11365 /* Override any gcc2 internal prototype to avoid an error. */ |
11198 /* We use char because int might match the return type of a gcc2 | 11366 /* We use char because int might match the return type of a gcc2 |
11199 builtin and then its argument prototype would still apply. */ | 11367 builtin and then its argument prototype would still apply. */ |
11200 char XmImMbLookupString(); | 11368 char XmImMbLookupString(); |
11201 | 11369 |
11202 int main() { | 11370 int main() { |
11203 XmImMbLookupString() | 11371 XmImMbLookupString() |
11204 ; return 0; } | 11372 ; return 0; } |
11205 EOF | 11373 EOF |
11206 if { (eval echo configure:11207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11374 if { (eval echo configure:11375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11207 rm -rf conftest* | 11375 rm -rf conftest* |
11208 eval "ac_cv_lib_$ac_lib_var=yes" | 11376 eval "ac_cv_lib_$ac_lib_var=yes" |
11209 else | 11377 else |
11210 echo "configure: failed program was:" >&5 | 11378 echo "configure: failed program was:" >&5 |
11211 cat conftest.$ac_ext >&5 | 11379 cat conftest.$ac_ext >&5 |
11266 fi | 11434 fi |
11267 fi | 11435 fi |
11268 | 11436 |
11269 if test "$with_xfs" = "yes" ; then | 11437 if test "$with_xfs" = "yes" ; then |
11270 echo "checking for XFontSet" 1>&6 | 11438 echo "checking for XFontSet" 1>&6 |
11271 echo "configure:11272: checking for XFontSet" >&5 | 11439 echo "configure:11440: checking for XFontSet" >&5 |
11272 | 11440 |
11273 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11441 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11274 echo "configure:11275: checking for XmbDrawString in -lX11" >&5 | 11442 echo "configure:11443: checking for XmbDrawString in -lX11" >&5 |
11275 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11443 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11276 | 11444 |
11277 xe_check_libs=" -lX11 " | 11445 xe_check_libs=" -lX11 " |
11278 cat > conftest.$ac_ext <<EOF | 11446 cat > conftest.$ac_ext <<EOF |
11279 #line 11280 "configure" | 11447 #line 11448 "configure" |
11280 #include "confdefs.h" | 11448 #include "confdefs.h" |
11281 /* Override any gcc2 internal prototype to avoid an error. */ | 11449 /* Override any gcc2 internal prototype to avoid an error. */ |
11282 /* We use char because int might match the return type of a gcc2 | 11450 /* We use char because int might match the return type of a gcc2 |
11283 builtin and then its argument prototype would still apply. */ | 11451 builtin and then its argument prototype would still apply. */ |
11284 char XmbDrawString(); | 11452 char XmbDrawString(); |
11285 | 11453 |
11286 int main() { | 11454 int main() { |
11287 XmbDrawString() | 11455 XmbDrawString() |
11288 ; return 0; } | 11456 ; return 0; } |
11289 EOF | 11457 EOF |
11290 if { (eval echo configure:11291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11458 if { (eval echo configure:11459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11291 rm -rf conftest* | 11459 rm -rf conftest* |
11292 eval "ac_cv_lib_$ac_lib_var=yes" | 11460 eval "ac_cv_lib_$ac_lib_var=yes" |
11293 else | 11461 else |
11294 echo "configure: failed program was:" >&5 | 11462 echo "configure: failed program was:" >&5 |
11295 cat conftest.$ac_ext >&5 | 11463 cat conftest.$ac_ext >&5 |
11325 fi | 11493 fi |
11326 fi | 11494 fi |
11327 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11495 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11328 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11496 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11329 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11497 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11330 echo "configure:11331: checking for wnn/jllib.h" >&5 | 11498 echo "configure:11499: checking for wnn/jllib.h" >&5 |
11331 | 11499 |
11332 cat > conftest.$ac_ext <<EOF | 11500 cat > conftest.$ac_ext <<EOF |
11333 #line 11334 "configure" | 11501 #line 11502 "configure" |
11334 #include "confdefs.h" | 11502 #include "confdefs.h" |
11335 #include <wnn/jllib.h> | 11503 #include <wnn/jllib.h> |
11336 EOF | 11504 EOF |
11337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11338 { (eval echo configure:11339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11506 { (eval echo configure:11507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11340 if test -z "$ac_err"; then | 11508 if test -z "$ac_err"; then |
11341 rm -rf conftest* | 11509 rm -rf conftest* |
11342 eval "ac_cv_header_$ac_safe=yes" | 11510 eval "ac_cv_header_$ac_safe=yes" |
11343 else | 11511 else |
11356 with_wnn=no | 11524 with_wnn=no |
11357 fi | 11525 fi |
11358 } | 11526 } |
11359 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11527 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11360 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11528 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11361 echo "configure:11362: checking for wnn/commonhd.h" >&5 | 11529 echo "configure:11530: checking for wnn/commonhd.h" >&5 |
11362 | 11530 |
11363 cat > conftest.$ac_ext <<EOF | 11531 cat > conftest.$ac_ext <<EOF |
11364 #line 11365 "configure" | 11532 #line 11533 "configure" |
11365 #include "confdefs.h" | 11533 #include "confdefs.h" |
11366 #include <wnn/commonhd.h> | 11534 #include <wnn/commonhd.h> |
11367 EOF | 11535 EOF |
11368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11536 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11369 { (eval echo configure:11370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11537 { (eval echo configure:11538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11538 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11371 if test -z "$ac_err"; then | 11539 if test -z "$ac_err"; then |
11372 rm -rf conftest* | 11540 rm -rf conftest* |
11373 eval "ac_cv_header_$ac_safe=yes" | 11541 eval "ac_cv_header_$ac_safe=yes" |
11374 else | 11542 else |
11389 } | 11557 } |
11390 if test "$with_wnn" != "no"; then | 11558 if test "$with_wnn" != "no"; then |
11391 for ac_func in crypt | 11559 for ac_func in crypt |
11392 do | 11560 do |
11393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11561 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11394 echo "configure:11395: checking for $ac_func" >&5 | 11562 echo "configure:11563: checking for $ac_func" >&5 |
11395 | 11563 |
11396 cat > conftest.$ac_ext <<EOF | 11564 cat > conftest.$ac_ext <<EOF |
11397 #line 11398 "configure" | 11565 #line 11566 "configure" |
11398 #include "confdefs.h" | 11566 #include "confdefs.h" |
11399 /* System header to define __stub macros and hopefully few prototypes, | 11567 /* System header to define __stub macros and hopefully few prototypes, |
11400 which can conflict with char $ac_func(); below. */ | 11568 which can conflict with char $ac_func(); below. */ |
11401 #include <assert.h> | 11569 #include <assert.h> |
11402 /* Override any gcc2 internal prototype to avoid an error. */ | 11570 /* Override any gcc2 internal prototype to avoid an error. */ |
11415 $ac_func(); | 11583 $ac_func(); |
11416 #endif | 11584 #endif |
11417 | 11585 |
11418 ; return 0; } | 11586 ; return 0; } |
11419 EOF | 11587 EOF |
11420 if { (eval echo configure:11421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11588 if { (eval echo configure:11589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11421 rm -rf conftest* | 11589 rm -rf conftest* |
11422 eval "ac_cv_func_$ac_func=yes" | 11590 eval "ac_cv_func_$ac_func=yes" |
11423 else | 11591 else |
11424 echo "configure: failed program was:" >&5 | 11592 echo "configure: failed program was:" >&5 |
11425 cat conftest.$ac_ext >&5 | 11593 cat conftest.$ac_ext >&5 |
11444 fi | 11612 fi |
11445 done | 11613 done |
11446 | 11614 |
11447 test "$ac_cv_func_crypt" != "yes" && { | 11615 test "$ac_cv_func_crypt" != "yes" && { |
11448 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11616 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11449 echo "configure:11450: checking for crypt in -lcrypt" >&5 | 11617 echo "configure:11618: checking for crypt in -lcrypt" >&5 |
11450 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11618 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11451 | 11619 |
11452 xe_check_libs=" -lcrypt " | 11620 xe_check_libs=" -lcrypt " |
11453 cat > conftest.$ac_ext <<EOF | 11621 cat > conftest.$ac_ext <<EOF |
11454 #line 11455 "configure" | 11622 #line 11623 "configure" |
11455 #include "confdefs.h" | 11623 #include "confdefs.h" |
11456 /* Override any gcc2 internal prototype to avoid an error. */ | 11624 /* Override any gcc2 internal prototype to avoid an error. */ |
11457 /* We use char because int might match the return type of a gcc2 | 11625 /* We use char because int might match the return type of a gcc2 |
11458 builtin and then its argument prototype would still apply. */ | 11626 builtin and then its argument prototype would still apply. */ |
11459 char crypt(); | 11627 char crypt(); |
11460 | 11628 |
11461 int main() { | 11629 int main() { |
11462 crypt() | 11630 crypt() |
11463 ; return 0; } | 11631 ; return 0; } |
11464 EOF | 11632 EOF |
11465 if { (eval echo configure:11466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11633 if { (eval echo configure:11634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11466 rm -rf conftest* | 11634 rm -rf conftest* |
11467 eval "ac_cv_lib_$ac_lib_var=yes" | 11635 eval "ac_cv_lib_$ac_lib_var=yes" |
11468 else | 11636 else |
11469 echo "configure: failed program was:" >&5 | 11637 echo "configure: failed program was:" >&5 |
11470 cat conftest.$ac_ext >&5 | 11638 cat conftest.$ac_ext >&5 |
11495 } | 11663 } |
11496 fi | 11664 fi |
11497 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11665 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11498 | 11666 |
11499 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11667 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11500 echo "configure:11501: checking for jl_dic_list_e in -lwnn" >&5 | 11668 echo "configure:11669: checking for jl_dic_list_e in -lwnn" >&5 |
11501 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11669 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11502 | 11670 |
11503 xe_check_libs=" -lwnn " | 11671 xe_check_libs=" -lwnn " |
11504 cat > conftest.$ac_ext <<EOF | 11672 cat > conftest.$ac_ext <<EOF |
11505 #line 11506 "configure" | 11673 #line 11674 "configure" |
11506 #include "confdefs.h" | 11674 #include "confdefs.h" |
11507 /* Override any gcc2 internal prototype to avoid an error. */ | 11675 /* Override any gcc2 internal prototype to avoid an error. */ |
11508 /* We use char because int might match the return type of a gcc2 | 11676 /* We use char because int might match the return type of a gcc2 |
11509 builtin and then its argument prototype would still apply. */ | 11677 builtin and then its argument prototype would still apply. */ |
11510 char jl_dic_list_e(); | 11678 char jl_dic_list_e(); |
11511 | 11679 |
11512 int main() { | 11680 int main() { |
11513 jl_dic_list_e() | 11681 jl_dic_list_e() |
11514 ; return 0; } | 11682 ; return 0; } |
11515 EOF | 11683 EOF |
11516 if { (eval echo configure:11517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11684 if { (eval echo configure:11685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11517 rm -rf conftest* | 11685 rm -rf conftest* |
11518 eval "ac_cv_lib_$ac_lib_var=yes" | 11686 eval "ac_cv_lib_$ac_lib_var=yes" |
11519 else | 11687 else |
11520 echo "configure: failed program was:" >&5 | 11688 echo "configure: failed program was:" >&5 |
11521 cat conftest.$ac_ext >&5 | 11689 cat conftest.$ac_ext >&5 |
11529 echo "$ac_t""yes" 1>&6 | 11697 echo "$ac_t""yes" 1>&6 |
11530 libwnn=wnn | 11698 libwnn=wnn |
11531 else | 11699 else |
11532 echo "$ac_t""no" 1>&6 | 11700 echo "$ac_t""no" 1>&6 |
11533 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11701 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11534 echo "configure:11535: checking for jl_dic_list_e in -lwnn4" >&5 | 11702 echo "configure:11703: checking for jl_dic_list_e in -lwnn4" >&5 |
11535 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11703 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11536 | 11704 |
11537 xe_check_libs=" -lwnn4 " | 11705 xe_check_libs=" -lwnn4 " |
11538 cat > conftest.$ac_ext <<EOF | 11706 cat > conftest.$ac_ext <<EOF |
11539 #line 11540 "configure" | 11707 #line 11708 "configure" |
11540 #include "confdefs.h" | 11708 #include "confdefs.h" |
11541 /* Override any gcc2 internal prototype to avoid an error. */ | 11709 /* Override any gcc2 internal prototype to avoid an error. */ |
11542 /* We use char because int might match the return type of a gcc2 | 11710 /* We use char because int might match the return type of a gcc2 |
11543 builtin and then its argument prototype would still apply. */ | 11711 builtin and then its argument prototype would still apply. */ |
11544 char jl_dic_list_e(); | 11712 char jl_dic_list_e(); |
11545 | 11713 |
11546 int main() { | 11714 int main() { |
11547 jl_dic_list_e() | 11715 jl_dic_list_e() |
11548 ; return 0; } | 11716 ; return 0; } |
11549 EOF | 11717 EOF |
11550 if { (eval echo configure:11551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11718 if { (eval echo configure:11719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11551 rm -rf conftest* | 11719 rm -rf conftest* |
11552 eval "ac_cv_lib_$ac_lib_var=yes" | 11720 eval "ac_cv_lib_$ac_lib_var=yes" |
11553 else | 11721 else |
11554 echo "configure: failed program was:" >&5 | 11722 echo "configure: failed program was:" >&5 |
11555 cat conftest.$ac_ext >&5 | 11723 cat conftest.$ac_ext >&5 |
11563 echo "$ac_t""yes" 1>&6 | 11731 echo "$ac_t""yes" 1>&6 |
11564 libwnn=wnn4 | 11732 libwnn=wnn4 |
11565 else | 11733 else |
11566 echo "$ac_t""no" 1>&6 | 11734 echo "$ac_t""no" 1>&6 |
11567 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11735 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11568 echo "configure:11569: checking for jl_dic_list_e in -lwnn6" >&5 | 11736 echo "configure:11737: checking for jl_dic_list_e in -lwnn6" >&5 |
11569 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11737 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11570 | 11738 |
11571 xe_check_libs=" -lwnn6 " | 11739 xe_check_libs=" -lwnn6 " |
11572 cat > conftest.$ac_ext <<EOF | 11740 cat > conftest.$ac_ext <<EOF |
11573 #line 11574 "configure" | 11741 #line 11742 "configure" |
11574 #include "confdefs.h" | 11742 #include "confdefs.h" |
11575 /* Override any gcc2 internal prototype to avoid an error. */ | 11743 /* Override any gcc2 internal prototype to avoid an error. */ |
11576 /* We use char because int might match the return type of a gcc2 | 11744 /* We use char because int might match the return type of a gcc2 |
11577 builtin and then its argument prototype would still apply. */ | 11745 builtin and then its argument prototype would still apply. */ |
11578 char jl_dic_list_e(); | 11746 char jl_dic_list_e(); |
11579 | 11747 |
11580 int main() { | 11748 int main() { |
11581 jl_dic_list_e() | 11749 jl_dic_list_e() |
11582 ; return 0; } | 11750 ; return 0; } |
11583 EOF | 11751 EOF |
11584 if { (eval echo configure:11585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11752 if { (eval echo configure:11753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11585 rm -rf conftest* | 11753 rm -rf conftest* |
11586 eval "ac_cv_lib_$ac_lib_var=yes" | 11754 eval "ac_cv_lib_$ac_lib_var=yes" |
11587 else | 11755 else |
11588 echo "configure: failed program was:" >&5 | 11756 echo "configure: failed program was:" >&5 |
11589 cat conftest.$ac_ext >&5 | 11757 cat conftest.$ac_ext >&5 |
11597 echo "$ac_t""yes" 1>&6 | 11765 echo "$ac_t""yes" 1>&6 |
11598 libwnn=wnn6 | 11766 libwnn=wnn6 |
11599 else | 11767 else |
11600 echo "$ac_t""no" 1>&6 | 11768 echo "$ac_t""no" 1>&6 |
11601 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11769 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11602 echo "configure:11603: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11770 echo "configure:11771: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11603 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11771 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11604 | 11772 |
11605 xe_check_libs=" -lwnn6_fromsrc " | 11773 xe_check_libs=" -lwnn6_fromsrc " |
11606 cat > conftest.$ac_ext <<EOF | 11774 cat > conftest.$ac_ext <<EOF |
11607 #line 11608 "configure" | 11775 #line 11776 "configure" |
11608 #include "confdefs.h" | 11776 #include "confdefs.h" |
11609 /* Override any gcc2 internal prototype to avoid an error. */ | 11777 /* Override any gcc2 internal prototype to avoid an error. */ |
11610 /* We use char because int might match the return type of a gcc2 | 11778 /* We use char because int might match the return type of a gcc2 |
11611 builtin and then its argument prototype would still apply. */ | 11779 builtin and then its argument prototype would still apply. */ |
11612 char dic_list_e(); | 11780 char dic_list_e(); |
11613 | 11781 |
11614 int main() { | 11782 int main() { |
11615 dic_list_e() | 11783 dic_list_e() |
11616 ; return 0; } | 11784 ; return 0; } |
11617 EOF | 11785 EOF |
11618 if { (eval echo configure:11619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11786 if { (eval echo configure:11787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11619 rm -rf conftest* | 11787 rm -rf conftest* |
11620 eval "ac_cv_lib_$ac_lib_var=yes" | 11788 eval "ac_cv_lib_$ac_lib_var=yes" |
11621 else | 11789 else |
11622 echo "configure: failed program was:" >&5 | 11790 echo "configure: failed program was:" >&5 |
11623 cat conftest.$ac_ext >&5 | 11791 cat conftest.$ac_ext >&5 |
11658 | 11826 |
11659 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11827 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11660 if test "$with_wnn6" != "no"; then | 11828 if test "$with_wnn6" != "no"; then |
11661 | 11829 |
11662 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11830 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11663 echo "configure:11664: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11831 echo "configure:11832: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11664 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11832 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11665 | 11833 |
11666 xe_check_libs=" -l$libwnn " | 11834 xe_check_libs=" -l$libwnn " |
11667 cat > conftest.$ac_ext <<EOF | 11835 cat > conftest.$ac_ext <<EOF |
11668 #line 11669 "configure" | 11836 #line 11837 "configure" |
11669 #include "confdefs.h" | 11837 #include "confdefs.h" |
11670 /* Override any gcc2 internal prototype to avoid an error. */ | 11838 /* Override any gcc2 internal prototype to avoid an error. */ |
11671 /* We use char because int might match the return type of a gcc2 | 11839 /* We use char because int might match the return type of a gcc2 |
11672 builtin and then its argument prototype would still apply. */ | 11840 builtin and then its argument prototype would still apply. */ |
11673 char jl_fi_dic_list(); | 11841 char jl_fi_dic_list(); |
11674 | 11842 |
11675 int main() { | 11843 int main() { |
11676 jl_fi_dic_list() | 11844 jl_fi_dic_list() |
11677 ; return 0; } | 11845 ; return 0; } |
11678 EOF | 11846 EOF |
11679 if { (eval echo configure:11680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11847 if { (eval echo configure:11848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11680 rm -rf conftest* | 11848 rm -rf conftest* |
11681 eval "ac_cv_lib_$ac_lib_var=yes" | 11849 eval "ac_cv_lib_$ac_lib_var=yes" |
11682 else | 11850 else |
11683 echo "configure: failed program was:" >&5 | 11851 echo "configure: failed program was:" >&5 |
11684 cat conftest.$ac_ext >&5 | 11852 cat conftest.$ac_ext >&5 |
11709 | 11877 |
11710 canna_includes_found=no | 11878 canna_includes_found=no |
11711 if test "$with_canna" != "no"; then | 11879 if test "$with_canna" != "no"; then |
11712 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11880 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11713 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11881 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11714 echo "configure:11715: checking for canna/jrkanji.h" >&5 | 11882 echo "configure:11883: checking for canna/jrkanji.h" >&5 |
11715 | 11883 |
11716 cat > conftest.$ac_ext <<EOF | 11884 cat > conftest.$ac_ext <<EOF |
11717 #line 11718 "configure" | 11885 #line 11886 "configure" |
11718 #include "confdefs.h" | 11886 #include "confdefs.h" |
11719 #include <canna/jrkanji.h> | 11887 #include <canna/jrkanji.h> |
11720 EOF | 11888 EOF |
11721 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11722 { (eval echo configure:11723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11890 { (eval echo configure:11891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11723 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11724 if test -z "$ac_err"; then | 11892 if test -z "$ac_err"; then |
11725 rm -rf conftest* | 11893 rm -rf conftest* |
11726 eval "ac_cv_header_$ac_safe=yes" | 11894 eval "ac_cv_header_$ac_safe=yes" |
11727 else | 11895 else |
11744 -d "/usr/local/canna/include"; then | 11912 -d "/usr/local/canna/include"; then |
11745 save_c_switch_site="$c_switch_site" | 11913 save_c_switch_site="$c_switch_site" |
11746 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11914 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11747 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11915 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11748 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11916 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11749 echo "configure:11750: checking for canna/jrkanji.h" >&5 | 11917 echo "configure:11918: checking for canna/jrkanji.h" >&5 |
11750 | 11918 |
11751 cat > conftest.$ac_ext <<EOF | 11919 cat > conftest.$ac_ext <<EOF |
11752 #line 11753 "configure" | 11920 #line 11921 "configure" |
11753 #include "confdefs.h" | 11921 #include "confdefs.h" |
11754 #include <canna/jrkanji.h> | 11922 #include <canna/jrkanji.h> |
11755 EOF | 11923 EOF |
11756 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11924 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11757 { (eval echo configure:11758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11925 { (eval echo configure:11926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11926 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11759 if test -z "$ac_err"; then | 11927 if test -z "$ac_err"; then |
11760 rm -rf conftest* | 11928 rm -rf conftest* |
11761 eval "ac_cv_header_$ac_safe=yes" | 11929 eval "ac_cv_header_$ac_safe=yes" |
11762 else | 11930 else |
11780 fi | 11948 fi |
11781 fi | 11949 fi |
11782 | 11950 |
11783 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11951 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11784 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11952 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11785 echo "configure:11786: checking for canna/RK.h" >&5 | 11953 echo "configure:11954: checking for canna/RK.h" >&5 |
11786 | 11954 |
11787 cat > conftest.$ac_ext <<EOF | 11955 cat > conftest.$ac_ext <<EOF |
11788 #line 11789 "configure" | 11956 #line 11957 "configure" |
11789 #include "confdefs.h" | 11957 #include "confdefs.h" |
11790 #include <canna/RK.h> | 11958 #include <canna/RK.h> |
11791 EOF | 11959 EOF |
11792 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11793 { (eval echo configure:11794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11961 { (eval echo configure:11962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11794 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11795 if test -z "$ac_err"; then | 11963 if test -z "$ac_err"; then |
11796 rm -rf conftest* | 11964 rm -rf conftest* |
11797 eval "ac_cv_header_$ac_safe=yes" | 11965 eval "ac_cv_header_$ac_safe=yes" |
11798 else | 11966 else |
11811 with_canna=no | 11979 with_canna=no |
11812 fi | 11980 fi |
11813 } | 11981 } |
11814 test -z "$with_canna" && { | 11982 test -z "$with_canna" && { |
11815 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11983 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11816 echo "configure:11817: checking for RkBgnBun in -lRKC" >&5 | 11984 echo "configure:11985: checking for RkBgnBun in -lRKC" >&5 |
11817 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11985 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11818 | 11986 |
11819 xe_check_libs=" -lRKC " | 11987 xe_check_libs=" -lRKC " |
11820 cat > conftest.$ac_ext <<EOF | 11988 cat > conftest.$ac_ext <<EOF |
11821 #line 11822 "configure" | 11989 #line 11990 "configure" |
11822 #include "confdefs.h" | 11990 #include "confdefs.h" |
11823 /* Override any gcc2 internal prototype to avoid an error. */ | 11991 /* Override any gcc2 internal prototype to avoid an error. */ |
11824 /* We use char because int might match the return type of a gcc2 | 11992 /* We use char because int might match the return type of a gcc2 |
11825 builtin and then its argument prototype would still apply. */ | 11993 builtin and then its argument prototype would still apply. */ |
11826 char RkBgnBun(); | 11994 char RkBgnBun(); |
11827 | 11995 |
11828 int main() { | 11996 int main() { |
11829 RkBgnBun() | 11997 RkBgnBun() |
11830 ; return 0; } | 11998 ; return 0; } |
11831 EOF | 11999 EOF |
11832 if { (eval echo configure:11833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12000 if { (eval echo configure:12001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11833 rm -rf conftest* | 12001 rm -rf conftest* |
11834 eval "ac_cv_lib_$ac_lib_var=yes" | 12002 eval "ac_cv_lib_$ac_lib_var=yes" |
11835 else | 12003 else |
11836 echo "configure: failed program was:" >&5 | 12004 echo "configure: failed program was:" >&5 |
11837 cat conftest.$ac_ext >&5 | 12005 cat conftest.$ac_ext >&5 |
11850 fi | 12018 fi |
11851 | 12019 |
11852 } | 12020 } |
11853 test -z "$with_canna" && { | 12021 test -z "$with_canna" && { |
11854 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 12022 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11855 echo "configure:11856: checking for jrKanjiControl in -lcanna" >&5 | 12023 echo "configure:12024: checking for jrKanjiControl in -lcanna" >&5 |
11856 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 12024 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11857 | 12025 |
11858 xe_check_libs=" -lcanna " | 12026 xe_check_libs=" -lcanna " |
11859 cat > conftest.$ac_ext <<EOF | 12027 cat > conftest.$ac_ext <<EOF |
11860 #line 11861 "configure" | 12028 #line 12029 "configure" |
11861 #include "confdefs.h" | 12029 #include "confdefs.h" |
11862 /* Override any gcc2 internal prototype to avoid an error. */ | 12030 /* Override any gcc2 internal prototype to avoid an error. */ |
11863 /* We use char because int might match the return type of a gcc2 | 12031 /* We use char because int might match the return type of a gcc2 |
11864 builtin and then its argument prototype would still apply. */ | 12032 builtin and then its argument prototype would still apply. */ |
11865 char jrKanjiControl(); | 12033 char jrKanjiControl(); |
11866 | 12034 |
11867 int main() { | 12035 int main() { |
11868 jrKanjiControl() | 12036 jrKanjiControl() |
11869 ; return 0; } | 12037 ; return 0; } |
11870 EOF | 12038 EOF |
11871 if { (eval echo configure:11872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12039 if { (eval echo configure:12040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11872 rm -rf conftest* | 12040 rm -rf conftest* |
11873 eval "ac_cv_lib_$ac_lib_var=yes" | 12041 eval "ac_cv_lib_$ac_lib_var=yes" |
11874 else | 12042 else |
11875 echo "configure: failed program was:" >&5 | 12043 echo "configure: failed program was:" >&5 |
11876 cat conftest.$ac_ext >&5 | 12044 cat conftest.$ac_ext >&5 |
11912 | 12080 |
11913 if test "$need_motif" = "yes" ; then | 12081 if test "$need_motif" = "yes" ; then |
11914 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 12082 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11915 | 12083 |
11916 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 12084 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11917 echo "configure:11918: checking for layout_object_getvalue in -li18n" >&5 | 12085 echo "configure:12086: checking for layout_object_getvalue in -li18n" >&5 |
11918 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 12086 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11919 | 12087 |
11920 xe_check_libs=" -li18n " | 12088 xe_check_libs=" -li18n " |
11921 cat > conftest.$ac_ext <<EOF | 12089 cat > conftest.$ac_ext <<EOF |
11922 #line 11923 "configure" | 12090 #line 12091 "configure" |
11923 #include "confdefs.h" | 12091 #include "confdefs.h" |
11924 /* Override any gcc2 internal prototype to avoid an error. */ | 12092 /* Override any gcc2 internal prototype to avoid an error. */ |
11925 /* 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 |
11926 builtin and then its argument prototype would still apply. */ | 12094 builtin and then its argument prototype would still apply. */ |
11927 char layout_object_getvalue(); | 12095 char layout_object_getvalue(); |
11928 | 12096 |
11929 int main() { | 12097 int main() { |
11930 layout_object_getvalue() | 12098 layout_object_getvalue() |
11931 ; return 0; } | 12099 ; return 0; } |
11932 EOF | 12100 EOF |
11933 if { (eval echo configure:11934: \"$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 |
11934 rm -rf conftest* | 12102 rm -rf conftest* |
11935 eval "ac_cv_lib_$ac_lib_var=yes" | 12103 eval "ac_cv_lib_$ac_lib_var=yes" |
11936 else | 12104 else |
11937 echo "configure: failed program was:" >&5 | 12105 echo "configure: failed program was:" >&5 |
11938 cat conftest.$ac_ext >&5 | 12106 cat conftest.$ac_ext >&5 |
12015 | 12183 |
12016 | 12184 |
12017 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 | 12185 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 |
12018 do | 12186 do |
12019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12187 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12020 echo "configure:12021: checking for $ac_func" >&5 | 12188 echo "configure:12189: checking for $ac_func" >&5 |
12021 | 12189 |
12022 cat > conftest.$ac_ext <<EOF | 12190 cat > conftest.$ac_ext <<EOF |
12023 #line 12024 "configure" | 12191 #line 12192 "configure" |
12024 #include "confdefs.h" | 12192 #include "confdefs.h" |
12025 /* System header to define __stub macros and hopefully few prototypes, | 12193 /* System header to define __stub macros and hopefully few prototypes, |
12026 which can conflict with char $ac_func(); below. */ | 12194 which can conflict with char $ac_func(); below. */ |
12027 #include <assert.h> | 12195 #include <assert.h> |
12028 /* Override any gcc2 internal prototype to avoid an error. */ | 12196 /* Override any gcc2 internal prototype to avoid an error. */ |
12041 $ac_func(); | 12209 $ac_func(); |
12042 #endif | 12210 #endif |
12043 | 12211 |
12044 ; return 0; } | 12212 ; return 0; } |
12045 EOF | 12213 EOF |
12046 if { (eval echo configure:12047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12214 if { (eval echo configure:12215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12047 rm -rf conftest* | 12215 rm -rf conftest* |
12048 eval "ac_cv_func_$ac_func=yes" | 12216 eval "ac_cv_func_$ac_func=yes" |
12049 else | 12217 else |
12050 echo "configure: failed program was:" >&5 | 12218 echo "configure: failed program was:" >&5 |
12051 cat conftest.$ac_ext >&5 | 12219 cat conftest.$ac_ext >&5 |
12082 | 12250 |
12083 | 12251 |
12084 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 12252 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
12085 do | 12253 do |
12086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12254 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12087 echo "configure:12088: checking for $ac_func" >&5 | 12255 echo "configure:12256: checking for $ac_func" >&5 |
12088 | 12256 |
12089 cat > conftest.$ac_ext <<EOF | 12257 cat > conftest.$ac_ext <<EOF |
12090 #line 12091 "configure" | 12258 #line 12259 "configure" |
12091 #include "confdefs.h" | 12259 #include "confdefs.h" |
12092 /* System header to define __stub macros and hopefully few prototypes, | 12260 /* System header to define __stub macros and hopefully few prototypes, |
12093 which can conflict with char $ac_func(); below. */ | 12261 which can conflict with char $ac_func(); below. */ |
12094 #include <assert.h> | 12262 #include <assert.h> |
12095 /* Override any gcc2 internal prototype to avoid an error. */ | 12263 /* Override any gcc2 internal prototype to avoid an error. */ |
12108 $ac_func(); | 12276 $ac_func(); |
12109 #endif | 12277 #endif |
12110 | 12278 |
12111 ; return 0; } | 12279 ; return 0; } |
12112 EOF | 12280 EOF |
12113 if { (eval echo configure:12114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12281 if { (eval echo configure:12282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12114 rm -rf conftest* | 12282 rm -rf conftest* |
12115 eval "ac_cv_func_$ac_func=yes" | 12283 eval "ac_cv_func_$ac_func=yes" |
12116 else | 12284 else |
12117 echo "configure: failed program was:" >&5 | 12285 echo "configure: failed program was:" >&5 |
12118 cat conftest.$ac_ext >&5 | 12286 cat conftest.$ac_ext >&5 |
12137 fi | 12305 fi |
12138 done | 12306 done |
12139 | 12307 |
12140 | 12308 |
12141 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12309 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12142 echo "configure:12143: checking for openpty" >&5 | 12310 echo "configure:12311: checking for openpty" >&5 |
12143 | 12311 |
12144 cat > conftest.$ac_ext <<EOF | 12312 cat > conftest.$ac_ext <<EOF |
12145 #line 12146 "configure" | 12313 #line 12314 "configure" |
12146 #include "confdefs.h" | 12314 #include "confdefs.h" |
12147 /* System header to define __stub macros and hopefully few prototypes, | 12315 /* System header to define __stub macros and hopefully few prototypes, |
12148 which can conflict with char openpty(); below. */ | 12316 which can conflict with char openpty(); below. */ |
12149 #include <assert.h> | 12317 #include <assert.h> |
12150 /* Override any gcc2 internal prototype to avoid an error. */ | 12318 /* Override any gcc2 internal prototype to avoid an error. */ |
12163 openpty(); | 12331 openpty(); |
12164 #endif | 12332 #endif |
12165 | 12333 |
12166 ; return 0; } | 12334 ; return 0; } |
12167 EOF | 12335 EOF |
12168 if { (eval echo configure:12169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12336 if { (eval echo configure:12337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12169 rm -rf conftest* | 12337 rm -rf conftest* |
12170 eval "ac_cv_func_openpty=yes" | 12338 eval "ac_cv_func_openpty=yes" |
12171 else | 12339 else |
12172 echo "configure: failed program was:" >&5 | 12340 echo "configure: failed program was:" >&5 |
12173 cat conftest.$ac_ext >&5 | 12341 cat conftest.$ac_ext >&5 |
12182 else | 12350 else |
12183 echo "$ac_t""no" 1>&6 | 12351 echo "$ac_t""no" 1>&6 |
12184 | 12352 |
12185 | 12353 |
12186 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12354 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12187 echo "configure:12188: checking for openpty in -lutil" >&5 | 12355 echo "configure:12356: checking for openpty in -lutil" >&5 |
12188 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12356 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12189 | 12357 |
12190 xe_check_libs=" -lutil " | 12358 xe_check_libs=" -lutil " |
12191 cat > conftest.$ac_ext <<EOF | 12359 cat > conftest.$ac_ext <<EOF |
12192 #line 12193 "configure" | 12360 #line 12361 "configure" |
12193 #include "confdefs.h" | 12361 #include "confdefs.h" |
12194 /* Override any gcc2 internal prototype to avoid an error. */ | 12362 /* Override any gcc2 internal prototype to avoid an error. */ |
12195 /* We use char because int might match the return type of a gcc2 | 12363 /* We use char because int might match the return type of a gcc2 |
12196 builtin and then its argument prototype would still apply. */ | 12364 builtin and then its argument prototype would still apply. */ |
12197 char openpty(); | 12365 char openpty(); |
12198 | 12366 |
12199 int main() { | 12367 int main() { |
12200 openpty() | 12368 openpty() |
12201 ; return 0; } | 12369 ; return 0; } |
12202 EOF | 12370 EOF |
12203 if { (eval echo configure:12204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12371 if { (eval echo configure:12372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12204 rm -rf conftest* | 12372 rm -rf conftest* |
12205 eval "ac_cv_lib_$ac_lib_var=yes" | 12373 eval "ac_cv_lib_$ac_lib_var=yes" |
12206 else | 12374 else |
12207 echo "configure: failed program was:" >&5 | 12375 echo "configure: failed program was:" >&5 |
12208 cat conftest.$ac_ext >&5 | 12376 cat conftest.$ac_ext >&5 |
12233 | 12401 |
12234 for ac_hdr in libutil.h util.h | 12402 for ac_hdr in libutil.h util.h |
12235 do | 12403 do |
12236 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12404 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12237 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12405 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12238 echo "configure:12239: checking for $ac_hdr" >&5 | 12406 echo "configure:12407: checking for $ac_hdr" >&5 |
12239 | 12407 |
12240 cat > conftest.$ac_ext <<EOF | 12408 cat > conftest.$ac_ext <<EOF |
12241 #line 12242 "configure" | 12409 #line 12410 "configure" |
12242 #include "confdefs.h" | 12410 #include "confdefs.h" |
12243 #include <$ac_hdr> | 12411 #include <$ac_hdr> |
12244 EOF | 12412 EOF |
12245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12413 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12246 { (eval echo configure:12247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12414 { (eval echo configure:12415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12415 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12248 if test -z "$ac_err"; then | 12416 if test -z "$ac_err"; then |
12249 rm -rf conftest* | 12417 rm -rf conftest* |
12250 eval "ac_cv_header_$ac_safe=yes" | 12418 eval "ac_cv_header_$ac_safe=yes" |
12251 else | 12419 else |
12278 case "$opsys" in | 12446 case "$opsys" in |
12279 hpux*) for ac_hdr in sys/ptyio.h | 12447 hpux*) for ac_hdr in sys/ptyio.h |
12280 do | 12448 do |
12281 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12449 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12282 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12450 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12283 echo "configure:12284: checking for $ac_hdr" >&5 | 12451 echo "configure:12452: checking for $ac_hdr" >&5 |
12284 | 12452 |
12285 cat > conftest.$ac_ext <<EOF | 12453 cat > conftest.$ac_ext <<EOF |
12286 #line 12287 "configure" | 12454 #line 12455 "configure" |
12287 #include "confdefs.h" | 12455 #include "confdefs.h" |
12288 #include <$ac_hdr> | 12456 #include <$ac_hdr> |
12289 EOF | 12457 EOF |
12290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12291 { (eval echo configure:12292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12459 { (eval echo configure:12460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12293 if test -z "$ac_err"; then | 12461 if test -z "$ac_err"; then |
12294 rm -rf conftest* | 12462 rm -rf conftest* |
12295 eval "ac_cv_header_$ac_safe=yes" | 12463 eval "ac_cv_header_$ac_safe=yes" |
12296 else | 12464 else |
12319 ;; | 12487 ;; |
12320 *) for ac_hdr in pty.h | 12488 *) for ac_hdr in pty.h |
12321 do | 12489 do |
12322 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12490 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12323 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12491 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12324 echo "configure:12325: checking for $ac_hdr" >&5 | 12492 echo "configure:12493: checking for $ac_hdr" >&5 |
12325 | 12493 |
12326 cat > conftest.$ac_ext <<EOF | 12494 cat > conftest.$ac_ext <<EOF |
12327 #line 12328 "configure" | 12495 #line 12496 "configure" |
12328 #include "confdefs.h" | 12496 #include "confdefs.h" |
12329 #include <$ac_hdr> | 12497 #include <$ac_hdr> |
12330 EOF | 12498 EOF |
12331 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12499 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12332 { (eval echo configure:12333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12500 { (eval echo configure:12501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12333 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12501 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12334 if test -z "$ac_err"; then | 12502 if test -z "$ac_err"; then |
12335 rm -rf conftest* | 12503 rm -rf conftest* |
12336 eval "ac_cv_header_$ac_safe=yes" | 12504 eval "ac_cv_header_$ac_safe=yes" |
12337 else | 12505 else |
12360 | 12528 |
12361 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12529 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12362 do | 12530 do |
12363 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12531 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12364 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12532 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12365 echo "configure:12366: checking for $ac_hdr" >&5 | 12533 echo "configure:12534: checking for $ac_hdr" >&5 |
12366 | 12534 |
12367 cat > conftest.$ac_ext <<EOF | 12535 cat > conftest.$ac_ext <<EOF |
12368 #line 12369 "configure" | 12536 #line 12537 "configure" |
12369 #include "confdefs.h" | 12537 #include "confdefs.h" |
12370 #include <$ac_hdr> | 12538 #include <$ac_hdr> |
12371 EOF | 12539 EOF |
12372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12540 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12373 { (eval echo configure:12374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12541 { (eval echo configure:12542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12375 if test -z "$ac_err"; then | 12543 if test -z "$ac_err"; then |
12376 rm -rf conftest* | 12544 rm -rf conftest* |
12377 eval "ac_cv_header_$ac_safe=yes" | 12545 eval "ac_cv_header_$ac_safe=yes" |
12378 else | 12546 else |
12404 | 12572 |
12405 for ac_hdr in stropts.h | 12573 for ac_hdr in stropts.h |
12406 do | 12574 do |
12407 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12575 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12408 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12576 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12409 echo "configure:12410: checking for $ac_hdr" >&5 | 12577 echo "configure:12578: checking for $ac_hdr" >&5 |
12410 | 12578 |
12411 cat > conftest.$ac_ext <<EOF | 12579 cat > conftest.$ac_ext <<EOF |
12412 #line 12413 "configure" | 12580 #line 12581 "configure" |
12413 #include "confdefs.h" | 12581 #include "confdefs.h" |
12414 #include <$ac_hdr> | 12582 #include <$ac_hdr> |
12415 EOF | 12583 EOF |
12416 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12417 { (eval echo configure:12418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12585 { (eval echo configure:12586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12418 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12419 if test -z "$ac_err"; then | 12587 if test -z "$ac_err"; then |
12420 rm -rf conftest* | 12588 rm -rf conftest* |
12421 eval "ac_cv_header_$ac_safe=yes" | 12589 eval "ac_cv_header_$ac_safe=yes" |
12422 else | 12590 else |
12445 | 12613 |
12446 if test "$ac_cv_header_stropts_h" = "yes"; then | 12614 if test "$ac_cv_header_stropts_h" = "yes"; then |
12447 for ac_func in isastream | 12615 for ac_func in isastream |
12448 do | 12616 do |
12449 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12450 echo "configure:12451: checking for $ac_func" >&5 | 12618 echo "configure:12619: checking for $ac_func" >&5 |
12451 | 12619 |
12452 cat > conftest.$ac_ext <<EOF | 12620 cat > conftest.$ac_ext <<EOF |
12453 #line 12454 "configure" | 12621 #line 12622 "configure" |
12454 #include "confdefs.h" | 12622 #include "confdefs.h" |
12455 /* System header to define __stub macros and hopefully few prototypes, | 12623 /* System header to define __stub macros and hopefully few prototypes, |
12456 which can conflict with char $ac_func(); below. */ | 12624 which can conflict with char $ac_func(); below. */ |
12457 #include <assert.h> | 12625 #include <assert.h> |
12458 /* Override any gcc2 internal prototype to avoid an error. */ | 12626 /* Override any gcc2 internal prototype to avoid an error. */ |
12471 $ac_func(); | 12639 $ac_func(); |
12472 #endif | 12640 #endif |
12473 | 12641 |
12474 ; return 0; } | 12642 ; return 0; } |
12475 EOF | 12643 EOF |
12476 if { (eval echo configure:12477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12644 if { (eval echo configure:12645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12477 rm -rf conftest* | 12645 rm -rf conftest* |
12478 eval "ac_cv_func_$ac_func=yes" | 12646 eval "ac_cv_func_$ac_func=yes" |
12479 else | 12647 else |
12480 echo "configure: failed program was:" >&5 | 12648 echo "configure: failed program was:" >&5 |
12481 cat conftest.$ac_ext >&5 | 12649 cat conftest.$ac_ext >&5 |
12502 | 12670 |
12503 for ac_hdr in strtio.h | 12671 for ac_hdr in strtio.h |
12504 do | 12672 do |
12505 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12673 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12506 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12674 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12507 echo "configure:12508: checking for $ac_hdr" >&5 | 12675 echo "configure:12676: checking for $ac_hdr" >&5 |
12508 | 12676 |
12509 cat > conftest.$ac_ext <<EOF | 12677 cat > conftest.$ac_ext <<EOF |
12510 #line 12511 "configure" | 12678 #line 12679 "configure" |
12511 #include "confdefs.h" | 12679 #include "confdefs.h" |
12512 #include <$ac_hdr> | 12680 #include <$ac_hdr> |
12513 EOF | 12681 EOF |
12514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12682 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12515 { (eval echo configure:12516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12683 { (eval echo configure:12684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12684 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12517 if test -z "$ac_err"; then | 12685 if test -z "$ac_err"; then |
12518 rm -rf conftest* | 12686 rm -rf conftest* |
12519 eval "ac_cv_header_$ac_safe=yes" | 12687 eval "ac_cv_header_$ac_safe=yes" |
12520 else | 12688 else |
12543 fi | 12711 fi |
12544 | 12712 |
12545 for ac_func in getloadavg | 12713 for ac_func in getloadavg |
12546 do | 12714 do |
12547 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12715 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12548 echo "configure:12549: checking for $ac_func" >&5 | 12716 echo "configure:12717: checking for $ac_func" >&5 |
12549 | 12717 |
12550 cat > conftest.$ac_ext <<EOF | 12718 cat > conftest.$ac_ext <<EOF |
12551 #line 12552 "configure" | 12719 #line 12720 "configure" |
12552 #include "confdefs.h" | 12720 #include "confdefs.h" |
12553 /* System header to define __stub macros and hopefully few prototypes, | 12721 /* System header to define __stub macros and hopefully few prototypes, |
12554 which can conflict with char $ac_func(); below. */ | 12722 which can conflict with char $ac_func(); below. */ |
12555 #include <assert.h> | 12723 #include <assert.h> |
12556 /* Override any gcc2 internal prototype to avoid an error. */ | 12724 /* Override any gcc2 internal prototype to avoid an error. */ |
12569 $ac_func(); | 12737 $ac_func(); |
12570 #endif | 12738 #endif |
12571 | 12739 |
12572 ; return 0; } | 12740 ; return 0; } |
12573 EOF | 12741 EOF |
12574 if { (eval echo configure:12575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12742 if { (eval echo configure:12743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12575 rm -rf conftest* | 12743 rm -rf conftest* |
12576 eval "ac_cv_func_$ac_func=yes" | 12744 eval "ac_cv_func_$ac_func=yes" |
12577 else | 12745 else |
12578 echo "configure: failed program was:" >&5 | 12746 echo "configure: failed program was:" >&5 |
12579 cat conftest.$ac_ext >&5 | 12747 cat conftest.$ac_ext >&5 |
12602 if test "$ac_cv_func_getloadavg" = "yes"; then | 12770 if test "$ac_cv_func_getloadavg" = "yes"; then |
12603 for ac_hdr in sys/loadavg.h | 12771 for ac_hdr in sys/loadavg.h |
12604 do | 12772 do |
12605 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12773 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12774 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12607 echo "configure:12608: checking for $ac_hdr" >&5 | 12775 echo "configure:12776: checking for $ac_hdr" >&5 |
12608 | 12776 |
12609 cat > conftest.$ac_ext <<EOF | 12777 cat > conftest.$ac_ext <<EOF |
12610 #line 12611 "configure" | 12778 #line 12779 "configure" |
12611 #include "confdefs.h" | 12779 #include "confdefs.h" |
12612 #include <$ac_hdr> | 12780 #include <$ac_hdr> |
12613 EOF | 12781 EOF |
12614 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12615 { (eval echo configure:12616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12783 { (eval echo configure:12784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12616 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12617 if test -z "$ac_err"; then | 12785 if test -z "$ac_err"; then |
12618 rm -rf conftest* | 12786 rm -rf conftest* |
12619 eval "ac_cv_header_$ac_safe=yes" | 12787 eval "ac_cv_header_$ac_safe=yes" |
12620 else | 12788 else |
12646 echo " xemacs will be linked with \"getloadavg.o\"" | 12814 echo " xemacs will be linked with \"getloadavg.o\"" |
12647 fi | 12815 fi |
12648 | 12816 |
12649 | 12817 |
12650 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12818 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12651 echo "configure:12652: checking for kstat_open in -lkstat" >&5 | 12819 echo "configure:12820: checking for kstat_open in -lkstat" >&5 |
12652 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12820 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12653 | 12821 |
12654 xe_check_libs=" -lkstat " | 12822 xe_check_libs=" -lkstat " |
12655 cat > conftest.$ac_ext <<EOF | 12823 cat > conftest.$ac_ext <<EOF |
12656 #line 12657 "configure" | 12824 #line 12825 "configure" |
12657 #include "confdefs.h" | 12825 #include "confdefs.h" |
12658 /* Override any gcc2 internal prototype to avoid an error. */ | 12826 /* Override any gcc2 internal prototype to avoid an error. */ |
12659 /* We use char because int might match the return type of a gcc2 | 12827 /* We use char because int might match the return type of a gcc2 |
12660 builtin and then its argument prototype would still apply. */ | 12828 builtin and then its argument prototype would still apply. */ |
12661 char kstat_open(); | 12829 char kstat_open(); |
12662 | 12830 |
12663 int main() { | 12831 int main() { |
12664 kstat_open() | 12832 kstat_open() |
12665 ; return 0; } | 12833 ; return 0; } |
12666 EOF | 12834 EOF |
12667 if { (eval echo configure:12668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12835 if { (eval echo configure:12836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12668 rm -rf conftest* | 12836 rm -rf conftest* |
12669 eval "ac_cv_lib_$ac_lib_var=yes" | 12837 eval "ac_cv_lib_$ac_lib_var=yes" |
12670 else | 12838 else |
12671 echo "configure: failed program was:" >&5 | 12839 echo "configure: failed program was:" >&5 |
12672 cat conftest.$ac_ext >&5 | 12840 cat conftest.$ac_ext >&5 |
12697 | 12865 |
12698 for ac_hdr in kstat.h | 12866 for ac_hdr in kstat.h |
12699 do | 12867 do |
12700 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12868 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12701 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12869 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12702 echo "configure:12703: checking for $ac_hdr" >&5 | 12870 echo "configure:12871: checking for $ac_hdr" >&5 |
12703 | 12871 |
12704 cat > conftest.$ac_ext <<EOF | 12872 cat > conftest.$ac_ext <<EOF |
12705 #line 12706 "configure" | 12873 #line 12874 "configure" |
12706 #include "confdefs.h" | 12874 #include "confdefs.h" |
12707 #include <$ac_hdr> | 12875 #include <$ac_hdr> |
12708 EOF | 12876 EOF |
12709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12710 { (eval echo configure:12711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12878 { (eval echo configure:12879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12712 if test -z "$ac_err"; then | 12880 if test -z "$ac_err"; then |
12713 rm -rf conftest* | 12881 rm -rf conftest* |
12714 eval "ac_cv_header_$ac_safe=yes" | 12882 eval "ac_cv_header_$ac_safe=yes" |
12715 else | 12883 else |
12737 done | 12905 done |
12738 | 12906 |
12739 | 12907 |
12740 | 12908 |
12741 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12909 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12742 echo "configure:12743: checking for kvm_read in -lkvm" >&5 | 12910 echo "configure:12911: checking for kvm_read in -lkvm" >&5 |
12743 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12911 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12744 | 12912 |
12745 xe_check_libs=" -lkvm " | 12913 xe_check_libs=" -lkvm " |
12746 cat > conftest.$ac_ext <<EOF | 12914 cat > conftest.$ac_ext <<EOF |
12747 #line 12748 "configure" | 12915 #line 12916 "configure" |
12748 #include "confdefs.h" | 12916 #include "confdefs.h" |
12749 /* Override any gcc2 internal prototype to avoid an error. */ | 12917 /* Override any gcc2 internal prototype to avoid an error. */ |
12750 /* We use char because int might match the return type of a gcc2 | 12918 /* We use char because int might match the return type of a gcc2 |
12751 builtin and then its argument prototype would still apply. */ | 12919 builtin and then its argument prototype would still apply. */ |
12752 char kvm_read(); | 12920 char kvm_read(); |
12753 | 12921 |
12754 int main() { | 12922 int main() { |
12755 kvm_read() | 12923 kvm_read() |
12756 ; return 0; } | 12924 ; return 0; } |
12757 EOF | 12925 EOF |
12758 if { (eval echo configure:12759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12926 if { (eval echo configure:12927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12759 rm -rf conftest* | 12927 rm -rf conftest* |
12760 eval "ac_cv_lib_$ac_lib_var=yes" | 12928 eval "ac_cv_lib_$ac_lib_var=yes" |
12761 else | 12929 else |
12762 echo "configure: failed program was:" >&5 | 12930 echo "configure: failed program was:" >&5 |
12763 cat conftest.$ac_ext >&5 | 12931 cat conftest.$ac_ext >&5 |
12787 | 12955 |
12788 | 12956 |
12789 fi | 12957 fi |
12790 | 12958 |
12791 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12959 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12792 echo "configure:12793: checking whether netdb declares h_errno" >&5 | 12960 echo "configure:12961: checking whether netdb declares h_errno" >&5 |
12793 cat > conftest.$ac_ext <<EOF | 12961 cat > conftest.$ac_ext <<EOF |
12794 #line 12795 "configure" | 12962 #line 12963 "configure" |
12795 #include "confdefs.h" | 12963 #include "confdefs.h" |
12796 #include <netdb.h> | 12964 #include <netdb.h> |
12797 int main() { | 12965 int main() { |
12798 return h_errno; | 12966 return h_errno; |
12799 ; return 0; } | 12967 ; return 0; } |
12800 EOF | 12968 EOF |
12801 if { (eval echo configure:12802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12969 if { (eval echo configure:12970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12802 rm -rf conftest* | 12970 rm -rf conftest* |
12803 echo "$ac_t""yes" 1>&6 | 12971 echo "$ac_t""yes" 1>&6 |
12804 { test "$extra_verbose" = "yes" && cat << \EOF | 12972 { test "$extra_verbose" = "yes" && cat << \EOF |
12805 Defining HAVE_H_ERRNO | 12973 Defining HAVE_H_ERRNO |
12806 EOF | 12974 EOF |
12816 echo "$ac_t""no" 1>&6 | 12984 echo "$ac_t""no" 1>&6 |
12817 fi | 12985 fi |
12818 rm -f conftest* | 12986 rm -f conftest* |
12819 | 12987 |
12820 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12988 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12821 echo "configure:12822: checking for sigsetjmp" >&5 | 12989 echo "configure:12990: checking for sigsetjmp" >&5 |
12822 cat > conftest.$ac_ext <<EOF | 12990 cat > conftest.$ac_ext <<EOF |
12823 #line 12824 "configure" | 12991 #line 12992 "configure" |
12824 #include "confdefs.h" | 12992 #include "confdefs.h" |
12825 #include <setjmp.h> | 12993 #include <setjmp.h> |
12826 int main() { | 12994 int main() { |
12827 sigjmp_buf bar; sigsetjmp (bar, 0); | 12995 sigjmp_buf bar; sigsetjmp (bar, 0); |
12828 ; return 0; } | 12996 ; return 0; } |
12829 EOF | 12997 EOF |
12830 if { (eval echo configure:12831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12998 if { (eval echo configure:12999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12831 rm -rf conftest* | 12999 rm -rf conftest* |
12832 echo "$ac_t""yes" 1>&6 | 13000 echo "$ac_t""yes" 1>&6 |
12833 { test "$extra_verbose" = "yes" && cat << \EOF | 13001 { test "$extra_verbose" = "yes" && cat << \EOF |
12834 Defining HAVE_SIGSETJMP | 13002 Defining HAVE_SIGSETJMP |
12835 EOF | 13003 EOF |
12845 echo "$ac_t""no" 1>&6 | 13013 echo "$ac_t""no" 1>&6 |
12846 fi | 13014 fi |
12847 rm -f conftest* | 13015 rm -f conftest* |
12848 | 13016 |
12849 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 13017 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12850 echo "configure:12851: checking whether localtime caches TZ" >&5 | 13018 echo "configure:13019: checking whether localtime caches TZ" >&5 |
12851 | 13019 |
12852 if test "$ac_cv_func_tzset" = "yes"; then | 13020 if test "$ac_cv_func_tzset" = "yes"; then |
12853 cat > conftest.$ac_ext <<EOF | 13021 cat > conftest.$ac_ext <<EOF |
12854 #line 12855 "configure" | 13022 #line 13023 "configure" |
12855 #include "confdefs.h" | 13023 #include "confdefs.h" |
12856 #include <time.h> | 13024 #include <time.h> |
12857 #if STDC_HEADERS | 13025 #if STDC_HEADERS |
12858 # include <stdlib.h> | 13026 # include <stdlib.h> |
12859 #endif | 13027 #endif |
12884 if (localtime (&now)->tm_hour != hour_unset) | 13052 if (localtime (&now)->tm_hour != hour_unset) |
12885 exit (1); | 13053 exit (1); |
12886 exit (0); | 13054 exit (0); |
12887 } | 13055 } |
12888 EOF | 13056 EOF |
12889 if { (eval echo configure:12890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13057 if { (eval echo configure:13058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12890 then | 13058 then |
12891 emacs_cv_localtime_cache=no | 13059 emacs_cv_localtime_cache=no |
12892 else | 13060 else |
12893 conftest_rc="$?" | 13061 conftest_rc="$?" |
12894 echo "configure: failed program was:" >&5 | 13062 echo "configure: failed program was:" >&5 |
12914 | 13082 |
12915 fi | 13083 fi |
12916 | 13084 |
12917 if test "$HAVE_TIMEVAL" = "yes"; then | 13085 if test "$HAVE_TIMEVAL" = "yes"; then |
12918 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 13086 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12919 echo "configure:12920: checking whether gettimeofday accepts one or two arguments" >&5 | 13087 echo "configure:13088: checking whether gettimeofday accepts one or two arguments" >&5 |
12920 cat > conftest.$ac_ext <<EOF | 13088 cat > conftest.$ac_ext <<EOF |
12921 #line 12922 "configure" | 13089 #line 13090 "configure" |
12922 #include "confdefs.h" | 13090 #include "confdefs.h" |
12923 | 13091 |
12924 #ifdef TIME_WITH_SYS_TIME | 13092 #ifdef TIME_WITH_SYS_TIME |
12925 #include <sys/time.h> | 13093 #include <sys/time.h> |
12926 #include <time.h> | 13094 #include <time.h> |
12937 struct timeval time; | 13105 struct timeval time; |
12938 gettimeofday (&time, 0); | 13106 gettimeofday (&time, 0); |
12939 | 13107 |
12940 ; return 0; } | 13108 ; return 0; } |
12941 EOF | 13109 EOF |
12942 if { (eval echo configure:12943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13110 if { (eval echo configure:13111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12943 rm -rf conftest* | 13111 rm -rf conftest* |
12944 echo "$ac_t""two" 1>&6 | 13112 echo "$ac_t""two" 1>&6 |
12945 else | 13113 else |
12946 echo "configure: failed program was:" >&5 | 13114 echo "configure: failed program was:" >&5 |
12947 cat conftest.$ac_ext >&5 | 13115 cat conftest.$ac_ext >&5 |
12959 rm -f conftest* | 13127 rm -f conftest* |
12960 fi | 13128 fi |
12961 | 13129 |
12962 | 13130 |
12963 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 13131 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12964 echo "configure:12965: checking for inline" >&5 | 13132 echo "configure:13133: checking for inline" >&5 |
12965 | 13133 |
12966 ac_cv_c_inline=no | 13134 ac_cv_c_inline=no |
12967 for ac_kw in inline __inline__ __inline; do | 13135 for ac_kw in inline __inline__ __inline; do |
12968 cat > conftest.$ac_ext <<EOF | 13136 cat > conftest.$ac_ext <<EOF |
12969 #line 12970 "configure" | 13137 #line 13138 "configure" |
12970 #include "confdefs.h" | 13138 #include "confdefs.h" |
12971 | 13139 |
12972 int main() { | 13140 int main() { |
12973 } $ac_kw foo() { | 13141 } $ac_kw foo() { |
12974 ; return 0; } | 13142 ; return 0; } |
12975 EOF | 13143 EOF |
12976 if { (eval echo configure:12977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13144 if { (eval echo configure:13145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12977 rm -rf conftest* | 13145 rm -rf conftest* |
12978 ac_cv_c_inline=$ac_kw; break | 13146 ac_cv_c_inline=$ac_kw; break |
12979 else | 13147 else |
12980 echo "configure: failed program was:" >&5 | 13148 echo "configure: failed program was:" >&5 |
12981 cat conftest.$ac_ext >&5 | 13149 cat conftest.$ac_ext >&5 |
13008 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 13176 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
13009 echo " xemacs will be linked with \"inline.o\"" | 13177 echo " xemacs will be linked with \"inline.o\"" |
13010 fi | 13178 fi |
13011 | 13179 |
13012 echo $ac_n "checking for typeof""... $ac_c" 1>&6 | 13180 echo $ac_n "checking for typeof""... $ac_c" 1>&6 |
13013 echo "configure:13014: checking for typeof" >&5 | 13181 echo "configure:13182: checking for typeof" >&5 |
13014 cat > conftest.$ac_ext <<EOF | 13182 cat > conftest.$ac_ext <<EOF |
13015 #line 13016 "configure" | 13183 #line 13184 "configure" |
13016 #include "confdefs.h" | 13184 #include "confdefs.h" |
13017 | 13185 |
13018 int main() { | 13186 int main() { |
13019 int i; __typeof__(i) j; | 13187 int i; __typeof__(i) j; |
13020 ; return 0; } | 13188 ; return 0; } |
13021 EOF | 13189 EOF |
13022 if { (eval echo configure:13023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13190 if { (eval echo configure:13191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13023 rm -rf conftest* | 13191 rm -rf conftest* |
13024 typeofname="__typeof__" | 13192 typeofname="__typeof__" |
13025 else | 13193 else |
13026 echo "configure: failed program was:" >&5 | 13194 echo "configure: failed program was:" >&5 |
13027 cat conftest.$ac_ext >&5 | 13195 cat conftest.$ac_ext >&5 |
13028 rm -rf conftest* | 13196 rm -rf conftest* |
13029 cat > conftest.$ac_ext <<EOF | 13197 cat > conftest.$ac_ext <<EOF |
13030 #line 13031 "configure" | 13198 #line 13199 "configure" |
13031 #include "confdefs.h" | 13199 #include "confdefs.h" |
13032 | 13200 |
13033 int main() { | 13201 int main() { |
13034 int i; typeof(i) j; | 13202 int i; typeof(i) j; |
13035 ; return 0; } | 13203 ; return 0; } |
13036 EOF | 13204 EOF |
13037 if { (eval echo configure:13038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13205 if { (eval echo configure:13206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13038 rm -rf conftest* | 13206 rm -rf conftest* |
13039 typeofname="typeof" | 13207 typeofname="typeof" |
13040 else | 13208 else |
13041 echo "configure: failed program was:" >&5 | 13209 echo "configure: failed program was:" >&5 |
13042 cat conftest.$ac_ext >&5 | 13210 cat conftest.$ac_ext >&5 |
13061 | 13229 |
13062 if test "$__DECC" != "yes"; then | 13230 if test "$__DECC" != "yes"; then |
13063 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 13231 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
13064 # for constant arguments. Useless! | 13232 # for constant arguments. Useless! |
13065 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 13233 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
13066 echo "configure:13067: checking for working alloca.h" >&5 | 13234 echo "configure:13235: checking for working alloca.h" >&5 |
13067 | 13235 |
13068 cat > conftest.$ac_ext <<EOF | 13236 cat > conftest.$ac_ext <<EOF |
13069 #line 13070 "configure" | 13237 #line 13238 "configure" |
13070 #include "confdefs.h" | 13238 #include "confdefs.h" |
13071 #include <alloca.h> | 13239 #include <alloca.h> |
13072 int main() { | 13240 int main() { |
13073 char *p = alloca(2 * sizeof(int)); | 13241 char *p = alloca(2 * sizeof(int)); |
13074 ; return 0; } | 13242 ; return 0; } |
13075 EOF | 13243 EOF |
13076 if { (eval echo configure:13077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13244 if { (eval echo configure:13245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13077 rm -rf conftest* | 13245 rm -rf conftest* |
13078 ac_cv_header_alloca_h=yes | 13246 ac_cv_header_alloca_h=yes |
13079 else | 13247 else |
13080 echo "configure: failed program was:" >&5 | 13248 echo "configure: failed program was:" >&5 |
13081 cat conftest.$ac_ext >&5 | 13249 cat conftest.$ac_ext >&5 |
13095 } | 13263 } |
13096 | 13264 |
13097 fi | 13265 fi |
13098 | 13266 |
13099 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 13267 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
13100 echo "configure:13101: checking for alloca" >&5 | 13268 echo "configure:13269: checking for alloca" >&5 |
13101 | 13269 |
13102 cat > conftest.$ac_ext <<EOF | 13270 cat > conftest.$ac_ext <<EOF |
13103 #line 13104 "configure" | 13271 #line 13272 "configure" |
13104 #include "confdefs.h" | 13272 #include "confdefs.h" |
13105 | 13273 |
13106 #ifdef __GNUC__ | 13274 #ifdef __GNUC__ |
13107 # define alloca __builtin_alloca | 13275 # define alloca __builtin_alloca |
13108 #else | 13276 #else |
13126 | 13294 |
13127 int main() { | 13295 int main() { |
13128 char *p = (char *) alloca(1); | 13296 char *p = (char *) alloca(1); |
13129 ; return 0; } | 13297 ; return 0; } |
13130 EOF | 13298 EOF |
13131 if { (eval echo configure:13132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13299 if { (eval echo configure:13300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13132 rm -rf conftest* | 13300 rm -rf conftest* |
13133 ac_cv_func_alloca_works=yes | 13301 ac_cv_func_alloca_works=yes |
13134 else | 13302 else |
13135 echo "configure: failed program was:" >&5 | 13303 echo "configure: failed program was:" >&5 |
13136 cat conftest.$ac_ext >&5 | 13304 cat conftest.$ac_ext >&5 |
13165 EOF | 13333 EOF |
13166 } | 13334 } |
13167 | 13335 |
13168 | 13336 |
13169 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13337 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13170 echo "configure:13171: checking whether alloca needs Cray hooks" >&5 | 13338 echo "configure:13339: checking whether alloca needs Cray hooks" >&5 |
13171 | 13339 |
13172 cat > conftest.$ac_ext <<EOF | 13340 cat > conftest.$ac_ext <<EOF |
13173 #line 13174 "configure" | 13341 #line 13342 "configure" |
13174 #include "confdefs.h" | 13342 #include "confdefs.h" |
13175 #if defined(CRAY) && ! defined(CRAY2) | 13343 #if defined(CRAY) && ! defined(CRAY2) |
13176 webecray | 13344 webecray |
13177 #else | 13345 #else |
13178 wenotbecray | 13346 wenotbecray |
13192 | 13360 |
13193 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13361 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13194 if test $ac_cv_os_cray = yes; then | 13362 if test $ac_cv_os_cray = yes; then |
13195 for ac_func in _getb67 GETB67 getb67; do | 13363 for ac_func in _getb67 GETB67 getb67; do |
13196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13197 echo "configure:13198: checking for $ac_func" >&5 | 13365 echo "configure:13366: checking for $ac_func" >&5 |
13198 | 13366 |
13199 cat > conftest.$ac_ext <<EOF | 13367 cat > conftest.$ac_ext <<EOF |
13200 #line 13201 "configure" | 13368 #line 13369 "configure" |
13201 #include "confdefs.h" | 13369 #include "confdefs.h" |
13202 /* System header to define __stub macros and hopefully few prototypes, | 13370 /* System header to define __stub macros and hopefully few prototypes, |
13203 which can conflict with char $ac_func(); below. */ | 13371 which can conflict with char $ac_func(); below. */ |
13204 #include <assert.h> | 13372 #include <assert.h> |
13205 /* Override any gcc2 internal prototype to avoid an error. */ | 13373 /* Override any gcc2 internal prototype to avoid an error. */ |
13218 $ac_func(); | 13386 $ac_func(); |
13219 #endif | 13387 #endif |
13220 | 13388 |
13221 ; return 0; } | 13389 ; return 0; } |
13222 EOF | 13390 EOF |
13223 if { (eval echo configure:13224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13391 if { (eval echo configure:13392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13224 rm -rf conftest* | 13392 rm -rf conftest* |
13225 eval "ac_cv_func_$ac_func=yes" | 13393 eval "ac_cv_func_$ac_func=yes" |
13226 else | 13394 else |
13227 echo "configure: failed program was:" >&5 | 13395 echo "configure: failed program was:" >&5 |
13228 cat conftest.$ac_ext >&5 | 13396 cat conftest.$ac_ext >&5 |
13248 | 13416 |
13249 done | 13417 done |
13250 fi | 13418 fi |
13251 | 13419 |
13252 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13420 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13253 echo "configure:13254: checking stack direction for C alloca" >&5 | 13421 echo "configure:13422: checking stack direction for C alloca" >&5 |
13254 | 13422 |
13255 cat > conftest.$ac_ext <<EOF | 13423 cat > conftest.$ac_ext <<EOF |
13256 #line 13257 "configure" | 13424 #line 13425 "configure" |
13257 #include "confdefs.h" | 13425 #include "confdefs.h" |
13258 find_stack_direction () | 13426 find_stack_direction () |
13259 { | 13427 { |
13260 static char *addr = 0; | 13428 static char *addr = 0; |
13261 auto char dummy; | 13429 auto char dummy; |
13270 main () | 13438 main () |
13271 { | 13439 { |
13272 exit (find_stack_direction() < 0); | 13440 exit (find_stack_direction() < 0); |
13273 } | 13441 } |
13274 EOF | 13442 EOF |
13275 if { (eval echo configure:13276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13443 if { (eval echo configure:13444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13276 then | 13444 then |
13277 ac_cv_c_stack_direction=1 | 13445 ac_cv_c_stack_direction=1 |
13278 else | 13446 else |
13279 conftest_rc="$?" | 13447 conftest_rc="$?" |
13280 echo "configure: failed program was:" >&5 | 13448 echo "configure: failed program was:" >&5 |
13299 echo " xemacs will be linked with \"$ALLOCA\"" | 13467 echo " xemacs will be linked with \"$ALLOCA\"" |
13300 fi | 13468 fi |
13301 fi | 13469 fi |
13302 | 13470 |
13303 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13471 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13304 echo "configure:13305: checking for working alloca in function calls" >&5 | 13472 echo "configure:13473: checking for working alloca in function calls" >&5 |
13305 cat > conftest.$ac_ext <<EOF | 13473 cat > conftest.$ac_ext <<EOF |
13306 #line 13307 "configure" | 13474 #line 13475 "configure" |
13307 #include "confdefs.h" | 13475 #include "confdefs.h" |
13308 | 13476 |
13309 #if defined (__CYGWIN__) | 13477 #if defined (__CYGWIN__) |
13310 #include <alloca.h> | 13478 #include <alloca.h> |
13311 #elif defined (__GNUC__) | 13479 #elif defined (__GNUC__) |
13354 return 1; | 13522 return 1; |
13355 return 0; | 13523 return 0; |
13356 } | 13524 } |
13357 | 13525 |
13358 EOF | 13526 EOF |
13359 if { (eval echo configure:13360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13527 if { (eval echo configure:13528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13360 then | 13528 then |
13361 working_alloca_in_function_calls=yes | 13529 working_alloca_in_function_calls=yes |
13362 else | 13530 else |
13363 conftest_rc="$?" | 13531 conftest_rc="$?" |
13364 echo "configure: failed program was:" >&5 | 13532 echo "configure: failed program was:" >&5 |
13377 EOF | 13545 EOF |
13378 } | 13546 } |
13379 | 13547 |
13380 | 13548 |
13381 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13549 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13382 echo "configure:13383: checking for working strcoll" >&5 | 13550 echo "configure:13551: checking for working strcoll" >&5 |
13383 | 13551 |
13384 cat > conftest.$ac_ext <<EOF | 13552 cat > conftest.$ac_ext <<EOF |
13385 #line 13386 "configure" | 13553 #line 13554 "configure" |
13386 #include "confdefs.h" | 13554 #include "confdefs.h" |
13387 #include <string.h> | 13555 #include <string.h> |
13388 main () | 13556 main () |
13389 { | 13557 { |
13390 exit (strcoll ("abc", "def") >= 0 || | 13558 exit (strcoll ("abc", "def") >= 0 || |
13391 strcoll ("ABC", "DEF") >= 0 || | 13559 strcoll ("ABC", "DEF") >= 0 || |
13392 strcoll ("123", "456") >= 0); | 13560 strcoll ("123", "456") >= 0); |
13393 } | 13561 } |
13394 EOF | 13562 EOF |
13395 if { (eval echo configure:13396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13563 if { (eval echo configure:13564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13396 then | 13564 then |
13397 ac_cv_func_strcoll_works=yes | 13565 ac_cv_func_strcoll_works=yes |
13398 else | 13566 else |
13399 conftest_rc="$?" | 13567 conftest_rc="$?" |
13400 echo "configure: failed program was:" >&5 | 13568 echo "configure: failed program was:" >&5 |
13418 | 13586 |
13419 | 13587 |
13420 for ac_func in getpgrp | 13588 for ac_func in getpgrp |
13421 do | 13589 do |
13422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13590 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13423 echo "configure:13424: checking for $ac_func" >&5 | 13591 echo "configure:13592: checking for $ac_func" >&5 |
13424 | 13592 |
13425 cat > conftest.$ac_ext <<EOF | 13593 cat > conftest.$ac_ext <<EOF |
13426 #line 13427 "configure" | 13594 #line 13595 "configure" |
13427 #include "confdefs.h" | 13595 #include "confdefs.h" |
13428 /* System header to define __stub macros and hopefully few prototypes, | 13596 /* System header to define __stub macros and hopefully few prototypes, |
13429 which can conflict with char $ac_func(); below. */ | 13597 which can conflict with char $ac_func(); below. */ |
13430 #include <assert.h> | 13598 #include <assert.h> |
13431 /* Override any gcc2 internal prototype to avoid an error. */ | 13599 /* Override any gcc2 internal prototype to avoid an error. */ |
13444 $ac_func(); | 13612 $ac_func(); |
13445 #endif | 13613 #endif |
13446 | 13614 |
13447 ; return 0; } | 13615 ; return 0; } |
13448 EOF | 13616 EOF |
13449 if { (eval echo configure:13450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13617 if { (eval echo configure:13618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13450 rm -rf conftest* | 13618 rm -rf conftest* |
13451 eval "ac_cv_func_$ac_func=yes" | 13619 eval "ac_cv_func_$ac_func=yes" |
13452 else | 13620 else |
13453 echo "configure: failed program was:" >&5 | 13621 echo "configure: failed program was:" >&5 |
13454 cat conftest.$ac_ext >&5 | 13622 cat conftest.$ac_ext >&5 |
13472 echo "$ac_t""no" 1>&6 | 13640 echo "$ac_t""no" 1>&6 |
13473 fi | 13641 fi |
13474 done | 13642 done |
13475 | 13643 |
13476 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13644 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13477 echo "configure:13478: checking whether getpgrp takes no argument" >&5 | 13645 echo "configure:13646: checking whether getpgrp takes no argument" >&5 |
13478 | 13646 |
13479 cat > conftest.$ac_ext <<EOF | 13647 cat > conftest.$ac_ext <<EOF |
13480 #line 13481 "configure" | 13648 #line 13649 "configure" |
13481 #include "confdefs.h" | 13649 #include "confdefs.h" |
13482 | 13650 |
13483 /* | 13651 /* |
13484 * If this system has a BSD-style getpgrp(), | 13652 * If this system has a BSD-style getpgrp(), |
13485 * which takes a pid argument, exit unsuccessfully. | 13653 * which takes a pid argument, exit unsuccessfully. |
13530 exit(s>>8); | 13698 exit(s>>8); |
13531 } | 13699 } |
13532 } | 13700 } |
13533 | 13701 |
13534 EOF | 13702 EOF |
13535 if { (eval echo configure:13536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13703 if { (eval echo configure:13704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13536 then | 13704 then |
13537 ac_cv_func_getpgrp_void=yes | 13705 ac_cv_func_getpgrp_void=yes |
13538 else | 13706 else |
13539 conftest_rc="$?" | 13707 conftest_rc="$?" |
13540 echo "configure: failed program was:" >&5 | 13708 echo "configure: failed program was:" >&5 |
13557 | 13725 |
13558 fi | 13726 fi |
13559 | 13727 |
13560 | 13728 |
13561 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13729 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13562 echo "configure:13563: checking for working mmap" >&5 | 13730 echo "configure:13731: checking for working mmap" >&5 |
13563 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13731 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13564 cat > conftest.$ac_ext <<EOF | 13732 cat > conftest.$ac_ext <<EOF |
13565 #line 13566 "configure" | 13733 #line 13734 "configure" |
13566 #include "confdefs.h" | 13734 #include "confdefs.h" |
13567 #include <stdio.h> | 13735 #include <stdio.h> |
13568 #include <unistd.h> | 13736 #include <unistd.h> |
13569 #include <fcntl.h> | 13737 #include <fcntl.h> |
13570 #include <sys/mman.h> | 13738 #include <sys/mman.h> |
13593 return 0; | 13761 return 0; |
13594 perror ("conftest: mmap failed"); | 13762 perror ("conftest: mmap failed"); |
13595 return 1; | 13763 return 1; |
13596 } | 13764 } |
13597 EOF | 13765 EOF |
13598 if { (eval echo configure:13599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13766 if { (eval echo configure:13767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13599 then | 13767 then |
13600 have_mmap=yes | 13768 have_mmap=yes |
13601 else | 13769 else |
13602 conftest_rc="$?" | 13770 conftest_rc="$?" |
13603 echo "configure: failed program was:" >&5 | 13771 echo "configure: failed program was:" >&5 |
13622 esac | 13790 esac |
13623 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13791 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13624 if test "$rel_alloc $have_mmap" = "default yes"; then | 13792 if test "$rel_alloc $have_mmap" = "default yes"; then |
13625 if test "$doug_lea_malloc" = "yes"; then | 13793 if test "$doug_lea_malloc" = "yes"; then |
13626 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13794 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13627 echo "configure:13628: checking for M_MMAP_THRESHOLD" >&5 | 13795 echo "configure:13796: checking for M_MMAP_THRESHOLD" >&5 |
13628 cat > conftest.$ac_ext <<EOF | 13796 cat > conftest.$ac_ext <<EOF |
13629 #line 13630 "configure" | 13797 #line 13798 "configure" |
13630 #include "confdefs.h" | 13798 #include "confdefs.h" |
13631 #include <malloc.h> | 13799 #include <malloc.h> |
13632 int main() { | 13800 int main() { |
13633 | 13801 |
13634 #ifndef M_MMAP_THRESHOLD | 13802 #ifndef M_MMAP_THRESHOLD |
13636 !@+$%^&*_)(_ - unlikely to compile... | 13804 !@+$%^&*_)(_ - unlikely to compile... |
13637 #endif | 13805 #endif |
13638 | 13806 |
13639 ; return 0; } | 13807 ; return 0; } |
13640 EOF | 13808 EOF |
13641 if { (eval echo configure:13642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13809 if { (eval echo configure:13810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13642 rm -rf conftest* | 13810 rm -rf conftest* |
13643 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13811 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13644 else | 13812 else |
13645 echo "configure: failed program was:" >&5 | 13813 echo "configure: failed program was:" >&5 |
13646 cat conftest.$ac_ext >&5 | 13814 cat conftest.$ac_ext >&5 |
13661 } | 13829 } |
13662 | 13830 |
13663 | 13831 |
13664 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13832 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13665 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13833 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13666 echo "configure:13667: checking for termios.h" >&5 | 13834 echo "configure:13835: checking for termios.h" >&5 |
13667 | 13835 |
13668 cat > conftest.$ac_ext <<EOF | 13836 cat > conftest.$ac_ext <<EOF |
13669 #line 13670 "configure" | 13837 #line 13838 "configure" |
13670 #include "confdefs.h" | 13838 #include "confdefs.h" |
13671 #include <termios.h> | 13839 #include <termios.h> |
13672 EOF | 13840 EOF |
13673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13674 { (eval echo configure:13675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13842 { (eval echo configure:13843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13843 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13676 if test -z "$ac_err"; then | 13844 if test -z "$ac_err"; then |
13677 rm -rf conftest* | 13845 rm -rf conftest* |
13678 eval "ac_cv_header_$ac_safe=yes" | 13846 eval "ac_cv_header_$ac_safe=yes" |
13679 else | 13847 else |
13712 | 13880 |
13713 else | 13881 else |
13714 echo "$ac_t""no" 1>&6 | 13882 echo "$ac_t""no" 1>&6 |
13715 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13883 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13716 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13884 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13717 echo "configure:13718: checking for termio.h" >&5 | 13885 echo "configure:13886: checking for termio.h" >&5 |
13718 | 13886 |
13719 cat > conftest.$ac_ext <<EOF | 13887 cat > conftest.$ac_ext <<EOF |
13720 #line 13721 "configure" | 13888 #line 13889 "configure" |
13721 #include "confdefs.h" | 13889 #include "confdefs.h" |
13722 #include <termio.h> | 13890 #include <termio.h> |
13723 EOF | 13891 EOF |
13724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13892 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13725 { (eval echo configure:13726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13893 { (eval echo configure:13894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13894 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13727 if test -z "$ac_err"; then | 13895 if test -z "$ac_err"; then |
13728 rm -rf conftest* | 13896 rm -rf conftest* |
13729 eval "ac_cv_header_$ac_safe=yes" | 13897 eval "ac_cv_header_$ac_safe=yes" |
13730 else | 13898 else |
13752 fi | 13920 fi |
13753 | 13921 |
13754 | 13922 |
13755 | 13923 |
13756 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13924 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13757 echo "configure:13758: checking for socket" >&5 | 13925 echo "configure:13926: checking for socket" >&5 |
13758 | 13926 |
13759 cat > conftest.$ac_ext <<EOF | 13927 cat > conftest.$ac_ext <<EOF |
13760 #line 13761 "configure" | 13928 #line 13929 "configure" |
13761 #include "confdefs.h" | 13929 #include "confdefs.h" |
13762 /* System header to define __stub macros and hopefully few prototypes, | 13930 /* System header to define __stub macros and hopefully few prototypes, |
13763 which can conflict with char socket(); below. */ | 13931 which can conflict with char socket(); below. */ |
13764 #include <assert.h> | 13932 #include <assert.h> |
13765 /* Override any gcc2 internal prototype to avoid an error. */ | 13933 /* Override any gcc2 internal prototype to avoid an error. */ |
13778 socket(); | 13946 socket(); |
13779 #endif | 13947 #endif |
13780 | 13948 |
13781 ; return 0; } | 13949 ; return 0; } |
13782 EOF | 13950 EOF |
13783 if { (eval echo configure:13784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13951 if { (eval echo configure:13952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13784 rm -rf conftest* | 13952 rm -rf conftest* |
13785 eval "ac_cv_func_socket=yes" | 13953 eval "ac_cv_func_socket=yes" |
13786 else | 13954 else |
13787 echo "configure: failed program was:" >&5 | 13955 echo "configure: failed program was:" >&5 |
13788 cat conftest.$ac_ext >&5 | 13956 cat conftest.$ac_ext >&5 |
13793 | 13961 |
13794 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13962 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13795 echo "$ac_t""yes" 1>&6 | 13963 echo "$ac_t""yes" 1>&6 |
13796 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13964 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13797 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13965 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13798 echo "configure:13799: checking for netinet/in.h" >&5 | 13966 echo "configure:13967: checking for netinet/in.h" >&5 |
13799 | 13967 |
13800 cat > conftest.$ac_ext <<EOF | 13968 cat > conftest.$ac_ext <<EOF |
13801 #line 13802 "configure" | 13969 #line 13970 "configure" |
13802 #include "confdefs.h" | 13970 #include "confdefs.h" |
13803 #include <netinet/in.h> | 13971 #include <netinet/in.h> |
13804 EOF | 13972 EOF |
13805 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13973 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13806 { (eval echo configure:13807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13974 { (eval echo configure:13975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13807 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13975 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13808 if test -z "$ac_err"; then | 13976 if test -z "$ac_err"; then |
13809 rm -rf conftest* | 13977 rm -rf conftest* |
13810 eval "ac_cv_header_$ac_safe=yes" | 13978 eval "ac_cv_header_$ac_safe=yes" |
13811 else | 13979 else |
13818 rm -f conftest* | 13986 rm -f conftest* |
13819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13987 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13820 echo "$ac_t""yes" 1>&6 | 13988 echo "$ac_t""yes" 1>&6 |
13821 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13989 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13822 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13990 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13823 echo "configure:13824: checking for arpa/inet.h" >&5 | 13991 echo "configure:13992: checking for arpa/inet.h" >&5 |
13824 | 13992 |
13825 cat > conftest.$ac_ext <<EOF | 13993 cat > conftest.$ac_ext <<EOF |
13826 #line 13827 "configure" | 13994 #line 13995 "configure" |
13827 #include "confdefs.h" | 13995 #include "confdefs.h" |
13828 #include <arpa/inet.h> | 13996 #include <arpa/inet.h> |
13829 EOF | 13997 EOF |
13830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13831 { (eval echo configure:13832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13999 { (eval echo configure:14000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13832 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13833 if test -z "$ac_err"; then | 14001 if test -z "$ac_err"; then |
13834 rm -rf conftest* | 14002 rm -rf conftest* |
13835 eval "ac_cv_header_$ac_safe=yes" | 14003 eval "ac_cv_header_$ac_safe=yes" |
13836 else | 14004 else |
13851 #define HAVE_SOCKETS 1 | 14019 #define HAVE_SOCKETS 1 |
13852 EOF | 14020 EOF |
13853 } | 14021 } |
13854 | 14022 |
13855 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 14023 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13856 echo "configure:13857: checking "for sun_len member in struct sockaddr_un"" >&5 | 14024 echo "configure:14025: checking "for sun_len member in struct sockaddr_un"" >&5 |
13857 cat > conftest.$ac_ext <<EOF | 14025 cat > conftest.$ac_ext <<EOF |
13858 #line 13859 "configure" | 14026 #line 14027 "configure" |
13859 #include "confdefs.h" | 14027 #include "confdefs.h" |
13860 | 14028 |
13861 #include <sys/types.h> | 14029 #include <sys/types.h> |
13862 #include <sys/socket.h> | 14030 #include <sys/socket.h> |
13863 #include <sys/un.h> | 14031 #include <sys/un.h> |
13864 | 14032 |
13865 int main() { | 14033 int main() { |
13866 static struct sockaddr_un x; x.sun_len = 1; | 14034 static struct sockaddr_un x; x.sun_len = 1; |
13867 ; return 0; } | 14035 ; return 0; } |
13868 EOF | 14036 EOF |
13869 if { (eval echo configure:13870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14037 if { (eval echo configure:14038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13870 rm -rf conftest* | 14038 rm -rf conftest* |
13871 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 14039 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13872 Defining HAVE_SOCKADDR_SUN_LEN | 14040 Defining HAVE_SOCKADDR_SUN_LEN |
13873 EOF | 14041 EOF |
13874 cat >> confdefs.h <<\EOF | 14042 cat >> confdefs.h <<\EOF |
13882 rm -rf conftest* | 14050 rm -rf conftest* |
13883 echo "$ac_t""no" 1>&6 | 14051 echo "$ac_t""no" 1>&6 |
13884 fi | 14052 fi |
13885 rm -f conftest* | 14053 rm -f conftest* |
13886 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 14054 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13887 echo "configure:13888: checking "for ip_mreq struct in netinet/in.h"" >&5 | 14055 echo "configure:14056: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13888 cat > conftest.$ac_ext <<EOF | 14056 cat > conftest.$ac_ext <<EOF |
13889 #line 13890 "configure" | 14057 #line 14058 "configure" |
13890 #include "confdefs.h" | 14058 #include "confdefs.h" |
13891 | 14059 |
13892 #include <sys/types.h> | 14060 #include <sys/types.h> |
13893 #include <netinet/in.h> | 14061 #include <netinet/in.h> |
13894 | 14062 |
13895 int main() { | 14063 int main() { |
13896 static struct ip_mreq x; | 14064 static struct ip_mreq x; |
13897 ; return 0; } | 14065 ; return 0; } |
13898 EOF | 14066 EOF |
13899 if { (eval echo configure:13900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14067 if { (eval echo configure:14068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13900 rm -rf conftest* | 14068 rm -rf conftest* |
13901 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 14069 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13902 Defining HAVE_MULTICAST | 14070 Defining HAVE_MULTICAST |
13903 EOF | 14071 EOF |
13904 cat >> confdefs.h <<\EOF | 14072 cat >> confdefs.h <<\EOF |
13925 echo "$ac_t""no" 1>&6 | 14093 echo "$ac_t""no" 1>&6 |
13926 fi | 14094 fi |
13927 | 14095 |
13928 | 14096 |
13929 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 14097 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13930 echo "configure:13931: checking for msgget" >&5 | 14098 echo "configure:14099: checking for msgget" >&5 |
13931 | 14099 |
13932 cat > conftest.$ac_ext <<EOF | 14100 cat > conftest.$ac_ext <<EOF |
13933 #line 13934 "configure" | 14101 #line 14102 "configure" |
13934 #include "confdefs.h" | 14102 #include "confdefs.h" |
13935 /* System header to define __stub macros and hopefully few prototypes, | 14103 /* System header to define __stub macros and hopefully few prototypes, |
13936 which can conflict with char msgget(); below. */ | 14104 which can conflict with char msgget(); below. */ |
13937 #include <assert.h> | 14105 #include <assert.h> |
13938 /* Override any gcc2 internal prototype to avoid an error. */ | 14106 /* Override any gcc2 internal prototype to avoid an error. */ |
13951 msgget(); | 14119 msgget(); |
13952 #endif | 14120 #endif |
13953 | 14121 |
13954 ; return 0; } | 14122 ; return 0; } |
13955 EOF | 14123 EOF |
13956 if { (eval echo configure:13957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14124 if { (eval echo configure:14125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13957 rm -rf conftest* | 14125 rm -rf conftest* |
13958 eval "ac_cv_func_msgget=yes" | 14126 eval "ac_cv_func_msgget=yes" |
13959 else | 14127 else |
13960 echo "configure: failed program was:" >&5 | 14128 echo "configure: failed program was:" >&5 |
13961 cat conftest.$ac_ext >&5 | 14129 cat conftest.$ac_ext >&5 |
13966 | 14134 |
13967 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 14135 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13968 echo "$ac_t""yes" 1>&6 | 14136 echo "$ac_t""yes" 1>&6 |
13969 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 14137 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13970 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 14138 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13971 echo "configure:13972: checking for sys/ipc.h" >&5 | 14139 echo "configure:14140: checking for sys/ipc.h" >&5 |
13972 | 14140 |
13973 cat > conftest.$ac_ext <<EOF | 14141 cat > conftest.$ac_ext <<EOF |
13974 #line 13975 "configure" | 14142 #line 14143 "configure" |
13975 #include "confdefs.h" | 14143 #include "confdefs.h" |
13976 #include <sys/ipc.h> | 14144 #include <sys/ipc.h> |
13977 EOF | 14145 EOF |
13978 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14146 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13979 { (eval echo configure:13980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14147 { (eval echo configure:14148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13980 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14148 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13981 if test -z "$ac_err"; then | 14149 if test -z "$ac_err"; then |
13982 rm -rf conftest* | 14150 rm -rf conftest* |
13983 eval "ac_cv_header_$ac_safe=yes" | 14151 eval "ac_cv_header_$ac_safe=yes" |
13984 else | 14152 else |
13991 rm -f conftest* | 14159 rm -f conftest* |
13992 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14160 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13993 echo "$ac_t""yes" 1>&6 | 14161 echo "$ac_t""yes" 1>&6 |
13994 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 14162 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13995 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 14163 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13996 echo "configure:13997: checking for sys/msg.h" >&5 | 14164 echo "configure:14165: checking for sys/msg.h" >&5 |
13997 | 14165 |
13998 cat > conftest.$ac_ext <<EOF | 14166 cat > conftest.$ac_ext <<EOF |
13999 #line 14000 "configure" | 14167 #line 14168 "configure" |
14000 #include "confdefs.h" | 14168 #include "confdefs.h" |
14001 #include <sys/msg.h> | 14169 #include <sys/msg.h> |
14002 EOF | 14170 EOF |
14003 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14171 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14004 { (eval echo configure:14005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14172 { (eval echo configure:14173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14005 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14173 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14006 if test -z "$ac_err"; then | 14174 if test -z "$ac_err"; then |
14007 rm -rf conftest* | 14175 rm -rf conftest* |
14008 eval "ac_cv_header_$ac_safe=yes" | 14176 eval "ac_cv_header_$ac_safe=yes" |
14009 else | 14177 else |
14037 fi | 14205 fi |
14038 | 14206 |
14039 | 14207 |
14040 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 14208 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
14041 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 14209 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
14042 echo "configure:14043: checking for dirent.h" >&5 | 14210 echo "configure:14211: checking for dirent.h" >&5 |
14043 | 14211 |
14044 cat > conftest.$ac_ext <<EOF | 14212 cat > conftest.$ac_ext <<EOF |
14045 #line 14046 "configure" | 14213 #line 14214 "configure" |
14046 #include "confdefs.h" | 14214 #include "confdefs.h" |
14047 #include <dirent.h> | 14215 #include <dirent.h> |
14048 EOF | 14216 EOF |
14049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14217 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14050 { (eval echo configure:14051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14218 { (eval echo configure:14219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14219 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14052 if test -z "$ac_err"; then | 14220 if test -z "$ac_err"; then |
14053 rm -rf conftest* | 14221 rm -rf conftest* |
14054 eval "ac_cv_header_$ac_safe=yes" | 14222 eval "ac_cv_header_$ac_safe=yes" |
14055 else | 14223 else |
14072 | 14240 |
14073 else | 14241 else |
14074 echo "$ac_t""no" 1>&6 | 14242 echo "$ac_t""no" 1>&6 |
14075 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 14243 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
14076 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 14244 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
14077 echo "configure:14078: checking for sys/dir.h" >&5 | 14245 echo "configure:14246: checking for sys/dir.h" >&5 |
14078 | 14246 |
14079 cat > conftest.$ac_ext <<EOF | 14247 cat > conftest.$ac_ext <<EOF |
14080 #line 14081 "configure" | 14248 #line 14249 "configure" |
14081 #include "confdefs.h" | 14249 #include "confdefs.h" |
14082 #include <sys/dir.h> | 14250 #include <sys/dir.h> |
14083 EOF | 14251 EOF |
14084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14085 { (eval echo configure:14086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14253 { (eval echo configure:14254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14087 if test -z "$ac_err"; then | 14255 if test -z "$ac_err"; then |
14088 rm -rf conftest* | 14256 rm -rf conftest* |
14089 eval "ac_cv_header_$ac_safe=yes" | 14257 eval "ac_cv_header_$ac_safe=yes" |
14090 else | 14258 else |
14113 fi | 14281 fi |
14114 | 14282 |
14115 | 14283 |
14116 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 14284 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
14117 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 14285 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
14118 echo "configure:14119: checking for nlist.h" >&5 | 14286 echo "configure:14287: checking for nlist.h" >&5 |
14119 | 14287 |
14120 cat > conftest.$ac_ext <<EOF | 14288 cat > conftest.$ac_ext <<EOF |
14121 #line 14122 "configure" | 14289 #line 14290 "configure" |
14122 #include "confdefs.h" | 14290 #include "confdefs.h" |
14123 #include <nlist.h> | 14291 #include <nlist.h> |
14124 EOF | 14292 EOF |
14125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14126 { (eval echo configure:14127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14294 { (eval echo configure:14295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14128 if test -z "$ac_err"; then | 14296 if test -z "$ac_err"; then |
14129 rm -rf conftest* | 14297 rm -rf conftest* |
14130 eval "ac_cv_header_$ac_safe=yes" | 14298 eval "ac_cv_header_$ac_safe=yes" |
14131 else | 14299 else |
14151 fi | 14319 fi |
14152 | 14320 |
14153 | 14321 |
14154 | 14322 |
14155 echo "checking "for sound support"" 1>&6 | 14323 echo "checking "for sound support"" 1>&6 |
14156 echo "configure:14157: checking "for sound support"" >&5 | 14324 echo "configure:14325: checking "for sound support"" >&5 |
14157 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14325 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14158 | 14326 |
14159 if test "$with_native_sound" != "no"; then | 14327 if test "$with_native_sound" != "no"; then |
14160 if test -n "$native_sound_lib"; then | 14328 if test -n "$native_sound_lib"; then |
14161 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14329 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14162 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14330 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14163 echo "configure:14164: checking for multimedia/audio_device.h" >&5 | 14331 echo "configure:14332: checking for multimedia/audio_device.h" >&5 |
14164 | 14332 |
14165 cat > conftest.$ac_ext <<EOF | 14333 cat > conftest.$ac_ext <<EOF |
14166 #line 14167 "configure" | 14334 #line 14335 "configure" |
14167 #include "confdefs.h" | 14335 #include "confdefs.h" |
14168 #include <multimedia/audio_device.h> | 14336 #include <multimedia/audio_device.h> |
14169 EOF | 14337 EOF |
14170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14171 { (eval echo configure:14172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14339 { (eval echo configure:14340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14173 if test -z "$ac_err"; then | 14341 if test -z "$ac_err"; then |
14174 rm -rf conftest* | 14342 rm -rf conftest* |
14175 eval "ac_cv_header_$ac_safe=yes" | 14343 eval "ac_cv_header_$ac_safe=yes" |
14176 else | 14344 else |
14222 case "$canonical" in | 14390 case "$canonical" in |
14223 *-sgi-* ) | 14391 *-sgi-* ) |
14224 if test -z "$native_sound_lib"; then | 14392 if test -z "$native_sound_lib"; then |
14225 | 14393 |
14226 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14394 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14227 echo "configure:14228: checking for ALopenport in -laudio" >&5 | 14395 echo "configure:14396: checking for ALopenport in -laudio" >&5 |
14228 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14396 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14229 | 14397 |
14230 xe_check_libs=" -laudio " | 14398 xe_check_libs=" -laudio " |
14231 cat > conftest.$ac_ext <<EOF | 14399 cat > conftest.$ac_ext <<EOF |
14232 #line 14233 "configure" | 14400 #line 14401 "configure" |
14233 #include "confdefs.h" | 14401 #include "confdefs.h" |
14234 /* Override any gcc2 internal prototype to avoid an error. */ | 14402 /* Override any gcc2 internal prototype to avoid an error. */ |
14235 /* We use char because int might match the return type of a gcc2 | 14403 /* We use char because int might match the return type of a gcc2 |
14236 builtin and then its argument prototype would still apply. */ | 14404 builtin and then its argument prototype would still apply. */ |
14237 char ALopenport(); | 14405 char ALopenport(); |
14238 | 14406 |
14239 int main() { | 14407 int main() { |
14240 ALopenport() | 14408 ALopenport() |
14241 ; return 0; } | 14409 ; return 0; } |
14242 EOF | 14410 EOF |
14243 if { (eval echo configure:14244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14411 if { (eval echo configure:14412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14244 rm -rf conftest* | 14412 rm -rf conftest* |
14245 eval "ac_cv_lib_$ac_lib_var=yes" | 14413 eval "ac_cv_lib_$ac_lib_var=yes" |
14246 else | 14414 else |
14247 echo "configure: failed program was:" >&5 | 14415 echo "configure: failed program was:" >&5 |
14248 cat conftest.$ac_ext >&5 | 14416 cat conftest.$ac_ext >&5 |
14269 fi ;; | 14437 fi ;; |
14270 hppa*-hp-hpux* ) | 14438 hppa*-hp-hpux* ) |
14271 if test -z "$native_sound_lib"; then | 14439 if test -z "$native_sound_lib"; then |
14272 | 14440 |
14273 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14441 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14274 echo "configure:14275: checking for AOpenAudio in -lAlib" >&5 | 14442 echo "configure:14443: checking for AOpenAudio in -lAlib" >&5 |
14275 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14443 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14276 | 14444 |
14277 xe_check_libs=" -lAlib " | 14445 xe_check_libs=" -lAlib " |
14278 cat > conftest.$ac_ext <<EOF | 14446 cat > conftest.$ac_ext <<EOF |
14279 #line 14280 "configure" | 14447 #line 14448 "configure" |
14280 #include "confdefs.h" | 14448 #include "confdefs.h" |
14281 /* Override any gcc2 internal prototype to avoid an error. */ | 14449 /* Override any gcc2 internal prototype to avoid an error. */ |
14282 /* We use char because int might match the return type of a gcc2 | 14450 /* We use char because int might match the return type of a gcc2 |
14283 builtin and then its argument prototype would still apply. */ | 14451 builtin and then its argument prototype would still apply. */ |
14284 char AOpenAudio(); | 14452 char AOpenAudio(); |
14285 | 14453 |
14286 int main() { | 14454 int main() { |
14287 AOpenAudio() | 14455 AOpenAudio() |
14288 ; return 0; } | 14456 ; return 0; } |
14289 EOF | 14457 EOF |
14290 if { (eval echo configure:14291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14458 if { (eval echo configure:14459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14291 rm -rf conftest* | 14459 rm -rf conftest* |
14292 eval "ac_cv_lib_$ac_lib_var=yes" | 14460 eval "ac_cv_lib_$ac_lib_var=yes" |
14293 else | 14461 else |
14294 echo "configure: failed program was:" >&5 | 14462 echo "configure: failed program was:" >&5 |
14295 cat conftest.$ac_ext >&5 | 14463 cat conftest.$ac_ext >&5 |
14333 | 14501 |
14334 if test -z "$sound_found"; then | 14502 if test -z "$sound_found"; then |
14335 for dir in "machine" "sys" "linux"; do | 14503 for dir in "machine" "sys" "linux"; do |
14336 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14504 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14337 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14505 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14338 echo "configure:14339: checking for ${dir}/soundcard.h" >&5 | 14506 echo "configure:14507: checking for ${dir}/soundcard.h" >&5 |
14339 | 14507 |
14340 cat > conftest.$ac_ext <<EOF | 14508 cat > conftest.$ac_ext <<EOF |
14341 #line 14342 "configure" | 14509 #line 14510 "configure" |
14342 #include "confdefs.h" | 14510 #include "confdefs.h" |
14343 #include <${dir}/soundcard.h> | 14511 #include <${dir}/soundcard.h> |
14344 EOF | 14512 EOF |
14345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14513 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14346 { (eval echo configure:14347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14514 { (eval echo configure:14515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14348 if test -z "$ac_err"; then | 14516 if test -z "$ac_err"; then |
14349 rm -rf conftest* | 14517 rm -rf conftest* |
14350 eval "ac_cv_header_$ac_safe=yes" | 14518 eval "ac_cv_header_$ac_safe=yes" |
14351 else | 14519 else |
14395 fi | 14563 fi |
14396 | 14564 |
14397 if test "$with_nas_sound" != "no"; then | 14565 if test "$with_nas_sound" != "no"; then |
14398 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14566 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14399 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14567 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14400 echo "configure:14401: checking for audio/audiolib.h" >&5 | 14568 echo "configure:14569: checking for audio/audiolib.h" >&5 |
14401 | 14569 |
14402 cat > conftest.$ac_ext <<EOF | 14570 cat > conftest.$ac_ext <<EOF |
14403 #line 14404 "configure" | 14571 #line 14572 "configure" |
14404 #include "confdefs.h" | 14572 #include "confdefs.h" |
14405 #include <audio/audiolib.h> | 14573 #include <audio/audiolib.h> |
14406 EOF | 14574 EOF |
14407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14408 { (eval echo configure:14409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14576 { (eval echo configure:14577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14410 if test -z "$ac_err"; then | 14578 if test -z "$ac_err"; then |
14411 rm -rf conftest* | 14579 rm -rf conftest* |
14412 eval "ac_cv_header_$ac_safe=yes" | 14580 eval "ac_cv_header_$ac_safe=yes" |
14413 else | 14581 else |
14421 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14589 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14422 echo "$ac_t""yes" 1>&6 | 14590 echo "$ac_t""yes" 1>&6 |
14423 | 14591 |
14424 | 14592 |
14425 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14593 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14426 echo "configure:14427: checking for AuOpenServer in -laudio" >&5 | 14594 echo "configure:14595: checking for AuOpenServer in -laudio" >&5 |
14427 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14595 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14428 | 14596 |
14429 xe_check_libs=" -laudio " | 14597 xe_check_libs=" -laudio " |
14430 cat > conftest.$ac_ext <<EOF | 14598 cat > conftest.$ac_ext <<EOF |
14431 #line 14432 "configure" | 14599 #line 14600 "configure" |
14432 #include "confdefs.h" | 14600 #include "confdefs.h" |
14433 /* Override any gcc2 internal prototype to avoid an error. */ | 14601 /* Override any gcc2 internal prototype to avoid an error. */ |
14434 /* We use char because int might match the return type of a gcc2 | 14602 /* We use char because int might match the return type of a gcc2 |
14435 builtin and then its argument prototype would still apply. */ | 14603 builtin and then its argument prototype would still apply. */ |
14436 char AuOpenServer(); | 14604 char AuOpenServer(); |
14437 | 14605 |
14438 int main() { | 14606 int main() { |
14439 AuOpenServer() | 14607 AuOpenServer() |
14440 ; return 0; } | 14608 ; return 0; } |
14441 EOF | 14609 EOF |
14442 if { (eval echo configure:14443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14610 if { (eval echo configure:14611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14443 rm -rf conftest* | 14611 rm -rf conftest* |
14444 eval "ac_cv_lib_$ac_lib_var=yes" | 14612 eval "ac_cv_lib_$ac_lib_var=yes" |
14445 else | 14613 else |
14446 echo "configure: failed program was:" >&5 | 14614 echo "configure: failed program was:" >&5 |
14447 cat conftest.$ac_ext >&5 | 14615 cat conftest.$ac_ext >&5 |
14476 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14644 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14477 echo " xemacs will be linked with \"nas.o\"" | 14645 echo " xemacs will be linked with \"nas.o\"" |
14478 fi | 14646 fi |
14479 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14647 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14480 cat > conftest.$ac_ext <<EOF | 14648 cat > conftest.$ac_ext <<EOF |
14481 #line 14482 "configure" | 14649 #line 14650 "configure" |
14482 #include "confdefs.h" | 14650 #include "confdefs.h" |
14483 #include <audio/Xtutil.h> | 14651 #include <audio/Xtutil.h> |
14484 EOF | 14652 EOF |
14485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14486 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14654 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14507 | 14675 |
14508 if test "$with_esd_sound" != "no"; then | 14676 if test "$with_esd_sound" != "no"; then |
14509 # Extract the first word of "esd-config", so it can be a program name with args. | 14677 # Extract the first word of "esd-config", so it can be a program name with args. |
14510 set dummy esd-config; ac_word=$2 | 14678 set dummy esd-config; ac_word=$2 |
14511 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14679 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14512 echo "configure:14513: checking for $ac_word" >&5 | 14680 echo "configure:14681: checking for $ac_word" >&5 |
14513 | 14681 |
14514 if test -n "$have_esd_config"; then | 14682 if test -n "$have_esd_config"; then |
14515 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14683 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14516 else | 14684 else |
14517 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14685 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14536 if test "$have_esd_config" = "yes"; then | 14704 if test "$have_esd_config" = "yes"; then |
14537 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14705 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14538 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 | 14706 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 |
14539 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14707 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14540 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14708 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14541 echo "configure:14542: checking for esd_play_stream" >&5 | 14709 echo "configure:14710: checking for esd_play_stream" >&5 |
14542 | 14710 |
14543 cat > conftest.$ac_ext <<EOF | 14711 cat > conftest.$ac_ext <<EOF |
14544 #line 14545 "configure" | 14712 #line 14713 "configure" |
14545 #include "confdefs.h" | 14713 #include "confdefs.h" |
14546 /* System header to define __stub macros and hopefully few prototypes, | 14714 /* System header to define __stub macros and hopefully few prototypes, |
14547 which can conflict with char esd_play_stream(); below. */ | 14715 which can conflict with char esd_play_stream(); below. */ |
14548 #include <assert.h> | 14716 #include <assert.h> |
14549 /* Override any gcc2 internal prototype to avoid an error. */ | 14717 /* Override any gcc2 internal prototype to avoid an error. */ |
14562 esd_play_stream(); | 14730 esd_play_stream(); |
14563 #endif | 14731 #endif |
14564 | 14732 |
14565 ; return 0; } | 14733 ; return 0; } |
14566 EOF | 14734 EOF |
14567 if { (eval echo configure:14568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14735 if { (eval echo configure:14736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14568 rm -rf conftest* | 14736 rm -rf conftest* |
14569 eval "ac_cv_func_esd_play_stream=yes" | 14737 eval "ac_cv_func_esd_play_stream=yes" |
14570 else | 14738 else |
14571 echo "configure: failed program was:" >&5 | 14739 echo "configure: failed program was:" >&5 |
14572 cat conftest.$ac_ext >&5 | 14740 cat conftest.$ac_ext >&5 |
14613 | 14781 |
14614 test -z "$with_tty" && with_tty=yes | 14782 test -z "$with_tty" && with_tty=yes |
14615 | 14783 |
14616 if test "$with_tty" = "yes" ; then | 14784 if test "$with_tty" = "yes" ; then |
14617 echo "checking for TTY-related features" 1>&6 | 14785 echo "checking for TTY-related features" 1>&6 |
14618 echo "configure:14619: checking for TTY-related features" >&5 | 14786 echo "configure:14787: checking for TTY-related features" >&5 |
14619 { test "$extra_verbose" = "yes" && cat << \EOF | 14787 { test "$extra_verbose" = "yes" && cat << \EOF |
14620 Defining HAVE_TTY | 14788 Defining HAVE_TTY |
14621 EOF | 14789 EOF |
14622 cat >> confdefs.h <<\EOF | 14790 cat >> confdefs.h <<\EOF |
14623 #define HAVE_TTY 1 | 14791 #define HAVE_TTY 1 |
14626 | 14794 |
14627 | 14795 |
14628 if test -z "$with_ncurses"; then | 14796 if test -z "$with_ncurses"; then |
14629 | 14797 |
14630 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14798 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14631 echo "configure:14632: checking for tgetent in -lncurses" >&5 | 14799 echo "configure:14800: checking for tgetent in -lncurses" >&5 |
14632 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14800 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14633 | 14801 |
14634 xe_check_libs=" -lncurses " | 14802 xe_check_libs=" -lncurses " |
14635 cat > conftest.$ac_ext <<EOF | 14803 cat > conftest.$ac_ext <<EOF |
14636 #line 14637 "configure" | 14804 #line 14805 "configure" |
14637 #include "confdefs.h" | 14805 #include "confdefs.h" |
14638 /* Override any gcc2 internal prototype to avoid an error. */ | 14806 /* Override any gcc2 internal prototype to avoid an error. */ |
14639 /* We use char because int might match the return type of a gcc2 | 14807 /* We use char because int might match the return type of a gcc2 |
14640 builtin and then its argument prototype would still apply. */ | 14808 builtin and then its argument prototype would still apply. */ |
14641 char tgetent(); | 14809 char tgetent(); |
14642 | 14810 |
14643 int main() { | 14811 int main() { |
14644 tgetent() | 14812 tgetent() |
14645 ; return 0; } | 14813 ; return 0; } |
14646 EOF | 14814 EOF |
14647 if { (eval echo configure:14648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14815 if { (eval echo configure:14816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14648 rm -rf conftest* | 14816 rm -rf conftest* |
14649 eval "ac_cv_lib_$ac_lib_var=yes" | 14817 eval "ac_cv_lib_$ac_lib_var=yes" |
14650 else | 14818 else |
14651 echo "configure: failed program was:" >&5 | 14819 echo "configure: failed program was:" >&5 |
14652 cat conftest.$ac_ext >&5 | 14820 cat conftest.$ac_ext >&5 |
14675 EOF | 14843 EOF |
14676 } | 14844 } |
14677 | 14845 |
14678 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14846 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14679 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14847 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14680 echo "configure:14681: checking for ncurses/curses.h" >&5 | 14848 echo "configure:14849: checking for ncurses/curses.h" >&5 |
14681 | 14849 |
14682 cat > conftest.$ac_ext <<EOF | 14850 cat > conftest.$ac_ext <<EOF |
14683 #line 14684 "configure" | 14851 #line 14852 "configure" |
14684 #include "confdefs.h" | 14852 #include "confdefs.h" |
14685 #include <ncurses/curses.h> | 14853 #include <ncurses/curses.h> |
14686 EOF | 14854 EOF |
14687 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14855 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14688 { (eval echo configure:14689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14856 { (eval echo configure:14857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14689 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14857 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14690 if test -z "$ac_err"; then | 14858 if test -z "$ac_err"; then |
14691 rm -rf conftest* | 14859 rm -rf conftest* |
14692 eval "ac_cv_header_$ac_safe=yes" | 14860 eval "ac_cv_header_$ac_safe=yes" |
14693 else | 14861 else |
14705 echo "$ac_t""no" 1>&6 | 14873 echo "$ac_t""no" 1>&6 |
14706 fi | 14874 fi |
14707 | 14875 |
14708 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14876 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14709 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14877 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14710 echo "configure:14711: checking for ncurses/term.h" >&5 | 14878 echo "configure:14879: checking for ncurses/term.h" >&5 |
14711 | 14879 |
14712 cat > conftest.$ac_ext <<EOF | 14880 cat > conftest.$ac_ext <<EOF |
14713 #line 14714 "configure" | 14881 #line 14882 "configure" |
14714 #include "confdefs.h" | 14882 #include "confdefs.h" |
14715 #include <ncurses/term.h> | 14883 #include <ncurses/term.h> |
14716 EOF | 14884 EOF |
14717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14885 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14718 { (eval echo configure:14719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14886 { (eval echo configure:14887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14887 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14720 if test -z "$ac_err"; then | 14888 if test -z "$ac_err"; then |
14721 rm -rf conftest* | 14889 rm -rf conftest* |
14722 eval "ac_cv_header_$ac_safe=yes" | 14890 eval "ac_cv_header_$ac_safe=yes" |
14723 else | 14891 else |
14743 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14911 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14744 save_c_switch_site="$c_switch_site" | 14912 save_c_switch_site="$c_switch_site" |
14745 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14913 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14746 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14914 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14747 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14915 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14748 echo "configure:14749: checking for ncurses/curses.h" >&5 | 14916 echo "configure:14917: checking for ncurses/curses.h" >&5 |
14749 | 14917 |
14750 cat > conftest.$ac_ext <<EOF | 14918 cat > conftest.$ac_ext <<EOF |
14751 #line 14752 "configure" | 14919 #line 14920 "configure" |
14752 #include "confdefs.h" | 14920 #include "confdefs.h" |
14753 #include <ncurses/curses.h> | 14921 #include <ncurses/curses.h> |
14754 EOF | 14922 EOF |
14755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14756 { (eval echo configure:14757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14924 { (eval echo configure:14925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14758 if test -z "$ac_err"; then | 14926 if test -z "$ac_err"; then |
14759 rm -rf conftest* | 14927 rm -rf conftest* |
14760 eval "ac_cv_header_$ac_safe=yes" | 14928 eval "ac_cv_header_$ac_safe=yes" |
14761 else | 14929 else |
14786 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14954 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14787 else | 14955 else |
14788 for lib in curses termlib termcap; do | 14956 for lib in curses termlib termcap; do |
14789 | 14957 |
14790 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14958 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14791 echo "configure:14792: checking for tgetent in -l$lib" >&5 | 14959 echo "configure:14960: checking for tgetent in -l$lib" >&5 |
14792 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14960 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14793 | 14961 |
14794 xe_check_libs=" -l$lib " | 14962 xe_check_libs=" -l$lib " |
14795 cat > conftest.$ac_ext <<EOF | 14963 cat > conftest.$ac_ext <<EOF |
14796 #line 14797 "configure" | 14964 #line 14965 "configure" |
14797 #include "confdefs.h" | 14965 #include "confdefs.h" |
14798 /* Override any gcc2 internal prototype to avoid an error. */ | 14966 /* Override any gcc2 internal prototype to avoid an error. */ |
14799 /* We use char because int might match the return type of a gcc2 | 14967 /* We use char because int might match the return type of a gcc2 |
14800 builtin and then its argument prototype would still apply. */ | 14968 builtin and then its argument prototype would still apply. */ |
14801 char tgetent(); | 14969 char tgetent(); |
14802 | 14970 |
14803 int main() { | 14971 int main() { |
14804 tgetent() | 14972 tgetent() |
14805 ; return 0; } | 14973 ; return 0; } |
14806 EOF | 14974 EOF |
14807 if { (eval echo configure:14808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14975 if { (eval echo configure:14976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14808 rm -rf conftest* | 14976 rm -rf conftest* |
14809 eval "ac_cv_lib_$ac_lib_var=yes" | 14977 eval "ac_cv_lib_$ac_lib_var=yes" |
14810 else | 14978 else |
14811 echo "configure: failed program was:" >&5 | 14979 echo "configure: failed program was:" >&5 |
14812 cat conftest.$ac_ext >&5 | 14980 cat conftest.$ac_ext >&5 |
14833 if test -n "$libs_termcap"; then | 15001 if test -n "$libs_termcap"; then |
14834 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 15002 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14835 else | 15003 else |
14836 | 15004 |
14837 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 15005 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14838 echo "configure:14839: checking for tgetent in -lcurses" >&5 | 15006 echo "configure:15007: checking for tgetent in -lcurses" >&5 |
14839 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 15007 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14840 | 15008 |
14841 xe_check_libs=" -lcurses " | 15009 xe_check_libs=" -lcurses " |
14842 cat > conftest.$ac_ext <<EOF | 15010 cat > conftest.$ac_ext <<EOF |
14843 #line 14844 "configure" | 15011 #line 15012 "configure" |
14844 #include "confdefs.h" | 15012 #include "confdefs.h" |
14845 /* Override any gcc2 internal prototype to avoid an error. */ | 15013 /* Override any gcc2 internal prototype to avoid an error. */ |
14846 /* We use char because int might match the return type of a gcc2 | 15014 /* We use char because int might match the return type of a gcc2 |
14847 builtin and then its argument prototype would still apply. */ | 15015 builtin and then its argument prototype would still apply. */ |
14848 char tgetent(); | 15016 char tgetent(); |
14849 | 15017 |
14850 int main() { | 15018 int main() { |
14851 tgetent() | 15019 tgetent() |
14852 ; return 0; } | 15020 ; return 0; } |
14853 EOF | 15021 EOF |
14854 if { (eval echo configure:14855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15022 if { (eval echo configure:15023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14855 rm -rf conftest* | 15023 rm -rf conftest* |
14856 eval "ac_cv_lib_$ac_lib_var=yes" | 15024 eval "ac_cv_lib_$ac_lib_var=yes" |
14857 else | 15025 else |
14858 echo "configure: failed program was:" >&5 | 15026 echo "configure: failed program was:" >&5 |
14859 cat conftest.$ac_ext >&5 | 15027 cat conftest.$ac_ext >&5 |
14867 echo "$ac_t""yes" 1>&6 | 15035 echo "$ac_t""yes" 1>&6 |
14868 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 15036 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14869 else | 15037 else |
14870 echo "$ac_t""no" 1>&6 | 15038 echo "$ac_t""no" 1>&6 |
14871 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 15039 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14872 echo "configure:14873: checking for tgetent in -ltermcap" >&5 | 15040 echo "configure:15041: checking for tgetent in -ltermcap" >&5 |
14873 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 15041 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14874 | 15042 |
14875 xe_check_libs=" -ltermcap " | 15043 xe_check_libs=" -ltermcap " |
14876 cat > conftest.$ac_ext <<EOF | 15044 cat > conftest.$ac_ext <<EOF |
14877 #line 14878 "configure" | 15045 #line 15046 "configure" |
14878 #include "confdefs.h" | 15046 #include "confdefs.h" |
14879 /* Override any gcc2 internal prototype to avoid an error. */ | 15047 /* Override any gcc2 internal prototype to avoid an error. */ |
14880 /* We use char because int might match the return type of a gcc2 | 15048 /* We use char because int might match the return type of a gcc2 |
14881 builtin and then its argument prototype would still apply. */ | 15049 builtin and then its argument prototype would still apply. */ |
14882 char tgetent(); | 15050 char tgetent(); |
14883 | 15051 |
14884 int main() { | 15052 int main() { |
14885 tgetent() | 15053 tgetent() |
14886 ; return 0; } | 15054 ; return 0; } |
14887 EOF | 15055 EOF |
14888 if { (eval echo configure:14889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15056 if { (eval echo configure:15057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14889 rm -rf conftest* | 15057 rm -rf conftest* |
14890 eval "ac_cv_lib_$ac_lib_var=yes" | 15058 eval "ac_cv_lib_$ac_lib_var=yes" |
14891 else | 15059 else |
14892 echo "configure: failed program was:" >&5 | 15060 echo "configure: failed program was:" >&5 |
14893 cat conftest.$ac_ext >&5 | 15061 cat conftest.$ac_ext >&5 |
14931 } | 15099 } |
14932 | 15100 |
14933 | 15101 |
14934 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 15102 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14935 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 15103 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14936 echo "configure:14937: checking for gpm.h" >&5 | 15104 echo "configure:15105: checking for gpm.h" >&5 |
14937 | 15105 |
14938 cat > conftest.$ac_ext <<EOF | 15106 cat > conftest.$ac_ext <<EOF |
14939 #line 14940 "configure" | 15107 #line 15108 "configure" |
14940 #include "confdefs.h" | 15108 #include "confdefs.h" |
14941 #include <gpm.h> | 15109 #include <gpm.h> |
14942 EOF | 15110 EOF |
14943 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15111 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14944 { (eval echo configure:14945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15112 { (eval echo configure:15113: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14945 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15113 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14946 if test -z "$ac_err"; then | 15114 if test -z "$ac_err"; then |
14947 rm -rf conftest* | 15115 rm -rf conftest* |
14948 eval "ac_cv_header_$ac_safe=yes" | 15116 eval "ac_cv_header_$ac_safe=yes" |
14949 else | 15117 else |
14962 with_gpm=no | 15130 with_gpm=no |
14963 fi | 15131 fi |
14964 } | 15132 } |
14965 test -z "$with_gpm" && { | 15133 test -z "$with_gpm" && { |
14966 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 15134 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14967 echo "configure:14968: checking for Gpm_Open in -lgpm" >&5 | 15135 echo "configure:15136: checking for Gpm_Open in -lgpm" >&5 |
14968 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 15136 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14969 | 15137 |
14970 xe_check_libs=" -lgpm " | 15138 xe_check_libs=" -lgpm " |
14971 cat > conftest.$ac_ext <<EOF | 15139 cat > conftest.$ac_ext <<EOF |
14972 #line 14973 "configure" | 15140 #line 15141 "configure" |
14973 #include "confdefs.h" | 15141 #include "confdefs.h" |
14974 /* Override any gcc2 internal prototype to avoid an error. */ | 15142 /* Override any gcc2 internal prototype to avoid an error. */ |
14975 /* We use char because int might match the return type of a gcc2 | 15143 /* We use char because int might match the return type of a gcc2 |
14976 builtin and then its argument prototype would still apply. */ | 15144 builtin and then its argument prototype would still apply. */ |
14977 char Gpm_Open(); | 15145 char Gpm_Open(); |
14978 | 15146 |
14979 int main() { | 15147 int main() { |
14980 Gpm_Open() | 15148 Gpm_Open() |
14981 ; return 0; } | 15149 ; return 0; } |
14982 EOF | 15150 EOF |
14983 if { (eval echo configure:14984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15151 if { (eval echo configure:15152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14984 rm -rf conftest* | 15152 rm -rf conftest* |
14985 eval "ac_cv_lib_$ac_lib_var=yes" | 15153 eval "ac_cv_lib_$ac_lib_var=yes" |
14986 else | 15154 else |
14987 echo "configure: failed program was:" >&5 | 15155 echo "configure: failed program was:" >&5 |
14988 cat conftest.$ac_ext >&5 | 15156 cat conftest.$ac_ext >&5 |
15021 done | 15189 done |
15022 fi | 15190 fi |
15023 | 15191 |
15024 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 15192 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
15025 != "no no no" && echo "checking for database support" 1>&6 | 15193 != "no no no" && echo "checking for database support" 1>&6 |
15026 echo "configure:15027: checking for database support" >&5 | 15194 echo "configure:15195: checking for database support" >&5 |
15027 | 15195 |
15028 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 15196 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
15029 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 15197 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
15030 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 15198 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
15031 echo "configure:15032: checking for ndbm.h" >&5 | 15199 echo "configure:15200: checking for ndbm.h" >&5 |
15032 | 15200 |
15033 cat > conftest.$ac_ext <<EOF | 15201 cat > conftest.$ac_ext <<EOF |
15034 #line 15035 "configure" | 15202 #line 15203 "configure" |
15035 #include "confdefs.h" | 15203 #include "confdefs.h" |
15036 #include <ndbm.h> | 15204 #include <ndbm.h> |
15037 EOF | 15205 EOF |
15038 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15206 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15039 { (eval echo configure:15040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15207 { (eval echo configure:15208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15208 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15041 if test -z "$ac_err"; then | 15209 if test -z "$ac_err"; then |
15042 rm -rf conftest* | 15210 rm -rf conftest* |
15043 eval "ac_cv_header_$ac_safe=yes" | 15211 eval "ac_cv_header_$ac_safe=yes" |
15044 else | 15212 else |
15064 fi | 15232 fi |
15065 | 15233 |
15066 if test "$with_database_gdbm" != "no"; then | 15234 if test "$with_database_gdbm" != "no"; then |
15067 | 15235 |
15068 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 15236 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
15069 echo "configure:15070: checking for dbm_open in -lgdbm" >&5 | 15237 echo "configure:15238: checking for dbm_open in -lgdbm" >&5 |
15070 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15238 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15071 | 15239 |
15072 xe_check_libs=" -lgdbm " | 15240 xe_check_libs=" -lgdbm " |
15073 cat > conftest.$ac_ext <<EOF | 15241 cat > conftest.$ac_ext <<EOF |
15074 #line 15075 "configure" | 15242 #line 15243 "configure" |
15075 #include "confdefs.h" | 15243 #include "confdefs.h" |
15076 /* Override any gcc2 internal prototype to avoid an error. */ | 15244 /* Override any gcc2 internal prototype to avoid an error. */ |
15077 /* We use char because int might match the return type of a gcc2 | 15245 /* We use char because int might match the return type of a gcc2 |
15078 builtin and then its argument prototype would still apply. */ | 15246 builtin and then its argument prototype would still apply. */ |
15079 char dbm_open(); | 15247 char dbm_open(); |
15080 | 15248 |
15081 int main() { | 15249 int main() { |
15082 dbm_open() | 15250 dbm_open() |
15083 ; return 0; } | 15251 ; return 0; } |
15084 EOF | 15252 EOF |
15085 if { (eval echo configure:15086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15253 if { (eval echo configure:15254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15086 rm -rf conftest* | 15254 rm -rf conftest* |
15087 eval "ac_cv_lib_$ac_lib_var=yes" | 15255 eval "ac_cv_lib_$ac_lib_var=yes" |
15088 else | 15256 else |
15089 echo "configure: failed program was:" >&5 | 15257 echo "configure: failed program was:" >&5 |
15090 cat conftest.$ac_ext >&5 | 15258 cat conftest.$ac_ext >&5 |
15108 | 15276 |
15109 fi | 15277 fi |
15110 | 15278 |
15111 if test "$with_database_dbm" != "no"; then | 15279 if test "$with_database_dbm" != "no"; then |
15112 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 15280 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
15113 echo "configure:15114: checking for dbm_open" >&5 | 15281 echo "configure:15282: checking for dbm_open" >&5 |
15114 | 15282 |
15115 cat > conftest.$ac_ext <<EOF | 15283 cat > conftest.$ac_ext <<EOF |
15116 #line 15117 "configure" | 15284 #line 15285 "configure" |
15117 #include "confdefs.h" | 15285 #include "confdefs.h" |
15118 /* System header to define __stub macros and hopefully few prototypes, | 15286 /* System header to define __stub macros and hopefully few prototypes, |
15119 which can conflict with char dbm_open(); below. */ | 15287 which can conflict with char dbm_open(); below. */ |
15120 #include <assert.h> | 15288 #include <assert.h> |
15121 /* Override any gcc2 internal prototype to avoid an error. */ | 15289 /* Override any gcc2 internal prototype to avoid an error. */ |
15134 dbm_open(); | 15302 dbm_open(); |
15135 #endif | 15303 #endif |
15136 | 15304 |
15137 ; return 0; } | 15305 ; return 0; } |
15138 EOF | 15306 EOF |
15139 if { (eval echo configure:15140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15307 if { (eval echo configure:15308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15140 rm -rf conftest* | 15308 rm -rf conftest* |
15141 eval "ac_cv_func_dbm_open=yes" | 15309 eval "ac_cv_func_dbm_open=yes" |
15142 else | 15310 else |
15143 echo "configure: failed program was:" >&5 | 15311 echo "configure: failed program was:" >&5 |
15144 cat conftest.$ac_ext >&5 | 15312 cat conftest.$ac_ext >&5 |
15153 else | 15321 else |
15154 echo "$ac_t""no" 1>&6 | 15322 echo "$ac_t""no" 1>&6 |
15155 | 15323 |
15156 | 15324 |
15157 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15325 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
15158 echo "configure:15159: checking for dbm_open in -ldbm" >&5 | 15326 echo "configure:15327: checking for dbm_open in -ldbm" >&5 |
15159 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15327 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15160 | 15328 |
15161 xe_check_libs=" -ldbm " | 15329 xe_check_libs=" -ldbm " |
15162 cat > conftest.$ac_ext <<EOF | 15330 cat > conftest.$ac_ext <<EOF |
15163 #line 15164 "configure" | 15331 #line 15332 "configure" |
15164 #include "confdefs.h" | 15332 #include "confdefs.h" |
15165 /* Override any gcc2 internal prototype to avoid an error. */ | 15333 /* Override any gcc2 internal prototype to avoid an error. */ |
15166 /* We use char because int might match the return type of a gcc2 | 15334 /* We use char because int might match the return type of a gcc2 |
15167 builtin and then its argument prototype would still apply. */ | 15335 builtin and then its argument prototype would still apply. */ |
15168 char dbm_open(); | 15336 char dbm_open(); |
15169 | 15337 |
15170 int main() { | 15338 int main() { |
15171 dbm_open() | 15339 dbm_open() |
15172 ; return 0; } | 15340 ; return 0; } |
15173 EOF | 15341 EOF |
15174 if { (eval echo configure:15175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15342 if { (eval echo configure:15343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15175 rm -rf conftest* | 15343 rm -rf conftest* |
15176 eval "ac_cv_lib_$ac_lib_var=yes" | 15344 eval "ac_cv_lib_$ac_lib_var=yes" |
15177 else | 15345 else |
15178 echo "configure: failed program was:" >&5 | 15346 echo "configure: failed program was:" >&5 |
15179 cat conftest.$ac_ext >&5 | 15347 cat conftest.$ac_ext >&5 |
15210 } | 15378 } |
15211 | 15379 |
15212 | 15380 |
15213 if test "$with_database_berkdb" != "no"; then | 15381 if test "$with_database_berkdb" != "no"; then |
15214 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15382 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15215 echo "configure:15216: checking for Berkeley db.h" >&5 | 15383 echo "configure:15384: checking for Berkeley db.h" >&5 |
15216 for header in "db/db.h" "db.h"; do | 15384 for header in "db/db.h" "db.h"; do |
15217 cat > conftest.$ac_ext <<EOF | 15385 cat > conftest.$ac_ext <<EOF |
15218 #line 15219 "configure" | 15386 #line 15387 "configure" |
15219 #include "confdefs.h" | 15387 #include "confdefs.h" |
15220 | 15388 |
15221 #include <stdlib.h> | 15389 #include <stdlib.h> |
15222 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15390 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15223 #ifdef HAVE_INTTYPES_H | 15391 #ifdef HAVE_INTTYPES_H |
15235 | 15403 |
15236 int main() { | 15404 int main() { |
15237 | 15405 |
15238 ; return 0; } | 15406 ; return 0; } |
15239 EOF | 15407 EOF |
15240 if { (eval echo configure:15241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15408 if { (eval echo configure:15409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15241 rm -rf conftest* | 15409 rm -rf conftest* |
15242 db_h_file="$header"; break | 15410 db_h_file="$header"; break |
15243 else | 15411 else |
15244 echo "configure: failed program was:" >&5 | 15412 echo "configure: failed program was:" >&5 |
15245 cat conftest.$ac_ext >&5 | 15413 cat conftest.$ac_ext >&5 |
15251 else echo "$ac_t""$db_h_file" 1>&6 | 15419 else echo "$ac_t""$db_h_file" 1>&6 |
15252 fi | 15420 fi |
15253 | 15421 |
15254 if test "$with_database_berkdb" != "no"; then | 15422 if test "$with_database_berkdb" != "no"; then |
15255 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15423 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15256 echo "configure:15257: checking for Berkeley DB version" >&5 | 15424 echo "configure:15425: checking for Berkeley DB version" >&5 |
15257 cat > conftest.$ac_ext <<EOF | 15425 cat > conftest.$ac_ext <<EOF |
15258 #line 15259 "configure" | 15426 #line 15427 "configure" |
15259 #include "confdefs.h" | 15427 #include "confdefs.h" |
15260 #include <$db_h_file> | 15428 #include <$db_h_file> |
15261 #if DB_VERSION_MAJOR > 1 | 15429 #if DB_VERSION_MAJOR > 1 |
15262 yes | 15430 yes |
15263 #endif | 15431 #endif |
15265 EOF | 15433 EOF |
15266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15267 egrep "yes" >/dev/null 2>&1; then | 15435 egrep "yes" >/dev/null 2>&1; then |
15268 rm -rf conftest* | 15436 rm -rf conftest* |
15269 cat > conftest.$ac_ext <<EOF | 15437 cat > conftest.$ac_ext <<EOF |
15270 #line 15271 "configure" | 15438 #line 15439 "configure" |
15271 #include "confdefs.h" | 15439 #include "confdefs.h" |
15272 #include <$db_h_file> | 15440 #include <$db_h_file> |
15273 #if DB_VERSION_MAJOR > 2 | 15441 #if DB_VERSION_MAJOR > 2 |
15274 yes | 15442 yes |
15275 #endif | 15443 #endif |
15277 EOF | 15445 EOF |
15278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15279 egrep "yes" >/dev/null 2>&1; then | 15447 egrep "yes" >/dev/null 2>&1; then |
15280 rm -rf conftest* | 15448 rm -rf conftest* |
15281 cat > conftest.$ac_ext <<EOF | 15449 cat > conftest.$ac_ext <<EOF |
15282 #line 15283 "configure" | 15450 #line 15451 "configure" |
15283 #include "confdefs.h" | 15451 #include "confdefs.h" |
15284 #include <$db_h_file> | 15452 #include <$db_h_file> |
15285 #if DB_VERSION_MAJOR > 3 | 15453 #if DB_VERSION_MAJOR > 3 |
15286 yes | 15454 yes |
15287 #endif | 15455 #endif |
15311 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15479 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15312 fi | 15480 fi |
15313 rm -f conftest* | 15481 rm -f conftest* |
15314 | 15482 |
15315 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15483 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15316 echo "configure:15317: checking for $dbfunc" >&5 | 15484 echo "configure:15485: checking for $dbfunc" >&5 |
15317 | 15485 |
15318 cat > conftest.$ac_ext <<EOF | 15486 cat > conftest.$ac_ext <<EOF |
15319 #line 15320 "configure" | 15487 #line 15488 "configure" |
15320 #include "confdefs.h" | 15488 #include "confdefs.h" |
15321 /* System header to define __stub macros and hopefully few prototypes, | 15489 /* System header to define __stub macros and hopefully few prototypes, |
15322 which can conflict with char $dbfunc(); below. */ | 15490 which can conflict with char $dbfunc(); below. */ |
15323 #include <assert.h> | 15491 #include <assert.h> |
15324 /* Override any gcc2 internal prototype to avoid an error. */ | 15492 /* Override any gcc2 internal prototype to avoid an error. */ |
15337 $dbfunc(); | 15505 $dbfunc(); |
15338 #endif | 15506 #endif |
15339 | 15507 |
15340 ; return 0; } | 15508 ; return 0; } |
15341 EOF | 15509 EOF |
15342 if { (eval echo configure:15343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15510 if { (eval echo configure:15511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15343 rm -rf conftest* | 15511 rm -rf conftest* |
15344 eval "ac_cv_func_$dbfunc=yes" | 15512 eval "ac_cv_func_$dbfunc=yes" |
15345 else | 15513 else |
15346 echo "configure: failed program was:" >&5 | 15514 echo "configure: failed program was:" >&5 |
15347 cat conftest.$ac_ext >&5 | 15515 cat conftest.$ac_ext >&5 |
15356 else | 15524 else |
15357 echo "$ac_t""no" 1>&6 | 15525 echo "$ac_t""no" 1>&6 |
15358 | 15526 |
15359 | 15527 |
15360 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15528 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15361 echo "configure:15362: checking for $dbfunc in -ldb" >&5 | 15529 echo "configure:15530: checking for $dbfunc in -ldb" >&5 |
15362 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15530 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15363 | 15531 |
15364 xe_check_libs=" -ldb " | 15532 xe_check_libs=" -ldb " |
15365 cat > conftest.$ac_ext <<EOF | 15533 cat > conftest.$ac_ext <<EOF |
15366 #line 15367 "configure" | 15534 #line 15535 "configure" |
15367 #include "confdefs.h" | 15535 #include "confdefs.h" |
15368 /* Override any gcc2 internal prototype to avoid an error. */ | 15536 /* Override any gcc2 internal prototype to avoid an error. */ |
15369 /* We use char because int might match the return type of a gcc2 | 15537 /* We use char because int might match the return type of a gcc2 |
15370 builtin and then its argument prototype would still apply. */ | 15538 builtin and then its argument prototype would still apply. */ |
15371 char $dbfunc(); | 15539 char $dbfunc(); |
15372 | 15540 |
15373 int main() { | 15541 int main() { |
15374 $dbfunc() | 15542 $dbfunc() |
15375 ; return 0; } | 15543 ; return 0; } |
15376 EOF | 15544 EOF |
15377 if { (eval echo configure:15378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15545 if { (eval echo configure:15546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15378 rm -rf conftest* | 15546 rm -rf conftest* |
15379 eval "ac_cv_lib_$ac_lib_var=yes" | 15547 eval "ac_cv_lib_$ac_lib_var=yes" |
15380 else | 15548 else |
15381 echo "configure: failed program was:" >&5 | 15549 echo "configure: failed program was:" >&5 |
15382 cat conftest.$ac_ext >&5 | 15550 cat conftest.$ac_ext >&5 |
15406 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15574 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15407 rm -f $tempcname | 15575 rm -f $tempcname |
15408 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15576 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15409 | 15577 |
15410 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15578 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15411 echo "configure:15412: checking for $dbfunc in -ldb" >&5 | 15579 echo "configure:15580: checking for $dbfunc in -ldb" >&5 |
15412 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15580 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15413 | 15581 |
15414 xe_check_libs=" -ldb " | 15582 xe_check_libs=" -ldb " |
15415 cat > conftest.$ac_ext <<EOF | 15583 cat > conftest.$ac_ext <<EOF |
15416 #line 15417 "configure" | 15584 #line 15585 "configure" |
15417 #include "confdefs.h" | 15585 #include "confdefs.h" |
15418 /* Override any gcc2 internal prototype to avoid an error. */ | 15586 /* Override any gcc2 internal prototype to avoid an error. */ |
15419 /* We use char because int might match the return type of a gcc2 | 15587 /* We use char because int might match the return type of a gcc2 |
15420 builtin and then its argument prototype would still apply. */ | 15588 builtin and then its argument prototype would still apply. */ |
15421 char $dbfunc(); | 15589 char $dbfunc(); |
15422 | 15590 |
15423 int main() { | 15591 int main() { |
15424 $dbfunc() | 15592 $dbfunc() |
15425 ; return 0; } | 15593 ; return 0; } |
15426 EOF | 15594 EOF |
15427 if { (eval echo configure:15428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15595 if { (eval echo configure:15596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15428 rm -rf conftest* | 15596 rm -rf conftest* |
15429 eval "ac_cv_lib_$ac_lib_var=yes" | 15597 eval "ac_cv_lib_$ac_lib_var=yes" |
15430 else | 15598 else |
15431 echo "configure: failed program was:" >&5 | 15599 echo "configure: failed program was:" >&5 |
15432 cat conftest.$ac_ext >&5 | 15600 cat conftest.$ac_ext >&5 |
15481 fi | 15649 fi |
15482 | 15650 |
15483 if test "$with_socks" = "yes"; then | 15651 if test "$with_socks" = "yes"; then |
15484 | 15652 |
15485 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15653 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15486 echo "configure:15487: checking for SOCKSinit in -lsocks" >&5 | 15654 echo "configure:15655: checking for SOCKSinit in -lsocks" >&5 |
15487 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15655 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15488 | 15656 |
15489 xe_check_libs=" -lsocks " | 15657 xe_check_libs=" -lsocks " |
15490 cat > conftest.$ac_ext <<EOF | 15658 cat > conftest.$ac_ext <<EOF |
15491 #line 15492 "configure" | 15659 #line 15660 "configure" |
15492 #include "confdefs.h" | 15660 #include "confdefs.h" |
15493 /* Override any gcc2 internal prototype to avoid an error. */ | 15661 /* Override any gcc2 internal prototype to avoid an error. */ |
15494 /* We use char because int might match the return type of a gcc2 | 15662 /* We use char because int might match the return type of a gcc2 |
15495 builtin and then its argument prototype would still apply. */ | 15663 builtin and then its argument prototype would still apply. */ |
15496 char SOCKSinit(); | 15664 char SOCKSinit(); |
15497 | 15665 |
15498 int main() { | 15666 int main() { |
15499 SOCKSinit() | 15667 SOCKSinit() |
15500 ; return 0; } | 15668 ; return 0; } |
15501 EOF | 15669 EOF |
15502 if { (eval echo configure:15503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15670 if { (eval echo configure:15671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15503 rm -rf conftest* | 15671 rm -rf conftest* |
15504 eval "ac_cv_lib_$ac_lib_var=yes" | 15672 eval "ac_cv_lib_$ac_lib_var=yes" |
15505 else | 15673 else |
15506 echo "configure: failed program was:" >&5 | 15674 echo "configure: failed program was:" >&5 |
15507 cat conftest.$ac_ext >&5 | 15675 cat conftest.$ac_ext >&5 |
15553 fi | 15721 fi |
15554 | 15722 |
15555 if test "$use_number_lib" = "gmp"; then | 15723 if test "$use_number_lib" = "gmp"; then |
15556 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` | 15724 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
15557 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 | 15725 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
15558 echo "configure:15559: checking for gmp.h" >&5 | 15726 echo "configure:15727: checking for gmp.h" >&5 |
15559 | 15727 |
15560 cat > conftest.$ac_ext <<EOF | 15728 cat > conftest.$ac_ext <<EOF |
15561 #line 15562 "configure" | 15729 #line 15730 "configure" |
15562 #include "confdefs.h" | 15730 #include "confdefs.h" |
15563 #include <gmp.h> | 15731 #include <gmp.h> |
15564 EOF | 15732 EOF |
15565 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15566 { (eval echo configure:15567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15734 { (eval echo configure:15735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15567 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15568 if test -z "$ac_err"; then | 15736 if test -z "$ac_err"; then |
15569 rm -rf conftest* | 15737 rm -rf conftest* |
15570 eval "ac_cv_header_$ac_safe=yes" | 15738 eval "ac_cv_header_$ac_safe=yes" |
15571 else | 15739 else |
15579 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 15747 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
15580 echo "$ac_t""yes" 1>&6 | 15748 echo "$ac_t""yes" 1>&6 |
15581 | 15749 |
15582 | 15750 |
15583 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 | 15751 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
15584 echo "configure:15585: checking for __gmpz_init in -lgmp" >&5 | 15752 echo "configure:15753: checking for __gmpz_init in -lgmp" >&5 |
15585 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` | 15753 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
15586 | 15754 |
15587 xe_check_libs=" -lgmp " | 15755 xe_check_libs=" -lgmp " |
15588 cat > conftest.$ac_ext <<EOF | 15756 cat > conftest.$ac_ext <<EOF |
15589 #line 15590 "configure" | 15757 #line 15758 "configure" |
15590 #include "confdefs.h" | 15758 #include "confdefs.h" |
15591 /* Override any gcc2 internal prototype to avoid an error. */ | 15759 /* Override any gcc2 internal prototype to avoid an error. */ |
15592 /* We use char because int might match the return type of a gcc2 | 15760 /* We use char because int might match the return type of a gcc2 |
15593 builtin and then its argument prototype would still apply. */ | 15761 builtin and then its argument prototype would still apply. */ |
15594 char __gmpz_init(); | 15762 char __gmpz_init(); |
15595 | 15763 |
15596 int main() { | 15764 int main() { |
15597 __gmpz_init() | 15765 __gmpz_init() |
15598 ; return 0; } | 15766 ; return 0; } |
15599 EOF | 15767 EOF |
15600 if { (eval echo configure:15601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15768 if { (eval echo configure:15769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15601 rm -rf conftest* | 15769 rm -rf conftest* |
15602 eval "ac_cv_lib_$ac_lib_var=yes" | 15770 eval "ac_cv_lib_$ac_lib_var=yes" |
15603 else | 15771 else |
15604 echo "configure: failed program was:" >&5 | 15772 echo "configure: failed program was:" >&5 |
15605 cat conftest.$ac_ext >&5 | 15773 cat conftest.$ac_ext >&5 |
15644 fi | 15812 fi |
15645 elif test "$use_number_lib" = "mp"; then | 15813 elif test "$use_number_lib" = "mp"; then |
15646 for library in "" "-lcrypto"; do | 15814 for library in "" "-lcrypto"; do |
15647 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` | 15815 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` |
15648 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 | 15816 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 |
15649 echo "configure:15650: checking for mp.h" >&5 | 15817 echo "configure:15818: checking for mp.h" >&5 |
15650 | 15818 |
15651 cat > conftest.$ac_ext <<EOF | 15819 cat > conftest.$ac_ext <<EOF |
15652 #line 15653 "configure" | 15820 #line 15821 "configure" |
15653 #include "confdefs.h" | 15821 #include "confdefs.h" |
15654 #include <mp.h> | 15822 #include <mp.h> |
15655 EOF | 15823 EOF |
15656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15657 { (eval echo configure:15658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15825 { (eval echo configure:15826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15659 if test -z "$ac_err"; then | 15827 if test -z "$ac_err"; then |
15660 rm -rf conftest* | 15828 rm -rf conftest* |
15661 eval "ac_cv_header_$ac_safe=yes" | 15829 eval "ac_cv_header_$ac_safe=yes" |
15662 else | 15830 else |
15672 | 15840 |
15673 | 15841 |
15674 xe_msg_checking="for mp_mfree in -lmp" | 15842 xe_msg_checking="for mp_mfree in -lmp" |
15675 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 15843 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
15676 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15844 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15677 echo "configure:15678: checking "$xe_msg_checking"" >&5 | 15845 echo "configure:15846: checking "$xe_msg_checking"" >&5 |
15678 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` | 15846 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` |
15679 | 15847 |
15680 xe_check_libs=" -lmp $library" | 15848 xe_check_libs=" -lmp $library" |
15681 cat > conftest.$ac_ext <<EOF | 15849 cat > conftest.$ac_ext <<EOF |
15682 #line 15683 "configure" | 15850 #line 15851 "configure" |
15683 #include "confdefs.h" | 15851 #include "confdefs.h" |
15684 /* Override any gcc2 internal prototype to avoid an error. */ | 15852 /* Override any gcc2 internal prototype to avoid an error. */ |
15685 /* We use char because int might match the return type of a gcc2 | 15853 /* We use char because int might match the return type of a gcc2 |
15686 builtin and then its argument prototype would still apply. */ | 15854 builtin and then its argument prototype would still apply. */ |
15687 char mp_mfree(); | 15855 char mp_mfree(); |
15688 | 15856 |
15689 int main() { | 15857 int main() { |
15690 mp_mfree() | 15858 mp_mfree() |
15691 ; return 0; } | 15859 ; return 0; } |
15692 EOF | 15860 EOF |
15693 if { (eval echo configure:15694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15861 if { (eval echo configure:15862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15694 rm -rf conftest* | 15862 rm -rf conftest* |
15695 eval "ac_cv_lib_$ac_lib_var=yes" | 15863 eval "ac_cv_lib_$ac_lib_var=yes" |
15696 else | 15864 else |
15697 echo "configure: failed program was:" >&5 | 15865 echo "configure: failed program was:" >&5 |
15698 cat conftest.$ac_ext >&5 | 15866 cat conftest.$ac_ext >&5 |
15709 echo "$ac_t""no" 1>&6 | 15877 echo "$ac_t""no" 1>&6 |
15710 | 15878 |
15711 xe_msg_checking="for mfree in -lmp" | 15879 xe_msg_checking="for mfree in -lmp" |
15712 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 15880 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
15713 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 15881 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15714 echo "configure:15715: checking "$xe_msg_checking"" >&5 | 15882 echo "configure:15883: checking "$xe_msg_checking"" >&5 |
15715 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` | 15883 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` |
15716 | 15884 |
15717 xe_check_libs=" -lmp $library" | 15885 xe_check_libs=" -lmp $library" |
15718 cat > conftest.$ac_ext <<EOF | 15886 cat > conftest.$ac_ext <<EOF |
15719 #line 15720 "configure" | 15887 #line 15888 "configure" |
15720 #include "confdefs.h" | 15888 #include "confdefs.h" |
15721 /* Override any gcc2 internal prototype to avoid an error. */ | 15889 /* Override any gcc2 internal prototype to avoid an error. */ |
15722 /* We use char because int might match the return type of a gcc2 | 15890 /* We use char because int might match the return type of a gcc2 |
15723 builtin and then its argument prototype would still apply. */ | 15891 builtin and then its argument prototype would still apply. */ |
15724 char mfree(); | 15892 char mfree(); |
15725 | 15893 |
15726 int main() { | 15894 int main() { |
15727 mfree() | 15895 mfree() |
15728 ; return 0; } | 15896 ; return 0; } |
15729 EOF | 15897 EOF |
15730 if { (eval echo configure:15731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15898 if { (eval echo configure:15899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15731 rm -rf conftest* | 15899 rm -rf conftest* |
15732 eval "ac_cv_lib_$ac_lib_var=yes" | 15900 eval "ac_cv_lib_$ac_lib_var=yes" |
15733 else | 15901 else |
15734 echo "configure: failed program was:" >&5 | 15902 echo "configure: failed program was:" >&5 |
15735 cat conftest.$ac_ext >&5 | 15903 cat conftest.$ac_ext >&5 |
15767 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 15935 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
15768 if test "$library" != ""; then | 15936 if test "$library" != ""; then |
15769 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | 15937 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi |
15770 fi | 15938 fi |
15771 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 | 15939 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 |
15772 echo "configure:15773: checking for mp_move" >&5 | 15940 echo "configure:15941: checking for mp_move" >&5 |
15773 | 15941 |
15774 cat > conftest.$ac_ext <<EOF | 15942 cat > conftest.$ac_ext <<EOF |
15775 #line 15776 "configure" | 15943 #line 15944 "configure" |
15776 #include "confdefs.h" | 15944 #include "confdefs.h" |
15777 /* System header to define __stub macros and hopefully few prototypes, | 15945 /* System header to define __stub macros and hopefully few prototypes, |
15778 which can conflict with char mp_move(); below. */ | 15946 which can conflict with char mp_move(); below. */ |
15779 #include <assert.h> | 15947 #include <assert.h> |
15780 /* Override any gcc2 internal prototype to avoid an error. */ | 15948 /* Override any gcc2 internal prototype to avoid an error. */ |
15793 mp_move(); | 15961 mp_move(); |
15794 #endif | 15962 #endif |
15795 | 15963 |
15796 ; return 0; } | 15964 ; return 0; } |
15797 EOF | 15965 EOF |
15798 if { (eval echo configure:15799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15966 if { (eval echo configure:15967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15799 rm -rf conftest* | 15967 rm -rf conftest* |
15800 eval "ac_cv_func_mp_move=yes" | 15968 eval "ac_cv_func_mp_move=yes" |
15801 else | 15969 else |
15802 echo "configure: failed program was:" >&5 | 15970 echo "configure: failed program was:" >&5 |
15803 cat conftest.$ac_ext >&5 | 15971 cat conftest.$ac_ext >&5 |
15824 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 15992 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
15825 if test "$library" != ""; then | 15993 if test "$library" != ""; then |
15826 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | 15994 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi |
15827 fi | 15995 fi |
15828 echo $ac_n "checking for move""... $ac_c" 1>&6 | 15996 echo $ac_n "checking for move""... $ac_c" 1>&6 |
15829 echo "configure:15830: checking for move" >&5 | 15997 echo "configure:15998: checking for move" >&5 |
15830 | 15998 |
15831 cat > conftest.$ac_ext <<EOF | 15999 cat > conftest.$ac_ext <<EOF |
15832 #line 15833 "configure" | 16000 #line 16001 "configure" |
15833 #include "confdefs.h" | 16001 #include "confdefs.h" |
15834 /* System header to define __stub macros and hopefully few prototypes, | 16002 /* System header to define __stub macros and hopefully few prototypes, |
15835 which can conflict with char move(); below. */ | 16003 which can conflict with char move(); below. */ |
15836 #include <assert.h> | 16004 #include <assert.h> |
15837 /* Override any gcc2 internal prototype to avoid an error. */ | 16005 /* Override any gcc2 internal prototype to avoid an error. */ |
15850 move(); | 16018 move(); |
15851 #endif | 16019 #endif |
15852 | 16020 |
15853 ; return 0; } | 16021 ; return 0; } |
15854 EOF | 16022 EOF |
15855 if { (eval echo configure:15856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 16023 if { (eval echo configure:16024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15856 rm -rf conftest* | 16024 rm -rf conftest* |
15857 eval "ac_cv_func_move=yes" | 16025 eval "ac_cv_func_move=yes" |
15858 else | 16026 else |
15859 echo "configure: failed program was:" >&5 | 16027 echo "configure: failed program was:" >&5 |
15860 cat conftest.$ac_ext >&5 | 16028 cat conftest.$ac_ext >&5 |
15897 } | 16065 } |
15898 | 16066 |
15899 fi | 16067 fi |
15900 | 16068 |
15901 cat > conftest.$ac_ext <<EOF | 16069 cat > conftest.$ac_ext <<EOF |
15902 #line 15903 "configure" | 16070 #line 16071 "configure" |
15903 #include "confdefs.h" | 16071 #include "confdefs.h" |
15904 int main(int c,char *v[]){return 0;} | 16072 int main(int c,char *v[]){return 0;} |
15905 EOF | 16073 EOF |
15906 if { (eval echo configure:15907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 16074 if { (eval echo configure:16075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15907 then | 16075 then |
15908 : | 16076 : |
15909 else | 16077 else |
15910 conftest_rc="$?" | 16078 conftest_rc="$?" |
15911 echo "configure: failed program was:" >&5 | 16079 echo "configure: failed program was:" >&5 |