Mercurial > hg > xemacs-beta
comparison configure @ 800:a5954632b187
[xemacs-hg @ 2002-03-31 08:27:14 by ben]
more fixes, first crack at finishing behavior implementation
TODO.ben-mule-21-5: Update.
configure.in: Fix for new error-checking types.
make-mswin-unicode.pl: Don't be fucked up by CRLF. Output code
to force errors when nonintercepted Windows calls issued.
behavior.el, dumped-lisp.el, menubar-items.el: Add support for saving using custom. Load into a dumped XEmacs.
Correct :title to :short-doc in accordance with behavior-defs.el.
Add a submenu under Options for turning on/off behaviors.
cl-macs.el: Properly document `loop'. Fix a minor bug in keymap iteration and
add support for bit-vector iteration.
lisp-mode.el: Rearrange and add items for macro expanding.
menubar-items.el: Document connection between these two functions.
window.el: Port stuff from GNU 21.1.
config.inc.samp, xemacs.mak: Separate out and add new variable for controlling error-checking.
s/windowsnt.h: Use new ERROR_CHECK_ALL; not related to DEBUG_XEMACS.
alloc.c, backtrace.h, buffer.c, buffer.h, bytecode.c, callproc.c, casetab.c, charset.h, chartab.c, cmdloop.c, config.h.in, console-msw.c, console-stream.c, console-tty.c, console.c, console.h, data.c, device-msw.c, device.c, device.h, dired-msw.c, dired.c, dumper.c, editfns.c, eldap.c, elhash.c, emacs.c, eval.c, event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, events.c, extents.c, faces.c, file-coding.c, file-coding.h, fileio.c, frame-msw.c, frame.c, frame.h, glyphs-gtk.c, glyphs-msw.c, glyphs-shared.c, glyphs-widget.c, glyphs-x.c, glyphs.c, glyphs.h, insdel.c, intl-auto-encap-win32.c, intl-auto-encap-win32.h, intl-encap-win32.c, intl-win32.c, keymap.c, lisp-union.h, lisp.h, lread.c, lrecord.h, lstream.c, lstream.h, macros.c, marker.c, md5.c, menubar-x.c, menubar.c, mule-coding.c, ntproc.c, objects-gtk.c, objects-msw.c, objects-x.c, objects.c, opaque.c, print.c, process-nt.c, process-unix.c, process.c, rangetab.c, redisplay-msw.c, redisplay-output.c, redisplay.c, regex.c, scrollbar-msw.c, select-msw.c, signal.c, specifier.c, specifier.h, symbols.c, sysdep.c, syswindows.h, text.c, text.h, toolbar-msw.c, tooltalk.c, ui-gtk.c, unicode.c, window.c: Redo error-checking macros: ERROR_CHECK_TYPECHECK ->
ERROR_CHECK_TYPES, ERROR_CHECK_CHARBPOS -> ERROR_CHECK_TEXT, add
ERROR_CHECK_DISPLAY, ERROR_CHECK_STRUCTURES. Document these in
config.h.in. Fix code to follow docs. Fix *_checking_assert()
in accordance with new names.
Attempt to fix periodic redisplay crash freeing display line
structures. Add first implementation of sledgehammer redisplay
check.
Redo print_*() to use write_fmt_string(), write_fmt_string_lisp().
Fix bug in md5 handling.
Rename character-to-unicode to char-to-unicode; same for
unicode-to-char{acter}.
Move chartab documentation to `make-char-table'.
Some header cleanup.
Clean up remaining places where nonintercepted Windows calls are
being used.
automated/mule-tests.el: Fix for new Unicode support.
author | ben |
---|---|
date | Sun, 31 Mar 2002 08:30:17 +0000 |
parents | e65d9cf16707 |
children | aa9a0cd78930 |
comparison
equal
deleted
inserted
replaced
799:03d9f9084848 | 800:a5954632b187 |
---|---|
533 a | al | all ) new_default=yes ;; | 533 a | al | all ) new_default=yes ;; |
534 | 534 |
535 extents ) error_check_extents=yes ;; | 535 extents ) error_check_extents=yes ;; |
536 noextents ) error_check_extents=no ;; | 536 noextents ) error_check_extents=no ;; |
537 | 537 |
538 typecheck ) error_check_typecheck=yes ;; | 538 types ) error_check_types=yes ;; |
539 notypecheck ) error_check_typecheck=no ;; | 539 notypes ) error_check_types=no ;; |
540 | 540 |
541 charbpos ) error_check_charbpos=yes ;; | 541 text ) error_check_text=yes ;; |
542 nocharbpos ) error_check_charbpos=no ;; | 542 notext ) error_check_text=no ;; |
543 | 543 |
544 gc ) error_check_gc=yes ;; | 544 gc ) error_check_gc=yes ;; |
545 nogc ) error_check_gc=no ;; | 545 nogc ) error_check_gc=no ;; |
546 | 546 |
547 malloc ) error_check_malloc=yes ;; | 547 malloc ) error_check_malloc=yes ;; |
548 nomalloc ) error_check_malloc=no ;; | 548 nomalloc ) error_check_malloc=no ;; |
549 | 549 |
550 byte_code ) error_check_byte_code=yes ;; | 550 byte_code ) error_check_byte_code=yes ;; |
551 nobyte_code ) error_check_byte_code=no ;; | 551 nobyte_code ) error_check_byte_code=no ;; |
552 | 552 |
553 glyphs ) error_check_glyphs=yes ;; | 553 glyphs ) error_check_glyphs=yes ;; |
554 noglyphs ) error_check_glyphs=no ;; | 554 noglyphs ) error_check_glyphs=no ;; |
555 | |
556 display ) error_check_display=yes ;; | |
557 nodisplay ) error_check_display=no ;; | |
558 | |
559 structures ) error_check_structures=yes ;; | |
560 nostructures ) error_check_structures=no ;; | |
555 | 561 |
556 * ) bogus_error_check=yes ;; | 562 * ) bogus_error_check=yes ;; |
557 esac | 563 esac |
558 if test "$bogus_error_check" -o \ | 564 if test "$bogus_error_check" -o \ |
559 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then | 565 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then |
560 if test "$error_check_default" = yes ; then | 566 if test "$error_check_default" = yes ; then |
561 types="\`all' (default), \`none', \`noextents', \`notypecheck', \`nocharbpos', \`nogc', \`nomalloc', \`noglyphs' and \`nobyte-code'." | 567 types="\`all' (default), \`none', \`noextents', \`notypes', \`notext', \`nogc', \`nomalloc', \`noglyphs', \`nobyte-code', \`nodisplay', \`nostructures'." |
562 else | 568 else |
563 types="\`all', \`none' (default), \`extents', \`typecheck', \`charbpos', \`gc', \`malloc', \`glyphs' and \`byte-code'." | 569 types="\`all', \`none' (default), \`extents', \`types', \`text', \`gc', \`malloc', \`glyphs', \`byte-code', \`display', \`structures'." |
564 fi | 570 fi |
565 (echo "$progname: Usage error:" | 571 (echo "$progname: Usage error:" |
566 echo " " "Valid types for the \`--$optname' option are: | 572 echo " " "Valid types for the \`--$optname' option are: |
567 $types." | 573 $types." |
568 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 574 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
569 elif test -n "$new_default" ; then | 575 elif test -n "$new_default" ; then |
570 error_check_extents=$new_default | 576 error_check_extents=$new_default |
571 error_check_typecheck=$new_default | 577 error_check_types=$new_default |
572 error_check_charbpos=$new_default | 578 error_check_text=$new_default |
573 error_check_gc=$new_default | 579 error_check_gc=$new_default |
574 error_check_malloc=$new_default | 580 error_check_malloc=$new_default |
575 error_check_byte_code=$new_default | 581 error_check_byte_code=$new_default |
576 error_check_glyphs=$new_default | 582 error_check_glyphs=$new_default |
583 error_check_display=$new_default | |
584 error_check_structures=$new_default | |
577 new_default= # reset this | 585 new_default= # reset this |
578 fi | 586 fi |
579 echeck_notfirst=true | 587 echeck_notfirst=true |
580 done | 588 done |
581 ;; | 589 ;; |
846 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 854 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
847 fi | 855 fi |
848 fi | 856 fi |
849 | 857 |
850 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 858 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
851 echo "configure:852: checking whether ln -s works" >&5 | 859 echo "configure:860: checking whether ln -s works" >&5 |
852 | 860 |
853 rm -f conftestdata | 861 rm -f conftestdata |
854 if ln -s X conftestdata 2>/dev/null | 862 if ln -s X conftestdata 2>/dev/null |
855 then | 863 then |
856 rm -f conftestdata | 864 rm -f conftestdata |
1019 EOF | 1027 EOF |
1020 } | 1028 } |
1021 | 1029 |
1022 | 1030 |
1023 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi | 1031 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi |
1024 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 1032 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
1025 Defining ERROR_CHECK_EXTENTS | 1033 Defining ERROR_CHECK_EXTENTS |
1026 EOF | 1034 EOF |
1027 cat >> confdefs.h <<\EOF | 1035 cat >> confdefs.h <<\EOF |
1028 #define ERROR_CHECK_EXTENTS 1 | 1036 #define ERROR_CHECK_EXTENTS 1 |
1029 EOF | 1037 EOF |
1030 } | 1038 } |
1031 | 1039 |
1032 test "${error_check_typecheck=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 1040 test "${error_check_types=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
1033 Defining ERROR_CHECK_TYPECHECK | 1041 Defining ERROR_CHECK_TYPES |
1034 EOF | 1042 EOF |
1035 cat >> confdefs.h <<\EOF | 1043 cat >> confdefs.h <<\EOF |
1036 #define ERROR_CHECK_TYPECHECK 1 | 1044 #define ERROR_CHECK_TYPES 1 |
1037 EOF | 1045 EOF |
1038 } | 1046 } |
1039 | 1047 |
1040 test "${error_check_charbpos=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 1048 test "${error_check_text=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
1041 Defining ERROR_CHECK_CHARBPOS | 1049 Defining ERROR_CHECK_TEXT |
1042 EOF | 1050 EOF |
1043 cat >> confdefs.h <<\EOF | 1051 cat >> confdefs.h <<\EOF |
1044 #define ERROR_CHECK_CHARBPOS 1 | 1052 #define ERROR_CHECK_TEXT 1 |
1045 EOF | 1053 EOF |
1046 } | 1054 } |
1047 | 1055 |
1048 test "${error_check_gc=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 1056 test "${error_check_gc=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
1049 Defining ERROR_CHECK_GC | 1057 Defining ERROR_CHECK_GC |
1050 EOF | 1058 EOF |
1051 cat >> confdefs.h <<\EOF | 1059 cat >> confdefs.h <<\EOF |
1052 #define ERROR_CHECK_GC 1 | 1060 #define ERROR_CHECK_GC 1 |
1053 EOF | 1061 EOF |
1054 } | 1062 } |
1055 | 1063 |
1056 test "${error_check_malloc=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 1064 test "${error_check_malloc=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
1057 Defining ERROR_CHECK_MALLOC | 1065 Defining ERROR_CHECK_MALLOC |
1058 EOF | 1066 EOF |
1059 cat >> confdefs.h <<\EOF | 1067 cat >> confdefs.h <<\EOF |
1060 #define ERROR_CHECK_MALLOC 1 | 1068 #define ERROR_CHECK_MALLOC 1 |
1061 EOF | 1069 EOF |
1062 } | 1070 } |
1063 | 1071 |
1064 test "${error_check_byte_code=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 1072 test "${error_check_byte_code=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
1065 Defining ERROR_CHECK_BYTE_CODE | 1073 Defining ERROR_CHECK_BYTE_CODE |
1066 EOF | 1074 EOF |
1067 cat >> confdefs.h <<\EOF | 1075 cat >> confdefs.h <<\EOF |
1068 #define ERROR_CHECK_BYTE_CODE 1 | 1076 #define ERROR_CHECK_BYTE_CODE 1 |
1069 EOF | 1077 EOF |
1070 } | 1078 } |
1071 | 1079 |
1072 test "${error_check_glyphs=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 1080 test "${error_check_glyphs=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
1073 Defining ERROR_CHECK_GLYPHS | 1081 Defining ERROR_CHECK_GLYPHS |
1074 EOF | 1082 EOF |
1075 cat >> confdefs.h <<\EOF | 1083 cat >> confdefs.h <<\EOF |
1076 #define ERROR_CHECK_GLYPHS 1 | 1084 #define ERROR_CHECK_GLYPHS 1 |
1085 EOF | |
1086 } | |
1087 | |
1088 test "${error_check_display=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | |
1089 Defining ERROR_CHECK_DISPLAY | |
1090 EOF | |
1091 cat >> confdefs.h <<\EOF | |
1092 #define ERROR_CHECK_DISPLAY 1 | |
1093 EOF | |
1094 } | |
1095 | |
1096 test "${error_check_structures=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | |
1097 Defining ERROR_CHECK_STRUCTURES | |
1098 EOF | |
1099 cat >> confdefs.h <<\EOF | |
1100 #define ERROR_CHECK_STRUCTURES 1 | |
1077 EOF | 1101 EOF |
1078 } | 1102 } |
1079 | 1103 |
1080 if test "${debug:=$beta}" = "yes"; then | 1104 if test "${debug:=$beta}" = "yes"; then |
1081 use_assertions=yes | 1105 use_assertions=yes |
1106 } | 1130 } |
1107 | 1131 |
1108 | 1132 |
1109 | 1133 |
1110 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1134 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1111 echo "configure:1112: checking "host system type"" >&5 | 1135 echo "configure:1136: checking "host system type"" >&5 |
1112 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1136 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1113 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1137 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1114 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1138 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1115 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1139 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1116 echo "$ac_t""$configuration" 1>&6 | 1140 echo "$ac_t""$configuration" 1>&6 |
1615 xe_save_CFLAGS="$CFLAGS" | 1639 xe_save_CFLAGS="$CFLAGS" |
1616 | 1640 |
1617 # Extract the first word of "gcc", so it can be a program name with args. | 1641 # Extract the first word of "gcc", so it can be a program name with args. |
1618 set dummy gcc; ac_word=$2 | 1642 set dummy gcc; ac_word=$2 |
1619 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1643 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1620 echo "configure:1621: checking for $ac_word" >&5 | 1644 echo "configure:1645: checking for $ac_word" >&5 |
1621 | 1645 |
1622 if test -n "$CC"; then | 1646 if test -n "$CC"; then |
1623 ac_cv_prog_CC="$CC" # Let the user override the test. | 1647 ac_cv_prog_CC="$CC" # Let the user override the test. |
1624 else | 1648 else |
1625 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1649 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1642 | 1666 |
1643 if test -z "$CC"; then | 1667 if test -z "$CC"; then |
1644 # Extract the first word of "cc", so it can be a program name with args. | 1668 # Extract the first word of "cc", so it can be a program name with args. |
1645 set dummy cc; ac_word=$2 | 1669 set dummy cc; ac_word=$2 |
1646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1670 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1647 echo "configure:1648: checking for $ac_word" >&5 | 1671 echo "configure:1672: checking for $ac_word" >&5 |
1648 | 1672 |
1649 if test -n "$CC"; then | 1673 if test -n "$CC"; then |
1650 ac_cv_prog_CC="$CC" # Let the user override the test. | 1674 ac_cv_prog_CC="$CC" # Let the user override the test. |
1651 else | 1675 else |
1652 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1676 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1690 case "`uname -s`" in | 1714 case "`uname -s`" in |
1691 *win32* | *WIN32*) | 1715 *win32* | *WIN32*) |
1692 # Extract the first word of "cl", so it can be a program name with args. | 1716 # Extract the first word of "cl", so it can be a program name with args. |
1693 set dummy cl; ac_word=$2 | 1717 set dummy cl; ac_word=$2 |
1694 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1695 echo "configure:1696: checking for $ac_word" >&5 | 1719 echo "configure:1720: checking for $ac_word" >&5 |
1696 | 1720 |
1697 if test -n "$CC"; then | 1721 if test -n "$CC"; then |
1698 ac_cv_prog_CC="$CC" # Let the user override the test. | 1722 ac_cv_prog_CC="$CC" # Let the user override the test. |
1699 else | 1723 else |
1700 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1724 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1719 fi | 1743 fi |
1720 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1744 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1721 fi | 1745 fi |
1722 | 1746 |
1723 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1747 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1724 echo "configure:1725: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1748 echo "configure:1749: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1725 | 1749 |
1726 ac_ext=c | 1750 ac_ext=c |
1727 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1751 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1728 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1752 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1729 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1753 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1732 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1756 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1733 cross_compiling=no | 1757 cross_compiling=no |
1734 | 1758 |
1735 cat > conftest.$ac_ext << EOF | 1759 cat > conftest.$ac_ext << EOF |
1736 | 1760 |
1737 #line 1738 "configure" | 1761 #line 1762 "configure" |
1738 #include "confdefs.h" | 1762 #include "confdefs.h" |
1739 | 1763 |
1740 main(){return(0);} | 1764 main(){return(0);} |
1741 EOF | 1765 EOF |
1742 if { (eval echo configure:1743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1766 if { (eval echo configure:1767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1743 ac_cv_prog_cc_works=yes | 1767 ac_cv_prog_cc_works=yes |
1744 # If we can't run a trivial program, we are probably using a cross compiler. | 1768 # If we can't run a trivial program, we are probably using a cross compiler. |
1745 if (./conftest; exit) 2>/dev/null; then | 1769 if (./conftest; exit) 2>/dev/null; then |
1746 ac_cv_prog_cc_cross=no | 1770 ac_cv_prog_cc_cross=no |
1747 else | 1771 else |
1765 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1789 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1766 if test $ac_cv_prog_cc_works = no; then | 1790 if test $ac_cv_prog_cc_works = no; then |
1767 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1791 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1768 fi | 1792 fi |
1769 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1793 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1770 echo "configure:1771: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1794 echo "configure:1795: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1771 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1795 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1772 cross_compiling=$ac_cv_prog_cc_cross | 1796 cross_compiling=$ac_cv_prog_cc_cross |
1773 | 1797 |
1774 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1798 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1775 echo "configure:1776: checking whether we are using GNU C" >&5 | 1799 echo "configure:1800: checking whether we are using GNU C" >&5 |
1776 | 1800 |
1777 cat > conftest.c <<EOF | 1801 cat > conftest.c <<EOF |
1778 #ifdef __GNUC__ | 1802 #ifdef __GNUC__ |
1779 yes; | 1803 yes; |
1780 #endif | 1804 #endif |
1781 EOF | 1805 EOF |
1782 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1806 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1783 ac_cv_prog_gcc=yes | 1807 ac_cv_prog_gcc=yes |
1784 else | 1808 else |
1785 ac_cv_prog_gcc=no | 1809 ac_cv_prog_gcc=no |
1786 fi | 1810 fi |
1787 | 1811 |
1795 | 1819 |
1796 ac_test_CFLAGS="${CFLAGS+set}" | 1820 ac_test_CFLAGS="${CFLAGS+set}" |
1797 ac_save_CFLAGS="$CFLAGS" | 1821 ac_save_CFLAGS="$CFLAGS" |
1798 CFLAGS= | 1822 CFLAGS= |
1799 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1823 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1800 echo "configure:1801: checking whether ${CC-cc} accepts -g" >&5 | 1824 echo "configure:1825: checking whether ${CC-cc} accepts -g" >&5 |
1801 | 1825 |
1802 echo 'void f(){}' > conftest.c | 1826 echo 'void f(){}' > conftest.c |
1803 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1827 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1804 ac_cv_prog_cc_g=yes | 1828 ac_cv_prog_cc_g=yes |
1805 else | 1829 else |
1828 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1852 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1829 CC=${NON_GNU_CC-cc} | 1853 CC=${NON_GNU_CC-cc} |
1830 # Extract the first word of "gcc", so it can be a program name with args. | 1854 # Extract the first word of "gcc", so it can be a program name with args. |
1831 set dummy gcc; ac_word=$2 | 1855 set dummy gcc; ac_word=$2 |
1832 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1856 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1833 echo "configure:1834: checking for $ac_word" >&5 | 1857 echo "configure:1858: checking for $ac_word" >&5 |
1834 | 1858 |
1835 if test -n "$CC"; then | 1859 if test -n "$CC"; then |
1836 ac_cv_prog_CC="$CC" # Let the user override the test. | 1860 ac_cv_prog_CC="$CC" # Let the user override the test. |
1837 else | 1861 else |
1838 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1862 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1855 | 1879 |
1856 if test -z "$CC"; then | 1880 if test -z "$CC"; then |
1857 # Extract the first word of "cc", so it can be a program name with args. | 1881 # Extract the first word of "cc", so it can be a program name with args. |
1858 set dummy cc; ac_word=$2 | 1882 set dummy cc; ac_word=$2 |
1859 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1883 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1860 echo "configure:1861: checking for $ac_word" >&5 | 1884 echo "configure:1885: checking for $ac_word" >&5 |
1861 | 1885 |
1862 if test -n "$CC"; then | 1886 if test -n "$CC"; then |
1863 ac_cv_prog_CC="$CC" # Let the user override the test. | 1887 ac_cv_prog_CC="$CC" # Let the user override the test. |
1864 else | 1888 else |
1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1889 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1903 case "`uname -s`" in | 1927 case "`uname -s`" in |
1904 *win32* | *WIN32*) | 1928 *win32* | *WIN32*) |
1905 # Extract the first word of "cl", so it can be a program name with args. | 1929 # Extract the first word of "cl", so it can be a program name with args. |
1906 set dummy cl; ac_word=$2 | 1930 set dummy cl; ac_word=$2 |
1907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1931 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1908 echo "configure:1909: checking for $ac_word" >&5 | 1932 echo "configure:1933: checking for $ac_word" >&5 |
1909 | 1933 |
1910 if test -n "$CC"; then | 1934 if test -n "$CC"; then |
1911 ac_cv_prog_CC="$CC" # Let the user override the test. | 1935 ac_cv_prog_CC="$CC" # Let the user override the test. |
1912 else | 1936 else |
1913 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1937 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1932 fi | 1956 fi |
1933 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1957 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1934 fi | 1958 fi |
1935 | 1959 |
1936 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1960 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1937 echo "configure:1938: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1961 echo "configure:1962: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1938 | 1962 |
1939 ac_ext=c | 1963 ac_ext=c |
1940 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1964 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1941 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1965 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1942 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1966 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1945 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1969 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1946 cross_compiling=no | 1970 cross_compiling=no |
1947 | 1971 |
1948 cat > conftest.$ac_ext << EOF | 1972 cat > conftest.$ac_ext << EOF |
1949 | 1973 |
1950 #line 1951 "configure" | 1974 #line 1975 "configure" |
1951 #include "confdefs.h" | 1975 #include "confdefs.h" |
1952 | 1976 |
1953 main(){return(0);} | 1977 main(){return(0);} |
1954 EOF | 1978 EOF |
1955 if { (eval echo configure:1956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1979 if { (eval echo configure:1980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1956 ac_cv_prog_cc_works=yes | 1980 ac_cv_prog_cc_works=yes |
1957 # If we can't run a trivial program, we are probably using a cross compiler. | 1981 # If we can't run a trivial program, we are probably using a cross compiler. |
1958 if (./conftest; exit) 2>/dev/null; then | 1982 if (./conftest; exit) 2>/dev/null; then |
1959 ac_cv_prog_cc_cross=no | 1983 ac_cv_prog_cc_cross=no |
1960 else | 1984 else |
1978 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2002 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1979 if test $ac_cv_prog_cc_works = no; then | 2003 if test $ac_cv_prog_cc_works = no; then |
1980 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2004 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1981 fi | 2005 fi |
1982 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2006 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1983 echo "configure:1984: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2007 echo "configure:2008: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1984 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2008 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1985 cross_compiling=$ac_cv_prog_cc_cross | 2009 cross_compiling=$ac_cv_prog_cc_cross |
1986 | 2010 |
1987 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2011 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1988 echo "configure:1989: checking whether we are using GNU C" >&5 | 2012 echo "configure:2013: checking whether we are using GNU C" >&5 |
1989 | 2013 |
1990 cat > conftest.c <<EOF | 2014 cat > conftest.c <<EOF |
1991 #ifdef __GNUC__ | 2015 #ifdef __GNUC__ |
1992 yes; | 2016 yes; |
1993 #endif | 2017 #endif |
1994 EOF | 2018 EOF |
1995 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2019 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1996 ac_cv_prog_gcc=yes | 2020 ac_cv_prog_gcc=yes |
1997 else | 2021 else |
1998 ac_cv_prog_gcc=no | 2022 ac_cv_prog_gcc=no |
1999 fi | 2023 fi |
2000 | 2024 |
2008 | 2032 |
2009 ac_test_CFLAGS="${CFLAGS+set}" | 2033 ac_test_CFLAGS="${CFLAGS+set}" |
2010 ac_save_CFLAGS="$CFLAGS" | 2034 ac_save_CFLAGS="$CFLAGS" |
2011 CFLAGS= | 2035 CFLAGS= |
2012 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2036 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2013 echo "configure:2014: checking whether ${CC-cc} accepts -g" >&5 | 2037 echo "configure:2038: checking whether ${CC-cc} accepts -g" >&5 |
2014 | 2038 |
2015 echo 'void f(){}' > conftest.c | 2039 echo 'void f(){}' > conftest.c |
2016 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2040 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2017 ac_cv_prog_cc_g=yes | 2041 ac_cv_prog_cc_g=yes |
2018 else | 2042 else |
2041 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2065 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2042 CC=gcc | 2066 CC=gcc |
2043 # Extract the first word of "gcc", so it can be a program name with args. | 2067 # Extract the first word of "gcc", so it can be a program name with args. |
2044 set dummy gcc; ac_word=$2 | 2068 set dummy gcc; ac_word=$2 |
2045 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2069 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2046 echo "configure:2047: checking for $ac_word" >&5 | 2070 echo "configure:2071: checking for $ac_word" >&5 |
2047 | 2071 |
2048 if test -n "$CC"; then | 2072 if test -n "$CC"; then |
2049 ac_cv_prog_CC="$CC" # Let the user override the test. | 2073 ac_cv_prog_CC="$CC" # Let the user override the test. |
2050 else | 2074 else |
2051 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2075 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2068 | 2092 |
2069 if test -z "$CC"; then | 2093 if test -z "$CC"; then |
2070 # Extract the first word of "cc", so it can be a program name with args. | 2094 # Extract the first word of "cc", so it can be a program name with args. |
2071 set dummy cc; ac_word=$2 | 2095 set dummy cc; ac_word=$2 |
2072 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2096 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2073 echo "configure:2074: checking for $ac_word" >&5 | 2097 echo "configure:2098: checking for $ac_word" >&5 |
2074 | 2098 |
2075 if test -n "$CC"; then | 2099 if test -n "$CC"; then |
2076 ac_cv_prog_CC="$CC" # Let the user override the test. | 2100 ac_cv_prog_CC="$CC" # Let the user override the test. |
2077 else | 2101 else |
2078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2102 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2116 case "`uname -s`" in | 2140 case "`uname -s`" in |
2117 *win32* | *WIN32*) | 2141 *win32* | *WIN32*) |
2118 # Extract the first word of "cl", so it can be a program name with args. | 2142 # Extract the first word of "cl", so it can be a program name with args. |
2119 set dummy cl; ac_word=$2 | 2143 set dummy cl; ac_word=$2 |
2120 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2144 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2121 echo "configure:2122: checking for $ac_word" >&5 | 2145 echo "configure:2146: checking for $ac_word" >&5 |
2122 | 2146 |
2123 if test -n "$CC"; then | 2147 if test -n "$CC"; then |
2124 ac_cv_prog_CC="$CC" # Let the user override the test. | 2148 ac_cv_prog_CC="$CC" # Let the user override the test. |
2125 else | 2149 else |
2126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2150 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2145 fi | 2169 fi |
2146 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2170 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2147 fi | 2171 fi |
2148 | 2172 |
2149 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2173 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2150 echo "configure:2151: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2174 echo "configure:2175: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2151 | 2175 |
2152 ac_ext=c | 2176 ac_ext=c |
2153 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2177 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2154 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2178 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2155 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2179 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2158 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2182 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2159 cross_compiling=no | 2183 cross_compiling=no |
2160 | 2184 |
2161 cat > conftest.$ac_ext << EOF | 2185 cat > conftest.$ac_ext << EOF |
2162 | 2186 |
2163 #line 2164 "configure" | 2187 #line 2188 "configure" |
2164 #include "confdefs.h" | 2188 #include "confdefs.h" |
2165 | 2189 |
2166 main(){return(0);} | 2190 main(){return(0);} |
2167 EOF | 2191 EOF |
2168 if { (eval echo configure:2169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2192 if { (eval echo configure:2193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2169 ac_cv_prog_cc_works=yes | 2193 ac_cv_prog_cc_works=yes |
2170 # If we can't run a trivial program, we are probably using a cross compiler. | 2194 # If we can't run a trivial program, we are probably using a cross compiler. |
2171 if (./conftest; exit) 2>/dev/null; then | 2195 if (./conftest; exit) 2>/dev/null; then |
2172 ac_cv_prog_cc_cross=no | 2196 ac_cv_prog_cc_cross=no |
2173 else | 2197 else |
2191 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2215 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2192 if test $ac_cv_prog_cc_works = no; then | 2216 if test $ac_cv_prog_cc_works = no; then |
2193 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2217 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2194 fi | 2218 fi |
2195 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2219 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2196 echo "configure:2197: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2220 echo "configure:2221: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2197 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2221 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2198 cross_compiling=$ac_cv_prog_cc_cross | 2222 cross_compiling=$ac_cv_prog_cc_cross |
2199 | 2223 |
2200 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2224 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2201 echo "configure:2202: checking whether we are using GNU C" >&5 | 2225 echo "configure:2226: checking whether we are using GNU C" >&5 |
2202 | 2226 |
2203 cat > conftest.c <<EOF | 2227 cat > conftest.c <<EOF |
2204 #ifdef __GNUC__ | 2228 #ifdef __GNUC__ |
2205 yes; | 2229 yes; |
2206 #endif | 2230 #endif |
2207 EOF | 2231 EOF |
2208 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2232 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2209 ac_cv_prog_gcc=yes | 2233 ac_cv_prog_gcc=yes |
2210 else | 2234 else |
2211 ac_cv_prog_gcc=no | 2235 ac_cv_prog_gcc=no |
2212 fi | 2236 fi |
2213 | 2237 |
2221 | 2245 |
2222 ac_test_CFLAGS="${CFLAGS+set}" | 2246 ac_test_CFLAGS="${CFLAGS+set}" |
2223 ac_save_CFLAGS="$CFLAGS" | 2247 ac_save_CFLAGS="$CFLAGS" |
2224 CFLAGS= | 2248 CFLAGS= |
2225 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2249 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2226 echo "configure:2227: checking whether ${CC-cc} accepts -g" >&5 | 2250 echo "configure:2251: checking whether ${CC-cc} accepts -g" >&5 |
2227 | 2251 |
2228 echo 'void f(){}' > conftest.c | 2252 echo 'void f(){}' > conftest.c |
2229 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2253 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2230 ac_cv_prog_cc_g=yes | 2254 ac_cv_prog_cc_g=yes |
2231 else | 2255 else |
2258 test -n "$CPP" -a -d "$CPP" && CPP= | 2282 test -n "$CPP" -a -d "$CPP" && CPP= |
2259 | 2283 |
2260 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2284 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2261 | 2285 |
2262 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2286 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2263 echo "configure:2264: checking how to run the C preprocessor" >&5 | 2287 echo "configure:2288: checking how to run the C preprocessor" >&5 |
2264 # On Suns, sometimes $CPP names a directory. | 2288 # On Suns, sometimes $CPP names a directory. |
2265 if test -n "$CPP" && test -d "$CPP"; then | 2289 if test -n "$CPP" && test -d "$CPP"; then |
2266 CPP= | 2290 CPP= |
2267 fi | 2291 fi |
2268 if test -z "$CPP"; then | 2292 if test -z "$CPP"; then |
2271 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2295 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2272 CPP="${CC-cc} -E" | 2296 CPP="${CC-cc} -E" |
2273 # On the NeXT, cc -E runs the code through the compiler's parser, | 2297 # On the NeXT, cc -E runs the code through the compiler's parser, |
2274 # not just through cpp. | 2298 # not just through cpp. |
2275 cat > conftest.$ac_ext <<EOF | 2299 cat > conftest.$ac_ext <<EOF |
2276 #line 2277 "configure" | 2300 #line 2301 "configure" |
2277 #include "confdefs.h" | 2301 #include "confdefs.h" |
2278 #include <assert.h> | 2302 #include <assert.h> |
2279 Syntax Error | 2303 Syntax Error |
2280 EOF | 2304 EOF |
2281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2282 { (eval echo configure:2283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2306 { (eval echo configure:2307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2284 if test -z "$ac_err"; then | 2308 if test -z "$ac_err"; then |
2285 : | 2309 : |
2286 else | 2310 else |
2287 echo "$ac_err" >&5 | 2311 echo "$ac_err" >&5 |
2288 echo "configure: failed program was:" >&5 | 2312 echo "configure: failed program was:" >&5 |
2289 cat conftest.$ac_ext >&5 | 2313 cat conftest.$ac_ext >&5 |
2290 rm -rf conftest* | 2314 rm -rf conftest* |
2291 CPP="${CC-cc} -E -traditional-cpp" | 2315 CPP="${CC-cc} -E -traditional-cpp" |
2292 cat > conftest.$ac_ext <<EOF | 2316 cat > conftest.$ac_ext <<EOF |
2293 #line 2294 "configure" | 2317 #line 2318 "configure" |
2294 #include "confdefs.h" | 2318 #include "confdefs.h" |
2295 #include <assert.h> | 2319 #include <assert.h> |
2296 Syntax Error | 2320 Syntax Error |
2297 EOF | 2321 EOF |
2298 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2322 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2299 { (eval echo configure:2300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2323 { (eval echo configure:2324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2300 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2324 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2301 if test -z "$ac_err"; then | 2325 if test -z "$ac_err"; then |
2302 : | 2326 : |
2303 else | 2327 else |
2304 echo "$ac_err" >&5 | 2328 echo "$ac_err" >&5 |
2305 echo "configure: failed program was:" >&5 | 2329 echo "configure: failed program was:" >&5 |
2306 cat conftest.$ac_ext >&5 | 2330 cat conftest.$ac_ext >&5 |
2307 rm -rf conftest* | 2331 rm -rf conftest* |
2308 CPP="${CC-cc} -nologo -E" | 2332 CPP="${CC-cc} -nologo -E" |
2309 cat > conftest.$ac_ext <<EOF | 2333 cat > conftest.$ac_ext <<EOF |
2310 #line 2311 "configure" | 2334 #line 2335 "configure" |
2311 #include "confdefs.h" | 2335 #include "confdefs.h" |
2312 #include <assert.h> | 2336 #include <assert.h> |
2313 Syntax Error | 2337 Syntax Error |
2314 EOF | 2338 EOF |
2315 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2339 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2316 { (eval echo configure:2317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2340 { (eval echo configure:2341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2317 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2341 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2318 if test -z "$ac_err"; then | 2342 if test -z "$ac_err"; then |
2319 : | 2343 : |
2320 else | 2344 else |
2321 echo "$ac_err" >&5 | 2345 echo "$ac_err" >&5 |
2337 echo "$ac_t""$CPP" 1>&6 | 2361 echo "$ac_t""$CPP" 1>&6 |
2338 | 2362 |
2339 | 2363 |
2340 | 2364 |
2341 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2365 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2342 echo "configure:2343: checking for AIX" >&5 | 2366 echo "configure:2367: checking for AIX" >&5 |
2343 cat > conftest.$ac_ext <<EOF | 2367 cat > conftest.$ac_ext <<EOF |
2344 #line 2345 "configure" | 2368 #line 2369 "configure" |
2345 #include "confdefs.h" | 2369 #include "confdefs.h" |
2346 #ifdef _AIX | 2370 #ifdef _AIX |
2347 yes | 2371 yes |
2348 #endif | 2372 #endif |
2349 | 2373 |
2366 rm -f conftest* | 2390 rm -f conftest* |
2367 | 2391 |
2368 | 2392 |
2369 | 2393 |
2370 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2394 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2371 echo "configure:2372: checking for GNU libc" >&5 | 2395 echo "configure:2396: checking for GNU libc" >&5 |
2372 cat > conftest.$ac_ext <<EOF | 2396 cat > conftest.$ac_ext <<EOF |
2373 #line 2374 "configure" | 2397 #line 2398 "configure" |
2374 #include "confdefs.h" | 2398 #include "confdefs.h" |
2375 #include <features.h> | 2399 #include <features.h> |
2376 int main() { | 2400 int main() { |
2377 | 2401 |
2378 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2402 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2380 ******* ======= ******** &&&&&&&& | 2404 ******* ======= ******** &&&&&&&& |
2381 #endif | 2405 #endif |
2382 | 2406 |
2383 ; return 0; } | 2407 ; return 0; } |
2384 EOF | 2408 EOF |
2385 if { (eval echo configure:2386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2409 if { (eval echo configure:2410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2386 rm -rf conftest* | 2410 rm -rf conftest* |
2387 have_glibc=yes | 2411 have_glibc=yes |
2388 else | 2412 else |
2389 echo "configure: failed program was:" >&5 | 2413 echo "configure: failed program was:" >&5 |
2390 cat conftest.$ac_ext >&5 | 2414 cat conftest.$ac_ext >&5 |
2457 | 2481 |
2458 ;; | 2482 ;; |
2459 esac | 2483 esac |
2460 | 2484 |
2461 cat > conftest.$ac_ext <<EOF | 2485 cat > conftest.$ac_ext <<EOF |
2462 #line 2463 "configure" | 2486 #line 2487 "configure" |
2463 #include "confdefs.h" | 2487 #include "confdefs.h" |
2464 int main () { | 2488 int main () { |
2465 #if defined __SUNPRO_C | 2489 #if defined __SUNPRO_C |
2466 return 11; | 2490 return 11; |
2467 #elif defined __DECC | 2491 #elif defined __DECC |
2471 #else | 2495 #else |
2472 return 0; | 2496 return 0; |
2473 #endif | 2497 #endif |
2474 } | 2498 } |
2475 EOF | 2499 EOF |
2476 if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2500 if { (eval echo configure:2501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2477 then | 2501 then |
2478 : | 2502 : |
2479 else | 2503 else |
2480 conftest_rc="$?" | 2504 conftest_rc="$?" |
2481 echo "configure: failed program was:" >&5 | 2505 echo "configure: failed program was:" >&5 |
2723 | 2747 |
2724 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2748 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2725 | 2749 |
2726 if test "$__USLC__" = yes; then | 2750 if test "$__USLC__" = yes; then |
2727 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2751 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2728 echo "configure:2729: checking for whether the -Kalloca compiler flag is needed" >&5 | 2752 echo "configure:2753: checking for whether the -Kalloca compiler flag is needed" >&5 |
2729 need_kalloca=no | 2753 need_kalloca=no |
2730 cat > conftest.$ac_ext <<EOF | 2754 cat > conftest.$ac_ext <<EOF |
2731 #line 2732 "configure" | 2755 #line 2756 "configure" |
2732 #include "confdefs.h" | 2756 #include "confdefs.h" |
2733 | 2757 |
2734 int main() { | 2758 int main() { |
2735 void *x = alloca(4); | 2759 void *x = alloca(4); |
2736 ; return 0; } | 2760 ; return 0; } |
2737 EOF | 2761 EOF |
2738 if { (eval echo configure:2739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2762 if { (eval echo configure:2763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2739 rm -rf conftest* | 2763 rm -rf conftest* |
2740 : | 2764 : |
2741 else | 2765 else |
2742 echo "configure: failed program was:" >&5 | 2766 echo "configure: failed program was:" >&5 |
2743 cat conftest.$ac_ext >&5 | 2767 cat conftest.$ac_ext >&5 |
2744 rm -rf conftest* | 2768 rm -rf conftest* |
2745 | 2769 |
2746 xe_save_c_switch_system="$c_switch_system" | 2770 xe_save_c_switch_system="$c_switch_system" |
2747 c_switch_system="$c_switch_system -Kalloca" | 2771 c_switch_system="$c_switch_system -Kalloca" |
2748 cat > conftest.$ac_ext <<EOF | 2772 cat > conftest.$ac_ext <<EOF |
2749 #line 2750 "configure" | 2773 #line 2774 "configure" |
2750 #include "confdefs.h" | 2774 #include "confdefs.h" |
2751 | 2775 |
2752 int main() { | 2776 int main() { |
2753 void *x = alloca(4); | 2777 void *x = alloca(4); |
2754 ; return 0; } | 2778 ; return 0; } |
2755 EOF | 2779 EOF |
2756 if { (eval echo configure:2757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2780 if { (eval echo configure:2781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2757 rm -rf conftest* | 2781 rm -rf conftest* |
2758 need_kalloca=yes | 2782 need_kalloca=yes |
2759 else | 2783 else |
2760 echo "configure: failed program was:" >&5 | 2784 echo "configure: failed program was:" >&5 |
2761 cat conftest.$ac_ext >&5 | 2785 cat conftest.$ac_ext >&5 |
2789 CFLAGS="-O" ; fi | 2813 CFLAGS="-O" ; fi |
2790 fi | 2814 fi |
2791 | 2815 |
2792 if test "$GCC" = "yes"; then | 2816 if test "$GCC" = "yes"; then |
2793 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2817 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2794 echo "configure:2795: checking for buggy gcc versions" >&5 | 2818 echo "configure:2819: checking for buggy gcc versions" >&5 |
2795 GCC_VERSION=`$CC --version` | 2819 GCC_VERSION=`$CC --version` |
2796 case `uname -s`:`uname -m`:$GCC_VERSION in | 2820 case `uname -s`:`uname -m`:$GCC_VERSION in |
2797 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2821 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2798 case "$CFLAGS" in | 2822 case "$CFLAGS" in |
2799 *-O2*|*-O3*) | 2823 *-O2*|*-O3*) |
2912 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2936 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
2913 echo " xemacs will be linked with \"dumper.o\"" | 2937 echo " xemacs will be linked with \"dumper.o\"" |
2914 fi | 2938 fi |
2915 | 2939 |
2916 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2940 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2917 echo "configure:2918: checking for dynodump" >&5 | 2941 echo "configure:2942: checking for dynodump" >&5 |
2918 if test "$unexec" != "unexsol2.o"; then | 2942 if test "$unexec" != "unexsol2.o"; then |
2919 echo "$ac_t""no" 1>&6 | 2943 echo "$ac_t""no" 1>&6 |
2920 else | 2944 else |
2921 echo "$ac_t""yes" 1>&6 | 2945 echo "$ac_t""yes" 1>&6 |
2922 { test "$extra_verbose" = "yes" && cat << \EOF | 2946 { test "$extra_verbose" = "yes" && cat << \EOF |
2950 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2974 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2951 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2975 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2952 done | 2976 done |
2953 | 2977 |
2954 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2978 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2955 echo "configure:2956: checking for terminateAndUnload in -lC" >&5 | 2979 echo "configure:2980: checking for terminateAndUnload in -lC" >&5 |
2956 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2980 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2957 | 2981 |
2958 xe_check_libs=" -lC " | 2982 xe_check_libs=" -lC " |
2959 cat > conftest.$ac_ext <<EOF | 2983 cat > conftest.$ac_ext <<EOF |
2960 #line 2961 "configure" | 2984 #line 2985 "configure" |
2961 #include "confdefs.h" | 2985 #include "confdefs.h" |
2962 /* Override any gcc2 internal prototype to avoid an error. */ | 2986 /* Override any gcc2 internal prototype to avoid an error. */ |
2963 /* We use char because int might match the return type of a gcc2 | 2987 /* We use char because int might match the return type of a gcc2 |
2964 builtin and then its argument prototype would still apply. */ | 2988 builtin and then its argument prototype would still apply. */ |
2965 char terminateAndUnload(); | 2989 char terminateAndUnload(); |
2966 | 2990 |
2967 int main() { | 2991 int main() { |
2968 terminateAndUnload() | 2992 terminateAndUnload() |
2969 ; return 0; } | 2993 ; return 0; } |
2970 EOF | 2994 EOF |
2971 if { (eval echo configure:2972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2995 if { (eval echo configure:2996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2972 rm -rf conftest* | 2996 rm -rf conftest* |
2973 eval "ac_cv_lib_$ac_lib_var=yes" | 2997 eval "ac_cv_lib_$ac_lib_var=yes" |
2974 else | 2998 else |
2975 echo "configure: failed program was:" >&5 | 2999 echo "configure: failed program was:" >&5 |
2976 cat conftest.$ac_ext >&5 | 3000 cat conftest.$ac_ext >&5 |
3074 esac | 3098 esac |
3075 fi | 3099 fi |
3076 | 3100 |
3077 if test "$add_runtime_path" = "yes"; then | 3101 if test "$add_runtime_path" = "yes"; then |
3078 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3102 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3079 echo "configure:3080: checking "for runtime libraries flag"" >&5 | 3103 echo "configure:3104: checking "for runtime libraries flag"" >&5 |
3080 case "$opsys" in | 3104 case "$opsys" in |
3081 sol2 ) dash_r="-R" ;; | 3105 sol2 ) dash_r="-R" ;; |
3082 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3106 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3083 *) | 3107 *) |
3084 dash_r="" | 3108 dash_r="" |
3096 esac | 3120 esac |
3097 shift | 3121 shift |
3098 done | 3122 done |
3099 fi | 3123 fi |
3100 cat > conftest.$ac_ext <<EOF | 3124 cat > conftest.$ac_ext <<EOF |
3101 #line 3102 "configure" | 3125 #line 3126 "configure" |
3102 #include "confdefs.h" | 3126 #include "confdefs.h" |
3103 | 3127 |
3104 int main() { | 3128 int main() { |
3105 | 3129 |
3106 ; return 0; } | 3130 ; return 0; } |
3107 EOF | 3131 EOF |
3108 if { (eval echo configure:3109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3132 if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3109 rm -rf conftest* | 3133 rm -rf conftest* |
3110 dash_r="$try_dash_r" | 3134 dash_r="$try_dash_r" |
3111 else | 3135 else |
3112 echo "configure: failed program was:" >&5 | 3136 echo "configure: failed program was:" >&5 |
3113 cat conftest.$ac_ext >&5 | 3137 cat conftest.$ac_ext >&5 |
3204 else | 3228 else |
3205 doug_lea_malloc=no | 3229 doug_lea_malloc=no |
3206 fi | 3230 fi |
3207 after_morecore_hook_exists=yes | 3231 after_morecore_hook_exists=yes |
3208 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3232 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3209 echo "configure:3210: checking for malloc_set_state" >&5 | 3233 echo "configure:3234: checking for malloc_set_state" >&5 |
3210 | 3234 |
3211 cat > conftest.$ac_ext <<EOF | 3235 cat > conftest.$ac_ext <<EOF |
3212 #line 3213 "configure" | 3236 #line 3237 "configure" |
3213 #include "confdefs.h" | 3237 #include "confdefs.h" |
3214 /* System header to define __stub macros and hopefully few prototypes, | 3238 /* System header to define __stub macros and hopefully few prototypes, |
3215 which can conflict with char malloc_set_state(); below. */ | 3239 which can conflict with char malloc_set_state(); below. */ |
3216 #include <assert.h> | 3240 #include <assert.h> |
3217 /* Override any gcc2 internal prototype to avoid an error. */ | 3241 /* Override any gcc2 internal prototype to avoid an error. */ |
3230 malloc_set_state(); | 3254 malloc_set_state(); |
3231 #endif | 3255 #endif |
3232 | 3256 |
3233 ; return 0; } | 3257 ; return 0; } |
3234 EOF | 3258 EOF |
3235 if { (eval echo configure:3236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3259 if { (eval echo configure:3260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3236 rm -rf conftest* | 3260 rm -rf conftest* |
3237 eval "ac_cv_func_malloc_set_state=yes" | 3261 eval "ac_cv_func_malloc_set_state=yes" |
3238 else | 3262 else |
3239 echo "configure: failed program was:" >&5 | 3263 echo "configure: failed program was:" >&5 |
3240 cat conftest.$ac_ext >&5 | 3264 cat conftest.$ac_ext >&5 |
3250 echo "$ac_t""no" 1>&6 | 3274 echo "$ac_t""no" 1>&6 |
3251 doug_lea_malloc=no | 3275 doug_lea_malloc=no |
3252 fi | 3276 fi |
3253 | 3277 |
3254 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3278 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3255 echo "configure:3256: checking whether __after_morecore_hook exists" >&5 | 3279 echo "configure:3280: checking whether __after_morecore_hook exists" >&5 |
3256 cat > conftest.$ac_ext <<EOF | 3280 cat > conftest.$ac_ext <<EOF |
3257 #line 3258 "configure" | 3281 #line 3282 "configure" |
3258 #include "confdefs.h" | 3282 #include "confdefs.h" |
3259 extern void (* __after_morecore_hook)(); | 3283 extern void (* __after_morecore_hook)(); |
3260 int main() { | 3284 int main() { |
3261 __after_morecore_hook = 0 | 3285 __after_morecore_hook = 0 |
3262 ; return 0; } | 3286 ; return 0; } |
3263 EOF | 3287 EOF |
3264 if { (eval echo configure:3265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3288 if { (eval echo configure:3289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3265 rm -rf conftest* | 3289 rm -rf conftest* |
3266 echo "$ac_t""yes" 1>&6 | 3290 echo "$ac_t""yes" 1>&6 |
3267 else | 3291 else |
3268 echo "configure: failed program was:" >&5 | 3292 echo "configure: failed program was:" >&5 |
3269 cat conftest.$ac_ext >&5 | 3293 cat conftest.$ac_ext >&5 |
3315 | 3339 |
3316 | 3340 |
3317 # Extract the first word of "ranlib", so it can be a program name with args. | 3341 # Extract the first word of "ranlib", so it can be a program name with args. |
3318 set dummy ranlib; ac_word=$2 | 3342 set dummy ranlib; ac_word=$2 |
3319 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3343 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3320 echo "configure:3321: checking for $ac_word" >&5 | 3344 echo "configure:3345: checking for $ac_word" >&5 |
3321 | 3345 |
3322 if test -n "$RANLIB"; then | 3346 if test -n "$RANLIB"; then |
3323 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3347 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3324 else | 3348 else |
3325 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3349 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3370 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3394 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3371 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3395 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3372 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3396 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3373 # ./install, which can be erroneously created by make from ./install.sh. | 3397 # ./install, which can be erroneously created by make from ./install.sh. |
3374 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3398 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3375 echo "configure:3376: checking for a BSD compatible install" >&5 | 3399 echo "configure:3400: checking for a BSD compatible install" >&5 |
3376 if test -z "$INSTALL"; then | 3400 if test -z "$INSTALL"; then |
3377 | 3401 |
3378 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3402 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3379 for ac_dir in $PATH; do | 3403 for ac_dir in $PATH; do |
3380 # Account for people who put trailing slashes in PATH elements. | 3404 # Account for people who put trailing slashes in PATH elements. |
3424 for ac_prog in 'bison -y' byacc | 3448 for ac_prog in 'bison -y' byacc |
3425 do | 3449 do |
3426 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3450 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3427 set dummy $ac_prog; ac_word=$2 | 3451 set dummy $ac_prog; ac_word=$2 |
3428 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3452 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3429 echo "configure:3430: checking for $ac_word" >&5 | 3453 echo "configure:3454: checking for $ac_word" >&5 |
3430 | 3454 |
3431 if test -n "$YACC"; then | 3455 if test -n "$YACC"; then |
3432 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3456 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3433 else | 3457 else |
3434 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3458 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3456 | 3480 |
3457 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h | 3481 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
3458 do | 3482 do |
3459 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3483 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3460 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3461 echo "configure:3462: checking for $ac_hdr" >&5 | 3485 echo "configure:3486: checking for $ac_hdr" >&5 |
3462 | 3486 |
3463 cat > conftest.$ac_ext <<EOF | 3487 cat > conftest.$ac_ext <<EOF |
3464 #line 3465 "configure" | 3488 #line 3489 "configure" |
3465 #include "confdefs.h" | 3489 #include "confdefs.h" |
3466 #include <$ac_hdr> | 3490 #include <$ac_hdr> |
3467 EOF | 3491 EOF |
3468 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3469 { (eval echo configure:3470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3493 { (eval echo configure:3494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3470 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3471 if test -z "$ac_err"; then | 3495 if test -z "$ac_err"; then |
3472 rm -rf conftest* | 3496 rm -rf conftest* |
3473 eval "ac_cv_header_$ac_safe=yes" | 3497 eval "ac_cv_header_$ac_safe=yes" |
3474 else | 3498 else |
3494 echo "$ac_t""no" 1>&6 | 3518 echo "$ac_t""no" 1>&6 |
3495 fi | 3519 fi |
3496 done | 3520 done |
3497 | 3521 |
3498 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3522 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3499 echo "configure:3500: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3523 echo "configure:3524: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3500 | 3524 |
3501 cat > conftest.$ac_ext <<EOF | 3525 cat > conftest.$ac_ext <<EOF |
3502 #line 3503 "configure" | 3526 #line 3527 "configure" |
3503 #include "confdefs.h" | 3527 #include "confdefs.h" |
3504 #include <sys/types.h> | 3528 #include <sys/types.h> |
3505 #include <sys/wait.h> | 3529 #include <sys/wait.h> |
3506 #ifndef WEXITSTATUS | 3530 #ifndef WEXITSTATUS |
3507 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3531 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3513 int s; | 3537 int s; |
3514 wait (&s); | 3538 wait (&s); |
3515 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3539 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3516 ; return 0; } | 3540 ; return 0; } |
3517 EOF | 3541 EOF |
3518 if { (eval echo configure:3519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3542 if { (eval echo configure:3543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3519 rm -rf conftest* | 3543 rm -rf conftest* |
3520 ac_cv_header_sys_wait_h=yes | 3544 ac_cv_header_sys_wait_h=yes |
3521 else | 3545 else |
3522 echo "configure: failed program was:" >&5 | 3546 echo "configure: failed program was:" >&5 |
3523 cat conftest.$ac_ext >&5 | 3547 cat conftest.$ac_ext >&5 |
3537 } | 3561 } |
3538 | 3562 |
3539 fi | 3563 fi |
3540 | 3564 |
3541 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3565 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3542 echo "configure:3543: checking for ANSI C header files" >&5 | 3566 echo "configure:3567: checking for ANSI C header files" >&5 |
3543 | 3567 |
3544 cat > conftest.$ac_ext <<EOF | 3568 cat > conftest.$ac_ext <<EOF |
3545 #line 3546 "configure" | 3569 #line 3570 "configure" |
3546 #include "confdefs.h" | 3570 #include "confdefs.h" |
3547 #include <stdlib.h> | 3571 #include <stdlib.h> |
3548 #include <stdarg.h> | 3572 #include <stdarg.h> |
3549 #include <string.h> | 3573 #include <string.h> |
3550 #include <float.h> | 3574 #include <float.h> |
3551 EOF | 3575 EOF |
3552 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3553 { (eval echo configure:3554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3577 { (eval echo configure:3578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3554 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3555 if test -z "$ac_err"; then | 3579 if test -z "$ac_err"; then |
3556 rm -rf conftest* | 3580 rm -rf conftest* |
3557 ac_cv_header_stdc=yes | 3581 ac_cv_header_stdc=yes |
3558 else | 3582 else |
3565 rm -f conftest* | 3589 rm -f conftest* |
3566 | 3590 |
3567 if test $ac_cv_header_stdc = yes; then | 3591 if test $ac_cv_header_stdc = yes; then |
3568 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3592 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3569 cat > conftest.$ac_ext <<EOF | 3593 cat > conftest.$ac_ext <<EOF |
3570 #line 3571 "configure" | 3594 #line 3595 "configure" |
3571 #include "confdefs.h" | 3595 #include "confdefs.h" |
3572 #include <string.h> | 3596 #include <string.h> |
3573 EOF | 3597 EOF |
3574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3575 egrep "memchr" >/dev/null 2>&1; then | 3599 egrep "memchr" >/dev/null 2>&1; then |
3583 fi | 3607 fi |
3584 | 3608 |
3585 if test $ac_cv_header_stdc = yes; then | 3609 if test $ac_cv_header_stdc = yes; then |
3586 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3587 cat > conftest.$ac_ext <<EOF | 3611 cat > conftest.$ac_ext <<EOF |
3588 #line 3589 "configure" | 3612 #line 3613 "configure" |
3589 #include "confdefs.h" | 3613 #include "confdefs.h" |
3590 #include <stdlib.h> | 3614 #include <stdlib.h> |
3591 EOF | 3615 EOF |
3592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3593 egrep "free" >/dev/null 2>&1; then | 3617 egrep "free" >/dev/null 2>&1; then |
3601 fi | 3625 fi |
3602 | 3626 |
3603 if test $ac_cv_header_stdc = yes; then | 3627 if test $ac_cv_header_stdc = yes; then |
3604 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3628 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3605 cat > conftest.$ac_ext <<EOF | 3629 cat > conftest.$ac_ext <<EOF |
3606 #line 3607 "configure" | 3630 #line 3631 "configure" |
3607 #include "confdefs.h" | 3631 #include "confdefs.h" |
3608 #include <ctype.h> | 3632 #include <ctype.h> |
3609 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3633 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3610 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3634 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3611 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3635 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3612 int main () { int i; for (i = 0; i < 256; i++) | 3636 int main () { int i; for (i = 0; i < 256; i++) |
3613 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3637 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3614 exit (0); } | 3638 exit (0); } |
3615 | 3639 |
3616 EOF | 3640 EOF |
3617 if { (eval echo configure:3618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3641 if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3618 then | 3642 then |
3619 : | 3643 : |
3620 else | 3644 else |
3621 conftest_rc="$?" | 3645 conftest_rc="$?" |
3622 echo "configure: failed program was:" >&5 | 3646 echo "configure: failed program was:" >&5 |
3638 } | 3662 } |
3639 | 3663 |
3640 fi | 3664 fi |
3641 | 3665 |
3642 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3666 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3643 echo "configure:3644: checking whether time.h and sys/time.h may both be included" >&5 | 3667 echo "configure:3668: checking whether time.h and sys/time.h may both be included" >&5 |
3644 | 3668 |
3645 cat > conftest.$ac_ext <<EOF | 3669 cat > conftest.$ac_ext <<EOF |
3646 #line 3647 "configure" | 3670 #line 3671 "configure" |
3647 #include "confdefs.h" | 3671 #include "confdefs.h" |
3648 #include <sys/types.h> | 3672 #include <sys/types.h> |
3649 #include <sys/time.h> | 3673 #include <sys/time.h> |
3650 #include <time.h> | 3674 #include <time.h> |
3651 int main() { | 3675 int main() { |
3652 struct tm *tp; | 3676 struct tm *tp; |
3653 ; return 0; } | 3677 ; return 0; } |
3654 EOF | 3678 EOF |
3655 if { (eval echo configure:3656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3679 if { (eval echo configure:3680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3656 rm -rf conftest* | 3680 rm -rf conftest* |
3657 ac_cv_header_time=yes | 3681 ac_cv_header_time=yes |
3658 else | 3682 else |
3659 echo "configure: failed program was:" >&5 | 3683 echo "configure: failed program was:" >&5 |
3660 cat conftest.$ac_ext >&5 | 3684 cat conftest.$ac_ext >&5 |
3674 } | 3698 } |
3675 | 3699 |
3676 fi | 3700 fi |
3677 | 3701 |
3678 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3702 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3679 echo "configure:3680: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3703 echo "configure:3704: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3680 | 3704 |
3681 cat > conftest.$ac_ext <<EOF | 3705 cat > conftest.$ac_ext <<EOF |
3682 #line 3683 "configure" | 3706 #line 3707 "configure" |
3683 #include "confdefs.h" | 3707 #include "confdefs.h" |
3684 #include <sys/types.h> | 3708 #include <sys/types.h> |
3685 #include <signal.h> | 3709 #include <signal.h> |
3686 /* NetBSD declares sys_siglist in unistd.h. */ | 3710 /* NetBSD declares sys_siglist in unistd.h. */ |
3687 #ifdef HAVE_UNISTD_H | 3711 #ifdef HAVE_UNISTD_H |
3689 #endif | 3713 #endif |
3690 int main() { | 3714 int main() { |
3691 char *msg = *(sys_siglist + 1); | 3715 char *msg = *(sys_siglist + 1); |
3692 ; return 0; } | 3716 ; return 0; } |
3693 EOF | 3717 EOF |
3694 if { (eval echo configure:3695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3718 if { (eval echo configure:3719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3695 rm -rf conftest* | 3719 rm -rf conftest* |
3696 ac_cv_decl_sys_siglist=yes | 3720 ac_cv_decl_sys_siglist=yes |
3697 else | 3721 else |
3698 echo "configure: failed program was:" >&5 | 3722 echo "configure: failed program was:" >&5 |
3699 cat conftest.$ac_ext >&5 | 3723 cat conftest.$ac_ext >&5 |
3715 fi | 3739 fi |
3716 | 3740 |
3717 | 3741 |
3718 | 3742 |
3719 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3743 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3720 echo "configure:3721: checking for utime" >&5 | 3744 echo "configure:3745: checking for utime" >&5 |
3721 cat > conftest.$ac_ext <<EOF | 3745 cat > conftest.$ac_ext <<EOF |
3722 #line 3723 "configure" | 3746 #line 3747 "configure" |
3723 #include "confdefs.h" | 3747 #include "confdefs.h" |
3724 #include <sys/types.h> | 3748 #include <sys/types.h> |
3725 #include <utime.h> | 3749 #include <utime.h> |
3726 int main() { | 3750 int main() { |
3727 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3751 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3728 ; return 0; } | 3752 ; return 0; } |
3729 EOF | 3753 EOF |
3730 if { (eval echo configure:3731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3754 if { (eval echo configure:3755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3731 rm -rf conftest* | 3755 rm -rf conftest* |
3732 echo "$ac_t""yes" 1>&6 | 3756 echo "$ac_t""yes" 1>&6 |
3733 { test "$extra_verbose" = "yes" && cat << \EOF | 3757 { test "$extra_verbose" = "yes" && cat << \EOF |
3734 Defining HAVE_UTIME | 3758 Defining HAVE_UTIME |
3735 EOF | 3759 EOF |
3744 rm -rf conftest* | 3768 rm -rf conftest* |
3745 echo "$ac_t""no" 1>&6 | 3769 echo "$ac_t""no" 1>&6 |
3746 for ac_func in utimes | 3770 for ac_func in utimes |
3747 do | 3771 do |
3748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3749 echo "configure:3750: checking for $ac_func" >&5 | 3773 echo "configure:3774: checking for $ac_func" >&5 |
3750 | 3774 |
3751 cat > conftest.$ac_ext <<EOF | 3775 cat > conftest.$ac_ext <<EOF |
3752 #line 3753 "configure" | 3776 #line 3777 "configure" |
3753 #include "confdefs.h" | 3777 #include "confdefs.h" |
3754 /* System header to define __stub macros and hopefully few prototypes, | 3778 /* System header to define __stub macros and hopefully few prototypes, |
3755 which can conflict with char $ac_func(); below. */ | 3779 which can conflict with char $ac_func(); below. */ |
3756 #include <assert.h> | 3780 #include <assert.h> |
3757 /* Override any gcc2 internal prototype to avoid an error. */ | 3781 /* Override any gcc2 internal prototype to avoid an error. */ |
3770 $ac_func(); | 3794 $ac_func(); |
3771 #endif | 3795 #endif |
3772 | 3796 |
3773 ; return 0; } | 3797 ; return 0; } |
3774 EOF | 3798 EOF |
3775 if { (eval echo configure:3776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3799 if { (eval echo configure:3800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3776 rm -rf conftest* | 3800 rm -rf conftest* |
3777 eval "ac_cv_func_$ac_func=yes" | 3801 eval "ac_cv_func_$ac_func=yes" |
3778 else | 3802 else |
3779 echo "configure: failed program was:" >&5 | 3803 echo "configure: failed program was:" >&5 |
3780 cat conftest.$ac_ext >&5 | 3804 cat conftest.$ac_ext >&5 |
3802 fi | 3826 fi |
3803 rm -f conftest* | 3827 rm -f conftest* |
3804 | 3828 |
3805 | 3829 |
3806 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3830 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3807 echo "configure:3808: checking return type of signal handlers" >&5 | 3831 echo "configure:3832: checking return type of signal handlers" >&5 |
3808 | 3832 |
3809 cat > conftest.$ac_ext <<EOF | 3833 cat > conftest.$ac_ext <<EOF |
3810 #line 3811 "configure" | 3834 #line 3835 "configure" |
3811 #include "confdefs.h" | 3835 #include "confdefs.h" |
3812 #include <sys/types.h> | 3836 #include <sys/types.h> |
3813 #include <signal.h> | 3837 #include <signal.h> |
3814 #ifdef signal | 3838 #ifdef signal |
3815 #undef signal | 3839 #undef signal |
3822 | 3846 |
3823 int main() { | 3847 int main() { |
3824 int i; | 3848 int i; |
3825 ; return 0; } | 3849 ; return 0; } |
3826 EOF | 3850 EOF |
3827 if { (eval echo configure:3828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3851 if { (eval echo configure:3852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3828 rm -rf conftest* | 3852 rm -rf conftest* |
3829 ac_cv_type_signal=void | 3853 ac_cv_type_signal=void |
3830 else | 3854 else |
3831 echo "configure: failed program was:" >&5 | 3855 echo "configure: failed program was:" >&5 |
3832 cat conftest.$ac_ext >&5 | 3856 cat conftest.$ac_ext >&5 |
3844 EOF | 3868 EOF |
3845 } | 3869 } |
3846 | 3870 |
3847 | 3871 |
3848 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3872 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3849 echo "configure:3850: checking for size_t" >&5 | 3873 echo "configure:3874: checking for size_t" >&5 |
3850 | 3874 |
3851 cat > conftest.$ac_ext <<EOF | 3875 cat > conftest.$ac_ext <<EOF |
3852 #line 3853 "configure" | 3876 #line 3877 "configure" |
3853 #include "confdefs.h" | 3877 #include "confdefs.h" |
3854 #include <sys/types.h> | 3878 #include <sys/types.h> |
3855 #if STDC_HEADERS | 3879 #if STDC_HEADERS |
3856 #include <stdlib.h> | 3880 #include <stdlib.h> |
3857 #include <stddef.h> | 3881 #include <stddef.h> |
3878 } | 3902 } |
3879 | 3903 |
3880 fi | 3904 fi |
3881 | 3905 |
3882 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3906 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3883 echo "configure:3884: checking for pid_t" >&5 | 3907 echo "configure:3908: checking for pid_t" >&5 |
3884 | 3908 |
3885 cat > conftest.$ac_ext <<EOF | 3909 cat > conftest.$ac_ext <<EOF |
3886 #line 3887 "configure" | 3910 #line 3911 "configure" |
3887 #include "confdefs.h" | 3911 #include "confdefs.h" |
3888 #include <sys/types.h> | 3912 #include <sys/types.h> |
3889 #if STDC_HEADERS | 3913 #if STDC_HEADERS |
3890 #include <stdlib.h> | 3914 #include <stdlib.h> |
3891 #include <stddef.h> | 3915 #include <stddef.h> |
3912 } | 3936 } |
3913 | 3937 |
3914 fi | 3938 fi |
3915 | 3939 |
3916 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3940 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3917 echo "configure:3918: checking for uid_t in sys/types.h" >&5 | 3941 echo "configure:3942: checking for uid_t in sys/types.h" >&5 |
3918 | 3942 |
3919 cat > conftest.$ac_ext <<EOF | 3943 cat > conftest.$ac_ext <<EOF |
3920 #line 3921 "configure" | 3944 #line 3945 "configure" |
3921 #include "confdefs.h" | 3945 #include "confdefs.h" |
3922 #include <sys/types.h> | 3946 #include <sys/types.h> |
3923 EOF | 3947 EOF |
3924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3925 egrep "uid_t" >/dev/null 2>&1; then | 3949 egrep "uid_t" >/dev/null 2>&1; then |
3951 } | 3975 } |
3952 | 3976 |
3953 fi | 3977 fi |
3954 | 3978 |
3955 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3979 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3956 echo "configure:3957: checking for mode_t" >&5 | 3980 echo "configure:3981: checking for mode_t" >&5 |
3957 | 3981 |
3958 cat > conftest.$ac_ext <<EOF | 3982 cat > conftest.$ac_ext <<EOF |
3959 #line 3960 "configure" | 3983 #line 3984 "configure" |
3960 #include "confdefs.h" | 3984 #include "confdefs.h" |
3961 #include <sys/types.h> | 3985 #include <sys/types.h> |
3962 #if STDC_HEADERS | 3986 #if STDC_HEADERS |
3963 #include <stdlib.h> | 3987 #include <stdlib.h> |
3964 #include <stddef.h> | 3988 #include <stddef.h> |
3985 } | 4009 } |
3986 | 4010 |
3987 fi | 4011 fi |
3988 | 4012 |
3989 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4013 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3990 echo "configure:3991: checking for off_t" >&5 | 4014 echo "configure:4015: checking for off_t" >&5 |
3991 | 4015 |
3992 cat > conftest.$ac_ext <<EOF | 4016 cat > conftest.$ac_ext <<EOF |
3993 #line 3994 "configure" | 4017 #line 4018 "configure" |
3994 #include "confdefs.h" | 4018 #include "confdefs.h" |
3995 #include <sys/types.h> | 4019 #include <sys/types.h> |
3996 #if STDC_HEADERS | 4020 #if STDC_HEADERS |
3997 #include <stdlib.h> | 4021 #include <stdlib.h> |
3998 #include <stddef.h> | 4022 #include <stddef.h> |
4019 } | 4043 } |
4020 | 4044 |
4021 fi | 4045 fi |
4022 | 4046 |
4023 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4047 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4024 echo "configure:4025: checking for ssize_t" >&5 | 4048 echo "configure:4049: checking for ssize_t" >&5 |
4025 | 4049 |
4026 cat > conftest.$ac_ext <<EOF | 4050 cat > conftest.$ac_ext <<EOF |
4027 #line 4028 "configure" | 4051 #line 4052 "configure" |
4028 #include "confdefs.h" | 4052 #include "confdefs.h" |
4029 #include <sys/types.h> | 4053 #include <sys/types.h> |
4030 #if STDC_HEADERS | 4054 #if STDC_HEADERS |
4031 #include <stdlib.h> | 4055 #include <stdlib.h> |
4032 #include <stddef.h> | 4056 #include <stddef.h> |
4054 | 4078 |
4055 fi | 4079 fi |
4056 | 4080 |
4057 | 4081 |
4058 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4082 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4059 echo "configure:4060: checking for socklen_t" >&5 | 4083 echo "configure:4084: checking for socklen_t" >&5 |
4060 cat > conftest.$ac_ext <<EOF | 4084 cat > conftest.$ac_ext <<EOF |
4061 #line 4062 "configure" | 4085 #line 4086 "configure" |
4062 #include "confdefs.h" | 4086 #include "confdefs.h" |
4063 #include <sys/socket.h> | 4087 #include <sys/socket.h> |
4064 socklen_t x; | 4088 socklen_t x; |
4065 | 4089 |
4066 int main() { | 4090 int main() { |
4067 | 4091 |
4068 ; return 0; } | 4092 ; return 0; } |
4069 EOF | 4093 EOF |
4070 if { (eval echo configure:4071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4094 if { (eval echo configure:4095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4071 rm -rf conftest* | 4095 rm -rf conftest* |
4072 echo "$ac_t""yes" 1>&6 | 4096 echo "$ac_t""yes" 1>&6 |
4073 else | 4097 else |
4074 echo "configure: failed program was:" >&5 | 4098 echo "configure: failed program was:" >&5 |
4075 cat conftest.$ac_ext >&5 | 4099 cat conftest.$ac_ext >&5 |
4076 rm -rf conftest* | 4100 rm -rf conftest* |
4077 | 4101 |
4078 cat > conftest.$ac_ext <<EOF | 4102 cat > conftest.$ac_ext <<EOF |
4079 #line 4080 "configure" | 4103 #line 4104 "configure" |
4080 #include "confdefs.h" | 4104 #include "confdefs.h" |
4081 #include <sys/socket.h> | 4105 #include <sys/socket.h> |
4082 int accept (int, struct sockaddr *, size_t *); | 4106 int accept (int, struct sockaddr *, size_t *); |
4083 | 4107 |
4084 int main() { | 4108 int main() { |
4085 | 4109 |
4086 ; return 0; } | 4110 ; return 0; } |
4087 EOF | 4111 EOF |
4088 if { (eval echo configure:4089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4112 if { (eval echo configure:4113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4089 rm -rf conftest* | 4113 rm -rf conftest* |
4090 | 4114 |
4091 echo "$ac_t""size_t" 1>&6 | 4115 echo "$ac_t""size_t" 1>&6 |
4092 { test "$extra_verbose" = "yes" && cat << \EOF | 4116 { test "$extra_verbose" = "yes" && cat << \EOF |
4093 Defining socklen_t = size_t | 4117 Defining socklen_t = size_t |
4115 rm -f conftest* | 4139 rm -f conftest* |
4116 fi | 4140 fi |
4117 rm -f conftest* | 4141 rm -f conftest* |
4118 | 4142 |
4119 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4143 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4120 echo "configure:4121: checking for struct timeval" >&5 | 4144 echo "configure:4145: checking for struct timeval" >&5 |
4121 cat > conftest.$ac_ext <<EOF | 4145 cat > conftest.$ac_ext <<EOF |
4122 #line 4123 "configure" | 4146 #line 4147 "configure" |
4123 #include "confdefs.h" | 4147 #include "confdefs.h" |
4124 #ifdef TIME_WITH_SYS_TIME | 4148 #ifdef TIME_WITH_SYS_TIME |
4125 #include <sys/time.h> | 4149 #include <sys/time.h> |
4126 #include <time.h> | 4150 #include <time.h> |
4127 #else | 4151 #else |
4133 #endif | 4157 #endif |
4134 int main() { | 4158 int main() { |
4135 static struct timeval x; x.tv_sec = x.tv_usec; | 4159 static struct timeval x; x.tv_sec = x.tv_usec; |
4136 ; return 0; } | 4160 ; return 0; } |
4137 EOF | 4161 EOF |
4138 if { (eval echo configure:4139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4162 if { (eval echo configure:4163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4139 rm -rf conftest* | 4163 rm -rf conftest* |
4140 echo "$ac_t""yes" 1>&6 | 4164 echo "$ac_t""yes" 1>&6 |
4141 HAVE_TIMEVAL=yes | 4165 HAVE_TIMEVAL=yes |
4142 { test "$extra_verbose" = "yes" && cat << \EOF | 4166 { test "$extra_verbose" = "yes" && cat << \EOF |
4143 Defining HAVE_TIMEVAL | 4167 Defining HAVE_TIMEVAL |
4155 HAVE_TIMEVAL=no | 4179 HAVE_TIMEVAL=no |
4156 fi | 4180 fi |
4157 rm -f conftest* | 4181 rm -f conftest* |
4158 | 4182 |
4159 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4183 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4160 echo "configure:4161: checking whether struct tm is in sys/time.h or time.h" >&5 | 4184 echo "configure:4185: checking whether struct tm is in sys/time.h or time.h" >&5 |
4161 | 4185 |
4162 cat > conftest.$ac_ext <<EOF | 4186 cat > conftest.$ac_ext <<EOF |
4163 #line 4164 "configure" | 4187 #line 4188 "configure" |
4164 #include "confdefs.h" | 4188 #include "confdefs.h" |
4165 #include <sys/types.h> | 4189 #include <sys/types.h> |
4166 #include <time.h> | 4190 #include <time.h> |
4167 int main() { | 4191 int main() { |
4168 struct tm *tp; tp->tm_sec; | 4192 struct tm *tp; tp->tm_sec; |
4169 ; return 0; } | 4193 ; return 0; } |
4170 EOF | 4194 EOF |
4171 if { (eval echo configure:4172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4195 if { (eval echo configure:4196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4172 rm -rf conftest* | 4196 rm -rf conftest* |
4173 ac_cv_struct_tm=time.h | 4197 ac_cv_struct_tm=time.h |
4174 else | 4198 else |
4175 echo "configure: failed program was:" >&5 | 4199 echo "configure: failed program was:" >&5 |
4176 cat conftest.$ac_ext >&5 | 4200 cat conftest.$ac_ext >&5 |
4190 } | 4214 } |
4191 | 4215 |
4192 fi | 4216 fi |
4193 | 4217 |
4194 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4218 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4195 echo "configure:4196: checking for tm_zone in struct tm" >&5 | 4219 echo "configure:4220: checking for tm_zone in struct tm" >&5 |
4196 | 4220 |
4197 cat > conftest.$ac_ext <<EOF | 4221 cat > conftest.$ac_ext <<EOF |
4198 #line 4199 "configure" | 4222 #line 4223 "configure" |
4199 #include "confdefs.h" | 4223 #include "confdefs.h" |
4200 #include <sys/types.h> | 4224 #include <sys/types.h> |
4201 #include <$ac_cv_struct_tm> | 4225 #include <$ac_cv_struct_tm> |
4202 int main() { | 4226 int main() { |
4203 struct tm tm; tm.tm_zone; | 4227 struct tm tm; tm.tm_zone; |
4204 ; return 0; } | 4228 ; return 0; } |
4205 EOF | 4229 EOF |
4206 if { (eval echo configure:4207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4230 if { (eval echo configure:4231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4207 rm -rf conftest* | 4231 rm -rf conftest* |
4208 ac_cv_struct_tm_zone=yes | 4232 ac_cv_struct_tm_zone=yes |
4209 else | 4233 else |
4210 echo "configure: failed program was:" >&5 | 4234 echo "configure: failed program was:" >&5 |
4211 cat conftest.$ac_ext >&5 | 4235 cat conftest.$ac_ext >&5 |
4224 EOF | 4248 EOF |
4225 } | 4249 } |
4226 | 4250 |
4227 else | 4251 else |
4228 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4252 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4229 echo "configure:4230: checking for tzname" >&5 | 4253 echo "configure:4254: checking for tzname" >&5 |
4230 | 4254 |
4231 cat > conftest.$ac_ext <<EOF | 4255 cat > conftest.$ac_ext <<EOF |
4232 #line 4233 "configure" | 4256 #line 4257 "configure" |
4233 #include "confdefs.h" | 4257 #include "confdefs.h" |
4234 #include <time.h> | 4258 #include <time.h> |
4235 #ifndef tzname /* For SGI. */ | 4259 #ifndef tzname /* For SGI. */ |
4236 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4260 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4237 #endif | 4261 #endif |
4238 int main() { | 4262 int main() { |
4239 atoi(*tzname); | 4263 atoi(*tzname); |
4240 ; return 0; } | 4264 ; return 0; } |
4241 EOF | 4265 EOF |
4242 if { (eval echo configure:4243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4266 if { (eval echo configure:4267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4243 rm -rf conftest* | 4267 rm -rf conftest* |
4244 ac_cv_var_tzname=yes | 4268 ac_cv_var_tzname=yes |
4245 else | 4269 else |
4246 echo "configure: failed program was:" >&5 | 4270 echo "configure: failed program was:" >&5 |
4247 cat conftest.$ac_ext >&5 | 4271 cat conftest.$ac_ext >&5 |
4263 fi | 4287 fi |
4264 fi | 4288 fi |
4265 | 4289 |
4266 | 4290 |
4267 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4291 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4268 echo "configure:4269: checking for working const" >&5 | 4292 echo "configure:4293: checking for working const" >&5 |
4269 | 4293 |
4270 cat > conftest.$ac_ext <<EOF | 4294 cat > conftest.$ac_ext <<EOF |
4271 #line 4272 "configure" | 4295 #line 4296 "configure" |
4272 #include "confdefs.h" | 4296 #include "confdefs.h" |
4273 | 4297 |
4274 int main() { | 4298 int main() { |
4275 | 4299 |
4276 /* Ultrix mips cc rejects this. */ | 4300 /* Ultrix mips cc rejects this. */ |
4315 const int foo = 10; | 4339 const int foo = 10; |
4316 } | 4340 } |
4317 | 4341 |
4318 ; return 0; } | 4342 ; return 0; } |
4319 EOF | 4343 EOF |
4320 if { (eval echo configure:4321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4344 if { (eval echo configure:4345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4321 rm -rf conftest* | 4345 rm -rf conftest* |
4322 ac_cv_c_const=yes | 4346 ac_cv_c_const=yes |
4323 else | 4347 else |
4324 echo "configure: failed program was:" >&5 | 4348 echo "configure: failed program was:" >&5 |
4325 cat conftest.$ac_ext >&5 | 4349 cat conftest.$ac_ext >&5 |
4340 | 4364 |
4341 fi | 4365 fi |
4342 | 4366 |
4343 | 4367 |
4344 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4368 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4345 echo "configure:4346: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4369 echo "configure:4370: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4346 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4370 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4347 | 4371 |
4348 cat > conftestmake <<\EOF | 4372 cat > conftestmake <<\EOF |
4349 all: | 4373 all: |
4350 @echo 'ac_maketemp="${MAKE}"' | 4374 @echo 'ac_maketemp="${MAKE}"' |
4365 SET_MAKE="MAKE=${MAKE-make}" | 4389 SET_MAKE="MAKE=${MAKE-make}" |
4366 fi | 4390 fi |
4367 | 4391 |
4368 | 4392 |
4369 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4393 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4370 echo "configure:4371: checking whether byte ordering is bigendian" >&5 | 4394 echo "configure:4395: checking whether byte ordering is bigendian" >&5 |
4371 | 4395 |
4372 ac_cv_c_bigendian=unknown | 4396 ac_cv_c_bigendian=unknown |
4373 # See if sys/param.h defines the BYTE_ORDER macro. | 4397 # See if sys/param.h defines the BYTE_ORDER macro. |
4374 cat > conftest.$ac_ext <<EOF | 4398 cat > conftest.$ac_ext <<EOF |
4375 #line 4376 "configure" | 4399 #line 4400 "configure" |
4376 #include "confdefs.h" | 4400 #include "confdefs.h" |
4377 #include <sys/types.h> | 4401 #include <sys/types.h> |
4378 #include <sys/param.h> | 4402 #include <sys/param.h> |
4379 int main() { | 4403 int main() { |
4380 | 4404 |
4381 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4405 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4382 bogus endian macros | 4406 bogus endian macros |
4383 #endif | 4407 #endif |
4384 ; return 0; } | 4408 ; return 0; } |
4385 EOF | 4409 EOF |
4386 if { (eval echo configure:4387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4410 if { (eval echo configure:4411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4387 rm -rf conftest* | 4411 rm -rf conftest* |
4388 # It does; now see whether it defined to BIG_ENDIAN or not. | 4412 # It does; now see whether it defined to BIG_ENDIAN or not. |
4389 cat > conftest.$ac_ext <<EOF | 4413 cat > conftest.$ac_ext <<EOF |
4390 #line 4391 "configure" | 4414 #line 4415 "configure" |
4391 #include "confdefs.h" | 4415 #include "confdefs.h" |
4392 #include <sys/types.h> | 4416 #include <sys/types.h> |
4393 #include <sys/param.h> | 4417 #include <sys/param.h> |
4394 int main() { | 4418 int main() { |
4395 | 4419 |
4396 #if BYTE_ORDER != BIG_ENDIAN | 4420 #if BYTE_ORDER != BIG_ENDIAN |
4397 not big endian | 4421 not big endian |
4398 #endif | 4422 #endif |
4399 ; return 0; } | 4423 ; return 0; } |
4400 EOF | 4424 EOF |
4401 if { (eval echo configure:4402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4425 if { (eval echo configure:4426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4402 rm -rf conftest* | 4426 rm -rf conftest* |
4403 ac_cv_c_bigendian=yes | 4427 ac_cv_c_bigendian=yes |
4404 else | 4428 else |
4405 echo "configure: failed program was:" >&5 | 4429 echo "configure: failed program was:" >&5 |
4406 cat conftest.$ac_ext >&5 | 4430 cat conftest.$ac_ext >&5 |
4413 cat conftest.$ac_ext >&5 | 4437 cat conftest.$ac_ext >&5 |
4414 fi | 4438 fi |
4415 rm -f conftest* | 4439 rm -f conftest* |
4416 if test $ac_cv_c_bigendian = unknown; then | 4440 if test $ac_cv_c_bigendian = unknown; then |
4417 cat > conftest.$ac_ext <<EOF | 4441 cat > conftest.$ac_ext <<EOF |
4418 #line 4419 "configure" | 4442 #line 4443 "configure" |
4419 #include "confdefs.h" | 4443 #include "confdefs.h" |
4420 main () { | 4444 main () { |
4421 /* Are we little or big endian? From Harbison&Steele. */ | 4445 /* Are we little or big endian? From Harbison&Steele. */ |
4422 union | 4446 union |
4423 { | 4447 { |
4426 } u; | 4450 } u; |
4427 u.l = 1; | 4451 u.l = 1; |
4428 exit (u.c[sizeof (long) - 1] == 1); | 4452 exit (u.c[sizeof (long) - 1] == 1); |
4429 } | 4453 } |
4430 EOF | 4454 EOF |
4431 if { (eval echo configure:4432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4455 if { (eval echo configure:4456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4432 then | 4456 then |
4433 ac_cv_c_bigendian=no | 4457 ac_cv_c_bigendian=no |
4434 else | 4458 else |
4435 conftest_rc="$?" | 4459 conftest_rc="$?" |
4436 echo "configure: failed program was:" >&5 | 4460 echo "configure: failed program was:" >&5 |
4453 | 4477 |
4454 fi | 4478 fi |
4455 | 4479 |
4456 | 4480 |
4457 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4481 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4458 echo "configure:4459: checking size of short" >&5 | 4482 echo "configure:4483: checking size of short" >&5 |
4459 | 4483 |
4460 cat > conftest.$ac_ext <<EOF | 4484 cat > conftest.$ac_ext <<EOF |
4461 #line 4462 "configure" | 4485 #line 4486 "configure" |
4462 #include "confdefs.h" | 4486 #include "confdefs.h" |
4463 #include <stdio.h> | 4487 #include <stdio.h> |
4464 main() | 4488 main() |
4465 { | 4489 { |
4466 FILE *f=fopen("conftestval", "w"); | 4490 FILE *f=fopen("conftestval", "w"); |
4467 if (!f) exit(1); | 4491 if (!f) exit(1); |
4468 fprintf(f, "%d\n", sizeof(short)); | 4492 fprintf(f, "%d\n", sizeof(short)); |
4469 exit(0); | 4493 exit(0); |
4470 } | 4494 } |
4471 EOF | 4495 EOF |
4472 if { (eval echo configure:4473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4496 if { (eval echo configure:4497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4473 then | 4497 then |
4474 ac_cv_sizeof_short=`cat conftestval` | 4498 ac_cv_sizeof_short=`cat conftestval` |
4475 else | 4499 else |
4476 conftest_rc="$?" | 4500 conftest_rc="$?" |
4477 echo "configure: failed program was:" >&5 | 4501 echo "configure: failed program was:" >&5 |
4495 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4519 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4496 echo "*** PANIC *** Please examine config.log for compilation errors." | 4520 echo "*** PANIC *** Please examine config.log for compilation errors." |
4497 exit 1 | 4521 exit 1 |
4498 fi | 4522 fi |
4499 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4523 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4500 echo "configure:4501: checking size of int" >&5 | 4524 echo "configure:4525: checking size of int" >&5 |
4501 | 4525 |
4502 cat > conftest.$ac_ext <<EOF | 4526 cat > conftest.$ac_ext <<EOF |
4503 #line 4504 "configure" | 4527 #line 4528 "configure" |
4504 #include "confdefs.h" | 4528 #include "confdefs.h" |
4505 #include <stdio.h> | 4529 #include <stdio.h> |
4506 main() | 4530 main() |
4507 { | 4531 { |
4508 FILE *f=fopen("conftestval", "w"); | 4532 FILE *f=fopen("conftestval", "w"); |
4509 if (!f) exit(1); | 4533 if (!f) exit(1); |
4510 fprintf(f, "%d\n", sizeof(int)); | 4534 fprintf(f, "%d\n", sizeof(int)); |
4511 exit(0); | 4535 exit(0); |
4512 } | 4536 } |
4513 EOF | 4537 EOF |
4514 if { (eval echo configure:4515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4538 if { (eval echo configure:4539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4515 then | 4539 then |
4516 ac_cv_sizeof_int=`cat conftestval` | 4540 ac_cv_sizeof_int=`cat conftestval` |
4517 else | 4541 else |
4518 conftest_rc="$?" | 4542 conftest_rc="$?" |
4519 echo "configure: failed program was:" >&5 | 4543 echo "configure: failed program was:" >&5 |
4531 EOF | 4555 EOF |
4532 } | 4556 } |
4533 | 4557 |
4534 | 4558 |
4535 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4559 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4536 echo "configure:4537: checking size of long" >&5 | 4560 echo "configure:4561: checking size of long" >&5 |
4537 | 4561 |
4538 cat > conftest.$ac_ext <<EOF | 4562 cat > conftest.$ac_ext <<EOF |
4539 #line 4540 "configure" | 4563 #line 4564 "configure" |
4540 #include "confdefs.h" | 4564 #include "confdefs.h" |
4541 #include <stdio.h> | 4565 #include <stdio.h> |
4542 main() | 4566 main() |
4543 { | 4567 { |
4544 FILE *f=fopen("conftestval", "w"); | 4568 FILE *f=fopen("conftestval", "w"); |
4545 if (!f) exit(1); | 4569 if (!f) exit(1); |
4546 fprintf(f, "%d\n", sizeof(long)); | 4570 fprintf(f, "%d\n", sizeof(long)); |
4547 exit(0); | 4571 exit(0); |
4548 } | 4572 } |
4549 EOF | 4573 EOF |
4550 if { (eval echo configure:4551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4574 if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4551 then | 4575 then |
4552 ac_cv_sizeof_long=`cat conftestval` | 4576 ac_cv_sizeof_long=`cat conftestval` |
4553 else | 4577 else |
4554 conftest_rc="$?" | 4578 conftest_rc="$?" |
4555 echo "configure: failed program was:" >&5 | 4579 echo "configure: failed program was:" >&5 |
4567 EOF | 4591 EOF |
4568 } | 4592 } |
4569 | 4593 |
4570 | 4594 |
4571 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4595 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4572 echo "configure:4573: checking size of long long" >&5 | 4596 echo "configure:4597: checking size of long long" >&5 |
4573 | 4597 |
4574 cat > conftest.$ac_ext <<EOF | 4598 cat > conftest.$ac_ext <<EOF |
4575 #line 4576 "configure" | 4599 #line 4600 "configure" |
4576 #include "confdefs.h" | 4600 #include "confdefs.h" |
4577 #include <stdio.h> | 4601 #include <stdio.h> |
4578 main() | 4602 main() |
4579 { | 4603 { |
4580 FILE *f=fopen("conftestval", "w"); | 4604 FILE *f=fopen("conftestval", "w"); |
4581 if (!f) exit(1); | 4605 if (!f) exit(1); |
4582 fprintf(f, "%d\n", sizeof(long long)); | 4606 fprintf(f, "%d\n", sizeof(long long)); |
4583 exit(0); | 4607 exit(0); |
4584 } | 4608 } |
4585 EOF | 4609 EOF |
4586 if { (eval echo configure:4587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4610 if { (eval echo configure:4611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4587 then | 4611 then |
4588 ac_cv_sizeof_long_long=`cat conftestval` | 4612 ac_cv_sizeof_long_long=`cat conftestval` |
4589 else | 4613 else |
4590 conftest_rc="$?" | 4614 conftest_rc="$?" |
4591 echo "configure: failed program was:" >&5 | 4615 echo "configure: failed program was:" >&5 |
4603 EOF | 4627 EOF |
4604 } | 4628 } |
4605 | 4629 |
4606 | 4630 |
4607 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4631 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4608 echo "configure:4609: checking size of void *" >&5 | 4632 echo "configure:4633: checking size of void *" >&5 |
4609 | 4633 |
4610 cat > conftest.$ac_ext <<EOF | 4634 cat > conftest.$ac_ext <<EOF |
4611 #line 4612 "configure" | 4635 #line 4636 "configure" |
4612 #include "confdefs.h" | 4636 #include "confdefs.h" |
4613 #include <stdio.h> | 4637 #include <stdio.h> |
4614 main() | 4638 main() |
4615 { | 4639 { |
4616 FILE *f=fopen("conftestval", "w"); | 4640 FILE *f=fopen("conftestval", "w"); |
4617 if (!f) exit(1); | 4641 if (!f) exit(1); |
4618 fprintf(f, "%d\n", sizeof(void *)); | 4642 fprintf(f, "%d\n", sizeof(void *)); |
4619 exit(0); | 4643 exit(0); |
4620 } | 4644 } |
4621 EOF | 4645 EOF |
4622 if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4646 if { (eval echo configure:4647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4623 then | 4647 then |
4624 ac_cv_sizeof_void_p=`cat conftestval` | 4648 ac_cv_sizeof_void_p=`cat conftestval` |
4625 else | 4649 else |
4626 conftest_rc="$?" | 4650 conftest_rc="$?" |
4627 echo "configure: failed program was:" >&5 | 4651 echo "configure: failed program was:" >&5 |
4640 } | 4664 } |
4641 | 4665 |
4642 | 4666 |
4643 | 4667 |
4644 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4668 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4645 echo "configure:4646: checking for long file names" >&5 | 4669 echo "configure:4670: checking for long file names" >&5 |
4646 | 4670 |
4647 ac_cv_sys_long_file_names=yes | 4671 ac_cv_sys_long_file_names=yes |
4648 # Test for long file names in all the places we know might matter: | 4672 # Test for long file names in all the places we know might matter: |
4649 # . the current directory, where building will happen | 4673 # . the current directory, where building will happen |
4650 # $prefix/lib where we will be installing things | 4674 # $prefix/lib where we will be installing things |
4686 | 4710 |
4687 fi | 4711 fi |
4688 | 4712 |
4689 | 4713 |
4690 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4714 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4691 echo "configure:4692: checking for sin" >&5 | 4715 echo "configure:4716: checking for sin" >&5 |
4692 | 4716 |
4693 cat > conftest.$ac_ext <<EOF | 4717 cat > conftest.$ac_ext <<EOF |
4694 #line 4695 "configure" | 4718 #line 4719 "configure" |
4695 #include "confdefs.h" | 4719 #include "confdefs.h" |
4696 /* System header to define __stub macros and hopefully few prototypes, | 4720 /* System header to define __stub macros and hopefully few prototypes, |
4697 which can conflict with char sin(); below. */ | 4721 which can conflict with char sin(); below. */ |
4698 #include <assert.h> | 4722 #include <assert.h> |
4699 /* Override any gcc2 internal prototype to avoid an error. */ | 4723 /* Override any gcc2 internal prototype to avoid an error. */ |
4712 sin(); | 4736 sin(); |
4713 #endif | 4737 #endif |
4714 | 4738 |
4715 ; return 0; } | 4739 ; return 0; } |
4716 EOF | 4740 EOF |
4717 if { (eval echo configure:4718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4741 if { (eval echo configure:4742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4718 rm -rf conftest* | 4742 rm -rf conftest* |
4719 eval "ac_cv_func_sin=yes" | 4743 eval "ac_cv_func_sin=yes" |
4720 else | 4744 else |
4721 echo "configure: failed program was:" >&5 | 4745 echo "configure: failed program was:" >&5 |
4722 cat conftest.$ac_ext >&5 | 4746 cat conftest.$ac_ext >&5 |
4730 : | 4754 : |
4731 else | 4755 else |
4732 echo "$ac_t""no" 1>&6 | 4756 echo "$ac_t""no" 1>&6 |
4733 | 4757 |
4734 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4758 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4735 echo "configure:4736: checking for sin in -lm" >&5 | 4759 echo "configure:4760: checking for sin in -lm" >&5 |
4736 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4760 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4737 | 4761 |
4738 xe_check_libs=" -lm " | 4762 xe_check_libs=" -lm " |
4739 cat > conftest.$ac_ext <<EOF | 4763 cat > conftest.$ac_ext <<EOF |
4740 #line 4741 "configure" | 4764 #line 4765 "configure" |
4741 #include "confdefs.h" | 4765 #include "confdefs.h" |
4742 /* Override any gcc2 internal prototype to avoid an error. */ | 4766 /* Override any gcc2 internal prototype to avoid an error. */ |
4743 /* We use char because int might match the return type of a gcc2 | 4767 /* We use char because int might match the return type of a gcc2 |
4744 builtin and then its argument prototype would still apply. */ | 4768 builtin and then its argument prototype would still apply. */ |
4745 char sin(); | 4769 char sin(); |
4746 | 4770 |
4747 int main() { | 4771 int main() { |
4748 sin() | 4772 sin() |
4749 ; return 0; } | 4773 ; return 0; } |
4750 EOF | 4774 EOF |
4751 if { (eval echo configure:4752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4775 if { (eval echo configure:4776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4752 rm -rf conftest* | 4776 rm -rf conftest* |
4753 eval "ac_cv_lib_$ac_lib_var=yes" | 4777 eval "ac_cv_lib_$ac_lib_var=yes" |
4754 else | 4778 else |
4755 echo "configure: failed program was:" >&5 | 4779 echo "configure: failed program was:" >&5 |
4756 cat conftest.$ac_ext >&5 | 4780 cat conftest.$ac_ext >&5 |
4790 EOF | 4814 EOF |
4791 } | 4815 } |
4792 | 4816 |
4793 | 4817 |
4794 cat > conftest.$ac_ext <<EOF | 4818 cat > conftest.$ac_ext <<EOF |
4795 #line 4796 "configure" | 4819 #line 4820 "configure" |
4796 #include "confdefs.h" | 4820 #include "confdefs.h" |
4797 #include <math.h> | 4821 #include <math.h> |
4798 int main() { | 4822 int main() { |
4799 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4823 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4800 ; return 0; } | 4824 ; return 0; } |
4801 EOF | 4825 EOF |
4802 if { (eval echo configure:4803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4826 if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4803 rm -rf conftest* | 4827 rm -rf conftest* |
4804 { test "$extra_verbose" = "yes" && cat << \EOF | 4828 { test "$extra_verbose" = "yes" && cat << \EOF |
4805 Defining HAVE_INVERSE_HYPERBOLIC | 4829 Defining HAVE_INVERSE_HYPERBOLIC |
4806 EOF | 4830 EOF |
4807 cat >> confdefs.h <<\EOF | 4831 cat >> confdefs.h <<\EOF |
4816 rm -f conftest* | 4840 rm -f conftest* |
4817 | 4841 |
4818 for ac_func in mkstemp | 4842 for ac_func in mkstemp |
4819 do | 4843 do |
4820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4821 echo "configure:4822: checking for $ac_func" >&5 | 4845 echo "configure:4846: checking for $ac_func" >&5 |
4822 | 4846 |
4823 cat > conftest.$ac_ext <<EOF | 4847 cat > conftest.$ac_ext <<EOF |
4824 #line 4825 "configure" | 4848 #line 4849 "configure" |
4825 #include "confdefs.h" | 4849 #include "confdefs.h" |
4826 /* System header to define __stub macros and hopefully few prototypes, | 4850 /* System header to define __stub macros and hopefully few prototypes, |
4827 which can conflict with char $ac_func(); below. */ | 4851 which can conflict with char $ac_func(); below. */ |
4828 #include <assert.h> | 4852 #include <assert.h> |
4829 /* Override any gcc2 internal prototype to avoid an error. */ | 4853 /* Override any gcc2 internal prototype to avoid an error. */ |
4842 $ac_func(); | 4866 $ac_func(); |
4843 #endif | 4867 #endif |
4844 | 4868 |
4845 ; return 0; } | 4869 ; return 0; } |
4846 EOF | 4870 EOF |
4847 if { (eval echo configure:4848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4871 if { (eval echo configure:4872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4848 rm -rf conftest* | 4872 rm -rf conftest* |
4849 eval "ac_cv_func_$ac_func=yes" | 4873 eval "ac_cv_func_$ac_func=yes" |
4850 else | 4874 else |
4851 echo "configure: failed program was:" >&5 | 4875 echo "configure: failed program was:" >&5 |
4852 cat conftest.$ac_ext >&5 | 4876 cat conftest.$ac_ext >&5 |
4871 fi | 4895 fi |
4872 done | 4896 done |
4873 | 4897 |
4874 | 4898 |
4875 echo "checking type of mail spool file locking" 1>&6 | 4899 echo "checking type of mail spool file locking" 1>&6 |
4876 echo "configure:4877: checking type of mail spool file locking" >&5 | 4900 echo "configure:4901: checking type of mail spool file locking" >&5 |
4877 for ac_func in lockf flock | 4901 for ac_func in lockf flock |
4878 do | 4902 do |
4879 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4880 echo "configure:4881: checking for $ac_func" >&5 | 4904 echo "configure:4905: checking for $ac_func" >&5 |
4881 | 4905 |
4882 cat > conftest.$ac_ext <<EOF | 4906 cat > conftest.$ac_ext <<EOF |
4883 #line 4884 "configure" | 4907 #line 4908 "configure" |
4884 #include "confdefs.h" | 4908 #include "confdefs.h" |
4885 /* System header to define __stub macros and hopefully few prototypes, | 4909 /* System header to define __stub macros and hopefully few prototypes, |
4886 which can conflict with char $ac_func(); below. */ | 4910 which can conflict with char $ac_func(); below. */ |
4887 #include <assert.h> | 4911 #include <assert.h> |
4888 /* Override any gcc2 internal prototype to avoid an error. */ | 4912 /* Override any gcc2 internal prototype to avoid an error. */ |
4901 $ac_func(); | 4925 $ac_func(); |
4902 #endif | 4926 #endif |
4903 | 4927 |
4904 ; return 0; } | 4928 ; return 0; } |
4905 EOF | 4929 EOF |
4906 if { (eval echo configure:4907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4930 if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4907 rm -rf conftest* | 4931 rm -rf conftest* |
4908 eval "ac_cv_func_$ac_func=yes" | 4932 eval "ac_cv_func_$ac_func=yes" |
4909 else | 4933 else |
4910 echo "configure: failed program was:" >&5 | 4934 echo "configure: failed program was:" >&5 |
4911 cat conftest.$ac_ext >&5 | 4935 cat conftest.$ac_ext >&5 |
4983 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5007 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4984 | 5008 |
4985 case "$opsys" in decosf*) | 5009 case "$opsys" in decosf*) |
4986 | 5010 |
4987 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5011 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4988 echo "configure:4989: checking for cma_open in -lpthreads" >&5 | 5012 echo "configure:5013: checking for cma_open in -lpthreads" >&5 |
4989 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5013 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4990 | 5014 |
4991 xe_check_libs=" -lpthreads " | 5015 xe_check_libs=" -lpthreads " |
4992 cat > conftest.$ac_ext <<EOF | 5016 cat > conftest.$ac_ext <<EOF |
4993 #line 4994 "configure" | 5017 #line 5018 "configure" |
4994 #include "confdefs.h" | 5018 #include "confdefs.h" |
4995 /* Override any gcc2 internal prototype to avoid an error. */ | 5019 /* Override any gcc2 internal prototype to avoid an error. */ |
4996 /* We use char because int might match the return type of a gcc2 | 5020 /* We use char because int might match the return type of a gcc2 |
4997 builtin and then its argument prototype would still apply. */ | 5021 builtin and then its argument prototype would still apply. */ |
4998 char cma_open(); | 5022 char cma_open(); |
4999 | 5023 |
5000 int main() { | 5024 int main() { |
5001 cma_open() | 5025 cma_open() |
5002 ; return 0; } | 5026 ; return 0; } |
5003 EOF | 5027 EOF |
5004 if { (eval echo configure:5005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5028 if { (eval echo configure:5029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5005 rm -rf conftest* | 5029 rm -rf conftest* |
5006 eval "ac_cv_lib_$ac_lib_var=yes" | 5030 eval "ac_cv_lib_$ac_lib_var=yes" |
5007 else | 5031 else |
5008 echo "configure: failed program was:" >&5 | 5032 echo "configure: failed program was:" >&5 |
5009 cat conftest.$ac_ext >&5 | 5033 cat conftest.$ac_ext >&5 |
5036 c_switch_site="$c_switch_site -threads" ;; | 5060 c_switch_site="$c_switch_site -threads" ;; |
5037 esac | 5061 esac |
5038 | 5062 |
5039 | 5063 |
5040 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5064 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5041 echo "configure:5042: checking whether the -xildoff compiler flag is required" >&5 | 5065 echo "configure:5066: checking whether the -xildoff compiler flag is required" >&5 |
5042 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5066 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5043 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5067 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5044 then echo "$ac_t""no" 1>&6; | 5068 then echo "$ac_t""no" 1>&6; |
5045 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi | 5069 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
5046 fi | 5070 fi |
5048 fi | 5072 fi |
5049 | 5073 |
5050 if test "$opsys" = "sol2"; then | 5074 if test "$opsys" = "sol2"; then |
5051 if test "$os_release" -ge 56; then | 5075 if test "$os_release" -ge 56; then |
5052 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5076 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5053 echo "configure:5054: checking for \"-z ignore\" linker flag" >&5 | 5077 echo "configure:5078: checking for \"-z ignore\" linker flag" >&5 |
5054 case "`ld -h 2>&1`" in | 5078 case "`ld -h 2>&1`" in |
5055 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5079 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5056 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5080 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5057 *) echo "$ac_t""no" 1>&6 ;; | 5081 *) echo "$ac_t""no" 1>&6 ;; |
5058 esac | 5082 esac |
5059 fi | 5083 fi |
5060 fi | 5084 fi |
5061 | 5085 |
5062 if test "$pdump" != "yes"; then | 5086 if test "$pdump" != "yes"; then |
5063 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 5087 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
5064 echo "configure:5065: checking for \"-z nocombreloc\" linker flag" >&5 | 5088 echo "configure:5089: checking for \"-z nocombreloc\" linker flag" >&5 |
5065 case "`ld --help 2>&1`" in | 5089 case "`ld --help 2>&1`" in |
5066 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 5090 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
5067 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 5091 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
5068 *) echo "$ac_t""no" 1>&6 ;; | 5092 *) echo "$ac_t""no" 1>&6 ;; |
5069 esac | 5093 esac |
5070 fi | 5094 fi |
5071 | 5095 |
5072 | 5096 |
5073 echo "checking "for specified window system"" 1>&6 | 5097 echo "checking "for specified window system"" 1>&6 |
5074 echo "configure:5075: checking "for specified window system"" >&5 | 5098 echo "configure:5099: checking "for specified window system"" >&5 |
5075 | 5099 |
5076 | 5100 |
5077 GNOME_CONFIG=no | 5101 GNOME_CONFIG=no |
5078 GTK_CONFIG=no | 5102 GTK_CONFIG=no |
5079 | 5103 |
5080 if test "$with_gnome" != "no"; then | 5104 if test "$with_gnome" != "no"; then |
5081 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5105 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5082 echo "configure:5083: checking for GNOME configuration script" >&5 | 5106 echo "configure:5107: checking for GNOME configuration script" >&5 |
5083 for possible in gnome-config | 5107 for possible in gnome-config |
5084 do | 5108 do |
5085 possible_version=`${possible} --version 2> /dev/null` | 5109 possible_version=`${possible} --version 2> /dev/null` |
5086 if test "x${possible_version}" != "x"; then | 5110 if test "x${possible_version}" != "x"; then |
5087 GNOME_CONFIG="${possible}" | 5111 GNOME_CONFIG="${possible}" |
5108 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5132 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5109 fi | 5133 fi |
5110 | 5134 |
5111 if test "$with_gtk" != "no";then | 5135 if test "$with_gtk" != "no";then |
5112 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5136 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5113 echo "configure:5114: checking for GTK configuration script" >&5 | 5137 echo "configure:5138: checking for GTK configuration script" >&5 |
5114 for possible in gtk12-config gtk14-config gtk-config | 5138 for possible in gtk12-config gtk14-config gtk-config |
5115 do | 5139 do |
5116 possible_version=`${possible} --version 2> /dev/null` | 5140 possible_version=`${possible} --version 2> /dev/null` |
5117 if test "x${possible_version}" != "x"; then | 5141 if test "x${possible_version}" != "x"; then |
5118 GTK_CONFIG="${possible}" | 5142 GTK_CONFIG="${possible}" |
5130 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5154 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5131 fi | 5155 fi |
5132 | 5156 |
5133 if test "${GTK_CONFIG}" != "no"; then | 5157 if test "${GTK_CONFIG}" != "no"; then |
5134 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5158 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5135 echo "configure:5136: checking gtk version" >&5 | 5159 echo "configure:5160: checking gtk version" >&5 |
5136 GTK_VERSION=`${GTK_CONFIG} --version` | 5160 GTK_VERSION=`${GTK_CONFIG} --version` |
5137 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5161 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5138 | 5162 |
5139 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5163 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5140 echo "configure:5141: checking gtk libs" >&5 | 5164 echo "configure:5165: checking gtk libs" >&5 |
5141 GTK_LIBS=`${GTK_CONFIG} --libs` | 5165 GTK_LIBS=`${GTK_CONFIG} --libs` |
5142 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5166 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5143 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5167 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5144 | 5168 |
5145 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5169 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5146 echo "configure:5147: checking gtk cflags" >&5 | 5170 echo "configure:5171: checking gtk cflags" >&5 |
5147 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5171 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5148 if test "$GCC" = "yes"; then | 5172 if test "$GCC" = "yes"; then |
5149 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5173 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5150 fi | 5174 fi |
5151 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5175 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5152 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5176 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5153 | 5177 |
5154 | 5178 |
5155 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5179 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5156 echo "configure:5157: checking for main in -lgdk_imlib" >&5 | 5180 echo "configure:5181: checking for main in -lgdk_imlib" >&5 |
5157 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5181 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5158 | 5182 |
5159 xe_check_libs=" -lgdk_imlib " | 5183 xe_check_libs=" -lgdk_imlib " |
5160 cat > conftest.$ac_ext <<EOF | 5184 cat > conftest.$ac_ext <<EOF |
5161 #line 5162 "configure" | 5185 #line 5186 "configure" |
5162 #include "confdefs.h" | 5186 #include "confdefs.h" |
5163 | 5187 |
5164 int main() { | 5188 int main() { |
5165 main() | 5189 main() |
5166 ; return 0; } | 5190 ; return 0; } |
5167 EOF | 5191 EOF |
5168 if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5192 if { (eval echo configure:5193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5169 rm -rf conftest* | 5193 rm -rf conftest* |
5170 eval "ac_cv_lib_$ac_lib_var=yes" | 5194 eval "ac_cv_lib_$ac_lib_var=yes" |
5171 else | 5195 else |
5172 echo "configure: failed program was:" >&5 | 5196 echo "configure: failed program was:" >&5 |
5173 cat conftest.$ac_ext >&5 | 5197 cat conftest.$ac_ext >&5 |
5185 fi | 5209 fi |
5186 | 5210 |
5187 | 5211 |
5188 | 5212 |
5189 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5213 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5190 echo "configure:5191: checking for Imlib_init in -lImlib" >&5 | 5214 echo "configure:5215: checking for Imlib_init in -lImlib" >&5 |
5191 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5215 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5192 | 5216 |
5193 xe_check_libs=" -lImlib " | 5217 xe_check_libs=" -lImlib " |
5194 cat > conftest.$ac_ext <<EOF | 5218 cat > conftest.$ac_ext <<EOF |
5195 #line 5196 "configure" | 5219 #line 5220 "configure" |
5196 #include "confdefs.h" | 5220 #include "confdefs.h" |
5197 /* Override any gcc2 internal prototype to avoid an error. */ | 5221 /* Override any gcc2 internal prototype to avoid an error. */ |
5198 /* We use char because int might match the return type of a gcc2 | 5222 /* We use char because int might match the return type of a gcc2 |
5199 builtin and then its argument prototype would still apply. */ | 5223 builtin and then its argument prototype would still apply. */ |
5200 char Imlib_init(); | 5224 char Imlib_init(); |
5201 | 5225 |
5202 int main() { | 5226 int main() { |
5203 Imlib_init() | 5227 Imlib_init() |
5204 ; return 0; } | 5228 ; return 0; } |
5205 EOF | 5229 EOF |
5206 if { (eval echo configure:5207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5230 if { (eval echo configure:5231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5207 rm -rf conftest* | 5231 rm -rf conftest* |
5208 eval "ac_cv_lib_$ac_lib_var=yes" | 5232 eval "ac_cv_lib_$ac_lib_var=yes" |
5209 else | 5233 else |
5210 echo "configure: failed program was:" >&5 | 5234 echo "configure: failed program was:" >&5 |
5211 cat conftest.$ac_ext >&5 | 5235 cat conftest.$ac_ext >&5 |
5224 | 5248 |
5225 | 5249 |
5226 for ac_func in gdk_imlib_init | 5250 for ac_func in gdk_imlib_init |
5227 do | 5251 do |
5228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5229 echo "configure:5230: checking for $ac_func" >&5 | 5253 echo "configure:5254: checking for $ac_func" >&5 |
5230 | 5254 |
5231 cat > conftest.$ac_ext <<EOF | 5255 cat > conftest.$ac_ext <<EOF |
5232 #line 5233 "configure" | 5256 #line 5257 "configure" |
5233 #include "confdefs.h" | 5257 #include "confdefs.h" |
5234 /* System header to define __stub macros and hopefully few prototypes, | 5258 /* System header to define __stub macros and hopefully few prototypes, |
5235 which can conflict with char $ac_func(); below. */ | 5259 which can conflict with char $ac_func(); below. */ |
5236 #include <assert.h> | 5260 #include <assert.h> |
5237 /* Override any gcc2 internal prototype to avoid an error. */ | 5261 /* Override any gcc2 internal prototype to avoid an error. */ |
5250 $ac_func(); | 5274 $ac_func(); |
5251 #endif | 5275 #endif |
5252 | 5276 |
5253 ; return 0; } | 5277 ; return 0; } |
5254 EOF | 5278 EOF |
5255 if { (eval echo configure:5256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5279 if { (eval echo configure:5280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5256 rm -rf conftest* | 5280 rm -rf conftest* |
5257 eval "ac_cv_func_$ac_func=yes" | 5281 eval "ac_cv_func_$ac_func=yes" |
5258 else | 5282 else |
5259 echo "configure: failed program was:" >&5 | 5283 echo "configure: failed program was:" >&5 |
5260 cat conftest.$ac_ext >&5 | 5284 cat conftest.$ac_ext >&5 |
5316 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5340 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5317 for ac_hdr in glade/glade.h glade.h | 5341 for ac_hdr in glade/glade.h glade.h |
5318 do | 5342 do |
5319 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5343 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5320 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5344 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5321 echo "configure:5322: checking for $ac_hdr" >&5 | 5345 echo "configure:5346: checking for $ac_hdr" >&5 |
5322 | 5346 |
5323 cat > conftest.$ac_ext <<EOF | 5347 cat > conftest.$ac_ext <<EOF |
5324 #line 5325 "configure" | 5348 #line 5349 "configure" |
5325 #include "confdefs.h" | 5349 #include "confdefs.h" |
5326 #include <$ac_hdr> | 5350 #include <$ac_hdr> |
5327 EOF | 5351 EOF |
5328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5329 { (eval echo configure:5330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5353 { (eval echo configure:5354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5331 if test -z "$ac_err"; then | 5355 if test -z "$ac_err"; then |
5332 rm -rf conftest* | 5356 rm -rf conftest* |
5333 eval "ac_cv_header_$ac_safe=yes" | 5357 eval "ac_cv_header_$ac_safe=yes" |
5334 else | 5358 else |
5355 fi | 5379 fi |
5356 done | 5380 done |
5357 | 5381 |
5358 | 5382 |
5359 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5383 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5360 echo "configure:5361: checking for main in -lxml" >&5 | 5384 echo "configure:5385: checking for main in -lxml" >&5 |
5361 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5385 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5362 | 5386 |
5363 xe_check_libs=" -lxml " | 5387 xe_check_libs=" -lxml " |
5364 cat > conftest.$ac_ext <<EOF | 5388 cat > conftest.$ac_ext <<EOF |
5365 #line 5366 "configure" | 5389 #line 5390 "configure" |
5366 #include "confdefs.h" | 5390 #include "confdefs.h" |
5367 | 5391 |
5368 int main() { | 5392 int main() { |
5369 main() | 5393 main() |
5370 ; return 0; } | 5394 ; return 0; } |
5371 EOF | 5395 EOF |
5372 if { (eval echo configure:5373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5396 if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5373 rm -rf conftest* | 5397 rm -rf conftest* |
5374 eval "ac_cv_lib_$ac_lib_var=yes" | 5398 eval "ac_cv_lib_$ac_lib_var=yes" |
5375 else | 5399 else |
5376 echo "configure: failed program was:" >&5 | 5400 echo "configure: failed program was:" >&5 |
5377 cat conftest.$ac_ext >&5 | 5401 cat conftest.$ac_ext >&5 |
5389 fi | 5413 fi |
5390 | 5414 |
5391 | 5415 |
5392 | 5416 |
5393 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5417 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5394 echo "configure:5395: checking for main in -lglade" >&5 | 5418 echo "configure:5419: checking for main in -lglade" >&5 |
5395 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5419 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5396 | 5420 |
5397 xe_check_libs=" -lglade " | 5421 xe_check_libs=" -lglade " |
5398 cat > conftest.$ac_ext <<EOF | 5422 cat > conftest.$ac_ext <<EOF |
5399 #line 5400 "configure" | 5423 #line 5424 "configure" |
5400 #include "confdefs.h" | 5424 #include "confdefs.h" |
5401 | 5425 |
5402 int main() { | 5426 int main() { |
5403 main() | 5427 main() |
5404 ; return 0; } | 5428 ; return 0; } |
5405 EOF | 5429 EOF |
5406 if { (eval echo configure:5407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5430 if { (eval echo configure:5431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5407 rm -rf conftest* | 5431 rm -rf conftest* |
5408 eval "ac_cv_lib_$ac_lib_var=yes" | 5432 eval "ac_cv_lib_$ac_lib_var=yes" |
5409 else | 5433 else |
5410 echo "configure: failed program was:" >&5 | 5434 echo "configure: failed program was:" >&5 |
5411 cat conftest.$ac_ext >&5 | 5435 cat conftest.$ac_ext >&5 |
5423 fi | 5447 fi |
5424 | 5448 |
5425 | 5449 |
5426 | 5450 |
5427 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5451 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5428 echo "configure:5429: checking for main in -lglade-gnome" >&5 | 5452 echo "configure:5453: checking for main in -lglade-gnome" >&5 |
5429 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5453 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5430 | 5454 |
5431 xe_check_libs=" -lglade-gnome " | 5455 xe_check_libs=" -lglade-gnome " |
5432 cat > conftest.$ac_ext <<EOF | 5456 cat > conftest.$ac_ext <<EOF |
5433 #line 5434 "configure" | 5457 #line 5458 "configure" |
5434 #include "confdefs.h" | 5458 #include "confdefs.h" |
5435 | 5459 |
5436 int main() { | 5460 int main() { |
5437 main() | 5461 main() |
5438 ; return 0; } | 5462 ; return 0; } |
5439 EOF | 5463 EOF |
5440 if { (eval echo configure:5441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5464 if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5441 rm -rf conftest* | 5465 rm -rf conftest* |
5442 eval "ac_cv_lib_$ac_lib_var=yes" | 5466 eval "ac_cv_lib_$ac_lib_var=yes" |
5443 else | 5467 else |
5444 echo "configure: failed program was:" >&5 | 5468 echo "configure: failed program was:" >&5 |
5445 cat conftest.$ac_ext >&5 | 5469 cat conftest.$ac_ext >&5 |
5456 echo "$ac_t""no" 1>&6 | 5480 echo "$ac_t""no" 1>&6 |
5457 fi | 5481 fi |
5458 | 5482 |
5459 | 5483 |
5460 cat > conftest.$ac_ext <<EOF | 5484 cat > conftest.$ac_ext <<EOF |
5461 #line 5462 "configure" | 5485 #line 5486 "configure" |
5462 #include "confdefs.h" | 5486 #include "confdefs.h" |
5463 #include <glade/glade-xml.h> | 5487 #include <glade/glade-xml.h> |
5464 EOF | 5488 EOF |
5465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5466 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5490 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5515 # If we find X, set shell vars x_includes and x_libraries to the | 5539 # If we find X, set shell vars x_includes and x_libraries to the |
5516 # paths, otherwise set no_x=yes. | 5540 # paths, otherwise set no_x=yes. |
5517 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5541 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5518 # --without-x overrides everything else, but does not touch the cache. | 5542 # --without-x overrides everything else, but does not touch the cache. |
5519 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5543 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5520 echo "configure:5521: checking for X" >&5 | 5544 echo "configure:5545: checking for X" >&5 |
5521 | 5545 |
5522 # Check whether --with-x or --without-x was given. | 5546 # Check whether --with-x or --without-x was given. |
5523 if test "${with_x+set}" = set; then | 5547 if test "${with_x+set}" = set; then |
5524 withval="$with_x" | 5548 withval="$with_x" |
5525 : | 5549 : |
5575 # Guess where to find include files, by looking for this one X11 .h file. | 5599 # Guess where to find include files, by looking for this one X11 .h file. |
5576 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5600 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5577 | 5601 |
5578 # First, try using that file with no special directory specified. | 5602 # First, try using that file with no special directory specified. |
5579 cat > conftest.$ac_ext <<EOF | 5603 cat > conftest.$ac_ext <<EOF |
5580 #line 5581 "configure" | 5604 #line 5605 "configure" |
5581 #include "confdefs.h" | 5605 #include "confdefs.h" |
5582 #include <$x_direct_test_include> | 5606 #include <$x_direct_test_include> |
5583 EOF | 5607 EOF |
5584 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5585 { (eval echo configure:5586: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5609 { (eval echo configure:5610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5586 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5587 if test -z "$ac_err"; then | 5611 if test -z "$ac_err"; then |
5588 rm -rf conftest* | 5612 rm -rf conftest* |
5589 # We can compile using X headers with no special include directory. | 5613 # We can compile using X headers with no special include directory. |
5590 ac_x_includes= | 5614 ac_x_includes= |
5649 # See if we find them without any special options. | 5673 # See if we find them without any special options. |
5650 # Don't add to $LIBS permanently. | 5674 # Don't add to $LIBS permanently. |
5651 ac_save_LIBS="$LIBS" | 5675 ac_save_LIBS="$LIBS" |
5652 LIBS="-l$x_direct_test_library $LIBS" | 5676 LIBS="-l$x_direct_test_library $LIBS" |
5653 cat > conftest.$ac_ext <<EOF | 5677 cat > conftest.$ac_ext <<EOF |
5654 #line 5655 "configure" | 5678 #line 5679 "configure" |
5655 #include "confdefs.h" | 5679 #include "confdefs.h" |
5656 | 5680 |
5657 int main() { | 5681 int main() { |
5658 ${x_direct_test_function}() | 5682 ${x_direct_test_function}() |
5659 ; return 0; } | 5683 ; return 0; } |
5660 EOF | 5684 EOF |
5661 if { (eval echo configure:5662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5685 if { (eval echo configure:5686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5662 rm -rf conftest* | 5686 rm -rf conftest* |
5663 LIBS="$ac_save_LIBS" | 5687 LIBS="$ac_save_LIBS" |
5664 # We can link X programs with no special library path. | 5688 # We can link X programs with no special library path. |
5665 ac_x_libraries= | 5689 ac_x_libraries= |
5666 else | 5690 else |
5765 # For Solaris; some versions of Sun CC require a space after -R and | 5789 # For Solaris; some versions of Sun CC require a space after -R and |
5766 # others require no space. Words are not sufficient . . . . | 5790 # others require no space. Words are not sufficient . . . . |
5767 case "`(uname -sr) 2>/dev/null`" in | 5791 case "`(uname -sr) 2>/dev/null`" in |
5768 "SunOS 5"*) | 5792 "SunOS 5"*) |
5769 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5793 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5770 echo "configure:5771: checking whether -R must be followed by a space" >&5 | 5794 echo "configure:5795: checking whether -R must be followed by a space" >&5 |
5771 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5795 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5772 cat > conftest.$ac_ext <<EOF | 5796 cat > conftest.$ac_ext <<EOF |
5773 #line 5774 "configure" | 5797 #line 5798 "configure" |
5774 #include "confdefs.h" | 5798 #include "confdefs.h" |
5775 | 5799 |
5776 int main() { | 5800 int main() { |
5777 | 5801 |
5778 ; return 0; } | 5802 ; return 0; } |
5779 EOF | 5803 EOF |
5780 if { (eval echo configure:5781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5804 if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5781 rm -rf conftest* | 5805 rm -rf conftest* |
5782 ac_R_nospace=yes | 5806 ac_R_nospace=yes |
5783 else | 5807 else |
5784 echo "configure: failed program was:" >&5 | 5808 echo "configure: failed program was:" >&5 |
5785 cat conftest.$ac_ext >&5 | 5809 cat conftest.$ac_ext >&5 |
5791 echo "$ac_t""no" 1>&6 | 5815 echo "$ac_t""no" 1>&6 |
5792 X_LIBS="$X_LIBS -R$x_libraries" | 5816 X_LIBS="$X_LIBS -R$x_libraries" |
5793 else | 5817 else |
5794 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5818 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5795 cat > conftest.$ac_ext <<EOF | 5819 cat > conftest.$ac_ext <<EOF |
5796 #line 5797 "configure" | 5820 #line 5821 "configure" |
5797 #include "confdefs.h" | 5821 #include "confdefs.h" |
5798 | 5822 |
5799 int main() { | 5823 int main() { |
5800 | 5824 |
5801 ; return 0; } | 5825 ; return 0; } |
5802 EOF | 5826 EOF |
5803 if { (eval echo configure:5804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5827 if { (eval echo configure:5828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5804 rm -rf conftest* | 5828 rm -rf conftest* |
5805 ac_R_space=yes | 5829 ac_R_space=yes |
5806 else | 5830 else |
5807 echo "configure: failed program was:" >&5 | 5831 echo "configure: failed program was:" >&5 |
5808 cat conftest.$ac_ext >&5 | 5832 cat conftest.$ac_ext >&5 |
5834 if test "$with_dnet" = "no" ; then | 5858 if test "$with_dnet" = "no" ; then |
5835 ac_cv_lib_dnet_dnet_ntoa=no | 5859 ac_cv_lib_dnet_dnet_ntoa=no |
5836 else | 5860 else |
5837 | 5861 |
5838 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5862 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5839 echo "configure:5840: checking for dnet_ntoa in -ldnet" >&5 | 5863 echo "configure:5864: checking for dnet_ntoa in -ldnet" >&5 |
5840 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5864 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5841 | 5865 |
5842 xe_check_libs=" -ldnet " | 5866 xe_check_libs=" -ldnet " |
5843 cat > conftest.$ac_ext <<EOF | 5867 cat > conftest.$ac_ext <<EOF |
5844 #line 5845 "configure" | 5868 #line 5869 "configure" |
5845 #include "confdefs.h" | 5869 #include "confdefs.h" |
5846 /* Override any gcc2 internal prototype to avoid an error. */ | 5870 /* Override any gcc2 internal prototype to avoid an error. */ |
5847 /* We use char because int might match the return type of a gcc2 | 5871 /* We use char because int might match the return type of a gcc2 |
5848 builtin and then its argument prototype would still apply. */ | 5872 builtin and then its argument prototype would still apply. */ |
5849 char dnet_ntoa(); | 5873 char dnet_ntoa(); |
5850 | 5874 |
5851 int main() { | 5875 int main() { |
5852 dnet_ntoa() | 5876 dnet_ntoa() |
5853 ; return 0; } | 5877 ; return 0; } |
5854 EOF | 5878 EOF |
5855 if { (eval echo configure:5856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5879 if { (eval echo configure:5880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5856 rm -rf conftest* | 5880 rm -rf conftest* |
5857 eval "ac_cv_lib_$ac_lib_var=yes" | 5881 eval "ac_cv_lib_$ac_lib_var=yes" |
5858 else | 5882 else |
5859 echo "configure: failed program was:" >&5 | 5883 echo "configure: failed program was:" >&5 |
5860 cat conftest.$ac_ext >&5 | 5884 cat conftest.$ac_ext >&5 |
5874 fi | 5898 fi |
5875 | 5899 |
5876 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5900 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5877 | 5901 |
5878 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5902 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5879 echo "configure:5880: checking for dnet_ntoa in -ldnet_stub" >&5 | 5903 echo "configure:5904: checking for dnet_ntoa in -ldnet_stub" >&5 |
5880 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5904 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5881 | 5905 |
5882 xe_check_libs=" -ldnet_stub " | 5906 xe_check_libs=" -ldnet_stub " |
5883 cat > conftest.$ac_ext <<EOF | 5907 cat > conftest.$ac_ext <<EOF |
5884 #line 5885 "configure" | 5908 #line 5909 "configure" |
5885 #include "confdefs.h" | 5909 #include "confdefs.h" |
5886 /* Override any gcc2 internal prototype to avoid an error. */ | 5910 /* Override any gcc2 internal prototype to avoid an error. */ |
5887 /* We use char because int might match the return type of a gcc2 | 5911 /* We use char because int might match the return type of a gcc2 |
5888 builtin and then its argument prototype would still apply. */ | 5912 builtin and then its argument prototype would still apply. */ |
5889 char dnet_ntoa(); | 5913 char dnet_ntoa(); |
5890 | 5914 |
5891 int main() { | 5915 int main() { |
5892 dnet_ntoa() | 5916 dnet_ntoa() |
5893 ; return 0; } | 5917 ; return 0; } |
5894 EOF | 5918 EOF |
5895 if { (eval echo configure:5896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5919 if { (eval echo configure:5920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5896 rm -rf conftest* | 5920 rm -rf conftest* |
5897 eval "ac_cv_lib_$ac_lib_var=yes" | 5921 eval "ac_cv_lib_$ac_lib_var=yes" |
5898 else | 5922 else |
5899 echo "configure: failed program was:" >&5 | 5923 echo "configure: failed program was:" >&5 |
5900 cat conftest.$ac_ext >&5 | 5924 cat conftest.$ac_ext >&5 |
5919 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5943 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5920 # needs -lnsl. | 5944 # needs -lnsl. |
5921 # The nsl library prevents programs from opening the X display | 5945 # The nsl library prevents programs from opening the X display |
5922 # on Irix 5.2, according to dickey@clark.net. | 5946 # on Irix 5.2, according to dickey@clark.net. |
5923 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5947 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5924 echo "configure:5925: checking for gethostbyname" >&5 | 5948 echo "configure:5949: checking for gethostbyname" >&5 |
5925 | 5949 |
5926 cat > conftest.$ac_ext <<EOF | 5950 cat > conftest.$ac_ext <<EOF |
5927 #line 5928 "configure" | 5951 #line 5952 "configure" |
5928 #include "confdefs.h" | 5952 #include "confdefs.h" |
5929 /* System header to define __stub macros and hopefully few prototypes, | 5953 /* System header to define __stub macros and hopefully few prototypes, |
5930 which can conflict with char gethostbyname(); below. */ | 5954 which can conflict with char gethostbyname(); below. */ |
5931 #include <assert.h> | 5955 #include <assert.h> |
5932 /* Override any gcc2 internal prototype to avoid an error. */ | 5956 /* Override any gcc2 internal prototype to avoid an error. */ |
5945 gethostbyname(); | 5969 gethostbyname(); |
5946 #endif | 5970 #endif |
5947 | 5971 |
5948 ; return 0; } | 5972 ; return 0; } |
5949 EOF | 5973 EOF |
5950 if { (eval echo configure:5951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5974 if { (eval echo configure:5975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5951 rm -rf conftest* | 5975 rm -rf conftest* |
5952 eval "ac_cv_func_gethostbyname=yes" | 5976 eval "ac_cv_func_gethostbyname=yes" |
5953 else | 5977 else |
5954 echo "configure: failed program was:" >&5 | 5978 echo "configure: failed program was:" >&5 |
5955 cat conftest.$ac_ext >&5 | 5979 cat conftest.$ac_ext >&5 |
5966 fi | 5990 fi |
5967 | 5991 |
5968 if test $ac_cv_func_gethostbyname = no; then | 5992 if test $ac_cv_func_gethostbyname = no; then |
5969 | 5993 |
5970 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5994 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5971 echo "configure:5972: checking for gethostbyname in -lnsl" >&5 | 5995 echo "configure:5996: checking for gethostbyname in -lnsl" >&5 |
5972 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5996 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5973 | 5997 |
5974 xe_check_libs=" -lnsl " | 5998 xe_check_libs=" -lnsl " |
5975 cat > conftest.$ac_ext <<EOF | 5999 cat > conftest.$ac_ext <<EOF |
5976 #line 5977 "configure" | 6000 #line 6001 "configure" |
5977 #include "confdefs.h" | 6001 #include "confdefs.h" |
5978 /* Override any gcc2 internal prototype to avoid an error. */ | 6002 /* Override any gcc2 internal prototype to avoid an error. */ |
5979 /* We use char because int might match the return type of a gcc2 | 6003 /* We use char because int might match the return type of a gcc2 |
5980 builtin and then its argument prototype would still apply. */ | 6004 builtin and then its argument prototype would still apply. */ |
5981 char gethostbyname(); | 6005 char gethostbyname(); |
5982 | 6006 |
5983 int main() { | 6007 int main() { |
5984 gethostbyname() | 6008 gethostbyname() |
5985 ; return 0; } | 6009 ; return 0; } |
5986 EOF | 6010 EOF |
5987 if { (eval echo configure:5988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6011 if { (eval echo configure:6012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5988 rm -rf conftest* | 6012 rm -rf conftest* |
5989 eval "ac_cv_lib_$ac_lib_var=yes" | 6013 eval "ac_cv_lib_$ac_lib_var=yes" |
5990 else | 6014 else |
5991 echo "configure: failed program was:" >&5 | 6015 echo "configure: failed program was:" >&5 |
5992 cat conftest.$ac_ext >&5 | 6016 cat conftest.$ac_ext >&5 |
6012 # on later versions), says simon@lia.di.epfl.ch: it contains | 6036 # on later versions), says simon@lia.di.epfl.ch: it contains |
6013 # gethostby* variants that don't use the nameserver (or something). | 6037 # gethostby* variants that don't use the nameserver (or something). |
6014 # -lsocket must be given before -lnsl if both are needed. | 6038 # -lsocket must be given before -lnsl if both are needed. |
6015 # We assume that if connect needs -lnsl, so does gethostbyname. | 6039 # We assume that if connect needs -lnsl, so does gethostbyname. |
6016 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6040 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6017 echo "configure:6018: checking for connect" >&5 | 6041 echo "configure:6042: checking for connect" >&5 |
6018 | 6042 |
6019 cat > conftest.$ac_ext <<EOF | 6043 cat > conftest.$ac_ext <<EOF |
6020 #line 6021 "configure" | 6044 #line 6045 "configure" |
6021 #include "confdefs.h" | 6045 #include "confdefs.h" |
6022 /* System header to define __stub macros and hopefully few prototypes, | 6046 /* System header to define __stub macros and hopefully few prototypes, |
6023 which can conflict with char connect(); below. */ | 6047 which can conflict with char connect(); below. */ |
6024 #include <assert.h> | 6048 #include <assert.h> |
6025 /* Override any gcc2 internal prototype to avoid an error. */ | 6049 /* Override any gcc2 internal prototype to avoid an error. */ |
6038 connect(); | 6062 connect(); |
6039 #endif | 6063 #endif |
6040 | 6064 |
6041 ; return 0; } | 6065 ; return 0; } |
6042 EOF | 6066 EOF |
6043 if { (eval echo configure:6044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6067 if { (eval echo configure:6068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6044 rm -rf conftest* | 6068 rm -rf conftest* |
6045 eval "ac_cv_func_connect=yes" | 6069 eval "ac_cv_func_connect=yes" |
6046 else | 6070 else |
6047 echo "configure: failed program was:" >&5 | 6071 echo "configure: failed program was:" >&5 |
6048 cat conftest.$ac_ext >&5 | 6072 cat conftest.$ac_ext >&5 |
6061 if test $ac_cv_func_connect = no; then | 6085 if test $ac_cv_func_connect = no; then |
6062 | 6086 |
6063 xe_msg_checking="for connect in -lsocket" | 6087 xe_msg_checking="for connect in -lsocket" |
6064 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6088 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6065 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6089 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6066 echo "configure:6067: checking "$xe_msg_checking"" >&5 | 6090 echo "configure:6091: checking "$xe_msg_checking"" >&5 |
6067 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6091 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6068 | 6092 |
6069 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6093 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6070 cat > conftest.$ac_ext <<EOF | 6094 cat > conftest.$ac_ext <<EOF |
6071 #line 6072 "configure" | 6095 #line 6096 "configure" |
6072 #include "confdefs.h" | 6096 #include "confdefs.h" |
6073 /* Override any gcc2 internal prototype to avoid an error. */ | 6097 /* Override any gcc2 internal prototype to avoid an error. */ |
6074 /* We use char because int might match the return type of a gcc2 | 6098 /* We use char because int might match the return type of a gcc2 |
6075 builtin and then its argument prototype would still apply. */ | 6099 builtin and then its argument prototype would still apply. */ |
6076 char connect(); | 6100 char connect(); |
6077 | 6101 |
6078 int main() { | 6102 int main() { |
6079 connect() | 6103 connect() |
6080 ; return 0; } | 6104 ; return 0; } |
6081 EOF | 6105 EOF |
6082 if { (eval echo configure:6083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6106 if { (eval echo configure:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6083 rm -rf conftest* | 6107 rm -rf conftest* |
6084 eval "ac_cv_lib_$ac_lib_var=yes" | 6108 eval "ac_cv_lib_$ac_lib_var=yes" |
6085 else | 6109 else |
6086 echo "configure: failed program was:" >&5 | 6110 echo "configure: failed program was:" >&5 |
6087 cat conftest.$ac_ext >&5 | 6111 cat conftest.$ac_ext >&5 |
6101 | 6125 |
6102 fi | 6126 fi |
6103 | 6127 |
6104 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6128 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6105 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6129 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6106 echo "configure:6107: checking for remove" >&5 | 6130 echo "configure:6131: checking for remove" >&5 |
6107 | 6131 |
6108 cat > conftest.$ac_ext <<EOF | 6132 cat > conftest.$ac_ext <<EOF |
6109 #line 6110 "configure" | 6133 #line 6134 "configure" |
6110 #include "confdefs.h" | 6134 #include "confdefs.h" |
6111 /* System header to define __stub macros and hopefully few prototypes, | 6135 /* System header to define __stub macros and hopefully few prototypes, |
6112 which can conflict with char remove(); below. */ | 6136 which can conflict with char remove(); below. */ |
6113 #include <assert.h> | 6137 #include <assert.h> |
6114 /* Override any gcc2 internal prototype to avoid an error. */ | 6138 /* Override any gcc2 internal prototype to avoid an error. */ |
6127 remove(); | 6151 remove(); |
6128 #endif | 6152 #endif |
6129 | 6153 |
6130 ; return 0; } | 6154 ; return 0; } |
6131 EOF | 6155 EOF |
6132 if { (eval echo configure:6133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6156 if { (eval echo configure:6157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6133 rm -rf conftest* | 6157 rm -rf conftest* |
6134 eval "ac_cv_func_remove=yes" | 6158 eval "ac_cv_func_remove=yes" |
6135 else | 6159 else |
6136 echo "configure: failed program was:" >&5 | 6160 echo "configure: failed program was:" >&5 |
6137 cat conftest.$ac_ext >&5 | 6161 cat conftest.$ac_ext >&5 |
6148 fi | 6172 fi |
6149 | 6173 |
6150 if test $ac_cv_func_remove = no; then | 6174 if test $ac_cv_func_remove = no; then |
6151 | 6175 |
6152 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6176 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6153 echo "configure:6154: checking for remove in -lposix" >&5 | 6177 echo "configure:6178: checking for remove in -lposix" >&5 |
6154 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6178 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6155 | 6179 |
6156 xe_check_libs=" -lposix " | 6180 xe_check_libs=" -lposix " |
6157 cat > conftest.$ac_ext <<EOF | 6181 cat > conftest.$ac_ext <<EOF |
6158 #line 6159 "configure" | 6182 #line 6183 "configure" |
6159 #include "confdefs.h" | 6183 #include "confdefs.h" |
6160 /* Override any gcc2 internal prototype to avoid an error. */ | 6184 /* Override any gcc2 internal prototype to avoid an error. */ |
6161 /* We use char because int might match the return type of a gcc2 | 6185 /* We use char because int might match the return type of a gcc2 |
6162 builtin and then its argument prototype would still apply. */ | 6186 builtin and then its argument prototype would still apply. */ |
6163 char remove(); | 6187 char remove(); |
6164 | 6188 |
6165 int main() { | 6189 int main() { |
6166 remove() | 6190 remove() |
6167 ; return 0; } | 6191 ; return 0; } |
6168 EOF | 6192 EOF |
6169 if { (eval echo configure:6170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6193 if { (eval echo configure:6194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6170 rm -rf conftest* | 6194 rm -rf conftest* |
6171 eval "ac_cv_lib_$ac_lib_var=yes" | 6195 eval "ac_cv_lib_$ac_lib_var=yes" |
6172 else | 6196 else |
6173 echo "configure: failed program was:" >&5 | 6197 echo "configure: failed program was:" >&5 |
6174 cat conftest.$ac_ext >&5 | 6198 cat conftest.$ac_ext >&5 |
6188 | 6212 |
6189 fi | 6213 fi |
6190 | 6214 |
6191 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6215 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6192 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6216 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6193 echo "configure:6194: checking for shmat" >&5 | 6217 echo "configure:6218: checking for shmat" >&5 |
6194 | 6218 |
6195 cat > conftest.$ac_ext <<EOF | 6219 cat > conftest.$ac_ext <<EOF |
6196 #line 6197 "configure" | 6220 #line 6221 "configure" |
6197 #include "confdefs.h" | 6221 #include "confdefs.h" |
6198 /* System header to define __stub macros and hopefully few prototypes, | 6222 /* System header to define __stub macros and hopefully few prototypes, |
6199 which can conflict with char shmat(); below. */ | 6223 which can conflict with char shmat(); below. */ |
6200 #include <assert.h> | 6224 #include <assert.h> |
6201 /* Override any gcc2 internal prototype to avoid an error. */ | 6225 /* Override any gcc2 internal prototype to avoid an error. */ |
6214 shmat(); | 6238 shmat(); |
6215 #endif | 6239 #endif |
6216 | 6240 |
6217 ; return 0; } | 6241 ; return 0; } |
6218 EOF | 6242 EOF |
6219 if { (eval echo configure:6220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6243 if { (eval echo configure:6244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6220 rm -rf conftest* | 6244 rm -rf conftest* |
6221 eval "ac_cv_func_shmat=yes" | 6245 eval "ac_cv_func_shmat=yes" |
6222 else | 6246 else |
6223 echo "configure: failed program was:" >&5 | 6247 echo "configure: failed program was:" >&5 |
6224 cat conftest.$ac_ext >&5 | 6248 cat conftest.$ac_ext >&5 |
6235 fi | 6259 fi |
6236 | 6260 |
6237 if test $ac_cv_func_shmat = no; then | 6261 if test $ac_cv_func_shmat = no; then |
6238 | 6262 |
6239 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6263 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6240 echo "configure:6241: checking for shmat in -lipc" >&5 | 6264 echo "configure:6265: checking for shmat in -lipc" >&5 |
6241 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6265 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6242 | 6266 |
6243 xe_check_libs=" -lipc " | 6267 xe_check_libs=" -lipc " |
6244 cat > conftest.$ac_ext <<EOF | 6268 cat > conftest.$ac_ext <<EOF |
6245 #line 6246 "configure" | 6269 #line 6270 "configure" |
6246 #include "confdefs.h" | 6270 #include "confdefs.h" |
6247 /* Override any gcc2 internal prototype to avoid an error. */ | 6271 /* Override any gcc2 internal prototype to avoid an error. */ |
6248 /* We use char because int might match the return type of a gcc2 | 6272 /* We use char because int might match the return type of a gcc2 |
6249 builtin and then its argument prototype would still apply. */ | 6273 builtin and then its argument prototype would still apply. */ |
6250 char shmat(); | 6274 char shmat(); |
6251 | 6275 |
6252 int main() { | 6276 int main() { |
6253 shmat() | 6277 shmat() |
6254 ; return 0; } | 6278 ; return 0; } |
6255 EOF | 6279 EOF |
6256 if { (eval echo configure:6257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6280 if { (eval echo configure:6281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6257 rm -rf conftest* | 6281 rm -rf conftest* |
6258 eval "ac_cv_lib_$ac_lib_var=yes" | 6282 eval "ac_cv_lib_$ac_lib_var=yes" |
6259 else | 6283 else |
6260 echo "configure: failed program was:" >&5 | 6284 echo "configure: failed program was:" >&5 |
6261 cat conftest.$ac_ext >&5 | 6285 cat conftest.$ac_ext >&5 |
6287 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6311 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6288 | 6312 |
6289 xe_msg_checking="for IceConnectionNumber in -lICE" | 6313 xe_msg_checking="for IceConnectionNumber in -lICE" |
6290 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6314 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6291 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6315 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6292 echo "configure:6293: checking "$xe_msg_checking"" >&5 | 6316 echo "configure:6317: checking "$xe_msg_checking"" >&5 |
6293 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6317 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6294 | 6318 |
6295 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6319 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6296 cat > conftest.$ac_ext <<EOF | 6320 cat > conftest.$ac_ext <<EOF |
6297 #line 6298 "configure" | 6321 #line 6322 "configure" |
6298 #include "confdefs.h" | 6322 #include "confdefs.h" |
6299 /* Override any gcc2 internal prototype to avoid an error. */ | 6323 /* Override any gcc2 internal prototype to avoid an error. */ |
6300 /* We use char because int might match the return type of a gcc2 | 6324 /* We use char because int might match the return type of a gcc2 |
6301 builtin and then its argument prototype would still apply. */ | 6325 builtin and then its argument prototype would still apply. */ |
6302 char IceConnectionNumber(); | 6326 char IceConnectionNumber(); |
6303 | 6327 |
6304 int main() { | 6328 int main() { |
6305 IceConnectionNumber() | 6329 IceConnectionNumber() |
6306 ; return 0; } | 6330 ; return 0; } |
6307 EOF | 6331 EOF |
6308 if { (eval echo configure:6309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6332 if { (eval echo configure:6333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6309 rm -rf conftest* | 6333 rm -rf conftest* |
6310 eval "ac_cv_lib_$ac_lib_var=yes" | 6334 eval "ac_cv_lib_$ac_lib_var=yes" |
6311 else | 6335 else |
6312 echo "configure: failed program was:" >&5 | 6336 echo "configure: failed program was:" >&5 |
6313 cat conftest.$ac_ext >&5 | 6337 cat conftest.$ac_ext >&5 |
6470 EOF | 6494 EOF |
6471 } | 6495 } |
6472 | 6496 |
6473 | 6497 |
6474 echo "checking for X defines extracted by xmkmf" 1>&6 | 6498 echo "checking for X defines extracted by xmkmf" 1>&6 |
6475 echo "configure:6476: checking for X defines extracted by xmkmf" >&5 | 6499 echo "configure:6500: checking for X defines extracted by xmkmf" >&5 |
6476 rm -fr conftestdir | 6500 rm -fr conftestdir |
6477 if mkdir conftestdir; then | 6501 if mkdir conftestdir; then |
6478 cd conftestdir | 6502 cd conftestdir |
6479 cat > Imakefile <<'EOF' | 6503 cat > Imakefile <<'EOF' |
6480 xetest: | 6504 xetest: |
6519 done | 6543 done |
6520 fi | 6544 fi |
6521 | 6545 |
6522 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6546 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6523 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6547 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6524 echo "configure:6525: checking for X11/Intrinsic.h" >&5 | 6548 echo "configure:6549: checking for X11/Intrinsic.h" >&5 |
6525 | 6549 |
6526 cat > conftest.$ac_ext <<EOF | 6550 cat > conftest.$ac_ext <<EOF |
6527 #line 6528 "configure" | 6551 #line 6552 "configure" |
6528 #include "confdefs.h" | 6552 #include "confdefs.h" |
6529 #include <X11/Intrinsic.h> | 6553 #include <X11/Intrinsic.h> |
6530 EOF | 6554 EOF |
6531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6532 { (eval echo configure:6533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6556 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6534 if test -z "$ac_err"; then | 6558 if test -z "$ac_err"; then |
6535 rm -rf conftest* | 6559 rm -rf conftest* |
6536 eval "ac_cv_header_$ac_safe=yes" | 6560 eval "ac_cv_header_$ac_safe=yes" |
6537 else | 6561 else |
6551 fi | 6575 fi |
6552 | 6576 |
6553 | 6577 |
6554 | 6578 |
6555 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6579 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6556 echo "configure:6557: checking for XOpenDisplay in -lX11" >&5 | 6580 echo "configure:6581: checking for XOpenDisplay in -lX11" >&5 |
6557 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6581 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6558 | 6582 |
6559 xe_check_libs=" -lX11 " | 6583 xe_check_libs=" -lX11 " |
6560 cat > conftest.$ac_ext <<EOF | 6584 cat > conftest.$ac_ext <<EOF |
6561 #line 6562 "configure" | 6585 #line 6586 "configure" |
6562 #include "confdefs.h" | 6586 #include "confdefs.h" |
6563 /* Override any gcc2 internal prototype to avoid an error. */ | 6587 /* Override any gcc2 internal prototype to avoid an error. */ |
6564 /* We use char because int might match the return type of a gcc2 | 6588 /* We use char because int might match the return type of a gcc2 |
6565 builtin and then its argument prototype would still apply. */ | 6589 builtin and then its argument prototype would still apply. */ |
6566 char XOpenDisplay(); | 6590 char XOpenDisplay(); |
6567 | 6591 |
6568 int main() { | 6592 int main() { |
6569 XOpenDisplay() | 6593 XOpenDisplay() |
6570 ; return 0; } | 6594 ; return 0; } |
6571 EOF | 6595 EOF |
6572 if { (eval echo configure:6573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6596 if { (eval echo configure:6597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6573 rm -rf conftest* | 6597 rm -rf conftest* |
6574 eval "ac_cv_lib_$ac_lib_var=yes" | 6598 eval "ac_cv_lib_$ac_lib_var=yes" |
6575 else | 6599 else |
6576 echo "configure: failed program was:" >&5 | 6600 echo "configure: failed program was:" >&5 |
6577 cat conftest.$ac_ext >&5 | 6601 cat conftest.$ac_ext >&5 |
6592 if test "$have_lib_x11" != "yes"; then | 6616 if test "$have_lib_x11" != "yes"; then |
6593 | 6617 |
6594 xe_msg_checking="for XGetFontProperty in -lX11" | 6618 xe_msg_checking="for XGetFontProperty in -lX11" |
6595 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6619 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6596 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6620 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6597 echo "configure:6598: checking "$xe_msg_checking"" >&5 | 6621 echo "configure:6622: checking "$xe_msg_checking"" >&5 |
6598 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6622 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6599 | 6623 |
6600 xe_check_libs=" -lX11 -b i486-linuxaout" | 6624 xe_check_libs=" -lX11 -b i486-linuxaout" |
6601 cat > conftest.$ac_ext <<EOF | 6625 cat > conftest.$ac_ext <<EOF |
6602 #line 6603 "configure" | 6626 #line 6627 "configure" |
6603 #include "confdefs.h" | 6627 #include "confdefs.h" |
6604 /* Override any gcc2 internal prototype to avoid an error. */ | 6628 /* Override any gcc2 internal prototype to avoid an error. */ |
6605 /* We use char because int might match the return type of a gcc2 | 6629 /* We use char because int might match the return type of a gcc2 |
6606 builtin and then its argument prototype would still apply. */ | 6630 builtin and then its argument prototype would still apply. */ |
6607 char XGetFontProperty(); | 6631 char XGetFontProperty(); |
6608 | 6632 |
6609 int main() { | 6633 int main() { |
6610 XGetFontProperty() | 6634 XGetFontProperty() |
6611 ; return 0; } | 6635 ; return 0; } |
6612 EOF | 6636 EOF |
6613 if { (eval echo configure:6614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6637 if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6614 rm -rf conftest* | 6638 rm -rf conftest* |
6615 eval "ac_cv_lib_$ac_lib_var=yes" | 6639 eval "ac_cv_lib_$ac_lib_var=yes" |
6616 else | 6640 else |
6617 echo "configure: failed program was:" >&5 | 6641 echo "configure: failed program was:" >&5 |
6618 cat conftest.$ac_ext >&5 | 6642 cat conftest.$ac_ext >&5 |
6635 libs_x="-lX11" | 6659 libs_x="-lX11" |
6636 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6660 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6637 | 6661 |
6638 | 6662 |
6639 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6663 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6640 echo "configure:6641: checking for XShapeSelectInput in -lXext" >&5 | 6664 echo "configure:6665: checking for XShapeSelectInput in -lXext" >&5 |
6641 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6665 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6642 | 6666 |
6643 xe_check_libs=" -lXext " | 6667 xe_check_libs=" -lXext " |
6644 cat > conftest.$ac_ext <<EOF | 6668 cat > conftest.$ac_ext <<EOF |
6645 #line 6646 "configure" | 6669 #line 6670 "configure" |
6646 #include "confdefs.h" | 6670 #include "confdefs.h" |
6647 /* Override any gcc2 internal prototype to avoid an error. */ | 6671 /* Override any gcc2 internal prototype to avoid an error. */ |
6648 /* We use char because int might match the return type of a gcc2 | 6672 /* We use char because int might match the return type of a gcc2 |
6649 builtin and then its argument prototype would still apply. */ | 6673 builtin and then its argument prototype would still apply. */ |
6650 char XShapeSelectInput(); | 6674 char XShapeSelectInput(); |
6651 | 6675 |
6652 int main() { | 6676 int main() { |
6653 XShapeSelectInput() | 6677 XShapeSelectInput() |
6654 ; return 0; } | 6678 ; return 0; } |
6655 EOF | 6679 EOF |
6656 if { (eval echo configure:6657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6680 if { (eval echo configure:6681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6657 rm -rf conftest* | 6681 rm -rf conftest* |
6658 eval "ac_cv_lib_$ac_lib_var=yes" | 6682 eval "ac_cv_lib_$ac_lib_var=yes" |
6659 else | 6683 else |
6660 echo "configure: failed program was:" >&5 | 6684 echo "configure: failed program was:" >&5 |
6661 cat conftest.$ac_ext >&5 | 6685 cat conftest.$ac_ext >&5 |
6674 | 6698 |
6675 | 6699 |
6676 | 6700 |
6677 | 6701 |
6678 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6702 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
6679 echo "configure:6680: checking for XtOpenDisplay in -lXt" >&5 | 6703 echo "configure:6704: checking for XtOpenDisplay in -lXt" >&5 |
6680 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6704 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
6681 | 6705 |
6682 xe_check_libs=" -lXt " | 6706 xe_check_libs=" -lXt " |
6683 cat > conftest.$ac_ext <<EOF | 6707 cat > conftest.$ac_ext <<EOF |
6684 #line 6685 "configure" | 6708 #line 6709 "configure" |
6685 #include "confdefs.h" | 6709 #include "confdefs.h" |
6686 /* Override any gcc2 internal prototype to avoid an error. */ | 6710 /* Override any gcc2 internal prototype to avoid an error. */ |
6687 /* We use char because int might match the return type of a gcc2 | 6711 /* We use char because int might match the return type of a gcc2 |
6688 builtin and then its argument prototype would still apply. */ | 6712 builtin and then its argument prototype would still apply. */ |
6689 char XtOpenDisplay(); | 6713 char XtOpenDisplay(); |
6690 | 6714 |
6691 int main() { | 6715 int main() { |
6692 XtOpenDisplay() | 6716 XtOpenDisplay() |
6693 ; return 0; } | 6717 ; return 0; } |
6694 EOF | 6718 EOF |
6695 if { (eval echo configure:6696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6719 if { (eval echo configure:6720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6696 rm -rf conftest* | 6720 rm -rf conftest* |
6697 eval "ac_cv_lib_$ac_lib_var=yes" | 6721 eval "ac_cv_lib_$ac_lib_var=yes" |
6698 else | 6722 else |
6699 echo "configure: failed program was:" >&5 | 6723 echo "configure: failed program was:" >&5 |
6700 cat conftest.$ac_ext >&5 | 6724 cat conftest.$ac_ext >&5 |
6713 fi | 6737 fi |
6714 | 6738 |
6715 | 6739 |
6716 | 6740 |
6717 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6741 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6718 echo "configure:6719: checking the version of X11 being used" >&5 | 6742 echo "configure:6743: checking the version of X11 being used" >&5 |
6719 cat > conftest.$ac_ext <<EOF | 6743 cat > conftest.$ac_ext <<EOF |
6720 #line 6721 "configure" | 6744 #line 6745 "configure" |
6721 #include "confdefs.h" | 6745 #include "confdefs.h" |
6722 #include <X11/Intrinsic.h> | 6746 #include <X11/Intrinsic.h> |
6723 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6747 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6724 EOF | 6748 EOF |
6725 if { (eval echo configure:6726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6749 if { (eval echo configure:6750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6726 then | 6750 then |
6727 ./conftest foobar; x11_release=$? | 6751 ./conftest foobar; x11_release=$? |
6728 else | 6752 else |
6729 conftest_rc="$?" | 6753 conftest_rc="$?" |
6730 echo "configure: failed program was:" >&5 | 6754 echo "configure: failed program was:" >&5 |
6751 fi | 6775 fi |
6752 | 6776 |
6753 for ac_func in XConvertCase | 6777 for ac_func in XConvertCase |
6754 do | 6778 do |
6755 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6756 echo "configure:6757: checking for $ac_func" >&5 | 6780 echo "configure:6781: checking for $ac_func" >&5 |
6757 | 6781 |
6758 cat > conftest.$ac_ext <<EOF | 6782 cat > conftest.$ac_ext <<EOF |
6759 #line 6760 "configure" | 6783 #line 6784 "configure" |
6760 #include "confdefs.h" | 6784 #include "confdefs.h" |
6761 /* System header to define __stub macros and hopefully few prototypes, | 6785 /* System header to define __stub macros and hopefully few prototypes, |
6762 which can conflict with char $ac_func(); below. */ | 6786 which can conflict with char $ac_func(); below. */ |
6763 #include <assert.h> | 6787 #include <assert.h> |
6764 /* Override any gcc2 internal prototype to avoid an error. */ | 6788 /* Override any gcc2 internal prototype to avoid an error. */ |
6777 $ac_func(); | 6801 $ac_func(); |
6778 #endif | 6802 #endif |
6779 | 6803 |
6780 ; return 0; } | 6804 ; return 0; } |
6781 EOF | 6805 EOF |
6782 if { (eval echo configure:6783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6806 if { (eval echo configure:6807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6783 rm -rf conftest* | 6807 rm -rf conftest* |
6784 eval "ac_cv_func_$ac_func=yes" | 6808 eval "ac_cv_func_$ac_func=yes" |
6785 else | 6809 else |
6786 echo "configure: failed program was:" >&5 | 6810 echo "configure: failed program was:" >&5 |
6787 cat conftest.$ac_ext >&5 | 6811 cat conftest.$ac_ext >&5 |
6809 | 6833 |
6810 for ac_hdr in X11/Xlocale.h | 6834 for ac_hdr in X11/Xlocale.h |
6811 do | 6835 do |
6812 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6836 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6813 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6837 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6814 echo "configure:6815: checking for $ac_hdr" >&5 | 6838 echo "configure:6839: checking for $ac_hdr" >&5 |
6815 | 6839 |
6816 cat > conftest.$ac_ext <<EOF | 6840 cat > conftest.$ac_ext <<EOF |
6817 #line 6818 "configure" | 6841 #line 6842 "configure" |
6818 #include "confdefs.h" | 6842 #include "confdefs.h" |
6819 #include <$ac_hdr> | 6843 #include <$ac_hdr> |
6820 EOF | 6844 EOF |
6821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6845 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6822 { (eval echo configure:6823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6846 { (eval echo configure:6847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6824 if test -z "$ac_err"; then | 6848 if test -z "$ac_err"; then |
6825 rm -rf conftest* | 6849 rm -rf conftest* |
6826 eval "ac_cv_header_$ac_safe=yes" | 6850 eval "ac_cv_header_$ac_safe=yes" |
6827 else | 6851 else |
6850 | 6874 |
6851 | 6875 |
6852 for ac_func in XRegisterIMInstantiateCallback | 6876 for ac_func in XRegisterIMInstantiateCallback |
6853 do | 6877 do |
6854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6878 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6855 echo "configure:6856: checking for $ac_func" >&5 | 6879 echo "configure:6880: checking for $ac_func" >&5 |
6856 | 6880 |
6857 cat > conftest.$ac_ext <<EOF | 6881 cat > conftest.$ac_ext <<EOF |
6858 #line 6859 "configure" | 6882 #line 6883 "configure" |
6859 #include "confdefs.h" | 6883 #include "confdefs.h" |
6860 /* System header to define __stub macros and hopefully few prototypes, | 6884 /* System header to define __stub macros and hopefully few prototypes, |
6861 which can conflict with char $ac_func(); below. */ | 6885 which can conflict with char $ac_func(); below. */ |
6862 #include <assert.h> | 6886 #include <assert.h> |
6863 /* Override any gcc2 internal prototype to avoid an error. */ | 6887 /* Override any gcc2 internal prototype to avoid an error. */ |
6876 $ac_func(); | 6900 $ac_func(); |
6877 #endif | 6901 #endif |
6878 | 6902 |
6879 ; return 0; } | 6903 ; return 0; } |
6880 EOF | 6904 EOF |
6881 if { (eval echo configure:6882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6905 if { (eval echo configure:6906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6882 rm -rf conftest* | 6906 rm -rf conftest* |
6883 eval "ac_cv_func_$ac_func=yes" | 6907 eval "ac_cv_func_$ac_func=yes" |
6884 else | 6908 else |
6885 echo "configure: failed program was:" >&5 | 6909 echo "configure: failed program was:" >&5 |
6886 cat conftest.$ac_ext >&5 | 6910 cat conftest.$ac_ext >&5 |
6904 echo "$ac_t""no" 1>&6 | 6928 echo "$ac_t""no" 1>&6 |
6905 fi | 6929 fi |
6906 done | 6930 done |
6907 | 6931 |
6908 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 6932 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
6909 echo "configure:6910: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 6933 echo "configure:6934: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
6910 cat > conftest.$ac_ext <<EOF | 6934 cat > conftest.$ac_ext <<EOF |
6911 #line 6912 "configure" | 6935 #line 6936 "configure" |
6912 #include "confdefs.h" | 6936 #include "confdefs.h" |
6913 | 6937 |
6914 #define NeedFunctionPrototypes 1 | 6938 #define NeedFunctionPrototypes 1 |
6915 #include <X11/Xlib.h> | 6939 #include <X11/Xlib.h> |
6916 extern Bool XRegisterIMInstantiateCallback( | 6940 extern Bool XRegisterIMInstantiateCallback( |
6918 | 6942 |
6919 int main() { | 6943 int main() { |
6920 | 6944 |
6921 ; return 0; } | 6945 ; return 0; } |
6922 EOF | 6946 EOF |
6923 if { (eval echo configure:6924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6947 if { (eval echo configure:6948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6924 rm -rf conftest* | 6948 rm -rf conftest* |
6925 echo "$ac_t""yes" 1>&6 | 6949 echo "$ac_t""yes" 1>&6 |
6926 else | 6950 else |
6927 echo "configure: failed program was:" >&5 | 6951 echo "configure: failed program was:" >&5 |
6928 cat conftest.$ac_ext >&5 | 6952 cat conftest.$ac_ext >&5 |
6939 fi | 6963 fi |
6940 rm -f conftest* | 6964 rm -f conftest* |
6941 | 6965 |
6942 test -z "$with_xmu" && { | 6966 test -z "$with_xmu" && { |
6943 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6967 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6944 echo "configure:6945: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6968 echo "configure:6969: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6945 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6969 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6946 | 6970 |
6947 xe_check_libs=" -lXmu " | 6971 xe_check_libs=" -lXmu " |
6948 cat > conftest.$ac_ext <<EOF | 6972 cat > conftest.$ac_ext <<EOF |
6949 #line 6950 "configure" | 6973 #line 6974 "configure" |
6950 #include "confdefs.h" | 6974 #include "confdefs.h" |
6951 /* Override any gcc2 internal prototype to avoid an error. */ | 6975 /* Override any gcc2 internal prototype to avoid an error. */ |
6952 /* We use char because int might match the return type of a gcc2 | 6976 /* We use char because int might match the return type of a gcc2 |
6953 builtin and then its argument prototype would still apply. */ | 6977 builtin and then its argument prototype would still apply. */ |
6954 char XmuReadBitmapDataFromFile(); | 6978 char XmuReadBitmapDataFromFile(); |
6955 | 6979 |
6956 int main() { | 6980 int main() { |
6957 XmuReadBitmapDataFromFile() | 6981 XmuReadBitmapDataFromFile() |
6958 ; return 0; } | 6982 ; return 0; } |
6959 EOF | 6983 EOF |
6960 if { (eval echo configure:6961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6984 if { (eval echo configure:6985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6961 rm -rf conftest* | 6985 rm -rf conftest* |
6962 eval "ac_cv_lib_$ac_lib_var=yes" | 6986 eval "ac_cv_lib_$ac_lib_var=yes" |
6963 else | 6987 else |
6964 echo "configure: failed program was:" >&5 | 6988 echo "configure: failed program was:" >&5 |
6965 cat conftest.$ac_ext >&5 | 6989 cat conftest.$ac_ext >&5 |
6994 | 7018 |
6995 fi | 7019 fi |
6996 | 7020 |
6997 | 7021 |
6998 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7022 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6999 echo "configure:7000: checking for main in -lXbsd" >&5 | 7023 echo "configure:7024: checking for main in -lXbsd" >&5 |
7000 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7024 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7001 | 7025 |
7002 xe_check_libs=" -lXbsd " | 7026 xe_check_libs=" -lXbsd " |
7003 cat > conftest.$ac_ext <<EOF | 7027 cat > conftest.$ac_ext <<EOF |
7004 #line 7005 "configure" | 7028 #line 7029 "configure" |
7005 #include "confdefs.h" | 7029 #include "confdefs.h" |
7006 | 7030 |
7007 int main() { | 7031 int main() { |
7008 main() | 7032 main() |
7009 ; return 0; } | 7033 ; return 0; } |
7010 EOF | 7034 EOF |
7011 if { (eval echo configure:7012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7035 if { (eval echo configure:7036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7012 rm -rf conftest* | 7036 rm -rf conftest* |
7013 eval "ac_cv_lib_$ac_lib_var=yes" | 7037 eval "ac_cv_lib_$ac_lib_var=yes" |
7014 else | 7038 else |
7015 echo "configure: failed program was:" >&5 | 7039 echo "configure: failed program was:" >&5 |
7016 cat conftest.$ac_ext >&5 | 7040 cat conftest.$ac_ext >&5 |
7043 fi | 7067 fi |
7044 | 7068 |
7045 fi | 7069 fi |
7046 if test "$with_msw" != "no"; then | 7070 if test "$with_msw" != "no"; then |
7047 echo "checking for MS-Windows" 1>&6 | 7071 echo "checking for MS-Windows" 1>&6 |
7048 echo "configure:7049: checking for MS-Windows" >&5 | 7072 echo "configure:7073: checking for MS-Windows" >&5 |
7049 | 7073 |
7050 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7074 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7051 echo "configure:7052: checking for main in -lgdi32" >&5 | 7075 echo "configure:7076: checking for main in -lgdi32" >&5 |
7052 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7076 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7053 | 7077 |
7054 xe_check_libs=" -lgdi32 " | 7078 xe_check_libs=" -lgdi32 " |
7055 cat > conftest.$ac_ext <<EOF | 7079 cat > conftest.$ac_ext <<EOF |
7056 #line 7057 "configure" | 7080 #line 7081 "configure" |
7057 #include "confdefs.h" | 7081 #include "confdefs.h" |
7058 | 7082 |
7059 int main() { | 7083 int main() { |
7060 main() | 7084 main() |
7061 ; return 0; } | 7085 ; return 0; } |
7062 EOF | 7086 EOF |
7063 if { (eval echo configure:7064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7087 if { (eval echo configure:7088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7064 rm -rf conftest* | 7088 rm -rf conftest* |
7065 eval "ac_cv_lib_$ac_lib_var=yes" | 7089 eval "ac_cv_lib_$ac_lib_var=yes" |
7066 else | 7090 else |
7067 echo "configure: failed program was:" >&5 | 7091 echo "configure: failed program was:" >&5 |
7068 cat conftest.$ac_ext >&5 | 7092 cat conftest.$ac_ext >&5 |
7109 test "$with_toolbars" != "no" && with_toolbars=msw | 7133 test "$with_toolbars" != "no" && with_toolbars=msw |
7110 test "$with_dialogs" != "no" && with_dialogs=msw | 7134 test "$with_dialogs" != "no" && with_dialogs=msw |
7111 test "$with_widgets" != "no" && with_widgets=msw | 7135 test "$with_widgets" != "no" && with_widgets=msw |
7112 fi | 7136 fi |
7113 cat > conftest.$ac_ext <<EOF | 7137 cat > conftest.$ac_ext <<EOF |
7114 #line 7115 "configure" | 7138 #line 7139 "configure" |
7115 #include "confdefs.h" | 7139 #include "confdefs.h" |
7116 #include <fcntl.h> | 7140 #include <fcntl.h> |
7117 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7141 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7118 EOF | 7142 EOF |
7119 if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7143 if { (eval echo configure:7144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7120 then | 7144 then |
7121 { test "$extra_verbose" = "yes" && cat << \EOF | 7145 { test "$extra_verbose" = "yes" && cat << \EOF |
7122 Defining HAVE_MSG_SELECT | 7146 Defining HAVE_MSG_SELECT |
7123 EOF | 7147 EOF |
7124 cat >> confdefs.h <<\EOF | 7148 cat >> confdefs.h <<\EOF |
7175 fi | 7199 fi |
7176 | 7200 |
7177 if test "$with_x11" = "yes"; then | 7201 if test "$with_x11" = "yes"; then |
7178 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7202 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7179 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7203 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7180 echo "configure:7181: checking for X11/extensions/shape.h" >&5 | 7204 echo "configure:7205: checking for X11/extensions/shape.h" >&5 |
7181 | 7205 |
7182 cat > conftest.$ac_ext <<EOF | 7206 cat > conftest.$ac_ext <<EOF |
7183 #line 7184 "configure" | 7207 #line 7208 "configure" |
7184 #include "confdefs.h" | 7208 #include "confdefs.h" |
7185 #include <X11/extensions/shape.h> | 7209 #include <X11/extensions/shape.h> |
7186 EOF | 7210 EOF |
7187 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7188 { (eval echo configure:7189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7212 { (eval echo configure:7213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7189 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7190 if test -z "$ac_err"; then | 7214 if test -z "$ac_err"; then |
7191 rm -rf conftest* | 7215 rm -rf conftest* |
7192 eval "ac_cv_header_$ac_safe=yes" | 7216 eval "ac_cv_header_$ac_safe=yes" |
7193 else | 7217 else |
7233 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7257 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7234 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7258 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7235 esac | 7259 esac |
7236 | 7260 |
7237 echo "checking for WM_COMMAND option" 1>&6 | 7261 echo "checking for WM_COMMAND option" 1>&6 |
7238 echo "configure:7239: checking for WM_COMMAND option" >&5; | 7262 echo "configure:7263: checking for WM_COMMAND option" >&5; |
7239 if test "$with_wmcommand" != "no"; then | 7263 if test "$with_wmcommand" != "no"; then |
7240 { test "$extra_verbose" = "yes" && cat << \EOF | 7264 { test "$extra_verbose" = "yes" && cat << \EOF |
7241 Defining HAVE_WMCOMMAND | 7265 Defining HAVE_WMCOMMAND |
7242 EOF | 7266 EOF |
7243 cat >> confdefs.h <<\EOF | 7267 cat >> confdefs.h <<\EOF |
7248 fi | 7272 fi |
7249 | 7273 |
7250 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7274 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7251 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7275 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7252 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7276 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7253 echo "configure:7254: checking for X11/Xauth.h" >&5 | 7277 echo "configure:7278: checking for X11/Xauth.h" >&5 |
7254 | 7278 |
7255 cat > conftest.$ac_ext <<EOF | 7279 cat > conftest.$ac_ext <<EOF |
7256 #line 7257 "configure" | 7280 #line 7281 "configure" |
7257 #include "confdefs.h" | 7281 #include "confdefs.h" |
7258 #include <X11/Xauth.h> | 7282 #include <X11/Xauth.h> |
7259 EOF | 7283 EOF |
7260 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7261 { (eval echo configure:7262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7285 { (eval echo configure:7286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7262 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7263 if test -z "$ac_err"; then | 7287 if test -z "$ac_err"; then |
7264 rm -rf conftest* | 7288 rm -rf conftest* |
7265 eval "ac_cv_header_$ac_safe=yes" | 7289 eval "ac_cv_header_$ac_safe=yes" |
7266 else | 7290 else |
7279 with_xauth=no | 7303 with_xauth=no |
7280 fi | 7304 fi |
7281 } | 7305 } |
7282 test -z "$with_xauth" && { | 7306 test -z "$with_xauth" && { |
7283 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7307 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7284 echo "configure:7285: checking for XauGetAuthByAddr in -lXau" >&5 | 7308 echo "configure:7309: checking for XauGetAuthByAddr in -lXau" >&5 |
7285 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7309 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7286 | 7310 |
7287 xe_check_libs=" -lXau " | 7311 xe_check_libs=" -lXau " |
7288 cat > conftest.$ac_ext <<EOF | 7312 cat > conftest.$ac_ext <<EOF |
7289 #line 7290 "configure" | 7313 #line 7314 "configure" |
7290 #include "confdefs.h" | 7314 #include "confdefs.h" |
7291 /* Override any gcc2 internal prototype to avoid an error. */ | 7315 /* Override any gcc2 internal prototype to avoid an error. */ |
7292 /* We use char because int might match the return type of a gcc2 | 7316 /* We use char because int might match the return type of a gcc2 |
7293 builtin and then its argument prototype would still apply. */ | 7317 builtin and then its argument prototype would still apply. */ |
7294 char XauGetAuthByAddr(); | 7318 char XauGetAuthByAddr(); |
7295 | 7319 |
7296 int main() { | 7320 int main() { |
7297 XauGetAuthByAddr() | 7321 XauGetAuthByAddr() |
7298 ; return 0; } | 7322 ; return 0; } |
7299 EOF | 7323 EOF |
7300 if { (eval echo configure:7301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7324 if { (eval echo configure:7325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7301 rm -rf conftest* | 7325 rm -rf conftest* |
7302 eval "ac_cv_lib_$ac_lib_var=yes" | 7326 eval "ac_cv_lib_$ac_lib_var=yes" |
7303 else | 7327 else |
7304 echo "configure: failed program was:" >&5 | 7328 echo "configure: failed program was:" >&5 |
7305 cat conftest.$ac_ext >&5 | 7329 cat conftest.$ac_ext >&5 |
7340 | 7364 |
7341 if test "$with_tooltalk" != "no" ; then | 7365 if test "$with_tooltalk" != "no" ; then |
7342 for dir in "" "Tt/" "desktop/" ; do | 7366 for dir in "" "Tt/" "desktop/" ; do |
7343 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 7367 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
7344 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 7368 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
7345 echo "configure:7346: checking for ${dir}tt_c.h" >&5 | 7369 echo "configure:7370: checking for ${dir}tt_c.h" >&5 |
7346 | 7370 |
7347 cat > conftest.$ac_ext <<EOF | 7371 cat > conftest.$ac_ext <<EOF |
7348 #line 7349 "configure" | 7372 #line 7373 "configure" |
7349 #include "confdefs.h" | 7373 #include "confdefs.h" |
7350 #include <${dir}tt_c.h> | 7374 #include <${dir}tt_c.h> |
7351 EOF | 7375 EOF |
7352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7376 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7353 { (eval echo configure:7354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7377 { (eval echo configure:7378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7378 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7355 if test -z "$ac_err"; then | 7379 if test -z "$ac_err"; then |
7356 rm -rf conftest* | 7380 rm -rf conftest* |
7357 eval "ac_cv_header_$ac_safe=yes" | 7381 eval "ac_cv_header_$ac_safe=yes" |
7358 else | 7382 else |
7384 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 7408 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
7385 | 7409 |
7386 xe_msg_checking="for tt_message_create in -ltt" | 7410 xe_msg_checking="for tt_message_create in -ltt" |
7387 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 7411 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
7388 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7412 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7389 echo "configure:7390: checking "$xe_msg_checking"" >&5 | 7413 echo "configure:7414: checking "$xe_msg_checking"" >&5 |
7390 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 7414 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
7391 | 7415 |
7392 xe_check_libs=" -ltt $extra_libs" | 7416 xe_check_libs=" -ltt $extra_libs" |
7393 cat > conftest.$ac_ext <<EOF | 7417 cat > conftest.$ac_ext <<EOF |
7394 #line 7395 "configure" | 7418 #line 7419 "configure" |
7395 #include "confdefs.h" | 7419 #include "confdefs.h" |
7396 /* Override any gcc2 internal prototype to avoid an error. */ | 7420 /* Override any gcc2 internal prototype to avoid an error. */ |
7397 /* We use char because int might match the return type of a gcc2 | 7421 /* We use char because int might match the return type of a gcc2 |
7398 builtin and then its argument prototype would still apply. */ | 7422 builtin and then its argument prototype would still apply. */ |
7399 char tt_message_create(); | 7423 char tt_message_create(); |
7400 | 7424 |
7401 int main() { | 7425 int main() { |
7402 tt_message_create() | 7426 tt_message_create() |
7403 ; return 0; } | 7427 ; return 0; } |
7404 EOF | 7428 EOF |
7405 if { (eval echo configure:7406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7429 if { (eval echo configure:7430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7406 rm -rf conftest* | 7430 rm -rf conftest* |
7407 eval "ac_cv_lib_$ac_lib_var=yes" | 7431 eval "ac_cv_lib_$ac_lib_var=yes" |
7408 else | 7432 else |
7409 echo "configure: failed program was:" >&5 | 7433 echo "configure: failed program was:" >&5 |
7410 cat conftest.$ac_ext >&5 | 7434 cat conftest.$ac_ext >&5 |
7454 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 7478 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
7455 fi | 7479 fi |
7456 | 7480 |
7457 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 7481 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
7458 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 7482 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
7459 echo "configure:7460: checking for Dt/Dt.h" >&5 | 7483 echo "configure:7484: checking for Dt/Dt.h" >&5 |
7460 | 7484 |
7461 cat > conftest.$ac_ext <<EOF | 7485 cat > conftest.$ac_ext <<EOF |
7462 #line 7463 "configure" | 7486 #line 7487 "configure" |
7463 #include "confdefs.h" | 7487 #include "confdefs.h" |
7464 #include <Dt/Dt.h> | 7488 #include <Dt/Dt.h> |
7465 EOF | 7489 EOF |
7466 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7467 { (eval echo configure:7468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7491 { (eval echo configure:7492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7468 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7469 if test -z "$ac_err"; then | 7493 if test -z "$ac_err"; then |
7470 rm -rf conftest* | 7494 rm -rf conftest* |
7471 eval "ac_cv_header_$ac_safe=yes" | 7495 eval "ac_cv_header_$ac_safe=yes" |
7472 else | 7496 else |
7485 with_cde=no | 7509 with_cde=no |
7486 fi | 7510 fi |
7487 } | 7511 } |
7488 test -z "$with_cde" && { | 7512 test -z "$with_cde" && { |
7489 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 7513 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
7490 echo "configure:7491: checking for DtDndDragStart in -lDtSvc" >&5 | 7514 echo "configure:7515: checking for DtDndDragStart in -lDtSvc" >&5 |
7491 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 7515 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
7492 | 7516 |
7493 xe_check_libs=" -lDtSvc " | 7517 xe_check_libs=" -lDtSvc " |
7494 cat > conftest.$ac_ext <<EOF | 7518 cat > conftest.$ac_ext <<EOF |
7495 #line 7496 "configure" | 7519 #line 7520 "configure" |
7496 #include "confdefs.h" | 7520 #include "confdefs.h" |
7497 /* Override any gcc2 internal prototype to avoid an error. */ | 7521 /* Override any gcc2 internal prototype to avoid an error. */ |
7498 /* We use char because int might match the return type of a gcc2 | 7522 /* We use char because int might match the return type of a gcc2 |
7499 builtin and then its argument prototype would still apply. */ | 7523 builtin and then its argument prototype would still apply. */ |
7500 char DtDndDragStart(); | 7524 char DtDndDragStart(); |
7501 | 7525 |
7502 int main() { | 7526 int main() { |
7503 DtDndDragStart() | 7527 DtDndDragStart() |
7504 ; return 0; } | 7528 ; return 0; } |
7505 EOF | 7529 EOF |
7506 if { (eval echo configure:7507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7530 if { (eval echo configure:7531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7507 rm -rf conftest* | 7531 rm -rf conftest* |
7508 eval "ac_cv_lib_$ac_lib_var=yes" | 7532 eval "ac_cv_lib_$ac_lib_var=yes" |
7509 else | 7533 else |
7510 echo "configure: failed program was:" >&5 | 7534 echo "configure: failed program was:" >&5 |
7511 cat conftest.$ac_ext >&5 | 7535 cat conftest.$ac_ext >&5 |
7582 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 7606 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
7583 fi | 7607 fi |
7584 | 7608 |
7585 if test "$with_dragndrop" != "no" ; then | 7609 if test "$with_dragndrop" != "no" ; then |
7586 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 7610 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
7587 echo "configure:7588: checking if drag and drop API is needed" >&5 | 7611 echo "configure:7612: checking if drag and drop API is needed" >&5 |
7588 if test -n "$dragndrop_proto" ; then | 7612 if test -n "$dragndrop_proto" ; then |
7589 with_dragndrop=yes | 7613 with_dragndrop=yes |
7590 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 7614 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
7591 { test "$extra_verbose" = "yes" && cat << \EOF | 7615 { test "$extra_verbose" = "yes" && cat << \EOF |
7592 Defining HAVE_DRAGNDROP | 7616 Defining HAVE_DRAGNDROP |
7602 echo "$ac_t""no" 1>&6 | 7626 echo "$ac_t""no" 1>&6 |
7603 fi | 7627 fi |
7604 fi | 7628 fi |
7605 | 7629 |
7606 echo "checking for LDAP" 1>&6 | 7630 echo "checking for LDAP" 1>&6 |
7607 echo "configure:7608: checking for LDAP" >&5 | 7631 echo "configure:7632: checking for LDAP" >&5 |
7608 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 7632 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
7609 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 7633 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
7610 echo "configure:7611: checking for ldap.h" >&5 | 7634 echo "configure:7635: checking for ldap.h" >&5 |
7611 | 7635 |
7612 cat > conftest.$ac_ext <<EOF | 7636 cat > conftest.$ac_ext <<EOF |
7613 #line 7614 "configure" | 7637 #line 7638 "configure" |
7614 #include "confdefs.h" | 7638 #include "confdefs.h" |
7615 #include <ldap.h> | 7639 #include <ldap.h> |
7616 EOF | 7640 EOF |
7617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7641 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7618 { (eval echo configure:7619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7642 { (eval echo configure:7643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7643 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7620 if test -z "$ac_err"; then | 7644 if test -z "$ac_err"; then |
7621 rm -rf conftest* | 7645 rm -rf conftest* |
7622 eval "ac_cv_header_$ac_safe=yes" | 7646 eval "ac_cv_header_$ac_safe=yes" |
7623 else | 7647 else |
7636 with_ldap=no | 7660 with_ldap=no |
7637 fi | 7661 fi |
7638 } | 7662 } |
7639 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 7663 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
7640 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 7664 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
7641 echo "configure:7642: checking for lber.h" >&5 | 7665 echo "configure:7666: checking for lber.h" >&5 |
7642 | 7666 |
7643 cat > conftest.$ac_ext <<EOF | 7667 cat > conftest.$ac_ext <<EOF |
7644 #line 7645 "configure" | 7668 #line 7669 "configure" |
7645 #include "confdefs.h" | 7669 #include "confdefs.h" |
7646 #include <lber.h> | 7670 #include <lber.h> |
7647 EOF | 7671 EOF |
7648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7649 { (eval echo configure:7650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7673 { (eval echo configure:7674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7651 if test -z "$ac_err"; then | 7675 if test -z "$ac_err"; then |
7652 rm -rf conftest* | 7676 rm -rf conftest* |
7653 eval "ac_cv_header_$ac_safe=yes" | 7677 eval "ac_cv_header_$ac_safe=yes" |
7654 else | 7678 else |
7668 fi | 7692 fi |
7669 } | 7693 } |
7670 if test "$with_ldap" != "no"; then | 7694 if test "$with_ldap" != "no"; then |
7671 | 7695 |
7672 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 7696 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
7673 echo "configure:7674: checking for ldap_search in -lldap" >&5 | 7697 echo "configure:7698: checking for ldap_search in -lldap" >&5 |
7674 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 7698 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
7675 | 7699 |
7676 xe_check_libs=" -lldap " | 7700 xe_check_libs=" -lldap " |
7677 cat > conftest.$ac_ext <<EOF | 7701 cat > conftest.$ac_ext <<EOF |
7678 #line 7679 "configure" | 7702 #line 7703 "configure" |
7679 #include "confdefs.h" | 7703 #include "confdefs.h" |
7680 /* Override any gcc2 internal prototype to avoid an error. */ | 7704 /* Override any gcc2 internal prototype to avoid an error. */ |
7681 /* We use char because int might match the return type of a gcc2 | 7705 /* We use char because int might match the return type of a gcc2 |
7682 builtin and then its argument prototype would still apply. */ | 7706 builtin and then its argument prototype would still apply. */ |
7683 char ldap_search(); | 7707 char ldap_search(); |
7684 | 7708 |
7685 int main() { | 7709 int main() { |
7686 ldap_search() | 7710 ldap_search() |
7687 ; return 0; } | 7711 ; return 0; } |
7688 EOF | 7712 EOF |
7689 if { (eval echo configure:7690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7713 if { (eval echo configure:7714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7690 rm -rf conftest* | 7714 rm -rf conftest* |
7691 eval "ac_cv_lib_$ac_lib_var=yes" | 7715 eval "ac_cv_lib_$ac_lib_var=yes" |
7692 else | 7716 else |
7693 echo "configure: failed program was:" >&5 | 7717 echo "configure: failed program was:" >&5 |
7694 cat conftest.$ac_ext >&5 | 7718 cat conftest.$ac_ext >&5 |
7709 | 7733 |
7710 test "$with_ldap_nolber" = "no" && { | 7734 test "$with_ldap_nolber" = "no" && { |
7711 xe_msg_checking="for ldap_open in -lldap" | 7735 xe_msg_checking="for ldap_open in -lldap" |
7712 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7736 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
7713 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7737 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7714 echo "configure:7715: checking "$xe_msg_checking"" >&5 | 7738 echo "configure:7739: checking "$xe_msg_checking"" >&5 |
7715 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7739 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7716 | 7740 |
7717 xe_check_libs=" -lldap -llber" | 7741 xe_check_libs=" -lldap -llber" |
7718 cat > conftest.$ac_ext <<EOF | 7742 cat > conftest.$ac_ext <<EOF |
7719 #line 7720 "configure" | 7743 #line 7744 "configure" |
7720 #include "confdefs.h" | 7744 #include "confdefs.h" |
7721 /* Override any gcc2 internal prototype to avoid an error. */ | 7745 /* Override any gcc2 internal prototype to avoid an error. */ |
7722 /* We use char because int might match the return type of a gcc2 | 7746 /* We use char because int might match the return type of a gcc2 |
7723 builtin and then its argument prototype would still apply. */ | 7747 builtin and then its argument prototype would still apply. */ |
7724 char ldap_open(); | 7748 char ldap_open(); |
7725 | 7749 |
7726 int main() { | 7750 int main() { |
7727 ldap_open() | 7751 ldap_open() |
7728 ; return 0; } | 7752 ; return 0; } |
7729 EOF | 7753 EOF |
7730 if { (eval echo configure:7731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7754 if { (eval echo configure:7755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7731 rm -rf conftest* | 7755 rm -rf conftest* |
7732 eval "ac_cv_lib_$ac_lib_var=yes" | 7756 eval "ac_cv_lib_$ac_lib_var=yes" |
7733 else | 7757 else |
7734 echo "configure: failed program was:" >&5 | 7758 echo "configure: failed program was:" >&5 |
7735 cat conftest.$ac_ext >&5 | 7759 cat conftest.$ac_ext >&5 |
7750 } | 7774 } |
7751 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7775 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
7752 xe_msg_checking="for ldap_open in -lldap" | 7776 xe_msg_checking="for ldap_open in -lldap" |
7753 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7777 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
7754 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7778 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7755 echo "configure:7756: checking "$xe_msg_checking"" >&5 | 7779 echo "configure:7780: checking "$xe_msg_checking"" >&5 |
7756 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7780 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7757 | 7781 |
7758 xe_check_libs=" -lldap -llber -lkrb" | 7782 xe_check_libs=" -lldap -llber -lkrb" |
7759 cat > conftest.$ac_ext <<EOF | 7783 cat > conftest.$ac_ext <<EOF |
7760 #line 7761 "configure" | 7784 #line 7785 "configure" |
7761 #include "confdefs.h" | 7785 #include "confdefs.h" |
7762 /* Override any gcc2 internal prototype to avoid an error. */ | 7786 /* Override any gcc2 internal prototype to avoid an error. */ |
7763 /* We use char because int might match the return type of a gcc2 | 7787 /* We use char because int might match the return type of a gcc2 |
7764 builtin and then its argument prototype would still apply. */ | 7788 builtin and then its argument prototype would still apply. */ |
7765 char ldap_open(); | 7789 char ldap_open(); |
7766 | 7790 |
7767 int main() { | 7791 int main() { |
7768 ldap_open() | 7792 ldap_open() |
7769 ; return 0; } | 7793 ; return 0; } |
7770 EOF | 7794 EOF |
7771 if { (eval echo configure:7772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7795 if { (eval echo configure:7796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7772 rm -rf conftest* | 7796 rm -rf conftest* |
7773 eval "ac_cv_lib_$ac_lib_var=yes" | 7797 eval "ac_cv_lib_$ac_lib_var=yes" |
7774 else | 7798 else |
7775 echo "configure: failed program was:" >&5 | 7799 echo "configure: failed program was:" >&5 |
7776 cat conftest.$ac_ext >&5 | 7800 cat conftest.$ac_ext >&5 |
7791 } | 7815 } |
7792 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7816 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
7793 xe_msg_checking="for ldap_open in -lldap" | 7817 xe_msg_checking="for ldap_open in -lldap" |
7794 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7818 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
7795 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7819 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
7796 echo "configure:7797: checking "$xe_msg_checking"" >&5 | 7820 echo "configure:7821: checking "$xe_msg_checking"" >&5 |
7797 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7821 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
7798 | 7822 |
7799 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7823 xe_check_libs=" -lldap -llber -lkrb -ldes" |
7800 cat > conftest.$ac_ext <<EOF | 7824 cat > conftest.$ac_ext <<EOF |
7801 #line 7802 "configure" | 7825 #line 7826 "configure" |
7802 #include "confdefs.h" | 7826 #include "confdefs.h" |
7803 /* Override any gcc2 internal prototype to avoid an error. */ | 7827 /* Override any gcc2 internal prototype to avoid an error. */ |
7804 /* We use char because int might match the return type of a gcc2 | 7828 /* We use char because int might match the return type of a gcc2 |
7805 builtin and then its argument prototype would still apply. */ | 7829 builtin and then its argument prototype would still apply. */ |
7806 char ldap_open(); | 7830 char ldap_open(); |
7807 | 7831 |
7808 int main() { | 7832 int main() { |
7809 ldap_open() | 7833 ldap_open() |
7810 ; return 0; } | 7834 ; return 0; } |
7811 EOF | 7835 EOF |
7812 if { (eval echo configure:7813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7836 if { (eval echo configure:7837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7813 rm -rf conftest* | 7837 rm -rf conftest* |
7814 eval "ac_cv_lib_$ac_lib_var=yes" | 7838 eval "ac_cv_lib_$ac_lib_var=yes" |
7815 else | 7839 else |
7816 echo "configure: failed program was:" >&5 | 7840 echo "configure: failed program was:" >&5 |
7817 cat conftest.$ac_ext >&5 | 7841 cat conftest.$ac_ext >&5 |
7855 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7879 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7856 fi | 7880 fi |
7857 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7881 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7858 do | 7882 do |
7859 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7860 echo "configure:7861: checking for $ac_func" >&5 | 7884 echo "configure:7885: checking for $ac_func" >&5 |
7861 | 7885 |
7862 cat > conftest.$ac_ext <<EOF | 7886 cat > conftest.$ac_ext <<EOF |
7863 #line 7864 "configure" | 7887 #line 7888 "configure" |
7864 #include "confdefs.h" | 7888 #include "confdefs.h" |
7865 /* System header to define __stub macros and hopefully few prototypes, | 7889 /* System header to define __stub macros and hopefully few prototypes, |
7866 which can conflict with char $ac_func(); below. */ | 7890 which can conflict with char $ac_func(); below. */ |
7867 #include <assert.h> | 7891 #include <assert.h> |
7868 /* Override any gcc2 internal prototype to avoid an error. */ | 7892 /* Override any gcc2 internal prototype to avoid an error. */ |
7881 $ac_func(); | 7905 $ac_func(); |
7882 #endif | 7906 #endif |
7883 | 7907 |
7884 ; return 0; } | 7908 ; return 0; } |
7885 EOF | 7909 EOF |
7886 if { (eval echo configure:7887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7910 if { (eval echo configure:7911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7887 rm -rf conftest* | 7911 rm -rf conftest* |
7888 eval "ac_cv_func_$ac_func=yes" | 7912 eval "ac_cv_func_$ac_func=yes" |
7889 else | 7913 else |
7890 echo "configure: failed program was:" >&5 | 7914 echo "configure: failed program was:" >&5 |
7891 cat conftest.$ac_ext >&5 | 7915 cat conftest.$ac_ext >&5 |
7912 | 7936 |
7913 fi | 7937 fi |
7914 | 7938 |
7915 if test "$with_postgresql" != "no"; then | 7939 if test "$with_postgresql" != "no"; then |
7916 echo "checking for PostgreSQL" 1>&6 | 7940 echo "checking for PostgreSQL" 1>&6 |
7917 echo "configure:7918: checking for PostgreSQL" >&5 | 7941 echo "configure:7942: checking for PostgreSQL" >&5 |
7918 | 7942 |
7919 for header_dir in "" "pgsql/" "postgresql/"; do | 7943 for header_dir in "" "pgsql/" "postgresql/"; do |
7920 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 7944 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
7921 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 7945 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
7922 echo "configure:7923: checking for ${header_dir}libpq-fe.h" >&5 | 7946 echo "configure:7947: checking for ${header_dir}libpq-fe.h" >&5 |
7923 | 7947 |
7924 cat > conftest.$ac_ext <<EOF | 7948 cat > conftest.$ac_ext <<EOF |
7925 #line 7926 "configure" | 7949 #line 7950 "configure" |
7926 #include "confdefs.h" | 7950 #include "confdefs.h" |
7927 #include <${header_dir}libpq-fe.h> | 7951 #include <${header_dir}libpq-fe.h> |
7928 EOF | 7952 EOF |
7929 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7930 { (eval echo configure:7931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7954 { (eval echo configure:7955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7931 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7955 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7932 if test -z "$ac_err"; then | 7956 if test -z "$ac_err"; then |
7933 rm -rf conftest* | 7957 rm -rf conftest* |
7934 eval "ac_cv_header_$ac_safe=yes" | 7958 eval "ac_cv_header_$ac_safe=yes" |
7935 else | 7959 else |
7949 | 7973 |
7950 done | 7974 done |
7951 | 7975 |
7952 test -n "$libpq_fe_h_file" && { | 7976 test -n "$libpq_fe_h_file" && { |
7953 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7977 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7954 echo "configure:7955: checking for PQconnectdb in -lpq" >&5 | 7978 echo "configure:7979: checking for PQconnectdb in -lpq" >&5 |
7955 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7979 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7956 | 7980 |
7957 xe_check_libs=" -lpq " | 7981 xe_check_libs=" -lpq " |
7958 cat > conftest.$ac_ext <<EOF | 7982 cat > conftest.$ac_ext <<EOF |
7959 #line 7960 "configure" | 7983 #line 7984 "configure" |
7960 #include "confdefs.h" | 7984 #include "confdefs.h" |
7961 /* Override any gcc2 internal prototype to avoid an error. */ | 7985 /* Override any gcc2 internal prototype to avoid an error. */ |
7962 /* We use char because int might match the return type of a gcc2 | 7986 /* We use char because int might match the return type of a gcc2 |
7963 builtin and then its argument prototype would still apply. */ | 7987 builtin and then its argument prototype would still apply. */ |
7964 char PQconnectdb(); | 7988 char PQconnectdb(); |
7965 | 7989 |
7966 int main() { | 7990 int main() { |
7967 PQconnectdb() | 7991 PQconnectdb() |
7968 ; return 0; } | 7992 ; return 0; } |
7969 EOF | 7993 EOF |
7970 if { (eval echo configure:7971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7994 if { (eval echo configure:7995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7971 rm -rf conftest* | 7995 rm -rf conftest* |
7972 eval "ac_cv_lib_$ac_lib_var=yes" | 7996 eval "ac_cv_lib_$ac_lib_var=yes" |
7973 else | 7997 else |
7974 echo "configure: failed program was:" >&5 | 7998 echo "configure: failed program was:" >&5 |
7975 cat conftest.$ac_ext >&5 | 7999 cat conftest.$ac_ext >&5 |
7998 EOF | 8022 EOF |
7999 } | 8023 } |
8000 | 8024 |
8001 | 8025 |
8002 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 8026 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
8003 echo "configure:8004: checking for PQconnectStart in -lpq" >&5 | 8027 echo "configure:8028: checking for PQconnectStart in -lpq" >&5 |
8004 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 8028 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
8005 | 8029 |
8006 xe_check_libs=" -lpq " | 8030 xe_check_libs=" -lpq " |
8007 cat > conftest.$ac_ext <<EOF | 8031 cat > conftest.$ac_ext <<EOF |
8008 #line 8009 "configure" | 8032 #line 8033 "configure" |
8009 #include "confdefs.h" | 8033 #include "confdefs.h" |
8010 /* Override any gcc2 internal prototype to avoid an error. */ | 8034 /* Override any gcc2 internal prototype to avoid an error. */ |
8011 /* We use char because int might match the return type of a gcc2 | 8035 /* We use char because int might match the return type of a gcc2 |
8012 builtin and then its argument prototype would still apply. */ | 8036 builtin and then its argument prototype would still apply. */ |
8013 char PQconnectStart(); | 8037 char PQconnectStart(); |
8014 | 8038 |
8015 int main() { | 8039 int main() { |
8016 PQconnectStart() | 8040 PQconnectStart() |
8017 ; return 0; } | 8041 ; return 0; } |
8018 EOF | 8042 EOF |
8019 if { (eval echo configure:8020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8043 if { (eval echo configure:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8020 rm -rf conftest* | 8044 rm -rf conftest* |
8021 eval "ac_cv_lib_$ac_lib_var=yes" | 8045 eval "ac_cv_lib_$ac_lib_var=yes" |
8022 else | 8046 else |
8023 echo "configure: failed program was:" >&5 | 8047 echo "configure: failed program was:" >&5 |
8024 cat conftest.$ac_ext >&5 | 8048 cat conftest.$ac_ext >&5 |
8059 fi | 8083 fi |
8060 | 8084 |
8061 | 8085 |
8062 if test "$window_system" != "none"; then | 8086 if test "$window_system" != "none"; then |
8063 echo "checking for graphics libraries" 1>&6 | 8087 echo "checking for graphics libraries" 1>&6 |
8064 echo "configure:8065: checking for graphics libraries" >&5 | 8088 echo "configure:8089: checking for graphics libraries" >&5 |
8065 | 8089 |
8066 libpath_xpm= | 8090 libpath_xpm= |
8067 incpath_xpm= | 8091 incpath_xpm= |
8068 case "$opsys" in | 8092 case "$opsys" in |
8069 cygwin*) | 8093 cygwin*) |
8085 xpm_problem="" | 8109 xpm_problem="" |
8086 if test -z "$with_xpm"; then | 8110 if test -z "$with_xpm"; then |
8087 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8111 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8088 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8112 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8089 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 8113 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
8090 echo "configure:8091: checking for Xpm - no older than 3.4f" >&5 | 8114 echo "configure:8115: checking for Xpm - no older than 3.4f" >&5 |
8091 xe_check_libs=-lXpm | 8115 xe_check_libs=-lXpm |
8092 cat > conftest.$ac_ext <<EOF | 8116 cat > conftest.$ac_ext <<EOF |
8093 #line 8094 "configure" | 8117 #line 8118 "configure" |
8094 #include "confdefs.h" | 8118 #include "confdefs.h" |
8095 #define XPM_NUMBERS | 8119 #define XPM_NUMBERS |
8096 #include <X11/xpm.h> | 8120 #include <X11/xpm.h> |
8097 int main(int c, char **v) { | 8121 int main(int c, char **v) { |
8098 return c == 1 ? 0 : | 8122 return c == 1 ? 0 : |
8099 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 8123 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
8100 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 8124 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
8101 EOF | 8125 EOF |
8102 if { (eval echo configure:8103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8126 if { (eval echo configure:8127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8103 then | 8127 then |
8104 ./conftest dummy_arg; xpm_status=$?; | 8128 ./conftest dummy_arg; xpm_status=$?; |
8105 if test "$xpm_status" = "0"; then | 8129 if test "$xpm_status" = "0"; then |
8106 with_xpm=yes; | 8130 with_xpm=yes; |
8107 else | 8131 else |
8141 | 8165 |
8142 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 8166 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
8143 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 8167 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
8144 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 8168 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
8145 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 8169 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
8146 echo "configure:8147: checking for \"FOR_MSW\" xpm" >&5 | 8170 echo "configure:8171: checking for \"FOR_MSW\" xpm" >&5 |
8147 xe_check_libs=-lXpm | 8171 xe_check_libs=-lXpm |
8148 cat > conftest.$ac_ext <<EOF | 8172 cat > conftest.$ac_ext <<EOF |
8149 #line 8150 "configure" | 8173 #line 8174 "configure" |
8150 #include "confdefs.h" | 8174 #include "confdefs.h" |
8151 | 8175 |
8152 int main() { | 8176 int main() { |
8153 XpmCreatePixmapFromData() | 8177 XpmCreatePixmapFromData() |
8154 ; return 0; } | 8178 ; return 0; } |
8155 EOF | 8179 EOF |
8156 if { (eval echo configure:8157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8180 if { (eval echo configure:8181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8157 rm -rf conftest* | 8181 rm -rf conftest* |
8158 xpm_for_msw=no | 8182 xpm_for_msw=no |
8159 else | 8183 else |
8160 echo "configure: failed program was:" >&5 | 8184 echo "configure: failed program was:" >&5 |
8161 cat conftest.$ac_ext >&5 | 8185 cat conftest.$ac_ext >&5 |
8177 fi | 8201 fi |
8178 fi | 8202 fi |
8179 | 8203 |
8180 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8204 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8181 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8205 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8182 echo "configure:8183: checking for compface.h" >&5 | 8206 echo "configure:8207: checking for compface.h" >&5 |
8183 | 8207 |
8184 cat > conftest.$ac_ext <<EOF | 8208 cat > conftest.$ac_ext <<EOF |
8185 #line 8186 "configure" | 8209 #line 8210 "configure" |
8186 #include "confdefs.h" | 8210 #include "confdefs.h" |
8187 #include <compface.h> | 8211 #include <compface.h> |
8188 EOF | 8212 EOF |
8189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8213 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8190 { (eval echo configure:8191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8214 { (eval echo configure:8215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8215 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8192 if test -z "$ac_err"; then | 8216 if test -z "$ac_err"; then |
8193 rm -rf conftest* | 8217 rm -rf conftest* |
8194 eval "ac_cv_header_$ac_safe=yes" | 8218 eval "ac_cv_header_$ac_safe=yes" |
8195 else | 8219 else |
8208 with_xface=no | 8232 with_xface=no |
8209 fi | 8233 fi |
8210 } | 8234 } |
8211 test -z "$with_xface" && { | 8235 test -z "$with_xface" && { |
8212 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8236 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8213 echo "configure:8214: checking for UnGenFace in -lcompface" >&5 | 8237 echo "configure:8238: checking for UnGenFace in -lcompface" >&5 |
8214 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8238 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8215 | 8239 |
8216 xe_check_libs=" -lcompface " | 8240 xe_check_libs=" -lcompface " |
8217 cat > conftest.$ac_ext <<EOF | 8241 cat > conftest.$ac_ext <<EOF |
8218 #line 8219 "configure" | 8242 #line 8243 "configure" |
8219 #include "confdefs.h" | 8243 #include "confdefs.h" |
8220 /* Override any gcc2 internal prototype to avoid an error. */ | 8244 /* Override any gcc2 internal prototype to avoid an error. */ |
8221 /* We use char because int might match the return type of a gcc2 | 8245 /* We use char because int might match the return type of a gcc2 |
8222 builtin and then its argument prototype would still apply. */ | 8246 builtin and then its argument prototype would still apply. */ |
8223 char UnGenFace(); | 8247 char UnGenFace(); |
8224 | 8248 |
8225 int main() { | 8249 int main() { |
8226 UnGenFace() | 8250 UnGenFace() |
8227 ; return 0; } | 8251 ; return 0; } |
8228 EOF | 8252 EOF |
8229 if { (eval echo configure:8230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8253 if { (eval echo configure:8254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8230 rm -rf conftest* | 8254 rm -rf conftest* |
8231 eval "ac_cv_lib_$ac_lib_var=yes" | 8255 eval "ac_cv_lib_$ac_lib_var=yes" |
8232 else | 8256 else |
8233 echo "configure: failed program was:" >&5 | 8257 echo "configure: failed program was:" >&5 |
8234 cat conftest.$ac_ext >&5 | 8258 cat conftest.$ac_ext >&5 |
8273 fi | 8297 fi |
8274 | 8298 |
8275 if test "$with_png $with_tiff" != "no no"; then | 8299 if test "$with_png $with_tiff" != "no no"; then |
8276 | 8300 |
8277 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 8301 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
8278 echo "configure:8279: checking for inflate in -lc" >&5 | 8302 echo "configure:8303: checking for inflate in -lc" >&5 |
8279 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 8303 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
8280 | 8304 |
8281 xe_check_libs=" -lc " | 8305 xe_check_libs=" -lc " |
8282 cat > conftest.$ac_ext <<EOF | 8306 cat > conftest.$ac_ext <<EOF |
8283 #line 8284 "configure" | 8307 #line 8308 "configure" |
8284 #include "confdefs.h" | 8308 #include "confdefs.h" |
8285 /* Override any gcc2 internal prototype to avoid an error. */ | 8309 /* Override any gcc2 internal prototype to avoid an error. */ |
8286 /* We use char because int might match the return type of a gcc2 | 8310 /* We use char because int might match the return type of a gcc2 |
8287 builtin and then its argument prototype would still apply. */ | 8311 builtin and then its argument prototype would still apply. */ |
8288 char inflate(); | 8312 char inflate(); |
8289 | 8313 |
8290 int main() { | 8314 int main() { |
8291 inflate() | 8315 inflate() |
8292 ; return 0; } | 8316 ; return 0; } |
8293 EOF | 8317 EOF |
8294 if { (eval echo configure:8295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8318 if { (eval echo configure:8319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8295 rm -rf conftest* | 8319 rm -rf conftest* |
8296 eval "ac_cv_lib_$ac_lib_var=yes" | 8320 eval "ac_cv_lib_$ac_lib_var=yes" |
8297 else | 8321 else |
8298 echo "configure: failed program was:" >&5 | 8322 echo "configure: failed program was:" >&5 |
8299 cat conftest.$ac_ext >&5 | 8323 cat conftest.$ac_ext >&5 |
8308 : | 8332 : |
8309 else | 8333 else |
8310 echo "$ac_t""no" 1>&6 | 8334 echo "$ac_t""no" 1>&6 |
8311 | 8335 |
8312 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 8336 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
8313 echo "configure:8314: checking for inflate in -lz" >&5 | 8337 echo "configure:8338: checking for inflate in -lz" >&5 |
8314 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 8338 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
8315 | 8339 |
8316 xe_check_libs=" -lz " | 8340 xe_check_libs=" -lz " |
8317 cat > conftest.$ac_ext <<EOF | 8341 cat > conftest.$ac_ext <<EOF |
8318 #line 8319 "configure" | 8342 #line 8343 "configure" |
8319 #include "confdefs.h" | 8343 #include "confdefs.h" |
8320 /* Override any gcc2 internal prototype to avoid an error. */ | 8344 /* Override any gcc2 internal prototype to avoid an error. */ |
8321 /* We use char because int might match the return type of a gcc2 | 8345 /* We use char because int might match the return type of a gcc2 |
8322 builtin and then its argument prototype would still apply. */ | 8346 builtin and then its argument prototype would still apply. */ |
8323 char inflate(); | 8347 char inflate(); |
8324 | 8348 |
8325 int main() { | 8349 int main() { |
8326 inflate() | 8350 inflate() |
8327 ; return 0; } | 8351 ; return 0; } |
8328 EOF | 8352 EOF |
8329 if { (eval echo configure:8330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8353 if { (eval echo configure:8354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8330 rm -rf conftest* | 8354 rm -rf conftest* |
8331 eval "ac_cv_lib_$ac_lib_var=yes" | 8355 eval "ac_cv_lib_$ac_lib_var=yes" |
8332 else | 8356 else |
8333 echo "configure: failed program was:" >&5 | 8357 echo "configure: failed program was:" >&5 |
8334 cat conftest.$ac_ext >&5 | 8358 cat conftest.$ac_ext >&5 |
8343 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 8367 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
8344 else | 8368 else |
8345 echo "$ac_t""no" 1>&6 | 8369 echo "$ac_t""no" 1>&6 |
8346 | 8370 |
8347 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 8371 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
8348 echo "configure:8349: checking for inflate in -lgz" >&5 | 8372 echo "configure:8373: checking for inflate in -lgz" >&5 |
8349 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 8373 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
8350 | 8374 |
8351 xe_check_libs=" -lgz " | 8375 xe_check_libs=" -lgz " |
8352 cat > conftest.$ac_ext <<EOF | 8376 cat > conftest.$ac_ext <<EOF |
8353 #line 8354 "configure" | 8377 #line 8378 "configure" |
8354 #include "confdefs.h" | 8378 #include "confdefs.h" |
8355 /* Override any gcc2 internal prototype to avoid an error. */ | 8379 /* Override any gcc2 internal prototype to avoid an error. */ |
8356 /* We use char because int might match the return type of a gcc2 | 8380 /* We use char because int might match the return type of a gcc2 |
8357 builtin and then its argument prototype would still apply. */ | 8381 builtin and then its argument prototype would still apply. */ |
8358 char inflate(); | 8382 char inflate(); |
8359 | 8383 |
8360 int main() { | 8384 int main() { |
8361 inflate() | 8385 inflate() |
8362 ; return 0; } | 8386 ; return 0; } |
8363 EOF | 8387 EOF |
8364 if { (eval echo configure:8365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8388 if { (eval echo configure:8389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8365 rm -rf conftest* | 8389 rm -rf conftest* |
8366 eval "ac_cv_lib_$ac_lib_var=yes" | 8390 eval "ac_cv_lib_$ac_lib_var=yes" |
8367 else | 8391 else |
8368 echo "configure: failed program was:" >&5 | 8392 echo "configure: failed program was:" >&5 |
8369 cat conftest.$ac_ext >&5 | 8393 cat conftest.$ac_ext >&5 |
8389 | 8413 |
8390 fi | 8414 fi |
8391 | 8415 |
8392 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 8416 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
8393 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 8417 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
8394 echo "configure:8395: checking for jpeglib.h" >&5 | 8418 echo "configure:8419: checking for jpeglib.h" >&5 |
8395 | 8419 |
8396 cat > conftest.$ac_ext <<EOF | 8420 cat > conftest.$ac_ext <<EOF |
8397 #line 8398 "configure" | 8421 #line 8422 "configure" |
8398 #include "confdefs.h" | 8422 #include "confdefs.h" |
8399 #include <jpeglib.h> | 8423 #include <jpeglib.h> |
8400 EOF | 8424 EOF |
8401 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8402 { (eval echo configure:8403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8426 { (eval echo configure:8427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8403 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8404 if test -z "$ac_err"; then | 8428 if test -z "$ac_err"; then |
8405 rm -rf conftest* | 8429 rm -rf conftest* |
8406 eval "ac_cv_header_$ac_safe=yes" | 8430 eval "ac_cv_header_$ac_safe=yes" |
8407 else | 8431 else |
8420 with_jpeg=no | 8444 with_jpeg=no |
8421 fi | 8445 fi |
8422 } | 8446 } |
8423 test -z "$with_jpeg" && { | 8447 test -z "$with_jpeg" && { |
8424 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 8448 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
8425 echo "configure:8426: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 8449 echo "configure:8450: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
8426 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 8450 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
8427 | 8451 |
8428 xe_check_libs=" -ljpeg " | 8452 xe_check_libs=" -ljpeg " |
8429 cat > conftest.$ac_ext <<EOF | 8453 cat > conftest.$ac_ext <<EOF |
8430 #line 8431 "configure" | 8454 #line 8455 "configure" |
8431 #include "confdefs.h" | 8455 #include "confdefs.h" |
8432 /* Override any gcc2 internal prototype to avoid an error. */ | 8456 /* Override any gcc2 internal prototype to avoid an error. */ |
8433 /* We use char because int might match the return type of a gcc2 | 8457 /* We use char because int might match the return type of a gcc2 |
8434 builtin and then its argument prototype would still apply. */ | 8458 builtin and then its argument prototype would still apply. */ |
8435 char jpeg_destroy_decompress(); | 8459 char jpeg_destroy_decompress(); |
8436 | 8460 |
8437 int main() { | 8461 int main() { |
8438 jpeg_destroy_decompress() | 8462 jpeg_destroy_decompress() |
8439 ; return 0; } | 8463 ; return 0; } |
8440 EOF | 8464 EOF |
8441 if { (eval echo configure:8442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8465 if { (eval echo configure:8466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8442 rm -rf conftest* | 8466 rm -rf conftest* |
8443 eval "ac_cv_lib_$ac_lib_var=yes" | 8467 eval "ac_cv_lib_$ac_lib_var=yes" |
8444 else | 8468 else |
8445 echo "configure: failed program was:" >&5 | 8469 echo "configure: failed program was:" >&5 |
8446 cat conftest.$ac_ext >&5 | 8470 cat conftest.$ac_ext >&5 |
8472 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 8496 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
8473 fi | 8497 fi |
8474 | 8498 |
8475 png_problem="" | 8499 png_problem="" |
8476 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 8500 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
8477 echo "configure:8478: checking for pow" >&5 | 8501 echo "configure:8502: checking for pow" >&5 |
8478 | 8502 |
8479 cat > conftest.$ac_ext <<EOF | 8503 cat > conftest.$ac_ext <<EOF |
8480 #line 8481 "configure" | 8504 #line 8505 "configure" |
8481 #include "confdefs.h" | 8505 #include "confdefs.h" |
8482 /* System header to define __stub macros and hopefully few prototypes, | 8506 /* System header to define __stub macros and hopefully few prototypes, |
8483 which can conflict with char pow(); below. */ | 8507 which can conflict with char pow(); below. */ |
8484 #include <assert.h> | 8508 #include <assert.h> |
8485 /* Override any gcc2 internal prototype to avoid an error. */ | 8509 /* Override any gcc2 internal prototype to avoid an error. */ |
8498 pow(); | 8522 pow(); |
8499 #endif | 8523 #endif |
8500 | 8524 |
8501 ; return 0; } | 8525 ; return 0; } |
8502 EOF | 8526 EOF |
8503 if { (eval echo configure:8504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8527 if { (eval echo configure:8528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8504 rm -rf conftest* | 8528 rm -rf conftest* |
8505 eval "ac_cv_func_pow=yes" | 8529 eval "ac_cv_func_pow=yes" |
8506 else | 8530 else |
8507 echo "configure: failed program was:" >&5 | 8531 echo "configure: failed program was:" >&5 |
8508 cat conftest.$ac_ext >&5 | 8532 cat conftest.$ac_ext >&5 |
8519 with_png=no | 8543 with_png=no |
8520 fi | 8544 fi |
8521 } | 8545 } |
8522 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 8546 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
8523 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 8547 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
8524 echo "configure:8525: checking for png.h" >&5 | 8548 echo "configure:8549: checking for png.h" >&5 |
8525 | 8549 |
8526 cat > conftest.$ac_ext <<EOF | 8550 cat > conftest.$ac_ext <<EOF |
8527 #line 8528 "configure" | 8551 #line 8552 "configure" |
8528 #include "confdefs.h" | 8552 #include "confdefs.h" |
8529 #include <png.h> | 8553 #include <png.h> |
8530 EOF | 8554 EOF |
8531 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8532 { (eval echo configure:8533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8556 { (eval echo configure:8557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8533 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8534 if test -z "$ac_err"; then | 8558 if test -z "$ac_err"; then |
8535 rm -rf conftest* | 8559 rm -rf conftest* |
8536 eval "ac_cv_header_$ac_safe=yes" | 8560 eval "ac_cv_header_$ac_safe=yes" |
8537 else | 8561 else |
8550 with_png=no | 8574 with_png=no |
8551 fi | 8575 fi |
8552 } | 8576 } |
8553 test -z "$with_png" && { | 8577 test -z "$with_png" && { |
8554 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 8578 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
8555 echo "configure:8556: checking for png_read_image in -lpng" >&5 | 8579 echo "configure:8580: checking for png_read_image in -lpng" >&5 |
8556 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 8580 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
8557 | 8581 |
8558 xe_check_libs=" -lpng " | 8582 xe_check_libs=" -lpng " |
8559 cat > conftest.$ac_ext <<EOF | 8583 cat > conftest.$ac_ext <<EOF |
8560 #line 8561 "configure" | 8584 #line 8585 "configure" |
8561 #include "confdefs.h" | 8585 #include "confdefs.h" |
8562 /* Override any gcc2 internal prototype to avoid an error. */ | 8586 /* Override any gcc2 internal prototype to avoid an error. */ |
8563 /* We use char because int might match the return type of a gcc2 | 8587 /* We use char because int might match the return type of a gcc2 |
8564 builtin and then its argument prototype would still apply. */ | 8588 builtin and then its argument prototype would still apply. */ |
8565 char png_read_image(); | 8589 char png_read_image(); |
8566 | 8590 |
8567 int main() { | 8591 int main() { |
8568 png_read_image() | 8592 png_read_image() |
8569 ; return 0; } | 8593 ; return 0; } |
8570 EOF | 8594 EOF |
8571 if { (eval echo configure:8572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8595 if { (eval echo configure:8596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8572 rm -rf conftest* | 8596 rm -rf conftest* |
8573 eval "ac_cv_lib_$ac_lib_var=yes" | 8597 eval "ac_cv_lib_$ac_lib_var=yes" |
8574 else | 8598 else |
8575 echo "configure: failed program was:" >&5 | 8599 echo "configure: failed program was:" >&5 |
8576 cat conftest.$ac_ext >&5 | 8600 cat conftest.$ac_ext >&5 |
8589 fi | 8613 fi |
8590 | 8614 |
8591 } | 8615 } |
8592 if test -z "$with_png"; then | 8616 if test -z "$with_png"; then |
8593 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8617 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
8594 echo "configure:8595: checking for workable png version information" >&5 | 8618 echo "configure:8619: checking for workable png version information" >&5 |
8595 xe_check_libs="-lpng -lz" | 8619 xe_check_libs="-lpng -lz" |
8596 cat > conftest.$ac_ext <<EOF | 8620 cat > conftest.$ac_ext <<EOF |
8597 #line 8598 "configure" | 8621 #line 8622 "configure" |
8598 #include "confdefs.h" | 8622 #include "confdefs.h" |
8599 #include <png.h> | 8623 #include <png.h> |
8600 int main(int c, char **v) { | 8624 int main(int c, char **v) { |
8601 if (c == 1) return 0; | 8625 if (c == 1) return 0; |
8602 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8626 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
8603 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8627 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
8604 EOF | 8628 EOF |
8605 if { (eval echo configure:8606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8629 if { (eval echo configure:8630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
8606 then | 8630 then |
8607 ./conftest dummy_arg; png_status=$?; | 8631 ./conftest dummy_arg; png_status=$?; |
8608 if test "$png_status" = "0"; then | 8632 if test "$png_status" = "0"; then |
8609 with_png=yes; | 8633 with_png=yes; |
8610 else | 8634 else |
8643 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8667 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
8644 fi | 8668 fi |
8645 | 8669 |
8646 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8670 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
8647 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8671 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
8648 echo "configure:8649: checking for tiffio.h" >&5 | 8672 echo "configure:8673: checking for tiffio.h" >&5 |
8649 | 8673 |
8650 cat > conftest.$ac_ext <<EOF | 8674 cat > conftest.$ac_ext <<EOF |
8651 #line 8652 "configure" | 8675 #line 8676 "configure" |
8652 #include "confdefs.h" | 8676 #include "confdefs.h" |
8653 #include <tiffio.h> | 8677 #include <tiffio.h> |
8654 EOF | 8678 EOF |
8655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8656 { (eval echo configure:8657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8680 { (eval echo configure:8681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8657 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8658 if test -z "$ac_err"; then | 8682 if test -z "$ac_err"; then |
8659 rm -rf conftest* | 8683 rm -rf conftest* |
8660 eval "ac_cv_header_$ac_safe=yes" | 8684 eval "ac_cv_header_$ac_safe=yes" |
8661 else | 8685 else |
8674 with_tiff=no | 8698 with_tiff=no |
8675 fi | 8699 fi |
8676 } | 8700 } |
8677 test -z "$with_tiff" && { | 8701 test -z "$with_tiff" && { |
8678 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8702 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
8679 echo "configure:8680: checking for TIFFClientOpen in -ltiff" >&5 | 8703 echo "configure:8704: checking for TIFFClientOpen in -ltiff" >&5 |
8680 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8704 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
8681 | 8705 |
8682 xe_check_libs=" -ltiff " | 8706 xe_check_libs=" -ltiff " |
8683 cat > conftest.$ac_ext <<EOF | 8707 cat > conftest.$ac_ext <<EOF |
8684 #line 8685 "configure" | 8708 #line 8709 "configure" |
8685 #include "confdefs.h" | 8709 #include "confdefs.h" |
8686 /* Override any gcc2 internal prototype to avoid an error. */ | 8710 /* Override any gcc2 internal prototype to avoid an error. */ |
8687 /* We use char because int might match the return type of a gcc2 | 8711 /* We use char because int might match the return type of a gcc2 |
8688 builtin and then its argument prototype would still apply. */ | 8712 builtin and then its argument prototype would still apply. */ |
8689 char TIFFClientOpen(); | 8713 char TIFFClientOpen(); |
8690 | 8714 |
8691 int main() { | 8715 int main() { |
8692 TIFFClientOpen() | 8716 TIFFClientOpen() |
8693 ; return 0; } | 8717 ; return 0; } |
8694 EOF | 8718 EOF |
8695 if { (eval echo configure:8696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8719 if { (eval echo configure:8720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8696 rm -rf conftest* | 8720 rm -rf conftest* |
8697 eval "ac_cv_lib_$ac_lib_var=yes" | 8721 eval "ac_cv_lib_$ac_lib_var=yes" |
8698 else | 8722 else |
8699 echo "configure: failed program was:" >&5 | 8723 echo "configure: failed program was:" >&5 |
8700 cat conftest.$ac_ext >&5 | 8724 cat conftest.$ac_ext >&5 |
8729 | 8753 |
8730 | 8754 |
8731 if test "$with_gtk" = "yes"; then | 8755 if test "$with_gtk" = "yes"; then |
8732 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 8756 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
8733 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 8757 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
8734 echo "configure:8735: checking for compface.h" >&5 | 8758 echo "configure:8759: checking for compface.h" >&5 |
8735 | 8759 |
8736 cat > conftest.$ac_ext <<EOF | 8760 cat > conftest.$ac_ext <<EOF |
8737 #line 8738 "configure" | 8761 #line 8762 "configure" |
8738 #include "confdefs.h" | 8762 #include "confdefs.h" |
8739 #include <compface.h> | 8763 #include <compface.h> |
8740 EOF | 8764 EOF |
8741 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8765 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8742 { (eval echo configure:8743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8766 { (eval echo configure:8767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8743 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8767 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8744 if test -z "$ac_err"; then | 8768 if test -z "$ac_err"; then |
8745 rm -rf conftest* | 8769 rm -rf conftest* |
8746 eval "ac_cv_header_$ac_safe=yes" | 8770 eval "ac_cv_header_$ac_safe=yes" |
8747 else | 8771 else |
8760 with_xface=no | 8784 with_xface=no |
8761 fi | 8785 fi |
8762 } | 8786 } |
8763 test -z "$with_xface" && { | 8787 test -z "$with_xface" && { |
8764 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 8788 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
8765 echo "configure:8766: checking for UnGenFace in -lcompface" >&5 | 8789 echo "configure:8790: checking for UnGenFace in -lcompface" >&5 |
8766 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 8790 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
8767 | 8791 |
8768 xe_check_libs=" -lcompface " | 8792 xe_check_libs=" -lcompface " |
8769 cat > conftest.$ac_ext <<EOF | 8793 cat > conftest.$ac_ext <<EOF |
8770 #line 8771 "configure" | 8794 #line 8795 "configure" |
8771 #include "confdefs.h" | 8795 #include "confdefs.h" |
8772 /* Override any gcc2 internal prototype to avoid an error. */ | 8796 /* Override any gcc2 internal prototype to avoid an error. */ |
8773 /* 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 |
8774 builtin and then its argument prototype would still apply. */ | 8798 builtin and then its argument prototype would still apply. */ |
8775 char UnGenFace(); | 8799 char UnGenFace(); |
8776 | 8800 |
8777 int main() { | 8801 int main() { |
8778 UnGenFace() | 8802 UnGenFace() |
8779 ; return 0; } | 8803 ; return 0; } |
8780 EOF | 8804 EOF |
8781 if { (eval echo configure:8782: \"$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 |
8782 rm -rf conftest* | 8806 rm -rf conftest* |
8783 eval "ac_cv_lib_$ac_lib_var=yes" | 8807 eval "ac_cv_lib_$ac_lib_var=yes" |
8784 else | 8808 else |
8785 echo "configure: failed program was:" >&5 | 8809 echo "configure: failed program was:" >&5 |
8786 cat conftest.$ac_ext >&5 | 8810 cat conftest.$ac_ext >&5 |
8815 | 8839 |
8816 | 8840 |
8817 | 8841 |
8818 if test "$with_x11" = "yes"; then | 8842 if test "$with_x11" = "yes"; then |
8819 echo "checking for X11 graphics libraries" 1>&6 | 8843 echo "checking for X11 graphics libraries" 1>&6 |
8820 echo "configure:8821: checking for X11 graphics libraries" >&5 | 8844 echo "configure:8845: checking for X11 graphics libraries" >&5 |
8821 fi | 8845 fi |
8822 | 8846 |
8823 case "$with_widgets" in | 8847 case "$with_widgets" in |
8824 "yes" | "athena") detect_athena=yes ;; | 8848 "yes" | "athena") detect_athena=yes ;; |
8825 *) detect_athena=no ;; | 8849 *) detect_athena=no ;; |
8826 esac | 8850 esac |
8827 | 8851 |
8828 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 8852 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
8829 echo "checking for the Athena widgets" 1>&6 | 8853 echo "checking for the Athena widgets" 1>&6 |
8830 echo "configure:8831: checking for the Athena widgets" >&5 | 8854 echo "configure:8855: checking for the Athena widgets" >&5 |
8831 | 8855 |
8832 case "$with_athena" in | 8856 case "$with_athena" in |
8833 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8857 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
8834 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8858 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
8835 "next") athena_variant=neXtaw athena_3d=yes ;; | 8859 "next") athena_variant=neXtaw athena_3d=yes ;; |
8839 esac | 8863 esac |
8840 | 8864 |
8841 if test "$athena_3d" = "no"; then | 8865 if test "$athena_3d" = "no"; then |
8842 | 8866 |
8843 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8867 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8844 echo "configure:8845: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8868 echo "configure:8869: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8845 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8869 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8846 | 8870 |
8847 xe_check_libs=" -l$athena_variant " | 8871 xe_check_libs=" -l$athena_variant " |
8848 cat > conftest.$ac_ext <<EOF | 8872 cat > conftest.$ac_ext <<EOF |
8849 #line 8850 "configure" | 8873 #line 8874 "configure" |
8850 #include "confdefs.h" | 8874 #include "confdefs.h" |
8851 /* Override any gcc2 internal prototype to avoid an error. */ | 8875 /* Override any gcc2 internal prototype to avoid an error. */ |
8852 /* We use char because int might match the return type of a gcc2 | 8876 /* We use char because int might match the return type of a gcc2 |
8853 builtin and then its argument prototype would still apply. */ | 8877 builtin and then its argument prototype would still apply. */ |
8854 char XawScrollbarSetThumb(); | 8878 char XawScrollbarSetThumb(); |
8855 | 8879 |
8856 int main() { | 8880 int main() { |
8857 XawScrollbarSetThumb() | 8881 XawScrollbarSetThumb() |
8858 ; return 0; } | 8882 ; return 0; } |
8859 EOF | 8883 EOF |
8860 if { (eval echo configure:8861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8884 if { (eval echo configure:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8861 rm -rf conftest* | 8885 rm -rf conftest* |
8862 eval "ac_cv_lib_$ac_lib_var=yes" | 8886 eval "ac_cv_lib_$ac_lib_var=yes" |
8863 else | 8887 else |
8864 echo "configure: failed program was:" >&5 | 8888 echo "configure: failed program was:" >&5 |
8865 cat conftest.$ac_ext >&5 | 8889 cat conftest.$ac_ext >&5 |
8871 | 8895 |
8872 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8896 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8873 echo "$ac_t""yes" 1>&6 | 8897 echo "$ac_t""yes" 1>&6 |
8874 | 8898 |
8875 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8899 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8876 echo "configure:8877: checking for threeDClassRec in -l$athena_variant" >&5 | 8900 echo "configure:8901: checking for threeDClassRec in -l$athena_variant" >&5 |
8877 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8901 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8878 | 8902 |
8879 xe_check_libs=" -l$athena_variant " | 8903 xe_check_libs=" -l$athena_variant " |
8880 cat > conftest.$ac_ext <<EOF | 8904 cat > conftest.$ac_ext <<EOF |
8881 #line 8882 "configure" | 8905 #line 8906 "configure" |
8882 #include "confdefs.h" | 8906 #include "confdefs.h" |
8883 /* Override any gcc2 internal prototype to avoid an error. */ | 8907 /* Override any gcc2 internal prototype to avoid an error. */ |
8884 /* We use char because int might match the return type of a gcc2 | 8908 /* We use char because int might match the return type of a gcc2 |
8885 builtin and then its argument prototype would still apply. */ | 8909 builtin and then its argument prototype would still apply. */ |
8886 char threeDClassRec(); | 8910 char threeDClassRec(); |
8887 | 8911 |
8888 int main() { | 8912 int main() { |
8889 threeDClassRec() | 8913 threeDClassRec() |
8890 ; return 0; } | 8914 ; return 0; } |
8891 EOF | 8915 EOF |
8892 if { (eval echo configure:8893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8916 if { (eval echo configure:8917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8893 rm -rf conftest* | 8917 rm -rf conftest* |
8894 eval "ac_cv_lib_$ac_lib_var=yes" | 8918 eval "ac_cv_lib_$ac_lib_var=yes" |
8895 else | 8919 else |
8896 echo "configure: failed program was:" >&5 | 8920 echo "configure: failed program was:" >&5 |
8897 cat conftest.$ac_ext >&5 | 8921 cat conftest.$ac_ext >&5 |
8918 | 8942 |
8919 | 8943 |
8920 else | 8944 else |
8921 | 8945 |
8922 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8946 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8923 echo "configure:8924: checking for threeDClassRec in -l$athena_variant" >&5 | 8947 echo "configure:8948: checking for threeDClassRec in -l$athena_variant" >&5 |
8924 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8948 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8925 | 8949 |
8926 xe_check_libs=" -l$athena_variant " | 8950 xe_check_libs=" -l$athena_variant " |
8927 cat > conftest.$ac_ext <<EOF | 8951 cat > conftest.$ac_ext <<EOF |
8928 #line 8929 "configure" | 8952 #line 8953 "configure" |
8929 #include "confdefs.h" | 8953 #include "confdefs.h" |
8930 /* Override any gcc2 internal prototype to avoid an error. */ | 8954 /* Override any gcc2 internal prototype to avoid an error. */ |
8931 /* We use char because int might match the return type of a gcc2 | 8955 /* We use char because int might match the return type of a gcc2 |
8932 builtin and then its argument prototype would still apply. */ | 8956 builtin and then its argument prototype would still apply. */ |
8933 char threeDClassRec(); | 8957 char threeDClassRec(); |
8934 | 8958 |
8935 int main() { | 8959 int main() { |
8936 threeDClassRec() | 8960 threeDClassRec() |
8937 ; return 0; } | 8961 ; return 0; } |
8938 EOF | 8962 EOF |
8939 if { (eval echo configure:8940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8963 if { (eval echo configure:8964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8940 rm -rf conftest* | 8964 rm -rf conftest* |
8941 eval "ac_cv_lib_$ac_lib_var=yes" | 8965 eval "ac_cv_lib_$ac_lib_var=yes" |
8942 else | 8966 else |
8943 echo "configure: failed program was:" >&5 | 8967 echo "configure: failed program was:" >&5 |
8944 cat conftest.$ac_ext >&5 | 8968 cat conftest.$ac_ext >&5 |
8952 echo "$ac_t""yes" 1>&6 | 8976 echo "$ac_t""yes" 1>&6 |
8953 athena_lib=$athena_variant | 8977 athena_lib=$athena_variant |
8954 else | 8978 else |
8955 echo "$ac_t""no" 1>&6 | 8979 echo "$ac_t""no" 1>&6 |
8956 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8980 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8957 echo "configure:8958: checking for threeDClassRec in -lXaw" >&5 | 8981 echo "configure:8982: checking for threeDClassRec in -lXaw" >&5 |
8958 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8982 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8959 | 8983 |
8960 xe_check_libs=" -lXaw " | 8984 xe_check_libs=" -lXaw " |
8961 cat > conftest.$ac_ext <<EOF | 8985 cat > conftest.$ac_ext <<EOF |
8962 #line 8963 "configure" | 8986 #line 8987 "configure" |
8963 #include "confdefs.h" | 8987 #include "confdefs.h" |
8964 /* Override any gcc2 internal prototype to avoid an error. */ | 8988 /* Override any gcc2 internal prototype to avoid an error. */ |
8965 /* We use char because int might match the return type of a gcc2 | 8989 /* We use char because int might match the return type of a gcc2 |
8966 builtin and then its argument prototype would still apply. */ | 8990 builtin and then its argument prototype would still apply. */ |
8967 char threeDClassRec(); | 8991 char threeDClassRec(); |
8968 | 8992 |
8969 int main() { | 8993 int main() { |
8970 threeDClassRec() | 8994 threeDClassRec() |
8971 ; return 0; } | 8995 ; return 0; } |
8972 EOF | 8996 EOF |
8973 if { (eval echo configure:8974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8997 if { (eval echo configure:8998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8974 rm -rf conftest* | 8998 rm -rf conftest* |
8975 eval "ac_cv_lib_$ac_lib_var=yes" | 8999 eval "ac_cv_lib_$ac_lib_var=yes" |
8976 else | 9000 else |
8977 echo "configure: failed program was:" >&5 | 9001 echo "configure: failed program was:" >&5 |
8978 cat conftest.$ac_ext >&5 | 9002 cat conftest.$ac_ext >&5 |
8999 fi | 9023 fi |
9000 | 9024 |
9001 if test "$athena_3d" = "no"; then | 9025 if test "$athena_3d" = "no"; then |
9002 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9026 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9003 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9027 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9004 echo "configure:9005: checking for X11/Xaw/ThreeD.h" >&5 | 9028 echo "configure:9029: checking for X11/Xaw/ThreeD.h" >&5 |
9005 | 9029 |
9006 cat > conftest.$ac_ext <<EOF | 9030 cat > conftest.$ac_ext <<EOF |
9007 #line 9008 "configure" | 9031 #line 9032 "configure" |
9008 #include "confdefs.h" | 9032 #include "confdefs.h" |
9009 #include <X11/Xaw/ThreeD.h> | 9033 #include <X11/Xaw/ThreeD.h> |
9010 EOF | 9034 EOF |
9011 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9012 { (eval echo configure:9013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9036 { (eval echo configure:9037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9013 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9037 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9014 if test -z "$ac_err"; then | 9038 if test -z "$ac_err"; then |
9015 rm -rf conftest* | 9039 rm -rf conftest* |
9016 eval "ac_cv_header_$ac_safe=yes" | 9040 eval "ac_cv_header_$ac_safe=yes" |
9017 else | 9041 else |
9027 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 9051 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
9028 else | 9052 else |
9029 echo "$ac_t""no" 1>&6 | 9053 echo "$ac_t""no" 1>&6 |
9030 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 9054 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
9031 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 9055 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
9032 echo "configure:9033: checking for X11/Xaw/XawInit.h" >&5 | 9056 echo "configure:9057: checking for X11/Xaw/XawInit.h" >&5 |
9033 | 9057 |
9034 cat > conftest.$ac_ext <<EOF | 9058 cat > conftest.$ac_ext <<EOF |
9035 #line 9036 "configure" | 9059 #line 9060 "configure" |
9036 #include "confdefs.h" | 9060 #include "confdefs.h" |
9037 #include <X11/Xaw/XawInit.h> | 9061 #include <X11/Xaw/XawInit.h> |
9038 EOF | 9062 EOF |
9039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9063 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9040 { (eval echo configure:9041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9064 { (eval echo configure:9065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9065 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9042 if test -z "$ac_err"; then | 9066 if test -z "$ac_err"; then |
9043 rm -rf conftest* | 9067 rm -rf conftest* |
9044 eval "ac_cv_header_$ac_safe=yes" | 9068 eval "ac_cv_header_$ac_safe=yes" |
9045 else | 9069 else |
9061 fi | 9085 fi |
9062 | 9086 |
9063 else | 9087 else |
9064 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9088 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9065 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 9089 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
9066 echo "configure:9067: checking for X11/$athena_variant/XawInit.h" >&5 | 9090 echo "configure:9091: checking for X11/$athena_variant/XawInit.h" >&5 |
9067 | 9091 |
9068 cat > conftest.$ac_ext <<EOF | 9092 cat > conftest.$ac_ext <<EOF |
9069 #line 9070 "configure" | 9093 #line 9094 "configure" |
9070 #include "confdefs.h" | 9094 #include "confdefs.h" |
9071 #include <X11/$athena_variant/XawInit.h> | 9095 #include <X11/$athena_variant/XawInit.h> |
9072 EOF | 9096 EOF |
9073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9097 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9074 { (eval echo configure:9075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9098 { (eval echo configure:9099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9099 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9076 if test -z "$ac_err"; then | 9100 if test -z "$ac_err"; then |
9077 rm -rf conftest* | 9101 rm -rf conftest* |
9078 eval "ac_cv_header_$ac_safe=yes" | 9102 eval "ac_cv_header_$ac_safe=yes" |
9079 else | 9103 else |
9086 rm -f conftest* | 9110 rm -f conftest* |
9087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9111 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9088 echo "$ac_t""yes" 1>&6 | 9112 echo "$ac_t""yes" 1>&6 |
9089 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9113 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9090 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9114 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9091 echo "configure:9092: checking for X11/$athena_variant/ThreeD.h" >&5 | 9115 echo "configure:9116: checking for X11/$athena_variant/ThreeD.h" >&5 |
9092 | 9116 |
9093 cat > conftest.$ac_ext <<EOF | 9117 cat > conftest.$ac_ext <<EOF |
9094 #line 9095 "configure" | 9118 #line 9119 "configure" |
9095 #include "confdefs.h" | 9119 #include "confdefs.h" |
9096 #include <X11/$athena_variant/ThreeD.h> | 9120 #include <X11/$athena_variant/ThreeD.h> |
9097 EOF | 9121 EOF |
9098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9099 { (eval echo configure:9100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9123 { (eval echo configure:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9100 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9101 if test -z "$ac_err"; then | 9125 if test -z "$ac_err"; then |
9102 rm -rf conftest* | 9126 rm -rf conftest* |
9103 eval "ac_cv_header_$ac_safe=yes" | 9127 eval "ac_cv_header_$ac_safe=yes" |
9104 else | 9128 else |
9122 | 9146 |
9123 | 9147 |
9124 if test -z "$athena_h_path"; then | 9148 if test -z "$athena_h_path"; then |
9125 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 9149 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
9126 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 9150 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
9127 echo "configure:9128: checking for $athena_variant/XawInit.h" >&5 | 9151 echo "configure:9152: checking for $athena_variant/XawInit.h" >&5 |
9128 | 9152 |
9129 cat > conftest.$ac_ext <<EOF | 9153 cat > conftest.$ac_ext <<EOF |
9130 #line 9131 "configure" | 9154 #line 9155 "configure" |
9131 #include "confdefs.h" | 9155 #include "confdefs.h" |
9132 #include <$athena_variant/XawInit.h> | 9156 #include <$athena_variant/XawInit.h> |
9133 EOF | 9157 EOF |
9134 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9135 { (eval echo configure:9136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9159 { (eval echo configure:9160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9136 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9137 if test -z "$ac_err"; then | 9161 if test -z "$ac_err"; then |
9138 rm -rf conftest* | 9162 rm -rf conftest* |
9139 eval "ac_cv_header_$ac_safe=yes" | 9163 eval "ac_cv_header_$ac_safe=yes" |
9140 else | 9164 else |
9147 rm -f conftest* | 9171 rm -f conftest* |
9148 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9172 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9149 echo "$ac_t""yes" 1>&6 | 9173 echo "$ac_t""yes" 1>&6 |
9150 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 9174 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
9151 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 9175 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
9152 echo "configure:9153: checking for $athena_variant/ThreeD.h" >&5 | 9176 echo "configure:9177: checking for $athena_variant/ThreeD.h" >&5 |
9153 | 9177 |
9154 cat > conftest.$ac_ext <<EOF | 9178 cat > conftest.$ac_ext <<EOF |
9155 #line 9156 "configure" | 9179 #line 9180 "configure" |
9156 #include "confdefs.h" | 9180 #include "confdefs.h" |
9157 #include <$athena_variant/ThreeD.h> | 9181 #include <$athena_variant/ThreeD.h> |
9158 EOF | 9182 EOF |
9159 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9183 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9160 { (eval echo configure:9161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9184 { (eval echo configure:9185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9161 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9185 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9162 if test -z "$ac_err"; then | 9186 if test -z "$ac_err"; then |
9163 rm -rf conftest* | 9187 rm -rf conftest* |
9164 eval "ac_cv_header_$ac_safe=yes" | 9188 eval "ac_cv_header_$ac_safe=yes" |
9165 else | 9189 else |
9184 fi | 9208 fi |
9185 | 9209 |
9186 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9210 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9187 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9211 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9188 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9212 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9189 echo "configure:9190: checking for X11/Xaw3d/XawInit.h" >&5 | 9213 echo "configure:9214: checking for X11/Xaw3d/XawInit.h" >&5 |
9190 | 9214 |
9191 cat > conftest.$ac_ext <<EOF | 9215 cat > conftest.$ac_ext <<EOF |
9192 #line 9193 "configure" | 9216 #line 9217 "configure" |
9193 #include "confdefs.h" | 9217 #include "confdefs.h" |
9194 #include <X11/Xaw3d/XawInit.h> | 9218 #include <X11/Xaw3d/XawInit.h> |
9195 EOF | 9219 EOF |
9196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9220 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9197 { (eval echo configure:9198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9221 { (eval echo configure:9222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9198 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9222 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9199 if test -z "$ac_err"; then | 9223 if test -z "$ac_err"; then |
9200 rm -rf conftest* | 9224 rm -rf conftest* |
9201 eval "ac_cv_header_$ac_safe=yes" | 9225 eval "ac_cv_header_$ac_safe=yes" |
9202 else | 9226 else |
9209 rm -f conftest* | 9233 rm -f conftest* |
9210 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9234 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9211 echo "$ac_t""yes" 1>&6 | 9235 echo "$ac_t""yes" 1>&6 |
9212 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9236 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9213 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9237 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9214 echo "configure:9215: checking for X11/Xaw3d/ThreeD.h" >&5 | 9238 echo "configure:9239: checking for X11/Xaw3d/ThreeD.h" >&5 |
9215 | 9239 |
9216 cat > conftest.$ac_ext <<EOF | 9240 cat > conftest.$ac_ext <<EOF |
9217 #line 9218 "configure" | 9241 #line 9242 "configure" |
9218 #include "confdefs.h" | 9242 #include "confdefs.h" |
9219 #include <X11/Xaw3d/ThreeD.h> | 9243 #include <X11/Xaw3d/ThreeD.h> |
9220 EOF | 9244 EOF |
9221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9222 { (eval echo configure:9223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9246 { (eval echo configure:9247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9224 if test -z "$ac_err"; then | 9248 if test -z "$ac_err"; then |
9225 rm -rf conftest* | 9249 rm -rf conftest* |
9226 eval "ac_cv_header_$ac_safe=yes" | 9250 eval "ac_cv_header_$ac_safe=yes" |
9227 else | 9251 else |
9249 fi | 9273 fi |
9250 | 9274 |
9251 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 9275 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
9252 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 9276 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
9253 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 9277 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
9254 echo "configure:9255: checking for Xaw3d/XawInit.h" >&5 | 9278 echo "configure:9279: checking for Xaw3d/XawInit.h" >&5 |
9255 | 9279 |
9256 cat > conftest.$ac_ext <<EOF | 9280 cat > conftest.$ac_ext <<EOF |
9257 #line 9258 "configure" | 9281 #line 9282 "configure" |
9258 #include "confdefs.h" | 9282 #include "confdefs.h" |
9259 #include <Xaw3d/XawInit.h> | 9283 #include <Xaw3d/XawInit.h> |
9260 EOF | 9284 EOF |
9261 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9285 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9262 { (eval echo configure:9263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9286 { (eval echo configure:9287: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9263 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9287 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9264 if test -z "$ac_err"; then | 9288 if test -z "$ac_err"; then |
9265 rm -rf conftest* | 9289 rm -rf conftest* |
9266 eval "ac_cv_header_$ac_safe=yes" | 9290 eval "ac_cv_header_$ac_safe=yes" |
9267 else | 9291 else |
9274 rm -f conftest* | 9298 rm -f conftest* |
9275 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9299 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9276 echo "$ac_t""yes" 1>&6 | 9300 echo "$ac_t""yes" 1>&6 |
9277 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 9301 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
9278 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 9302 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
9279 echo "configure:9280: checking for Xaw3d/ThreeD.h" >&5 | 9303 echo "configure:9304: checking for Xaw3d/ThreeD.h" >&5 |
9280 | 9304 |
9281 cat > conftest.$ac_ext <<EOF | 9305 cat > conftest.$ac_ext <<EOF |
9282 #line 9283 "configure" | 9306 #line 9307 "configure" |
9283 #include "confdefs.h" | 9307 #include "confdefs.h" |
9284 #include <Xaw3d/ThreeD.h> | 9308 #include <Xaw3d/ThreeD.h> |
9285 EOF | 9309 EOF |
9286 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9310 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9287 { (eval echo configure:9288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9311 { (eval echo configure:9312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9288 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9312 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9289 if test -z "$ac_err"; then | 9313 if test -z "$ac_err"; then |
9290 rm -rf conftest* | 9314 rm -rf conftest* |
9291 eval "ac_cv_header_$ac_safe=yes" | 9315 eval "ac_cv_header_$ac_safe=yes" |
9292 else | 9316 else |
9314 fi | 9338 fi |
9315 | 9339 |
9316 if test -z "$athena_h_path"; then | 9340 if test -z "$athena_h_path"; then |
9317 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 9341 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
9318 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 9342 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
9319 echo "configure:9320: checking for X11/Xaw/ThreeD.h" >&5 | 9343 echo "configure:9344: checking for X11/Xaw/ThreeD.h" >&5 |
9320 | 9344 |
9321 cat > conftest.$ac_ext <<EOF | 9345 cat > conftest.$ac_ext <<EOF |
9322 #line 9323 "configure" | 9346 #line 9347 "configure" |
9323 #include "confdefs.h" | 9347 #include "confdefs.h" |
9324 #include <X11/Xaw/ThreeD.h> | 9348 #include <X11/Xaw/ThreeD.h> |
9325 EOF | 9349 EOF |
9326 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9327 { (eval echo configure:9328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9351 { (eval echo configure:9352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9328 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9329 if test -z "$ac_err"; then | 9353 if test -z "$ac_err"; then |
9330 rm -rf conftest* | 9354 rm -rf conftest* |
9331 eval "ac_cv_header_$ac_safe=yes" | 9355 eval "ac_cv_header_$ac_safe=yes" |
9332 else | 9356 else |
9361 have_xaw=no | 9385 have_xaw=no |
9362 fi | 9386 fi |
9363 if test "$with_x11" = "yes"; then | 9387 if test "$with_x11" = "yes"; then |
9364 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 9388 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
9365 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 9389 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
9366 echo "configure:9367: checking for Xm/Xm.h" >&5 | 9390 echo "configure:9391: checking for Xm/Xm.h" >&5 |
9367 | 9391 |
9368 cat > conftest.$ac_ext <<EOF | 9392 cat > conftest.$ac_ext <<EOF |
9369 #line 9370 "configure" | 9393 #line 9394 "configure" |
9370 #include "confdefs.h" | 9394 #include "confdefs.h" |
9371 #include <Xm/Xm.h> | 9395 #include <Xm/Xm.h> |
9372 EOF | 9396 EOF |
9373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9374 { (eval echo configure:9375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9398 { (eval echo configure:9399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9376 if test -z "$ac_err"; then | 9400 if test -z "$ac_err"; then |
9377 rm -rf conftest* | 9401 rm -rf conftest* |
9378 eval "ac_cv_header_$ac_safe=yes" | 9402 eval "ac_cv_header_$ac_safe=yes" |
9379 else | 9403 else |
9386 rm -f conftest* | 9410 rm -f conftest* |
9387 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 9411 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
9388 echo "$ac_t""yes" 1>&6 | 9412 echo "$ac_t""yes" 1>&6 |
9389 | 9413 |
9390 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 9414 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
9391 echo "configure:9392: checking for XmStringFree in -lXm" >&5 | 9415 echo "configure:9416: checking for XmStringFree in -lXm" >&5 |
9392 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 9416 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
9393 | 9417 |
9394 xe_check_libs=" -lXm " | 9418 xe_check_libs=" -lXm " |
9395 cat > conftest.$ac_ext <<EOF | 9419 cat > conftest.$ac_ext <<EOF |
9396 #line 9397 "configure" | 9420 #line 9421 "configure" |
9397 #include "confdefs.h" | 9421 #include "confdefs.h" |
9398 /* Override any gcc2 internal prototype to avoid an error. */ | 9422 /* Override any gcc2 internal prototype to avoid an error. */ |
9399 /* We use char because int might match the return type of a gcc2 | 9423 /* We use char because int might match the return type of a gcc2 |
9400 builtin and then its argument prototype would still apply. */ | 9424 builtin and then its argument prototype would still apply. */ |
9401 char XmStringFree(); | 9425 char XmStringFree(); |
9402 | 9426 |
9403 int main() { | 9427 int main() { |
9404 XmStringFree() | 9428 XmStringFree() |
9405 ; return 0; } | 9429 ; return 0; } |
9406 EOF | 9430 EOF |
9407 if { (eval echo configure:9408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9431 if { (eval echo configure:9432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9408 rm -rf conftest* | 9432 rm -rf conftest* |
9409 eval "ac_cv_lib_$ac_lib_var=yes" | 9433 eval "ac_cv_lib_$ac_lib_var=yes" |
9410 else | 9434 else |
9411 echo "configure: failed program was:" >&5 | 9435 echo "configure: failed program was:" >&5 |
9412 cat conftest.$ac_ext >&5 | 9436 cat conftest.$ac_ext >&5 |
9431 fi | 9455 fi |
9432 | 9456 |
9433 | 9457 |
9434 if test "$have_motif" = "yes"; then | 9458 if test "$have_motif" = "yes"; then |
9435 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 9459 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
9436 echo "configure:9437: checking for Lesstif" >&5 | 9460 echo "configure:9461: checking for Lesstif" >&5 |
9437 cat > conftest.$ac_ext <<EOF | 9461 cat > conftest.$ac_ext <<EOF |
9438 #line 9439 "configure" | 9462 #line 9463 "configure" |
9439 #include "confdefs.h" | 9463 #include "confdefs.h" |
9440 #include <Xm/Xm.h> | 9464 #include <Xm/Xm.h> |
9441 #ifdef LESSTIF_VERSION | 9465 #ifdef LESSTIF_VERSION |
9442 yes | 9466 yes |
9443 #endif | 9467 #endif |
9806 | 9830 |
9807 fi | 9831 fi |
9808 | 9832 |
9809 if test "$with_mule" = "yes" ; then | 9833 if test "$with_mule" = "yes" ; then |
9810 echo "checking for Mule-related features" 1>&6 | 9834 echo "checking for Mule-related features" 1>&6 |
9811 echo "configure:9812: checking for Mule-related features" >&5 | 9835 echo "configure:9836: checking for Mule-related features" >&5 |
9812 { test "$extra_verbose" = "yes" && cat << \EOF | 9836 { test "$extra_verbose" = "yes" && cat << \EOF |
9813 Defining MULE | 9837 Defining MULE |
9814 EOF | 9838 EOF |
9815 cat >> confdefs.h <<\EOF | 9839 cat >> confdefs.h <<\EOF |
9816 #define MULE 1 | 9840 #define MULE 1 |
9820 | 9844 |
9821 for ac_hdr in libintl.h | 9845 for ac_hdr in libintl.h |
9822 do | 9846 do |
9823 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9847 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
9824 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9848 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
9825 echo "configure:9826: checking for $ac_hdr" >&5 | 9849 echo "configure:9850: checking for $ac_hdr" >&5 |
9826 | 9850 |
9827 cat > conftest.$ac_ext <<EOF | 9851 cat > conftest.$ac_ext <<EOF |
9828 #line 9829 "configure" | 9852 #line 9853 "configure" |
9829 #include "confdefs.h" | 9853 #include "confdefs.h" |
9830 #include <$ac_hdr> | 9854 #include <$ac_hdr> |
9831 EOF | 9855 EOF |
9832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9856 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9833 { (eval echo configure:9834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9857 { (eval echo configure:9858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9834 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9858 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9835 if test -z "$ac_err"; then | 9859 if test -z "$ac_err"; then |
9836 rm -rf conftest* | 9860 rm -rf conftest* |
9837 eval "ac_cv_header_$ac_safe=yes" | 9861 eval "ac_cv_header_$ac_safe=yes" |
9838 else | 9862 else |
9859 fi | 9883 fi |
9860 done | 9884 done |
9861 | 9885 |
9862 | 9886 |
9863 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9887 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
9864 echo "configure:9865: checking for strerror in -lintl" >&5 | 9888 echo "configure:9889: checking for strerror in -lintl" >&5 |
9865 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9889 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
9866 | 9890 |
9867 xe_check_libs=" -lintl " | 9891 xe_check_libs=" -lintl " |
9868 cat > conftest.$ac_ext <<EOF | 9892 cat > conftest.$ac_ext <<EOF |
9869 #line 9870 "configure" | 9893 #line 9894 "configure" |
9870 #include "confdefs.h" | 9894 #include "confdefs.h" |
9871 /* Override any gcc2 internal prototype to avoid an error. */ | 9895 /* Override any gcc2 internal prototype to avoid an error. */ |
9872 /* We use char because int might match the return type of a gcc2 | 9896 /* We use char because int might match the return type of a gcc2 |
9873 builtin and then its argument prototype would still apply. */ | 9897 builtin and then its argument prototype would still apply. */ |
9874 char strerror(); | 9898 char strerror(); |
9875 | 9899 |
9876 int main() { | 9900 int main() { |
9877 strerror() | 9901 strerror() |
9878 ; return 0; } | 9902 ; return 0; } |
9879 EOF | 9903 EOF |
9880 if { (eval echo configure:9881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9904 if { (eval echo configure:9905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9881 rm -rf conftest* | 9905 rm -rf conftest* |
9882 eval "ac_cv_lib_$ac_lib_var=yes" | 9906 eval "ac_cv_lib_$ac_lib_var=yes" |
9883 else | 9907 else |
9884 echo "configure: failed program was:" >&5 | 9908 echo "configure: failed program was:" >&5 |
9885 cat conftest.$ac_ext >&5 | 9909 cat conftest.$ac_ext >&5 |
9908 fi | 9932 fi |
9909 | 9933 |
9910 | 9934 |
9911 | 9935 |
9912 echo "checking for Mule input methods" 1>&6 | 9936 echo "checking for Mule input methods" 1>&6 |
9913 echo "configure:9914: checking for Mule input methods" >&5 | 9937 echo "configure:9938: checking for Mule input methods" >&5 |
9914 case "$with_xim" in "" | "yes" ) | 9938 case "$with_xim" in "" | "yes" ) |
9915 echo "checking for XIM" 1>&6 | 9939 echo "checking for XIM" 1>&6 |
9916 echo "configure:9917: checking for XIM" >&5 | 9940 echo "configure:9941: checking for XIM" >&5 |
9917 | 9941 |
9918 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9942 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9919 echo "configure:9920: checking for XOpenIM in -lX11" >&5 | 9943 echo "configure:9944: checking for XOpenIM in -lX11" >&5 |
9920 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9944 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9921 | 9945 |
9922 xe_check_libs=" -lX11 " | 9946 xe_check_libs=" -lX11 " |
9923 cat > conftest.$ac_ext <<EOF | 9947 cat > conftest.$ac_ext <<EOF |
9924 #line 9925 "configure" | 9948 #line 9949 "configure" |
9925 #include "confdefs.h" | 9949 #include "confdefs.h" |
9926 /* Override any gcc2 internal prototype to avoid an error. */ | 9950 /* Override any gcc2 internal prototype to avoid an error. */ |
9927 /* We use char because int might match the return type of a gcc2 | 9951 /* We use char because int might match the return type of a gcc2 |
9928 builtin and then its argument prototype would still apply. */ | 9952 builtin and then its argument prototype would still apply. */ |
9929 char XOpenIM(); | 9953 char XOpenIM(); |
9930 | 9954 |
9931 int main() { | 9955 int main() { |
9932 XOpenIM() | 9956 XOpenIM() |
9933 ; return 0; } | 9957 ; return 0; } |
9934 EOF | 9958 EOF |
9935 if { (eval echo configure:9936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9959 if { (eval echo configure:9960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9936 rm -rf conftest* | 9960 rm -rf conftest* |
9937 eval "ac_cv_lib_$ac_lib_var=yes" | 9961 eval "ac_cv_lib_$ac_lib_var=yes" |
9938 else | 9962 else |
9939 echo "configure: failed program was:" >&5 | 9963 echo "configure: failed program was:" >&5 |
9940 cat conftest.$ac_ext >&5 | 9964 cat conftest.$ac_ext >&5 |
9954 | 9978 |
9955 | 9979 |
9956 if test "$have_motif $have_lesstif" = "yes no"; then | 9980 if test "$have_motif $have_lesstif" = "yes no"; then |
9957 | 9981 |
9958 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9982 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9959 echo "configure:9960: checking for XmImMbLookupString in -lXm" >&5 | 9983 echo "configure:9984: checking for XmImMbLookupString in -lXm" >&5 |
9960 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9984 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9961 | 9985 |
9962 xe_check_libs=" -lXm " | 9986 xe_check_libs=" -lXm " |
9963 cat > conftest.$ac_ext <<EOF | 9987 cat > conftest.$ac_ext <<EOF |
9964 #line 9965 "configure" | 9988 #line 9989 "configure" |
9965 #include "confdefs.h" | 9989 #include "confdefs.h" |
9966 /* Override any gcc2 internal prototype to avoid an error. */ | 9990 /* Override any gcc2 internal prototype to avoid an error. */ |
9967 /* We use char because int might match the return type of a gcc2 | 9991 /* We use char because int might match the return type of a gcc2 |
9968 builtin and then its argument prototype would still apply. */ | 9992 builtin and then its argument prototype would still apply. */ |
9969 char XmImMbLookupString(); | 9993 char XmImMbLookupString(); |
9970 | 9994 |
9971 int main() { | 9995 int main() { |
9972 XmImMbLookupString() | 9996 XmImMbLookupString() |
9973 ; return 0; } | 9997 ; return 0; } |
9974 EOF | 9998 EOF |
9975 if { (eval echo configure:9976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9999 if { (eval echo configure:10000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9976 rm -rf conftest* | 10000 rm -rf conftest* |
9977 eval "ac_cv_lib_$ac_lib_var=yes" | 10001 eval "ac_cv_lib_$ac_lib_var=yes" |
9978 else | 10002 else |
9979 echo "configure: failed program was:" >&5 | 10003 echo "configure: failed program was:" >&5 |
9980 cat conftest.$ac_ext >&5 | 10004 cat conftest.$ac_ext >&5 |
10035 fi | 10059 fi |
10036 fi | 10060 fi |
10037 | 10061 |
10038 if test "$with_xfs" = "yes" ; then | 10062 if test "$with_xfs" = "yes" ; then |
10039 echo "checking for XFontSet" 1>&6 | 10063 echo "checking for XFontSet" 1>&6 |
10040 echo "configure:10041: checking for XFontSet" >&5 | 10064 echo "configure:10065: checking for XFontSet" >&5 |
10041 | 10065 |
10042 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 10066 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
10043 echo "configure:10044: checking for XmbDrawString in -lX11" >&5 | 10067 echo "configure:10068: checking for XmbDrawString in -lX11" >&5 |
10044 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 10068 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
10045 | 10069 |
10046 xe_check_libs=" -lX11 " | 10070 xe_check_libs=" -lX11 " |
10047 cat > conftest.$ac_ext <<EOF | 10071 cat > conftest.$ac_ext <<EOF |
10048 #line 10049 "configure" | 10072 #line 10073 "configure" |
10049 #include "confdefs.h" | 10073 #include "confdefs.h" |
10050 /* Override any gcc2 internal prototype to avoid an error. */ | 10074 /* Override any gcc2 internal prototype to avoid an error. */ |
10051 /* We use char because int might match the return type of a gcc2 | 10075 /* We use char because int might match the return type of a gcc2 |
10052 builtin and then its argument prototype would still apply. */ | 10076 builtin and then its argument prototype would still apply. */ |
10053 char XmbDrawString(); | 10077 char XmbDrawString(); |
10054 | 10078 |
10055 int main() { | 10079 int main() { |
10056 XmbDrawString() | 10080 XmbDrawString() |
10057 ; return 0; } | 10081 ; return 0; } |
10058 EOF | 10082 EOF |
10059 if { (eval echo configure:10060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10083 if { (eval echo configure:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10060 rm -rf conftest* | 10084 rm -rf conftest* |
10061 eval "ac_cv_lib_$ac_lib_var=yes" | 10085 eval "ac_cv_lib_$ac_lib_var=yes" |
10062 else | 10086 else |
10063 echo "configure: failed program was:" >&5 | 10087 echo "configure: failed program was:" >&5 |
10064 cat conftest.$ac_ext >&5 | 10088 cat conftest.$ac_ext >&5 |
10094 fi | 10118 fi |
10095 fi | 10119 fi |
10096 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 10120 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
10097 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 10121 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
10098 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 10122 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
10099 echo "configure:10100: checking for wnn/jllib.h" >&5 | 10123 echo "configure:10124: checking for wnn/jllib.h" >&5 |
10100 | 10124 |
10101 cat > conftest.$ac_ext <<EOF | 10125 cat > conftest.$ac_ext <<EOF |
10102 #line 10103 "configure" | 10126 #line 10127 "configure" |
10103 #include "confdefs.h" | 10127 #include "confdefs.h" |
10104 #include <wnn/jllib.h> | 10128 #include <wnn/jllib.h> |
10105 EOF | 10129 EOF |
10106 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10130 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10107 { (eval echo configure:10108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10131 { (eval echo configure:10132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10108 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10132 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10109 if test -z "$ac_err"; then | 10133 if test -z "$ac_err"; then |
10110 rm -rf conftest* | 10134 rm -rf conftest* |
10111 eval "ac_cv_header_$ac_safe=yes" | 10135 eval "ac_cv_header_$ac_safe=yes" |
10112 else | 10136 else |
10125 with_wnn=no | 10149 with_wnn=no |
10126 fi | 10150 fi |
10127 } | 10151 } |
10128 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 10152 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
10129 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 10153 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
10130 echo "configure:10131: checking for wnn/commonhd.h" >&5 | 10154 echo "configure:10155: checking for wnn/commonhd.h" >&5 |
10131 | 10155 |
10132 cat > conftest.$ac_ext <<EOF | 10156 cat > conftest.$ac_ext <<EOF |
10133 #line 10134 "configure" | 10157 #line 10158 "configure" |
10134 #include "confdefs.h" | 10158 #include "confdefs.h" |
10135 #include <wnn/commonhd.h> | 10159 #include <wnn/commonhd.h> |
10136 EOF | 10160 EOF |
10137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10138 { (eval echo configure:10139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10162 { (eval echo configure:10163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10139 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10140 if test -z "$ac_err"; then | 10164 if test -z "$ac_err"; then |
10141 rm -rf conftest* | 10165 rm -rf conftest* |
10142 eval "ac_cv_header_$ac_safe=yes" | 10166 eval "ac_cv_header_$ac_safe=yes" |
10143 else | 10167 else |
10158 } | 10182 } |
10159 if test "$with_wnn" != "no"; then | 10183 if test "$with_wnn" != "no"; then |
10160 for ac_func in crypt | 10184 for ac_func in crypt |
10161 do | 10185 do |
10162 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10186 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10163 echo "configure:10164: checking for $ac_func" >&5 | 10187 echo "configure:10188: checking for $ac_func" >&5 |
10164 | 10188 |
10165 cat > conftest.$ac_ext <<EOF | 10189 cat > conftest.$ac_ext <<EOF |
10166 #line 10167 "configure" | 10190 #line 10191 "configure" |
10167 #include "confdefs.h" | 10191 #include "confdefs.h" |
10168 /* System header to define __stub macros and hopefully few prototypes, | 10192 /* System header to define __stub macros and hopefully few prototypes, |
10169 which can conflict with char $ac_func(); below. */ | 10193 which can conflict with char $ac_func(); below. */ |
10170 #include <assert.h> | 10194 #include <assert.h> |
10171 /* Override any gcc2 internal prototype to avoid an error. */ | 10195 /* Override any gcc2 internal prototype to avoid an error. */ |
10184 $ac_func(); | 10208 $ac_func(); |
10185 #endif | 10209 #endif |
10186 | 10210 |
10187 ; return 0; } | 10211 ; return 0; } |
10188 EOF | 10212 EOF |
10189 if { (eval echo configure:10190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10213 if { (eval echo configure:10214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10190 rm -rf conftest* | 10214 rm -rf conftest* |
10191 eval "ac_cv_func_$ac_func=yes" | 10215 eval "ac_cv_func_$ac_func=yes" |
10192 else | 10216 else |
10193 echo "configure: failed program was:" >&5 | 10217 echo "configure: failed program was:" >&5 |
10194 cat conftest.$ac_ext >&5 | 10218 cat conftest.$ac_ext >&5 |
10213 fi | 10237 fi |
10214 done | 10238 done |
10215 | 10239 |
10216 test "$ac_cv_func_crypt" != "yes" && { | 10240 test "$ac_cv_func_crypt" != "yes" && { |
10217 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 10241 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
10218 echo "configure:10219: checking for crypt in -lcrypt" >&5 | 10242 echo "configure:10243: checking for crypt in -lcrypt" >&5 |
10219 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 10243 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
10220 | 10244 |
10221 xe_check_libs=" -lcrypt " | 10245 xe_check_libs=" -lcrypt " |
10222 cat > conftest.$ac_ext <<EOF | 10246 cat > conftest.$ac_ext <<EOF |
10223 #line 10224 "configure" | 10247 #line 10248 "configure" |
10224 #include "confdefs.h" | 10248 #include "confdefs.h" |
10225 /* Override any gcc2 internal prototype to avoid an error. */ | 10249 /* Override any gcc2 internal prototype to avoid an error. */ |
10226 /* We use char because int might match the return type of a gcc2 | 10250 /* We use char because int might match the return type of a gcc2 |
10227 builtin and then its argument prototype would still apply. */ | 10251 builtin and then its argument prototype would still apply. */ |
10228 char crypt(); | 10252 char crypt(); |
10229 | 10253 |
10230 int main() { | 10254 int main() { |
10231 crypt() | 10255 crypt() |
10232 ; return 0; } | 10256 ; return 0; } |
10233 EOF | 10257 EOF |
10234 if { (eval echo configure:10235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10258 if { (eval echo configure:10259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10235 rm -rf conftest* | 10259 rm -rf conftest* |
10236 eval "ac_cv_lib_$ac_lib_var=yes" | 10260 eval "ac_cv_lib_$ac_lib_var=yes" |
10237 else | 10261 else |
10238 echo "configure: failed program was:" >&5 | 10262 echo "configure: failed program was:" >&5 |
10239 cat conftest.$ac_ext >&5 | 10263 cat conftest.$ac_ext >&5 |
10264 } | 10288 } |
10265 fi | 10289 fi |
10266 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 10290 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
10267 | 10291 |
10268 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 10292 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
10269 echo "configure:10270: checking for jl_dic_list_e in -lwnn" >&5 | 10293 echo "configure:10294: checking for jl_dic_list_e in -lwnn" >&5 |
10270 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10294 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10271 | 10295 |
10272 xe_check_libs=" -lwnn " | 10296 xe_check_libs=" -lwnn " |
10273 cat > conftest.$ac_ext <<EOF | 10297 cat > conftest.$ac_ext <<EOF |
10274 #line 10275 "configure" | 10298 #line 10299 "configure" |
10275 #include "confdefs.h" | 10299 #include "confdefs.h" |
10276 /* Override any gcc2 internal prototype to avoid an error. */ | 10300 /* Override any gcc2 internal prototype to avoid an error. */ |
10277 /* We use char because int might match the return type of a gcc2 | 10301 /* We use char because int might match the return type of a gcc2 |
10278 builtin and then its argument prototype would still apply. */ | 10302 builtin and then its argument prototype would still apply. */ |
10279 char jl_dic_list_e(); | 10303 char jl_dic_list_e(); |
10280 | 10304 |
10281 int main() { | 10305 int main() { |
10282 jl_dic_list_e() | 10306 jl_dic_list_e() |
10283 ; return 0; } | 10307 ; return 0; } |
10284 EOF | 10308 EOF |
10285 if { (eval echo configure:10286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10309 if { (eval echo configure:10310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10286 rm -rf conftest* | 10310 rm -rf conftest* |
10287 eval "ac_cv_lib_$ac_lib_var=yes" | 10311 eval "ac_cv_lib_$ac_lib_var=yes" |
10288 else | 10312 else |
10289 echo "configure: failed program was:" >&5 | 10313 echo "configure: failed program was:" >&5 |
10290 cat conftest.$ac_ext >&5 | 10314 cat conftest.$ac_ext >&5 |
10298 echo "$ac_t""yes" 1>&6 | 10322 echo "$ac_t""yes" 1>&6 |
10299 libwnn=wnn | 10323 libwnn=wnn |
10300 else | 10324 else |
10301 echo "$ac_t""no" 1>&6 | 10325 echo "$ac_t""no" 1>&6 |
10302 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 10326 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
10303 echo "configure:10304: checking for jl_dic_list_e in -lwnn4" >&5 | 10327 echo "configure:10328: checking for jl_dic_list_e in -lwnn4" >&5 |
10304 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10328 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10305 | 10329 |
10306 xe_check_libs=" -lwnn4 " | 10330 xe_check_libs=" -lwnn4 " |
10307 cat > conftest.$ac_ext <<EOF | 10331 cat > conftest.$ac_ext <<EOF |
10308 #line 10309 "configure" | 10332 #line 10333 "configure" |
10309 #include "confdefs.h" | 10333 #include "confdefs.h" |
10310 /* Override any gcc2 internal prototype to avoid an error. */ | 10334 /* Override any gcc2 internal prototype to avoid an error. */ |
10311 /* We use char because int might match the return type of a gcc2 | 10335 /* We use char because int might match the return type of a gcc2 |
10312 builtin and then its argument prototype would still apply. */ | 10336 builtin and then its argument prototype would still apply. */ |
10313 char jl_dic_list_e(); | 10337 char jl_dic_list_e(); |
10314 | 10338 |
10315 int main() { | 10339 int main() { |
10316 jl_dic_list_e() | 10340 jl_dic_list_e() |
10317 ; return 0; } | 10341 ; return 0; } |
10318 EOF | 10342 EOF |
10319 if { (eval echo configure:10320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10343 if { (eval echo configure:10344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10320 rm -rf conftest* | 10344 rm -rf conftest* |
10321 eval "ac_cv_lib_$ac_lib_var=yes" | 10345 eval "ac_cv_lib_$ac_lib_var=yes" |
10322 else | 10346 else |
10323 echo "configure: failed program was:" >&5 | 10347 echo "configure: failed program was:" >&5 |
10324 cat conftest.$ac_ext >&5 | 10348 cat conftest.$ac_ext >&5 |
10332 echo "$ac_t""yes" 1>&6 | 10356 echo "$ac_t""yes" 1>&6 |
10333 libwnn=wnn4 | 10357 libwnn=wnn4 |
10334 else | 10358 else |
10335 echo "$ac_t""no" 1>&6 | 10359 echo "$ac_t""no" 1>&6 |
10336 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 10360 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
10337 echo "configure:10338: checking for jl_dic_list_e in -lwnn6" >&5 | 10361 echo "configure:10362: checking for jl_dic_list_e in -lwnn6" >&5 |
10338 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 10362 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
10339 | 10363 |
10340 xe_check_libs=" -lwnn6 " | 10364 xe_check_libs=" -lwnn6 " |
10341 cat > conftest.$ac_ext <<EOF | 10365 cat > conftest.$ac_ext <<EOF |
10342 #line 10343 "configure" | 10366 #line 10367 "configure" |
10343 #include "confdefs.h" | 10367 #include "confdefs.h" |
10344 /* Override any gcc2 internal prototype to avoid an error. */ | 10368 /* Override any gcc2 internal prototype to avoid an error. */ |
10345 /* We use char because int might match the return type of a gcc2 | 10369 /* We use char because int might match the return type of a gcc2 |
10346 builtin and then its argument prototype would still apply. */ | 10370 builtin and then its argument prototype would still apply. */ |
10347 char jl_dic_list_e(); | 10371 char jl_dic_list_e(); |
10348 | 10372 |
10349 int main() { | 10373 int main() { |
10350 jl_dic_list_e() | 10374 jl_dic_list_e() |
10351 ; return 0; } | 10375 ; return 0; } |
10352 EOF | 10376 EOF |
10353 if { (eval echo configure:10354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10377 if { (eval echo configure:10378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10354 rm -rf conftest* | 10378 rm -rf conftest* |
10355 eval "ac_cv_lib_$ac_lib_var=yes" | 10379 eval "ac_cv_lib_$ac_lib_var=yes" |
10356 else | 10380 else |
10357 echo "configure: failed program was:" >&5 | 10381 echo "configure: failed program was:" >&5 |
10358 cat conftest.$ac_ext >&5 | 10382 cat conftest.$ac_ext >&5 |
10366 echo "$ac_t""yes" 1>&6 | 10390 echo "$ac_t""yes" 1>&6 |
10367 libwnn=wnn6 | 10391 libwnn=wnn6 |
10368 else | 10392 else |
10369 echo "$ac_t""no" 1>&6 | 10393 echo "$ac_t""no" 1>&6 |
10370 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 10394 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
10371 echo "configure:10372: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 10395 echo "configure:10396: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
10372 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 10396 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
10373 | 10397 |
10374 xe_check_libs=" -lwnn6_fromsrc " | 10398 xe_check_libs=" -lwnn6_fromsrc " |
10375 cat > conftest.$ac_ext <<EOF | 10399 cat > conftest.$ac_ext <<EOF |
10376 #line 10377 "configure" | 10400 #line 10401 "configure" |
10377 #include "confdefs.h" | 10401 #include "confdefs.h" |
10378 /* Override any gcc2 internal prototype to avoid an error. */ | 10402 /* Override any gcc2 internal prototype to avoid an error. */ |
10379 /* We use char because int might match the return type of a gcc2 | 10403 /* We use char because int might match the return type of a gcc2 |
10380 builtin and then its argument prototype would still apply. */ | 10404 builtin and then its argument prototype would still apply. */ |
10381 char dic_list_e(); | 10405 char dic_list_e(); |
10382 | 10406 |
10383 int main() { | 10407 int main() { |
10384 dic_list_e() | 10408 dic_list_e() |
10385 ; return 0; } | 10409 ; return 0; } |
10386 EOF | 10410 EOF |
10387 if { (eval echo configure:10388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10411 if { (eval echo configure:10412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10388 rm -rf conftest* | 10412 rm -rf conftest* |
10389 eval "ac_cv_lib_$ac_lib_var=yes" | 10413 eval "ac_cv_lib_$ac_lib_var=yes" |
10390 else | 10414 else |
10391 echo "configure: failed program was:" >&5 | 10415 echo "configure: failed program was:" >&5 |
10392 cat conftest.$ac_ext >&5 | 10416 cat conftest.$ac_ext >&5 |
10427 | 10451 |
10428 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 10452 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
10429 if test "$with_wnn6" != "no"; then | 10453 if test "$with_wnn6" != "no"; then |
10430 | 10454 |
10431 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 10455 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
10432 echo "configure:10433: checking for jl_fi_dic_list in -l$libwnn" >&5 | 10456 echo "configure:10457: checking for jl_fi_dic_list in -l$libwnn" >&5 |
10433 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 10457 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
10434 | 10458 |
10435 xe_check_libs=" -l$libwnn " | 10459 xe_check_libs=" -l$libwnn " |
10436 cat > conftest.$ac_ext <<EOF | 10460 cat > conftest.$ac_ext <<EOF |
10437 #line 10438 "configure" | 10461 #line 10462 "configure" |
10438 #include "confdefs.h" | 10462 #include "confdefs.h" |
10439 /* Override any gcc2 internal prototype to avoid an error. */ | 10463 /* Override any gcc2 internal prototype to avoid an error. */ |
10440 /* We use char because int might match the return type of a gcc2 | 10464 /* We use char because int might match the return type of a gcc2 |
10441 builtin and then its argument prototype would still apply. */ | 10465 builtin and then its argument prototype would still apply. */ |
10442 char jl_fi_dic_list(); | 10466 char jl_fi_dic_list(); |
10443 | 10467 |
10444 int main() { | 10468 int main() { |
10445 jl_fi_dic_list() | 10469 jl_fi_dic_list() |
10446 ; return 0; } | 10470 ; return 0; } |
10447 EOF | 10471 EOF |
10448 if { (eval echo configure:10449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10472 if { (eval echo configure:10473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10449 rm -rf conftest* | 10473 rm -rf conftest* |
10450 eval "ac_cv_lib_$ac_lib_var=yes" | 10474 eval "ac_cv_lib_$ac_lib_var=yes" |
10451 else | 10475 else |
10452 echo "configure: failed program was:" >&5 | 10476 echo "configure: failed program was:" >&5 |
10453 cat conftest.$ac_ext >&5 | 10477 cat conftest.$ac_ext >&5 |
10478 | 10502 |
10479 canna_includes_found=no | 10503 canna_includes_found=no |
10480 if test "$with_canna" != "no"; then | 10504 if test "$with_canna" != "no"; then |
10481 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10505 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10482 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10506 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10483 echo "configure:10484: checking for canna/jrkanji.h" >&5 | 10507 echo "configure:10508: checking for canna/jrkanji.h" >&5 |
10484 | 10508 |
10485 cat > conftest.$ac_ext <<EOF | 10509 cat > conftest.$ac_ext <<EOF |
10486 #line 10487 "configure" | 10510 #line 10511 "configure" |
10487 #include "confdefs.h" | 10511 #include "confdefs.h" |
10488 #include <canna/jrkanji.h> | 10512 #include <canna/jrkanji.h> |
10489 EOF | 10513 EOF |
10490 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10491 { (eval echo configure:10492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10515 { (eval echo configure:10516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10492 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10493 if test -z "$ac_err"; then | 10517 if test -z "$ac_err"; then |
10494 rm -rf conftest* | 10518 rm -rf conftest* |
10495 eval "ac_cv_header_$ac_safe=yes" | 10519 eval "ac_cv_header_$ac_safe=yes" |
10496 else | 10520 else |
10513 -d "/usr/local/canna/include"; then | 10537 -d "/usr/local/canna/include"; then |
10514 save_c_switch_site="$c_switch_site" | 10538 save_c_switch_site="$c_switch_site" |
10515 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 10539 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
10516 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 10540 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
10517 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 10541 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
10518 echo "configure:10519: checking for canna/jrkanji.h" >&5 | 10542 echo "configure:10543: checking for canna/jrkanji.h" >&5 |
10519 | 10543 |
10520 cat > conftest.$ac_ext <<EOF | 10544 cat > conftest.$ac_ext <<EOF |
10521 #line 10522 "configure" | 10545 #line 10546 "configure" |
10522 #include "confdefs.h" | 10546 #include "confdefs.h" |
10523 #include <canna/jrkanji.h> | 10547 #include <canna/jrkanji.h> |
10524 EOF | 10548 EOF |
10525 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10526 { (eval echo configure:10527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10550 { (eval echo configure:10551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10528 if test -z "$ac_err"; then | 10552 if test -z "$ac_err"; then |
10529 rm -rf conftest* | 10553 rm -rf conftest* |
10530 eval "ac_cv_header_$ac_safe=yes" | 10554 eval "ac_cv_header_$ac_safe=yes" |
10531 else | 10555 else |
10549 fi | 10573 fi |
10550 fi | 10574 fi |
10551 | 10575 |
10552 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 10576 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
10553 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 10577 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
10554 echo "configure:10555: checking for canna/RK.h" >&5 | 10578 echo "configure:10579: checking for canna/RK.h" >&5 |
10555 | 10579 |
10556 cat > conftest.$ac_ext <<EOF | 10580 cat > conftest.$ac_ext <<EOF |
10557 #line 10558 "configure" | 10581 #line 10582 "configure" |
10558 #include "confdefs.h" | 10582 #include "confdefs.h" |
10559 #include <canna/RK.h> | 10583 #include <canna/RK.h> |
10560 EOF | 10584 EOF |
10561 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10562 { (eval echo configure:10563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10586 { (eval echo configure:10587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10563 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10564 if test -z "$ac_err"; then | 10588 if test -z "$ac_err"; then |
10565 rm -rf conftest* | 10589 rm -rf conftest* |
10566 eval "ac_cv_header_$ac_safe=yes" | 10590 eval "ac_cv_header_$ac_safe=yes" |
10567 else | 10591 else |
10580 with_canna=no | 10604 with_canna=no |
10581 fi | 10605 fi |
10582 } | 10606 } |
10583 test -z "$with_canna" && { | 10607 test -z "$with_canna" && { |
10584 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 10608 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
10585 echo "configure:10586: checking for RkBgnBun in -lRKC" >&5 | 10609 echo "configure:10610: checking for RkBgnBun in -lRKC" >&5 |
10586 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 10610 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
10587 | 10611 |
10588 xe_check_libs=" -lRKC " | 10612 xe_check_libs=" -lRKC " |
10589 cat > conftest.$ac_ext <<EOF | 10613 cat > conftest.$ac_ext <<EOF |
10590 #line 10591 "configure" | 10614 #line 10615 "configure" |
10591 #include "confdefs.h" | 10615 #include "confdefs.h" |
10592 /* Override any gcc2 internal prototype to avoid an error. */ | 10616 /* Override any gcc2 internal prototype to avoid an error. */ |
10593 /* We use char because int might match the return type of a gcc2 | 10617 /* We use char because int might match the return type of a gcc2 |
10594 builtin and then its argument prototype would still apply. */ | 10618 builtin and then its argument prototype would still apply. */ |
10595 char RkBgnBun(); | 10619 char RkBgnBun(); |
10596 | 10620 |
10597 int main() { | 10621 int main() { |
10598 RkBgnBun() | 10622 RkBgnBun() |
10599 ; return 0; } | 10623 ; return 0; } |
10600 EOF | 10624 EOF |
10601 if { (eval echo configure:10602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10625 if { (eval echo configure:10626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10602 rm -rf conftest* | 10626 rm -rf conftest* |
10603 eval "ac_cv_lib_$ac_lib_var=yes" | 10627 eval "ac_cv_lib_$ac_lib_var=yes" |
10604 else | 10628 else |
10605 echo "configure: failed program was:" >&5 | 10629 echo "configure: failed program was:" >&5 |
10606 cat conftest.$ac_ext >&5 | 10630 cat conftest.$ac_ext >&5 |
10619 fi | 10643 fi |
10620 | 10644 |
10621 } | 10645 } |
10622 test -z "$with_canna" && { | 10646 test -z "$with_canna" && { |
10623 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 10647 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
10624 echo "configure:10625: checking for jrKanjiControl in -lcanna" >&5 | 10648 echo "configure:10649: checking for jrKanjiControl in -lcanna" >&5 |
10625 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 10649 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
10626 | 10650 |
10627 xe_check_libs=" -lcanna " | 10651 xe_check_libs=" -lcanna " |
10628 cat > conftest.$ac_ext <<EOF | 10652 cat > conftest.$ac_ext <<EOF |
10629 #line 10630 "configure" | 10653 #line 10654 "configure" |
10630 #include "confdefs.h" | 10654 #include "confdefs.h" |
10631 /* Override any gcc2 internal prototype to avoid an error. */ | 10655 /* Override any gcc2 internal prototype to avoid an error. */ |
10632 /* We use char because int might match the return type of a gcc2 | 10656 /* We use char because int might match the return type of a gcc2 |
10633 builtin and then its argument prototype would still apply. */ | 10657 builtin and then its argument prototype would still apply. */ |
10634 char jrKanjiControl(); | 10658 char jrKanjiControl(); |
10635 | 10659 |
10636 int main() { | 10660 int main() { |
10637 jrKanjiControl() | 10661 jrKanjiControl() |
10638 ; return 0; } | 10662 ; return 0; } |
10639 EOF | 10663 EOF |
10640 if { (eval echo configure:10641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10664 if { (eval echo configure:10665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10641 rm -rf conftest* | 10665 rm -rf conftest* |
10642 eval "ac_cv_lib_$ac_lib_var=yes" | 10666 eval "ac_cv_lib_$ac_lib_var=yes" |
10643 else | 10667 else |
10644 echo "configure: failed program was:" >&5 | 10668 echo "configure: failed program was:" >&5 |
10645 cat conftest.$ac_ext >&5 | 10669 cat conftest.$ac_ext >&5 |
10681 | 10705 |
10682 if test "$need_motif" = "yes" ; then | 10706 if test "$need_motif" = "yes" ; then |
10683 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 10707 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
10684 | 10708 |
10685 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 10709 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
10686 echo "configure:10687: checking for layout_object_getvalue in -li18n" >&5 | 10710 echo "configure:10711: checking for layout_object_getvalue in -li18n" >&5 |
10687 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 10711 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
10688 | 10712 |
10689 xe_check_libs=" -li18n " | 10713 xe_check_libs=" -li18n " |
10690 cat > conftest.$ac_ext <<EOF | 10714 cat > conftest.$ac_ext <<EOF |
10691 #line 10692 "configure" | 10715 #line 10716 "configure" |
10692 #include "confdefs.h" | 10716 #include "confdefs.h" |
10693 /* Override any gcc2 internal prototype to avoid an error. */ | 10717 /* Override any gcc2 internal prototype to avoid an error. */ |
10694 /* We use char because int might match the return type of a gcc2 | 10718 /* We use char because int might match the return type of a gcc2 |
10695 builtin and then its argument prototype would still apply. */ | 10719 builtin and then its argument prototype would still apply. */ |
10696 char layout_object_getvalue(); | 10720 char layout_object_getvalue(); |
10697 | 10721 |
10698 int main() { | 10722 int main() { |
10699 layout_object_getvalue() | 10723 layout_object_getvalue() |
10700 ; return 0; } | 10724 ; return 0; } |
10701 EOF | 10725 EOF |
10702 if { (eval echo configure:10703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10726 if { (eval echo configure:10727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10703 rm -rf conftest* | 10727 rm -rf conftest* |
10704 eval "ac_cv_lib_$ac_lib_var=yes" | 10728 eval "ac_cv_lib_$ac_lib_var=yes" |
10705 else | 10729 else |
10706 echo "configure: failed program was:" >&5 | 10730 echo "configure: failed program was:" >&5 |
10707 cat conftest.$ac_ext >&5 | 10731 cat conftest.$ac_ext >&5 |
10783 fi | 10807 fi |
10784 | 10808 |
10785 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 symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask | 10809 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 symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask |
10786 do | 10810 do |
10787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10811 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10788 echo "configure:10789: checking for $ac_func" >&5 | 10812 echo "configure:10813: checking for $ac_func" >&5 |
10789 | 10813 |
10790 cat > conftest.$ac_ext <<EOF | 10814 cat > conftest.$ac_ext <<EOF |
10791 #line 10792 "configure" | 10815 #line 10816 "configure" |
10792 #include "confdefs.h" | 10816 #include "confdefs.h" |
10793 /* System header to define __stub macros and hopefully few prototypes, | 10817 /* System header to define __stub macros and hopefully few prototypes, |
10794 which can conflict with char $ac_func(); below. */ | 10818 which can conflict with char $ac_func(); below. */ |
10795 #include <assert.h> | 10819 #include <assert.h> |
10796 /* Override any gcc2 internal prototype to avoid an error. */ | 10820 /* Override any gcc2 internal prototype to avoid an error. */ |
10809 $ac_func(); | 10833 $ac_func(); |
10810 #endif | 10834 #endif |
10811 | 10835 |
10812 ; return 0; } | 10836 ; return 0; } |
10813 EOF | 10837 EOF |
10814 if { (eval echo configure:10815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10838 if { (eval echo configure:10839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10815 rm -rf conftest* | 10839 rm -rf conftest* |
10816 eval "ac_cv_func_$ac_func=yes" | 10840 eval "ac_cv_func_$ac_func=yes" |
10817 else | 10841 else |
10818 echo "configure: failed program was:" >&5 | 10842 echo "configure: failed program was:" >&5 |
10819 cat conftest.$ac_ext >&5 | 10843 cat conftest.$ac_ext >&5 |
10841 | 10865 |
10842 | 10866 |
10843 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 10867 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
10844 do | 10868 do |
10845 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10846 echo "configure:10847: checking for $ac_func" >&5 | 10870 echo "configure:10871: checking for $ac_func" >&5 |
10847 | 10871 |
10848 cat > conftest.$ac_ext <<EOF | 10872 cat > conftest.$ac_ext <<EOF |
10849 #line 10850 "configure" | 10873 #line 10874 "configure" |
10850 #include "confdefs.h" | 10874 #include "confdefs.h" |
10851 /* System header to define __stub macros and hopefully few prototypes, | 10875 /* System header to define __stub macros and hopefully few prototypes, |
10852 which can conflict with char $ac_func(); below. */ | 10876 which can conflict with char $ac_func(); below. */ |
10853 #include <assert.h> | 10877 #include <assert.h> |
10854 /* Override any gcc2 internal prototype to avoid an error. */ | 10878 /* Override any gcc2 internal prototype to avoid an error. */ |
10867 $ac_func(); | 10891 $ac_func(); |
10868 #endif | 10892 #endif |
10869 | 10893 |
10870 ; return 0; } | 10894 ; return 0; } |
10871 EOF | 10895 EOF |
10872 if { (eval echo configure:10873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10896 if { (eval echo configure:10897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10873 rm -rf conftest* | 10897 rm -rf conftest* |
10874 eval "ac_cv_func_$ac_func=yes" | 10898 eval "ac_cv_func_$ac_func=yes" |
10875 else | 10899 else |
10876 echo "configure: failed program was:" >&5 | 10900 echo "configure: failed program was:" >&5 |
10877 cat conftest.$ac_ext >&5 | 10901 cat conftest.$ac_ext >&5 |
10896 fi | 10920 fi |
10897 done | 10921 done |
10898 | 10922 |
10899 | 10923 |
10900 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 10924 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
10901 echo "configure:10902: checking for openpty" >&5 | 10925 echo "configure:10926: checking for openpty" >&5 |
10902 | 10926 |
10903 cat > conftest.$ac_ext <<EOF | 10927 cat > conftest.$ac_ext <<EOF |
10904 #line 10905 "configure" | 10928 #line 10929 "configure" |
10905 #include "confdefs.h" | 10929 #include "confdefs.h" |
10906 /* System header to define __stub macros and hopefully few prototypes, | 10930 /* System header to define __stub macros and hopefully few prototypes, |
10907 which can conflict with char openpty(); below. */ | 10931 which can conflict with char openpty(); below. */ |
10908 #include <assert.h> | 10932 #include <assert.h> |
10909 /* Override any gcc2 internal prototype to avoid an error. */ | 10933 /* Override any gcc2 internal prototype to avoid an error. */ |
10922 openpty(); | 10946 openpty(); |
10923 #endif | 10947 #endif |
10924 | 10948 |
10925 ; return 0; } | 10949 ; return 0; } |
10926 EOF | 10950 EOF |
10927 if { (eval echo configure:10928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10951 if { (eval echo configure:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10928 rm -rf conftest* | 10952 rm -rf conftest* |
10929 eval "ac_cv_func_openpty=yes" | 10953 eval "ac_cv_func_openpty=yes" |
10930 else | 10954 else |
10931 echo "configure: failed program was:" >&5 | 10955 echo "configure: failed program was:" >&5 |
10932 cat conftest.$ac_ext >&5 | 10956 cat conftest.$ac_ext >&5 |
10941 else | 10965 else |
10942 echo "$ac_t""no" 1>&6 | 10966 echo "$ac_t""no" 1>&6 |
10943 | 10967 |
10944 | 10968 |
10945 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 10969 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
10946 echo "configure:10947: checking for openpty in -lutil" >&5 | 10970 echo "configure:10971: checking for openpty in -lutil" >&5 |
10947 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 10971 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
10948 | 10972 |
10949 xe_check_libs=" -lutil " | 10973 xe_check_libs=" -lutil " |
10950 cat > conftest.$ac_ext <<EOF | 10974 cat > conftest.$ac_ext <<EOF |
10951 #line 10952 "configure" | 10975 #line 10976 "configure" |
10952 #include "confdefs.h" | 10976 #include "confdefs.h" |
10953 /* Override any gcc2 internal prototype to avoid an error. */ | 10977 /* Override any gcc2 internal prototype to avoid an error. */ |
10954 /* We use char because int might match the return type of a gcc2 | 10978 /* We use char because int might match the return type of a gcc2 |
10955 builtin and then its argument prototype would still apply. */ | 10979 builtin and then its argument prototype would still apply. */ |
10956 char openpty(); | 10980 char openpty(); |
10957 | 10981 |
10958 int main() { | 10982 int main() { |
10959 openpty() | 10983 openpty() |
10960 ; return 0; } | 10984 ; return 0; } |
10961 EOF | 10985 EOF |
10962 if { (eval echo configure:10963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10986 if { (eval echo configure:10987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10963 rm -rf conftest* | 10987 rm -rf conftest* |
10964 eval "ac_cv_lib_$ac_lib_var=yes" | 10988 eval "ac_cv_lib_$ac_lib_var=yes" |
10965 else | 10989 else |
10966 echo "configure: failed program was:" >&5 | 10990 echo "configure: failed program was:" >&5 |
10967 cat conftest.$ac_ext >&5 | 10991 cat conftest.$ac_ext >&5 |
10992 | 11016 |
10993 for ac_hdr in libutil.h util.h | 11017 for ac_hdr in libutil.h util.h |
10994 do | 11018 do |
10995 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11019 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10996 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11020 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
10997 echo "configure:10998: checking for $ac_hdr" >&5 | 11021 echo "configure:11022: checking for $ac_hdr" >&5 |
10998 | 11022 |
10999 cat > conftest.$ac_ext <<EOF | 11023 cat > conftest.$ac_ext <<EOF |
11000 #line 11001 "configure" | 11024 #line 11025 "configure" |
11001 #include "confdefs.h" | 11025 #include "confdefs.h" |
11002 #include <$ac_hdr> | 11026 #include <$ac_hdr> |
11003 EOF | 11027 EOF |
11004 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11005 { (eval echo configure:11006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11029 { (eval echo configure:11030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11006 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11007 if test -z "$ac_err"; then | 11031 if test -z "$ac_err"; then |
11008 rm -rf conftest* | 11032 rm -rf conftest* |
11009 eval "ac_cv_header_$ac_safe=yes" | 11033 eval "ac_cv_header_$ac_safe=yes" |
11010 else | 11034 else |
11037 case "$opsys" in | 11061 case "$opsys" in |
11038 hpux*) for ac_hdr in sys/ptyio.h | 11062 hpux*) for ac_hdr in sys/ptyio.h |
11039 do | 11063 do |
11040 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11064 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11041 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11065 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11042 echo "configure:11043: checking for $ac_hdr" >&5 | 11066 echo "configure:11067: checking for $ac_hdr" >&5 |
11043 | 11067 |
11044 cat > conftest.$ac_ext <<EOF | 11068 cat > conftest.$ac_ext <<EOF |
11045 #line 11046 "configure" | 11069 #line 11070 "configure" |
11046 #include "confdefs.h" | 11070 #include "confdefs.h" |
11047 #include <$ac_hdr> | 11071 #include <$ac_hdr> |
11048 EOF | 11072 EOF |
11049 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11050 { (eval echo configure:11051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11074 { (eval echo configure:11075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11051 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11052 if test -z "$ac_err"; then | 11076 if test -z "$ac_err"; then |
11053 rm -rf conftest* | 11077 rm -rf conftest* |
11054 eval "ac_cv_header_$ac_safe=yes" | 11078 eval "ac_cv_header_$ac_safe=yes" |
11055 else | 11079 else |
11078 ;; | 11102 ;; |
11079 *) for ac_hdr in pty.h | 11103 *) for ac_hdr in pty.h |
11080 do | 11104 do |
11081 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11105 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11082 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11106 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11083 echo "configure:11084: checking for $ac_hdr" >&5 | 11107 echo "configure:11108: checking for $ac_hdr" >&5 |
11084 | 11108 |
11085 cat > conftest.$ac_ext <<EOF | 11109 cat > conftest.$ac_ext <<EOF |
11086 #line 11087 "configure" | 11110 #line 11111 "configure" |
11087 #include "confdefs.h" | 11111 #include "confdefs.h" |
11088 #include <$ac_hdr> | 11112 #include <$ac_hdr> |
11089 EOF | 11113 EOF |
11090 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11091 { (eval echo configure:11092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11115 { (eval echo configure:11116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11092 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11093 if test -z "$ac_err"; then | 11117 if test -z "$ac_err"; then |
11094 rm -rf conftest* | 11118 rm -rf conftest* |
11095 eval "ac_cv_header_$ac_safe=yes" | 11119 eval "ac_cv_header_$ac_safe=yes" |
11096 else | 11120 else |
11119 | 11143 |
11120 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 11144 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
11121 do | 11145 do |
11122 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11146 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11123 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11147 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11124 echo "configure:11125: checking for $ac_hdr" >&5 | 11148 echo "configure:11149: checking for $ac_hdr" >&5 |
11125 | 11149 |
11126 cat > conftest.$ac_ext <<EOF | 11150 cat > conftest.$ac_ext <<EOF |
11127 #line 11128 "configure" | 11151 #line 11152 "configure" |
11128 #include "confdefs.h" | 11152 #include "confdefs.h" |
11129 #include <$ac_hdr> | 11153 #include <$ac_hdr> |
11130 EOF | 11154 EOF |
11131 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11132 { (eval echo configure:11133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11156 { (eval echo configure:11157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11133 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11134 if test -z "$ac_err"; then | 11158 if test -z "$ac_err"; then |
11135 rm -rf conftest* | 11159 rm -rf conftest* |
11136 eval "ac_cv_header_$ac_safe=yes" | 11160 eval "ac_cv_header_$ac_safe=yes" |
11137 else | 11161 else |
11163 | 11187 |
11164 for ac_hdr in stropts.h | 11188 for ac_hdr in stropts.h |
11165 do | 11189 do |
11166 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11190 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11167 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11168 echo "configure:11169: checking for $ac_hdr" >&5 | 11192 echo "configure:11193: checking for $ac_hdr" >&5 |
11169 | 11193 |
11170 cat > conftest.$ac_ext <<EOF | 11194 cat > conftest.$ac_ext <<EOF |
11171 #line 11172 "configure" | 11195 #line 11196 "configure" |
11172 #include "confdefs.h" | 11196 #include "confdefs.h" |
11173 #include <$ac_hdr> | 11197 #include <$ac_hdr> |
11174 EOF | 11198 EOF |
11175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11199 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11176 { (eval echo configure:11177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11200 { (eval echo configure:11201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11201 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11178 if test -z "$ac_err"; then | 11202 if test -z "$ac_err"; then |
11179 rm -rf conftest* | 11203 rm -rf conftest* |
11180 eval "ac_cv_header_$ac_safe=yes" | 11204 eval "ac_cv_header_$ac_safe=yes" |
11181 else | 11205 else |
11204 | 11228 |
11205 if test "$ac_cv_header_stropts_h" = "yes"; then | 11229 if test "$ac_cv_header_stropts_h" = "yes"; then |
11206 for ac_func in isastream | 11230 for ac_func in isastream |
11207 do | 11231 do |
11208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11209 echo "configure:11210: checking for $ac_func" >&5 | 11233 echo "configure:11234: checking for $ac_func" >&5 |
11210 | 11234 |
11211 cat > conftest.$ac_ext <<EOF | 11235 cat > conftest.$ac_ext <<EOF |
11212 #line 11213 "configure" | 11236 #line 11237 "configure" |
11213 #include "confdefs.h" | 11237 #include "confdefs.h" |
11214 /* System header to define __stub macros and hopefully few prototypes, | 11238 /* System header to define __stub macros and hopefully few prototypes, |
11215 which can conflict with char $ac_func(); below. */ | 11239 which can conflict with char $ac_func(); below. */ |
11216 #include <assert.h> | 11240 #include <assert.h> |
11217 /* Override any gcc2 internal prototype to avoid an error. */ | 11241 /* Override any gcc2 internal prototype to avoid an error. */ |
11230 $ac_func(); | 11254 $ac_func(); |
11231 #endif | 11255 #endif |
11232 | 11256 |
11233 ; return 0; } | 11257 ; return 0; } |
11234 EOF | 11258 EOF |
11235 if { (eval echo configure:11236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11259 if { (eval echo configure:11260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11236 rm -rf conftest* | 11260 rm -rf conftest* |
11237 eval "ac_cv_func_$ac_func=yes" | 11261 eval "ac_cv_func_$ac_func=yes" |
11238 else | 11262 else |
11239 echo "configure: failed program was:" >&5 | 11263 echo "configure: failed program was:" >&5 |
11240 cat conftest.$ac_ext >&5 | 11264 cat conftest.$ac_ext >&5 |
11261 | 11285 |
11262 for ac_hdr in strtio.h | 11286 for ac_hdr in strtio.h |
11263 do | 11287 do |
11264 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11288 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11265 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11289 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11266 echo "configure:11267: checking for $ac_hdr" >&5 | 11290 echo "configure:11291: checking for $ac_hdr" >&5 |
11267 | 11291 |
11268 cat > conftest.$ac_ext <<EOF | 11292 cat > conftest.$ac_ext <<EOF |
11269 #line 11270 "configure" | 11293 #line 11294 "configure" |
11270 #include "confdefs.h" | 11294 #include "confdefs.h" |
11271 #include <$ac_hdr> | 11295 #include <$ac_hdr> |
11272 EOF | 11296 EOF |
11273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11274 { (eval echo configure:11275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11298 { (eval echo configure:11299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11276 if test -z "$ac_err"; then | 11300 if test -z "$ac_err"; then |
11277 rm -rf conftest* | 11301 rm -rf conftest* |
11278 eval "ac_cv_header_$ac_safe=yes" | 11302 eval "ac_cv_header_$ac_safe=yes" |
11279 else | 11303 else |
11302 fi | 11326 fi |
11303 | 11327 |
11304 for ac_func in getloadavg | 11328 for ac_func in getloadavg |
11305 do | 11329 do |
11306 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11307 echo "configure:11308: checking for $ac_func" >&5 | 11331 echo "configure:11332: checking for $ac_func" >&5 |
11308 | 11332 |
11309 cat > conftest.$ac_ext <<EOF | 11333 cat > conftest.$ac_ext <<EOF |
11310 #line 11311 "configure" | 11334 #line 11335 "configure" |
11311 #include "confdefs.h" | 11335 #include "confdefs.h" |
11312 /* System header to define __stub macros and hopefully few prototypes, | 11336 /* System header to define __stub macros and hopefully few prototypes, |
11313 which can conflict with char $ac_func(); below. */ | 11337 which can conflict with char $ac_func(); below. */ |
11314 #include <assert.h> | 11338 #include <assert.h> |
11315 /* Override any gcc2 internal prototype to avoid an error. */ | 11339 /* Override any gcc2 internal prototype to avoid an error. */ |
11328 $ac_func(); | 11352 $ac_func(); |
11329 #endif | 11353 #endif |
11330 | 11354 |
11331 ; return 0; } | 11355 ; return 0; } |
11332 EOF | 11356 EOF |
11333 if { (eval echo configure:11334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11357 if { (eval echo configure:11358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11334 rm -rf conftest* | 11358 rm -rf conftest* |
11335 eval "ac_cv_func_$ac_func=yes" | 11359 eval "ac_cv_func_$ac_func=yes" |
11336 else | 11360 else |
11337 echo "configure: failed program was:" >&5 | 11361 echo "configure: failed program was:" >&5 |
11338 cat conftest.$ac_ext >&5 | 11362 cat conftest.$ac_ext >&5 |
11361 if test "$ac_cv_func_getloadavg" = "yes"; then | 11385 if test "$ac_cv_func_getloadavg" = "yes"; then |
11362 for ac_hdr in sys/loadavg.h | 11386 for ac_hdr in sys/loadavg.h |
11363 do | 11387 do |
11364 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11388 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11365 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11389 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11366 echo "configure:11367: checking for $ac_hdr" >&5 | 11390 echo "configure:11391: checking for $ac_hdr" >&5 |
11367 | 11391 |
11368 cat > conftest.$ac_ext <<EOF | 11392 cat > conftest.$ac_ext <<EOF |
11369 #line 11370 "configure" | 11393 #line 11394 "configure" |
11370 #include "confdefs.h" | 11394 #include "confdefs.h" |
11371 #include <$ac_hdr> | 11395 #include <$ac_hdr> |
11372 EOF | 11396 EOF |
11373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11397 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11374 { (eval echo configure:11375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11398 { (eval echo configure:11399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11399 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11376 if test -z "$ac_err"; then | 11400 if test -z "$ac_err"; then |
11377 rm -rf conftest* | 11401 rm -rf conftest* |
11378 eval "ac_cv_header_$ac_safe=yes" | 11402 eval "ac_cv_header_$ac_safe=yes" |
11379 else | 11403 else |
11405 echo " xemacs will be linked with \"getloadavg.o\"" | 11429 echo " xemacs will be linked with \"getloadavg.o\"" |
11406 fi | 11430 fi |
11407 | 11431 |
11408 | 11432 |
11409 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 11433 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
11410 echo "configure:11411: checking for kstat_open in -lkstat" >&5 | 11434 echo "configure:11435: checking for kstat_open in -lkstat" >&5 |
11411 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 11435 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
11412 | 11436 |
11413 xe_check_libs=" -lkstat " | 11437 xe_check_libs=" -lkstat " |
11414 cat > conftest.$ac_ext <<EOF | 11438 cat > conftest.$ac_ext <<EOF |
11415 #line 11416 "configure" | 11439 #line 11440 "configure" |
11416 #include "confdefs.h" | 11440 #include "confdefs.h" |
11417 /* Override any gcc2 internal prototype to avoid an error. */ | 11441 /* Override any gcc2 internal prototype to avoid an error. */ |
11418 /* 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 |
11419 builtin and then its argument prototype would still apply. */ | 11443 builtin and then its argument prototype would still apply. */ |
11420 char kstat_open(); | 11444 char kstat_open(); |
11421 | 11445 |
11422 int main() { | 11446 int main() { |
11423 kstat_open() | 11447 kstat_open() |
11424 ; return 0; } | 11448 ; return 0; } |
11425 EOF | 11449 EOF |
11426 if { (eval echo configure:11427: \"$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 |
11427 rm -rf conftest* | 11451 rm -rf conftest* |
11428 eval "ac_cv_lib_$ac_lib_var=yes" | 11452 eval "ac_cv_lib_$ac_lib_var=yes" |
11429 else | 11453 else |
11430 echo "configure: failed program was:" >&5 | 11454 echo "configure: failed program was:" >&5 |
11431 cat conftest.$ac_ext >&5 | 11455 cat conftest.$ac_ext >&5 |
11456 | 11480 |
11457 for ac_hdr in kstat.h | 11481 for ac_hdr in kstat.h |
11458 do | 11482 do |
11459 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11483 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
11460 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11461 echo "configure:11462: checking for $ac_hdr" >&5 | 11485 echo "configure:11486: checking for $ac_hdr" >&5 |
11462 | 11486 |
11463 cat > conftest.$ac_ext <<EOF | 11487 cat > conftest.$ac_ext <<EOF |
11464 #line 11465 "configure" | 11488 #line 11489 "configure" |
11465 #include "confdefs.h" | 11489 #include "confdefs.h" |
11466 #include <$ac_hdr> | 11490 #include <$ac_hdr> |
11467 EOF | 11491 EOF |
11468 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11469 { (eval echo configure:11470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11493 { (eval echo configure:11494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11470 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11471 if test -z "$ac_err"; then | 11495 if test -z "$ac_err"; then |
11472 rm -rf conftest* | 11496 rm -rf conftest* |
11473 eval "ac_cv_header_$ac_safe=yes" | 11497 eval "ac_cv_header_$ac_safe=yes" |
11474 else | 11498 else |
11496 done | 11520 done |
11497 | 11521 |
11498 | 11522 |
11499 | 11523 |
11500 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 11524 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
11501 echo "configure:11502: checking for kvm_read in -lkvm" >&5 | 11525 echo "configure:11526: checking for kvm_read in -lkvm" >&5 |
11502 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 11526 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
11503 | 11527 |
11504 xe_check_libs=" -lkvm " | 11528 xe_check_libs=" -lkvm " |
11505 cat > conftest.$ac_ext <<EOF | 11529 cat > conftest.$ac_ext <<EOF |
11506 #line 11507 "configure" | 11530 #line 11531 "configure" |
11507 #include "confdefs.h" | 11531 #include "confdefs.h" |
11508 /* Override any gcc2 internal prototype to avoid an error. */ | 11532 /* Override any gcc2 internal prototype to avoid an error. */ |
11509 /* We use char because int might match the return type of a gcc2 | 11533 /* We use char because int might match the return type of a gcc2 |
11510 builtin and then its argument prototype would still apply. */ | 11534 builtin and then its argument prototype would still apply. */ |
11511 char kvm_read(); | 11535 char kvm_read(); |
11512 | 11536 |
11513 int main() { | 11537 int main() { |
11514 kvm_read() | 11538 kvm_read() |
11515 ; return 0; } | 11539 ; return 0; } |
11516 EOF | 11540 EOF |
11517 if { (eval echo configure:11518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11541 if { (eval echo configure:11542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11518 rm -rf conftest* | 11542 rm -rf conftest* |
11519 eval "ac_cv_lib_$ac_lib_var=yes" | 11543 eval "ac_cv_lib_$ac_lib_var=yes" |
11520 else | 11544 else |
11521 echo "configure: failed program was:" >&5 | 11545 echo "configure: failed program was:" >&5 |
11522 cat conftest.$ac_ext >&5 | 11546 cat conftest.$ac_ext >&5 |
11546 | 11570 |
11547 | 11571 |
11548 fi | 11572 fi |
11549 | 11573 |
11550 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 11574 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
11551 echo "configure:11552: checking whether netdb declares h_errno" >&5 | 11575 echo "configure:11576: checking whether netdb declares h_errno" >&5 |
11552 cat > conftest.$ac_ext <<EOF | 11576 cat > conftest.$ac_ext <<EOF |
11553 #line 11554 "configure" | 11577 #line 11578 "configure" |
11554 #include "confdefs.h" | 11578 #include "confdefs.h" |
11555 #include <netdb.h> | 11579 #include <netdb.h> |
11556 int main() { | 11580 int main() { |
11557 return h_errno; | 11581 return h_errno; |
11558 ; return 0; } | 11582 ; return 0; } |
11559 EOF | 11583 EOF |
11560 if { (eval echo configure:11561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11584 if { (eval echo configure:11585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11561 rm -rf conftest* | 11585 rm -rf conftest* |
11562 echo "$ac_t""yes" 1>&6 | 11586 echo "$ac_t""yes" 1>&6 |
11563 { test "$extra_verbose" = "yes" && cat << \EOF | 11587 { test "$extra_verbose" = "yes" && cat << \EOF |
11564 Defining HAVE_H_ERRNO | 11588 Defining HAVE_H_ERRNO |
11565 EOF | 11589 EOF |
11575 echo "$ac_t""no" 1>&6 | 11599 echo "$ac_t""no" 1>&6 |
11576 fi | 11600 fi |
11577 rm -f conftest* | 11601 rm -f conftest* |
11578 | 11602 |
11579 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 11603 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
11580 echo "configure:11581: checking for sigsetjmp" >&5 | 11604 echo "configure:11605: checking for sigsetjmp" >&5 |
11581 cat > conftest.$ac_ext <<EOF | 11605 cat > conftest.$ac_ext <<EOF |
11582 #line 11583 "configure" | 11606 #line 11607 "configure" |
11583 #include "confdefs.h" | 11607 #include "confdefs.h" |
11584 #include <setjmp.h> | 11608 #include <setjmp.h> |
11585 int main() { | 11609 int main() { |
11586 sigjmp_buf bar; sigsetjmp (bar, 0); | 11610 sigjmp_buf bar; sigsetjmp (bar, 0); |
11587 ; return 0; } | 11611 ; return 0; } |
11588 EOF | 11612 EOF |
11589 if { (eval echo configure:11590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11613 if { (eval echo configure:11614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11590 rm -rf conftest* | 11614 rm -rf conftest* |
11591 echo "$ac_t""yes" 1>&6 | 11615 echo "$ac_t""yes" 1>&6 |
11592 { test "$extra_verbose" = "yes" && cat << \EOF | 11616 { test "$extra_verbose" = "yes" && cat << \EOF |
11593 Defining HAVE_SIGSETJMP | 11617 Defining HAVE_SIGSETJMP |
11594 EOF | 11618 EOF |
11604 echo "$ac_t""no" 1>&6 | 11628 echo "$ac_t""no" 1>&6 |
11605 fi | 11629 fi |
11606 rm -f conftest* | 11630 rm -f conftest* |
11607 | 11631 |
11608 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 11632 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
11609 echo "configure:11610: checking whether localtime caches TZ" >&5 | 11633 echo "configure:11634: checking whether localtime caches TZ" >&5 |
11610 | 11634 |
11611 if test "$ac_cv_func_tzset" = "yes"; then | 11635 if test "$ac_cv_func_tzset" = "yes"; then |
11612 cat > conftest.$ac_ext <<EOF | 11636 cat > conftest.$ac_ext <<EOF |
11613 #line 11614 "configure" | 11637 #line 11638 "configure" |
11614 #include "confdefs.h" | 11638 #include "confdefs.h" |
11615 #include <time.h> | 11639 #include <time.h> |
11616 #if STDC_HEADERS | 11640 #if STDC_HEADERS |
11617 # include <stdlib.h> | 11641 # include <stdlib.h> |
11618 #endif | 11642 #endif |
11643 if (localtime (&now)->tm_hour != hour_unset) | 11667 if (localtime (&now)->tm_hour != hour_unset) |
11644 exit (1); | 11668 exit (1); |
11645 exit (0); | 11669 exit (0); |
11646 } | 11670 } |
11647 EOF | 11671 EOF |
11648 if { (eval echo configure:11649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11672 if { (eval echo configure:11673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11649 then | 11673 then |
11650 emacs_cv_localtime_cache=no | 11674 emacs_cv_localtime_cache=no |
11651 else | 11675 else |
11652 conftest_rc="$?" | 11676 conftest_rc="$?" |
11653 echo "configure: failed program was:" >&5 | 11677 echo "configure: failed program was:" >&5 |
11673 | 11697 |
11674 fi | 11698 fi |
11675 | 11699 |
11676 if test "$HAVE_TIMEVAL" = "yes"; then | 11700 if test "$HAVE_TIMEVAL" = "yes"; then |
11677 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 11701 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
11678 echo "configure:11679: checking whether gettimeofday accepts one or two arguments" >&5 | 11702 echo "configure:11703: checking whether gettimeofday accepts one or two arguments" >&5 |
11679 cat > conftest.$ac_ext <<EOF | 11703 cat > conftest.$ac_ext <<EOF |
11680 #line 11681 "configure" | 11704 #line 11705 "configure" |
11681 #include "confdefs.h" | 11705 #include "confdefs.h" |
11682 | 11706 |
11683 #ifdef TIME_WITH_SYS_TIME | 11707 #ifdef TIME_WITH_SYS_TIME |
11684 #include <sys/time.h> | 11708 #include <sys/time.h> |
11685 #include <time.h> | 11709 #include <time.h> |
11696 struct timeval time; | 11720 struct timeval time; |
11697 gettimeofday (&time, 0); | 11721 gettimeofday (&time, 0); |
11698 | 11722 |
11699 ; return 0; } | 11723 ; return 0; } |
11700 EOF | 11724 EOF |
11701 if { (eval echo configure:11702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11725 if { (eval echo configure:11726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11702 rm -rf conftest* | 11726 rm -rf conftest* |
11703 echo "$ac_t""two" 1>&6 | 11727 echo "$ac_t""two" 1>&6 |
11704 else | 11728 else |
11705 echo "configure: failed program was:" >&5 | 11729 echo "configure: failed program was:" >&5 |
11706 cat conftest.$ac_ext >&5 | 11730 cat conftest.$ac_ext >&5 |
11718 rm -f conftest* | 11742 rm -f conftest* |
11719 fi | 11743 fi |
11720 | 11744 |
11721 | 11745 |
11722 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 11746 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
11723 echo "configure:11724: checking for inline" >&5 | 11747 echo "configure:11748: checking for inline" >&5 |
11724 | 11748 |
11725 ac_cv_c_inline=no | 11749 ac_cv_c_inline=no |
11726 for ac_kw in inline __inline__ __inline; do | 11750 for ac_kw in inline __inline__ __inline; do |
11727 cat > conftest.$ac_ext <<EOF | 11751 cat > conftest.$ac_ext <<EOF |
11728 #line 11729 "configure" | 11752 #line 11753 "configure" |
11729 #include "confdefs.h" | 11753 #include "confdefs.h" |
11730 | 11754 |
11731 int main() { | 11755 int main() { |
11732 } $ac_kw foo() { | 11756 } $ac_kw foo() { |
11733 ; return 0; } | 11757 ; return 0; } |
11734 EOF | 11758 EOF |
11735 if { (eval echo configure:11736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11759 if { (eval echo configure:11760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11736 rm -rf conftest* | 11760 rm -rf conftest* |
11737 ac_cv_c_inline=$ac_kw; break | 11761 ac_cv_c_inline=$ac_kw; break |
11738 else | 11762 else |
11739 echo "configure: failed program was:" >&5 | 11763 echo "configure: failed program was:" >&5 |
11740 cat conftest.$ac_ext >&5 | 11764 cat conftest.$ac_ext >&5 |
11771 | 11795 |
11772 if test "$__DECC" != "yes"; then | 11796 if test "$__DECC" != "yes"; then |
11773 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 11797 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11774 # for constant arguments. Useless! | 11798 # for constant arguments. Useless! |
11775 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 11799 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
11776 echo "configure:11777: checking for working alloca.h" >&5 | 11800 echo "configure:11801: checking for working alloca.h" >&5 |
11777 | 11801 |
11778 cat > conftest.$ac_ext <<EOF | 11802 cat > conftest.$ac_ext <<EOF |
11779 #line 11780 "configure" | 11803 #line 11804 "configure" |
11780 #include "confdefs.h" | 11804 #include "confdefs.h" |
11781 #include <alloca.h> | 11805 #include <alloca.h> |
11782 int main() { | 11806 int main() { |
11783 char *p = alloca(2 * sizeof(int)); | 11807 char *p = alloca(2 * sizeof(int)); |
11784 ; return 0; } | 11808 ; return 0; } |
11785 EOF | 11809 EOF |
11786 if { (eval echo configure:11787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11810 if { (eval echo configure:11811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11787 rm -rf conftest* | 11811 rm -rf conftest* |
11788 ac_cv_header_alloca_h=yes | 11812 ac_cv_header_alloca_h=yes |
11789 else | 11813 else |
11790 echo "configure: failed program was:" >&5 | 11814 echo "configure: failed program was:" >&5 |
11791 cat conftest.$ac_ext >&5 | 11815 cat conftest.$ac_ext >&5 |
11805 } | 11829 } |
11806 | 11830 |
11807 fi | 11831 fi |
11808 | 11832 |
11809 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 11833 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
11810 echo "configure:11811: checking for alloca" >&5 | 11834 echo "configure:11835: checking for alloca" >&5 |
11811 | 11835 |
11812 cat > conftest.$ac_ext <<EOF | 11836 cat > conftest.$ac_ext <<EOF |
11813 #line 11814 "configure" | 11837 #line 11838 "configure" |
11814 #include "confdefs.h" | 11838 #include "confdefs.h" |
11815 | 11839 |
11816 #ifdef __GNUC__ | 11840 #ifdef __GNUC__ |
11817 # define alloca __builtin_alloca | 11841 # define alloca __builtin_alloca |
11818 #else | 11842 #else |
11836 | 11860 |
11837 int main() { | 11861 int main() { |
11838 char *p = (char *) alloca(1); | 11862 char *p = (char *) alloca(1); |
11839 ; return 0; } | 11863 ; return 0; } |
11840 EOF | 11864 EOF |
11841 if { (eval echo configure:11842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11865 if { (eval echo configure:11866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11842 rm -rf conftest* | 11866 rm -rf conftest* |
11843 ac_cv_func_alloca_works=yes | 11867 ac_cv_func_alloca_works=yes |
11844 else | 11868 else |
11845 echo "configure: failed program was:" >&5 | 11869 echo "configure: failed program was:" >&5 |
11846 cat conftest.$ac_ext >&5 | 11870 cat conftest.$ac_ext >&5 |
11875 EOF | 11899 EOF |
11876 } | 11900 } |
11877 | 11901 |
11878 | 11902 |
11879 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 11903 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
11880 echo "configure:11881: checking whether alloca needs Cray hooks" >&5 | 11904 echo "configure:11905: checking whether alloca needs Cray hooks" >&5 |
11881 | 11905 |
11882 cat > conftest.$ac_ext <<EOF | 11906 cat > conftest.$ac_ext <<EOF |
11883 #line 11884 "configure" | 11907 #line 11908 "configure" |
11884 #include "confdefs.h" | 11908 #include "confdefs.h" |
11885 #if defined(CRAY) && ! defined(CRAY2) | 11909 #if defined(CRAY) && ! defined(CRAY2) |
11886 webecray | 11910 webecray |
11887 #else | 11911 #else |
11888 wenotbecray | 11912 wenotbecray |
11902 | 11926 |
11903 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 11927 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
11904 if test $ac_cv_os_cray = yes; then | 11928 if test $ac_cv_os_cray = yes; then |
11905 for ac_func in _getb67 GETB67 getb67; do | 11929 for ac_func in _getb67 GETB67 getb67; do |
11906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11907 echo "configure:11908: checking for $ac_func" >&5 | 11931 echo "configure:11932: checking for $ac_func" >&5 |
11908 | 11932 |
11909 cat > conftest.$ac_ext <<EOF | 11933 cat > conftest.$ac_ext <<EOF |
11910 #line 11911 "configure" | 11934 #line 11935 "configure" |
11911 #include "confdefs.h" | 11935 #include "confdefs.h" |
11912 /* System header to define __stub macros and hopefully few prototypes, | 11936 /* System header to define __stub macros and hopefully few prototypes, |
11913 which can conflict with char $ac_func(); below. */ | 11937 which can conflict with char $ac_func(); below. */ |
11914 #include <assert.h> | 11938 #include <assert.h> |
11915 /* Override any gcc2 internal prototype to avoid an error. */ | 11939 /* Override any gcc2 internal prototype to avoid an error. */ |
11928 $ac_func(); | 11952 $ac_func(); |
11929 #endif | 11953 #endif |
11930 | 11954 |
11931 ; return 0; } | 11955 ; return 0; } |
11932 EOF | 11956 EOF |
11933 if { (eval echo configure:11934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11957 if { (eval echo configure:11958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11934 rm -rf conftest* | 11958 rm -rf conftest* |
11935 eval "ac_cv_func_$ac_func=yes" | 11959 eval "ac_cv_func_$ac_func=yes" |
11936 else | 11960 else |
11937 echo "configure: failed program was:" >&5 | 11961 echo "configure: failed program was:" >&5 |
11938 cat conftest.$ac_ext >&5 | 11962 cat conftest.$ac_ext >&5 |
11958 | 11982 |
11959 done | 11983 done |
11960 fi | 11984 fi |
11961 | 11985 |
11962 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 11986 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
11963 echo "configure:11964: checking stack direction for C alloca" >&5 | 11987 echo "configure:11988: checking stack direction for C alloca" >&5 |
11964 | 11988 |
11965 cat > conftest.$ac_ext <<EOF | 11989 cat > conftest.$ac_ext <<EOF |
11966 #line 11967 "configure" | 11990 #line 11991 "configure" |
11967 #include "confdefs.h" | 11991 #include "confdefs.h" |
11968 find_stack_direction () | 11992 find_stack_direction () |
11969 { | 11993 { |
11970 static char *addr = 0; | 11994 static char *addr = 0; |
11971 auto char dummy; | 11995 auto char dummy; |
11980 main () | 12004 main () |
11981 { | 12005 { |
11982 exit (find_stack_direction() < 0); | 12006 exit (find_stack_direction() < 0); |
11983 } | 12007 } |
11984 EOF | 12008 EOF |
11985 if { (eval echo configure:11986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12009 if { (eval echo configure:12010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
11986 then | 12010 then |
11987 ac_cv_c_stack_direction=1 | 12011 ac_cv_c_stack_direction=1 |
11988 else | 12012 else |
11989 conftest_rc="$?" | 12013 conftest_rc="$?" |
11990 echo "configure: failed program was:" >&5 | 12014 echo "configure: failed program was:" >&5 |
12009 echo " xemacs will be linked with \"$ALLOCA\"" | 12033 echo " xemacs will be linked with \"$ALLOCA\"" |
12010 fi | 12034 fi |
12011 fi | 12035 fi |
12012 | 12036 |
12013 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 12037 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
12014 echo "configure:12015: checking for working strcoll" >&5 | 12038 echo "configure:12039: checking for working strcoll" >&5 |
12015 | 12039 |
12016 cat > conftest.$ac_ext <<EOF | 12040 cat > conftest.$ac_ext <<EOF |
12017 #line 12018 "configure" | 12041 #line 12042 "configure" |
12018 #include "confdefs.h" | 12042 #include "confdefs.h" |
12019 #include <string.h> | 12043 #include <string.h> |
12020 main () | 12044 main () |
12021 { | 12045 { |
12022 exit (strcoll ("abc", "def") >= 0 || | 12046 exit (strcoll ("abc", "def") >= 0 || |
12023 strcoll ("ABC", "DEF") >= 0 || | 12047 strcoll ("ABC", "DEF") >= 0 || |
12024 strcoll ("123", "456") >= 0); | 12048 strcoll ("123", "456") >= 0); |
12025 } | 12049 } |
12026 EOF | 12050 EOF |
12027 if { (eval echo configure:12028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12051 if { (eval echo configure:12052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12028 then | 12052 then |
12029 ac_cv_func_strcoll_works=yes | 12053 ac_cv_func_strcoll_works=yes |
12030 else | 12054 else |
12031 conftest_rc="$?" | 12055 conftest_rc="$?" |
12032 echo "configure: failed program was:" >&5 | 12056 echo "configure: failed program was:" >&5 |
12050 | 12074 |
12051 | 12075 |
12052 for ac_func in getpgrp | 12076 for ac_func in getpgrp |
12053 do | 12077 do |
12054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12055 echo "configure:12056: checking for $ac_func" >&5 | 12079 echo "configure:12080: checking for $ac_func" >&5 |
12056 | 12080 |
12057 cat > conftest.$ac_ext <<EOF | 12081 cat > conftest.$ac_ext <<EOF |
12058 #line 12059 "configure" | 12082 #line 12083 "configure" |
12059 #include "confdefs.h" | 12083 #include "confdefs.h" |
12060 /* System header to define __stub macros and hopefully few prototypes, | 12084 /* System header to define __stub macros and hopefully few prototypes, |
12061 which can conflict with char $ac_func(); below. */ | 12085 which can conflict with char $ac_func(); below. */ |
12062 #include <assert.h> | 12086 #include <assert.h> |
12063 /* Override any gcc2 internal prototype to avoid an error. */ | 12087 /* Override any gcc2 internal prototype to avoid an error. */ |
12076 $ac_func(); | 12100 $ac_func(); |
12077 #endif | 12101 #endif |
12078 | 12102 |
12079 ; return 0; } | 12103 ; return 0; } |
12080 EOF | 12104 EOF |
12081 if { (eval echo configure:12082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12105 if { (eval echo configure:12106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12082 rm -rf conftest* | 12106 rm -rf conftest* |
12083 eval "ac_cv_func_$ac_func=yes" | 12107 eval "ac_cv_func_$ac_func=yes" |
12084 else | 12108 else |
12085 echo "configure: failed program was:" >&5 | 12109 echo "configure: failed program was:" >&5 |
12086 cat conftest.$ac_ext >&5 | 12110 cat conftest.$ac_ext >&5 |
12104 echo "$ac_t""no" 1>&6 | 12128 echo "$ac_t""no" 1>&6 |
12105 fi | 12129 fi |
12106 done | 12130 done |
12107 | 12131 |
12108 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 12132 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
12109 echo "configure:12110: checking whether getpgrp takes no argument" >&5 | 12133 echo "configure:12134: checking whether getpgrp takes no argument" >&5 |
12110 | 12134 |
12111 cat > conftest.$ac_ext <<EOF | 12135 cat > conftest.$ac_ext <<EOF |
12112 #line 12113 "configure" | 12136 #line 12137 "configure" |
12113 #include "confdefs.h" | 12137 #include "confdefs.h" |
12114 | 12138 |
12115 /* | 12139 /* |
12116 * If this system has a BSD-style getpgrp(), | 12140 * If this system has a BSD-style getpgrp(), |
12117 * which takes a pid argument, exit unsuccessfully. | 12141 * which takes a pid argument, exit unsuccessfully. |
12162 exit(s>>8); | 12186 exit(s>>8); |
12163 } | 12187 } |
12164 } | 12188 } |
12165 | 12189 |
12166 EOF | 12190 EOF |
12167 if { (eval echo configure:12168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12191 if { (eval echo configure:12192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12168 then | 12192 then |
12169 ac_cv_func_getpgrp_void=yes | 12193 ac_cv_func_getpgrp_void=yes |
12170 else | 12194 else |
12171 conftest_rc="$?" | 12195 conftest_rc="$?" |
12172 echo "configure: failed program was:" >&5 | 12196 echo "configure: failed program was:" >&5 |
12189 | 12213 |
12190 fi | 12214 fi |
12191 | 12215 |
12192 | 12216 |
12193 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 12217 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
12194 echo "configure:12195: checking for working mmap" >&5 | 12218 echo "configure:12219: checking for working mmap" >&5 |
12195 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 12219 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
12196 cat > conftest.$ac_ext <<EOF | 12220 cat > conftest.$ac_ext <<EOF |
12197 #line 12198 "configure" | 12221 #line 12222 "configure" |
12198 #include "confdefs.h" | 12222 #include "confdefs.h" |
12199 #include <stdio.h> | 12223 #include <stdio.h> |
12200 #include <unistd.h> | 12224 #include <unistd.h> |
12201 #include <fcntl.h> | 12225 #include <fcntl.h> |
12202 #include <sys/mman.h> | 12226 #include <sys/mman.h> |
12225 return 0; | 12249 return 0; |
12226 perror ("conftest: mmap failed"); | 12250 perror ("conftest: mmap failed"); |
12227 return 1; | 12251 return 1; |
12228 } | 12252 } |
12229 EOF | 12253 EOF |
12230 if { (eval echo configure:12231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12254 if { (eval echo configure:12255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12231 then | 12255 then |
12232 have_mmap=yes | 12256 have_mmap=yes |
12233 else | 12257 else |
12234 conftest_rc="$?" | 12258 conftest_rc="$?" |
12235 echo "configure: failed program was:" >&5 | 12259 echo "configure: failed program was:" >&5 |
12254 esac | 12278 esac |
12255 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 12279 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
12256 if test "$rel_alloc $have_mmap" = "default yes"; then | 12280 if test "$rel_alloc $have_mmap" = "default yes"; then |
12257 if test "$doug_lea_malloc" = "yes"; then | 12281 if test "$doug_lea_malloc" = "yes"; then |
12258 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 12282 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
12259 echo "configure:12260: checking for M_MMAP_THRESHOLD" >&5 | 12283 echo "configure:12284: checking for M_MMAP_THRESHOLD" >&5 |
12260 cat > conftest.$ac_ext <<EOF | 12284 cat > conftest.$ac_ext <<EOF |
12261 #line 12262 "configure" | 12285 #line 12286 "configure" |
12262 #include "confdefs.h" | 12286 #include "confdefs.h" |
12263 #include <malloc.h> | 12287 #include <malloc.h> |
12264 int main() { | 12288 int main() { |
12265 | 12289 |
12266 #ifndef M_MMAP_THRESHOLD | 12290 #ifndef M_MMAP_THRESHOLD |
12268 !@+$%^&*_)(_ - unlikely to compile... | 12292 !@+$%^&*_)(_ - unlikely to compile... |
12269 #endif | 12293 #endif |
12270 | 12294 |
12271 ; return 0; } | 12295 ; return 0; } |
12272 EOF | 12296 EOF |
12273 if { (eval echo configure:12274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12297 if { (eval echo configure:12298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12274 rm -rf conftest* | 12298 rm -rf conftest* |
12275 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 12299 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
12276 else | 12300 else |
12277 echo "configure: failed program was:" >&5 | 12301 echo "configure: failed program was:" >&5 |
12278 cat conftest.$ac_ext >&5 | 12302 cat conftest.$ac_ext >&5 |
12293 } | 12317 } |
12294 | 12318 |
12295 | 12319 |
12296 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 12320 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
12297 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 12321 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
12298 echo "configure:12299: checking for termios.h" >&5 | 12322 echo "configure:12323: checking for termios.h" >&5 |
12299 | 12323 |
12300 cat > conftest.$ac_ext <<EOF | 12324 cat > conftest.$ac_ext <<EOF |
12301 #line 12302 "configure" | 12325 #line 12326 "configure" |
12302 #include "confdefs.h" | 12326 #include "confdefs.h" |
12303 #include <termios.h> | 12327 #include <termios.h> |
12304 EOF | 12328 EOF |
12305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12329 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12306 { (eval echo configure:12307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12330 { (eval echo configure:12331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12331 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12308 if test -z "$ac_err"; then | 12332 if test -z "$ac_err"; then |
12309 rm -rf conftest* | 12333 rm -rf conftest* |
12310 eval "ac_cv_header_$ac_safe=yes" | 12334 eval "ac_cv_header_$ac_safe=yes" |
12311 else | 12335 else |
12344 | 12368 |
12345 else | 12369 else |
12346 echo "$ac_t""no" 1>&6 | 12370 echo "$ac_t""no" 1>&6 |
12347 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 12371 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
12348 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 12372 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
12349 echo "configure:12350: checking for termio.h" >&5 | 12373 echo "configure:12374: checking for termio.h" >&5 |
12350 | 12374 |
12351 cat > conftest.$ac_ext <<EOF | 12375 cat > conftest.$ac_ext <<EOF |
12352 #line 12353 "configure" | 12376 #line 12377 "configure" |
12353 #include "confdefs.h" | 12377 #include "confdefs.h" |
12354 #include <termio.h> | 12378 #include <termio.h> |
12355 EOF | 12379 EOF |
12356 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12357 { (eval echo configure:12358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12381 { (eval echo configure:12382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12358 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12359 if test -z "$ac_err"; then | 12383 if test -z "$ac_err"; then |
12360 rm -rf conftest* | 12384 rm -rf conftest* |
12361 eval "ac_cv_header_$ac_safe=yes" | 12385 eval "ac_cv_header_$ac_safe=yes" |
12362 else | 12386 else |
12384 fi | 12408 fi |
12385 | 12409 |
12386 | 12410 |
12387 | 12411 |
12388 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 12412 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
12389 echo "configure:12390: checking for socket" >&5 | 12413 echo "configure:12414: checking for socket" >&5 |
12390 | 12414 |
12391 cat > conftest.$ac_ext <<EOF | 12415 cat > conftest.$ac_ext <<EOF |
12392 #line 12393 "configure" | 12416 #line 12417 "configure" |
12393 #include "confdefs.h" | 12417 #include "confdefs.h" |
12394 /* System header to define __stub macros and hopefully few prototypes, | 12418 /* System header to define __stub macros and hopefully few prototypes, |
12395 which can conflict with char socket(); below. */ | 12419 which can conflict with char socket(); below. */ |
12396 #include <assert.h> | 12420 #include <assert.h> |
12397 /* Override any gcc2 internal prototype to avoid an error. */ | 12421 /* Override any gcc2 internal prototype to avoid an error. */ |
12410 socket(); | 12434 socket(); |
12411 #endif | 12435 #endif |
12412 | 12436 |
12413 ; return 0; } | 12437 ; return 0; } |
12414 EOF | 12438 EOF |
12415 if { (eval echo configure:12416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12439 if { (eval echo configure:12440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12416 rm -rf conftest* | 12440 rm -rf conftest* |
12417 eval "ac_cv_func_socket=yes" | 12441 eval "ac_cv_func_socket=yes" |
12418 else | 12442 else |
12419 echo "configure: failed program was:" >&5 | 12443 echo "configure: failed program was:" >&5 |
12420 cat conftest.$ac_ext >&5 | 12444 cat conftest.$ac_ext >&5 |
12425 | 12449 |
12426 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 12450 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
12427 echo "$ac_t""yes" 1>&6 | 12451 echo "$ac_t""yes" 1>&6 |
12428 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 12452 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
12429 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 12453 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
12430 echo "configure:12431: checking for netinet/in.h" >&5 | 12454 echo "configure:12455: checking for netinet/in.h" >&5 |
12431 | 12455 |
12432 cat > conftest.$ac_ext <<EOF | 12456 cat > conftest.$ac_ext <<EOF |
12433 #line 12434 "configure" | 12457 #line 12458 "configure" |
12434 #include "confdefs.h" | 12458 #include "confdefs.h" |
12435 #include <netinet/in.h> | 12459 #include <netinet/in.h> |
12436 EOF | 12460 EOF |
12437 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12438 { (eval echo configure:12439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12462 { (eval echo configure:12463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12439 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12440 if test -z "$ac_err"; then | 12464 if test -z "$ac_err"; then |
12441 rm -rf conftest* | 12465 rm -rf conftest* |
12442 eval "ac_cv_header_$ac_safe=yes" | 12466 eval "ac_cv_header_$ac_safe=yes" |
12443 else | 12467 else |
12450 rm -f conftest* | 12474 rm -f conftest* |
12451 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12475 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12452 echo "$ac_t""yes" 1>&6 | 12476 echo "$ac_t""yes" 1>&6 |
12453 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 12477 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
12454 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 12478 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
12455 echo "configure:12456: checking for arpa/inet.h" >&5 | 12479 echo "configure:12480: checking for arpa/inet.h" >&5 |
12456 | 12480 |
12457 cat > conftest.$ac_ext <<EOF | 12481 cat > conftest.$ac_ext <<EOF |
12458 #line 12459 "configure" | 12482 #line 12483 "configure" |
12459 #include "confdefs.h" | 12483 #include "confdefs.h" |
12460 #include <arpa/inet.h> | 12484 #include <arpa/inet.h> |
12461 EOF | 12485 EOF |
12462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12486 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12463 { (eval echo configure:12464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12487 { (eval echo configure:12488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12488 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12465 if test -z "$ac_err"; then | 12489 if test -z "$ac_err"; then |
12466 rm -rf conftest* | 12490 rm -rf conftest* |
12467 eval "ac_cv_header_$ac_safe=yes" | 12491 eval "ac_cv_header_$ac_safe=yes" |
12468 else | 12492 else |
12483 #define HAVE_SOCKETS 1 | 12507 #define HAVE_SOCKETS 1 |
12484 EOF | 12508 EOF |
12485 } | 12509 } |
12486 | 12510 |
12487 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 12511 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
12488 echo "configure:12489: checking "for sun_len member in struct sockaddr_un"" >&5 | 12512 echo "configure:12513: checking "for sun_len member in struct sockaddr_un"" >&5 |
12489 cat > conftest.$ac_ext <<EOF | 12513 cat > conftest.$ac_ext <<EOF |
12490 #line 12491 "configure" | 12514 #line 12515 "configure" |
12491 #include "confdefs.h" | 12515 #include "confdefs.h" |
12492 | 12516 |
12493 #include <sys/types.h> | 12517 #include <sys/types.h> |
12494 #include <sys/socket.h> | 12518 #include <sys/socket.h> |
12495 #include <sys/un.h> | 12519 #include <sys/un.h> |
12496 | 12520 |
12497 int main() { | 12521 int main() { |
12498 static struct sockaddr_un x; x.sun_len = 1; | 12522 static struct sockaddr_un x; x.sun_len = 1; |
12499 ; return 0; } | 12523 ; return 0; } |
12500 EOF | 12524 EOF |
12501 if { (eval echo configure:12502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12525 if { (eval echo configure:12526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12502 rm -rf conftest* | 12526 rm -rf conftest* |
12503 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12527 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12504 Defining HAVE_SOCKADDR_SUN_LEN | 12528 Defining HAVE_SOCKADDR_SUN_LEN |
12505 EOF | 12529 EOF |
12506 cat >> confdefs.h <<\EOF | 12530 cat >> confdefs.h <<\EOF |
12514 rm -rf conftest* | 12538 rm -rf conftest* |
12515 echo "$ac_t""no" 1>&6 | 12539 echo "$ac_t""no" 1>&6 |
12516 fi | 12540 fi |
12517 rm -f conftest* | 12541 rm -f conftest* |
12518 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 12542 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
12519 echo "configure:12520: checking "for ip_mreq struct in netinet/in.h"" >&5 | 12543 echo "configure:12544: checking "for ip_mreq struct in netinet/in.h"" >&5 |
12520 cat > conftest.$ac_ext <<EOF | 12544 cat > conftest.$ac_ext <<EOF |
12521 #line 12522 "configure" | 12545 #line 12546 "configure" |
12522 #include "confdefs.h" | 12546 #include "confdefs.h" |
12523 | 12547 |
12524 #include <sys/types.h> | 12548 #include <sys/types.h> |
12525 #include <netinet/in.h> | 12549 #include <netinet/in.h> |
12526 | 12550 |
12527 int main() { | 12551 int main() { |
12528 static struct ip_mreq x; | 12552 static struct ip_mreq x; |
12529 ; return 0; } | 12553 ; return 0; } |
12530 EOF | 12554 EOF |
12531 if { (eval echo configure:12532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12555 if { (eval echo configure:12556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12532 rm -rf conftest* | 12556 rm -rf conftest* |
12533 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 12557 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
12534 Defining HAVE_MULTICAST | 12558 Defining HAVE_MULTICAST |
12535 EOF | 12559 EOF |
12536 cat >> confdefs.h <<\EOF | 12560 cat >> confdefs.h <<\EOF |
12557 echo "$ac_t""no" 1>&6 | 12581 echo "$ac_t""no" 1>&6 |
12558 fi | 12582 fi |
12559 | 12583 |
12560 | 12584 |
12561 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 12585 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
12562 echo "configure:12563: checking for msgget" >&5 | 12586 echo "configure:12587: checking for msgget" >&5 |
12563 | 12587 |
12564 cat > conftest.$ac_ext <<EOF | 12588 cat > conftest.$ac_ext <<EOF |
12565 #line 12566 "configure" | 12589 #line 12590 "configure" |
12566 #include "confdefs.h" | 12590 #include "confdefs.h" |
12567 /* System header to define __stub macros and hopefully few prototypes, | 12591 /* System header to define __stub macros and hopefully few prototypes, |
12568 which can conflict with char msgget(); below. */ | 12592 which can conflict with char msgget(); below. */ |
12569 #include <assert.h> | 12593 #include <assert.h> |
12570 /* Override any gcc2 internal prototype to avoid an error. */ | 12594 /* Override any gcc2 internal prototype to avoid an error. */ |
12583 msgget(); | 12607 msgget(); |
12584 #endif | 12608 #endif |
12585 | 12609 |
12586 ; return 0; } | 12610 ; return 0; } |
12587 EOF | 12611 EOF |
12588 if { (eval echo configure:12589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12612 if { (eval echo configure:12613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12589 rm -rf conftest* | 12613 rm -rf conftest* |
12590 eval "ac_cv_func_msgget=yes" | 12614 eval "ac_cv_func_msgget=yes" |
12591 else | 12615 else |
12592 echo "configure: failed program was:" >&5 | 12616 echo "configure: failed program was:" >&5 |
12593 cat conftest.$ac_ext >&5 | 12617 cat conftest.$ac_ext >&5 |
12598 | 12622 |
12599 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 12623 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
12600 echo "$ac_t""yes" 1>&6 | 12624 echo "$ac_t""yes" 1>&6 |
12601 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 12625 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
12602 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 12626 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
12603 echo "configure:12604: checking for sys/ipc.h" >&5 | 12627 echo "configure:12628: checking for sys/ipc.h" >&5 |
12604 | 12628 |
12605 cat > conftest.$ac_ext <<EOF | 12629 cat > conftest.$ac_ext <<EOF |
12606 #line 12607 "configure" | 12630 #line 12631 "configure" |
12607 #include "confdefs.h" | 12631 #include "confdefs.h" |
12608 #include <sys/ipc.h> | 12632 #include <sys/ipc.h> |
12609 EOF | 12633 EOF |
12610 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12634 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12611 { (eval echo configure:12612: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12635 { (eval echo configure:12636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12612 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12636 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12613 if test -z "$ac_err"; then | 12637 if test -z "$ac_err"; then |
12614 rm -rf conftest* | 12638 rm -rf conftest* |
12615 eval "ac_cv_header_$ac_safe=yes" | 12639 eval "ac_cv_header_$ac_safe=yes" |
12616 else | 12640 else |
12623 rm -f conftest* | 12647 rm -f conftest* |
12624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12625 echo "$ac_t""yes" 1>&6 | 12649 echo "$ac_t""yes" 1>&6 |
12626 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 12650 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
12627 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 12651 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
12628 echo "configure:12629: checking for sys/msg.h" >&5 | 12652 echo "configure:12653: checking for sys/msg.h" >&5 |
12629 | 12653 |
12630 cat > conftest.$ac_ext <<EOF | 12654 cat > conftest.$ac_ext <<EOF |
12631 #line 12632 "configure" | 12655 #line 12656 "configure" |
12632 #include "confdefs.h" | 12656 #include "confdefs.h" |
12633 #include <sys/msg.h> | 12657 #include <sys/msg.h> |
12634 EOF | 12658 EOF |
12635 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12636 { (eval echo configure:12637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12660 { (eval echo configure:12661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12638 if test -z "$ac_err"; then | 12662 if test -z "$ac_err"; then |
12639 rm -rf conftest* | 12663 rm -rf conftest* |
12640 eval "ac_cv_header_$ac_safe=yes" | 12664 eval "ac_cv_header_$ac_safe=yes" |
12641 else | 12665 else |
12669 fi | 12693 fi |
12670 | 12694 |
12671 | 12695 |
12672 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 12696 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
12673 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 12697 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
12674 echo "configure:12675: checking for dirent.h" >&5 | 12698 echo "configure:12699: checking for dirent.h" >&5 |
12675 | 12699 |
12676 cat > conftest.$ac_ext <<EOF | 12700 cat > conftest.$ac_ext <<EOF |
12677 #line 12678 "configure" | 12701 #line 12702 "configure" |
12678 #include "confdefs.h" | 12702 #include "confdefs.h" |
12679 #include <dirent.h> | 12703 #include <dirent.h> |
12680 EOF | 12704 EOF |
12681 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12682 { (eval echo configure:12683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12706 { (eval echo configure:12707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12683 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12684 if test -z "$ac_err"; then | 12708 if test -z "$ac_err"; then |
12685 rm -rf conftest* | 12709 rm -rf conftest* |
12686 eval "ac_cv_header_$ac_safe=yes" | 12710 eval "ac_cv_header_$ac_safe=yes" |
12687 else | 12711 else |
12704 | 12728 |
12705 else | 12729 else |
12706 echo "$ac_t""no" 1>&6 | 12730 echo "$ac_t""no" 1>&6 |
12707 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 12731 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
12708 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 12732 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
12709 echo "configure:12710: checking for sys/dir.h" >&5 | 12733 echo "configure:12734: checking for sys/dir.h" >&5 |
12710 | 12734 |
12711 cat > conftest.$ac_ext <<EOF | 12735 cat > conftest.$ac_ext <<EOF |
12712 #line 12713 "configure" | 12736 #line 12737 "configure" |
12713 #include "confdefs.h" | 12737 #include "confdefs.h" |
12714 #include <sys/dir.h> | 12738 #include <sys/dir.h> |
12715 EOF | 12739 EOF |
12716 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12740 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12717 { (eval echo configure:12718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12741 { (eval echo configure:12742: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12718 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12742 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12719 if test -z "$ac_err"; then | 12743 if test -z "$ac_err"; then |
12720 rm -rf conftest* | 12744 rm -rf conftest* |
12721 eval "ac_cv_header_$ac_safe=yes" | 12745 eval "ac_cv_header_$ac_safe=yes" |
12722 else | 12746 else |
12745 fi | 12769 fi |
12746 | 12770 |
12747 | 12771 |
12748 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 12772 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
12749 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 12773 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
12750 echo "configure:12751: checking for nlist.h" >&5 | 12774 echo "configure:12775: checking for nlist.h" >&5 |
12751 | 12775 |
12752 cat > conftest.$ac_ext <<EOF | 12776 cat > conftest.$ac_ext <<EOF |
12753 #line 12754 "configure" | 12777 #line 12778 "configure" |
12754 #include "confdefs.h" | 12778 #include "confdefs.h" |
12755 #include <nlist.h> | 12779 #include <nlist.h> |
12756 EOF | 12780 EOF |
12757 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12781 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12758 { (eval echo configure:12759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12782 { (eval echo configure:12783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12759 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12760 if test -z "$ac_err"; then | 12784 if test -z "$ac_err"; then |
12761 rm -rf conftest* | 12785 rm -rf conftest* |
12762 eval "ac_cv_header_$ac_safe=yes" | 12786 eval "ac_cv_header_$ac_safe=yes" |
12763 else | 12787 else |
12783 fi | 12807 fi |
12784 | 12808 |
12785 | 12809 |
12786 | 12810 |
12787 echo "checking "for sound support"" 1>&6 | 12811 echo "checking "for sound support"" 1>&6 |
12788 echo "configure:12789: checking "for sound support"" >&5 | 12812 echo "configure:12813: checking "for sound support"" >&5 |
12789 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 12813 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
12790 | 12814 |
12791 if test "$with_native_sound" != "no"; then | 12815 if test "$with_native_sound" != "no"; then |
12792 if test -n "$native_sound_lib"; then | 12816 if test -n "$native_sound_lib"; then |
12793 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 12817 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
12794 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 12818 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
12795 echo "configure:12796: checking for multimedia/audio_device.h" >&5 | 12819 echo "configure:12820: checking for multimedia/audio_device.h" >&5 |
12796 | 12820 |
12797 cat > conftest.$ac_ext <<EOF | 12821 cat > conftest.$ac_ext <<EOF |
12798 #line 12799 "configure" | 12822 #line 12823 "configure" |
12799 #include "confdefs.h" | 12823 #include "confdefs.h" |
12800 #include <multimedia/audio_device.h> | 12824 #include <multimedia/audio_device.h> |
12801 EOF | 12825 EOF |
12802 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12826 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12803 { (eval echo configure:12804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12827 { (eval echo configure:12828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12804 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12828 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12805 if test -z "$ac_err"; then | 12829 if test -z "$ac_err"; then |
12806 rm -rf conftest* | 12830 rm -rf conftest* |
12807 eval "ac_cv_header_$ac_safe=yes" | 12831 eval "ac_cv_header_$ac_safe=yes" |
12808 else | 12832 else |
12846 case "$canonical" in | 12870 case "$canonical" in |
12847 *-sgi-* ) | 12871 *-sgi-* ) |
12848 if test -z "$native_sound_lib"; then | 12872 if test -z "$native_sound_lib"; then |
12849 | 12873 |
12850 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 12874 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
12851 echo "configure:12852: checking for ALopenport in -laudio" >&5 | 12875 echo "configure:12876: checking for ALopenport in -laudio" >&5 |
12852 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 12876 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
12853 | 12877 |
12854 xe_check_libs=" -laudio " | 12878 xe_check_libs=" -laudio " |
12855 cat > conftest.$ac_ext <<EOF | 12879 cat > conftest.$ac_ext <<EOF |
12856 #line 12857 "configure" | 12880 #line 12881 "configure" |
12857 #include "confdefs.h" | 12881 #include "confdefs.h" |
12858 /* Override any gcc2 internal prototype to avoid an error. */ | 12882 /* Override any gcc2 internal prototype to avoid an error. */ |
12859 /* We use char because int might match the return type of a gcc2 | 12883 /* We use char because int might match the return type of a gcc2 |
12860 builtin and then its argument prototype would still apply. */ | 12884 builtin and then its argument prototype would still apply. */ |
12861 char ALopenport(); | 12885 char ALopenport(); |
12862 | 12886 |
12863 int main() { | 12887 int main() { |
12864 ALopenport() | 12888 ALopenport() |
12865 ; return 0; } | 12889 ; return 0; } |
12866 EOF | 12890 EOF |
12867 if { (eval echo configure:12868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12891 if { (eval echo configure:12892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12868 rm -rf conftest* | 12892 rm -rf conftest* |
12869 eval "ac_cv_lib_$ac_lib_var=yes" | 12893 eval "ac_cv_lib_$ac_lib_var=yes" |
12870 else | 12894 else |
12871 echo "configure: failed program was:" >&5 | 12895 echo "configure: failed program was:" >&5 |
12872 cat conftest.$ac_ext >&5 | 12896 cat conftest.$ac_ext >&5 |
12893 fi ;; | 12917 fi ;; |
12894 hppa*-hp-hpux* ) | 12918 hppa*-hp-hpux* ) |
12895 if test -z "$native_sound_lib"; then | 12919 if test -z "$native_sound_lib"; then |
12896 | 12920 |
12897 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 12921 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
12898 echo "configure:12899: checking for AOpenAudio in -lAlib" >&5 | 12922 echo "configure:12923: checking for AOpenAudio in -lAlib" >&5 |
12899 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 12923 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
12900 | 12924 |
12901 xe_check_libs=" -lAlib " | 12925 xe_check_libs=" -lAlib " |
12902 cat > conftest.$ac_ext <<EOF | 12926 cat > conftest.$ac_ext <<EOF |
12903 #line 12904 "configure" | 12927 #line 12928 "configure" |
12904 #include "confdefs.h" | 12928 #include "confdefs.h" |
12905 /* Override any gcc2 internal prototype to avoid an error. */ | 12929 /* Override any gcc2 internal prototype to avoid an error. */ |
12906 /* We use char because int might match the return type of a gcc2 | 12930 /* We use char because int might match the return type of a gcc2 |
12907 builtin and then its argument prototype would still apply. */ | 12931 builtin and then its argument prototype would still apply. */ |
12908 char AOpenAudio(); | 12932 char AOpenAudio(); |
12909 | 12933 |
12910 int main() { | 12934 int main() { |
12911 AOpenAudio() | 12935 AOpenAudio() |
12912 ; return 0; } | 12936 ; return 0; } |
12913 EOF | 12937 EOF |
12914 if { (eval echo configure:12915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12938 if { (eval echo configure:12939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12915 rm -rf conftest* | 12939 rm -rf conftest* |
12916 eval "ac_cv_lib_$ac_lib_var=yes" | 12940 eval "ac_cv_lib_$ac_lib_var=yes" |
12917 else | 12941 else |
12918 echo "configure: failed program was:" >&5 | 12942 echo "configure: failed program was:" >&5 |
12919 cat conftest.$ac_ext >&5 | 12943 cat conftest.$ac_ext >&5 |
12957 | 12981 |
12958 if test -z "$sound_found"; then | 12982 if test -z "$sound_found"; then |
12959 for dir in "machine" "sys" "linux"; do | 12983 for dir in "machine" "sys" "linux"; do |
12960 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 12984 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
12961 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 12985 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
12962 echo "configure:12963: checking for ${dir}/soundcard.h" >&5 | 12986 echo "configure:12987: checking for ${dir}/soundcard.h" >&5 |
12963 | 12987 |
12964 cat > conftest.$ac_ext <<EOF | 12988 cat > conftest.$ac_ext <<EOF |
12965 #line 12966 "configure" | 12989 #line 12990 "configure" |
12966 #include "confdefs.h" | 12990 #include "confdefs.h" |
12967 #include <${dir}/soundcard.h> | 12991 #include <${dir}/soundcard.h> |
12968 EOF | 12992 EOF |
12969 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12970 { (eval echo configure:12971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12994 { (eval echo configure:12995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12971 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12972 if test -z "$ac_err"; then | 12996 if test -z "$ac_err"; then |
12973 rm -rf conftest* | 12997 rm -rf conftest* |
12974 eval "ac_cv_header_$ac_safe=yes" | 12998 eval "ac_cv_header_$ac_safe=yes" |
12975 else | 12999 else |
13019 fi | 13043 fi |
13020 | 13044 |
13021 if test "$with_nas_sound" != "no"; then | 13045 if test "$with_nas_sound" != "no"; then |
13022 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 13046 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
13023 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 13047 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
13024 echo "configure:13025: checking for audio/audiolib.h" >&5 | 13048 echo "configure:13049: checking for audio/audiolib.h" >&5 |
13025 | 13049 |
13026 cat > conftest.$ac_ext <<EOF | 13050 cat > conftest.$ac_ext <<EOF |
13027 #line 13028 "configure" | 13051 #line 13052 "configure" |
13028 #include "confdefs.h" | 13052 #include "confdefs.h" |
13029 #include <audio/audiolib.h> | 13053 #include <audio/audiolib.h> |
13030 EOF | 13054 EOF |
13031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13055 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13032 { (eval echo configure:13033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13056 { (eval echo configure:13057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13057 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13034 if test -z "$ac_err"; then | 13058 if test -z "$ac_err"; then |
13035 rm -rf conftest* | 13059 rm -rf conftest* |
13036 eval "ac_cv_header_$ac_safe=yes" | 13060 eval "ac_cv_header_$ac_safe=yes" |
13037 else | 13061 else |
13045 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13069 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13046 echo "$ac_t""yes" 1>&6 | 13070 echo "$ac_t""yes" 1>&6 |
13047 | 13071 |
13048 | 13072 |
13049 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 13073 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
13050 echo "configure:13051: checking for AuOpenServer in -laudio" >&5 | 13074 echo "configure:13075: checking for AuOpenServer in -laudio" >&5 |
13051 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 13075 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
13052 | 13076 |
13053 xe_check_libs=" -laudio " | 13077 xe_check_libs=" -laudio " |
13054 cat > conftest.$ac_ext <<EOF | 13078 cat > conftest.$ac_ext <<EOF |
13055 #line 13056 "configure" | 13079 #line 13080 "configure" |
13056 #include "confdefs.h" | 13080 #include "confdefs.h" |
13057 /* Override any gcc2 internal prototype to avoid an error. */ | 13081 /* Override any gcc2 internal prototype to avoid an error. */ |
13058 /* We use char because int might match the return type of a gcc2 | 13082 /* We use char because int might match the return type of a gcc2 |
13059 builtin and then its argument prototype would still apply. */ | 13083 builtin and then its argument prototype would still apply. */ |
13060 char AuOpenServer(); | 13084 char AuOpenServer(); |
13061 | 13085 |
13062 int main() { | 13086 int main() { |
13063 AuOpenServer() | 13087 AuOpenServer() |
13064 ; return 0; } | 13088 ; return 0; } |
13065 EOF | 13089 EOF |
13066 if { (eval echo configure:13067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13090 if { (eval echo configure:13091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13067 rm -rf conftest* | 13091 rm -rf conftest* |
13068 eval "ac_cv_lib_$ac_lib_var=yes" | 13092 eval "ac_cv_lib_$ac_lib_var=yes" |
13069 else | 13093 else |
13070 echo "configure: failed program was:" >&5 | 13094 echo "configure: failed program was:" >&5 |
13071 cat conftest.$ac_ext >&5 | 13095 cat conftest.$ac_ext >&5 |
13100 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 13124 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
13101 echo " xemacs will be linked with \"nas.o\"" | 13125 echo " xemacs will be linked with \"nas.o\"" |
13102 fi | 13126 fi |
13103 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 13127 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
13104 cat > conftest.$ac_ext <<EOF | 13128 cat > conftest.$ac_ext <<EOF |
13105 #line 13106 "configure" | 13129 #line 13130 "configure" |
13106 #include "confdefs.h" | 13130 #include "confdefs.h" |
13107 #include <audio/Xtutil.h> | 13131 #include <audio/Xtutil.h> |
13108 EOF | 13132 EOF |
13109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13110 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 13134 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
13131 | 13155 |
13132 if test "$with_esd_sound" != "no"; then | 13156 if test "$with_esd_sound" != "no"; then |
13133 # Extract the first word of "esd-config", so it can be a program name with args. | 13157 # Extract the first word of "esd-config", so it can be a program name with args. |
13134 set dummy esd-config; ac_word=$2 | 13158 set dummy esd-config; ac_word=$2 |
13135 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 13159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
13136 echo "configure:13137: checking for $ac_word" >&5 | 13160 echo "configure:13161: checking for $ac_word" >&5 |
13137 | 13161 |
13138 if test -n "$have_esd_config"; then | 13162 if test -n "$have_esd_config"; then |
13139 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 13163 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
13140 else | 13164 else |
13141 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 13165 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
13160 if test "$have_esd_config" = "yes"; then | 13184 if test "$have_esd_config" = "yes"; then |
13161 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 13185 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
13162 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 | 13186 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 |
13163 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 13187 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
13164 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 13188 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
13165 echo "configure:13166: checking for esd_play_stream" >&5 | 13189 echo "configure:13190: checking for esd_play_stream" >&5 |
13166 | 13190 |
13167 cat > conftest.$ac_ext <<EOF | 13191 cat > conftest.$ac_ext <<EOF |
13168 #line 13169 "configure" | 13192 #line 13193 "configure" |
13169 #include "confdefs.h" | 13193 #include "confdefs.h" |
13170 /* System header to define __stub macros and hopefully few prototypes, | 13194 /* System header to define __stub macros and hopefully few prototypes, |
13171 which can conflict with char esd_play_stream(); below. */ | 13195 which can conflict with char esd_play_stream(); below. */ |
13172 #include <assert.h> | 13196 #include <assert.h> |
13173 /* Override any gcc2 internal prototype to avoid an error. */ | 13197 /* Override any gcc2 internal prototype to avoid an error. */ |
13186 esd_play_stream(); | 13210 esd_play_stream(); |
13187 #endif | 13211 #endif |
13188 | 13212 |
13189 ; return 0; } | 13213 ; return 0; } |
13190 EOF | 13214 EOF |
13191 if { (eval echo configure:13192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13215 if { (eval echo configure:13216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13192 rm -rf conftest* | 13216 rm -rf conftest* |
13193 eval "ac_cv_func_esd_play_stream=yes" | 13217 eval "ac_cv_func_esd_play_stream=yes" |
13194 else | 13218 else |
13195 echo "configure: failed program was:" >&5 | 13219 echo "configure: failed program was:" >&5 |
13196 cat conftest.$ac_ext >&5 | 13220 cat conftest.$ac_ext >&5 |
13237 | 13261 |
13238 test -z "$with_tty" && with_tty=yes | 13262 test -z "$with_tty" && with_tty=yes |
13239 | 13263 |
13240 if test "$with_tty" = "yes" ; then | 13264 if test "$with_tty" = "yes" ; then |
13241 echo "checking for TTY-related features" 1>&6 | 13265 echo "checking for TTY-related features" 1>&6 |
13242 echo "configure:13243: checking for TTY-related features" >&5 | 13266 echo "configure:13267: checking for TTY-related features" >&5 |
13243 { test "$extra_verbose" = "yes" && cat << \EOF | 13267 { test "$extra_verbose" = "yes" && cat << \EOF |
13244 Defining HAVE_TTY | 13268 Defining HAVE_TTY |
13245 EOF | 13269 EOF |
13246 cat >> confdefs.h <<\EOF | 13270 cat >> confdefs.h <<\EOF |
13247 #define HAVE_TTY 1 | 13271 #define HAVE_TTY 1 |
13250 | 13274 |
13251 | 13275 |
13252 if test -z "$with_ncurses"; then | 13276 if test -z "$with_ncurses"; then |
13253 | 13277 |
13254 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 13278 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
13255 echo "configure:13256: checking for tgetent in -lncurses" >&5 | 13279 echo "configure:13280: checking for tgetent in -lncurses" >&5 |
13256 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 13280 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
13257 | 13281 |
13258 xe_check_libs=" -lncurses " | 13282 xe_check_libs=" -lncurses " |
13259 cat > conftest.$ac_ext <<EOF | 13283 cat > conftest.$ac_ext <<EOF |
13260 #line 13261 "configure" | 13284 #line 13285 "configure" |
13261 #include "confdefs.h" | 13285 #include "confdefs.h" |
13262 /* Override any gcc2 internal prototype to avoid an error. */ | 13286 /* Override any gcc2 internal prototype to avoid an error. */ |
13263 /* We use char because int might match the return type of a gcc2 | 13287 /* We use char because int might match the return type of a gcc2 |
13264 builtin and then its argument prototype would still apply. */ | 13288 builtin and then its argument prototype would still apply. */ |
13265 char tgetent(); | 13289 char tgetent(); |
13266 | 13290 |
13267 int main() { | 13291 int main() { |
13268 tgetent() | 13292 tgetent() |
13269 ; return 0; } | 13293 ; return 0; } |
13270 EOF | 13294 EOF |
13271 if { (eval echo configure:13272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13295 if { (eval echo configure:13296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13272 rm -rf conftest* | 13296 rm -rf conftest* |
13273 eval "ac_cv_lib_$ac_lib_var=yes" | 13297 eval "ac_cv_lib_$ac_lib_var=yes" |
13274 else | 13298 else |
13275 echo "configure: failed program was:" >&5 | 13299 echo "configure: failed program was:" >&5 |
13276 cat conftest.$ac_ext >&5 | 13300 cat conftest.$ac_ext >&5 |
13299 EOF | 13323 EOF |
13300 } | 13324 } |
13301 | 13325 |
13302 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13326 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13303 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13327 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13304 echo "configure:13305: checking for ncurses/curses.h" >&5 | 13328 echo "configure:13329: checking for ncurses/curses.h" >&5 |
13305 | 13329 |
13306 cat > conftest.$ac_ext <<EOF | 13330 cat > conftest.$ac_ext <<EOF |
13307 #line 13308 "configure" | 13331 #line 13332 "configure" |
13308 #include "confdefs.h" | 13332 #include "confdefs.h" |
13309 #include <ncurses/curses.h> | 13333 #include <ncurses/curses.h> |
13310 EOF | 13334 EOF |
13311 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13312 { (eval echo configure:13313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13336 { (eval echo configure:13337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13313 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13314 if test -z "$ac_err"; then | 13338 if test -z "$ac_err"; then |
13315 rm -rf conftest* | 13339 rm -rf conftest* |
13316 eval "ac_cv_header_$ac_safe=yes" | 13340 eval "ac_cv_header_$ac_safe=yes" |
13317 else | 13341 else |
13329 echo "$ac_t""no" 1>&6 | 13353 echo "$ac_t""no" 1>&6 |
13330 fi | 13354 fi |
13331 | 13355 |
13332 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 13356 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
13333 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 13357 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
13334 echo "configure:13335: checking for ncurses/term.h" >&5 | 13358 echo "configure:13359: checking for ncurses/term.h" >&5 |
13335 | 13359 |
13336 cat > conftest.$ac_ext <<EOF | 13360 cat > conftest.$ac_ext <<EOF |
13337 #line 13338 "configure" | 13361 #line 13362 "configure" |
13338 #include "confdefs.h" | 13362 #include "confdefs.h" |
13339 #include <ncurses/term.h> | 13363 #include <ncurses/term.h> |
13340 EOF | 13364 EOF |
13341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13342 { (eval echo configure:13343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13366 { (eval echo configure:13367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13344 if test -z "$ac_err"; then | 13368 if test -z "$ac_err"; then |
13345 rm -rf conftest* | 13369 rm -rf conftest* |
13346 eval "ac_cv_header_$ac_safe=yes" | 13370 eval "ac_cv_header_$ac_safe=yes" |
13347 else | 13371 else |
13367 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 13391 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
13368 save_c_switch_site="$c_switch_site" | 13392 save_c_switch_site="$c_switch_site" |
13369 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 13393 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
13370 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 13394 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
13371 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 13395 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
13372 echo "configure:13373: checking for ncurses/curses.h" >&5 | 13396 echo "configure:13397: checking for ncurses/curses.h" >&5 |
13373 | 13397 |
13374 cat > conftest.$ac_ext <<EOF | 13398 cat > conftest.$ac_ext <<EOF |
13375 #line 13376 "configure" | 13399 #line 13400 "configure" |
13376 #include "confdefs.h" | 13400 #include "confdefs.h" |
13377 #include <ncurses/curses.h> | 13401 #include <ncurses/curses.h> |
13378 EOF | 13402 EOF |
13379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13403 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13380 { (eval echo configure:13381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13404 { (eval echo configure:13405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13405 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13382 if test -z "$ac_err"; then | 13406 if test -z "$ac_err"; then |
13383 rm -rf conftest* | 13407 rm -rf conftest* |
13384 eval "ac_cv_header_$ac_safe=yes" | 13408 eval "ac_cv_header_$ac_safe=yes" |
13385 else | 13409 else |
13410 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13434 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13411 else | 13435 else |
13412 for lib in curses termlib termcap; do | 13436 for lib in curses termlib termcap; do |
13413 | 13437 |
13414 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 13438 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
13415 echo "configure:13416: checking for tgetent in -l$lib" >&5 | 13439 echo "configure:13440: checking for tgetent in -l$lib" >&5 |
13416 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 13440 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
13417 | 13441 |
13418 xe_check_libs=" -l$lib " | 13442 xe_check_libs=" -l$lib " |
13419 cat > conftest.$ac_ext <<EOF | 13443 cat > conftest.$ac_ext <<EOF |
13420 #line 13421 "configure" | 13444 #line 13445 "configure" |
13421 #include "confdefs.h" | 13445 #include "confdefs.h" |
13422 /* Override any gcc2 internal prototype to avoid an error. */ | 13446 /* Override any gcc2 internal prototype to avoid an error. */ |
13423 /* We use char because int might match the return type of a gcc2 | 13447 /* We use char because int might match the return type of a gcc2 |
13424 builtin and then its argument prototype would still apply. */ | 13448 builtin and then its argument prototype would still apply. */ |
13425 char tgetent(); | 13449 char tgetent(); |
13426 | 13450 |
13427 int main() { | 13451 int main() { |
13428 tgetent() | 13452 tgetent() |
13429 ; return 0; } | 13453 ; return 0; } |
13430 EOF | 13454 EOF |
13431 if { (eval echo configure:13432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13455 if { (eval echo configure:13456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13432 rm -rf conftest* | 13456 rm -rf conftest* |
13433 eval "ac_cv_lib_$ac_lib_var=yes" | 13457 eval "ac_cv_lib_$ac_lib_var=yes" |
13434 else | 13458 else |
13435 echo "configure: failed program was:" >&5 | 13459 echo "configure: failed program was:" >&5 |
13436 cat conftest.$ac_ext >&5 | 13460 cat conftest.$ac_ext >&5 |
13457 if test -n "$libs_termcap"; then | 13481 if test -n "$libs_termcap"; then |
13458 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 13482 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
13459 else | 13483 else |
13460 | 13484 |
13461 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 13485 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
13462 echo "configure:13463: checking for tgetent in -lcurses" >&5 | 13486 echo "configure:13487: checking for tgetent in -lcurses" >&5 |
13463 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 13487 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
13464 | 13488 |
13465 xe_check_libs=" -lcurses " | 13489 xe_check_libs=" -lcurses " |
13466 cat > conftest.$ac_ext <<EOF | 13490 cat > conftest.$ac_ext <<EOF |
13467 #line 13468 "configure" | 13491 #line 13492 "configure" |
13468 #include "confdefs.h" | 13492 #include "confdefs.h" |
13469 /* Override any gcc2 internal prototype to avoid an error. */ | 13493 /* Override any gcc2 internal prototype to avoid an error. */ |
13470 /* We use char because int might match the return type of a gcc2 | 13494 /* We use char because int might match the return type of a gcc2 |
13471 builtin and then its argument prototype would still apply. */ | 13495 builtin and then its argument prototype would still apply. */ |
13472 char tgetent(); | 13496 char tgetent(); |
13473 | 13497 |
13474 int main() { | 13498 int main() { |
13475 tgetent() | 13499 tgetent() |
13476 ; return 0; } | 13500 ; return 0; } |
13477 EOF | 13501 EOF |
13478 if { (eval echo configure:13479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13502 if { (eval echo configure:13503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13479 rm -rf conftest* | 13503 rm -rf conftest* |
13480 eval "ac_cv_lib_$ac_lib_var=yes" | 13504 eval "ac_cv_lib_$ac_lib_var=yes" |
13481 else | 13505 else |
13482 echo "configure: failed program was:" >&5 | 13506 echo "configure: failed program was:" >&5 |
13483 cat conftest.$ac_ext >&5 | 13507 cat conftest.$ac_ext >&5 |
13491 echo "$ac_t""yes" 1>&6 | 13515 echo "$ac_t""yes" 1>&6 |
13492 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 13516 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
13493 else | 13517 else |
13494 echo "$ac_t""no" 1>&6 | 13518 echo "$ac_t""no" 1>&6 |
13495 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 13519 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
13496 echo "configure:13497: checking for tgetent in -ltermcap" >&5 | 13520 echo "configure:13521: checking for tgetent in -ltermcap" >&5 |
13497 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 13521 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
13498 | 13522 |
13499 xe_check_libs=" -ltermcap " | 13523 xe_check_libs=" -ltermcap " |
13500 cat > conftest.$ac_ext <<EOF | 13524 cat > conftest.$ac_ext <<EOF |
13501 #line 13502 "configure" | 13525 #line 13526 "configure" |
13502 #include "confdefs.h" | 13526 #include "confdefs.h" |
13503 /* Override any gcc2 internal prototype to avoid an error. */ | 13527 /* Override any gcc2 internal prototype to avoid an error. */ |
13504 /* We use char because int might match the return type of a gcc2 | 13528 /* We use char because int might match the return type of a gcc2 |
13505 builtin and then its argument prototype would still apply. */ | 13529 builtin and then its argument prototype would still apply. */ |
13506 char tgetent(); | 13530 char tgetent(); |
13507 | 13531 |
13508 int main() { | 13532 int main() { |
13509 tgetent() | 13533 tgetent() |
13510 ; return 0; } | 13534 ; return 0; } |
13511 EOF | 13535 EOF |
13512 if { (eval echo configure:13513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13536 if { (eval echo configure:13537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13513 rm -rf conftest* | 13537 rm -rf conftest* |
13514 eval "ac_cv_lib_$ac_lib_var=yes" | 13538 eval "ac_cv_lib_$ac_lib_var=yes" |
13515 else | 13539 else |
13516 echo "configure: failed program was:" >&5 | 13540 echo "configure: failed program was:" >&5 |
13517 cat conftest.$ac_ext >&5 | 13541 cat conftest.$ac_ext >&5 |
13555 } | 13579 } |
13556 | 13580 |
13557 | 13581 |
13558 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 13582 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
13559 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 13583 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
13560 echo "configure:13561: checking for gpm.h" >&5 | 13584 echo "configure:13585: checking for gpm.h" >&5 |
13561 | 13585 |
13562 cat > conftest.$ac_ext <<EOF | 13586 cat > conftest.$ac_ext <<EOF |
13563 #line 13564 "configure" | 13587 #line 13588 "configure" |
13564 #include "confdefs.h" | 13588 #include "confdefs.h" |
13565 #include <gpm.h> | 13589 #include <gpm.h> |
13566 EOF | 13590 EOF |
13567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13591 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13568 { (eval echo configure:13569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13592 { (eval echo configure:13593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13593 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13570 if test -z "$ac_err"; then | 13594 if test -z "$ac_err"; then |
13571 rm -rf conftest* | 13595 rm -rf conftest* |
13572 eval "ac_cv_header_$ac_safe=yes" | 13596 eval "ac_cv_header_$ac_safe=yes" |
13573 else | 13597 else |
13586 with_gpm=no | 13610 with_gpm=no |
13587 fi | 13611 fi |
13588 } | 13612 } |
13589 test -z "$with_gpm" && { | 13613 test -z "$with_gpm" && { |
13590 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 13614 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
13591 echo "configure:13592: checking for Gpm_Open in -lgpm" >&5 | 13615 echo "configure:13616: checking for Gpm_Open in -lgpm" >&5 |
13592 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 13616 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
13593 | 13617 |
13594 xe_check_libs=" -lgpm " | 13618 xe_check_libs=" -lgpm " |
13595 cat > conftest.$ac_ext <<EOF | 13619 cat > conftest.$ac_ext <<EOF |
13596 #line 13597 "configure" | 13620 #line 13621 "configure" |
13597 #include "confdefs.h" | 13621 #include "confdefs.h" |
13598 /* Override any gcc2 internal prototype to avoid an error. */ | 13622 /* Override any gcc2 internal prototype to avoid an error. */ |
13599 /* We use char because int might match the return type of a gcc2 | 13623 /* We use char because int might match the return type of a gcc2 |
13600 builtin and then its argument prototype would still apply. */ | 13624 builtin and then its argument prototype would still apply. */ |
13601 char Gpm_Open(); | 13625 char Gpm_Open(); |
13602 | 13626 |
13603 int main() { | 13627 int main() { |
13604 Gpm_Open() | 13628 Gpm_Open() |
13605 ; return 0; } | 13629 ; return 0; } |
13606 EOF | 13630 EOF |
13607 if { (eval echo configure:13608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13631 if { (eval echo configure:13632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13608 rm -rf conftest* | 13632 rm -rf conftest* |
13609 eval "ac_cv_lib_$ac_lib_var=yes" | 13633 eval "ac_cv_lib_$ac_lib_var=yes" |
13610 else | 13634 else |
13611 echo "configure: failed program was:" >&5 | 13635 echo "configure: failed program was:" >&5 |
13612 cat conftest.$ac_ext >&5 | 13636 cat conftest.$ac_ext >&5 |
13645 done | 13669 done |
13646 fi | 13670 fi |
13647 | 13671 |
13648 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 13672 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
13649 != "no no no" && echo "checking for database support" 1>&6 | 13673 != "no no no" && echo "checking for database support" 1>&6 |
13650 echo "configure:13651: checking for database support" >&5 | 13674 echo "configure:13675: checking for database support" >&5 |
13651 | 13675 |
13652 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 13676 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
13653 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 13677 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
13654 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 13678 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
13655 echo "configure:13656: checking for ndbm.h" >&5 | 13679 echo "configure:13680: checking for ndbm.h" >&5 |
13656 | 13680 |
13657 cat > conftest.$ac_ext <<EOF | 13681 cat > conftest.$ac_ext <<EOF |
13658 #line 13659 "configure" | 13682 #line 13683 "configure" |
13659 #include "confdefs.h" | 13683 #include "confdefs.h" |
13660 #include <ndbm.h> | 13684 #include <ndbm.h> |
13661 EOF | 13685 EOF |
13662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13686 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13663 { (eval echo configure:13664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13687 { (eval echo configure:13688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13688 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13665 if test -z "$ac_err"; then | 13689 if test -z "$ac_err"; then |
13666 rm -rf conftest* | 13690 rm -rf conftest* |
13667 eval "ac_cv_header_$ac_safe=yes" | 13691 eval "ac_cv_header_$ac_safe=yes" |
13668 else | 13692 else |
13688 fi | 13712 fi |
13689 | 13713 |
13690 if test "$with_database_gdbm" != "no"; then | 13714 if test "$with_database_gdbm" != "no"; then |
13691 | 13715 |
13692 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 13716 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
13693 echo "configure:13694: checking for dbm_open in -lgdbm" >&5 | 13717 echo "configure:13718: checking for dbm_open in -lgdbm" >&5 |
13694 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13718 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13695 | 13719 |
13696 xe_check_libs=" -lgdbm " | 13720 xe_check_libs=" -lgdbm " |
13697 cat > conftest.$ac_ext <<EOF | 13721 cat > conftest.$ac_ext <<EOF |
13698 #line 13699 "configure" | 13722 #line 13723 "configure" |
13699 #include "confdefs.h" | 13723 #include "confdefs.h" |
13700 /* Override any gcc2 internal prototype to avoid an error. */ | 13724 /* Override any gcc2 internal prototype to avoid an error. */ |
13701 /* We use char because int might match the return type of a gcc2 | 13725 /* We use char because int might match the return type of a gcc2 |
13702 builtin and then its argument prototype would still apply. */ | 13726 builtin and then its argument prototype would still apply. */ |
13703 char dbm_open(); | 13727 char dbm_open(); |
13704 | 13728 |
13705 int main() { | 13729 int main() { |
13706 dbm_open() | 13730 dbm_open() |
13707 ; return 0; } | 13731 ; return 0; } |
13708 EOF | 13732 EOF |
13709 if { (eval echo configure:13710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13733 if { (eval echo configure:13734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13710 rm -rf conftest* | 13734 rm -rf conftest* |
13711 eval "ac_cv_lib_$ac_lib_var=yes" | 13735 eval "ac_cv_lib_$ac_lib_var=yes" |
13712 else | 13736 else |
13713 echo "configure: failed program was:" >&5 | 13737 echo "configure: failed program was:" >&5 |
13714 cat conftest.$ac_ext >&5 | 13738 cat conftest.$ac_ext >&5 |
13732 | 13756 |
13733 fi | 13757 fi |
13734 | 13758 |
13735 if test "$with_database_dbm" != "no"; then | 13759 if test "$with_database_dbm" != "no"; then |
13736 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 13760 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
13737 echo "configure:13738: checking for dbm_open" >&5 | 13761 echo "configure:13762: checking for dbm_open" >&5 |
13738 | 13762 |
13739 cat > conftest.$ac_ext <<EOF | 13763 cat > conftest.$ac_ext <<EOF |
13740 #line 13741 "configure" | 13764 #line 13765 "configure" |
13741 #include "confdefs.h" | 13765 #include "confdefs.h" |
13742 /* System header to define __stub macros and hopefully few prototypes, | 13766 /* System header to define __stub macros and hopefully few prototypes, |
13743 which can conflict with char dbm_open(); below. */ | 13767 which can conflict with char dbm_open(); below. */ |
13744 #include <assert.h> | 13768 #include <assert.h> |
13745 /* Override any gcc2 internal prototype to avoid an error. */ | 13769 /* Override any gcc2 internal prototype to avoid an error. */ |
13758 dbm_open(); | 13782 dbm_open(); |
13759 #endif | 13783 #endif |
13760 | 13784 |
13761 ; return 0; } | 13785 ; return 0; } |
13762 EOF | 13786 EOF |
13763 if { (eval echo configure:13764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13787 if { (eval echo configure:13788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13764 rm -rf conftest* | 13788 rm -rf conftest* |
13765 eval "ac_cv_func_dbm_open=yes" | 13789 eval "ac_cv_func_dbm_open=yes" |
13766 else | 13790 else |
13767 echo "configure: failed program was:" >&5 | 13791 echo "configure: failed program was:" >&5 |
13768 cat conftest.$ac_ext >&5 | 13792 cat conftest.$ac_ext >&5 |
13777 else | 13801 else |
13778 echo "$ac_t""no" 1>&6 | 13802 echo "$ac_t""no" 1>&6 |
13779 | 13803 |
13780 | 13804 |
13781 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 13805 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
13782 echo "configure:13783: checking for dbm_open in -ldbm" >&5 | 13806 echo "configure:13807: checking for dbm_open in -ldbm" >&5 |
13783 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 13807 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
13784 | 13808 |
13785 xe_check_libs=" -ldbm " | 13809 xe_check_libs=" -ldbm " |
13786 cat > conftest.$ac_ext <<EOF | 13810 cat > conftest.$ac_ext <<EOF |
13787 #line 13788 "configure" | 13811 #line 13812 "configure" |
13788 #include "confdefs.h" | 13812 #include "confdefs.h" |
13789 /* Override any gcc2 internal prototype to avoid an error. */ | 13813 /* Override any gcc2 internal prototype to avoid an error. */ |
13790 /* We use char because int might match the return type of a gcc2 | 13814 /* We use char because int might match the return type of a gcc2 |
13791 builtin and then its argument prototype would still apply. */ | 13815 builtin and then its argument prototype would still apply. */ |
13792 char dbm_open(); | 13816 char dbm_open(); |
13793 | 13817 |
13794 int main() { | 13818 int main() { |
13795 dbm_open() | 13819 dbm_open() |
13796 ; return 0; } | 13820 ; return 0; } |
13797 EOF | 13821 EOF |
13798 if { (eval echo configure:13799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13822 if { (eval echo configure:13823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13799 rm -rf conftest* | 13823 rm -rf conftest* |
13800 eval "ac_cv_lib_$ac_lib_var=yes" | 13824 eval "ac_cv_lib_$ac_lib_var=yes" |
13801 else | 13825 else |
13802 echo "configure: failed program was:" >&5 | 13826 echo "configure: failed program was:" >&5 |
13803 cat conftest.$ac_ext >&5 | 13827 cat conftest.$ac_ext >&5 |
13834 } | 13858 } |
13835 | 13859 |
13836 | 13860 |
13837 if test "$with_database_berkdb" != "no"; then | 13861 if test "$with_database_berkdb" != "no"; then |
13838 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 13862 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
13839 echo "configure:13840: checking for Berkeley db.h" >&5 | 13863 echo "configure:13864: checking for Berkeley db.h" >&5 |
13840 for header in "db/db.h" "db.h"; do | 13864 for header in "db/db.h" "db.h"; do |
13841 cat > conftest.$ac_ext <<EOF | 13865 cat > conftest.$ac_ext <<EOF |
13842 #line 13843 "configure" | 13866 #line 13867 "configure" |
13843 #include "confdefs.h" | 13867 #include "confdefs.h" |
13844 | 13868 |
13845 #include <stdlib.h> | 13869 #include <stdlib.h> |
13846 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 13870 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
13847 #ifdef HAVE_INTTYPES_H | 13871 #ifdef HAVE_INTTYPES_H |
13859 | 13883 |
13860 int main() { | 13884 int main() { |
13861 | 13885 |
13862 ; return 0; } | 13886 ; return 0; } |
13863 EOF | 13887 EOF |
13864 if { (eval echo configure:13865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13888 if { (eval echo configure:13889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13865 rm -rf conftest* | 13889 rm -rf conftest* |
13866 db_h_file="$header"; break | 13890 db_h_file="$header"; break |
13867 else | 13891 else |
13868 echo "configure: failed program was:" >&5 | 13892 echo "configure: failed program was:" >&5 |
13869 cat conftest.$ac_ext >&5 | 13893 cat conftest.$ac_ext >&5 |
13875 else echo "$ac_t""$db_h_file" 1>&6 | 13899 else echo "$ac_t""$db_h_file" 1>&6 |
13876 fi | 13900 fi |
13877 | 13901 |
13878 if test "$with_database_berkdb" != "no"; then | 13902 if test "$with_database_berkdb" != "no"; then |
13879 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 13903 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
13880 echo "configure:13881: checking for Berkeley DB version" >&5 | 13904 echo "configure:13905: checking for Berkeley DB version" >&5 |
13881 cat > conftest.$ac_ext <<EOF | 13905 cat > conftest.$ac_ext <<EOF |
13882 #line 13883 "configure" | 13906 #line 13907 "configure" |
13883 #include "confdefs.h" | 13907 #include "confdefs.h" |
13884 #include <$db_h_file> | 13908 #include <$db_h_file> |
13885 #if DB_VERSION_MAJOR > 1 | 13909 #if DB_VERSION_MAJOR > 1 |
13886 yes | 13910 yes |
13887 #endif | 13911 #endif |
13889 EOF | 13913 EOF |
13890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 13914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
13891 egrep "yes" >/dev/null 2>&1; then | 13915 egrep "yes" >/dev/null 2>&1; then |
13892 rm -rf conftest* | 13916 rm -rf conftest* |
13893 cat > conftest.$ac_ext <<EOF | 13917 cat > conftest.$ac_ext <<EOF |
13894 #line 13895 "configure" | 13918 #line 13919 "configure" |
13895 #include "confdefs.h" | 13919 #include "confdefs.h" |
13896 #include <$db_h_file> | 13920 #include <$db_h_file> |
13897 #if DB_VERSION_MAJOR > 2 | 13921 #if DB_VERSION_MAJOR > 2 |
13898 yes | 13922 yes |
13899 #endif | 13923 #endif |
13916 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 13940 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
13917 fi | 13941 fi |
13918 rm -f conftest* | 13942 rm -f conftest* |
13919 | 13943 |
13920 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 13944 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
13921 echo "configure:13922: checking for $dbfunc" >&5 | 13945 echo "configure:13946: checking for $dbfunc" >&5 |
13922 | 13946 |
13923 cat > conftest.$ac_ext <<EOF | 13947 cat > conftest.$ac_ext <<EOF |
13924 #line 13925 "configure" | 13948 #line 13949 "configure" |
13925 #include "confdefs.h" | 13949 #include "confdefs.h" |
13926 /* System header to define __stub macros and hopefully few prototypes, | 13950 /* System header to define __stub macros and hopefully few prototypes, |
13927 which can conflict with char $dbfunc(); below. */ | 13951 which can conflict with char $dbfunc(); below. */ |
13928 #include <assert.h> | 13952 #include <assert.h> |
13929 /* Override any gcc2 internal prototype to avoid an error. */ | 13953 /* Override any gcc2 internal prototype to avoid an error. */ |
13942 $dbfunc(); | 13966 $dbfunc(); |
13943 #endif | 13967 #endif |
13944 | 13968 |
13945 ; return 0; } | 13969 ; return 0; } |
13946 EOF | 13970 EOF |
13947 if { (eval echo configure:13948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13971 if { (eval echo configure:13972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13948 rm -rf conftest* | 13972 rm -rf conftest* |
13949 eval "ac_cv_func_$dbfunc=yes" | 13973 eval "ac_cv_func_$dbfunc=yes" |
13950 else | 13974 else |
13951 echo "configure: failed program was:" >&5 | 13975 echo "configure: failed program was:" >&5 |
13952 cat conftest.$ac_ext >&5 | 13976 cat conftest.$ac_ext >&5 |
13961 else | 13985 else |
13962 echo "$ac_t""no" 1>&6 | 13986 echo "$ac_t""no" 1>&6 |
13963 | 13987 |
13964 | 13988 |
13965 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 13989 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
13966 echo "configure:13967: checking for $dbfunc in -ldb" >&5 | 13990 echo "configure:13991: checking for $dbfunc in -ldb" >&5 |
13967 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 13991 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
13968 | 13992 |
13969 xe_check_libs=" -ldb " | 13993 xe_check_libs=" -ldb " |
13970 cat > conftest.$ac_ext <<EOF | 13994 cat > conftest.$ac_ext <<EOF |
13971 #line 13972 "configure" | 13995 #line 13996 "configure" |
13972 #include "confdefs.h" | 13996 #include "confdefs.h" |
13973 /* Override any gcc2 internal prototype to avoid an error. */ | 13997 /* Override any gcc2 internal prototype to avoid an error. */ |
13974 /* We use char because int might match the return type of a gcc2 | 13998 /* We use char because int might match the return type of a gcc2 |
13975 builtin and then its argument prototype would still apply. */ | 13999 builtin and then its argument prototype would still apply. */ |
13976 char $dbfunc(); | 14000 char $dbfunc(); |
13977 | 14001 |
13978 int main() { | 14002 int main() { |
13979 $dbfunc() | 14003 $dbfunc() |
13980 ; return 0; } | 14004 ; return 0; } |
13981 EOF | 14005 EOF |
13982 if { (eval echo configure:13983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14006 if { (eval echo configure:14007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13983 rm -rf conftest* | 14007 rm -rf conftest* |
13984 eval "ac_cv_lib_$ac_lib_var=yes" | 14008 eval "ac_cv_lib_$ac_lib_var=yes" |
13985 else | 14009 else |
13986 echo "configure: failed program was:" >&5 | 14010 echo "configure: failed program was:" >&5 |
13987 cat conftest.$ac_ext >&5 | 14011 cat conftest.$ac_ext >&5 |
14038 fi | 14062 fi |
14039 | 14063 |
14040 if test "$with_socks" = "yes"; then | 14064 if test "$with_socks" = "yes"; then |
14041 | 14065 |
14042 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 14066 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
14043 echo "configure:14044: checking for SOCKSinit in -lsocks" >&5 | 14067 echo "configure:14068: checking for SOCKSinit in -lsocks" >&5 |
14044 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 14068 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
14045 | 14069 |
14046 xe_check_libs=" -lsocks " | 14070 xe_check_libs=" -lsocks " |
14047 cat > conftest.$ac_ext <<EOF | 14071 cat > conftest.$ac_ext <<EOF |
14048 #line 14049 "configure" | 14072 #line 14073 "configure" |
14049 #include "confdefs.h" | 14073 #include "confdefs.h" |
14050 /* Override any gcc2 internal prototype to avoid an error. */ | 14074 /* Override any gcc2 internal prototype to avoid an error. */ |
14051 /* We use char because int might match the return type of a gcc2 | 14075 /* We use char because int might match the return type of a gcc2 |
14052 builtin and then its argument prototype would still apply. */ | 14076 builtin and then its argument prototype would still apply. */ |
14053 char SOCKSinit(); | 14077 char SOCKSinit(); |
14054 | 14078 |
14055 int main() { | 14079 int main() { |
14056 SOCKSinit() | 14080 SOCKSinit() |
14057 ; return 0; } | 14081 ; return 0; } |
14058 EOF | 14082 EOF |
14059 if { (eval echo configure:14060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14083 if { (eval echo configure:14084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14060 rm -rf conftest* | 14084 rm -rf conftest* |
14061 eval "ac_cv_lib_$ac_lib_var=yes" | 14085 eval "ac_cv_lib_$ac_lib_var=yes" |
14062 else | 14086 else |
14063 echo "configure: failed program was:" >&5 | 14087 echo "configure: failed program was:" >&5 |
14064 cat conftest.$ac_ext >&5 | 14088 cat conftest.$ac_ext >&5 |
14109 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 14133 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
14110 fi | 14134 fi |
14111 | 14135 |
14112 if test "$with_modules" != "no"; then | 14136 if test "$with_modules" != "no"; then |
14113 echo "checking for module support" 1>&6 | 14137 echo "checking for module support" 1>&6 |
14114 echo "configure:14115: checking for module support" >&5 | 14138 echo "configure:14139: checking for module support" >&5 |
14115 | 14139 |
14116 if test "$with_msw" = "yes"; then | 14140 if test "$with_msw" = "yes"; then |
14117 have_dl=yes; | 14141 have_dl=yes; |
14118 else | 14142 else |
14119 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 14143 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
14120 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 14144 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
14121 echo "configure:14122: checking for dlfcn.h" >&5 | 14145 echo "configure:14146: checking for dlfcn.h" >&5 |
14122 | 14146 |
14123 cat > conftest.$ac_ext <<EOF | 14147 cat > conftest.$ac_ext <<EOF |
14124 #line 14125 "configure" | 14148 #line 14149 "configure" |
14125 #include "confdefs.h" | 14149 #include "confdefs.h" |
14126 #include <dlfcn.h> | 14150 #include <dlfcn.h> |
14127 EOF | 14151 EOF |
14128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14152 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14129 { (eval echo configure:14130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14153 { (eval echo configure:14154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14154 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14131 if test -z "$ac_err"; then | 14155 if test -z "$ac_err"; then |
14132 rm -rf conftest* | 14156 rm -rf conftest* |
14133 eval "ac_cv_header_$ac_safe=yes" | 14157 eval "ac_cv_header_$ac_safe=yes" |
14134 else | 14158 else |
14141 rm -f conftest* | 14165 rm -f conftest* |
14142 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14166 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14143 echo "$ac_t""yes" 1>&6 | 14167 echo "$ac_t""yes" 1>&6 |
14144 | 14168 |
14145 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 14169 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
14146 echo "configure:14147: checking for dlopen in -lc" >&5 | 14170 echo "configure:14171: checking for dlopen in -lc" >&5 |
14147 cat > conftest.$ac_ext <<EOF | 14171 cat > conftest.$ac_ext <<EOF |
14148 #line 14149 "configure" | 14172 #line 14173 "configure" |
14149 #include "confdefs.h" | 14173 #include "confdefs.h" |
14150 #include <dlfcn.h> | 14174 #include <dlfcn.h> |
14151 int main() { | 14175 int main() { |
14152 dlopen ("", 0); | 14176 dlopen ("", 0); |
14153 ; return 0; } | 14177 ; return 0; } |
14154 EOF | 14178 EOF |
14155 if { (eval echo configure:14156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14179 if { (eval echo configure:14180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14156 rm -rf conftest* | 14180 rm -rf conftest* |
14157 have_dl=yes | 14181 have_dl=yes |
14158 else | 14182 else |
14159 echo "configure: failed program was:" >&5 | 14183 echo "configure: failed program was:" >&5 |
14160 cat conftest.$ac_ext >&5 | 14184 cat conftest.$ac_ext >&5 |
14161 rm -rf conftest* | 14185 rm -rf conftest* |
14162 | 14186 |
14163 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 14187 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
14164 echo "configure:14165: checking for dlopen in -ldl" >&5 | 14188 echo "configure:14189: checking for dlopen in -ldl" >&5 |
14165 ac_save_LIBS="$LIBS" | 14189 ac_save_LIBS="$LIBS" |
14166 LIBS="-ldl $LIBS" | 14190 LIBS="-ldl $LIBS" |
14167 cat > conftest.$ac_ext <<EOF | 14191 cat > conftest.$ac_ext <<EOF |
14168 #line 14169 "configure" | 14192 #line 14193 "configure" |
14169 #include "confdefs.h" | 14193 #include "confdefs.h" |
14170 #include <dlfcn.h> | 14194 #include <dlfcn.h> |
14171 int main() { | 14195 int main() { |
14172 dlopen ("", 0); | 14196 dlopen ("", 0); |
14173 ; return 0; } | 14197 ; return 0; } |
14174 EOF | 14198 EOF |
14175 if { (eval echo configure:14176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14199 if { (eval echo configure:14200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14176 rm -rf conftest* | 14200 rm -rf conftest* |
14177 have_dl=yes | 14201 have_dl=yes |
14178 else | 14202 else |
14179 echo "configure: failed program was:" >&5 | 14203 echo "configure: failed program was:" >&5 |
14180 cat conftest.$ac_ext >&5 | 14204 cat conftest.$ac_ext >&5 |
14199 } | 14223 } |
14200 | 14224 |
14201 else | 14225 else |
14202 | 14226 |
14203 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 14227 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
14204 echo "configure:14205: checking for shl_load in -ldld" >&5 | 14228 echo "configure:14229: checking for shl_load in -ldld" >&5 |
14205 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 14229 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
14206 | 14230 |
14207 xe_check_libs=" -ldld " | 14231 xe_check_libs=" -ldld " |
14208 cat > conftest.$ac_ext <<EOF | 14232 cat > conftest.$ac_ext <<EOF |
14209 #line 14210 "configure" | 14233 #line 14234 "configure" |
14210 #include "confdefs.h" | 14234 #include "confdefs.h" |
14211 /* Override any gcc2 internal prototype to avoid an error. */ | 14235 /* Override any gcc2 internal prototype to avoid an error. */ |
14212 /* We use char because int might match the return type of a gcc2 | 14236 /* We use char because int might match the return type of a gcc2 |
14213 builtin and then its argument prototype would still apply. */ | 14237 builtin and then its argument prototype would still apply. */ |
14214 char shl_load(); | 14238 char shl_load(); |
14215 | 14239 |
14216 int main() { | 14240 int main() { |
14217 shl_load() | 14241 shl_load() |
14218 ; return 0; } | 14242 ; return 0; } |
14219 EOF | 14243 EOF |
14220 if { (eval echo configure:14221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14244 if { (eval echo configure:14245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14221 rm -rf conftest* | 14245 rm -rf conftest* |
14222 eval "ac_cv_lib_$ac_lib_var=yes" | 14246 eval "ac_cv_lib_$ac_lib_var=yes" |
14223 else | 14247 else |
14224 echo "configure: failed program was:" >&5 | 14248 echo "configure: failed program was:" >&5 |
14225 cat conftest.$ac_ext >&5 | 14249 cat conftest.$ac_ext >&5 |
14242 | 14266 |
14243 else | 14267 else |
14244 echo "$ac_t""no" 1>&6 | 14268 echo "$ac_t""no" 1>&6 |
14245 | 14269 |
14246 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 14270 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
14247 echo "configure:14248: checking for dld_init in -ldld" >&5 | 14271 echo "configure:14272: checking for dld_init in -ldld" >&5 |
14248 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 14272 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
14249 | 14273 |
14250 xe_check_libs=" -ldld " | 14274 xe_check_libs=" -ldld " |
14251 cat > conftest.$ac_ext <<EOF | 14275 cat > conftest.$ac_ext <<EOF |
14252 #line 14253 "configure" | 14276 #line 14277 "configure" |
14253 #include "confdefs.h" | 14277 #include "confdefs.h" |
14254 /* Override any gcc2 internal prototype to avoid an error. */ | 14278 /* Override any gcc2 internal prototype to avoid an error. */ |
14255 /* We use char because int might match the return type of a gcc2 | 14279 /* We use char because int might match the return type of a gcc2 |
14256 builtin and then its argument prototype would still apply. */ | 14280 builtin and then its argument prototype would still apply. */ |
14257 char dld_init(); | 14281 char dld_init(); |
14258 | 14282 |
14259 int main() { | 14283 int main() { |
14260 dld_init() | 14284 dld_init() |
14261 ; return 0; } | 14285 ; return 0; } |
14262 EOF | 14286 EOF |
14263 if { (eval echo configure:14264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14287 if { (eval echo configure:14288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14264 rm -rf conftest* | 14288 rm -rf conftest* |
14265 eval "ac_cv_lib_$ac_lib_var=yes" | 14289 eval "ac_cv_lib_$ac_lib_var=yes" |
14266 else | 14290 else |
14267 echo "configure: failed program was:" >&5 | 14291 echo "configure: failed program was:" >&5 |
14268 cat conftest.$ac_ext >&5 | 14292 cat conftest.$ac_ext >&5 |
14303 ld_dynamic_link_flags= | 14327 ld_dynamic_link_flags= |
14304 xehost=$canonical | 14328 xehost=$canonical |
14305 xealias=$internal_configuration | 14329 xealias=$internal_configuration |
14306 | 14330 |
14307 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 14331 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
14308 echo "configure:14309: checking how to build dynamic libraries for ${xehost}" >&5 | 14332 echo "configure:14333: checking how to build dynamic libraries for ${xehost}" >&5 |
14309 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 14333 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
14310 case "$xehost" in | 14334 case "$xehost" in |
14311 *-*-linux-gnu*) ;; | 14335 *-*-linux-gnu*) ;; |
14312 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 14336 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
14313 esac | 14337 esac |
14331 # Now see if the compiler is really GCC. | 14355 # Now see if the compiler is really GCC. |
14332 if test "$GCC" = "yes"; then | 14356 if test "$GCC" = "yes"; then |
14333 XEGCC=yes | 14357 XEGCC=yes |
14334 else | 14358 else |
14335 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 14359 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
14336 echo "configure:14337: checking checking whether we are using GNU C" >&5 | 14360 echo "configure:14361: checking checking whether we are using GNU C" >&5 |
14337 cat > conftest.$ac_ext <<EOF | 14361 cat > conftest.$ac_ext <<EOF |
14338 #line 14339 "configure" | 14362 #line 14363 "configure" |
14339 #include "confdefs.h" | 14363 #include "confdefs.h" |
14340 | 14364 |
14341 #ifdef __GNUC__ | 14365 #ifdef __GNUC__ |
14342 yes; | 14366 yes; |
14343 #endif | 14367 #endif |
14355 | 14379 |
14356 echo "$ac_t""${XEGCC}" 1>&6 | 14380 echo "$ac_t""${XEGCC}" 1>&6 |
14357 fi | 14381 fi |
14358 | 14382 |
14359 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 14383 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
14360 echo "configure:14361: checking how to produce PIC code" >&5 | 14384 echo "configure:14385: checking how to produce PIC code" >&5 |
14361 wl= | 14385 wl= |
14362 | 14386 |
14363 can_build_shared=yes | 14387 can_build_shared=yes |
14364 if test "$XEGCC" = yes; then | 14388 if test "$XEGCC" = yes; then |
14365 wl='-Wl,' | 14389 wl='-Wl,' |
14456 if test -n "$dll_cflags"; then | 14480 if test -n "$dll_cflags"; then |
14457 echo "$ac_t""${dll_cflags}" 1>&6 | 14481 echo "$ac_t""${dll_cflags}" 1>&6 |
14458 | 14482 |
14459 # Check to make sure the dll_cflags actually works. | 14483 # Check to make sure the dll_cflags actually works. |
14460 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 14484 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
14461 echo "configure:14462: checking if PIC flag ${dll_cflags} really works" >&5 | 14485 echo "configure:14486: checking if PIC flag ${dll_cflags} really works" >&5 |
14462 save_CFLAGS="$CFLAGS" | 14486 save_CFLAGS="$CFLAGS" |
14463 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 14487 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
14464 cat > conftest.$ac_ext <<EOF | 14488 cat > conftest.$ac_ext <<EOF |
14465 #line 14466 "configure" | 14489 #line 14490 "configure" |
14466 #include "confdefs.h" | 14490 #include "confdefs.h" |
14467 | 14491 |
14468 int main() { | 14492 int main() { |
14469 int x=0; | 14493 int x=0; |
14470 ; return 0; } | 14494 ; return 0; } |
14471 EOF | 14495 EOF |
14472 if { (eval echo configure:14473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 14496 if { (eval echo configure:14497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
14473 rm -rf conftest* | 14497 rm -rf conftest* |
14474 | 14498 |
14475 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 14499 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
14476 # reports no error. So, we need to grep stderr for (Bundled). | 14500 # reports no error. So, we need to grep stderr for (Bundled). |
14477 if grep '(Bundled)' config.log >/dev/null; then | 14501 if grep '(Bundled)' config.log >/dev/null; then |
14498 if test "$can_build_shared" = "yes"; then | 14522 if test "$can_build_shared" = "yes"; then |
14499 cc_produces_so=no | 14523 cc_produces_so=no |
14500 xldf= | 14524 xldf= |
14501 xcldf= | 14525 xcldf= |
14502 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 14526 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
14503 echo "configure:14504: checking if C compiler can produce shared libraries" >&5 | 14527 echo "configure:14528: checking if C compiler can produce shared libraries" >&5 |
14504 if test "$XEGCC" = yes; then | 14528 if test "$XEGCC" = yes; then |
14505 xcldf="-shared" | 14529 xcldf="-shared" |
14506 xldf="-shared" | 14530 xldf="-shared" |
14507 else # Not using GCC | 14531 else # Not using GCC |
14508 case "$xehost_os" in | 14532 case "$xehost_os" in |
14549 LDFLAGS="$xcldf $LDFLAGS" | 14573 LDFLAGS="$xcldf $LDFLAGS" |
14550 LIBS= | 14574 LIBS= |
14551 xe_libs= | 14575 xe_libs= |
14552 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 14576 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
14553 cat > conftest.$ac_ext <<EOF | 14577 cat > conftest.$ac_ext <<EOF |
14554 #line 14555 "configure" | 14578 #line 14579 "configure" |
14555 #include "confdefs.h" | 14579 #include "confdefs.h" |
14556 | 14580 |
14557 int main() { | 14581 int main() { |
14558 int x=0; | 14582 int x=0; |
14559 ; return 0; } | 14583 ; return 0; } |
14560 EOF | 14584 EOF |
14561 if { (eval echo configure:14562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14585 if { (eval echo configure:14586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14562 rm -rf conftest* | 14586 rm -rf conftest* |
14563 cc_produces_so=yes | 14587 cc_produces_so=yes |
14564 else | 14588 else |
14565 echo "configure: failed program was:" >&5 | 14589 echo "configure: failed program was:" >&5 |
14566 cat conftest.$ac_ext >&5 | 14590 cat conftest.$ac_ext >&5 |
14581 if test -z "$LTLD"; then | 14605 if test -z "$LTLD"; then |
14582 ac_prog=ld | 14606 ac_prog=ld |
14583 if test "$XEGCC" = yes; then | 14607 if test "$XEGCC" = yes; then |
14584 # Check if gcc -print-prog-name=ld gives a path. | 14608 # Check if gcc -print-prog-name=ld gives a path. |
14585 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 14609 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
14586 echo "configure:14587: checking for ld used by GCC" >&5 | 14610 echo "configure:14611: checking for ld used by GCC" >&5 |
14587 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 14611 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
14588 case "$ac_prog" in | 14612 case "$ac_prog" in |
14589 # Accept absolute paths. | 14613 # Accept absolute paths. |
14590 /*) | 14614 /*) |
14591 if test -z "$LTLD"; then | 14615 if test -z "$LTLD"; then |
14607 with_gnu_ld=unknown | 14631 with_gnu_ld=unknown |
14608 ;; | 14632 ;; |
14609 esac | 14633 esac |
14610 else | 14634 else |
14611 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 14635 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
14612 echo "configure:14613: checking for GNU ld" >&5 | 14636 echo "configure:14637: checking for GNU ld" >&5 |
14613 fi | 14637 fi |
14614 | 14638 |
14615 if test -z "$LTLD"; then | 14639 if test -z "$LTLD"; then |
14616 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 14640 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
14617 for ac_dir in $PATH; do | 14641 for ac_dir in $PATH; do |
14645 | 14669 |
14646 ld_dynamic_link_flags= | 14670 ld_dynamic_link_flags= |
14647 | 14671 |
14648 # Check to see if it really is or isn't GNU ld. | 14672 # Check to see if it really is or isn't GNU ld. |
14649 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 14673 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
14650 echo "configure:14651: checking if the linker is GNU ld" >&5 | 14674 echo "configure:14675: checking if the linker is GNU ld" >&5 |
14651 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 14675 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
14652 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 14676 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
14653 xe_gnu_ld=yes | 14677 xe_gnu_ld=yes |
14654 else | 14678 else |
14655 xe_gnu_ld=no | 14679 xe_gnu_ld=no |
14673 ld_shlibs=yes | 14697 ld_shlibs=yes |
14674 else | 14698 else |
14675 # OK - only NOW do we futz about with ld. | 14699 # OK - only NOW do we futz about with ld. |
14676 # See if the linker supports building shared libraries. | 14700 # See if the linker supports building shared libraries. |
14677 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 14701 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
14678 echo "configure:14679: checking whether the linker supports shared libraries" >&5 | 14702 echo "configure:14703: checking whether the linker supports shared libraries" >&5 |
14679 dll_ld=$CC | 14703 dll_ld=$CC |
14680 dll_ldflags=$LDFLAGS | 14704 dll_ldflags=$LDFLAGS |
14681 ld_shlibs=yes | 14705 ld_shlibs=yes |
14682 can_build_shared=yes | 14706 can_build_shared=yes |
14683 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 14707 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
14881 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 14905 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
14882 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 14906 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
14883 for ac_func in dlerror _dlerror | 14907 for ac_func in dlerror _dlerror |
14884 do | 14908 do |
14885 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 14909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
14886 echo "configure:14887: checking for $ac_func" >&5 | 14910 echo "configure:14911: checking for $ac_func" >&5 |
14887 | 14911 |
14888 cat > conftest.$ac_ext <<EOF | 14912 cat > conftest.$ac_ext <<EOF |
14889 #line 14890 "configure" | 14913 #line 14914 "configure" |
14890 #include "confdefs.h" | 14914 #include "confdefs.h" |
14891 /* System header to define __stub macros and hopefully few prototypes, | 14915 /* System header to define __stub macros and hopefully few prototypes, |
14892 which can conflict with char $ac_func(); below. */ | 14916 which can conflict with char $ac_func(); below. */ |
14893 #include <assert.h> | 14917 #include <assert.h> |
14894 /* Override any gcc2 internal prototype to avoid an error. */ | 14918 /* Override any gcc2 internal prototype to avoid an error. */ |
14907 $ac_func(); | 14931 $ac_func(); |
14908 #endif | 14932 #endif |
14909 | 14933 |
14910 ; return 0; } | 14934 ; return 0; } |
14911 EOF | 14935 EOF |
14912 if { (eval echo configure:14913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14936 if { (eval echo configure:14937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14913 rm -rf conftest* | 14937 rm -rf conftest* |
14914 eval "ac_cv_func_$ac_func=yes" | 14938 eval "ac_cv_func_$ac_func=yes" |
14915 else | 14939 else |
14916 echo "configure: failed program was:" >&5 | 14940 echo "configure: failed program was:" >&5 |
14917 cat conftest.$ac_ext >&5 | 14941 cat conftest.$ac_ext >&5 |
14946 with_modules=no | 14970 with_modules=no |
14947 fi | 14971 fi |
14948 fi | 14972 fi |
14949 | 14973 |
14950 cat > conftest.$ac_ext <<EOF | 14974 cat > conftest.$ac_ext <<EOF |
14951 #line 14952 "configure" | 14975 #line 14976 "configure" |
14952 #include "confdefs.h" | 14976 #include "confdefs.h" |
14953 int main(int c,char *v[]){return 0;} | 14977 int main(int c,char *v[]){return 0;} |
14954 EOF | 14978 EOF |
14955 if { (eval echo configure:14956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 14979 if { (eval echo configure:14980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
14956 then | 14980 then |
14957 : | 14981 : |
14958 else | 14982 else |
14959 conftest_rc="$?" | 14983 conftest_rc="$?" |
14960 echo "configure: failed program was:" >&5 | 14984 echo "configure: failed program was:" >&5 |
15722 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." | 15746 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." |
15723 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." | 15747 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." |
15724 test "$pdump" = yes && echo " Using the new portable dumper." | 15748 test "$pdump" = yes && echo " Using the new portable dumper." |
15725 test "$debug" = yes && echo " Compiling in support for extra debugging code." | 15749 test "$debug" = yes && echo " Compiling in support for extra debugging code." |
15726 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)." | 15750 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)." |
15727 if test "$error_check_extents $error_check_typecheck $error_check_charbpos $error_check_gc $error_check_malloc $error_check_glyphs" \ | 15751 if test "$error_check_extents $error_check_types $error_check_text $error_check_gc $error_check_malloc $error_check_glyphs $error_check_byte_code $error_check_display $error_check_structures" \ |
15728 != "no no no no no no"; then | 15752 != "no no no no no no"; then |
15729 echo " WARNING: ---------------------------------------------------------" | 15753 echo " WARNING: ---------------------------------------------------------" |
15730 echo " WARNING: Compiling in support for runtime error checking." | 15754 echo " WARNING: Compiling in support for runtime error checking." |
15731 echo " WARNING: XEmacs will run noticeably more slowly as a result." | 15755 echo " WARNING: XEmacs will run noticeably more slowly as a result." |
15732 echo " WARNING: Error checking is on by default for XEmacs beta releases." | 15756 echo " WARNING: Error checking is on by default for XEmacs beta releases." |