comparison configure @ 1633:baca156a450b

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