Mercurial > hg > xemacs-beta
comparison configure @ 1491:d968d4073031
[xemacs-hg @ 2003-05-20 18:57:50 by james]
Fix --with-modules=no building, and building on MacOSX/Windows.
author | james |
---|---|
date | Tue, 20 May 2003 18:57:50 +0000 |
parents | 1364f9716d7b |
children | baca156a450b |
comparison
equal
deleted
inserted
replaced
1490:74b2ea269eb5 | 1491:d968d4073031 |
---|---|
4637 | 4637 |
4638 cat > conftest.$ac_ext <<EOF | 4638 cat > conftest.$ac_ext <<EOF |
4639 #line 4640 "configure" | 4639 #line 4640 "configure" |
4640 #include "confdefs.h" | 4640 #include "confdefs.h" |
4641 #include <stdio.h> | 4641 #include <stdio.h> |
4642 main() | 4642 int main() |
4643 { | 4643 { |
4644 FILE *f=fopen("conftestval", "w"); | 4644 FILE *f=fopen("conftestval", "w"); |
4645 if (!f) exit(1); | 4645 if (!f) return(1); |
4646 fprintf(f, "%d\n", sizeof(short)); | 4646 fprintf(f, "%d\n", sizeof(short)); |
4647 exit(0); | 4647 return(0); |
4648 } | 4648 } |
4649 EOF | 4649 EOF |
4650 if { (eval echo configure:4651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4650 if { (eval echo configure:4651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4651 then | 4651 then |
4652 ac_cv_sizeof_short=`cat conftestval` | 4652 ac_cv_sizeof_short=`cat conftestval` |
4679 | 4679 |
4680 cat > conftest.$ac_ext <<EOF | 4680 cat > conftest.$ac_ext <<EOF |
4681 #line 4682 "configure" | 4681 #line 4682 "configure" |
4682 #include "confdefs.h" | 4682 #include "confdefs.h" |
4683 #include <stdio.h> | 4683 #include <stdio.h> |
4684 main() | 4684 int main() |
4685 { | 4685 { |
4686 FILE *f=fopen("conftestval", "w"); | 4686 FILE *f=fopen("conftestval", "w"); |
4687 if (!f) exit(1); | 4687 if (!f) return(1); |
4688 fprintf(f, "%d\n", sizeof(int)); | 4688 fprintf(f, "%d\n", sizeof(int)); |
4689 exit(0); | 4689 return(0); |
4690 } | 4690 } |
4691 EOF | 4691 EOF |
4692 if { (eval echo configure:4693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4692 if { (eval echo configure:4693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4693 then | 4693 then |
4694 ac_cv_sizeof_int=`cat conftestval` | 4694 ac_cv_sizeof_int=`cat conftestval` |
4715 | 4715 |
4716 cat > conftest.$ac_ext <<EOF | 4716 cat > conftest.$ac_ext <<EOF |
4717 #line 4718 "configure" | 4717 #line 4718 "configure" |
4718 #include "confdefs.h" | 4718 #include "confdefs.h" |
4719 #include <stdio.h> | 4719 #include <stdio.h> |
4720 main() | 4720 int main() |
4721 { | 4721 { |
4722 FILE *f=fopen("conftestval", "w"); | 4722 FILE *f=fopen("conftestval", "w"); |
4723 if (!f) exit(1); | 4723 if (!f) return(1); |
4724 fprintf(f, "%d\n", sizeof(long)); | 4724 fprintf(f, "%d\n", sizeof(long)); |
4725 exit(0); | 4725 return(0); |
4726 } | 4726 } |
4727 EOF | 4727 EOF |
4728 if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4728 if { (eval echo configure:4729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4729 then | 4729 then |
4730 ac_cv_sizeof_long=`cat conftestval` | 4730 ac_cv_sizeof_long=`cat conftestval` |
4751 | 4751 |
4752 cat > conftest.$ac_ext <<EOF | 4752 cat > conftest.$ac_ext <<EOF |
4753 #line 4754 "configure" | 4753 #line 4754 "configure" |
4754 #include "confdefs.h" | 4754 #include "confdefs.h" |
4755 #include <stdio.h> | 4755 #include <stdio.h> |
4756 main() | 4756 int main() |
4757 { | 4757 { |
4758 FILE *f=fopen("conftestval", "w"); | 4758 FILE *f=fopen("conftestval", "w"); |
4759 if (!f) exit(1); | 4759 if (!f) return(1); |
4760 fprintf(f, "%d\n", sizeof(long long)); | 4760 fprintf(f, "%d\n", sizeof(long long)); |
4761 exit(0); | 4761 return(0); |
4762 } | 4762 } |
4763 EOF | 4763 EOF |
4764 if { (eval echo configure:4765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4764 if { (eval echo configure:4765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4765 then | 4765 then |
4766 ac_cv_sizeof_long_long=`cat conftestval` | 4766 ac_cv_sizeof_long_long=`cat conftestval` |
4787 | 4787 |
4788 cat > conftest.$ac_ext <<EOF | 4788 cat > conftest.$ac_ext <<EOF |
4789 #line 4790 "configure" | 4789 #line 4790 "configure" |
4790 #include "confdefs.h" | 4790 #include "confdefs.h" |
4791 #include <stdio.h> | 4791 #include <stdio.h> |
4792 main() | 4792 int main() |
4793 { | 4793 { |
4794 FILE *f=fopen("conftestval", "w"); | 4794 FILE *f=fopen("conftestval", "w"); |
4795 if (!f) exit(1); | 4795 if (!f) return(1); |
4796 fprintf(f, "%d\n", sizeof(void *)); | 4796 fprintf(f, "%d\n", sizeof(void *)); |
4797 exit(0); | 4797 return(0); |
4798 } | 4798 } |
4799 EOF | 4799 EOF |
4800 if { (eval echo configure:4801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4800 if { (eval echo configure:4801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4801 then | 4801 then |
4802 ac_cv_sizeof_void_p=`cat conftestval` | 4802 ac_cv_sizeof_void_p=`cat conftestval` |
8359 cat >> confdefs.h <<\EOF | 8359 cat >> confdefs.h <<\EOF |
8360 #define HAVE_SHLIB 1 | 8360 #define HAVE_SHLIB 1 |
8361 EOF | 8361 EOF |
8362 } | 8362 } |
8363 | 8363 |
8364 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi | |
8364 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 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 |
8365 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8366 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8366 for ac_func in dlerror _dlerror | 8367 for ac_func in dlerror _dlerror |
8367 do | 8368 do |
8368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8369 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8369 echo "configure:8370: checking for $ac_func" >&5 | 8370 echo "configure:8371: checking for $ac_func" >&5 |
8370 | 8371 |
8371 cat > conftest.$ac_ext <<EOF | 8372 cat > conftest.$ac_ext <<EOF |
8372 #line 8373 "configure" | 8373 #line 8374 "configure" |
8373 #include "confdefs.h" | 8374 #include "confdefs.h" |
8374 /* System header to define __stub macros and hopefully few prototypes, | 8375 /* System header to define __stub macros and hopefully few prototypes, |
8375 which can conflict with char $ac_func(); below. */ | 8376 which can conflict with char $ac_func(); below. */ |
8376 #include <assert.h> | 8377 #include <assert.h> |
8377 /* Override any gcc2 internal prototype to avoid an error. */ | 8378 /* Override any gcc2 internal prototype to avoid an error. */ |
8390 $ac_func(); | 8391 $ac_func(); |
8391 #endif | 8392 #endif |
8392 | 8393 |
8393 ; return 0; } | 8394 ; return 0; } |
8394 EOF | 8395 EOF |
8395 if { (eval echo configure:8396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8396 if { (eval echo configure:8397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8396 rm -rf conftest* | 8397 rm -rf conftest* |
8397 eval "ac_cv_func_$ac_func=yes" | 8398 eval "ac_cv_func_$ac_func=yes" |
8398 else | 8399 else |
8399 echo "configure: failed program was:" >&5 | 8400 echo "configure: failed program was:" >&5 |
8400 cat conftest.$ac_ext >&5 | 8401 cat conftest.$ac_ext >&5 |
8430 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; } | 8431 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; } |
8431 else | 8432 else |
8432 echo " No module support." | 8433 echo " No module support." |
8433 fi | 8434 fi |
8434 with_modules=no | 8435 with_modules=no |
8435 MOD_CC="$XEMACS_CC" | |
8436 MODCFLAGS="\$(CFLAGS) -I../../src -I\$(srcdir)/../../src" | |
8437 INSTALLPATH="" | |
8438 MOD_INSTALL_PROGRAM="true" | |
8439 OBJECT_TO_BUILD="\$(MODNAME).o" | |
8440 fi | 8436 fi |
8437 fi | |
8438 if test "$with_modules" != "yes"; then | |
8439 MOD_CC="$XEMACS_CC" | |
8440 MODCFLAGS="\$(CFLAGS) -I../../src -I\$(srcdir)/../../src" | |
8441 INSTALLPATH="" | |
8442 MOD_INSTALL_PROGRAM="true" | |
8443 OBJECT_TO_BUILD="\$(MODNAME).o" | |
8441 fi | 8444 fi |
8442 MODARCHDIR= | 8445 MODARCHDIR= |
8443 MAKE_DOCFILE="../../lib-src/make-docfile" | 8446 MAKE_DOCFILE="../../lib-src/make-docfile" |
8444 | 8447 |
8445 | 8448 |
8452 | 8455 |
8453 if test "$with_tooltalk" != "no" ; then | 8456 if test "$with_tooltalk" != "no" ; then |
8454 for dir in "" "Tt/" "desktop/" ; do | 8457 for dir in "" "Tt/" "desktop/" ; do |
8455 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8458 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8456 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8459 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8457 echo "configure:8458: checking for ${dir}tt_c.h" >&5 | 8460 echo "configure:8461: checking for ${dir}tt_c.h" >&5 |
8458 | 8461 |
8459 cat > conftest.$ac_ext <<EOF | 8462 cat > conftest.$ac_ext <<EOF |
8460 #line 8461 "configure" | 8463 #line 8464 "configure" |
8461 #include "confdefs.h" | 8464 #include "confdefs.h" |
8462 #include <${dir}tt_c.h> | 8465 #include <${dir}tt_c.h> |
8463 EOF | 8466 EOF |
8464 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8465 { (eval echo configure:8466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8468 { (eval echo configure:8469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8466 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8467 if test -z "$ac_err"; then | 8470 if test -z "$ac_err"; then |
8468 rm -rf conftest* | 8471 rm -rf conftest* |
8469 eval "ac_cv_header_$ac_safe=yes" | 8472 eval "ac_cv_header_$ac_safe=yes" |
8470 else | 8473 else |
8496 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8499 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8497 | 8500 |
8498 xe_msg_checking="for tt_message_create in -ltt" | 8501 xe_msg_checking="for tt_message_create in -ltt" |
8499 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8502 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8500 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8503 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8501 echo "configure:8502: checking "$xe_msg_checking"" >&5 | 8504 echo "configure:8505: checking "$xe_msg_checking"" >&5 |
8502 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8505 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8503 | 8506 |
8504 xe_check_libs=" -ltt $extra_libs" | 8507 xe_check_libs=" -ltt $extra_libs" |
8505 cat > conftest.$ac_ext <<EOF | 8508 cat > conftest.$ac_ext <<EOF |
8506 #line 8507 "configure" | 8509 #line 8510 "configure" |
8507 #include "confdefs.h" | 8510 #include "confdefs.h" |
8508 /* Override any gcc2 internal prototype to avoid an error. */ | 8511 /* Override any gcc2 internal prototype to avoid an error. */ |
8509 /* We use char because int might match the return type of a gcc2 | 8512 /* We use char because int might match the return type of a gcc2 |
8510 builtin and then its argument prototype would still apply. */ | 8513 builtin and then its argument prototype would still apply. */ |
8511 char tt_message_create(); | 8514 char tt_message_create(); |
8512 | 8515 |
8513 int main() { | 8516 int main() { |
8514 tt_message_create() | 8517 tt_message_create() |
8515 ; return 0; } | 8518 ; return 0; } |
8516 EOF | 8519 EOF |
8517 if { (eval echo configure:8518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8520 if { (eval echo configure:8521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8518 rm -rf conftest* | 8521 rm -rf conftest* |
8519 eval "ac_cv_lib_$ac_lib_var=yes" | 8522 eval "ac_cv_lib_$ac_lib_var=yes" |
8520 else | 8523 else |
8521 echo "configure: failed program was:" >&5 | 8524 echo "configure: failed program was:" >&5 |
8522 cat conftest.$ac_ext >&5 | 8525 cat conftest.$ac_ext >&5 |
8566 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8569 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8567 fi | 8570 fi |
8568 | 8571 |
8569 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8572 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8570 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8573 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8571 echo "configure:8572: checking for Dt/Dt.h" >&5 | 8574 echo "configure:8575: checking for Dt/Dt.h" >&5 |
8572 | 8575 |
8573 cat > conftest.$ac_ext <<EOF | 8576 cat > conftest.$ac_ext <<EOF |
8574 #line 8575 "configure" | 8577 #line 8578 "configure" |
8575 #include "confdefs.h" | 8578 #include "confdefs.h" |
8576 #include <Dt/Dt.h> | 8579 #include <Dt/Dt.h> |
8577 EOF | 8580 EOF |
8578 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8579 { (eval echo configure:8580: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8582 { (eval echo configure:8583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8580 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8581 if test -z "$ac_err"; then | 8584 if test -z "$ac_err"; then |
8582 rm -rf conftest* | 8585 rm -rf conftest* |
8583 eval "ac_cv_header_$ac_safe=yes" | 8586 eval "ac_cv_header_$ac_safe=yes" |
8584 else | 8587 else |
8597 with_cde=no | 8600 with_cde=no |
8598 fi | 8601 fi |
8599 } | 8602 } |
8600 test -z "$with_cde" && { | 8603 test -z "$with_cde" && { |
8601 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8604 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8602 echo "configure:8603: checking for DtDndDragStart in -lDtSvc" >&5 | 8605 echo "configure:8606: checking for DtDndDragStart in -lDtSvc" >&5 |
8603 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8606 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8604 | 8607 |
8605 xe_check_libs=" -lDtSvc " | 8608 xe_check_libs=" -lDtSvc " |
8606 cat > conftest.$ac_ext <<EOF | 8609 cat > conftest.$ac_ext <<EOF |
8607 #line 8608 "configure" | 8610 #line 8611 "configure" |
8608 #include "confdefs.h" | 8611 #include "confdefs.h" |
8609 /* Override any gcc2 internal prototype to avoid an error. */ | 8612 /* Override any gcc2 internal prototype to avoid an error. */ |
8610 /* We use char because int might match the return type of a gcc2 | 8613 /* We use char because int might match the return type of a gcc2 |
8611 builtin and then its argument prototype would still apply. */ | 8614 builtin and then its argument prototype would still apply. */ |
8612 char DtDndDragStart(); | 8615 char DtDndDragStart(); |
8613 | 8616 |
8614 int main() { | 8617 int main() { |
8615 DtDndDragStart() | 8618 DtDndDragStart() |
8616 ; return 0; } | 8619 ; return 0; } |
8617 EOF | 8620 EOF |
8618 if { (eval echo configure:8619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8621 if { (eval echo configure:8622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8619 rm -rf conftest* | 8622 rm -rf conftest* |
8620 eval "ac_cv_lib_$ac_lib_var=yes" | 8623 eval "ac_cv_lib_$ac_lib_var=yes" |
8621 else | 8624 else |
8622 echo "configure: failed program was:" >&5 | 8625 echo "configure: failed program was:" >&5 |
8623 cat conftest.$ac_ext >&5 | 8626 cat conftest.$ac_ext >&5 |
8694 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8697 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8695 fi | 8698 fi |
8696 | 8699 |
8697 if test "$with_dragndrop" != "no" ; then | 8700 if test "$with_dragndrop" != "no" ; then |
8698 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8701 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8699 echo "configure:8700: checking if drag and drop API is needed" >&5 | 8702 echo "configure:8703: checking if drag and drop API is needed" >&5 |
8700 if test -n "$dragndrop_proto" ; then | 8703 if test -n "$dragndrop_proto" ; then |
8701 with_dragndrop=yes | 8704 with_dragndrop=yes |
8702 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8705 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8703 { test "$extra_verbose" = "yes" && cat << \EOF | 8706 { test "$extra_verbose" = "yes" && cat << \EOF |
8704 Defining HAVE_DRAGNDROP | 8707 Defining HAVE_DRAGNDROP |
8714 echo "$ac_t""no" 1>&6 | 8717 echo "$ac_t""no" 1>&6 |
8715 fi | 8718 fi |
8716 fi | 8719 fi |
8717 | 8720 |
8718 echo "checking for LDAP" 1>&6 | 8721 echo "checking for LDAP" 1>&6 |
8719 echo "configure:8720: checking for LDAP" >&5 | 8722 echo "configure:8723: checking for LDAP" >&5 |
8720 ldap_libs= | 8723 ldap_libs= |
8721 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8724 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8722 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8725 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8723 echo "configure:8724: checking for ldap.h" >&5 | 8726 echo "configure:8727: checking for ldap.h" >&5 |
8724 | 8727 |
8725 cat > conftest.$ac_ext <<EOF | 8728 cat > conftest.$ac_ext <<EOF |
8726 #line 8727 "configure" | 8729 #line 8730 "configure" |
8727 #include "confdefs.h" | 8730 #include "confdefs.h" |
8728 #include <ldap.h> | 8731 #include <ldap.h> |
8729 EOF | 8732 EOF |
8730 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8731 { (eval echo configure:8732: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8734 { (eval echo configure:8735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8732 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8733 if test -z "$ac_err"; then | 8736 if test -z "$ac_err"; then |
8734 rm -rf conftest* | 8737 rm -rf conftest* |
8735 eval "ac_cv_header_$ac_safe=yes" | 8738 eval "ac_cv_header_$ac_safe=yes" |
8736 else | 8739 else |
8749 with_ldap=no | 8752 with_ldap=no |
8750 fi | 8753 fi |
8751 } | 8754 } |
8752 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8755 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8753 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8756 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8754 echo "configure:8755: checking for lber.h" >&5 | 8757 echo "configure:8758: checking for lber.h" >&5 |
8755 | 8758 |
8756 cat > conftest.$ac_ext <<EOF | 8759 cat > conftest.$ac_ext <<EOF |
8757 #line 8758 "configure" | 8760 #line 8761 "configure" |
8758 #include "confdefs.h" | 8761 #include "confdefs.h" |
8759 #include <lber.h> | 8762 #include <lber.h> |
8760 EOF | 8763 EOF |
8761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8762 { (eval echo configure:8763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8765 { (eval echo configure:8766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8764 if test -z "$ac_err"; then | 8767 if test -z "$ac_err"; then |
8765 rm -rf conftest* | 8768 rm -rf conftest* |
8766 eval "ac_cv_header_$ac_safe=yes" | 8769 eval "ac_cv_header_$ac_safe=yes" |
8767 else | 8770 else |
8781 fi | 8784 fi |
8782 } | 8785 } |
8783 if test "$with_ldap" != "no"; then | 8786 if test "$with_ldap" != "no"; then |
8784 | 8787 |
8785 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8788 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8786 echo "configure:8787: checking for ldap_search in -lldap" >&5 | 8789 echo "configure:8790: checking for ldap_search in -lldap" >&5 |
8787 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8790 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8788 | 8791 |
8789 xe_check_libs=" -lldap " | 8792 xe_check_libs=" -lldap " |
8790 cat > conftest.$ac_ext <<EOF | 8793 cat > conftest.$ac_ext <<EOF |
8791 #line 8792 "configure" | 8794 #line 8795 "configure" |
8792 #include "confdefs.h" | 8795 #include "confdefs.h" |
8793 /* Override any gcc2 internal prototype to avoid an error. */ | 8796 /* Override any gcc2 internal prototype to avoid an error. */ |
8794 /* We use char because int might match the return type of a gcc2 | 8797 /* We use char because int might match the return type of a gcc2 |
8795 builtin and then its argument prototype would still apply. */ | 8798 builtin and then its argument prototype would still apply. */ |
8796 char ldap_search(); | 8799 char ldap_search(); |
8797 | 8800 |
8798 int main() { | 8801 int main() { |
8799 ldap_search() | 8802 ldap_search() |
8800 ; return 0; } | 8803 ; return 0; } |
8801 EOF | 8804 EOF |
8802 if { (eval echo configure:8803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8805 if { (eval echo configure:8806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8803 rm -rf conftest* | 8806 rm -rf conftest* |
8804 eval "ac_cv_lib_$ac_lib_var=yes" | 8807 eval "ac_cv_lib_$ac_lib_var=yes" |
8805 else | 8808 else |
8806 echo "configure: failed program was:" >&5 | 8809 echo "configure: failed program was:" >&5 |
8807 cat conftest.$ac_ext >&5 | 8810 cat conftest.$ac_ext >&5 |
8822 | 8825 |
8823 test "$with_ldap_nolber" = "no" && { | 8826 test "$with_ldap_nolber" = "no" && { |
8824 xe_msg_checking="for ldap_open in -lldap" | 8827 xe_msg_checking="for ldap_open in -lldap" |
8825 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8828 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8826 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8829 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8827 echo "configure:8828: checking "$xe_msg_checking"" >&5 | 8830 echo "configure:8831: checking "$xe_msg_checking"" >&5 |
8828 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8831 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8829 | 8832 |
8830 xe_check_libs=" -lldap -llber" | 8833 xe_check_libs=" -lldap -llber" |
8831 cat > conftest.$ac_ext <<EOF | 8834 cat > conftest.$ac_ext <<EOF |
8832 #line 8833 "configure" | 8835 #line 8836 "configure" |
8833 #include "confdefs.h" | 8836 #include "confdefs.h" |
8834 /* Override any gcc2 internal prototype to avoid an error. */ | 8837 /* Override any gcc2 internal prototype to avoid an error. */ |
8835 /* We use char because int might match the return type of a gcc2 | 8838 /* We use char because int might match the return type of a gcc2 |
8836 builtin and then its argument prototype would still apply. */ | 8839 builtin and then its argument prototype would still apply. */ |
8837 char ldap_open(); | 8840 char ldap_open(); |
8838 | 8841 |
8839 int main() { | 8842 int main() { |
8840 ldap_open() | 8843 ldap_open() |
8841 ; return 0; } | 8844 ; return 0; } |
8842 EOF | 8845 EOF |
8843 if { (eval echo configure:8844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8846 if { (eval echo configure:8847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8844 rm -rf conftest* | 8847 rm -rf conftest* |
8845 eval "ac_cv_lib_$ac_lib_var=yes" | 8848 eval "ac_cv_lib_$ac_lib_var=yes" |
8846 else | 8849 else |
8847 echo "configure: failed program was:" >&5 | 8850 echo "configure: failed program was:" >&5 |
8848 cat conftest.$ac_ext >&5 | 8851 cat conftest.$ac_ext >&5 |
8863 } | 8866 } |
8864 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8867 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8865 xe_msg_checking="for ldap_open in -lldap" | 8868 xe_msg_checking="for ldap_open in -lldap" |
8866 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8869 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8867 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8870 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8868 echo "configure:8869: checking "$xe_msg_checking"" >&5 | 8871 echo "configure:8872: checking "$xe_msg_checking"" >&5 |
8869 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8872 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8870 | 8873 |
8871 xe_check_libs=" -lldap -llber -lkrb" | 8874 xe_check_libs=" -lldap -llber -lkrb" |
8872 cat > conftest.$ac_ext <<EOF | 8875 cat > conftest.$ac_ext <<EOF |
8873 #line 8874 "configure" | 8876 #line 8877 "configure" |
8874 #include "confdefs.h" | 8877 #include "confdefs.h" |
8875 /* Override any gcc2 internal prototype to avoid an error. */ | 8878 /* Override any gcc2 internal prototype to avoid an error. */ |
8876 /* We use char because int might match the return type of a gcc2 | 8879 /* We use char because int might match the return type of a gcc2 |
8877 builtin and then its argument prototype would still apply. */ | 8880 builtin and then its argument prototype would still apply. */ |
8878 char ldap_open(); | 8881 char ldap_open(); |
8879 | 8882 |
8880 int main() { | 8883 int main() { |
8881 ldap_open() | 8884 ldap_open() |
8882 ; return 0; } | 8885 ; return 0; } |
8883 EOF | 8886 EOF |
8884 if { (eval echo configure:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8887 if { (eval echo configure:8888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8885 rm -rf conftest* | 8888 rm -rf conftest* |
8886 eval "ac_cv_lib_$ac_lib_var=yes" | 8889 eval "ac_cv_lib_$ac_lib_var=yes" |
8887 else | 8890 else |
8888 echo "configure: failed program was:" >&5 | 8891 echo "configure: failed program was:" >&5 |
8889 cat conftest.$ac_ext >&5 | 8892 cat conftest.$ac_ext >&5 |
8904 } | 8907 } |
8905 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8908 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8906 xe_msg_checking="for ldap_open in -lldap" | 8909 xe_msg_checking="for ldap_open in -lldap" |
8907 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8910 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8908 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8911 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8909 echo "configure:8910: checking "$xe_msg_checking"" >&5 | 8912 echo "configure:8913: checking "$xe_msg_checking"" >&5 |
8910 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8913 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8911 | 8914 |
8912 xe_check_libs=" -lldap -llber -lkrb -ldes" | 8915 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8913 cat > conftest.$ac_ext <<EOF | 8916 cat > conftest.$ac_ext <<EOF |
8914 #line 8915 "configure" | 8917 #line 8918 "configure" |
8915 #include "confdefs.h" | 8918 #include "confdefs.h" |
8916 /* Override any gcc2 internal prototype to avoid an error. */ | 8919 /* Override any gcc2 internal prototype to avoid an error. */ |
8917 /* We use char because int might match the return type of a gcc2 | 8920 /* We use char because int might match the return type of a gcc2 |
8918 builtin and then its argument prototype would still apply. */ | 8921 builtin and then its argument prototype would still apply. */ |
8919 char ldap_open(); | 8922 char ldap_open(); |
8920 | 8923 |
8921 int main() { | 8924 int main() { |
8922 ldap_open() | 8925 ldap_open() |
8923 ; return 0; } | 8926 ; return 0; } |
8924 EOF | 8927 EOF |
8925 if { (eval echo configure:8926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8928 if { (eval echo configure:8929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8926 rm -rf conftest* | 8929 rm -rf conftest* |
8927 eval "ac_cv_lib_$ac_lib_var=yes" | 8930 eval "ac_cv_lib_$ac_lib_var=yes" |
8928 else | 8931 else |
8929 echo "configure: failed program was:" >&5 | 8932 echo "configure: failed program was:" >&5 |
8930 cat conftest.$ac_ext >&5 | 8933 cat conftest.$ac_ext >&5 |
8969 fi | 8972 fi |
8970 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 8973 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
8971 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 8974 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
8972 do | 8975 do |
8973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8976 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8974 echo "configure:8975: checking for $ac_func" >&5 | 8977 echo "configure:8978: checking for $ac_func" >&5 |
8975 | 8978 |
8976 cat > conftest.$ac_ext <<EOF | 8979 cat > conftest.$ac_ext <<EOF |
8977 #line 8978 "configure" | 8980 #line 8981 "configure" |
8978 #include "confdefs.h" | 8981 #include "confdefs.h" |
8979 /* System header to define __stub macros and hopefully few prototypes, | 8982 /* System header to define __stub macros and hopefully few prototypes, |
8980 which can conflict with char $ac_func(); below. */ | 8983 which can conflict with char $ac_func(); below. */ |
8981 #include <assert.h> | 8984 #include <assert.h> |
8982 /* Override any gcc2 internal prototype to avoid an error. */ | 8985 /* Override any gcc2 internal prototype to avoid an error. */ |
8995 $ac_func(); | 8998 $ac_func(); |
8996 #endif | 8999 #endif |
8997 | 9000 |
8998 ; return 0; } | 9001 ; return 0; } |
8999 EOF | 9002 EOF |
9000 if { (eval echo configure:9001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9003 if { (eval echo configure:9004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9001 rm -rf conftest* | 9004 rm -rf conftest* |
9002 eval "ac_cv_func_$ac_func=yes" | 9005 eval "ac_cv_func_$ac_func=yes" |
9003 else | 9006 else |
9004 echo "configure: failed program was:" >&5 | 9007 echo "configure: failed program was:" >&5 |
9005 cat conftest.$ac_ext >&5 | 9008 cat conftest.$ac_ext >&5 |
9034 | 9037 |
9035 | 9038 |
9036 postgresql_libs= | 9039 postgresql_libs= |
9037 if test "$with_postgresql" != "no"; then | 9040 if test "$with_postgresql" != "no"; then |
9038 echo "checking for PostgreSQL" 1>&6 | 9041 echo "checking for PostgreSQL" 1>&6 |
9039 echo "configure:9040: checking for PostgreSQL" >&5 | 9042 echo "configure:9043: checking for PostgreSQL" >&5 |
9040 | 9043 |
9041 for header_dir in "" "pgsql/" "postgresql/"; do | 9044 for header_dir in "" "pgsql/" "postgresql/"; do |
9042 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9045 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9043 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9046 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9044 echo "configure:9045: checking for ${header_dir}libpq-fe.h" >&5 | 9047 echo "configure:9048: checking for ${header_dir}libpq-fe.h" >&5 |
9045 | 9048 |
9046 cat > conftest.$ac_ext <<EOF | 9049 cat > conftest.$ac_ext <<EOF |
9047 #line 9048 "configure" | 9050 #line 9051 "configure" |
9048 #include "confdefs.h" | 9051 #include "confdefs.h" |
9049 #include <${header_dir}libpq-fe.h> | 9052 #include <${header_dir}libpq-fe.h> |
9050 EOF | 9053 EOF |
9051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9052 { (eval echo configure:9053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9055 { (eval echo configure:9056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9054 if test -z "$ac_err"; then | 9057 if test -z "$ac_err"; then |
9055 rm -rf conftest* | 9058 rm -rf conftest* |
9056 eval "ac_cv_header_$ac_safe=yes" | 9059 eval "ac_cv_header_$ac_safe=yes" |
9057 else | 9060 else |
9071 | 9074 |
9072 done | 9075 done |
9073 | 9076 |
9074 test -n "$libpq_fe_h_file" && { | 9077 test -n "$libpq_fe_h_file" && { |
9075 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9078 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9076 echo "configure:9077: checking for PQconnectdb in -lpq" >&5 | 9079 echo "configure:9080: checking for PQconnectdb in -lpq" >&5 |
9077 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9080 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9078 | 9081 |
9079 xe_check_libs=" -lpq " | 9082 xe_check_libs=" -lpq " |
9080 cat > conftest.$ac_ext <<EOF | 9083 cat > conftest.$ac_ext <<EOF |
9081 #line 9082 "configure" | 9084 #line 9085 "configure" |
9082 #include "confdefs.h" | 9085 #include "confdefs.h" |
9083 /* Override any gcc2 internal prototype to avoid an error. */ | 9086 /* Override any gcc2 internal prototype to avoid an error. */ |
9084 /* We use char because int might match the return type of a gcc2 | 9087 /* We use char because int might match the return type of a gcc2 |
9085 builtin and then its argument prototype would still apply. */ | 9088 builtin and then its argument prototype would still apply. */ |
9086 char PQconnectdb(); | 9089 char PQconnectdb(); |
9087 | 9090 |
9088 int main() { | 9091 int main() { |
9089 PQconnectdb() | 9092 PQconnectdb() |
9090 ; return 0; } | 9093 ; return 0; } |
9091 EOF | 9094 EOF |
9092 if { (eval echo configure:9093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9095 if { (eval echo configure:9096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9093 rm -rf conftest* | 9096 rm -rf conftest* |
9094 eval "ac_cv_lib_$ac_lib_var=yes" | 9097 eval "ac_cv_lib_$ac_lib_var=yes" |
9095 else | 9098 else |
9096 echo "configure: failed program was:" >&5 | 9099 echo "configure: failed program was:" >&5 |
9097 cat conftest.$ac_ext >&5 | 9100 cat conftest.$ac_ext >&5 |
9120 EOF | 9123 EOF |
9121 } | 9124 } |
9122 | 9125 |
9123 | 9126 |
9124 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9127 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9125 echo "configure:9126: checking for PQconnectStart in -lpq" >&5 | 9128 echo "configure:9129: checking for PQconnectStart in -lpq" >&5 |
9126 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9129 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9127 | 9130 |
9128 xe_check_libs=" -lpq " | 9131 xe_check_libs=" -lpq " |
9129 cat > conftest.$ac_ext <<EOF | 9132 cat > conftest.$ac_ext <<EOF |
9130 #line 9131 "configure" | 9133 #line 9134 "configure" |
9131 #include "confdefs.h" | 9134 #include "confdefs.h" |
9132 /* Override any gcc2 internal prototype to avoid an error. */ | 9135 /* Override any gcc2 internal prototype to avoid an error. */ |
9133 /* We use char because int might match the return type of a gcc2 | 9136 /* We use char because int might match the return type of a gcc2 |
9134 builtin and then its argument prototype would still apply. */ | 9137 builtin and then its argument prototype would still apply. */ |
9135 char PQconnectStart(); | 9138 char PQconnectStart(); |
9136 | 9139 |
9137 int main() { | 9140 int main() { |
9138 PQconnectStart() | 9141 PQconnectStart() |
9139 ; return 0; } | 9142 ; return 0; } |
9140 EOF | 9143 EOF |
9141 if { (eval echo configure:9142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9144 if { (eval echo configure:9145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9142 rm -rf conftest* | 9145 rm -rf conftest* |
9143 eval "ac_cv_lib_$ac_lib_var=yes" | 9146 eval "ac_cv_lib_$ac_lib_var=yes" |
9144 else | 9147 else |
9145 echo "configure: failed program was:" >&5 | 9148 echo "configure: failed program was:" >&5 |
9146 cat conftest.$ac_ext >&5 | 9149 cat conftest.$ac_ext >&5 |
9187 | 9190 |
9188 | 9191 |
9189 | 9192 |
9190 if test "$window_system" != "none"; then | 9193 if test "$window_system" != "none"; then |
9191 echo "checking for graphics libraries" 1>&6 | 9194 echo "checking for graphics libraries" 1>&6 |
9192 echo "configure:9193: checking for graphics libraries" >&5 | 9195 echo "configure:9196: checking for graphics libraries" >&5 |
9193 | 9196 |
9194 libpath_xpm= | 9197 libpath_xpm= |
9195 incpath_xpm= | 9198 incpath_xpm= |
9196 case "$opsys" in | 9199 case "$opsys" in |
9197 cygwin*) | 9200 cygwin*) |
9213 xpm_problem="" | 9216 xpm_problem="" |
9214 if test -z "$with_xpm"; then | 9217 if test -z "$with_xpm"; then |
9215 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9218 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9216 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9219 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9217 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9220 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9218 echo "configure:9219: checking for Xpm - no older than 3.4f" >&5 | 9221 echo "configure:9222: checking for Xpm - no older than 3.4f" >&5 |
9219 xe_check_libs=-lXpm | 9222 xe_check_libs=-lXpm |
9220 cat > conftest.$ac_ext <<EOF | 9223 cat > conftest.$ac_ext <<EOF |
9221 #line 9222 "configure" | 9224 #line 9225 "configure" |
9222 #include "confdefs.h" | 9225 #include "confdefs.h" |
9223 #define XPM_NUMBERS | 9226 #define XPM_NUMBERS |
9224 #include <X11/xpm.h> | 9227 #include <X11/xpm.h> |
9225 int main(int c, char **v) { | 9228 int main(int c, char **v) { |
9226 return c == 1 ? 0 : | 9229 return c == 1 ? 0 : |
9227 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9230 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9228 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9231 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9229 EOF | 9232 EOF |
9230 if { (eval echo configure:9231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9233 if { (eval echo configure:9234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9231 then | 9234 then |
9232 ./conftest dummy_arg; xpm_status=$?; | 9235 ./conftest dummy_arg; xpm_status=$?; |
9233 if test "$xpm_status" = "0"; then | 9236 if test "$xpm_status" = "0"; then |
9234 with_xpm=yes; | 9237 with_xpm=yes; |
9235 else | 9238 else |
9269 | 9272 |
9270 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9273 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9271 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9274 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9272 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9275 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9273 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9276 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9274 echo "configure:9275: checking for \"FOR_MSW\" xpm" >&5 | 9277 echo "configure:9278: checking for \"FOR_MSW\" xpm" >&5 |
9275 xe_check_libs=-lXpm | 9278 xe_check_libs=-lXpm |
9276 cat > conftest.$ac_ext <<EOF | 9279 cat > conftest.$ac_ext <<EOF |
9277 #line 9278 "configure" | 9280 #line 9281 "configure" |
9278 #include "confdefs.h" | 9281 #include "confdefs.h" |
9279 | 9282 |
9280 int main() { | 9283 int main() { |
9281 XpmCreatePixmapFromData() | 9284 XpmCreatePixmapFromData() |
9282 ; return 0; } | 9285 ; return 0; } |
9283 EOF | 9286 EOF |
9284 if { (eval echo configure:9285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9287 if { (eval echo configure:9288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9285 rm -rf conftest* | 9288 rm -rf conftest* |
9286 xpm_for_msw=no | 9289 xpm_for_msw=no |
9287 else | 9290 else |
9288 echo "configure: failed program was:" >&5 | 9291 echo "configure: failed program was:" >&5 |
9289 cat conftest.$ac_ext >&5 | 9292 cat conftest.$ac_ext >&5 |
9305 fi | 9308 fi |
9306 fi | 9309 fi |
9307 | 9310 |
9308 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9311 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9309 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9312 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9310 echo "configure:9311: checking for compface.h" >&5 | 9313 echo "configure:9314: checking for compface.h" >&5 |
9311 | 9314 |
9312 cat > conftest.$ac_ext <<EOF | 9315 cat > conftest.$ac_ext <<EOF |
9313 #line 9314 "configure" | 9316 #line 9317 "configure" |
9314 #include "confdefs.h" | 9317 #include "confdefs.h" |
9315 #include <compface.h> | 9318 #include <compface.h> |
9316 EOF | 9319 EOF |
9317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9320 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9318 { (eval echo configure:9319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9321 { (eval echo configure:9322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9319 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9322 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9320 if test -z "$ac_err"; then | 9323 if test -z "$ac_err"; then |
9321 rm -rf conftest* | 9324 rm -rf conftest* |
9322 eval "ac_cv_header_$ac_safe=yes" | 9325 eval "ac_cv_header_$ac_safe=yes" |
9323 else | 9326 else |
9336 with_xface=no | 9339 with_xface=no |
9337 fi | 9340 fi |
9338 } | 9341 } |
9339 test -z "$with_xface" && { | 9342 test -z "$with_xface" && { |
9340 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9343 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9341 echo "configure:9342: checking for UnGenFace in -lcompface" >&5 | 9344 echo "configure:9345: checking for UnGenFace in -lcompface" >&5 |
9342 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9345 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9343 | 9346 |
9344 xe_check_libs=" -lcompface " | 9347 xe_check_libs=" -lcompface " |
9345 cat > conftest.$ac_ext <<EOF | 9348 cat > conftest.$ac_ext <<EOF |
9346 #line 9347 "configure" | 9349 #line 9350 "configure" |
9347 #include "confdefs.h" | 9350 #include "confdefs.h" |
9348 /* Override any gcc2 internal prototype to avoid an error. */ | 9351 /* Override any gcc2 internal prototype to avoid an error. */ |
9349 /* We use char because int might match the return type of a gcc2 | 9352 /* We use char because int might match the return type of a gcc2 |
9350 builtin and then its argument prototype would still apply. */ | 9353 builtin and then its argument prototype would still apply. */ |
9351 char UnGenFace(); | 9354 char UnGenFace(); |
9352 | 9355 |
9353 int main() { | 9356 int main() { |
9354 UnGenFace() | 9357 UnGenFace() |
9355 ; return 0; } | 9358 ; return 0; } |
9356 EOF | 9359 EOF |
9357 if { (eval echo configure:9358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9360 if { (eval echo configure:9361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9358 rm -rf conftest* | 9361 rm -rf conftest* |
9359 eval "ac_cv_lib_$ac_lib_var=yes" | 9362 eval "ac_cv_lib_$ac_lib_var=yes" |
9360 else | 9363 else |
9361 echo "configure: failed program was:" >&5 | 9364 echo "configure: failed program was:" >&5 |
9362 cat conftest.$ac_ext >&5 | 9365 cat conftest.$ac_ext >&5 |
9401 fi | 9404 fi |
9402 | 9405 |
9403 if test "$with_png $with_tiff" != "no no"; then | 9406 if test "$with_png $with_tiff" != "no no"; then |
9404 | 9407 |
9405 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9408 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9406 echo "configure:9407: checking for inflate in -lc" >&5 | 9409 echo "configure:9410: checking for inflate in -lc" >&5 |
9407 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9410 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9408 | 9411 |
9409 xe_check_libs=" -lc " | 9412 xe_check_libs=" -lc " |
9410 cat > conftest.$ac_ext <<EOF | 9413 cat > conftest.$ac_ext <<EOF |
9411 #line 9412 "configure" | 9414 #line 9415 "configure" |
9412 #include "confdefs.h" | 9415 #include "confdefs.h" |
9413 /* Override any gcc2 internal prototype to avoid an error. */ | 9416 /* Override any gcc2 internal prototype to avoid an error. */ |
9414 /* We use char because int might match the return type of a gcc2 | 9417 /* We use char because int might match the return type of a gcc2 |
9415 builtin and then its argument prototype would still apply. */ | 9418 builtin and then its argument prototype would still apply. */ |
9416 char inflate(); | 9419 char inflate(); |
9417 | 9420 |
9418 int main() { | 9421 int main() { |
9419 inflate() | 9422 inflate() |
9420 ; return 0; } | 9423 ; return 0; } |
9421 EOF | 9424 EOF |
9422 if { (eval echo configure:9423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9425 if { (eval echo configure:9426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9423 rm -rf conftest* | 9426 rm -rf conftest* |
9424 eval "ac_cv_lib_$ac_lib_var=yes" | 9427 eval "ac_cv_lib_$ac_lib_var=yes" |
9425 else | 9428 else |
9426 echo "configure: failed program was:" >&5 | 9429 echo "configure: failed program was:" >&5 |
9427 cat conftest.$ac_ext >&5 | 9430 cat conftest.$ac_ext >&5 |
9436 : | 9439 : |
9437 else | 9440 else |
9438 echo "$ac_t""no" 1>&6 | 9441 echo "$ac_t""no" 1>&6 |
9439 | 9442 |
9440 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9443 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9441 echo "configure:9442: checking for inflate in -lz" >&5 | 9444 echo "configure:9445: checking for inflate in -lz" >&5 |
9442 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9445 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9443 | 9446 |
9444 xe_check_libs=" -lz " | 9447 xe_check_libs=" -lz " |
9445 cat > conftest.$ac_ext <<EOF | 9448 cat > conftest.$ac_ext <<EOF |
9446 #line 9447 "configure" | 9449 #line 9450 "configure" |
9447 #include "confdefs.h" | 9450 #include "confdefs.h" |
9448 /* Override any gcc2 internal prototype to avoid an error. */ | 9451 /* Override any gcc2 internal prototype to avoid an error. */ |
9449 /* We use char because int might match the return type of a gcc2 | 9452 /* We use char because int might match the return type of a gcc2 |
9450 builtin and then its argument prototype would still apply. */ | 9453 builtin and then its argument prototype would still apply. */ |
9451 char inflate(); | 9454 char inflate(); |
9452 | 9455 |
9453 int main() { | 9456 int main() { |
9454 inflate() | 9457 inflate() |
9455 ; return 0; } | 9458 ; return 0; } |
9456 EOF | 9459 EOF |
9457 if { (eval echo configure:9458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9460 if { (eval echo configure:9461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9458 rm -rf conftest* | 9461 rm -rf conftest* |
9459 eval "ac_cv_lib_$ac_lib_var=yes" | 9462 eval "ac_cv_lib_$ac_lib_var=yes" |
9460 else | 9463 else |
9461 echo "configure: failed program was:" >&5 | 9464 echo "configure: failed program was:" >&5 |
9462 cat conftest.$ac_ext >&5 | 9465 cat conftest.$ac_ext >&5 |
9471 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9474 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9472 else | 9475 else |
9473 echo "$ac_t""no" 1>&6 | 9476 echo "$ac_t""no" 1>&6 |
9474 | 9477 |
9475 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9478 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9476 echo "configure:9477: checking for inflate in -lgz" >&5 | 9479 echo "configure:9480: checking for inflate in -lgz" >&5 |
9477 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9480 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9478 | 9481 |
9479 xe_check_libs=" -lgz " | 9482 xe_check_libs=" -lgz " |
9480 cat > conftest.$ac_ext <<EOF | 9483 cat > conftest.$ac_ext <<EOF |
9481 #line 9482 "configure" | 9484 #line 9485 "configure" |
9482 #include "confdefs.h" | 9485 #include "confdefs.h" |
9483 /* Override any gcc2 internal prototype to avoid an error. */ | 9486 /* Override any gcc2 internal prototype to avoid an error. */ |
9484 /* We use char because int might match the return type of a gcc2 | 9487 /* We use char because int might match the return type of a gcc2 |
9485 builtin and then its argument prototype would still apply. */ | 9488 builtin and then its argument prototype would still apply. */ |
9486 char inflate(); | 9489 char inflate(); |
9487 | 9490 |
9488 int main() { | 9491 int main() { |
9489 inflate() | 9492 inflate() |
9490 ; return 0; } | 9493 ; return 0; } |
9491 EOF | 9494 EOF |
9492 if { (eval echo configure:9493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9495 if { (eval echo configure:9496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9493 rm -rf conftest* | 9496 rm -rf conftest* |
9494 eval "ac_cv_lib_$ac_lib_var=yes" | 9497 eval "ac_cv_lib_$ac_lib_var=yes" |
9495 else | 9498 else |
9496 echo "configure: failed program was:" >&5 | 9499 echo "configure: failed program was:" >&5 |
9497 cat conftest.$ac_ext >&5 | 9500 cat conftest.$ac_ext >&5 |
9517 | 9520 |
9518 fi | 9521 fi |
9519 | 9522 |
9520 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9523 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9521 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9524 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9522 echo "configure:9523: checking for jpeglib.h" >&5 | 9525 echo "configure:9526: checking for jpeglib.h" >&5 |
9523 | 9526 |
9524 cat > conftest.$ac_ext <<EOF | 9527 cat > conftest.$ac_ext <<EOF |
9525 #line 9526 "configure" | 9528 #line 9529 "configure" |
9526 #include "confdefs.h" | 9529 #include "confdefs.h" |
9527 #include <jpeglib.h> | 9530 #include <jpeglib.h> |
9528 EOF | 9531 EOF |
9529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9530 { (eval echo configure:9531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9533 { (eval echo configure:9534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9532 if test -z "$ac_err"; then | 9535 if test -z "$ac_err"; then |
9533 rm -rf conftest* | 9536 rm -rf conftest* |
9534 eval "ac_cv_header_$ac_safe=yes" | 9537 eval "ac_cv_header_$ac_safe=yes" |
9535 else | 9538 else |
9548 with_jpeg=no | 9551 with_jpeg=no |
9549 fi | 9552 fi |
9550 } | 9553 } |
9551 test -z "$with_jpeg" && { | 9554 test -z "$with_jpeg" && { |
9552 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9555 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9553 echo "configure:9554: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9556 echo "configure:9557: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9554 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9557 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9555 | 9558 |
9556 xe_check_libs=" -ljpeg " | 9559 xe_check_libs=" -ljpeg " |
9557 cat > conftest.$ac_ext <<EOF | 9560 cat > conftest.$ac_ext <<EOF |
9558 #line 9559 "configure" | 9561 #line 9562 "configure" |
9559 #include "confdefs.h" | 9562 #include "confdefs.h" |
9560 /* Override any gcc2 internal prototype to avoid an error. */ | 9563 /* Override any gcc2 internal prototype to avoid an error. */ |
9561 /* We use char because int might match the return type of a gcc2 | 9564 /* We use char because int might match the return type of a gcc2 |
9562 builtin and then its argument prototype would still apply. */ | 9565 builtin and then its argument prototype would still apply. */ |
9563 char jpeg_destroy_decompress(); | 9566 char jpeg_destroy_decompress(); |
9564 | 9567 |
9565 int main() { | 9568 int main() { |
9566 jpeg_destroy_decompress() | 9569 jpeg_destroy_decompress() |
9567 ; return 0; } | 9570 ; return 0; } |
9568 EOF | 9571 EOF |
9569 if { (eval echo configure:9570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9572 if { (eval echo configure:9573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9570 rm -rf conftest* | 9573 rm -rf conftest* |
9571 eval "ac_cv_lib_$ac_lib_var=yes" | 9574 eval "ac_cv_lib_$ac_lib_var=yes" |
9572 else | 9575 else |
9573 echo "configure: failed program was:" >&5 | 9576 echo "configure: failed program was:" >&5 |
9574 cat conftest.$ac_ext >&5 | 9577 cat conftest.$ac_ext >&5 |
9600 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9603 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9601 fi | 9604 fi |
9602 | 9605 |
9603 png_problem="" | 9606 png_problem="" |
9604 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9607 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9605 echo "configure:9606: checking for pow" >&5 | 9608 echo "configure:9609: checking for pow" >&5 |
9606 | 9609 |
9607 cat > conftest.$ac_ext <<EOF | 9610 cat > conftest.$ac_ext <<EOF |
9608 #line 9609 "configure" | 9611 #line 9612 "configure" |
9609 #include "confdefs.h" | 9612 #include "confdefs.h" |
9610 /* System header to define __stub macros and hopefully few prototypes, | 9613 /* System header to define __stub macros and hopefully few prototypes, |
9611 which can conflict with char pow(); below. */ | 9614 which can conflict with char pow(); below. */ |
9612 #include <assert.h> | 9615 #include <assert.h> |
9613 /* Override any gcc2 internal prototype to avoid an error. */ | 9616 /* Override any gcc2 internal prototype to avoid an error. */ |
9626 pow(); | 9629 pow(); |
9627 #endif | 9630 #endif |
9628 | 9631 |
9629 ; return 0; } | 9632 ; return 0; } |
9630 EOF | 9633 EOF |
9631 if { (eval echo configure:9632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9634 if { (eval echo configure:9635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9632 rm -rf conftest* | 9635 rm -rf conftest* |
9633 eval "ac_cv_func_pow=yes" | 9636 eval "ac_cv_func_pow=yes" |
9634 else | 9637 else |
9635 echo "configure: failed program was:" >&5 | 9638 echo "configure: failed program was:" >&5 |
9636 cat conftest.$ac_ext >&5 | 9639 cat conftest.$ac_ext >&5 |
9647 with_png=no | 9650 with_png=no |
9648 fi | 9651 fi |
9649 } | 9652 } |
9650 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9653 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9651 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9654 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9652 echo "configure:9653: checking for png.h" >&5 | 9655 echo "configure:9656: checking for png.h" >&5 |
9653 | 9656 |
9654 cat > conftest.$ac_ext <<EOF | 9657 cat > conftest.$ac_ext <<EOF |
9655 #line 9656 "configure" | 9658 #line 9659 "configure" |
9656 #include "confdefs.h" | 9659 #include "confdefs.h" |
9657 #include <png.h> | 9660 #include <png.h> |
9658 EOF | 9661 EOF |
9659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9660 { (eval echo configure:9661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9663 { (eval echo configure:9664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9662 if test -z "$ac_err"; then | 9665 if test -z "$ac_err"; then |
9663 rm -rf conftest* | 9666 rm -rf conftest* |
9664 eval "ac_cv_header_$ac_safe=yes" | 9667 eval "ac_cv_header_$ac_safe=yes" |
9665 else | 9668 else |
9678 with_png=no | 9681 with_png=no |
9679 fi | 9682 fi |
9680 } | 9683 } |
9681 test -z "$with_png" && { | 9684 test -z "$with_png" && { |
9682 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9685 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9683 echo "configure:9684: checking for png_read_image in -lpng" >&5 | 9686 echo "configure:9687: checking for png_read_image in -lpng" >&5 |
9684 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9687 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9685 | 9688 |
9686 xe_check_libs=" -lpng " | 9689 xe_check_libs=" -lpng " |
9687 cat > conftest.$ac_ext <<EOF | 9690 cat > conftest.$ac_ext <<EOF |
9688 #line 9689 "configure" | 9691 #line 9692 "configure" |
9689 #include "confdefs.h" | 9692 #include "confdefs.h" |
9690 /* Override any gcc2 internal prototype to avoid an error. */ | 9693 /* Override any gcc2 internal prototype to avoid an error. */ |
9691 /* We use char because int might match the return type of a gcc2 | 9694 /* We use char because int might match the return type of a gcc2 |
9692 builtin and then its argument prototype would still apply. */ | 9695 builtin and then its argument prototype would still apply. */ |
9693 char png_read_image(); | 9696 char png_read_image(); |
9694 | 9697 |
9695 int main() { | 9698 int main() { |
9696 png_read_image() | 9699 png_read_image() |
9697 ; return 0; } | 9700 ; return 0; } |
9698 EOF | 9701 EOF |
9699 if { (eval echo configure:9700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9702 if { (eval echo configure:9703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9700 rm -rf conftest* | 9703 rm -rf conftest* |
9701 eval "ac_cv_lib_$ac_lib_var=yes" | 9704 eval "ac_cv_lib_$ac_lib_var=yes" |
9702 else | 9705 else |
9703 echo "configure: failed program was:" >&5 | 9706 echo "configure: failed program was:" >&5 |
9704 cat conftest.$ac_ext >&5 | 9707 cat conftest.$ac_ext >&5 |
9717 fi | 9720 fi |
9718 | 9721 |
9719 } | 9722 } |
9720 if test -z "$with_png"; then | 9723 if test -z "$with_png"; then |
9721 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9724 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9722 echo "configure:9723: checking for workable png version information" >&5 | 9725 echo "configure:9726: checking for workable png version information" >&5 |
9723 xe_check_libs="-lpng -lz" | 9726 xe_check_libs="-lpng -lz" |
9724 cat > conftest.$ac_ext <<EOF | 9727 cat > conftest.$ac_ext <<EOF |
9725 #line 9726 "configure" | 9728 #line 9729 "configure" |
9726 #include "confdefs.h" | 9729 #include "confdefs.h" |
9727 #include <png.h> | 9730 #include <png.h> |
9728 int main(int c, char **v) { | 9731 int main(int c, char **v) { |
9729 if (c == 1) return 0; | 9732 if (c == 1) return 0; |
9730 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9733 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9731 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9734 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9732 EOF | 9735 EOF |
9733 if { (eval echo configure:9734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9736 if { (eval echo configure:9737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9734 then | 9737 then |
9735 ./conftest dummy_arg; png_status=$?; | 9738 ./conftest dummy_arg; png_status=$?; |
9736 if test "$png_status" = "0"; then | 9739 if test "$png_status" = "0"; then |
9737 with_png=yes; | 9740 with_png=yes; |
9738 else | 9741 else |
9771 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9774 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9772 fi | 9775 fi |
9773 | 9776 |
9774 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9777 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9775 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9778 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9776 echo "configure:9777: checking for tiffio.h" >&5 | 9779 echo "configure:9780: checking for tiffio.h" >&5 |
9777 | 9780 |
9778 cat > conftest.$ac_ext <<EOF | 9781 cat > conftest.$ac_ext <<EOF |
9779 #line 9780 "configure" | 9782 #line 9783 "configure" |
9780 #include "confdefs.h" | 9783 #include "confdefs.h" |
9781 #include <tiffio.h> | 9784 #include <tiffio.h> |
9782 EOF | 9785 EOF |
9783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9786 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9784 { (eval echo configure:9785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9787 { (eval echo configure:9788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9788 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9786 if test -z "$ac_err"; then | 9789 if test -z "$ac_err"; then |
9787 rm -rf conftest* | 9790 rm -rf conftest* |
9788 eval "ac_cv_header_$ac_safe=yes" | 9791 eval "ac_cv_header_$ac_safe=yes" |
9789 else | 9792 else |
9802 with_tiff=no | 9805 with_tiff=no |
9803 fi | 9806 fi |
9804 } | 9807 } |
9805 test -z "$with_tiff" && { | 9808 test -z "$with_tiff" && { |
9806 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9809 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9807 echo "configure:9808: checking for TIFFClientOpen in -ltiff" >&5 | 9810 echo "configure:9811: checking for TIFFClientOpen in -ltiff" >&5 |
9808 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9811 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9809 | 9812 |
9810 xe_check_libs=" -ltiff " | 9813 xe_check_libs=" -ltiff " |
9811 cat > conftest.$ac_ext <<EOF | 9814 cat > conftest.$ac_ext <<EOF |
9812 #line 9813 "configure" | 9815 #line 9816 "configure" |
9813 #include "confdefs.h" | 9816 #include "confdefs.h" |
9814 /* Override any gcc2 internal prototype to avoid an error. */ | 9817 /* Override any gcc2 internal prototype to avoid an error. */ |
9815 /* We use char because int might match the return type of a gcc2 | 9818 /* We use char because int might match the return type of a gcc2 |
9816 builtin and then its argument prototype would still apply. */ | 9819 builtin and then its argument prototype would still apply. */ |
9817 char TIFFClientOpen(); | 9820 char TIFFClientOpen(); |
9818 | 9821 |
9819 int main() { | 9822 int main() { |
9820 TIFFClientOpen() | 9823 TIFFClientOpen() |
9821 ; return 0; } | 9824 ; return 0; } |
9822 EOF | 9825 EOF |
9823 if { (eval echo configure:9824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9826 if { (eval echo configure:9827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9824 rm -rf conftest* | 9827 rm -rf conftest* |
9825 eval "ac_cv_lib_$ac_lib_var=yes" | 9828 eval "ac_cv_lib_$ac_lib_var=yes" |
9826 else | 9829 else |
9827 echo "configure: failed program was:" >&5 | 9830 echo "configure: failed program was:" >&5 |
9828 cat conftest.$ac_ext >&5 | 9831 cat conftest.$ac_ext >&5 |
9857 | 9860 |
9858 | 9861 |
9859 if test "$with_gtk" = "yes"; then | 9862 if test "$with_gtk" = "yes"; then |
9860 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9863 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9861 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9864 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9862 echo "configure:9863: checking for compface.h" >&5 | 9865 echo "configure:9866: checking for compface.h" >&5 |
9863 | 9866 |
9864 cat > conftest.$ac_ext <<EOF | 9867 cat > conftest.$ac_ext <<EOF |
9865 #line 9866 "configure" | 9868 #line 9869 "configure" |
9866 #include "confdefs.h" | 9869 #include "confdefs.h" |
9867 #include <compface.h> | 9870 #include <compface.h> |
9868 EOF | 9871 EOF |
9869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9872 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9870 { (eval echo configure:9871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9873 { (eval echo configure:9874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9874 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9872 if test -z "$ac_err"; then | 9875 if test -z "$ac_err"; then |
9873 rm -rf conftest* | 9876 rm -rf conftest* |
9874 eval "ac_cv_header_$ac_safe=yes" | 9877 eval "ac_cv_header_$ac_safe=yes" |
9875 else | 9878 else |
9888 with_xface=no | 9891 with_xface=no |
9889 fi | 9892 fi |
9890 } | 9893 } |
9891 test -z "$with_xface" && { | 9894 test -z "$with_xface" && { |
9892 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9895 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9893 echo "configure:9894: checking for UnGenFace in -lcompface" >&5 | 9896 echo "configure:9897: checking for UnGenFace in -lcompface" >&5 |
9894 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9897 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9895 | 9898 |
9896 xe_check_libs=" -lcompface " | 9899 xe_check_libs=" -lcompface " |
9897 cat > conftest.$ac_ext <<EOF | 9900 cat > conftest.$ac_ext <<EOF |
9898 #line 9899 "configure" | 9901 #line 9902 "configure" |
9899 #include "confdefs.h" | 9902 #include "confdefs.h" |
9900 /* Override any gcc2 internal prototype to avoid an error. */ | 9903 /* Override any gcc2 internal prototype to avoid an error. */ |
9901 /* We use char because int might match the return type of a gcc2 | 9904 /* We use char because int might match the return type of a gcc2 |
9902 builtin and then its argument prototype would still apply. */ | 9905 builtin and then its argument prototype would still apply. */ |
9903 char UnGenFace(); | 9906 char UnGenFace(); |
9904 | 9907 |
9905 int main() { | 9908 int main() { |
9906 UnGenFace() | 9909 UnGenFace() |
9907 ; return 0; } | 9910 ; return 0; } |
9908 EOF | 9911 EOF |
9909 if { (eval echo configure:9910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9912 if { (eval echo configure:9913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9910 rm -rf conftest* | 9913 rm -rf conftest* |
9911 eval "ac_cv_lib_$ac_lib_var=yes" | 9914 eval "ac_cv_lib_$ac_lib_var=yes" |
9912 else | 9915 else |
9913 echo "configure: failed program was:" >&5 | 9916 echo "configure: failed program was:" >&5 |
9914 cat conftest.$ac_ext >&5 | 9917 cat conftest.$ac_ext >&5 |
9943 | 9946 |
9944 | 9947 |
9945 | 9948 |
9946 if test "$with_x11" = "yes"; then | 9949 if test "$with_x11" = "yes"; then |
9947 echo "checking for X11 graphics libraries" 1>&6 | 9950 echo "checking for X11 graphics libraries" 1>&6 |
9948 echo "configure:9949: checking for X11 graphics libraries" >&5 | 9951 echo "configure:9952: checking for X11 graphics libraries" >&5 |
9949 fi | 9952 fi |
9950 | 9953 |
9951 case "$with_widgets" in | 9954 case "$with_widgets" in |
9952 "yes" | "athena") detect_athena=yes ;; | 9955 "yes" | "athena") detect_athena=yes ;; |
9953 *) detect_athena=no ;; | 9956 *) detect_athena=no ;; |
9954 esac | 9957 esac |
9955 | 9958 |
9956 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 9959 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
9957 echo "checking for the Athena widgets" 1>&6 | 9960 echo "checking for the Athena widgets" 1>&6 |
9958 echo "configure:9959: checking for the Athena widgets" >&5 | 9961 echo "configure:9962: checking for the Athena widgets" >&5 |
9959 | 9962 |
9960 case "$with_athena" in | 9963 case "$with_athena" in |
9961 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 9964 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
9962 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 9965 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
9963 "next") athena_variant=neXtaw athena_3d=yes ;; | 9966 "next") athena_variant=neXtaw athena_3d=yes ;; |
9967 esac | 9970 esac |
9968 | 9971 |
9969 if test "$athena_3d" = "no"; then | 9972 if test "$athena_3d" = "no"; then |
9970 | 9973 |
9971 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 9974 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
9972 echo "configure:9973: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 9975 echo "configure:9976: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
9973 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 9976 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
9974 | 9977 |
9975 xe_check_libs=" -l$athena_variant " | 9978 xe_check_libs=" -l$athena_variant " |
9976 cat > conftest.$ac_ext <<EOF | 9979 cat > conftest.$ac_ext <<EOF |
9977 #line 9978 "configure" | 9980 #line 9981 "configure" |
9978 #include "confdefs.h" | 9981 #include "confdefs.h" |
9979 /* Override any gcc2 internal prototype to avoid an error. */ | 9982 /* Override any gcc2 internal prototype to avoid an error. */ |
9980 /* We use char because int might match the return type of a gcc2 | 9983 /* We use char because int might match the return type of a gcc2 |
9981 builtin and then its argument prototype would still apply. */ | 9984 builtin and then its argument prototype would still apply. */ |
9982 char XawScrollbarSetThumb(); | 9985 char XawScrollbarSetThumb(); |
9983 | 9986 |
9984 int main() { | 9987 int main() { |
9985 XawScrollbarSetThumb() | 9988 XawScrollbarSetThumb() |
9986 ; return 0; } | 9989 ; return 0; } |
9987 EOF | 9990 EOF |
9988 if { (eval echo configure:9989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9991 if { (eval echo configure:9992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9989 rm -rf conftest* | 9992 rm -rf conftest* |
9990 eval "ac_cv_lib_$ac_lib_var=yes" | 9993 eval "ac_cv_lib_$ac_lib_var=yes" |
9991 else | 9994 else |
9992 echo "configure: failed program was:" >&5 | 9995 echo "configure: failed program was:" >&5 |
9993 cat conftest.$ac_ext >&5 | 9996 cat conftest.$ac_ext >&5 |
9999 | 10002 |
10000 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10003 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10001 echo "$ac_t""yes" 1>&6 | 10004 echo "$ac_t""yes" 1>&6 |
10002 | 10005 |
10003 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10006 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10004 echo "configure:10005: checking for threeDClassRec in -l$athena_variant" >&5 | 10007 echo "configure:10008: checking for threeDClassRec in -l$athena_variant" >&5 |
10005 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10008 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10006 | 10009 |
10007 xe_check_libs=" -l$athena_variant " | 10010 xe_check_libs=" -l$athena_variant " |
10008 cat > conftest.$ac_ext <<EOF | 10011 cat > conftest.$ac_ext <<EOF |
10009 #line 10010 "configure" | 10012 #line 10013 "configure" |
10010 #include "confdefs.h" | 10013 #include "confdefs.h" |
10011 /* Override any gcc2 internal prototype to avoid an error. */ | 10014 /* Override any gcc2 internal prototype to avoid an error. */ |
10012 /* We use char because int might match the return type of a gcc2 | 10015 /* We use char because int might match the return type of a gcc2 |
10013 builtin and then its argument prototype would still apply. */ | 10016 builtin and then its argument prototype would still apply. */ |
10014 char threeDClassRec(); | 10017 char threeDClassRec(); |
10015 | 10018 |
10016 int main() { | 10019 int main() { |
10017 threeDClassRec() | 10020 threeDClassRec() |
10018 ; return 0; } | 10021 ; return 0; } |
10019 EOF | 10022 EOF |
10020 if { (eval echo configure:10021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10023 if { (eval echo configure:10024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10021 rm -rf conftest* | 10024 rm -rf conftest* |
10022 eval "ac_cv_lib_$ac_lib_var=yes" | 10025 eval "ac_cv_lib_$ac_lib_var=yes" |
10023 else | 10026 else |
10024 echo "configure: failed program was:" >&5 | 10027 echo "configure: failed program was:" >&5 |
10025 cat conftest.$ac_ext >&5 | 10028 cat conftest.$ac_ext >&5 |
10046 | 10049 |
10047 | 10050 |
10048 else | 10051 else |
10049 | 10052 |
10050 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10053 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10051 echo "configure:10052: checking for threeDClassRec in -l$athena_variant" >&5 | 10054 echo "configure:10055: checking for threeDClassRec in -l$athena_variant" >&5 |
10052 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10055 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10053 | 10056 |
10054 xe_check_libs=" -l$athena_variant " | 10057 xe_check_libs=" -l$athena_variant " |
10055 cat > conftest.$ac_ext <<EOF | 10058 cat > conftest.$ac_ext <<EOF |
10056 #line 10057 "configure" | 10059 #line 10060 "configure" |
10057 #include "confdefs.h" | 10060 #include "confdefs.h" |
10058 /* Override any gcc2 internal prototype to avoid an error. */ | 10061 /* Override any gcc2 internal prototype to avoid an error. */ |
10059 /* We use char because int might match the return type of a gcc2 | 10062 /* We use char because int might match the return type of a gcc2 |
10060 builtin and then its argument prototype would still apply. */ | 10063 builtin and then its argument prototype would still apply. */ |
10061 char threeDClassRec(); | 10064 char threeDClassRec(); |
10062 | 10065 |
10063 int main() { | 10066 int main() { |
10064 threeDClassRec() | 10067 threeDClassRec() |
10065 ; return 0; } | 10068 ; return 0; } |
10066 EOF | 10069 EOF |
10067 if { (eval echo configure:10068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10070 if { (eval echo configure:10071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10068 rm -rf conftest* | 10071 rm -rf conftest* |
10069 eval "ac_cv_lib_$ac_lib_var=yes" | 10072 eval "ac_cv_lib_$ac_lib_var=yes" |
10070 else | 10073 else |
10071 echo "configure: failed program was:" >&5 | 10074 echo "configure: failed program was:" >&5 |
10072 cat conftest.$ac_ext >&5 | 10075 cat conftest.$ac_ext >&5 |
10080 echo "$ac_t""yes" 1>&6 | 10083 echo "$ac_t""yes" 1>&6 |
10081 athena_lib=$athena_variant | 10084 athena_lib=$athena_variant |
10082 else | 10085 else |
10083 echo "$ac_t""no" 1>&6 | 10086 echo "$ac_t""no" 1>&6 |
10084 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10087 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10085 echo "configure:10086: checking for threeDClassRec in -lXaw" >&5 | 10088 echo "configure:10089: checking for threeDClassRec in -lXaw" >&5 |
10086 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10089 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10087 | 10090 |
10088 xe_check_libs=" -lXaw " | 10091 xe_check_libs=" -lXaw " |
10089 cat > conftest.$ac_ext <<EOF | 10092 cat > conftest.$ac_ext <<EOF |
10090 #line 10091 "configure" | 10093 #line 10094 "configure" |
10091 #include "confdefs.h" | 10094 #include "confdefs.h" |
10092 /* Override any gcc2 internal prototype to avoid an error. */ | 10095 /* Override any gcc2 internal prototype to avoid an error. */ |
10093 /* We use char because int might match the return type of a gcc2 | 10096 /* We use char because int might match the return type of a gcc2 |
10094 builtin and then its argument prototype would still apply. */ | 10097 builtin and then its argument prototype would still apply. */ |
10095 char threeDClassRec(); | 10098 char threeDClassRec(); |
10096 | 10099 |
10097 int main() { | 10100 int main() { |
10098 threeDClassRec() | 10101 threeDClassRec() |
10099 ; return 0; } | 10102 ; return 0; } |
10100 EOF | 10103 EOF |
10101 if { (eval echo configure:10102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10104 if { (eval echo configure:10105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10102 rm -rf conftest* | 10105 rm -rf conftest* |
10103 eval "ac_cv_lib_$ac_lib_var=yes" | 10106 eval "ac_cv_lib_$ac_lib_var=yes" |
10104 else | 10107 else |
10105 echo "configure: failed program was:" >&5 | 10108 echo "configure: failed program was:" >&5 |
10106 cat conftest.$ac_ext >&5 | 10109 cat conftest.$ac_ext >&5 |
10127 fi | 10130 fi |
10128 | 10131 |
10129 if test "$athena_3d" = "no"; then | 10132 if test "$athena_3d" = "no"; then |
10130 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10133 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10131 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10134 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10132 echo "configure:10133: checking for X11/Xaw/ThreeD.h" >&5 | 10135 echo "configure:10136: checking for X11/Xaw/ThreeD.h" >&5 |
10133 | 10136 |
10134 cat > conftest.$ac_ext <<EOF | 10137 cat > conftest.$ac_ext <<EOF |
10135 #line 10136 "configure" | 10138 #line 10139 "configure" |
10136 #include "confdefs.h" | 10139 #include "confdefs.h" |
10137 #include <X11/Xaw/ThreeD.h> | 10140 #include <X11/Xaw/ThreeD.h> |
10138 EOF | 10141 EOF |
10139 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10140 { (eval echo configure:10141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10143 { (eval echo configure:10144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10141 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10142 if test -z "$ac_err"; then | 10145 if test -z "$ac_err"; then |
10143 rm -rf conftest* | 10146 rm -rf conftest* |
10144 eval "ac_cv_header_$ac_safe=yes" | 10147 eval "ac_cv_header_$ac_safe=yes" |
10145 else | 10148 else |
10155 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10158 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10156 else | 10159 else |
10157 echo "$ac_t""no" 1>&6 | 10160 echo "$ac_t""no" 1>&6 |
10158 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10161 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10159 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10162 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10160 echo "configure:10161: checking for X11/Xaw/XawInit.h" >&5 | 10163 echo "configure:10164: checking for X11/Xaw/XawInit.h" >&5 |
10161 | 10164 |
10162 cat > conftest.$ac_ext <<EOF | 10165 cat > conftest.$ac_ext <<EOF |
10163 #line 10164 "configure" | 10166 #line 10167 "configure" |
10164 #include "confdefs.h" | 10167 #include "confdefs.h" |
10165 #include <X11/Xaw/XawInit.h> | 10168 #include <X11/Xaw/XawInit.h> |
10166 EOF | 10169 EOF |
10167 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10168 { (eval echo configure:10169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10171 { (eval echo configure:10172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10169 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10170 if test -z "$ac_err"; then | 10173 if test -z "$ac_err"; then |
10171 rm -rf conftest* | 10174 rm -rf conftest* |
10172 eval "ac_cv_header_$ac_safe=yes" | 10175 eval "ac_cv_header_$ac_safe=yes" |
10173 else | 10176 else |
10189 fi | 10192 fi |
10190 | 10193 |
10191 else | 10194 else |
10192 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10195 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10193 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10196 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10194 echo "configure:10195: checking for X11/$athena_variant/XawInit.h" >&5 | 10197 echo "configure:10198: checking for X11/$athena_variant/XawInit.h" >&5 |
10195 | 10198 |
10196 cat > conftest.$ac_ext <<EOF | 10199 cat > conftest.$ac_ext <<EOF |
10197 #line 10198 "configure" | 10200 #line 10201 "configure" |
10198 #include "confdefs.h" | 10201 #include "confdefs.h" |
10199 #include <X11/$athena_variant/XawInit.h> | 10202 #include <X11/$athena_variant/XawInit.h> |
10200 EOF | 10203 EOF |
10201 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10202 { (eval echo configure:10203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10205 { (eval echo configure:10206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10203 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10204 if test -z "$ac_err"; then | 10207 if test -z "$ac_err"; then |
10205 rm -rf conftest* | 10208 rm -rf conftest* |
10206 eval "ac_cv_header_$ac_safe=yes" | 10209 eval "ac_cv_header_$ac_safe=yes" |
10207 else | 10210 else |
10214 rm -f conftest* | 10217 rm -f conftest* |
10215 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10218 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10216 echo "$ac_t""yes" 1>&6 | 10219 echo "$ac_t""yes" 1>&6 |
10217 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10220 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10218 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10221 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10219 echo "configure:10220: checking for X11/$athena_variant/ThreeD.h" >&5 | 10222 echo "configure:10223: checking for X11/$athena_variant/ThreeD.h" >&5 |
10220 | 10223 |
10221 cat > conftest.$ac_ext <<EOF | 10224 cat > conftest.$ac_ext <<EOF |
10222 #line 10223 "configure" | 10225 #line 10226 "configure" |
10223 #include "confdefs.h" | 10226 #include "confdefs.h" |
10224 #include <X11/$athena_variant/ThreeD.h> | 10227 #include <X11/$athena_variant/ThreeD.h> |
10225 EOF | 10228 EOF |
10226 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10229 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10227 { (eval echo configure:10228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10230 { (eval echo configure:10231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10228 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10231 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10229 if test -z "$ac_err"; then | 10232 if test -z "$ac_err"; then |
10230 rm -rf conftest* | 10233 rm -rf conftest* |
10231 eval "ac_cv_header_$ac_safe=yes" | 10234 eval "ac_cv_header_$ac_safe=yes" |
10232 else | 10235 else |
10250 | 10253 |
10251 | 10254 |
10252 if test -z "$athena_h_path"; then | 10255 if test -z "$athena_h_path"; then |
10253 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10256 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10254 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10257 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10255 echo "configure:10256: checking for $athena_variant/XawInit.h" >&5 | 10258 echo "configure:10259: checking for $athena_variant/XawInit.h" >&5 |
10256 | 10259 |
10257 cat > conftest.$ac_ext <<EOF | 10260 cat > conftest.$ac_ext <<EOF |
10258 #line 10259 "configure" | 10261 #line 10262 "configure" |
10259 #include "confdefs.h" | 10262 #include "confdefs.h" |
10260 #include <$athena_variant/XawInit.h> | 10263 #include <$athena_variant/XawInit.h> |
10261 EOF | 10264 EOF |
10262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10265 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10263 { (eval echo configure:10264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10266 { (eval echo configure:10267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10267 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10265 if test -z "$ac_err"; then | 10268 if test -z "$ac_err"; then |
10266 rm -rf conftest* | 10269 rm -rf conftest* |
10267 eval "ac_cv_header_$ac_safe=yes" | 10270 eval "ac_cv_header_$ac_safe=yes" |
10268 else | 10271 else |
10275 rm -f conftest* | 10278 rm -f conftest* |
10276 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10279 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10277 echo "$ac_t""yes" 1>&6 | 10280 echo "$ac_t""yes" 1>&6 |
10278 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10281 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10279 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10282 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10280 echo "configure:10281: checking for $athena_variant/ThreeD.h" >&5 | 10283 echo "configure:10284: checking for $athena_variant/ThreeD.h" >&5 |
10281 | 10284 |
10282 cat > conftest.$ac_ext <<EOF | 10285 cat > conftest.$ac_ext <<EOF |
10283 #line 10284 "configure" | 10286 #line 10287 "configure" |
10284 #include "confdefs.h" | 10287 #include "confdefs.h" |
10285 #include <$athena_variant/ThreeD.h> | 10288 #include <$athena_variant/ThreeD.h> |
10286 EOF | 10289 EOF |
10287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10288 { (eval echo configure:10289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10291 { (eval echo configure:10292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10290 if test -z "$ac_err"; then | 10293 if test -z "$ac_err"; then |
10291 rm -rf conftest* | 10294 rm -rf conftest* |
10292 eval "ac_cv_header_$ac_safe=yes" | 10295 eval "ac_cv_header_$ac_safe=yes" |
10293 else | 10296 else |
10312 fi | 10315 fi |
10313 | 10316 |
10314 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10317 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10315 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10318 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10316 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10319 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10317 echo "configure:10318: checking for X11/Xaw3d/XawInit.h" >&5 | 10320 echo "configure:10321: checking for X11/Xaw3d/XawInit.h" >&5 |
10318 | 10321 |
10319 cat > conftest.$ac_ext <<EOF | 10322 cat > conftest.$ac_ext <<EOF |
10320 #line 10321 "configure" | 10323 #line 10324 "configure" |
10321 #include "confdefs.h" | 10324 #include "confdefs.h" |
10322 #include <X11/Xaw3d/XawInit.h> | 10325 #include <X11/Xaw3d/XawInit.h> |
10323 EOF | 10326 EOF |
10324 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10325 { (eval echo configure:10326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10328 { (eval echo configure:10329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10326 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10327 if test -z "$ac_err"; then | 10330 if test -z "$ac_err"; then |
10328 rm -rf conftest* | 10331 rm -rf conftest* |
10329 eval "ac_cv_header_$ac_safe=yes" | 10332 eval "ac_cv_header_$ac_safe=yes" |
10330 else | 10333 else |
10337 rm -f conftest* | 10340 rm -f conftest* |
10338 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10339 echo "$ac_t""yes" 1>&6 | 10342 echo "$ac_t""yes" 1>&6 |
10340 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10343 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10341 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10344 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10342 echo "configure:10343: checking for X11/Xaw3d/ThreeD.h" >&5 | 10345 echo "configure:10346: checking for X11/Xaw3d/ThreeD.h" >&5 |
10343 | 10346 |
10344 cat > conftest.$ac_ext <<EOF | 10347 cat > conftest.$ac_ext <<EOF |
10345 #line 10346 "configure" | 10348 #line 10349 "configure" |
10346 #include "confdefs.h" | 10349 #include "confdefs.h" |
10347 #include <X11/Xaw3d/ThreeD.h> | 10350 #include <X11/Xaw3d/ThreeD.h> |
10348 EOF | 10351 EOF |
10349 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10350 { (eval echo configure:10351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10353 { (eval echo configure:10354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10351 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10352 if test -z "$ac_err"; then | 10355 if test -z "$ac_err"; then |
10353 rm -rf conftest* | 10356 rm -rf conftest* |
10354 eval "ac_cv_header_$ac_safe=yes" | 10357 eval "ac_cv_header_$ac_safe=yes" |
10355 else | 10358 else |
10377 fi | 10380 fi |
10378 | 10381 |
10379 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10382 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10380 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10383 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10381 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10384 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10382 echo "configure:10383: checking for Xaw3d/XawInit.h" >&5 | 10385 echo "configure:10386: checking for Xaw3d/XawInit.h" >&5 |
10383 | 10386 |
10384 cat > conftest.$ac_ext <<EOF | 10387 cat > conftest.$ac_ext <<EOF |
10385 #line 10386 "configure" | 10388 #line 10389 "configure" |
10386 #include "confdefs.h" | 10389 #include "confdefs.h" |
10387 #include <Xaw3d/XawInit.h> | 10390 #include <Xaw3d/XawInit.h> |
10388 EOF | 10391 EOF |
10389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10392 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10390 { (eval echo configure:10391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10393 { (eval echo configure:10394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10394 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10392 if test -z "$ac_err"; then | 10395 if test -z "$ac_err"; then |
10393 rm -rf conftest* | 10396 rm -rf conftest* |
10394 eval "ac_cv_header_$ac_safe=yes" | 10397 eval "ac_cv_header_$ac_safe=yes" |
10395 else | 10398 else |
10402 rm -f conftest* | 10405 rm -f conftest* |
10403 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10406 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10404 echo "$ac_t""yes" 1>&6 | 10407 echo "$ac_t""yes" 1>&6 |
10405 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10408 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10406 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10409 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10407 echo "configure:10408: checking for Xaw3d/ThreeD.h" >&5 | 10410 echo "configure:10411: checking for Xaw3d/ThreeD.h" >&5 |
10408 | 10411 |
10409 cat > conftest.$ac_ext <<EOF | 10412 cat > conftest.$ac_ext <<EOF |
10410 #line 10411 "configure" | 10413 #line 10414 "configure" |
10411 #include "confdefs.h" | 10414 #include "confdefs.h" |
10412 #include <Xaw3d/ThreeD.h> | 10415 #include <Xaw3d/ThreeD.h> |
10413 EOF | 10416 EOF |
10414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10417 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10415 { (eval echo configure:10416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10418 { (eval echo configure:10419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10416 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10419 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10417 if test -z "$ac_err"; then | 10420 if test -z "$ac_err"; then |
10418 rm -rf conftest* | 10421 rm -rf conftest* |
10419 eval "ac_cv_header_$ac_safe=yes" | 10422 eval "ac_cv_header_$ac_safe=yes" |
10420 else | 10423 else |
10442 fi | 10445 fi |
10443 | 10446 |
10444 if test -z "$athena_h_path"; then | 10447 if test -z "$athena_h_path"; then |
10445 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10448 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10446 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10449 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10447 echo "configure:10448: checking for X11/Xaw/ThreeD.h" >&5 | 10450 echo "configure:10451: checking for X11/Xaw/ThreeD.h" >&5 |
10448 | 10451 |
10449 cat > conftest.$ac_ext <<EOF | 10452 cat > conftest.$ac_ext <<EOF |
10450 #line 10451 "configure" | 10453 #line 10454 "configure" |
10451 #include "confdefs.h" | 10454 #include "confdefs.h" |
10452 #include <X11/Xaw/ThreeD.h> | 10455 #include <X11/Xaw/ThreeD.h> |
10453 EOF | 10456 EOF |
10454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10455 { (eval echo configure:10456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10458 { (eval echo configure:10459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10457 if test -z "$ac_err"; then | 10460 if test -z "$ac_err"; then |
10458 rm -rf conftest* | 10461 rm -rf conftest* |
10459 eval "ac_cv_header_$ac_safe=yes" | 10462 eval "ac_cv_header_$ac_safe=yes" |
10460 else | 10463 else |
10489 have_xaw=no | 10492 have_xaw=no |
10490 fi | 10493 fi |
10491 if test "$with_x11" = "yes"; then | 10494 if test "$with_x11" = "yes"; then |
10492 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10495 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10493 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10496 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10494 echo "configure:10495: checking for Xm/Xm.h" >&5 | 10497 echo "configure:10498: checking for Xm/Xm.h" >&5 |
10495 | 10498 |
10496 cat > conftest.$ac_ext <<EOF | 10499 cat > conftest.$ac_ext <<EOF |
10497 #line 10498 "configure" | 10500 #line 10501 "configure" |
10498 #include "confdefs.h" | 10501 #include "confdefs.h" |
10499 #include <Xm/Xm.h> | 10502 #include <Xm/Xm.h> |
10500 EOF | 10503 EOF |
10501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10502 { (eval echo configure:10503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10505 { (eval echo configure:10506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10504 if test -z "$ac_err"; then | 10507 if test -z "$ac_err"; then |
10505 rm -rf conftest* | 10508 rm -rf conftest* |
10506 eval "ac_cv_header_$ac_safe=yes" | 10509 eval "ac_cv_header_$ac_safe=yes" |
10507 else | 10510 else |
10514 rm -f conftest* | 10517 rm -f conftest* |
10515 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10518 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10516 echo "$ac_t""yes" 1>&6 | 10519 echo "$ac_t""yes" 1>&6 |
10517 | 10520 |
10518 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10521 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10519 echo "configure:10520: checking for XmStringFree in -lXm" >&5 | 10522 echo "configure:10523: checking for XmStringFree in -lXm" >&5 |
10520 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10523 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10521 | 10524 |
10522 xe_check_libs=" -lXm " | 10525 xe_check_libs=" -lXm " |
10523 cat > conftest.$ac_ext <<EOF | 10526 cat > conftest.$ac_ext <<EOF |
10524 #line 10525 "configure" | 10527 #line 10528 "configure" |
10525 #include "confdefs.h" | 10528 #include "confdefs.h" |
10526 /* Override any gcc2 internal prototype to avoid an error. */ | 10529 /* Override any gcc2 internal prototype to avoid an error. */ |
10527 /* We use char because int might match the return type of a gcc2 | 10530 /* We use char because int might match the return type of a gcc2 |
10528 builtin and then its argument prototype would still apply. */ | 10531 builtin and then its argument prototype would still apply. */ |
10529 char XmStringFree(); | 10532 char XmStringFree(); |
10530 | 10533 |
10531 int main() { | 10534 int main() { |
10532 XmStringFree() | 10535 XmStringFree() |
10533 ; return 0; } | 10536 ; return 0; } |
10534 EOF | 10537 EOF |
10535 if { (eval echo configure:10536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10538 if { (eval echo configure:10539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10536 rm -rf conftest* | 10539 rm -rf conftest* |
10537 eval "ac_cv_lib_$ac_lib_var=yes" | 10540 eval "ac_cv_lib_$ac_lib_var=yes" |
10538 else | 10541 else |
10539 echo "configure: failed program was:" >&5 | 10542 echo "configure: failed program was:" >&5 |
10540 cat conftest.$ac_ext >&5 | 10543 cat conftest.$ac_ext >&5 |
10559 fi | 10562 fi |
10560 | 10563 |
10561 | 10564 |
10562 if test "$have_motif" = "yes"; then | 10565 if test "$have_motif" = "yes"; then |
10563 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10566 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10564 echo "configure:10565: checking for Lesstif" >&5 | 10567 echo "configure:10568: checking for Lesstif" >&5 |
10565 cat > conftest.$ac_ext <<EOF | 10568 cat > conftest.$ac_ext <<EOF |
10566 #line 10567 "configure" | 10569 #line 10570 "configure" |
10567 #include "confdefs.h" | 10570 #include "confdefs.h" |
10568 #include <Xm/Xm.h> | 10571 #include <Xm/Xm.h> |
10569 #ifdef LESSTIF_VERSION | 10572 #ifdef LESSTIF_VERSION |
10570 yes | 10573 yes |
10571 #endif | 10574 #endif |
10934 | 10937 |
10935 fi | 10938 fi |
10936 | 10939 |
10937 if test "$with_mule" = "yes" ; then | 10940 if test "$with_mule" = "yes" ; then |
10938 echo "checking for Mule-related features" 1>&6 | 10941 echo "checking for Mule-related features" 1>&6 |
10939 echo "configure:10940: checking for Mule-related features" >&5 | 10942 echo "configure:10943: checking for Mule-related features" >&5 |
10940 { test "$extra_verbose" = "yes" && cat << \EOF | 10943 { test "$extra_verbose" = "yes" && cat << \EOF |
10941 Defining MULE | 10944 Defining MULE |
10942 EOF | 10945 EOF |
10943 cat >> confdefs.h <<\EOF | 10946 cat >> confdefs.h <<\EOF |
10944 #define MULE 1 | 10947 #define MULE 1 |
10948 | 10951 |
10949 for ac_hdr in libintl.h | 10952 for ac_hdr in libintl.h |
10950 do | 10953 do |
10951 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 10954 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10952 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 10955 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10953 echo "configure:10954: checking for $ac_hdr" >&5 | 10956 echo "configure:10957: checking for $ac_hdr" >&5 |
10954 | 10957 |
10955 cat > conftest.$ac_ext <<EOF | 10958 cat > conftest.$ac_ext <<EOF |
10956 #line 10957 "configure" | 10959 #line 10960 "configure" |
10957 #include "confdefs.h" | 10960 #include "confdefs.h" |
10958 #include <$ac_hdr> | 10961 #include <$ac_hdr> |
10959 EOF | 10962 EOF |
10960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10963 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10961 { (eval echo configure:10962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10964 { (eval echo configure:10965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10965 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10963 if test -z "$ac_err"; then | 10966 if test -z "$ac_err"; then |
10964 rm -rf conftest* | 10967 rm -rf conftest* |
10965 eval "ac_cv_header_$ac_safe=yes" | 10968 eval "ac_cv_header_$ac_safe=yes" |
10966 else | 10969 else |
10987 fi | 10990 fi |
10988 done | 10991 done |
10989 | 10992 |
10990 | 10993 |
10991 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 10994 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
10992 echo "configure:10993: checking for strerror in -lintl" >&5 | 10995 echo "configure:10996: checking for strerror in -lintl" >&5 |
10993 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 10996 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
10994 | 10997 |
10995 xe_check_libs=" -lintl " | 10998 xe_check_libs=" -lintl " |
10996 cat > conftest.$ac_ext <<EOF | 10999 cat > conftest.$ac_ext <<EOF |
10997 #line 10998 "configure" | 11000 #line 11001 "configure" |
10998 #include "confdefs.h" | 11001 #include "confdefs.h" |
10999 /* Override any gcc2 internal prototype to avoid an error. */ | 11002 /* Override any gcc2 internal prototype to avoid an error. */ |
11000 /* We use char because int might match the return type of a gcc2 | 11003 /* We use char because int might match the return type of a gcc2 |
11001 builtin and then its argument prototype would still apply. */ | 11004 builtin and then its argument prototype would still apply. */ |
11002 char strerror(); | 11005 char strerror(); |
11003 | 11006 |
11004 int main() { | 11007 int main() { |
11005 strerror() | 11008 strerror() |
11006 ; return 0; } | 11009 ; return 0; } |
11007 EOF | 11010 EOF |
11008 if { (eval echo configure:11009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11011 if { (eval echo configure:11012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11009 rm -rf conftest* | 11012 rm -rf conftest* |
11010 eval "ac_cv_lib_$ac_lib_var=yes" | 11013 eval "ac_cv_lib_$ac_lib_var=yes" |
11011 else | 11014 else |
11012 echo "configure: failed program was:" >&5 | 11015 echo "configure: failed program was:" >&5 |
11013 cat conftest.$ac_ext >&5 | 11016 cat conftest.$ac_ext >&5 |
11036 fi | 11039 fi |
11037 | 11040 |
11038 | 11041 |
11039 | 11042 |
11040 echo "checking for Mule input methods" 1>&6 | 11043 echo "checking for Mule input methods" 1>&6 |
11041 echo "configure:11042: checking for Mule input methods" >&5 | 11044 echo "configure:11045: checking for Mule input methods" >&5 |
11042 case "$with_xim" in "" | "yes" ) | 11045 case "$with_xim" in "" | "yes" ) |
11043 echo "checking for XIM" 1>&6 | 11046 echo "checking for XIM" 1>&6 |
11044 echo "configure:11045: checking for XIM" >&5 | 11047 echo "configure:11048: checking for XIM" >&5 |
11045 | 11048 |
11046 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11049 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11047 echo "configure:11048: checking for XOpenIM in -lX11" >&5 | 11050 echo "configure:11051: checking for XOpenIM in -lX11" >&5 |
11048 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11051 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11049 | 11052 |
11050 xe_check_libs=" -lX11 " | 11053 xe_check_libs=" -lX11 " |
11051 cat > conftest.$ac_ext <<EOF | 11054 cat > conftest.$ac_ext <<EOF |
11052 #line 11053 "configure" | 11055 #line 11056 "configure" |
11053 #include "confdefs.h" | 11056 #include "confdefs.h" |
11054 /* Override any gcc2 internal prototype to avoid an error. */ | 11057 /* Override any gcc2 internal prototype to avoid an error. */ |
11055 /* We use char because int might match the return type of a gcc2 | 11058 /* We use char because int might match the return type of a gcc2 |
11056 builtin and then its argument prototype would still apply. */ | 11059 builtin and then its argument prototype would still apply. */ |
11057 char XOpenIM(); | 11060 char XOpenIM(); |
11058 | 11061 |
11059 int main() { | 11062 int main() { |
11060 XOpenIM() | 11063 XOpenIM() |
11061 ; return 0; } | 11064 ; return 0; } |
11062 EOF | 11065 EOF |
11063 if { (eval echo configure:11064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11066 if { (eval echo configure:11067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11064 rm -rf conftest* | 11067 rm -rf conftest* |
11065 eval "ac_cv_lib_$ac_lib_var=yes" | 11068 eval "ac_cv_lib_$ac_lib_var=yes" |
11066 else | 11069 else |
11067 echo "configure: failed program was:" >&5 | 11070 echo "configure: failed program was:" >&5 |
11068 cat conftest.$ac_ext >&5 | 11071 cat conftest.$ac_ext >&5 |
11082 | 11085 |
11083 | 11086 |
11084 if test "$have_motif $have_lesstif" = "yes no"; then | 11087 if test "$have_motif $have_lesstif" = "yes no"; then |
11085 | 11088 |
11086 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11089 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11087 echo "configure:11088: checking for XmImMbLookupString in -lXm" >&5 | 11090 echo "configure:11091: checking for XmImMbLookupString in -lXm" >&5 |
11088 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11091 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11089 | 11092 |
11090 xe_check_libs=" -lXm " | 11093 xe_check_libs=" -lXm " |
11091 cat > conftest.$ac_ext <<EOF | 11094 cat > conftest.$ac_ext <<EOF |
11092 #line 11093 "configure" | 11095 #line 11096 "configure" |
11093 #include "confdefs.h" | 11096 #include "confdefs.h" |
11094 /* Override any gcc2 internal prototype to avoid an error. */ | 11097 /* Override any gcc2 internal prototype to avoid an error. */ |
11095 /* We use char because int might match the return type of a gcc2 | 11098 /* We use char because int might match the return type of a gcc2 |
11096 builtin and then its argument prototype would still apply. */ | 11099 builtin and then its argument prototype would still apply. */ |
11097 char XmImMbLookupString(); | 11100 char XmImMbLookupString(); |
11098 | 11101 |
11099 int main() { | 11102 int main() { |
11100 XmImMbLookupString() | 11103 XmImMbLookupString() |
11101 ; return 0; } | 11104 ; return 0; } |
11102 EOF | 11105 EOF |
11103 if { (eval echo configure:11104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11106 if { (eval echo configure:11107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11104 rm -rf conftest* | 11107 rm -rf conftest* |
11105 eval "ac_cv_lib_$ac_lib_var=yes" | 11108 eval "ac_cv_lib_$ac_lib_var=yes" |
11106 else | 11109 else |
11107 echo "configure: failed program was:" >&5 | 11110 echo "configure: failed program was:" >&5 |
11108 cat conftest.$ac_ext >&5 | 11111 cat conftest.$ac_ext >&5 |
11163 fi | 11166 fi |
11164 fi | 11167 fi |
11165 | 11168 |
11166 if test "$with_xfs" = "yes" ; then | 11169 if test "$with_xfs" = "yes" ; then |
11167 echo "checking for XFontSet" 1>&6 | 11170 echo "checking for XFontSet" 1>&6 |
11168 echo "configure:11169: checking for XFontSet" >&5 | 11171 echo "configure:11172: checking for XFontSet" >&5 |
11169 | 11172 |
11170 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11173 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11171 echo "configure:11172: checking for XmbDrawString in -lX11" >&5 | 11174 echo "configure:11175: checking for XmbDrawString in -lX11" >&5 |
11172 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11175 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11173 | 11176 |
11174 xe_check_libs=" -lX11 " | 11177 xe_check_libs=" -lX11 " |
11175 cat > conftest.$ac_ext <<EOF | 11178 cat > conftest.$ac_ext <<EOF |
11176 #line 11177 "configure" | 11179 #line 11180 "configure" |
11177 #include "confdefs.h" | 11180 #include "confdefs.h" |
11178 /* Override any gcc2 internal prototype to avoid an error. */ | 11181 /* Override any gcc2 internal prototype to avoid an error. */ |
11179 /* We use char because int might match the return type of a gcc2 | 11182 /* We use char because int might match the return type of a gcc2 |
11180 builtin and then its argument prototype would still apply. */ | 11183 builtin and then its argument prototype would still apply. */ |
11181 char XmbDrawString(); | 11184 char XmbDrawString(); |
11182 | 11185 |
11183 int main() { | 11186 int main() { |
11184 XmbDrawString() | 11187 XmbDrawString() |
11185 ; return 0; } | 11188 ; return 0; } |
11186 EOF | 11189 EOF |
11187 if { (eval echo configure:11188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11190 if { (eval echo configure:11191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11188 rm -rf conftest* | 11191 rm -rf conftest* |
11189 eval "ac_cv_lib_$ac_lib_var=yes" | 11192 eval "ac_cv_lib_$ac_lib_var=yes" |
11190 else | 11193 else |
11191 echo "configure: failed program was:" >&5 | 11194 echo "configure: failed program was:" >&5 |
11192 cat conftest.$ac_ext >&5 | 11195 cat conftest.$ac_ext >&5 |
11222 fi | 11225 fi |
11223 fi | 11226 fi |
11224 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11227 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11225 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11228 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11226 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11229 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11227 echo "configure:11228: checking for wnn/jllib.h" >&5 | 11230 echo "configure:11231: checking for wnn/jllib.h" >&5 |
11228 | 11231 |
11229 cat > conftest.$ac_ext <<EOF | 11232 cat > conftest.$ac_ext <<EOF |
11230 #line 11231 "configure" | 11233 #line 11234 "configure" |
11231 #include "confdefs.h" | 11234 #include "confdefs.h" |
11232 #include <wnn/jllib.h> | 11235 #include <wnn/jllib.h> |
11233 EOF | 11236 EOF |
11234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11237 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11235 { (eval echo configure:11236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11238 { (eval echo configure:11239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11239 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11237 if test -z "$ac_err"; then | 11240 if test -z "$ac_err"; then |
11238 rm -rf conftest* | 11241 rm -rf conftest* |
11239 eval "ac_cv_header_$ac_safe=yes" | 11242 eval "ac_cv_header_$ac_safe=yes" |
11240 else | 11243 else |
11253 with_wnn=no | 11256 with_wnn=no |
11254 fi | 11257 fi |
11255 } | 11258 } |
11256 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11259 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11257 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11260 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11258 echo "configure:11259: checking for wnn/commonhd.h" >&5 | 11261 echo "configure:11262: checking for wnn/commonhd.h" >&5 |
11259 | 11262 |
11260 cat > conftest.$ac_ext <<EOF | 11263 cat > conftest.$ac_ext <<EOF |
11261 #line 11262 "configure" | 11264 #line 11265 "configure" |
11262 #include "confdefs.h" | 11265 #include "confdefs.h" |
11263 #include <wnn/commonhd.h> | 11266 #include <wnn/commonhd.h> |
11264 EOF | 11267 EOF |
11265 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11266 { (eval echo configure:11267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11269 { (eval echo configure:11270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11267 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11268 if test -z "$ac_err"; then | 11271 if test -z "$ac_err"; then |
11269 rm -rf conftest* | 11272 rm -rf conftest* |
11270 eval "ac_cv_header_$ac_safe=yes" | 11273 eval "ac_cv_header_$ac_safe=yes" |
11271 else | 11274 else |
11286 } | 11289 } |
11287 if test "$with_wnn" != "no"; then | 11290 if test "$with_wnn" != "no"; then |
11288 for ac_func in crypt | 11291 for ac_func in crypt |
11289 do | 11292 do |
11290 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11293 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11291 echo "configure:11292: checking for $ac_func" >&5 | 11294 echo "configure:11295: checking for $ac_func" >&5 |
11292 | 11295 |
11293 cat > conftest.$ac_ext <<EOF | 11296 cat > conftest.$ac_ext <<EOF |
11294 #line 11295 "configure" | 11297 #line 11298 "configure" |
11295 #include "confdefs.h" | 11298 #include "confdefs.h" |
11296 /* System header to define __stub macros and hopefully few prototypes, | 11299 /* System header to define __stub macros and hopefully few prototypes, |
11297 which can conflict with char $ac_func(); below. */ | 11300 which can conflict with char $ac_func(); below. */ |
11298 #include <assert.h> | 11301 #include <assert.h> |
11299 /* Override any gcc2 internal prototype to avoid an error. */ | 11302 /* Override any gcc2 internal prototype to avoid an error. */ |
11312 $ac_func(); | 11315 $ac_func(); |
11313 #endif | 11316 #endif |
11314 | 11317 |
11315 ; return 0; } | 11318 ; return 0; } |
11316 EOF | 11319 EOF |
11317 if { (eval echo configure:11318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11320 if { (eval echo configure:11321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11318 rm -rf conftest* | 11321 rm -rf conftest* |
11319 eval "ac_cv_func_$ac_func=yes" | 11322 eval "ac_cv_func_$ac_func=yes" |
11320 else | 11323 else |
11321 echo "configure: failed program was:" >&5 | 11324 echo "configure: failed program was:" >&5 |
11322 cat conftest.$ac_ext >&5 | 11325 cat conftest.$ac_ext >&5 |
11341 fi | 11344 fi |
11342 done | 11345 done |
11343 | 11346 |
11344 test "$ac_cv_func_crypt" != "yes" && { | 11347 test "$ac_cv_func_crypt" != "yes" && { |
11345 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11348 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11346 echo "configure:11347: checking for crypt in -lcrypt" >&5 | 11349 echo "configure:11350: checking for crypt in -lcrypt" >&5 |
11347 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11350 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11348 | 11351 |
11349 xe_check_libs=" -lcrypt " | 11352 xe_check_libs=" -lcrypt " |
11350 cat > conftest.$ac_ext <<EOF | 11353 cat > conftest.$ac_ext <<EOF |
11351 #line 11352 "configure" | 11354 #line 11355 "configure" |
11352 #include "confdefs.h" | 11355 #include "confdefs.h" |
11353 /* Override any gcc2 internal prototype to avoid an error. */ | 11356 /* Override any gcc2 internal prototype to avoid an error. */ |
11354 /* We use char because int might match the return type of a gcc2 | 11357 /* We use char because int might match the return type of a gcc2 |
11355 builtin and then its argument prototype would still apply. */ | 11358 builtin and then its argument prototype would still apply. */ |
11356 char crypt(); | 11359 char crypt(); |
11357 | 11360 |
11358 int main() { | 11361 int main() { |
11359 crypt() | 11362 crypt() |
11360 ; return 0; } | 11363 ; return 0; } |
11361 EOF | 11364 EOF |
11362 if { (eval echo configure:11363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11365 if { (eval echo configure:11366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11363 rm -rf conftest* | 11366 rm -rf conftest* |
11364 eval "ac_cv_lib_$ac_lib_var=yes" | 11367 eval "ac_cv_lib_$ac_lib_var=yes" |
11365 else | 11368 else |
11366 echo "configure: failed program was:" >&5 | 11369 echo "configure: failed program was:" >&5 |
11367 cat conftest.$ac_ext >&5 | 11370 cat conftest.$ac_ext >&5 |
11392 } | 11395 } |
11393 fi | 11396 fi |
11394 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11397 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11395 | 11398 |
11396 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11399 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11397 echo "configure:11398: checking for jl_dic_list_e in -lwnn" >&5 | 11400 echo "configure:11401: checking for jl_dic_list_e in -lwnn" >&5 |
11398 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11401 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11399 | 11402 |
11400 xe_check_libs=" -lwnn " | 11403 xe_check_libs=" -lwnn " |
11401 cat > conftest.$ac_ext <<EOF | 11404 cat > conftest.$ac_ext <<EOF |
11402 #line 11403 "configure" | 11405 #line 11406 "configure" |
11403 #include "confdefs.h" | 11406 #include "confdefs.h" |
11404 /* Override any gcc2 internal prototype to avoid an error. */ | 11407 /* Override any gcc2 internal prototype to avoid an error. */ |
11405 /* We use char because int might match the return type of a gcc2 | 11408 /* We use char because int might match the return type of a gcc2 |
11406 builtin and then its argument prototype would still apply. */ | 11409 builtin and then its argument prototype would still apply. */ |
11407 char jl_dic_list_e(); | 11410 char jl_dic_list_e(); |
11408 | 11411 |
11409 int main() { | 11412 int main() { |
11410 jl_dic_list_e() | 11413 jl_dic_list_e() |
11411 ; return 0; } | 11414 ; return 0; } |
11412 EOF | 11415 EOF |
11413 if { (eval echo configure:11414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11416 if { (eval echo configure:11417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11414 rm -rf conftest* | 11417 rm -rf conftest* |
11415 eval "ac_cv_lib_$ac_lib_var=yes" | 11418 eval "ac_cv_lib_$ac_lib_var=yes" |
11416 else | 11419 else |
11417 echo "configure: failed program was:" >&5 | 11420 echo "configure: failed program was:" >&5 |
11418 cat conftest.$ac_ext >&5 | 11421 cat conftest.$ac_ext >&5 |
11426 echo "$ac_t""yes" 1>&6 | 11429 echo "$ac_t""yes" 1>&6 |
11427 libwnn=wnn | 11430 libwnn=wnn |
11428 else | 11431 else |
11429 echo "$ac_t""no" 1>&6 | 11432 echo "$ac_t""no" 1>&6 |
11430 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11433 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11431 echo "configure:11432: checking for jl_dic_list_e in -lwnn4" >&5 | 11434 echo "configure:11435: checking for jl_dic_list_e in -lwnn4" >&5 |
11432 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11435 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11433 | 11436 |
11434 xe_check_libs=" -lwnn4 " | 11437 xe_check_libs=" -lwnn4 " |
11435 cat > conftest.$ac_ext <<EOF | 11438 cat > conftest.$ac_ext <<EOF |
11436 #line 11437 "configure" | 11439 #line 11440 "configure" |
11437 #include "confdefs.h" | 11440 #include "confdefs.h" |
11438 /* Override any gcc2 internal prototype to avoid an error. */ | 11441 /* Override any gcc2 internal prototype to avoid an error. */ |
11439 /* We use char because int might match the return type of a gcc2 | 11442 /* We use char because int might match the return type of a gcc2 |
11440 builtin and then its argument prototype would still apply. */ | 11443 builtin and then its argument prototype would still apply. */ |
11441 char jl_dic_list_e(); | 11444 char jl_dic_list_e(); |
11442 | 11445 |
11443 int main() { | 11446 int main() { |
11444 jl_dic_list_e() | 11447 jl_dic_list_e() |
11445 ; return 0; } | 11448 ; return 0; } |
11446 EOF | 11449 EOF |
11447 if { (eval echo configure:11448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11450 if { (eval echo configure:11451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11448 rm -rf conftest* | 11451 rm -rf conftest* |
11449 eval "ac_cv_lib_$ac_lib_var=yes" | 11452 eval "ac_cv_lib_$ac_lib_var=yes" |
11450 else | 11453 else |
11451 echo "configure: failed program was:" >&5 | 11454 echo "configure: failed program was:" >&5 |
11452 cat conftest.$ac_ext >&5 | 11455 cat conftest.$ac_ext >&5 |
11460 echo "$ac_t""yes" 1>&6 | 11463 echo "$ac_t""yes" 1>&6 |
11461 libwnn=wnn4 | 11464 libwnn=wnn4 |
11462 else | 11465 else |
11463 echo "$ac_t""no" 1>&6 | 11466 echo "$ac_t""no" 1>&6 |
11464 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11467 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11465 echo "configure:11466: checking for jl_dic_list_e in -lwnn6" >&5 | 11468 echo "configure:11469: checking for jl_dic_list_e in -lwnn6" >&5 |
11466 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11469 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11467 | 11470 |
11468 xe_check_libs=" -lwnn6 " | 11471 xe_check_libs=" -lwnn6 " |
11469 cat > conftest.$ac_ext <<EOF | 11472 cat > conftest.$ac_ext <<EOF |
11470 #line 11471 "configure" | 11473 #line 11474 "configure" |
11471 #include "confdefs.h" | 11474 #include "confdefs.h" |
11472 /* Override any gcc2 internal prototype to avoid an error. */ | 11475 /* Override any gcc2 internal prototype to avoid an error. */ |
11473 /* We use char because int might match the return type of a gcc2 | 11476 /* We use char because int might match the return type of a gcc2 |
11474 builtin and then its argument prototype would still apply. */ | 11477 builtin and then its argument prototype would still apply. */ |
11475 char jl_dic_list_e(); | 11478 char jl_dic_list_e(); |
11476 | 11479 |
11477 int main() { | 11480 int main() { |
11478 jl_dic_list_e() | 11481 jl_dic_list_e() |
11479 ; return 0; } | 11482 ; return 0; } |
11480 EOF | 11483 EOF |
11481 if { (eval echo configure:11482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11484 if { (eval echo configure:11485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11482 rm -rf conftest* | 11485 rm -rf conftest* |
11483 eval "ac_cv_lib_$ac_lib_var=yes" | 11486 eval "ac_cv_lib_$ac_lib_var=yes" |
11484 else | 11487 else |
11485 echo "configure: failed program was:" >&5 | 11488 echo "configure: failed program was:" >&5 |
11486 cat conftest.$ac_ext >&5 | 11489 cat conftest.$ac_ext >&5 |
11494 echo "$ac_t""yes" 1>&6 | 11497 echo "$ac_t""yes" 1>&6 |
11495 libwnn=wnn6 | 11498 libwnn=wnn6 |
11496 else | 11499 else |
11497 echo "$ac_t""no" 1>&6 | 11500 echo "$ac_t""no" 1>&6 |
11498 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11501 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11499 echo "configure:11500: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11502 echo "configure:11503: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11500 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11503 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11501 | 11504 |
11502 xe_check_libs=" -lwnn6_fromsrc " | 11505 xe_check_libs=" -lwnn6_fromsrc " |
11503 cat > conftest.$ac_ext <<EOF | 11506 cat > conftest.$ac_ext <<EOF |
11504 #line 11505 "configure" | 11507 #line 11508 "configure" |
11505 #include "confdefs.h" | 11508 #include "confdefs.h" |
11506 /* Override any gcc2 internal prototype to avoid an error. */ | 11509 /* Override any gcc2 internal prototype to avoid an error. */ |
11507 /* We use char because int might match the return type of a gcc2 | 11510 /* We use char because int might match the return type of a gcc2 |
11508 builtin and then its argument prototype would still apply. */ | 11511 builtin and then its argument prototype would still apply. */ |
11509 char dic_list_e(); | 11512 char dic_list_e(); |
11510 | 11513 |
11511 int main() { | 11514 int main() { |
11512 dic_list_e() | 11515 dic_list_e() |
11513 ; return 0; } | 11516 ; return 0; } |
11514 EOF | 11517 EOF |
11515 if { (eval echo configure:11516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11518 if { (eval echo configure:11519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11516 rm -rf conftest* | 11519 rm -rf conftest* |
11517 eval "ac_cv_lib_$ac_lib_var=yes" | 11520 eval "ac_cv_lib_$ac_lib_var=yes" |
11518 else | 11521 else |
11519 echo "configure: failed program was:" >&5 | 11522 echo "configure: failed program was:" >&5 |
11520 cat conftest.$ac_ext >&5 | 11523 cat conftest.$ac_ext >&5 |
11555 | 11558 |
11556 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11559 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11557 if test "$with_wnn6" != "no"; then | 11560 if test "$with_wnn6" != "no"; then |
11558 | 11561 |
11559 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11562 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11560 echo "configure:11561: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11563 echo "configure:11564: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11561 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11564 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11562 | 11565 |
11563 xe_check_libs=" -l$libwnn " | 11566 xe_check_libs=" -l$libwnn " |
11564 cat > conftest.$ac_ext <<EOF | 11567 cat > conftest.$ac_ext <<EOF |
11565 #line 11566 "configure" | 11568 #line 11569 "configure" |
11566 #include "confdefs.h" | 11569 #include "confdefs.h" |
11567 /* Override any gcc2 internal prototype to avoid an error. */ | 11570 /* Override any gcc2 internal prototype to avoid an error. */ |
11568 /* We use char because int might match the return type of a gcc2 | 11571 /* We use char because int might match the return type of a gcc2 |
11569 builtin and then its argument prototype would still apply. */ | 11572 builtin and then its argument prototype would still apply. */ |
11570 char jl_fi_dic_list(); | 11573 char jl_fi_dic_list(); |
11571 | 11574 |
11572 int main() { | 11575 int main() { |
11573 jl_fi_dic_list() | 11576 jl_fi_dic_list() |
11574 ; return 0; } | 11577 ; return 0; } |
11575 EOF | 11578 EOF |
11576 if { (eval echo configure:11577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11579 if { (eval echo configure:11580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11577 rm -rf conftest* | 11580 rm -rf conftest* |
11578 eval "ac_cv_lib_$ac_lib_var=yes" | 11581 eval "ac_cv_lib_$ac_lib_var=yes" |
11579 else | 11582 else |
11580 echo "configure: failed program was:" >&5 | 11583 echo "configure: failed program was:" >&5 |
11581 cat conftest.$ac_ext >&5 | 11584 cat conftest.$ac_ext >&5 |
11606 | 11609 |
11607 canna_includes_found=no | 11610 canna_includes_found=no |
11608 if test "$with_canna" != "no"; then | 11611 if test "$with_canna" != "no"; then |
11609 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11612 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11610 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11613 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11611 echo "configure:11612: checking for canna/jrkanji.h" >&5 | 11614 echo "configure:11615: checking for canna/jrkanji.h" >&5 |
11612 | 11615 |
11613 cat > conftest.$ac_ext <<EOF | 11616 cat > conftest.$ac_ext <<EOF |
11614 #line 11615 "configure" | 11617 #line 11618 "configure" |
11615 #include "confdefs.h" | 11618 #include "confdefs.h" |
11616 #include <canna/jrkanji.h> | 11619 #include <canna/jrkanji.h> |
11617 EOF | 11620 EOF |
11618 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11621 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11619 { (eval echo configure:11620: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11622 { (eval echo configure:11623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11620 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11623 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11621 if test -z "$ac_err"; then | 11624 if test -z "$ac_err"; then |
11622 rm -rf conftest* | 11625 rm -rf conftest* |
11623 eval "ac_cv_header_$ac_safe=yes" | 11626 eval "ac_cv_header_$ac_safe=yes" |
11624 else | 11627 else |
11641 -d "/usr/local/canna/include"; then | 11644 -d "/usr/local/canna/include"; then |
11642 save_c_switch_site="$c_switch_site" | 11645 save_c_switch_site="$c_switch_site" |
11643 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11646 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11644 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11647 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11645 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11648 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11646 echo "configure:11647: checking for canna/jrkanji.h" >&5 | 11649 echo "configure:11650: checking for canna/jrkanji.h" >&5 |
11647 | 11650 |
11648 cat > conftest.$ac_ext <<EOF | 11651 cat > conftest.$ac_ext <<EOF |
11649 #line 11650 "configure" | 11652 #line 11653 "configure" |
11650 #include "confdefs.h" | 11653 #include "confdefs.h" |
11651 #include <canna/jrkanji.h> | 11654 #include <canna/jrkanji.h> |
11652 EOF | 11655 EOF |
11653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11654 { (eval echo configure:11655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11657 { (eval echo configure:11658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11656 if test -z "$ac_err"; then | 11659 if test -z "$ac_err"; then |
11657 rm -rf conftest* | 11660 rm -rf conftest* |
11658 eval "ac_cv_header_$ac_safe=yes" | 11661 eval "ac_cv_header_$ac_safe=yes" |
11659 else | 11662 else |
11677 fi | 11680 fi |
11678 fi | 11681 fi |
11679 | 11682 |
11680 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11683 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11681 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11684 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11682 echo "configure:11683: checking for canna/RK.h" >&5 | 11685 echo "configure:11686: checking for canna/RK.h" >&5 |
11683 | 11686 |
11684 cat > conftest.$ac_ext <<EOF | 11687 cat > conftest.$ac_ext <<EOF |
11685 #line 11686 "configure" | 11688 #line 11689 "configure" |
11686 #include "confdefs.h" | 11689 #include "confdefs.h" |
11687 #include <canna/RK.h> | 11690 #include <canna/RK.h> |
11688 EOF | 11691 EOF |
11689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11690 { (eval echo configure:11691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11693 { (eval echo configure:11694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11692 if test -z "$ac_err"; then | 11695 if test -z "$ac_err"; then |
11693 rm -rf conftest* | 11696 rm -rf conftest* |
11694 eval "ac_cv_header_$ac_safe=yes" | 11697 eval "ac_cv_header_$ac_safe=yes" |
11695 else | 11698 else |
11708 with_canna=no | 11711 with_canna=no |
11709 fi | 11712 fi |
11710 } | 11713 } |
11711 test -z "$with_canna" && { | 11714 test -z "$with_canna" && { |
11712 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11715 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11713 echo "configure:11714: checking for RkBgnBun in -lRKC" >&5 | 11716 echo "configure:11717: checking for RkBgnBun in -lRKC" >&5 |
11714 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11717 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11715 | 11718 |
11716 xe_check_libs=" -lRKC " | 11719 xe_check_libs=" -lRKC " |
11717 cat > conftest.$ac_ext <<EOF | 11720 cat > conftest.$ac_ext <<EOF |
11718 #line 11719 "configure" | 11721 #line 11722 "configure" |
11719 #include "confdefs.h" | 11722 #include "confdefs.h" |
11720 /* Override any gcc2 internal prototype to avoid an error. */ | 11723 /* Override any gcc2 internal prototype to avoid an error. */ |
11721 /* We use char because int might match the return type of a gcc2 | 11724 /* We use char because int might match the return type of a gcc2 |
11722 builtin and then its argument prototype would still apply. */ | 11725 builtin and then its argument prototype would still apply. */ |
11723 char RkBgnBun(); | 11726 char RkBgnBun(); |
11724 | 11727 |
11725 int main() { | 11728 int main() { |
11726 RkBgnBun() | 11729 RkBgnBun() |
11727 ; return 0; } | 11730 ; return 0; } |
11728 EOF | 11731 EOF |
11729 if { (eval echo configure:11730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11732 if { (eval echo configure:11733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11730 rm -rf conftest* | 11733 rm -rf conftest* |
11731 eval "ac_cv_lib_$ac_lib_var=yes" | 11734 eval "ac_cv_lib_$ac_lib_var=yes" |
11732 else | 11735 else |
11733 echo "configure: failed program was:" >&5 | 11736 echo "configure: failed program was:" >&5 |
11734 cat conftest.$ac_ext >&5 | 11737 cat conftest.$ac_ext >&5 |
11747 fi | 11750 fi |
11748 | 11751 |
11749 } | 11752 } |
11750 test -z "$with_canna" && { | 11753 test -z "$with_canna" && { |
11751 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11754 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11752 echo "configure:11753: checking for jrKanjiControl in -lcanna" >&5 | 11755 echo "configure:11756: checking for jrKanjiControl in -lcanna" >&5 |
11753 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11756 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11754 | 11757 |
11755 xe_check_libs=" -lcanna " | 11758 xe_check_libs=" -lcanna " |
11756 cat > conftest.$ac_ext <<EOF | 11759 cat > conftest.$ac_ext <<EOF |
11757 #line 11758 "configure" | 11760 #line 11761 "configure" |
11758 #include "confdefs.h" | 11761 #include "confdefs.h" |
11759 /* Override any gcc2 internal prototype to avoid an error. */ | 11762 /* Override any gcc2 internal prototype to avoid an error. */ |
11760 /* We use char because int might match the return type of a gcc2 | 11763 /* We use char because int might match the return type of a gcc2 |
11761 builtin and then its argument prototype would still apply. */ | 11764 builtin and then its argument prototype would still apply. */ |
11762 char jrKanjiControl(); | 11765 char jrKanjiControl(); |
11763 | 11766 |
11764 int main() { | 11767 int main() { |
11765 jrKanjiControl() | 11768 jrKanjiControl() |
11766 ; return 0; } | 11769 ; return 0; } |
11767 EOF | 11770 EOF |
11768 if { (eval echo configure:11769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11771 if { (eval echo configure:11772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11769 rm -rf conftest* | 11772 rm -rf conftest* |
11770 eval "ac_cv_lib_$ac_lib_var=yes" | 11773 eval "ac_cv_lib_$ac_lib_var=yes" |
11771 else | 11774 else |
11772 echo "configure: failed program was:" >&5 | 11775 echo "configure: failed program was:" >&5 |
11773 cat conftest.$ac_ext >&5 | 11776 cat conftest.$ac_ext >&5 |
11809 | 11812 |
11810 if test "$need_motif" = "yes" ; then | 11813 if test "$need_motif" = "yes" ; then |
11811 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11814 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11812 | 11815 |
11813 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11816 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11814 echo "configure:11815: checking for layout_object_getvalue in -li18n" >&5 | 11817 echo "configure:11818: checking for layout_object_getvalue in -li18n" >&5 |
11815 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11818 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11816 | 11819 |
11817 xe_check_libs=" -li18n " | 11820 xe_check_libs=" -li18n " |
11818 cat > conftest.$ac_ext <<EOF | 11821 cat > conftest.$ac_ext <<EOF |
11819 #line 11820 "configure" | 11822 #line 11823 "configure" |
11820 #include "confdefs.h" | 11823 #include "confdefs.h" |
11821 /* Override any gcc2 internal prototype to avoid an error. */ | 11824 /* Override any gcc2 internal prototype to avoid an error. */ |
11822 /* We use char because int might match the return type of a gcc2 | 11825 /* We use char because int might match the return type of a gcc2 |
11823 builtin and then its argument prototype would still apply. */ | 11826 builtin and then its argument prototype would still apply. */ |
11824 char layout_object_getvalue(); | 11827 char layout_object_getvalue(); |
11825 | 11828 |
11826 int main() { | 11829 int main() { |
11827 layout_object_getvalue() | 11830 layout_object_getvalue() |
11828 ; return 0; } | 11831 ; return 0; } |
11829 EOF | 11832 EOF |
11830 if { (eval echo configure:11831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11833 if { (eval echo configure:11834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11831 rm -rf conftest* | 11834 rm -rf conftest* |
11832 eval "ac_cv_lib_$ac_lib_var=yes" | 11835 eval "ac_cv_lib_$ac_lib_var=yes" |
11833 else | 11836 else |
11834 echo "configure: failed program was:" >&5 | 11837 echo "configure: failed program was:" >&5 |
11835 cat conftest.$ac_ext >&5 | 11838 cat conftest.$ac_ext >&5 |
11912 | 11915 |
11913 | 11916 |
11914 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 | 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 |
11915 do | 11918 do |
11916 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11917 echo "configure:11918: checking for $ac_func" >&5 | 11920 echo "configure:11921: checking for $ac_func" >&5 |
11918 | 11921 |
11919 cat > conftest.$ac_ext <<EOF | 11922 cat > conftest.$ac_ext <<EOF |
11920 #line 11921 "configure" | 11923 #line 11924 "configure" |
11921 #include "confdefs.h" | 11924 #include "confdefs.h" |
11922 /* System header to define __stub macros and hopefully few prototypes, | 11925 /* System header to define __stub macros and hopefully few prototypes, |
11923 which can conflict with char $ac_func(); below. */ | 11926 which can conflict with char $ac_func(); below. */ |
11924 #include <assert.h> | 11927 #include <assert.h> |
11925 /* Override any gcc2 internal prototype to avoid an error. */ | 11928 /* Override any gcc2 internal prototype to avoid an error. */ |
11938 $ac_func(); | 11941 $ac_func(); |
11939 #endif | 11942 #endif |
11940 | 11943 |
11941 ; return 0; } | 11944 ; return 0; } |
11942 EOF | 11945 EOF |
11943 if { (eval echo configure:11944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11946 if { (eval echo configure:11947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11944 rm -rf conftest* | 11947 rm -rf conftest* |
11945 eval "ac_cv_func_$ac_func=yes" | 11948 eval "ac_cv_func_$ac_func=yes" |
11946 else | 11949 else |
11947 echo "configure: failed program was:" >&5 | 11950 echo "configure: failed program was:" >&5 |
11948 cat conftest.$ac_ext >&5 | 11951 cat conftest.$ac_ext >&5 |
11979 | 11982 |
11980 | 11983 |
11981 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 11984 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
11982 do | 11985 do |
11983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11984 echo "configure:11985: checking for $ac_func" >&5 | 11987 echo "configure:11988: checking for $ac_func" >&5 |
11985 | 11988 |
11986 cat > conftest.$ac_ext <<EOF | 11989 cat > conftest.$ac_ext <<EOF |
11987 #line 11988 "configure" | 11990 #line 11991 "configure" |
11988 #include "confdefs.h" | 11991 #include "confdefs.h" |
11989 /* System header to define __stub macros and hopefully few prototypes, | 11992 /* System header to define __stub macros and hopefully few prototypes, |
11990 which can conflict with char $ac_func(); below. */ | 11993 which can conflict with char $ac_func(); below. */ |
11991 #include <assert.h> | 11994 #include <assert.h> |
11992 /* Override any gcc2 internal prototype to avoid an error. */ | 11995 /* Override any gcc2 internal prototype to avoid an error. */ |
12005 $ac_func(); | 12008 $ac_func(); |
12006 #endif | 12009 #endif |
12007 | 12010 |
12008 ; return 0; } | 12011 ; return 0; } |
12009 EOF | 12012 EOF |
12010 if { (eval echo configure:12011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12013 if { (eval echo configure:12014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12011 rm -rf conftest* | 12014 rm -rf conftest* |
12012 eval "ac_cv_func_$ac_func=yes" | 12015 eval "ac_cv_func_$ac_func=yes" |
12013 else | 12016 else |
12014 echo "configure: failed program was:" >&5 | 12017 echo "configure: failed program was:" >&5 |
12015 cat conftest.$ac_ext >&5 | 12018 cat conftest.$ac_ext >&5 |
12034 fi | 12037 fi |
12035 done | 12038 done |
12036 | 12039 |
12037 | 12040 |
12038 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12041 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12039 echo "configure:12040: checking for openpty" >&5 | 12042 echo "configure:12043: checking for openpty" >&5 |
12040 | 12043 |
12041 cat > conftest.$ac_ext <<EOF | 12044 cat > conftest.$ac_ext <<EOF |
12042 #line 12043 "configure" | 12045 #line 12046 "configure" |
12043 #include "confdefs.h" | 12046 #include "confdefs.h" |
12044 /* System header to define __stub macros and hopefully few prototypes, | 12047 /* System header to define __stub macros and hopefully few prototypes, |
12045 which can conflict with char openpty(); below. */ | 12048 which can conflict with char openpty(); below. */ |
12046 #include <assert.h> | 12049 #include <assert.h> |
12047 /* Override any gcc2 internal prototype to avoid an error. */ | 12050 /* Override any gcc2 internal prototype to avoid an error. */ |
12060 openpty(); | 12063 openpty(); |
12061 #endif | 12064 #endif |
12062 | 12065 |
12063 ; return 0; } | 12066 ; return 0; } |
12064 EOF | 12067 EOF |
12065 if { (eval echo configure:12066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12068 if { (eval echo configure:12069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12066 rm -rf conftest* | 12069 rm -rf conftest* |
12067 eval "ac_cv_func_openpty=yes" | 12070 eval "ac_cv_func_openpty=yes" |
12068 else | 12071 else |
12069 echo "configure: failed program was:" >&5 | 12072 echo "configure: failed program was:" >&5 |
12070 cat conftest.$ac_ext >&5 | 12073 cat conftest.$ac_ext >&5 |
12079 else | 12082 else |
12080 echo "$ac_t""no" 1>&6 | 12083 echo "$ac_t""no" 1>&6 |
12081 | 12084 |
12082 | 12085 |
12083 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12086 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12084 echo "configure:12085: checking for openpty in -lutil" >&5 | 12087 echo "configure:12088: checking for openpty in -lutil" >&5 |
12085 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12088 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12086 | 12089 |
12087 xe_check_libs=" -lutil " | 12090 xe_check_libs=" -lutil " |
12088 cat > conftest.$ac_ext <<EOF | 12091 cat > conftest.$ac_ext <<EOF |
12089 #line 12090 "configure" | 12092 #line 12093 "configure" |
12090 #include "confdefs.h" | 12093 #include "confdefs.h" |
12091 /* Override any gcc2 internal prototype to avoid an error. */ | 12094 /* Override any gcc2 internal prototype to avoid an error. */ |
12092 /* We use char because int might match the return type of a gcc2 | 12095 /* We use char because int might match the return type of a gcc2 |
12093 builtin and then its argument prototype would still apply. */ | 12096 builtin and then its argument prototype would still apply. */ |
12094 char openpty(); | 12097 char openpty(); |
12095 | 12098 |
12096 int main() { | 12099 int main() { |
12097 openpty() | 12100 openpty() |
12098 ; return 0; } | 12101 ; return 0; } |
12099 EOF | 12102 EOF |
12100 if { (eval echo configure:12101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12103 if { (eval echo configure:12104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12101 rm -rf conftest* | 12104 rm -rf conftest* |
12102 eval "ac_cv_lib_$ac_lib_var=yes" | 12105 eval "ac_cv_lib_$ac_lib_var=yes" |
12103 else | 12106 else |
12104 echo "configure: failed program was:" >&5 | 12107 echo "configure: failed program was:" >&5 |
12105 cat conftest.$ac_ext >&5 | 12108 cat conftest.$ac_ext >&5 |
12130 | 12133 |
12131 for ac_hdr in libutil.h util.h | 12134 for ac_hdr in libutil.h util.h |
12132 do | 12135 do |
12133 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12136 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12134 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12137 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12135 echo "configure:12136: checking for $ac_hdr" >&5 | 12138 echo "configure:12139: checking for $ac_hdr" >&5 |
12136 | 12139 |
12137 cat > conftest.$ac_ext <<EOF | 12140 cat > conftest.$ac_ext <<EOF |
12138 #line 12139 "configure" | 12141 #line 12142 "configure" |
12139 #include "confdefs.h" | 12142 #include "confdefs.h" |
12140 #include <$ac_hdr> | 12143 #include <$ac_hdr> |
12141 EOF | 12144 EOF |
12142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12145 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12143 { (eval echo configure:12144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12146 { (eval echo configure:12147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12147 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12145 if test -z "$ac_err"; then | 12148 if test -z "$ac_err"; then |
12146 rm -rf conftest* | 12149 rm -rf conftest* |
12147 eval "ac_cv_header_$ac_safe=yes" | 12150 eval "ac_cv_header_$ac_safe=yes" |
12148 else | 12151 else |
12175 case "$opsys" in | 12178 case "$opsys" in |
12176 hpux*) for ac_hdr in sys/ptyio.h | 12179 hpux*) for ac_hdr in sys/ptyio.h |
12177 do | 12180 do |
12178 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12181 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12179 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12182 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12180 echo "configure:12181: checking for $ac_hdr" >&5 | 12183 echo "configure:12184: checking for $ac_hdr" >&5 |
12181 | 12184 |
12182 cat > conftest.$ac_ext <<EOF | 12185 cat > conftest.$ac_ext <<EOF |
12183 #line 12184 "configure" | 12186 #line 12187 "configure" |
12184 #include "confdefs.h" | 12187 #include "confdefs.h" |
12185 #include <$ac_hdr> | 12188 #include <$ac_hdr> |
12186 EOF | 12189 EOF |
12187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12190 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12188 { (eval echo configure:12189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12191 { (eval echo configure:12192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12192 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12190 if test -z "$ac_err"; then | 12193 if test -z "$ac_err"; then |
12191 rm -rf conftest* | 12194 rm -rf conftest* |
12192 eval "ac_cv_header_$ac_safe=yes" | 12195 eval "ac_cv_header_$ac_safe=yes" |
12193 else | 12196 else |
12216 ;; | 12219 ;; |
12217 *) for ac_hdr in pty.h | 12220 *) for ac_hdr in pty.h |
12218 do | 12221 do |
12219 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12222 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12220 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12223 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12221 echo "configure:12222: checking for $ac_hdr" >&5 | 12224 echo "configure:12225: checking for $ac_hdr" >&5 |
12222 | 12225 |
12223 cat > conftest.$ac_ext <<EOF | 12226 cat > conftest.$ac_ext <<EOF |
12224 #line 12225 "configure" | 12227 #line 12228 "configure" |
12225 #include "confdefs.h" | 12228 #include "confdefs.h" |
12226 #include <$ac_hdr> | 12229 #include <$ac_hdr> |
12227 EOF | 12230 EOF |
12228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12231 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12229 { (eval echo configure:12230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12232 { (eval echo configure:12233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12231 if test -z "$ac_err"; then | 12234 if test -z "$ac_err"; then |
12232 rm -rf conftest* | 12235 rm -rf conftest* |
12233 eval "ac_cv_header_$ac_safe=yes" | 12236 eval "ac_cv_header_$ac_safe=yes" |
12234 else | 12237 else |
12257 | 12260 |
12258 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12261 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12259 do | 12262 do |
12260 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12263 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12261 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12264 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12262 echo "configure:12263: checking for $ac_hdr" >&5 | 12265 echo "configure:12266: checking for $ac_hdr" >&5 |
12263 | 12266 |
12264 cat > conftest.$ac_ext <<EOF | 12267 cat > conftest.$ac_ext <<EOF |
12265 #line 12266 "configure" | 12268 #line 12269 "configure" |
12266 #include "confdefs.h" | 12269 #include "confdefs.h" |
12267 #include <$ac_hdr> | 12270 #include <$ac_hdr> |
12268 EOF | 12271 EOF |
12269 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12272 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12270 { (eval echo configure:12271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12273 { (eval echo configure:12274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12271 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12274 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12272 if test -z "$ac_err"; then | 12275 if test -z "$ac_err"; then |
12273 rm -rf conftest* | 12276 rm -rf conftest* |
12274 eval "ac_cv_header_$ac_safe=yes" | 12277 eval "ac_cv_header_$ac_safe=yes" |
12275 else | 12278 else |
12301 | 12304 |
12302 for ac_hdr in stropts.h | 12305 for ac_hdr in stropts.h |
12303 do | 12306 do |
12304 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12307 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12305 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12308 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12306 echo "configure:12307: checking for $ac_hdr" >&5 | 12309 echo "configure:12310: checking for $ac_hdr" >&5 |
12307 | 12310 |
12308 cat > conftest.$ac_ext <<EOF | 12311 cat > conftest.$ac_ext <<EOF |
12309 #line 12310 "configure" | 12312 #line 12313 "configure" |
12310 #include "confdefs.h" | 12313 #include "confdefs.h" |
12311 #include <$ac_hdr> | 12314 #include <$ac_hdr> |
12312 EOF | 12315 EOF |
12313 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12314 { (eval echo configure:12315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12317 { (eval echo configure:12318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12315 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12316 if test -z "$ac_err"; then | 12319 if test -z "$ac_err"; then |
12317 rm -rf conftest* | 12320 rm -rf conftest* |
12318 eval "ac_cv_header_$ac_safe=yes" | 12321 eval "ac_cv_header_$ac_safe=yes" |
12319 else | 12322 else |
12342 | 12345 |
12343 if test "$ac_cv_header_stropts_h" = "yes"; then | 12346 if test "$ac_cv_header_stropts_h" = "yes"; then |
12344 for ac_func in isastream | 12347 for ac_func in isastream |
12345 do | 12348 do |
12346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12349 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12347 echo "configure:12348: checking for $ac_func" >&5 | 12350 echo "configure:12351: checking for $ac_func" >&5 |
12348 | 12351 |
12349 cat > conftest.$ac_ext <<EOF | 12352 cat > conftest.$ac_ext <<EOF |
12350 #line 12351 "configure" | 12353 #line 12354 "configure" |
12351 #include "confdefs.h" | 12354 #include "confdefs.h" |
12352 /* System header to define __stub macros and hopefully few prototypes, | 12355 /* System header to define __stub macros and hopefully few prototypes, |
12353 which can conflict with char $ac_func(); below. */ | 12356 which can conflict with char $ac_func(); below. */ |
12354 #include <assert.h> | 12357 #include <assert.h> |
12355 /* Override any gcc2 internal prototype to avoid an error. */ | 12358 /* Override any gcc2 internal prototype to avoid an error. */ |
12368 $ac_func(); | 12371 $ac_func(); |
12369 #endif | 12372 #endif |
12370 | 12373 |
12371 ; return 0; } | 12374 ; return 0; } |
12372 EOF | 12375 EOF |
12373 if { (eval echo configure:12374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12376 if { (eval echo configure:12377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12374 rm -rf conftest* | 12377 rm -rf conftest* |
12375 eval "ac_cv_func_$ac_func=yes" | 12378 eval "ac_cv_func_$ac_func=yes" |
12376 else | 12379 else |
12377 echo "configure: failed program was:" >&5 | 12380 echo "configure: failed program was:" >&5 |
12378 cat conftest.$ac_ext >&5 | 12381 cat conftest.$ac_ext >&5 |
12399 | 12402 |
12400 for ac_hdr in strtio.h | 12403 for ac_hdr in strtio.h |
12401 do | 12404 do |
12402 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12405 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12403 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12406 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12404 echo "configure:12405: checking for $ac_hdr" >&5 | 12407 echo "configure:12408: checking for $ac_hdr" >&5 |
12405 | 12408 |
12406 cat > conftest.$ac_ext <<EOF | 12409 cat > conftest.$ac_ext <<EOF |
12407 #line 12408 "configure" | 12410 #line 12411 "configure" |
12408 #include "confdefs.h" | 12411 #include "confdefs.h" |
12409 #include <$ac_hdr> | 12412 #include <$ac_hdr> |
12410 EOF | 12413 EOF |
12411 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12414 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12412 { (eval echo configure:12413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12415 { (eval echo configure:12416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12413 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12416 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12414 if test -z "$ac_err"; then | 12417 if test -z "$ac_err"; then |
12415 rm -rf conftest* | 12418 rm -rf conftest* |
12416 eval "ac_cv_header_$ac_safe=yes" | 12419 eval "ac_cv_header_$ac_safe=yes" |
12417 else | 12420 else |
12440 fi | 12443 fi |
12441 | 12444 |
12442 for ac_func in getloadavg | 12445 for ac_func in getloadavg |
12443 do | 12446 do |
12444 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12447 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12445 echo "configure:12446: checking for $ac_func" >&5 | 12448 echo "configure:12449: checking for $ac_func" >&5 |
12446 | 12449 |
12447 cat > conftest.$ac_ext <<EOF | 12450 cat > conftest.$ac_ext <<EOF |
12448 #line 12449 "configure" | 12451 #line 12452 "configure" |
12449 #include "confdefs.h" | 12452 #include "confdefs.h" |
12450 /* System header to define __stub macros and hopefully few prototypes, | 12453 /* System header to define __stub macros and hopefully few prototypes, |
12451 which can conflict with char $ac_func(); below. */ | 12454 which can conflict with char $ac_func(); below. */ |
12452 #include <assert.h> | 12455 #include <assert.h> |
12453 /* Override any gcc2 internal prototype to avoid an error. */ | 12456 /* Override any gcc2 internal prototype to avoid an error. */ |
12466 $ac_func(); | 12469 $ac_func(); |
12467 #endif | 12470 #endif |
12468 | 12471 |
12469 ; return 0; } | 12472 ; return 0; } |
12470 EOF | 12473 EOF |
12471 if { (eval echo configure:12472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12474 if { (eval echo configure:12475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12472 rm -rf conftest* | 12475 rm -rf conftest* |
12473 eval "ac_cv_func_$ac_func=yes" | 12476 eval "ac_cv_func_$ac_func=yes" |
12474 else | 12477 else |
12475 echo "configure: failed program was:" >&5 | 12478 echo "configure: failed program was:" >&5 |
12476 cat conftest.$ac_ext >&5 | 12479 cat conftest.$ac_ext >&5 |
12499 if test "$ac_cv_func_getloadavg" = "yes"; then | 12502 if test "$ac_cv_func_getloadavg" = "yes"; then |
12500 for ac_hdr in sys/loadavg.h | 12503 for ac_hdr in sys/loadavg.h |
12501 do | 12504 do |
12502 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12505 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12503 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12506 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12504 echo "configure:12505: checking for $ac_hdr" >&5 | 12507 echo "configure:12508: checking for $ac_hdr" >&5 |
12505 | 12508 |
12506 cat > conftest.$ac_ext <<EOF | 12509 cat > conftest.$ac_ext <<EOF |
12507 #line 12508 "configure" | 12510 #line 12511 "configure" |
12508 #include "confdefs.h" | 12511 #include "confdefs.h" |
12509 #include <$ac_hdr> | 12512 #include <$ac_hdr> |
12510 EOF | 12513 EOF |
12511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12512 { (eval echo configure:12513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12515 { (eval echo configure:12516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12514 if test -z "$ac_err"; then | 12517 if test -z "$ac_err"; then |
12515 rm -rf conftest* | 12518 rm -rf conftest* |
12516 eval "ac_cv_header_$ac_safe=yes" | 12519 eval "ac_cv_header_$ac_safe=yes" |
12517 else | 12520 else |
12543 echo " xemacs will be linked with \"getloadavg.o\"" | 12546 echo " xemacs will be linked with \"getloadavg.o\"" |
12544 fi | 12547 fi |
12545 | 12548 |
12546 | 12549 |
12547 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12550 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12548 echo "configure:12549: checking for kstat_open in -lkstat" >&5 | 12551 echo "configure:12552: checking for kstat_open in -lkstat" >&5 |
12549 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12552 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12550 | 12553 |
12551 xe_check_libs=" -lkstat " | 12554 xe_check_libs=" -lkstat " |
12552 cat > conftest.$ac_ext <<EOF | 12555 cat > conftest.$ac_ext <<EOF |
12553 #line 12554 "configure" | 12556 #line 12557 "configure" |
12554 #include "confdefs.h" | 12557 #include "confdefs.h" |
12555 /* Override any gcc2 internal prototype to avoid an error. */ | 12558 /* Override any gcc2 internal prototype to avoid an error. */ |
12556 /* We use char because int might match the return type of a gcc2 | 12559 /* We use char because int might match the return type of a gcc2 |
12557 builtin and then its argument prototype would still apply. */ | 12560 builtin and then its argument prototype would still apply. */ |
12558 char kstat_open(); | 12561 char kstat_open(); |
12559 | 12562 |
12560 int main() { | 12563 int main() { |
12561 kstat_open() | 12564 kstat_open() |
12562 ; return 0; } | 12565 ; return 0; } |
12563 EOF | 12566 EOF |
12564 if { (eval echo configure:12565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12567 if { (eval echo configure:12568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12565 rm -rf conftest* | 12568 rm -rf conftest* |
12566 eval "ac_cv_lib_$ac_lib_var=yes" | 12569 eval "ac_cv_lib_$ac_lib_var=yes" |
12567 else | 12570 else |
12568 echo "configure: failed program was:" >&5 | 12571 echo "configure: failed program was:" >&5 |
12569 cat conftest.$ac_ext >&5 | 12572 cat conftest.$ac_ext >&5 |
12594 | 12597 |
12595 for ac_hdr in kstat.h | 12598 for ac_hdr in kstat.h |
12596 do | 12599 do |
12597 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12600 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12598 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12601 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12599 echo "configure:12600: checking for $ac_hdr" >&5 | 12602 echo "configure:12603: checking for $ac_hdr" >&5 |
12600 | 12603 |
12601 cat > conftest.$ac_ext <<EOF | 12604 cat > conftest.$ac_ext <<EOF |
12602 #line 12603 "configure" | 12605 #line 12606 "configure" |
12603 #include "confdefs.h" | 12606 #include "confdefs.h" |
12604 #include <$ac_hdr> | 12607 #include <$ac_hdr> |
12605 EOF | 12608 EOF |
12606 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12609 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12607 { (eval echo configure:12608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12610 { (eval echo configure:12611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12609 if test -z "$ac_err"; then | 12612 if test -z "$ac_err"; then |
12610 rm -rf conftest* | 12613 rm -rf conftest* |
12611 eval "ac_cv_header_$ac_safe=yes" | 12614 eval "ac_cv_header_$ac_safe=yes" |
12612 else | 12615 else |
12634 done | 12637 done |
12635 | 12638 |
12636 | 12639 |
12637 | 12640 |
12638 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12641 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12639 echo "configure:12640: checking for kvm_read in -lkvm" >&5 | 12642 echo "configure:12643: checking for kvm_read in -lkvm" >&5 |
12640 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12643 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12641 | 12644 |
12642 xe_check_libs=" -lkvm " | 12645 xe_check_libs=" -lkvm " |
12643 cat > conftest.$ac_ext <<EOF | 12646 cat > conftest.$ac_ext <<EOF |
12644 #line 12645 "configure" | 12647 #line 12648 "configure" |
12645 #include "confdefs.h" | 12648 #include "confdefs.h" |
12646 /* Override any gcc2 internal prototype to avoid an error. */ | 12649 /* Override any gcc2 internal prototype to avoid an error. */ |
12647 /* We use char because int might match the return type of a gcc2 | 12650 /* We use char because int might match the return type of a gcc2 |
12648 builtin and then its argument prototype would still apply. */ | 12651 builtin and then its argument prototype would still apply. */ |
12649 char kvm_read(); | 12652 char kvm_read(); |
12650 | 12653 |
12651 int main() { | 12654 int main() { |
12652 kvm_read() | 12655 kvm_read() |
12653 ; return 0; } | 12656 ; return 0; } |
12654 EOF | 12657 EOF |
12655 if { (eval echo configure:12656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12658 if { (eval echo configure:12659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12656 rm -rf conftest* | 12659 rm -rf conftest* |
12657 eval "ac_cv_lib_$ac_lib_var=yes" | 12660 eval "ac_cv_lib_$ac_lib_var=yes" |
12658 else | 12661 else |
12659 echo "configure: failed program was:" >&5 | 12662 echo "configure: failed program was:" >&5 |
12660 cat conftest.$ac_ext >&5 | 12663 cat conftest.$ac_ext >&5 |
12684 | 12687 |
12685 | 12688 |
12686 fi | 12689 fi |
12687 | 12690 |
12688 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12691 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12689 echo "configure:12690: checking whether netdb declares h_errno" >&5 | 12692 echo "configure:12693: checking whether netdb declares h_errno" >&5 |
12690 cat > conftest.$ac_ext <<EOF | 12693 cat > conftest.$ac_ext <<EOF |
12691 #line 12692 "configure" | 12694 #line 12695 "configure" |
12692 #include "confdefs.h" | 12695 #include "confdefs.h" |
12693 #include <netdb.h> | 12696 #include <netdb.h> |
12694 int main() { | 12697 int main() { |
12695 return h_errno; | 12698 return h_errno; |
12696 ; return 0; } | 12699 ; return 0; } |
12697 EOF | 12700 EOF |
12698 if { (eval echo configure:12699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12701 if { (eval echo configure:12702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12699 rm -rf conftest* | 12702 rm -rf conftest* |
12700 echo "$ac_t""yes" 1>&6 | 12703 echo "$ac_t""yes" 1>&6 |
12701 { test "$extra_verbose" = "yes" && cat << \EOF | 12704 { test "$extra_verbose" = "yes" && cat << \EOF |
12702 Defining HAVE_H_ERRNO | 12705 Defining HAVE_H_ERRNO |
12703 EOF | 12706 EOF |
12713 echo "$ac_t""no" 1>&6 | 12716 echo "$ac_t""no" 1>&6 |
12714 fi | 12717 fi |
12715 rm -f conftest* | 12718 rm -f conftest* |
12716 | 12719 |
12717 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12720 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12718 echo "configure:12719: checking for sigsetjmp" >&5 | 12721 echo "configure:12722: checking for sigsetjmp" >&5 |
12719 cat > conftest.$ac_ext <<EOF | 12722 cat > conftest.$ac_ext <<EOF |
12720 #line 12721 "configure" | 12723 #line 12724 "configure" |
12721 #include "confdefs.h" | 12724 #include "confdefs.h" |
12722 #include <setjmp.h> | 12725 #include <setjmp.h> |
12723 int main() { | 12726 int main() { |
12724 sigjmp_buf bar; sigsetjmp (bar, 0); | 12727 sigjmp_buf bar; sigsetjmp (bar, 0); |
12725 ; return 0; } | 12728 ; return 0; } |
12726 EOF | 12729 EOF |
12727 if { (eval echo configure:12728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12730 if { (eval echo configure:12731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12728 rm -rf conftest* | 12731 rm -rf conftest* |
12729 echo "$ac_t""yes" 1>&6 | 12732 echo "$ac_t""yes" 1>&6 |
12730 { test "$extra_verbose" = "yes" && cat << \EOF | 12733 { test "$extra_verbose" = "yes" && cat << \EOF |
12731 Defining HAVE_SIGSETJMP | 12734 Defining HAVE_SIGSETJMP |
12732 EOF | 12735 EOF |
12742 echo "$ac_t""no" 1>&6 | 12745 echo "$ac_t""no" 1>&6 |
12743 fi | 12746 fi |
12744 rm -f conftest* | 12747 rm -f conftest* |
12745 | 12748 |
12746 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12749 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12747 echo "configure:12748: checking whether localtime caches TZ" >&5 | 12750 echo "configure:12751: checking whether localtime caches TZ" >&5 |
12748 | 12751 |
12749 if test "$ac_cv_func_tzset" = "yes"; then | 12752 if test "$ac_cv_func_tzset" = "yes"; then |
12750 cat > conftest.$ac_ext <<EOF | 12753 cat > conftest.$ac_ext <<EOF |
12751 #line 12752 "configure" | 12754 #line 12755 "configure" |
12752 #include "confdefs.h" | 12755 #include "confdefs.h" |
12753 #include <time.h> | 12756 #include <time.h> |
12754 #if STDC_HEADERS | 12757 #if STDC_HEADERS |
12755 # include <stdlib.h> | 12758 # include <stdlib.h> |
12756 #endif | 12759 #endif |
12781 if (localtime (&now)->tm_hour != hour_unset) | 12784 if (localtime (&now)->tm_hour != hour_unset) |
12782 exit (1); | 12785 exit (1); |
12783 exit (0); | 12786 exit (0); |
12784 } | 12787 } |
12785 EOF | 12788 EOF |
12786 if { (eval echo configure:12787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12789 if { (eval echo configure:12790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12787 then | 12790 then |
12788 emacs_cv_localtime_cache=no | 12791 emacs_cv_localtime_cache=no |
12789 else | 12792 else |
12790 conftest_rc="$?" | 12793 conftest_rc="$?" |
12791 echo "configure: failed program was:" >&5 | 12794 echo "configure: failed program was:" >&5 |
12811 | 12814 |
12812 fi | 12815 fi |
12813 | 12816 |
12814 if test "$HAVE_TIMEVAL" = "yes"; then | 12817 if test "$HAVE_TIMEVAL" = "yes"; then |
12815 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12818 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12816 echo "configure:12817: checking whether gettimeofday accepts one or two arguments" >&5 | 12819 echo "configure:12820: checking whether gettimeofday accepts one or two arguments" >&5 |
12817 cat > conftest.$ac_ext <<EOF | 12820 cat > conftest.$ac_ext <<EOF |
12818 #line 12819 "configure" | 12821 #line 12822 "configure" |
12819 #include "confdefs.h" | 12822 #include "confdefs.h" |
12820 | 12823 |
12821 #ifdef TIME_WITH_SYS_TIME | 12824 #ifdef TIME_WITH_SYS_TIME |
12822 #include <sys/time.h> | 12825 #include <sys/time.h> |
12823 #include <time.h> | 12826 #include <time.h> |
12834 struct timeval time; | 12837 struct timeval time; |
12835 gettimeofday (&time, 0); | 12838 gettimeofday (&time, 0); |
12836 | 12839 |
12837 ; return 0; } | 12840 ; return 0; } |
12838 EOF | 12841 EOF |
12839 if { (eval echo configure:12840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12842 if { (eval echo configure:12843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12840 rm -rf conftest* | 12843 rm -rf conftest* |
12841 echo "$ac_t""two" 1>&6 | 12844 echo "$ac_t""two" 1>&6 |
12842 else | 12845 else |
12843 echo "configure: failed program was:" >&5 | 12846 echo "configure: failed program was:" >&5 |
12844 cat conftest.$ac_ext >&5 | 12847 cat conftest.$ac_ext >&5 |
12856 rm -f conftest* | 12859 rm -f conftest* |
12857 fi | 12860 fi |
12858 | 12861 |
12859 | 12862 |
12860 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12863 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12861 echo "configure:12862: checking for inline" >&5 | 12864 echo "configure:12865: checking for inline" >&5 |
12862 | 12865 |
12863 ac_cv_c_inline=no | 12866 ac_cv_c_inline=no |
12864 for ac_kw in inline __inline__ __inline; do | 12867 for ac_kw in inline __inline__ __inline; do |
12865 cat > conftest.$ac_ext <<EOF | 12868 cat > conftest.$ac_ext <<EOF |
12866 #line 12867 "configure" | 12869 #line 12870 "configure" |
12867 #include "confdefs.h" | 12870 #include "confdefs.h" |
12868 | 12871 |
12869 int main() { | 12872 int main() { |
12870 } $ac_kw foo() { | 12873 } $ac_kw foo() { |
12871 ; return 0; } | 12874 ; return 0; } |
12872 EOF | 12875 EOF |
12873 if { (eval echo configure:12874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12876 if { (eval echo configure:12877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12874 rm -rf conftest* | 12877 rm -rf conftest* |
12875 ac_cv_c_inline=$ac_kw; break | 12878 ac_cv_c_inline=$ac_kw; break |
12876 else | 12879 else |
12877 echo "configure: failed program was:" >&5 | 12880 echo "configure: failed program was:" >&5 |
12878 cat conftest.$ac_ext >&5 | 12881 cat conftest.$ac_ext >&5 |
12909 | 12912 |
12910 if test "$__DECC" != "yes"; then | 12913 if test "$__DECC" != "yes"; then |
12911 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 12914 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
12912 # for constant arguments. Useless! | 12915 # for constant arguments. Useless! |
12913 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 12916 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
12914 echo "configure:12915: checking for working alloca.h" >&5 | 12917 echo "configure:12918: checking for working alloca.h" >&5 |
12915 | 12918 |
12916 cat > conftest.$ac_ext <<EOF | 12919 cat > conftest.$ac_ext <<EOF |
12917 #line 12918 "configure" | 12920 #line 12921 "configure" |
12918 #include "confdefs.h" | 12921 #include "confdefs.h" |
12919 #include <alloca.h> | 12922 #include <alloca.h> |
12920 int main() { | 12923 int main() { |
12921 char *p = alloca(2 * sizeof(int)); | 12924 char *p = alloca(2 * sizeof(int)); |
12922 ; return 0; } | 12925 ; return 0; } |
12923 EOF | 12926 EOF |
12924 if { (eval echo configure:12925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12927 if { (eval echo configure:12928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12925 rm -rf conftest* | 12928 rm -rf conftest* |
12926 ac_cv_header_alloca_h=yes | 12929 ac_cv_header_alloca_h=yes |
12927 else | 12930 else |
12928 echo "configure: failed program was:" >&5 | 12931 echo "configure: failed program was:" >&5 |
12929 cat conftest.$ac_ext >&5 | 12932 cat conftest.$ac_ext >&5 |
12943 } | 12946 } |
12944 | 12947 |
12945 fi | 12948 fi |
12946 | 12949 |
12947 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 12950 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
12948 echo "configure:12949: checking for alloca" >&5 | 12951 echo "configure:12952: checking for alloca" >&5 |
12949 | 12952 |
12950 cat > conftest.$ac_ext <<EOF | 12953 cat > conftest.$ac_ext <<EOF |
12951 #line 12952 "configure" | 12954 #line 12955 "configure" |
12952 #include "confdefs.h" | 12955 #include "confdefs.h" |
12953 | 12956 |
12954 #ifdef __GNUC__ | 12957 #ifdef __GNUC__ |
12955 # define alloca __builtin_alloca | 12958 # define alloca __builtin_alloca |
12956 #else | 12959 #else |
12974 | 12977 |
12975 int main() { | 12978 int main() { |
12976 char *p = (char *) alloca(1); | 12979 char *p = (char *) alloca(1); |
12977 ; return 0; } | 12980 ; return 0; } |
12978 EOF | 12981 EOF |
12979 if { (eval echo configure:12980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12982 if { (eval echo configure:12983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12980 rm -rf conftest* | 12983 rm -rf conftest* |
12981 ac_cv_func_alloca_works=yes | 12984 ac_cv_func_alloca_works=yes |
12982 else | 12985 else |
12983 echo "configure: failed program was:" >&5 | 12986 echo "configure: failed program was:" >&5 |
12984 cat conftest.$ac_ext >&5 | 12987 cat conftest.$ac_ext >&5 |
13013 EOF | 13016 EOF |
13014 } | 13017 } |
13015 | 13018 |
13016 | 13019 |
13017 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13020 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13018 echo "configure:13019: checking whether alloca needs Cray hooks" >&5 | 13021 echo "configure:13022: checking whether alloca needs Cray hooks" >&5 |
13019 | 13022 |
13020 cat > conftest.$ac_ext <<EOF | 13023 cat > conftest.$ac_ext <<EOF |
13021 #line 13022 "configure" | 13024 #line 13025 "configure" |
13022 #include "confdefs.h" | 13025 #include "confdefs.h" |
13023 #if defined(CRAY) && ! defined(CRAY2) | 13026 #if defined(CRAY) && ! defined(CRAY2) |
13024 webecray | 13027 webecray |
13025 #else | 13028 #else |
13026 wenotbecray | 13029 wenotbecray |
13040 | 13043 |
13041 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13044 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13042 if test $ac_cv_os_cray = yes; then | 13045 if test $ac_cv_os_cray = yes; then |
13043 for ac_func in _getb67 GETB67 getb67; do | 13046 for ac_func in _getb67 GETB67 getb67; do |
13044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13047 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13045 echo "configure:13046: checking for $ac_func" >&5 | 13048 echo "configure:13049: checking for $ac_func" >&5 |
13046 | 13049 |
13047 cat > conftest.$ac_ext <<EOF | 13050 cat > conftest.$ac_ext <<EOF |
13048 #line 13049 "configure" | 13051 #line 13052 "configure" |
13049 #include "confdefs.h" | 13052 #include "confdefs.h" |
13050 /* System header to define __stub macros and hopefully few prototypes, | 13053 /* System header to define __stub macros and hopefully few prototypes, |
13051 which can conflict with char $ac_func(); below. */ | 13054 which can conflict with char $ac_func(); below. */ |
13052 #include <assert.h> | 13055 #include <assert.h> |
13053 /* Override any gcc2 internal prototype to avoid an error. */ | 13056 /* Override any gcc2 internal prototype to avoid an error. */ |
13066 $ac_func(); | 13069 $ac_func(); |
13067 #endif | 13070 #endif |
13068 | 13071 |
13069 ; return 0; } | 13072 ; return 0; } |
13070 EOF | 13073 EOF |
13071 if { (eval echo configure:13072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13074 if { (eval echo configure:13075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13072 rm -rf conftest* | 13075 rm -rf conftest* |
13073 eval "ac_cv_func_$ac_func=yes" | 13076 eval "ac_cv_func_$ac_func=yes" |
13074 else | 13077 else |
13075 echo "configure: failed program was:" >&5 | 13078 echo "configure: failed program was:" >&5 |
13076 cat conftest.$ac_ext >&5 | 13079 cat conftest.$ac_ext >&5 |
13096 | 13099 |
13097 done | 13100 done |
13098 fi | 13101 fi |
13099 | 13102 |
13100 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13103 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13101 echo "configure:13102: checking stack direction for C alloca" >&5 | 13104 echo "configure:13105: checking stack direction for C alloca" >&5 |
13102 | 13105 |
13103 cat > conftest.$ac_ext <<EOF | 13106 cat > conftest.$ac_ext <<EOF |
13104 #line 13105 "configure" | 13107 #line 13108 "configure" |
13105 #include "confdefs.h" | 13108 #include "confdefs.h" |
13106 find_stack_direction () | 13109 find_stack_direction () |
13107 { | 13110 { |
13108 static char *addr = 0; | 13111 static char *addr = 0; |
13109 auto char dummy; | 13112 auto char dummy; |
13118 main () | 13121 main () |
13119 { | 13122 { |
13120 exit (find_stack_direction() < 0); | 13123 exit (find_stack_direction() < 0); |
13121 } | 13124 } |
13122 EOF | 13125 EOF |
13123 if { (eval echo configure:13124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13126 if { (eval echo configure:13127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13124 then | 13127 then |
13125 ac_cv_c_stack_direction=1 | 13128 ac_cv_c_stack_direction=1 |
13126 else | 13129 else |
13127 conftest_rc="$?" | 13130 conftest_rc="$?" |
13128 echo "configure: failed program was:" >&5 | 13131 echo "configure: failed program was:" >&5 |
13147 echo " xemacs will be linked with \"$ALLOCA\"" | 13150 echo " xemacs will be linked with \"$ALLOCA\"" |
13148 fi | 13151 fi |
13149 fi | 13152 fi |
13150 | 13153 |
13151 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13154 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13152 echo "configure:13153: checking for working alloca in function calls" >&5 | 13155 echo "configure:13156: checking for working alloca in function calls" >&5 |
13153 cat > conftest.$ac_ext <<EOF | 13156 cat > conftest.$ac_ext <<EOF |
13154 #line 13155 "configure" | 13157 #line 13158 "configure" |
13155 #include "confdefs.h" | 13158 #include "confdefs.h" |
13156 | 13159 |
13157 #if defined (__CYGWIN__) | 13160 #if defined (__CYGWIN__) |
13158 #include <alloca.h> | 13161 #include <alloca.h> |
13159 #elif defined (__GNUC__) | 13162 #elif defined (__GNUC__) |
13202 return 1; | 13205 return 1; |
13203 return 0; | 13206 return 0; |
13204 } | 13207 } |
13205 | 13208 |
13206 EOF | 13209 EOF |
13207 if { (eval echo configure:13208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13210 if { (eval echo configure:13211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13208 then | 13211 then |
13209 working_alloca_in_function_calls=yes | 13212 working_alloca_in_function_calls=yes |
13210 else | 13213 else |
13211 conftest_rc="$?" | 13214 conftest_rc="$?" |
13212 echo "configure: failed program was:" >&5 | 13215 echo "configure: failed program was:" >&5 |
13225 EOF | 13228 EOF |
13226 } | 13229 } |
13227 | 13230 |
13228 | 13231 |
13229 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13232 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13230 echo "configure:13231: checking for working strcoll" >&5 | 13233 echo "configure:13234: checking for working strcoll" >&5 |
13231 | 13234 |
13232 cat > conftest.$ac_ext <<EOF | 13235 cat > conftest.$ac_ext <<EOF |
13233 #line 13234 "configure" | 13236 #line 13237 "configure" |
13234 #include "confdefs.h" | 13237 #include "confdefs.h" |
13235 #include <string.h> | 13238 #include <string.h> |
13236 main () | 13239 main () |
13237 { | 13240 { |
13238 exit (strcoll ("abc", "def") >= 0 || | 13241 exit (strcoll ("abc", "def") >= 0 || |
13239 strcoll ("ABC", "DEF") >= 0 || | 13242 strcoll ("ABC", "DEF") >= 0 || |
13240 strcoll ("123", "456") >= 0); | 13243 strcoll ("123", "456") >= 0); |
13241 } | 13244 } |
13242 EOF | 13245 EOF |
13243 if { (eval echo configure:13244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13246 if { (eval echo configure:13247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13244 then | 13247 then |
13245 ac_cv_func_strcoll_works=yes | 13248 ac_cv_func_strcoll_works=yes |
13246 else | 13249 else |
13247 conftest_rc="$?" | 13250 conftest_rc="$?" |
13248 echo "configure: failed program was:" >&5 | 13251 echo "configure: failed program was:" >&5 |
13266 | 13269 |
13267 | 13270 |
13268 for ac_func in getpgrp | 13271 for ac_func in getpgrp |
13269 do | 13272 do |
13270 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13271 echo "configure:13272: checking for $ac_func" >&5 | 13274 echo "configure:13275: checking for $ac_func" >&5 |
13272 | 13275 |
13273 cat > conftest.$ac_ext <<EOF | 13276 cat > conftest.$ac_ext <<EOF |
13274 #line 13275 "configure" | 13277 #line 13278 "configure" |
13275 #include "confdefs.h" | 13278 #include "confdefs.h" |
13276 /* System header to define __stub macros and hopefully few prototypes, | 13279 /* System header to define __stub macros and hopefully few prototypes, |
13277 which can conflict with char $ac_func(); below. */ | 13280 which can conflict with char $ac_func(); below. */ |
13278 #include <assert.h> | 13281 #include <assert.h> |
13279 /* Override any gcc2 internal prototype to avoid an error. */ | 13282 /* Override any gcc2 internal prototype to avoid an error. */ |
13292 $ac_func(); | 13295 $ac_func(); |
13293 #endif | 13296 #endif |
13294 | 13297 |
13295 ; return 0; } | 13298 ; return 0; } |
13296 EOF | 13299 EOF |
13297 if { (eval echo configure:13298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13300 if { (eval echo configure:13301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13298 rm -rf conftest* | 13301 rm -rf conftest* |
13299 eval "ac_cv_func_$ac_func=yes" | 13302 eval "ac_cv_func_$ac_func=yes" |
13300 else | 13303 else |
13301 echo "configure: failed program was:" >&5 | 13304 echo "configure: failed program was:" >&5 |
13302 cat conftest.$ac_ext >&5 | 13305 cat conftest.$ac_ext >&5 |
13320 echo "$ac_t""no" 1>&6 | 13323 echo "$ac_t""no" 1>&6 |
13321 fi | 13324 fi |
13322 done | 13325 done |
13323 | 13326 |
13324 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13327 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13325 echo "configure:13326: checking whether getpgrp takes no argument" >&5 | 13328 echo "configure:13329: checking whether getpgrp takes no argument" >&5 |
13326 | 13329 |
13327 cat > conftest.$ac_ext <<EOF | 13330 cat > conftest.$ac_ext <<EOF |
13328 #line 13329 "configure" | 13331 #line 13332 "configure" |
13329 #include "confdefs.h" | 13332 #include "confdefs.h" |
13330 | 13333 |
13331 /* | 13334 /* |
13332 * If this system has a BSD-style getpgrp(), | 13335 * If this system has a BSD-style getpgrp(), |
13333 * which takes a pid argument, exit unsuccessfully. | 13336 * which takes a pid argument, exit unsuccessfully. |
13378 exit(s>>8); | 13381 exit(s>>8); |
13379 } | 13382 } |
13380 } | 13383 } |
13381 | 13384 |
13382 EOF | 13385 EOF |
13383 if { (eval echo configure:13384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13386 if { (eval echo configure:13387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13384 then | 13387 then |
13385 ac_cv_func_getpgrp_void=yes | 13388 ac_cv_func_getpgrp_void=yes |
13386 else | 13389 else |
13387 conftest_rc="$?" | 13390 conftest_rc="$?" |
13388 echo "configure: failed program was:" >&5 | 13391 echo "configure: failed program was:" >&5 |
13405 | 13408 |
13406 fi | 13409 fi |
13407 | 13410 |
13408 | 13411 |
13409 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13412 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13410 echo "configure:13411: checking for working mmap" >&5 | 13413 echo "configure:13414: checking for working mmap" >&5 |
13411 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13414 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13412 cat > conftest.$ac_ext <<EOF | 13415 cat > conftest.$ac_ext <<EOF |
13413 #line 13414 "configure" | 13416 #line 13417 "configure" |
13414 #include "confdefs.h" | 13417 #include "confdefs.h" |
13415 #include <stdio.h> | 13418 #include <stdio.h> |
13416 #include <unistd.h> | 13419 #include <unistd.h> |
13417 #include <fcntl.h> | 13420 #include <fcntl.h> |
13418 #include <sys/mman.h> | 13421 #include <sys/mman.h> |
13441 return 0; | 13444 return 0; |
13442 perror ("conftest: mmap failed"); | 13445 perror ("conftest: mmap failed"); |
13443 return 1; | 13446 return 1; |
13444 } | 13447 } |
13445 EOF | 13448 EOF |
13446 if { (eval echo configure:13447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13449 if { (eval echo configure:13450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13447 then | 13450 then |
13448 have_mmap=yes | 13451 have_mmap=yes |
13449 else | 13452 else |
13450 conftest_rc="$?" | 13453 conftest_rc="$?" |
13451 echo "configure: failed program was:" >&5 | 13454 echo "configure: failed program was:" >&5 |
13470 esac | 13473 esac |
13471 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13474 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13472 if test "$rel_alloc $have_mmap" = "default yes"; then | 13475 if test "$rel_alloc $have_mmap" = "default yes"; then |
13473 if test "$doug_lea_malloc" = "yes"; then | 13476 if test "$doug_lea_malloc" = "yes"; then |
13474 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13477 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13475 echo "configure:13476: checking for M_MMAP_THRESHOLD" >&5 | 13478 echo "configure:13479: checking for M_MMAP_THRESHOLD" >&5 |
13476 cat > conftest.$ac_ext <<EOF | 13479 cat > conftest.$ac_ext <<EOF |
13477 #line 13478 "configure" | 13480 #line 13481 "configure" |
13478 #include "confdefs.h" | 13481 #include "confdefs.h" |
13479 #include <malloc.h> | 13482 #include <malloc.h> |
13480 int main() { | 13483 int main() { |
13481 | 13484 |
13482 #ifndef M_MMAP_THRESHOLD | 13485 #ifndef M_MMAP_THRESHOLD |
13484 !@+$%^&*_)(_ - unlikely to compile... | 13487 !@+$%^&*_)(_ - unlikely to compile... |
13485 #endif | 13488 #endif |
13486 | 13489 |
13487 ; return 0; } | 13490 ; return 0; } |
13488 EOF | 13491 EOF |
13489 if { (eval echo configure:13490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13492 if { (eval echo configure:13493: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13490 rm -rf conftest* | 13493 rm -rf conftest* |
13491 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13494 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13492 else | 13495 else |
13493 echo "configure: failed program was:" >&5 | 13496 echo "configure: failed program was:" >&5 |
13494 cat conftest.$ac_ext >&5 | 13497 cat conftest.$ac_ext >&5 |
13509 } | 13512 } |
13510 | 13513 |
13511 | 13514 |
13512 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13515 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13513 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13516 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13514 echo "configure:13515: checking for termios.h" >&5 | 13517 echo "configure:13518: checking for termios.h" >&5 |
13515 | 13518 |
13516 cat > conftest.$ac_ext <<EOF | 13519 cat > conftest.$ac_ext <<EOF |
13517 #line 13518 "configure" | 13520 #line 13521 "configure" |
13518 #include "confdefs.h" | 13521 #include "confdefs.h" |
13519 #include <termios.h> | 13522 #include <termios.h> |
13520 EOF | 13523 EOF |
13521 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13524 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13522 { (eval echo configure:13523: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13525 { (eval echo configure:13526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13523 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13526 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13524 if test -z "$ac_err"; then | 13527 if test -z "$ac_err"; then |
13525 rm -rf conftest* | 13528 rm -rf conftest* |
13526 eval "ac_cv_header_$ac_safe=yes" | 13529 eval "ac_cv_header_$ac_safe=yes" |
13527 else | 13530 else |
13560 | 13563 |
13561 else | 13564 else |
13562 echo "$ac_t""no" 1>&6 | 13565 echo "$ac_t""no" 1>&6 |
13563 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13566 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13564 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13567 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13565 echo "configure:13566: checking for termio.h" >&5 | 13568 echo "configure:13569: checking for termio.h" >&5 |
13566 | 13569 |
13567 cat > conftest.$ac_ext <<EOF | 13570 cat > conftest.$ac_ext <<EOF |
13568 #line 13569 "configure" | 13571 #line 13572 "configure" |
13569 #include "confdefs.h" | 13572 #include "confdefs.h" |
13570 #include <termio.h> | 13573 #include <termio.h> |
13571 EOF | 13574 EOF |
13572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13575 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13573 { (eval echo configure:13574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13576 { (eval echo configure:13577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13574 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13577 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13575 if test -z "$ac_err"; then | 13578 if test -z "$ac_err"; then |
13576 rm -rf conftest* | 13579 rm -rf conftest* |
13577 eval "ac_cv_header_$ac_safe=yes" | 13580 eval "ac_cv_header_$ac_safe=yes" |
13578 else | 13581 else |
13600 fi | 13603 fi |
13601 | 13604 |
13602 | 13605 |
13603 | 13606 |
13604 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13607 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13605 echo "configure:13606: checking for socket" >&5 | 13608 echo "configure:13609: checking for socket" >&5 |
13606 | 13609 |
13607 cat > conftest.$ac_ext <<EOF | 13610 cat > conftest.$ac_ext <<EOF |
13608 #line 13609 "configure" | 13611 #line 13612 "configure" |
13609 #include "confdefs.h" | 13612 #include "confdefs.h" |
13610 /* System header to define __stub macros and hopefully few prototypes, | 13613 /* System header to define __stub macros and hopefully few prototypes, |
13611 which can conflict with char socket(); below. */ | 13614 which can conflict with char socket(); below. */ |
13612 #include <assert.h> | 13615 #include <assert.h> |
13613 /* Override any gcc2 internal prototype to avoid an error. */ | 13616 /* Override any gcc2 internal prototype to avoid an error. */ |
13626 socket(); | 13629 socket(); |
13627 #endif | 13630 #endif |
13628 | 13631 |
13629 ; return 0; } | 13632 ; return 0; } |
13630 EOF | 13633 EOF |
13631 if { (eval echo configure:13632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13634 if { (eval echo configure:13635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13632 rm -rf conftest* | 13635 rm -rf conftest* |
13633 eval "ac_cv_func_socket=yes" | 13636 eval "ac_cv_func_socket=yes" |
13634 else | 13637 else |
13635 echo "configure: failed program was:" >&5 | 13638 echo "configure: failed program was:" >&5 |
13636 cat conftest.$ac_ext >&5 | 13639 cat conftest.$ac_ext >&5 |
13641 | 13644 |
13642 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13645 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13643 echo "$ac_t""yes" 1>&6 | 13646 echo "$ac_t""yes" 1>&6 |
13644 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13647 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13645 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13648 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13646 echo "configure:13647: checking for netinet/in.h" >&5 | 13649 echo "configure:13650: checking for netinet/in.h" >&5 |
13647 | 13650 |
13648 cat > conftest.$ac_ext <<EOF | 13651 cat > conftest.$ac_ext <<EOF |
13649 #line 13650 "configure" | 13652 #line 13653 "configure" |
13650 #include "confdefs.h" | 13653 #include "confdefs.h" |
13651 #include <netinet/in.h> | 13654 #include <netinet/in.h> |
13652 EOF | 13655 EOF |
13653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13656 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13654 { (eval echo configure:13655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13657 { (eval echo configure:13658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13658 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13656 if test -z "$ac_err"; then | 13659 if test -z "$ac_err"; then |
13657 rm -rf conftest* | 13660 rm -rf conftest* |
13658 eval "ac_cv_header_$ac_safe=yes" | 13661 eval "ac_cv_header_$ac_safe=yes" |
13659 else | 13662 else |
13666 rm -f conftest* | 13669 rm -f conftest* |
13667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13670 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13668 echo "$ac_t""yes" 1>&6 | 13671 echo "$ac_t""yes" 1>&6 |
13669 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13672 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13670 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13673 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13671 echo "configure:13672: checking for arpa/inet.h" >&5 | 13674 echo "configure:13675: checking for arpa/inet.h" >&5 |
13672 | 13675 |
13673 cat > conftest.$ac_ext <<EOF | 13676 cat > conftest.$ac_ext <<EOF |
13674 #line 13675 "configure" | 13677 #line 13678 "configure" |
13675 #include "confdefs.h" | 13678 #include "confdefs.h" |
13676 #include <arpa/inet.h> | 13679 #include <arpa/inet.h> |
13677 EOF | 13680 EOF |
13678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13679 { (eval echo configure:13680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13682 { (eval echo configure:13683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13681 if test -z "$ac_err"; then | 13684 if test -z "$ac_err"; then |
13682 rm -rf conftest* | 13685 rm -rf conftest* |
13683 eval "ac_cv_header_$ac_safe=yes" | 13686 eval "ac_cv_header_$ac_safe=yes" |
13684 else | 13687 else |
13699 #define HAVE_SOCKETS 1 | 13702 #define HAVE_SOCKETS 1 |
13700 EOF | 13703 EOF |
13701 } | 13704 } |
13702 | 13705 |
13703 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13706 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13704 echo "configure:13705: checking "for sun_len member in struct sockaddr_un"" >&5 | 13707 echo "configure:13708: checking "for sun_len member in struct sockaddr_un"" >&5 |
13705 cat > conftest.$ac_ext <<EOF | 13708 cat > conftest.$ac_ext <<EOF |
13706 #line 13707 "configure" | 13709 #line 13710 "configure" |
13707 #include "confdefs.h" | 13710 #include "confdefs.h" |
13708 | 13711 |
13709 #include <sys/types.h> | 13712 #include <sys/types.h> |
13710 #include <sys/socket.h> | 13713 #include <sys/socket.h> |
13711 #include <sys/un.h> | 13714 #include <sys/un.h> |
13712 | 13715 |
13713 int main() { | 13716 int main() { |
13714 static struct sockaddr_un x; x.sun_len = 1; | 13717 static struct sockaddr_un x; x.sun_len = 1; |
13715 ; return 0; } | 13718 ; return 0; } |
13716 EOF | 13719 EOF |
13717 if { (eval echo configure:13718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13720 if { (eval echo configure:13721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13718 rm -rf conftest* | 13721 rm -rf conftest* |
13719 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13722 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13720 Defining HAVE_SOCKADDR_SUN_LEN | 13723 Defining HAVE_SOCKADDR_SUN_LEN |
13721 EOF | 13724 EOF |
13722 cat >> confdefs.h <<\EOF | 13725 cat >> confdefs.h <<\EOF |
13730 rm -rf conftest* | 13733 rm -rf conftest* |
13731 echo "$ac_t""no" 1>&6 | 13734 echo "$ac_t""no" 1>&6 |
13732 fi | 13735 fi |
13733 rm -f conftest* | 13736 rm -f conftest* |
13734 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13737 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13735 echo "configure:13736: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13738 echo "configure:13739: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13736 cat > conftest.$ac_ext <<EOF | 13739 cat > conftest.$ac_ext <<EOF |
13737 #line 13738 "configure" | 13740 #line 13741 "configure" |
13738 #include "confdefs.h" | 13741 #include "confdefs.h" |
13739 | 13742 |
13740 #include <sys/types.h> | 13743 #include <sys/types.h> |
13741 #include <netinet/in.h> | 13744 #include <netinet/in.h> |
13742 | 13745 |
13743 int main() { | 13746 int main() { |
13744 static struct ip_mreq x; | 13747 static struct ip_mreq x; |
13745 ; return 0; } | 13748 ; return 0; } |
13746 EOF | 13749 EOF |
13747 if { (eval echo configure:13748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13750 if { (eval echo configure:13751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13748 rm -rf conftest* | 13751 rm -rf conftest* |
13749 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13752 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13750 Defining HAVE_MULTICAST | 13753 Defining HAVE_MULTICAST |
13751 EOF | 13754 EOF |
13752 cat >> confdefs.h <<\EOF | 13755 cat >> confdefs.h <<\EOF |
13773 echo "$ac_t""no" 1>&6 | 13776 echo "$ac_t""no" 1>&6 |
13774 fi | 13777 fi |
13775 | 13778 |
13776 | 13779 |
13777 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13780 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13778 echo "configure:13779: checking for msgget" >&5 | 13781 echo "configure:13782: checking for msgget" >&5 |
13779 | 13782 |
13780 cat > conftest.$ac_ext <<EOF | 13783 cat > conftest.$ac_ext <<EOF |
13781 #line 13782 "configure" | 13784 #line 13785 "configure" |
13782 #include "confdefs.h" | 13785 #include "confdefs.h" |
13783 /* System header to define __stub macros and hopefully few prototypes, | 13786 /* System header to define __stub macros and hopefully few prototypes, |
13784 which can conflict with char msgget(); below. */ | 13787 which can conflict with char msgget(); below. */ |
13785 #include <assert.h> | 13788 #include <assert.h> |
13786 /* Override any gcc2 internal prototype to avoid an error. */ | 13789 /* Override any gcc2 internal prototype to avoid an error. */ |
13799 msgget(); | 13802 msgget(); |
13800 #endif | 13803 #endif |
13801 | 13804 |
13802 ; return 0; } | 13805 ; return 0; } |
13803 EOF | 13806 EOF |
13804 if { (eval echo configure:13805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13807 if { (eval echo configure:13808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13805 rm -rf conftest* | 13808 rm -rf conftest* |
13806 eval "ac_cv_func_msgget=yes" | 13809 eval "ac_cv_func_msgget=yes" |
13807 else | 13810 else |
13808 echo "configure: failed program was:" >&5 | 13811 echo "configure: failed program was:" >&5 |
13809 cat conftest.$ac_ext >&5 | 13812 cat conftest.$ac_ext >&5 |
13814 | 13817 |
13815 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13818 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13816 echo "$ac_t""yes" 1>&6 | 13819 echo "$ac_t""yes" 1>&6 |
13817 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13820 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13818 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13821 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13819 echo "configure:13820: checking for sys/ipc.h" >&5 | 13822 echo "configure:13823: checking for sys/ipc.h" >&5 |
13820 | 13823 |
13821 cat > conftest.$ac_ext <<EOF | 13824 cat > conftest.$ac_ext <<EOF |
13822 #line 13823 "configure" | 13825 #line 13826 "configure" |
13823 #include "confdefs.h" | 13826 #include "confdefs.h" |
13824 #include <sys/ipc.h> | 13827 #include <sys/ipc.h> |
13825 EOF | 13828 EOF |
13826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13827 { (eval echo configure:13828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13830 { (eval echo configure:13831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13828 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13829 if test -z "$ac_err"; then | 13832 if test -z "$ac_err"; then |
13830 rm -rf conftest* | 13833 rm -rf conftest* |
13831 eval "ac_cv_header_$ac_safe=yes" | 13834 eval "ac_cv_header_$ac_safe=yes" |
13832 else | 13835 else |
13839 rm -f conftest* | 13842 rm -f conftest* |
13840 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13843 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13841 echo "$ac_t""yes" 1>&6 | 13844 echo "$ac_t""yes" 1>&6 |
13842 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13845 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13843 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13846 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13844 echo "configure:13845: checking for sys/msg.h" >&5 | 13847 echo "configure:13848: checking for sys/msg.h" >&5 |
13845 | 13848 |
13846 cat > conftest.$ac_ext <<EOF | 13849 cat > conftest.$ac_ext <<EOF |
13847 #line 13848 "configure" | 13850 #line 13851 "configure" |
13848 #include "confdefs.h" | 13851 #include "confdefs.h" |
13849 #include <sys/msg.h> | 13852 #include <sys/msg.h> |
13850 EOF | 13853 EOF |
13851 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13854 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13852 { (eval echo configure:13853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13855 { (eval echo configure:13856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13853 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13856 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13854 if test -z "$ac_err"; then | 13857 if test -z "$ac_err"; then |
13855 rm -rf conftest* | 13858 rm -rf conftest* |
13856 eval "ac_cv_header_$ac_safe=yes" | 13859 eval "ac_cv_header_$ac_safe=yes" |
13857 else | 13860 else |
13885 fi | 13888 fi |
13886 | 13889 |
13887 | 13890 |
13888 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 13891 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13889 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 13892 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13890 echo "configure:13891: checking for dirent.h" >&5 | 13893 echo "configure:13894: checking for dirent.h" >&5 |
13891 | 13894 |
13892 cat > conftest.$ac_ext <<EOF | 13895 cat > conftest.$ac_ext <<EOF |
13893 #line 13894 "configure" | 13896 #line 13897 "configure" |
13894 #include "confdefs.h" | 13897 #include "confdefs.h" |
13895 #include <dirent.h> | 13898 #include <dirent.h> |
13896 EOF | 13899 EOF |
13897 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13900 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13898 { (eval echo configure:13899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13901 { (eval echo configure:13902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13899 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13902 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13900 if test -z "$ac_err"; then | 13903 if test -z "$ac_err"; then |
13901 rm -rf conftest* | 13904 rm -rf conftest* |
13902 eval "ac_cv_header_$ac_safe=yes" | 13905 eval "ac_cv_header_$ac_safe=yes" |
13903 else | 13906 else |
13920 | 13923 |
13921 else | 13924 else |
13922 echo "$ac_t""no" 1>&6 | 13925 echo "$ac_t""no" 1>&6 |
13923 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 13926 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
13924 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 13927 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
13925 echo "configure:13926: checking for sys/dir.h" >&5 | 13928 echo "configure:13929: checking for sys/dir.h" >&5 |
13926 | 13929 |
13927 cat > conftest.$ac_ext <<EOF | 13930 cat > conftest.$ac_ext <<EOF |
13928 #line 13929 "configure" | 13931 #line 13932 "configure" |
13929 #include "confdefs.h" | 13932 #include "confdefs.h" |
13930 #include <sys/dir.h> | 13933 #include <sys/dir.h> |
13931 EOF | 13934 EOF |
13932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13935 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13933 { (eval echo configure:13934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13936 { (eval echo configure:13937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13937 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13935 if test -z "$ac_err"; then | 13938 if test -z "$ac_err"; then |
13936 rm -rf conftest* | 13939 rm -rf conftest* |
13937 eval "ac_cv_header_$ac_safe=yes" | 13940 eval "ac_cv_header_$ac_safe=yes" |
13938 else | 13941 else |
13961 fi | 13964 fi |
13962 | 13965 |
13963 | 13966 |
13964 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 13967 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
13965 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 13968 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
13966 echo "configure:13967: checking for nlist.h" >&5 | 13969 echo "configure:13970: checking for nlist.h" >&5 |
13967 | 13970 |
13968 cat > conftest.$ac_ext <<EOF | 13971 cat > conftest.$ac_ext <<EOF |
13969 #line 13970 "configure" | 13972 #line 13973 "configure" |
13970 #include "confdefs.h" | 13973 #include "confdefs.h" |
13971 #include <nlist.h> | 13974 #include <nlist.h> |
13972 EOF | 13975 EOF |
13973 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13974 { (eval echo configure:13975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13977 { (eval echo configure:13978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13975 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13978 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13976 if test -z "$ac_err"; then | 13979 if test -z "$ac_err"; then |
13977 rm -rf conftest* | 13980 rm -rf conftest* |
13978 eval "ac_cv_header_$ac_safe=yes" | 13981 eval "ac_cv_header_$ac_safe=yes" |
13979 else | 13982 else |
13999 fi | 14002 fi |
14000 | 14003 |
14001 | 14004 |
14002 | 14005 |
14003 echo "checking "for sound support"" 1>&6 | 14006 echo "checking "for sound support"" 1>&6 |
14004 echo "configure:14005: checking "for sound support"" >&5 | 14007 echo "configure:14008: checking "for sound support"" >&5 |
14005 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14008 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14006 | 14009 |
14007 if test "$with_native_sound" != "no"; then | 14010 if test "$with_native_sound" != "no"; then |
14008 if test -n "$native_sound_lib"; then | 14011 if test -n "$native_sound_lib"; then |
14009 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14012 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14010 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14013 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14011 echo "configure:14012: checking for multimedia/audio_device.h" >&5 | 14014 echo "configure:14015: checking for multimedia/audio_device.h" >&5 |
14012 | 14015 |
14013 cat > conftest.$ac_ext <<EOF | 14016 cat > conftest.$ac_ext <<EOF |
14014 #line 14015 "configure" | 14017 #line 14018 "configure" |
14015 #include "confdefs.h" | 14018 #include "confdefs.h" |
14016 #include <multimedia/audio_device.h> | 14019 #include <multimedia/audio_device.h> |
14017 EOF | 14020 EOF |
14018 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14019 { (eval echo configure:14020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14022 { (eval echo configure:14023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14020 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14021 if test -z "$ac_err"; then | 14024 if test -z "$ac_err"; then |
14022 rm -rf conftest* | 14025 rm -rf conftest* |
14023 eval "ac_cv_header_$ac_safe=yes" | 14026 eval "ac_cv_header_$ac_safe=yes" |
14024 else | 14027 else |
14062 case "$canonical" in | 14065 case "$canonical" in |
14063 *-sgi-* ) | 14066 *-sgi-* ) |
14064 if test -z "$native_sound_lib"; then | 14067 if test -z "$native_sound_lib"; then |
14065 | 14068 |
14066 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14069 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14067 echo "configure:14068: checking for ALopenport in -laudio" >&5 | 14070 echo "configure:14071: checking for ALopenport in -laudio" >&5 |
14068 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14071 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14069 | 14072 |
14070 xe_check_libs=" -laudio " | 14073 xe_check_libs=" -laudio " |
14071 cat > conftest.$ac_ext <<EOF | 14074 cat > conftest.$ac_ext <<EOF |
14072 #line 14073 "configure" | 14075 #line 14076 "configure" |
14073 #include "confdefs.h" | 14076 #include "confdefs.h" |
14074 /* Override any gcc2 internal prototype to avoid an error. */ | 14077 /* Override any gcc2 internal prototype to avoid an error. */ |
14075 /* We use char because int might match the return type of a gcc2 | 14078 /* We use char because int might match the return type of a gcc2 |
14076 builtin and then its argument prototype would still apply. */ | 14079 builtin and then its argument prototype would still apply. */ |
14077 char ALopenport(); | 14080 char ALopenport(); |
14078 | 14081 |
14079 int main() { | 14082 int main() { |
14080 ALopenport() | 14083 ALopenport() |
14081 ; return 0; } | 14084 ; return 0; } |
14082 EOF | 14085 EOF |
14083 if { (eval echo configure:14084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14086 if { (eval echo configure:14087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14084 rm -rf conftest* | 14087 rm -rf conftest* |
14085 eval "ac_cv_lib_$ac_lib_var=yes" | 14088 eval "ac_cv_lib_$ac_lib_var=yes" |
14086 else | 14089 else |
14087 echo "configure: failed program was:" >&5 | 14090 echo "configure: failed program was:" >&5 |
14088 cat conftest.$ac_ext >&5 | 14091 cat conftest.$ac_ext >&5 |
14109 fi ;; | 14112 fi ;; |
14110 hppa*-hp-hpux* ) | 14113 hppa*-hp-hpux* ) |
14111 if test -z "$native_sound_lib"; then | 14114 if test -z "$native_sound_lib"; then |
14112 | 14115 |
14113 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14116 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14114 echo "configure:14115: checking for AOpenAudio in -lAlib" >&5 | 14117 echo "configure:14118: checking for AOpenAudio in -lAlib" >&5 |
14115 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14118 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14116 | 14119 |
14117 xe_check_libs=" -lAlib " | 14120 xe_check_libs=" -lAlib " |
14118 cat > conftest.$ac_ext <<EOF | 14121 cat > conftest.$ac_ext <<EOF |
14119 #line 14120 "configure" | 14122 #line 14123 "configure" |
14120 #include "confdefs.h" | 14123 #include "confdefs.h" |
14121 /* Override any gcc2 internal prototype to avoid an error. */ | 14124 /* Override any gcc2 internal prototype to avoid an error. */ |
14122 /* We use char because int might match the return type of a gcc2 | 14125 /* We use char because int might match the return type of a gcc2 |
14123 builtin and then its argument prototype would still apply. */ | 14126 builtin and then its argument prototype would still apply. */ |
14124 char AOpenAudio(); | 14127 char AOpenAudio(); |
14125 | 14128 |
14126 int main() { | 14129 int main() { |
14127 AOpenAudio() | 14130 AOpenAudio() |
14128 ; return 0; } | 14131 ; return 0; } |
14129 EOF | 14132 EOF |
14130 if { (eval echo configure:14131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14133 if { (eval echo configure:14134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14131 rm -rf conftest* | 14134 rm -rf conftest* |
14132 eval "ac_cv_lib_$ac_lib_var=yes" | 14135 eval "ac_cv_lib_$ac_lib_var=yes" |
14133 else | 14136 else |
14134 echo "configure: failed program was:" >&5 | 14137 echo "configure: failed program was:" >&5 |
14135 cat conftest.$ac_ext >&5 | 14138 cat conftest.$ac_ext >&5 |
14173 | 14176 |
14174 if test -z "$sound_found"; then | 14177 if test -z "$sound_found"; then |
14175 for dir in "machine" "sys" "linux"; do | 14178 for dir in "machine" "sys" "linux"; do |
14176 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14179 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14177 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14180 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14178 echo "configure:14179: checking for ${dir}/soundcard.h" >&5 | 14181 echo "configure:14182: checking for ${dir}/soundcard.h" >&5 |
14179 | 14182 |
14180 cat > conftest.$ac_ext <<EOF | 14183 cat > conftest.$ac_ext <<EOF |
14181 #line 14182 "configure" | 14184 #line 14185 "configure" |
14182 #include "confdefs.h" | 14185 #include "confdefs.h" |
14183 #include <${dir}/soundcard.h> | 14186 #include <${dir}/soundcard.h> |
14184 EOF | 14187 EOF |
14185 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14186 { (eval echo configure:14187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14189 { (eval echo configure:14190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14187 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14190 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14188 if test -z "$ac_err"; then | 14191 if test -z "$ac_err"; then |
14189 rm -rf conftest* | 14192 rm -rf conftest* |
14190 eval "ac_cv_header_$ac_safe=yes" | 14193 eval "ac_cv_header_$ac_safe=yes" |
14191 else | 14194 else |
14235 fi | 14238 fi |
14236 | 14239 |
14237 if test "$with_nas_sound" != "no"; then | 14240 if test "$with_nas_sound" != "no"; then |
14238 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14241 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14239 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14242 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14240 echo "configure:14241: checking for audio/audiolib.h" >&5 | 14243 echo "configure:14244: checking for audio/audiolib.h" >&5 |
14241 | 14244 |
14242 cat > conftest.$ac_ext <<EOF | 14245 cat > conftest.$ac_ext <<EOF |
14243 #line 14244 "configure" | 14246 #line 14247 "configure" |
14244 #include "confdefs.h" | 14247 #include "confdefs.h" |
14245 #include <audio/audiolib.h> | 14248 #include <audio/audiolib.h> |
14246 EOF | 14249 EOF |
14247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14250 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14248 { (eval echo configure:14249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14251 { (eval echo configure:14252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14249 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14252 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14250 if test -z "$ac_err"; then | 14253 if test -z "$ac_err"; then |
14251 rm -rf conftest* | 14254 rm -rf conftest* |
14252 eval "ac_cv_header_$ac_safe=yes" | 14255 eval "ac_cv_header_$ac_safe=yes" |
14253 else | 14256 else |
14261 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14264 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14262 echo "$ac_t""yes" 1>&6 | 14265 echo "$ac_t""yes" 1>&6 |
14263 | 14266 |
14264 | 14267 |
14265 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14268 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14266 echo "configure:14267: checking for AuOpenServer in -laudio" >&5 | 14269 echo "configure:14270: checking for AuOpenServer in -laudio" >&5 |
14267 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14270 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14268 | 14271 |
14269 xe_check_libs=" -laudio " | 14272 xe_check_libs=" -laudio " |
14270 cat > conftest.$ac_ext <<EOF | 14273 cat > conftest.$ac_ext <<EOF |
14271 #line 14272 "configure" | 14274 #line 14275 "configure" |
14272 #include "confdefs.h" | 14275 #include "confdefs.h" |
14273 /* Override any gcc2 internal prototype to avoid an error. */ | 14276 /* Override any gcc2 internal prototype to avoid an error. */ |
14274 /* We use char because int might match the return type of a gcc2 | 14277 /* We use char because int might match the return type of a gcc2 |
14275 builtin and then its argument prototype would still apply. */ | 14278 builtin and then its argument prototype would still apply. */ |
14276 char AuOpenServer(); | 14279 char AuOpenServer(); |
14277 | 14280 |
14278 int main() { | 14281 int main() { |
14279 AuOpenServer() | 14282 AuOpenServer() |
14280 ; return 0; } | 14283 ; return 0; } |
14281 EOF | 14284 EOF |
14282 if { (eval echo configure:14283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14285 if { (eval echo configure:14286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14283 rm -rf conftest* | 14286 rm -rf conftest* |
14284 eval "ac_cv_lib_$ac_lib_var=yes" | 14287 eval "ac_cv_lib_$ac_lib_var=yes" |
14285 else | 14288 else |
14286 echo "configure: failed program was:" >&5 | 14289 echo "configure: failed program was:" >&5 |
14287 cat conftest.$ac_ext >&5 | 14290 cat conftest.$ac_ext >&5 |
14316 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14319 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14317 echo " xemacs will be linked with \"nas.o\"" | 14320 echo " xemacs will be linked with \"nas.o\"" |
14318 fi | 14321 fi |
14319 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14322 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14320 cat > conftest.$ac_ext <<EOF | 14323 cat > conftest.$ac_ext <<EOF |
14321 #line 14322 "configure" | 14324 #line 14325 "configure" |
14322 #include "confdefs.h" | 14325 #include "confdefs.h" |
14323 #include <audio/Xtutil.h> | 14326 #include <audio/Xtutil.h> |
14324 EOF | 14327 EOF |
14325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14326 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14329 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14347 | 14350 |
14348 if test "$with_esd_sound" != "no"; then | 14351 if test "$with_esd_sound" != "no"; then |
14349 # Extract the first word of "esd-config", so it can be a program name with args. | 14352 # Extract the first word of "esd-config", so it can be a program name with args. |
14350 set dummy esd-config; ac_word=$2 | 14353 set dummy esd-config; ac_word=$2 |
14351 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14354 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14352 echo "configure:14353: checking for $ac_word" >&5 | 14355 echo "configure:14356: checking for $ac_word" >&5 |
14353 | 14356 |
14354 if test -n "$have_esd_config"; then | 14357 if test -n "$have_esd_config"; then |
14355 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14358 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14356 else | 14359 else |
14357 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14360 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14376 if test "$have_esd_config" = "yes"; then | 14379 if test "$have_esd_config" = "yes"; then |
14377 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14380 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14378 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 | 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 |
14379 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14382 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14380 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14383 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14381 echo "configure:14382: checking for esd_play_stream" >&5 | 14384 echo "configure:14385: checking for esd_play_stream" >&5 |
14382 | 14385 |
14383 cat > conftest.$ac_ext <<EOF | 14386 cat > conftest.$ac_ext <<EOF |
14384 #line 14385 "configure" | 14387 #line 14388 "configure" |
14385 #include "confdefs.h" | 14388 #include "confdefs.h" |
14386 /* System header to define __stub macros and hopefully few prototypes, | 14389 /* System header to define __stub macros and hopefully few prototypes, |
14387 which can conflict with char esd_play_stream(); below. */ | 14390 which can conflict with char esd_play_stream(); below. */ |
14388 #include <assert.h> | 14391 #include <assert.h> |
14389 /* Override any gcc2 internal prototype to avoid an error. */ | 14392 /* Override any gcc2 internal prototype to avoid an error. */ |
14402 esd_play_stream(); | 14405 esd_play_stream(); |
14403 #endif | 14406 #endif |
14404 | 14407 |
14405 ; return 0; } | 14408 ; return 0; } |
14406 EOF | 14409 EOF |
14407 if { (eval echo configure:14408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14410 if { (eval echo configure:14411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14408 rm -rf conftest* | 14411 rm -rf conftest* |
14409 eval "ac_cv_func_esd_play_stream=yes" | 14412 eval "ac_cv_func_esd_play_stream=yes" |
14410 else | 14413 else |
14411 echo "configure: failed program was:" >&5 | 14414 echo "configure: failed program was:" >&5 |
14412 cat conftest.$ac_ext >&5 | 14415 cat conftest.$ac_ext >&5 |
14453 | 14456 |
14454 test -z "$with_tty" && with_tty=yes | 14457 test -z "$with_tty" && with_tty=yes |
14455 | 14458 |
14456 if test "$with_tty" = "yes" ; then | 14459 if test "$with_tty" = "yes" ; then |
14457 echo "checking for TTY-related features" 1>&6 | 14460 echo "checking for TTY-related features" 1>&6 |
14458 echo "configure:14459: checking for TTY-related features" >&5 | 14461 echo "configure:14462: checking for TTY-related features" >&5 |
14459 { test "$extra_verbose" = "yes" && cat << \EOF | 14462 { test "$extra_verbose" = "yes" && cat << \EOF |
14460 Defining HAVE_TTY | 14463 Defining HAVE_TTY |
14461 EOF | 14464 EOF |
14462 cat >> confdefs.h <<\EOF | 14465 cat >> confdefs.h <<\EOF |
14463 #define HAVE_TTY 1 | 14466 #define HAVE_TTY 1 |
14466 | 14469 |
14467 | 14470 |
14468 if test -z "$with_ncurses"; then | 14471 if test -z "$with_ncurses"; then |
14469 | 14472 |
14470 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14473 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14471 echo "configure:14472: checking for tgetent in -lncurses" >&5 | 14474 echo "configure:14475: checking for tgetent in -lncurses" >&5 |
14472 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14475 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14473 | 14476 |
14474 xe_check_libs=" -lncurses " | 14477 xe_check_libs=" -lncurses " |
14475 cat > conftest.$ac_ext <<EOF | 14478 cat > conftest.$ac_ext <<EOF |
14476 #line 14477 "configure" | 14479 #line 14480 "configure" |
14477 #include "confdefs.h" | 14480 #include "confdefs.h" |
14478 /* Override any gcc2 internal prototype to avoid an error. */ | 14481 /* Override any gcc2 internal prototype to avoid an error. */ |
14479 /* We use char because int might match the return type of a gcc2 | 14482 /* We use char because int might match the return type of a gcc2 |
14480 builtin and then its argument prototype would still apply. */ | 14483 builtin and then its argument prototype would still apply. */ |
14481 char tgetent(); | 14484 char tgetent(); |
14482 | 14485 |
14483 int main() { | 14486 int main() { |
14484 tgetent() | 14487 tgetent() |
14485 ; return 0; } | 14488 ; return 0; } |
14486 EOF | 14489 EOF |
14487 if { (eval echo configure:14488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14490 if { (eval echo configure:14491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14488 rm -rf conftest* | 14491 rm -rf conftest* |
14489 eval "ac_cv_lib_$ac_lib_var=yes" | 14492 eval "ac_cv_lib_$ac_lib_var=yes" |
14490 else | 14493 else |
14491 echo "configure: failed program was:" >&5 | 14494 echo "configure: failed program was:" >&5 |
14492 cat conftest.$ac_ext >&5 | 14495 cat conftest.$ac_ext >&5 |
14515 EOF | 14518 EOF |
14516 } | 14519 } |
14517 | 14520 |
14518 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14521 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14519 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14522 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14520 echo "configure:14521: checking for ncurses/curses.h" >&5 | 14523 echo "configure:14524: checking for ncurses/curses.h" >&5 |
14521 | 14524 |
14522 cat > conftest.$ac_ext <<EOF | 14525 cat > conftest.$ac_ext <<EOF |
14523 #line 14524 "configure" | 14526 #line 14527 "configure" |
14524 #include "confdefs.h" | 14527 #include "confdefs.h" |
14525 #include <ncurses/curses.h> | 14528 #include <ncurses/curses.h> |
14526 EOF | 14529 EOF |
14527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14530 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14528 { (eval echo configure:14529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14531 { (eval echo configure:14532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14529 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14532 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14530 if test -z "$ac_err"; then | 14533 if test -z "$ac_err"; then |
14531 rm -rf conftest* | 14534 rm -rf conftest* |
14532 eval "ac_cv_header_$ac_safe=yes" | 14535 eval "ac_cv_header_$ac_safe=yes" |
14533 else | 14536 else |
14545 echo "$ac_t""no" 1>&6 | 14548 echo "$ac_t""no" 1>&6 |
14546 fi | 14549 fi |
14547 | 14550 |
14548 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14551 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14549 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14552 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14550 echo "configure:14551: checking for ncurses/term.h" >&5 | 14553 echo "configure:14554: checking for ncurses/term.h" >&5 |
14551 | 14554 |
14552 cat > conftest.$ac_ext <<EOF | 14555 cat > conftest.$ac_ext <<EOF |
14553 #line 14554 "configure" | 14556 #line 14557 "configure" |
14554 #include "confdefs.h" | 14557 #include "confdefs.h" |
14555 #include <ncurses/term.h> | 14558 #include <ncurses/term.h> |
14556 EOF | 14559 EOF |
14557 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14560 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14558 { (eval echo configure:14559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14561 { (eval echo configure:14562: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14559 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14562 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14560 if test -z "$ac_err"; then | 14563 if test -z "$ac_err"; then |
14561 rm -rf conftest* | 14564 rm -rf conftest* |
14562 eval "ac_cv_header_$ac_safe=yes" | 14565 eval "ac_cv_header_$ac_safe=yes" |
14563 else | 14566 else |
14583 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14586 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14584 save_c_switch_site="$c_switch_site" | 14587 save_c_switch_site="$c_switch_site" |
14585 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14588 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14586 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14589 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14587 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14590 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14588 echo "configure:14589: checking for ncurses/curses.h" >&5 | 14591 echo "configure:14592: checking for ncurses/curses.h" >&5 |
14589 | 14592 |
14590 cat > conftest.$ac_ext <<EOF | 14593 cat > conftest.$ac_ext <<EOF |
14591 #line 14592 "configure" | 14594 #line 14595 "configure" |
14592 #include "confdefs.h" | 14595 #include "confdefs.h" |
14593 #include <ncurses/curses.h> | 14596 #include <ncurses/curses.h> |
14594 EOF | 14597 EOF |
14595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14596 { (eval echo configure:14597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14599 { (eval echo configure:14600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14598 if test -z "$ac_err"; then | 14601 if test -z "$ac_err"; then |
14599 rm -rf conftest* | 14602 rm -rf conftest* |
14600 eval "ac_cv_header_$ac_safe=yes" | 14603 eval "ac_cv_header_$ac_safe=yes" |
14601 else | 14604 else |
14626 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14629 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14627 else | 14630 else |
14628 for lib in curses termlib termcap; do | 14631 for lib in curses termlib termcap; do |
14629 | 14632 |
14630 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14633 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14631 echo "configure:14632: checking for tgetent in -l$lib" >&5 | 14634 echo "configure:14635: checking for tgetent in -l$lib" >&5 |
14632 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14635 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14633 | 14636 |
14634 xe_check_libs=" -l$lib " | 14637 xe_check_libs=" -l$lib " |
14635 cat > conftest.$ac_ext <<EOF | 14638 cat > conftest.$ac_ext <<EOF |
14636 #line 14637 "configure" | 14639 #line 14640 "configure" |
14637 #include "confdefs.h" | 14640 #include "confdefs.h" |
14638 /* Override any gcc2 internal prototype to avoid an error. */ | 14641 /* Override any gcc2 internal prototype to avoid an error. */ |
14639 /* We use char because int might match the return type of a gcc2 | 14642 /* We use char because int might match the return type of a gcc2 |
14640 builtin and then its argument prototype would still apply. */ | 14643 builtin and then its argument prototype would still apply. */ |
14641 char tgetent(); | 14644 char tgetent(); |
14642 | 14645 |
14643 int main() { | 14646 int main() { |
14644 tgetent() | 14647 tgetent() |
14645 ; return 0; } | 14648 ; return 0; } |
14646 EOF | 14649 EOF |
14647 if { (eval echo configure:14648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14650 if { (eval echo configure:14651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14648 rm -rf conftest* | 14651 rm -rf conftest* |
14649 eval "ac_cv_lib_$ac_lib_var=yes" | 14652 eval "ac_cv_lib_$ac_lib_var=yes" |
14650 else | 14653 else |
14651 echo "configure: failed program was:" >&5 | 14654 echo "configure: failed program was:" >&5 |
14652 cat conftest.$ac_ext >&5 | 14655 cat conftest.$ac_ext >&5 |
14673 if test -n "$libs_termcap"; then | 14676 if test -n "$libs_termcap"; then |
14674 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14677 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14675 else | 14678 else |
14676 | 14679 |
14677 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14680 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14678 echo "configure:14679: checking for tgetent in -lcurses" >&5 | 14681 echo "configure:14682: checking for tgetent in -lcurses" >&5 |
14679 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14682 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14680 | 14683 |
14681 xe_check_libs=" -lcurses " | 14684 xe_check_libs=" -lcurses " |
14682 cat > conftest.$ac_ext <<EOF | 14685 cat > conftest.$ac_ext <<EOF |
14683 #line 14684 "configure" | 14686 #line 14687 "configure" |
14684 #include "confdefs.h" | 14687 #include "confdefs.h" |
14685 /* Override any gcc2 internal prototype to avoid an error. */ | 14688 /* Override any gcc2 internal prototype to avoid an error. */ |
14686 /* We use char because int might match the return type of a gcc2 | 14689 /* We use char because int might match the return type of a gcc2 |
14687 builtin and then its argument prototype would still apply. */ | 14690 builtin and then its argument prototype would still apply. */ |
14688 char tgetent(); | 14691 char tgetent(); |
14689 | 14692 |
14690 int main() { | 14693 int main() { |
14691 tgetent() | 14694 tgetent() |
14692 ; return 0; } | 14695 ; return 0; } |
14693 EOF | 14696 EOF |
14694 if { (eval echo configure:14695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14697 if { (eval echo configure:14698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14695 rm -rf conftest* | 14698 rm -rf conftest* |
14696 eval "ac_cv_lib_$ac_lib_var=yes" | 14699 eval "ac_cv_lib_$ac_lib_var=yes" |
14697 else | 14700 else |
14698 echo "configure: failed program was:" >&5 | 14701 echo "configure: failed program was:" >&5 |
14699 cat conftest.$ac_ext >&5 | 14702 cat conftest.$ac_ext >&5 |
14707 echo "$ac_t""yes" 1>&6 | 14710 echo "$ac_t""yes" 1>&6 |
14708 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14711 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14709 else | 14712 else |
14710 echo "$ac_t""no" 1>&6 | 14713 echo "$ac_t""no" 1>&6 |
14711 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14714 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14712 echo "configure:14713: checking for tgetent in -ltermcap" >&5 | 14715 echo "configure:14716: checking for tgetent in -ltermcap" >&5 |
14713 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14716 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14714 | 14717 |
14715 xe_check_libs=" -ltermcap " | 14718 xe_check_libs=" -ltermcap " |
14716 cat > conftest.$ac_ext <<EOF | 14719 cat > conftest.$ac_ext <<EOF |
14717 #line 14718 "configure" | 14720 #line 14721 "configure" |
14718 #include "confdefs.h" | 14721 #include "confdefs.h" |
14719 /* Override any gcc2 internal prototype to avoid an error. */ | 14722 /* Override any gcc2 internal prototype to avoid an error. */ |
14720 /* We use char because int might match the return type of a gcc2 | 14723 /* We use char because int might match the return type of a gcc2 |
14721 builtin and then its argument prototype would still apply. */ | 14724 builtin and then its argument prototype would still apply. */ |
14722 char tgetent(); | 14725 char tgetent(); |
14723 | 14726 |
14724 int main() { | 14727 int main() { |
14725 tgetent() | 14728 tgetent() |
14726 ; return 0; } | 14729 ; return 0; } |
14727 EOF | 14730 EOF |
14728 if { (eval echo configure:14729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14731 if { (eval echo configure:14732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14729 rm -rf conftest* | 14732 rm -rf conftest* |
14730 eval "ac_cv_lib_$ac_lib_var=yes" | 14733 eval "ac_cv_lib_$ac_lib_var=yes" |
14731 else | 14734 else |
14732 echo "configure: failed program was:" >&5 | 14735 echo "configure: failed program was:" >&5 |
14733 cat conftest.$ac_ext >&5 | 14736 cat conftest.$ac_ext >&5 |
14771 } | 14774 } |
14772 | 14775 |
14773 | 14776 |
14774 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14777 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14775 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14778 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14776 echo "configure:14777: checking for gpm.h" >&5 | 14779 echo "configure:14780: checking for gpm.h" >&5 |
14777 | 14780 |
14778 cat > conftest.$ac_ext <<EOF | 14781 cat > conftest.$ac_ext <<EOF |
14779 #line 14780 "configure" | 14782 #line 14783 "configure" |
14780 #include "confdefs.h" | 14783 #include "confdefs.h" |
14781 #include <gpm.h> | 14784 #include <gpm.h> |
14782 EOF | 14785 EOF |
14783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14786 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14784 { (eval echo configure:14785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14787 { (eval echo configure:14788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14788 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14786 if test -z "$ac_err"; then | 14789 if test -z "$ac_err"; then |
14787 rm -rf conftest* | 14790 rm -rf conftest* |
14788 eval "ac_cv_header_$ac_safe=yes" | 14791 eval "ac_cv_header_$ac_safe=yes" |
14789 else | 14792 else |
14802 with_gpm=no | 14805 with_gpm=no |
14803 fi | 14806 fi |
14804 } | 14807 } |
14805 test -z "$with_gpm" && { | 14808 test -z "$with_gpm" && { |
14806 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14809 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14807 echo "configure:14808: checking for Gpm_Open in -lgpm" >&5 | 14810 echo "configure:14811: checking for Gpm_Open in -lgpm" >&5 |
14808 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14811 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14809 | 14812 |
14810 xe_check_libs=" -lgpm " | 14813 xe_check_libs=" -lgpm " |
14811 cat > conftest.$ac_ext <<EOF | 14814 cat > conftest.$ac_ext <<EOF |
14812 #line 14813 "configure" | 14815 #line 14816 "configure" |
14813 #include "confdefs.h" | 14816 #include "confdefs.h" |
14814 /* Override any gcc2 internal prototype to avoid an error. */ | 14817 /* Override any gcc2 internal prototype to avoid an error. */ |
14815 /* We use char because int might match the return type of a gcc2 | 14818 /* We use char because int might match the return type of a gcc2 |
14816 builtin and then its argument prototype would still apply. */ | 14819 builtin and then its argument prototype would still apply. */ |
14817 char Gpm_Open(); | 14820 char Gpm_Open(); |
14818 | 14821 |
14819 int main() { | 14822 int main() { |
14820 Gpm_Open() | 14823 Gpm_Open() |
14821 ; return 0; } | 14824 ; return 0; } |
14822 EOF | 14825 EOF |
14823 if { (eval echo configure:14824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14826 if { (eval echo configure:14827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14824 rm -rf conftest* | 14827 rm -rf conftest* |
14825 eval "ac_cv_lib_$ac_lib_var=yes" | 14828 eval "ac_cv_lib_$ac_lib_var=yes" |
14826 else | 14829 else |
14827 echo "configure: failed program was:" >&5 | 14830 echo "configure: failed program was:" >&5 |
14828 cat conftest.$ac_ext >&5 | 14831 cat conftest.$ac_ext >&5 |
14861 done | 14864 done |
14862 fi | 14865 fi |
14863 | 14866 |
14864 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 14867 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14865 != "no no no" && echo "checking for database support" 1>&6 | 14868 != "no no no" && echo "checking for database support" 1>&6 |
14866 echo "configure:14867: checking for database support" >&5 | 14869 echo "configure:14870: checking for database support" >&5 |
14867 | 14870 |
14868 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 14871 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14869 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 14872 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14870 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 14873 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14871 echo "configure:14872: checking for ndbm.h" >&5 | 14874 echo "configure:14875: checking for ndbm.h" >&5 |
14872 | 14875 |
14873 cat > conftest.$ac_ext <<EOF | 14876 cat > conftest.$ac_ext <<EOF |
14874 #line 14875 "configure" | 14877 #line 14878 "configure" |
14875 #include "confdefs.h" | 14878 #include "confdefs.h" |
14876 #include <ndbm.h> | 14879 #include <ndbm.h> |
14877 EOF | 14880 EOF |
14878 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14881 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14879 { (eval echo configure:14880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14882 { (eval echo configure:14883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14880 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14883 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14881 if test -z "$ac_err"; then | 14884 if test -z "$ac_err"; then |
14882 rm -rf conftest* | 14885 rm -rf conftest* |
14883 eval "ac_cv_header_$ac_safe=yes" | 14886 eval "ac_cv_header_$ac_safe=yes" |
14884 else | 14887 else |
14904 fi | 14907 fi |
14905 | 14908 |
14906 if test "$with_database_gdbm" != "no"; then | 14909 if test "$with_database_gdbm" != "no"; then |
14907 | 14910 |
14908 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 14911 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
14909 echo "configure:14910: checking for dbm_open in -lgdbm" >&5 | 14912 echo "configure:14913: checking for dbm_open in -lgdbm" >&5 |
14910 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 14913 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
14911 | 14914 |
14912 xe_check_libs=" -lgdbm " | 14915 xe_check_libs=" -lgdbm " |
14913 cat > conftest.$ac_ext <<EOF | 14916 cat > conftest.$ac_ext <<EOF |
14914 #line 14915 "configure" | 14917 #line 14918 "configure" |
14915 #include "confdefs.h" | 14918 #include "confdefs.h" |
14916 /* Override any gcc2 internal prototype to avoid an error. */ | 14919 /* Override any gcc2 internal prototype to avoid an error. */ |
14917 /* We use char because int might match the return type of a gcc2 | 14920 /* We use char because int might match the return type of a gcc2 |
14918 builtin and then its argument prototype would still apply. */ | 14921 builtin and then its argument prototype would still apply. */ |
14919 char dbm_open(); | 14922 char dbm_open(); |
14920 | 14923 |
14921 int main() { | 14924 int main() { |
14922 dbm_open() | 14925 dbm_open() |
14923 ; return 0; } | 14926 ; return 0; } |
14924 EOF | 14927 EOF |
14925 if { (eval echo configure:14926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14928 if { (eval echo configure:14929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14926 rm -rf conftest* | 14929 rm -rf conftest* |
14927 eval "ac_cv_lib_$ac_lib_var=yes" | 14930 eval "ac_cv_lib_$ac_lib_var=yes" |
14928 else | 14931 else |
14929 echo "configure: failed program was:" >&5 | 14932 echo "configure: failed program was:" >&5 |
14930 cat conftest.$ac_ext >&5 | 14933 cat conftest.$ac_ext >&5 |
14948 | 14951 |
14949 fi | 14952 fi |
14950 | 14953 |
14951 if test "$with_database_dbm" != "no"; then | 14954 if test "$with_database_dbm" != "no"; then |
14952 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 14955 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
14953 echo "configure:14954: checking for dbm_open" >&5 | 14956 echo "configure:14957: checking for dbm_open" >&5 |
14954 | 14957 |
14955 cat > conftest.$ac_ext <<EOF | 14958 cat > conftest.$ac_ext <<EOF |
14956 #line 14957 "configure" | 14959 #line 14960 "configure" |
14957 #include "confdefs.h" | 14960 #include "confdefs.h" |
14958 /* System header to define __stub macros and hopefully few prototypes, | 14961 /* System header to define __stub macros and hopefully few prototypes, |
14959 which can conflict with char dbm_open(); below. */ | 14962 which can conflict with char dbm_open(); below. */ |
14960 #include <assert.h> | 14963 #include <assert.h> |
14961 /* Override any gcc2 internal prototype to avoid an error. */ | 14964 /* Override any gcc2 internal prototype to avoid an error. */ |
14974 dbm_open(); | 14977 dbm_open(); |
14975 #endif | 14978 #endif |
14976 | 14979 |
14977 ; return 0; } | 14980 ; return 0; } |
14978 EOF | 14981 EOF |
14979 if { (eval echo configure:14980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14982 if { (eval echo configure:14983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14980 rm -rf conftest* | 14983 rm -rf conftest* |
14981 eval "ac_cv_func_dbm_open=yes" | 14984 eval "ac_cv_func_dbm_open=yes" |
14982 else | 14985 else |
14983 echo "configure: failed program was:" >&5 | 14986 echo "configure: failed program was:" >&5 |
14984 cat conftest.$ac_ext >&5 | 14987 cat conftest.$ac_ext >&5 |
14993 else | 14996 else |
14994 echo "$ac_t""no" 1>&6 | 14997 echo "$ac_t""no" 1>&6 |
14995 | 14998 |
14996 | 14999 |
14997 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15000 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
14998 echo "configure:14999: checking for dbm_open in -ldbm" >&5 | 15001 echo "configure:15002: checking for dbm_open in -ldbm" >&5 |
14999 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15002 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15000 | 15003 |
15001 xe_check_libs=" -ldbm " | 15004 xe_check_libs=" -ldbm " |
15002 cat > conftest.$ac_ext <<EOF | 15005 cat > conftest.$ac_ext <<EOF |
15003 #line 15004 "configure" | 15006 #line 15007 "configure" |
15004 #include "confdefs.h" | 15007 #include "confdefs.h" |
15005 /* Override any gcc2 internal prototype to avoid an error. */ | 15008 /* Override any gcc2 internal prototype to avoid an error. */ |
15006 /* We use char because int might match the return type of a gcc2 | 15009 /* We use char because int might match the return type of a gcc2 |
15007 builtin and then its argument prototype would still apply. */ | 15010 builtin and then its argument prototype would still apply. */ |
15008 char dbm_open(); | 15011 char dbm_open(); |
15009 | 15012 |
15010 int main() { | 15013 int main() { |
15011 dbm_open() | 15014 dbm_open() |
15012 ; return 0; } | 15015 ; return 0; } |
15013 EOF | 15016 EOF |
15014 if { (eval echo configure:15015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15017 if { (eval echo configure:15018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15015 rm -rf conftest* | 15018 rm -rf conftest* |
15016 eval "ac_cv_lib_$ac_lib_var=yes" | 15019 eval "ac_cv_lib_$ac_lib_var=yes" |
15017 else | 15020 else |
15018 echo "configure: failed program was:" >&5 | 15021 echo "configure: failed program was:" >&5 |
15019 cat conftest.$ac_ext >&5 | 15022 cat conftest.$ac_ext >&5 |
15050 } | 15053 } |
15051 | 15054 |
15052 | 15055 |
15053 if test "$with_database_berkdb" != "no"; then | 15056 if test "$with_database_berkdb" != "no"; then |
15054 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15057 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15055 echo "configure:15056: checking for Berkeley db.h" >&5 | 15058 echo "configure:15059: checking for Berkeley db.h" >&5 |
15056 for header in "db/db.h" "db.h"; do | 15059 for header in "db/db.h" "db.h"; do |
15057 cat > conftest.$ac_ext <<EOF | 15060 cat > conftest.$ac_ext <<EOF |
15058 #line 15059 "configure" | 15061 #line 15062 "configure" |
15059 #include "confdefs.h" | 15062 #include "confdefs.h" |
15060 | 15063 |
15061 #include <stdlib.h> | 15064 #include <stdlib.h> |
15062 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15065 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15063 #ifdef HAVE_INTTYPES_H | 15066 #ifdef HAVE_INTTYPES_H |
15075 | 15078 |
15076 int main() { | 15079 int main() { |
15077 | 15080 |
15078 ; return 0; } | 15081 ; return 0; } |
15079 EOF | 15082 EOF |
15080 if { (eval echo configure:15081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15083 if { (eval echo configure:15084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15081 rm -rf conftest* | 15084 rm -rf conftest* |
15082 db_h_file="$header"; break | 15085 db_h_file="$header"; break |
15083 else | 15086 else |
15084 echo "configure: failed program was:" >&5 | 15087 echo "configure: failed program was:" >&5 |
15085 cat conftest.$ac_ext >&5 | 15088 cat conftest.$ac_ext >&5 |
15091 else echo "$ac_t""$db_h_file" 1>&6 | 15094 else echo "$ac_t""$db_h_file" 1>&6 |
15092 fi | 15095 fi |
15093 | 15096 |
15094 if test "$with_database_berkdb" != "no"; then | 15097 if test "$with_database_berkdb" != "no"; then |
15095 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15098 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15096 echo "configure:15097: checking for Berkeley DB version" >&5 | 15099 echo "configure:15100: checking for Berkeley DB version" >&5 |
15097 cat > conftest.$ac_ext <<EOF | 15100 cat > conftest.$ac_ext <<EOF |
15098 #line 15099 "configure" | 15101 #line 15102 "configure" |
15099 #include "confdefs.h" | 15102 #include "confdefs.h" |
15100 #include <$db_h_file> | 15103 #include <$db_h_file> |
15101 #if DB_VERSION_MAJOR > 1 | 15104 #if DB_VERSION_MAJOR > 1 |
15102 yes | 15105 yes |
15103 #endif | 15106 #endif |
15105 EOF | 15108 EOF |
15106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15107 egrep "yes" >/dev/null 2>&1; then | 15110 egrep "yes" >/dev/null 2>&1; then |
15108 rm -rf conftest* | 15111 rm -rf conftest* |
15109 cat > conftest.$ac_ext <<EOF | 15112 cat > conftest.$ac_ext <<EOF |
15110 #line 15111 "configure" | 15113 #line 15114 "configure" |
15111 #include "confdefs.h" | 15114 #include "confdefs.h" |
15112 #include <$db_h_file> | 15115 #include <$db_h_file> |
15113 #if DB_VERSION_MAJOR > 2 | 15116 #if DB_VERSION_MAJOR > 2 |
15114 yes | 15117 yes |
15115 #endif | 15118 #endif |
15117 EOF | 15120 EOF |
15118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15119 egrep "yes" >/dev/null 2>&1; then | 15122 egrep "yes" >/dev/null 2>&1; then |
15120 rm -rf conftest* | 15123 rm -rf conftest* |
15121 cat > conftest.$ac_ext <<EOF | 15124 cat > conftest.$ac_ext <<EOF |
15122 #line 15123 "configure" | 15125 #line 15126 "configure" |
15123 #include "confdefs.h" | 15126 #include "confdefs.h" |
15124 #include <$db_h_file> | 15127 #include <$db_h_file> |
15125 #if DB_VERSION_MAJOR > 3 | 15128 #if DB_VERSION_MAJOR > 3 |
15126 yes | 15129 yes |
15127 #endif | 15130 #endif |
15151 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15154 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15152 fi | 15155 fi |
15153 rm -f conftest* | 15156 rm -f conftest* |
15154 | 15157 |
15155 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15158 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15156 echo "configure:15157: checking for $dbfunc" >&5 | 15159 echo "configure:15160: checking for $dbfunc" >&5 |
15157 | 15160 |
15158 cat > conftest.$ac_ext <<EOF | 15161 cat > conftest.$ac_ext <<EOF |
15159 #line 15160 "configure" | 15162 #line 15163 "configure" |
15160 #include "confdefs.h" | 15163 #include "confdefs.h" |
15161 /* System header to define __stub macros and hopefully few prototypes, | 15164 /* System header to define __stub macros and hopefully few prototypes, |
15162 which can conflict with char $dbfunc(); below. */ | 15165 which can conflict with char $dbfunc(); below. */ |
15163 #include <assert.h> | 15166 #include <assert.h> |
15164 /* Override any gcc2 internal prototype to avoid an error. */ | 15167 /* Override any gcc2 internal prototype to avoid an error. */ |
15177 $dbfunc(); | 15180 $dbfunc(); |
15178 #endif | 15181 #endif |
15179 | 15182 |
15180 ; return 0; } | 15183 ; return 0; } |
15181 EOF | 15184 EOF |
15182 if { (eval echo configure:15183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15185 if { (eval echo configure:15186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15183 rm -rf conftest* | 15186 rm -rf conftest* |
15184 eval "ac_cv_func_$dbfunc=yes" | 15187 eval "ac_cv_func_$dbfunc=yes" |
15185 else | 15188 else |
15186 echo "configure: failed program was:" >&5 | 15189 echo "configure: failed program was:" >&5 |
15187 cat conftest.$ac_ext >&5 | 15190 cat conftest.$ac_ext >&5 |
15196 else | 15199 else |
15197 echo "$ac_t""no" 1>&6 | 15200 echo "$ac_t""no" 1>&6 |
15198 | 15201 |
15199 | 15202 |
15200 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15203 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15201 echo "configure:15202: checking for $dbfunc in -ldb" >&5 | 15204 echo "configure:15205: checking for $dbfunc in -ldb" >&5 |
15202 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15205 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15203 | 15206 |
15204 xe_check_libs=" -ldb " | 15207 xe_check_libs=" -ldb " |
15205 cat > conftest.$ac_ext <<EOF | 15208 cat > conftest.$ac_ext <<EOF |
15206 #line 15207 "configure" | 15209 #line 15210 "configure" |
15207 #include "confdefs.h" | 15210 #include "confdefs.h" |
15208 /* Override any gcc2 internal prototype to avoid an error. */ | 15211 /* Override any gcc2 internal prototype to avoid an error. */ |
15209 /* We use char because int might match the return type of a gcc2 | 15212 /* We use char because int might match the return type of a gcc2 |
15210 builtin and then its argument prototype would still apply. */ | 15213 builtin and then its argument prototype would still apply. */ |
15211 char $dbfunc(); | 15214 char $dbfunc(); |
15212 | 15215 |
15213 int main() { | 15216 int main() { |
15214 $dbfunc() | 15217 $dbfunc() |
15215 ; return 0; } | 15218 ; return 0; } |
15216 EOF | 15219 EOF |
15217 if { (eval echo configure:15218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15220 if { (eval echo configure:15221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15218 rm -rf conftest* | 15221 rm -rf conftest* |
15219 eval "ac_cv_lib_$ac_lib_var=yes" | 15222 eval "ac_cv_lib_$ac_lib_var=yes" |
15220 else | 15223 else |
15221 echo "configure: failed program was:" >&5 | 15224 echo "configure: failed program was:" >&5 |
15222 cat conftest.$ac_ext >&5 | 15225 cat conftest.$ac_ext >&5 |
15246 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15249 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15247 rm -f $tempcname | 15250 rm -f $tempcname |
15248 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15251 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15249 | 15252 |
15250 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15253 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15251 echo "configure:15252: checking for $dbfunc in -ldb" >&5 | 15254 echo "configure:15255: checking for $dbfunc in -ldb" >&5 |
15252 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15255 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15253 | 15256 |
15254 xe_check_libs=" -ldb " | 15257 xe_check_libs=" -ldb " |
15255 cat > conftest.$ac_ext <<EOF | 15258 cat > conftest.$ac_ext <<EOF |
15256 #line 15257 "configure" | 15259 #line 15260 "configure" |
15257 #include "confdefs.h" | 15260 #include "confdefs.h" |
15258 /* Override any gcc2 internal prototype to avoid an error. */ | 15261 /* Override any gcc2 internal prototype to avoid an error. */ |
15259 /* We use char because int might match the return type of a gcc2 | 15262 /* We use char because int might match the return type of a gcc2 |
15260 builtin and then its argument prototype would still apply. */ | 15263 builtin and then its argument prototype would still apply. */ |
15261 char $dbfunc(); | 15264 char $dbfunc(); |
15262 | 15265 |
15263 int main() { | 15266 int main() { |
15264 $dbfunc() | 15267 $dbfunc() |
15265 ; return 0; } | 15268 ; return 0; } |
15266 EOF | 15269 EOF |
15267 if { (eval echo configure:15268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15270 if { (eval echo configure:15271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15268 rm -rf conftest* | 15271 rm -rf conftest* |
15269 eval "ac_cv_lib_$ac_lib_var=yes" | 15272 eval "ac_cv_lib_$ac_lib_var=yes" |
15270 else | 15273 else |
15271 echo "configure: failed program was:" >&5 | 15274 echo "configure: failed program was:" >&5 |
15272 cat conftest.$ac_ext >&5 | 15275 cat conftest.$ac_ext >&5 |
15321 fi | 15324 fi |
15322 | 15325 |
15323 if test "$with_socks" = "yes"; then | 15326 if test "$with_socks" = "yes"; then |
15324 | 15327 |
15325 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15328 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15326 echo "configure:15327: checking for SOCKSinit in -lsocks" >&5 | 15329 echo "configure:15330: checking for SOCKSinit in -lsocks" >&5 |
15327 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15330 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15328 | 15331 |
15329 xe_check_libs=" -lsocks " | 15332 xe_check_libs=" -lsocks " |
15330 cat > conftest.$ac_ext <<EOF | 15333 cat > conftest.$ac_ext <<EOF |
15331 #line 15332 "configure" | 15334 #line 15335 "configure" |
15332 #include "confdefs.h" | 15335 #include "confdefs.h" |
15333 /* Override any gcc2 internal prototype to avoid an error. */ | 15336 /* Override any gcc2 internal prototype to avoid an error. */ |
15334 /* We use char because int might match the return type of a gcc2 | 15337 /* We use char because int might match the return type of a gcc2 |
15335 builtin and then its argument prototype would still apply. */ | 15338 builtin and then its argument prototype would still apply. */ |
15336 char SOCKSinit(); | 15339 char SOCKSinit(); |
15337 | 15340 |
15338 int main() { | 15341 int main() { |
15339 SOCKSinit() | 15342 SOCKSinit() |
15340 ; return 0; } | 15343 ; return 0; } |
15341 EOF | 15344 EOF |
15342 if { (eval echo configure:15343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15345 if { (eval echo configure:15346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15343 rm -rf conftest* | 15346 rm -rf conftest* |
15344 eval "ac_cv_lib_$ac_lib_var=yes" | 15347 eval "ac_cv_lib_$ac_lib_var=yes" |
15345 else | 15348 else |
15346 echo "configure: failed program was:" >&5 | 15349 echo "configure: failed program was:" >&5 |
15347 cat conftest.$ac_ext >&5 | 15350 cat conftest.$ac_ext >&5 |
15391 | 15394 |
15392 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15395 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15393 fi | 15396 fi |
15394 | 15397 |
15395 cat > conftest.$ac_ext <<EOF | 15398 cat > conftest.$ac_ext <<EOF |
15396 #line 15397 "configure" | 15399 #line 15400 "configure" |
15397 #include "confdefs.h" | 15400 #include "confdefs.h" |
15398 int main(int c,char *v[]){return 0;} | 15401 int main(int c,char *v[]){return 0;} |
15399 EOF | 15402 EOF |
15400 if { (eval echo configure:15401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15403 if { (eval echo configure:15404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15401 then | 15404 then |
15402 : | 15405 : |
15403 else | 15406 else |
15404 conftest_rc="$?" | 15407 conftest_rc="$?" |
15405 echo "configure: failed program was:" >&5 | 15408 echo "configure: failed program was:" >&5 |
15500 T="" | 15503 T="" |
15501 for W in $ld_libs_window_system $ld_libs_general $ld_libs_module; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done | 15504 for W in $ld_libs_window_system $ld_libs_general $ld_libs_module; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done |
15502 ld_libs_all="$T" | 15505 ld_libs_all="$T" |
15503 | 15506 |
15504 | 15507 |
15505 | 15508 if test "$with_modules" = "no"; then |
15506 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi | 15509 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi |
15510 fi | |
15511 | |
15512 | |
15507 internal_makefile_list="Makefile.in" | 15513 internal_makefile_list="Makefile.in" |
15508 SUBDIR_MAKEFILES='' | 15514 SUBDIR_MAKEFILES='' |
15509 test -d lock || mkdir lock | 15515 test -d lock || mkdir lock |
15510 for dir in $MAKE_SUBDIR; do | 15516 for dir in $MAKE_SUBDIR; do |
15511 case "$dir" in */* ) ( for d in `echo $dir | sed 's:/: :g'` ; do | 15517 case "$dir" in */* ) ( for d in `echo $dir | sed 's:/: :g'` ; do |