Mercurial > hg > xemacs-beta
comparison configure @ 406:b8cc9ab3f761 r21-2-33
Import from CVS: tag r21-2-33
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:17:09 +0200 |
parents | 2f8bb876ab1d |
children | 501cfd01ee6d |
comparison
equal
deleted
inserted
replaced
405:0e08f63c74d2 | 406:b8cc9ab3f761 |
---|---|
366 debug | \ | 366 debug | \ |
367 use_assertions | \ | 367 use_assertions | \ |
368 memory_usage_stats | \ | 368 memory_usage_stats | \ |
369 with_clash_detection | \ | 369 with_clash_detection | \ |
370 with_modules | \ | 370 with_modules | \ |
371 no_doc_file ) | 371 quick_build ) |
372 case "$val" in | 372 case "$val" in |
373 y | ye | yes ) val=yes ;; | 373 y | ye | yes ) val=yes ;; |
374 n | no ) val=no ;; | 374 n | no ) val=no ;; |
375 * ) (echo "$progname: Usage error:" | 375 * ) (echo "$progname: Usage error:" |
376 echo " " "The \`--$optname' option requires a boolean value: \`yes' or \`no'." | 376 echo " " "The \`--$optname' option requires a boolean value: \`yes' or \`no'." |
550 nomalloc ) error_check_malloc=no ;; | 550 nomalloc ) error_check_malloc=no ;; |
551 | 551 |
552 byte_code ) error_check_byte_code=yes ;; | 552 byte_code ) error_check_byte_code=yes ;; |
553 nobyte_code ) error_check_byte_code=no ;; | 553 nobyte_code ) error_check_byte_code=no ;; |
554 | 554 |
555 glyphs ) error_check_glyphs=yes ;; | |
556 noglyphs ) error_check_glyphs=no ;; | |
557 | |
555 * ) bogus_error_check=yes ;; | 558 * ) bogus_error_check=yes ;; |
556 esac | 559 esac |
557 if test "$bogus_error_check" -o \ | 560 if test "$bogus_error_check" -o \ |
558 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then | 561 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then |
559 if test "$error_check_default" = yes ; then | 562 if test "$error_check_default" = yes ; then |
560 types="\`all' (default), \`none', \`noextents', \`notypecheck', \`nobufpos', \`nogc', \`nomalloc', and \`nobyte-code'." | 563 types="\`all' (default), \`none', \`noextents', \`notypecheck', \`nobufpos', \`nogc', \`nomalloc', \`noglyphs' and \`nobyte-code'." |
561 else | 564 else |
562 types="\`all', \`none' (default), \`extents', \`typecheck', \`bufpos', \`gc', \`malloc', and \`byte-code'." | 565 types="\`all', \`none' (default), \`extents', \`typecheck', \`bufpos', \`gc', \`malloc', \`glyphs' and \`byte-code'." |
563 fi | 566 fi |
564 (echo "$progname: Usage error:" | 567 (echo "$progname: Usage error:" |
565 echo " " "Valid types for the \`--$optname' option are: | 568 echo " " "Valid types for the \`--$optname' option are: |
566 $types." | 569 $types." |
567 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 570 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
570 error_check_typecheck=$new_default | 573 error_check_typecheck=$new_default |
571 error_check_bufpos=$new_default | 574 error_check_bufpos=$new_default |
572 error_check_gc=$new_default | 575 error_check_gc=$new_default |
573 error_check_malloc=$new_default | 576 error_check_malloc=$new_default |
574 error_check_byte_code=$new_default | 577 error_check_byte_code=$new_default |
578 error_check_glyphs=$new_default | |
575 new_default= # reset this | 579 new_default= # reset this |
576 fi | 580 fi |
577 echeck_notfirst=true | 581 echeck_notfirst=true |
578 done | 582 done |
579 ;; | 583 ;; |
832 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 836 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
833 fi | 837 fi |
834 fi | 838 fi |
835 | 839 |
836 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 840 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
837 echo "configure:838: checking whether ln -s works" >&5 | 841 echo "configure:842: checking whether ln -s works" >&5 |
838 | 842 |
839 rm -f conftestdata | 843 rm -f conftestdata |
840 if ln -s X conftestdata 2>/dev/null | 844 if ln -s X conftestdata 2>/dev/null |
841 then | 845 then |
842 rm -f conftestdata | 846 rm -f conftestdata |
1053 cat >> confdefs.h <<\EOF | 1057 cat >> confdefs.h <<\EOF |
1054 #define ERROR_CHECK_BYTE_CODE 1 | 1058 #define ERROR_CHECK_BYTE_CODE 1 |
1055 EOF | 1059 EOF |
1056 } | 1060 } |
1057 | 1061 |
1062 test "${error_check_glyphs=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | |
1063 Defining ERROR_CHECK_GLYPHS | |
1064 EOF | |
1065 cat >> confdefs.h <<\EOF | |
1066 #define ERROR_CHECK_GLYPHS 1 | |
1067 EOF | |
1068 } | |
1069 | |
1058 if test "${debug:=$beta}" = "yes"; then | 1070 if test "${debug:=$beta}" = "yes"; then |
1059 use_assertions=yes memory_usage_stats=yes | 1071 use_assertions=yes memory_usage_stats=yes |
1060 extra_objs="$extra_objs debug.o" && if test "$extra_verbose" = "yes"; then | 1072 extra_objs="$extra_objs debug.o" && if test "$extra_verbose" = "yes"; then |
1061 echo " xemacs will be linked with \"debug.o\"" | 1073 echo " xemacs will be linked with \"debug.o\"" |
1062 fi | 1074 fi |
1089 } | 1101 } |
1090 | 1102 |
1091 | 1103 |
1092 | 1104 |
1093 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1105 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1094 echo "configure:1095: checking "host system type"" >&5 | 1106 echo "configure:1107: checking "host system type"" >&5 |
1095 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1107 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1096 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1108 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1097 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1109 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1098 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1110 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1099 echo "$ac_t""$configuration" 1>&6 | 1111 echo "$ac_t""$configuration" 1>&6 |
1555 extra_objs="$extra_objs sunpro.o" && if test "$extra_verbose" = "yes"; then | 1567 extra_objs="$extra_objs sunpro.o" && if test "$extra_verbose" = "yes"; then |
1556 echo " xemacs will be linked with \"sunpro.o\"" | 1568 echo " xemacs will be linked with \"sunpro.o\"" |
1557 fi | 1569 fi |
1558 fi | 1570 fi |
1559 | 1571 |
1560 if test "$with_clash_detection" = "yes"; then | 1572 if test "$with_clash_detection" != "no"; then |
1561 { test "$extra_verbose" = "yes" && cat << \EOF | 1573 { test "$extra_verbose" = "yes" && cat << \EOF |
1562 Defining CLASH_DETECTION | 1574 Defining CLASH_DETECTION |
1563 EOF | 1575 EOF |
1564 cat >> confdefs.h <<\EOF | 1576 cat >> confdefs.h <<\EOF |
1565 #define CLASH_DETECTION 1 | 1577 #define CLASH_DETECTION 1 |
1584 xe_save_CFLAGS="$CFLAGS" | 1596 xe_save_CFLAGS="$CFLAGS" |
1585 | 1597 |
1586 # Extract the first word of "gcc", so it can be a program name with args. | 1598 # Extract the first word of "gcc", so it can be a program name with args. |
1587 set dummy gcc; ac_word=$2 | 1599 set dummy gcc; ac_word=$2 |
1588 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1600 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1589 echo "configure:1590: checking for $ac_word" >&5 | 1601 echo "configure:1602: checking for $ac_word" >&5 |
1590 | 1602 |
1591 if test -n "$CC"; then | 1603 if test -n "$CC"; then |
1592 ac_cv_prog_CC="$CC" # Let the user override the test. | 1604 ac_cv_prog_CC="$CC" # Let the user override the test. |
1593 else | 1605 else |
1594 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1606 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1611 | 1623 |
1612 if test -z "$CC"; then | 1624 if test -z "$CC"; then |
1613 # Extract the first word of "cc", so it can be a program name with args. | 1625 # Extract the first word of "cc", so it can be a program name with args. |
1614 set dummy cc; ac_word=$2 | 1626 set dummy cc; ac_word=$2 |
1615 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1627 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1616 echo "configure:1617: checking for $ac_word" >&5 | 1628 echo "configure:1629: checking for $ac_word" >&5 |
1617 | 1629 |
1618 if test -n "$CC"; then | 1630 if test -n "$CC"; then |
1619 ac_cv_prog_CC="$CC" # Let the user override the test. | 1631 ac_cv_prog_CC="$CC" # Let the user override the test. |
1620 else | 1632 else |
1621 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1633 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1659 case "`uname -s`" in | 1671 case "`uname -s`" in |
1660 *win32* | *WIN32*) | 1672 *win32* | *WIN32*) |
1661 # Extract the first word of "cl", so it can be a program name with args. | 1673 # Extract the first word of "cl", so it can be a program name with args. |
1662 set dummy cl; ac_word=$2 | 1674 set dummy cl; ac_word=$2 |
1663 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1664 echo "configure:1665: checking for $ac_word" >&5 | 1676 echo "configure:1677: checking for $ac_word" >&5 |
1665 | 1677 |
1666 if test -n "$CC"; then | 1678 if test -n "$CC"; then |
1667 ac_cv_prog_CC="$CC" # Let the user override the test. | 1679 ac_cv_prog_CC="$CC" # Let the user override the test. |
1668 else | 1680 else |
1669 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1681 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1688 fi | 1700 fi |
1689 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1701 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1690 fi | 1702 fi |
1691 | 1703 |
1692 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1704 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1693 echo "configure:1694: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1705 echo "configure:1706: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1694 | 1706 |
1695 ac_ext=c | 1707 ac_ext=c |
1696 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1708 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1697 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1709 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1698 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1710 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1701 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1713 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1702 cross_compiling=no | 1714 cross_compiling=no |
1703 | 1715 |
1704 cat > conftest.$ac_ext << EOF | 1716 cat > conftest.$ac_ext << EOF |
1705 | 1717 |
1706 #line 1707 "configure" | 1718 #line 1719 "configure" |
1707 #include "confdefs.h" | 1719 #include "confdefs.h" |
1708 | 1720 |
1709 main(){return(0);} | 1721 main(){return(0);} |
1710 EOF | 1722 EOF |
1711 if { (eval echo configure:1712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1723 if { (eval echo configure:1724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1712 ac_cv_prog_cc_works=yes | 1724 ac_cv_prog_cc_works=yes |
1713 # If we can't run a trivial program, we are probably using a cross compiler. | 1725 # If we can't run a trivial program, we are probably using a cross compiler. |
1714 if (./conftest; exit) 2>/dev/null; then | 1726 if (./conftest; exit) 2>/dev/null; then |
1715 ac_cv_prog_cc_cross=no | 1727 ac_cv_prog_cc_cross=no |
1716 else | 1728 else |
1734 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1746 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1735 if test $ac_cv_prog_cc_works = no; then | 1747 if test $ac_cv_prog_cc_works = no; then |
1736 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1748 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1737 fi | 1749 fi |
1738 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1750 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1739 echo "configure:1740: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1751 echo "configure:1752: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1740 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1752 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1741 cross_compiling=$ac_cv_prog_cc_cross | 1753 cross_compiling=$ac_cv_prog_cc_cross |
1742 | 1754 |
1743 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1755 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1744 echo "configure:1745: checking whether we are using GNU C" >&5 | 1756 echo "configure:1757: checking whether we are using GNU C" >&5 |
1745 | 1757 |
1746 cat > conftest.c <<EOF | 1758 cat > conftest.c <<EOF |
1747 #ifdef __GNUC__ | 1759 #ifdef __GNUC__ |
1748 yes; | 1760 yes; |
1749 #endif | 1761 #endif |
1750 EOF | 1762 EOF |
1751 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1763 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1752 ac_cv_prog_gcc=yes | 1764 ac_cv_prog_gcc=yes |
1753 else | 1765 else |
1754 ac_cv_prog_gcc=no | 1766 ac_cv_prog_gcc=no |
1755 fi | 1767 fi |
1756 | 1768 |
1764 | 1776 |
1765 ac_test_CFLAGS="${CFLAGS+set}" | 1777 ac_test_CFLAGS="${CFLAGS+set}" |
1766 ac_save_CFLAGS="$CFLAGS" | 1778 ac_save_CFLAGS="$CFLAGS" |
1767 CFLAGS= | 1779 CFLAGS= |
1768 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1780 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1769 echo "configure:1770: checking whether ${CC-cc} accepts -g" >&5 | 1781 echo "configure:1782: checking whether ${CC-cc} accepts -g" >&5 |
1770 | 1782 |
1771 echo 'void f(){}' > conftest.c | 1783 echo 'void f(){}' > conftest.c |
1772 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1784 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1773 ac_cv_prog_cc_g=yes | 1785 ac_cv_prog_cc_g=yes |
1774 else | 1786 else |
1797 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1809 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1798 CC=${NON_GNU_CC-cc} | 1810 CC=${NON_GNU_CC-cc} |
1799 # Extract the first word of "gcc", so it can be a program name with args. | 1811 # Extract the first word of "gcc", so it can be a program name with args. |
1800 set dummy gcc; ac_word=$2 | 1812 set dummy gcc; ac_word=$2 |
1801 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1813 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1802 echo "configure:1803: checking for $ac_word" >&5 | 1814 echo "configure:1815: checking for $ac_word" >&5 |
1803 | 1815 |
1804 if test -n "$CC"; then | 1816 if test -n "$CC"; then |
1805 ac_cv_prog_CC="$CC" # Let the user override the test. | 1817 ac_cv_prog_CC="$CC" # Let the user override the test. |
1806 else | 1818 else |
1807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1819 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1824 | 1836 |
1825 if test -z "$CC"; then | 1837 if test -z "$CC"; then |
1826 # Extract the first word of "cc", so it can be a program name with args. | 1838 # Extract the first word of "cc", so it can be a program name with args. |
1827 set dummy cc; ac_word=$2 | 1839 set dummy cc; ac_word=$2 |
1828 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1840 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1829 echo "configure:1830: checking for $ac_word" >&5 | 1841 echo "configure:1842: checking for $ac_word" >&5 |
1830 | 1842 |
1831 if test -n "$CC"; then | 1843 if test -n "$CC"; then |
1832 ac_cv_prog_CC="$CC" # Let the user override the test. | 1844 ac_cv_prog_CC="$CC" # Let the user override the test. |
1833 else | 1845 else |
1834 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1846 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1872 case "`uname -s`" in | 1884 case "`uname -s`" in |
1873 *win32* | *WIN32*) | 1885 *win32* | *WIN32*) |
1874 # Extract the first word of "cl", so it can be a program name with args. | 1886 # Extract the first word of "cl", so it can be a program name with args. |
1875 set dummy cl; ac_word=$2 | 1887 set dummy cl; ac_word=$2 |
1876 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1888 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1877 echo "configure:1878: checking for $ac_word" >&5 | 1889 echo "configure:1890: checking for $ac_word" >&5 |
1878 | 1890 |
1879 if test -n "$CC"; then | 1891 if test -n "$CC"; then |
1880 ac_cv_prog_CC="$CC" # Let the user override the test. | 1892 ac_cv_prog_CC="$CC" # Let the user override the test. |
1881 else | 1893 else |
1882 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1894 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1901 fi | 1913 fi |
1902 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1914 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1903 fi | 1915 fi |
1904 | 1916 |
1905 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1917 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1906 echo "configure:1907: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1918 echo "configure:1919: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1907 | 1919 |
1908 ac_ext=c | 1920 ac_ext=c |
1909 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1921 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1910 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1922 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1911 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1923 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1914 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1926 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1915 cross_compiling=no | 1927 cross_compiling=no |
1916 | 1928 |
1917 cat > conftest.$ac_ext << EOF | 1929 cat > conftest.$ac_ext << EOF |
1918 | 1930 |
1919 #line 1920 "configure" | 1931 #line 1932 "configure" |
1920 #include "confdefs.h" | 1932 #include "confdefs.h" |
1921 | 1933 |
1922 main(){return(0);} | 1934 main(){return(0);} |
1923 EOF | 1935 EOF |
1924 if { (eval echo configure:1925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1936 if { (eval echo configure:1937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1925 ac_cv_prog_cc_works=yes | 1937 ac_cv_prog_cc_works=yes |
1926 # If we can't run a trivial program, we are probably using a cross compiler. | 1938 # If we can't run a trivial program, we are probably using a cross compiler. |
1927 if (./conftest; exit) 2>/dev/null; then | 1939 if (./conftest; exit) 2>/dev/null; then |
1928 ac_cv_prog_cc_cross=no | 1940 ac_cv_prog_cc_cross=no |
1929 else | 1941 else |
1947 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1959 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1948 if test $ac_cv_prog_cc_works = no; then | 1960 if test $ac_cv_prog_cc_works = no; then |
1949 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1961 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1950 fi | 1962 fi |
1951 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1963 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1952 echo "configure:1953: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1964 echo "configure:1965: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1953 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1965 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1954 cross_compiling=$ac_cv_prog_cc_cross | 1966 cross_compiling=$ac_cv_prog_cc_cross |
1955 | 1967 |
1956 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1968 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1957 echo "configure:1958: checking whether we are using GNU C" >&5 | 1969 echo "configure:1970: checking whether we are using GNU C" >&5 |
1958 | 1970 |
1959 cat > conftest.c <<EOF | 1971 cat > conftest.c <<EOF |
1960 #ifdef __GNUC__ | 1972 #ifdef __GNUC__ |
1961 yes; | 1973 yes; |
1962 #endif | 1974 #endif |
1963 EOF | 1975 EOF |
1964 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1976 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1965 ac_cv_prog_gcc=yes | 1977 ac_cv_prog_gcc=yes |
1966 else | 1978 else |
1967 ac_cv_prog_gcc=no | 1979 ac_cv_prog_gcc=no |
1968 fi | 1980 fi |
1969 | 1981 |
1977 | 1989 |
1978 ac_test_CFLAGS="${CFLAGS+set}" | 1990 ac_test_CFLAGS="${CFLAGS+set}" |
1979 ac_save_CFLAGS="$CFLAGS" | 1991 ac_save_CFLAGS="$CFLAGS" |
1980 CFLAGS= | 1992 CFLAGS= |
1981 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1993 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1982 echo "configure:1983: checking whether ${CC-cc} accepts -g" >&5 | 1994 echo "configure:1995: checking whether ${CC-cc} accepts -g" >&5 |
1983 | 1995 |
1984 echo 'void f(){}' > conftest.c | 1996 echo 'void f(){}' > conftest.c |
1985 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1997 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1986 ac_cv_prog_cc_g=yes | 1998 ac_cv_prog_cc_g=yes |
1987 else | 1999 else |
2010 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2022 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2011 CC=gcc | 2023 CC=gcc |
2012 # Extract the first word of "gcc", so it can be a program name with args. | 2024 # Extract the first word of "gcc", so it can be a program name with args. |
2013 set dummy gcc; ac_word=$2 | 2025 set dummy gcc; ac_word=$2 |
2014 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2026 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2015 echo "configure:2016: checking for $ac_word" >&5 | 2027 echo "configure:2028: checking for $ac_word" >&5 |
2016 | 2028 |
2017 if test -n "$CC"; then | 2029 if test -n "$CC"; then |
2018 ac_cv_prog_CC="$CC" # Let the user override the test. | 2030 ac_cv_prog_CC="$CC" # Let the user override the test. |
2019 else | 2031 else |
2020 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2032 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2037 | 2049 |
2038 if test -z "$CC"; then | 2050 if test -z "$CC"; then |
2039 # Extract the first word of "cc", so it can be a program name with args. | 2051 # Extract the first word of "cc", so it can be a program name with args. |
2040 set dummy cc; ac_word=$2 | 2052 set dummy cc; ac_word=$2 |
2041 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2053 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2042 echo "configure:2043: checking for $ac_word" >&5 | 2054 echo "configure:2055: checking for $ac_word" >&5 |
2043 | 2055 |
2044 if test -n "$CC"; then | 2056 if test -n "$CC"; then |
2045 ac_cv_prog_CC="$CC" # Let the user override the test. | 2057 ac_cv_prog_CC="$CC" # Let the user override the test. |
2046 else | 2058 else |
2047 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2059 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2085 case "`uname -s`" in | 2097 case "`uname -s`" in |
2086 *win32* | *WIN32*) | 2098 *win32* | *WIN32*) |
2087 # Extract the first word of "cl", so it can be a program name with args. | 2099 # Extract the first word of "cl", so it can be a program name with args. |
2088 set dummy cl; ac_word=$2 | 2100 set dummy cl; ac_word=$2 |
2089 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2101 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2090 echo "configure:2091: checking for $ac_word" >&5 | 2102 echo "configure:2103: checking for $ac_word" >&5 |
2091 | 2103 |
2092 if test -n "$CC"; then | 2104 if test -n "$CC"; then |
2093 ac_cv_prog_CC="$CC" # Let the user override the test. | 2105 ac_cv_prog_CC="$CC" # Let the user override the test. |
2094 else | 2106 else |
2095 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2107 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2114 fi | 2126 fi |
2115 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2127 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2116 fi | 2128 fi |
2117 | 2129 |
2118 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2130 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2119 echo "configure:2120: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2131 echo "configure:2132: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2120 | 2132 |
2121 ac_ext=c | 2133 ac_ext=c |
2122 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2134 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2123 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2135 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2124 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2136 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2127 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2139 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2128 cross_compiling=no | 2140 cross_compiling=no |
2129 | 2141 |
2130 cat > conftest.$ac_ext << EOF | 2142 cat > conftest.$ac_ext << EOF |
2131 | 2143 |
2132 #line 2133 "configure" | 2144 #line 2145 "configure" |
2133 #include "confdefs.h" | 2145 #include "confdefs.h" |
2134 | 2146 |
2135 main(){return(0);} | 2147 main(){return(0);} |
2136 EOF | 2148 EOF |
2137 if { (eval echo configure:2138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2149 if { (eval echo configure:2150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2138 ac_cv_prog_cc_works=yes | 2150 ac_cv_prog_cc_works=yes |
2139 # If we can't run a trivial program, we are probably using a cross compiler. | 2151 # If we can't run a trivial program, we are probably using a cross compiler. |
2140 if (./conftest; exit) 2>/dev/null; then | 2152 if (./conftest; exit) 2>/dev/null; then |
2141 ac_cv_prog_cc_cross=no | 2153 ac_cv_prog_cc_cross=no |
2142 else | 2154 else |
2160 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2172 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2161 if test $ac_cv_prog_cc_works = no; then | 2173 if test $ac_cv_prog_cc_works = no; then |
2162 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2174 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2163 fi | 2175 fi |
2164 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2176 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2165 echo "configure:2166: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2177 echo "configure:2178: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2166 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2178 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2167 cross_compiling=$ac_cv_prog_cc_cross | 2179 cross_compiling=$ac_cv_prog_cc_cross |
2168 | 2180 |
2169 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2181 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2170 echo "configure:2171: checking whether we are using GNU C" >&5 | 2182 echo "configure:2183: checking whether we are using GNU C" >&5 |
2171 | 2183 |
2172 cat > conftest.c <<EOF | 2184 cat > conftest.c <<EOF |
2173 #ifdef __GNUC__ | 2185 #ifdef __GNUC__ |
2174 yes; | 2186 yes; |
2175 #endif | 2187 #endif |
2176 EOF | 2188 EOF |
2177 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2189 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2178 ac_cv_prog_gcc=yes | 2190 ac_cv_prog_gcc=yes |
2179 else | 2191 else |
2180 ac_cv_prog_gcc=no | 2192 ac_cv_prog_gcc=no |
2181 fi | 2193 fi |
2182 | 2194 |
2190 | 2202 |
2191 ac_test_CFLAGS="${CFLAGS+set}" | 2203 ac_test_CFLAGS="${CFLAGS+set}" |
2192 ac_save_CFLAGS="$CFLAGS" | 2204 ac_save_CFLAGS="$CFLAGS" |
2193 CFLAGS= | 2205 CFLAGS= |
2194 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2206 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2195 echo "configure:2196: checking whether ${CC-cc} accepts -g" >&5 | 2207 echo "configure:2208: checking whether ${CC-cc} accepts -g" >&5 |
2196 | 2208 |
2197 echo 'void f(){}' > conftest.c | 2209 echo 'void f(){}' > conftest.c |
2198 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2210 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2199 ac_cv_prog_cc_g=yes | 2211 ac_cv_prog_cc_g=yes |
2200 else | 2212 else |
2227 test -n "$CPP" -a -d "$CPP" && CPP= | 2239 test -n "$CPP" -a -d "$CPP" && CPP= |
2228 | 2240 |
2229 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2241 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2230 | 2242 |
2231 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2243 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2232 echo "configure:2233: checking how to run the C preprocessor" >&5 | 2244 echo "configure:2245: checking how to run the C preprocessor" >&5 |
2233 # On Suns, sometimes $CPP names a directory. | 2245 # On Suns, sometimes $CPP names a directory. |
2234 if test -n "$CPP" && test -d "$CPP"; then | 2246 if test -n "$CPP" && test -d "$CPP"; then |
2235 CPP= | 2247 CPP= |
2236 fi | 2248 fi |
2237 if test -z "$CPP"; then | 2249 if test -z "$CPP"; then |
2240 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2252 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2241 CPP="${CC-cc} -E" | 2253 CPP="${CC-cc} -E" |
2242 # On the NeXT, cc -E runs the code through the compiler's parser, | 2254 # On the NeXT, cc -E runs the code through the compiler's parser, |
2243 # not just through cpp. | 2255 # not just through cpp. |
2244 cat > conftest.$ac_ext <<EOF | 2256 cat > conftest.$ac_ext <<EOF |
2245 #line 2246 "configure" | 2257 #line 2258 "configure" |
2246 #include "confdefs.h" | 2258 #include "confdefs.h" |
2247 #include <assert.h> | 2259 #include <assert.h> |
2248 Syntax Error | 2260 Syntax Error |
2249 EOF | 2261 EOF |
2250 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2262 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2251 { (eval echo configure:2252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2263 { (eval echo configure:2264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2252 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2264 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2253 if test -z "$ac_err"; then | 2265 if test -z "$ac_err"; then |
2254 : | 2266 : |
2255 else | 2267 else |
2256 echo "$ac_err" >&5 | 2268 echo "$ac_err" >&5 |
2257 echo "configure: failed program was:" >&5 | 2269 echo "configure: failed program was:" >&5 |
2258 cat conftest.$ac_ext >&5 | 2270 cat conftest.$ac_ext >&5 |
2259 rm -rf conftest* | 2271 rm -rf conftest* |
2260 CPP="${CC-cc} -E -traditional-cpp" | 2272 CPP="${CC-cc} -E -traditional-cpp" |
2261 cat > conftest.$ac_ext <<EOF | 2273 cat > conftest.$ac_ext <<EOF |
2262 #line 2263 "configure" | 2274 #line 2275 "configure" |
2263 #include "confdefs.h" | 2275 #include "confdefs.h" |
2264 #include <assert.h> | 2276 #include <assert.h> |
2265 Syntax Error | 2277 Syntax Error |
2266 EOF | 2278 EOF |
2267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2279 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2268 { (eval echo configure:2269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2280 { (eval echo configure:2281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2281 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2270 if test -z "$ac_err"; then | 2282 if test -z "$ac_err"; then |
2271 : | 2283 : |
2272 else | 2284 else |
2273 echo "$ac_err" >&5 | 2285 echo "$ac_err" >&5 |
2274 echo "configure: failed program was:" >&5 | 2286 echo "configure: failed program was:" >&5 |
2275 cat conftest.$ac_ext >&5 | 2287 cat conftest.$ac_ext >&5 |
2276 rm -rf conftest* | 2288 rm -rf conftest* |
2277 CPP="${CC-cc} -nologo -E" | 2289 CPP="${CC-cc} -nologo -E" |
2278 cat > conftest.$ac_ext <<EOF | 2290 cat > conftest.$ac_ext <<EOF |
2279 #line 2280 "configure" | 2291 #line 2292 "configure" |
2280 #include "confdefs.h" | 2292 #include "confdefs.h" |
2281 #include <assert.h> | 2293 #include <assert.h> |
2282 Syntax Error | 2294 Syntax Error |
2283 EOF | 2295 EOF |
2284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2296 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2285 { (eval echo configure:2286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2297 { (eval echo configure:2298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2287 if test -z "$ac_err"; then | 2299 if test -z "$ac_err"; then |
2288 : | 2300 : |
2289 else | 2301 else |
2290 echo "$ac_err" >&5 | 2302 echo "$ac_err" >&5 |
2305 fi | 2317 fi |
2306 echo "$ac_t""$CPP" 1>&6 | 2318 echo "$ac_t""$CPP" 1>&6 |
2307 | 2319 |
2308 | 2320 |
2309 | 2321 |
2310 | |
2311 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2322 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2312 echo "configure:2313: checking for AIX" >&5 | 2323 echo "configure:2324: checking for AIX" >&5 |
2313 cat > conftest.$ac_ext <<EOF | 2324 cat > conftest.$ac_ext <<EOF |
2314 #line 2315 "configure" | 2325 #line 2326 "configure" |
2315 #include "confdefs.h" | 2326 #include "confdefs.h" |
2316 #ifdef _AIX | 2327 #ifdef _AIX |
2317 yes | 2328 yes |
2318 #endif | 2329 #endif |
2319 | 2330 |
2334 echo "$ac_t""no" 1>&6 | 2345 echo "$ac_t""no" 1>&6 |
2335 fi | 2346 fi |
2336 rm -f conftest* | 2347 rm -f conftest* |
2337 | 2348 |
2338 | 2349 |
2350 cat > $srcdir/conffoo.h <<EOF | |
2351 #define CONFFOO 1 | |
2352 EOF | |
2353 echo $ac_n "checking for a working inclusion macro""... $ac_c" 1>&6 | |
2354 echo "configure:2355: checking for a working inclusion macro" >&5 | |
2355 cat > conftest.$ac_ext <<EOF | |
2356 #line 2357 "configure" | |
2357 #include "confdefs.h" | |
2358 | |
2359 int main() { | |
2360 | |
2361 #define SMART_INCLUDE(path,file) <path/file> | |
2362 #define CONFFOO_H_PATH $srcdir | |
2363 #define CONFFOO_INCLUDE(file) SMART_INCLUDE (CONFFOO_H_PATH,file) | |
2364 #include CONFFOO_INCLUDE(conffoo.h) | |
2365 | |
2366 ; return 0; } | |
2367 EOF | |
2368 if { (eval echo configure:2369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
2369 rm -rf conftest* | |
2370 echo "$ac_t""direct" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | |
2371 Defining SMART_INCLUDE_INDIRECTIONS = 0 | |
2372 EOF | |
2373 cat >> confdefs.h <<\EOF | |
2374 #define SMART_INCLUDE_INDIRECTIONS 0 | |
2375 EOF | |
2376 } | |
2377 | |
2378 else | |
2379 echo "configure: failed program was:" >&5 | |
2380 cat conftest.$ac_ext >&5 | |
2381 rm -rf conftest* | |
2382 cat > conftest.$ac_ext <<EOF | |
2383 #line 2384 "configure" | |
2384 #include "confdefs.h" | |
2385 | |
2386 int main() { | |
2387 | |
2388 #define GLUE_INCLUDE(path,file) <##path##/##file##> | |
2389 #define SMART_INCLUDE(path,file) GLUE_INCLUDE(path,file) | |
2390 #define CONFFOO_H_PATH $srcdir | |
2391 #define CONFFOO_INCLUDE(file) SMART_INCLUDE(CONFFOO_H_PATH,file) | |
2392 #include CONFFOO_INCLUDE(conffoo.h) | |
2393 | |
2394 ; return 0; } | |
2395 EOF | |
2396 if { (eval echo configure:2397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
2397 rm -rf conftest* | |
2398 echo "$ac_t""simple" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | |
2399 Defining SMART_INCLUDE_INDIRECTIONS = 1 | |
2400 EOF | |
2401 cat >> confdefs.h <<\EOF | |
2402 #define SMART_INCLUDE_INDIRECTIONS 1 | |
2403 EOF | |
2404 } | |
2405 | |
2406 else | |
2407 echo "configure: failed program was:" >&5 | |
2408 cat conftest.$ac_ext >&5 | |
2409 rm -rf conftest* | |
2410 cat > conftest.$ac_ext <<EOF | |
2411 #line 2412 "configure" | |
2412 #include "confdefs.h" | |
2413 | |
2414 int main() { | |
2415 | |
2416 #define GLUE_INCLUDE_2(path,file) <##path##/##file##> | |
2417 #define GLUE_INCLUDE_1(path,file) GLUE_INCLUDE_2(path,file) | |
2418 #define SMART_INCLUDE(path,file) GLUE_INCLUDE_1(path,file) | |
2419 #define CONFFOO_H_PATH $srcdir | |
2420 #define CONFFOO_INCLUDE(file) SMART_INCLUDE (CONFFOO_H_PATH,file) | |
2421 #include CONFFOO_INCLUDE(conffoo.h) | |
2422 | |
2423 ; return 0; } | |
2424 EOF | |
2425 if { (eval echo configure:2426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
2426 rm -rf conftest* | |
2427 echo "$ac_t""double" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | |
2428 Defining SMART_INCLUDE_INDIRECTIONS = 2 | |
2429 EOF | |
2430 cat >> confdefs.h <<\EOF | |
2431 #define SMART_INCLUDE_INDIRECTIONS 2 | |
2432 EOF | |
2433 } | |
2434 | |
2435 else | |
2436 echo "configure: failed program was:" >&5 | |
2437 cat conftest.$ac_ext >&5 | |
2438 rm -rf conftest* | |
2439 { echo "configure: error: Cannot define a proper SMART_INCLUDE macro. Please report." 1>&2; exit 1; } | |
2440 fi | |
2441 rm -f conftest* | |
2442 fi | |
2443 rm -f conftest* | |
2444 fi | |
2445 rm -f conftest* | |
2446 rm -f $srcdir/conffoo.h | |
2447 | |
2448 | |
2449 | |
2339 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2450 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2340 echo "configure:2341: checking for GNU libc" >&5 | 2451 echo "configure:2452: checking for GNU libc" >&5 |
2341 cat > conftest.$ac_ext <<EOF | 2452 cat > conftest.$ac_ext <<EOF |
2342 #line 2343 "configure" | 2453 #line 2454 "configure" |
2343 #include "confdefs.h" | 2454 #include "confdefs.h" |
2344 #include <features.h> | 2455 #include <features.h> |
2345 int main() { | 2456 int main() { |
2346 | 2457 |
2347 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2458 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2349 ******* ======= ******** &&&&&&&& | 2460 ******* ======= ******** &&&&&&&& |
2350 #endif | 2461 #endif |
2351 | 2462 |
2352 ; return 0; } | 2463 ; return 0; } |
2353 EOF | 2464 EOF |
2354 if { (eval echo configure:2355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2465 if { (eval echo configure:2466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2355 rm -rf conftest* | 2466 rm -rf conftest* |
2356 have_glibc=yes | 2467 have_glibc=yes |
2357 else | 2468 else |
2358 echo "configure: failed program was:" >&5 | 2469 echo "configure: failed program was:" >&5 |
2359 cat conftest.$ac_ext >&5 | 2470 cat conftest.$ac_ext >&5 |
2370 EOF | 2481 EOF |
2371 } | 2482 } |
2372 | 2483 |
2373 | 2484 |
2374 case "$opsys" in | 2485 case "$opsys" in |
2375 sol2) | 2486 sol2) |
2376 { test "$extra_verbose" = "yes" && cat << \EOF | 2487 { test "$extra_verbose" = "yes" && cat << \EOF |
2377 Defining __EXTENSIONS__ | 2488 Defining __EXTENSIONS__ |
2378 EOF | 2489 EOF |
2379 cat >> confdefs.h <<\EOF | 2490 cat >> confdefs.h <<\EOF |
2380 #define __EXTENSIONS__ 1 | 2491 #define __EXTENSIONS__ 1 |
2426 | 2537 |
2427 ;; | 2538 ;; |
2428 esac | 2539 esac |
2429 | 2540 |
2430 cat > conftest.$ac_ext <<EOF | 2541 cat > conftest.$ac_ext <<EOF |
2431 #line 2432 "configure" | 2542 #line 2543 "configure" |
2432 #include "confdefs.h" | 2543 #include "confdefs.h" |
2433 int main () { | 2544 int main () { |
2434 #if defined __SUNPRO_C | 2545 #if defined __SUNPRO_C |
2435 return 11; | 2546 return 11; |
2436 #elif defined __DECC | 2547 #elif defined __DECC |
2438 #else | 2549 #else |
2439 return 0; | 2550 return 0; |
2440 #endif | 2551 #endif |
2441 } | 2552 } |
2442 EOF | 2553 EOF |
2443 if { (eval echo configure:2444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2554 if { (eval echo configure:2555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2444 then | 2555 then |
2445 : | 2556 : |
2446 else | 2557 else |
2447 conftest_rc="$?" | 2558 conftest_rc="$?" |
2448 echo "configure: failed program was:" >&5 | 2559 echo "configure: failed program was:" >&5 |
2539 #define LD_SWITCH_SHARED "-c" | 2650 #define LD_SWITCH_SHARED "-c" |
2540 #endif | 2651 #endif |
2541 configure___ ld_switch_shared=LD_SWITCH_SHARED | 2652 configure___ ld_switch_shared=LD_SWITCH_SHARED |
2542 | 2653 |
2543 | 2654 |
2655 #define ORDINARY_LD "\$(CC) \$(CFLAGS)" | |
2656 configure___ ordinary_ld=ORDINARY_LD | |
2657 | |
2544 #ifdef ORDINARY_LINK | 2658 #ifdef ORDINARY_LINK |
2545 #define LD "\$(CC) \$(CFLAGS)" | 2659 #define LD ORDINARY_LD |
2546 #else /* no ORDINARY LINK */ | 2660 #else /* no ORDINARY LINK */ |
2547 #ifdef COFF_ENCAPSULATE | 2661 #ifdef COFF_ENCAPSULATE |
2548 #define LD "\$(CC) -nostdlib" | 2662 #define LD "\$(CC) -nostdlib" |
2549 #else /* not COFF_ENCAPSULATE */ | 2663 #else /* not COFF_ENCAPSULATE */ |
2550 #ifdef LINKER | 2664 #ifdef LINKER |
2631 eval `$CPP -Isrc $tempcname \ | 2745 eval `$CPP -Isrc $tempcname \ |
2632 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 2746 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
2633 | 2747 |
2634 rm $tempcname | 2748 rm $tempcname |
2635 | 2749 |
2750 if test "$pdump" = "yes"; then | |
2751 ordinary_link="yes" | |
2752 ld="${ordinary_ld}" | |
2753 start_files= | |
2754 libs_standard= | |
2755 unexec= | |
2756 lib_gcc= | |
2757 fi | |
2758 | |
2636 test "$extra_verbose" = "yes" && \ | 2759 test "$extra_verbose" = "yes" && \ |
2637 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" | 2760 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" |
2638 | 2761 |
2639 case "$opsys" in mingw*) mingw_include=`eval "gcc -print-file-name=libc.a"` ; | 2762 case "$opsys" in mingw*) mingw_include=`eval "gcc -print-file-name=libc.a"` ; |
2640 mingw_include=`eval "dirname $mingw_include"` ; | 2763 mingw_include=`eval "dirname $mingw_include"` ; |
2662 CFLAGS="-O" ; fi | 2785 CFLAGS="-O" ; fi |
2663 fi | 2786 fi |
2664 | 2787 |
2665 if test "$GCC" = "yes"; then | 2788 if test "$GCC" = "yes"; then |
2666 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2789 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2667 echo "configure:2668: checking for buggy gcc versions" >&5 | 2790 echo "configure:2791: checking for buggy gcc versions" >&5 |
2668 GCC_VERSION=`$CC --version` | 2791 GCC_VERSION=`$CC --version` |
2669 case `uname -s`:`uname -m`:$GCC_VERSION in | 2792 case `uname -s`:`uname -m`:$GCC_VERSION in |
2670 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2793 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2671 case "$CFLAGS" in | 2794 case "$CFLAGS" in |
2672 *-O2*|*-O3*) | 2795 *-O2*|*-O3*) |
2785 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 2908 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
2786 echo " xemacs will be linked with \"dumper.o\"" | 2909 echo " xemacs will be linked with \"dumper.o\"" |
2787 fi | 2910 fi |
2788 | 2911 |
2789 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2912 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2790 echo "configure:2791: checking for dynodump" >&5 | 2913 echo "configure:2914: checking for dynodump" >&5 |
2791 if test "$unexec" != "unexsol2.o"; then | 2914 if test "$unexec" != "unexsol2.o"; then |
2792 echo "$ac_t""no" 1>&6 | 2915 echo "$ac_t""no" 1>&6 |
2793 else | 2916 else |
2794 echo "$ac_t""yes" 1>&6 | 2917 echo "$ac_t""yes" 1>&6 |
2795 { test "$extra_verbose" = "yes" && cat << \EOF | 2918 { test "$extra_verbose" = "yes" && cat << \EOF |
2823 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2946 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2824 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2947 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2825 done | 2948 done |
2826 | 2949 |
2827 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2950 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2828 echo "configure:2829: checking for terminateAndUnload in -lC" >&5 | 2951 echo "configure:2952: checking for terminateAndUnload in -lC" >&5 |
2829 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2952 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2830 | 2953 |
2831 xe_check_libs=" -lC " | 2954 xe_check_libs=" -lC " |
2832 cat > conftest.$ac_ext <<EOF | 2955 cat > conftest.$ac_ext <<EOF |
2833 #line 2834 "configure" | 2956 #line 2957 "configure" |
2834 #include "confdefs.h" | 2957 #include "confdefs.h" |
2835 /* Override any gcc2 internal prototype to avoid an error. */ | 2958 /* Override any gcc2 internal prototype to avoid an error. */ |
2836 /* We use char because int might match the return type of a gcc2 | 2959 /* We use char because int might match the return type of a gcc2 |
2837 builtin and then its argument prototype would still apply. */ | 2960 builtin and then its argument prototype would still apply. */ |
2838 char terminateAndUnload(); | 2961 char terminateAndUnload(); |
2839 | 2962 |
2840 int main() { | 2963 int main() { |
2841 terminateAndUnload() | 2964 terminateAndUnload() |
2842 ; return 0; } | 2965 ; return 0; } |
2843 EOF | 2966 EOF |
2844 if { (eval echo configure:2845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2967 if { (eval echo configure:2968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2845 rm -rf conftest* | 2968 rm -rf conftest* |
2846 eval "ac_cv_lib_$ac_lib_var=yes" | 2969 eval "ac_cv_lib_$ac_lib_var=yes" |
2847 else | 2970 else |
2848 echo "configure: failed program was:" >&5 | 2971 echo "configure: failed program was:" >&5 |
2849 cat conftest.$ac_ext >&5 | 2972 cat conftest.$ac_ext >&5 |
2947 esac | 3070 esac |
2948 fi | 3071 fi |
2949 | 3072 |
2950 if test "$add_runtime_path" = "yes"; then | 3073 if test "$add_runtime_path" = "yes"; then |
2951 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3074 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2952 echo "configure:2953: checking "for runtime libraries flag"" >&5 | 3075 echo "configure:3076: checking "for runtime libraries flag"" >&5 |
2953 case "$opsys" in | 3076 case "$opsys" in |
2954 sol2 ) dash_r="-R" ;; | 3077 sol2 ) dash_r="-R" ;; |
2955 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3078 decosf* | linux* | irix*) dash_r="-rpath " ;; |
2956 *) | 3079 *) |
2957 dash_r="" | 3080 dash_r="" |
2969 esac | 3092 esac |
2970 shift | 3093 shift |
2971 done | 3094 done |
2972 fi | 3095 fi |
2973 cat > conftest.$ac_ext <<EOF | 3096 cat > conftest.$ac_ext <<EOF |
2974 #line 2975 "configure" | 3097 #line 3098 "configure" |
2975 #include "confdefs.h" | 3098 #include "confdefs.h" |
2976 | 3099 |
2977 int main() { | 3100 int main() { |
2978 | 3101 |
2979 ; return 0; } | 3102 ; return 0; } |
2980 EOF | 3103 EOF |
2981 if { (eval echo configure:2982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3104 if { (eval echo configure:3105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2982 rm -rf conftest* | 3105 rm -rf conftest* |
2983 dash_r="$try_dash_r" | 3106 dash_r="$try_dash_r" |
2984 else | 3107 else |
2985 echo "configure: failed program was:" >&5 | 3108 echo "configure: failed program was:" >&5 |
2986 cat conftest.$ac_ext >&5 | 3109 cat conftest.$ac_ext >&5 |
3078 else | 3201 else |
3079 doug_lea_malloc=no | 3202 doug_lea_malloc=no |
3080 fi | 3203 fi |
3081 after_morecore_hook_exists=yes | 3204 after_morecore_hook_exists=yes |
3082 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 3205 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
3083 echo "configure:3084: checking for malloc_get_state" >&5 | 3206 echo "configure:3207: checking for malloc_get_state" >&5 |
3084 | 3207 |
3085 cat > conftest.$ac_ext <<EOF | 3208 cat > conftest.$ac_ext <<EOF |
3086 #line 3087 "configure" | 3209 #line 3210 "configure" |
3087 #include "confdefs.h" | 3210 #include "confdefs.h" |
3088 /* System header to define __stub macros and hopefully few prototypes, | 3211 /* System header to define __stub macros and hopefully few prototypes, |
3089 which can conflict with char malloc_get_state(); below. */ | 3212 which can conflict with char malloc_get_state(); below. */ |
3090 #include <assert.h> | 3213 #include <assert.h> |
3091 /* Override any gcc2 internal prototype to avoid an error. */ | 3214 /* Override any gcc2 internal prototype to avoid an error. */ |
3104 malloc_get_state(); | 3227 malloc_get_state(); |
3105 #endif | 3228 #endif |
3106 | 3229 |
3107 ; return 0; } | 3230 ; return 0; } |
3108 EOF | 3231 EOF |
3109 if { (eval echo configure:3110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3232 if { (eval echo configure:3233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3110 rm -rf conftest* | 3233 rm -rf conftest* |
3111 eval "ac_cv_func_malloc_get_state=yes" | 3234 eval "ac_cv_func_malloc_get_state=yes" |
3112 else | 3235 else |
3113 echo "configure: failed program was:" >&5 | 3236 echo "configure: failed program was:" >&5 |
3114 cat conftest.$ac_ext >&5 | 3237 cat conftest.$ac_ext >&5 |
3124 echo "$ac_t""no" 1>&6 | 3247 echo "$ac_t""no" 1>&6 |
3125 doug_lea_malloc=no | 3248 doug_lea_malloc=no |
3126 fi | 3249 fi |
3127 | 3250 |
3128 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3251 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3129 echo "configure:3130: checking for malloc_set_state" >&5 | 3252 echo "configure:3253: checking for malloc_set_state" >&5 |
3130 | 3253 |
3131 cat > conftest.$ac_ext <<EOF | 3254 cat > conftest.$ac_ext <<EOF |
3132 #line 3133 "configure" | 3255 #line 3256 "configure" |
3133 #include "confdefs.h" | 3256 #include "confdefs.h" |
3134 /* System header to define __stub macros and hopefully few prototypes, | 3257 /* System header to define __stub macros and hopefully few prototypes, |
3135 which can conflict with char malloc_set_state(); below. */ | 3258 which can conflict with char malloc_set_state(); below. */ |
3136 #include <assert.h> | 3259 #include <assert.h> |
3137 /* Override any gcc2 internal prototype to avoid an error. */ | 3260 /* Override any gcc2 internal prototype to avoid an error. */ |
3150 malloc_set_state(); | 3273 malloc_set_state(); |
3151 #endif | 3274 #endif |
3152 | 3275 |
3153 ; return 0; } | 3276 ; return 0; } |
3154 EOF | 3277 EOF |
3155 if { (eval echo configure:3156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3278 if { (eval echo configure:3279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3156 rm -rf conftest* | 3279 rm -rf conftest* |
3157 eval "ac_cv_func_malloc_set_state=yes" | 3280 eval "ac_cv_func_malloc_set_state=yes" |
3158 else | 3281 else |
3159 echo "configure: failed program was:" >&5 | 3282 echo "configure: failed program was:" >&5 |
3160 cat conftest.$ac_ext >&5 | 3283 cat conftest.$ac_ext >&5 |
3170 echo "$ac_t""no" 1>&6 | 3293 echo "$ac_t""no" 1>&6 |
3171 doug_lea_malloc=no | 3294 doug_lea_malloc=no |
3172 fi | 3295 fi |
3173 | 3296 |
3174 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3297 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3175 echo "configure:3176: checking whether __after_morecore_hook exists" >&5 | 3298 echo "configure:3299: checking whether __after_morecore_hook exists" >&5 |
3176 cat > conftest.$ac_ext <<EOF | 3299 cat > conftest.$ac_ext <<EOF |
3177 #line 3178 "configure" | 3300 #line 3301 "configure" |
3178 #include "confdefs.h" | 3301 #include "confdefs.h" |
3179 extern void (* __after_morecore_hook)(); | 3302 extern void (* __after_morecore_hook)(); |
3180 int main() { | 3303 int main() { |
3181 __after_morecore_hook = 0 | 3304 __after_morecore_hook = 0 |
3182 ; return 0; } | 3305 ; return 0; } |
3183 EOF | 3306 EOF |
3184 if { (eval echo configure:3185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3307 if { (eval echo configure:3308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3185 rm -rf conftest* | 3308 rm -rf conftest* |
3186 echo "$ac_t""yes" 1>&6 | 3309 echo "$ac_t""yes" 1>&6 |
3187 else | 3310 else |
3188 echo "configure: failed program was:" >&5 | 3311 echo "configure: failed program was:" >&5 |
3189 cat conftest.$ac_ext >&5 | 3312 cat conftest.$ac_ext >&5 |
3193 fi | 3316 fi |
3194 rm -f conftest* | 3317 rm -f conftest* |
3195 if test "$system_malloc" = "yes" ; then | 3318 if test "$system_malloc" = "yes" ; then |
3196 GNU_MALLOC=no | 3319 GNU_MALLOC=no |
3197 GNU_MALLOC_reason=" | 3320 GNU_MALLOC_reason=" |
3198 (The GNU allocators don't work with this system configuration)." | 3321 - The GNU allocators don't work with this system configuration." |
3199 elif test "$with_system_malloc" = "yes" ; then | 3322 elif test "$with_system_malloc" = "yes" ; then |
3200 GNU_MALLOC=no | 3323 GNU_MALLOC=no |
3201 GNU_MALLOC_reason=" | 3324 GNU_MALLOC_reason=" |
3202 (User chose not to use GNU allocators)." | 3325 - User chose not to use GNU allocators." |
3203 elif test "$with_debug_malloc" = "yes" ; then | 3326 elif test "$with_debug_malloc" = "yes" ; then |
3204 GNU_MALLOC=no | 3327 GNU_MALLOC=no |
3205 GNU_MALLOC_reason=" | 3328 GNU_MALLOC_reason=" |
3206 (User chose to use Debugging Malloc)." | 3329 - User chose to use Debugging Malloc." |
3207 fi | 3330 fi |
3208 | 3331 |
3209 if test "$doug_lea_malloc" = "yes" ; then | 3332 if test "$doug_lea_malloc" = "yes" ; then |
3210 if test "$GNU_MALLOC" = yes ; then | 3333 if test "$GNU_MALLOC" = yes ; then |
3211 GNU_MALLOC_reason=" | 3334 GNU_MALLOC_reason=" |
3212 (Using Doug Lea's new malloc from the GNU C Library.)" | 3335 - Using Doug Lea's new malloc from the GNU C Library." |
3213 fi | 3336 fi |
3214 { test "$extra_verbose" = "yes" && cat << \EOF | 3337 { test "$extra_verbose" = "yes" && cat << \EOF |
3215 Defining DOUG_LEA_MALLOC | 3338 Defining DOUG_LEA_MALLOC |
3216 EOF | 3339 EOF |
3217 cat >> confdefs.h <<\EOF | 3340 cat >> confdefs.h <<\EOF |
3219 EOF | 3342 EOF |
3220 } | 3343 } |
3221 | 3344 |
3222 if test "$after_morecore_hook_exists" = "no" ; then | 3345 if test "$after_morecore_hook_exists" = "no" ; then |
3223 GNU_MALLOC_reason=" | 3346 GNU_MALLOC_reason=" |
3224 (Using Doug Lea's new malloc from the Linux C Library.)" | 3347 - Using Doug Lea's new malloc from the Linux C Library." |
3225 { test "$extra_verbose" = "yes" && cat << \EOF | 3348 { test "$extra_verbose" = "yes" && cat << \EOF |
3226 Defining _NO_MALLOC_WARNING_ | 3349 Defining _NO_MALLOC_WARNING_ |
3227 EOF | 3350 EOF |
3228 cat >> confdefs.h <<\EOF | 3351 cat >> confdefs.h <<\EOF |
3229 #define _NO_MALLOC_WARNING_ 1 | 3352 #define _NO_MALLOC_WARNING_ 1 |
3238 | 3361 |
3239 | 3362 |
3240 # Extract the first word of "ranlib", so it can be a program name with args. | 3363 # Extract the first word of "ranlib", so it can be a program name with args. |
3241 set dummy ranlib; ac_word=$2 | 3364 set dummy ranlib; ac_word=$2 |
3242 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3365 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3243 echo "configure:3244: checking for $ac_word" >&5 | 3366 echo "configure:3367: checking for $ac_word" >&5 |
3244 | 3367 |
3245 if test -n "$RANLIB"; then | 3368 if test -n "$RANLIB"; then |
3246 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3369 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3247 else | 3370 else |
3248 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3371 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3293 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3416 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3294 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3417 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3295 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3418 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3296 # ./install, which can be erroneously created by make from ./install.sh. | 3419 # ./install, which can be erroneously created by make from ./install.sh. |
3297 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3420 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3298 echo "configure:3299: checking for a BSD compatible install" >&5 | 3421 echo "configure:3422: checking for a BSD compatible install" >&5 |
3299 if test -z "$INSTALL"; then | 3422 if test -z "$INSTALL"; then |
3300 | 3423 |
3301 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3424 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3302 for ac_dir in $PATH; do | 3425 for ac_dir in $PATH; do |
3303 # Account for people who put trailing slashes in PATH elements. | 3426 # Account for people who put trailing slashes in PATH elements. |
3347 for ac_prog in 'bison -y' byacc | 3470 for ac_prog in 'bison -y' byacc |
3348 do | 3471 do |
3349 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3472 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3350 set dummy $ac_prog; ac_word=$2 | 3473 set dummy $ac_prog; ac_word=$2 |
3351 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3474 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3352 echo "configure:3353: checking for $ac_word" >&5 | 3475 echo "configure:3476: checking for $ac_word" >&5 |
3353 | 3476 |
3354 if test -n "$YACC"; then | 3477 if test -n "$YACC"; then |
3355 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3478 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3356 else | 3479 else |
3357 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3480 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3379 | 3502 |
3380 for ac_hdr in a.out.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/stropts.h sys/time.h sys/timeb.h sys/un.h kstat.h ulimit.h unistd.h utime.h | 3503 for ac_hdr in a.out.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/stropts.h sys/time.h sys/timeb.h sys/un.h kstat.h ulimit.h unistd.h utime.h |
3381 do | 3504 do |
3382 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3505 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3383 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3506 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3384 echo "configure:3385: checking for $ac_hdr" >&5 | 3507 echo "configure:3508: checking for $ac_hdr" >&5 |
3385 | 3508 |
3386 cat > conftest.$ac_ext <<EOF | 3509 cat > conftest.$ac_ext <<EOF |
3387 #line 3388 "configure" | 3510 #line 3511 "configure" |
3388 #include "confdefs.h" | 3511 #include "confdefs.h" |
3389 #include <$ac_hdr> | 3512 #include <$ac_hdr> |
3390 EOF | 3513 EOF |
3391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3392 { (eval echo configure:3393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3515 { (eval echo configure:3516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3393 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3394 if test -z "$ac_err"; then | 3517 if test -z "$ac_err"; then |
3395 rm -rf conftest* | 3518 rm -rf conftest* |
3396 eval "ac_cv_header_$ac_safe=yes" | 3519 eval "ac_cv_header_$ac_safe=yes" |
3397 else | 3520 else |
3417 echo "$ac_t""no" 1>&6 | 3540 echo "$ac_t""no" 1>&6 |
3418 fi | 3541 fi |
3419 done | 3542 done |
3420 | 3543 |
3421 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3544 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3422 echo "configure:3423: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3545 echo "configure:3546: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3423 | 3546 |
3424 cat > conftest.$ac_ext <<EOF | 3547 cat > conftest.$ac_ext <<EOF |
3425 #line 3426 "configure" | 3548 #line 3549 "configure" |
3426 #include "confdefs.h" | 3549 #include "confdefs.h" |
3427 #include <sys/types.h> | 3550 #include <sys/types.h> |
3428 #include <sys/wait.h> | 3551 #include <sys/wait.h> |
3429 #ifndef WEXITSTATUS | 3552 #ifndef WEXITSTATUS |
3430 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3553 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3436 int s; | 3559 int s; |
3437 wait (&s); | 3560 wait (&s); |
3438 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3561 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3439 ; return 0; } | 3562 ; return 0; } |
3440 EOF | 3563 EOF |
3441 if { (eval echo configure:3442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3564 if { (eval echo configure:3565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3442 rm -rf conftest* | 3565 rm -rf conftest* |
3443 ac_cv_header_sys_wait_h=yes | 3566 ac_cv_header_sys_wait_h=yes |
3444 else | 3567 else |
3445 echo "configure: failed program was:" >&5 | 3568 echo "configure: failed program was:" >&5 |
3446 cat conftest.$ac_ext >&5 | 3569 cat conftest.$ac_ext >&5 |
3460 } | 3583 } |
3461 | 3584 |
3462 fi | 3585 fi |
3463 | 3586 |
3464 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3587 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3465 echo "configure:3466: checking for ANSI C header files" >&5 | 3588 echo "configure:3589: checking for ANSI C header files" >&5 |
3466 | 3589 |
3467 cat > conftest.$ac_ext <<EOF | 3590 cat > conftest.$ac_ext <<EOF |
3468 #line 3469 "configure" | 3591 #line 3592 "configure" |
3469 #include "confdefs.h" | 3592 #include "confdefs.h" |
3470 #include <stdlib.h> | 3593 #include <stdlib.h> |
3471 #include <stdarg.h> | 3594 #include <stdarg.h> |
3472 #include <string.h> | 3595 #include <string.h> |
3473 #include <float.h> | 3596 #include <float.h> |
3474 EOF | 3597 EOF |
3475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3598 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3476 { (eval echo configure:3477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3599 { (eval echo configure:3600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3477 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3600 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3478 if test -z "$ac_err"; then | 3601 if test -z "$ac_err"; then |
3479 rm -rf conftest* | 3602 rm -rf conftest* |
3480 ac_cv_header_stdc=yes | 3603 ac_cv_header_stdc=yes |
3481 else | 3604 else |
3488 rm -f conftest* | 3611 rm -f conftest* |
3489 | 3612 |
3490 if test $ac_cv_header_stdc = yes; then | 3613 if test $ac_cv_header_stdc = yes; then |
3491 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3614 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3492 cat > conftest.$ac_ext <<EOF | 3615 cat > conftest.$ac_ext <<EOF |
3493 #line 3494 "configure" | 3616 #line 3617 "configure" |
3494 #include "confdefs.h" | 3617 #include "confdefs.h" |
3495 #include <string.h> | 3618 #include <string.h> |
3496 EOF | 3619 EOF |
3497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3498 egrep "memchr" >/dev/null 2>&1; then | 3621 egrep "memchr" >/dev/null 2>&1; then |
3506 fi | 3629 fi |
3507 | 3630 |
3508 if test $ac_cv_header_stdc = yes; then | 3631 if test $ac_cv_header_stdc = yes; then |
3509 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3632 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3510 cat > conftest.$ac_ext <<EOF | 3633 cat > conftest.$ac_ext <<EOF |
3511 #line 3512 "configure" | 3634 #line 3635 "configure" |
3512 #include "confdefs.h" | 3635 #include "confdefs.h" |
3513 #include <stdlib.h> | 3636 #include <stdlib.h> |
3514 EOF | 3637 EOF |
3515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3516 egrep "free" >/dev/null 2>&1; then | 3639 egrep "free" >/dev/null 2>&1; then |
3524 fi | 3647 fi |
3525 | 3648 |
3526 if test $ac_cv_header_stdc = yes; then | 3649 if test $ac_cv_header_stdc = yes; then |
3527 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3650 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3528 cat > conftest.$ac_ext <<EOF | 3651 cat > conftest.$ac_ext <<EOF |
3529 #line 3530 "configure" | 3652 #line 3653 "configure" |
3530 #include "confdefs.h" | 3653 #include "confdefs.h" |
3531 #include <ctype.h> | 3654 #include <ctype.h> |
3532 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3655 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3533 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3656 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3534 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3657 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3535 int main () { int i; for (i = 0; i < 256; i++) | 3658 int main () { int i; for (i = 0; i < 256; i++) |
3536 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3659 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3537 exit (0); } | 3660 exit (0); } |
3538 | 3661 |
3539 EOF | 3662 EOF |
3540 if { (eval echo configure:3541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3663 if { (eval echo configure:3664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3541 then | 3664 then |
3542 : | 3665 : |
3543 else | 3666 else |
3544 conftest_rc="$?" | 3667 conftest_rc="$?" |
3545 echo "configure: failed program was:" >&5 | 3668 echo "configure: failed program was:" >&5 |
3561 } | 3684 } |
3562 | 3685 |
3563 fi | 3686 fi |
3564 | 3687 |
3565 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3688 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3566 echo "configure:3567: checking whether time.h and sys/time.h may both be included" >&5 | 3689 echo "configure:3690: checking whether time.h and sys/time.h may both be included" >&5 |
3567 | 3690 |
3568 cat > conftest.$ac_ext <<EOF | 3691 cat > conftest.$ac_ext <<EOF |
3569 #line 3570 "configure" | 3692 #line 3693 "configure" |
3570 #include "confdefs.h" | 3693 #include "confdefs.h" |
3571 #include <sys/types.h> | 3694 #include <sys/types.h> |
3572 #include <sys/time.h> | 3695 #include <sys/time.h> |
3573 #include <time.h> | 3696 #include <time.h> |
3574 int main() { | 3697 int main() { |
3575 struct tm *tp; | 3698 struct tm *tp; |
3576 ; return 0; } | 3699 ; return 0; } |
3577 EOF | 3700 EOF |
3578 if { (eval echo configure:3579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3701 if { (eval echo configure:3702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3579 rm -rf conftest* | 3702 rm -rf conftest* |
3580 ac_cv_header_time=yes | 3703 ac_cv_header_time=yes |
3581 else | 3704 else |
3582 echo "configure: failed program was:" >&5 | 3705 echo "configure: failed program was:" >&5 |
3583 cat conftest.$ac_ext >&5 | 3706 cat conftest.$ac_ext >&5 |
3597 } | 3720 } |
3598 | 3721 |
3599 fi | 3722 fi |
3600 | 3723 |
3601 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3724 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3602 echo "configure:3603: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3725 echo "configure:3726: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3603 | 3726 |
3604 cat > conftest.$ac_ext <<EOF | 3727 cat > conftest.$ac_ext <<EOF |
3605 #line 3606 "configure" | 3728 #line 3729 "configure" |
3606 #include "confdefs.h" | 3729 #include "confdefs.h" |
3607 #include <sys/types.h> | 3730 #include <sys/types.h> |
3608 #include <signal.h> | 3731 #include <signal.h> |
3609 /* NetBSD declares sys_siglist in unistd.h. */ | 3732 /* NetBSD declares sys_siglist in unistd.h. */ |
3610 #ifdef HAVE_UNISTD_H | 3733 #ifdef HAVE_UNISTD_H |
3612 #endif | 3735 #endif |
3613 int main() { | 3736 int main() { |
3614 char *msg = *(sys_siglist + 1); | 3737 char *msg = *(sys_siglist + 1); |
3615 ; return 0; } | 3738 ; return 0; } |
3616 EOF | 3739 EOF |
3617 if { (eval echo configure:3618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3740 if { (eval echo configure:3741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3618 rm -rf conftest* | 3741 rm -rf conftest* |
3619 ac_cv_decl_sys_siglist=yes | 3742 ac_cv_decl_sys_siglist=yes |
3620 else | 3743 else |
3621 echo "configure: failed program was:" >&5 | 3744 echo "configure: failed program was:" >&5 |
3622 cat conftest.$ac_ext >&5 | 3745 cat conftest.$ac_ext >&5 |
3637 | 3760 |
3638 fi | 3761 fi |
3639 | 3762 |
3640 | 3763 |
3641 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3764 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3642 echo "configure:3643: checking for struct utimbuf" >&5 | 3765 echo "configure:3766: checking for struct utimbuf" >&5 |
3643 cat > conftest.$ac_ext <<EOF | 3766 cat > conftest.$ac_ext <<EOF |
3644 #line 3645 "configure" | 3767 #line 3768 "configure" |
3645 #include "confdefs.h" | 3768 #include "confdefs.h" |
3646 #ifdef TIME_WITH_SYS_TIME | 3769 #ifdef TIME_WITH_SYS_TIME |
3647 #include <sys/time.h> | 3770 #include <sys/time.h> |
3648 #include <time.h> | 3771 #include <time.h> |
3649 #else | 3772 #else |
3658 #endif | 3781 #endif |
3659 int main() { | 3782 int main() { |
3660 static struct utimbuf x; x.actime = x.modtime; | 3783 static struct utimbuf x; x.actime = x.modtime; |
3661 ; return 0; } | 3784 ; return 0; } |
3662 EOF | 3785 EOF |
3663 if { (eval echo configure:3664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3786 if { (eval echo configure:3787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3664 rm -rf conftest* | 3787 rm -rf conftest* |
3665 echo "$ac_t""yes" 1>&6 | 3788 echo "$ac_t""yes" 1>&6 |
3666 { test "$extra_verbose" = "yes" && cat << \EOF | 3789 { test "$extra_verbose" = "yes" && cat << \EOF |
3667 Defining HAVE_STRUCT_UTIMBUF | 3790 Defining HAVE_STRUCT_UTIMBUF |
3668 EOF | 3791 EOF |
3678 echo "$ac_t""no" 1>&6 | 3801 echo "$ac_t""no" 1>&6 |
3679 fi | 3802 fi |
3680 rm -f conftest* | 3803 rm -f conftest* |
3681 | 3804 |
3682 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3805 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3683 echo "configure:3684: checking return type of signal handlers" >&5 | 3806 echo "configure:3807: checking return type of signal handlers" >&5 |
3684 | 3807 |
3685 cat > conftest.$ac_ext <<EOF | 3808 cat > conftest.$ac_ext <<EOF |
3686 #line 3687 "configure" | 3809 #line 3810 "configure" |
3687 #include "confdefs.h" | 3810 #include "confdefs.h" |
3688 #include <sys/types.h> | 3811 #include <sys/types.h> |
3689 #include <signal.h> | 3812 #include <signal.h> |
3690 #ifdef signal | 3813 #ifdef signal |
3691 #undef signal | 3814 #undef signal |
3698 | 3821 |
3699 int main() { | 3822 int main() { |
3700 int i; | 3823 int i; |
3701 ; return 0; } | 3824 ; return 0; } |
3702 EOF | 3825 EOF |
3703 if { (eval echo configure:3704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3826 if { (eval echo configure:3827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3704 rm -rf conftest* | 3827 rm -rf conftest* |
3705 ac_cv_type_signal=void | 3828 ac_cv_type_signal=void |
3706 else | 3829 else |
3707 echo "configure: failed program was:" >&5 | 3830 echo "configure: failed program was:" >&5 |
3708 cat conftest.$ac_ext >&5 | 3831 cat conftest.$ac_ext >&5 |
3720 EOF | 3843 EOF |
3721 } | 3844 } |
3722 | 3845 |
3723 | 3846 |
3724 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3847 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3725 echo "configure:3726: checking for size_t" >&5 | 3848 echo "configure:3849: checking for size_t" >&5 |
3726 | 3849 |
3727 cat > conftest.$ac_ext <<EOF | 3850 cat > conftest.$ac_ext <<EOF |
3728 #line 3729 "configure" | 3851 #line 3852 "configure" |
3729 #include "confdefs.h" | 3852 #include "confdefs.h" |
3730 #include <sys/types.h> | 3853 #include <sys/types.h> |
3731 #if STDC_HEADERS | 3854 #if STDC_HEADERS |
3732 #include <stdlib.h> | 3855 #include <stdlib.h> |
3733 #include <stddef.h> | 3856 #include <stddef.h> |
3754 } | 3877 } |
3755 | 3878 |
3756 fi | 3879 fi |
3757 | 3880 |
3758 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3881 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3759 echo "configure:3760: checking for pid_t" >&5 | 3882 echo "configure:3883: checking for pid_t" >&5 |
3760 | 3883 |
3761 cat > conftest.$ac_ext <<EOF | 3884 cat > conftest.$ac_ext <<EOF |
3762 #line 3763 "configure" | 3885 #line 3886 "configure" |
3763 #include "confdefs.h" | 3886 #include "confdefs.h" |
3764 #include <sys/types.h> | 3887 #include <sys/types.h> |
3765 #if STDC_HEADERS | 3888 #if STDC_HEADERS |
3766 #include <stdlib.h> | 3889 #include <stdlib.h> |
3767 #include <stddef.h> | 3890 #include <stddef.h> |
3788 } | 3911 } |
3789 | 3912 |
3790 fi | 3913 fi |
3791 | 3914 |
3792 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3915 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3793 echo "configure:3794: checking for uid_t in sys/types.h" >&5 | 3916 echo "configure:3917: checking for uid_t in sys/types.h" >&5 |
3794 | 3917 |
3795 cat > conftest.$ac_ext <<EOF | 3918 cat > conftest.$ac_ext <<EOF |
3796 #line 3797 "configure" | 3919 #line 3920 "configure" |
3797 #include "confdefs.h" | 3920 #include "confdefs.h" |
3798 #include <sys/types.h> | 3921 #include <sys/types.h> |
3799 EOF | 3922 EOF |
3800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3801 egrep "uid_t" >/dev/null 2>&1; then | 3924 egrep "uid_t" >/dev/null 2>&1; then |
3827 } | 3950 } |
3828 | 3951 |
3829 fi | 3952 fi |
3830 | 3953 |
3831 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3954 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3832 echo "configure:3833: checking for mode_t" >&5 | 3955 echo "configure:3956: checking for mode_t" >&5 |
3833 | 3956 |
3834 cat > conftest.$ac_ext <<EOF | 3957 cat > conftest.$ac_ext <<EOF |
3835 #line 3836 "configure" | 3958 #line 3959 "configure" |
3836 #include "confdefs.h" | 3959 #include "confdefs.h" |
3837 #include <sys/types.h> | 3960 #include <sys/types.h> |
3838 #if STDC_HEADERS | 3961 #if STDC_HEADERS |
3839 #include <stdlib.h> | 3962 #include <stdlib.h> |
3840 #include <stddef.h> | 3963 #include <stddef.h> |
3861 } | 3984 } |
3862 | 3985 |
3863 fi | 3986 fi |
3864 | 3987 |
3865 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3988 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3866 echo "configure:3867: checking for off_t" >&5 | 3989 echo "configure:3990: checking for off_t" >&5 |
3867 | 3990 |
3868 cat > conftest.$ac_ext <<EOF | 3991 cat > conftest.$ac_ext <<EOF |
3869 #line 3870 "configure" | 3992 #line 3993 "configure" |
3870 #include "confdefs.h" | 3993 #include "confdefs.h" |
3871 #include <sys/types.h> | 3994 #include <sys/types.h> |
3872 #if STDC_HEADERS | 3995 #if STDC_HEADERS |
3873 #include <stdlib.h> | 3996 #include <stdlib.h> |
3874 #include <stddef.h> | 3997 #include <stddef.h> |
3895 } | 4018 } |
3896 | 4019 |
3897 fi | 4020 fi |
3898 | 4021 |
3899 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4022 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
3900 echo "configure:3901: checking for ssize_t" >&5 | 4023 echo "configure:4024: checking for ssize_t" >&5 |
3901 | 4024 |
3902 cat > conftest.$ac_ext <<EOF | 4025 cat > conftest.$ac_ext <<EOF |
3903 #line 3904 "configure" | 4026 #line 4027 "configure" |
3904 #include "confdefs.h" | 4027 #include "confdefs.h" |
3905 #include <sys/types.h> | 4028 #include <sys/types.h> |
3906 #if STDC_HEADERS | 4029 #if STDC_HEADERS |
3907 #include <stdlib.h> | 4030 #include <stdlib.h> |
3908 #include <stddef.h> | 4031 #include <stddef.h> |
3930 | 4053 |
3931 fi | 4054 fi |
3932 | 4055 |
3933 | 4056 |
3934 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4057 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3935 echo "configure:3936: checking for struct timeval" >&5 | 4058 echo "configure:4059: checking for struct timeval" >&5 |
3936 cat > conftest.$ac_ext <<EOF | 4059 cat > conftest.$ac_ext <<EOF |
3937 #line 3938 "configure" | 4060 #line 4061 "configure" |
3938 #include "confdefs.h" | 4061 #include "confdefs.h" |
3939 #ifdef TIME_WITH_SYS_TIME | 4062 #ifdef TIME_WITH_SYS_TIME |
3940 #include <sys/time.h> | 4063 #include <sys/time.h> |
3941 #include <time.h> | 4064 #include <time.h> |
3942 #else | 4065 #else |
3948 #endif | 4071 #endif |
3949 int main() { | 4072 int main() { |
3950 static struct timeval x; x.tv_sec = x.tv_usec; | 4073 static struct timeval x; x.tv_sec = x.tv_usec; |
3951 ; return 0; } | 4074 ; return 0; } |
3952 EOF | 4075 EOF |
3953 if { (eval echo configure:3954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4076 if { (eval echo configure:4077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3954 rm -rf conftest* | 4077 rm -rf conftest* |
3955 echo "$ac_t""yes" 1>&6 | 4078 echo "$ac_t""yes" 1>&6 |
3956 HAVE_TIMEVAL=yes | 4079 HAVE_TIMEVAL=yes |
3957 { test "$extra_verbose" = "yes" && cat << \EOF | 4080 { test "$extra_verbose" = "yes" && cat << \EOF |
3958 Defining HAVE_TIMEVAL | 4081 Defining HAVE_TIMEVAL |
3970 HAVE_TIMEVAL=no | 4093 HAVE_TIMEVAL=no |
3971 fi | 4094 fi |
3972 rm -f conftest* | 4095 rm -f conftest* |
3973 | 4096 |
3974 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4097 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3975 echo "configure:3976: checking whether struct tm is in sys/time.h or time.h" >&5 | 4098 echo "configure:4099: checking whether struct tm is in sys/time.h or time.h" >&5 |
3976 | 4099 |
3977 cat > conftest.$ac_ext <<EOF | 4100 cat > conftest.$ac_ext <<EOF |
3978 #line 3979 "configure" | 4101 #line 4102 "configure" |
3979 #include "confdefs.h" | 4102 #include "confdefs.h" |
3980 #include <sys/types.h> | 4103 #include <sys/types.h> |
3981 #include <time.h> | 4104 #include <time.h> |
3982 int main() { | 4105 int main() { |
3983 struct tm *tp; tp->tm_sec; | 4106 struct tm *tp; tp->tm_sec; |
3984 ; return 0; } | 4107 ; return 0; } |
3985 EOF | 4108 EOF |
3986 if { (eval echo configure:3987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4109 if { (eval echo configure:4110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3987 rm -rf conftest* | 4110 rm -rf conftest* |
3988 ac_cv_struct_tm=time.h | 4111 ac_cv_struct_tm=time.h |
3989 else | 4112 else |
3990 echo "configure: failed program was:" >&5 | 4113 echo "configure: failed program was:" >&5 |
3991 cat conftest.$ac_ext >&5 | 4114 cat conftest.$ac_ext >&5 |
4005 } | 4128 } |
4006 | 4129 |
4007 fi | 4130 fi |
4008 | 4131 |
4009 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4132 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4010 echo "configure:4011: checking for tm_zone in struct tm" >&5 | 4133 echo "configure:4134: checking for tm_zone in struct tm" >&5 |
4011 | 4134 |
4012 cat > conftest.$ac_ext <<EOF | 4135 cat > conftest.$ac_ext <<EOF |
4013 #line 4014 "configure" | 4136 #line 4137 "configure" |
4014 #include "confdefs.h" | 4137 #include "confdefs.h" |
4015 #include <sys/types.h> | 4138 #include <sys/types.h> |
4016 #include <$ac_cv_struct_tm> | 4139 #include <$ac_cv_struct_tm> |
4017 int main() { | 4140 int main() { |
4018 struct tm tm; tm.tm_zone; | 4141 struct tm tm; tm.tm_zone; |
4019 ; return 0; } | 4142 ; return 0; } |
4020 EOF | 4143 EOF |
4021 if { (eval echo configure:4022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4144 if { (eval echo configure:4145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4022 rm -rf conftest* | 4145 rm -rf conftest* |
4023 ac_cv_struct_tm_zone=yes | 4146 ac_cv_struct_tm_zone=yes |
4024 else | 4147 else |
4025 echo "configure: failed program was:" >&5 | 4148 echo "configure: failed program was:" >&5 |
4026 cat conftest.$ac_ext >&5 | 4149 cat conftest.$ac_ext >&5 |
4039 EOF | 4162 EOF |
4040 } | 4163 } |
4041 | 4164 |
4042 else | 4165 else |
4043 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4166 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4044 echo "configure:4045: checking for tzname" >&5 | 4167 echo "configure:4168: checking for tzname" >&5 |
4045 | 4168 |
4046 cat > conftest.$ac_ext <<EOF | 4169 cat > conftest.$ac_ext <<EOF |
4047 #line 4048 "configure" | 4170 #line 4171 "configure" |
4048 #include "confdefs.h" | 4171 #include "confdefs.h" |
4049 #include <time.h> | 4172 #include <time.h> |
4050 #ifndef tzname /* For SGI. */ | 4173 #ifndef tzname /* For SGI. */ |
4051 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4174 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4052 #endif | 4175 #endif |
4053 int main() { | 4176 int main() { |
4054 atoi(*tzname); | 4177 atoi(*tzname); |
4055 ; return 0; } | 4178 ; return 0; } |
4056 EOF | 4179 EOF |
4057 if { (eval echo configure:4058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4180 if { (eval echo configure:4181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4058 rm -rf conftest* | 4181 rm -rf conftest* |
4059 ac_cv_var_tzname=yes | 4182 ac_cv_var_tzname=yes |
4060 else | 4183 else |
4061 echo "configure: failed program was:" >&5 | 4184 echo "configure: failed program was:" >&5 |
4062 cat conftest.$ac_ext >&5 | 4185 cat conftest.$ac_ext >&5 |
4078 fi | 4201 fi |
4079 fi | 4202 fi |
4080 | 4203 |
4081 | 4204 |
4082 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4205 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4083 echo "configure:4084: checking for working const" >&5 | 4206 echo "configure:4207: checking for working const" >&5 |
4084 | 4207 |
4085 cat > conftest.$ac_ext <<EOF | 4208 cat > conftest.$ac_ext <<EOF |
4086 #line 4087 "configure" | 4209 #line 4210 "configure" |
4087 #include "confdefs.h" | 4210 #include "confdefs.h" |
4088 | 4211 |
4089 int main() { | 4212 int main() { |
4090 | 4213 |
4091 /* Ultrix mips cc rejects this. */ | 4214 /* Ultrix mips cc rejects this. */ |
4130 const int foo = 10; | 4253 const int foo = 10; |
4131 } | 4254 } |
4132 | 4255 |
4133 ; return 0; } | 4256 ; return 0; } |
4134 EOF | 4257 EOF |
4135 if { (eval echo configure:4136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4258 if { (eval echo configure:4259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4136 rm -rf conftest* | 4259 rm -rf conftest* |
4137 ac_cv_c_const=yes | 4260 ac_cv_c_const=yes |
4138 else | 4261 else |
4139 echo "configure: failed program was:" >&5 | 4262 echo "configure: failed program was:" >&5 |
4140 cat conftest.$ac_ext >&5 | 4263 cat conftest.$ac_ext >&5 |
4155 | 4278 |
4156 fi | 4279 fi |
4157 | 4280 |
4158 | 4281 |
4159 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4282 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4160 echo "configure:4161: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4283 echo "configure:4284: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4161 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4284 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4162 | 4285 |
4163 cat > conftestmake <<\EOF | 4286 cat > conftestmake <<\EOF |
4164 all: | 4287 all: |
4165 @echo 'ac_maketemp="${MAKE}"' | 4288 @echo 'ac_maketemp="${MAKE}"' |
4180 SET_MAKE="MAKE=${MAKE-make}" | 4303 SET_MAKE="MAKE=${MAKE-make}" |
4181 fi | 4304 fi |
4182 | 4305 |
4183 | 4306 |
4184 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4307 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4185 echo "configure:4186: checking whether byte ordering is bigendian" >&5 | 4308 echo "configure:4309: checking whether byte ordering is bigendian" >&5 |
4186 | 4309 |
4187 ac_cv_c_bigendian=unknown | 4310 ac_cv_c_bigendian=unknown |
4188 # See if sys/param.h defines the BYTE_ORDER macro. | 4311 # See if sys/param.h defines the BYTE_ORDER macro. |
4189 cat > conftest.$ac_ext <<EOF | 4312 cat > conftest.$ac_ext <<EOF |
4190 #line 4191 "configure" | 4313 #line 4314 "configure" |
4191 #include "confdefs.h" | 4314 #include "confdefs.h" |
4192 #include <sys/types.h> | 4315 #include <sys/types.h> |
4193 #include <sys/param.h> | 4316 #include <sys/param.h> |
4194 int main() { | 4317 int main() { |
4195 | 4318 |
4196 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4319 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4197 bogus endian macros | 4320 bogus endian macros |
4198 #endif | 4321 #endif |
4199 ; return 0; } | 4322 ; return 0; } |
4200 EOF | 4323 EOF |
4201 if { (eval echo configure:4202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4324 if { (eval echo configure:4325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4202 rm -rf conftest* | 4325 rm -rf conftest* |
4203 # It does; now see whether it defined to BIG_ENDIAN or not. | 4326 # It does; now see whether it defined to BIG_ENDIAN or not. |
4204 cat > conftest.$ac_ext <<EOF | 4327 cat > conftest.$ac_ext <<EOF |
4205 #line 4206 "configure" | 4328 #line 4329 "configure" |
4206 #include "confdefs.h" | 4329 #include "confdefs.h" |
4207 #include <sys/types.h> | 4330 #include <sys/types.h> |
4208 #include <sys/param.h> | 4331 #include <sys/param.h> |
4209 int main() { | 4332 int main() { |
4210 | 4333 |
4211 #if BYTE_ORDER != BIG_ENDIAN | 4334 #if BYTE_ORDER != BIG_ENDIAN |
4212 not big endian | 4335 not big endian |
4213 #endif | 4336 #endif |
4214 ; return 0; } | 4337 ; return 0; } |
4215 EOF | 4338 EOF |
4216 if { (eval echo configure:4217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4339 if { (eval echo configure:4340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4217 rm -rf conftest* | 4340 rm -rf conftest* |
4218 ac_cv_c_bigendian=yes | 4341 ac_cv_c_bigendian=yes |
4219 else | 4342 else |
4220 echo "configure: failed program was:" >&5 | 4343 echo "configure: failed program was:" >&5 |
4221 cat conftest.$ac_ext >&5 | 4344 cat conftest.$ac_ext >&5 |
4228 cat conftest.$ac_ext >&5 | 4351 cat conftest.$ac_ext >&5 |
4229 fi | 4352 fi |
4230 rm -f conftest* | 4353 rm -f conftest* |
4231 if test $ac_cv_c_bigendian = unknown; then | 4354 if test $ac_cv_c_bigendian = unknown; then |
4232 cat > conftest.$ac_ext <<EOF | 4355 cat > conftest.$ac_ext <<EOF |
4233 #line 4234 "configure" | 4356 #line 4357 "configure" |
4234 #include "confdefs.h" | 4357 #include "confdefs.h" |
4235 main () { | 4358 main () { |
4236 /* Are we little or big endian? From Harbison&Steele. */ | 4359 /* Are we little or big endian? From Harbison&Steele. */ |
4237 union | 4360 union |
4238 { | 4361 { |
4241 } u; | 4364 } u; |
4242 u.l = 1; | 4365 u.l = 1; |
4243 exit (u.c[sizeof (long) - 1] == 1); | 4366 exit (u.c[sizeof (long) - 1] == 1); |
4244 } | 4367 } |
4245 EOF | 4368 EOF |
4246 if { (eval echo configure:4247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4369 if { (eval echo configure:4370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4247 then | 4370 then |
4248 ac_cv_c_bigendian=no | 4371 ac_cv_c_bigendian=no |
4249 else | 4372 else |
4250 conftest_rc="$?" | 4373 conftest_rc="$?" |
4251 echo "configure: failed program was:" >&5 | 4374 echo "configure: failed program was:" >&5 |
4268 | 4391 |
4269 fi | 4392 fi |
4270 | 4393 |
4271 | 4394 |
4272 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4395 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4273 echo "configure:4274: checking size of short" >&5 | 4396 echo "configure:4397: checking size of short" >&5 |
4274 | 4397 |
4275 cat > conftest.$ac_ext <<EOF | 4398 cat > conftest.$ac_ext <<EOF |
4276 #line 4277 "configure" | 4399 #line 4400 "configure" |
4277 #include "confdefs.h" | 4400 #include "confdefs.h" |
4278 #include <stdio.h> | 4401 #include <stdio.h> |
4279 main() | 4402 main() |
4280 { | 4403 { |
4281 FILE *f=fopen("conftestval", "w"); | 4404 FILE *f=fopen("conftestval", "w"); |
4282 if (!f) exit(1); | 4405 if (!f) exit(1); |
4283 fprintf(f, "%d\n", sizeof(short)); | 4406 fprintf(f, "%d\n", sizeof(short)); |
4284 exit(0); | 4407 exit(0); |
4285 } | 4408 } |
4286 EOF | 4409 EOF |
4287 if { (eval echo configure:4288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4410 if { (eval echo configure:4411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4288 then | 4411 then |
4289 ac_cv_sizeof_short=`cat conftestval` | 4412 ac_cv_sizeof_short=`cat conftestval` |
4290 else | 4413 else |
4291 conftest_rc="$?" | 4414 conftest_rc="$?" |
4292 echo "configure: failed program was:" >&5 | 4415 echo "configure: failed program was:" >&5 |
4310 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4433 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4311 echo "*** PANIC *** Please examine config.log for compilation errors." | 4434 echo "*** PANIC *** Please examine config.log for compilation errors." |
4312 exit 1 | 4435 exit 1 |
4313 fi | 4436 fi |
4314 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4437 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4315 echo "configure:4316: checking size of int" >&5 | 4438 echo "configure:4439: checking size of int" >&5 |
4316 | 4439 |
4317 cat > conftest.$ac_ext <<EOF | 4440 cat > conftest.$ac_ext <<EOF |
4318 #line 4319 "configure" | 4441 #line 4442 "configure" |
4319 #include "confdefs.h" | 4442 #include "confdefs.h" |
4320 #include <stdio.h> | 4443 #include <stdio.h> |
4321 main() | 4444 main() |
4322 { | 4445 { |
4323 FILE *f=fopen("conftestval", "w"); | 4446 FILE *f=fopen("conftestval", "w"); |
4324 if (!f) exit(1); | 4447 if (!f) exit(1); |
4325 fprintf(f, "%d\n", sizeof(int)); | 4448 fprintf(f, "%d\n", sizeof(int)); |
4326 exit(0); | 4449 exit(0); |
4327 } | 4450 } |
4328 EOF | 4451 EOF |
4329 if { (eval echo configure:4330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4452 if { (eval echo configure:4453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4330 then | 4453 then |
4331 ac_cv_sizeof_int=`cat conftestval` | 4454 ac_cv_sizeof_int=`cat conftestval` |
4332 else | 4455 else |
4333 conftest_rc="$?" | 4456 conftest_rc="$?" |
4334 echo "configure: failed program was:" >&5 | 4457 echo "configure: failed program was:" >&5 |
4346 EOF | 4469 EOF |
4347 } | 4470 } |
4348 | 4471 |
4349 | 4472 |
4350 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4473 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4351 echo "configure:4352: checking size of long" >&5 | 4474 echo "configure:4475: checking size of long" >&5 |
4352 | 4475 |
4353 cat > conftest.$ac_ext <<EOF | 4476 cat > conftest.$ac_ext <<EOF |
4354 #line 4355 "configure" | 4477 #line 4478 "configure" |
4355 #include "confdefs.h" | 4478 #include "confdefs.h" |
4356 #include <stdio.h> | 4479 #include <stdio.h> |
4357 main() | 4480 main() |
4358 { | 4481 { |
4359 FILE *f=fopen("conftestval", "w"); | 4482 FILE *f=fopen("conftestval", "w"); |
4360 if (!f) exit(1); | 4483 if (!f) exit(1); |
4361 fprintf(f, "%d\n", sizeof(long)); | 4484 fprintf(f, "%d\n", sizeof(long)); |
4362 exit(0); | 4485 exit(0); |
4363 } | 4486 } |
4364 EOF | 4487 EOF |
4365 if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4488 if { (eval echo configure:4489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4366 then | 4489 then |
4367 ac_cv_sizeof_long=`cat conftestval` | 4490 ac_cv_sizeof_long=`cat conftestval` |
4368 else | 4491 else |
4369 conftest_rc="$?" | 4492 conftest_rc="$?" |
4370 echo "configure: failed program was:" >&5 | 4493 echo "configure: failed program was:" >&5 |
4382 EOF | 4505 EOF |
4383 } | 4506 } |
4384 | 4507 |
4385 | 4508 |
4386 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4509 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4387 echo "configure:4388: checking size of long long" >&5 | 4510 echo "configure:4511: checking size of long long" >&5 |
4388 | 4511 |
4389 cat > conftest.$ac_ext <<EOF | 4512 cat > conftest.$ac_ext <<EOF |
4390 #line 4391 "configure" | 4513 #line 4514 "configure" |
4391 #include "confdefs.h" | 4514 #include "confdefs.h" |
4392 #include <stdio.h> | 4515 #include <stdio.h> |
4393 main() | 4516 main() |
4394 { | 4517 { |
4395 FILE *f=fopen("conftestval", "w"); | 4518 FILE *f=fopen("conftestval", "w"); |
4396 if (!f) exit(1); | 4519 if (!f) exit(1); |
4397 fprintf(f, "%d\n", sizeof(long long)); | 4520 fprintf(f, "%d\n", sizeof(long long)); |
4398 exit(0); | 4521 exit(0); |
4399 } | 4522 } |
4400 EOF | 4523 EOF |
4401 if { (eval echo configure:4402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4524 if { (eval echo configure:4525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4402 then | 4525 then |
4403 ac_cv_sizeof_long_long=`cat conftestval` | 4526 ac_cv_sizeof_long_long=`cat conftestval` |
4404 else | 4527 else |
4405 conftest_rc="$?" | 4528 conftest_rc="$?" |
4406 echo "configure: failed program was:" >&5 | 4529 echo "configure: failed program was:" >&5 |
4418 EOF | 4541 EOF |
4419 } | 4542 } |
4420 | 4543 |
4421 | 4544 |
4422 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4545 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4423 echo "configure:4424: checking size of void *" >&5 | 4546 echo "configure:4547: checking size of void *" >&5 |
4424 | 4547 |
4425 cat > conftest.$ac_ext <<EOF | 4548 cat > conftest.$ac_ext <<EOF |
4426 #line 4427 "configure" | 4549 #line 4550 "configure" |
4427 #include "confdefs.h" | 4550 #include "confdefs.h" |
4428 #include <stdio.h> | 4551 #include <stdio.h> |
4429 main() | 4552 main() |
4430 { | 4553 { |
4431 FILE *f=fopen("conftestval", "w"); | 4554 FILE *f=fopen("conftestval", "w"); |
4432 if (!f) exit(1); | 4555 if (!f) exit(1); |
4433 fprintf(f, "%d\n", sizeof(void *)); | 4556 fprintf(f, "%d\n", sizeof(void *)); |
4434 exit(0); | 4557 exit(0); |
4435 } | 4558 } |
4436 EOF | 4559 EOF |
4437 if { (eval echo configure:4438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4560 if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4438 then | 4561 then |
4439 ac_cv_sizeof_void_p=`cat conftestval` | 4562 ac_cv_sizeof_void_p=`cat conftestval` |
4440 else | 4563 else |
4441 conftest_rc="$?" | 4564 conftest_rc="$?" |
4442 echo "configure: failed program was:" >&5 | 4565 echo "configure: failed program was:" >&5 |
4455 } | 4578 } |
4456 | 4579 |
4457 | 4580 |
4458 | 4581 |
4459 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4582 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4460 echo "configure:4461: checking for long file names" >&5 | 4583 echo "configure:4584: checking for long file names" >&5 |
4461 | 4584 |
4462 ac_cv_sys_long_file_names=yes | 4585 ac_cv_sys_long_file_names=yes |
4463 # Test for long file names in all the places we know might matter: | 4586 # Test for long file names in all the places we know might matter: |
4464 # . the current directory, where building will happen | 4587 # . the current directory, where building will happen |
4465 # $prefix/lib where we will be installing things | 4588 # $prefix/lib where we will be installing things |
4501 | 4624 |
4502 fi | 4625 fi |
4503 | 4626 |
4504 | 4627 |
4505 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4628 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4506 echo "configure:4507: checking for sin" >&5 | 4629 echo "configure:4630: checking for sin" >&5 |
4507 | 4630 |
4508 cat > conftest.$ac_ext <<EOF | 4631 cat > conftest.$ac_ext <<EOF |
4509 #line 4510 "configure" | 4632 #line 4633 "configure" |
4510 #include "confdefs.h" | 4633 #include "confdefs.h" |
4511 /* System header to define __stub macros and hopefully few prototypes, | 4634 /* System header to define __stub macros and hopefully few prototypes, |
4512 which can conflict with char sin(); below. */ | 4635 which can conflict with char sin(); below. */ |
4513 #include <assert.h> | 4636 #include <assert.h> |
4514 /* Override any gcc2 internal prototype to avoid an error. */ | 4637 /* Override any gcc2 internal prototype to avoid an error. */ |
4527 sin(); | 4650 sin(); |
4528 #endif | 4651 #endif |
4529 | 4652 |
4530 ; return 0; } | 4653 ; return 0; } |
4531 EOF | 4654 EOF |
4532 if { (eval echo configure:4533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4655 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4533 rm -rf conftest* | 4656 rm -rf conftest* |
4534 eval "ac_cv_func_sin=yes" | 4657 eval "ac_cv_func_sin=yes" |
4535 else | 4658 else |
4536 echo "configure: failed program was:" >&5 | 4659 echo "configure: failed program was:" >&5 |
4537 cat conftest.$ac_ext >&5 | 4660 cat conftest.$ac_ext >&5 |
4545 : | 4668 : |
4546 else | 4669 else |
4547 echo "$ac_t""no" 1>&6 | 4670 echo "$ac_t""no" 1>&6 |
4548 | 4671 |
4549 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4672 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4550 echo "configure:4551: checking for sin in -lm" >&5 | 4673 echo "configure:4674: checking for sin in -lm" >&5 |
4551 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4674 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4552 | 4675 |
4553 xe_check_libs=" -lm " | 4676 xe_check_libs=" -lm " |
4554 cat > conftest.$ac_ext <<EOF | 4677 cat > conftest.$ac_ext <<EOF |
4555 #line 4556 "configure" | 4678 #line 4679 "configure" |
4556 #include "confdefs.h" | 4679 #include "confdefs.h" |
4557 /* Override any gcc2 internal prototype to avoid an error. */ | 4680 /* Override any gcc2 internal prototype to avoid an error. */ |
4558 /* We use char because int might match the return type of a gcc2 | 4681 /* We use char because int might match the return type of a gcc2 |
4559 builtin and then its argument prototype would still apply. */ | 4682 builtin and then its argument prototype would still apply. */ |
4560 char sin(); | 4683 char sin(); |
4561 | 4684 |
4562 int main() { | 4685 int main() { |
4563 sin() | 4686 sin() |
4564 ; return 0; } | 4687 ; return 0; } |
4565 EOF | 4688 EOF |
4566 if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4689 if { (eval echo configure:4690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4567 rm -rf conftest* | 4690 rm -rf conftest* |
4568 eval "ac_cv_lib_$ac_lib_var=yes" | 4691 eval "ac_cv_lib_$ac_lib_var=yes" |
4569 else | 4692 else |
4570 echo "configure: failed program was:" >&5 | 4693 echo "configure: failed program was:" >&5 |
4571 cat conftest.$ac_ext >&5 | 4694 cat conftest.$ac_ext >&5 |
4605 EOF | 4728 EOF |
4606 } | 4729 } |
4607 | 4730 |
4608 | 4731 |
4609 cat > conftest.$ac_ext <<EOF | 4732 cat > conftest.$ac_ext <<EOF |
4610 #line 4611 "configure" | 4733 #line 4734 "configure" |
4611 #include "confdefs.h" | 4734 #include "confdefs.h" |
4612 #include <math.h> | 4735 #include <math.h> |
4613 int main() { | 4736 int main() { |
4614 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4737 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4615 ; return 0; } | 4738 ; return 0; } |
4616 EOF | 4739 EOF |
4617 if { (eval echo configure:4618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4740 if { (eval echo configure:4741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4618 rm -rf conftest* | 4741 rm -rf conftest* |
4619 { test "$extra_verbose" = "yes" && cat << \EOF | 4742 { test "$extra_verbose" = "yes" && cat << \EOF |
4620 Defining HAVE_INVERSE_HYPERBOLIC | 4743 Defining HAVE_INVERSE_HYPERBOLIC |
4621 EOF | 4744 EOF |
4622 cat >> confdefs.h <<\EOF | 4745 cat >> confdefs.h <<\EOF |
4629 cat conftest.$ac_ext >&5 | 4752 cat conftest.$ac_ext >&5 |
4630 fi | 4753 fi |
4631 rm -f conftest* | 4754 rm -f conftest* |
4632 | 4755 |
4633 echo "checking type of mail spool file locking" 1>&6 | 4756 echo "checking type of mail spool file locking" 1>&6 |
4634 echo "configure:4635: checking type of mail spool file locking" >&5 | 4757 echo "configure:4758: checking type of mail spool file locking" >&5 |
4635 for ac_func in lockf flock | 4758 for ac_func in lockf flock |
4636 do | 4759 do |
4637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4760 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4638 echo "configure:4639: checking for $ac_func" >&5 | 4761 echo "configure:4762: checking for $ac_func" >&5 |
4639 | 4762 |
4640 cat > conftest.$ac_ext <<EOF | 4763 cat > conftest.$ac_ext <<EOF |
4641 #line 4642 "configure" | 4764 #line 4765 "configure" |
4642 #include "confdefs.h" | 4765 #include "confdefs.h" |
4643 /* System header to define __stub macros and hopefully few prototypes, | 4766 /* System header to define __stub macros and hopefully few prototypes, |
4644 which can conflict with char $ac_func(); below. */ | 4767 which can conflict with char $ac_func(); below. */ |
4645 #include <assert.h> | 4768 #include <assert.h> |
4646 /* Override any gcc2 internal prototype to avoid an error. */ | 4769 /* Override any gcc2 internal prototype to avoid an error. */ |
4659 $ac_func(); | 4782 $ac_func(); |
4660 #endif | 4783 #endif |
4661 | 4784 |
4662 ; return 0; } | 4785 ; return 0; } |
4663 EOF | 4786 EOF |
4664 if { (eval echo configure:4665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4787 if { (eval echo configure:4788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4665 rm -rf conftest* | 4788 rm -rf conftest* |
4666 eval "ac_cv_func_$ac_func=yes" | 4789 eval "ac_cv_func_$ac_func=yes" |
4667 else | 4790 else |
4668 echo "configure: failed program was:" >&5 | 4791 echo "configure: failed program was:" >&5 |
4669 cat conftest.$ac_ext >&5 | 4792 cat conftest.$ac_ext >&5 |
4732 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4855 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4733 | 4856 |
4734 case "$opsys" in decosf*) | 4857 case "$opsys" in decosf*) |
4735 | 4858 |
4736 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4859 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4737 echo "configure:4738: checking for cma_open in -lpthreads" >&5 | 4860 echo "configure:4861: checking for cma_open in -lpthreads" >&5 |
4738 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4861 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4739 | 4862 |
4740 xe_check_libs=" -lpthreads " | 4863 xe_check_libs=" -lpthreads " |
4741 cat > conftest.$ac_ext <<EOF | 4864 cat > conftest.$ac_ext <<EOF |
4742 #line 4743 "configure" | 4865 #line 4866 "configure" |
4743 #include "confdefs.h" | 4866 #include "confdefs.h" |
4744 /* Override any gcc2 internal prototype to avoid an error. */ | 4867 /* Override any gcc2 internal prototype to avoid an error. */ |
4745 /* We use char because int might match the return type of a gcc2 | 4868 /* We use char because int might match the return type of a gcc2 |
4746 builtin and then its argument prototype would still apply. */ | 4869 builtin and then its argument prototype would still apply. */ |
4747 char cma_open(); | 4870 char cma_open(); |
4748 | 4871 |
4749 int main() { | 4872 int main() { |
4750 cma_open() | 4873 cma_open() |
4751 ; return 0; } | 4874 ; return 0; } |
4752 EOF | 4875 EOF |
4753 if { (eval echo configure:4754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4876 if { (eval echo configure:4877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4754 rm -rf conftest* | 4877 rm -rf conftest* |
4755 eval "ac_cv_lib_$ac_lib_var=yes" | 4878 eval "ac_cv_lib_$ac_lib_var=yes" |
4756 else | 4879 else |
4757 echo "configure: failed program was:" >&5 | 4880 echo "configure: failed program was:" >&5 |
4758 cat conftest.$ac_ext >&5 | 4881 cat conftest.$ac_ext >&5 |
4784 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4907 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4785 c_switch_site="$c_switch_site -threads" ;; | 4908 c_switch_site="$c_switch_site -threads" ;; |
4786 esac | 4909 esac |
4787 | 4910 |
4788 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4911 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4789 echo "configure:4790: checking whether the -xildoff compiler flag is required" >&5 | 4912 echo "configure:4913: checking whether the -xildoff compiler flag is required" >&5 |
4790 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4913 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4791 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4914 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4792 then echo "$ac_t""no" 1>&6; | 4915 then echo "$ac_t""no" 1>&6; |
4793 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 | 4916 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 |
4794 fi | 4917 fi |
4796 fi | 4919 fi |
4797 | 4920 |
4798 if test "$opsys" = "sol2"; then | 4921 if test "$opsys" = "sol2"; then |
4799 if test "$os_release" -ge 56; then | 4922 if test "$os_release" -ge 56; then |
4800 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4923 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4801 echo "configure:4802: checking for \"-z ignore\" linker flag" >&5 | 4924 echo "configure:4925: checking for \"-z ignore\" linker flag" >&5 |
4802 case "`ld -h 2>&1`" in | 4925 case "`ld -h 2>&1`" in |
4803 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4926 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4804 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4927 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4805 *) echo "$ac_t""no" 1>&6 ;; | 4928 *) echo "$ac_t""no" 1>&6 ;; |
4806 esac | 4929 esac |
4807 fi | 4930 fi |
4808 fi | 4931 fi |
4809 | 4932 |
4810 | 4933 |
4811 echo "checking "for specified window system"" 1>&6 | 4934 echo "checking "for specified window system"" 1>&6 |
4812 echo "configure:4813: checking "for specified window system"" >&5 | 4935 echo "configure:4936: checking "for specified window system"" >&5 |
4813 | 4936 |
4814 if test "$with_x11" != "no"; then | 4937 if test "$with_x11" != "no"; then |
4815 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4938 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4816 window_system=x11 with_x11=yes | 4939 window_system=x11 with_x11=yes |
4817 | 4940 |
4840 # If we find X, set shell vars x_includes and x_libraries to the | 4963 # If we find X, set shell vars x_includes and x_libraries to the |
4841 # paths, otherwise set no_x=yes. | 4964 # paths, otherwise set no_x=yes. |
4842 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4965 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4843 # --without-x overrides everything else, but does not touch the cache. | 4966 # --without-x overrides everything else, but does not touch the cache. |
4844 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4967 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4845 echo "configure:4846: checking for X" >&5 | 4968 echo "configure:4969: checking for X" >&5 |
4846 | 4969 |
4847 # Check whether --with-x or --without-x was given. | 4970 # Check whether --with-x or --without-x was given. |
4848 if test "${with_x+set}" = set; then | 4971 if test "${with_x+set}" = set; then |
4849 withval="$with_x" | 4972 withval="$with_x" |
4850 : | 4973 : |
4900 # Guess where to find include files, by looking for this one X11 .h file. | 5023 # Guess where to find include files, by looking for this one X11 .h file. |
4901 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5024 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4902 | 5025 |
4903 # First, try using that file with no special directory specified. | 5026 # First, try using that file with no special directory specified. |
4904 cat > conftest.$ac_ext <<EOF | 5027 cat > conftest.$ac_ext <<EOF |
4905 #line 4906 "configure" | 5028 #line 5029 "configure" |
4906 #include "confdefs.h" | 5029 #include "confdefs.h" |
4907 #include <$x_direct_test_include> | 5030 #include <$x_direct_test_include> |
4908 EOF | 5031 EOF |
4909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5032 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4910 { (eval echo configure:4911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5033 { (eval echo configure:5034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5034 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4912 if test -z "$ac_err"; then | 5035 if test -z "$ac_err"; then |
4913 rm -rf conftest* | 5036 rm -rf conftest* |
4914 # We can compile using X headers with no special include directory. | 5037 # We can compile using X headers with no special include directory. |
4915 ac_x_includes= | 5038 ac_x_includes= |
4974 # See if we find them without any special options. | 5097 # See if we find them without any special options. |
4975 # Don't add to $LIBS permanently. | 5098 # Don't add to $LIBS permanently. |
4976 ac_save_LIBS="$LIBS" | 5099 ac_save_LIBS="$LIBS" |
4977 LIBS="-l$x_direct_test_library $LIBS" | 5100 LIBS="-l$x_direct_test_library $LIBS" |
4978 cat > conftest.$ac_ext <<EOF | 5101 cat > conftest.$ac_ext <<EOF |
4979 #line 4980 "configure" | 5102 #line 5103 "configure" |
4980 #include "confdefs.h" | 5103 #include "confdefs.h" |
4981 | 5104 |
4982 int main() { | 5105 int main() { |
4983 ${x_direct_test_function}() | 5106 ${x_direct_test_function}() |
4984 ; return 0; } | 5107 ; return 0; } |
4985 EOF | 5108 EOF |
4986 if { (eval echo configure:4987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5109 if { (eval echo configure:5110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4987 rm -rf conftest* | 5110 rm -rf conftest* |
4988 LIBS="$ac_save_LIBS" | 5111 LIBS="$ac_save_LIBS" |
4989 # We can link X programs with no special library path. | 5112 # We can link X programs with no special library path. |
4990 ac_x_libraries= | 5113 ac_x_libraries= |
4991 else | 5114 else |
5090 # For Solaris; some versions of Sun CC require a space after -R and | 5213 # For Solaris; some versions of Sun CC require a space after -R and |
5091 # others require no space. Words are not sufficient . . . . | 5214 # others require no space. Words are not sufficient . . . . |
5092 case "`(uname -sr) 2>/dev/null`" in | 5215 case "`(uname -sr) 2>/dev/null`" in |
5093 "SunOS 5"*) | 5216 "SunOS 5"*) |
5094 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5217 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5095 echo "configure:5096: checking whether -R must be followed by a space" >&5 | 5218 echo "configure:5219: checking whether -R must be followed by a space" >&5 |
5096 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5219 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5097 cat > conftest.$ac_ext <<EOF | 5220 cat > conftest.$ac_ext <<EOF |
5098 #line 5099 "configure" | 5221 #line 5222 "configure" |
5099 #include "confdefs.h" | 5222 #include "confdefs.h" |
5100 | 5223 |
5101 int main() { | 5224 int main() { |
5102 | 5225 |
5103 ; return 0; } | 5226 ; return 0; } |
5104 EOF | 5227 EOF |
5105 if { (eval echo configure:5106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5228 if { (eval echo configure:5229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5106 rm -rf conftest* | 5229 rm -rf conftest* |
5107 ac_R_nospace=yes | 5230 ac_R_nospace=yes |
5108 else | 5231 else |
5109 echo "configure: failed program was:" >&5 | 5232 echo "configure: failed program was:" >&5 |
5110 cat conftest.$ac_ext >&5 | 5233 cat conftest.$ac_ext >&5 |
5116 echo "$ac_t""no" 1>&6 | 5239 echo "$ac_t""no" 1>&6 |
5117 X_LIBS="$X_LIBS -R$x_libraries" | 5240 X_LIBS="$X_LIBS -R$x_libraries" |
5118 else | 5241 else |
5119 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5242 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5120 cat > conftest.$ac_ext <<EOF | 5243 cat > conftest.$ac_ext <<EOF |
5121 #line 5122 "configure" | 5244 #line 5245 "configure" |
5122 #include "confdefs.h" | 5245 #include "confdefs.h" |
5123 | 5246 |
5124 int main() { | 5247 int main() { |
5125 | 5248 |
5126 ; return 0; } | 5249 ; return 0; } |
5127 EOF | 5250 EOF |
5128 if { (eval echo configure:5129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5251 if { (eval echo configure:5252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5129 rm -rf conftest* | 5252 rm -rf conftest* |
5130 ac_R_space=yes | 5253 ac_R_space=yes |
5131 else | 5254 else |
5132 echo "configure: failed program was:" >&5 | 5255 echo "configure: failed program was:" >&5 |
5133 cat conftest.$ac_ext >&5 | 5256 cat conftest.$ac_ext >&5 |
5159 if test "$with_dnet" = "no" ; then | 5282 if test "$with_dnet" = "no" ; then |
5160 ac_cv_lib_dnet_dnet_ntoa=no | 5283 ac_cv_lib_dnet_dnet_ntoa=no |
5161 else | 5284 else |
5162 | 5285 |
5163 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5286 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5164 echo "configure:5165: checking for dnet_ntoa in -ldnet" >&5 | 5287 echo "configure:5288: checking for dnet_ntoa in -ldnet" >&5 |
5165 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5288 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5166 | 5289 |
5167 xe_check_libs=" -ldnet " | 5290 xe_check_libs=" -ldnet " |
5168 cat > conftest.$ac_ext <<EOF | 5291 cat > conftest.$ac_ext <<EOF |
5169 #line 5170 "configure" | 5292 #line 5293 "configure" |
5170 #include "confdefs.h" | 5293 #include "confdefs.h" |
5171 /* Override any gcc2 internal prototype to avoid an error. */ | 5294 /* Override any gcc2 internal prototype to avoid an error. */ |
5172 /* We use char because int might match the return type of a gcc2 | 5295 /* We use char because int might match the return type of a gcc2 |
5173 builtin and then its argument prototype would still apply. */ | 5296 builtin and then its argument prototype would still apply. */ |
5174 char dnet_ntoa(); | 5297 char dnet_ntoa(); |
5175 | 5298 |
5176 int main() { | 5299 int main() { |
5177 dnet_ntoa() | 5300 dnet_ntoa() |
5178 ; return 0; } | 5301 ; return 0; } |
5179 EOF | 5302 EOF |
5180 if { (eval echo configure:5181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5303 if { (eval echo configure:5304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5181 rm -rf conftest* | 5304 rm -rf conftest* |
5182 eval "ac_cv_lib_$ac_lib_var=yes" | 5305 eval "ac_cv_lib_$ac_lib_var=yes" |
5183 else | 5306 else |
5184 echo "configure: failed program was:" >&5 | 5307 echo "configure: failed program was:" >&5 |
5185 cat conftest.$ac_ext >&5 | 5308 cat conftest.$ac_ext >&5 |
5199 fi | 5322 fi |
5200 | 5323 |
5201 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5324 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5202 | 5325 |
5203 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5326 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5204 echo "configure:5205: checking for dnet_ntoa in -ldnet_stub" >&5 | 5327 echo "configure:5328: checking for dnet_ntoa in -ldnet_stub" >&5 |
5205 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5328 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5206 | 5329 |
5207 xe_check_libs=" -ldnet_stub " | 5330 xe_check_libs=" -ldnet_stub " |
5208 cat > conftest.$ac_ext <<EOF | 5331 cat > conftest.$ac_ext <<EOF |
5209 #line 5210 "configure" | 5332 #line 5333 "configure" |
5210 #include "confdefs.h" | 5333 #include "confdefs.h" |
5211 /* Override any gcc2 internal prototype to avoid an error. */ | 5334 /* Override any gcc2 internal prototype to avoid an error. */ |
5212 /* We use char because int might match the return type of a gcc2 | 5335 /* We use char because int might match the return type of a gcc2 |
5213 builtin and then its argument prototype would still apply. */ | 5336 builtin and then its argument prototype would still apply. */ |
5214 char dnet_ntoa(); | 5337 char dnet_ntoa(); |
5215 | 5338 |
5216 int main() { | 5339 int main() { |
5217 dnet_ntoa() | 5340 dnet_ntoa() |
5218 ; return 0; } | 5341 ; return 0; } |
5219 EOF | 5342 EOF |
5220 if { (eval echo configure:5221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5343 if { (eval echo configure:5344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5221 rm -rf conftest* | 5344 rm -rf conftest* |
5222 eval "ac_cv_lib_$ac_lib_var=yes" | 5345 eval "ac_cv_lib_$ac_lib_var=yes" |
5223 else | 5346 else |
5224 echo "configure: failed program was:" >&5 | 5347 echo "configure: failed program was:" >&5 |
5225 cat conftest.$ac_ext >&5 | 5348 cat conftest.$ac_ext >&5 |
5244 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5367 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5245 # needs -lnsl. | 5368 # needs -lnsl. |
5246 # The nsl library prevents programs from opening the X display | 5369 # The nsl library prevents programs from opening the X display |
5247 # on Irix 5.2, according to dickey@clark.net. | 5370 # on Irix 5.2, according to dickey@clark.net. |
5248 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5371 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5249 echo "configure:5250: checking for gethostbyname" >&5 | 5372 echo "configure:5373: checking for gethostbyname" >&5 |
5250 | 5373 |
5251 cat > conftest.$ac_ext <<EOF | 5374 cat > conftest.$ac_ext <<EOF |
5252 #line 5253 "configure" | 5375 #line 5376 "configure" |
5253 #include "confdefs.h" | 5376 #include "confdefs.h" |
5254 /* System header to define __stub macros and hopefully few prototypes, | 5377 /* System header to define __stub macros and hopefully few prototypes, |
5255 which can conflict with char gethostbyname(); below. */ | 5378 which can conflict with char gethostbyname(); below. */ |
5256 #include <assert.h> | 5379 #include <assert.h> |
5257 /* Override any gcc2 internal prototype to avoid an error. */ | 5380 /* Override any gcc2 internal prototype to avoid an error. */ |
5270 gethostbyname(); | 5393 gethostbyname(); |
5271 #endif | 5394 #endif |
5272 | 5395 |
5273 ; return 0; } | 5396 ; return 0; } |
5274 EOF | 5397 EOF |
5275 if { (eval echo configure:5276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5398 if { (eval echo configure:5399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5276 rm -rf conftest* | 5399 rm -rf conftest* |
5277 eval "ac_cv_func_gethostbyname=yes" | 5400 eval "ac_cv_func_gethostbyname=yes" |
5278 else | 5401 else |
5279 echo "configure: failed program was:" >&5 | 5402 echo "configure: failed program was:" >&5 |
5280 cat conftest.$ac_ext >&5 | 5403 cat conftest.$ac_ext >&5 |
5291 fi | 5414 fi |
5292 | 5415 |
5293 if test $ac_cv_func_gethostbyname = no; then | 5416 if test $ac_cv_func_gethostbyname = no; then |
5294 | 5417 |
5295 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5418 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5296 echo "configure:5297: checking for gethostbyname in -lnsl" >&5 | 5419 echo "configure:5420: checking for gethostbyname in -lnsl" >&5 |
5297 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5420 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5298 | 5421 |
5299 xe_check_libs=" -lnsl " | 5422 xe_check_libs=" -lnsl " |
5300 cat > conftest.$ac_ext <<EOF | 5423 cat > conftest.$ac_ext <<EOF |
5301 #line 5302 "configure" | 5424 #line 5425 "configure" |
5302 #include "confdefs.h" | 5425 #include "confdefs.h" |
5303 /* Override any gcc2 internal prototype to avoid an error. */ | 5426 /* Override any gcc2 internal prototype to avoid an error. */ |
5304 /* We use char because int might match the return type of a gcc2 | 5427 /* We use char because int might match the return type of a gcc2 |
5305 builtin and then its argument prototype would still apply. */ | 5428 builtin and then its argument prototype would still apply. */ |
5306 char gethostbyname(); | 5429 char gethostbyname(); |
5307 | 5430 |
5308 int main() { | 5431 int main() { |
5309 gethostbyname() | 5432 gethostbyname() |
5310 ; return 0; } | 5433 ; return 0; } |
5311 EOF | 5434 EOF |
5312 if { (eval echo configure:5313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5435 if { (eval echo configure:5436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5313 rm -rf conftest* | 5436 rm -rf conftest* |
5314 eval "ac_cv_lib_$ac_lib_var=yes" | 5437 eval "ac_cv_lib_$ac_lib_var=yes" |
5315 else | 5438 else |
5316 echo "configure: failed program was:" >&5 | 5439 echo "configure: failed program was:" >&5 |
5317 cat conftest.$ac_ext >&5 | 5440 cat conftest.$ac_ext >&5 |
5337 # on later versions), says simon@lia.di.epfl.ch: it contains | 5460 # on later versions), says simon@lia.di.epfl.ch: it contains |
5338 # gethostby* variants that don't use the nameserver (or something). | 5461 # gethostby* variants that don't use the nameserver (or something). |
5339 # -lsocket must be given before -lnsl if both are needed. | 5462 # -lsocket must be given before -lnsl if both are needed. |
5340 # We assume that if connect needs -lnsl, so does gethostbyname. | 5463 # We assume that if connect needs -lnsl, so does gethostbyname. |
5341 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5464 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5342 echo "configure:5343: checking for connect" >&5 | 5465 echo "configure:5466: checking for connect" >&5 |
5343 | 5466 |
5344 cat > conftest.$ac_ext <<EOF | 5467 cat > conftest.$ac_ext <<EOF |
5345 #line 5346 "configure" | 5468 #line 5469 "configure" |
5346 #include "confdefs.h" | 5469 #include "confdefs.h" |
5347 /* System header to define __stub macros and hopefully few prototypes, | 5470 /* System header to define __stub macros and hopefully few prototypes, |
5348 which can conflict with char connect(); below. */ | 5471 which can conflict with char connect(); below. */ |
5349 #include <assert.h> | 5472 #include <assert.h> |
5350 /* Override any gcc2 internal prototype to avoid an error. */ | 5473 /* Override any gcc2 internal prototype to avoid an error. */ |
5363 connect(); | 5486 connect(); |
5364 #endif | 5487 #endif |
5365 | 5488 |
5366 ; return 0; } | 5489 ; return 0; } |
5367 EOF | 5490 EOF |
5368 if { (eval echo configure:5369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5491 if { (eval echo configure:5492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5369 rm -rf conftest* | 5492 rm -rf conftest* |
5370 eval "ac_cv_func_connect=yes" | 5493 eval "ac_cv_func_connect=yes" |
5371 else | 5494 else |
5372 echo "configure: failed program was:" >&5 | 5495 echo "configure: failed program was:" >&5 |
5373 cat conftest.$ac_ext >&5 | 5496 cat conftest.$ac_ext >&5 |
5386 if test $ac_cv_func_connect = no; then | 5509 if test $ac_cv_func_connect = no; then |
5387 | 5510 |
5388 xe_msg_checking="for connect in -lsocket" | 5511 xe_msg_checking="for connect in -lsocket" |
5389 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5512 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5390 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5513 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5391 echo "configure:5392: checking "$xe_msg_checking"" >&5 | 5514 echo "configure:5515: checking "$xe_msg_checking"" >&5 |
5392 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5515 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5393 | 5516 |
5394 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5517 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5395 cat > conftest.$ac_ext <<EOF | 5518 cat > conftest.$ac_ext <<EOF |
5396 #line 5397 "configure" | 5519 #line 5520 "configure" |
5397 #include "confdefs.h" | 5520 #include "confdefs.h" |
5398 /* Override any gcc2 internal prototype to avoid an error. */ | 5521 /* Override any gcc2 internal prototype to avoid an error. */ |
5399 /* We use char because int might match the return type of a gcc2 | 5522 /* We use char because int might match the return type of a gcc2 |
5400 builtin and then its argument prototype would still apply. */ | 5523 builtin and then its argument prototype would still apply. */ |
5401 char connect(); | 5524 char connect(); |
5402 | 5525 |
5403 int main() { | 5526 int main() { |
5404 connect() | 5527 connect() |
5405 ; return 0; } | 5528 ; return 0; } |
5406 EOF | 5529 EOF |
5407 if { (eval echo configure:5408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5530 if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5408 rm -rf conftest* | 5531 rm -rf conftest* |
5409 eval "ac_cv_lib_$ac_lib_var=yes" | 5532 eval "ac_cv_lib_$ac_lib_var=yes" |
5410 else | 5533 else |
5411 echo "configure: failed program was:" >&5 | 5534 echo "configure: failed program was:" >&5 |
5412 cat conftest.$ac_ext >&5 | 5535 cat conftest.$ac_ext >&5 |
5426 | 5549 |
5427 fi | 5550 fi |
5428 | 5551 |
5429 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5552 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
5430 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5553 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5431 echo "configure:5432: checking for remove" >&5 | 5554 echo "configure:5555: checking for remove" >&5 |
5432 | 5555 |
5433 cat > conftest.$ac_ext <<EOF | 5556 cat > conftest.$ac_ext <<EOF |
5434 #line 5435 "configure" | 5557 #line 5558 "configure" |
5435 #include "confdefs.h" | 5558 #include "confdefs.h" |
5436 /* System header to define __stub macros and hopefully few prototypes, | 5559 /* System header to define __stub macros and hopefully few prototypes, |
5437 which can conflict with char remove(); below. */ | 5560 which can conflict with char remove(); below. */ |
5438 #include <assert.h> | 5561 #include <assert.h> |
5439 /* Override any gcc2 internal prototype to avoid an error. */ | 5562 /* Override any gcc2 internal prototype to avoid an error. */ |
5452 remove(); | 5575 remove(); |
5453 #endif | 5576 #endif |
5454 | 5577 |
5455 ; return 0; } | 5578 ; return 0; } |
5456 EOF | 5579 EOF |
5457 if { (eval echo configure:5458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5580 if { (eval echo configure:5581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5458 rm -rf conftest* | 5581 rm -rf conftest* |
5459 eval "ac_cv_func_remove=yes" | 5582 eval "ac_cv_func_remove=yes" |
5460 else | 5583 else |
5461 echo "configure: failed program was:" >&5 | 5584 echo "configure: failed program was:" >&5 |
5462 cat conftest.$ac_ext >&5 | 5585 cat conftest.$ac_ext >&5 |
5473 fi | 5596 fi |
5474 | 5597 |
5475 if test $ac_cv_func_remove = no; then | 5598 if test $ac_cv_func_remove = no; then |
5476 | 5599 |
5477 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5600 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5478 echo "configure:5479: checking for remove in -lposix" >&5 | 5601 echo "configure:5602: checking for remove in -lposix" >&5 |
5479 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5602 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5480 | 5603 |
5481 xe_check_libs=" -lposix " | 5604 xe_check_libs=" -lposix " |
5482 cat > conftest.$ac_ext <<EOF | 5605 cat > conftest.$ac_ext <<EOF |
5483 #line 5484 "configure" | 5606 #line 5607 "configure" |
5484 #include "confdefs.h" | 5607 #include "confdefs.h" |
5485 /* Override any gcc2 internal prototype to avoid an error. */ | 5608 /* Override any gcc2 internal prototype to avoid an error. */ |
5486 /* We use char because int might match the return type of a gcc2 | 5609 /* We use char because int might match the return type of a gcc2 |
5487 builtin and then its argument prototype would still apply. */ | 5610 builtin and then its argument prototype would still apply. */ |
5488 char remove(); | 5611 char remove(); |
5489 | 5612 |
5490 int main() { | 5613 int main() { |
5491 remove() | 5614 remove() |
5492 ; return 0; } | 5615 ; return 0; } |
5493 EOF | 5616 EOF |
5494 if { (eval echo configure:5495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5617 if { (eval echo configure:5618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5495 rm -rf conftest* | 5618 rm -rf conftest* |
5496 eval "ac_cv_lib_$ac_lib_var=yes" | 5619 eval "ac_cv_lib_$ac_lib_var=yes" |
5497 else | 5620 else |
5498 echo "configure: failed program was:" >&5 | 5621 echo "configure: failed program was:" >&5 |
5499 cat conftest.$ac_ext >&5 | 5622 cat conftest.$ac_ext >&5 |
5513 | 5636 |
5514 fi | 5637 fi |
5515 | 5638 |
5516 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5639 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5517 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5640 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5518 echo "configure:5519: checking for shmat" >&5 | 5641 echo "configure:5642: checking for shmat" >&5 |
5519 | 5642 |
5520 cat > conftest.$ac_ext <<EOF | 5643 cat > conftest.$ac_ext <<EOF |
5521 #line 5522 "configure" | 5644 #line 5645 "configure" |
5522 #include "confdefs.h" | 5645 #include "confdefs.h" |
5523 /* System header to define __stub macros and hopefully few prototypes, | 5646 /* System header to define __stub macros and hopefully few prototypes, |
5524 which can conflict with char shmat(); below. */ | 5647 which can conflict with char shmat(); below. */ |
5525 #include <assert.h> | 5648 #include <assert.h> |
5526 /* Override any gcc2 internal prototype to avoid an error. */ | 5649 /* Override any gcc2 internal prototype to avoid an error. */ |
5539 shmat(); | 5662 shmat(); |
5540 #endif | 5663 #endif |
5541 | 5664 |
5542 ; return 0; } | 5665 ; return 0; } |
5543 EOF | 5666 EOF |
5544 if { (eval echo configure:5545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5667 if { (eval echo configure:5668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5545 rm -rf conftest* | 5668 rm -rf conftest* |
5546 eval "ac_cv_func_shmat=yes" | 5669 eval "ac_cv_func_shmat=yes" |
5547 else | 5670 else |
5548 echo "configure: failed program was:" >&5 | 5671 echo "configure: failed program was:" >&5 |
5549 cat conftest.$ac_ext >&5 | 5672 cat conftest.$ac_ext >&5 |
5560 fi | 5683 fi |
5561 | 5684 |
5562 if test $ac_cv_func_shmat = no; then | 5685 if test $ac_cv_func_shmat = no; then |
5563 | 5686 |
5564 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5687 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5565 echo "configure:5566: checking for shmat in -lipc" >&5 | 5688 echo "configure:5689: checking for shmat in -lipc" >&5 |
5566 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5689 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5567 | 5690 |
5568 xe_check_libs=" -lipc " | 5691 xe_check_libs=" -lipc " |
5569 cat > conftest.$ac_ext <<EOF | 5692 cat > conftest.$ac_ext <<EOF |
5570 #line 5571 "configure" | 5693 #line 5694 "configure" |
5571 #include "confdefs.h" | 5694 #include "confdefs.h" |
5572 /* Override any gcc2 internal prototype to avoid an error. */ | 5695 /* Override any gcc2 internal prototype to avoid an error. */ |
5573 /* We use char because int might match the return type of a gcc2 | 5696 /* We use char because int might match the return type of a gcc2 |
5574 builtin and then its argument prototype would still apply. */ | 5697 builtin and then its argument prototype would still apply. */ |
5575 char shmat(); | 5698 char shmat(); |
5576 | 5699 |
5577 int main() { | 5700 int main() { |
5578 shmat() | 5701 shmat() |
5579 ; return 0; } | 5702 ; return 0; } |
5580 EOF | 5703 EOF |
5581 if { (eval echo configure:5582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5704 if { (eval echo configure:5705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5582 rm -rf conftest* | 5705 rm -rf conftest* |
5583 eval "ac_cv_lib_$ac_lib_var=yes" | 5706 eval "ac_cv_lib_$ac_lib_var=yes" |
5584 else | 5707 else |
5585 echo "configure: failed program was:" >&5 | 5708 echo "configure: failed program was:" >&5 |
5586 cat conftest.$ac_ext >&5 | 5709 cat conftest.$ac_ext >&5 |
5612 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5735 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5613 | 5736 |
5614 xe_msg_checking="for IceConnectionNumber in -lICE" | 5737 xe_msg_checking="for IceConnectionNumber in -lICE" |
5615 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5738 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5616 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5739 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5617 echo "configure:5618: checking "$xe_msg_checking"" >&5 | 5740 echo "configure:5741: checking "$xe_msg_checking"" >&5 |
5618 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5741 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5619 | 5742 |
5620 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5743 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
5621 cat > conftest.$ac_ext <<EOF | 5744 cat > conftest.$ac_ext <<EOF |
5622 #line 5623 "configure" | 5745 #line 5746 "configure" |
5623 #include "confdefs.h" | 5746 #include "confdefs.h" |
5624 /* Override any gcc2 internal prototype to avoid an error. */ | 5747 /* Override any gcc2 internal prototype to avoid an error. */ |
5625 /* We use char because int might match the return type of a gcc2 | 5748 /* We use char because int might match the return type of a gcc2 |
5626 builtin and then its argument prototype would still apply. */ | 5749 builtin and then its argument prototype would still apply. */ |
5627 char IceConnectionNumber(); | 5750 char IceConnectionNumber(); |
5628 | 5751 |
5629 int main() { | 5752 int main() { |
5630 IceConnectionNumber() | 5753 IceConnectionNumber() |
5631 ; return 0; } | 5754 ; return 0; } |
5632 EOF | 5755 EOF |
5633 if { (eval echo configure:5634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5756 if { (eval echo configure:5757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5634 rm -rf conftest* | 5757 rm -rf conftest* |
5635 eval "ac_cv_lib_$ac_lib_var=yes" | 5758 eval "ac_cv_lib_$ac_lib_var=yes" |
5636 else | 5759 else |
5637 echo "configure: failed program was:" >&5 | 5760 echo "configure: failed program was:" >&5 |
5638 cat conftest.$ac_ext >&5 | 5761 cat conftest.$ac_ext >&5 |
5797 EOF | 5920 EOF |
5798 } | 5921 } |
5799 | 5922 |
5800 | 5923 |
5801 echo "checking for X defines extracted by xmkmf" 1>&6 | 5924 echo "checking for X defines extracted by xmkmf" 1>&6 |
5802 echo "configure:5803: checking for X defines extracted by xmkmf" >&5 | 5925 echo "configure:5926: checking for X defines extracted by xmkmf" >&5 |
5803 rm -fr conftestdir | 5926 rm -fr conftestdir |
5804 if mkdir conftestdir; then | 5927 if mkdir conftestdir; then |
5805 cd conftestdir | 5928 cd conftestdir |
5806 cat > Imakefile <<'EOF' | 5929 cat > Imakefile <<'EOF' |
5807 xetest: | 5930 xetest: |
5829 done | 5952 done |
5830 fi | 5953 fi |
5831 | 5954 |
5832 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5955 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5833 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5956 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5834 echo "configure:5835: checking for X11/Intrinsic.h" >&5 | 5957 echo "configure:5958: checking for X11/Intrinsic.h" >&5 |
5835 | 5958 |
5836 cat > conftest.$ac_ext <<EOF | 5959 cat > conftest.$ac_ext <<EOF |
5837 #line 5838 "configure" | 5960 #line 5961 "configure" |
5838 #include "confdefs.h" | 5961 #include "confdefs.h" |
5839 #include <X11/Intrinsic.h> | 5962 #include <X11/Intrinsic.h> |
5840 EOF | 5963 EOF |
5841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5842 { (eval echo configure:5843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5965 { (eval echo configure:5966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5843 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5844 if test -z "$ac_err"; then | 5967 if test -z "$ac_err"; then |
5845 rm -rf conftest* | 5968 rm -rf conftest* |
5846 eval "ac_cv_header_$ac_safe=yes" | 5969 eval "ac_cv_header_$ac_safe=yes" |
5847 else | 5970 else |
5861 fi | 5984 fi |
5862 | 5985 |
5863 | 5986 |
5864 | 5987 |
5865 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5988 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5866 echo "configure:5867: checking for XOpenDisplay in -lX11" >&5 | 5989 echo "configure:5990: checking for XOpenDisplay in -lX11" >&5 |
5867 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5990 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5868 | 5991 |
5869 xe_check_libs=" -lX11 " | 5992 xe_check_libs=" -lX11 " |
5870 cat > conftest.$ac_ext <<EOF | 5993 cat > conftest.$ac_ext <<EOF |
5871 #line 5872 "configure" | 5994 #line 5995 "configure" |
5872 #include "confdefs.h" | 5995 #include "confdefs.h" |
5873 /* Override any gcc2 internal prototype to avoid an error. */ | 5996 /* Override any gcc2 internal prototype to avoid an error. */ |
5874 /* We use char because int might match the return type of a gcc2 | 5997 /* We use char because int might match the return type of a gcc2 |
5875 builtin and then its argument prototype would still apply. */ | 5998 builtin and then its argument prototype would still apply. */ |
5876 char XOpenDisplay(); | 5999 char XOpenDisplay(); |
5877 | 6000 |
5878 int main() { | 6001 int main() { |
5879 XOpenDisplay() | 6002 XOpenDisplay() |
5880 ; return 0; } | 6003 ; return 0; } |
5881 EOF | 6004 EOF |
5882 if { (eval echo configure:5883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6005 if { (eval echo configure:6006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5883 rm -rf conftest* | 6006 rm -rf conftest* |
5884 eval "ac_cv_lib_$ac_lib_var=yes" | 6007 eval "ac_cv_lib_$ac_lib_var=yes" |
5885 else | 6008 else |
5886 echo "configure: failed program was:" >&5 | 6009 echo "configure: failed program was:" >&5 |
5887 cat conftest.$ac_ext >&5 | 6010 cat conftest.$ac_ext >&5 |
5902 if test "$have_lib_x11" != "yes"; then | 6025 if test "$have_lib_x11" != "yes"; then |
5903 | 6026 |
5904 xe_msg_checking="for XGetFontProperty in -lX11" | 6027 xe_msg_checking="for XGetFontProperty in -lX11" |
5905 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6028 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5906 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6029 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5907 echo "configure:5908: checking "$xe_msg_checking"" >&5 | 6030 echo "configure:6031: checking "$xe_msg_checking"" >&5 |
5908 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6031 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5909 | 6032 |
5910 xe_check_libs=" -lX11 -b i486-linuxaout" | 6033 xe_check_libs=" -lX11 -b i486-linuxaout" |
5911 cat > conftest.$ac_ext <<EOF | 6034 cat > conftest.$ac_ext <<EOF |
5912 #line 5913 "configure" | 6035 #line 6036 "configure" |
5913 #include "confdefs.h" | 6036 #include "confdefs.h" |
5914 /* Override any gcc2 internal prototype to avoid an error. */ | 6037 /* Override any gcc2 internal prototype to avoid an error. */ |
5915 /* We use char because int might match the return type of a gcc2 | 6038 /* We use char because int might match the return type of a gcc2 |
5916 builtin and then its argument prototype would still apply. */ | 6039 builtin and then its argument prototype would still apply. */ |
5917 char XGetFontProperty(); | 6040 char XGetFontProperty(); |
5918 | 6041 |
5919 int main() { | 6042 int main() { |
5920 XGetFontProperty() | 6043 XGetFontProperty() |
5921 ; return 0; } | 6044 ; return 0; } |
5922 EOF | 6045 EOF |
5923 if { (eval echo configure:5924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6046 if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5924 rm -rf conftest* | 6047 rm -rf conftest* |
5925 eval "ac_cv_lib_$ac_lib_var=yes" | 6048 eval "ac_cv_lib_$ac_lib_var=yes" |
5926 else | 6049 else |
5927 echo "configure: failed program was:" >&5 | 6050 echo "configure: failed program was:" >&5 |
5928 cat conftest.$ac_ext >&5 | 6051 cat conftest.$ac_ext >&5 |
5945 libs_x="-lX11" | 6068 libs_x="-lX11" |
5946 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 6069 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5947 | 6070 |
5948 | 6071 |
5949 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 6072 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5950 echo "configure:5951: checking for XShapeSelectInput in -lXext" >&5 | 6073 echo "configure:6074: checking for XShapeSelectInput in -lXext" >&5 |
5951 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 6074 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5952 | 6075 |
5953 xe_check_libs=" -lXext " | 6076 xe_check_libs=" -lXext " |
5954 cat > conftest.$ac_ext <<EOF | 6077 cat > conftest.$ac_ext <<EOF |
5955 #line 5956 "configure" | 6078 #line 6079 "configure" |
5956 #include "confdefs.h" | 6079 #include "confdefs.h" |
5957 /* Override any gcc2 internal prototype to avoid an error. */ | 6080 /* Override any gcc2 internal prototype to avoid an error. */ |
5958 /* We use char because int might match the return type of a gcc2 | 6081 /* We use char because int might match the return type of a gcc2 |
5959 builtin and then its argument prototype would still apply. */ | 6082 builtin and then its argument prototype would still apply. */ |
5960 char XShapeSelectInput(); | 6083 char XShapeSelectInput(); |
5961 | 6084 |
5962 int main() { | 6085 int main() { |
5963 XShapeSelectInput() | 6086 XShapeSelectInput() |
5964 ; return 0; } | 6087 ; return 0; } |
5965 EOF | 6088 EOF |
5966 if { (eval echo configure:5967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6089 if { (eval echo configure:6090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5967 rm -rf conftest* | 6090 rm -rf conftest* |
5968 eval "ac_cv_lib_$ac_lib_var=yes" | 6091 eval "ac_cv_lib_$ac_lib_var=yes" |
5969 else | 6092 else |
5970 echo "configure: failed program was:" >&5 | 6093 echo "configure: failed program was:" >&5 |
5971 cat conftest.$ac_ext >&5 | 6094 cat conftest.$ac_ext >&5 |
5984 | 6107 |
5985 | 6108 |
5986 | 6109 |
5987 | 6110 |
5988 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 6111 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5989 echo "configure:5990: checking for XtOpenDisplay in -lXt" >&5 | 6112 echo "configure:6113: checking for XtOpenDisplay in -lXt" >&5 |
5990 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 6113 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5991 | 6114 |
5992 xe_check_libs=" -lXt " | 6115 xe_check_libs=" -lXt " |
5993 cat > conftest.$ac_ext <<EOF | 6116 cat > conftest.$ac_ext <<EOF |
5994 #line 5995 "configure" | 6117 #line 6118 "configure" |
5995 #include "confdefs.h" | 6118 #include "confdefs.h" |
5996 /* Override any gcc2 internal prototype to avoid an error. */ | 6119 /* Override any gcc2 internal prototype to avoid an error. */ |
5997 /* We use char because int might match the return type of a gcc2 | 6120 /* We use char because int might match the return type of a gcc2 |
5998 builtin and then its argument prototype would still apply. */ | 6121 builtin and then its argument prototype would still apply. */ |
5999 char XtOpenDisplay(); | 6122 char XtOpenDisplay(); |
6000 | 6123 |
6001 int main() { | 6124 int main() { |
6002 XtOpenDisplay() | 6125 XtOpenDisplay() |
6003 ; return 0; } | 6126 ; return 0; } |
6004 EOF | 6127 EOF |
6005 if { (eval echo configure:6006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6128 if { (eval echo configure:6129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6006 rm -rf conftest* | 6129 rm -rf conftest* |
6007 eval "ac_cv_lib_$ac_lib_var=yes" | 6130 eval "ac_cv_lib_$ac_lib_var=yes" |
6008 else | 6131 else |
6009 echo "configure: failed program was:" >&5 | 6132 echo "configure: failed program was:" >&5 |
6010 cat conftest.$ac_ext >&5 | 6133 cat conftest.$ac_ext >&5 |
6023 fi | 6146 fi |
6024 | 6147 |
6025 | 6148 |
6026 | 6149 |
6027 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6150 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6028 echo "configure:6029: checking the version of X11 being used" >&5 | 6151 echo "configure:6152: checking the version of X11 being used" >&5 |
6029 cat > conftest.$ac_ext <<EOF | 6152 cat > conftest.$ac_ext <<EOF |
6030 #line 6031 "configure" | 6153 #line 6154 "configure" |
6031 #include "confdefs.h" | 6154 #include "confdefs.h" |
6032 #include <X11/Intrinsic.h> | 6155 #include <X11/Intrinsic.h> |
6033 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6156 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6034 EOF | 6157 EOF |
6035 if { (eval echo configure:6036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6158 if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6036 then | 6159 then |
6037 ./conftest foobar; x11_release=$? | 6160 ./conftest foobar; x11_release=$? |
6038 else | 6161 else |
6039 conftest_rc="$?" | 6162 conftest_rc="$?" |
6040 echo "configure: failed program was:" >&5 | 6163 echo "configure: failed program was:" >&5 |
6054 | 6177 |
6055 | 6178 |
6056 for ac_func in XConvertCase | 6179 for ac_func in XConvertCase |
6057 do | 6180 do |
6058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6181 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6059 echo "configure:6060: checking for $ac_func" >&5 | 6182 echo "configure:6183: checking for $ac_func" >&5 |
6060 | 6183 |
6061 cat > conftest.$ac_ext <<EOF | 6184 cat > conftest.$ac_ext <<EOF |
6062 #line 6063 "configure" | 6185 #line 6186 "configure" |
6063 #include "confdefs.h" | 6186 #include "confdefs.h" |
6064 /* System header to define __stub macros and hopefully few prototypes, | 6187 /* System header to define __stub macros and hopefully few prototypes, |
6065 which can conflict with char $ac_func(); below. */ | 6188 which can conflict with char $ac_func(); below. */ |
6066 #include <assert.h> | 6189 #include <assert.h> |
6067 /* Override any gcc2 internal prototype to avoid an error. */ | 6190 /* Override any gcc2 internal prototype to avoid an error. */ |
6080 $ac_func(); | 6203 $ac_func(); |
6081 #endif | 6204 #endif |
6082 | 6205 |
6083 ; return 0; } | 6206 ; return 0; } |
6084 EOF | 6207 EOF |
6085 if { (eval echo configure:6086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6208 if { (eval echo configure:6209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6086 rm -rf conftest* | 6209 rm -rf conftest* |
6087 eval "ac_cv_func_$ac_func=yes" | 6210 eval "ac_cv_func_$ac_func=yes" |
6088 else | 6211 else |
6089 echo "configure: failed program was:" >&5 | 6212 echo "configure: failed program was:" >&5 |
6090 cat conftest.$ac_ext >&5 | 6213 cat conftest.$ac_ext >&5 |
6112 | 6235 |
6113 for ac_hdr in X11/Xlocale.h | 6236 for ac_hdr in X11/Xlocale.h |
6114 do | 6237 do |
6115 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6238 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6116 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6239 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6117 echo "configure:6118: checking for $ac_hdr" >&5 | 6240 echo "configure:6241: checking for $ac_hdr" >&5 |
6118 | 6241 |
6119 cat > conftest.$ac_ext <<EOF | 6242 cat > conftest.$ac_ext <<EOF |
6120 #line 6121 "configure" | 6243 #line 6244 "configure" |
6121 #include "confdefs.h" | 6244 #include "confdefs.h" |
6122 #include <$ac_hdr> | 6245 #include <$ac_hdr> |
6123 EOF | 6246 EOF |
6124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6125 { (eval echo configure:6126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6248 { (eval echo configure:6249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6249 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6127 if test -z "$ac_err"; then | 6250 if test -z "$ac_err"; then |
6128 rm -rf conftest* | 6251 rm -rf conftest* |
6129 eval "ac_cv_header_$ac_safe=yes" | 6252 eval "ac_cv_header_$ac_safe=yes" |
6130 else | 6253 else |
6151 fi | 6274 fi |
6152 done | 6275 done |
6153 | 6276 |
6154 | 6277 |
6155 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 6278 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
6156 echo "configure:6157: checking for XFree86" >&5 | 6279 echo "configure:6280: checking for XFree86" >&5 |
6157 if test -d "/usr/X386/include" -o \ | 6280 if test -d "/usr/X386/include" -o \ |
6158 -f "/etc/XF86Config" -o \ | 6281 -f "/etc/XF86Config" -o \ |
6159 -f "/etc/X11/XF86Config" -o \ | 6282 -f "/etc/X11/XF86Config" -o \ |
6160 -f "/usr/X11R6/lib/X11/XF86Config"; then | 6283 -f "/usr/X11R6/lib/X11/XF86Config"; then |
6161 echo "$ac_t""yes" 1>&6 | 6284 echo "$ac_t""yes" 1>&6 |
6171 echo "$ac_t""no" 1>&6 | 6294 echo "$ac_t""no" 1>&6 |
6172 fi | 6295 fi |
6173 | 6296 |
6174 test -z "$with_xmu" && { | 6297 test -z "$with_xmu" && { |
6175 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6298 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6176 echo "configure:6177: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6299 echo "configure:6300: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6177 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6300 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6178 | 6301 |
6179 xe_check_libs=" -lXmu " | 6302 xe_check_libs=" -lXmu " |
6180 cat > conftest.$ac_ext <<EOF | 6303 cat > conftest.$ac_ext <<EOF |
6181 #line 6182 "configure" | 6304 #line 6305 "configure" |
6182 #include "confdefs.h" | 6305 #include "confdefs.h" |
6183 /* Override any gcc2 internal prototype to avoid an error. */ | 6306 /* Override any gcc2 internal prototype to avoid an error. */ |
6184 /* We use char because int might match the return type of a gcc2 | 6307 /* We use char because int might match the return type of a gcc2 |
6185 builtin and then its argument prototype would still apply. */ | 6308 builtin and then its argument prototype would still apply. */ |
6186 char XmuReadBitmapDataFromFile(); | 6309 char XmuReadBitmapDataFromFile(); |
6187 | 6310 |
6188 int main() { | 6311 int main() { |
6189 XmuReadBitmapDataFromFile() | 6312 XmuReadBitmapDataFromFile() |
6190 ; return 0; } | 6313 ; return 0; } |
6191 EOF | 6314 EOF |
6192 if { (eval echo configure:6193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6315 if { (eval echo configure:6316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6193 rm -rf conftest* | 6316 rm -rf conftest* |
6194 eval "ac_cv_lib_$ac_lib_var=yes" | 6317 eval "ac_cv_lib_$ac_lib_var=yes" |
6195 else | 6318 else |
6196 echo "configure: failed program was:" >&5 | 6319 echo "configure: failed program was:" >&5 |
6197 cat conftest.$ac_ext >&5 | 6320 cat conftest.$ac_ext >&5 |
6226 | 6349 |
6227 fi | 6350 fi |
6228 | 6351 |
6229 | 6352 |
6230 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6353 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6231 echo "configure:6232: checking for main in -lXbsd" >&5 | 6354 echo "configure:6355: checking for main in -lXbsd" >&5 |
6232 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6355 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
6233 | 6356 |
6234 xe_check_libs=" -lXbsd " | 6357 xe_check_libs=" -lXbsd " |
6235 cat > conftest.$ac_ext <<EOF | 6358 cat > conftest.$ac_ext <<EOF |
6236 #line 6237 "configure" | 6359 #line 6360 "configure" |
6237 #include "confdefs.h" | 6360 #include "confdefs.h" |
6238 | 6361 |
6239 int main() { | 6362 int main() { |
6240 main() | 6363 main() |
6241 ; return 0; } | 6364 ; return 0; } |
6242 EOF | 6365 EOF |
6243 if { (eval echo configure:6244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6366 if { (eval echo configure:6367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6244 rm -rf conftest* | 6367 rm -rf conftest* |
6245 eval "ac_cv_lib_$ac_lib_var=yes" | 6368 eval "ac_cv_lib_$ac_lib_var=yes" |
6246 else | 6369 else |
6247 echo "configure: failed program was:" >&5 | 6370 echo "configure: failed program was:" >&5 |
6248 cat conftest.$ac_ext >&5 | 6371 cat conftest.$ac_ext >&5 |
6275 fi | 6398 fi |
6276 | 6399 |
6277 fi | 6400 fi |
6278 if test "$with_msw" != "no"; then | 6401 if test "$with_msw" != "no"; then |
6279 echo "checking for MS-Windows" 1>&6 | 6402 echo "checking for MS-Windows" 1>&6 |
6280 echo "configure:6281: checking for MS-Windows" >&5 | 6403 echo "configure:6404: checking for MS-Windows" >&5 |
6281 | 6404 |
6282 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6405 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6283 echo "configure:6284: checking for main in -lgdi32" >&5 | 6406 echo "configure:6407: checking for main in -lgdi32" >&5 |
6284 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6407 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6285 | 6408 |
6286 xe_check_libs=" -lgdi32 " | 6409 xe_check_libs=" -lgdi32 " |
6287 cat > conftest.$ac_ext <<EOF | 6410 cat > conftest.$ac_ext <<EOF |
6288 #line 6289 "configure" | 6411 #line 6412 "configure" |
6289 #include "confdefs.h" | 6412 #include "confdefs.h" |
6290 | 6413 |
6291 int main() { | 6414 int main() { |
6292 main() | 6415 main() |
6293 ; return 0; } | 6416 ; return 0; } |
6294 EOF | 6417 EOF |
6295 if { (eval echo configure:6296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6418 if { (eval echo configure:6419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6296 rm -rf conftest* | 6419 rm -rf conftest* |
6297 eval "ac_cv_lib_$ac_lib_var=yes" | 6420 eval "ac_cv_lib_$ac_lib_var=yes" |
6298 else | 6421 else |
6299 echo "configure: failed program was:" >&5 | 6422 echo "configure: failed program was:" >&5 |
6300 cat conftest.$ac_ext >&5 | 6423 cat conftest.$ac_ext >&5 |
6356 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6479 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
6357 echo " xemacs will be linked with \"dialog-msw.o\"" | 6480 echo " xemacs will be linked with \"dialog-msw.o\"" |
6358 fi | 6481 fi |
6359 fi | 6482 fi |
6360 cat > conftest.$ac_ext <<EOF | 6483 cat > conftest.$ac_ext <<EOF |
6361 #line 6362 "configure" | 6484 #line 6485 "configure" |
6362 #include "confdefs.h" | 6485 #include "confdefs.h" |
6363 #include <fcntl.h> | 6486 #include <fcntl.h> |
6364 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6487 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
6365 EOF | 6488 EOF |
6366 if { (eval echo configure:6367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6489 if { (eval echo configure:6490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6367 then | 6490 then |
6368 { test "$extra_verbose" = "yes" && cat << \EOF | 6491 { test "$extra_verbose" = "yes" && cat << \EOF |
6369 Defining HAVE_MSG_SELECT | 6492 Defining HAVE_MSG_SELECT |
6370 EOF | 6493 EOF |
6371 cat >> confdefs.h <<\EOF | 6494 cat >> confdefs.h <<\EOF |
6436 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6559 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
6437 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6560 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
6438 esac | 6561 esac |
6439 | 6562 |
6440 echo "checking for WM_COMMAND option" 1>&6 | 6563 echo "checking for WM_COMMAND option" 1>&6 |
6441 echo "configure:6442: checking for WM_COMMAND option" >&5; | 6564 echo "configure:6565: checking for WM_COMMAND option" >&5; |
6442 if test "$with_wmcommand" != "no"; then | 6565 if test "$with_wmcommand" != "no"; then |
6443 { test "$extra_verbose" = "yes" && cat << \EOF | 6566 { test "$extra_verbose" = "yes" && cat << \EOF |
6444 Defining HAVE_WMCOMMAND | 6567 Defining HAVE_WMCOMMAND |
6445 EOF | 6568 EOF |
6446 cat >> confdefs.h <<\EOF | 6569 cat >> confdefs.h <<\EOF |
6451 fi | 6574 fi |
6452 | 6575 |
6453 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6576 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6454 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6577 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6455 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6578 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6456 echo "configure:6457: checking for X11/Xauth.h" >&5 | 6579 echo "configure:6580: checking for X11/Xauth.h" >&5 |
6457 | 6580 |
6458 cat > conftest.$ac_ext <<EOF | 6581 cat > conftest.$ac_ext <<EOF |
6459 #line 6460 "configure" | 6582 #line 6583 "configure" |
6460 #include "confdefs.h" | 6583 #include "confdefs.h" |
6461 #include <X11/Xauth.h> | 6584 #include <X11/Xauth.h> |
6462 EOF | 6585 EOF |
6463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6464 { (eval echo configure:6465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6587 { (eval echo configure:6588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6466 if test -z "$ac_err"; then | 6589 if test -z "$ac_err"; then |
6467 rm -rf conftest* | 6590 rm -rf conftest* |
6468 eval "ac_cv_header_$ac_safe=yes" | 6591 eval "ac_cv_header_$ac_safe=yes" |
6469 else | 6592 else |
6482 with_xauth=no | 6605 with_xauth=no |
6483 fi | 6606 fi |
6484 } | 6607 } |
6485 test -z "$with_xauth" && { | 6608 test -z "$with_xauth" && { |
6486 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6609 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6487 echo "configure:6488: checking for XauGetAuthByAddr in -lXau" >&5 | 6610 echo "configure:6611: checking for XauGetAuthByAddr in -lXau" >&5 |
6488 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6611 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6489 | 6612 |
6490 xe_check_libs=" -lXau " | 6613 xe_check_libs=" -lXau " |
6491 cat > conftest.$ac_ext <<EOF | 6614 cat > conftest.$ac_ext <<EOF |
6492 #line 6493 "configure" | 6615 #line 6616 "configure" |
6493 #include "confdefs.h" | 6616 #include "confdefs.h" |
6494 /* Override any gcc2 internal prototype to avoid an error. */ | 6617 /* Override any gcc2 internal prototype to avoid an error. */ |
6495 /* We use char because int might match the return type of a gcc2 | 6618 /* We use char because int might match the return type of a gcc2 |
6496 builtin and then its argument prototype would still apply. */ | 6619 builtin and then its argument prototype would still apply. */ |
6497 char XauGetAuthByAddr(); | 6620 char XauGetAuthByAddr(); |
6498 | 6621 |
6499 int main() { | 6622 int main() { |
6500 XauGetAuthByAddr() | 6623 XauGetAuthByAddr() |
6501 ; return 0; } | 6624 ; return 0; } |
6502 EOF | 6625 EOF |
6503 if { (eval echo configure:6504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6626 if { (eval echo configure:6627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6504 rm -rf conftest* | 6627 rm -rf conftest* |
6505 eval "ac_cv_lib_$ac_lib_var=yes" | 6628 eval "ac_cv_lib_$ac_lib_var=yes" |
6506 else | 6629 else |
6507 echo "configure: failed program was:" >&5 | 6630 echo "configure: failed program was:" >&5 |
6508 cat conftest.$ac_ext >&5 | 6631 cat conftest.$ac_ext >&5 |
6543 | 6666 |
6544 if test "$with_tooltalk" != "no" ; then | 6667 if test "$with_tooltalk" != "no" ; then |
6545 for dir in "" "Tt/" "desktop/" ; do | 6668 for dir in "" "Tt/" "desktop/" ; do |
6546 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6669 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6547 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6670 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6548 echo "configure:6549: checking for ${dir}tt_c.h" >&5 | 6671 echo "configure:6672: checking for ${dir}tt_c.h" >&5 |
6549 | 6672 |
6550 cat > conftest.$ac_ext <<EOF | 6673 cat > conftest.$ac_ext <<EOF |
6551 #line 6552 "configure" | 6674 #line 6675 "configure" |
6552 #include "confdefs.h" | 6675 #include "confdefs.h" |
6553 #include <${dir}tt_c.h> | 6676 #include <${dir}tt_c.h> |
6554 EOF | 6677 EOF |
6555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6678 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6556 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6679 { (eval echo configure:6680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6680 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6558 if test -z "$ac_err"; then | 6681 if test -z "$ac_err"; then |
6559 rm -rf conftest* | 6682 rm -rf conftest* |
6560 eval "ac_cv_header_$ac_safe=yes" | 6683 eval "ac_cv_header_$ac_safe=yes" |
6561 else | 6684 else |
6566 eval "ac_cv_header_$ac_safe=no" | 6689 eval "ac_cv_header_$ac_safe=no" |
6567 fi | 6690 fi |
6568 rm -f conftest* | 6691 rm -f conftest* |
6569 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6570 echo "$ac_t""yes" 1>&6 | 6693 echo "$ac_t""yes" 1>&6 |
6571 tt_c_h_path="${dir}tt_c.h"; break | 6694 tt_c_h_file="${dir}tt_c.h"; break |
6572 else | 6695 else |
6573 echo "$ac_t""no" 1>&6 | 6696 echo "$ac_t""no" 1>&6 |
6574 fi | 6697 fi |
6575 | 6698 |
6576 done | 6699 done |
6577 if test -z "$tt_c_h_path"; then | 6700 if test -z "$tt_c_h_file"; then |
6578 if test "$with_tooltalk" = "yes"; then | 6701 if test "$with_tooltalk" = "yes"; then |
6579 (echo "$progname: Usage error:" | 6702 (echo "$progname: Usage error:" |
6580 echo " " "Unable to find required tooltalk header files." | 6703 echo " " "Unable to find required tooltalk header files." |
6581 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 6704 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
6582 fi | 6705 fi |
6587 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6710 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6588 | 6711 |
6589 xe_msg_checking="for tt_message_create in -ltt" | 6712 xe_msg_checking="for tt_message_create in -ltt" |
6590 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6713 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6591 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6714 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6592 echo "configure:6593: checking "$xe_msg_checking"" >&5 | 6715 echo "configure:6716: checking "$xe_msg_checking"" >&5 |
6593 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6716 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6594 | 6717 |
6595 xe_check_libs=" -ltt $extra_libs" | 6718 xe_check_libs=" -ltt $extra_libs" |
6596 cat > conftest.$ac_ext <<EOF | 6719 cat > conftest.$ac_ext <<EOF |
6597 #line 6598 "configure" | 6720 #line 6721 "configure" |
6598 #include "confdefs.h" | 6721 #include "confdefs.h" |
6599 /* Override any gcc2 internal prototype to avoid an error. */ | 6722 /* Override any gcc2 internal prototype to avoid an error. */ |
6600 /* We use char because int might match the return type of a gcc2 | 6723 /* We use char because int might match the return type of a gcc2 |
6601 builtin and then its argument prototype would still apply. */ | 6724 builtin and then its argument prototype would still apply. */ |
6602 char tt_message_create(); | 6725 char tt_message_create(); |
6603 | 6726 |
6604 int main() { | 6727 int main() { |
6605 tt_message_create() | 6728 tt_message_create() |
6606 ; return 0; } | 6729 ; return 0; } |
6607 EOF | 6730 EOF |
6608 if { (eval echo configure:6609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6731 if { (eval echo configure:6732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6609 rm -rf conftest* | 6732 rm -rf conftest* |
6610 eval "ac_cv_lib_$ac_lib_var=yes" | 6733 eval "ac_cv_lib_$ac_lib_var=yes" |
6611 else | 6734 else |
6612 echo "configure: failed program was:" >&5 | 6735 echo "configure: failed program was:" >&5 |
6613 cat conftest.$ac_ext >&5 | 6736 cat conftest.$ac_ext >&5 |
6645 #define TOOLTALK 1 | 6768 #define TOOLTALK 1 |
6646 EOF | 6769 EOF |
6647 } | 6770 } |
6648 | 6771 |
6649 { test "$extra_verbose" = "yes" && cat << EOF | 6772 { test "$extra_verbose" = "yes" && cat << EOF |
6650 Defining TT_C_H_PATH = "$tt_c_h_path" | 6773 Defining TT_C_H_FILE = "$tt_c_h_file" |
6651 EOF | 6774 EOF |
6652 cat >> confdefs.h <<EOF | 6775 cat >> confdefs.h <<EOF |
6653 #define TT_C_H_PATH "$tt_c_h_path" | 6776 #define TT_C_H_FILE "$tt_c_h_file" |
6654 EOF | 6777 EOF |
6655 } | 6778 } |
6656 | 6779 |
6657 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 6780 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
6658 extra_objs="$extra_objs tooltalk.o" && if test "$extra_verbose" = "yes"; then | 6781 extra_objs="$extra_objs tooltalk.o" && if test "$extra_verbose" = "yes"; then |
6660 fi | 6783 fi |
6661 fi | 6784 fi |
6662 | 6785 |
6663 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6786 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6664 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6787 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6665 echo "configure:6666: checking for Dt/Dt.h" >&5 | 6788 echo "configure:6789: checking for Dt/Dt.h" >&5 |
6666 | 6789 |
6667 cat > conftest.$ac_ext <<EOF | 6790 cat > conftest.$ac_ext <<EOF |
6668 #line 6669 "configure" | 6791 #line 6792 "configure" |
6669 #include "confdefs.h" | 6792 #include "confdefs.h" |
6670 #include <Dt/Dt.h> | 6793 #include <Dt/Dt.h> |
6671 EOF | 6794 EOF |
6672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6795 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6673 { (eval echo configure:6674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6796 { (eval echo configure:6797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6797 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6675 if test -z "$ac_err"; then | 6798 if test -z "$ac_err"; then |
6676 rm -rf conftest* | 6799 rm -rf conftest* |
6677 eval "ac_cv_header_$ac_safe=yes" | 6800 eval "ac_cv_header_$ac_safe=yes" |
6678 else | 6801 else |
6691 with_cde=no | 6814 with_cde=no |
6692 fi | 6815 fi |
6693 } | 6816 } |
6694 test -z "$with_cde" && { | 6817 test -z "$with_cde" && { |
6695 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6818 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6696 echo "configure:6697: checking for DtDndDragStart in -lDtSvc" >&5 | 6819 echo "configure:6820: checking for DtDndDragStart in -lDtSvc" >&5 |
6697 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6820 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6698 | 6821 |
6699 xe_check_libs=" -lDtSvc " | 6822 xe_check_libs=" -lDtSvc " |
6700 cat > conftest.$ac_ext <<EOF | 6823 cat > conftest.$ac_ext <<EOF |
6701 #line 6702 "configure" | 6824 #line 6825 "configure" |
6702 #include "confdefs.h" | 6825 #include "confdefs.h" |
6703 /* Override any gcc2 internal prototype to avoid an error. */ | 6826 /* Override any gcc2 internal prototype to avoid an error. */ |
6704 /* We use char because int might match the return type of a gcc2 | 6827 /* We use char because int might match the return type of a gcc2 |
6705 builtin and then its argument prototype would still apply. */ | 6828 builtin and then its argument prototype would still apply. */ |
6706 char DtDndDragStart(); | 6829 char DtDndDragStart(); |
6707 | 6830 |
6708 int main() { | 6831 int main() { |
6709 DtDndDragStart() | 6832 DtDndDragStart() |
6710 ; return 0; } | 6833 ; return 0; } |
6711 EOF | 6834 EOF |
6712 if { (eval echo configure:6713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6835 if { (eval echo configure:6836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6713 rm -rf conftest* | 6836 rm -rf conftest* |
6714 eval "ac_cv_lib_$ac_lib_var=yes" | 6837 eval "ac_cv_lib_$ac_lib_var=yes" |
6715 else | 6838 else |
6716 echo "configure: failed program was:" >&5 | 6839 echo "configure: failed program was:" >&5 |
6717 cat conftest.$ac_ext >&5 | 6840 cat conftest.$ac_ext >&5 |
6776 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6899 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6777 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6900 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6778 fi | 6901 fi |
6779 | 6902 |
6780 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6903 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6781 echo "configure:6782: checking if drag and drop API is needed" >&5 | 6904 echo "configure:6905: checking if drag and drop API is needed" >&5 |
6782 if test "$with_dragndrop" != "no" ; then | 6905 if test "$with_dragndrop" != "no" ; then |
6783 if test -n "$dragndrop_proto" ; then | 6906 if test -n "$dragndrop_proto" ; then |
6784 with_dragndrop=yes | 6907 with_dragndrop=yes |
6785 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6908 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6786 { test "$extra_verbose" = "yes" && cat << \EOF | 6909 { test "$extra_verbose" = "yes" && cat << \EOF |
6797 echo "$ac_t""no" 1>&6 | 6920 echo "$ac_t""no" 1>&6 |
6798 fi | 6921 fi |
6799 fi | 6922 fi |
6800 | 6923 |
6801 echo "checking for LDAP" 1>&6 | 6924 echo "checking for LDAP" 1>&6 |
6802 echo "configure:6803: checking for LDAP" >&5 | 6925 echo "configure:6926: checking for LDAP" >&5 |
6803 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6926 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6804 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6927 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6805 echo "configure:6806: checking for ldap.h" >&5 | 6928 echo "configure:6929: checking for ldap.h" >&5 |
6806 | 6929 |
6807 cat > conftest.$ac_ext <<EOF | 6930 cat > conftest.$ac_ext <<EOF |
6808 #line 6809 "configure" | 6931 #line 6932 "configure" |
6809 #include "confdefs.h" | 6932 #include "confdefs.h" |
6810 #include <ldap.h> | 6933 #include <ldap.h> |
6811 EOF | 6934 EOF |
6812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6935 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6813 { (eval echo configure:6814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6936 { (eval echo configure:6937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6937 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6815 if test -z "$ac_err"; then | 6938 if test -z "$ac_err"; then |
6816 rm -rf conftest* | 6939 rm -rf conftest* |
6817 eval "ac_cv_header_$ac_safe=yes" | 6940 eval "ac_cv_header_$ac_safe=yes" |
6818 else | 6941 else |
6831 with_ldap=no | 6954 with_ldap=no |
6832 fi | 6955 fi |
6833 } | 6956 } |
6834 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6957 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6835 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6958 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6836 echo "configure:6837: checking for lber.h" >&5 | 6959 echo "configure:6960: checking for lber.h" >&5 |
6837 | 6960 |
6838 cat > conftest.$ac_ext <<EOF | 6961 cat > conftest.$ac_ext <<EOF |
6839 #line 6840 "configure" | 6962 #line 6963 "configure" |
6840 #include "confdefs.h" | 6963 #include "confdefs.h" |
6841 #include <lber.h> | 6964 #include <lber.h> |
6842 EOF | 6965 EOF |
6843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6844 { (eval echo configure:6845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6967 { (eval echo configure:6968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6968 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6846 if test -z "$ac_err"; then | 6969 if test -z "$ac_err"; then |
6847 rm -rf conftest* | 6970 rm -rf conftest* |
6848 eval "ac_cv_header_$ac_safe=yes" | 6971 eval "ac_cv_header_$ac_safe=yes" |
6849 else | 6972 else |
6863 fi | 6986 fi |
6864 } | 6987 } |
6865 if test "$with_ldap" != "no"; then | 6988 if test "$with_ldap" != "no"; then |
6866 | 6989 |
6867 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 6990 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
6868 echo "configure:6869: checking for ldap_search in -lldap" >&5 | 6991 echo "configure:6992: checking for ldap_search in -lldap" >&5 |
6869 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 6992 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
6870 | 6993 |
6871 xe_check_libs=" -lldap " | 6994 xe_check_libs=" -lldap " |
6872 cat > conftest.$ac_ext <<EOF | 6995 cat > conftest.$ac_ext <<EOF |
6873 #line 6874 "configure" | 6996 #line 6997 "configure" |
6874 #include "confdefs.h" | 6997 #include "confdefs.h" |
6875 /* Override any gcc2 internal prototype to avoid an error. */ | 6998 /* Override any gcc2 internal prototype to avoid an error. */ |
6876 /* We use char because int might match the return type of a gcc2 | 6999 /* We use char because int might match the return type of a gcc2 |
6877 builtin and then its argument prototype would still apply. */ | 7000 builtin and then its argument prototype would still apply. */ |
6878 char ldap_search(); | 7001 char ldap_search(); |
6879 | 7002 |
6880 int main() { | 7003 int main() { |
6881 ldap_search() | 7004 ldap_search() |
6882 ; return 0; } | 7005 ; return 0; } |
6883 EOF | 7006 EOF |
6884 if { (eval echo configure:6885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7007 if { (eval echo configure:7008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6885 rm -rf conftest* | 7008 rm -rf conftest* |
6886 eval "ac_cv_lib_$ac_lib_var=yes" | 7009 eval "ac_cv_lib_$ac_lib_var=yes" |
6887 else | 7010 else |
6888 echo "configure: failed program was:" >&5 | 7011 echo "configure: failed program was:" >&5 |
6889 cat conftest.$ac_ext >&5 | 7012 cat conftest.$ac_ext >&5 |
6904 | 7027 |
6905 test "$with_ldap_nolber" = "no" && { | 7028 test "$with_ldap_nolber" = "no" && { |
6906 xe_msg_checking="for ldap_open in -lldap" | 7029 xe_msg_checking="for ldap_open in -lldap" |
6907 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 7030 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6908 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7031 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6909 echo "configure:6910: checking "$xe_msg_checking"" >&5 | 7032 echo "configure:7033: checking "$xe_msg_checking"" >&5 |
6910 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7033 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6911 | 7034 |
6912 xe_check_libs=" -lldap -llber" | 7035 xe_check_libs=" -lldap -llber" |
6913 cat > conftest.$ac_ext <<EOF | 7036 cat > conftest.$ac_ext <<EOF |
6914 #line 6915 "configure" | 7037 #line 7038 "configure" |
6915 #include "confdefs.h" | 7038 #include "confdefs.h" |
6916 /* Override any gcc2 internal prototype to avoid an error. */ | 7039 /* Override any gcc2 internal prototype to avoid an error. */ |
6917 /* We use char because int might match the return type of a gcc2 | 7040 /* We use char because int might match the return type of a gcc2 |
6918 builtin and then its argument prototype would still apply. */ | 7041 builtin and then its argument prototype would still apply. */ |
6919 char ldap_open(); | 7042 char ldap_open(); |
6920 | 7043 |
6921 int main() { | 7044 int main() { |
6922 ldap_open() | 7045 ldap_open() |
6923 ; return 0; } | 7046 ; return 0; } |
6924 EOF | 7047 EOF |
6925 if { (eval echo configure:6926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7048 if { (eval echo configure:7049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6926 rm -rf conftest* | 7049 rm -rf conftest* |
6927 eval "ac_cv_lib_$ac_lib_var=yes" | 7050 eval "ac_cv_lib_$ac_lib_var=yes" |
6928 else | 7051 else |
6929 echo "configure: failed program was:" >&5 | 7052 echo "configure: failed program was:" >&5 |
6930 cat conftest.$ac_ext >&5 | 7053 cat conftest.$ac_ext >&5 |
6945 } | 7068 } |
6946 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 7069 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
6947 xe_msg_checking="for ldap_open in -lldap" | 7070 xe_msg_checking="for ldap_open in -lldap" |
6948 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 7071 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
6949 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7072 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6950 echo "configure:6951: checking "$xe_msg_checking"" >&5 | 7073 echo "configure:7074: checking "$xe_msg_checking"" >&5 |
6951 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7074 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6952 | 7075 |
6953 xe_check_libs=" -lldap -llber -lkrb" | 7076 xe_check_libs=" -lldap -llber -lkrb" |
6954 cat > conftest.$ac_ext <<EOF | 7077 cat > conftest.$ac_ext <<EOF |
6955 #line 6956 "configure" | 7078 #line 7079 "configure" |
6956 #include "confdefs.h" | 7079 #include "confdefs.h" |
6957 /* Override any gcc2 internal prototype to avoid an error. */ | 7080 /* Override any gcc2 internal prototype to avoid an error. */ |
6958 /* We use char because int might match the return type of a gcc2 | 7081 /* We use char because int might match the return type of a gcc2 |
6959 builtin and then its argument prototype would still apply. */ | 7082 builtin and then its argument prototype would still apply. */ |
6960 char ldap_open(); | 7083 char ldap_open(); |
6961 | 7084 |
6962 int main() { | 7085 int main() { |
6963 ldap_open() | 7086 ldap_open() |
6964 ; return 0; } | 7087 ; return 0; } |
6965 EOF | 7088 EOF |
6966 if { (eval echo configure:6967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7089 if { (eval echo configure:7090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6967 rm -rf conftest* | 7090 rm -rf conftest* |
6968 eval "ac_cv_lib_$ac_lib_var=yes" | 7091 eval "ac_cv_lib_$ac_lib_var=yes" |
6969 else | 7092 else |
6970 echo "configure: failed program was:" >&5 | 7093 echo "configure: failed program was:" >&5 |
6971 cat conftest.$ac_ext >&5 | 7094 cat conftest.$ac_ext >&5 |
6986 } | 7109 } |
6987 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 7110 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
6988 xe_msg_checking="for ldap_open in -lldap" | 7111 xe_msg_checking="for ldap_open in -lldap" |
6989 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 7112 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
6990 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 7113 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6991 echo "configure:6992: checking "$xe_msg_checking"" >&5 | 7114 echo "configure:7115: checking "$xe_msg_checking"" >&5 |
6992 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 7115 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6993 | 7116 |
6994 xe_check_libs=" -lldap -llber -lkrb -ldes" | 7117 xe_check_libs=" -lldap -llber -lkrb -ldes" |
6995 cat > conftest.$ac_ext <<EOF | 7118 cat > conftest.$ac_ext <<EOF |
6996 #line 6997 "configure" | 7119 #line 7120 "configure" |
6997 #include "confdefs.h" | 7120 #include "confdefs.h" |
6998 /* Override any gcc2 internal prototype to avoid an error. */ | 7121 /* Override any gcc2 internal prototype to avoid an error. */ |
6999 /* We use char because int might match the return type of a gcc2 | 7122 /* We use char because int might match the return type of a gcc2 |
7000 builtin and then its argument prototype would still apply. */ | 7123 builtin and then its argument prototype would still apply. */ |
7001 char ldap_open(); | 7124 char ldap_open(); |
7002 | 7125 |
7003 int main() { | 7126 int main() { |
7004 ldap_open() | 7127 ldap_open() |
7005 ; return 0; } | 7128 ; return 0; } |
7006 EOF | 7129 EOF |
7007 if { (eval echo configure:7008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7130 if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7008 rm -rf conftest* | 7131 rm -rf conftest* |
7009 eval "ac_cv_lib_$ac_lib_var=yes" | 7132 eval "ac_cv_lib_$ac_lib_var=yes" |
7010 else | 7133 else |
7011 echo "configure: failed program was:" >&5 | 7134 echo "configure: failed program was:" >&5 |
7012 cat conftest.$ac_ext >&5 | 7135 cat conftest.$ac_ext >&5 |
7053 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7176 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7054 fi | 7177 fi |
7055 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7178 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7056 do | 7179 do |
7057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7180 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7058 echo "configure:7059: checking for $ac_func" >&5 | 7181 echo "configure:7182: checking for $ac_func" >&5 |
7059 | 7182 |
7060 cat > conftest.$ac_ext <<EOF | 7183 cat > conftest.$ac_ext <<EOF |
7061 #line 7062 "configure" | 7184 #line 7185 "configure" |
7062 #include "confdefs.h" | 7185 #include "confdefs.h" |
7063 /* System header to define __stub macros and hopefully few prototypes, | 7186 /* System header to define __stub macros and hopefully few prototypes, |
7064 which can conflict with char $ac_func(); below. */ | 7187 which can conflict with char $ac_func(); below. */ |
7065 #include <assert.h> | 7188 #include <assert.h> |
7066 /* Override any gcc2 internal prototype to avoid an error. */ | 7189 /* Override any gcc2 internal prototype to avoid an error. */ |
7079 $ac_func(); | 7202 $ac_func(); |
7080 #endif | 7203 #endif |
7081 | 7204 |
7082 ; return 0; } | 7205 ; return 0; } |
7083 EOF | 7206 EOF |
7084 if { (eval echo configure:7085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7207 if { (eval echo configure:7208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7085 rm -rf conftest* | 7208 rm -rf conftest* |
7086 eval "ac_cv_func_$ac_func=yes" | 7209 eval "ac_cv_func_$ac_func=yes" |
7087 else | 7210 else |
7088 echo "configure: failed program was:" >&5 | 7211 echo "configure: failed program was:" >&5 |
7089 cat conftest.$ac_ext >&5 | 7212 cat conftest.$ac_ext >&5 |
7109 done | 7232 done |
7110 | 7233 |
7111 fi | 7234 fi |
7112 | 7235 |
7113 echo "checking for PostgreSQL" 1>&6 | 7236 echo "checking for PostgreSQL" 1>&6 |
7114 echo "configure:7115: checking for PostgreSQL" >&5 | 7237 echo "configure:7238: checking for PostgreSQL" >&5 |
7238 postgres_h_path="" | |
7115 postgres_includes_found=no | 7239 postgres_includes_found=no |
7116 save_c_switch_site="$c_switch_site" | 7240 save_c_switch_site="$c_switch_site" |
7241 | |
7117 if test "$with_postgresql" != "no"; then | 7242 if test "$with_postgresql" != "no"; then |
7118 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | 7243 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` |
7119 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | 7244 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 |
7120 echo "configure:7121: checking for libpq-fe.h" >&5 | 7245 echo "configure:7246: checking for libpq-fe.h" >&5 |
7121 | 7246 |
7122 cat > conftest.$ac_ext <<EOF | 7247 cat > conftest.$ac_ext <<EOF |
7123 #line 7124 "configure" | 7248 #line 7249 "configure" |
7124 #include "confdefs.h" | 7249 #include "confdefs.h" |
7125 #include <libpq-fe.h> | 7250 #include <libpq-fe.h> |
7126 EOF | 7251 EOF |
7127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7128 { (eval echo configure:7129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7253 { (eval echo configure:7254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7129 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7130 if test -z "$ac_err"; then | 7255 if test -z "$ac_err"; then |
7131 rm -rf conftest* | 7256 rm -rf conftest* |
7132 eval "ac_cv_header_$ac_safe=yes" | 7257 eval "ac_cv_header_$ac_safe=yes" |
7133 else | 7258 else |
7143 postgres_includes_found=yes | 7268 postgres_includes_found=yes |
7144 else | 7269 else |
7145 echo "$ac_t""no" 1>&6 | 7270 echo "$ac_t""no" 1>&6 |
7146 fi | 7271 fi |
7147 | 7272 |
7273 fi | |
7274 | |
7275 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | |
7276 -d "/usr/local/pgsql/include"; then | |
7277 c_switch_site="$c_switch_site -I/usr/local/pgsql/include" | |
7278 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | |
7279 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | |
7280 echo "configure:7281: checking for libpq-fe.h" >&5 | |
7281 | |
7282 cat > conftest.$ac_ext <<EOF | |
7283 #line 7284 "configure" | |
7284 #include "confdefs.h" | |
7285 #include <libpq-fe.h> | |
7286 EOF | |
7287 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7288 { (eval echo configure:7289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7289 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7290 if test -z "$ac_err"; then | |
7291 rm -rf conftest* | |
7292 eval "ac_cv_header_$ac_safe=yes" | |
7293 else | |
7294 echo "$ac_err" >&5 | |
7295 echo "configure: failed program was:" >&5 | |
7296 cat conftest.$ac_ext >&5 | |
7297 rm -rf conftest* | |
7298 eval "ac_cv_header_$ac_safe=no" | |
7299 fi | |
7300 rm -f conftest* | |
7301 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7302 echo "$ac_t""yes" 1>&6 | |
7303 postgres_includes_found=yes | |
7304 else | |
7305 echo "$ac_t""no" 1>&6 | |
7306 fi | |
7307 | |
7308 if test "$postgres_includes_found" != "yes"; then | |
7309 postgres_h_path="/usr/local/pgsql/include" | |
7310 fi | |
7311 c_switch_site="$save_c_switch_site" | |
7148 fi | 7312 fi |
7149 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | 7313 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ |
7150 -d "/usr/include/pgsql"; then | 7314 -d "/usr/include/pgsql"; then |
7151 c_switch_site="$c_switch_site -I/usr/include/pgsql" | 7315 c_switch_site="$c_switch_site -I/usr/include/pgsql" |
7152 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | 7316 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` |
7153 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | 7317 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 |
7154 echo "configure:7155: checking for libpq-fe.h" >&5 | 7318 echo "configure:7319: checking for libpq-fe.h" >&5 |
7155 | 7319 |
7156 cat > conftest.$ac_ext <<EOF | 7320 cat > conftest.$ac_ext <<EOF |
7157 #line 7158 "configure" | 7321 #line 7322 "configure" |
7158 #include "confdefs.h" | 7322 #include "confdefs.h" |
7159 #include <libpq-fe.h> | 7323 #include <libpq-fe.h> |
7160 EOF | 7324 EOF |
7161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7162 { (eval echo configure:7163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7326 { (eval echo configure:7327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7164 if test -z "$ac_err"; then | 7328 if test -z "$ac_err"; then |
7165 rm -rf conftest* | 7329 rm -rf conftest* |
7166 eval "ac_cv_header_$ac_safe=yes" | 7330 eval "ac_cv_header_$ac_safe=yes" |
7167 else | 7331 else |
7177 postgres_includes_found=yes | 7341 postgres_includes_found=yes |
7178 else | 7342 else |
7179 echo "$ac_t""no" 1>&6 | 7343 echo "$ac_t""no" 1>&6 |
7180 fi | 7344 fi |
7181 | 7345 |
7182 if test "$postgres_includes_found" != "yes"; then | 7346 if test "$postgres_includes_found" = "yes"; then |
7347 postgres_h_path="pgsql" | |
7348 fi | |
7183 c_switch_site="$save_c_switch_site" | 7349 c_switch_site="$save_c_switch_site" |
7184 fi | 7350 fi |
7185 fi | |
7186 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | 7351 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ |
7187 -d "/usr/local/pgsql/include"; then | 7352 -d "/usr/include/postgresql"; then |
7188 c_switch_site="$c_switch_site -I/usr/local/pgsql/include" | 7353 c_switch_site="$c_switch_site -I/usr/include/postgresql" |
7189 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | 7354 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` |
7190 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | 7355 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 |
7191 echo "configure:7192: checking for libpq-fe.h" >&5 | 7356 echo "configure:7357: checking for libpq-fe.h" >&5 |
7192 | 7357 |
7193 cat > conftest.$ac_ext <<EOF | 7358 cat > conftest.$ac_ext <<EOF |
7194 #line 7195 "configure" | 7359 #line 7360 "configure" |
7195 #include "confdefs.h" | 7360 #include "confdefs.h" |
7196 #include <libpq-fe.h> | 7361 #include <libpq-fe.h> |
7197 EOF | 7362 EOF |
7198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7363 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7199 { (eval echo configure:7200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7364 { (eval echo configure:7365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7365 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7201 if test -z "$ac_err"; then | 7366 if test -z "$ac_err"; then |
7202 rm -rf conftest* | 7367 rm -rf conftest* |
7203 eval "ac_cv_header_$ac_safe=yes" | 7368 eval "ac_cv_header_$ac_safe=yes" |
7204 else | 7369 else |
7214 postgres_includes_found=yes | 7379 postgres_includes_found=yes |
7215 else | 7380 else |
7216 echo "$ac_t""no" 1>&6 | 7381 echo "$ac_t""no" 1>&6 |
7217 fi | 7382 fi |
7218 | 7383 |
7219 if test "$postgres_includes_found" != "yes"; then | 7384 if test "$postgres_includes_found" = "yes"; then |
7220 c_switch_site="$save_c_switch_site" | 7385 postgres_h_path="postgresql" |
7221 fi | 7386 fi |
7387 c_switch_site="$save_c_switch_site" | |
7222 fi | 7388 fi |
7223 | 7389 |
7224 if test "$postgres_includes_found" = "yes"; then | 7390 if test "$postgres_includes_found" = "yes"; then |
7225 | 7391 |
7226 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 7392 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
7227 echo "configure:7228: checking for PQconnectdb in -lpq" >&5 | 7393 echo "configure:7394: checking for PQconnectdb in -lpq" >&5 |
7228 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 7394 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
7229 | 7395 |
7230 xe_check_libs=" -lpq " | 7396 xe_check_libs=" -lpq " |
7231 cat > conftest.$ac_ext <<EOF | 7397 cat > conftest.$ac_ext <<EOF |
7232 #line 7233 "configure" | 7398 #line 7399 "configure" |
7233 #include "confdefs.h" | 7399 #include "confdefs.h" |
7234 /* Override any gcc2 internal prototype to avoid an error. */ | 7400 /* Override any gcc2 internal prototype to avoid an error. */ |
7235 /* We use char because int might match the return type of a gcc2 | 7401 /* We use char because int might match the return type of a gcc2 |
7236 builtin and then its argument prototype would still apply. */ | 7402 builtin and then its argument prototype would still apply. */ |
7237 char PQconnectdb(); | 7403 char PQconnectdb(); |
7238 | 7404 |
7239 int main() { | 7405 int main() { |
7240 PQconnectdb() | 7406 PQconnectdb() |
7241 ; return 0; } | 7407 ; return 0; } |
7242 EOF | 7408 EOF |
7243 if { (eval echo configure:7244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7409 if { (eval echo configure:7410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7244 rm -rf conftest* | 7410 rm -rf conftest* |
7245 eval "ac_cv_lib_$ac_lib_var=yes" | 7411 eval "ac_cv_lib_$ac_lib_var=yes" |
7246 else | 7412 else |
7247 echo "configure: failed program was:" >&5 | 7413 echo "configure: failed program was:" >&5 |
7248 cat conftest.$ac_ext >&5 | 7414 cat conftest.$ac_ext >&5 |
7263 | 7429 |
7264 fi | 7430 fi |
7265 if test "$with_postgresql" = "yes"; then | 7431 if test "$with_postgresql" = "yes"; then |
7266 | 7432 |
7267 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 7433 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
7268 echo "configure:7269: checking for PQconnectStart in -lpq" >&5 | 7434 echo "configure:7435: checking for PQconnectStart in -lpq" >&5 |
7269 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 7435 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
7270 | 7436 |
7271 xe_check_libs=" -lpq " | 7437 xe_check_libs=" -lpq " |
7272 cat > conftest.$ac_ext <<EOF | 7438 cat > conftest.$ac_ext <<EOF |
7273 #line 7274 "configure" | 7439 #line 7440 "configure" |
7274 #include "confdefs.h" | 7440 #include "confdefs.h" |
7275 /* Override any gcc2 internal prototype to avoid an error. */ | 7441 /* Override any gcc2 internal prototype to avoid an error. */ |
7276 /* We use char because int might match the return type of a gcc2 | 7442 /* We use char because int might match the return type of a gcc2 |
7277 builtin and then its argument prototype would still apply. */ | 7443 builtin and then its argument prototype would still apply. */ |
7278 char PQconnectStart(); | 7444 char PQconnectStart(); |
7279 | 7445 |
7280 int main() { | 7446 int main() { |
7281 PQconnectStart() | 7447 PQconnectStart() |
7282 ; return 0; } | 7448 ; return 0; } |
7283 EOF | 7449 EOF |
7284 if { (eval echo configure:7285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7450 if { (eval echo configure:7451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7285 rm -rf conftest* | 7451 rm -rf conftest* |
7286 eval "ac_cv_lib_$ac_lib_var=yes" | 7452 eval "ac_cv_lib_$ac_lib_var=yes" |
7287 else | 7453 else |
7288 echo "configure: failed program was:" >&5 | 7454 echo "configure: failed program was:" >&5 |
7289 cat conftest.$ac_ext >&5 | 7455 cat conftest.$ac_ext >&5 |
7302 fi | 7468 fi |
7303 | 7469 |
7304 | 7470 |
7305 fi | 7471 fi |
7306 if test "$with_postgresql" = "yes"; then | 7472 if test "$with_postgresql" = "yes"; then |
7473 if test -n "$postgres_h_path"; then | |
7474 { test "$extra_verbose" = "yes" && cat << EOF | |
7475 Defining POSTGRES_H_PATH = $postgres_h_path | |
7476 EOF | |
7477 cat >> confdefs.h <<EOF | |
7478 #define POSTGRES_H_PATH $postgres_h_path | |
7479 EOF | |
7480 } | |
7481 | |
7482 fi | |
7307 { test "$extra_verbose" = "yes" && cat << \EOF | 7483 { test "$extra_verbose" = "yes" && cat << \EOF |
7308 Defining HAVE_POSTGRESQL | 7484 Defining HAVE_POSTGRESQL |
7309 EOF | 7485 EOF |
7310 cat >> confdefs.h <<\EOF | 7486 cat >> confdefs.h <<\EOF |
7311 #define HAVE_POSTGRESQL 1 | 7487 #define HAVE_POSTGRESQL 1 |
7324 fi | 7500 fi |
7325 LIBS="-lpq $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpq\" to \$LIBS"; fi | 7501 LIBS="-lpq $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpq\" to \$LIBS"; fi |
7326 extra_objs="$extra_objs postgresql.o" && if test "$extra_verbose" = "yes"; then | 7502 extra_objs="$extra_objs postgresql.o" && if test "$extra_verbose" = "yes"; then |
7327 echo " xemacs will be linked with \"postgresql.o\"" | 7503 echo " xemacs will be linked with \"postgresql.o\"" |
7328 fi | 7504 fi |
7329 else | |
7330 c_switch_site=$save_c_switch_site | |
7331 fi | 7505 fi |
7332 | 7506 |
7333 | 7507 |
7334 if test "$window_system" != "none"; then | 7508 if test "$window_system" != "none"; then |
7335 echo "checking for graphics libraries" 1>&6 | 7509 echo "checking for graphics libraries" 1>&6 |
7336 echo "configure:7337: checking for graphics libraries" >&5 | 7510 echo "configure:7511: checking for graphics libraries" >&5 |
7337 | 7511 |
7338 xpm_problem="" | 7512 xpm_problem="" |
7339 if test -z "$with_xpm"; then | 7513 if test -z "$with_xpm"; then |
7340 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 7514 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
7341 echo "configure:7342: checking for Xpm - no older than 3.4f" >&5 | 7515 echo "configure:7516: checking for Xpm - no older than 3.4f" >&5 |
7342 xe_check_libs=-lXpm | 7516 xe_check_libs=-lXpm |
7343 cat > conftest.$ac_ext <<EOF | 7517 cat > conftest.$ac_ext <<EOF |
7344 #line 7345 "configure" | 7518 #line 7519 "configure" |
7345 #include "confdefs.h" | 7519 #include "confdefs.h" |
7346 #define XPM_NUMBERS | 7520 #define XPM_NUMBERS |
7347 #include <X11/xpm.h> | 7521 #include <X11/xpm.h> |
7348 int main(int c, char **v) { | 7522 int main(int c, char **v) { |
7349 return c == 1 ? 0 : | 7523 return c == 1 ? 0 : |
7350 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 7524 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
7351 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 7525 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
7352 EOF | 7526 EOF |
7353 if { (eval echo configure:7354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7527 if { (eval echo configure:7528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7354 then | 7528 then |
7355 ./conftest dummy_arg; xpm_status=$?; | 7529 ./conftest dummy_arg; xpm_status=$?; |
7356 if test "$xpm_status" = "0"; then | 7530 if test "$xpm_status" = "0"; then |
7357 with_xpm=yes; | 7531 with_xpm=yes; |
7358 else | 7532 else |
7390 EOF | 7564 EOF |
7391 } | 7565 } |
7392 | 7566 |
7393 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 7567 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
7394 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 7568 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
7395 echo "configure:7396: checking for \"FOR_MSW\" xpm" >&5 | 7569 echo "configure:7570: checking for \"FOR_MSW\" xpm" >&5 |
7396 xe_check_libs=-lXpm | 7570 xe_check_libs=-lXpm |
7397 cat > conftest.$ac_ext <<EOF | 7571 cat > conftest.$ac_ext <<EOF |
7398 #line 7399 "configure" | 7572 #line 7573 "configure" |
7399 #include "confdefs.h" | 7573 #include "confdefs.h" |
7400 | 7574 |
7401 int main() { | 7575 int main() { |
7402 XpmCreatePixmapFromData() | 7576 XpmCreatePixmapFromData() |
7403 ; return 0; } | 7577 ; return 0; } |
7404 EOF | 7578 EOF |
7405 if { (eval echo configure:7406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7579 if { (eval echo configure:7580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7406 rm -rf conftest* | 7580 rm -rf conftest* |
7407 xpm_for_msw=no | 7581 xpm_for_msw=no |
7408 else | 7582 else |
7409 echo "configure: failed program was:" >&5 | 7583 echo "configure: failed program was:" >&5 |
7410 cat conftest.$ac_ext >&5 | 7584 cat conftest.$ac_ext >&5 |
7426 fi | 7600 fi |
7427 fi | 7601 fi |
7428 | 7602 |
7429 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7603 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7430 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7604 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7431 echo "configure:7432: checking for compface.h" >&5 | 7605 echo "configure:7606: checking for compface.h" >&5 |
7432 | 7606 |
7433 cat > conftest.$ac_ext <<EOF | 7607 cat > conftest.$ac_ext <<EOF |
7434 #line 7435 "configure" | 7608 #line 7609 "configure" |
7435 #include "confdefs.h" | 7609 #include "confdefs.h" |
7436 #include <compface.h> | 7610 #include <compface.h> |
7437 EOF | 7611 EOF |
7438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7439 { (eval echo configure:7440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7613 { (eval echo configure:7614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7441 if test -z "$ac_err"; then | 7615 if test -z "$ac_err"; then |
7442 rm -rf conftest* | 7616 rm -rf conftest* |
7443 eval "ac_cv_header_$ac_safe=yes" | 7617 eval "ac_cv_header_$ac_safe=yes" |
7444 else | 7618 else |
7457 with_xface=no | 7631 with_xface=no |
7458 fi | 7632 fi |
7459 } | 7633 } |
7460 test -z "$with_xface" && { | 7634 test -z "$with_xface" && { |
7461 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7635 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7462 echo "configure:7463: checking for UnGenFace in -lcompface" >&5 | 7636 echo "configure:7637: checking for UnGenFace in -lcompface" >&5 |
7463 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7637 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7464 | 7638 |
7465 xe_check_libs=" -lcompface " | 7639 xe_check_libs=" -lcompface " |
7466 cat > conftest.$ac_ext <<EOF | 7640 cat > conftest.$ac_ext <<EOF |
7467 #line 7468 "configure" | 7641 #line 7642 "configure" |
7468 #include "confdefs.h" | 7642 #include "confdefs.h" |
7469 /* Override any gcc2 internal prototype to avoid an error. */ | 7643 /* Override any gcc2 internal prototype to avoid an error. */ |
7470 /* We use char because int might match the return type of a gcc2 | 7644 /* We use char because int might match the return type of a gcc2 |
7471 builtin and then its argument prototype would still apply. */ | 7645 builtin and then its argument prototype would still apply. */ |
7472 char UnGenFace(); | 7646 char UnGenFace(); |
7473 | 7647 |
7474 int main() { | 7648 int main() { |
7475 UnGenFace() | 7649 UnGenFace() |
7476 ; return 0; } | 7650 ; return 0; } |
7477 EOF | 7651 EOF |
7478 if { (eval echo configure:7479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7652 if { (eval echo configure:7653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7479 rm -rf conftest* | 7653 rm -rf conftest* |
7480 eval "ac_cv_lib_$ac_lib_var=yes" | 7654 eval "ac_cv_lib_$ac_lib_var=yes" |
7481 else | 7655 else |
7482 echo "configure: failed program was:" >&5 | 7656 echo "configure: failed program was:" >&5 |
7483 cat conftest.$ac_ext >&5 | 7657 cat conftest.$ac_ext >&5 |
7525 fi | 7699 fi |
7526 | 7700 |
7527 if test "$with_png $with_tiff" != "no no"; then | 7701 if test "$with_png $with_tiff" != "no no"; then |
7528 | 7702 |
7529 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 7703 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
7530 echo "configure:7531: checking for inflate in -lc" >&5 | 7704 echo "configure:7705: checking for inflate in -lc" >&5 |
7531 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 7705 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
7532 | 7706 |
7533 xe_check_libs=" -lc " | 7707 xe_check_libs=" -lc " |
7534 cat > conftest.$ac_ext <<EOF | 7708 cat > conftest.$ac_ext <<EOF |
7535 #line 7536 "configure" | 7709 #line 7710 "configure" |
7536 #include "confdefs.h" | 7710 #include "confdefs.h" |
7537 /* Override any gcc2 internal prototype to avoid an error. */ | 7711 /* Override any gcc2 internal prototype to avoid an error. */ |
7538 /* We use char because int might match the return type of a gcc2 | 7712 /* We use char because int might match the return type of a gcc2 |
7539 builtin and then its argument prototype would still apply. */ | 7713 builtin and then its argument prototype would still apply. */ |
7540 char inflate(); | 7714 char inflate(); |
7541 | 7715 |
7542 int main() { | 7716 int main() { |
7543 inflate() | 7717 inflate() |
7544 ; return 0; } | 7718 ; return 0; } |
7545 EOF | 7719 EOF |
7546 if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7720 if { (eval echo configure:7721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7547 rm -rf conftest* | 7721 rm -rf conftest* |
7548 eval "ac_cv_lib_$ac_lib_var=yes" | 7722 eval "ac_cv_lib_$ac_lib_var=yes" |
7549 else | 7723 else |
7550 echo "configure: failed program was:" >&5 | 7724 echo "configure: failed program was:" >&5 |
7551 cat conftest.$ac_ext >&5 | 7725 cat conftest.$ac_ext >&5 |
7560 : | 7734 : |
7561 else | 7735 else |
7562 echo "$ac_t""no" 1>&6 | 7736 echo "$ac_t""no" 1>&6 |
7563 | 7737 |
7564 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 7738 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
7565 echo "configure:7566: checking for inflate in -lz" >&5 | 7739 echo "configure:7740: checking for inflate in -lz" >&5 |
7566 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 7740 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
7567 | 7741 |
7568 xe_check_libs=" -lz " | 7742 xe_check_libs=" -lz " |
7569 cat > conftest.$ac_ext <<EOF | 7743 cat > conftest.$ac_ext <<EOF |
7570 #line 7571 "configure" | 7744 #line 7745 "configure" |
7571 #include "confdefs.h" | 7745 #include "confdefs.h" |
7572 /* Override any gcc2 internal prototype to avoid an error. */ | 7746 /* Override any gcc2 internal prototype to avoid an error. */ |
7573 /* We use char because int might match the return type of a gcc2 | 7747 /* We use char because int might match the return type of a gcc2 |
7574 builtin and then its argument prototype would still apply. */ | 7748 builtin and then its argument prototype would still apply. */ |
7575 char inflate(); | 7749 char inflate(); |
7576 | 7750 |
7577 int main() { | 7751 int main() { |
7578 inflate() | 7752 inflate() |
7579 ; return 0; } | 7753 ; return 0; } |
7580 EOF | 7754 EOF |
7581 if { (eval echo configure:7582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7755 if { (eval echo configure:7756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7582 rm -rf conftest* | 7756 rm -rf conftest* |
7583 eval "ac_cv_lib_$ac_lib_var=yes" | 7757 eval "ac_cv_lib_$ac_lib_var=yes" |
7584 else | 7758 else |
7585 echo "configure: failed program was:" >&5 | 7759 echo "configure: failed program was:" >&5 |
7586 cat conftest.$ac_ext >&5 | 7760 cat conftest.$ac_ext >&5 |
7595 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7769 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
7596 else | 7770 else |
7597 echo "$ac_t""no" 1>&6 | 7771 echo "$ac_t""no" 1>&6 |
7598 | 7772 |
7599 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7773 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
7600 echo "configure:7601: checking for inflate in -lgz" >&5 | 7774 echo "configure:7775: checking for inflate in -lgz" >&5 |
7601 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7775 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
7602 | 7776 |
7603 xe_check_libs=" -lgz " | 7777 xe_check_libs=" -lgz " |
7604 cat > conftest.$ac_ext <<EOF | 7778 cat > conftest.$ac_ext <<EOF |
7605 #line 7606 "configure" | 7779 #line 7780 "configure" |
7606 #include "confdefs.h" | 7780 #include "confdefs.h" |
7607 /* Override any gcc2 internal prototype to avoid an error. */ | 7781 /* Override any gcc2 internal prototype to avoid an error. */ |
7608 /* We use char because int might match the return type of a gcc2 | 7782 /* We use char because int might match the return type of a gcc2 |
7609 builtin and then its argument prototype would still apply. */ | 7783 builtin and then its argument prototype would still apply. */ |
7610 char inflate(); | 7784 char inflate(); |
7611 | 7785 |
7612 int main() { | 7786 int main() { |
7613 inflate() | 7787 inflate() |
7614 ; return 0; } | 7788 ; return 0; } |
7615 EOF | 7789 EOF |
7616 if { (eval echo configure:7617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7790 if { (eval echo configure:7791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7617 rm -rf conftest* | 7791 rm -rf conftest* |
7618 eval "ac_cv_lib_$ac_lib_var=yes" | 7792 eval "ac_cv_lib_$ac_lib_var=yes" |
7619 else | 7793 else |
7620 echo "configure: failed program was:" >&5 | 7794 echo "configure: failed program was:" >&5 |
7621 cat conftest.$ac_ext >&5 | 7795 cat conftest.$ac_ext >&5 |
7641 | 7815 |
7642 fi | 7816 fi |
7643 | 7817 |
7644 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7818 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
7645 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7819 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
7646 echo "configure:7647: checking for jpeglib.h" >&5 | 7820 echo "configure:7821: checking for jpeglib.h" >&5 |
7647 | 7821 |
7648 cat > conftest.$ac_ext <<EOF | 7822 cat > conftest.$ac_ext <<EOF |
7649 #line 7650 "configure" | 7823 #line 7824 "configure" |
7650 #include "confdefs.h" | 7824 #include "confdefs.h" |
7651 #include <jpeglib.h> | 7825 #include <jpeglib.h> |
7652 EOF | 7826 EOF |
7653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7654 { (eval echo configure:7655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7828 { (eval echo configure:7829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7656 if test -z "$ac_err"; then | 7830 if test -z "$ac_err"; then |
7657 rm -rf conftest* | 7831 rm -rf conftest* |
7658 eval "ac_cv_header_$ac_safe=yes" | 7832 eval "ac_cv_header_$ac_safe=yes" |
7659 else | 7833 else |
7672 with_jpeg=no | 7846 with_jpeg=no |
7673 fi | 7847 fi |
7674 } | 7848 } |
7675 test -z "$with_jpeg" && { | 7849 test -z "$with_jpeg" && { |
7676 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7850 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
7677 echo "configure:7678: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7851 echo "configure:7852: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
7678 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7852 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
7679 | 7853 |
7680 xe_check_libs=" -ljpeg " | 7854 xe_check_libs=" -ljpeg " |
7681 cat > conftest.$ac_ext <<EOF | 7855 cat > conftest.$ac_ext <<EOF |
7682 #line 7683 "configure" | 7856 #line 7857 "configure" |
7683 #include "confdefs.h" | 7857 #include "confdefs.h" |
7684 /* Override any gcc2 internal prototype to avoid an error. */ | 7858 /* Override any gcc2 internal prototype to avoid an error. */ |
7685 /* We use char because int might match the return type of a gcc2 | 7859 /* We use char because int might match the return type of a gcc2 |
7686 builtin and then its argument prototype would still apply. */ | 7860 builtin and then its argument prototype would still apply. */ |
7687 char jpeg_destroy_decompress(); | 7861 char jpeg_destroy_decompress(); |
7688 | 7862 |
7689 int main() { | 7863 int main() { |
7690 jpeg_destroy_decompress() | 7864 jpeg_destroy_decompress() |
7691 ; return 0; } | 7865 ; return 0; } |
7692 EOF | 7866 EOF |
7693 if { (eval echo configure:7694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7867 if { (eval echo configure:7868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7694 rm -rf conftest* | 7868 rm -rf conftest* |
7695 eval "ac_cv_lib_$ac_lib_var=yes" | 7869 eval "ac_cv_lib_$ac_lib_var=yes" |
7696 else | 7870 else |
7697 echo "configure: failed program was:" >&5 | 7871 echo "configure: failed program was:" >&5 |
7698 cat conftest.$ac_ext >&5 | 7872 cat conftest.$ac_ext >&5 |
7724 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7898 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
7725 fi | 7899 fi |
7726 | 7900 |
7727 png_problem="" | 7901 png_problem="" |
7728 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7902 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
7729 echo "configure:7730: checking for pow" >&5 | 7903 echo "configure:7904: checking for pow" >&5 |
7730 | 7904 |
7731 cat > conftest.$ac_ext <<EOF | 7905 cat > conftest.$ac_ext <<EOF |
7732 #line 7733 "configure" | 7906 #line 7907 "configure" |
7733 #include "confdefs.h" | 7907 #include "confdefs.h" |
7734 /* System header to define __stub macros and hopefully few prototypes, | 7908 /* System header to define __stub macros and hopefully few prototypes, |
7735 which can conflict with char pow(); below. */ | 7909 which can conflict with char pow(); below. */ |
7736 #include <assert.h> | 7910 #include <assert.h> |
7737 /* Override any gcc2 internal prototype to avoid an error. */ | 7911 /* Override any gcc2 internal prototype to avoid an error. */ |
7750 pow(); | 7924 pow(); |
7751 #endif | 7925 #endif |
7752 | 7926 |
7753 ; return 0; } | 7927 ; return 0; } |
7754 EOF | 7928 EOF |
7755 if { (eval echo configure:7756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7929 if { (eval echo configure:7930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7756 rm -rf conftest* | 7930 rm -rf conftest* |
7757 eval "ac_cv_func_pow=yes" | 7931 eval "ac_cv_func_pow=yes" |
7758 else | 7932 else |
7759 echo "configure: failed program was:" >&5 | 7933 echo "configure: failed program was:" >&5 |
7760 cat conftest.$ac_ext >&5 | 7934 cat conftest.$ac_ext >&5 |
7771 with_png=no | 7945 with_png=no |
7772 fi | 7946 fi |
7773 } | 7947 } |
7774 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7948 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
7775 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7949 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
7776 echo "configure:7777: checking for png.h" >&5 | 7950 echo "configure:7951: checking for png.h" >&5 |
7777 | 7951 |
7778 cat > conftest.$ac_ext <<EOF | 7952 cat > conftest.$ac_ext <<EOF |
7779 #line 7780 "configure" | 7953 #line 7954 "configure" |
7780 #include "confdefs.h" | 7954 #include "confdefs.h" |
7781 #include <png.h> | 7955 #include <png.h> |
7782 EOF | 7956 EOF |
7783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7957 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7784 { (eval echo configure:7785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7958 { (eval echo configure:7959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7959 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7786 if test -z "$ac_err"; then | 7960 if test -z "$ac_err"; then |
7787 rm -rf conftest* | 7961 rm -rf conftest* |
7788 eval "ac_cv_header_$ac_safe=yes" | 7962 eval "ac_cv_header_$ac_safe=yes" |
7789 else | 7963 else |
7802 with_png=no | 7976 with_png=no |
7803 fi | 7977 fi |
7804 } | 7978 } |
7805 test -z "$with_png" && { | 7979 test -z "$with_png" && { |
7806 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7980 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7807 echo "configure:7808: checking for png_read_image in -lpng" >&5 | 7981 echo "configure:7982: checking for png_read_image in -lpng" >&5 |
7808 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7982 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7809 | 7983 |
7810 xe_check_libs=" -lpng " | 7984 xe_check_libs=" -lpng " |
7811 cat > conftest.$ac_ext <<EOF | 7985 cat > conftest.$ac_ext <<EOF |
7812 #line 7813 "configure" | 7986 #line 7987 "configure" |
7813 #include "confdefs.h" | 7987 #include "confdefs.h" |
7814 /* Override any gcc2 internal prototype to avoid an error. */ | 7988 /* Override any gcc2 internal prototype to avoid an error. */ |
7815 /* We use char because int might match the return type of a gcc2 | 7989 /* We use char because int might match the return type of a gcc2 |
7816 builtin and then its argument prototype would still apply. */ | 7990 builtin and then its argument prototype would still apply. */ |
7817 char png_read_image(); | 7991 char png_read_image(); |
7818 | 7992 |
7819 int main() { | 7993 int main() { |
7820 png_read_image() | 7994 png_read_image() |
7821 ; return 0; } | 7995 ; return 0; } |
7822 EOF | 7996 EOF |
7823 if { (eval echo configure:7824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7997 if { (eval echo configure:7998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7824 rm -rf conftest* | 7998 rm -rf conftest* |
7825 eval "ac_cv_lib_$ac_lib_var=yes" | 7999 eval "ac_cv_lib_$ac_lib_var=yes" |
7826 else | 8000 else |
7827 echo "configure: failed program was:" >&5 | 8001 echo "configure: failed program was:" >&5 |
7828 cat conftest.$ac_ext >&5 | 8002 cat conftest.$ac_ext >&5 |
7841 fi | 8015 fi |
7842 | 8016 |
7843 } | 8017 } |
7844 if test -z "$with_png"; then | 8018 if test -z "$with_png"; then |
7845 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 8019 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
7846 echo "configure:7847: checking for workable png version information" >&5 | 8020 echo "configure:8021: checking for workable png version information" >&5 |
7847 xe_check_libs="-lpng -lz" | 8021 xe_check_libs="-lpng -lz" |
7848 cat > conftest.$ac_ext <<EOF | 8022 cat > conftest.$ac_ext <<EOF |
7849 #line 7850 "configure" | 8023 #line 8024 "configure" |
7850 #include "confdefs.h" | 8024 #include "confdefs.h" |
7851 #include <png.h> | 8025 #include <png.h> |
7852 int main(int c, char **v) { | 8026 int main(int c, char **v) { |
7853 if (c == 1) return 0; | 8027 if (c == 1) return 0; |
7854 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 8028 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
7855 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 8029 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7856 EOF | 8030 EOF |
7857 if { (eval echo configure:7858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 8031 if { (eval echo configure:8032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7858 then | 8032 then |
7859 ./conftest dummy_arg; png_status=$?; | 8033 ./conftest dummy_arg; png_status=$?; |
7860 if test "$png_status" = "0"; then | 8034 if test "$png_status" = "0"; then |
7861 with_png=yes; | 8035 with_png=yes; |
7862 else | 8036 else |
7895 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 8069 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
7896 fi | 8070 fi |
7897 | 8071 |
7898 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 8072 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
7899 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 8073 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
7900 echo "configure:7901: checking for tiffio.h" >&5 | 8074 echo "configure:8075: checking for tiffio.h" >&5 |
7901 | 8075 |
7902 cat > conftest.$ac_ext <<EOF | 8076 cat > conftest.$ac_ext <<EOF |
7903 #line 7904 "configure" | 8077 #line 8078 "configure" |
7904 #include "confdefs.h" | 8078 #include "confdefs.h" |
7905 #include <tiffio.h> | 8079 #include <tiffio.h> |
7906 EOF | 8080 EOF |
7907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7908 { (eval echo configure:7909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8082 { (eval echo configure:8083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7910 if test -z "$ac_err"; then | 8084 if test -z "$ac_err"; then |
7911 rm -rf conftest* | 8085 rm -rf conftest* |
7912 eval "ac_cv_header_$ac_safe=yes" | 8086 eval "ac_cv_header_$ac_safe=yes" |
7913 else | 8087 else |
7926 with_tiff=no | 8100 with_tiff=no |
7927 fi | 8101 fi |
7928 } | 8102 } |
7929 test -z "$with_tiff" && { | 8103 test -z "$with_tiff" && { |
7930 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 8104 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7931 echo "configure:7932: checking for TIFFClientOpen in -ltiff" >&5 | 8105 echo "configure:8106: checking for TIFFClientOpen in -ltiff" >&5 |
7932 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 8106 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7933 | 8107 |
7934 xe_check_libs=" -ltiff " | 8108 xe_check_libs=" -ltiff " |
7935 cat > conftest.$ac_ext <<EOF | 8109 cat > conftest.$ac_ext <<EOF |
7936 #line 7937 "configure" | 8110 #line 8111 "configure" |
7937 #include "confdefs.h" | 8111 #include "confdefs.h" |
7938 /* Override any gcc2 internal prototype to avoid an error. */ | 8112 /* Override any gcc2 internal prototype to avoid an error. */ |
7939 /* We use char because int might match the return type of a gcc2 | 8113 /* We use char because int might match the return type of a gcc2 |
7940 builtin and then its argument prototype would still apply. */ | 8114 builtin and then its argument prototype would still apply. */ |
7941 char TIFFClientOpen(); | 8115 char TIFFClientOpen(); |
7942 | 8116 |
7943 int main() { | 8117 int main() { |
7944 TIFFClientOpen() | 8118 TIFFClientOpen() |
7945 ; return 0; } | 8119 ; return 0; } |
7946 EOF | 8120 EOF |
7947 if { (eval echo configure:7948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8121 if { (eval echo configure:8122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7948 rm -rf conftest* | 8122 rm -rf conftest* |
7949 eval "ac_cv_lib_$ac_lib_var=yes" | 8123 eval "ac_cv_lib_$ac_lib_var=yes" |
7950 else | 8124 else |
7951 echo "configure: failed program was:" >&5 | 8125 echo "configure: failed program was:" >&5 |
7952 cat conftest.$ac_ext >&5 | 8126 cat conftest.$ac_ext >&5 |
7981 | 8155 |
7982 | 8156 |
7983 if test "$with_x11" = "yes"; then | 8157 if test "$with_x11" = "yes"; then |
7984 | 8158 |
7985 echo "checking for X11 graphics libraries" 1>&6 | 8159 echo "checking for X11 graphics libraries" 1>&6 |
7986 echo "configure:7987: checking for X11 graphics libraries" >&5 | 8160 echo "configure:8161: checking for X11 graphics libraries" >&5 |
7987 | 8161 |
7988 echo "checking for the Athena widgets" 1>&6 | 8162 echo "checking for the Athena widgets" 1>&6 |
7989 echo "configure:7990: checking for the Athena widgets" >&5 | 8163 echo "configure:8164: checking for the Athena widgets" >&5 |
7990 | 8164 |
7991 case "$with_athena" in | 8165 case "$with_athena" in |
7992 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 8166 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
7993 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 8167 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
7994 "next") athena_variant=neXtaw athena_3d=yes ;; | 8168 "next") athena_variant=neXtaw athena_3d=yes ;; |
7998 esac | 8172 esac |
7999 | 8173 |
8000 if test "$athena_3d" = "no"; then | 8174 if test "$athena_3d" = "no"; then |
8001 | 8175 |
8002 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8176 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
8003 echo "configure:8004: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8177 echo "configure:8178: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
8004 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8178 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
8005 | 8179 |
8006 xe_check_libs=" -l$athena_variant " | 8180 xe_check_libs=" -l$athena_variant " |
8007 cat > conftest.$ac_ext <<EOF | 8181 cat > conftest.$ac_ext <<EOF |
8008 #line 8009 "configure" | 8182 #line 8183 "configure" |
8009 #include "confdefs.h" | 8183 #include "confdefs.h" |
8010 /* Override any gcc2 internal prototype to avoid an error. */ | 8184 /* Override any gcc2 internal prototype to avoid an error. */ |
8011 /* We use char because int might match the return type of a gcc2 | 8185 /* We use char because int might match the return type of a gcc2 |
8012 builtin and then its argument prototype would still apply. */ | 8186 builtin and then its argument prototype would still apply. */ |
8013 char XawScrollbarSetThumb(); | 8187 char XawScrollbarSetThumb(); |
8014 | 8188 |
8015 int main() { | 8189 int main() { |
8016 XawScrollbarSetThumb() | 8190 XawScrollbarSetThumb() |
8017 ; return 0; } | 8191 ; return 0; } |
8018 EOF | 8192 EOF |
8019 if { (eval echo configure:8020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8193 if { (eval echo configure:8194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8020 rm -rf conftest* | 8194 rm -rf conftest* |
8021 eval "ac_cv_lib_$ac_lib_var=yes" | 8195 eval "ac_cv_lib_$ac_lib_var=yes" |
8022 else | 8196 else |
8023 echo "configure: failed program was:" >&5 | 8197 echo "configure: failed program was:" >&5 |
8024 cat conftest.$ac_ext >&5 | 8198 cat conftest.$ac_ext >&5 |
8030 | 8204 |
8031 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8205 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
8032 echo "$ac_t""yes" 1>&6 | 8206 echo "$ac_t""yes" 1>&6 |
8033 | 8207 |
8034 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8208 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8035 echo "configure:8036: checking for threeDClassRec in -l$athena_variant" >&5 | 8209 echo "configure:8210: checking for threeDClassRec in -l$athena_variant" >&5 |
8036 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8210 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8037 | 8211 |
8038 xe_check_libs=" -l$athena_variant " | 8212 xe_check_libs=" -l$athena_variant " |
8039 cat > conftest.$ac_ext <<EOF | 8213 cat > conftest.$ac_ext <<EOF |
8040 #line 8041 "configure" | 8214 #line 8215 "configure" |
8041 #include "confdefs.h" | 8215 #include "confdefs.h" |
8042 /* Override any gcc2 internal prototype to avoid an error. */ | 8216 /* Override any gcc2 internal prototype to avoid an error. */ |
8043 /* We use char because int might match the return type of a gcc2 | 8217 /* We use char because int might match the return type of a gcc2 |
8044 builtin and then its argument prototype would still apply. */ | 8218 builtin and then its argument prototype would still apply. */ |
8045 char threeDClassRec(); | 8219 char threeDClassRec(); |
8046 | 8220 |
8047 int main() { | 8221 int main() { |
8048 threeDClassRec() | 8222 threeDClassRec() |
8049 ; return 0; } | 8223 ; return 0; } |
8050 EOF | 8224 EOF |
8051 if { (eval echo configure:8052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8225 if { (eval echo configure:8226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8052 rm -rf conftest* | 8226 rm -rf conftest* |
8053 eval "ac_cv_lib_$ac_lib_var=yes" | 8227 eval "ac_cv_lib_$ac_lib_var=yes" |
8054 else | 8228 else |
8055 echo "configure: failed program was:" >&5 | 8229 echo "configure: failed program was:" >&5 |
8056 cat conftest.$ac_ext >&5 | 8230 cat conftest.$ac_ext >&5 |
8077 | 8251 |
8078 | 8252 |
8079 else | 8253 else |
8080 | 8254 |
8081 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8255 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
8082 echo "configure:8083: checking for threeDClassRec in -l$athena_variant" >&5 | 8256 echo "configure:8257: checking for threeDClassRec in -l$athena_variant" >&5 |
8083 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8257 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8084 | 8258 |
8085 xe_check_libs=" -l$athena_variant " | 8259 xe_check_libs=" -l$athena_variant " |
8086 cat > conftest.$ac_ext <<EOF | 8260 cat > conftest.$ac_ext <<EOF |
8087 #line 8088 "configure" | 8261 #line 8262 "configure" |
8088 #include "confdefs.h" | 8262 #include "confdefs.h" |
8089 /* Override any gcc2 internal prototype to avoid an error. */ | 8263 /* Override any gcc2 internal prototype to avoid an error. */ |
8090 /* We use char because int might match the return type of a gcc2 | 8264 /* We use char because int might match the return type of a gcc2 |
8091 builtin and then its argument prototype would still apply. */ | 8265 builtin and then its argument prototype would still apply. */ |
8092 char threeDClassRec(); | 8266 char threeDClassRec(); |
8093 | 8267 |
8094 int main() { | 8268 int main() { |
8095 threeDClassRec() | 8269 threeDClassRec() |
8096 ; return 0; } | 8270 ; return 0; } |
8097 EOF | 8271 EOF |
8098 if { (eval echo configure:8099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8272 if { (eval echo configure:8273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8099 rm -rf conftest* | 8273 rm -rf conftest* |
8100 eval "ac_cv_lib_$ac_lib_var=yes" | 8274 eval "ac_cv_lib_$ac_lib_var=yes" |
8101 else | 8275 else |
8102 echo "configure: failed program was:" >&5 | 8276 echo "configure: failed program was:" >&5 |
8103 cat conftest.$ac_ext >&5 | 8277 cat conftest.$ac_ext >&5 |
8111 echo "$ac_t""yes" 1>&6 | 8285 echo "$ac_t""yes" 1>&6 |
8112 athena_lib=$athena_variant | 8286 athena_lib=$athena_variant |
8113 else | 8287 else |
8114 echo "$ac_t""no" 1>&6 | 8288 echo "$ac_t""no" 1>&6 |
8115 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8289 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
8116 echo "configure:8117: checking for threeDClassRec in -lXaw" >&5 | 8290 echo "configure:8291: checking for threeDClassRec in -lXaw" >&5 |
8117 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8291 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
8118 | 8292 |
8119 xe_check_libs=" -lXaw " | 8293 xe_check_libs=" -lXaw " |
8120 cat > conftest.$ac_ext <<EOF | 8294 cat > conftest.$ac_ext <<EOF |
8121 #line 8122 "configure" | 8295 #line 8296 "configure" |
8122 #include "confdefs.h" | 8296 #include "confdefs.h" |
8123 /* Override any gcc2 internal prototype to avoid an error. */ | 8297 /* Override any gcc2 internal prototype to avoid an error. */ |
8124 /* We use char because int might match the return type of a gcc2 | 8298 /* We use char because int might match the return type of a gcc2 |
8125 builtin and then its argument prototype would still apply. */ | 8299 builtin and then its argument prototype would still apply. */ |
8126 char threeDClassRec(); | 8300 char threeDClassRec(); |
8127 | 8301 |
8128 int main() { | 8302 int main() { |
8129 threeDClassRec() | 8303 threeDClassRec() |
8130 ; return 0; } | 8304 ; return 0; } |
8131 EOF | 8305 EOF |
8132 if { (eval echo configure:8133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8306 if { (eval echo configure:8307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8133 rm -rf conftest* | 8307 rm -rf conftest* |
8134 eval "ac_cv_lib_$ac_lib_var=yes" | 8308 eval "ac_cv_lib_$ac_lib_var=yes" |
8135 else | 8309 else |
8136 echo "configure: failed program was:" >&5 | 8310 echo "configure: failed program was:" >&5 |
8137 cat conftest.$ac_ext >&5 | 8311 cat conftest.$ac_ext >&5 |
8158 fi | 8332 fi |
8159 | 8333 |
8160 if test "$athena_3d" = "no"; then | 8334 if test "$athena_3d" = "no"; then |
8161 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8335 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8162 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8336 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8163 echo "configure:8164: checking for X11/Xaw/ThreeD.h" >&5 | 8337 echo "configure:8338: checking for X11/Xaw/ThreeD.h" >&5 |
8164 | 8338 |
8165 cat > conftest.$ac_ext <<EOF | 8339 cat > conftest.$ac_ext <<EOF |
8166 #line 8167 "configure" | 8340 #line 8341 "configure" |
8167 #include "confdefs.h" | 8341 #include "confdefs.h" |
8168 #include <X11/Xaw/ThreeD.h> | 8342 #include <X11/Xaw/ThreeD.h> |
8169 EOF | 8343 EOF |
8170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8171 { (eval echo configure:8172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8345 { (eval echo configure:8346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8173 if test -z "$ac_err"; then | 8347 if test -z "$ac_err"; then |
8174 rm -rf conftest* | 8348 rm -rf conftest* |
8175 eval "ac_cv_header_$ac_safe=yes" | 8349 eval "ac_cv_header_$ac_safe=yes" |
8176 else | 8350 else |
8186 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 8360 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 |
8187 else | 8361 else |
8188 echo "$ac_t""no" 1>&6 | 8362 echo "$ac_t""no" 1>&6 |
8189 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8363 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
8190 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8364 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
8191 echo "configure:8192: checking for X11/Xaw/XawInit.h" >&5 | 8365 echo "configure:8366: checking for X11/Xaw/XawInit.h" >&5 |
8192 | 8366 |
8193 cat > conftest.$ac_ext <<EOF | 8367 cat > conftest.$ac_ext <<EOF |
8194 #line 8195 "configure" | 8368 #line 8369 "configure" |
8195 #include "confdefs.h" | 8369 #include "confdefs.h" |
8196 #include <X11/Xaw/XawInit.h> | 8370 #include <X11/Xaw/XawInit.h> |
8197 EOF | 8371 EOF |
8198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8199 { (eval echo configure:8200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8373 { (eval echo configure:8374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8201 if test -z "$ac_err"; then | 8375 if test -z "$ac_err"; then |
8202 rm -rf conftest* | 8376 rm -rf conftest* |
8203 eval "ac_cv_header_$ac_safe=yes" | 8377 eval "ac_cv_header_$ac_safe=yes" |
8204 else | 8378 else |
8220 fi | 8394 fi |
8221 | 8395 |
8222 else | 8396 else |
8223 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8397 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8224 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 8398 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
8225 echo "configure:8226: checking for X11/$athena_variant/XawInit.h" >&5 | 8399 echo "configure:8400: checking for X11/$athena_variant/XawInit.h" >&5 |
8226 | 8400 |
8227 cat > conftest.$ac_ext <<EOF | 8401 cat > conftest.$ac_ext <<EOF |
8228 #line 8229 "configure" | 8402 #line 8403 "configure" |
8229 #include "confdefs.h" | 8403 #include "confdefs.h" |
8230 #include <X11/$athena_variant/XawInit.h> | 8404 #include <X11/$athena_variant/XawInit.h> |
8231 EOF | 8405 EOF |
8232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8233 { (eval echo configure:8234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8407 { (eval echo configure:8408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8235 if test -z "$ac_err"; then | 8409 if test -z "$ac_err"; then |
8236 rm -rf conftest* | 8410 rm -rf conftest* |
8237 eval "ac_cv_header_$ac_safe=yes" | 8411 eval "ac_cv_header_$ac_safe=yes" |
8238 else | 8412 else |
8245 rm -f conftest* | 8419 rm -f conftest* |
8246 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8420 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8247 echo "$ac_t""yes" 1>&6 | 8421 echo "$ac_t""yes" 1>&6 |
8248 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8422 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
8249 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8423 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
8250 echo "configure:8251: checking for X11/$athena_variant/ThreeD.h" >&5 | 8424 echo "configure:8425: checking for X11/$athena_variant/ThreeD.h" >&5 |
8251 | 8425 |
8252 cat > conftest.$ac_ext <<EOF | 8426 cat > conftest.$ac_ext <<EOF |
8253 #line 8254 "configure" | 8427 #line 8428 "configure" |
8254 #include "confdefs.h" | 8428 #include "confdefs.h" |
8255 #include <X11/$athena_variant/ThreeD.h> | 8429 #include <X11/$athena_variant/ThreeD.h> |
8256 EOF | 8430 EOF |
8257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8431 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8258 { (eval echo configure:8259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8432 { (eval echo configure:8433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8433 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8260 if test -z "$ac_err"; then | 8434 if test -z "$ac_err"; then |
8261 rm -rf conftest* | 8435 rm -rf conftest* |
8262 eval "ac_cv_header_$ac_safe=yes" | 8436 eval "ac_cv_header_$ac_safe=yes" |
8263 else | 8437 else |
8281 | 8455 |
8282 | 8456 |
8283 if test -z "$athena_h_path"; then | 8457 if test -z "$athena_h_path"; then |
8284 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8458 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8285 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 8459 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
8286 echo "configure:8287: checking for $athena_variant/XawInit.h" >&5 | 8460 echo "configure:8461: checking for $athena_variant/XawInit.h" >&5 |
8287 | 8461 |
8288 cat > conftest.$ac_ext <<EOF | 8462 cat > conftest.$ac_ext <<EOF |
8289 #line 8290 "configure" | 8463 #line 8464 "configure" |
8290 #include "confdefs.h" | 8464 #include "confdefs.h" |
8291 #include <$athena_variant/XawInit.h> | 8465 #include <$athena_variant/XawInit.h> |
8292 EOF | 8466 EOF |
8293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8294 { (eval echo configure:8295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8468 { (eval echo configure:8469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8296 if test -z "$ac_err"; then | 8470 if test -z "$ac_err"; then |
8297 rm -rf conftest* | 8471 rm -rf conftest* |
8298 eval "ac_cv_header_$ac_safe=yes" | 8472 eval "ac_cv_header_$ac_safe=yes" |
8299 else | 8473 else |
8306 rm -f conftest* | 8480 rm -f conftest* |
8307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8481 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8308 echo "$ac_t""yes" 1>&6 | 8482 echo "$ac_t""yes" 1>&6 |
8309 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8483 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
8310 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8484 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
8311 echo "configure:8312: checking for $athena_variant/ThreeD.h" >&5 | 8485 echo "configure:8486: checking for $athena_variant/ThreeD.h" >&5 |
8312 | 8486 |
8313 cat > conftest.$ac_ext <<EOF | 8487 cat > conftest.$ac_ext <<EOF |
8314 #line 8315 "configure" | 8488 #line 8489 "configure" |
8315 #include "confdefs.h" | 8489 #include "confdefs.h" |
8316 #include <$athena_variant/ThreeD.h> | 8490 #include <$athena_variant/ThreeD.h> |
8317 EOF | 8491 EOF |
8318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8492 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8319 { (eval echo configure:8320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8493 { (eval echo configure:8494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8494 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8321 if test -z "$ac_err"; then | 8495 if test -z "$ac_err"; then |
8322 rm -rf conftest* | 8496 rm -rf conftest* |
8323 eval "ac_cv_header_$ac_safe=yes" | 8497 eval "ac_cv_header_$ac_safe=yes" |
8324 else | 8498 else |
8343 fi | 8517 fi |
8344 | 8518 |
8345 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8519 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8346 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8520 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8347 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8521 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8348 echo "configure:8349: checking for X11/Xaw3d/XawInit.h" >&5 | 8522 echo "configure:8523: checking for X11/Xaw3d/XawInit.h" >&5 |
8349 | 8523 |
8350 cat > conftest.$ac_ext <<EOF | 8524 cat > conftest.$ac_ext <<EOF |
8351 #line 8352 "configure" | 8525 #line 8526 "configure" |
8352 #include "confdefs.h" | 8526 #include "confdefs.h" |
8353 #include <X11/Xaw3d/XawInit.h> | 8527 #include <X11/Xaw3d/XawInit.h> |
8354 EOF | 8528 EOF |
8355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8529 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8356 { (eval echo configure:8357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8530 { (eval echo configure:8531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8531 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8358 if test -z "$ac_err"; then | 8532 if test -z "$ac_err"; then |
8359 rm -rf conftest* | 8533 rm -rf conftest* |
8360 eval "ac_cv_header_$ac_safe=yes" | 8534 eval "ac_cv_header_$ac_safe=yes" |
8361 else | 8535 else |
8368 rm -f conftest* | 8542 rm -f conftest* |
8369 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8543 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8370 echo "$ac_t""yes" 1>&6 | 8544 echo "$ac_t""yes" 1>&6 |
8371 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8545 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8372 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8546 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8373 echo "configure:8374: checking for X11/Xaw3d/ThreeD.h" >&5 | 8547 echo "configure:8548: checking for X11/Xaw3d/ThreeD.h" >&5 |
8374 | 8548 |
8375 cat > conftest.$ac_ext <<EOF | 8549 cat > conftest.$ac_ext <<EOF |
8376 #line 8377 "configure" | 8550 #line 8551 "configure" |
8377 #include "confdefs.h" | 8551 #include "confdefs.h" |
8378 #include <X11/Xaw3d/ThreeD.h> | 8552 #include <X11/Xaw3d/ThreeD.h> |
8379 EOF | 8553 EOF |
8380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8554 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8381 { (eval echo configure:8382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8555 { (eval echo configure:8556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8556 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8383 if test -z "$ac_err"; then | 8557 if test -z "$ac_err"; then |
8384 rm -rf conftest* | 8558 rm -rf conftest* |
8385 eval "ac_cv_header_$ac_safe=yes" | 8559 eval "ac_cv_header_$ac_safe=yes" |
8386 else | 8560 else |
8408 fi | 8582 fi |
8409 | 8583 |
8410 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8584 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8411 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8585 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8412 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8586 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8413 echo "configure:8414: checking for Xaw3d/XawInit.h" >&5 | 8587 echo "configure:8588: checking for Xaw3d/XawInit.h" >&5 |
8414 | 8588 |
8415 cat > conftest.$ac_ext <<EOF | 8589 cat > conftest.$ac_ext <<EOF |
8416 #line 8417 "configure" | 8590 #line 8591 "configure" |
8417 #include "confdefs.h" | 8591 #include "confdefs.h" |
8418 #include <Xaw3d/XawInit.h> | 8592 #include <Xaw3d/XawInit.h> |
8419 EOF | 8593 EOF |
8420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8421 { (eval echo configure:8422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8595 { (eval echo configure:8596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8423 if test -z "$ac_err"; then | 8597 if test -z "$ac_err"; then |
8424 rm -rf conftest* | 8598 rm -rf conftest* |
8425 eval "ac_cv_header_$ac_safe=yes" | 8599 eval "ac_cv_header_$ac_safe=yes" |
8426 else | 8600 else |
8433 rm -f conftest* | 8607 rm -f conftest* |
8434 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8608 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8435 echo "$ac_t""yes" 1>&6 | 8609 echo "$ac_t""yes" 1>&6 |
8436 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8610 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8437 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8611 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8438 echo "configure:8439: checking for Xaw3d/ThreeD.h" >&5 | 8612 echo "configure:8613: checking for Xaw3d/ThreeD.h" >&5 |
8439 | 8613 |
8440 cat > conftest.$ac_ext <<EOF | 8614 cat > conftest.$ac_ext <<EOF |
8441 #line 8442 "configure" | 8615 #line 8616 "configure" |
8442 #include "confdefs.h" | 8616 #include "confdefs.h" |
8443 #include <Xaw3d/ThreeD.h> | 8617 #include <Xaw3d/ThreeD.h> |
8444 EOF | 8618 EOF |
8445 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8619 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8446 { (eval echo configure:8447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8620 { (eval echo configure:8621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8447 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8621 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8448 if test -z "$ac_err"; then | 8622 if test -z "$ac_err"; then |
8449 rm -rf conftest* | 8623 rm -rf conftest* |
8450 eval "ac_cv_header_$ac_safe=yes" | 8624 eval "ac_cv_header_$ac_safe=yes" |
8451 else | 8625 else |
8473 fi | 8647 fi |
8474 | 8648 |
8475 if test -z "$athena_h_path"; then | 8649 if test -z "$athena_h_path"; then |
8476 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8650 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8477 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8651 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8478 echo "configure:8479: checking for X11/Xaw/ThreeD.h" >&5 | 8652 echo "configure:8653: checking for X11/Xaw/ThreeD.h" >&5 |
8479 | 8653 |
8480 cat > conftest.$ac_ext <<EOF | 8654 cat > conftest.$ac_ext <<EOF |
8481 #line 8482 "configure" | 8655 #line 8656 "configure" |
8482 #include "confdefs.h" | 8656 #include "confdefs.h" |
8483 #include <X11/Xaw/ThreeD.h> | 8657 #include <X11/Xaw/ThreeD.h> |
8484 EOF | 8658 EOF |
8485 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8486 { (eval echo configure:8487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8660 { (eval echo configure:8661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8487 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8488 if test -z "$ac_err"; then | 8662 if test -z "$ac_err"; then |
8489 rm -rf conftest* | 8663 rm -rf conftest* |
8490 eval "ac_cv_header_$ac_safe=yes" | 8664 eval "ac_cv_header_$ac_safe=yes" |
8491 else | 8665 else |
8516 have_xaw=no | 8690 have_xaw=no |
8517 fi | 8691 fi |
8518 | 8692 |
8519 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 8693 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
8520 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 8694 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
8521 echo "configure:8522: checking for Xm/Xm.h" >&5 | 8695 echo "configure:8696: checking for Xm/Xm.h" >&5 |
8522 | 8696 |
8523 cat > conftest.$ac_ext <<EOF | 8697 cat > conftest.$ac_ext <<EOF |
8524 #line 8525 "configure" | 8698 #line 8699 "configure" |
8525 #include "confdefs.h" | 8699 #include "confdefs.h" |
8526 #include <Xm/Xm.h> | 8700 #include <Xm/Xm.h> |
8527 EOF | 8701 EOF |
8528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8702 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8529 { (eval echo configure:8530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8703 { (eval echo configure:8704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8531 if test -z "$ac_err"; then | 8705 if test -z "$ac_err"; then |
8532 rm -rf conftest* | 8706 rm -rf conftest* |
8533 eval "ac_cv_header_$ac_safe=yes" | 8707 eval "ac_cv_header_$ac_safe=yes" |
8534 else | 8708 else |
8541 rm -f conftest* | 8715 rm -f conftest* |
8542 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8716 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8543 echo "$ac_t""yes" 1>&6 | 8717 echo "$ac_t""yes" 1>&6 |
8544 | 8718 |
8545 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 8719 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
8546 echo "configure:8547: checking for XmStringFree in -lXm" >&5 | 8720 echo "configure:8721: checking for XmStringFree in -lXm" >&5 |
8547 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 8721 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
8548 | 8722 |
8549 xe_check_libs=" -lXm " | 8723 xe_check_libs=" -lXm " |
8550 cat > conftest.$ac_ext <<EOF | 8724 cat > conftest.$ac_ext <<EOF |
8551 #line 8552 "configure" | 8725 #line 8726 "configure" |
8552 #include "confdefs.h" | 8726 #include "confdefs.h" |
8553 /* Override any gcc2 internal prototype to avoid an error. */ | 8727 /* Override any gcc2 internal prototype to avoid an error. */ |
8554 /* We use char because int might match the return type of a gcc2 | 8728 /* We use char because int might match the return type of a gcc2 |
8555 builtin and then its argument prototype would still apply. */ | 8729 builtin and then its argument prototype would still apply. */ |
8556 char XmStringFree(); | 8730 char XmStringFree(); |
8557 | 8731 |
8558 int main() { | 8732 int main() { |
8559 XmStringFree() | 8733 XmStringFree() |
8560 ; return 0; } | 8734 ; return 0; } |
8561 EOF | 8735 EOF |
8562 if { (eval echo configure:8563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8736 if { (eval echo configure:8737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8563 rm -rf conftest* | 8737 rm -rf conftest* |
8564 eval "ac_cv_lib_$ac_lib_var=yes" | 8738 eval "ac_cv_lib_$ac_lib_var=yes" |
8565 else | 8739 else |
8566 echo "configure: failed program was:" >&5 | 8740 echo "configure: failed program was:" >&5 |
8567 cat conftest.$ac_ext >&5 | 8741 cat conftest.$ac_ext >&5 |
8586 fi | 8760 fi |
8587 | 8761 |
8588 | 8762 |
8589 if test "$have_motif" = "yes"; then | 8763 if test "$have_motif" = "yes"; then |
8590 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 8764 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
8591 echo "configure:8592: checking for Lesstif" >&5 | 8765 echo "configure:8766: checking for Lesstif" >&5 |
8592 cat > conftest.$ac_ext <<EOF | 8766 cat > conftest.$ac_ext <<EOF |
8593 #line 8594 "configure" | 8767 #line 8768 "configure" |
8594 #include "confdefs.h" | 8768 #include "confdefs.h" |
8595 #include <Xm/Xm.h> | 8769 #include <Xm/Xm.h> |
8596 #ifdef LESSTIF_VERSION | 8770 #ifdef LESSTIF_VERSION |
8597 yes | 8771 yes |
8598 #endif | 8772 #endif |
8921 fi | 9095 fi |
8922 fi | 9096 fi |
8923 | 9097 |
8924 if test "$with_mule" = "yes" ; then | 9098 if test "$with_mule" = "yes" ; then |
8925 echo "checking for Mule-related features" 1>&6 | 9099 echo "checking for Mule-related features" 1>&6 |
8926 echo "configure:8927: checking for Mule-related features" >&5 | 9100 echo "configure:9101: checking for Mule-related features" >&5 |
8927 { test "$extra_verbose" = "yes" && cat << \EOF | 9101 { test "$extra_verbose" = "yes" && cat << \EOF |
8928 Defining MULE | 9102 Defining MULE |
8929 EOF | 9103 EOF |
8930 cat >> confdefs.h <<\EOF | 9104 cat >> confdefs.h <<\EOF |
8931 #define MULE 1 | 9105 #define MULE 1 |
8946 | 9120 |
8947 for ac_hdr in libintl.h | 9121 for ac_hdr in libintl.h |
8948 do | 9122 do |
8949 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 9123 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
8950 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 9124 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
8951 echo "configure:8952: checking for $ac_hdr" >&5 | 9125 echo "configure:9126: checking for $ac_hdr" >&5 |
8952 | 9126 |
8953 cat > conftest.$ac_ext <<EOF | 9127 cat > conftest.$ac_ext <<EOF |
8954 #line 8955 "configure" | 9128 #line 9129 "configure" |
8955 #include "confdefs.h" | 9129 #include "confdefs.h" |
8956 #include <$ac_hdr> | 9130 #include <$ac_hdr> |
8957 EOF | 9131 EOF |
8958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9132 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8959 { (eval echo configure:8960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9133 { (eval echo configure:9134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9134 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8961 if test -z "$ac_err"; then | 9135 if test -z "$ac_err"; then |
8962 rm -rf conftest* | 9136 rm -rf conftest* |
8963 eval "ac_cv_header_$ac_safe=yes" | 9137 eval "ac_cv_header_$ac_safe=yes" |
8964 else | 9138 else |
8985 fi | 9159 fi |
8986 done | 9160 done |
8987 | 9161 |
8988 | 9162 |
8989 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 9163 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
8990 echo "configure:8991: checking for strerror in -lintl" >&5 | 9164 echo "configure:9165: checking for strerror in -lintl" >&5 |
8991 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 9165 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
8992 | 9166 |
8993 xe_check_libs=" -lintl " | 9167 xe_check_libs=" -lintl " |
8994 cat > conftest.$ac_ext <<EOF | 9168 cat > conftest.$ac_ext <<EOF |
8995 #line 8996 "configure" | 9169 #line 9170 "configure" |
8996 #include "confdefs.h" | 9170 #include "confdefs.h" |
8997 /* Override any gcc2 internal prototype to avoid an error. */ | 9171 /* Override any gcc2 internal prototype to avoid an error. */ |
8998 /* We use char because int might match the return type of a gcc2 | 9172 /* We use char because int might match the return type of a gcc2 |
8999 builtin and then its argument prototype would still apply. */ | 9173 builtin and then its argument prototype would still apply. */ |
9000 char strerror(); | 9174 char strerror(); |
9001 | 9175 |
9002 int main() { | 9176 int main() { |
9003 strerror() | 9177 strerror() |
9004 ; return 0; } | 9178 ; return 0; } |
9005 EOF | 9179 EOF |
9006 if { (eval echo configure:9007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9180 if { (eval echo configure:9181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9007 rm -rf conftest* | 9181 rm -rf conftest* |
9008 eval "ac_cv_lib_$ac_lib_var=yes" | 9182 eval "ac_cv_lib_$ac_lib_var=yes" |
9009 else | 9183 else |
9010 echo "configure: failed program was:" >&5 | 9184 echo "configure: failed program was:" >&5 |
9011 cat conftest.$ac_ext >&5 | 9185 cat conftest.$ac_ext >&5 |
9034 fi | 9208 fi |
9035 | 9209 |
9036 | 9210 |
9037 | 9211 |
9038 echo "checking for Mule input methods" 1>&6 | 9212 echo "checking for Mule input methods" 1>&6 |
9039 echo "configure:9040: checking for Mule input methods" >&5 | 9213 echo "configure:9214: checking for Mule input methods" >&5 |
9040 case "$with_xim" in "" | "yes" ) | 9214 case "$with_xim" in "" | "yes" ) |
9041 echo "checking for XIM" 1>&6 | 9215 echo "checking for XIM" 1>&6 |
9042 echo "configure:9043: checking for XIM" >&5 | 9216 echo "configure:9217: checking for XIM" >&5 |
9043 | 9217 |
9044 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9218 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
9045 echo "configure:9046: checking for XOpenIM in -lX11" >&5 | 9219 echo "configure:9220: checking for XOpenIM in -lX11" >&5 |
9046 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9220 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
9047 | 9221 |
9048 xe_check_libs=" -lX11 " | 9222 xe_check_libs=" -lX11 " |
9049 cat > conftest.$ac_ext <<EOF | 9223 cat > conftest.$ac_ext <<EOF |
9050 #line 9051 "configure" | 9224 #line 9225 "configure" |
9051 #include "confdefs.h" | 9225 #include "confdefs.h" |
9052 /* Override any gcc2 internal prototype to avoid an error. */ | 9226 /* Override any gcc2 internal prototype to avoid an error. */ |
9053 /* We use char because int might match the return type of a gcc2 | 9227 /* We use char because int might match the return type of a gcc2 |
9054 builtin and then its argument prototype would still apply. */ | 9228 builtin and then its argument prototype would still apply. */ |
9055 char XOpenIM(); | 9229 char XOpenIM(); |
9056 | 9230 |
9057 int main() { | 9231 int main() { |
9058 XOpenIM() | 9232 XOpenIM() |
9059 ; return 0; } | 9233 ; return 0; } |
9060 EOF | 9234 EOF |
9061 if { (eval echo configure:9062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9235 if { (eval echo configure:9236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9062 rm -rf conftest* | 9236 rm -rf conftest* |
9063 eval "ac_cv_lib_$ac_lib_var=yes" | 9237 eval "ac_cv_lib_$ac_lib_var=yes" |
9064 else | 9238 else |
9065 echo "configure: failed program was:" >&5 | 9239 echo "configure: failed program was:" >&5 |
9066 cat conftest.$ac_ext >&5 | 9240 cat conftest.$ac_ext >&5 |
9080 | 9254 |
9081 | 9255 |
9082 if test "$have_motif $have_lesstif" = "yes no"; then | 9256 if test "$have_motif $have_lesstif" = "yes no"; then |
9083 | 9257 |
9084 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9258 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
9085 echo "configure:9086: checking for XmImMbLookupString in -lXm" >&5 | 9259 echo "configure:9260: checking for XmImMbLookupString in -lXm" >&5 |
9086 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9260 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
9087 | 9261 |
9088 xe_check_libs=" -lXm " | 9262 xe_check_libs=" -lXm " |
9089 cat > conftest.$ac_ext <<EOF | 9263 cat > conftest.$ac_ext <<EOF |
9090 #line 9091 "configure" | 9264 #line 9265 "configure" |
9091 #include "confdefs.h" | 9265 #include "confdefs.h" |
9092 /* Override any gcc2 internal prototype to avoid an error. */ | 9266 /* Override any gcc2 internal prototype to avoid an error. */ |
9093 /* We use char because int might match the return type of a gcc2 | 9267 /* We use char because int might match the return type of a gcc2 |
9094 builtin and then its argument prototype would still apply. */ | 9268 builtin and then its argument prototype would still apply. */ |
9095 char XmImMbLookupString(); | 9269 char XmImMbLookupString(); |
9096 | 9270 |
9097 int main() { | 9271 int main() { |
9098 XmImMbLookupString() | 9272 XmImMbLookupString() |
9099 ; return 0; } | 9273 ; return 0; } |
9100 EOF | 9274 EOF |
9101 if { (eval echo configure:9102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9275 if { (eval echo configure:9276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9102 rm -rf conftest* | 9276 rm -rf conftest* |
9103 eval "ac_cv_lib_$ac_lib_var=yes" | 9277 eval "ac_cv_lib_$ac_lib_var=yes" |
9104 else | 9278 else |
9105 echo "configure: failed program was:" >&5 | 9279 echo "configure: failed program was:" >&5 |
9106 cat conftest.$ac_ext >&5 | 9280 cat conftest.$ac_ext >&5 |
9161 fi | 9335 fi |
9162 fi | 9336 fi |
9163 | 9337 |
9164 if test "$with_xfs" = "yes" ; then | 9338 if test "$with_xfs" = "yes" ; then |
9165 echo "checking for XFontSet" 1>&6 | 9339 echo "checking for XFontSet" 1>&6 |
9166 echo "configure:9167: checking for XFontSet" >&5 | 9340 echo "configure:9341: checking for XFontSet" >&5 |
9167 | 9341 |
9168 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 9342 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
9169 echo "configure:9170: checking for XmbDrawString in -lX11" >&5 | 9343 echo "configure:9344: checking for XmbDrawString in -lX11" >&5 |
9170 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 9344 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
9171 | 9345 |
9172 xe_check_libs=" -lX11 " | 9346 xe_check_libs=" -lX11 " |
9173 cat > conftest.$ac_ext <<EOF | 9347 cat > conftest.$ac_ext <<EOF |
9174 #line 9175 "configure" | 9348 #line 9349 "configure" |
9175 #include "confdefs.h" | 9349 #include "confdefs.h" |
9176 /* Override any gcc2 internal prototype to avoid an error. */ | 9350 /* Override any gcc2 internal prototype to avoid an error. */ |
9177 /* We use char because int might match the return type of a gcc2 | 9351 /* We use char because int might match the return type of a gcc2 |
9178 builtin and then its argument prototype would still apply. */ | 9352 builtin and then its argument prototype would still apply. */ |
9179 char XmbDrawString(); | 9353 char XmbDrawString(); |
9180 | 9354 |
9181 int main() { | 9355 int main() { |
9182 XmbDrawString() | 9356 XmbDrawString() |
9183 ; return 0; } | 9357 ; return 0; } |
9184 EOF | 9358 EOF |
9185 if { (eval echo configure:9186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9359 if { (eval echo configure:9360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9186 rm -rf conftest* | 9360 rm -rf conftest* |
9187 eval "ac_cv_lib_$ac_lib_var=yes" | 9361 eval "ac_cv_lib_$ac_lib_var=yes" |
9188 else | 9362 else |
9189 echo "configure: failed program was:" >&5 | 9363 echo "configure: failed program was:" >&5 |
9190 cat conftest.$ac_ext >&5 | 9364 cat conftest.$ac_ext >&5 |
9220 fi | 9394 fi |
9221 fi | 9395 fi |
9222 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 9396 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
9223 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 9397 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
9224 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 9398 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
9225 echo "configure:9226: checking for wnn/jllib.h" >&5 | 9399 echo "configure:9400: checking for wnn/jllib.h" >&5 |
9226 | 9400 |
9227 cat > conftest.$ac_ext <<EOF | 9401 cat > conftest.$ac_ext <<EOF |
9228 #line 9229 "configure" | 9402 #line 9403 "configure" |
9229 #include "confdefs.h" | 9403 #include "confdefs.h" |
9230 #include <wnn/jllib.h> | 9404 #include <wnn/jllib.h> |
9231 EOF | 9405 EOF |
9232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9406 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9233 { (eval echo configure:9234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9407 { (eval echo configure:9408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9235 if test -z "$ac_err"; then | 9409 if test -z "$ac_err"; then |
9236 rm -rf conftest* | 9410 rm -rf conftest* |
9237 eval "ac_cv_header_$ac_safe=yes" | 9411 eval "ac_cv_header_$ac_safe=yes" |
9238 else | 9412 else |
9253 } | 9427 } |
9254 if test "$with_wnn" != "no"; then | 9428 if test "$with_wnn" != "no"; then |
9255 for ac_func in crypt | 9429 for ac_func in crypt |
9256 do | 9430 do |
9257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9431 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9258 echo "configure:9259: checking for $ac_func" >&5 | 9432 echo "configure:9433: checking for $ac_func" >&5 |
9259 | 9433 |
9260 cat > conftest.$ac_ext <<EOF | 9434 cat > conftest.$ac_ext <<EOF |
9261 #line 9262 "configure" | 9435 #line 9436 "configure" |
9262 #include "confdefs.h" | 9436 #include "confdefs.h" |
9263 /* System header to define __stub macros and hopefully few prototypes, | 9437 /* System header to define __stub macros and hopefully few prototypes, |
9264 which can conflict with char $ac_func(); below. */ | 9438 which can conflict with char $ac_func(); below. */ |
9265 #include <assert.h> | 9439 #include <assert.h> |
9266 /* Override any gcc2 internal prototype to avoid an error. */ | 9440 /* Override any gcc2 internal prototype to avoid an error. */ |
9279 $ac_func(); | 9453 $ac_func(); |
9280 #endif | 9454 #endif |
9281 | 9455 |
9282 ; return 0; } | 9456 ; return 0; } |
9283 EOF | 9457 EOF |
9284 if { (eval echo configure:9285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9458 if { (eval echo configure:9459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9285 rm -rf conftest* | 9459 rm -rf conftest* |
9286 eval "ac_cv_func_$ac_func=yes" | 9460 eval "ac_cv_func_$ac_func=yes" |
9287 else | 9461 else |
9288 echo "configure: failed program was:" >&5 | 9462 echo "configure: failed program was:" >&5 |
9289 cat conftest.$ac_ext >&5 | 9463 cat conftest.$ac_ext >&5 |
9308 fi | 9482 fi |
9309 done | 9483 done |
9310 | 9484 |
9311 test "$ac_cv_func_crypt" != "yes" && { | 9485 test "$ac_cv_func_crypt" != "yes" && { |
9312 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 9486 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
9313 echo "configure:9314: checking for crypt in -lcrypt" >&5 | 9487 echo "configure:9488: checking for crypt in -lcrypt" >&5 |
9314 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 9488 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
9315 | 9489 |
9316 xe_check_libs=" -lcrypt " | 9490 xe_check_libs=" -lcrypt " |
9317 cat > conftest.$ac_ext <<EOF | 9491 cat > conftest.$ac_ext <<EOF |
9318 #line 9319 "configure" | 9492 #line 9493 "configure" |
9319 #include "confdefs.h" | 9493 #include "confdefs.h" |
9320 /* Override any gcc2 internal prototype to avoid an error. */ | 9494 /* Override any gcc2 internal prototype to avoid an error. */ |
9321 /* We use char because int might match the return type of a gcc2 | 9495 /* We use char because int might match the return type of a gcc2 |
9322 builtin and then its argument prototype would still apply. */ | 9496 builtin and then its argument prototype would still apply. */ |
9323 char crypt(); | 9497 char crypt(); |
9324 | 9498 |
9325 int main() { | 9499 int main() { |
9326 crypt() | 9500 crypt() |
9327 ; return 0; } | 9501 ; return 0; } |
9328 EOF | 9502 EOF |
9329 if { (eval echo configure:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9503 if { (eval echo configure:9504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9330 rm -rf conftest* | 9504 rm -rf conftest* |
9331 eval "ac_cv_lib_$ac_lib_var=yes" | 9505 eval "ac_cv_lib_$ac_lib_var=yes" |
9332 else | 9506 else |
9333 echo "configure: failed program was:" >&5 | 9507 echo "configure: failed program was:" >&5 |
9334 cat conftest.$ac_ext >&5 | 9508 cat conftest.$ac_ext >&5 |
9359 } | 9533 } |
9360 fi | 9534 fi |
9361 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 9535 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
9362 | 9536 |
9363 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 9537 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
9364 echo "configure:9365: checking for jl_dic_list_e in -lwnn" >&5 | 9538 echo "configure:9539: checking for jl_dic_list_e in -lwnn" >&5 |
9365 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9539 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9366 | 9540 |
9367 xe_check_libs=" -lwnn " | 9541 xe_check_libs=" -lwnn " |
9368 cat > conftest.$ac_ext <<EOF | 9542 cat > conftest.$ac_ext <<EOF |
9369 #line 9370 "configure" | 9543 #line 9544 "configure" |
9370 #include "confdefs.h" | 9544 #include "confdefs.h" |
9371 /* Override any gcc2 internal prototype to avoid an error. */ | 9545 /* Override any gcc2 internal prototype to avoid an error. */ |
9372 /* We use char because int might match the return type of a gcc2 | 9546 /* We use char because int might match the return type of a gcc2 |
9373 builtin and then its argument prototype would still apply. */ | 9547 builtin and then its argument prototype would still apply. */ |
9374 char jl_dic_list_e(); | 9548 char jl_dic_list_e(); |
9375 | 9549 |
9376 int main() { | 9550 int main() { |
9377 jl_dic_list_e() | 9551 jl_dic_list_e() |
9378 ; return 0; } | 9552 ; return 0; } |
9379 EOF | 9553 EOF |
9380 if { (eval echo configure:9381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9554 if { (eval echo configure:9555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9381 rm -rf conftest* | 9555 rm -rf conftest* |
9382 eval "ac_cv_lib_$ac_lib_var=yes" | 9556 eval "ac_cv_lib_$ac_lib_var=yes" |
9383 else | 9557 else |
9384 echo "configure: failed program was:" >&5 | 9558 echo "configure: failed program was:" >&5 |
9385 cat conftest.$ac_ext >&5 | 9559 cat conftest.$ac_ext >&5 |
9393 echo "$ac_t""yes" 1>&6 | 9567 echo "$ac_t""yes" 1>&6 |
9394 libwnn=wnn | 9568 libwnn=wnn |
9395 else | 9569 else |
9396 echo "$ac_t""no" 1>&6 | 9570 echo "$ac_t""no" 1>&6 |
9397 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 9571 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
9398 echo "configure:9399: checking for jl_dic_list_e in -lwnn4" >&5 | 9572 echo "configure:9573: checking for jl_dic_list_e in -lwnn4" >&5 |
9399 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9573 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9400 | 9574 |
9401 xe_check_libs=" -lwnn4 " | 9575 xe_check_libs=" -lwnn4 " |
9402 cat > conftest.$ac_ext <<EOF | 9576 cat > conftest.$ac_ext <<EOF |
9403 #line 9404 "configure" | 9577 #line 9578 "configure" |
9404 #include "confdefs.h" | 9578 #include "confdefs.h" |
9405 /* Override any gcc2 internal prototype to avoid an error. */ | 9579 /* Override any gcc2 internal prototype to avoid an error. */ |
9406 /* We use char because int might match the return type of a gcc2 | 9580 /* We use char because int might match the return type of a gcc2 |
9407 builtin and then its argument prototype would still apply. */ | 9581 builtin and then its argument prototype would still apply. */ |
9408 char jl_dic_list_e(); | 9582 char jl_dic_list_e(); |
9409 | 9583 |
9410 int main() { | 9584 int main() { |
9411 jl_dic_list_e() | 9585 jl_dic_list_e() |
9412 ; return 0; } | 9586 ; return 0; } |
9413 EOF | 9587 EOF |
9414 if { (eval echo configure:9415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9588 if { (eval echo configure:9589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9415 rm -rf conftest* | 9589 rm -rf conftest* |
9416 eval "ac_cv_lib_$ac_lib_var=yes" | 9590 eval "ac_cv_lib_$ac_lib_var=yes" |
9417 else | 9591 else |
9418 echo "configure: failed program was:" >&5 | 9592 echo "configure: failed program was:" >&5 |
9419 cat conftest.$ac_ext >&5 | 9593 cat conftest.$ac_ext >&5 |
9427 echo "$ac_t""yes" 1>&6 | 9601 echo "$ac_t""yes" 1>&6 |
9428 libwnn=wnn4 | 9602 libwnn=wnn4 |
9429 else | 9603 else |
9430 echo "$ac_t""no" 1>&6 | 9604 echo "$ac_t""no" 1>&6 |
9431 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 9605 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
9432 echo "configure:9433: checking for jl_dic_list_e in -lwnn6" >&5 | 9606 echo "configure:9607: checking for jl_dic_list_e in -lwnn6" >&5 |
9433 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9607 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9434 | 9608 |
9435 xe_check_libs=" -lwnn6 " | 9609 xe_check_libs=" -lwnn6 " |
9436 cat > conftest.$ac_ext <<EOF | 9610 cat > conftest.$ac_ext <<EOF |
9437 #line 9438 "configure" | 9611 #line 9612 "configure" |
9438 #include "confdefs.h" | 9612 #include "confdefs.h" |
9439 /* Override any gcc2 internal prototype to avoid an error. */ | 9613 /* Override any gcc2 internal prototype to avoid an error. */ |
9440 /* We use char because int might match the return type of a gcc2 | 9614 /* We use char because int might match the return type of a gcc2 |
9441 builtin and then its argument prototype would still apply. */ | 9615 builtin and then its argument prototype would still apply. */ |
9442 char jl_dic_list_e(); | 9616 char jl_dic_list_e(); |
9443 | 9617 |
9444 int main() { | 9618 int main() { |
9445 jl_dic_list_e() | 9619 jl_dic_list_e() |
9446 ; return 0; } | 9620 ; return 0; } |
9447 EOF | 9621 EOF |
9448 if { (eval echo configure:9449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9622 if { (eval echo configure:9623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9449 rm -rf conftest* | 9623 rm -rf conftest* |
9450 eval "ac_cv_lib_$ac_lib_var=yes" | 9624 eval "ac_cv_lib_$ac_lib_var=yes" |
9451 else | 9625 else |
9452 echo "configure: failed program was:" >&5 | 9626 echo "configure: failed program was:" >&5 |
9453 cat conftest.$ac_ext >&5 | 9627 cat conftest.$ac_ext >&5 |
9461 echo "$ac_t""yes" 1>&6 | 9635 echo "$ac_t""yes" 1>&6 |
9462 libwnn=wnn6 | 9636 libwnn=wnn6 |
9463 else | 9637 else |
9464 echo "$ac_t""no" 1>&6 | 9638 echo "$ac_t""no" 1>&6 |
9465 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 9639 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
9466 echo "configure:9467: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 9640 echo "configure:9641: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
9467 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 9641 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
9468 | 9642 |
9469 xe_check_libs=" -lwnn6_fromsrc " | 9643 xe_check_libs=" -lwnn6_fromsrc " |
9470 cat > conftest.$ac_ext <<EOF | 9644 cat > conftest.$ac_ext <<EOF |
9471 #line 9472 "configure" | 9645 #line 9646 "configure" |
9472 #include "confdefs.h" | 9646 #include "confdefs.h" |
9473 /* Override any gcc2 internal prototype to avoid an error. */ | 9647 /* Override any gcc2 internal prototype to avoid an error. */ |
9474 /* We use char because int might match the return type of a gcc2 | 9648 /* We use char because int might match the return type of a gcc2 |
9475 builtin and then its argument prototype would still apply. */ | 9649 builtin and then its argument prototype would still apply. */ |
9476 char dic_list_e(); | 9650 char dic_list_e(); |
9477 | 9651 |
9478 int main() { | 9652 int main() { |
9479 dic_list_e() | 9653 dic_list_e() |
9480 ; return 0; } | 9654 ; return 0; } |
9481 EOF | 9655 EOF |
9482 if { (eval echo configure:9483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9656 if { (eval echo configure:9657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9483 rm -rf conftest* | 9657 rm -rf conftest* |
9484 eval "ac_cv_lib_$ac_lib_var=yes" | 9658 eval "ac_cv_lib_$ac_lib_var=yes" |
9485 else | 9659 else |
9486 echo "configure: failed program was:" >&5 | 9660 echo "configure: failed program was:" >&5 |
9487 cat conftest.$ac_ext >&5 | 9661 cat conftest.$ac_ext >&5 |
9525 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 9699 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
9526 fi | 9700 fi |
9527 if test "$with_wnn6" != "no"; then | 9701 if test "$with_wnn6" != "no"; then |
9528 | 9702 |
9529 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 9703 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
9530 echo "configure:9531: checking for jl_fi_dic_list in -l$libwnn" >&5 | 9704 echo "configure:9705: checking for jl_fi_dic_list in -l$libwnn" >&5 |
9531 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 9705 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
9532 | 9706 |
9533 xe_check_libs=" -l$libwnn " | 9707 xe_check_libs=" -l$libwnn " |
9534 cat > conftest.$ac_ext <<EOF | 9708 cat > conftest.$ac_ext <<EOF |
9535 #line 9536 "configure" | 9709 #line 9710 "configure" |
9536 #include "confdefs.h" | 9710 #include "confdefs.h" |
9537 /* Override any gcc2 internal prototype to avoid an error. */ | 9711 /* Override any gcc2 internal prototype to avoid an error. */ |
9538 /* We use char because int might match the return type of a gcc2 | 9712 /* We use char because int might match the return type of a gcc2 |
9539 builtin and then its argument prototype would still apply. */ | 9713 builtin and then its argument prototype would still apply. */ |
9540 char jl_fi_dic_list(); | 9714 char jl_fi_dic_list(); |
9541 | 9715 |
9542 int main() { | 9716 int main() { |
9543 jl_fi_dic_list() | 9717 jl_fi_dic_list() |
9544 ; return 0; } | 9718 ; return 0; } |
9545 EOF | 9719 EOF |
9546 if { (eval echo configure:9547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9720 if { (eval echo configure:9721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9547 rm -rf conftest* | 9721 rm -rf conftest* |
9548 eval "ac_cv_lib_$ac_lib_var=yes" | 9722 eval "ac_cv_lib_$ac_lib_var=yes" |
9549 else | 9723 else |
9550 echo "configure: failed program was:" >&5 | 9724 echo "configure: failed program was:" >&5 |
9551 cat conftest.$ac_ext >&5 | 9725 cat conftest.$ac_ext >&5 |
9576 | 9750 |
9577 canna_includes_found=no | 9751 canna_includes_found=no |
9578 if test "$with_canna" != "no"; then | 9752 if test "$with_canna" != "no"; then |
9579 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9753 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
9580 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9754 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
9581 echo "configure:9582: checking for canna/jrkanji.h" >&5 | 9755 echo "configure:9756: checking for canna/jrkanji.h" >&5 |
9582 | 9756 |
9583 cat > conftest.$ac_ext <<EOF | 9757 cat > conftest.$ac_ext <<EOF |
9584 #line 9585 "configure" | 9758 #line 9759 "configure" |
9585 #include "confdefs.h" | 9759 #include "confdefs.h" |
9586 #include <canna/jrkanji.h> | 9760 #include <canna/jrkanji.h> |
9587 EOF | 9761 EOF |
9588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9762 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9589 { (eval echo configure:9590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9763 { (eval echo configure:9764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9764 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9591 if test -z "$ac_err"; then | 9765 if test -z "$ac_err"; then |
9592 rm -rf conftest* | 9766 rm -rf conftest* |
9593 eval "ac_cv_header_$ac_safe=yes" | 9767 eval "ac_cv_header_$ac_safe=yes" |
9594 else | 9768 else |
9611 -d "/usr/local/canna/include"; then | 9785 -d "/usr/local/canna/include"; then |
9612 save_c_switch_site="$c_switch_site" | 9786 save_c_switch_site="$c_switch_site" |
9613 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 9787 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
9614 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9788 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
9615 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9789 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
9616 echo "configure:9617: checking for canna/jrkanji.h" >&5 | 9790 echo "configure:9791: checking for canna/jrkanji.h" >&5 |
9617 | 9791 |
9618 cat > conftest.$ac_ext <<EOF | 9792 cat > conftest.$ac_ext <<EOF |
9619 #line 9620 "configure" | 9793 #line 9794 "configure" |
9620 #include "confdefs.h" | 9794 #include "confdefs.h" |
9621 #include <canna/jrkanji.h> | 9795 #include <canna/jrkanji.h> |
9622 EOF | 9796 EOF |
9623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9624 { (eval echo configure:9625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9798 { (eval echo configure:9799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9799 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9626 if test -z "$ac_err"; then | 9800 if test -z "$ac_err"; then |
9627 rm -rf conftest* | 9801 rm -rf conftest* |
9628 eval "ac_cv_header_$ac_safe=yes" | 9802 eval "ac_cv_header_$ac_safe=yes" |
9629 else | 9803 else |
9647 fi | 9821 fi |
9648 fi | 9822 fi |
9649 | 9823 |
9650 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 9824 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
9651 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 9825 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
9652 echo "configure:9653: checking for canna/RK.h" >&5 | 9826 echo "configure:9827: checking for canna/RK.h" >&5 |
9653 | 9827 |
9654 cat > conftest.$ac_ext <<EOF | 9828 cat > conftest.$ac_ext <<EOF |
9655 #line 9656 "configure" | 9829 #line 9830 "configure" |
9656 #include "confdefs.h" | 9830 #include "confdefs.h" |
9657 #include <canna/RK.h> | 9831 #include <canna/RK.h> |
9658 EOF | 9832 EOF |
9659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9833 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9660 { (eval echo configure:9661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9834 { (eval echo configure:9835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9835 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9662 if test -z "$ac_err"; then | 9836 if test -z "$ac_err"; then |
9663 rm -rf conftest* | 9837 rm -rf conftest* |
9664 eval "ac_cv_header_$ac_safe=yes" | 9838 eval "ac_cv_header_$ac_safe=yes" |
9665 else | 9839 else |
9678 with_canna=no | 9852 with_canna=no |
9679 fi | 9853 fi |
9680 } | 9854 } |
9681 test -z "$with_canna" && { | 9855 test -z "$with_canna" && { |
9682 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 9856 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
9683 echo "configure:9684: checking for RkBgnBun in -lRKC" >&5 | 9857 echo "configure:9858: checking for RkBgnBun in -lRKC" >&5 |
9684 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 9858 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
9685 | 9859 |
9686 xe_check_libs=" -lRKC " | 9860 xe_check_libs=" -lRKC " |
9687 cat > conftest.$ac_ext <<EOF | 9861 cat > conftest.$ac_ext <<EOF |
9688 #line 9689 "configure" | 9862 #line 9863 "configure" |
9689 #include "confdefs.h" | 9863 #include "confdefs.h" |
9690 /* Override any gcc2 internal prototype to avoid an error. */ | 9864 /* Override any gcc2 internal prototype to avoid an error. */ |
9691 /* We use char because int might match the return type of a gcc2 | 9865 /* We use char because int might match the return type of a gcc2 |
9692 builtin and then its argument prototype would still apply. */ | 9866 builtin and then its argument prototype would still apply. */ |
9693 char RkBgnBun(); | 9867 char RkBgnBun(); |
9694 | 9868 |
9695 int main() { | 9869 int main() { |
9696 RkBgnBun() | 9870 RkBgnBun() |
9697 ; return 0; } | 9871 ; return 0; } |
9698 EOF | 9872 EOF |
9699 if { (eval echo configure:9700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9873 if { (eval echo configure:9874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9700 rm -rf conftest* | 9874 rm -rf conftest* |
9701 eval "ac_cv_lib_$ac_lib_var=yes" | 9875 eval "ac_cv_lib_$ac_lib_var=yes" |
9702 else | 9876 else |
9703 echo "configure: failed program was:" >&5 | 9877 echo "configure: failed program was:" >&5 |
9704 cat conftest.$ac_ext >&5 | 9878 cat conftest.$ac_ext >&5 |
9717 fi | 9891 fi |
9718 | 9892 |
9719 } | 9893 } |
9720 test -z "$with_canna" && { | 9894 test -z "$with_canna" && { |
9721 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 9895 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
9722 echo "configure:9723: checking for jrKanjiControl in -lcanna" >&5 | 9896 echo "configure:9897: checking for jrKanjiControl in -lcanna" >&5 |
9723 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 9897 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
9724 | 9898 |
9725 xe_check_libs=" -lcanna " | 9899 xe_check_libs=" -lcanna " |
9726 cat > conftest.$ac_ext <<EOF | 9900 cat > conftest.$ac_ext <<EOF |
9727 #line 9728 "configure" | 9901 #line 9902 "configure" |
9728 #include "confdefs.h" | 9902 #include "confdefs.h" |
9729 /* Override any gcc2 internal prototype to avoid an error. */ | 9903 /* Override any gcc2 internal prototype to avoid an error. */ |
9730 /* We use char because int might match the return type of a gcc2 | 9904 /* We use char because int might match the return type of a gcc2 |
9731 builtin and then its argument prototype would still apply. */ | 9905 builtin and then its argument prototype would still apply. */ |
9732 char jrKanjiControl(); | 9906 char jrKanjiControl(); |
9733 | 9907 |
9734 int main() { | 9908 int main() { |
9735 jrKanjiControl() | 9909 jrKanjiControl() |
9736 ; return 0; } | 9910 ; return 0; } |
9737 EOF | 9911 EOF |
9738 if { (eval echo configure:9739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9912 if { (eval echo configure:9913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9739 rm -rf conftest* | 9913 rm -rf conftest* |
9740 eval "ac_cv_lib_$ac_lib_var=yes" | 9914 eval "ac_cv_lib_$ac_lib_var=yes" |
9741 else | 9915 else |
9742 echo "configure: failed program was:" >&5 | 9916 echo "configure: failed program was:" >&5 |
9743 cat conftest.$ac_ext >&5 | 9917 cat conftest.$ac_ext >&5 |
9782 | 9956 |
9783 if test "$need_motif" = "yes" ; then | 9957 if test "$need_motif" = "yes" ; then |
9784 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 9958 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
9785 | 9959 |
9786 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 9960 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
9787 echo "configure:9788: checking for layout_object_getvalue in -li18n" >&5 | 9961 echo "configure:9962: checking for layout_object_getvalue in -li18n" >&5 |
9788 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 9962 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
9789 | 9963 |
9790 xe_check_libs=" -li18n " | 9964 xe_check_libs=" -li18n " |
9791 cat > conftest.$ac_ext <<EOF | 9965 cat > conftest.$ac_ext <<EOF |
9792 #line 9793 "configure" | 9966 #line 9967 "configure" |
9793 #include "confdefs.h" | 9967 #include "confdefs.h" |
9794 /* Override any gcc2 internal prototype to avoid an error. */ | 9968 /* Override any gcc2 internal prototype to avoid an error. */ |
9795 /* We use char because int might match the return type of a gcc2 | 9969 /* We use char because int might match the return type of a gcc2 |
9796 builtin and then its argument prototype would still apply. */ | 9970 builtin and then its argument prototype would still apply. */ |
9797 char layout_object_getvalue(); | 9971 char layout_object_getvalue(); |
9798 | 9972 |
9799 int main() { | 9973 int main() { |
9800 layout_object_getvalue() | 9974 layout_object_getvalue() |
9801 ; return 0; } | 9975 ; return 0; } |
9802 EOF | 9976 EOF |
9803 if { (eval echo configure:9804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9977 if { (eval echo configure:9978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9804 rm -rf conftest* | 9978 rm -rf conftest* |
9805 eval "ac_cv_lib_$ac_lib_var=yes" | 9979 eval "ac_cv_lib_$ac_lib_var=yes" |
9806 else | 9980 else |
9807 echo "configure: failed program was:" >&5 | 9981 echo "configure: failed program was:" >&5 |
9808 cat conftest.$ac_ext >&5 | 9982 cat conftest.$ac_ext >&5 |
9884 fi | 10058 fi |
9885 | 10059 |
9886 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask | 10060 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask |
9887 do | 10061 do |
9888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9889 echo "configure:9890: checking for $ac_func" >&5 | 10063 echo "configure:10064: checking for $ac_func" >&5 |
9890 | 10064 |
9891 cat > conftest.$ac_ext <<EOF | 10065 cat > conftest.$ac_ext <<EOF |
9892 #line 9893 "configure" | 10066 #line 10067 "configure" |
9893 #include "confdefs.h" | 10067 #include "confdefs.h" |
9894 /* System header to define __stub macros and hopefully few prototypes, | 10068 /* System header to define __stub macros and hopefully few prototypes, |
9895 which can conflict with char $ac_func(); below. */ | 10069 which can conflict with char $ac_func(); below. */ |
9896 #include <assert.h> | 10070 #include <assert.h> |
9897 /* Override any gcc2 internal prototype to avoid an error. */ | 10071 /* Override any gcc2 internal prototype to avoid an error. */ |
9910 $ac_func(); | 10084 $ac_func(); |
9911 #endif | 10085 #endif |
9912 | 10086 |
9913 ; return 0; } | 10087 ; return 0; } |
9914 EOF | 10088 EOF |
9915 if { (eval echo configure:9916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10089 if { (eval echo configure:10090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9916 rm -rf conftest* | 10090 rm -rf conftest* |
9917 eval "ac_cv_func_$ac_func=yes" | 10091 eval "ac_cv_func_$ac_func=yes" |
9918 else | 10092 else |
9919 echo "configure: failed program was:" >&5 | 10093 echo "configure: failed program was:" >&5 |
9920 cat conftest.$ac_ext >&5 | 10094 cat conftest.$ac_ext >&5 |
9945 fi | 10119 fi |
9946 | 10120 |
9947 for ac_func in getloadavg | 10121 for ac_func in getloadavg |
9948 do | 10122 do |
9949 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9950 echo "configure:9951: checking for $ac_func" >&5 | 10124 echo "configure:10125: checking for $ac_func" >&5 |
9951 | 10125 |
9952 cat > conftest.$ac_ext <<EOF | 10126 cat > conftest.$ac_ext <<EOF |
9953 #line 9954 "configure" | 10127 #line 10128 "configure" |
9954 #include "confdefs.h" | 10128 #include "confdefs.h" |
9955 /* System header to define __stub macros and hopefully few prototypes, | 10129 /* System header to define __stub macros and hopefully few prototypes, |
9956 which can conflict with char $ac_func(); below. */ | 10130 which can conflict with char $ac_func(); below. */ |
9957 #include <assert.h> | 10131 #include <assert.h> |
9958 /* Override any gcc2 internal prototype to avoid an error. */ | 10132 /* Override any gcc2 internal prototype to avoid an error. */ |
9971 $ac_func(); | 10145 $ac_func(); |
9972 #endif | 10146 #endif |
9973 | 10147 |
9974 ; return 0; } | 10148 ; return 0; } |
9975 EOF | 10149 EOF |
9976 if { (eval echo configure:9977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10150 if { (eval echo configure:10151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9977 rm -rf conftest* | 10151 rm -rf conftest* |
9978 eval "ac_cv_func_$ac_func=yes" | 10152 eval "ac_cv_func_$ac_func=yes" |
9979 else | 10153 else |
9980 echo "configure: failed program was:" >&5 | 10154 echo "configure: failed program was:" >&5 |
9981 cat conftest.$ac_ext >&5 | 10155 cat conftest.$ac_ext >&5 |
10007 echo " xemacs will be linked with \"getloadavg.o\"" | 10181 echo " xemacs will be linked with \"getloadavg.o\"" |
10008 fi | 10182 fi |
10009 | 10183 |
10010 | 10184 |
10011 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 10185 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
10012 echo "configure:10013: checking for kstat_open in -lkstat" >&5 | 10186 echo "configure:10187: checking for kstat_open in -lkstat" >&5 |
10013 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 10187 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
10014 | 10188 |
10015 xe_check_libs=" -lkstat " | 10189 xe_check_libs=" -lkstat " |
10016 cat > conftest.$ac_ext <<EOF | 10190 cat > conftest.$ac_ext <<EOF |
10017 #line 10018 "configure" | 10191 #line 10192 "configure" |
10018 #include "confdefs.h" | 10192 #include "confdefs.h" |
10019 /* Override any gcc2 internal prototype to avoid an error. */ | 10193 /* Override any gcc2 internal prototype to avoid an error. */ |
10020 /* We use char because int might match the return type of a gcc2 | 10194 /* We use char because int might match the return type of a gcc2 |
10021 builtin and then its argument prototype would still apply. */ | 10195 builtin and then its argument prototype would still apply. */ |
10022 char kstat_open(); | 10196 char kstat_open(); |
10023 | 10197 |
10024 int main() { | 10198 int main() { |
10025 kstat_open() | 10199 kstat_open() |
10026 ; return 0; } | 10200 ; return 0; } |
10027 EOF | 10201 EOF |
10028 if { (eval echo configure:10029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10202 if { (eval echo configure:10203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10029 rm -rf conftest* | 10203 rm -rf conftest* |
10030 eval "ac_cv_lib_$ac_lib_var=yes" | 10204 eval "ac_cv_lib_$ac_lib_var=yes" |
10031 else | 10205 else |
10032 echo "configure: failed program was:" >&5 | 10206 echo "configure: failed program was:" >&5 |
10033 cat conftest.$ac_ext >&5 | 10207 cat conftest.$ac_ext >&5 |
10057 | 10231 |
10058 | 10232 |
10059 | 10233 |
10060 | 10234 |
10061 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 10235 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
10062 echo "configure:10063: checking for kvm_read in -lkvm" >&5 | 10236 echo "configure:10237: checking for kvm_read in -lkvm" >&5 |
10063 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 10237 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
10064 | 10238 |
10065 xe_check_libs=" -lkvm " | 10239 xe_check_libs=" -lkvm " |
10066 cat > conftest.$ac_ext <<EOF | 10240 cat > conftest.$ac_ext <<EOF |
10067 #line 10068 "configure" | 10241 #line 10242 "configure" |
10068 #include "confdefs.h" | 10242 #include "confdefs.h" |
10069 /* Override any gcc2 internal prototype to avoid an error. */ | 10243 /* Override any gcc2 internal prototype to avoid an error. */ |
10070 /* We use char because int might match the return type of a gcc2 | 10244 /* We use char because int might match the return type of a gcc2 |
10071 builtin and then its argument prototype would still apply. */ | 10245 builtin and then its argument prototype would still apply. */ |
10072 char kvm_read(); | 10246 char kvm_read(); |
10073 | 10247 |
10074 int main() { | 10248 int main() { |
10075 kvm_read() | 10249 kvm_read() |
10076 ; return 0; } | 10250 ; return 0; } |
10077 EOF | 10251 EOF |
10078 if { (eval echo configure:10079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10252 if { (eval echo configure:10253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10079 rm -rf conftest* | 10253 rm -rf conftest* |
10080 eval "ac_cv_lib_$ac_lib_var=yes" | 10254 eval "ac_cv_lib_$ac_lib_var=yes" |
10081 else | 10255 else |
10082 echo "configure: failed program was:" >&5 | 10256 echo "configure: failed program was:" >&5 |
10083 cat conftest.$ac_ext >&5 | 10257 cat conftest.$ac_ext >&5 |
10107 | 10281 |
10108 | 10282 |
10109 fi | 10283 fi |
10110 | 10284 |
10111 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 10285 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
10112 echo "configure:10113: checking whether netdb declares h_errno" >&5 | 10286 echo "configure:10287: checking whether netdb declares h_errno" >&5 |
10113 cat > conftest.$ac_ext <<EOF | 10287 cat > conftest.$ac_ext <<EOF |
10114 #line 10115 "configure" | 10288 #line 10289 "configure" |
10115 #include "confdefs.h" | 10289 #include "confdefs.h" |
10116 #include <netdb.h> | 10290 #include <netdb.h> |
10117 int main() { | 10291 int main() { |
10118 return h_errno; | 10292 return h_errno; |
10119 ; return 0; } | 10293 ; return 0; } |
10120 EOF | 10294 EOF |
10121 if { (eval echo configure:10122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10295 if { (eval echo configure:10296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10122 rm -rf conftest* | 10296 rm -rf conftest* |
10123 echo "$ac_t""yes" 1>&6 | 10297 echo "$ac_t""yes" 1>&6 |
10124 { test "$extra_verbose" = "yes" && cat << \EOF | 10298 { test "$extra_verbose" = "yes" && cat << \EOF |
10125 Defining HAVE_H_ERRNO | 10299 Defining HAVE_H_ERRNO |
10126 EOF | 10300 EOF |
10136 echo "$ac_t""no" 1>&6 | 10310 echo "$ac_t""no" 1>&6 |
10137 fi | 10311 fi |
10138 rm -f conftest* | 10312 rm -f conftest* |
10139 | 10313 |
10140 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 10314 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
10141 echo "configure:10142: checking for sigsetjmp" >&5 | 10315 echo "configure:10316: checking for sigsetjmp" >&5 |
10142 cat > conftest.$ac_ext <<EOF | 10316 cat > conftest.$ac_ext <<EOF |
10143 #line 10144 "configure" | 10317 #line 10318 "configure" |
10144 #include "confdefs.h" | 10318 #include "confdefs.h" |
10145 #include <setjmp.h> | 10319 #include <setjmp.h> |
10146 int main() { | 10320 int main() { |
10147 sigjmp_buf bar; sigsetjmp (bar, 0); | 10321 sigjmp_buf bar; sigsetjmp (bar, 0); |
10148 ; return 0; } | 10322 ; return 0; } |
10149 EOF | 10323 EOF |
10150 if { (eval echo configure:10151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10324 if { (eval echo configure:10325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10151 rm -rf conftest* | 10325 rm -rf conftest* |
10152 echo "$ac_t""yes" 1>&6 | 10326 echo "$ac_t""yes" 1>&6 |
10153 { test "$extra_verbose" = "yes" && cat << \EOF | 10327 { test "$extra_verbose" = "yes" && cat << \EOF |
10154 Defining HAVE_SIGSETJMP | 10328 Defining HAVE_SIGSETJMP |
10155 EOF | 10329 EOF |
10165 echo "$ac_t""no" 1>&6 | 10339 echo "$ac_t""no" 1>&6 |
10166 fi | 10340 fi |
10167 rm -f conftest* | 10341 rm -f conftest* |
10168 | 10342 |
10169 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 10343 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
10170 echo "configure:10171: checking whether localtime caches TZ" >&5 | 10344 echo "configure:10345: checking whether localtime caches TZ" >&5 |
10171 | 10345 |
10172 if test "$ac_cv_func_tzset" = "yes"; then | 10346 if test "$ac_cv_func_tzset" = "yes"; then |
10173 cat > conftest.$ac_ext <<EOF | 10347 cat > conftest.$ac_ext <<EOF |
10174 #line 10175 "configure" | 10348 #line 10349 "configure" |
10175 #include "confdefs.h" | 10349 #include "confdefs.h" |
10176 #include <time.h> | 10350 #include <time.h> |
10177 #if STDC_HEADERS | 10351 #if STDC_HEADERS |
10178 # include <stdlib.h> | 10352 # include <stdlib.h> |
10179 #endif | 10353 #endif |
10204 if (localtime (&now)->tm_hour != hour_unset) | 10378 if (localtime (&now)->tm_hour != hour_unset) |
10205 exit (1); | 10379 exit (1); |
10206 exit (0); | 10380 exit (0); |
10207 } | 10381 } |
10208 EOF | 10382 EOF |
10209 if { (eval echo configure:10210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10383 if { (eval echo configure:10384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10210 then | 10384 then |
10211 emacs_cv_localtime_cache=no | 10385 emacs_cv_localtime_cache=no |
10212 else | 10386 else |
10213 conftest_rc="$?" | 10387 conftest_rc="$?" |
10214 echo "configure: failed program was:" >&5 | 10388 echo "configure: failed program was:" >&5 |
10234 | 10408 |
10235 fi | 10409 fi |
10236 | 10410 |
10237 if test "$HAVE_TIMEVAL" = "yes"; then | 10411 if test "$HAVE_TIMEVAL" = "yes"; then |
10238 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 10412 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
10239 echo "configure:10240: checking whether gettimeofday accepts one or two arguments" >&5 | 10413 echo "configure:10414: checking whether gettimeofday accepts one or two arguments" >&5 |
10240 cat > conftest.$ac_ext <<EOF | 10414 cat > conftest.$ac_ext <<EOF |
10241 #line 10242 "configure" | 10415 #line 10416 "configure" |
10242 #include "confdefs.h" | 10416 #include "confdefs.h" |
10243 | 10417 |
10244 #ifdef TIME_WITH_SYS_TIME | 10418 #ifdef TIME_WITH_SYS_TIME |
10245 #include <sys/time.h> | 10419 #include <sys/time.h> |
10246 #include <time.h> | 10420 #include <time.h> |
10257 struct timeval time; | 10431 struct timeval time; |
10258 gettimeofday (&time, 0); | 10432 gettimeofday (&time, 0); |
10259 | 10433 |
10260 ; return 0; } | 10434 ; return 0; } |
10261 EOF | 10435 EOF |
10262 if { (eval echo configure:10263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10436 if { (eval echo configure:10437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10263 rm -rf conftest* | 10437 rm -rf conftest* |
10264 echo "$ac_t""two" 1>&6 | 10438 echo "$ac_t""two" 1>&6 |
10265 else | 10439 else |
10266 echo "configure: failed program was:" >&5 | 10440 echo "configure: failed program was:" >&5 |
10267 cat conftest.$ac_ext >&5 | 10441 cat conftest.$ac_ext >&5 |
10279 rm -f conftest* | 10453 rm -f conftest* |
10280 fi | 10454 fi |
10281 | 10455 |
10282 | 10456 |
10283 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 10457 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
10284 echo "configure:10285: checking for inline" >&5 | 10458 echo "configure:10459: checking for inline" >&5 |
10285 | 10459 |
10286 ac_cv_c_inline=no | 10460 ac_cv_c_inline=no |
10287 for ac_kw in inline __inline__ __inline; do | 10461 for ac_kw in inline __inline__ __inline; do |
10288 cat > conftest.$ac_ext <<EOF | 10462 cat > conftest.$ac_ext <<EOF |
10289 #line 10290 "configure" | 10463 #line 10464 "configure" |
10290 #include "confdefs.h" | 10464 #include "confdefs.h" |
10291 | 10465 |
10292 int main() { | 10466 int main() { |
10293 } $ac_kw foo() { | 10467 } $ac_kw foo() { |
10294 ; return 0; } | 10468 ; return 0; } |
10295 EOF | 10469 EOF |
10296 if { (eval echo configure:10297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10470 if { (eval echo configure:10471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10297 rm -rf conftest* | 10471 rm -rf conftest* |
10298 ac_cv_c_inline=$ac_kw; break | 10472 ac_cv_c_inline=$ac_kw; break |
10299 else | 10473 else |
10300 echo "configure: failed program was:" >&5 | 10474 echo "configure: failed program was:" >&5 |
10301 cat conftest.$ac_ext >&5 | 10475 cat conftest.$ac_ext >&5 |
10331 | 10505 |
10332 | 10506 |
10333 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 10507 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
10334 # for constant arguments. Useless! | 10508 # for constant arguments. Useless! |
10335 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 10509 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
10336 echo "configure:10337: checking for working alloca.h" >&5 | 10510 echo "configure:10511: checking for working alloca.h" >&5 |
10337 | 10511 |
10338 cat > conftest.$ac_ext <<EOF | 10512 cat > conftest.$ac_ext <<EOF |
10339 #line 10340 "configure" | 10513 #line 10514 "configure" |
10340 #include "confdefs.h" | 10514 #include "confdefs.h" |
10341 #include <alloca.h> | 10515 #include <alloca.h> |
10342 int main() { | 10516 int main() { |
10343 char *p = alloca(2 * sizeof(int)); | 10517 char *p = alloca(2 * sizeof(int)); |
10344 ; return 0; } | 10518 ; return 0; } |
10345 EOF | 10519 EOF |
10346 if { (eval echo configure:10347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10520 if { (eval echo configure:10521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10347 rm -rf conftest* | 10521 rm -rf conftest* |
10348 ac_cv_header_alloca_h=yes | 10522 ac_cv_header_alloca_h=yes |
10349 else | 10523 else |
10350 echo "configure: failed program was:" >&5 | 10524 echo "configure: failed program was:" >&5 |
10351 cat conftest.$ac_ext >&5 | 10525 cat conftest.$ac_ext >&5 |
10365 } | 10539 } |
10366 | 10540 |
10367 fi | 10541 fi |
10368 | 10542 |
10369 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 10543 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
10370 echo "configure:10371: checking for alloca" >&5 | 10544 echo "configure:10545: checking for alloca" >&5 |
10371 | 10545 |
10372 cat > conftest.$ac_ext <<EOF | 10546 cat > conftest.$ac_ext <<EOF |
10373 #line 10374 "configure" | 10547 #line 10548 "configure" |
10374 #include "confdefs.h" | 10548 #include "confdefs.h" |
10375 | 10549 |
10376 #ifdef __GNUC__ | 10550 #ifdef __GNUC__ |
10377 # define alloca __builtin_alloca | 10551 # define alloca __builtin_alloca |
10378 #else | 10552 #else |
10396 | 10570 |
10397 int main() { | 10571 int main() { |
10398 char *p = (char *) alloca(1); | 10572 char *p = (char *) alloca(1); |
10399 ; return 0; } | 10573 ; return 0; } |
10400 EOF | 10574 EOF |
10401 if { (eval echo configure:10402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10575 if { (eval echo configure:10576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10402 rm -rf conftest* | 10576 rm -rf conftest* |
10403 ac_cv_func_alloca_works=yes | 10577 ac_cv_func_alloca_works=yes |
10404 else | 10578 else |
10405 echo "configure: failed program was:" >&5 | 10579 echo "configure: failed program was:" >&5 |
10406 cat conftest.$ac_ext >&5 | 10580 cat conftest.$ac_ext >&5 |
10435 EOF | 10609 EOF |
10436 } | 10610 } |
10437 | 10611 |
10438 | 10612 |
10439 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 10613 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
10440 echo "configure:10441: checking whether alloca needs Cray hooks" >&5 | 10614 echo "configure:10615: checking whether alloca needs Cray hooks" >&5 |
10441 | 10615 |
10442 cat > conftest.$ac_ext <<EOF | 10616 cat > conftest.$ac_ext <<EOF |
10443 #line 10444 "configure" | 10617 #line 10618 "configure" |
10444 #include "confdefs.h" | 10618 #include "confdefs.h" |
10445 #if defined(CRAY) && ! defined(CRAY2) | 10619 #if defined(CRAY) && ! defined(CRAY2) |
10446 webecray | 10620 webecray |
10447 #else | 10621 #else |
10448 wenotbecray | 10622 wenotbecray |
10462 | 10636 |
10463 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 10637 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
10464 if test $ac_cv_os_cray = yes; then | 10638 if test $ac_cv_os_cray = yes; then |
10465 for ac_func in _getb67 GETB67 getb67; do | 10639 for ac_func in _getb67 GETB67 getb67; do |
10466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10640 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10467 echo "configure:10468: checking for $ac_func" >&5 | 10641 echo "configure:10642: checking for $ac_func" >&5 |
10468 | 10642 |
10469 cat > conftest.$ac_ext <<EOF | 10643 cat > conftest.$ac_ext <<EOF |
10470 #line 10471 "configure" | 10644 #line 10645 "configure" |
10471 #include "confdefs.h" | 10645 #include "confdefs.h" |
10472 /* System header to define __stub macros and hopefully few prototypes, | 10646 /* System header to define __stub macros and hopefully few prototypes, |
10473 which can conflict with char $ac_func(); below. */ | 10647 which can conflict with char $ac_func(); below. */ |
10474 #include <assert.h> | 10648 #include <assert.h> |
10475 /* Override any gcc2 internal prototype to avoid an error. */ | 10649 /* Override any gcc2 internal prototype to avoid an error. */ |
10488 $ac_func(); | 10662 $ac_func(); |
10489 #endif | 10663 #endif |
10490 | 10664 |
10491 ; return 0; } | 10665 ; return 0; } |
10492 EOF | 10666 EOF |
10493 if { (eval echo configure:10494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10667 if { (eval echo configure:10668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10494 rm -rf conftest* | 10668 rm -rf conftest* |
10495 eval "ac_cv_func_$ac_func=yes" | 10669 eval "ac_cv_func_$ac_func=yes" |
10496 else | 10670 else |
10497 echo "configure: failed program was:" >&5 | 10671 echo "configure: failed program was:" >&5 |
10498 cat conftest.$ac_ext >&5 | 10672 cat conftest.$ac_ext >&5 |
10518 | 10692 |
10519 done | 10693 done |
10520 fi | 10694 fi |
10521 | 10695 |
10522 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 10696 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
10523 echo "configure:10524: checking stack direction for C alloca" >&5 | 10697 echo "configure:10698: checking stack direction for C alloca" >&5 |
10524 | 10698 |
10525 cat > conftest.$ac_ext <<EOF | 10699 cat > conftest.$ac_ext <<EOF |
10526 #line 10527 "configure" | 10700 #line 10701 "configure" |
10527 #include "confdefs.h" | 10701 #include "confdefs.h" |
10528 find_stack_direction () | 10702 find_stack_direction () |
10529 { | 10703 { |
10530 static char *addr = 0; | 10704 static char *addr = 0; |
10531 auto char dummy; | 10705 auto char dummy; |
10540 main () | 10714 main () |
10541 { | 10715 { |
10542 exit (find_stack_direction() < 0); | 10716 exit (find_stack_direction() < 0); |
10543 } | 10717 } |
10544 EOF | 10718 EOF |
10545 if { (eval echo configure:10546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10719 if { (eval echo configure:10720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10546 then | 10720 then |
10547 ac_cv_c_stack_direction=1 | 10721 ac_cv_c_stack_direction=1 |
10548 else | 10722 else |
10549 conftest_rc="$?" | 10723 conftest_rc="$?" |
10550 echo "configure: failed program was:" >&5 | 10724 echo "configure: failed program was:" >&5 |
10569 echo " xemacs will be linked with \"$ALLOCA\"" | 10743 echo " xemacs will be linked with \"$ALLOCA\"" |
10570 fi | 10744 fi |
10571 | 10745 |
10572 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 10746 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
10573 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 10747 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
10574 echo "configure:10575: checking for vfork.h" >&5 | 10748 echo "configure:10749: checking for vfork.h" >&5 |
10575 | 10749 |
10576 cat > conftest.$ac_ext <<EOF | 10750 cat > conftest.$ac_ext <<EOF |
10577 #line 10578 "configure" | 10751 #line 10752 "configure" |
10578 #include "confdefs.h" | 10752 #include "confdefs.h" |
10579 #include <vfork.h> | 10753 #include <vfork.h> |
10580 EOF | 10754 EOF |
10581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10755 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10582 { (eval echo configure:10583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10756 { (eval echo configure:10757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10757 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10584 if test -z "$ac_err"; then | 10758 if test -z "$ac_err"; then |
10585 rm -rf conftest* | 10759 rm -rf conftest* |
10586 eval "ac_cv_header_$ac_safe=yes" | 10760 eval "ac_cv_header_$ac_safe=yes" |
10587 else | 10761 else |
10605 else | 10779 else |
10606 echo "$ac_t""no" 1>&6 | 10780 echo "$ac_t""no" 1>&6 |
10607 fi | 10781 fi |
10608 | 10782 |
10609 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 10783 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
10610 echo "configure:10611: checking for working vfork" >&5 | 10784 echo "configure:10785: checking for working vfork" >&5 |
10611 | 10785 |
10612 cat > conftest.$ac_ext <<EOF | 10786 cat > conftest.$ac_ext <<EOF |
10613 #line 10614 "configure" | 10787 #line 10788 "configure" |
10614 #include "confdefs.h" | 10788 #include "confdefs.h" |
10615 /* Thanks to Paul Eggert for this test. */ | 10789 /* Thanks to Paul Eggert for this test. */ |
10616 #include <stdio.h> | 10790 #include <stdio.h> |
10617 #include <sys/types.h> | 10791 #include <sys/types.h> |
10618 #include <sys/stat.h> | 10792 #include <sys/stat.h> |
10703 || fstat(fileno(stdout), &st) != 0 | 10877 || fstat(fileno(stdout), &st) != 0 |
10704 ); | 10878 ); |
10705 } | 10879 } |
10706 } | 10880 } |
10707 EOF | 10881 EOF |
10708 if { (eval echo configure:10709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10882 if { (eval echo configure:10883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10709 then | 10883 then |
10710 ac_cv_func_vfork_works=yes | 10884 ac_cv_func_vfork_works=yes |
10711 else | 10885 else |
10712 conftest_rc="$?" | 10886 conftest_rc="$?" |
10713 echo "configure: failed program was:" >&5 | 10887 echo "configure: failed program was:" >&5 |
10729 | 10903 |
10730 fi | 10904 fi |
10731 | 10905 |
10732 | 10906 |
10733 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 10907 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
10734 echo "configure:10735: checking for working strcoll" >&5 | 10908 echo "configure:10909: checking for working strcoll" >&5 |
10735 | 10909 |
10736 cat > conftest.$ac_ext <<EOF | 10910 cat > conftest.$ac_ext <<EOF |
10737 #line 10738 "configure" | 10911 #line 10912 "configure" |
10738 #include "confdefs.h" | 10912 #include "confdefs.h" |
10739 #include <string.h> | 10913 #include <string.h> |
10740 main () | 10914 main () |
10741 { | 10915 { |
10742 exit (strcoll ("abc", "def") >= 0 || | 10916 exit (strcoll ("abc", "def") >= 0 || |
10743 strcoll ("ABC", "DEF") >= 0 || | 10917 strcoll ("ABC", "DEF") >= 0 || |
10744 strcoll ("123", "456") >= 0); | 10918 strcoll ("123", "456") >= 0); |
10745 } | 10919 } |
10746 EOF | 10920 EOF |
10747 if { (eval echo configure:10748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10921 if { (eval echo configure:10922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10748 then | 10922 then |
10749 ac_cv_func_strcoll_works=yes | 10923 ac_cv_func_strcoll_works=yes |
10750 else | 10924 else |
10751 conftest_rc="$?" | 10925 conftest_rc="$?" |
10752 echo "configure: failed program was:" >&5 | 10926 echo "configure: failed program was:" >&5 |
10770 | 10944 |
10771 | 10945 |
10772 for ac_func in getpgrp | 10946 for ac_func in getpgrp |
10773 do | 10947 do |
10774 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10775 echo "configure:10776: checking for $ac_func" >&5 | 10949 echo "configure:10950: checking for $ac_func" >&5 |
10776 | 10950 |
10777 cat > conftest.$ac_ext <<EOF | 10951 cat > conftest.$ac_ext <<EOF |
10778 #line 10779 "configure" | 10952 #line 10953 "configure" |
10779 #include "confdefs.h" | 10953 #include "confdefs.h" |
10780 /* System header to define __stub macros and hopefully few prototypes, | 10954 /* System header to define __stub macros and hopefully few prototypes, |
10781 which can conflict with char $ac_func(); below. */ | 10955 which can conflict with char $ac_func(); below. */ |
10782 #include <assert.h> | 10956 #include <assert.h> |
10783 /* Override any gcc2 internal prototype to avoid an error. */ | 10957 /* Override any gcc2 internal prototype to avoid an error. */ |
10796 $ac_func(); | 10970 $ac_func(); |
10797 #endif | 10971 #endif |
10798 | 10972 |
10799 ; return 0; } | 10973 ; return 0; } |
10800 EOF | 10974 EOF |
10801 if { (eval echo configure:10802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10975 if { (eval echo configure:10976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10802 rm -rf conftest* | 10976 rm -rf conftest* |
10803 eval "ac_cv_func_$ac_func=yes" | 10977 eval "ac_cv_func_$ac_func=yes" |
10804 else | 10978 else |
10805 echo "configure: failed program was:" >&5 | 10979 echo "configure: failed program was:" >&5 |
10806 cat conftest.$ac_ext >&5 | 10980 cat conftest.$ac_ext >&5 |
10824 echo "$ac_t""no" 1>&6 | 10998 echo "$ac_t""no" 1>&6 |
10825 fi | 10999 fi |
10826 done | 11000 done |
10827 | 11001 |
10828 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 11002 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
10829 echo "configure:10830: checking whether getpgrp takes no argument" >&5 | 11003 echo "configure:11004: checking whether getpgrp takes no argument" >&5 |
10830 | 11004 |
10831 cat > conftest.$ac_ext <<EOF | 11005 cat > conftest.$ac_ext <<EOF |
10832 #line 10833 "configure" | 11006 #line 11007 "configure" |
10833 #include "confdefs.h" | 11007 #include "confdefs.h" |
10834 | 11008 |
10835 /* | 11009 /* |
10836 * If this system has a BSD-style getpgrp(), | 11010 * If this system has a BSD-style getpgrp(), |
10837 * which takes a pid argument, exit unsuccessfully. | 11011 * which takes a pid argument, exit unsuccessfully. |
10882 exit(s>>8); | 11056 exit(s>>8); |
10883 } | 11057 } |
10884 } | 11058 } |
10885 | 11059 |
10886 EOF | 11060 EOF |
10887 if { (eval echo configure:10888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11061 if { (eval echo configure:11062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10888 then | 11062 then |
10889 ac_cv_func_getpgrp_void=yes | 11063 ac_cv_func_getpgrp_void=yes |
10890 else | 11064 else |
10891 conftest_rc="$?" | 11065 conftest_rc="$?" |
10892 echo "configure: failed program was:" >&5 | 11066 echo "configure: failed program was:" >&5 |
10909 | 11083 |
10910 fi | 11084 fi |
10911 | 11085 |
10912 | 11086 |
10913 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 11087 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
10914 echo "configure:10915: checking for working mmap" >&5 | 11088 echo "configure:11089: checking for working mmap" >&5 |
10915 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 11089 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
10916 cat > conftest.$ac_ext <<EOF | 11090 cat > conftest.$ac_ext <<EOF |
10917 #line 10918 "configure" | 11091 #line 11092 "configure" |
10918 #include "confdefs.h" | 11092 #include "confdefs.h" |
10919 #include <stdio.h> | 11093 #include <stdio.h> |
10920 #include <unistd.h> | 11094 #include <unistd.h> |
10921 #include <fcntl.h> | 11095 #include <fcntl.h> |
10922 #include <sys/mman.h> | 11096 #include <sys/mman.h> |
10945 return 0; | 11119 return 0; |
10946 perror ("conftest: mmap failed"); | 11120 perror ("conftest: mmap failed"); |
10947 return 1; | 11121 return 1; |
10948 } | 11122 } |
10949 EOF | 11123 EOF |
10950 if { (eval echo configure:10951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 11124 if { (eval echo configure:11125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10951 then | 11125 then |
10952 have_mmap=yes | 11126 have_mmap=yes |
10953 else | 11127 else |
10954 conftest_rc="$?" | 11128 conftest_rc="$?" |
10955 echo "configure: failed program was:" >&5 | 11129 echo "configure: failed program was:" >&5 |
10971 | 11145 |
10972 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 11146 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
10973 if test "$rel_alloc $have_mmap" = "default yes"; then | 11147 if test "$rel_alloc $have_mmap" = "default yes"; then |
10974 if test "$doug_lea_malloc" = "yes"; then | 11148 if test "$doug_lea_malloc" = "yes"; then |
10975 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 11149 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
10976 echo "configure:10977: checking for M_MMAP_THRESHOLD" >&5 | 11150 echo "configure:11151: checking for M_MMAP_THRESHOLD" >&5 |
10977 cat > conftest.$ac_ext <<EOF | 11151 cat > conftest.$ac_ext <<EOF |
10978 #line 10979 "configure" | 11152 #line 11153 "configure" |
10979 #include "confdefs.h" | 11153 #include "confdefs.h" |
10980 #include <malloc.h> | 11154 #include <malloc.h> |
10981 int main() { | 11155 int main() { |
10982 | 11156 |
10983 #ifndef M_MMAP_THRESHOLD | 11157 #ifndef M_MMAP_THRESHOLD |
10985 !@+$%^&*_)(_ - unlikely to compile... | 11159 !@+$%^&*_)(_ - unlikely to compile... |
10986 #endif | 11160 #endif |
10987 | 11161 |
10988 ; return 0; } | 11162 ; return 0; } |
10989 EOF | 11163 EOF |
10990 if { (eval echo configure:10991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 11164 if { (eval echo configure:11165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10991 rm -rf conftest* | 11165 rm -rf conftest* |
10992 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 11166 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
10993 else | 11167 else |
10994 echo "configure: failed program was:" >&5 | 11168 echo "configure: failed program was:" >&5 |
10995 cat conftest.$ac_ext >&5 | 11169 cat conftest.$ac_ext >&5 |
11010 } | 11184 } |
11011 | 11185 |
11012 | 11186 |
11013 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 11187 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
11014 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 11188 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
11015 echo "configure:11016: checking for termios.h" >&5 | 11189 echo "configure:11190: checking for termios.h" >&5 |
11016 | 11190 |
11017 cat > conftest.$ac_ext <<EOF | 11191 cat > conftest.$ac_ext <<EOF |
11018 #line 11019 "configure" | 11192 #line 11193 "configure" |
11019 #include "confdefs.h" | 11193 #include "confdefs.h" |
11020 #include <termios.h> | 11194 #include <termios.h> |
11021 EOF | 11195 EOF |
11022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11196 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11023 { (eval echo configure:11024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11197 { (eval echo configure:11198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11198 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11025 if test -z "$ac_err"; then | 11199 if test -z "$ac_err"; then |
11026 rm -rf conftest* | 11200 rm -rf conftest* |
11027 eval "ac_cv_header_$ac_safe=yes" | 11201 eval "ac_cv_header_$ac_safe=yes" |
11028 else | 11202 else |
11061 | 11235 |
11062 else | 11236 else |
11063 echo "$ac_t""no" 1>&6 | 11237 echo "$ac_t""no" 1>&6 |
11064 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 11238 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
11065 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 11239 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
11066 echo "configure:11067: checking for termio.h" >&5 | 11240 echo "configure:11241: checking for termio.h" >&5 |
11067 | 11241 |
11068 cat > conftest.$ac_ext <<EOF | 11242 cat > conftest.$ac_ext <<EOF |
11069 #line 11070 "configure" | 11243 #line 11244 "configure" |
11070 #include "confdefs.h" | 11244 #include "confdefs.h" |
11071 #include <termio.h> | 11245 #include <termio.h> |
11072 EOF | 11246 EOF |
11073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11074 { (eval echo configure:11075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11248 { (eval echo configure:11249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11249 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11076 if test -z "$ac_err"; then | 11250 if test -z "$ac_err"; then |
11077 rm -rf conftest* | 11251 rm -rf conftest* |
11078 eval "ac_cv_header_$ac_safe=yes" | 11252 eval "ac_cv_header_$ac_safe=yes" |
11079 else | 11253 else |
11101 fi | 11275 fi |
11102 | 11276 |
11103 | 11277 |
11104 | 11278 |
11105 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 11279 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
11106 echo "configure:11107: checking for socket" >&5 | 11280 echo "configure:11281: checking for socket" >&5 |
11107 | 11281 |
11108 cat > conftest.$ac_ext <<EOF | 11282 cat > conftest.$ac_ext <<EOF |
11109 #line 11110 "configure" | 11283 #line 11284 "configure" |
11110 #include "confdefs.h" | 11284 #include "confdefs.h" |
11111 /* System header to define __stub macros and hopefully few prototypes, | 11285 /* System header to define __stub macros and hopefully few prototypes, |
11112 which can conflict with char socket(); below. */ | 11286 which can conflict with char socket(); below. */ |
11113 #include <assert.h> | 11287 #include <assert.h> |
11114 /* Override any gcc2 internal prototype to avoid an error. */ | 11288 /* Override any gcc2 internal prototype to avoid an error. */ |
11127 socket(); | 11301 socket(); |
11128 #endif | 11302 #endif |
11129 | 11303 |
11130 ; return 0; } | 11304 ; return 0; } |
11131 EOF | 11305 EOF |
11132 if { (eval echo configure:11133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11306 if { (eval echo configure:11307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11133 rm -rf conftest* | 11307 rm -rf conftest* |
11134 eval "ac_cv_func_socket=yes" | 11308 eval "ac_cv_func_socket=yes" |
11135 else | 11309 else |
11136 echo "configure: failed program was:" >&5 | 11310 echo "configure: failed program was:" >&5 |
11137 cat conftest.$ac_ext >&5 | 11311 cat conftest.$ac_ext >&5 |
11142 | 11316 |
11143 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 11317 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
11144 echo "$ac_t""yes" 1>&6 | 11318 echo "$ac_t""yes" 1>&6 |
11145 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 11319 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
11146 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 11320 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
11147 echo "configure:11148: checking for netinet/in.h" >&5 | 11321 echo "configure:11322: checking for netinet/in.h" >&5 |
11148 | 11322 |
11149 cat > conftest.$ac_ext <<EOF | 11323 cat > conftest.$ac_ext <<EOF |
11150 #line 11151 "configure" | 11324 #line 11325 "configure" |
11151 #include "confdefs.h" | 11325 #include "confdefs.h" |
11152 #include <netinet/in.h> | 11326 #include <netinet/in.h> |
11153 EOF | 11327 EOF |
11154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11328 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11155 { (eval echo configure:11156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11329 { (eval echo configure:11330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11330 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11157 if test -z "$ac_err"; then | 11331 if test -z "$ac_err"; then |
11158 rm -rf conftest* | 11332 rm -rf conftest* |
11159 eval "ac_cv_header_$ac_safe=yes" | 11333 eval "ac_cv_header_$ac_safe=yes" |
11160 else | 11334 else |
11167 rm -f conftest* | 11341 rm -f conftest* |
11168 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11342 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11169 echo "$ac_t""yes" 1>&6 | 11343 echo "$ac_t""yes" 1>&6 |
11170 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 11344 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
11171 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 11345 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
11172 echo "configure:11173: checking for arpa/inet.h" >&5 | 11346 echo "configure:11347: checking for arpa/inet.h" >&5 |
11173 | 11347 |
11174 cat > conftest.$ac_ext <<EOF | 11348 cat > conftest.$ac_ext <<EOF |
11175 #line 11176 "configure" | 11349 #line 11350 "configure" |
11176 #include "confdefs.h" | 11350 #include "confdefs.h" |
11177 #include <arpa/inet.h> | 11351 #include <arpa/inet.h> |
11178 EOF | 11352 EOF |
11179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11180 { (eval echo configure:11181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11354 { (eval echo configure:11355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11182 if test -z "$ac_err"; then | 11356 if test -z "$ac_err"; then |
11183 rm -rf conftest* | 11357 rm -rf conftest* |
11184 eval "ac_cv_header_$ac_safe=yes" | 11358 eval "ac_cv_header_$ac_safe=yes" |
11185 else | 11359 else |
11200 #define HAVE_SOCKETS 1 | 11374 #define HAVE_SOCKETS 1 |
11201 EOF | 11375 EOF |
11202 } | 11376 } |
11203 | 11377 |
11204 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 11378 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
11205 echo "configure:11206: checking "for sun_len member in struct sockaddr_un"" >&5 | 11379 echo "configure:11380: checking "for sun_len member in struct sockaddr_un"" >&5 |
11206 cat > conftest.$ac_ext <<EOF | 11380 cat > conftest.$ac_ext <<EOF |
11207 #line 11208 "configure" | 11381 #line 11382 "configure" |
11208 #include "confdefs.h" | 11382 #include "confdefs.h" |
11209 | 11383 |
11210 #include <sys/types.h> | 11384 #include <sys/types.h> |
11211 #include <sys/socket.h> | 11385 #include <sys/socket.h> |
11212 #include <sys/un.h> | 11386 #include <sys/un.h> |
11213 | 11387 |
11214 int main() { | 11388 int main() { |
11215 static struct sockaddr_un x; x.sun_len = 1; | 11389 static struct sockaddr_un x; x.sun_len = 1; |
11216 ; return 0; } | 11390 ; return 0; } |
11217 EOF | 11391 EOF |
11218 if { (eval echo configure:11219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11392 if { (eval echo configure:11393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11219 rm -rf conftest* | 11393 rm -rf conftest* |
11220 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11394 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
11221 Defining HAVE_SOCKADDR_SUN_LEN | 11395 Defining HAVE_SOCKADDR_SUN_LEN |
11222 EOF | 11396 EOF |
11223 cat >> confdefs.h <<\EOF | 11397 cat >> confdefs.h <<\EOF |
11231 rm -rf conftest* | 11405 rm -rf conftest* |
11232 echo "$ac_t""no" 1>&6 | 11406 echo "$ac_t""no" 1>&6 |
11233 fi | 11407 fi |
11234 rm -f conftest* | 11408 rm -f conftest* |
11235 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 11409 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
11236 echo "configure:11237: checking "for ip_mreq struct in netinet/in.h"" >&5 | 11410 echo "configure:11411: checking "for ip_mreq struct in netinet/in.h"" >&5 |
11237 cat > conftest.$ac_ext <<EOF | 11411 cat > conftest.$ac_ext <<EOF |
11238 #line 11239 "configure" | 11412 #line 11413 "configure" |
11239 #include "confdefs.h" | 11413 #include "confdefs.h" |
11240 | 11414 |
11241 #include <sys/types.h> | 11415 #include <sys/types.h> |
11242 #include <netinet/in.h> | 11416 #include <netinet/in.h> |
11243 | 11417 |
11244 int main() { | 11418 int main() { |
11245 static struct ip_mreq x; | 11419 static struct ip_mreq x; |
11246 ; return 0; } | 11420 ; return 0; } |
11247 EOF | 11421 EOF |
11248 if { (eval echo configure:11249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11422 if { (eval echo configure:11423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11249 rm -rf conftest* | 11423 rm -rf conftest* |
11250 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11424 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
11251 Defining HAVE_MULTICAST | 11425 Defining HAVE_MULTICAST |
11252 EOF | 11426 EOF |
11253 cat >> confdefs.h <<\EOF | 11427 cat >> confdefs.h <<\EOF |
11274 echo "$ac_t""no" 1>&6 | 11448 echo "$ac_t""no" 1>&6 |
11275 fi | 11449 fi |
11276 | 11450 |
11277 | 11451 |
11278 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 11452 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
11279 echo "configure:11280: checking for msgget" >&5 | 11453 echo "configure:11454: checking for msgget" >&5 |
11280 | 11454 |
11281 cat > conftest.$ac_ext <<EOF | 11455 cat > conftest.$ac_ext <<EOF |
11282 #line 11283 "configure" | 11456 #line 11457 "configure" |
11283 #include "confdefs.h" | 11457 #include "confdefs.h" |
11284 /* System header to define __stub macros and hopefully few prototypes, | 11458 /* System header to define __stub macros and hopefully few prototypes, |
11285 which can conflict with char msgget(); below. */ | 11459 which can conflict with char msgget(); below. */ |
11286 #include <assert.h> | 11460 #include <assert.h> |
11287 /* Override any gcc2 internal prototype to avoid an error. */ | 11461 /* Override any gcc2 internal prototype to avoid an error. */ |
11300 msgget(); | 11474 msgget(); |
11301 #endif | 11475 #endif |
11302 | 11476 |
11303 ; return 0; } | 11477 ; return 0; } |
11304 EOF | 11478 EOF |
11305 if { (eval echo configure:11306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11479 if { (eval echo configure:11480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11306 rm -rf conftest* | 11480 rm -rf conftest* |
11307 eval "ac_cv_func_msgget=yes" | 11481 eval "ac_cv_func_msgget=yes" |
11308 else | 11482 else |
11309 echo "configure: failed program was:" >&5 | 11483 echo "configure: failed program was:" >&5 |
11310 cat conftest.$ac_ext >&5 | 11484 cat conftest.$ac_ext >&5 |
11315 | 11489 |
11316 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 11490 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
11317 echo "$ac_t""yes" 1>&6 | 11491 echo "$ac_t""yes" 1>&6 |
11318 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 11492 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
11319 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 11493 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
11320 echo "configure:11321: checking for sys/ipc.h" >&5 | 11494 echo "configure:11495: checking for sys/ipc.h" >&5 |
11321 | 11495 |
11322 cat > conftest.$ac_ext <<EOF | 11496 cat > conftest.$ac_ext <<EOF |
11323 #line 11324 "configure" | 11497 #line 11498 "configure" |
11324 #include "confdefs.h" | 11498 #include "confdefs.h" |
11325 #include <sys/ipc.h> | 11499 #include <sys/ipc.h> |
11326 EOF | 11500 EOF |
11327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11328 { (eval echo configure:11329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11502 { (eval echo configure:11503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11330 if test -z "$ac_err"; then | 11504 if test -z "$ac_err"; then |
11331 rm -rf conftest* | 11505 rm -rf conftest* |
11332 eval "ac_cv_header_$ac_safe=yes" | 11506 eval "ac_cv_header_$ac_safe=yes" |
11333 else | 11507 else |
11340 rm -f conftest* | 11514 rm -f conftest* |
11341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11515 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11342 echo "$ac_t""yes" 1>&6 | 11516 echo "$ac_t""yes" 1>&6 |
11343 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 11517 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
11344 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 11518 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
11345 echo "configure:11346: checking for sys/msg.h" >&5 | 11519 echo "configure:11520: checking for sys/msg.h" >&5 |
11346 | 11520 |
11347 cat > conftest.$ac_ext <<EOF | 11521 cat > conftest.$ac_ext <<EOF |
11348 #line 11349 "configure" | 11522 #line 11523 "configure" |
11349 #include "confdefs.h" | 11523 #include "confdefs.h" |
11350 #include <sys/msg.h> | 11524 #include <sys/msg.h> |
11351 EOF | 11525 EOF |
11352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11353 { (eval echo configure:11354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11527 { (eval echo configure:11528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11355 if test -z "$ac_err"; then | 11529 if test -z "$ac_err"; then |
11356 rm -rf conftest* | 11530 rm -rf conftest* |
11357 eval "ac_cv_header_$ac_safe=yes" | 11531 eval "ac_cv_header_$ac_safe=yes" |
11358 else | 11532 else |
11386 fi | 11560 fi |
11387 | 11561 |
11388 | 11562 |
11389 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 11563 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
11390 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 11564 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
11391 echo "configure:11392: checking for dirent.h" >&5 | 11565 echo "configure:11566: checking for dirent.h" >&5 |
11392 | 11566 |
11393 cat > conftest.$ac_ext <<EOF | 11567 cat > conftest.$ac_ext <<EOF |
11394 #line 11395 "configure" | 11568 #line 11569 "configure" |
11395 #include "confdefs.h" | 11569 #include "confdefs.h" |
11396 #include <dirent.h> | 11570 #include <dirent.h> |
11397 EOF | 11571 EOF |
11398 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11572 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11399 { (eval echo configure:11400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11573 { (eval echo configure:11574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11400 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11574 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11401 if test -z "$ac_err"; then | 11575 if test -z "$ac_err"; then |
11402 rm -rf conftest* | 11576 rm -rf conftest* |
11403 eval "ac_cv_header_$ac_safe=yes" | 11577 eval "ac_cv_header_$ac_safe=yes" |
11404 else | 11578 else |
11421 | 11595 |
11422 else | 11596 else |
11423 echo "$ac_t""no" 1>&6 | 11597 echo "$ac_t""no" 1>&6 |
11424 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 11598 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
11425 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 11599 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
11426 echo "configure:11427: checking for sys/dir.h" >&5 | 11600 echo "configure:11601: checking for sys/dir.h" >&5 |
11427 | 11601 |
11428 cat > conftest.$ac_ext <<EOF | 11602 cat > conftest.$ac_ext <<EOF |
11429 #line 11430 "configure" | 11603 #line 11604 "configure" |
11430 #include "confdefs.h" | 11604 #include "confdefs.h" |
11431 #include <sys/dir.h> | 11605 #include <sys/dir.h> |
11432 EOF | 11606 EOF |
11433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11434 { (eval echo configure:11435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11608 { (eval echo configure:11609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11436 if test -z "$ac_err"; then | 11610 if test -z "$ac_err"; then |
11437 rm -rf conftest* | 11611 rm -rf conftest* |
11438 eval "ac_cv_header_$ac_safe=yes" | 11612 eval "ac_cv_header_$ac_safe=yes" |
11439 else | 11613 else |
11462 fi | 11636 fi |
11463 | 11637 |
11464 | 11638 |
11465 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 11639 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
11466 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 11640 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
11467 echo "configure:11468: checking for nlist.h" >&5 | 11641 echo "configure:11642: checking for nlist.h" >&5 |
11468 | 11642 |
11469 cat > conftest.$ac_ext <<EOF | 11643 cat > conftest.$ac_ext <<EOF |
11470 #line 11471 "configure" | 11644 #line 11645 "configure" |
11471 #include "confdefs.h" | 11645 #include "confdefs.h" |
11472 #include <nlist.h> | 11646 #include <nlist.h> |
11473 EOF | 11647 EOF |
11474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11648 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11475 { (eval echo configure:11476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11649 { (eval echo configure:11650: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11476 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11650 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11477 if test -z "$ac_err"; then | 11651 if test -z "$ac_err"; then |
11478 rm -rf conftest* | 11652 rm -rf conftest* |
11479 eval "ac_cv_header_$ac_safe=yes" | 11653 eval "ac_cv_header_$ac_safe=yes" |
11480 else | 11654 else |
11500 fi | 11674 fi |
11501 | 11675 |
11502 | 11676 |
11503 | 11677 |
11504 echo "checking "for sound support"" 1>&6 | 11678 echo "checking "for sound support"" 1>&6 |
11505 echo "configure:11506: checking "for sound support"" >&5 | 11679 echo "configure:11680: checking "for sound support"" >&5 |
11506 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 11680 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
11507 | 11681 |
11508 if test "$with_native_sound" != "no"; then | 11682 if test "$with_native_sound" != "no"; then |
11509 if test -n "$native_sound_lib"; then | 11683 if test -n "$native_sound_lib"; then |
11510 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 11684 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
11511 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 11685 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
11512 echo "configure:11513: checking for multimedia/audio_device.h" >&5 | 11686 echo "configure:11687: checking for multimedia/audio_device.h" >&5 |
11513 | 11687 |
11514 cat > conftest.$ac_ext <<EOF | 11688 cat > conftest.$ac_ext <<EOF |
11515 #line 11516 "configure" | 11689 #line 11690 "configure" |
11516 #include "confdefs.h" | 11690 #include "confdefs.h" |
11517 #include <multimedia/audio_device.h> | 11691 #include <multimedia/audio_device.h> |
11518 EOF | 11692 EOF |
11519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11520 { (eval echo configure:11521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11694 { (eval echo configure:11695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11522 if test -z "$ac_err"; then | 11696 if test -z "$ac_err"; then |
11523 rm -rf conftest* | 11697 rm -rf conftest* |
11524 eval "ac_cv_header_$ac_safe=yes" | 11698 eval "ac_cv_header_$ac_safe=yes" |
11525 else | 11699 else |
11563 case "$canonical" in | 11737 case "$canonical" in |
11564 *-sgi-* ) | 11738 *-sgi-* ) |
11565 if test -z "$native_sound_lib"; then | 11739 if test -z "$native_sound_lib"; then |
11566 | 11740 |
11567 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 11741 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
11568 echo "configure:11569: checking for ALopenport in -laudio" >&5 | 11742 echo "configure:11743: checking for ALopenport in -laudio" >&5 |
11569 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 11743 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
11570 | 11744 |
11571 xe_check_libs=" -laudio " | 11745 xe_check_libs=" -laudio " |
11572 cat > conftest.$ac_ext <<EOF | 11746 cat > conftest.$ac_ext <<EOF |
11573 #line 11574 "configure" | 11747 #line 11748 "configure" |
11574 #include "confdefs.h" | 11748 #include "confdefs.h" |
11575 /* Override any gcc2 internal prototype to avoid an error. */ | 11749 /* Override any gcc2 internal prototype to avoid an error. */ |
11576 /* We use char because int might match the return type of a gcc2 | 11750 /* We use char because int might match the return type of a gcc2 |
11577 builtin and then its argument prototype would still apply. */ | 11751 builtin and then its argument prototype would still apply. */ |
11578 char ALopenport(); | 11752 char ALopenport(); |
11579 | 11753 |
11580 int main() { | 11754 int main() { |
11581 ALopenport() | 11755 ALopenport() |
11582 ; return 0; } | 11756 ; return 0; } |
11583 EOF | 11757 EOF |
11584 if { (eval echo configure:11585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11758 if { (eval echo configure:11759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11585 rm -rf conftest* | 11759 rm -rf conftest* |
11586 eval "ac_cv_lib_$ac_lib_var=yes" | 11760 eval "ac_cv_lib_$ac_lib_var=yes" |
11587 else | 11761 else |
11588 echo "configure: failed program was:" >&5 | 11762 echo "configure: failed program was:" >&5 |
11589 cat conftest.$ac_ext >&5 | 11763 cat conftest.$ac_ext >&5 |
11610 fi ;; | 11784 fi ;; |
11611 hppa*-hp-hpux* ) | 11785 hppa*-hp-hpux* ) |
11612 if test -z "$native_sound_lib"; then | 11786 if test -z "$native_sound_lib"; then |
11613 | 11787 |
11614 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 11788 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
11615 echo "configure:11616: checking for AOpenAudio in -lAlib" >&5 | 11789 echo "configure:11790: checking for AOpenAudio in -lAlib" >&5 |
11616 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 11790 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
11617 | 11791 |
11618 xe_check_libs=" -lAlib " | 11792 xe_check_libs=" -lAlib " |
11619 cat > conftest.$ac_ext <<EOF | 11793 cat > conftest.$ac_ext <<EOF |
11620 #line 11621 "configure" | 11794 #line 11795 "configure" |
11621 #include "confdefs.h" | 11795 #include "confdefs.h" |
11622 /* Override any gcc2 internal prototype to avoid an error. */ | 11796 /* Override any gcc2 internal prototype to avoid an error. */ |
11623 /* We use char because int might match the return type of a gcc2 | 11797 /* We use char because int might match the return type of a gcc2 |
11624 builtin and then its argument prototype would still apply. */ | 11798 builtin and then its argument prototype would still apply. */ |
11625 char AOpenAudio(); | 11799 char AOpenAudio(); |
11626 | 11800 |
11627 int main() { | 11801 int main() { |
11628 AOpenAudio() | 11802 AOpenAudio() |
11629 ; return 0; } | 11803 ; return 0; } |
11630 EOF | 11804 EOF |
11631 if { (eval echo configure:11632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11805 if { (eval echo configure:11806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11632 rm -rf conftest* | 11806 rm -rf conftest* |
11633 eval "ac_cv_lib_$ac_lib_var=yes" | 11807 eval "ac_cv_lib_$ac_lib_var=yes" |
11634 else | 11808 else |
11635 echo "configure: failed program was:" >&5 | 11809 echo "configure: failed program was:" >&5 |
11636 cat conftest.$ac_ext >&5 | 11810 cat conftest.$ac_ext >&5 |
11664 | 11838 |
11665 if test -z "$sound_found"; then | 11839 if test -z "$sound_found"; then |
11666 for dir in "machine" "sys" "linux"; do | 11840 for dir in "machine" "sys" "linux"; do |
11667 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 11841 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
11668 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 11842 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
11669 echo "configure:11670: checking for ${dir}/soundcard.h" >&5 | 11843 echo "configure:11844: checking for ${dir}/soundcard.h" >&5 |
11670 | 11844 |
11671 cat > conftest.$ac_ext <<EOF | 11845 cat > conftest.$ac_ext <<EOF |
11672 #line 11673 "configure" | 11846 #line 11847 "configure" |
11673 #include "confdefs.h" | 11847 #include "confdefs.h" |
11674 #include <${dir}/soundcard.h> | 11848 #include <${dir}/soundcard.h> |
11675 EOF | 11849 EOF |
11676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11677 { (eval echo configure:11678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11851 { (eval echo configure:11852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11679 if test -z "$ac_err"; then | 11853 if test -z "$ac_err"; then |
11680 rm -rf conftest* | 11854 rm -rf conftest* |
11681 eval "ac_cv_header_$ac_safe=yes" | 11855 eval "ac_cv_header_$ac_safe=yes" |
11682 else | 11856 else |
11693 need_miscplay=yes | 11867 need_miscplay=yes |
11694 extra_objs="$extra_objs linuxplay.o" && if test "$extra_verbose" = "yes"; then | 11868 extra_objs="$extra_objs linuxplay.o" && if test "$extra_verbose" = "yes"; then |
11695 echo " xemacs will be linked with \"linuxplay.o\"" | 11869 echo " xemacs will be linked with \"linuxplay.o\"" |
11696 fi | 11870 fi |
11697 { test "$extra_verbose" = "yes" && cat << EOF | 11871 { test "$extra_verbose" = "yes" && cat << EOF |
11698 Defining SOUNDCARD_H_PATH = "${dir}/soundcard.h" | 11872 Defining SOUNDCARD_H_FILE = "${dir}/soundcard.h" |
11699 EOF | 11873 EOF |
11700 cat >> confdefs.h <<EOF | 11874 cat >> confdefs.h <<EOF |
11701 #define SOUNDCARD_H_PATH "${dir}/soundcard.h" | 11875 #define SOUNDCARD_H_FILE "${dir}/soundcard.h" |
11702 EOF | 11876 EOF |
11703 } | 11877 } |
11704 | 11878 |
11705 break | 11879 break |
11706 else | 11880 else |
11726 fi | 11900 fi |
11727 | 11901 |
11728 if test "$with_nas_sound" != "no"; then | 11902 if test "$with_nas_sound" != "no"; then |
11729 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 11903 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
11730 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 11904 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
11731 echo "configure:11732: checking for audio/audiolib.h" >&5 | 11905 echo "configure:11906: checking for audio/audiolib.h" >&5 |
11732 | 11906 |
11733 cat > conftest.$ac_ext <<EOF | 11907 cat > conftest.$ac_ext <<EOF |
11734 #line 11735 "configure" | 11908 #line 11909 "configure" |
11735 #include "confdefs.h" | 11909 #include "confdefs.h" |
11736 #include <audio/audiolib.h> | 11910 #include <audio/audiolib.h> |
11737 EOF | 11911 EOF |
11738 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11739 { (eval echo configure:11740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11913 { (eval echo configure:11914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11740 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11741 if test -z "$ac_err"; then | 11915 if test -z "$ac_err"; then |
11742 rm -rf conftest* | 11916 rm -rf conftest* |
11743 eval "ac_cv_header_$ac_safe=yes" | 11917 eval "ac_cv_header_$ac_safe=yes" |
11744 else | 11918 else |
11752 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11926 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11753 echo "$ac_t""yes" 1>&6 | 11927 echo "$ac_t""yes" 1>&6 |
11754 | 11928 |
11755 | 11929 |
11756 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 11930 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
11757 echo "configure:11758: checking for AuOpenServer in -laudio" >&5 | 11931 echo "configure:11932: checking for AuOpenServer in -laudio" >&5 |
11758 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 11932 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
11759 | 11933 |
11760 xe_check_libs=" -laudio " | 11934 xe_check_libs=" -laudio " |
11761 cat > conftest.$ac_ext <<EOF | 11935 cat > conftest.$ac_ext <<EOF |
11762 #line 11763 "configure" | 11936 #line 11937 "configure" |
11763 #include "confdefs.h" | 11937 #include "confdefs.h" |
11764 /* Override any gcc2 internal prototype to avoid an error. */ | 11938 /* Override any gcc2 internal prototype to avoid an error. */ |
11765 /* We use char because int might match the return type of a gcc2 | 11939 /* We use char because int might match the return type of a gcc2 |
11766 builtin and then its argument prototype would still apply. */ | 11940 builtin and then its argument prototype would still apply. */ |
11767 char AuOpenServer(); | 11941 char AuOpenServer(); |
11768 | 11942 |
11769 int main() { | 11943 int main() { |
11770 AuOpenServer() | 11944 AuOpenServer() |
11771 ; return 0; } | 11945 ; return 0; } |
11772 EOF | 11946 EOF |
11773 if { (eval echo configure:11774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11947 if { (eval echo configure:11948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11774 rm -rf conftest* | 11948 rm -rf conftest* |
11775 eval "ac_cv_lib_$ac_lib_var=yes" | 11949 eval "ac_cv_lib_$ac_lib_var=yes" |
11776 else | 11950 else |
11777 echo "configure: failed program was:" >&5 | 11951 echo "configure: failed program was:" >&5 |
11778 cat conftest.$ac_ext >&5 | 11952 cat conftest.$ac_ext >&5 |
11807 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 11981 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
11808 echo " xemacs will be linked with \"nas.o\"" | 11982 echo " xemacs will be linked with \"nas.o\"" |
11809 fi | 11983 fi |
11810 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 11984 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
11811 cat > conftest.$ac_ext <<EOF | 11985 cat > conftest.$ac_ext <<EOF |
11812 #line 11813 "configure" | 11986 #line 11987 "configure" |
11813 #include "confdefs.h" | 11987 #include "confdefs.h" |
11814 #include <audio/Xtutil.h> | 11988 #include <audio/Xtutil.h> |
11815 EOF | 11989 EOF |
11816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 11990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11817 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 11991 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
11838 | 12012 |
11839 if test "$with_esd_sound" != "no"; then | 12013 if test "$with_esd_sound" != "no"; then |
11840 # Extract the first word of "esd-config", so it can be a program name with args. | 12014 # Extract the first word of "esd-config", so it can be a program name with args. |
11841 set dummy esd-config; ac_word=$2 | 12015 set dummy esd-config; ac_word=$2 |
11842 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 12016 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
11843 echo "configure:11844: checking for $ac_word" >&5 | 12017 echo "configure:12018: checking for $ac_word" >&5 |
11844 | 12018 |
11845 if test -n "$have_esd_config"; then | 12019 if test -n "$have_esd_config"; then |
11846 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 12020 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
11847 else | 12021 else |
11848 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 12022 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
11867 if test "$have_esd_config" = "yes"; then | 12041 if test "$have_esd_config" = "yes"; then |
11868 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 12042 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
11869 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 | 12043 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 |
11870 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 12044 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
11871 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 12045 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
11872 echo "configure:11873: checking for esd_play_stream" >&5 | 12046 echo "configure:12047: checking for esd_play_stream" >&5 |
11873 | 12047 |
11874 cat > conftest.$ac_ext <<EOF | 12048 cat > conftest.$ac_ext <<EOF |
11875 #line 11876 "configure" | 12049 #line 12050 "configure" |
11876 #include "confdefs.h" | 12050 #include "confdefs.h" |
11877 /* System header to define __stub macros and hopefully few prototypes, | 12051 /* System header to define __stub macros and hopefully few prototypes, |
11878 which can conflict with char esd_play_stream(); below. */ | 12052 which can conflict with char esd_play_stream(); below. */ |
11879 #include <assert.h> | 12053 #include <assert.h> |
11880 /* Override any gcc2 internal prototype to avoid an error. */ | 12054 /* Override any gcc2 internal prototype to avoid an error. */ |
11893 esd_play_stream(); | 12067 esd_play_stream(); |
11894 #endif | 12068 #endif |
11895 | 12069 |
11896 ; return 0; } | 12070 ; return 0; } |
11897 EOF | 12071 EOF |
11898 if { (eval echo configure:11899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12072 if { (eval echo configure:12073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11899 rm -rf conftest* | 12073 rm -rf conftest* |
11900 eval "ac_cv_func_esd_play_stream=yes" | 12074 eval "ac_cv_func_esd_play_stream=yes" |
11901 else | 12075 else |
11902 echo "configure: failed program was:" >&5 | 12076 echo "configure: failed program was:" >&5 |
11903 cat conftest.$ac_ext >&5 | 12077 cat conftest.$ac_ext >&5 |
11944 | 12118 |
11945 test -z "$with_tty" && with_tty=yes | 12119 test -z "$with_tty" && with_tty=yes |
11946 | 12120 |
11947 if test "$with_tty" = "yes" ; then | 12121 if test "$with_tty" = "yes" ; then |
11948 echo "checking for TTY-related features" 1>&6 | 12122 echo "checking for TTY-related features" 1>&6 |
11949 echo "configure:11950: checking for TTY-related features" >&5 | 12123 echo "configure:12124: checking for TTY-related features" >&5 |
11950 { test "$extra_verbose" = "yes" && cat << \EOF | 12124 { test "$extra_verbose" = "yes" && cat << \EOF |
11951 Defining HAVE_TTY | 12125 Defining HAVE_TTY |
11952 EOF | 12126 EOF |
11953 cat >> confdefs.h <<\EOF | 12127 cat >> confdefs.h <<\EOF |
11954 #define HAVE_TTY 1 | 12128 #define HAVE_TTY 1 |
11960 fi | 12134 fi |
11961 | 12135 |
11962 if test -z "$with_ncurses"; then | 12136 if test -z "$with_ncurses"; then |
11963 | 12137 |
11964 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 12138 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
11965 echo "configure:11966: checking for tgetent in -lncurses" >&5 | 12139 echo "configure:12140: checking for tgetent in -lncurses" >&5 |
11966 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 12140 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
11967 | 12141 |
11968 xe_check_libs=" -lncurses " | 12142 xe_check_libs=" -lncurses " |
11969 cat > conftest.$ac_ext <<EOF | 12143 cat > conftest.$ac_ext <<EOF |
11970 #line 11971 "configure" | 12144 #line 12145 "configure" |
11971 #include "confdefs.h" | 12145 #include "confdefs.h" |
11972 /* Override any gcc2 internal prototype to avoid an error. */ | 12146 /* Override any gcc2 internal prototype to avoid an error. */ |
11973 /* We use char because int might match the return type of a gcc2 | 12147 /* We use char because int might match the return type of a gcc2 |
11974 builtin and then its argument prototype would still apply. */ | 12148 builtin and then its argument prototype would still apply. */ |
11975 char tgetent(); | 12149 char tgetent(); |
11976 | 12150 |
11977 int main() { | 12151 int main() { |
11978 tgetent() | 12152 tgetent() |
11979 ; return 0; } | 12153 ; return 0; } |
11980 EOF | 12154 EOF |
11981 if { (eval echo configure:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12155 if { (eval echo configure:12156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11982 rm -rf conftest* | 12156 rm -rf conftest* |
11983 eval "ac_cv_lib_$ac_lib_var=yes" | 12157 eval "ac_cv_lib_$ac_lib_var=yes" |
11984 else | 12158 else |
11985 echo "configure: failed program was:" >&5 | 12159 echo "configure: failed program was:" >&5 |
11986 cat conftest.$ac_ext >&5 | 12160 cat conftest.$ac_ext >&5 |
12009 EOF | 12183 EOF |
12010 } | 12184 } |
12011 | 12185 |
12012 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12186 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
12013 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12187 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
12014 echo "configure:12015: checking for ncurses/curses.h" >&5 | 12188 echo "configure:12189: checking for ncurses/curses.h" >&5 |
12015 | 12189 |
12016 cat > conftest.$ac_ext <<EOF | 12190 cat > conftest.$ac_ext <<EOF |
12017 #line 12018 "configure" | 12191 #line 12192 "configure" |
12018 #include "confdefs.h" | 12192 #include "confdefs.h" |
12019 #include <ncurses/curses.h> | 12193 #include <ncurses/curses.h> |
12020 EOF | 12194 EOF |
12021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12195 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12022 { (eval echo configure:12023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12196 { (eval echo configure:12197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12197 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12024 if test -z "$ac_err"; then | 12198 if test -z "$ac_err"; then |
12025 rm -rf conftest* | 12199 rm -rf conftest* |
12026 eval "ac_cv_header_$ac_safe=yes" | 12200 eval "ac_cv_header_$ac_safe=yes" |
12027 else | 12201 else |
12032 eval "ac_cv_header_$ac_safe=no" | 12206 eval "ac_cv_header_$ac_safe=no" |
12033 fi | 12207 fi |
12034 rm -f conftest* | 12208 rm -f conftest* |
12035 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12209 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12036 echo "$ac_t""yes" 1>&6 | 12210 echo "$ac_t""yes" 1>&6 |
12037 curses_h_path=ncurses/curses.h | 12211 curses_h_file=ncurses/curses.h |
12038 else | 12212 else |
12039 echo "$ac_t""no" 1>&6 | 12213 echo "$ac_t""no" 1>&6 |
12040 fi | 12214 fi |
12041 | 12215 |
12042 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 12216 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
12043 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 12217 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
12044 echo "configure:12045: checking for ncurses/term.h" >&5 | 12218 echo "configure:12219: checking for ncurses/term.h" >&5 |
12045 | 12219 |
12046 cat > conftest.$ac_ext <<EOF | 12220 cat > conftest.$ac_ext <<EOF |
12047 #line 12048 "configure" | 12221 #line 12222 "configure" |
12048 #include "confdefs.h" | 12222 #include "confdefs.h" |
12049 #include <ncurses/term.h> | 12223 #include <ncurses/term.h> |
12050 EOF | 12224 EOF |
12051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12225 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12052 { (eval echo configure:12053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12226 { (eval echo configure:12227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12227 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12054 if test -z "$ac_err"; then | 12228 if test -z "$ac_err"; then |
12055 rm -rf conftest* | 12229 rm -rf conftest* |
12056 eval "ac_cv_header_$ac_safe=yes" | 12230 eval "ac_cv_header_$ac_safe=yes" |
12057 else | 12231 else |
12062 eval "ac_cv_header_$ac_safe=no" | 12236 eval "ac_cv_header_$ac_safe=no" |
12063 fi | 12237 fi |
12064 rm -f conftest* | 12238 rm -f conftest* |
12065 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12239 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12066 echo "$ac_t""yes" 1>&6 | 12240 echo "$ac_t""yes" 1>&6 |
12067 term_h_path=ncurses/term.h | 12241 term_h_file=ncurses/term.h |
12068 else | 12242 else |
12069 echo "$ac_t""no" 1>&6 | 12243 echo "$ac_t""no" 1>&6 |
12070 fi | 12244 fi |
12071 | 12245 |
12072 extra_objs="$extra_objs terminfo.o" && if test "$extra_verbose" = "yes"; then | 12246 extra_objs="$extra_objs terminfo.o" && if test "$extra_verbose" = "yes"; then |
12077 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 12251 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
12078 save_c_switch_site="$c_switch_site" | 12252 save_c_switch_site="$c_switch_site" |
12079 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 12253 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
12080 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12254 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
12081 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12255 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
12082 echo "configure:12083: checking for ncurses/curses.h" >&5 | 12256 echo "configure:12257: checking for ncurses/curses.h" >&5 |
12083 | 12257 |
12084 cat > conftest.$ac_ext <<EOF | 12258 cat > conftest.$ac_ext <<EOF |
12085 #line 12086 "configure" | 12259 #line 12260 "configure" |
12086 #include "confdefs.h" | 12260 #include "confdefs.h" |
12087 #include <ncurses/curses.h> | 12261 #include <ncurses/curses.h> |
12088 EOF | 12262 EOF |
12089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12090 { (eval echo configure:12091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12264 { (eval echo configure:12265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12092 if test -z "$ac_err"; then | 12266 if test -z "$ac_err"; then |
12093 rm -rf conftest* | 12267 rm -rf conftest* |
12094 eval "ac_cv_header_$ac_safe=yes" | 12268 eval "ac_cv_header_$ac_safe=yes" |
12095 else | 12269 else |
12100 eval "ac_cv_header_$ac_safe=no" | 12274 eval "ac_cv_header_$ac_safe=no" |
12101 fi | 12275 fi |
12102 rm -f conftest* | 12276 rm -f conftest* |
12103 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12277 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12104 echo "$ac_t""yes" 1>&6 | 12278 echo "$ac_t""yes" 1>&6 |
12105 curses_h_path=ncurses/curses.h | 12279 curses_h_file=ncurses/curses.h |
12106 else | 12280 else |
12107 echo "$ac_t""no" 1>&6 | 12281 echo "$ac_t""no" 1>&6 |
12108 fi | 12282 fi |
12109 | 12283 |
12110 if test "$ac_cv_header_ncurses_curses_h" = "yes" | 12284 if test "$ac_cv_header_ncurses_curses_h" = "yes" |
12120 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12294 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
12121 else | 12295 else |
12122 for lib in curses termlib termcap; do | 12296 for lib in curses termlib termcap; do |
12123 | 12297 |
12124 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 12298 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
12125 echo "configure:12126: checking for tgetent in -l$lib" >&5 | 12299 echo "configure:12300: checking for tgetent in -l$lib" >&5 |
12126 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 12300 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
12127 | 12301 |
12128 xe_check_libs=" -l$lib " | 12302 xe_check_libs=" -l$lib " |
12129 cat > conftest.$ac_ext <<EOF | 12303 cat > conftest.$ac_ext <<EOF |
12130 #line 12131 "configure" | 12304 #line 12305 "configure" |
12131 #include "confdefs.h" | 12305 #include "confdefs.h" |
12132 /* Override any gcc2 internal prototype to avoid an error. */ | 12306 /* Override any gcc2 internal prototype to avoid an error. */ |
12133 /* We use char because int might match the return type of a gcc2 | 12307 /* We use char because int might match the return type of a gcc2 |
12134 builtin and then its argument prototype would still apply. */ | 12308 builtin and then its argument prototype would still apply. */ |
12135 char tgetent(); | 12309 char tgetent(); |
12136 | 12310 |
12137 int main() { | 12311 int main() { |
12138 tgetent() | 12312 tgetent() |
12139 ; return 0; } | 12313 ; return 0; } |
12140 EOF | 12314 EOF |
12141 if { (eval echo configure:12142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12315 if { (eval echo configure:12316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12142 rm -rf conftest* | 12316 rm -rf conftest* |
12143 eval "ac_cv_lib_$ac_lib_var=yes" | 12317 eval "ac_cv_lib_$ac_lib_var=yes" |
12144 else | 12318 else |
12145 echo "configure: failed program was:" >&5 | 12319 echo "configure: failed program was:" >&5 |
12146 cat conftest.$ac_ext >&5 | 12320 cat conftest.$ac_ext >&5 |
12167 if test -n "$libs_termcap"; then | 12341 if test -n "$libs_termcap"; then |
12168 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12342 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
12169 else | 12343 else |
12170 | 12344 |
12171 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 12345 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
12172 echo "configure:12173: checking for tgetent in -lcurses" >&5 | 12346 echo "configure:12347: checking for tgetent in -lcurses" >&5 |
12173 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 12347 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
12174 | 12348 |
12175 xe_check_libs=" -lcurses " | 12349 xe_check_libs=" -lcurses " |
12176 cat > conftest.$ac_ext <<EOF | 12350 cat > conftest.$ac_ext <<EOF |
12177 #line 12178 "configure" | 12351 #line 12352 "configure" |
12178 #include "confdefs.h" | 12352 #include "confdefs.h" |
12179 /* Override any gcc2 internal prototype to avoid an error. */ | 12353 /* Override any gcc2 internal prototype to avoid an error. */ |
12180 /* We use char because int might match the return type of a gcc2 | 12354 /* We use char because int might match the return type of a gcc2 |
12181 builtin and then its argument prototype would still apply. */ | 12355 builtin and then its argument prototype would still apply. */ |
12182 char tgetent(); | 12356 char tgetent(); |
12183 | 12357 |
12184 int main() { | 12358 int main() { |
12185 tgetent() | 12359 tgetent() |
12186 ; return 0; } | 12360 ; return 0; } |
12187 EOF | 12361 EOF |
12188 if { (eval echo configure:12189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12362 if { (eval echo configure:12363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12189 rm -rf conftest* | 12363 rm -rf conftest* |
12190 eval "ac_cv_lib_$ac_lib_var=yes" | 12364 eval "ac_cv_lib_$ac_lib_var=yes" |
12191 else | 12365 else |
12192 echo "configure: failed program was:" >&5 | 12366 echo "configure: failed program was:" >&5 |
12193 cat conftest.$ac_ext >&5 | 12367 cat conftest.$ac_ext >&5 |
12201 echo "$ac_t""yes" 1>&6 | 12375 echo "$ac_t""yes" 1>&6 |
12202 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 12376 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
12203 else | 12377 else |
12204 echo "$ac_t""no" 1>&6 | 12378 echo "$ac_t""no" 1>&6 |
12205 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 12379 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
12206 echo "configure:12207: checking for tgetent in -ltermcap" >&5 | 12380 echo "configure:12381: checking for tgetent in -ltermcap" >&5 |
12207 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 12381 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
12208 | 12382 |
12209 xe_check_libs=" -ltermcap " | 12383 xe_check_libs=" -ltermcap " |
12210 cat > conftest.$ac_ext <<EOF | 12384 cat > conftest.$ac_ext <<EOF |
12211 #line 12212 "configure" | 12385 #line 12386 "configure" |
12212 #include "confdefs.h" | 12386 #include "confdefs.h" |
12213 /* Override any gcc2 internal prototype to avoid an error. */ | 12387 /* Override any gcc2 internal prototype to avoid an error. */ |
12214 /* We use char because int might match the return type of a gcc2 | 12388 /* We use char because int might match the return type of a gcc2 |
12215 builtin and then its argument prototype would still apply. */ | 12389 builtin and then its argument prototype would still apply. */ |
12216 char tgetent(); | 12390 char tgetent(); |
12217 | 12391 |
12218 int main() { | 12392 int main() { |
12219 tgetent() | 12393 tgetent() |
12220 ; return 0; } | 12394 ; return 0; } |
12221 EOF | 12395 EOF |
12222 if { (eval echo configure:12223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12396 if { (eval echo configure:12397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12223 rm -rf conftest* | 12397 rm -rf conftest* |
12224 eval "ac_cv_lib_$ac_lib_var=yes" | 12398 eval "ac_cv_lib_$ac_lib_var=yes" |
12225 else | 12399 else |
12226 echo "configure: failed program was:" >&5 | 12400 echo "configure: failed program was:" >&5 |
12227 cat conftest.$ac_ext >&5 | 12401 cat conftest.$ac_ext >&5 |
12247 | 12421 |
12248 fi | 12422 fi |
12249 fi | 12423 fi |
12250 fi | 12424 fi |
12251 { test "$extra_verbose" = "yes" && cat << EOF | 12425 { test "$extra_verbose" = "yes" && cat << EOF |
12252 Defining CURSES_H_PATH = "${curses_h_path-curses.h}" | 12426 Defining CURSES_H_FILE = "${curses_h_file-curses.h}" |
12253 EOF | 12427 EOF |
12254 cat >> confdefs.h <<EOF | 12428 cat >> confdefs.h <<EOF |
12255 #define CURSES_H_PATH "${curses_h_path-curses.h}" | 12429 #define CURSES_H_FILE "${curses_h_file-curses.h}" |
12256 EOF | 12430 EOF |
12257 } | 12431 } |
12258 | 12432 |
12259 { test "$extra_verbose" = "yes" && cat << EOF | 12433 { test "$extra_verbose" = "yes" && cat << EOF |
12260 Defining TERM_H_PATH = "${term_h_path-term.h}" | 12434 Defining TERM_H_FILE = "${term_h_file-term.h}" |
12261 EOF | 12435 EOF |
12262 cat >> confdefs.h <<EOF | 12436 cat >> confdefs.h <<EOF |
12263 #define TERM_H_PATH "${term_h_path-term.h}" | 12437 #define TERM_H_FILE "${term_h_file-term.h}" |
12264 EOF | 12438 EOF |
12265 } | 12439 } |
12266 | 12440 |
12267 | 12441 |
12268 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 12442 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
12269 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 12443 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
12270 echo "configure:12271: checking for gpm.h" >&5 | 12444 echo "configure:12445: checking for gpm.h" >&5 |
12271 | 12445 |
12272 cat > conftest.$ac_ext <<EOF | 12446 cat > conftest.$ac_ext <<EOF |
12273 #line 12274 "configure" | 12447 #line 12448 "configure" |
12274 #include "confdefs.h" | 12448 #include "confdefs.h" |
12275 #include <gpm.h> | 12449 #include <gpm.h> |
12276 EOF | 12450 EOF |
12277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12451 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12278 { (eval echo configure:12279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12452 { (eval echo configure:12453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12279 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12453 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12280 if test -z "$ac_err"; then | 12454 if test -z "$ac_err"; then |
12281 rm -rf conftest* | 12455 rm -rf conftest* |
12282 eval "ac_cv_header_$ac_safe=yes" | 12456 eval "ac_cv_header_$ac_safe=yes" |
12283 else | 12457 else |
12296 with_gpm=no | 12470 with_gpm=no |
12297 fi | 12471 fi |
12298 } | 12472 } |
12299 test -z "$with_gpm" && { | 12473 test -z "$with_gpm" && { |
12300 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 12474 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
12301 echo "configure:12302: checking for Gpm_Open in -lgpm" >&5 | 12475 echo "configure:12476: checking for Gpm_Open in -lgpm" >&5 |
12302 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 12476 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
12303 | 12477 |
12304 xe_check_libs=" -lgpm " | 12478 xe_check_libs=" -lgpm " |
12305 cat > conftest.$ac_ext <<EOF | 12479 cat > conftest.$ac_ext <<EOF |
12306 #line 12307 "configure" | 12480 #line 12481 "configure" |
12307 #include "confdefs.h" | 12481 #include "confdefs.h" |
12308 /* Override any gcc2 internal prototype to avoid an error. */ | 12482 /* Override any gcc2 internal prototype to avoid an error. */ |
12309 /* We use char because int might match the return type of a gcc2 | 12483 /* We use char because int might match the return type of a gcc2 |
12310 builtin and then its argument prototype would still apply. */ | 12484 builtin and then its argument prototype would still apply. */ |
12311 char Gpm_Open(); | 12485 char Gpm_Open(); |
12312 | 12486 |
12313 int main() { | 12487 int main() { |
12314 Gpm_Open() | 12488 Gpm_Open() |
12315 ; return 0; } | 12489 ; return 0; } |
12316 EOF | 12490 EOF |
12317 if { (eval echo configure:12318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12491 if { (eval echo configure:12492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12318 rm -rf conftest* | 12492 rm -rf conftest* |
12319 eval "ac_cv_lib_$ac_lib_var=yes" | 12493 eval "ac_cv_lib_$ac_lib_var=yes" |
12320 else | 12494 else |
12321 echo "configure: failed program was:" >&5 | 12495 echo "configure: failed program was:" >&5 |
12322 cat conftest.$ac_ext >&5 | 12496 cat conftest.$ac_ext >&5 |
12362 fi | 12536 fi |
12363 | 12537 |
12364 | 12538 |
12365 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 12539 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
12366 != "no no no" && echo "checking for database support" 1>&6 | 12540 != "no no no" && echo "checking for database support" 1>&6 |
12367 echo "configure:12368: checking for database support" >&5 | 12541 echo "configure:12542: checking for database support" >&5 |
12368 | 12542 |
12369 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 12543 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
12370 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 12544 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
12371 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 12545 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
12372 echo "configure:12373: checking for ndbm.h" >&5 | 12546 echo "configure:12547: checking for ndbm.h" >&5 |
12373 | 12547 |
12374 cat > conftest.$ac_ext <<EOF | 12548 cat > conftest.$ac_ext <<EOF |
12375 #line 12376 "configure" | 12549 #line 12550 "configure" |
12376 #include "confdefs.h" | 12550 #include "confdefs.h" |
12377 #include <ndbm.h> | 12551 #include <ndbm.h> |
12378 EOF | 12552 EOF |
12379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12380 { (eval echo configure:12381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12554 { (eval echo configure:12555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12382 if test -z "$ac_err"; then | 12556 if test -z "$ac_err"; then |
12383 rm -rf conftest* | 12557 rm -rf conftest* |
12384 eval "ac_cv_header_$ac_safe=yes" | 12558 eval "ac_cv_header_$ac_safe=yes" |
12385 else | 12559 else |
12405 fi | 12579 fi |
12406 | 12580 |
12407 if test "$with_database_gdbm" != "no"; then | 12581 if test "$with_database_gdbm" != "no"; then |
12408 | 12582 |
12409 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 12583 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
12410 echo "configure:12411: checking for dbm_open in -lgdbm" >&5 | 12584 echo "configure:12585: checking for dbm_open in -lgdbm" >&5 |
12411 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 12585 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
12412 | 12586 |
12413 xe_check_libs=" -lgdbm " | 12587 xe_check_libs=" -lgdbm " |
12414 cat > conftest.$ac_ext <<EOF | 12588 cat > conftest.$ac_ext <<EOF |
12415 #line 12416 "configure" | 12589 #line 12590 "configure" |
12416 #include "confdefs.h" | 12590 #include "confdefs.h" |
12417 /* Override any gcc2 internal prototype to avoid an error. */ | 12591 /* Override any gcc2 internal prototype to avoid an error. */ |
12418 /* We use char because int might match the return type of a gcc2 | 12592 /* We use char because int might match the return type of a gcc2 |
12419 builtin and then its argument prototype would still apply. */ | 12593 builtin and then its argument prototype would still apply. */ |
12420 char dbm_open(); | 12594 char dbm_open(); |
12421 | 12595 |
12422 int main() { | 12596 int main() { |
12423 dbm_open() | 12597 dbm_open() |
12424 ; return 0; } | 12598 ; return 0; } |
12425 EOF | 12599 EOF |
12426 if { (eval echo configure:12427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12600 if { (eval echo configure:12601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12427 rm -rf conftest* | 12601 rm -rf conftest* |
12428 eval "ac_cv_lib_$ac_lib_var=yes" | 12602 eval "ac_cv_lib_$ac_lib_var=yes" |
12429 else | 12603 else |
12430 echo "configure: failed program was:" >&5 | 12604 echo "configure: failed program was:" >&5 |
12431 cat conftest.$ac_ext >&5 | 12605 cat conftest.$ac_ext >&5 |
12449 | 12623 |
12450 fi | 12624 fi |
12451 | 12625 |
12452 if test "$with_database_dbm" != "no"; then | 12626 if test "$with_database_dbm" != "no"; then |
12453 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 12627 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
12454 echo "configure:12455: checking for dbm_open" >&5 | 12628 echo "configure:12629: checking for dbm_open" >&5 |
12455 | 12629 |
12456 cat > conftest.$ac_ext <<EOF | 12630 cat > conftest.$ac_ext <<EOF |
12457 #line 12458 "configure" | 12631 #line 12632 "configure" |
12458 #include "confdefs.h" | 12632 #include "confdefs.h" |
12459 /* System header to define __stub macros and hopefully few prototypes, | 12633 /* System header to define __stub macros and hopefully few prototypes, |
12460 which can conflict with char dbm_open(); below. */ | 12634 which can conflict with char dbm_open(); below. */ |
12461 #include <assert.h> | 12635 #include <assert.h> |
12462 /* Override any gcc2 internal prototype to avoid an error. */ | 12636 /* Override any gcc2 internal prototype to avoid an error. */ |
12475 dbm_open(); | 12649 dbm_open(); |
12476 #endif | 12650 #endif |
12477 | 12651 |
12478 ; return 0; } | 12652 ; return 0; } |
12479 EOF | 12653 EOF |
12480 if { (eval echo configure:12481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12654 if { (eval echo configure:12655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12481 rm -rf conftest* | 12655 rm -rf conftest* |
12482 eval "ac_cv_func_dbm_open=yes" | 12656 eval "ac_cv_func_dbm_open=yes" |
12483 else | 12657 else |
12484 echo "configure: failed program was:" >&5 | 12658 echo "configure: failed program was:" >&5 |
12485 cat conftest.$ac_ext >&5 | 12659 cat conftest.$ac_ext >&5 |
12494 else | 12668 else |
12495 echo "$ac_t""no" 1>&6 | 12669 echo "$ac_t""no" 1>&6 |
12496 | 12670 |
12497 | 12671 |
12498 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 12672 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
12499 echo "configure:12500: checking for dbm_open in -ldbm" >&5 | 12673 echo "configure:12674: checking for dbm_open in -ldbm" >&5 |
12500 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 12674 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
12501 | 12675 |
12502 xe_check_libs=" -ldbm " | 12676 xe_check_libs=" -ldbm " |
12503 cat > conftest.$ac_ext <<EOF | 12677 cat > conftest.$ac_ext <<EOF |
12504 #line 12505 "configure" | 12678 #line 12679 "configure" |
12505 #include "confdefs.h" | 12679 #include "confdefs.h" |
12506 /* Override any gcc2 internal prototype to avoid an error. */ | 12680 /* Override any gcc2 internal prototype to avoid an error. */ |
12507 /* We use char because int might match the return type of a gcc2 | 12681 /* We use char because int might match the return type of a gcc2 |
12508 builtin and then its argument prototype would still apply. */ | 12682 builtin and then its argument prototype would still apply. */ |
12509 char dbm_open(); | 12683 char dbm_open(); |
12510 | 12684 |
12511 int main() { | 12685 int main() { |
12512 dbm_open() | 12686 dbm_open() |
12513 ; return 0; } | 12687 ; return 0; } |
12514 EOF | 12688 EOF |
12515 if { (eval echo configure:12516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12689 if { (eval echo configure:12690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12516 rm -rf conftest* | 12690 rm -rf conftest* |
12517 eval "ac_cv_lib_$ac_lib_var=yes" | 12691 eval "ac_cv_lib_$ac_lib_var=yes" |
12518 else | 12692 else |
12519 echo "configure: failed program was:" >&5 | 12693 echo "configure: failed program was:" >&5 |
12520 cat conftest.$ac_ext >&5 | 12694 cat conftest.$ac_ext >&5 |
12551 } | 12725 } |
12552 | 12726 |
12553 | 12727 |
12554 if test "$with_database_berkdb" != "no"; then | 12728 if test "$with_database_berkdb" != "no"; then |
12555 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 12729 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
12556 echo "configure:12557: checking for Berkeley db.h" >&5 | 12730 echo "configure:12731: checking for Berkeley db.h" >&5 |
12557 for path in "db/db.h" "db.h"; do | 12731 for header in "db/db.h" "db.h"; do |
12558 cat > conftest.$ac_ext <<EOF | 12732 cat > conftest.$ac_ext <<EOF |
12559 #line 12560 "configure" | 12733 #line 12734 "configure" |
12560 #include "confdefs.h" | 12734 #include "confdefs.h" |
12561 | 12735 |
12562 #include <stdlib.h> | 12736 #include <stdlib.h> |
12563 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 12737 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
12564 #ifdef HAVE_INTTYPES_H | 12738 #ifdef HAVE_INTTYPES_H |
12570 #ifdef WE_DONT_NEED_QUADS | 12744 #ifdef WE_DONT_NEED_QUADS |
12571 typedef uint64_t u_int64_t; | 12745 typedef uint64_t u_int64_t; |
12572 #endif | 12746 #endif |
12573 #endif | 12747 #endif |
12574 #endif | 12748 #endif |
12575 #include <$path> | 12749 #include <$header> |
12576 | 12750 |
12577 int main() { | 12751 int main() { |
12578 | 12752 |
12579 ; return 0; } | 12753 ; return 0; } |
12580 EOF | 12754 EOF |
12581 if { (eval echo configure:12582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12755 if { (eval echo configure:12756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12582 rm -rf conftest* | 12756 rm -rf conftest* |
12583 db_h_path="$path"; break | 12757 db_h_file="$header"; break |
12584 else | 12758 else |
12585 echo "configure: failed program was:" >&5 | 12759 echo "configure: failed program was:" >&5 |
12586 cat conftest.$ac_ext >&5 | 12760 cat conftest.$ac_ext >&5 |
12587 fi | 12761 fi |
12588 rm -f conftest* | 12762 rm -f conftest* |
12589 done | 12763 done |
12590 if test -z "$db_h_path" | 12764 if test -z "$db_h_file" |
12591 then echo "$ac_t""no" 1>&6; with_database_berkdb=no | 12765 then echo "$ac_t""no" 1>&6; with_database_berkdb=no |
12592 else echo "$ac_t""$db_h_path" 1>&6 | 12766 else echo "$ac_t""$db_h_file" 1>&6 |
12593 fi | 12767 fi |
12594 | 12768 |
12595 if test "$with_database_berkdb" != "no"; then | 12769 if test "$with_database_berkdb" != "no"; then |
12596 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 12770 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
12597 echo "configure:12598: checking for Berkeley DB version" >&5 | 12771 echo "configure:12772: checking for Berkeley DB version" >&5 |
12598 cat > conftest.$ac_ext <<EOF | 12772 cat > conftest.$ac_ext <<EOF |
12599 #line 12600 "configure" | 12773 #line 12774 "configure" |
12600 #include "confdefs.h" | 12774 #include "confdefs.h" |
12601 #include <$db_h_path> | 12775 #include <$db_h_file> |
12602 #if DB_VERSION_MAJOR > 1 | 12776 #if DB_VERSION_MAJOR > 1 |
12603 yes | 12777 yes |
12604 #endif | 12778 #endif |
12605 | 12779 |
12606 EOF | 12780 EOF |
12613 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 12787 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
12614 fi | 12788 fi |
12615 rm -f conftest* | 12789 rm -f conftest* |
12616 | 12790 |
12617 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 12791 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
12618 echo "configure:12619: checking for $dbfunc" >&5 | 12792 echo "configure:12793: checking for $dbfunc" >&5 |
12619 | 12793 |
12620 cat > conftest.$ac_ext <<EOF | 12794 cat > conftest.$ac_ext <<EOF |
12621 #line 12622 "configure" | 12795 #line 12796 "configure" |
12622 #include "confdefs.h" | 12796 #include "confdefs.h" |
12623 /* System header to define __stub macros and hopefully few prototypes, | 12797 /* System header to define __stub macros and hopefully few prototypes, |
12624 which can conflict with char $dbfunc(); below. */ | 12798 which can conflict with char $dbfunc(); below. */ |
12625 #include <assert.h> | 12799 #include <assert.h> |
12626 /* Override any gcc2 internal prototype to avoid an error. */ | 12800 /* Override any gcc2 internal prototype to avoid an error. */ |
12639 $dbfunc(); | 12813 $dbfunc(); |
12640 #endif | 12814 #endif |
12641 | 12815 |
12642 ; return 0; } | 12816 ; return 0; } |
12643 EOF | 12817 EOF |
12644 if { (eval echo configure:12645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12818 if { (eval echo configure:12819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12645 rm -rf conftest* | 12819 rm -rf conftest* |
12646 eval "ac_cv_func_$dbfunc=yes" | 12820 eval "ac_cv_func_$dbfunc=yes" |
12647 else | 12821 else |
12648 echo "configure: failed program was:" >&5 | 12822 echo "configure: failed program was:" >&5 |
12649 cat conftest.$ac_ext >&5 | 12823 cat conftest.$ac_ext >&5 |
12658 else | 12832 else |
12659 echo "$ac_t""no" 1>&6 | 12833 echo "$ac_t""no" 1>&6 |
12660 | 12834 |
12661 | 12835 |
12662 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 12836 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
12663 echo "configure:12664: checking for $dbfunc in -ldb" >&5 | 12837 echo "configure:12838: checking for $dbfunc in -ldb" >&5 |
12664 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 12838 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
12665 | 12839 |
12666 xe_check_libs=" -ldb " | 12840 xe_check_libs=" -ldb " |
12667 cat > conftest.$ac_ext <<EOF | 12841 cat > conftest.$ac_ext <<EOF |
12668 #line 12669 "configure" | 12842 #line 12843 "configure" |
12669 #include "confdefs.h" | 12843 #include "confdefs.h" |
12670 /* Override any gcc2 internal prototype to avoid an error. */ | 12844 /* Override any gcc2 internal prototype to avoid an error. */ |
12671 /* We use char because int might match the return type of a gcc2 | 12845 /* We use char because int might match the return type of a gcc2 |
12672 builtin and then its argument prototype would still apply. */ | 12846 builtin and then its argument prototype would still apply. */ |
12673 char $dbfunc(); | 12847 char $dbfunc(); |
12674 | 12848 |
12675 int main() { | 12849 int main() { |
12676 $dbfunc() | 12850 $dbfunc() |
12677 ; return 0; } | 12851 ; return 0; } |
12678 EOF | 12852 EOF |
12679 if { (eval echo configure:12680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12853 if { (eval echo configure:12854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12680 rm -rf conftest* | 12854 rm -rf conftest* |
12681 eval "ac_cv_lib_$ac_lib_var=yes" | 12855 eval "ac_cv_lib_$ac_lib_var=yes" |
12682 else | 12856 else |
12683 echo "configure: failed program was:" >&5 | 12857 echo "configure: failed program was:" >&5 |
12684 cat conftest.$ac_ext >&5 | 12858 cat conftest.$ac_ext >&5 |
12700 | 12874 |
12701 fi | 12875 fi |
12702 | 12876 |
12703 if test "$with_database_berkdb" = "yes"; then | 12877 if test "$with_database_berkdb" = "yes"; then |
12704 { test "$extra_verbose" = "yes" && cat << EOF | 12878 { test "$extra_verbose" = "yes" && cat << EOF |
12705 Defining DB_H_PATH = "$db_h_path" | 12879 Defining DB_H_FILE = "$db_h_file" |
12706 EOF | 12880 EOF |
12707 cat >> confdefs.h <<EOF | 12881 cat >> confdefs.h <<EOF |
12708 #define DB_H_PATH "$db_h_path" | 12882 #define DB_H_FILE "$db_h_file" |
12709 EOF | 12883 EOF |
12710 } | 12884 } |
12711 | 12885 |
12712 { test "$extra_verbose" = "yes" && cat << \EOF | 12886 { test "$extra_verbose" = "yes" && cat << \EOF |
12713 Defining HAVE_BERKELEY_DB | 12887 Defining HAVE_BERKELEY_DB |
12738 fi | 12912 fi |
12739 | 12913 |
12740 if test "$with_socks" = "yes"; then | 12914 if test "$with_socks" = "yes"; then |
12741 | 12915 |
12742 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 12916 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
12743 echo "configure:12744: checking for SOCKSinit in -lsocks" >&5 | 12917 echo "configure:12918: checking for SOCKSinit in -lsocks" >&5 |
12744 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 12918 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
12745 | 12919 |
12746 xe_check_libs=" -lsocks " | 12920 xe_check_libs=" -lsocks " |
12747 cat > conftest.$ac_ext <<EOF | 12921 cat > conftest.$ac_ext <<EOF |
12748 #line 12749 "configure" | 12922 #line 12923 "configure" |
12749 #include "confdefs.h" | 12923 #include "confdefs.h" |
12750 /* Override any gcc2 internal prototype to avoid an error. */ | 12924 /* Override any gcc2 internal prototype to avoid an error. */ |
12751 /* We use char because int might match the return type of a gcc2 | 12925 /* We use char because int might match the return type of a gcc2 |
12752 builtin and then its argument prototype would still apply. */ | 12926 builtin and then its argument prototype would still apply. */ |
12753 char SOCKSinit(); | 12927 char SOCKSinit(); |
12754 | 12928 |
12755 int main() { | 12929 int main() { |
12756 SOCKSinit() | 12930 SOCKSinit() |
12757 ; return 0; } | 12931 ; return 0; } |
12758 EOF | 12932 EOF |
12759 if { (eval echo configure:12760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12933 if { (eval echo configure:12934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12760 rm -rf conftest* | 12934 rm -rf conftest* |
12761 eval "ac_cv_lib_$ac_lib_var=yes" | 12935 eval "ac_cv_lib_$ac_lib_var=yes" |
12762 else | 12936 else |
12763 echo "configure: failed program was:" >&5 | 12937 echo "configure: failed program was:" >&5 |
12764 cat conftest.$ac_ext >&5 | 12938 cat conftest.$ac_ext >&5 |
12809 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 12983 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
12810 fi | 12984 fi |
12811 | 12985 |
12812 if test "$with_modules" != "no"; then | 12986 if test "$with_modules" != "no"; then |
12813 echo "checking for module support" 1>&6 | 12987 echo "checking for module support" 1>&6 |
12814 echo "configure:12815: checking for module support" >&5 | 12988 echo "configure:12989: checking for module support" >&5 |
12815 | 12989 |
12816 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 12990 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
12817 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 12991 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
12818 echo "configure:12819: checking for dlfcn.h" >&5 | 12992 echo "configure:12993: checking for dlfcn.h" >&5 |
12819 | 12993 |
12820 cat > conftest.$ac_ext <<EOF | 12994 cat > conftest.$ac_ext <<EOF |
12821 #line 12822 "configure" | 12995 #line 12996 "configure" |
12822 #include "confdefs.h" | 12996 #include "confdefs.h" |
12823 #include <dlfcn.h> | 12997 #include <dlfcn.h> |
12824 EOF | 12998 EOF |
12825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12826 { (eval echo configure:12827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13000 { (eval echo configure:13001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12828 if test -z "$ac_err"; then | 13002 if test -z "$ac_err"; then |
12829 rm -rf conftest* | 13003 rm -rf conftest* |
12830 eval "ac_cv_header_$ac_safe=yes" | 13004 eval "ac_cv_header_$ac_safe=yes" |
12831 else | 13005 else |
12839 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13013 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12840 echo "$ac_t""yes" 1>&6 | 13014 echo "$ac_t""yes" 1>&6 |
12841 | 13015 |
12842 | 13016 |
12843 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 13017 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
12844 echo "configure:12845: checking for dlopen in -ldl" >&5 | 13018 echo "configure:13019: checking for dlopen in -ldl" >&5 |
12845 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 13019 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
12846 | 13020 |
12847 xe_check_libs=" -ldl " | 13021 xe_check_libs=" -ldl " |
12848 cat > conftest.$ac_ext <<EOF | 13022 cat > conftest.$ac_ext <<EOF |
12849 #line 12850 "configure" | 13023 #line 13024 "configure" |
12850 #include "confdefs.h" | 13024 #include "confdefs.h" |
12851 /* Override any gcc2 internal prototype to avoid an error. */ | 13025 /* Override any gcc2 internal prototype to avoid an error. */ |
12852 /* We use char because int might match the return type of a gcc2 | 13026 /* We use char because int might match the return type of a gcc2 |
12853 builtin and then its argument prototype would still apply. */ | 13027 builtin and then its argument prototype would still apply. */ |
12854 char dlopen(); | 13028 char dlopen(); |
12855 | 13029 |
12856 int main() { | 13030 int main() { |
12857 dlopen() | 13031 dlopen() |
12858 ; return 0; } | 13032 ; return 0; } |
12859 EOF | 13033 EOF |
12860 if { (eval echo configure:12861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13034 if { (eval echo configure:13035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12861 rm -rf conftest* | 13035 rm -rf conftest* |
12862 eval "ac_cv_lib_$ac_lib_var=yes" | 13036 eval "ac_cv_lib_$ac_lib_var=yes" |
12863 else | 13037 else |
12864 echo "configure: failed program was:" >&5 | 13038 echo "configure: failed program was:" >&5 |
12865 cat conftest.$ac_ext >&5 | 13039 cat conftest.$ac_ext >&5 |
12874 have_dl=yes libdl=dl | 13048 have_dl=yes libdl=dl |
12875 else | 13049 else |
12876 echo "$ac_t""no" 1>&6 | 13050 echo "$ac_t""no" 1>&6 |
12877 | 13051 |
12878 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 13052 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
12879 echo "configure:12880: checking for dlopen in -lc" >&5 | 13053 echo "configure:13054: checking for dlopen in -lc" >&5 |
12880 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 13054 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
12881 | 13055 |
12882 xe_check_libs=" -lc " | 13056 xe_check_libs=" -lc " |
12883 cat > conftest.$ac_ext <<EOF | 13057 cat > conftest.$ac_ext <<EOF |
12884 #line 12885 "configure" | 13058 #line 13059 "configure" |
12885 #include "confdefs.h" | 13059 #include "confdefs.h" |
12886 /* Override any gcc2 internal prototype to avoid an error. */ | 13060 /* Override any gcc2 internal prototype to avoid an error. */ |
12887 /* We use char because int might match the return type of a gcc2 | 13061 /* We use char because int might match the return type of a gcc2 |
12888 builtin and then its argument prototype would still apply. */ | 13062 builtin and then its argument prototype would still apply. */ |
12889 char dlopen(); | 13063 char dlopen(); |
12890 | 13064 |
12891 int main() { | 13065 int main() { |
12892 dlopen() | 13066 dlopen() |
12893 ; return 0; } | 13067 ; return 0; } |
12894 EOF | 13068 EOF |
12895 if { (eval echo configure:12896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13069 if { (eval echo configure:13070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12896 rm -rf conftest* | 13070 rm -rf conftest* |
12897 eval "ac_cv_lib_$ac_lib_var=yes" | 13071 eval "ac_cv_lib_$ac_lib_var=yes" |
12898 else | 13072 else |
12899 echo "configure: failed program was:" >&5 | 13073 echo "configure: failed program was:" >&5 |
12900 cat conftest.$ac_ext >&5 | 13074 cat conftest.$ac_ext >&5 |
12929 } | 13103 } |
12930 | 13104 |
12931 else | 13105 else |
12932 | 13106 |
12933 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 13107 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
12934 echo "configure:12935: checking for shl_load in -ldld" >&5 | 13108 echo "configure:13109: checking for shl_load in -ldld" >&5 |
12935 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 13109 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
12936 | 13110 |
12937 xe_check_libs=" -ldld " | 13111 xe_check_libs=" -ldld " |
12938 cat > conftest.$ac_ext <<EOF | 13112 cat > conftest.$ac_ext <<EOF |
12939 #line 12940 "configure" | 13113 #line 13114 "configure" |
12940 #include "confdefs.h" | 13114 #include "confdefs.h" |
12941 /* Override any gcc2 internal prototype to avoid an error. */ | 13115 /* Override any gcc2 internal prototype to avoid an error. */ |
12942 /* We use char because int might match the return type of a gcc2 | 13116 /* We use char because int might match the return type of a gcc2 |
12943 builtin and then its argument prototype would still apply. */ | 13117 builtin and then its argument prototype would still apply. */ |
12944 char shl_load(); | 13118 char shl_load(); |
12945 | 13119 |
12946 int main() { | 13120 int main() { |
12947 shl_load() | 13121 shl_load() |
12948 ; return 0; } | 13122 ; return 0; } |
12949 EOF | 13123 EOF |
12950 if { (eval echo configure:12951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13124 if { (eval echo configure:13125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12951 rm -rf conftest* | 13125 rm -rf conftest* |
12952 eval "ac_cv_lib_$ac_lib_var=yes" | 13126 eval "ac_cv_lib_$ac_lib_var=yes" |
12953 else | 13127 else |
12954 echo "configure: failed program was:" >&5 | 13128 echo "configure: failed program was:" >&5 |
12955 cat conftest.$ac_ext >&5 | 13129 cat conftest.$ac_ext >&5 |
12972 | 13146 |
12973 else | 13147 else |
12974 echo "$ac_t""no" 1>&6 | 13148 echo "$ac_t""no" 1>&6 |
12975 | 13149 |
12976 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 13150 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
12977 echo "configure:12978: checking for dld_init in -ldld" >&5 | 13151 echo "configure:13152: checking for dld_init in -ldld" >&5 |
12978 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 13152 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
12979 | 13153 |
12980 xe_check_libs=" -ldld " | 13154 xe_check_libs=" -ldld " |
12981 cat > conftest.$ac_ext <<EOF | 13155 cat > conftest.$ac_ext <<EOF |
12982 #line 12983 "configure" | 13156 #line 13157 "configure" |
12983 #include "confdefs.h" | 13157 #include "confdefs.h" |
12984 /* Override any gcc2 internal prototype to avoid an error. */ | 13158 /* Override any gcc2 internal prototype to avoid an error. */ |
12985 /* We use char because int might match the return type of a gcc2 | 13159 /* We use char because int might match the return type of a gcc2 |
12986 builtin and then its argument prototype would still apply. */ | 13160 builtin and then its argument prototype would still apply. */ |
12987 char dld_init(); | 13161 char dld_init(); |
12988 | 13162 |
12989 int main() { | 13163 int main() { |
12990 dld_init() | 13164 dld_init() |
12991 ; return 0; } | 13165 ; return 0; } |
12992 EOF | 13166 EOF |
12993 if { (eval echo configure:12994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13167 if { (eval echo configure:13168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12994 rm -rf conftest* | 13168 rm -rf conftest* |
12995 eval "ac_cv_lib_$ac_lib_var=yes" | 13169 eval "ac_cv_lib_$ac_lib_var=yes" |
12996 else | 13170 else |
12997 echo "configure: failed program was:" >&5 | 13171 echo "configure: failed program was:" >&5 |
12998 cat conftest.$ac_ext >&5 | 13172 cat conftest.$ac_ext >&5 |
13033 ld_dynamic_link_flags= | 13207 ld_dynamic_link_flags= |
13034 xehost=$canonical | 13208 xehost=$canonical |
13035 xealias=$internal_configuration | 13209 xealias=$internal_configuration |
13036 | 13210 |
13037 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 13211 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
13038 echo "configure:13039: checking how to build dynamic libraries for ${xehost}" >&5 | 13212 echo "configure:13213: checking how to build dynamic libraries for ${xehost}" >&5 |
13039 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 13213 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
13040 case "$xehost" in | 13214 case "$xehost" in |
13041 *-*-linux-gnu*) ;; | 13215 *-*-linux-gnu*) ;; |
13042 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 13216 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
13043 esac | 13217 esac |
13061 # Now see if the compiler is really GCC. | 13235 # Now see if the compiler is really GCC. |
13062 if test "$GCC" = "yes"; then | 13236 if test "$GCC" = "yes"; then |
13063 XEGCC=yes | 13237 XEGCC=yes |
13064 else | 13238 else |
13065 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 13239 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
13066 echo "configure:13067: checking checking whether we are using GNU C" >&5 | 13240 echo "configure:13241: checking checking whether we are using GNU C" >&5 |
13067 cat > conftest.$ac_ext <<EOF | 13241 cat > conftest.$ac_ext <<EOF |
13068 #line 13069 "configure" | 13242 #line 13243 "configure" |
13069 #include "confdefs.h" | 13243 #include "confdefs.h" |
13070 | 13244 |
13071 #ifdef __GNUC__ | 13245 #ifdef __GNUC__ |
13072 yes; | 13246 yes; |
13073 #endif | 13247 #endif |
13085 | 13259 |
13086 echo "$ac_t""${XEGCC}" 1>&6 | 13260 echo "$ac_t""${XEGCC}" 1>&6 |
13087 fi | 13261 fi |
13088 | 13262 |
13089 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 13263 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
13090 echo "configure:13091: checking how to produce PIC code" >&5 | 13264 echo "configure:13265: checking how to produce PIC code" >&5 |
13091 wl= | 13265 wl= |
13092 | 13266 |
13093 can_build_shared=yes | 13267 can_build_shared=yes |
13094 if test "$XEGCC" = yes; then | 13268 if test "$XEGCC" = yes; then |
13095 wl='-Wl,' | 13269 wl='-Wl,' |
13178 if test -n "$dll_cflags"; then | 13352 if test -n "$dll_cflags"; then |
13179 echo "$ac_t""${dll_cflags}" 1>&6 | 13353 echo "$ac_t""${dll_cflags}" 1>&6 |
13180 | 13354 |
13181 # Check to make sure the dll_cflags actually works. | 13355 # Check to make sure the dll_cflags actually works. |
13182 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 13356 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
13183 echo "configure:13184: checking if PIC flag ${dll_cflags} really works" >&5 | 13357 echo "configure:13358: checking if PIC flag ${dll_cflags} really works" >&5 |
13184 save_CFLAGS="$CFLAGS" | 13358 save_CFLAGS="$CFLAGS" |
13185 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 13359 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
13186 cat > conftest.$ac_ext <<EOF | 13360 cat > conftest.$ac_ext <<EOF |
13187 #line 13188 "configure" | 13361 #line 13362 "configure" |
13188 #include "confdefs.h" | 13362 #include "confdefs.h" |
13189 | 13363 |
13190 int main() { | 13364 int main() { |
13191 int x=0; | 13365 int x=0; |
13192 ; return 0; } | 13366 ; return 0; } |
13193 EOF | 13367 EOF |
13194 if { (eval echo configure:13195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13368 if { (eval echo configure:13369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13195 rm -rf conftest* | 13369 rm -rf conftest* |
13196 | 13370 |
13197 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 13371 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
13198 # reports no error. So, we need to grep stderr for (Bundled). | 13372 # reports no error. So, we need to grep stderr for (Bundled). |
13199 if grep '(Bundled)' config.log >/dev/null; then | 13373 if grep '(Bundled)' config.log >/dev/null; then |
13220 if test "$can_build_shared" = "yes"; then | 13394 if test "$can_build_shared" = "yes"; then |
13221 cc_produces_so=no | 13395 cc_produces_so=no |
13222 xldf= | 13396 xldf= |
13223 xcldf= | 13397 xcldf= |
13224 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 13398 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
13225 echo "configure:13226: checking if C compiler can produce shared libraries" >&5 | 13399 echo "configure:13400: checking if C compiler can produce shared libraries" >&5 |
13226 if test "$XEGCC" = yes; then | 13400 if test "$XEGCC" = yes; then |
13227 xcldf="-shared" | 13401 xcldf="-shared" |
13228 xldf="-shared" | 13402 xldf="-shared" |
13229 else # Not using GCC | 13403 else # Not using GCC |
13230 case "$xehost_os" in | 13404 case "$xehost_os" in |
13271 LDFLAGS="$xcldf $LDFLAGS" | 13445 LDFLAGS="$xcldf $LDFLAGS" |
13272 LIBS= | 13446 LIBS= |
13273 xe_libs= | 13447 xe_libs= |
13274 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 13448 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
13275 cat > conftest.$ac_ext <<EOF | 13449 cat > conftest.$ac_ext <<EOF |
13276 #line 13277 "configure" | 13450 #line 13451 "configure" |
13277 #include "confdefs.h" | 13451 #include "confdefs.h" |
13278 | 13452 |
13279 int main() { | 13453 int main() { |
13280 int x=0; | 13454 int x=0; |
13281 ; return 0; } | 13455 ; return 0; } |
13282 EOF | 13456 EOF |
13283 if { (eval echo configure:13284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13457 if { (eval echo configure:13458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13284 rm -rf conftest* | 13458 rm -rf conftest* |
13285 cc_produces_so=yes | 13459 cc_produces_so=yes |
13286 else | 13460 else |
13287 echo "configure: failed program was:" >&5 | 13461 echo "configure: failed program was:" >&5 |
13288 cat conftest.$ac_ext >&5 | 13462 cat conftest.$ac_ext >&5 |
13303 if test -z "$LTLD"; then | 13477 if test -z "$LTLD"; then |
13304 ac_prog=ld | 13478 ac_prog=ld |
13305 if test "$XEGCC" = yes; then | 13479 if test "$XEGCC" = yes; then |
13306 # Check if gcc -print-prog-name=ld gives a path. | 13480 # Check if gcc -print-prog-name=ld gives a path. |
13307 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 13481 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
13308 echo "configure:13309: checking for ld used by GCC" >&5 | 13482 echo "configure:13483: checking for ld used by GCC" >&5 |
13309 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 13483 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
13310 case "$ac_prog" in | 13484 case "$ac_prog" in |
13311 # Accept absolute paths. | 13485 # Accept absolute paths. |
13312 /*) | 13486 /*) |
13313 if test -z "$LTLD"; then | 13487 if test -z "$LTLD"; then |
13328 with_gnu_ld=unknown | 13502 with_gnu_ld=unknown |
13329 ;; | 13503 ;; |
13330 esac | 13504 esac |
13331 else | 13505 else |
13332 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 13506 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
13333 echo "configure:13334: checking for GNU ld" >&5 | 13507 echo "configure:13508: checking for GNU ld" >&5 |
13334 fi | 13508 fi |
13335 | 13509 |
13336 if test -z "$LTLD"; then | 13510 if test -z "$LTLD"; then |
13337 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 13511 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
13338 for ac_dir in $PATH; do | 13512 for ac_dir in $PATH; do |
13366 | 13540 |
13367 ld_dynamic_link_flags= | 13541 ld_dynamic_link_flags= |
13368 | 13542 |
13369 # Check to see if it really is or isn't GNU ld. | 13543 # Check to see if it really is or isn't GNU ld. |
13370 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 13544 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
13371 echo "configure:13372: checking if the linker is GNU ld" >&5 | 13545 echo "configure:13546: checking if the linker is GNU ld" >&5 |
13372 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 13546 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
13373 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 13547 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
13374 xe_gnu_ld=yes | 13548 xe_gnu_ld=yes |
13375 else | 13549 else |
13376 xe_gnu_ld=no | 13550 xe_gnu_ld=no |
13394 ld_shlibs=yes | 13568 ld_shlibs=yes |
13395 else | 13569 else |
13396 # OK - only NOW do we futz about with ld. | 13570 # OK - only NOW do we futz about with ld. |
13397 # See if the linker supports building shared libraries. | 13571 # See if the linker supports building shared libraries. |
13398 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 13572 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
13399 echo "configure:13400: checking whether the linker supports shared libraries" >&5 | 13573 echo "configure:13574: checking whether the linker supports shared libraries" >&5 |
13400 dll_ld=$CC | 13574 dll_ld=$CC |
13401 dll_ldflags=$LDFLAGS | 13575 dll_ldflags=$LDFLAGS |
13402 ld_shlibs=yes | 13576 ld_shlibs=yes |
13403 can_build_shared=yes | 13577 can_build_shared=yes |
13404 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 13578 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
13609 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 13783 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
13610 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 13784 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
13611 for ac_func in dlerror _dlerror | 13785 for ac_func in dlerror _dlerror |
13612 do | 13786 do |
13613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13614 echo "configure:13615: checking for $ac_func" >&5 | 13788 echo "configure:13789: checking for $ac_func" >&5 |
13615 | 13789 |
13616 cat > conftest.$ac_ext <<EOF | 13790 cat > conftest.$ac_ext <<EOF |
13617 #line 13618 "configure" | 13791 #line 13792 "configure" |
13618 #include "confdefs.h" | 13792 #include "confdefs.h" |
13619 /* System header to define __stub macros and hopefully few prototypes, | 13793 /* System header to define __stub macros and hopefully few prototypes, |
13620 which can conflict with char $ac_func(); below. */ | 13794 which can conflict with char $ac_func(); below. */ |
13621 #include <assert.h> | 13795 #include <assert.h> |
13622 /* Override any gcc2 internal prototype to avoid an error. */ | 13796 /* Override any gcc2 internal prototype to avoid an error. */ |
13635 $ac_func(); | 13809 $ac_func(); |
13636 #endif | 13810 #endif |
13637 | 13811 |
13638 ; return 0; } | 13812 ; return 0; } |
13639 EOF | 13813 EOF |
13640 if { (eval echo configure:13641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13814 if { (eval echo configure:13815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13641 rm -rf conftest* | 13815 rm -rf conftest* |
13642 eval "ac_cv_func_$ac_func=yes" | 13816 eval "ac_cv_func_$ac_func=yes" |
13643 else | 13817 else |
13644 echo "configure: failed program was:" >&5 | 13818 echo "configure: failed program was:" >&5 |
13645 cat conftest.$ac_ext >&5 | 13819 cat conftest.$ac_ext >&5 |
13674 with_modules=no | 13848 with_modules=no |
13675 fi | 13849 fi |
13676 fi | 13850 fi |
13677 | 13851 |
13678 cat > conftest.$ac_ext <<EOF | 13852 cat > conftest.$ac_ext <<EOF |
13679 #line 13680 "configure" | 13853 #line 13854 "configure" |
13680 #include "confdefs.h" | 13854 #include "confdefs.h" |
13681 int main(int c,char *v[]){return 0;} | 13855 int main(int c,char *v[]){return 0;} |
13682 EOF | 13856 EOF |
13683 if { (eval echo configure:13684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13857 if { (eval echo configure:13858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13684 then | 13858 then |
13685 : | 13859 : |
13686 else | 13860 else |
13687 conftest_rc="$?" | 13861 conftest_rc="$?" |
13688 echo "configure: failed program was:" >&5 | 13862 echo "configure: failed program was:" >&5 |
14205 cat >> confdefs.h <<\EOF | 14379 cat >> confdefs.h <<\EOF |
14206 #define EXTERNAL_WIDGET 1 | 14380 #define EXTERNAL_WIDGET 1 |
14207 EOF | 14381 EOF |
14208 } | 14382 } |
14209 | 14383 |
14210 test "$no_doc_file" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 14384 test "$quick_build" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
14211 Defining NO_DOC_FILE | 14385 Defining QUICK_BUILD |
14212 EOF | 14386 EOF |
14213 cat >> confdefs.h <<\EOF | 14387 cat >> confdefs.h <<\EOF |
14214 #define NO_DOC_FILE 1 | 14388 #define QUICK_BUILD 1 |
14215 EOF | 14389 EOF |
14216 } | 14390 } |
14217 | 14391 |
14218 test "$with_purify" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF | 14392 test "$with_purify" = "yes" && { test "$extra_verbose" = "yes" && cat << \EOF |
14219 Defining PURIFY | 14393 Defining PURIFY |
14294 | 14468 |
14295 ( | 14469 ( |
14296 echo " | 14470 echo " |
14297 | 14471 |
14298 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. | 14472 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. |
14299 | 14473 " |
14300 Where should the build process find the source code? $srcdir | 14474 echo " |
14301 What installation prefix should install use? $prefix | 14475 Compilation / Installation:" |
14302 What operating system and machine description files should XEmacs use? | 14476 echo " Source code location: $srcdir" |
14303 \`$opsysfile' and \`$machfile' | 14477 echo " Installation prefix: $prefix" |
14304 What compiler should XEmacs be built with? $CC $CFLAGS | 14478 if test -n "$site_includes"; then |
14305 Should XEmacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} | 14479 echo " Additional header files: $site_includes" |
14306 Should XEmacs use the relocating allocator for buffers? $rel_alloc | 14480 fi |
14307 What window system should XEmacs use? ${window_system}" | 14481 if test -n "$site_libraries"; then |
14482 echo " Additional libraries: $site_libraries" | |
14483 fi | |
14484 if test -n "$site_prefixes"; then | |
14485 echo " Additional prefixes: $site_prefixes" | |
14486 fi | |
14487 if test -n "$runpath"; then | |
14488 echo " Runtime library search path: $runpath" | |
14489 fi | |
14490 echo " Operating system description file: \`$opsysfile'" | |
14491 echo " Machine description file: \`$machfile'" | |
14492 echo " Compiler: $CC $CFLAGS" | |
14493 echo " Relocating allocator for buffers: $rel_alloc" | |
14494 echo " GNU version of malloc: ${GNU_MALLOC}${GNU_MALLOC_reason}" | |
14495 | |
14496 echo " | |
14497 Window System:" | |
14498 if test "$with_msw" = "yes"; then | |
14499 echo " Compiling in support for the Microsoft window system." | |
14500 fi | |
14308 if test "$with_x11" = "yes"; then | 14501 if test "$with_x11" = "yes"; then |
14309 echo " Where do we find X Windows header files? $x_includes" | 14502 echo " Compiling in support for the X window system:" |
14310 echo " Where do we find X Windows libraries? $x_libraries" | 14503 echo " - X Windows headers location: $x_includes" |
14311 fi | 14504 echo " - X Windows libraries location: $x_libraries" |
14312 if test -n "$site_includes"; then | 14505 if test "$with_xauth" != yes; then |
14313 echo " Additional header files: $site_includes" | 14506 echo " - Xau (X authority) not available." |
14314 fi | 14507 fi |
14315 if test -n "$site_libraries"; then | 14508 if test "$with_xmu" != yes; then |
14316 echo " Additional libraries: $site_libraries" | 14509 echo " - Xmu library not available; substituting equivalent routines." |
14317 fi | 14510 fi |
14318 if test -n "$site_prefixes"; then | 14511 if test "$with_wmcommand" != no; then |
14319 echo " Additional prefixes: $site_prefixes" | 14512 echo " - Handling WM_COMMAND properly." |
14320 fi | 14513 fi |
14321 if test -n "$runpath"; then | |
14322 echo " Runtime library search path: $runpath" | |
14323 fi | 14514 fi |
14324 if test "$have_xaw" = "yes"; then | 14515 if test "$have_xaw" = "yes"; then |
14325 echo " Athena library to link: $athena_lib" | 14516 echo " Compiling in support for the Athena widget set:" |
14326 echo " Athena header include path: $athena_h_path" | 14517 echo " - Athena headers location: $athena_h_path" |
14327 fi | 14518 echo " - Athena library to link: $athena_lib" |
14328 test "$with_dnet" = yes && echo " Compiling in support for DNET." | 14519 fi |
14329 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | 14520 case "$with_menubars" in |
14330 test "$with_xauth" = yes && echo " Compiling in support for XAUTH." | 14521 lucid ) echo " Using Lucid menubars." ;; |
14331 if test "$with_xmu" != yes -a "$with_x11" = yes; then | 14522 motif ) echo " Using Motif menubars." |
14332 echo " No Xmu; substituting equivalent routines." | 14523 echo " *WARNING* The Motif menubar implementation is currently buggy." |
14333 fi | 14524 echo " We recommend using the Lucid menubar instead." |
14334 | 14525 echo " Re-run configure with --with-menubars='lucid'." ;; |
14526 msw ) echo " Using MS-Windows menubars." ;; | |
14527 esac | |
14528 case "$with_scrollbars" in | |
14529 lucid ) echo " Using Lucid scrollbars." ;; | |
14530 motif ) echo " Using Motif scrollbars." ;; | |
14531 athena ) echo " Using Athena scrollbars." ;; | |
14532 msw ) echo " Using MS-Windows scrollbars." ;; | |
14533 esac | |
14534 case "$with_dialogs" in | |
14535 motif ) echo " Using Motif dialog boxes." | |
14536 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then | |
14537 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher." | |
14538 echo " We recommend using the Athena dialog boxes instead." | |
14539 echo " Install libXaw and re-run configure with --with-dialogs='athena'." | |
14540 echo " Read the PROBLEMS file for more information." | |
14541 fi; fi ;; | |
14542 athena ) echo " Using Athena dialog boxes." ;; | |
14543 msw ) echo " Using MS-Windows dialog boxes." ;; | |
14544 esac | |
14545 case "$with_widgets" in | |
14546 motif ) echo " Using Motif native widgets." ;; | |
14547 athena ) echo " Using Athena native widgets." ;; | |
14548 msw ) echo " Using MS-Windows native widgets." ;; | |
14549 esac | |
14550 if test "$with_dragndrop" = yes; then | |
14551 echo " Compiling in support for Drag'n'Drop (EXPERIMENTAL)." | |
14552 echo " - Drag'n'Drop prototype: $dragndrop_proto." | |
14553 fi | |
14554 | |
14555 echo " | |
14556 TTY:" | |
14557 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | |
14558 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." | |
14559 | |
14560 echo " | |
14561 Images:" | |
14562 test "$with_gif" = yes && echo " Compiling in support for GIF images (builtin)." | |
14335 if test "$with_xpm" = yes; then | 14563 if test "$with_xpm" = yes; then |
14336 echo " Compiling in support for XPM images." | 14564 echo " Compiling in support for XPM images." |
14337 elif test "$with_x11" = yes; then | 14565 elif test "$with_x11" = yes; then |
14338 echo " --------------------------------------------------------------------" | 14566 echo " WARNING: -----------------------------------------------------------" |
14339 echo " WARNING: Compiling without XPM support." | 14567 echo " WARNING: Compiling without XPM image support." |
14340 if test "$xpm_problem" != ""; then | 14568 if test "$xpm_problem" != ""; then |
14341 echo " Reason: $xpm_problem" | 14569 echo " Reason: $xpm_problem" |
14342 fi | 14570 fi |
14343 echo " WARNING: You should strongly consider installing XPM." | 14571 echo " WARNING: You should strongly consider installing XPM." |
14344 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." | 14572 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." |
14345 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" | 14573 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" |
14346 echo " --------------------------------------------------------------------" | 14574 echo " WARNING: -----------------------------------------------------------" |
14347 fi | 14575 fi |
14348 if test "$with_png" = yes; then | 14576 if test "$with_png" = yes; then |
14349 echo " Compiling in support for PNG image handling." | 14577 echo " Compiling in support for PNG images." |
14350 elif test "$window_system" != "none"; then | 14578 elif test "$window_system" != "none"; then |
14351 echo " --------------------------------------------------------------------" | 14579 echo " WARNING: -----------------------------------------------------------" |
14352 echo " WARNING: Compiling without PNG image support." | 14580 echo " WARNING: Compiling without PNG image support." |
14353 if test "$png_problem" != ""; then | 14581 if test "$png_problem" != ""; then |
14354 echo " Reason: $png_problem" | 14582 echo " Reason: $png_problem" |
14355 fi | 14583 fi |
14356 echo " WARNING: You should strongly consider installing the PNG libraries." | 14584 echo " WARNING: You should strongly consider installing the PNG libraries." |
14357 echo " WARNING: Otherwise certain images and glyphs may not display." | 14585 echo " WARNING: Otherwise certain images and glyphs may not display." |
14358 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" | 14586 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" |
14359 echo " --------------------------------------------------------------------" | 14587 echo " WARNING: -----------------------------------------------------------" |
14360 fi | 14588 fi |
14361 test "$with_gif" = yes && echo " Compiling in support for (builtin) GIF image handling." | 14589 test "$with_jpeg" = yes && echo " Compiling in support for JPEG images." |
14362 test "$with_jpeg" = yes && echo " Compiling in support for JPEG image handling." | 14590 test "$with_tiff" = yes && echo " Compiling in support for TIFF images." |
14363 test "$with_tiff" = yes && echo " Compiling in support for TIFF image handling." | |
14364 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." | 14591 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." |
14365 | 14592 |
14366 test "$with_native_sound" = yes && echo " Compiling in native sound support." | 14593 echo " |
14367 test "$with_nas_sound" = yes && echo " Compiling in network sound (NAS) support." | 14594 Sound:" |
14368 test "$old_nas" = yes && echo " nas library lacks error trapping, will play synchronously." | 14595 test "$with_native_sound" = yes && echo " Compiling in support for sound (native)." |
14369 test "$with_esd_sound" = yes && echo " Compiling in support for Enlightened Sound Daemon (ESD)." | 14596 test "$with_nas_sound" = yes && echo " Compiling in support for NAS (network audio system)." |
14370 | 14597 test "$old_nas" = yes && echo " - NAS library lacks error trapping; will play synchronously." |
14371 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." | 14598 test "$with_esd_sound" = yes && echo " Compiling in support for ESD (Enlightened Sound Daemon)." |
14599 | |
14600 echo " | |
14601 Databases:" | |
14602 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley database." | |
14372 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 14603 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
14373 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." | 14604 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." |
14374 | 14605 test "$with_ldap" = yes && echo " Compiling in support for LDAP." |
14375 test "$with_ldap" = yes && echo " Compiling in support for LDAP." | |
14376 | |
14377 if test "$with_postgresql" = yes; then | 14606 if test "$with_postgresql" = yes; then |
14378 echo " Compiling in support for PostgreSQL." | 14607 echo " Compiling in support for PostgreSQL." |
14379 if test "$with_postgresqlv7" = yes; then | 14608 if test "$with_postgresqlv7" = yes; then |
14380 echo " Using PostgreSQL V7 bindings." | 14609 echo " - Using PostgreSQL V7 bindings." |
14381 fi | 14610 fi |
14382 fi | 14611 if test -n "$postgres_h_path"; then |
14383 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | 14612 echo " - PostgreSQL headers location: $postgres_h_path" |
14384 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." | 14613 fi |
14385 | 14614 fi |
14386 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | 14615 |
14387 test "$with_file_coding" = yes && echo " Compiling in File coding support." | 14616 echo " |
14388 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." | 14617 Internationalization:" |
14389 test "$with_xim" = motif && echo " Using Motif to provide XIM support." | 14618 test "$with_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)." |
14390 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support." | 14619 test "$with_file_coding" = yes && echo " Compiling in support for file coding." |
14391 test "$with_xfs" = yes && echo " Using XFontSet to provide bilingual menubar." | 14620 test "$with_xim" != no && echo " Compiling in support for XIM (X11R5+ I18N input method)." |
14392 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." | 14621 test "$with_xim" = motif && echo " - Using Motif to provide XIM support." |
14622 test "$with_xim" = xlib && echo " - Using raw Xlib to provide XIM support." | |
14623 test "$with_xfs" = yes && echo " - Using XFontSet to provide bilingual menubar." | |
14624 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." | |
14393 if test "$with_wnn" = yes; then | 14625 if test "$with_wnn" = yes; then |
14394 echo " Compiling in support for the WNN input method on Mule." | 14626 echo " Compiling in support for the WNN input method on Mule." |
14395 test "$with_wnn6" = yes && echo " Using WNN version 6." | 14627 test "$with_wnn6" = yes && echo " - Using WNN version 6." |
14396 fi | 14628 fi |
14397 test "$with_i18n3" = yes && echo " Compiling in I18N support, level 3 (doesn't currently work)." | 14629 test "$with_i18n3" = yes && echo " Compiling in support for I18N level 3 (doesn't currently work)." |
14398 | 14630 |
14399 test "$with_cde" = yes && echo " Compiling in support for CDE." | 14631 echo " |
14632 Mail:" | |
14633 test "$with_pop" = yes && echo " Compiling in support for POP mail retrieval." | |
14634 test "$with_kerberos" = yes && echo " Compiling in support for Kerberos POP authentication." | |
14635 test "$with_hesiod" = yes && echo " Compiling in support for Hesiod POP server access." | |
14636 echo " Compiling in support for \"$mail_locking\" mail spool file locking method." | |
14637 | |
14638 echo " | |
14639 Other Features:" | |
14400 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | 14640 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
14401 test "$with_offix" = yes && echo " Compiling in support for OffiX." | |
14402 test "$with_dragndrop" = yes && echo " Compiling in EXPERIMENTAL support for Drag'n'Drop ($dragndrop_proto )." | |
14403 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | 14641 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." |
14404 test "$with_wmcommand" != no && echo " Compiling in support for proper WM_COMMAND handling." | 14642 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
14405 case "$with_menubars" in | 14643 test "$with_dnet" = yes && echo " Compiling in support for DNET." |
14406 lucid ) echo " Using Lucid menubars." ;; | 14644 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." |
14407 motif ) echo " Using Motif menubars." | 14645 test "$with_clash_detection" != "no" && \ |
14408 echo " *WARNING* The Motif menubar implementation is currently buggy." | |
14409 echo " We recommend using the Lucid menubar instead." | |
14410 echo " Re-run configure with --with-menubars='lucid'." ;; | |
14411 msw ) echo " Using MS-Windows menubars." ;; | |
14412 esac | |
14413 case "$with_scrollbars" in | |
14414 lucid ) echo " Using Lucid scrollbars." ;; | |
14415 motif ) echo " Using Motif scrollbars." ;; | |
14416 athena ) echo " Using Athena scrollbars." ;; | |
14417 msw ) echo " Using MS-Windows scrollbars." ;; | |
14418 esac | |
14419 case "$with_widgets" in | |
14420 motif ) echo " Using Motif native widgets." ;; | |
14421 athena ) echo " Using Athena native widgets." ;; | |
14422 msw ) echo " Using MS-Windows native widgets." ;; | |
14423 esac | |
14424 case "$with_dialogs" in | |
14425 motif ) | |
14426 echo " Using Motif dialog boxes." | |
14427 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then | |
14428 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher." | |
14429 echo " We recommend using the Athena dialog boxes instead." | |
14430 echo " Install libXaw and re-run configure with --with-dialogs='athena'." | |
14431 echo " Read the PROBLEMS file for more information." | |
14432 fi; fi | |
14433 ;; | |
14434 athena ) echo " Using Athena dialog boxes." ;; | |
14435 msw ) echo " Using MS-Windows dialog boxes." ;; | |
14436 esac | |
14437 test "$with_modules" = "yes" && echo " Compiling in dynamic shared object module support." | |
14438 test "$with_clash_detection" = yes && \ | |
14439 echo " Clash detection will use \"$lockdir\" for locking files." | 14646 echo " Clash detection will use \"$lockdir\" for locking files." |
14440 echo " movemail will use \"$mail_locking\" for locking mail spool files." | 14647 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." |
14441 test "$with_pop" = yes && echo " Using POP for mail access." | 14648 test "$pdump" = yes && echo " Using the new portable dumper." |
14442 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication." | 14649 test "$debug" = yes && echo " Compiling in support for extra debugging code." |
14443 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host." | 14650 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)." |
14444 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." | 14651 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc $error_check_glyphs" \ |
14445 test "$pdump" = yes && echo " Using the new portable dumper." | 14652 != "no no no no no no"; then |
14446 test "$debug" = yes && echo " Compiling in extra code for debugging." | |
14447 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." | |
14448 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc" \ | |
14449 != "no no no no no"; then | |
14450 echo " WARNING: ---------------------------------------------------------" | 14653 echo " WARNING: ---------------------------------------------------------" |
14451 echo " WARNING: Compiling in support for runtime error checking." | 14654 echo " WARNING: Compiling in support for runtime error checking." |
14452 echo " WARNING: XEmacs will run noticeably more slowly as a result." | 14655 echo " WARNING: XEmacs will run noticeably more slowly as a result." |
14453 echo " WARNING: Error checking is on by default for XEmacs beta releases." | 14656 echo " WARNING: Error checking is on by default for XEmacs beta releases." |
14454 echo " WARNING: ---------------------------------------------------------" | 14657 echo " WARNING: ---------------------------------------------------------" |