Mercurial > hg > xemacs-beta
comparison configure @ 434:9d177e8d4150 r21-2-25
Import from CVS: tag r21-2-25
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:30:53 +0200 |
parents | 3a7e78e1142d |
children | 84b14dcb0985 |
comparison
equal
deleted
inserted
replaced
433:892ca416f0fb | 434:9d177e8d4150 |
---|---|
480 fi | 480 fi |
481 sound_notfirst=true | 481 sound_notfirst=true |
482 done | 482 done |
483 ;; | 483 ;; |
484 | 484 |
485 "with_athena" ) | |
486 case "$val" in | |
487 xa | xaw ) val=xaw ;; | |
488 3 | 3d | xaw3d ) val=3d ;; | |
489 ne | nex | next | naxtaw) val=next ;; | |
490 9 | 95 | xaw95 ) val=95 ;; | |
491 xp | xpm | xawxpm ) val=xpm ;; | |
492 * ) (echo "$progname: Usage error:" | |
493 echo " " "The \`--$optname' option must have one of these values: | |
494 \`xaw', \`3d', \`next', \`95', or \`xpm'." | |
495 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | |
496 esac | |
497 eval "$opt=\"$val\"" | |
498 ;; | |
499 | |
485 "with_xim" ) | 500 "with_xim" ) |
486 case "$val" in | 501 case "$val" in |
487 y | ye | yes ) val=yes ;; | 502 y | ye | yes ) val=yes ;; |
488 n | no | non | none ) val=no ;; | 503 n | no | non | none ) val=no ;; |
489 x | xl | xli | xlib ) val=xlib ;; | 504 x | xl | xli | xlib ) val=xlib ;; |
708 "with_dialogs" | \ | 723 "with_dialogs" | \ |
709 "with_widgets" ) | 724 "with_widgets" ) |
710 case "$val" in | 725 case "$val" in |
711 l | lu | luc | luci | lucid ) val=lucid ;; | 726 l | lu | luc | luci | lucid ) val=lucid ;; |
712 m | mo | mot | moti | motif ) val=motif ;; | 727 m | mo | mot | moti | motif ) val=motif ;; |
713 athena3d | athena-3d ) val=athena3d ;; | |
714 a | at | ath | athe | athen | athena ) val=athena ;; | 728 a | at | ath | athe | athen | athena ) val=athena ;; |
715 n | no | non | none ) val=no ;; | 729 n | no | non | none ) val=no ;; |
716 * ) (echo "$progname: Usage error:" | 730 * ) (echo "$progname: Usage error:" |
717 echo " " "The \`--$optname' option must have one of these values: | 731 echo " " "The \`--$optname' option must have one of these values: |
718 \`lucid', \`motif', \`athena', \`athena3d', or \`no'." | 732 \`lucid', \`motif', \`athena', or \`no'." |
719 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 733 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
720 esac | 734 esac |
721 eval "$opt=\"$val\"" | 735 eval "$opt=\"$val\"" |
722 ;; | 736 ;; |
723 | 737 |
814 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 828 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
815 fi | 829 fi |
816 fi | 830 fi |
817 | 831 |
818 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 832 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
819 echo "configure:820: checking whether ln -s works" >&5 | 833 echo "configure:834: checking whether ln -s works" >&5 |
820 | 834 |
821 rm -f conftestdata | 835 rm -f conftestdata |
822 if ln -s X conftestdata 2>/dev/null | 836 if ln -s X conftestdata 2>/dev/null |
823 then | 837 then |
824 rm -f conftestdata | 838 rm -f conftestdata |
1059 } | 1073 } |
1060 | 1074 |
1061 | 1075 |
1062 | 1076 |
1063 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1077 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1064 echo "configure:1065: checking "host system type"" >&5 | 1078 echo "configure:1079: checking "host system type"" >&5 |
1065 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1079 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1066 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1080 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1067 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1081 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1068 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1082 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1069 echo "$ac_t""$configuration" 1>&6 | 1083 echo "$ac_t""$configuration" 1>&6 |
1553 xe_save_CFLAGS="$CFLAGS" | 1567 xe_save_CFLAGS="$CFLAGS" |
1554 | 1568 |
1555 # Extract the first word of "gcc", so it can be a program name with args. | 1569 # Extract the first word of "gcc", so it can be a program name with args. |
1556 set dummy gcc; ac_word=$2 | 1570 set dummy gcc; ac_word=$2 |
1557 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1571 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1558 echo "configure:1559: checking for $ac_word" >&5 | 1572 echo "configure:1573: checking for $ac_word" >&5 |
1559 | 1573 |
1560 if test -n "$CC"; then | 1574 if test -n "$CC"; then |
1561 ac_cv_prog_CC="$CC" # Let the user override the test. | 1575 ac_cv_prog_CC="$CC" # Let the user override the test. |
1562 else | 1576 else |
1563 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1577 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1580 | 1594 |
1581 if test -z "$CC"; then | 1595 if test -z "$CC"; then |
1582 # Extract the first word of "cc", so it can be a program name with args. | 1596 # Extract the first word of "cc", so it can be a program name with args. |
1583 set dummy cc; ac_word=$2 | 1597 set dummy cc; ac_word=$2 |
1584 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1598 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1585 echo "configure:1586: checking for $ac_word" >&5 | 1599 echo "configure:1600: checking for $ac_word" >&5 |
1586 | 1600 |
1587 if test -n "$CC"; then | 1601 if test -n "$CC"; then |
1588 ac_cv_prog_CC="$CC" # Let the user override the test. | 1602 ac_cv_prog_CC="$CC" # Let the user override the test. |
1589 else | 1603 else |
1590 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1604 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1628 case "`uname -s`" in | 1642 case "`uname -s`" in |
1629 *win32* | *WIN32*) | 1643 *win32* | *WIN32*) |
1630 # Extract the first word of "cl", so it can be a program name with args. | 1644 # Extract the first word of "cl", so it can be a program name with args. |
1631 set dummy cl; ac_word=$2 | 1645 set dummy cl; ac_word=$2 |
1632 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1633 echo "configure:1634: checking for $ac_word" >&5 | 1647 echo "configure:1648: checking for $ac_word" >&5 |
1634 | 1648 |
1635 if test -n "$CC"; then | 1649 if test -n "$CC"; then |
1636 ac_cv_prog_CC="$CC" # Let the user override the test. | 1650 ac_cv_prog_CC="$CC" # Let the user override the test. |
1637 else | 1651 else |
1638 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1652 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1657 fi | 1671 fi |
1658 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1672 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1659 fi | 1673 fi |
1660 | 1674 |
1661 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1675 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1662 echo "configure:1663: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1676 echo "configure:1677: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1663 | 1677 |
1664 ac_ext=c | 1678 ac_ext=c |
1665 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1679 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1666 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1680 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1667 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1681 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1670 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1684 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1671 cross_compiling=no | 1685 cross_compiling=no |
1672 | 1686 |
1673 cat > conftest.$ac_ext << EOF | 1687 cat > conftest.$ac_ext << EOF |
1674 | 1688 |
1675 #line 1676 "configure" | 1689 #line 1690 "configure" |
1676 #include "confdefs.h" | 1690 #include "confdefs.h" |
1677 | 1691 |
1678 main(){return(0);} | 1692 main(){return(0);} |
1679 EOF | 1693 EOF |
1680 if { (eval echo configure:1681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1694 if { (eval echo configure:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1681 ac_cv_prog_cc_works=yes | 1695 ac_cv_prog_cc_works=yes |
1682 # If we can't run a trivial program, we are probably using a cross compiler. | 1696 # If we can't run a trivial program, we are probably using a cross compiler. |
1683 if (./conftest; exit) 2>/dev/null; then | 1697 if (./conftest; exit) 2>/dev/null; then |
1684 ac_cv_prog_cc_cross=no | 1698 ac_cv_prog_cc_cross=no |
1685 else | 1699 else |
1703 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1717 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1704 if test $ac_cv_prog_cc_works = no; then | 1718 if test $ac_cv_prog_cc_works = no; then |
1705 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1719 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1706 fi | 1720 fi |
1707 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1721 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1708 echo "configure:1709: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1722 echo "configure:1723: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1709 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1723 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1710 cross_compiling=$ac_cv_prog_cc_cross | 1724 cross_compiling=$ac_cv_prog_cc_cross |
1711 | 1725 |
1712 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1726 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1713 echo "configure:1714: checking whether we are using GNU C" >&5 | 1727 echo "configure:1728: checking whether we are using GNU C" >&5 |
1714 | 1728 |
1715 cat > conftest.c <<EOF | 1729 cat > conftest.c <<EOF |
1716 #ifdef __GNUC__ | 1730 #ifdef __GNUC__ |
1717 yes; | 1731 yes; |
1718 #endif | 1732 #endif |
1719 EOF | 1733 EOF |
1720 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1734 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1721 ac_cv_prog_gcc=yes | 1735 ac_cv_prog_gcc=yes |
1722 else | 1736 else |
1723 ac_cv_prog_gcc=no | 1737 ac_cv_prog_gcc=no |
1724 fi | 1738 fi |
1725 | 1739 |
1733 | 1747 |
1734 ac_test_CFLAGS="${CFLAGS+set}" | 1748 ac_test_CFLAGS="${CFLAGS+set}" |
1735 ac_save_CFLAGS="$CFLAGS" | 1749 ac_save_CFLAGS="$CFLAGS" |
1736 CFLAGS= | 1750 CFLAGS= |
1737 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1751 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1738 echo "configure:1739: checking whether ${CC-cc} accepts -g" >&5 | 1752 echo "configure:1753: checking whether ${CC-cc} accepts -g" >&5 |
1739 | 1753 |
1740 echo 'void f(){}' > conftest.c | 1754 echo 'void f(){}' > conftest.c |
1741 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1755 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1742 ac_cv_prog_cc_g=yes | 1756 ac_cv_prog_cc_g=yes |
1743 else | 1757 else |
1766 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1780 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1767 CC=${NON_GNU_CC-cc} | 1781 CC=${NON_GNU_CC-cc} |
1768 # Extract the first word of "gcc", so it can be a program name with args. | 1782 # Extract the first word of "gcc", so it can be a program name with args. |
1769 set dummy gcc; ac_word=$2 | 1783 set dummy gcc; ac_word=$2 |
1770 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1784 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1771 echo "configure:1772: checking for $ac_word" >&5 | 1785 echo "configure:1786: checking for $ac_word" >&5 |
1772 | 1786 |
1773 if test -n "$CC"; then | 1787 if test -n "$CC"; then |
1774 ac_cv_prog_CC="$CC" # Let the user override the test. | 1788 ac_cv_prog_CC="$CC" # Let the user override the test. |
1775 else | 1789 else |
1776 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1790 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1793 | 1807 |
1794 if test -z "$CC"; then | 1808 if test -z "$CC"; then |
1795 # Extract the first word of "cc", so it can be a program name with args. | 1809 # Extract the first word of "cc", so it can be a program name with args. |
1796 set dummy cc; ac_word=$2 | 1810 set dummy cc; ac_word=$2 |
1797 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1811 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1798 echo "configure:1799: checking for $ac_word" >&5 | 1812 echo "configure:1813: checking for $ac_word" >&5 |
1799 | 1813 |
1800 if test -n "$CC"; then | 1814 if test -n "$CC"; then |
1801 ac_cv_prog_CC="$CC" # Let the user override the test. | 1815 ac_cv_prog_CC="$CC" # Let the user override the test. |
1802 else | 1816 else |
1803 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1817 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1841 case "`uname -s`" in | 1855 case "`uname -s`" in |
1842 *win32* | *WIN32*) | 1856 *win32* | *WIN32*) |
1843 # Extract the first word of "cl", so it can be a program name with args. | 1857 # Extract the first word of "cl", so it can be a program name with args. |
1844 set dummy cl; ac_word=$2 | 1858 set dummy cl; ac_word=$2 |
1845 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1859 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1846 echo "configure:1847: checking for $ac_word" >&5 | 1860 echo "configure:1861: checking for $ac_word" >&5 |
1847 | 1861 |
1848 if test -n "$CC"; then | 1862 if test -n "$CC"; then |
1849 ac_cv_prog_CC="$CC" # Let the user override the test. | 1863 ac_cv_prog_CC="$CC" # Let the user override the test. |
1850 else | 1864 else |
1851 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1870 fi | 1884 fi |
1871 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1885 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1872 fi | 1886 fi |
1873 | 1887 |
1874 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1888 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1875 echo "configure:1876: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1889 echo "configure:1890: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1876 | 1890 |
1877 ac_ext=c | 1891 ac_ext=c |
1878 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1892 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1879 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1893 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1880 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1894 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1883 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1897 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1884 cross_compiling=no | 1898 cross_compiling=no |
1885 | 1899 |
1886 cat > conftest.$ac_ext << EOF | 1900 cat > conftest.$ac_ext << EOF |
1887 | 1901 |
1888 #line 1889 "configure" | 1902 #line 1903 "configure" |
1889 #include "confdefs.h" | 1903 #include "confdefs.h" |
1890 | 1904 |
1891 main(){return(0);} | 1905 main(){return(0);} |
1892 EOF | 1906 EOF |
1893 if { (eval echo configure:1894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1907 if { (eval echo configure:1908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1894 ac_cv_prog_cc_works=yes | 1908 ac_cv_prog_cc_works=yes |
1895 # If we can't run a trivial program, we are probably using a cross compiler. | 1909 # If we can't run a trivial program, we are probably using a cross compiler. |
1896 if (./conftest; exit) 2>/dev/null; then | 1910 if (./conftest; exit) 2>/dev/null; then |
1897 ac_cv_prog_cc_cross=no | 1911 ac_cv_prog_cc_cross=no |
1898 else | 1912 else |
1916 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1930 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1917 if test $ac_cv_prog_cc_works = no; then | 1931 if test $ac_cv_prog_cc_works = no; then |
1918 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1932 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1919 fi | 1933 fi |
1920 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1934 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1921 echo "configure:1922: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1935 echo "configure:1936: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1922 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1936 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1923 cross_compiling=$ac_cv_prog_cc_cross | 1937 cross_compiling=$ac_cv_prog_cc_cross |
1924 | 1938 |
1925 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1939 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1926 echo "configure:1927: checking whether we are using GNU C" >&5 | 1940 echo "configure:1941: checking whether we are using GNU C" >&5 |
1927 | 1941 |
1928 cat > conftest.c <<EOF | 1942 cat > conftest.c <<EOF |
1929 #ifdef __GNUC__ | 1943 #ifdef __GNUC__ |
1930 yes; | 1944 yes; |
1931 #endif | 1945 #endif |
1932 EOF | 1946 EOF |
1933 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1947 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1934 ac_cv_prog_gcc=yes | 1948 ac_cv_prog_gcc=yes |
1935 else | 1949 else |
1936 ac_cv_prog_gcc=no | 1950 ac_cv_prog_gcc=no |
1937 fi | 1951 fi |
1938 | 1952 |
1946 | 1960 |
1947 ac_test_CFLAGS="${CFLAGS+set}" | 1961 ac_test_CFLAGS="${CFLAGS+set}" |
1948 ac_save_CFLAGS="$CFLAGS" | 1962 ac_save_CFLAGS="$CFLAGS" |
1949 CFLAGS= | 1963 CFLAGS= |
1950 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1964 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1951 echo "configure:1952: checking whether ${CC-cc} accepts -g" >&5 | 1965 echo "configure:1966: checking whether ${CC-cc} accepts -g" >&5 |
1952 | 1966 |
1953 echo 'void f(){}' > conftest.c | 1967 echo 'void f(){}' > conftest.c |
1954 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1968 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1955 ac_cv_prog_cc_g=yes | 1969 ac_cv_prog_cc_g=yes |
1956 else | 1970 else |
1979 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 1993 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
1980 CC=gcc | 1994 CC=gcc |
1981 # Extract the first word of "gcc", so it can be a program name with args. | 1995 # Extract the first word of "gcc", so it can be a program name with args. |
1982 set dummy gcc; ac_word=$2 | 1996 set dummy gcc; ac_word=$2 |
1983 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1997 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1984 echo "configure:1985: checking for $ac_word" >&5 | 1998 echo "configure:1999: checking for $ac_word" >&5 |
1985 | 1999 |
1986 if test -n "$CC"; then | 2000 if test -n "$CC"; then |
1987 ac_cv_prog_CC="$CC" # Let the user override the test. | 2001 ac_cv_prog_CC="$CC" # Let the user override the test. |
1988 else | 2002 else |
1989 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2003 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2006 | 2020 |
2007 if test -z "$CC"; then | 2021 if test -z "$CC"; then |
2008 # Extract the first word of "cc", so it can be a program name with args. | 2022 # Extract the first word of "cc", so it can be a program name with args. |
2009 set dummy cc; ac_word=$2 | 2023 set dummy cc; ac_word=$2 |
2010 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2024 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2011 echo "configure:2012: checking for $ac_word" >&5 | 2025 echo "configure:2026: checking for $ac_word" >&5 |
2012 | 2026 |
2013 if test -n "$CC"; then | 2027 if test -n "$CC"; then |
2014 ac_cv_prog_CC="$CC" # Let the user override the test. | 2028 ac_cv_prog_CC="$CC" # Let the user override the test. |
2015 else | 2029 else |
2016 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2030 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2054 case "`uname -s`" in | 2068 case "`uname -s`" in |
2055 *win32* | *WIN32*) | 2069 *win32* | *WIN32*) |
2056 # Extract the first word of "cl", so it can be a program name with args. | 2070 # Extract the first word of "cl", so it can be a program name with args. |
2057 set dummy cl; ac_word=$2 | 2071 set dummy cl; ac_word=$2 |
2058 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2072 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2059 echo "configure:2060: checking for $ac_word" >&5 | 2073 echo "configure:2074: checking for $ac_word" >&5 |
2060 | 2074 |
2061 if test -n "$CC"; then | 2075 if test -n "$CC"; then |
2062 ac_cv_prog_CC="$CC" # Let the user override the test. | 2076 ac_cv_prog_CC="$CC" # Let the user override the test. |
2063 else | 2077 else |
2064 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2083 fi | 2097 fi |
2084 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2098 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2085 fi | 2099 fi |
2086 | 2100 |
2087 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2101 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2088 echo "configure:2089: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2102 echo "configure:2103: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2089 | 2103 |
2090 ac_ext=c | 2104 ac_ext=c |
2091 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2105 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2092 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2106 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2093 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2107 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2096 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2110 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2097 cross_compiling=no | 2111 cross_compiling=no |
2098 | 2112 |
2099 cat > conftest.$ac_ext << EOF | 2113 cat > conftest.$ac_ext << EOF |
2100 | 2114 |
2101 #line 2102 "configure" | 2115 #line 2116 "configure" |
2102 #include "confdefs.h" | 2116 #include "confdefs.h" |
2103 | 2117 |
2104 main(){return(0);} | 2118 main(){return(0);} |
2105 EOF | 2119 EOF |
2106 if { (eval echo configure:2107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2120 if { (eval echo configure:2121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2107 ac_cv_prog_cc_works=yes | 2121 ac_cv_prog_cc_works=yes |
2108 # If we can't run a trivial program, we are probably using a cross compiler. | 2122 # If we can't run a trivial program, we are probably using a cross compiler. |
2109 if (./conftest; exit) 2>/dev/null; then | 2123 if (./conftest; exit) 2>/dev/null; then |
2110 ac_cv_prog_cc_cross=no | 2124 ac_cv_prog_cc_cross=no |
2111 else | 2125 else |
2129 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2143 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2130 if test $ac_cv_prog_cc_works = no; then | 2144 if test $ac_cv_prog_cc_works = no; then |
2131 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2145 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2132 fi | 2146 fi |
2133 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2147 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2134 echo "configure:2135: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2148 echo "configure:2149: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2135 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2149 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2136 cross_compiling=$ac_cv_prog_cc_cross | 2150 cross_compiling=$ac_cv_prog_cc_cross |
2137 | 2151 |
2138 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2152 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2139 echo "configure:2140: checking whether we are using GNU C" >&5 | 2153 echo "configure:2154: checking whether we are using GNU C" >&5 |
2140 | 2154 |
2141 cat > conftest.c <<EOF | 2155 cat > conftest.c <<EOF |
2142 #ifdef __GNUC__ | 2156 #ifdef __GNUC__ |
2143 yes; | 2157 yes; |
2144 #endif | 2158 #endif |
2145 EOF | 2159 EOF |
2146 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2160 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2147 ac_cv_prog_gcc=yes | 2161 ac_cv_prog_gcc=yes |
2148 else | 2162 else |
2149 ac_cv_prog_gcc=no | 2163 ac_cv_prog_gcc=no |
2150 fi | 2164 fi |
2151 | 2165 |
2159 | 2173 |
2160 ac_test_CFLAGS="${CFLAGS+set}" | 2174 ac_test_CFLAGS="${CFLAGS+set}" |
2161 ac_save_CFLAGS="$CFLAGS" | 2175 ac_save_CFLAGS="$CFLAGS" |
2162 CFLAGS= | 2176 CFLAGS= |
2163 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2177 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2164 echo "configure:2165: checking whether ${CC-cc} accepts -g" >&5 | 2178 echo "configure:2179: checking whether ${CC-cc} accepts -g" >&5 |
2165 | 2179 |
2166 echo 'void f(){}' > conftest.c | 2180 echo 'void f(){}' > conftest.c |
2167 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2181 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2168 ac_cv_prog_cc_g=yes | 2182 ac_cv_prog_cc_g=yes |
2169 else | 2183 else |
2196 test -n "$CPP" -a -d "$CPP" && CPP= | 2210 test -n "$CPP" -a -d "$CPP" && CPP= |
2197 | 2211 |
2198 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2212 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2199 | 2213 |
2200 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2214 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2201 echo "configure:2202: checking how to run the C preprocessor" >&5 | 2215 echo "configure:2216: checking how to run the C preprocessor" >&5 |
2202 # On Suns, sometimes $CPP names a directory. | 2216 # On Suns, sometimes $CPP names a directory. |
2203 if test -n "$CPP" && test -d "$CPP"; then | 2217 if test -n "$CPP" && test -d "$CPP"; then |
2204 CPP= | 2218 CPP= |
2205 fi | 2219 fi |
2206 if test -z "$CPP"; then | 2220 if test -z "$CPP"; then |
2209 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2223 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2210 CPP="${CC-cc} -E" | 2224 CPP="${CC-cc} -E" |
2211 # On the NeXT, cc -E runs the code through the compiler's parser, | 2225 # On the NeXT, cc -E runs the code through the compiler's parser, |
2212 # not just through cpp. | 2226 # not just through cpp. |
2213 cat > conftest.$ac_ext <<EOF | 2227 cat > conftest.$ac_ext <<EOF |
2214 #line 2215 "configure" | 2228 #line 2229 "configure" |
2215 #include "confdefs.h" | 2229 #include "confdefs.h" |
2216 #include <assert.h> | 2230 #include <assert.h> |
2217 Syntax Error | 2231 Syntax Error |
2218 EOF | 2232 EOF |
2219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2220 { (eval echo configure:2221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2234 { (eval echo configure:2235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2221 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2222 if test -z "$ac_err"; then | 2236 if test -z "$ac_err"; then |
2223 : | 2237 : |
2224 else | 2238 else |
2225 echo "$ac_err" >&5 | 2239 echo "$ac_err" >&5 |
2226 echo "configure: failed program was:" >&5 | 2240 echo "configure: failed program was:" >&5 |
2227 cat conftest.$ac_ext >&5 | 2241 cat conftest.$ac_ext >&5 |
2228 rm -rf conftest* | 2242 rm -rf conftest* |
2229 CPP="${CC-cc} -E -traditional-cpp" | 2243 CPP="${CC-cc} -E -traditional-cpp" |
2230 cat > conftest.$ac_ext <<EOF | 2244 cat > conftest.$ac_ext <<EOF |
2231 #line 2232 "configure" | 2245 #line 2246 "configure" |
2232 #include "confdefs.h" | 2246 #include "confdefs.h" |
2233 #include <assert.h> | 2247 #include <assert.h> |
2234 Syntax Error | 2248 Syntax Error |
2235 EOF | 2249 EOF |
2236 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2250 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2237 { (eval echo configure:2238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2251 { (eval echo configure:2252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2252 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2239 if test -z "$ac_err"; then | 2253 if test -z "$ac_err"; then |
2240 : | 2254 : |
2241 else | 2255 else |
2242 echo "$ac_err" >&5 | 2256 echo "$ac_err" >&5 |
2243 echo "configure: failed program was:" >&5 | 2257 echo "configure: failed program was:" >&5 |
2244 cat conftest.$ac_ext >&5 | 2258 cat conftest.$ac_ext >&5 |
2245 rm -rf conftest* | 2259 rm -rf conftest* |
2246 CPP="${CC-cc} -nologo -E" | 2260 CPP="${CC-cc} -nologo -E" |
2247 cat > conftest.$ac_ext <<EOF | 2261 cat > conftest.$ac_ext <<EOF |
2248 #line 2249 "configure" | 2262 #line 2263 "configure" |
2249 #include "confdefs.h" | 2263 #include "confdefs.h" |
2250 #include <assert.h> | 2264 #include <assert.h> |
2251 Syntax Error | 2265 Syntax Error |
2252 EOF | 2266 EOF |
2253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2267 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2254 { (eval echo configure:2255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2268 { (eval echo configure:2269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2256 if test -z "$ac_err"; then | 2270 if test -z "$ac_err"; then |
2257 : | 2271 : |
2258 else | 2272 else |
2259 echo "$ac_err" >&5 | 2273 echo "$ac_err" >&5 |
2274 fi | 2288 fi |
2275 echo "$ac_t""$CPP" 1>&6 | 2289 echo "$ac_t""$CPP" 1>&6 |
2276 | 2290 |
2277 | 2291 |
2278 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2292 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2279 echo "configure:2280: checking for AIX" >&5 | 2293 echo "configure:2294: checking for AIX" >&5 |
2280 cat > conftest.$ac_ext <<EOF | 2294 cat > conftest.$ac_ext <<EOF |
2281 #line 2282 "configure" | 2295 #line 2296 "configure" |
2282 #include "confdefs.h" | 2296 #include "confdefs.h" |
2283 #ifdef _AIX | 2297 #ifdef _AIX |
2284 yes | 2298 yes |
2285 #endif | 2299 #endif |
2286 | 2300 |
2303 rm -f conftest* | 2317 rm -f conftest* |
2304 | 2318 |
2305 | 2319 |
2306 | 2320 |
2307 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2321 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2308 echo "configure:2309: checking for GNU libc" >&5 | 2322 echo "configure:2323: checking for GNU libc" >&5 |
2309 cat > conftest.$ac_ext <<EOF | 2323 cat > conftest.$ac_ext <<EOF |
2310 #line 2311 "configure" | 2324 #line 2325 "configure" |
2311 #include "confdefs.h" | 2325 #include "confdefs.h" |
2312 #include <features.h> | 2326 #include <features.h> |
2313 int main() { | 2327 int main() { |
2314 | 2328 |
2315 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2329 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2317 ******* ======= ******** &&&&&&&& | 2331 ******* ======= ******** &&&&&&&& |
2318 #endif | 2332 #endif |
2319 | 2333 |
2320 ; return 0; } | 2334 ; return 0; } |
2321 EOF | 2335 EOF |
2322 if { (eval echo configure:2323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2336 if { (eval echo configure:2337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2323 rm -rf conftest* | 2337 rm -rf conftest* |
2324 have_glibc=yes | 2338 have_glibc=yes |
2325 else | 2339 else |
2326 echo "configure: failed program was:" >&5 | 2340 echo "configure: failed program was:" >&5 |
2327 cat conftest.$ac_ext >&5 | 2341 cat conftest.$ac_ext >&5 |
2339 } | 2353 } |
2340 | 2354 |
2341 | 2355 |
2342 | 2356 |
2343 cat > conftest.$ac_ext <<EOF | 2357 cat > conftest.$ac_ext <<EOF |
2344 #line 2345 "configure" | 2358 #line 2359 "configure" |
2345 #include "confdefs.h" | 2359 #include "confdefs.h" |
2346 int main () { | 2360 int main () { |
2347 #if defined __SUNPRO_C | 2361 #if defined __SUNPRO_C |
2348 return 11; | 2362 return 11; |
2349 #elif defined __DECC | 2363 #elif defined __DECC |
2351 #else | 2365 #else |
2352 return 0; | 2366 return 0; |
2353 #endif | 2367 #endif |
2354 } | 2368 } |
2355 EOF | 2369 EOF |
2356 if { (eval echo configure:2357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2370 if { (eval echo configure:2371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2357 then | 2371 then |
2358 : | 2372 : |
2359 else | 2373 else |
2360 conftest_rc="$?" | 2374 conftest_rc="$?" |
2361 echo "configure: failed program was:" >&5 | 2375 echo "configure: failed program was:" >&5 |
2625 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2639 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2626 echo " xemacs will be linked with \"$unexec\"" | 2640 echo " xemacs will be linked with \"$unexec\"" |
2627 fi | 2641 fi |
2628 | 2642 |
2629 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2643 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2630 echo "configure:2631: checking for dynodump" >&5 | 2644 echo "configure:2645: checking for dynodump" >&5 |
2631 if test "$unexec" != "unexsol2.o"; then | 2645 if test "$unexec" != "unexsol2.o"; then |
2632 echo "$ac_t""no" 1>&6 | 2646 echo "$ac_t""no" 1>&6 |
2633 else | 2647 else |
2634 echo "$ac_t""yes" 1>&6 | 2648 echo "$ac_t""yes" 1>&6 |
2635 { test "$extra_verbose" = "yes" && cat << \EOF | 2649 { test "$extra_verbose" = "yes" && cat << \EOF |
2663 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2677 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2664 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2678 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2665 done | 2679 done |
2666 | 2680 |
2667 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2681 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2668 echo "configure:2669: checking for terminateAndUnload in -lC" >&5 | 2682 echo "configure:2683: checking for terminateAndUnload in -lC" >&5 |
2669 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2683 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2670 | 2684 |
2671 xe_check_libs=" -lC " | 2685 xe_check_libs=" -lC " |
2672 cat > conftest.$ac_ext <<EOF | 2686 cat > conftest.$ac_ext <<EOF |
2673 #line 2674 "configure" | 2687 #line 2688 "configure" |
2674 #include "confdefs.h" | 2688 #include "confdefs.h" |
2675 /* Override any gcc2 internal prototype to avoid an error. */ | 2689 /* Override any gcc2 internal prototype to avoid an error. */ |
2676 /* We use char because int might match the return type of a gcc2 | 2690 /* We use char because int might match the return type of a gcc2 |
2677 builtin and then its argument prototype would still apply. */ | 2691 builtin and then its argument prototype would still apply. */ |
2678 char terminateAndUnload(); | 2692 char terminateAndUnload(); |
2679 | 2693 |
2680 int main() { | 2694 int main() { |
2681 terminateAndUnload() | 2695 terminateAndUnload() |
2682 ; return 0; } | 2696 ; return 0; } |
2683 EOF | 2697 EOF |
2684 if { (eval echo configure:2685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2698 if { (eval echo configure:2699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2685 rm -rf conftest* | 2699 rm -rf conftest* |
2686 eval "ac_cv_lib_$ac_lib_var=yes" | 2700 eval "ac_cv_lib_$ac_lib_var=yes" |
2687 else | 2701 else |
2688 echo "configure: failed program was:" >&5 | 2702 echo "configure: failed program was:" >&5 |
2689 cat conftest.$ac_ext >&5 | 2703 cat conftest.$ac_ext >&5 |
2783 esac | 2797 esac |
2784 fi | 2798 fi |
2785 | 2799 |
2786 if test "$add_runtime_path" = "yes"; then | 2800 if test "$add_runtime_path" = "yes"; then |
2787 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2801 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2788 echo "configure:2789: checking "for runtime libraries flag"" >&5 | 2802 echo "configure:2803: checking "for runtime libraries flag"" >&5 |
2789 case "$opsys" in | 2803 case "$opsys" in |
2790 sol2 ) dash_r="-R" ;; | 2804 sol2 ) dash_r="-R" ;; |
2791 decosf* | linux* | irix*) dash_r="-rpath " ;; | 2805 decosf* | linux* | irix*) dash_r="-rpath " ;; |
2792 *) | 2806 *) |
2793 dash_r="" | 2807 dash_r="" |
2805 esac | 2819 esac |
2806 shift | 2820 shift |
2807 done | 2821 done |
2808 fi | 2822 fi |
2809 cat > conftest.$ac_ext <<EOF | 2823 cat > conftest.$ac_ext <<EOF |
2810 #line 2811 "configure" | 2824 #line 2825 "configure" |
2811 #include "confdefs.h" | 2825 #include "confdefs.h" |
2812 | 2826 |
2813 int main() { | 2827 int main() { |
2814 | 2828 |
2815 ; return 0; } | 2829 ; return 0; } |
2816 EOF | 2830 EOF |
2817 if { (eval echo configure:2818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2831 if { (eval echo configure:2832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2818 rm -rf conftest* | 2832 rm -rf conftest* |
2819 dash_r="$try_dash_r" | 2833 dash_r="$try_dash_r" |
2820 else | 2834 else |
2821 echo "configure: failed program was:" >&5 | 2835 echo "configure: failed program was:" >&5 |
2822 cat conftest.$ac_ext >&5 | 2836 cat conftest.$ac_ext >&5 |
2914 else | 2928 else |
2915 doug_lea_malloc=no | 2929 doug_lea_malloc=no |
2916 fi | 2930 fi |
2917 after_morecore_hook_exists=yes | 2931 after_morecore_hook_exists=yes |
2918 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 2932 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
2919 echo "configure:2920: checking for malloc_get_state" >&5 | 2933 echo "configure:2934: checking for malloc_get_state" >&5 |
2920 | 2934 |
2921 cat > conftest.$ac_ext <<EOF | 2935 cat > conftest.$ac_ext <<EOF |
2922 #line 2923 "configure" | 2936 #line 2937 "configure" |
2923 #include "confdefs.h" | 2937 #include "confdefs.h" |
2924 /* System header to define __stub macros and hopefully few prototypes, | 2938 /* System header to define __stub macros and hopefully few prototypes, |
2925 which can conflict with char malloc_get_state(); below. */ | 2939 which can conflict with char malloc_get_state(); below. */ |
2926 #include <assert.h> | 2940 #include <assert.h> |
2927 /* Override any gcc2 internal prototype to avoid an error. */ | 2941 /* Override any gcc2 internal prototype to avoid an error. */ |
2940 malloc_get_state(); | 2954 malloc_get_state(); |
2941 #endif | 2955 #endif |
2942 | 2956 |
2943 ; return 0; } | 2957 ; return 0; } |
2944 EOF | 2958 EOF |
2945 if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2959 if { (eval echo configure:2960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2946 rm -rf conftest* | 2960 rm -rf conftest* |
2947 eval "ac_cv_func_malloc_get_state=yes" | 2961 eval "ac_cv_func_malloc_get_state=yes" |
2948 else | 2962 else |
2949 echo "configure: failed program was:" >&5 | 2963 echo "configure: failed program was:" >&5 |
2950 cat conftest.$ac_ext >&5 | 2964 cat conftest.$ac_ext >&5 |
2960 echo "$ac_t""no" 1>&6 | 2974 echo "$ac_t""no" 1>&6 |
2961 doug_lea_malloc=no | 2975 doug_lea_malloc=no |
2962 fi | 2976 fi |
2963 | 2977 |
2964 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 2978 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
2965 echo "configure:2966: checking for malloc_set_state" >&5 | 2979 echo "configure:2980: checking for malloc_set_state" >&5 |
2966 | 2980 |
2967 cat > conftest.$ac_ext <<EOF | 2981 cat > conftest.$ac_ext <<EOF |
2968 #line 2969 "configure" | 2982 #line 2983 "configure" |
2969 #include "confdefs.h" | 2983 #include "confdefs.h" |
2970 /* System header to define __stub macros and hopefully few prototypes, | 2984 /* System header to define __stub macros and hopefully few prototypes, |
2971 which can conflict with char malloc_set_state(); below. */ | 2985 which can conflict with char malloc_set_state(); below. */ |
2972 #include <assert.h> | 2986 #include <assert.h> |
2973 /* Override any gcc2 internal prototype to avoid an error. */ | 2987 /* Override any gcc2 internal prototype to avoid an error. */ |
2986 malloc_set_state(); | 3000 malloc_set_state(); |
2987 #endif | 3001 #endif |
2988 | 3002 |
2989 ; return 0; } | 3003 ; return 0; } |
2990 EOF | 3004 EOF |
2991 if { (eval echo configure:2992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3005 if { (eval echo configure:3006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2992 rm -rf conftest* | 3006 rm -rf conftest* |
2993 eval "ac_cv_func_malloc_set_state=yes" | 3007 eval "ac_cv_func_malloc_set_state=yes" |
2994 else | 3008 else |
2995 echo "configure: failed program was:" >&5 | 3009 echo "configure: failed program was:" >&5 |
2996 cat conftest.$ac_ext >&5 | 3010 cat conftest.$ac_ext >&5 |
3006 echo "$ac_t""no" 1>&6 | 3020 echo "$ac_t""no" 1>&6 |
3007 doug_lea_malloc=no | 3021 doug_lea_malloc=no |
3008 fi | 3022 fi |
3009 | 3023 |
3010 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3024 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3011 echo "configure:3012: checking whether __after_morecore_hook exists" >&5 | 3025 echo "configure:3026: checking whether __after_morecore_hook exists" >&5 |
3012 cat > conftest.$ac_ext <<EOF | 3026 cat > conftest.$ac_ext <<EOF |
3013 #line 3014 "configure" | 3027 #line 3028 "configure" |
3014 #include "confdefs.h" | 3028 #include "confdefs.h" |
3015 extern void (* __after_morecore_hook)(); | 3029 extern void (* __after_morecore_hook)(); |
3016 int main() { | 3030 int main() { |
3017 __after_morecore_hook = 0 | 3031 __after_morecore_hook = 0 |
3018 ; return 0; } | 3032 ; return 0; } |
3019 EOF | 3033 EOF |
3020 if { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3034 if { (eval echo configure:3035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3021 rm -rf conftest* | 3035 rm -rf conftest* |
3022 echo "$ac_t""yes" 1>&6 | 3036 echo "$ac_t""yes" 1>&6 |
3023 else | 3037 else |
3024 echo "configure: failed program was:" >&5 | 3038 echo "configure: failed program was:" >&5 |
3025 cat conftest.$ac_ext >&5 | 3039 cat conftest.$ac_ext >&5 |
3074 | 3088 |
3075 | 3089 |
3076 # Extract the first word of "ranlib", so it can be a program name with args. | 3090 # Extract the first word of "ranlib", so it can be a program name with args. |
3077 set dummy ranlib; ac_word=$2 | 3091 set dummy ranlib; ac_word=$2 |
3078 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3092 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3079 echo "configure:3080: checking for $ac_word" >&5 | 3093 echo "configure:3094: checking for $ac_word" >&5 |
3080 | 3094 |
3081 if test -n "$RANLIB"; then | 3095 if test -n "$RANLIB"; then |
3082 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3096 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3083 else | 3097 else |
3084 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3098 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3129 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3143 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3130 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3144 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3131 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3145 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3132 # ./install, which can be erroneously created by make from ./install.sh. | 3146 # ./install, which can be erroneously created by make from ./install.sh. |
3133 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3147 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3134 echo "configure:3135: checking for a BSD compatible install" >&5 | 3148 echo "configure:3149: checking for a BSD compatible install" >&5 |
3135 if test -z "$INSTALL"; then | 3149 if test -z "$INSTALL"; then |
3136 | 3150 |
3137 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3151 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3138 for ac_dir in $PATH; do | 3152 for ac_dir in $PATH; do |
3139 # Account for people who put trailing slashes in PATH elements. | 3153 # Account for people who put trailing slashes in PATH elements. |
3183 for ac_prog in 'bison -y' byacc | 3197 for ac_prog in 'bison -y' byacc |
3184 do | 3198 do |
3185 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3199 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3186 set dummy $ac_prog; ac_word=$2 | 3200 set dummy $ac_prog; ac_word=$2 |
3187 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3201 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3188 echo "configure:3189: checking for $ac_word" >&5 | 3202 echo "configure:3203: checking for $ac_word" >&5 |
3189 | 3203 |
3190 if test -n "$YACC"; then | 3204 if test -n "$YACC"; then |
3191 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3205 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3192 else | 3206 else |
3193 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3207 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3215 | 3229 |
3216 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h | 3230 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h |
3217 do | 3231 do |
3218 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3232 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3219 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3233 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3220 echo "configure:3221: checking for $ac_hdr" >&5 | 3234 echo "configure:3235: checking for $ac_hdr" >&5 |
3221 | 3235 |
3222 cat > conftest.$ac_ext <<EOF | 3236 cat > conftest.$ac_ext <<EOF |
3223 #line 3224 "configure" | 3237 #line 3238 "configure" |
3224 #include "confdefs.h" | 3238 #include "confdefs.h" |
3225 #include <$ac_hdr> | 3239 #include <$ac_hdr> |
3226 EOF | 3240 EOF |
3227 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3241 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3228 { (eval echo configure:3229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3242 { (eval echo configure:3243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3229 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3230 if test -z "$ac_err"; then | 3244 if test -z "$ac_err"; then |
3231 rm -rf conftest* | 3245 rm -rf conftest* |
3232 eval "ac_cv_header_$ac_safe=yes" | 3246 eval "ac_cv_header_$ac_safe=yes" |
3233 else | 3247 else |
3256 | 3270 |
3257 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h | 3271 for ac_hdr in utime.h locale.h libgen.h fcntl.h ulimit.h cygwin/version.h |
3258 do | 3272 do |
3259 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3273 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3260 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3274 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3261 echo "configure:3262: checking for $ac_hdr" >&5 | 3275 echo "configure:3276: checking for $ac_hdr" >&5 |
3262 | 3276 |
3263 cat > conftest.$ac_ext <<EOF | 3277 cat > conftest.$ac_ext <<EOF |
3264 #line 3265 "configure" | 3278 #line 3279 "configure" |
3265 #include "confdefs.h" | 3279 #include "confdefs.h" |
3266 #include <$ac_hdr> | 3280 #include <$ac_hdr> |
3267 EOF | 3281 EOF |
3268 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3282 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3269 { (eval echo configure:3270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3283 { (eval echo configure:3284: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3270 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3284 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3271 if test -z "$ac_err"; then | 3285 if test -z "$ac_err"; then |
3272 rm -rf conftest* | 3286 rm -rf conftest* |
3273 eval "ac_cv_header_$ac_safe=yes" | 3287 eval "ac_cv_header_$ac_safe=yes" |
3274 else | 3288 else |
3297 | 3311 |
3298 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h | 3312 for ac_hdr in kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h |
3299 do | 3313 do |
3300 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3314 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3301 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3315 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3302 echo "configure:3303: checking for $ac_hdr" >&5 | 3316 echo "configure:3317: checking for $ac_hdr" >&5 |
3303 | 3317 |
3304 cat > conftest.$ac_ext <<EOF | 3318 cat > conftest.$ac_ext <<EOF |
3305 #line 3306 "configure" | 3319 #line 3320 "configure" |
3306 #include "confdefs.h" | 3320 #include "confdefs.h" |
3307 #include <$ac_hdr> | 3321 #include <$ac_hdr> |
3308 EOF | 3322 EOF |
3309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3323 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3310 { (eval echo configure:3311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3324 { (eval echo configure:3325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3311 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3325 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3312 if test -z "$ac_err"; then | 3326 if test -z "$ac_err"; then |
3313 rm -rf conftest* | 3327 rm -rf conftest* |
3314 eval "ac_cv_header_$ac_safe=yes" | 3328 eval "ac_cv_header_$ac_safe=yes" |
3315 else | 3329 else |
3335 echo "$ac_t""no" 1>&6 | 3349 echo "$ac_t""no" 1>&6 |
3336 fi | 3350 fi |
3337 done | 3351 done |
3338 | 3352 |
3339 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3353 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3340 echo "configure:3341: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3354 echo "configure:3355: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3341 | 3355 |
3342 cat > conftest.$ac_ext <<EOF | 3356 cat > conftest.$ac_ext <<EOF |
3343 #line 3344 "configure" | 3357 #line 3358 "configure" |
3344 #include "confdefs.h" | 3358 #include "confdefs.h" |
3345 #include <sys/types.h> | 3359 #include <sys/types.h> |
3346 #include <sys/wait.h> | 3360 #include <sys/wait.h> |
3347 #ifndef WEXITSTATUS | 3361 #ifndef WEXITSTATUS |
3348 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3362 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3354 int s; | 3368 int s; |
3355 wait (&s); | 3369 wait (&s); |
3356 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3370 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3357 ; return 0; } | 3371 ; return 0; } |
3358 EOF | 3372 EOF |
3359 if { (eval echo configure:3360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3373 if { (eval echo configure:3374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3360 rm -rf conftest* | 3374 rm -rf conftest* |
3361 ac_cv_header_sys_wait_h=yes | 3375 ac_cv_header_sys_wait_h=yes |
3362 else | 3376 else |
3363 echo "configure: failed program was:" >&5 | 3377 echo "configure: failed program was:" >&5 |
3364 cat conftest.$ac_ext >&5 | 3378 cat conftest.$ac_ext >&5 |
3378 } | 3392 } |
3379 | 3393 |
3380 fi | 3394 fi |
3381 | 3395 |
3382 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3396 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3383 echo "configure:3384: checking for ANSI C header files" >&5 | 3397 echo "configure:3398: checking for ANSI C header files" >&5 |
3384 | 3398 |
3385 cat > conftest.$ac_ext <<EOF | 3399 cat > conftest.$ac_ext <<EOF |
3386 #line 3387 "configure" | 3400 #line 3401 "configure" |
3387 #include "confdefs.h" | 3401 #include "confdefs.h" |
3388 #include <stdlib.h> | 3402 #include <stdlib.h> |
3389 #include <stdarg.h> | 3403 #include <stdarg.h> |
3390 #include <string.h> | 3404 #include <string.h> |
3391 #include <float.h> | 3405 #include <float.h> |
3392 EOF | 3406 EOF |
3393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3394 { (eval echo configure:3395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3408 { (eval echo configure:3409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3396 if test -z "$ac_err"; then | 3410 if test -z "$ac_err"; then |
3397 rm -rf conftest* | 3411 rm -rf conftest* |
3398 ac_cv_header_stdc=yes | 3412 ac_cv_header_stdc=yes |
3399 else | 3413 else |
3406 rm -f conftest* | 3420 rm -f conftest* |
3407 | 3421 |
3408 if test $ac_cv_header_stdc = yes; then | 3422 if test $ac_cv_header_stdc = yes; then |
3409 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3423 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3410 cat > conftest.$ac_ext <<EOF | 3424 cat > conftest.$ac_ext <<EOF |
3411 #line 3412 "configure" | 3425 #line 3426 "configure" |
3412 #include "confdefs.h" | 3426 #include "confdefs.h" |
3413 #include <string.h> | 3427 #include <string.h> |
3414 EOF | 3428 EOF |
3415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3416 egrep "memchr" >/dev/null 2>&1; then | 3430 egrep "memchr" >/dev/null 2>&1; then |
3424 fi | 3438 fi |
3425 | 3439 |
3426 if test $ac_cv_header_stdc = yes; then | 3440 if test $ac_cv_header_stdc = yes; then |
3427 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3441 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3428 cat > conftest.$ac_ext <<EOF | 3442 cat > conftest.$ac_ext <<EOF |
3429 #line 3430 "configure" | 3443 #line 3444 "configure" |
3430 #include "confdefs.h" | 3444 #include "confdefs.h" |
3431 #include <stdlib.h> | 3445 #include <stdlib.h> |
3432 EOF | 3446 EOF |
3433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3434 egrep "free" >/dev/null 2>&1; then | 3448 egrep "free" >/dev/null 2>&1; then |
3442 fi | 3456 fi |
3443 | 3457 |
3444 if test $ac_cv_header_stdc = yes; then | 3458 if test $ac_cv_header_stdc = yes; then |
3445 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3459 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3446 cat > conftest.$ac_ext <<EOF | 3460 cat > conftest.$ac_ext <<EOF |
3447 #line 3448 "configure" | 3461 #line 3462 "configure" |
3448 #include "confdefs.h" | 3462 #include "confdefs.h" |
3449 #include <ctype.h> | 3463 #include <ctype.h> |
3450 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3464 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3451 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3465 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3452 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3466 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3453 int main () { int i; for (i = 0; i < 256; i++) | 3467 int main () { int i; for (i = 0; i < 256; i++) |
3454 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3468 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3455 exit (0); } | 3469 exit (0); } |
3456 | 3470 |
3457 EOF | 3471 EOF |
3458 if { (eval echo configure:3459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3472 if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3459 then | 3473 then |
3460 : | 3474 : |
3461 else | 3475 else |
3462 conftest_rc="$?" | 3476 conftest_rc="$?" |
3463 echo "configure: failed program was:" >&5 | 3477 echo "configure: failed program was:" >&5 |
3479 } | 3493 } |
3480 | 3494 |
3481 fi | 3495 fi |
3482 | 3496 |
3483 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3497 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3484 echo "configure:3485: checking whether time.h and sys/time.h may both be included" >&5 | 3498 echo "configure:3499: checking whether time.h and sys/time.h may both be included" >&5 |
3485 | 3499 |
3486 cat > conftest.$ac_ext <<EOF | 3500 cat > conftest.$ac_ext <<EOF |
3487 #line 3488 "configure" | 3501 #line 3502 "configure" |
3488 #include "confdefs.h" | 3502 #include "confdefs.h" |
3489 #include <sys/types.h> | 3503 #include <sys/types.h> |
3490 #include <sys/time.h> | 3504 #include <sys/time.h> |
3491 #include <time.h> | 3505 #include <time.h> |
3492 int main() { | 3506 int main() { |
3493 struct tm *tp; | 3507 struct tm *tp; |
3494 ; return 0; } | 3508 ; return 0; } |
3495 EOF | 3509 EOF |
3496 if { (eval echo configure:3497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3510 if { (eval echo configure:3511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3497 rm -rf conftest* | 3511 rm -rf conftest* |
3498 ac_cv_header_time=yes | 3512 ac_cv_header_time=yes |
3499 else | 3513 else |
3500 echo "configure: failed program was:" >&5 | 3514 echo "configure: failed program was:" >&5 |
3501 cat conftest.$ac_ext >&5 | 3515 cat conftest.$ac_ext >&5 |
3515 } | 3529 } |
3516 | 3530 |
3517 fi | 3531 fi |
3518 | 3532 |
3519 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3533 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3520 echo "configure:3521: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3534 echo "configure:3535: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3521 | 3535 |
3522 cat > conftest.$ac_ext <<EOF | 3536 cat > conftest.$ac_ext <<EOF |
3523 #line 3524 "configure" | 3537 #line 3538 "configure" |
3524 #include "confdefs.h" | 3538 #include "confdefs.h" |
3525 #include <sys/types.h> | 3539 #include <sys/types.h> |
3526 #include <signal.h> | 3540 #include <signal.h> |
3527 /* NetBSD declares sys_siglist in unistd.h. */ | 3541 /* NetBSD declares sys_siglist in unistd.h. */ |
3528 #ifdef HAVE_UNISTD_H | 3542 #ifdef HAVE_UNISTD_H |
3530 #endif | 3544 #endif |
3531 int main() { | 3545 int main() { |
3532 char *msg = *(sys_siglist + 1); | 3546 char *msg = *(sys_siglist + 1); |
3533 ; return 0; } | 3547 ; return 0; } |
3534 EOF | 3548 EOF |
3535 if { (eval echo configure:3536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3549 if { (eval echo configure:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3536 rm -rf conftest* | 3550 rm -rf conftest* |
3537 ac_cv_decl_sys_siglist=yes | 3551 ac_cv_decl_sys_siglist=yes |
3538 else | 3552 else |
3539 echo "configure: failed program was:" >&5 | 3553 echo "configure: failed program was:" >&5 |
3540 cat conftest.$ac_ext >&5 | 3554 cat conftest.$ac_ext >&5 |
3555 | 3569 |
3556 fi | 3570 fi |
3557 | 3571 |
3558 | 3572 |
3559 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3573 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3560 echo "configure:3561: checking for struct utimbuf" >&5 | 3574 echo "configure:3575: checking for struct utimbuf" >&5 |
3561 cat > conftest.$ac_ext <<EOF | 3575 cat > conftest.$ac_ext <<EOF |
3562 #line 3563 "configure" | 3576 #line 3577 "configure" |
3563 #include "confdefs.h" | 3577 #include "confdefs.h" |
3564 #ifdef TIME_WITH_SYS_TIME | 3578 #ifdef TIME_WITH_SYS_TIME |
3565 #include <sys/time.h> | 3579 #include <sys/time.h> |
3566 #include <time.h> | 3580 #include <time.h> |
3567 #else | 3581 #else |
3576 #endif | 3590 #endif |
3577 int main() { | 3591 int main() { |
3578 static struct utimbuf x; x.actime = x.modtime; | 3592 static struct utimbuf x; x.actime = x.modtime; |
3579 ; return 0; } | 3593 ; return 0; } |
3580 EOF | 3594 EOF |
3581 if { (eval echo configure:3582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3595 if { (eval echo configure:3596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3582 rm -rf conftest* | 3596 rm -rf conftest* |
3583 echo "$ac_t""yes" 1>&6 | 3597 echo "$ac_t""yes" 1>&6 |
3584 { test "$extra_verbose" = "yes" && cat << \EOF | 3598 { test "$extra_verbose" = "yes" && cat << \EOF |
3585 Defining HAVE_STRUCT_UTIMBUF | 3599 Defining HAVE_STRUCT_UTIMBUF |
3586 EOF | 3600 EOF |
3596 echo "$ac_t""no" 1>&6 | 3610 echo "$ac_t""no" 1>&6 |
3597 fi | 3611 fi |
3598 rm -f conftest* | 3612 rm -f conftest* |
3599 | 3613 |
3600 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3614 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3601 echo "configure:3602: checking return type of signal handlers" >&5 | 3615 echo "configure:3616: checking return type of signal handlers" >&5 |
3602 | 3616 |
3603 cat > conftest.$ac_ext <<EOF | 3617 cat > conftest.$ac_ext <<EOF |
3604 #line 3605 "configure" | 3618 #line 3619 "configure" |
3605 #include "confdefs.h" | 3619 #include "confdefs.h" |
3606 #include <sys/types.h> | 3620 #include <sys/types.h> |
3607 #include <signal.h> | 3621 #include <signal.h> |
3608 #ifdef signal | 3622 #ifdef signal |
3609 #undef signal | 3623 #undef signal |
3616 | 3630 |
3617 int main() { | 3631 int main() { |
3618 int i; | 3632 int i; |
3619 ; return 0; } | 3633 ; return 0; } |
3620 EOF | 3634 EOF |
3621 if { (eval echo configure:3622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3635 if { (eval echo configure:3636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3622 rm -rf conftest* | 3636 rm -rf conftest* |
3623 ac_cv_type_signal=void | 3637 ac_cv_type_signal=void |
3624 else | 3638 else |
3625 echo "configure: failed program was:" >&5 | 3639 echo "configure: failed program was:" >&5 |
3626 cat conftest.$ac_ext >&5 | 3640 cat conftest.$ac_ext >&5 |
3638 EOF | 3652 EOF |
3639 } | 3653 } |
3640 | 3654 |
3641 | 3655 |
3642 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3656 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3643 echo "configure:3644: checking for size_t" >&5 | 3657 echo "configure:3658: checking for size_t" >&5 |
3644 | 3658 |
3645 cat > conftest.$ac_ext <<EOF | 3659 cat > conftest.$ac_ext <<EOF |
3646 #line 3647 "configure" | 3660 #line 3661 "configure" |
3647 #include "confdefs.h" | 3661 #include "confdefs.h" |
3648 #include <sys/types.h> | 3662 #include <sys/types.h> |
3649 #if STDC_HEADERS | 3663 #if STDC_HEADERS |
3650 #include <stdlib.h> | 3664 #include <stdlib.h> |
3651 #include <stddef.h> | 3665 #include <stddef.h> |
3672 } | 3686 } |
3673 | 3687 |
3674 fi | 3688 fi |
3675 | 3689 |
3676 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3690 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3677 echo "configure:3678: checking for pid_t" >&5 | 3691 echo "configure:3692: checking for pid_t" >&5 |
3678 | 3692 |
3679 cat > conftest.$ac_ext <<EOF | 3693 cat > conftest.$ac_ext <<EOF |
3680 #line 3681 "configure" | 3694 #line 3695 "configure" |
3681 #include "confdefs.h" | 3695 #include "confdefs.h" |
3682 #include <sys/types.h> | 3696 #include <sys/types.h> |
3683 #if STDC_HEADERS | 3697 #if STDC_HEADERS |
3684 #include <stdlib.h> | 3698 #include <stdlib.h> |
3685 #include <stddef.h> | 3699 #include <stddef.h> |
3706 } | 3720 } |
3707 | 3721 |
3708 fi | 3722 fi |
3709 | 3723 |
3710 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3724 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3711 echo "configure:3712: checking for uid_t in sys/types.h" >&5 | 3725 echo "configure:3726: checking for uid_t in sys/types.h" >&5 |
3712 | 3726 |
3713 cat > conftest.$ac_ext <<EOF | 3727 cat > conftest.$ac_ext <<EOF |
3714 #line 3715 "configure" | 3728 #line 3729 "configure" |
3715 #include "confdefs.h" | 3729 #include "confdefs.h" |
3716 #include <sys/types.h> | 3730 #include <sys/types.h> |
3717 EOF | 3731 EOF |
3718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3719 egrep "uid_t" >/dev/null 2>&1; then | 3733 egrep "uid_t" >/dev/null 2>&1; then |
3745 } | 3759 } |
3746 | 3760 |
3747 fi | 3761 fi |
3748 | 3762 |
3749 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3763 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3750 echo "configure:3751: checking for mode_t" >&5 | 3764 echo "configure:3765: checking for mode_t" >&5 |
3751 | 3765 |
3752 cat > conftest.$ac_ext <<EOF | 3766 cat > conftest.$ac_ext <<EOF |
3753 #line 3754 "configure" | 3767 #line 3768 "configure" |
3754 #include "confdefs.h" | 3768 #include "confdefs.h" |
3755 #include <sys/types.h> | 3769 #include <sys/types.h> |
3756 #if STDC_HEADERS | 3770 #if STDC_HEADERS |
3757 #include <stdlib.h> | 3771 #include <stdlib.h> |
3758 #include <stddef.h> | 3772 #include <stddef.h> |
3779 } | 3793 } |
3780 | 3794 |
3781 fi | 3795 fi |
3782 | 3796 |
3783 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3797 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3784 echo "configure:3785: checking for off_t" >&5 | 3798 echo "configure:3799: checking for off_t" >&5 |
3785 | 3799 |
3786 cat > conftest.$ac_ext <<EOF | 3800 cat > conftest.$ac_ext <<EOF |
3787 #line 3788 "configure" | 3801 #line 3802 "configure" |
3788 #include "confdefs.h" | 3802 #include "confdefs.h" |
3789 #include <sys/types.h> | 3803 #include <sys/types.h> |
3790 #if STDC_HEADERS | 3804 #if STDC_HEADERS |
3791 #include <stdlib.h> | 3805 #include <stdlib.h> |
3792 #include <stddef.h> | 3806 #include <stddef.h> |
3813 } | 3827 } |
3814 | 3828 |
3815 fi | 3829 fi |
3816 | 3830 |
3817 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 3831 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
3818 echo "configure:3819: checking for ssize_t" >&5 | 3832 echo "configure:3833: checking for ssize_t" >&5 |
3819 | 3833 |
3820 cat > conftest.$ac_ext <<EOF | 3834 cat > conftest.$ac_ext <<EOF |
3821 #line 3822 "configure" | 3835 #line 3836 "configure" |
3822 #include "confdefs.h" | 3836 #include "confdefs.h" |
3823 #include <sys/types.h> | 3837 #include <sys/types.h> |
3824 #if STDC_HEADERS | 3838 #if STDC_HEADERS |
3825 #include <stdlib.h> | 3839 #include <stdlib.h> |
3826 #include <stddef.h> | 3840 #include <stddef.h> |
3848 | 3862 |
3849 fi | 3863 fi |
3850 | 3864 |
3851 | 3865 |
3852 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3866 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3853 echo "configure:3854: checking for struct timeval" >&5 | 3867 echo "configure:3868: checking for struct timeval" >&5 |
3854 cat > conftest.$ac_ext <<EOF | 3868 cat > conftest.$ac_ext <<EOF |
3855 #line 3856 "configure" | 3869 #line 3870 "configure" |
3856 #include "confdefs.h" | 3870 #include "confdefs.h" |
3857 #ifdef TIME_WITH_SYS_TIME | 3871 #ifdef TIME_WITH_SYS_TIME |
3858 #include <sys/time.h> | 3872 #include <sys/time.h> |
3859 #include <time.h> | 3873 #include <time.h> |
3860 #else | 3874 #else |
3866 #endif | 3880 #endif |
3867 int main() { | 3881 int main() { |
3868 static struct timeval x; x.tv_sec = x.tv_usec; | 3882 static struct timeval x; x.tv_sec = x.tv_usec; |
3869 ; return 0; } | 3883 ; return 0; } |
3870 EOF | 3884 EOF |
3871 if { (eval echo configure:3872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3885 if { (eval echo configure:3886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3872 rm -rf conftest* | 3886 rm -rf conftest* |
3873 echo "$ac_t""yes" 1>&6 | 3887 echo "$ac_t""yes" 1>&6 |
3874 HAVE_TIMEVAL=yes | 3888 HAVE_TIMEVAL=yes |
3875 { test "$extra_verbose" = "yes" && cat << \EOF | 3889 { test "$extra_verbose" = "yes" && cat << \EOF |
3876 Defining HAVE_TIMEVAL | 3890 Defining HAVE_TIMEVAL |
3888 HAVE_TIMEVAL=no | 3902 HAVE_TIMEVAL=no |
3889 fi | 3903 fi |
3890 rm -f conftest* | 3904 rm -f conftest* |
3891 | 3905 |
3892 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3906 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3893 echo "configure:3894: checking whether struct tm is in sys/time.h or time.h" >&5 | 3907 echo "configure:3908: checking whether struct tm is in sys/time.h or time.h" >&5 |
3894 | 3908 |
3895 cat > conftest.$ac_ext <<EOF | 3909 cat > conftest.$ac_ext <<EOF |
3896 #line 3897 "configure" | 3910 #line 3911 "configure" |
3897 #include "confdefs.h" | 3911 #include "confdefs.h" |
3898 #include <sys/types.h> | 3912 #include <sys/types.h> |
3899 #include <time.h> | 3913 #include <time.h> |
3900 int main() { | 3914 int main() { |
3901 struct tm *tp; tp->tm_sec; | 3915 struct tm *tp; tp->tm_sec; |
3902 ; return 0; } | 3916 ; return 0; } |
3903 EOF | 3917 EOF |
3904 if { (eval echo configure:3905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3918 if { (eval echo configure:3919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3905 rm -rf conftest* | 3919 rm -rf conftest* |
3906 ac_cv_struct_tm=time.h | 3920 ac_cv_struct_tm=time.h |
3907 else | 3921 else |
3908 echo "configure: failed program was:" >&5 | 3922 echo "configure: failed program was:" >&5 |
3909 cat conftest.$ac_ext >&5 | 3923 cat conftest.$ac_ext >&5 |
3923 } | 3937 } |
3924 | 3938 |
3925 fi | 3939 fi |
3926 | 3940 |
3927 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 3941 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3928 echo "configure:3929: checking for tm_zone in struct tm" >&5 | 3942 echo "configure:3943: checking for tm_zone in struct tm" >&5 |
3929 | 3943 |
3930 cat > conftest.$ac_ext <<EOF | 3944 cat > conftest.$ac_ext <<EOF |
3931 #line 3932 "configure" | 3945 #line 3946 "configure" |
3932 #include "confdefs.h" | 3946 #include "confdefs.h" |
3933 #include <sys/types.h> | 3947 #include <sys/types.h> |
3934 #include <$ac_cv_struct_tm> | 3948 #include <$ac_cv_struct_tm> |
3935 int main() { | 3949 int main() { |
3936 struct tm tm; tm.tm_zone; | 3950 struct tm tm; tm.tm_zone; |
3937 ; return 0; } | 3951 ; return 0; } |
3938 EOF | 3952 EOF |
3939 if { (eval echo configure:3940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3953 if { (eval echo configure:3954: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3940 rm -rf conftest* | 3954 rm -rf conftest* |
3941 ac_cv_struct_tm_zone=yes | 3955 ac_cv_struct_tm_zone=yes |
3942 else | 3956 else |
3943 echo "configure: failed program was:" >&5 | 3957 echo "configure: failed program was:" >&5 |
3944 cat conftest.$ac_ext >&5 | 3958 cat conftest.$ac_ext >&5 |
3957 EOF | 3971 EOF |
3958 } | 3972 } |
3959 | 3973 |
3960 else | 3974 else |
3961 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 3975 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
3962 echo "configure:3963: checking for tzname" >&5 | 3976 echo "configure:3977: checking for tzname" >&5 |
3963 | 3977 |
3964 cat > conftest.$ac_ext <<EOF | 3978 cat > conftest.$ac_ext <<EOF |
3965 #line 3966 "configure" | 3979 #line 3980 "configure" |
3966 #include "confdefs.h" | 3980 #include "confdefs.h" |
3967 #include <time.h> | 3981 #include <time.h> |
3968 #ifndef tzname /* For SGI. */ | 3982 #ifndef tzname /* For SGI. */ |
3969 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 3983 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3970 #endif | 3984 #endif |
3971 int main() { | 3985 int main() { |
3972 atoi(*tzname); | 3986 atoi(*tzname); |
3973 ; return 0; } | 3987 ; return 0; } |
3974 EOF | 3988 EOF |
3975 if { (eval echo configure:3976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3989 if { (eval echo configure:3990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3976 rm -rf conftest* | 3990 rm -rf conftest* |
3977 ac_cv_var_tzname=yes | 3991 ac_cv_var_tzname=yes |
3978 else | 3992 else |
3979 echo "configure: failed program was:" >&5 | 3993 echo "configure: failed program was:" >&5 |
3980 cat conftest.$ac_ext >&5 | 3994 cat conftest.$ac_ext >&5 |
3996 fi | 4010 fi |
3997 fi | 4011 fi |
3998 | 4012 |
3999 | 4013 |
4000 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4014 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4001 echo "configure:4002: checking for working const" >&5 | 4015 echo "configure:4016: checking for working const" >&5 |
4002 | 4016 |
4003 cat > conftest.$ac_ext <<EOF | 4017 cat > conftest.$ac_ext <<EOF |
4004 #line 4005 "configure" | 4018 #line 4019 "configure" |
4005 #include "confdefs.h" | 4019 #include "confdefs.h" |
4006 | 4020 |
4007 int main() { | 4021 int main() { |
4008 | 4022 |
4009 /* Ultrix mips cc rejects this. */ | 4023 /* Ultrix mips cc rejects this. */ |
4048 const int foo = 10; | 4062 const int foo = 10; |
4049 } | 4063 } |
4050 | 4064 |
4051 ; return 0; } | 4065 ; return 0; } |
4052 EOF | 4066 EOF |
4053 if { (eval echo configure:4054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4067 if { (eval echo configure:4068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4054 rm -rf conftest* | 4068 rm -rf conftest* |
4055 ac_cv_c_const=yes | 4069 ac_cv_c_const=yes |
4056 else | 4070 else |
4057 echo "configure: failed program was:" >&5 | 4071 echo "configure: failed program was:" >&5 |
4058 cat conftest.$ac_ext >&5 | 4072 cat conftest.$ac_ext >&5 |
4073 | 4087 |
4074 fi | 4088 fi |
4075 | 4089 |
4076 | 4090 |
4077 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4091 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4078 echo "configure:4079: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4092 echo "configure:4093: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4079 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4093 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4080 | 4094 |
4081 cat > conftestmake <<\EOF | 4095 cat > conftestmake <<\EOF |
4082 all: | 4096 all: |
4083 @echo 'ac_maketemp="${MAKE}"' | 4097 @echo 'ac_maketemp="${MAKE}"' |
4098 SET_MAKE="MAKE=${MAKE-make}" | 4112 SET_MAKE="MAKE=${MAKE-make}" |
4099 fi | 4113 fi |
4100 | 4114 |
4101 | 4115 |
4102 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4116 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4103 echo "configure:4104: checking whether byte ordering is bigendian" >&5 | 4117 echo "configure:4118: checking whether byte ordering is bigendian" >&5 |
4104 | 4118 |
4105 ac_cv_c_bigendian=unknown | 4119 ac_cv_c_bigendian=unknown |
4106 # See if sys/param.h defines the BYTE_ORDER macro. | 4120 # See if sys/param.h defines the BYTE_ORDER macro. |
4107 cat > conftest.$ac_ext <<EOF | 4121 cat > conftest.$ac_ext <<EOF |
4108 #line 4109 "configure" | 4122 #line 4123 "configure" |
4109 #include "confdefs.h" | 4123 #include "confdefs.h" |
4110 #include <sys/types.h> | 4124 #include <sys/types.h> |
4111 #include <sys/param.h> | 4125 #include <sys/param.h> |
4112 int main() { | 4126 int main() { |
4113 | 4127 |
4114 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4128 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4115 bogus endian macros | 4129 bogus endian macros |
4116 #endif | 4130 #endif |
4117 ; return 0; } | 4131 ; return 0; } |
4118 EOF | 4132 EOF |
4119 if { (eval echo configure:4120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4133 if { (eval echo configure:4134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4120 rm -rf conftest* | 4134 rm -rf conftest* |
4121 # It does; now see whether it defined to BIG_ENDIAN or not. | 4135 # It does; now see whether it defined to BIG_ENDIAN or not. |
4122 cat > conftest.$ac_ext <<EOF | 4136 cat > conftest.$ac_ext <<EOF |
4123 #line 4124 "configure" | 4137 #line 4138 "configure" |
4124 #include "confdefs.h" | 4138 #include "confdefs.h" |
4125 #include <sys/types.h> | 4139 #include <sys/types.h> |
4126 #include <sys/param.h> | 4140 #include <sys/param.h> |
4127 int main() { | 4141 int main() { |
4128 | 4142 |
4129 #if BYTE_ORDER != BIG_ENDIAN | 4143 #if BYTE_ORDER != BIG_ENDIAN |
4130 not big endian | 4144 not big endian |
4131 #endif | 4145 #endif |
4132 ; return 0; } | 4146 ; return 0; } |
4133 EOF | 4147 EOF |
4134 if { (eval echo configure:4135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4148 if { (eval echo configure:4149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4135 rm -rf conftest* | 4149 rm -rf conftest* |
4136 ac_cv_c_bigendian=yes | 4150 ac_cv_c_bigendian=yes |
4137 else | 4151 else |
4138 echo "configure: failed program was:" >&5 | 4152 echo "configure: failed program was:" >&5 |
4139 cat conftest.$ac_ext >&5 | 4153 cat conftest.$ac_ext >&5 |
4146 cat conftest.$ac_ext >&5 | 4160 cat conftest.$ac_ext >&5 |
4147 fi | 4161 fi |
4148 rm -f conftest* | 4162 rm -f conftest* |
4149 if test $ac_cv_c_bigendian = unknown; then | 4163 if test $ac_cv_c_bigendian = unknown; then |
4150 cat > conftest.$ac_ext <<EOF | 4164 cat > conftest.$ac_ext <<EOF |
4151 #line 4152 "configure" | 4165 #line 4166 "configure" |
4152 #include "confdefs.h" | 4166 #include "confdefs.h" |
4153 main () { | 4167 main () { |
4154 /* Are we little or big endian? From Harbison&Steele. */ | 4168 /* Are we little or big endian? From Harbison&Steele. */ |
4155 union | 4169 union |
4156 { | 4170 { |
4159 } u; | 4173 } u; |
4160 u.l = 1; | 4174 u.l = 1; |
4161 exit (u.c[sizeof (long) - 1] == 1); | 4175 exit (u.c[sizeof (long) - 1] == 1); |
4162 } | 4176 } |
4163 EOF | 4177 EOF |
4164 if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4178 if { (eval echo configure:4179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4165 then | 4179 then |
4166 ac_cv_c_bigendian=no | 4180 ac_cv_c_bigendian=no |
4167 else | 4181 else |
4168 conftest_rc="$?" | 4182 conftest_rc="$?" |
4169 echo "configure: failed program was:" >&5 | 4183 echo "configure: failed program was:" >&5 |
4186 | 4200 |
4187 fi | 4201 fi |
4188 | 4202 |
4189 | 4203 |
4190 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4204 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4191 echo "configure:4192: checking size of short" >&5 | 4205 echo "configure:4206: checking size of short" >&5 |
4192 | 4206 |
4193 cat > conftest.$ac_ext <<EOF | 4207 cat > conftest.$ac_ext <<EOF |
4194 #line 4195 "configure" | 4208 #line 4209 "configure" |
4195 #include "confdefs.h" | 4209 #include "confdefs.h" |
4196 #include <stdio.h> | 4210 #include <stdio.h> |
4197 main() | 4211 main() |
4198 { | 4212 { |
4199 FILE *f=fopen("conftestval", "w"); | 4213 FILE *f=fopen("conftestval", "w"); |
4200 if (!f) exit(1); | 4214 if (!f) exit(1); |
4201 fprintf(f, "%d\n", sizeof(short)); | 4215 fprintf(f, "%d\n", sizeof(short)); |
4202 exit(0); | 4216 exit(0); |
4203 } | 4217 } |
4204 EOF | 4218 EOF |
4205 if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4219 if { (eval echo configure:4220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4206 then | 4220 then |
4207 ac_cv_sizeof_short=`cat conftestval` | 4221 ac_cv_sizeof_short=`cat conftestval` |
4208 else | 4222 else |
4209 conftest_rc="$?" | 4223 conftest_rc="$?" |
4210 echo "configure: failed program was:" >&5 | 4224 echo "configure: failed program was:" >&5 |
4228 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4242 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4229 echo "*** PANIC *** Please examine config.log for compilation errors." | 4243 echo "*** PANIC *** Please examine config.log for compilation errors." |
4230 exit 1 | 4244 exit 1 |
4231 fi | 4245 fi |
4232 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4246 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4233 echo "configure:4234: checking size of int" >&5 | 4247 echo "configure:4248: checking size of int" >&5 |
4234 | 4248 |
4235 cat > conftest.$ac_ext <<EOF | 4249 cat > conftest.$ac_ext <<EOF |
4236 #line 4237 "configure" | 4250 #line 4251 "configure" |
4237 #include "confdefs.h" | 4251 #include "confdefs.h" |
4238 #include <stdio.h> | 4252 #include <stdio.h> |
4239 main() | 4253 main() |
4240 { | 4254 { |
4241 FILE *f=fopen("conftestval", "w"); | 4255 FILE *f=fopen("conftestval", "w"); |
4242 if (!f) exit(1); | 4256 if (!f) exit(1); |
4243 fprintf(f, "%d\n", sizeof(int)); | 4257 fprintf(f, "%d\n", sizeof(int)); |
4244 exit(0); | 4258 exit(0); |
4245 } | 4259 } |
4246 EOF | 4260 EOF |
4247 if { (eval echo configure:4248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4261 if { (eval echo configure:4262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4248 then | 4262 then |
4249 ac_cv_sizeof_int=`cat conftestval` | 4263 ac_cv_sizeof_int=`cat conftestval` |
4250 else | 4264 else |
4251 conftest_rc="$?" | 4265 conftest_rc="$?" |
4252 echo "configure: failed program was:" >&5 | 4266 echo "configure: failed program was:" >&5 |
4264 EOF | 4278 EOF |
4265 } | 4279 } |
4266 | 4280 |
4267 | 4281 |
4268 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4282 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4269 echo "configure:4270: checking size of long" >&5 | 4283 echo "configure:4284: checking size of long" >&5 |
4270 | 4284 |
4271 cat > conftest.$ac_ext <<EOF | 4285 cat > conftest.$ac_ext <<EOF |
4272 #line 4273 "configure" | 4286 #line 4287 "configure" |
4273 #include "confdefs.h" | 4287 #include "confdefs.h" |
4274 #include <stdio.h> | 4288 #include <stdio.h> |
4275 main() | 4289 main() |
4276 { | 4290 { |
4277 FILE *f=fopen("conftestval", "w"); | 4291 FILE *f=fopen("conftestval", "w"); |
4278 if (!f) exit(1); | 4292 if (!f) exit(1); |
4279 fprintf(f, "%d\n", sizeof(long)); | 4293 fprintf(f, "%d\n", sizeof(long)); |
4280 exit(0); | 4294 exit(0); |
4281 } | 4295 } |
4282 EOF | 4296 EOF |
4283 if { (eval echo configure:4284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4297 if { (eval echo configure:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4284 then | 4298 then |
4285 ac_cv_sizeof_long=`cat conftestval` | 4299 ac_cv_sizeof_long=`cat conftestval` |
4286 else | 4300 else |
4287 conftest_rc="$?" | 4301 conftest_rc="$?" |
4288 echo "configure: failed program was:" >&5 | 4302 echo "configure: failed program was:" >&5 |
4300 EOF | 4314 EOF |
4301 } | 4315 } |
4302 | 4316 |
4303 | 4317 |
4304 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4318 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4305 echo "configure:4306: checking size of long long" >&5 | 4319 echo "configure:4320: checking size of long long" >&5 |
4306 | 4320 |
4307 cat > conftest.$ac_ext <<EOF | 4321 cat > conftest.$ac_ext <<EOF |
4308 #line 4309 "configure" | 4322 #line 4323 "configure" |
4309 #include "confdefs.h" | 4323 #include "confdefs.h" |
4310 #include <stdio.h> | 4324 #include <stdio.h> |
4311 main() | 4325 main() |
4312 { | 4326 { |
4313 FILE *f=fopen("conftestval", "w"); | 4327 FILE *f=fopen("conftestval", "w"); |
4314 if (!f) exit(1); | 4328 if (!f) exit(1); |
4315 fprintf(f, "%d\n", sizeof(long long)); | 4329 fprintf(f, "%d\n", sizeof(long long)); |
4316 exit(0); | 4330 exit(0); |
4317 } | 4331 } |
4318 EOF | 4332 EOF |
4319 if { (eval echo configure:4320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4333 if { (eval echo configure:4334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4320 then | 4334 then |
4321 ac_cv_sizeof_long_long=`cat conftestval` | 4335 ac_cv_sizeof_long_long=`cat conftestval` |
4322 else | 4336 else |
4323 conftest_rc="$?" | 4337 conftest_rc="$?" |
4324 echo "configure: failed program was:" >&5 | 4338 echo "configure: failed program was:" >&5 |
4336 EOF | 4350 EOF |
4337 } | 4351 } |
4338 | 4352 |
4339 | 4353 |
4340 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4354 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4341 echo "configure:4342: checking size of void *" >&5 | 4355 echo "configure:4356: checking size of void *" >&5 |
4342 | 4356 |
4343 cat > conftest.$ac_ext <<EOF | 4357 cat > conftest.$ac_ext <<EOF |
4344 #line 4345 "configure" | 4358 #line 4359 "configure" |
4345 #include "confdefs.h" | 4359 #include "confdefs.h" |
4346 #include <stdio.h> | 4360 #include <stdio.h> |
4347 main() | 4361 main() |
4348 { | 4362 { |
4349 FILE *f=fopen("conftestval", "w"); | 4363 FILE *f=fopen("conftestval", "w"); |
4350 if (!f) exit(1); | 4364 if (!f) exit(1); |
4351 fprintf(f, "%d\n", sizeof(void *)); | 4365 fprintf(f, "%d\n", sizeof(void *)); |
4352 exit(0); | 4366 exit(0); |
4353 } | 4367 } |
4354 EOF | 4368 EOF |
4355 if { (eval echo configure:4356: \"$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 |
4356 then | 4370 then |
4357 ac_cv_sizeof_void_p=`cat conftestval` | 4371 ac_cv_sizeof_void_p=`cat conftestval` |
4358 else | 4372 else |
4359 conftest_rc="$?" | 4373 conftest_rc="$?" |
4360 echo "configure: failed program was:" >&5 | 4374 echo "configure: failed program was:" >&5 |
4373 } | 4387 } |
4374 | 4388 |
4375 | 4389 |
4376 | 4390 |
4377 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4391 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4378 echo "configure:4379: checking for long file names" >&5 | 4392 echo "configure:4393: checking for long file names" >&5 |
4379 | 4393 |
4380 ac_cv_sys_long_file_names=yes | 4394 ac_cv_sys_long_file_names=yes |
4381 # Test for long file names in all the places we know might matter: | 4395 # Test for long file names in all the places we know might matter: |
4382 # . the current directory, where building will happen | 4396 # . the current directory, where building will happen |
4383 # $prefix/lib where we will be installing things | 4397 # $prefix/lib where we will be installing things |
4419 | 4433 |
4420 fi | 4434 fi |
4421 | 4435 |
4422 | 4436 |
4423 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4437 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4424 echo "configure:4425: checking for sin" >&5 | 4438 echo "configure:4439: checking for sin" >&5 |
4425 | 4439 |
4426 cat > conftest.$ac_ext <<EOF | 4440 cat > conftest.$ac_ext <<EOF |
4427 #line 4428 "configure" | 4441 #line 4442 "configure" |
4428 #include "confdefs.h" | 4442 #include "confdefs.h" |
4429 /* System header to define __stub macros and hopefully few prototypes, | 4443 /* System header to define __stub macros and hopefully few prototypes, |
4430 which can conflict with char sin(); below. */ | 4444 which can conflict with char sin(); below. */ |
4431 #include <assert.h> | 4445 #include <assert.h> |
4432 /* Override any gcc2 internal prototype to avoid an error. */ | 4446 /* Override any gcc2 internal prototype to avoid an error. */ |
4445 sin(); | 4459 sin(); |
4446 #endif | 4460 #endif |
4447 | 4461 |
4448 ; return 0; } | 4462 ; return 0; } |
4449 EOF | 4463 EOF |
4450 if { (eval echo configure:4451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4464 if { (eval echo configure:4465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4451 rm -rf conftest* | 4465 rm -rf conftest* |
4452 eval "ac_cv_func_sin=yes" | 4466 eval "ac_cv_func_sin=yes" |
4453 else | 4467 else |
4454 echo "configure: failed program was:" >&5 | 4468 echo "configure: failed program was:" >&5 |
4455 cat conftest.$ac_ext >&5 | 4469 cat conftest.$ac_ext >&5 |
4463 : | 4477 : |
4464 else | 4478 else |
4465 echo "$ac_t""no" 1>&6 | 4479 echo "$ac_t""no" 1>&6 |
4466 | 4480 |
4467 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4481 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4468 echo "configure:4469: checking for sin in -lm" >&5 | 4482 echo "configure:4483: checking for sin in -lm" >&5 |
4469 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4483 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4470 | 4484 |
4471 xe_check_libs=" -lm " | 4485 xe_check_libs=" -lm " |
4472 cat > conftest.$ac_ext <<EOF | 4486 cat > conftest.$ac_ext <<EOF |
4473 #line 4474 "configure" | 4487 #line 4488 "configure" |
4474 #include "confdefs.h" | 4488 #include "confdefs.h" |
4475 /* Override any gcc2 internal prototype to avoid an error. */ | 4489 /* Override any gcc2 internal prototype to avoid an error. */ |
4476 /* We use char because int might match the return type of a gcc2 | 4490 /* We use char because int might match the return type of a gcc2 |
4477 builtin and then its argument prototype would still apply. */ | 4491 builtin and then its argument prototype would still apply. */ |
4478 char sin(); | 4492 char sin(); |
4479 | 4493 |
4480 int main() { | 4494 int main() { |
4481 sin() | 4495 sin() |
4482 ; return 0; } | 4496 ; return 0; } |
4483 EOF | 4497 EOF |
4484 if { (eval echo configure:4485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4498 if { (eval echo configure:4499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4485 rm -rf conftest* | 4499 rm -rf conftest* |
4486 eval "ac_cv_lib_$ac_lib_var=yes" | 4500 eval "ac_cv_lib_$ac_lib_var=yes" |
4487 else | 4501 else |
4488 echo "configure: failed program was:" >&5 | 4502 echo "configure: failed program was:" >&5 |
4489 cat conftest.$ac_ext >&5 | 4503 cat conftest.$ac_ext >&5 |
4523 EOF | 4537 EOF |
4524 } | 4538 } |
4525 | 4539 |
4526 | 4540 |
4527 cat > conftest.$ac_ext <<EOF | 4541 cat > conftest.$ac_ext <<EOF |
4528 #line 4529 "configure" | 4542 #line 4543 "configure" |
4529 #include "confdefs.h" | 4543 #include "confdefs.h" |
4530 #include <math.h> | 4544 #include <math.h> |
4531 int main() { | 4545 int main() { |
4532 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4546 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4533 ; return 0; } | 4547 ; return 0; } |
4534 EOF | 4548 EOF |
4535 if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4549 if { (eval echo configure:4550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4536 rm -rf conftest* | 4550 rm -rf conftest* |
4537 { test "$extra_verbose" = "yes" && cat << \EOF | 4551 { test "$extra_verbose" = "yes" && cat << \EOF |
4538 Defining HAVE_INVERSE_HYPERBOLIC | 4552 Defining HAVE_INVERSE_HYPERBOLIC |
4539 EOF | 4553 EOF |
4540 cat >> confdefs.h <<\EOF | 4554 cat >> confdefs.h <<\EOF |
4547 cat conftest.$ac_ext >&5 | 4561 cat conftest.$ac_ext >&5 |
4548 fi | 4562 fi |
4549 rm -f conftest* | 4563 rm -f conftest* |
4550 | 4564 |
4551 echo "checking type of mail spool file locking" 1>&6 | 4565 echo "checking type of mail spool file locking" 1>&6 |
4552 echo "configure:4553: checking type of mail spool file locking" >&5 | 4566 echo "configure:4567: checking type of mail spool file locking" >&5 |
4553 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock | 4567 test -z "$mail_locking" -a "$mail_use_flock" = "yes" && mail_locking=flock |
4554 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf | 4568 test -z "$mail_locking" -a "$mail_use_lockf" = "yes" && mail_locking=lockf |
4555 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF | 4569 if test "$mail_locking" = "lockf"; then { test "$extra_verbose" = "yes" && cat << \EOF |
4556 Defining REAL_MAIL_USE_LOCKF | 4570 Defining REAL_MAIL_USE_LOCKF |
4557 EOF | 4571 EOF |
4572 fi | 4586 fi |
4573 | 4587 |
4574 case "$opsys" in decosf*) | 4588 case "$opsys" in decosf*) |
4575 | 4589 |
4576 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4590 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4577 echo "configure:4578: checking for cma_open in -lpthreads" >&5 | 4591 echo "configure:4592: checking for cma_open in -lpthreads" >&5 |
4578 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4592 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4579 | 4593 |
4580 xe_check_libs=" -lpthreads " | 4594 xe_check_libs=" -lpthreads " |
4581 cat > conftest.$ac_ext <<EOF | 4595 cat > conftest.$ac_ext <<EOF |
4582 #line 4583 "configure" | 4596 #line 4597 "configure" |
4583 #include "confdefs.h" | 4597 #include "confdefs.h" |
4584 /* Override any gcc2 internal prototype to avoid an error. */ | 4598 /* Override any gcc2 internal prototype to avoid an error. */ |
4585 /* We use char because int might match the return type of a gcc2 | 4599 /* We use char because int might match the return type of a gcc2 |
4586 builtin and then its argument prototype would still apply. */ | 4600 builtin and then its argument prototype would still apply. */ |
4587 char cma_open(); | 4601 char cma_open(); |
4588 | 4602 |
4589 int main() { | 4603 int main() { |
4590 cma_open() | 4604 cma_open() |
4591 ; return 0; } | 4605 ; return 0; } |
4592 EOF | 4606 EOF |
4593 if { (eval echo configure:4594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4607 if { (eval echo configure:4608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4594 rm -rf conftest* | 4608 rm -rf conftest* |
4595 eval "ac_cv_lib_$ac_lib_var=yes" | 4609 eval "ac_cv_lib_$ac_lib_var=yes" |
4596 else | 4610 else |
4597 echo "configure: failed program was:" >&5 | 4611 echo "configure: failed program was:" >&5 |
4598 cat conftest.$ac_ext >&5 | 4612 cat conftest.$ac_ext >&5 |
4624 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4638 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4625 c_switch_site="$c_switch_site -threads" ;; | 4639 c_switch_site="$c_switch_site -threads" ;; |
4626 esac | 4640 esac |
4627 | 4641 |
4628 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4642 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4629 echo "configure:4630: checking whether the -xildoff compiler flag is required" >&5 | 4643 echo "configure:4644: checking whether the -xildoff compiler flag is required" >&5 |
4630 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4644 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4631 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4645 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4632 then echo "$ac_t""no" 1>&6; | 4646 then echo "$ac_t""no" 1>&6; |
4633 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 | 4647 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 |
4634 fi | 4648 fi |
4635 else echo "$ac_t""no" 1>&6 | 4649 else echo "$ac_t""no" 1>&6 |
4636 fi | 4650 fi |
4637 | 4651 |
4638 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then | 4652 if test "$opsys" = "sol2" && test "$OS_RELEASE" -ge 56; then |
4639 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4653 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4640 echo "configure:4641: checking for \"-z ignore\" linker flag" >&5 | 4654 echo "configure:4655: checking for \"-z ignore\" linker flag" >&5 |
4641 case "`ld -h 2>&1`" in | 4655 case "`ld -h 2>&1`" in |
4642 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4656 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4643 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4657 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4644 *) echo "$ac_t""no" 1>&6 ;; | 4658 *) echo "$ac_t""no" 1>&6 ;; |
4645 esac | 4659 esac |
4646 fi | 4660 fi |
4647 | 4661 |
4648 | 4662 |
4649 echo "checking "for specified window system"" 1>&6 | 4663 echo "checking "for specified window system"" 1>&6 |
4650 echo "configure:4651: checking "for specified window system"" >&5 | 4664 echo "configure:4665: checking "for specified window system"" >&5 |
4651 | 4665 |
4652 if test "$with_x11" != "no"; then | 4666 if test "$with_x11" != "no"; then |
4653 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4667 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4654 window_system=x11 with_x11=yes | 4668 window_system=x11 with_x11=yes |
4655 | 4669 |
4678 # If we find X, set shell vars x_includes and x_libraries to the | 4692 # If we find X, set shell vars x_includes and x_libraries to the |
4679 # paths, otherwise set no_x=yes. | 4693 # paths, otherwise set no_x=yes. |
4680 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4694 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4681 # --without-x overrides everything else, but does not touch the cache. | 4695 # --without-x overrides everything else, but does not touch the cache. |
4682 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4696 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4683 echo "configure:4684: checking for X" >&5 | 4697 echo "configure:4698: checking for X" >&5 |
4684 | 4698 |
4685 # Check whether --with-x or --without-x was given. | 4699 # Check whether --with-x or --without-x was given. |
4686 if test "${with_x+set}" = set; then | 4700 if test "${with_x+set}" = set; then |
4687 withval="$with_x" | 4701 withval="$with_x" |
4688 : | 4702 : |
4738 # Guess where to find include files, by looking for this one X11 .h file. | 4752 # Guess where to find include files, by looking for this one X11 .h file. |
4739 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4753 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4740 | 4754 |
4741 # First, try using that file with no special directory specified. | 4755 # First, try using that file with no special directory specified. |
4742 cat > conftest.$ac_ext <<EOF | 4756 cat > conftest.$ac_ext <<EOF |
4743 #line 4744 "configure" | 4757 #line 4758 "configure" |
4744 #include "confdefs.h" | 4758 #include "confdefs.h" |
4745 #include <$x_direct_test_include> | 4759 #include <$x_direct_test_include> |
4746 EOF | 4760 EOF |
4747 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4748 { (eval echo configure:4749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4762 { (eval echo configure:4763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4749 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4750 if test -z "$ac_err"; then | 4764 if test -z "$ac_err"; then |
4751 rm -rf conftest* | 4765 rm -rf conftest* |
4752 # We can compile using X headers with no special include directory. | 4766 # We can compile using X headers with no special include directory. |
4753 ac_x_includes= | 4767 ac_x_includes= |
4812 # See if we find them without any special options. | 4826 # See if we find them without any special options. |
4813 # Don't add to $LIBS permanently. | 4827 # Don't add to $LIBS permanently. |
4814 ac_save_LIBS="$LIBS" | 4828 ac_save_LIBS="$LIBS" |
4815 LIBS="-l$x_direct_test_library $LIBS" | 4829 LIBS="-l$x_direct_test_library $LIBS" |
4816 cat > conftest.$ac_ext <<EOF | 4830 cat > conftest.$ac_ext <<EOF |
4817 #line 4818 "configure" | 4831 #line 4832 "configure" |
4818 #include "confdefs.h" | 4832 #include "confdefs.h" |
4819 | 4833 |
4820 int main() { | 4834 int main() { |
4821 ${x_direct_test_function}() | 4835 ${x_direct_test_function}() |
4822 ; return 0; } | 4836 ; return 0; } |
4823 EOF | 4837 EOF |
4824 if { (eval echo configure:4825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4838 if { (eval echo configure:4839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4825 rm -rf conftest* | 4839 rm -rf conftest* |
4826 LIBS="$ac_save_LIBS" | 4840 LIBS="$ac_save_LIBS" |
4827 # We can link X programs with no special library path. | 4841 # We can link X programs with no special library path. |
4828 ac_x_libraries= | 4842 ac_x_libraries= |
4829 else | 4843 else |
4928 # For Solaris; some versions of Sun CC require a space after -R and | 4942 # For Solaris; some versions of Sun CC require a space after -R and |
4929 # others require no space. Words are not sufficient . . . . | 4943 # others require no space. Words are not sufficient . . . . |
4930 case "`(uname -sr) 2>/dev/null`" in | 4944 case "`(uname -sr) 2>/dev/null`" in |
4931 "SunOS 5"*) | 4945 "SunOS 5"*) |
4932 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 4946 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
4933 echo "configure:4934: checking whether -R must be followed by a space" >&5 | 4947 echo "configure:4948: checking whether -R must be followed by a space" >&5 |
4934 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 4948 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
4935 cat > conftest.$ac_ext <<EOF | 4949 cat > conftest.$ac_ext <<EOF |
4936 #line 4937 "configure" | 4950 #line 4951 "configure" |
4937 #include "confdefs.h" | 4951 #include "confdefs.h" |
4938 | 4952 |
4939 int main() { | 4953 int main() { |
4940 | 4954 |
4941 ; return 0; } | 4955 ; return 0; } |
4942 EOF | 4956 EOF |
4943 if { (eval echo configure:4944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4957 if { (eval echo configure:4958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4944 rm -rf conftest* | 4958 rm -rf conftest* |
4945 ac_R_nospace=yes | 4959 ac_R_nospace=yes |
4946 else | 4960 else |
4947 echo "configure: failed program was:" >&5 | 4961 echo "configure: failed program was:" >&5 |
4948 cat conftest.$ac_ext >&5 | 4962 cat conftest.$ac_ext >&5 |
4954 echo "$ac_t""no" 1>&6 | 4968 echo "$ac_t""no" 1>&6 |
4955 X_LIBS="$X_LIBS -R$x_libraries" | 4969 X_LIBS="$X_LIBS -R$x_libraries" |
4956 else | 4970 else |
4957 LIBS="$ac_xsave_LIBS -R $x_libraries" | 4971 LIBS="$ac_xsave_LIBS -R $x_libraries" |
4958 cat > conftest.$ac_ext <<EOF | 4972 cat > conftest.$ac_ext <<EOF |
4959 #line 4960 "configure" | 4973 #line 4974 "configure" |
4960 #include "confdefs.h" | 4974 #include "confdefs.h" |
4961 | 4975 |
4962 int main() { | 4976 int main() { |
4963 | 4977 |
4964 ; return 0; } | 4978 ; return 0; } |
4965 EOF | 4979 EOF |
4966 if { (eval echo configure:4967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4980 if { (eval echo configure:4981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4967 rm -rf conftest* | 4981 rm -rf conftest* |
4968 ac_R_space=yes | 4982 ac_R_space=yes |
4969 else | 4983 else |
4970 echo "configure: failed program was:" >&5 | 4984 echo "configure: failed program was:" >&5 |
4971 cat conftest.$ac_ext >&5 | 4985 cat conftest.$ac_ext >&5 |
4997 if test "$with_dnet" = "no" ; then | 5011 if test "$with_dnet" = "no" ; then |
4998 ac_cv_lib_dnet_dnet_ntoa=no | 5012 ac_cv_lib_dnet_dnet_ntoa=no |
4999 else | 5013 else |
5000 | 5014 |
5001 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5015 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5002 echo "configure:5003: checking for dnet_ntoa in -ldnet" >&5 | 5016 echo "configure:5017: checking for dnet_ntoa in -ldnet" >&5 |
5003 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5017 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5004 | 5018 |
5005 xe_check_libs=" -ldnet " | 5019 xe_check_libs=" -ldnet " |
5006 cat > conftest.$ac_ext <<EOF | 5020 cat > conftest.$ac_ext <<EOF |
5007 #line 5008 "configure" | 5021 #line 5022 "configure" |
5008 #include "confdefs.h" | 5022 #include "confdefs.h" |
5009 /* Override any gcc2 internal prototype to avoid an error. */ | 5023 /* Override any gcc2 internal prototype to avoid an error. */ |
5010 /* We use char because int might match the return type of a gcc2 | 5024 /* We use char because int might match the return type of a gcc2 |
5011 builtin and then its argument prototype would still apply. */ | 5025 builtin and then its argument prototype would still apply. */ |
5012 char dnet_ntoa(); | 5026 char dnet_ntoa(); |
5013 | 5027 |
5014 int main() { | 5028 int main() { |
5015 dnet_ntoa() | 5029 dnet_ntoa() |
5016 ; return 0; } | 5030 ; return 0; } |
5017 EOF | 5031 EOF |
5018 if { (eval echo configure:5019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5032 if { (eval echo configure:5033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5019 rm -rf conftest* | 5033 rm -rf conftest* |
5020 eval "ac_cv_lib_$ac_lib_var=yes" | 5034 eval "ac_cv_lib_$ac_lib_var=yes" |
5021 else | 5035 else |
5022 echo "configure: failed program was:" >&5 | 5036 echo "configure: failed program was:" >&5 |
5023 cat conftest.$ac_ext >&5 | 5037 cat conftest.$ac_ext >&5 |
5037 fi | 5051 fi |
5038 | 5052 |
5039 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5053 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5040 | 5054 |
5041 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5055 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5042 echo "configure:5043: checking for dnet_ntoa in -ldnet_stub" >&5 | 5056 echo "configure:5057: checking for dnet_ntoa in -ldnet_stub" >&5 |
5043 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5057 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5044 | 5058 |
5045 xe_check_libs=" -ldnet_stub " | 5059 xe_check_libs=" -ldnet_stub " |
5046 cat > conftest.$ac_ext <<EOF | 5060 cat > conftest.$ac_ext <<EOF |
5047 #line 5048 "configure" | 5061 #line 5062 "configure" |
5048 #include "confdefs.h" | 5062 #include "confdefs.h" |
5049 /* Override any gcc2 internal prototype to avoid an error. */ | 5063 /* Override any gcc2 internal prototype to avoid an error. */ |
5050 /* We use char because int might match the return type of a gcc2 | 5064 /* We use char because int might match the return type of a gcc2 |
5051 builtin and then its argument prototype would still apply. */ | 5065 builtin and then its argument prototype would still apply. */ |
5052 char dnet_ntoa(); | 5066 char dnet_ntoa(); |
5053 | 5067 |
5054 int main() { | 5068 int main() { |
5055 dnet_ntoa() | 5069 dnet_ntoa() |
5056 ; return 0; } | 5070 ; return 0; } |
5057 EOF | 5071 EOF |
5058 if { (eval echo configure:5059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5072 if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5059 rm -rf conftest* | 5073 rm -rf conftest* |
5060 eval "ac_cv_lib_$ac_lib_var=yes" | 5074 eval "ac_cv_lib_$ac_lib_var=yes" |
5061 else | 5075 else |
5062 echo "configure: failed program was:" >&5 | 5076 echo "configure: failed program was:" >&5 |
5063 cat conftest.$ac_ext >&5 | 5077 cat conftest.$ac_ext >&5 |
5082 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5096 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5083 # needs -lnsl. | 5097 # needs -lnsl. |
5084 # The nsl library prevents programs from opening the X display | 5098 # The nsl library prevents programs from opening the X display |
5085 # on Irix 5.2, according to dickey@clark.net. | 5099 # on Irix 5.2, according to dickey@clark.net. |
5086 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5100 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5087 echo "configure:5088: checking for gethostbyname" >&5 | 5101 echo "configure:5102: checking for gethostbyname" >&5 |
5088 | 5102 |
5089 cat > conftest.$ac_ext <<EOF | 5103 cat > conftest.$ac_ext <<EOF |
5090 #line 5091 "configure" | 5104 #line 5105 "configure" |
5091 #include "confdefs.h" | 5105 #include "confdefs.h" |
5092 /* System header to define __stub macros and hopefully few prototypes, | 5106 /* System header to define __stub macros and hopefully few prototypes, |
5093 which can conflict with char gethostbyname(); below. */ | 5107 which can conflict with char gethostbyname(); below. */ |
5094 #include <assert.h> | 5108 #include <assert.h> |
5095 /* Override any gcc2 internal prototype to avoid an error. */ | 5109 /* Override any gcc2 internal prototype to avoid an error. */ |
5108 gethostbyname(); | 5122 gethostbyname(); |
5109 #endif | 5123 #endif |
5110 | 5124 |
5111 ; return 0; } | 5125 ; return 0; } |
5112 EOF | 5126 EOF |
5113 if { (eval echo configure:5114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5127 if { (eval echo configure:5128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5114 rm -rf conftest* | 5128 rm -rf conftest* |
5115 eval "ac_cv_func_gethostbyname=yes" | 5129 eval "ac_cv_func_gethostbyname=yes" |
5116 else | 5130 else |
5117 echo "configure: failed program was:" >&5 | 5131 echo "configure: failed program was:" >&5 |
5118 cat conftest.$ac_ext >&5 | 5132 cat conftest.$ac_ext >&5 |
5129 fi | 5143 fi |
5130 | 5144 |
5131 if test $ac_cv_func_gethostbyname = no; then | 5145 if test $ac_cv_func_gethostbyname = no; then |
5132 | 5146 |
5133 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5147 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5134 echo "configure:5135: checking for gethostbyname in -lnsl" >&5 | 5148 echo "configure:5149: checking for gethostbyname in -lnsl" >&5 |
5135 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5149 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5136 | 5150 |
5137 xe_check_libs=" -lnsl " | 5151 xe_check_libs=" -lnsl " |
5138 cat > conftest.$ac_ext <<EOF | 5152 cat > conftest.$ac_ext <<EOF |
5139 #line 5140 "configure" | 5153 #line 5154 "configure" |
5140 #include "confdefs.h" | 5154 #include "confdefs.h" |
5141 /* Override any gcc2 internal prototype to avoid an error. */ | 5155 /* Override any gcc2 internal prototype to avoid an error. */ |
5142 /* We use char because int might match the return type of a gcc2 | 5156 /* We use char because int might match the return type of a gcc2 |
5143 builtin and then its argument prototype would still apply. */ | 5157 builtin and then its argument prototype would still apply. */ |
5144 char gethostbyname(); | 5158 char gethostbyname(); |
5145 | 5159 |
5146 int main() { | 5160 int main() { |
5147 gethostbyname() | 5161 gethostbyname() |
5148 ; return 0; } | 5162 ; return 0; } |
5149 EOF | 5163 EOF |
5150 if { (eval echo configure:5151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5164 if { (eval echo configure:5165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5151 rm -rf conftest* | 5165 rm -rf conftest* |
5152 eval "ac_cv_lib_$ac_lib_var=yes" | 5166 eval "ac_cv_lib_$ac_lib_var=yes" |
5153 else | 5167 else |
5154 echo "configure: failed program was:" >&5 | 5168 echo "configure: failed program was:" >&5 |
5155 cat conftest.$ac_ext >&5 | 5169 cat conftest.$ac_ext >&5 |
5175 # on later versions), says simon@lia.di.epfl.ch: it contains | 5189 # on later versions), says simon@lia.di.epfl.ch: it contains |
5176 # gethostby* variants that don't use the nameserver (or something). | 5190 # gethostby* variants that don't use the nameserver (or something). |
5177 # -lsocket must be given before -lnsl if both are needed. | 5191 # -lsocket must be given before -lnsl if both are needed. |
5178 # We assume that if connect needs -lnsl, so does gethostbyname. | 5192 # We assume that if connect needs -lnsl, so does gethostbyname. |
5179 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5193 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5180 echo "configure:5181: checking for connect" >&5 | 5194 echo "configure:5195: checking for connect" >&5 |
5181 | 5195 |
5182 cat > conftest.$ac_ext <<EOF | 5196 cat > conftest.$ac_ext <<EOF |
5183 #line 5184 "configure" | 5197 #line 5198 "configure" |
5184 #include "confdefs.h" | 5198 #include "confdefs.h" |
5185 /* System header to define __stub macros and hopefully few prototypes, | 5199 /* System header to define __stub macros and hopefully few prototypes, |
5186 which can conflict with char connect(); below. */ | 5200 which can conflict with char connect(); below. */ |
5187 #include <assert.h> | 5201 #include <assert.h> |
5188 /* Override any gcc2 internal prototype to avoid an error. */ | 5202 /* Override any gcc2 internal prototype to avoid an error. */ |
5201 connect(); | 5215 connect(); |
5202 #endif | 5216 #endif |
5203 | 5217 |
5204 ; return 0; } | 5218 ; return 0; } |
5205 EOF | 5219 EOF |
5206 if { (eval echo configure:5207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5220 if { (eval echo configure:5221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5207 rm -rf conftest* | 5221 rm -rf conftest* |
5208 eval "ac_cv_func_connect=yes" | 5222 eval "ac_cv_func_connect=yes" |
5209 else | 5223 else |
5210 echo "configure: failed program was:" >&5 | 5224 echo "configure: failed program was:" >&5 |
5211 cat conftest.$ac_ext >&5 | 5225 cat conftest.$ac_ext >&5 |
5224 if test $ac_cv_func_connect = no; then | 5238 if test $ac_cv_func_connect = no; then |
5225 | 5239 |
5226 xe_msg_checking="for connect in -lsocket" | 5240 xe_msg_checking="for connect in -lsocket" |
5227 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5241 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5228 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5242 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5229 echo "configure:5230: checking "$xe_msg_checking"" >&5 | 5243 echo "configure:5244: checking "$xe_msg_checking"" >&5 |
5230 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5244 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5231 | 5245 |
5232 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5246 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5233 cat > conftest.$ac_ext <<EOF | 5247 cat > conftest.$ac_ext <<EOF |
5234 #line 5235 "configure" | 5248 #line 5249 "configure" |
5235 #include "confdefs.h" | 5249 #include "confdefs.h" |
5236 /* Override any gcc2 internal prototype to avoid an error. */ | 5250 /* Override any gcc2 internal prototype to avoid an error. */ |
5237 /* We use char because int might match the return type of a gcc2 | 5251 /* We use char because int might match the return type of a gcc2 |
5238 builtin and then its argument prototype would still apply. */ | 5252 builtin and then its argument prototype would still apply. */ |
5239 char connect(); | 5253 char connect(); |
5240 | 5254 |
5241 int main() { | 5255 int main() { |
5242 connect() | 5256 connect() |
5243 ; return 0; } | 5257 ; return 0; } |
5244 EOF | 5258 EOF |
5245 if { (eval echo configure:5246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5259 if { (eval echo configure:5260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5246 rm -rf conftest* | 5260 rm -rf conftest* |
5247 eval "ac_cv_lib_$ac_lib_var=yes" | 5261 eval "ac_cv_lib_$ac_lib_var=yes" |
5248 else | 5262 else |
5249 echo "configure: failed program was:" >&5 | 5263 echo "configure: failed program was:" >&5 |
5250 cat conftest.$ac_ext >&5 | 5264 cat conftest.$ac_ext >&5 |
5264 | 5278 |
5265 fi | 5279 fi |
5266 | 5280 |
5267 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5281 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
5268 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5282 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5269 echo "configure:5270: checking for remove" >&5 | 5283 echo "configure:5284: checking for remove" >&5 |
5270 | 5284 |
5271 cat > conftest.$ac_ext <<EOF | 5285 cat > conftest.$ac_ext <<EOF |
5272 #line 5273 "configure" | 5286 #line 5287 "configure" |
5273 #include "confdefs.h" | 5287 #include "confdefs.h" |
5274 /* System header to define __stub macros and hopefully few prototypes, | 5288 /* System header to define __stub macros and hopefully few prototypes, |
5275 which can conflict with char remove(); below. */ | 5289 which can conflict with char remove(); below. */ |
5276 #include <assert.h> | 5290 #include <assert.h> |
5277 /* Override any gcc2 internal prototype to avoid an error. */ | 5291 /* Override any gcc2 internal prototype to avoid an error. */ |
5290 remove(); | 5304 remove(); |
5291 #endif | 5305 #endif |
5292 | 5306 |
5293 ; return 0; } | 5307 ; return 0; } |
5294 EOF | 5308 EOF |
5295 if { (eval echo configure:5296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5309 if { (eval echo configure:5310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5296 rm -rf conftest* | 5310 rm -rf conftest* |
5297 eval "ac_cv_func_remove=yes" | 5311 eval "ac_cv_func_remove=yes" |
5298 else | 5312 else |
5299 echo "configure: failed program was:" >&5 | 5313 echo "configure: failed program was:" >&5 |
5300 cat conftest.$ac_ext >&5 | 5314 cat conftest.$ac_ext >&5 |
5311 fi | 5325 fi |
5312 | 5326 |
5313 if test $ac_cv_func_remove = no; then | 5327 if test $ac_cv_func_remove = no; then |
5314 | 5328 |
5315 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5329 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5316 echo "configure:5317: checking for remove in -lposix" >&5 | 5330 echo "configure:5331: checking for remove in -lposix" >&5 |
5317 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5331 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5318 | 5332 |
5319 xe_check_libs=" -lposix " | 5333 xe_check_libs=" -lposix " |
5320 cat > conftest.$ac_ext <<EOF | 5334 cat > conftest.$ac_ext <<EOF |
5321 #line 5322 "configure" | 5335 #line 5336 "configure" |
5322 #include "confdefs.h" | 5336 #include "confdefs.h" |
5323 /* Override any gcc2 internal prototype to avoid an error. */ | 5337 /* Override any gcc2 internal prototype to avoid an error. */ |
5324 /* We use char because int might match the return type of a gcc2 | 5338 /* We use char because int might match the return type of a gcc2 |
5325 builtin and then its argument prototype would still apply. */ | 5339 builtin and then its argument prototype would still apply. */ |
5326 char remove(); | 5340 char remove(); |
5327 | 5341 |
5328 int main() { | 5342 int main() { |
5329 remove() | 5343 remove() |
5330 ; return 0; } | 5344 ; return 0; } |
5331 EOF | 5345 EOF |
5332 if { (eval echo configure:5333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5346 if { (eval echo configure:5347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5333 rm -rf conftest* | 5347 rm -rf conftest* |
5334 eval "ac_cv_lib_$ac_lib_var=yes" | 5348 eval "ac_cv_lib_$ac_lib_var=yes" |
5335 else | 5349 else |
5336 echo "configure: failed program was:" >&5 | 5350 echo "configure: failed program was:" >&5 |
5337 cat conftest.$ac_ext >&5 | 5351 cat conftest.$ac_ext >&5 |
5351 | 5365 |
5352 fi | 5366 fi |
5353 | 5367 |
5354 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5368 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5355 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5369 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5356 echo "configure:5357: checking for shmat" >&5 | 5370 echo "configure:5371: checking for shmat" >&5 |
5357 | 5371 |
5358 cat > conftest.$ac_ext <<EOF | 5372 cat > conftest.$ac_ext <<EOF |
5359 #line 5360 "configure" | 5373 #line 5374 "configure" |
5360 #include "confdefs.h" | 5374 #include "confdefs.h" |
5361 /* System header to define __stub macros and hopefully few prototypes, | 5375 /* System header to define __stub macros and hopefully few prototypes, |
5362 which can conflict with char shmat(); below. */ | 5376 which can conflict with char shmat(); below. */ |
5363 #include <assert.h> | 5377 #include <assert.h> |
5364 /* Override any gcc2 internal prototype to avoid an error. */ | 5378 /* Override any gcc2 internal prototype to avoid an error. */ |
5377 shmat(); | 5391 shmat(); |
5378 #endif | 5392 #endif |
5379 | 5393 |
5380 ; return 0; } | 5394 ; return 0; } |
5381 EOF | 5395 EOF |
5382 if { (eval echo configure:5383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5396 if { (eval echo configure:5397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5383 rm -rf conftest* | 5397 rm -rf conftest* |
5384 eval "ac_cv_func_shmat=yes" | 5398 eval "ac_cv_func_shmat=yes" |
5385 else | 5399 else |
5386 echo "configure: failed program was:" >&5 | 5400 echo "configure: failed program was:" >&5 |
5387 cat conftest.$ac_ext >&5 | 5401 cat conftest.$ac_ext >&5 |
5398 fi | 5412 fi |
5399 | 5413 |
5400 if test $ac_cv_func_shmat = no; then | 5414 if test $ac_cv_func_shmat = no; then |
5401 | 5415 |
5402 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5416 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5403 echo "configure:5404: checking for shmat in -lipc" >&5 | 5417 echo "configure:5418: checking for shmat in -lipc" >&5 |
5404 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5418 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5405 | 5419 |
5406 xe_check_libs=" -lipc " | 5420 xe_check_libs=" -lipc " |
5407 cat > conftest.$ac_ext <<EOF | 5421 cat > conftest.$ac_ext <<EOF |
5408 #line 5409 "configure" | 5422 #line 5423 "configure" |
5409 #include "confdefs.h" | 5423 #include "confdefs.h" |
5410 /* Override any gcc2 internal prototype to avoid an error. */ | 5424 /* Override any gcc2 internal prototype to avoid an error. */ |
5411 /* We use char because int might match the return type of a gcc2 | 5425 /* We use char because int might match the return type of a gcc2 |
5412 builtin and then its argument prototype would still apply. */ | 5426 builtin and then its argument prototype would still apply. */ |
5413 char shmat(); | 5427 char shmat(); |
5414 | 5428 |
5415 int main() { | 5429 int main() { |
5416 shmat() | 5430 shmat() |
5417 ; return 0; } | 5431 ; return 0; } |
5418 EOF | 5432 EOF |
5419 if { (eval echo configure:5420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5433 if { (eval echo configure:5434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5420 rm -rf conftest* | 5434 rm -rf conftest* |
5421 eval "ac_cv_lib_$ac_lib_var=yes" | 5435 eval "ac_cv_lib_$ac_lib_var=yes" |
5422 else | 5436 else |
5423 echo "configure: failed program was:" >&5 | 5437 echo "configure: failed program was:" >&5 |
5424 cat conftest.$ac_ext >&5 | 5438 cat conftest.$ac_ext >&5 |
5450 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5464 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5451 | 5465 |
5452 xe_msg_checking="for IceConnectionNumber in -lICE" | 5466 xe_msg_checking="for IceConnectionNumber in -lICE" |
5453 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5467 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5454 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5468 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5455 echo "configure:5456: checking "$xe_msg_checking"" >&5 | 5469 echo "configure:5470: checking "$xe_msg_checking"" >&5 |
5456 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5470 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5457 | 5471 |
5458 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5472 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
5459 cat > conftest.$ac_ext <<EOF | 5473 cat > conftest.$ac_ext <<EOF |
5460 #line 5461 "configure" | 5474 #line 5475 "configure" |
5461 #include "confdefs.h" | 5475 #include "confdefs.h" |
5462 /* Override any gcc2 internal prototype to avoid an error. */ | 5476 /* Override any gcc2 internal prototype to avoid an error. */ |
5463 /* We use char because int might match the return type of a gcc2 | 5477 /* We use char because int might match the return type of a gcc2 |
5464 builtin and then its argument prototype would still apply. */ | 5478 builtin and then its argument prototype would still apply. */ |
5465 char IceConnectionNumber(); | 5479 char IceConnectionNumber(); |
5466 | 5480 |
5467 int main() { | 5481 int main() { |
5468 IceConnectionNumber() | 5482 IceConnectionNumber() |
5469 ; return 0; } | 5483 ; return 0; } |
5470 EOF | 5484 EOF |
5471 if { (eval echo configure:5472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5485 if { (eval echo configure:5486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5472 rm -rf conftest* | 5486 rm -rf conftest* |
5473 eval "ac_cv_lib_$ac_lib_var=yes" | 5487 eval "ac_cv_lib_$ac_lib_var=yes" |
5474 else | 5488 else |
5475 echo "configure: failed program was:" >&5 | 5489 echo "configure: failed program was:" >&5 |
5476 cat conftest.$ac_ext >&5 | 5490 cat conftest.$ac_ext >&5 |
5635 EOF | 5649 EOF |
5636 } | 5650 } |
5637 | 5651 |
5638 | 5652 |
5639 echo "checking for X defines extracted by xmkmf" 1>&6 | 5653 echo "checking for X defines extracted by xmkmf" 1>&6 |
5640 echo "configure:5641: checking for X defines extracted by xmkmf" >&5 | 5654 echo "configure:5655: checking for X defines extracted by xmkmf" >&5 |
5641 rm -fr conftestdir | 5655 rm -fr conftestdir |
5642 if mkdir conftestdir; then | 5656 if mkdir conftestdir; then |
5643 cd conftestdir | 5657 cd conftestdir |
5644 cat > Imakefile <<'EOF' | 5658 cat > Imakefile <<'EOF' |
5645 xetest: | 5659 xetest: |
5667 done | 5681 done |
5668 fi | 5682 fi |
5669 | 5683 |
5670 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5684 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5671 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5685 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5672 echo "configure:5673: checking for X11/Intrinsic.h" >&5 | 5686 echo "configure:5687: checking for X11/Intrinsic.h" >&5 |
5673 | 5687 |
5674 cat > conftest.$ac_ext <<EOF | 5688 cat > conftest.$ac_ext <<EOF |
5675 #line 5676 "configure" | 5689 #line 5690 "configure" |
5676 #include "confdefs.h" | 5690 #include "confdefs.h" |
5677 #include <X11/Intrinsic.h> | 5691 #include <X11/Intrinsic.h> |
5678 EOF | 5692 EOF |
5679 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5693 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5680 { (eval echo configure:5681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5694 { (eval echo configure:5695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5695 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5682 if test -z "$ac_err"; then | 5696 if test -z "$ac_err"; then |
5683 rm -rf conftest* | 5697 rm -rf conftest* |
5684 eval "ac_cv_header_$ac_safe=yes" | 5698 eval "ac_cv_header_$ac_safe=yes" |
5685 else | 5699 else |
5699 fi | 5713 fi |
5700 | 5714 |
5701 | 5715 |
5702 | 5716 |
5703 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5717 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5704 echo "configure:5705: checking for XOpenDisplay in -lX11" >&5 | 5718 echo "configure:5719: checking for XOpenDisplay in -lX11" >&5 |
5705 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5719 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5706 | 5720 |
5707 xe_check_libs=" -lX11 " | 5721 xe_check_libs=" -lX11 " |
5708 cat > conftest.$ac_ext <<EOF | 5722 cat > conftest.$ac_ext <<EOF |
5709 #line 5710 "configure" | 5723 #line 5724 "configure" |
5710 #include "confdefs.h" | 5724 #include "confdefs.h" |
5711 /* Override any gcc2 internal prototype to avoid an error. */ | 5725 /* Override any gcc2 internal prototype to avoid an error. */ |
5712 /* We use char because int might match the return type of a gcc2 | 5726 /* We use char because int might match the return type of a gcc2 |
5713 builtin and then its argument prototype would still apply. */ | 5727 builtin and then its argument prototype would still apply. */ |
5714 char XOpenDisplay(); | 5728 char XOpenDisplay(); |
5715 | 5729 |
5716 int main() { | 5730 int main() { |
5717 XOpenDisplay() | 5731 XOpenDisplay() |
5718 ; return 0; } | 5732 ; return 0; } |
5719 EOF | 5733 EOF |
5720 if { (eval echo configure:5721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5734 if { (eval echo configure:5735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5721 rm -rf conftest* | 5735 rm -rf conftest* |
5722 eval "ac_cv_lib_$ac_lib_var=yes" | 5736 eval "ac_cv_lib_$ac_lib_var=yes" |
5723 else | 5737 else |
5724 echo "configure: failed program was:" >&5 | 5738 echo "configure: failed program was:" >&5 |
5725 cat conftest.$ac_ext >&5 | 5739 cat conftest.$ac_ext >&5 |
5740 if test "$have_lib_x11" != "yes"; then | 5754 if test "$have_lib_x11" != "yes"; then |
5741 | 5755 |
5742 xe_msg_checking="for XGetFontProperty in -lX11" | 5756 xe_msg_checking="for XGetFontProperty in -lX11" |
5743 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5757 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5744 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5758 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5745 echo "configure:5746: checking "$xe_msg_checking"" >&5 | 5759 echo "configure:5760: checking "$xe_msg_checking"" >&5 |
5746 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5760 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5747 | 5761 |
5748 xe_check_libs=" -lX11 -b i486-linuxaout" | 5762 xe_check_libs=" -lX11 -b i486-linuxaout" |
5749 cat > conftest.$ac_ext <<EOF | 5763 cat > conftest.$ac_ext <<EOF |
5750 #line 5751 "configure" | 5764 #line 5765 "configure" |
5751 #include "confdefs.h" | 5765 #include "confdefs.h" |
5752 /* Override any gcc2 internal prototype to avoid an error. */ | 5766 /* Override any gcc2 internal prototype to avoid an error. */ |
5753 /* We use char because int might match the return type of a gcc2 | 5767 /* We use char because int might match the return type of a gcc2 |
5754 builtin and then its argument prototype would still apply. */ | 5768 builtin and then its argument prototype would still apply. */ |
5755 char XGetFontProperty(); | 5769 char XGetFontProperty(); |
5756 | 5770 |
5757 int main() { | 5771 int main() { |
5758 XGetFontProperty() | 5772 XGetFontProperty() |
5759 ; return 0; } | 5773 ; return 0; } |
5760 EOF | 5774 EOF |
5761 if { (eval echo configure:5762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5775 if { (eval echo configure:5776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5762 rm -rf conftest* | 5776 rm -rf conftest* |
5763 eval "ac_cv_lib_$ac_lib_var=yes" | 5777 eval "ac_cv_lib_$ac_lib_var=yes" |
5764 else | 5778 else |
5765 echo "configure: failed program was:" >&5 | 5779 echo "configure: failed program was:" >&5 |
5766 cat conftest.$ac_ext >&5 | 5780 cat conftest.$ac_ext >&5 |
5783 libs_x="-lX11" | 5797 libs_x="-lX11" |
5784 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5798 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5785 | 5799 |
5786 | 5800 |
5787 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5801 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5788 echo "configure:5789: checking for XShapeSelectInput in -lXext" >&5 | 5802 echo "configure:5803: checking for XShapeSelectInput in -lXext" >&5 |
5789 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5803 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5790 | 5804 |
5791 xe_check_libs=" -lXext " | 5805 xe_check_libs=" -lXext " |
5792 cat > conftest.$ac_ext <<EOF | 5806 cat > conftest.$ac_ext <<EOF |
5793 #line 5794 "configure" | 5807 #line 5808 "configure" |
5794 #include "confdefs.h" | 5808 #include "confdefs.h" |
5795 /* Override any gcc2 internal prototype to avoid an error. */ | 5809 /* Override any gcc2 internal prototype to avoid an error. */ |
5796 /* We use char because int might match the return type of a gcc2 | 5810 /* We use char because int might match the return type of a gcc2 |
5797 builtin and then its argument prototype would still apply. */ | 5811 builtin and then its argument prototype would still apply. */ |
5798 char XShapeSelectInput(); | 5812 char XShapeSelectInput(); |
5799 | 5813 |
5800 int main() { | 5814 int main() { |
5801 XShapeSelectInput() | 5815 XShapeSelectInput() |
5802 ; return 0; } | 5816 ; return 0; } |
5803 EOF | 5817 EOF |
5804 if { (eval echo configure:5805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5818 if { (eval echo configure:5819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5805 rm -rf conftest* | 5819 rm -rf conftest* |
5806 eval "ac_cv_lib_$ac_lib_var=yes" | 5820 eval "ac_cv_lib_$ac_lib_var=yes" |
5807 else | 5821 else |
5808 echo "configure: failed program was:" >&5 | 5822 echo "configure: failed program was:" >&5 |
5809 cat conftest.$ac_ext >&5 | 5823 cat conftest.$ac_ext >&5 |
5822 | 5836 |
5823 | 5837 |
5824 | 5838 |
5825 | 5839 |
5826 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5840 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5827 echo "configure:5828: checking for XtOpenDisplay in -lXt" >&5 | 5841 echo "configure:5842: checking for XtOpenDisplay in -lXt" >&5 |
5828 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5842 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5829 | 5843 |
5830 xe_check_libs=" -lXt " | 5844 xe_check_libs=" -lXt " |
5831 cat > conftest.$ac_ext <<EOF | 5845 cat > conftest.$ac_ext <<EOF |
5832 #line 5833 "configure" | 5846 #line 5847 "configure" |
5833 #include "confdefs.h" | 5847 #include "confdefs.h" |
5834 /* Override any gcc2 internal prototype to avoid an error. */ | 5848 /* Override any gcc2 internal prototype to avoid an error. */ |
5835 /* We use char because int might match the return type of a gcc2 | 5849 /* We use char because int might match the return type of a gcc2 |
5836 builtin and then its argument prototype would still apply. */ | 5850 builtin and then its argument prototype would still apply. */ |
5837 char XtOpenDisplay(); | 5851 char XtOpenDisplay(); |
5838 | 5852 |
5839 int main() { | 5853 int main() { |
5840 XtOpenDisplay() | 5854 XtOpenDisplay() |
5841 ; return 0; } | 5855 ; return 0; } |
5842 EOF | 5856 EOF |
5843 if { (eval echo configure:5844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5857 if { (eval echo configure:5858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5844 rm -rf conftest* | 5858 rm -rf conftest* |
5845 eval "ac_cv_lib_$ac_lib_var=yes" | 5859 eval "ac_cv_lib_$ac_lib_var=yes" |
5846 else | 5860 else |
5847 echo "configure: failed program was:" >&5 | 5861 echo "configure: failed program was:" >&5 |
5848 cat conftest.$ac_ext >&5 | 5862 cat conftest.$ac_ext >&5 |
5861 fi | 5875 fi |
5862 | 5876 |
5863 | 5877 |
5864 | 5878 |
5865 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 5879 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
5866 echo "configure:5867: checking the version of X11 being used" >&5 | 5880 echo "configure:5881: checking the version of X11 being used" >&5 |
5867 cat > conftest.$ac_ext <<EOF | 5881 cat > conftest.$ac_ext <<EOF |
5868 #line 5869 "configure" | 5882 #line 5883 "configure" |
5869 #include "confdefs.h" | 5883 #include "confdefs.h" |
5870 #include <X11/Intrinsic.h> | 5884 #include <X11/Intrinsic.h> |
5871 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 5885 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
5872 EOF | 5886 EOF |
5873 if { (eval echo configure:5874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 5887 if { (eval echo configure:5888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
5874 then | 5888 then |
5875 ./conftest foobar; x11_release=$? | 5889 ./conftest foobar; x11_release=$? |
5876 else | 5890 else |
5877 conftest_rc="$?" | 5891 conftest_rc="$?" |
5878 echo "configure: failed program was:" >&5 | 5892 echo "configure: failed program was:" >&5 |
5893 | 5907 |
5894 for ac_hdr in X11/Xlocale.h | 5908 for ac_hdr in X11/Xlocale.h |
5895 do | 5909 do |
5896 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5910 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5897 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5911 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5898 echo "configure:5899: checking for $ac_hdr" >&5 | 5912 echo "configure:5913: checking for $ac_hdr" >&5 |
5899 | 5913 |
5900 cat > conftest.$ac_ext <<EOF | 5914 cat > conftest.$ac_ext <<EOF |
5901 #line 5902 "configure" | 5915 #line 5916 "configure" |
5902 #include "confdefs.h" | 5916 #include "confdefs.h" |
5903 #include <$ac_hdr> | 5917 #include <$ac_hdr> |
5904 EOF | 5918 EOF |
5905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5906 { (eval echo configure:5907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5920 { (eval echo configure:5921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5921 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5908 if test -z "$ac_err"; then | 5922 if test -z "$ac_err"; then |
5909 rm -rf conftest* | 5923 rm -rf conftest* |
5910 eval "ac_cv_header_$ac_safe=yes" | 5924 eval "ac_cv_header_$ac_safe=yes" |
5911 else | 5925 else |
5932 fi | 5946 fi |
5933 done | 5947 done |
5934 | 5948 |
5935 | 5949 |
5936 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 5950 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
5937 echo "configure:5938: checking for XFree86" >&5 | 5951 echo "configure:5952: checking for XFree86" >&5 |
5938 if test -d "/usr/X386/include" -o \ | 5952 if test -d "/usr/X386/include" -o \ |
5939 -f "/etc/XF86Config" -o \ | 5953 -f "/etc/XF86Config" -o \ |
5940 -f "/etc/X11/XF86Config" -o \ | 5954 -f "/etc/X11/XF86Config" -o \ |
5941 -f "/usr/X11R6/lib/X11/XF86Config"; then | 5955 -f "/usr/X11R6/lib/X11/XF86Config"; then |
5942 echo "$ac_t""yes" 1>&6 | 5956 echo "$ac_t""yes" 1>&6 |
5952 echo "$ac_t""no" 1>&6 | 5966 echo "$ac_t""no" 1>&6 |
5953 fi | 5967 fi |
5954 | 5968 |
5955 test -z "$with_xmu" && { | 5969 test -z "$with_xmu" && { |
5956 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 5970 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
5957 echo "configure:5958: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 5971 echo "configure:5972: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
5958 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 5972 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
5959 | 5973 |
5960 xe_check_libs=" -lXmu " | 5974 xe_check_libs=" -lXmu " |
5961 cat > conftest.$ac_ext <<EOF | 5975 cat > conftest.$ac_ext <<EOF |
5962 #line 5963 "configure" | 5976 #line 5977 "configure" |
5963 #include "confdefs.h" | 5977 #include "confdefs.h" |
5964 /* Override any gcc2 internal prototype to avoid an error. */ | 5978 /* Override any gcc2 internal prototype to avoid an error. */ |
5965 /* We use char because int might match the return type of a gcc2 | 5979 /* We use char because int might match the return type of a gcc2 |
5966 builtin and then its argument prototype would still apply. */ | 5980 builtin and then its argument prototype would still apply. */ |
5967 char XmuReadBitmapDataFromFile(); | 5981 char XmuReadBitmapDataFromFile(); |
5968 | 5982 |
5969 int main() { | 5983 int main() { |
5970 XmuReadBitmapDataFromFile() | 5984 XmuReadBitmapDataFromFile() |
5971 ; return 0; } | 5985 ; return 0; } |
5972 EOF | 5986 EOF |
5973 if { (eval echo configure:5974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5987 if { (eval echo configure:5988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5974 rm -rf conftest* | 5988 rm -rf conftest* |
5975 eval "ac_cv_lib_$ac_lib_var=yes" | 5989 eval "ac_cv_lib_$ac_lib_var=yes" |
5976 else | 5990 else |
5977 echo "configure: failed program was:" >&5 | 5991 echo "configure: failed program was:" >&5 |
5978 cat conftest.$ac_ext >&5 | 5992 cat conftest.$ac_ext >&5 |
6007 | 6021 |
6008 fi | 6022 fi |
6009 | 6023 |
6010 | 6024 |
6011 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6025 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6012 echo "configure:6013: checking for main in -lXbsd" >&5 | 6026 echo "configure:6027: checking for main in -lXbsd" >&5 |
6013 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6027 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
6014 | 6028 |
6015 xe_check_libs=" -lXbsd " | 6029 xe_check_libs=" -lXbsd " |
6016 cat > conftest.$ac_ext <<EOF | 6030 cat > conftest.$ac_ext <<EOF |
6017 #line 6018 "configure" | 6031 #line 6032 "configure" |
6018 #include "confdefs.h" | 6032 #include "confdefs.h" |
6019 | 6033 |
6020 int main() { | 6034 int main() { |
6021 main() | 6035 main() |
6022 ; return 0; } | 6036 ; return 0; } |
6023 EOF | 6037 EOF |
6024 if { (eval echo configure:6025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6038 if { (eval echo configure:6039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6025 rm -rf conftest* | 6039 rm -rf conftest* |
6026 eval "ac_cv_lib_$ac_lib_var=yes" | 6040 eval "ac_cv_lib_$ac_lib_var=yes" |
6027 else | 6041 else |
6028 echo "configure: failed program was:" >&5 | 6042 echo "configure: failed program was:" >&5 |
6029 cat conftest.$ac_ext >&5 | 6043 cat conftest.$ac_ext >&5 |
6056 fi | 6070 fi |
6057 | 6071 |
6058 fi | 6072 fi |
6059 if test "$with_msw" != "no"; then | 6073 if test "$with_msw" != "no"; then |
6060 echo "checking for MS-Windows" 1>&6 | 6074 echo "checking for MS-Windows" 1>&6 |
6061 echo "configure:6062: checking for MS-Windows" >&5 | 6075 echo "configure:6076: checking for MS-Windows" >&5 |
6062 | 6076 |
6063 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6077 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6064 echo "configure:6065: checking for main in -lgdi32" >&5 | 6078 echo "configure:6079: checking for main in -lgdi32" >&5 |
6065 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6079 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6066 | 6080 |
6067 xe_check_libs=" -lgdi32 " | 6081 xe_check_libs=" -lgdi32 " |
6068 cat > conftest.$ac_ext <<EOF | 6082 cat > conftest.$ac_ext <<EOF |
6069 #line 6070 "configure" | 6083 #line 6084 "configure" |
6070 #include "confdefs.h" | 6084 #include "confdefs.h" |
6071 | 6085 |
6072 int main() { | 6086 int main() { |
6073 main() | 6087 main() |
6074 ; return 0; } | 6088 ; return 0; } |
6075 EOF | 6089 EOF |
6076 if { (eval echo configure:6077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6090 if { (eval echo configure:6091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6077 rm -rf conftest* | 6091 rm -rf conftest* |
6078 eval "ac_cv_lib_$ac_lib_var=yes" | 6092 eval "ac_cv_lib_$ac_lib_var=yes" |
6079 else | 6093 else |
6080 echo "configure: failed program was:" >&5 | 6094 echo "configure: failed program was:" >&5 |
6081 cat conftest.$ac_ext >&5 | 6095 cat conftest.$ac_ext >&5 |
6137 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6151 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
6138 echo " xemacs will be linked with \"dialog-msw.o\"" | 6152 echo " xemacs will be linked with \"dialog-msw.o\"" |
6139 fi | 6153 fi |
6140 fi | 6154 fi |
6141 cat > conftest.$ac_ext <<EOF | 6155 cat > conftest.$ac_ext <<EOF |
6142 #line 6143 "configure" | 6156 #line 6157 "configure" |
6143 #include "confdefs.h" | 6157 #include "confdefs.h" |
6144 #include <fcntl.h> | 6158 #include <fcntl.h> |
6145 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6159 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
6146 EOF | 6160 EOF |
6147 if { (eval echo configure:6148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6161 if { (eval echo configure:6162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6148 then | 6162 then |
6149 { test "$extra_verbose" = "yes" && cat << \EOF | 6163 { test "$extra_verbose" = "yes" && cat << \EOF |
6150 Defining HAVE_MSG_SELECT | 6164 Defining HAVE_MSG_SELECT |
6151 EOF | 6165 EOF |
6152 cat >> confdefs.h <<\EOF | 6166 cat >> confdefs.h <<\EOF |
6195 else | 6209 else |
6196 : | 6210 : |
6197 fi | 6211 fi |
6198 | 6212 |
6199 if test "$with_x11" != "yes"; then | 6213 if test "$with_x11" != "yes"; then |
6200 for feature in tooltalk cde offix wmcommand xim xmu xpm nas_sound | 6214 for feature in tooltalk cde offix wmcommand xim xmu nas_sound |
6201 do | 6215 do |
6202 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 6216 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
6203 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 | 6217 echo "configure: warning: --with-$feature ignored: Not valid without X support" 1>&2 |
6204 fi | 6218 fi |
6205 eval "with_${feature}=no" | 6219 eval "with_${feature}=no" |
6218 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6232 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
6219 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6233 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
6220 esac | 6234 esac |
6221 | 6235 |
6222 echo "checking for WM_COMMAND option" 1>&6 | 6236 echo "checking for WM_COMMAND option" 1>&6 |
6223 echo "configure:6224: checking for WM_COMMAND option" >&5; | 6237 echo "configure:6238: checking for WM_COMMAND option" >&5; |
6224 if test "$with_wmcommand" != "no"; then | 6238 if test "$with_wmcommand" != "no"; then |
6225 { test "$extra_verbose" = "yes" && cat << \EOF | 6239 { test "$extra_verbose" = "yes" && cat << \EOF |
6226 Defining HAVE_WMCOMMAND | 6240 Defining HAVE_WMCOMMAND |
6227 EOF | 6241 EOF |
6228 cat >> confdefs.h <<\EOF | 6242 cat >> confdefs.h <<\EOF |
6233 fi | 6247 fi |
6234 | 6248 |
6235 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6249 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6236 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6250 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6237 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6251 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6238 echo "configure:6239: checking for X11/Xauth.h" >&5 | 6252 echo "configure:6253: checking for X11/Xauth.h" >&5 |
6239 | 6253 |
6240 cat > conftest.$ac_ext <<EOF | 6254 cat > conftest.$ac_ext <<EOF |
6241 #line 6242 "configure" | 6255 #line 6256 "configure" |
6242 #include "confdefs.h" | 6256 #include "confdefs.h" |
6243 #include <X11/Xauth.h> | 6257 #include <X11/Xauth.h> |
6244 EOF | 6258 EOF |
6245 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6259 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6246 { (eval echo configure:6247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6260 { (eval echo configure:6261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6247 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6261 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6248 if test -z "$ac_err"; then | 6262 if test -z "$ac_err"; then |
6249 rm -rf conftest* | 6263 rm -rf conftest* |
6250 eval "ac_cv_header_$ac_safe=yes" | 6264 eval "ac_cv_header_$ac_safe=yes" |
6251 else | 6265 else |
6264 with_xauth=no | 6278 with_xauth=no |
6265 fi | 6279 fi |
6266 } | 6280 } |
6267 test -z "$with_xauth" && { | 6281 test -z "$with_xauth" && { |
6268 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6282 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6269 echo "configure:6270: checking for XauGetAuthByAddr in -lXau" >&5 | 6283 echo "configure:6284: checking for XauGetAuthByAddr in -lXau" >&5 |
6270 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6284 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6271 | 6285 |
6272 xe_check_libs=" -lXau " | 6286 xe_check_libs=" -lXau " |
6273 cat > conftest.$ac_ext <<EOF | 6287 cat > conftest.$ac_ext <<EOF |
6274 #line 6275 "configure" | 6288 #line 6289 "configure" |
6275 #include "confdefs.h" | 6289 #include "confdefs.h" |
6276 /* Override any gcc2 internal prototype to avoid an error. */ | 6290 /* Override any gcc2 internal prototype to avoid an error. */ |
6277 /* We use char because int might match the return type of a gcc2 | 6291 /* We use char because int might match the return type of a gcc2 |
6278 builtin and then its argument prototype would still apply. */ | 6292 builtin and then its argument prototype would still apply. */ |
6279 char XauGetAuthByAddr(); | 6293 char XauGetAuthByAddr(); |
6280 | 6294 |
6281 int main() { | 6295 int main() { |
6282 XauGetAuthByAddr() | 6296 XauGetAuthByAddr() |
6283 ; return 0; } | 6297 ; return 0; } |
6284 EOF | 6298 EOF |
6285 if { (eval echo configure:6286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6299 if { (eval echo configure:6300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6286 rm -rf conftest* | 6300 rm -rf conftest* |
6287 eval "ac_cv_lib_$ac_lib_var=yes" | 6301 eval "ac_cv_lib_$ac_lib_var=yes" |
6288 else | 6302 else |
6289 echo "configure: failed program was:" >&5 | 6303 echo "configure: failed program was:" >&5 |
6290 cat conftest.$ac_ext >&5 | 6304 cat conftest.$ac_ext >&5 |
6325 | 6339 |
6326 if test "$with_tooltalk" != "no" ; then | 6340 if test "$with_tooltalk" != "no" ; then |
6327 for dir in "" "Tt/" "desktop/" ; do | 6341 for dir in "" "Tt/" "desktop/" ; do |
6328 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6342 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6329 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6343 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6330 echo "configure:6331: checking for ${dir}tt_c.h" >&5 | 6344 echo "configure:6345: checking for ${dir}tt_c.h" >&5 |
6331 | 6345 |
6332 cat > conftest.$ac_ext <<EOF | 6346 cat > conftest.$ac_ext <<EOF |
6333 #line 6334 "configure" | 6347 #line 6348 "configure" |
6334 #include "confdefs.h" | 6348 #include "confdefs.h" |
6335 #include <${dir}tt_c.h> | 6349 #include <${dir}tt_c.h> |
6336 EOF | 6350 EOF |
6337 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6338 { (eval echo configure:6339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6352 { (eval echo configure:6353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6339 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6340 if test -z "$ac_err"; then | 6354 if test -z "$ac_err"; then |
6341 rm -rf conftest* | 6355 rm -rf conftest* |
6342 eval "ac_cv_header_$ac_safe=yes" | 6356 eval "ac_cv_header_$ac_safe=yes" |
6343 else | 6357 else |
6369 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6383 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6370 | 6384 |
6371 xe_msg_checking="for tt_message_create in -ltt" | 6385 xe_msg_checking="for tt_message_create in -ltt" |
6372 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6386 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6373 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6387 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6374 echo "configure:6375: checking "$xe_msg_checking"" >&5 | 6388 echo "configure:6389: checking "$xe_msg_checking"" >&5 |
6375 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6389 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6376 | 6390 |
6377 xe_check_libs=" -ltt $extra_libs" | 6391 xe_check_libs=" -ltt $extra_libs" |
6378 cat > conftest.$ac_ext <<EOF | 6392 cat > conftest.$ac_ext <<EOF |
6379 #line 6380 "configure" | 6393 #line 6394 "configure" |
6380 #include "confdefs.h" | 6394 #include "confdefs.h" |
6381 /* Override any gcc2 internal prototype to avoid an error. */ | 6395 /* Override any gcc2 internal prototype to avoid an error. */ |
6382 /* We use char because int might match the return type of a gcc2 | 6396 /* We use char because int might match the return type of a gcc2 |
6383 builtin and then its argument prototype would still apply. */ | 6397 builtin and then its argument prototype would still apply. */ |
6384 char tt_message_create(); | 6398 char tt_message_create(); |
6385 | 6399 |
6386 int main() { | 6400 int main() { |
6387 tt_message_create() | 6401 tt_message_create() |
6388 ; return 0; } | 6402 ; return 0; } |
6389 EOF | 6403 EOF |
6390 if { (eval echo configure:6391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6404 if { (eval echo configure:6405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6391 rm -rf conftest* | 6405 rm -rf conftest* |
6392 eval "ac_cv_lib_$ac_lib_var=yes" | 6406 eval "ac_cv_lib_$ac_lib_var=yes" |
6393 else | 6407 else |
6394 echo "configure: failed program was:" >&5 | 6408 echo "configure: failed program was:" >&5 |
6395 cat conftest.$ac_ext >&5 | 6409 cat conftest.$ac_ext >&5 |
6442 fi | 6456 fi |
6443 fi | 6457 fi |
6444 | 6458 |
6445 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6459 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6446 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6460 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6447 echo "configure:6448: checking for Dt/Dt.h" >&5 | 6461 echo "configure:6462: checking for Dt/Dt.h" >&5 |
6448 | 6462 |
6449 cat > conftest.$ac_ext <<EOF | 6463 cat > conftest.$ac_ext <<EOF |
6450 #line 6451 "configure" | 6464 #line 6465 "configure" |
6451 #include "confdefs.h" | 6465 #include "confdefs.h" |
6452 #include <Dt/Dt.h> | 6466 #include <Dt/Dt.h> |
6453 EOF | 6467 EOF |
6454 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6468 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6455 { (eval echo configure:6456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6469 { (eval echo configure:6470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6456 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6470 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6457 if test -z "$ac_err"; then | 6471 if test -z "$ac_err"; then |
6458 rm -rf conftest* | 6472 rm -rf conftest* |
6459 eval "ac_cv_header_$ac_safe=yes" | 6473 eval "ac_cv_header_$ac_safe=yes" |
6460 else | 6474 else |
6473 with_cde=no | 6487 with_cde=no |
6474 fi | 6488 fi |
6475 } | 6489 } |
6476 test -z "$with_cde" && { | 6490 test -z "$with_cde" && { |
6477 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6491 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6478 echo "configure:6479: checking for DtDndDragStart in -lDtSvc" >&5 | 6492 echo "configure:6493: checking for DtDndDragStart in -lDtSvc" >&5 |
6479 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6493 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6480 | 6494 |
6481 xe_check_libs=" -lDtSvc " | 6495 xe_check_libs=" -lDtSvc " |
6482 cat > conftest.$ac_ext <<EOF | 6496 cat > conftest.$ac_ext <<EOF |
6483 #line 6484 "configure" | 6497 #line 6498 "configure" |
6484 #include "confdefs.h" | 6498 #include "confdefs.h" |
6485 /* Override any gcc2 internal prototype to avoid an error. */ | 6499 /* Override any gcc2 internal prototype to avoid an error. */ |
6486 /* We use char because int might match the return type of a gcc2 | 6500 /* We use char because int might match the return type of a gcc2 |
6487 builtin and then its argument prototype would still apply. */ | 6501 builtin and then its argument prototype would still apply. */ |
6488 char DtDndDragStart(); | 6502 char DtDndDragStart(); |
6489 | 6503 |
6490 int main() { | 6504 int main() { |
6491 DtDndDragStart() | 6505 DtDndDragStart() |
6492 ; return 0; } | 6506 ; return 0; } |
6493 EOF | 6507 EOF |
6494 if { (eval echo configure:6495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6508 if { (eval echo configure:6509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6495 rm -rf conftest* | 6509 rm -rf conftest* |
6496 eval "ac_cv_lib_$ac_lib_var=yes" | 6510 eval "ac_cv_lib_$ac_lib_var=yes" |
6497 else | 6511 else |
6498 echo "configure: failed program was:" >&5 | 6512 echo "configure: failed program was:" >&5 |
6499 cat conftest.$ac_ext >&5 | 6513 cat conftest.$ac_ext >&5 |
6558 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6572 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6559 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6573 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6560 fi | 6574 fi |
6561 | 6575 |
6562 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6576 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6563 echo "configure:6564: checking if drag and drop API is needed" >&5 | 6577 echo "configure:6578: checking if drag and drop API is needed" >&5 |
6564 if test "$with_dragndrop" != "no" ; then | 6578 if test "$with_dragndrop" != "no" ; then |
6565 if test -n "$dragndrop_proto" ; then | 6579 if test -n "$dragndrop_proto" ; then |
6566 with_dragndrop=yes | 6580 with_dragndrop=yes |
6567 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6581 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6568 { test "$extra_verbose" = "yes" && cat << \EOF | 6582 { test "$extra_verbose" = "yes" && cat << \EOF |
6579 echo "$ac_t""no" 1>&6 | 6593 echo "$ac_t""no" 1>&6 |
6580 fi | 6594 fi |
6581 fi | 6595 fi |
6582 | 6596 |
6583 echo "checking for LDAP" 1>&6 | 6597 echo "checking for LDAP" 1>&6 |
6584 echo "configure:6585: checking for LDAP" >&5 | 6598 echo "configure:6599: checking for LDAP" >&5 |
6585 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6599 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6586 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6600 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6587 echo "configure:6588: checking for ldap.h" >&5 | 6601 echo "configure:6602: checking for ldap.h" >&5 |
6588 | 6602 |
6589 cat > conftest.$ac_ext <<EOF | 6603 cat > conftest.$ac_ext <<EOF |
6590 #line 6591 "configure" | 6604 #line 6605 "configure" |
6591 #include "confdefs.h" | 6605 #include "confdefs.h" |
6592 #include <ldap.h> | 6606 #include <ldap.h> |
6593 EOF | 6607 EOF |
6594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6595 { (eval echo configure:6596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6609 { (eval echo configure:6610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6597 if test -z "$ac_err"; then | 6611 if test -z "$ac_err"; then |
6598 rm -rf conftest* | 6612 rm -rf conftest* |
6599 eval "ac_cv_header_$ac_safe=yes" | 6613 eval "ac_cv_header_$ac_safe=yes" |
6600 else | 6614 else |
6613 with_ldap=no | 6627 with_ldap=no |
6614 fi | 6628 fi |
6615 } | 6629 } |
6616 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6630 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6617 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6631 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6618 echo "configure:6619: checking for lber.h" >&5 | 6632 echo "configure:6633: checking for lber.h" >&5 |
6619 | 6633 |
6620 cat > conftest.$ac_ext <<EOF | 6634 cat > conftest.$ac_ext <<EOF |
6621 #line 6622 "configure" | 6635 #line 6636 "configure" |
6622 #include "confdefs.h" | 6636 #include "confdefs.h" |
6623 #include <lber.h> | 6637 #include <lber.h> |
6624 EOF | 6638 EOF |
6625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6639 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6626 { (eval echo configure:6627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6640 { (eval echo configure:6641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6641 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6628 if test -z "$ac_err"; then | 6642 if test -z "$ac_err"; then |
6629 rm -rf conftest* | 6643 rm -rf conftest* |
6630 eval "ac_cv_header_$ac_safe=yes" | 6644 eval "ac_cv_header_$ac_safe=yes" |
6631 else | 6645 else |
6645 fi | 6659 fi |
6646 } | 6660 } |
6647 if test "$with_ldap" != "no"; then | 6661 if test "$with_ldap" != "no"; then |
6648 | 6662 |
6649 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 6663 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
6650 echo "configure:6651: checking for ldap_search in -lldap" >&5 | 6664 echo "configure:6665: checking for ldap_search in -lldap" >&5 |
6651 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 6665 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
6652 | 6666 |
6653 xe_check_libs=" -lldap " | 6667 xe_check_libs=" -lldap " |
6654 cat > conftest.$ac_ext <<EOF | 6668 cat > conftest.$ac_ext <<EOF |
6655 #line 6656 "configure" | 6669 #line 6670 "configure" |
6656 #include "confdefs.h" | 6670 #include "confdefs.h" |
6657 /* Override any gcc2 internal prototype to avoid an error. */ | 6671 /* Override any gcc2 internal prototype to avoid an error. */ |
6658 /* We use char because int might match the return type of a gcc2 | 6672 /* We use char because int might match the return type of a gcc2 |
6659 builtin and then its argument prototype would still apply. */ | 6673 builtin and then its argument prototype would still apply. */ |
6660 char ldap_search(); | 6674 char ldap_search(); |
6661 | 6675 |
6662 int main() { | 6676 int main() { |
6663 ldap_search() | 6677 ldap_search() |
6664 ; return 0; } | 6678 ; return 0; } |
6665 EOF | 6679 EOF |
6666 if { (eval echo configure:6667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6680 if { (eval echo configure:6681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6667 rm -rf conftest* | 6681 rm -rf conftest* |
6668 eval "ac_cv_lib_$ac_lib_var=yes" | 6682 eval "ac_cv_lib_$ac_lib_var=yes" |
6669 else | 6683 else |
6670 echo "configure: failed program was:" >&5 | 6684 echo "configure: failed program was:" >&5 |
6671 cat conftest.$ac_ext >&5 | 6685 cat conftest.$ac_ext >&5 |
6686 | 6700 |
6687 test "$with_ldap_nolber" = "no" && { | 6701 test "$with_ldap_nolber" = "no" && { |
6688 xe_msg_checking="for ldap_open in -lldap" | 6702 xe_msg_checking="for ldap_open in -lldap" |
6689 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6703 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6690 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6704 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6691 echo "configure:6692: checking "$xe_msg_checking"" >&5 | 6705 echo "configure:6706: checking "$xe_msg_checking"" >&5 |
6692 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6706 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6693 | 6707 |
6694 xe_check_libs=" -lldap -llber" | 6708 xe_check_libs=" -lldap -llber" |
6695 cat > conftest.$ac_ext <<EOF | 6709 cat > conftest.$ac_ext <<EOF |
6696 #line 6697 "configure" | 6710 #line 6711 "configure" |
6697 #include "confdefs.h" | 6711 #include "confdefs.h" |
6698 /* Override any gcc2 internal prototype to avoid an error. */ | 6712 /* Override any gcc2 internal prototype to avoid an error. */ |
6699 /* We use char because int might match the return type of a gcc2 | 6713 /* We use char because int might match the return type of a gcc2 |
6700 builtin and then its argument prototype would still apply. */ | 6714 builtin and then its argument prototype would still apply. */ |
6701 char ldap_open(); | 6715 char ldap_open(); |
6702 | 6716 |
6703 int main() { | 6717 int main() { |
6704 ldap_open() | 6718 ldap_open() |
6705 ; return 0; } | 6719 ; return 0; } |
6706 EOF | 6720 EOF |
6707 if { (eval echo configure:6708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6721 if { (eval echo configure:6722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6708 rm -rf conftest* | 6722 rm -rf conftest* |
6709 eval "ac_cv_lib_$ac_lib_var=yes" | 6723 eval "ac_cv_lib_$ac_lib_var=yes" |
6710 else | 6724 else |
6711 echo "configure: failed program was:" >&5 | 6725 echo "configure: failed program was:" >&5 |
6712 cat conftest.$ac_ext >&5 | 6726 cat conftest.$ac_ext >&5 |
6727 } | 6741 } |
6728 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 6742 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
6729 xe_msg_checking="for ldap_open in -lldap" | 6743 xe_msg_checking="for ldap_open in -lldap" |
6730 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 6744 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
6731 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6745 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6732 echo "configure:6733: checking "$xe_msg_checking"" >&5 | 6746 echo "configure:6747: checking "$xe_msg_checking"" >&5 |
6733 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6747 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6734 | 6748 |
6735 xe_check_libs=" -lldap -llber -lkrb" | 6749 xe_check_libs=" -lldap -llber -lkrb" |
6736 cat > conftest.$ac_ext <<EOF | 6750 cat > conftest.$ac_ext <<EOF |
6737 #line 6738 "configure" | 6751 #line 6752 "configure" |
6738 #include "confdefs.h" | 6752 #include "confdefs.h" |
6739 /* Override any gcc2 internal prototype to avoid an error. */ | 6753 /* Override any gcc2 internal prototype to avoid an error. */ |
6740 /* We use char because int might match the return type of a gcc2 | 6754 /* We use char because int might match the return type of a gcc2 |
6741 builtin and then its argument prototype would still apply. */ | 6755 builtin and then its argument prototype would still apply. */ |
6742 char ldap_open(); | 6756 char ldap_open(); |
6743 | 6757 |
6744 int main() { | 6758 int main() { |
6745 ldap_open() | 6759 ldap_open() |
6746 ; return 0; } | 6760 ; return 0; } |
6747 EOF | 6761 EOF |
6748 if { (eval echo configure:6749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6762 if { (eval echo configure:6763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6749 rm -rf conftest* | 6763 rm -rf conftest* |
6750 eval "ac_cv_lib_$ac_lib_var=yes" | 6764 eval "ac_cv_lib_$ac_lib_var=yes" |
6751 else | 6765 else |
6752 echo "configure: failed program was:" >&5 | 6766 echo "configure: failed program was:" >&5 |
6753 cat conftest.$ac_ext >&5 | 6767 cat conftest.$ac_ext >&5 |
6768 } | 6782 } |
6769 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 6783 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
6770 xe_msg_checking="for ldap_open in -lldap" | 6784 xe_msg_checking="for ldap_open in -lldap" |
6771 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 6785 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
6772 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6786 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6773 echo "configure:6774: checking "$xe_msg_checking"" >&5 | 6787 echo "configure:6788: checking "$xe_msg_checking"" >&5 |
6774 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6788 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6775 | 6789 |
6776 xe_check_libs=" -lldap -llber -lkrb -ldes" | 6790 xe_check_libs=" -lldap -llber -lkrb -ldes" |
6777 cat > conftest.$ac_ext <<EOF | 6791 cat > conftest.$ac_ext <<EOF |
6778 #line 6779 "configure" | 6792 #line 6793 "configure" |
6779 #include "confdefs.h" | 6793 #include "confdefs.h" |
6780 /* Override any gcc2 internal prototype to avoid an error. */ | 6794 /* Override any gcc2 internal prototype to avoid an error. */ |
6781 /* We use char because int might match the return type of a gcc2 | 6795 /* We use char because int might match the return type of a gcc2 |
6782 builtin and then its argument prototype would still apply. */ | 6796 builtin and then its argument prototype would still apply. */ |
6783 char ldap_open(); | 6797 char ldap_open(); |
6784 | 6798 |
6785 int main() { | 6799 int main() { |
6786 ldap_open() | 6800 ldap_open() |
6787 ; return 0; } | 6801 ; return 0; } |
6788 EOF | 6802 EOF |
6789 if { (eval echo configure:6790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6803 if { (eval echo configure:6804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6790 rm -rf conftest* | 6804 rm -rf conftest* |
6791 eval "ac_cv_lib_$ac_lib_var=yes" | 6805 eval "ac_cv_lib_$ac_lib_var=yes" |
6792 else | 6806 else |
6793 echo "configure: failed program was:" >&5 | 6807 echo "configure: failed program was:" >&5 |
6794 cat conftest.$ac_ext >&5 | 6808 cat conftest.$ac_ext >&5 |
6835 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 6849 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
6836 fi | 6850 fi |
6837 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 6851 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
6838 do | 6852 do |
6839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6840 echo "configure:6841: checking for $ac_func" >&5 | 6854 echo "configure:6855: checking for $ac_func" >&5 |
6841 | 6855 |
6842 cat > conftest.$ac_ext <<EOF | 6856 cat > conftest.$ac_ext <<EOF |
6843 #line 6844 "configure" | 6857 #line 6858 "configure" |
6844 #include "confdefs.h" | 6858 #include "confdefs.h" |
6845 /* System header to define __stub macros and hopefully few prototypes, | 6859 /* System header to define __stub macros and hopefully few prototypes, |
6846 which can conflict with char $ac_func(); below. */ | 6860 which can conflict with char $ac_func(); below. */ |
6847 #include <assert.h> | 6861 #include <assert.h> |
6848 /* Override any gcc2 internal prototype to avoid an error. */ | 6862 /* Override any gcc2 internal prototype to avoid an error. */ |
6861 $ac_func(); | 6875 $ac_func(); |
6862 #endif | 6876 #endif |
6863 | 6877 |
6864 ; return 0; } | 6878 ; return 0; } |
6865 EOF | 6879 EOF |
6866 if { (eval echo configure:6867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6880 if { (eval echo configure:6881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6867 rm -rf conftest* | 6881 rm -rf conftest* |
6868 eval "ac_cv_func_$ac_func=yes" | 6882 eval "ac_cv_func_$ac_func=yes" |
6869 else | 6883 else |
6870 echo "configure: failed program was:" >&5 | 6884 echo "configure: failed program was:" >&5 |
6871 cat conftest.$ac_ext >&5 | 6885 cat conftest.$ac_ext >&5 |
6893 fi | 6907 fi |
6894 | 6908 |
6895 | 6909 |
6896 if test "$window_system" != "none"; then | 6910 if test "$window_system" != "none"; then |
6897 echo "checking for graphics libraries" 1>&6 | 6911 echo "checking for graphics libraries" 1>&6 |
6898 echo "configure:6899: checking for graphics libraries" >&5 | 6912 echo "configure:6913: checking for graphics libraries" >&5 |
6899 | 6913 |
6900 xpm_problem="" | 6914 xpm_problem="" |
6901 if test -z "$with_xpm"; then | 6915 if test -z "$with_xpm"; then |
6902 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 6916 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
6903 echo "configure:6904: checking for Xpm - no older than 3.4f" >&5 | 6917 echo "configure:6918: checking for Xpm - no older than 3.4f" >&5 |
6904 xe_check_libs=-lXpm | 6918 xe_check_libs=-lXpm |
6905 cat > conftest.$ac_ext <<EOF | 6919 cat > conftest.$ac_ext <<EOF |
6906 #line 6907 "configure" | 6920 #line 6921 "configure" |
6907 #include "confdefs.h" | 6921 #include "confdefs.h" |
6908 #include <X11/xpm.h> | 6922 #include <X11/xpm.h> |
6909 int main(int c, char **v) { | 6923 int main(int c, char **v) { |
6910 return c == 1 ? 0 : | 6924 return c == 1 ? 0 : |
6911 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 6925 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
6912 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 6926 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
6913 EOF | 6927 EOF |
6914 if { (eval echo configure:6915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6928 if { (eval echo configure:6929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6915 then | 6929 then |
6916 ./conftest dummy_arg; xpm_status=$?; | 6930 ./conftest dummy_arg; xpm_status=$?; |
6917 if test "$xpm_status" = "0"; then | 6931 if test "$xpm_status" = "0"; then |
6918 with_xpm=yes; | 6932 with_xpm=yes; |
6919 else | 6933 else |
6951 EOF | 6965 EOF |
6952 } | 6966 } |
6953 | 6967 |
6954 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 6968 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
6955 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 6969 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
6956 echo "configure:6957: checking for \"FOR_MSW\" xpm" >&5 | 6970 echo "configure:6971: checking for \"FOR_MSW\" xpm" >&5 |
6957 xe_check_libs=-lXpm | 6971 xe_check_libs=-lXpm |
6958 cat > conftest.$ac_ext <<EOF | 6972 cat > conftest.$ac_ext <<EOF |
6959 #line 6960 "configure" | 6973 #line 6974 "configure" |
6960 #include "confdefs.h" | 6974 #include "confdefs.h" |
6961 | 6975 |
6962 int main() { | 6976 int main() { |
6963 XpmCreatePixmapFromData() | 6977 XpmCreatePixmapFromData() |
6964 ; return 0; } | 6978 ; return 0; } |
6965 EOF | 6979 EOF |
6966 if { (eval echo configure:6967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6980 if { (eval echo configure:6981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6967 rm -rf conftest* | 6981 rm -rf conftest* |
6968 xpm_for_msw=no | 6982 xpm_for_msw=no |
6969 else | 6983 else |
6970 echo "configure: failed program was:" >&5 | 6984 echo "configure: failed program was:" >&5 |
6971 cat conftest.$ac_ext >&5 | 6985 cat conftest.$ac_ext >&5 |
6987 fi | 7001 fi |
6988 fi | 7002 fi |
6989 | 7003 |
6990 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7004 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
6991 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7005 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
6992 echo "configure:6993: checking for compface.h" >&5 | 7006 echo "configure:7007: checking for compface.h" >&5 |
6993 | 7007 |
6994 cat > conftest.$ac_ext <<EOF | 7008 cat > conftest.$ac_ext <<EOF |
6995 #line 6996 "configure" | 7009 #line 7010 "configure" |
6996 #include "confdefs.h" | 7010 #include "confdefs.h" |
6997 #include <compface.h> | 7011 #include <compface.h> |
6998 EOF | 7012 EOF |
6999 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7013 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7000 { (eval echo configure:7001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7014 { (eval echo configure:7015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7001 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7015 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7002 if test -z "$ac_err"; then | 7016 if test -z "$ac_err"; then |
7003 rm -rf conftest* | 7017 rm -rf conftest* |
7004 eval "ac_cv_header_$ac_safe=yes" | 7018 eval "ac_cv_header_$ac_safe=yes" |
7005 else | 7019 else |
7018 with_xface=no | 7032 with_xface=no |
7019 fi | 7033 fi |
7020 } | 7034 } |
7021 test -z "$with_xface" && { | 7035 test -z "$with_xface" && { |
7022 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7036 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7023 echo "configure:7024: checking for UnGenFace in -lcompface" >&5 | 7037 echo "configure:7038: checking for UnGenFace in -lcompface" >&5 |
7024 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7038 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7025 | 7039 |
7026 xe_check_libs=" -lcompface " | 7040 xe_check_libs=" -lcompface " |
7027 cat > conftest.$ac_ext <<EOF | 7041 cat > conftest.$ac_ext <<EOF |
7028 #line 7029 "configure" | 7042 #line 7043 "configure" |
7029 #include "confdefs.h" | 7043 #include "confdefs.h" |
7030 /* Override any gcc2 internal prototype to avoid an error. */ | 7044 /* Override any gcc2 internal prototype to avoid an error. */ |
7031 /* We use char because int might match the return type of a gcc2 | 7045 /* We use char because int might match the return type of a gcc2 |
7032 builtin and then its argument prototype would still apply. */ | 7046 builtin and then its argument prototype would still apply. */ |
7033 char UnGenFace(); | 7047 char UnGenFace(); |
7034 | 7048 |
7035 int main() { | 7049 int main() { |
7036 UnGenFace() | 7050 UnGenFace() |
7037 ; return 0; } | 7051 ; return 0; } |
7038 EOF | 7052 EOF |
7039 if { (eval echo configure:7040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7053 if { (eval echo configure:7054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7040 rm -rf conftest* | 7054 rm -rf conftest* |
7041 eval "ac_cv_lib_$ac_lib_var=yes" | 7055 eval "ac_cv_lib_$ac_lib_var=yes" |
7042 else | 7056 else |
7043 echo "configure: failed program was:" >&5 | 7057 echo "configure: failed program was:" >&5 |
7044 cat conftest.$ac_ext >&5 | 7058 cat conftest.$ac_ext >&5 |
7086 fi | 7100 fi |
7087 | 7101 |
7088 if test "$with_png $with_tiff" != "no no"; then | 7102 if test "$with_png $with_tiff" != "no no"; then |
7089 | 7103 |
7090 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 7104 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
7091 echo "configure:7092: checking for inflate in -lc" >&5 | 7105 echo "configure:7106: checking for inflate in -lc" >&5 |
7092 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 7106 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
7093 | 7107 |
7094 xe_check_libs=" -lc " | 7108 xe_check_libs=" -lc " |
7095 cat > conftest.$ac_ext <<EOF | 7109 cat > conftest.$ac_ext <<EOF |
7096 #line 7097 "configure" | 7110 #line 7111 "configure" |
7097 #include "confdefs.h" | 7111 #include "confdefs.h" |
7098 /* Override any gcc2 internal prototype to avoid an error. */ | 7112 /* Override any gcc2 internal prototype to avoid an error. */ |
7099 /* We use char because int might match the return type of a gcc2 | 7113 /* We use char because int might match the return type of a gcc2 |
7100 builtin and then its argument prototype would still apply. */ | 7114 builtin and then its argument prototype would still apply. */ |
7101 char inflate(); | 7115 char inflate(); |
7102 | 7116 |
7103 int main() { | 7117 int main() { |
7104 inflate() | 7118 inflate() |
7105 ; return 0; } | 7119 ; return 0; } |
7106 EOF | 7120 EOF |
7107 if { (eval echo configure:7108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7121 if { (eval echo configure:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7108 rm -rf conftest* | 7122 rm -rf conftest* |
7109 eval "ac_cv_lib_$ac_lib_var=yes" | 7123 eval "ac_cv_lib_$ac_lib_var=yes" |
7110 else | 7124 else |
7111 echo "configure: failed program was:" >&5 | 7125 echo "configure: failed program was:" >&5 |
7112 cat conftest.$ac_ext >&5 | 7126 cat conftest.$ac_ext >&5 |
7121 : | 7135 : |
7122 else | 7136 else |
7123 echo "$ac_t""no" 1>&6 | 7137 echo "$ac_t""no" 1>&6 |
7124 | 7138 |
7125 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 7139 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
7126 echo "configure:7127: checking for inflate in -lz" >&5 | 7140 echo "configure:7141: checking for inflate in -lz" >&5 |
7127 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 7141 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
7128 | 7142 |
7129 xe_check_libs=" -lz " | 7143 xe_check_libs=" -lz " |
7130 cat > conftest.$ac_ext <<EOF | 7144 cat > conftest.$ac_ext <<EOF |
7131 #line 7132 "configure" | 7145 #line 7146 "configure" |
7132 #include "confdefs.h" | 7146 #include "confdefs.h" |
7133 /* Override any gcc2 internal prototype to avoid an error. */ | 7147 /* Override any gcc2 internal prototype to avoid an error. */ |
7134 /* We use char because int might match the return type of a gcc2 | 7148 /* We use char because int might match the return type of a gcc2 |
7135 builtin and then its argument prototype would still apply. */ | 7149 builtin and then its argument prototype would still apply. */ |
7136 char inflate(); | 7150 char inflate(); |
7137 | 7151 |
7138 int main() { | 7152 int main() { |
7139 inflate() | 7153 inflate() |
7140 ; return 0; } | 7154 ; return 0; } |
7141 EOF | 7155 EOF |
7142 if { (eval echo configure:7143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7156 if { (eval echo configure:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7143 rm -rf conftest* | 7157 rm -rf conftest* |
7144 eval "ac_cv_lib_$ac_lib_var=yes" | 7158 eval "ac_cv_lib_$ac_lib_var=yes" |
7145 else | 7159 else |
7146 echo "configure: failed program was:" >&5 | 7160 echo "configure: failed program was:" >&5 |
7147 cat conftest.$ac_ext >&5 | 7161 cat conftest.$ac_ext >&5 |
7156 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7170 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
7157 else | 7171 else |
7158 echo "$ac_t""no" 1>&6 | 7172 echo "$ac_t""no" 1>&6 |
7159 | 7173 |
7160 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7174 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
7161 echo "configure:7162: checking for inflate in -lgz" >&5 | 7175 echo "configure:7176: checking for inflate in -lgz" >&5 |
7162 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7176 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
7163 | 7177 |
7164 xe_check_libs=" -lgz " | 7178 xe_check_libs=" -lgz " |
7165 cat > conftest.$ac_ext <<EOF | 7179 cat > conftest.$ac_ext <<EOF |
7166 #line 7167 "configure" | 7180 #line 7181 "configure" |
7167 #include "confdefs.h" | 7181 #include "confdefs.h" |
7168 /* Override any gcc2 internal prototype to avoid an error. */ | 7182 /* Override any gcc2 internal prototype to avoid an error. */ |
7169 /* We use char because int might match the return type of a gcc2 | 7183 /* We use char because int might match the return type of a gcc2 |
7170 builtin and then its argument prototype would still apply. */ | 7184 builtin and then its argument prototype would still apply. */ |
7171 char inflate(); | 7185 char inflate(); |
7172 | 7186 |
7173 int main() { | 7187 int main() { |
7174 inflate() | 7188 inflate() |
7175 ; return 0; } | 7189 ; return 0; } |
7176 EOF | 7190 EOF |
7177 if { (eval echo configure:7178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7191 if { (eval echo configure:7192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7178 rm -rf conftest* | 7192 rm -rf conftest* |
7179 eval "ac_cv_lib_$ac_lib_var=yes" | 7193 eval "ac_cv_lib_$ac_lib_var=yes" |
7180 else | 7194 else |
7181 echo "configure: failed program was:" >&5 | 7195 echo "configure: failed program was:" >&5 |
7182 cat conftest.$ac_ext >&5 | 7196 cat conftest.$ac_ext >&5 |
7202 | 7216 |
7203 fi | 7217 fi |
7204 | 7218 |
7205 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7219 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
7206 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7220 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
7207 echo "configure:7208: checking for jpeglib.h" >&5 | 7221 echo "configure:7222: checking for jpeglib.h" >&5 |
7208 | 7222 |
7209 cat > conftest.$ac_ext <<EOF | 7223 cat > conftest.$ac_ext <<EOF |
7210 #line 7211 "configure" | 7224 #line 7225 "configure" |
7211 #include "confdefs.h" | 7225 #include "confdefs.h" |
7212 #include <jpeglib.h> | 7226 #include <jpeglib.h> |
7213 EOF | 7227 EOF |
7214 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7228 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7215 { (eval echo configure:7216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7229 { (eval echo configure:7230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7216 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7230 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7217 if test -z "$ac_err"; then | 7231 if test -z "$ac_err"; then |
7218 rm -rf conftest* | 7232 rm -rf conftest* |
7219 eval "ac_cv_header_$ac_safe=yes" | 7233 eval "ac_cv_header_$ac_safe=yes" |
7220 else | 7234 else |
7233 with_jpeg=no | 7247 with_jpeg=no |
7234 fi | 7248 fi |
7235 } | 7249 } |
7236 test -z "$with_jpeg" && { | 7250 test -z "$with_jpeg" && { |
7237 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7251 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
7238 echo "configure:7239: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7252 echo "configure:7253: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
7239 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7253 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
7240 | 7254 |
7241 xe_check_libs=" -ljpeg " | 7255 xe_check_libs=" -ljpeg " |
7242 cat > conftest.$ac_ext <<EOF | 7256 cat > conftest.$ac_ext <<EOF |
7243 #line 7244 "configure" | 7257 #line 7258 "configure" |
7244 #include "confdefs.h" | 7258 #include "confdefs.h" |
7245 /* Override any gcc2 internal prototype to avoid an error. */ | 7259 /* Override any gcc2 internal prototype to avoid an error. */ |
7246 /* We use char because int might match the return type of a gcc2 | 7260 /* We use char because int might match the return type of a gcc2 |
7247 builtin and then its argument prototype would still apply. */ | 7261 builtin and then its argument prototype would still apply. */ |
7248 char jpeg_destroy_decompress(); | 7262 char jpeg_destroy_decompress(); |
7249 | 7263 |
7250 int main() { | 7264 int main() { |
7251 jpeg_destroy_decompress() | 7265 jpeg_destroy_decompress() |
7252 ; return 0; } | 7266 ; return 0; } |
7253 EOF | 7267 EOF |
7254 if { (eval echo configure:7255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7268 if { (eval echo configure:7269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7255 rm -rf conftest* | 7269 rm -rf conftest* |
7256 eval "ac_cv_lib_$ac_lib_var=yes" | 7270 eval "ac_cv_lib_$ac_lib_var=yes" |
7257 else | 7271 else |
7258 echo "configure: failed program was:" >&5 | 7272 echo "configure: failed program was:" >&5 |
7259 cat conftest.$ac_ext >&5 | 7273 cat conftest.$ac_ext >&5 |
7285 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7299 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
7286 fi | 7300 fi |
7287 | 7301 |
7288 png_problem="" | 7302 png_problem="" |
7289 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7303 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
7290 echo "configure:7291: checking for pow" >&5 | 7304 echo "configure:7305: checking for pow" >&5 |
7291 | 7305 |
7292 cat > conftest.$ac_ext <<EOF | 7306 cat > conftest.$ac_ext <<EOF |
7293 #line 7294 "configure" | 7307 #line 7308 "configure" |
7294 #include "confdefs.h" | 7308 #include "confdefs.h" |
7295 /* System header to define __stub macros and hopefully few prototypes, | 7309 /* System header to define __stub macros and hopefully few prototypes, |
7296 which can conflict with char pow(); below. */ | 7310 which can conflict with char pow(); below. */ |
7297 #include <assert.h> | 7311 #include <assert.h> |
7298 /* Override any gcc2 internal prototype to avoid an error. */ | 7312 /* Override any gcc2 internal prototype to avoid an error. */ |
7311 pow(); | 7325 pow(); |
7312 #endif | 7326 #endif |
7313 | 7327 |
7314 ; return 0; } | 7328 ; return 0; } |
7315 EOF | 7329 EOF |
7316 if { (eval echo configure:7317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7330 if { (eval echo configure:7331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7317 rm -rf conftest* | 7331 rm -rf conftest* |
7318 eval "ac_cv_func_pow=yes" | 7332 eval "ac_cv_func_pow=yes" |
7319 else | 7333 else |
7320 echo "configure: failed program was:" >&5 | 7334 echo "configure: failed program was:" >&5 |
7321 cat conftest.$ac_ext >&5 | 7335 cat conftest.$ac_ext >&5 |
7332 with_png=no | 7346 with_png=no |
7333 fi | 7347 fi |
7334 } | 7348 } |
7335 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7349 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
7336 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7350 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
7337 echo "configure:7338: checking for png.h" >&5 | 7351 echo "configure:7352: checking for png.h" >&5 |
7338 | 7352 |
7339 cat > conftest.$ac_ext <<EOF | 7353 cat > conftest.$ac_ext <<EOF |
7340 #line 7341 "configure" | 7354 #line 7355 "configure" |
7341 #include "confdefs.h" | 7355 #include "confdefs.h" |
7342 #include <png.h> | 7356 #include <png.h> |
7343 EOF | 7357 EOF |
7344 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7345 { (eval echo configure:7346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7359 { (eval echo configure:7360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7346 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7347 if test -z "$ac_err"; then | 7361 if test -z "$ac_err"; then |
7348 rm -rf conftest* | 7362 rm -rf conftest* |
7349 eval "ac_cv_header_$ac_safe=yes" | 7363 eval "ac_cv_header_$ac_safe=yes" |
7350 else | 7364 else |
7363 with_png=no | 7377 with_png=no |
7364 fi | 7378 fi |
7365 } | 7379 } |
7366 test -z "$with_png" && { | 7380 test -z "$with_png" && { |
7367 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7381 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7368 echo "configure:7369: checking for png_read_image in -lpng" >&5 | 7382 echo "configure:7383: checking for png_read_image in -lpng" >&5 |
7369 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7383 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7370 | 7384 |
7371 xe_check_libs=" -lpng " | 7385 xe_check_libs=" -lpng " |
7372 cat > conftest.$ac_ext <<EOF | 7386 cat > conftest.$ac_ext <<EOF |
7373 #line 7374 "configure" | 7387 #line 7388 "configure" |
7374 #include "confdefs.h" | 7388 #include "confdefs.h" |
7375 /* Override any gcc2 internal prototype to avoid an error. */ | 7389 /* Override any gcc2 internal prototype to avoid an error. */ |
7376 /* We use char because int might match the return type of a gcc2 | 7390 /* We use char because int might match the return type of a gcc2 |
7377 builtin and then its argument prototype would still apply. */ | 7391 builtin and then its argument prototype would still apply. */ |
7378 char png_read_image(); | 7392 char png_read_image(); |
7379 | 7393 |
7380 int main() { | 7394 int main() { |
7381 png_read_image() | 7395 png_read_image() |
7382 ; return 0; } | 7396 ; return 0; } |
7383 EOF | 7397 EOF |
7384 if { (eval echo configure:7385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7398 if { (eval echo configure:7399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7385 rm -rf conftest* | 7399 rm -rf conftest* |
7386 eval "ac_cv_lib_$ac_lib_var=yes" | 7400 eval "ac_cv_lib_$ac_lib_var=yes" |
7387 else | 7401 else |
7388 echo "configure: failed program was:" >&5 | 7402 echo "configure: failed program was:" >&5 |
7389 cat conftest.$ac_ext >&5 | 7403 cat conftest.$ac_ext >&5 |
7402 fi | 7416 fi |
7403 | 7417 |
7404 } | 7418 } |
7405 if test -z "$with_png"; then | 7419 if test -z "$with_png"; then |
7406 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7420 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
7407 echo "configure:7408: checking for workable png version information" >&5 | 7421 echo "configure:7422: checking for workable png version information" >&5 |
7408 xe_check_libs="-lpng -lz" | 7422 xe_check_libs="-lpng -lz" |
7409 cat > conftest.$ac_ext <<EOF | 7423 cat > conftest.$ac_ext <<EOF |
7410 #line 7411 "configure" | 7424 #line 7425 "configure" |
7411 #include "confdefs.h" | 7425 #include "confdefs.h" |
7412 #include <png.h> | 7426 #include <png.h> |
7413 int main(int c, char **v) { | 7427 int main(int c, char **v) { |
7414 if (c == 1) return 0; | 7428 if (c == 1) return 0; |
7415 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7429 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
7416 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7430 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7417 EOF | 7431 EOF |
7418 if { (eval echo configure:7419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7432 if { (eval echo configure:7433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7419 then | 7433 then |
7420 ./conftest dummy_arg; png_status=$?; | 7434 ./conftest dummy_arg; png_status=$?; |
7421 if test "$png_status" = "0"; then | 7435 if test "$png_status" = "0"; then |
7422 with_png=yes; | 7436 with_png=yes; |
7423 else | 7437 else |
7456 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7470 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
7457 fi | 7471 fi |
7458 | 7472 |
7459 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7473 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
7460 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7474 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
7461 echo "configure:7462: checking for tiffio.h" >&5 | 7475 echo "configure:7476: checking for tiffio.h" >&5 |
7462 | 7476 |
7463 cat > conftest.$ac_ext <<EOF | 7477 cat > conftest.$ac_ext <<EOF |
7464 #line 7465 "configure" | 7478 #line 7479 "configure" |
7465 #include "confdefs.h" | 7479 #include "confdefs.h" |
7466 #include <tiffio.h> | 7480 #include <tiffio.h> |
7467 EOF | 7481 EOF |
7468 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7469 { (eval echo configure:7470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7483 { (eval echo configure:7484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7470 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7471 if test -z "$ac_err"; then | 7485 if test -z "$ac_err"; then |
7472 rm -rf conftest* | 7486 rm -rf conftest* |
7473 eval "ac_cv_header_$ac_safe=yes" | 7487 eval "ac_cv_header_$ac_safe=yes" |
7474 else | 7488 else |
7487 with_tiff=no | 7501 with_tiff=no |
7488 fi | 7502 fi |
7489 } | 7503 } |
7490 test -z "$with_tiff" && { | 7504 test -z "$with_tiff" && { |
7491 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7505 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7492 echo "configure:7493: checking for TIFFClientOpen in -ltiff" >&5 | 7506 echo "configure:7507: checking for TIFFClientOpen in -ltiff" >&5 |
7493 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7507 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7494 | 7508 |
7495 xe_check_libs=" -ltiff " | 7509 xe_check_libs=" -ltiff " |
7496 cat > conftest.$ac_ext <<EOF | 7510 cat > conftest.$ac_ext <<EOF |
7497 #line 7498 "configure" | 7511 #line 7512 "configure" |
7498 #include "confdefs.h" | 7512 #include "confdefs.h" |
7499 /* Override any gcc2 internal prototype to avoid an error. */ | 7513 /* Override any gcc2 internal prototype to avoid an error. */ |
7500 /* We use char because int might match the return type of a gcc2 | 7514 /* We use char because int might match the return type of a gcc2 |
7501 builtin and then its argument prototype would still apply. */ | 7515 builtin and then its argument prototype would still apply. */ |
7502 char TIFFClientOpen(); | 7516 char TIFFClientOpen(); |
7503 | 7517 |
7504 int main() { | 7518 int main() { |
7505 TIFFClientOpen() | 7519 TIFFClientOpen() |
7506 ; return 0; } | 7520 ; return 0; } |
7507 EOF | 7521 EOF |
7508 if { (eval echo configure:7509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7522 if { (eval echo configure:7523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7509 rm -rf conftest* | 7523 rm -rf conftest* |
7510 eval "ac_cv_lib_$ac_lib_var=yes" | 7524 eval "ac_cv_lib_$ac_lib_var=yes" |
7511 else | 7525 else |
7512 echo "configure: failed program was:" >&5 | 7526 echo "configure: failed program was:" >&5 |
7513 cat conftest.$ac_ext >&5 | 7527 cat conftest.$ac_ext >&5 |
7542 | 7556 |
7543 | 7557 |
7544 if test "$with_x11" = "yes"; then | 7558 if test "$with_x11" = "yes"; then |
7545 | 7559 |
7546 echo "checking for X11 graphics libraries" 1>&6 | 7560 echo "checking for X11 graphics libraries" 1>&6 |
7547 echo "configure:7548: checking for X11 graphics libraries" >&5 | 7561 echo "configure:7562: checking for X11 graphics libraries" >&5 |
7548 | 7562 |
7563 echo "checking for the Athena widgets" 1>&6 | |
7564 echo "configure:7565: checking for the Athena widgets" >&5 | |
7565 | |
7566 case "$with_athena" in | |
7567 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | |
7568 "3d") athena_variant=Xaw3d athena_3d=yes ;; | |
7569 "next") athena_variant=neXtaw athena_3d=yes ;; | |
7570 "95") athena_variant=Xaw95 athena_3d=yes ;; | |
7571 "xpm") athena_variant=XawXpm athena_3d=yes ;; | |
7572 *) { echo "Error:" "Unknown Athena widget set \`$with_athena'. This should not happen." >&2; exit 1; } ;; | |
7573 esac | |
7574 | |
7575 if test "$athena_3d" = "no"; then | |
7549 | 7576 |
7550 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw""... $ac_c" 1>&6 | 7577 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
7551 echo "configure:7552: checking for XawScrollbarSetThumb in -lXaw" >&5 | 7578 echo "configure:7579: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
7552 ac_lib_var=`echo Xaw'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 7579 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7553 | 7580 |
7554 xe_check_libs=" -lXaw " | 7581 xe_check_libs=" -l$athena_variant " |
7555 cat > conftest.$ac_ext <<EOF | 7582 cat > conftest.$ac_ext <<EOF |
7556 #line 7557 "configure" | 7583 #line 7584 "configure" |
7557 #include "confdefs.h" | 7584 #include "confdefs.h" |
7558 /* Override any gcc2 internal prototype to avoid an error. */ | 7585 /* Override any gcc2 internal prototype to avoid an error. */ |
7559 /* We use char because int might match the return type of a gcc2 | 7586 /* We use char because int might match the return type of a gcc2 |
7560 builtin and then its argument prototype would still apply. */ | 7587 builtin and then its argument prototype would still apply. */ |
7561 char XawScrollbarSetThumb(); | 7588 char XawScrollbarSetThumb(); |
7562 | 7589 |
7563 int main() { | 7590 int main() { |
7564 XawScrollbarSetThumb() | 7591 XawScrollbarSetThumb() |
7565 ; return 0; } | 7592 ; return 0; } |
7566 EOF | 7593 EOF |
7567 if { (eval echo configure:7568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7594 if { (eval echo configure:7595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7568 rm -rf conftest* | 7595 rm -rf conftest* |
7569 eval "ac_cv_lib_$ac_lib_var=yes" | 7596 eval "ac_cv_lib_$ac_lib_var=yes" |
7570 else | 7597 else |
7571 echo "configure: failed program was:" >&5 | 7598 echo "configure: failed program was:" >&5 |
7572 cat conftest.$ac_ext >&5 | 7599 cat conftest.$ac_ext >&5 |
7576 rm -f conftest* | 7603 rm -f conftest* |
7577 xe_check_libs="" | 7604 xe_check_libs="" |
7578 | 7605 |
7579 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 7606 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
7580 echo "$ac_t""yes" 1>&6 | 7607 echo "$ac_t""yes" 1>&6 |
7581 have_xaw=yes | 7608 |
7582 else | 7609 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
7583 echo "$ac_t""no" 1>&6 | 7610 echo "configure:7611: checking for threeDClassRec in -l$athena_variant" >&5 |
7584 have_xaw=no | 7611 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
7585 fi | 7612 |
7586 | 7613 xe_check_libs=" -l$athena_variant " |
7587 | 7614 cat > conftest.$ac_ext <<EOF |
7588 | 7615 #line 7616 "configure" |
7589 | |
7590 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | |
7591 echo "configure:7592: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | |
7592 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | |
7593 | |
7594 xe_check_libs=" -lXaw3d " | |
7595 cat > conftest.$ac_ext <<EOF | |
7596 #line 7597 "configure" | |
7597 #include "confdefs.h" | 7616 #include "confdefs.h" |
7598 /* Override any gcc2 internal prototype to avoid an error. */ | 7617 /* Override any gcc2 internal prototype to avoid an error. */ |
7599 /* We use char because int might match the return type of a gcc2 | 7618 /* We use char because int might match the return type of a gcc2 |
7600 builtin and then its argument prototype would still apply. */ | 7619 builtin and then its argument prototype would still apply. */ |
7601 char XawScrollbarSetThumb(); | 7620 char threeDClassRec(); |
7602 | 7621 |
7603 int main() { | 7622 int main() { |
7604 XawScrollbarSetThumb() | 7623 threeDClassRec() |
7605 ; return 0; } | 7624 ; return 0; } |
7606 EOF | 7625 EOF |
7607 if { (eval echo configure:7608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7626 if { (eval echo configure:7627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7608 rm -rf conftest* | 7627 rm -rf conftest* |
7609 eval "ac_cv_lib_$ac_lib_var=yes" | 7628 eval "ac_cv_lib_$ac_lib_var=yes" |
7610 else | 7629 else |
7611 echo "configure: failed program was:" >&5 | 7630 echo "configure: failed program was:" >&5 |
7612 cat conftest.$ac_ext >&5 | 7631 cat conftest.$ac_ext >&5 |
7616 rm -f conftest* | 7635 rm -f conftest* |
7617 xe_check_libs="" | 7636 xe_check_libs="" |
7618 | 7637 |
7619 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 7638 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
7620 echo "$ac_t""yes" 1>&6 | 7639 echo "$ac_t""yes" 1>&6 |
7621 have_xaw3d=yes | 7640 echo "configure: warning: "Could not find a non-3d Athena widget library."" 1>&2 |
7622 else | 7641 else |
7623 echo "$ac_t""no" 1>&6 | 7642 echo "$ac_t""no" 1>&6 |
7624 have_xaw3d=no | 7643 athena_lib=$athena_variant |
7625 fi | 7644 fi |
7626 | 7645 |
7627 | 7646 |
7647 | |
7648 else | |
7649 echo "$ac_t""no" 1>&6 | |
7650 echo "configure: warning: "Could not find an Athena widget library."" 1>&2 | |
7651 fi | |
7652 | |
7653 | |
7654 else | |
7655 | |
7656 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | |
7657 echo "configure:7658: checking for threeDClassRec in -l$athena_variant" >&5 | |
7658 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | |
7659 | |
7660 xe_check_libs=" -l$athena_variant " | |
7661 cat > conftest.$ac_ext <<EOF | |
7662 #line 7663 "configure" | |
7663 #include "confdefs.h" | |
7664 /* Override any gcc2 internal prototype to avoid an error. */ | |
7665 /* We use char because int might match the return type of a gcc2 | |
7666 builtin and then its argument prototype would still apply. */ | |
7667 char threeDClassRec(); | |
7668 | |
7669 int main() { | |
7670 threeDClassRec() | |
7671 ; return 0; } | |
7672 EOF | |
7673 if { (eval echo configure:7674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7674 rm -rf conftest* | |
7675 eval "ac_cv_lib_$ac_lib_var=yes" | |
7676 else | |
7677 echo "configure: failed program was:" >&5 | |
7678 cat conftest.$ac_ext >&5 | |
7679 rm -rf conftest* | |
7680 eval "ac_cv_lib_$ac_lib_var=no" | |
7681 fi | |
7682 rm -f conftest* | |
7683 xe_check_libs="" | |
7684 | |
7685 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7686 echo "$ac_t""yes" 1>&6 | |
7687 athena_lib=$athena_variant | |
7688 else | |
7689 echo "$ac_t""no" 1>&6 | |
7690 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | |
7691 echo "configure:7692: checking for threeDClassRec in -lXaw" >&5 | |
7692 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | |
7693 | |
7694 xe_check_libs=" -lXaw " | |
7695 cat > conftest.$ac_ext <<EOF | |
7696 #line 7697 "configure" | |
7697 #include "confdefs.h" | |
7698 /* Override any gcc2 internal prototype to avoid an error. */ | |
7699 /* We use char because int might match the return type of a gcc2 | |
7700 builtin and then its argument prototype would still apply. */ | |
7701 char threeDClassRec(); | |
7702 | |
7703 int main() { | |
7704 threeDClassRec() | |
7705 ; return 0; } | |
7706 EOF | |
7707 if { (eval echo configure:7708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7708 rm -rf conftest* | |
7709 eval "ac_cv_lib_$ac_lib_var=yes" | |
7710 else | |
7711 echo "configure: failed program was:" >&5 | |
7712 cat conftest.$ac_ext >&5 | |
7713 rm -rf conftest* | |
7714 eval "ac_cv_lib_$ac_lib_var=no" | |
7715 fi | |
7716 rm -f conftest* | |
7717 xe_check_libs="" | |
7718 | |
7719 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7720 echo "$ac_t""yes" 1>&6 | |
7721 athena_lib=Xaw; | |
7722 echo "configure: warning: "Assuming that libXaw is actually $athena_variant."" 1>&2; | |
7723 | |
7724 else | |
7725 echo "$ac_t""no" 1>&6 | |
7726 echo "configure: warning: "Could not find a 3d Athena widget library that looked like $athena_variant."" 1>&2 | |
7727 fi | |
7728 | |
7729 | |
7730 fi | |
7731 | |
7732 | |
7733 fi | |
7734 | |
7735 if test "$athena_3d" = "no"; then | |
7736 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | |
7737 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | |
7738 echo "configure:7739: checking for X11/Xaw/ThreeD.h" >&5 | |
7739 | |
7740 cat > conftest.$ac_ext <<EOF | |
7741 #line 7742 "configure" | |
7742 #include "confdefs.h" | |
7743 #include <X11/Xaw/ThreeD.h> | |
7744 EOF | |
7745 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7746 { (eval echo configure:7747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7747 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7748 if test -z "$ac_err"; then | |
7749 rm -rf conftest* | |
7750 eval "ac_cv_header_$ac_safe=yes" | |
7751 else | |
7752 echo "$ac_err" >&5 | |
7753 echo "configure: failed program was:" >&5 | |
7754 cat conftest.$ac_ext >&5 | |
7755 rm -rf conftest* | |
7756 eval "ac_cv_header_$ac_safe=no" | |
7757 fi | |
7758 rm -f conftest* | |
7759 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7760 echo "$ac_t""yes" 1>&6 | |
7761 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | |
7762 else | |
7763 echo "$ac_t""no" 1>&6 | |
7764 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | |
7765 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | |
7766 echo "configure:7767: checking for X11/Xaw/XawInit.h" >&5 | |
7767 | |
7768 cat > conftest.$ac_ext <<EOF | |
7769 #line 7770 "configure" | |
7770 #include "confdefs.h" | |
7771 #include <X11/Xaw/XawInit.h> | |
7772 EOF | |
7773 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7774 { (eval echo configure:7775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7775 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7776 if test -z "$ac_err"; then | |
7777 rm -rf conftest* | |
7778 eval "ac_cv_header_$ac_safe=yes" | |
7779 else | |
7780 echo "$ac_err" >&5 | |
7781 echo "configure: failed program was:" >&5 | |
7782 cat conftest.$ac_ext >&5 | |
7783 rm -rf conftest* | |
7784 eval "ac_cv_header_$ac_safe=no" | |
7785 fi | |
7786 rm -f conftest* | |
7787 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7788 echo "$ac_t""yes" 1>&6 | |
7789 athena_h_path=X11/Xaw | |
7790 else | |
7791 echo "$ac_t""no" 1>&6 | |
7792 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | |
7793 fi | |
7794 | |
7795 fi | |
7796 | |
7797 else | |
7798 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | |
7799 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | |
7800 echo "configure:7801: checking for X11/$athena_variant/XawInit.h" >&5 | |
7801 | |
7802 cat > conftest.$ac_ext <<EOF | |
7803 #line 7804 "configure" | |
7804 #include "confdefs.h" | |
7805 #include <X11/$athena_variant/XawInit.h> | |
7806 EOF | |
7807 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7808 { (eval echo configure:7809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7809 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7810 if test -z "$ac_err"; then | |
7811 rm -rf conftest* | |
7812 eval "ac_cv_header_$ac_safe=yes" | |
7813 else | |
7814 echo "$ac_err" >&5 | |
7815 echo "configure: failed program was:" >&5 | |
7816 cat conftest.$ac_ext >&5 | |
7817 rm -rf conftest* | |
7818 eval "ac_cv_header_$ac_safe=no" | |
7819 fi | |
7820 rm -f conftest* | |
7821 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7822 echo "$ac_t""yes" 1>&6 | |
7823 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | |
7824 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | |
7825 echo "configure:7826: checking for X11/$athena_variant/ThreeD.h" >&5 | |
7826 | |
7827 cat > conftest.$ac_ext <<EOF | |
7828 #line 7829 "configure" | |
7829 #include "confdefs.h" | |
7830 #include <X11/$athena_variant/ThreeD.h> | |
7831 EOF | |
7832 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7833 { (eval echo configure:7834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7834 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7835 if test -z "$ac_err"; then | |
7836 rm -rf conftest* | |
7837 eval "ac_cv_header_$ac_safe=yes" | |
7838 else | |
7839 echo "$ac_err" >&5 | |
7840 echo "configure: failed program was:" >&5 | |
7841 cat conftest.$ac_ext >&5 | |
7842 rm -rf conftest* | |
7843 eval "ac_cv_header_$ac_safe=no" | |
7844 fi | |
7845 rm -f conftest* | |
7846 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7847 echo "$ac_t""yes" 1>&6 | |
7848 athena_h_path=X11/$athena_variant | |
7849 else | |
7850 echo "$ac_t""no" 1>&6 | |
7851 fi | |
7852 | |
7853 else | |
7854 echo "$ac_t""no" 1>&6 | |
7855 fi | |
7856 | |
7857 | |
7858 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | |
7859 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | |
7860 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | |
7861 echo "configure:7862: checking for X11/Xaw3d/XawInit.h" >&5 | |
7862 | |
7863 cat > conftest.$ac_ext <<EOF | |
7864 #line 7865 "configure" | |
7865 #include "confdefs.h" | |
7866 #include <X11/Xaw3d/XawInit.h> | |
7867 EOF | |
7868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7869 { (eval echo configure:7870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7871 if test -z "$ac_err"; then | |
7872 rm -rf conftest* | |
7873 eval "ac_cv_header_$ac_safe=yes" | |
7874 else | |
7875 echo "$ac_err" >&5 | |
7876 echo "configure: failed program was:" >&5 | |
7877 cat conftest.$ac_ext >&5 | |
7878 rm -rf conftest* | |
7879 eval "ac_cv_header_$ac_safe=no" | |
7880 fi | |
7881 rm -f conftest* | |
7882 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7883 echo "$ac_t""yes" 1>&6 | |
7884 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | |
7885 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | |
7886 echo "configure:7887: checking for X11/Xaw3d/ThreeD.h" >&5 | |
7887 | |
7888 cat > conftest.$ac_ext <<EOF | |
7889 #line 7890 "configure" | |
7890 #include "confdefs.h" | |
7891 #include <X11/Xaw3d/ThreeD.h> | |
7892 EOF | |
7893 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7894 { (eval echo configure:7895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7895 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7896 if test -z "$ac_err"; then | |
7897 rm -rf conftest* | |
7898 eval "ac_cv_header_$ac_safe=yes" | |
7899 else | |
7900 echo "$ac_err" >&5 | |
7901 echo "configure: failed program was:" >&5 | |
7902 cat conftest.$ac_ext >&5 | |
7903 rm -rf conftest* | |
7904 eval "ac_cv_header_$ac_safe=no" | |
7905 fi | |
7906 rm -f conftest* | |
7907 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7908 echo "$ac_t""yes" 1>&6 | |
7909 | |
7910 echo "configure: warning: "Assuming that X11/Xaw3d headers are suitable for $athena_variant."" 1>&2 | |
7911 athena_h_path=X11/Xaw3d | |
7912 | |
7913 else | |
7914 echo "$ac_t""no" 1>&6 | |
7915 fi | |
7916 | |
7917 else | |
7918 echo "$ac_t""no" 1>&6 | |
7919 fi | |
7920 | |
7921 fi | |
7922 | |
7923 if test -z "$athena_h_path"; then | |
7924 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | |
7925 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | |
7926 echo "configure:7927: checking for X11/Xaw/ThreeD.h" >&5 | |
7927 | |
7928 cat > conftest.$ac_ext <<EOF | |
7929 #line 7930 "configure" | |
7930 #include "confdefs.h" | |
7931 #include <X11/Xaw/ThreeD.h> | |
7932 EOF | |
7933 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7934 { (eval echo configure:7935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7935 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7936 if test -z "$ac_err"; then | |
7937 rm -rf conftest* | |
7938 eval "ac_cv_header_$ac_safe=yes" | |
7939 else | |
7940 echo "$ac_err" >&5 | |
7941 echo "configure: failed program was:" >&5 | |
7942 cat conftest.$ac_ext >&5 | |
7943 rm -rf conftest* | |
7944 eval "ac_cv_header_$ac_safe=no" | |
7945 fi | |
7946 rm -f conftest* | |
7947 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7948 echo "$ac_t""yes" 1>&6 | |
7949 | |
7950 echo "configure: warning: "Assuming that X11/Xaw headers are suitable for $athena_variant."" 1>&2 | |
7951 athena_h_path=X11/Xaw | |
7952 | |
7953 else | |
7954 echo "$ac_t""no" 1>&6 | |
7955 echo "configure: warning: "Could not find a suitable 3d Athena header set."" 1>&2 | |
7956 fi | |
7957 | |
7958 fi | |
7959 fi | |
7960 | |
7961 if test -n "$athena_lib" -a -n "$athena_h_path"; then | |
7962 have_xaw=yes | |
7963 else | |
7964 have_xaw=no | |
7965 fi | |
7628 | 7966 |
7629 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 7967 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
7630 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 7968 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
7631 echo "configure:7632: checking for Xm/Xm.h" >&5 | 7969 echo "configure:7970: checking for Xm/Xm.h" >&5 |
7632 | 7970 |
7633 cat > conftest.$ac_ext <<EOF | 7971 cat > conftest.$ac_ext <<EOF |
7634 #line 7635 "configure" | 7972 #line 7973 "configure" |
7635 #include "confdefs.h" | 7973 #include "confdefs.h" |
7636 #include <Xm/Xm.h> | 7974 #include <Xm/Xm.h> |
7637 EOF | 7975 EOF |
7638 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7976 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7639 { (eval echo configure:7640: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7977 { (eval echo configure:7978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7640 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7978 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7641 if test -z "$ac_err"; then | 7979 if test -z "$ac_err"; then |
7642 rm -rf conftest* | 7980 rm -rf conftest* |
7643 eval "ac_cv_header_$ac_safe=yes" | 7981 eval "ac_cv_header_$ac_safe=yes" |
7644 else | 7982 else |
7651 rm -f conftest* | 7989 rm -f conftest* |
7652 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7990 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7653 echo "$ac_t""yes" 1>&6 | 7991 echo "$ac_t""yes" 1>&6 |
7654 | 7992 |
7655 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 7993 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
7656 echo "configure:7657: checking for XmStringFree in -lXm" >&5 | 7994 echo "configure:7995: checking for XmStringFree in -lXm" >&5 |
7657 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 7995 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
7658 | 7996 |
7659 xe_check_libs=" -lXm " | 7997 xe_check_libs=" -lXm " |
7660 cat > conftest.$ac_ext <<EOF | 7998 cat > conftest.$ac_ext <<EOF |
7661 #line 7662 "configure" | 7999 #line 8000 "configure" |
7662 #include "confdefs.h" | 8000 #include "confdefs.h" |
7663 /* Override any gcc2 internal prototype to avoid an error. */ | 8001 /* Override any gcc2 internal prototype to avoid an error. */ |
7664 /* We use char because int might match the return type of a gcc2 | 8002 /* We use char because int might match the return type of a gcc2 |
7665 builtin and then its argument prototype would still apply. */ | 8003 builtin and then its argument prototype would still apply. */ |
7666 char XmStringFree(); | 8004 char XmStringFree(); |
7667 | 8005 |
7668 int main() { | 8006 int main() { |
7669 XmStringFree() | 8007 XmStringFree() |
7670 ; return 0; } | 8008 ; return 0; } |
7671 EOF | 8009 EOF |
7672 if { (eval echo configure:7673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8010 if { (eval echo configure:8011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7673 rm -rf conftest* | 8011 rm -rf conftest* |
7674 eval "ac_cv_lib_$ac_lib_var=yes" | 8012 eval "ac_cv_lib_$ac_lib_var=yes" |
7675 else | 8013 else |
7676 echo "configure: failed program was:" >&5 | 8014 echo "configure: failed program was:" >&5 |
7677 cat conftest.$ac_ext >&5 | 8015 cat conftest.$ac_ext >&5 |
7696 fi | 8034 fi |
7697 | 8035 |
7698 | 8036 |
7699 if test "$have_motif" = "yes"; then | 8037 if test "$have_motif" = "yes"; then |
7700 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 8038 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
7701 echo "configure:7702: checking for Lesstif" >&5 | 8039 echo "configure:8040: checking for Lesstif" >&5 |
7702 cat > conftest.$ac_ext <<EOF | 8040 cat > conftest.$ac_ext <<EOF |
7703 #line 7704 "configure" | 8041 #line 8042 "configure" |
7704 #include "confdefs.h" | 8042 #include "confdefs.h" |
7705 #include <Xm/Xm.h> | 8043 #include <Xm/Xm.h> |
7706 #ifdef LESSTIF_VERSION | 8044 #ifdef LESSTIF_VERSION |
7707 yes | 8045 yes |
7708 #endif | 8046 #endif |
7721 echo "$ac_t""$have_lesstif" 1>&6 | 8059 echo "$ac_t""$have_lesstif" 1>&6 |
7722 fi | 8060 fi |
7723 | 8061 |
7724 fi | 8062 fi |
7725 | 8063 |
7726 case "$with_menubars" in "" | "yes" | "athena" | "athena3d" ) | 8064 case "$with_menubars" in "" | "yes" | "athena" ) |
7727 with_menubars="lucid" ;; | 8065 with_menubars="lucid" ;; |
7728 esac | 8066 esac |
7729 case "$with_dialogs" in "" | "yes" | "lucid" ) | 8067 case "$with_dialogs" in "" | "yes" | "lucid" ) |
7730 if test "$have_motif" = "yes"; then with_dialogs="motif" | 8068 if test "$have_motif" = "yes"; then with_dialogs="motif" |
7731 elif test "$have_xaw3d" = "yes"; then with_dialogs="athena3d" | 8069 elif test "$have_xaw" = "yes"; then with_dialogs="athena" |
7732 elif test "$have_xaw" = "yes"; then with_dialogs="athena" | |
7733 else with_dialogs=no | 8070 else with_dialogs=no |
7734 fi ;; | 8071 fi ;; |
7735 esac | 8072 esac |
7736 case "$with_scrollbars" in "" | "yes" ) | 8073 case "$with_scrollbars" in "" | "yes" ) |
7737 with_scrollbars="lucid" ;; | 8074 with_scrollbars="lucid" ;; |
7738 esac | 8075 esac |
7739 case "$with_widgets" in "" | "yes" | "lucid") | 8076 case "$with_widgets" in "" | "yes" | "lucid") |
7740 if test "$have_motif" = "yes"; then with_widgets="motif" | 8077 if test "$have_motif" = "yes"; then with_widgets="motif" |
7741 elif test "$have_xaw3d" = "yes"; then with_widgets="athena3d" | |
7742 elif test "$have_xaw" = "yes"; then with_widgets="athena" | 8078 elif test "$have_xaw" = "yes"; then with_widgets="athena" |
7743 else with_widgets=no | 8079 else with_widgets=no |
7744 fi ;; | 8080 fi ;; |
7745 esac | 8081 esac |
7746 | 8082 |
7747 all_widgets="$with_menubars $with_scrollbars $with_dialogs $with_toolbars $with_widgets" | 8083 all_widgets="$with_menubars $with_scrollbars $with_dialogs $with_toolbars $with_widgets" |
7748 | 8084 |
7749 case "$all_widgets" in | 8085 case "$all_widgets" in |
7750 *athena*3d ) | 8086 *athena* ) |
7751 { test "$extra_verbose" = "yes" && cat << \EOF | 8087 if test "$have_xaw" != "yes"; then |
8088 { echo "Error:" "Could not find a suitable Athena library to build with." >&2; exit 1; } | |
8089 fi | |
8090 | |
8091 lwlib_objs="$lwlib_objs lwlib-Xaw.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib-Xaw.o\" to \$lwlib_objs"; fi | |
8092 | |
8093 libs_x="-l$athena_lib $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$athena_lib\" to \$libs_x"; fi | |
8094 | |
8095 { test "$extra_verbose" = "yes" && cat << EOF | |
8096 Defining ATHENA_H_PATH = $athena_h_path | |
8097 EOF | |
8098 cat >> confdefs.h <<EOF | |
8099 #define ATHENA_H_PATH $athena_h_path | |
8100 EOF | |
8101 } | |
8102 | |
8103 | |
8104 { test "$extra_verbose" = "yes" && cat << \EOF | |
7752 Defining LWLIB_USES_ATHENA | 8105 Defining LWLIB_USES_ATHENA |
7753 EOF | 8106 EOF |
7754 cat >> confdefs.h <<\EOF | 8107 cat >> confdefs.h <<\EOF |
7755 #define LWLIB_USES_ATHENA 1 | 8108 #define LWLIB_USES_ATHENA 1 |
7756 EOF | 8109 EOF |
7757 } | 8110 } |
7758 | 8111 |
7759 { test "$extra_verbose" = "yes" && cat << \EOF | 8112 { test "$extra_verbose" = "yes" && cat << \EOF |
7760 Defining NEED_ATHENA | 8113 Defining NEED_ATHENA |
7761 EOF | 8114 EOF |
7762 cat >> confdefs.h <<\EOF | 8115 cat >> confdefs.h <<\EOF |
7763 #define NEED_ATHENA 1 | 8116 #define NEED_ATHENA 1 |
7764 EOF | 8117 EOF |
7765 } | 8118 } |
7766 | 8119 |
7767 lwlib_objs="$lwlib_objs lwlib-Xaw.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib-Xaw.o\" to \$lwlib_objs"; fi | 8120 |
7768 if test "$have_xaw3d"; then | 8121 if test "$athena_3d" = "yes"; then |
7769 libs_x="-lXaw3d $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXaw3d\" to \$libs_x"; fi | 8122 { test "$extra_verbose" = "yes" && cat << \EOF |
7770 else | 8123 Defining HAVE_ATHENA_3D |
7771 libs_x="-lXaw $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXaw\" to \$libs_x"; fi | 8124 EOF |
7772 fi ;; | 8125 cat >> confdefs.h <<\EOF |
7773 *athena* ) | 8126 #define HAVE_ATHENA_3D 1 |
7774 { test "$extra_verbose" = "yes" && cat << \EOF | 8127 EOF |
7775 Defining LWLIB_USES_ATHENA | 8128 } |
7776 EOF | 8129 |
7777 cat >> confdefs.h <<\EOF | 8130 fi |
7778 #define LWLIB_USES_ATHENA 1 | 8131 ;; |
7779 EOF | |
7780 } | |
7781 | |
7782 { test "$extra_verbose" = "yes" && cat << \EOF | |
7783 Defining NEED_ATHENA | |
7784 EOF | |
7785 cat >> confdefs.h <<\EOF | |
7786 #define NEED_ATHENA 1 | |
7787 EOF | |
7788 } | |
7789 | |
7790 lwlib_objs="$lwlib_objs lwlib-Xaw.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib-Xaw.o\" to \$lwlib_objs"; fi | |
7791 libs_x="-lXaw $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXaw\" to \$libs_x"; fi ;; | |
7792 esac | 8132 esac |
7793 | 8133 |
7794 case "$all_widgets" in *motif* ) | 8134 case "$all_widgets" in *motif* ) |
7795 { test "$extra_verbose" = "yes" && cat << \EOF | 8135 { test "$extra_verbose" = "yes" && cat << \EOF |
7796 Defining LWLIB_USES_MOTIF | 8136 Defining LWLIB_USES_MOTIF |
7832 lwlib_objs="$lwlib_objs lwlib-Xlw.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib-Xlw.o\" to \$lwlib_objs"; fi ;; | 8172 lwlib_objs="$lwlib_objs lwlib-Xlw.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib-Xlw.o\" to \$lwlib_objs"; fi ;; |
7833 esac | 8173 esac |
7834 | 8174 |
7835 | 8175 |
7836 | 8176 |
7837 case "$with_scrollbars" in athena* ) { test "$extra_verbose" = "yes" && cat << \EOF | 8177 test "$with_scrollbars" = "athena" && { test "$extra_verbose" = "yes" && cat << \EOF |
7838 Defining LWLIB_SCROLLBARS_ATHENA | 8178 Defining LWLIB_SCROLLBARS_ATHENA |
7839 EOF | 8179 EOF |
7840 cat >> confdefs.h <<\EOF | 8180 cat >> confdefs.h <<\EOF |
7841 #define LWLIB_SCROLLBARS_ATHENA 1 | 8181 #define LWLIB_SCROLLBARS_ATHENA 1 |
7842 EOF | 8182 EOF |
7843 } | 8183 } |
7844 ;; esac | 8184 |
7845 case "$with_dialogs" in athena* ) { test "$extra_verbose" = "yes" && cat << \EOF | 8185 test "$with_dialogs" = "athena" && { test "$extra_verbose" = "yes" && cat << \EOF |
7846 Defining LWLIB_DIALOGS_ATHENA | 8186 Defining LWLIB_DIALOGS_ATHENA |
7847 EOF | 8187 EOF |
7848 cat >> confdefs.h <<\EOF | 8188 cat >> confdefs.h <<\EOF |
7849 #define LWLIB_DIALOGS_ATHENA 1 | 8189 #define LWLIB_DIALOGS_ATHENA 1 |
7850 EOF | 8190 EOF |
7851 } | 8191 } |
7852 ;; esac | 8192 |
7853 test "$with_scrollbars" = "athena3d" && { test "$extra_verbose" = "yes" && cat << \EOF | 8193 |
8194 if test "$athena_3d" = "yes"; then | |
8195 test "$with_scrollbars" = "athena" && { test "$extra_verbose" = "yes" && cat << \EOF | |
7854 Defining LWLIB_SCROLLBARS_ATHENA3D | 8196 Defining LWLIB_SCROLLBARS_ATHENA3D |
7855 EOF | 8197 EOF |
7856 cat >> confdefs.h <<\EOF | 8198 cat >> confdefs.h <<\EOF |
7857 #define LWLIB_SCROLLBARS_ATHENA3D 1 | 8199 #define LWLIB_SCROLLBARS_ATHENA3D 1 |
7858 EOF | 8200 EOF |
7859 } | 8201 } |
7860 | 8202 |
7861 test "$with_dialogs" = "athena3d" && { test "$extra_verbose" = "yes" && cat << \EOF | 8203 test "$with_dialogs" = "athena" && { test "$extra_verbose" = "yes" && cat << \EOF |
7862 Defining LWLIB_DIALOGS_ATHENA3D | 8204 Defining LWLIB_DIALOGS_ATHENA3D |
7863 EOF | 8205 EOF |
7864 cat >> confdefs.h <<\EOF | 8206 cat >> confdefs.h <<\EOF |
7865 #define LWLIB_DIALOGS_ATHENA3D 1 | 8207 #define LWLIB_DIALOGS_ATHENA3D 1 |
7866 EOF | 8208 EOF |
7867 } | 8209 } |
8210 | |
8211 fi | |
7868 | 8212 |
7869 case "$with_widgets" in athena* ) { test "$extra_verbose" = "yes" && cat << \EOF | 8213 case "$with_widgets" in athena* ) { test "$extra_verbose" = "yes" && cat << \EOF |
7870 Defining LWLIB_WIDGETS_ATHENA | 8214 Defining LWLIB_WIDGETS_ATHENA |
7871 EOF | 8215 EOF |
7872 cat >> confdefs.h <<\EOF | 8216 cat >> confdefs.h <<\EOF |
8025 fi | 8369 fi |
8026 fi | 8370 fi |
8027 | 8371 |
8028 if test "$with_mule" = "yes" ; then | 8372 if test "$with_mule" = "yes" ; then |
8029 echo "checking for Mule-related features" 1>&6 | 8373 echo "checking for Mule-related features" 1>&6 |
8030 echo "configure:8031: checking for Mule-related features" >&5 | 8374 echo "configure:8375: checking for Mule-related features" >&5 |
8031 { test "$extra_verbose" = "yes" && cat << \EOF | 8375 { test "$extra_verbose" = "yes" && cat << \EOF |
8032 Defining MULE | 8376 Defining MULE |
8033 EOF | 8377 EOF |
8034 cat >> confdefs.h <<\EOF | 8378 cat >> confdefs.h <<\EOF |
8035 #define MULE 1 | 8379 #define MULE 1 |
8050 | 8394 |
8051 for ac_hdr in libintl.h | 8395 for ac_hdr in libintl.h |
8052 do | 8396 do |
8053 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 8397 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
8054 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 8398 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
8055 echo "configure:8056: checking for $ac_hdr" >&5 | 8399 echo "configure:8400: checking for $ac_hdr" >&5 |
8056 | 8400 |
8057 cat > conftest.$ac_ext <<EOF | 8401 cat > conftest.$ac_ext <<EOF |
8058 #line 8059 "configure" | 8402 #line 8403 "configure" |
8059 #include "confdefs.h" | 8403 #include "confdefs.h" |
8060 #include <$ac_hdr> | 8404 #include <$ac_hdr> |
8061 EOF | 8405 EOF |
8062 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" |
8063 { (eval echo configure:8064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8407 { (eval echo configure:8408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8064 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8408 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8065 if test -z "$ac_err"; then | 8409 if test -z "$ac_err"; then |
8066 rm -rf conftest* | 8410 rm -rf conftest* |
8067 eval "ac_cv_header_$ac_safe=yes" | 8411 eval "ac_cv_header_$ac_safe=yes" |
8068 else | 8412 else |
8089 fi | 8433 fi |
8090 done | 8434 done |
8091 | 8435 |
8092 | 8436 |
8093 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 8437 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
8094 echo "configure:8095: checking for strerror in -lintl" >&5 | 8438 echo "configure:8439: checking for strerror in -lintl" >&5 |
8095 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 8439 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
8096 | 8440 |
8097 xe_check_libs=" -lintl " | 8441 xe_check_libs=" -lintl " |
8098 cat > conftest.$ac_ext <<EOF | 8442 cat > conftest.$ac_ext <<EOF |
8099 #line 8100 "configure" | 8443 #line 8444 "configure" |
8100 #include "confdefs.h" | 8444 #include "confdefs.h" |
8101 /* Override any gcc2 internal prototype to avoid an error. */ | 8445 /* Override any gcc2 internal prototype to avoid an error. */ |
8102 /* We use char because int might match the return type of a gcc2 | 8446 /* We use char because int might match the return type of a gcc2 |
8103 builtin and then its argument prototype would still apply. */ | 8447 builtin and then its argument prototype would still apply. */ |
8104 char strerror(); | 8448 char strerror(); |
8105 | 8449 |
8106 int main() { | 8450 int main() { |
8107 strerror() | 8451 strerror() |
8108 ; return 0; } | 8452 ; return 0; } |
8109 EOF | 8453 EOF |
8110 if { (eval echo configure:8111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8454 if { (eval echo configure:8455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8111 rm -rf conftest* | 8455 rm -rf conftest* |
8112 eval "ac_cv_lib_$ac_lib_var=yes" | 8456 eval "ac_cv_lib_$ac_lib_var=yes" |
8113 else | 8457 else |
8114 echo "configure: failed program was:" >&5 | 8458 echo "configure: failed program was:" >&5 |
8115 cat conftest.$ac_ext >&5 | 8459 cat conftest.$ac_ext >&5 |
8138 fi | 8482 fi |
8139 | 8483 |
8140 | 8484 |
8141 | 8485 |
8142 echo "checking for Mule input methods" 1>&6 | 8486 echo "checking for Mule input methods" 1>&6 |
8143 echo "configure:8144: checking for Mule input methods" >&5 | 8487 echo "configure:8488: checking for Mule input methods" >&5 |
8144 case "$with_xim" in "" | "yes" ) | 8488 case "$with_xim" in "" | "yes" ) |
8145 echo "checking for XIM" 1>&6 | 8489 echo "checking for XIM" 1>&6 |
8146 echo "configure:8147: checking for XIM" >&5 | 8490 echo "configure:8491: checking for XIM" >&5 |
8147 | 8491 |
8148 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 8492 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
8149 echo "configure:8150: checking for XOpenIM in -lX11" >&5 | 8493 echo "configure:8494: checking for XOpenIM in -lX11" >&5 |
8150 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 8494 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
8151 | 8495 |
8152 xe_check_libs=" -lX11 " | 8496 xe_check_libs=" -lX11 " |
8153 cat > conftest.$ac_ext <<EOF | 8497 cat > conftest.$ac_ext <<EOF |
8154 #line 8155 "configure" | 8498 #line 8499 "configure" |
8155 #include "confdefs.h" | 8499 #include "confdefs.h" |
8156 /* Override any gcc2 internal prototype to avoid an error. */ | 8500 /* Override any gcc2 internal prototype to avoid an error. */ |
8157 /* We use char because int might match the return type of a gcc2 | 8501 /* We use char because int might match the return type of a gcc2 |
8158 builtin and then its argument prototype would still apply. */ | 8502 builtin and then its argument prototype would still apply. */ |
8159 char XOpenIM(); | 8503 char XOpenIM(); |
8160 | 8504 |
8161 int main() { | 8505 int main() { |
8162 XOpenIM() | 8506 XOpenIM() |
8163 ; return 0; } | 8507 ; return 0; } |
8164 EOF | 8508 EOF |
8165 if { (eval echo configure:8166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8509 if { (eval echo configure:8510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8166 rm -rf conftest* | 8510 rm -rf conftest* |
8167 eval "ac_cv_lib_$ac_lib_var=yes" | 8511 eval "ac_cv_lib_$ac_lib_var=yes" |
8168 else | 8512 else |
8169 echo "configure: failed program was:" >&5 | 8513 echo "configure: failed program was:" >&5 |
8170 cat conftest.$ac_ext >&5 | 8514 cat conftest.$ac_ext >&5 |
8184 | 8528 |
8185 | 8529 |
8186 if test "$have_motif $have_lesstif" = "yes no"; then | 8530 if test "$have_motif $have_lesstif" = "yes no"; then |
8187 | 8531 |
8188 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 8532 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
8189 echo "configure:8190: checking for XmImMbLookupString in -lXm" >&5 | 8533 echo "configure:8534: checking for XmImMbLookupString in -lXm" >&5 |
8190 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 8534 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
8191 | 8535 |
8192 xe_check_libs=" -lXm " | 8536 xe_check_libs=" -lXm " |
8193 cat > conftest.$ac_ext <<EOF | 8537 cat > conftest.$ac_ext <<EOF |
8194 #line 8195 "configure" | 8538 #line 8539 "configure" |
8195 #include "confdefs.h" | 8539 #include "confdefs.h" |
8196 /* Override any gcc2 internal prototype to avoid an error. */ | 8540 /* Override any gcc2 internal prototype to avoid an error. */ |
8197 /* We use char because int might match the return type of a gcc2 | 8541 /* We use char because int might match the return type of a gcc2 |
8198 builtin and then its argument prototype would still apply. */ | 8542 builtin and then its argument prototype would still apply. */ |
8199 char XmImMbLookupString(); | 8543 char XmImMbLookupString(); |
8200 | 8544 |
8201 int main() { | 8545 int main() { |
8202 XmImMbLookupString() | 8546 XmImMbLookupString() |
8203 ; return 0; } | 8547 ; return 0; } |
8204 EOF | 8548 EOF |
8205 if { (eval echo configure:8206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8549 if { (eval echo configure:8550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8206 rm -rf conftest* | 8550 rm -rf conftest* |
8207 eval "ac_cv_lib_$ac_lib_var=yes" | 8551 eval "ac_cv_lib_$ac_lib_var=yes" |
8208 else | 8552 else |
8209 echo "configure: failed program was:" >&5 | 8553 echo "configure: failed program was:" >&5 |
8210 cat conftest.$ac_ext >&5 | 8554 cat conftest.$ac_ext >&5 |
8265 fi | 8609 fi |
8266 fi | 8610 fi |
8267 | 8611 |
8268 if test "$with_xfs" = "yes" ; then | 8612 if test "$with_xfs" = "yes" ; then |
8269 echo "checking for XFontSet" 1>&6 | 8613 echo "checking for XFontSet" 1>&6 |
8270 echo "configure:8271: checking for XFontSet" >&5 | 8614 echo "configure:8615: checking for XFontSet" >&5 |
8271 | 8615 |
8272 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 8616 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
8273 echo "configure:8274: checking for XmbDrawString in -lX11" >&5 | 8617 echo "configure:8618: checking for XmbDrawString in -lX11" >&5 |
8274 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 8618 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
8275 | 8619 |
8276 xe_check_libs=" -lX11 " | 8620 xe_check_libs=" -lX11 " |
8277 cat > conftest.$ac_ext <<EOF | 8621 cat > conftest.$ac_ext <<EOF |
8278 #line 8279 "configure" | 8622 #line 8623 "configure" |
8279 #include "confdefs.h" | 8623 #include "confdefs.h" |
8280 /* Override any gcc2 internal prototype to avoid an error. */ | 8624 /* Override any gcc2 internal prototype to avoid an error. */ |
8281 /* We use char because int might match the return type of a gcc2 | 8625 /* We use char because int might match the return type of a gcc2 |
8282 builtin and then its argument prototype would still apply. */ | 8626 builtin and then its argument prototype would still apply. */ |
8283 char XmbDrawString(); | 8627 char XmbDrawString(); |
8284 | 8628 |
8285 int main() { | 8629 int main() { |
8286 XmbDrawString() | 8630 XmbDrawString() |
8287 ; return 0; } | 8631 ; return 0; } |
8288 EOF | 8632 EOF |
8289 if { (eval echo configure:8290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8633 if { (eval echo configure:8634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8290 rm -rf conftest* | 8634 rm -rf conftest* |
8291 eval "ac_cv_lib_$ac_lib_var=yes" | 8635 eval "ac_cv_lib_$ac_lib_var=yes" |
8292 else | 8636 else |
8293 echo "configure: failed program was:" >&5 | 8637 echo "configure: failed program was:" >&5 |
8294 cat conftest.$ac_ext >&5 | 8638 cat conftest.$ac_ext >&5 |
8324 fi | 8668 fi |
8325 fi | 8669 fi |
8326 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 8670 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
8327 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 8671 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
8328 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 8672 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
8329 echo "configure:8330: checking for wnn/jllib.h" >&5 | 8673 echo "configure:8674: checking for wnn/jllib.h" >&5 |
8330 | 8674 |
8331 cat > conftest.$ac_ext <<EOF | 8675 cat > conftest.$ac_ext <<EOF |
8332 #line 8333 "configure" | 8676 #line 8677 "configure" |
8333 #include "confdefs.h" | 8677 #include "confdefs.h" |
8334 #include <wnn/jllib.h> | 8678 #include <wnn/jllib.h> |
8335 EOF | 8679 EOF |
8336 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8337 { (eval echo configure:8338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8681 { (eval echo configure:8682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8338 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8682 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8339 if test -z "$ac_err"; then | 8683 if test -z "$ac_err"; then |
8340 rm -rf conftest* | 8684 rm -rf conftest* |
8341 eval "ac_cv_header_$ac_safe=yes" | 8685 eval "ac_cv_header_$ac_safe=yes" |
8342 else | 8686 else |
8357 } | 8701 } |
8358 if test "$with_wnn" != "no"; then | 8702 if test "$with_wnn" != "no"; then |
8359 for ac_func in crypt | 8703 for ac_func in crypt |
8360 do | 8704 do |
8361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8705 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8362 echo "configure:8363: checking for $ac_func" >&5 | 8706 echo "configure:8707: checking for $ac_func" >&5 |
8363 | 8707 |
8364 cat > conftest.$ac_ext <<EOF | 8708 cat > conftest.$ac_ext <<EOF |
8365 #line 8366 "configure" | 8709 #line 8710 "configure" |
8366 #include "confdefs.h" | 8710 #include "confdefs.h" |
8367 /* System header to define __stub macros and hopefully few prototypes, | 8711 /* System header to define __stub macros and hopefully few prototypes, |
8368 which can conflict with char $ac_func(); below. */ | 8712 which can conflict with char $ac_func(); below. */ |
8369 #include <assert.h> | 8713 #include <assert.h> |
8370 /* Override any gcc2 internal prototype to avoid an error. */ | 8714 /* Override any gcc2 internal prototype to avoid an error. */ |
8383 $ac_func(); | 8727 $ac_func(); |
8384 #endif | 8728 #endif |
8385 | 8729 |
8386 ; return 0; } | 8730 ; return 0; } |
8387 EOF | 8731 EOF |
8388 if { (eval echo configure:8389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8732 if { (eval echo configure:8733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8389 rm -rf conftest* | 8733 rm -rf conftest* |
8390 eval "ac_cv_func_$ac_func=yes" | 8734 eval "ac_cv_func_$ac_func=yes" |
8391 else | 8735 else |
8392 echo "configure: failed program was:" >&5 | 8736 echo "configure: failed program was:" >&5 |
8393 cat conftest.$ac_ext >&5 | 8737 cat conftest.$ac_ext >&5 |
8412 fi | 8756 fi |
8413 done | 8757 done |
8414 | 8758 |
8415 test "$ac_cv_func_crypt" != "yes" && { | 8759 test "$ac_cv_func_crypt" != "yes" && { |
8416 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 8760 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
8417 echo "configure:8418: checking for crypt in -lcrypt" >&5 | 8761 echo "configure:8762: checking for crypt in -lcrypt" >&5 |
8418 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 8762 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
8419 | 8763 |
8420 xe_check_libs=" -lcrypt " | 8764 xe_check_libs=" -lcrypt " |
8421 cat > conftest.$ac_ext <<EOF | 8765 cat > conftest.$ac_ext <<EOF |
8422 #line 8423 "configure" | 8766 #line 8767 "configure" |
8423 #include "confdefs.h" | 8767 #include "confdefs.h" |
8424 /* Override any gcc2 internal prototype to avoid an error. */ | 8768 /* Override any gcc2 internal prototype to avoid an error. */ |
8425 /* We use char because int might match the return type of a gcc2 | 8769 /* We use char because int might match the return type of a gcc2 |
8426 builtin and then its argument prototype would still apply. */ | 8770 builtin and then its argument prototype would still apply. */ |
8427 char crypt(); | 8771 char crypt(); |
8428 | 8772 |
8429 int main() { | 8773 int main() { |
8430 crypt() | 8774 crypt() |
8431 ; return 0; } | 8775 ; return 0; } |
8432 EOF | 8776 EOF |
8433 if { (eval echo configure:8434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8777 if { (eval echo configure:8778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8434 rm -rf conftest* | 8778 rm -rf conftest* |
8435 eval "ac_cv_lib_$ac_lib_var=yes" | 8779 eval "ac_cv_lib_$ac_lib_var=yes" |
8436 else | 8780 else |
8437 echo "configure: failed program was:" >&5 | 8781 echo "configure: failed program was:" >&5 |
8438 cat conftest.$ac_ext >&5 | 8782 cat conftest.$ac_ext >&5 |
8463 } | 8807 } |
8464 fi | 8808 fi |
8465 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 8809 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
8466 | 8810 |
8467 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 8811 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
8468 echo "configure:8469: checking for jl_dic_list_e in -lwnn" >&5 | 8812 echo "configure:8813: checking for jl_dic_list_e in -lwnn" >&5 |
8469 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8813 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8470 | 8814 |
8471 xe_check_libs=" -lwnn " | 8815 xe_check_libs=" -lwnn " |
8472 cat > conftest.$ac_ext <<EOF | 8816 cat > conftest.$ac_ext <<EOF |
8473 #line 8474 "configure" | 8817 #line 8818 "configure" |
8474 #include "confdefs.h" | 8818 #include "confdefs.h" |
8475 /* Override any gcc2 internal prototype to avoid an error. */ | 8819 /* Override any gcc2 internal prototype to avoid an error. */ |
8476 /* We use char because int might match the return type of a gcc2 | 8820 /* We use char because int might match the return type of a gcc2 |
8477 builtin and then its argument prototype would still apply. */ | 8821 builtin and then its argument prototype would still apply. */ |
8478 char jl_dic_list_e(); | 8822 char jl_dic_list_e(); |
8479 | 8823 |
8480 int main() { | 8824 int main() { |
8481 jl_dic_list_e() | 8825 jl_dic_list_e() |
8482 ; return 0; } | 8826 ; return 0; } |
8483 EOF | 8827 EOF |
8484 if { (eval echo configure:8485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8828 if { (eval echo configure:8829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8485 rm -rf conftest* | 8829 rm -rf conftest* |
8486 eval "ac_cv_lib_$ac_lib_var=yes" | 8830 eval "ac_cv_lib_$ac_lib_var=yes" |
8487 else | 8831 else |
8488 echo "configure: failed program was:" >&5 | 8832 echo "configure: failed program was:" >&5 |
8489 cat conftest.$ac_ext >&5 | 8833 cat conftest.$ac_ext >&5 |
8497 echo "$ac_t""yes" 1>&6 | 8841 echo "$ac_t""yes" 1>&6 |
8498 libwnn=wnn | 8842 libwnn=wnn |
8499 else | 8843 else |
8500 echo "$ac_t""no" 1>&6 | 8844 echo "$ac_t""no" 1>&6 |
8501 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 8845 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
8502 echo "configure:8503: checking for jl_dic_list_e in -lwnn4" >&5 | 8846 echo "configure:8847: checking for jl_dic_list_e in -lwnn4" >&5 |
8503 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8847 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8504 | 8848 |
8505 xe_check_libs=" -lwnn4 " | 8849 xe_check_libs=" -lwnn4 " |
8506 cat > conftest.$ac_ext <<EOF | 8850 cat > conftest.$ac_ext <<EOF |
8507 #line 8508 "configure" | 8851 #line 8852 "configure" |
8508 #include "confdefs.h" | 8852 #include "confdefs.h" |
8509 /* Override any gcc2 internal prototype to avoid an error. */ | 8853 /* Override any gcc2 internal prototype to avoid an error. */ |
8510 /* We use char because int might match the return type of a gcc2 | 8854 /* We use char because int might match the return type of a gcc2 |
8511 builtin and then its argument prototype would still apply. */ | 8855 builtin and then its argument prototype would still apply. */ |
8512 char jl_dic_list_e(); | 8856 char jl_dic_list_e(); |
8513 | 8857 |
8514 int main() { | 8858 int main() { |
8515 jl_dic_list_e() | 8859 jl_dic_list_e() |
8516 ; return 0; } | 8860 ; return 0; } |
8517 EOF | 8861 EOF |
8518 if { (eval echo configure:8519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8862 if { (eval echo configure:8863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8519 rm -rf conftest* | 8863 rm -rf conftest* |
8520 eval "ac_cv_lib_$ac_lib_var=yes" | 8864 eval "ac_cv_lib_$ac_lib_var=yes" |
8521 else | 8865 else |
8522 echo "configure: failed program was:" >&5 | 8866 echo "configure: failed program was:" >&5 |
8523 cat conftest.$ac_ext >&5 | 8867 cat conftest.$ac_ext >&5 |
8531 echo "$ac_t""yes" 1>&6 | 8875 echo "$ac_t""yes" 1>&6 |
8532 libwnn=wnn4 | 8876 libwnn=wnn4 |
8533 else | 8877 else |
8534 echo "$ac_t""no" 1>&6 | 8878 echo "$ac_t""no" 1>&6 |
8535 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 8879 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
8536 echo "configure:8537: checking for jl_dic_list_e in -lwnn6" >&5 | 8880 echo "configure:8881: checking for jl_dic_list_e in -lwnn6" >&5 |
8537 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 8881 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
8538 | 8882 |
8539 xe_check_libs=" -lwnn6 " | 8883 xe_check_libs=" -lwnn6 " |
8540 cat > conftest.$ac_ext <<EOF | 8884 cat > conftest.$ac_ext <<EOF |
8541 #line 8542 "configure" | 8885 #line 8886 "configure" |
8542 #include "confdefs.h" | 8886 #include "confdefs.h" |
8543 /* Override any gcc2 internal prototype to avoid an error. */ | 8887 /* Override any gcc2 internal prototype to avoid an error. */ |
8544 /* We use char because int might match the return type of a gcc2 | 8888 /* We use char because int might match the return type of a gcc2 |
8545 builtin and then its argument prototype would still apply. */ | 8889 builtin and then its argument prototype would still apply. */ |
8546 char jl_dic_list_e(); | 8890 char jl_dic_list_e(); |
8547 | 8891 |
8548 int main() { | 8892 int main() { |
8549 jl_dic_list_e() | 8893 jl_dic_list_e() |
8550 ; return 0; } | 8894 ; return 0; } |
8551 EOF | 8895 EOF |
8552 if { (eval echo configure:8553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8896 if { (eval echo configure:8897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8553 rm -rf conftest* | 8897 rm -rf conftest* |
8554 eval "ac_cv_lib_$ac_lib_var=yes" | 8898 eval "ac_cv_lib_$ac_lib_var=yes" |
8555 else | 8899 else |
8556 echo "configure: failed program was:" >&5 | 8900 echo "configure: failed program was:" >&5 |
8557 cat conftest.$ac_ext >&5 | 8901 cat conftest.$ac_ext >&5 |
8565 echo "$ac_t""yes" 1>&6 | 8909 echo "$ac_t""yes" 1>&6 |
8566 libwnn=wnn6 | 8910 libwnn=wnn6 |
8567 else | 8911 else |
8568 echo "$ac_t""no" 1>&6 | 8912 echo "$ac_t""no" 1>&6 |
8569 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 8913 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
8570 echo "configure:8571: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 8914 echo "configure:8915: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
8571 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 8915 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
8572 | 8916 |
8573 xe_check_libs=" -lwnn6_fromsrc " | 8917 xe_check_libs=" -lwnn6_fromsrc " |
8574 cat > conftest.$ac_ext <<EOF | 8918 cat > conftest.$ac_ext <<EOF |
8575 #line 8576 "configure" | 8919 #line 8920 "configure" |
8576 #include "confdefs.h" | 8920 #include "confdefs.h" |
8577 /* Override any gcc2 internal prototype to avoid an error. */ | 8921 /* Override any gcc2 internal prototype to avoid an error. */ |
8578 /* We use char because int might match the return type of a gcc2 | 8922 /* We use char because int might match the return type of a gcc2 |
8579 builtin and then its argument prototype would still apply. */ | 8923 builtin and then its argument prototype would still apply. */ |
8580 char dic_list_e(); | 8924 char dic_list_e(); |
8581 | 8925 |
8582 int main() { | 8926 int main() { |
8583 dic_list_e() | 8927 dic_list_e() |
8584 ; return 0; } | 8928 ; return 0; } |
8585 EOF | 8929 EOF |
8586 if { (eval echo configure:8587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8930 if { (eval echo configure:8931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8587 rm -rf conftest* | 8931 rm -rf conftest* |
8588 eval "ac_cv_lib_$ac_lib_var=yes" | 8932 eval "ac_cv_lib_$ac_lib_var=yes" |
8589 else | 8933 else |
8590 echo "configure: failed program was:" >&5 | 8934 echo "configure: failed program was:" >&5 |
8591 cat conftest.$ac_ext >&5 | 8935 cat conftest.$ac_ext >&5 |
8629 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 8973 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
8630 fi | 8974 fi |
8631 if test "$with_wnn6" != "no"; then | 8975 if test "$with_wnn6" != "no"; then |
8632 | 8976 |
8633 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 8977 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
8634 echo "configure:8635: checking for jl_fi_dic_list in -l$libwnn" >&5 | 8978 echo "configure:8979: checking for jl_fi_dic_list in -l$libwnn" >&5 |
8635 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 8979 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
8636 | 8980 |
8637 xe_check_libs=" -l$libwnn " | 8981 xe_check_libs=" -l$libwnn " |
8638 cat > conftest.$ac_ext <<EOF | 8982 cat > conftest.$ac_ext <<EOF |
8639 #line 8640 "configure" | 8983 #line 8984 "configure" |
8640 #include "confdefs.h" | 8984 #include "confdefs.h" |
8641 /* Override any gcc2 internal prototype to avoid an error. */ | 8985 /* Override any gcc2 internal prototype to avoid an error. */ |
8642 /* We use char because int might match the return type of a gcc2 | 8986 /* We use char because int might match the return type of a gcc2 |
8643 builtin and then its argument prototype would still apply. */ | 8987 builtin and then its argument prototype would still apply. */ |
8644 char jl_fi_dic_list(); | 8988 char jl_fi_dic_list(); |
8645 | 8989 |
8646 int main() { | 8990 int main() { |
8647 jl_fi_dic_list() | 8991 jl_fi_dic_list() |
8648 ; return 0; } | 8992 ; return 0; } |
8649 EOF | 8993 EOF |
8650 if { (eval echo configure:8651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8994 if { (eval echo configure:8995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8651 rm -rf conftest* | 8995 rm -rf conftest* |
8652 eval "ac_cv_lib_$ac_lib_var=yes" | 8996 eval "ac_cv_lib_$ac_lib_var=yes" |
8653 else | 8997 else |
8654 echo "configure: failed program was:" >&5 | 8998 echo "configure: failed program was:" >&5 |
8655 cat conftest.$ac_ext >&5 | 8999 cat conftest.$ac_ext >&5 |
8680 | 9024 |
8681 canna_includes_found=no | 9025 canna_includes_found=no |
8682 if test "$with_canna" != "no"; then | 9026 if test "$with_canna" != "no"; then |
8683 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9027 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8684 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9028 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8685 echo "configure:8686: checking for canna/jrkanji.h" >&5 | 9029 echo "configure:9030: checking for canna/jrkanji.h" >&5 |
8686 | 9030 |
8687 cat > conftest.$ac_ext <<EOF | 9031 cat > conftest.$ac_ext <<EOF |
8688 #line 8689 "configure" | 9032 #line 9033 "configure" |
8689 #include "confdefs.h" | 9033 #include "confdefs.h" |
8690 #include <canna/jrkanji.h> | 9034 #include <canna/jrkanji.h> |
8691 EOF | 9035 EOF |
8692 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8693 { (eval echo configure:8694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9037 { (eval echo configure:9038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8694 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8695 if test -z "$ac_err"; then | 9039 if test -z "$ac_err"; then |
8696 rm -rf conftest* | 9040 rm -rf conftest* |
8697 eval "ac_cv_header_$ac_safe=yes" | 9041 eval "ac_cv_header_$ac_safe=yes" |
8698 else | 9042 else |
8715 -d "/usr/local/canna/include"; then | 9059 -d "/usr/local/canna/include"; then |
8716 save_c_switch_site="$c_switch_site" | 9060 save_c_switch_site="$c_switch_site" |
8717 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 9061 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
8718 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9062 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
8719 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9063 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
8720 echo "configure:8721: checking for canna/jrkanji.h" >&5 | 9064 echo "configure:9065: checking for canna/jrkanji.h" >&5 |
8721 | 9065 |
8722 cat > conftest.$ac_ext <<EOF | 9066 cat > conftest.$ac_ext <<EOF |
8723 #line 8724 "configure" | 9067 #line 9068 "configure" |
8724 #include "confdefs.h" | 9068 #include "confdefs.h" |
8725 #include <canna/jrkanji.h> | 9069 #include <canna/jrkanji.h> |
8726 EOF | 9070 EOF |
8727 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9071 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8728 { (eval echo configure:8729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9072 { (eval echo configure:9073: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8729 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9073 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8730 if test -z "$ac_err"; then | 9074 if test -z "$ac_err"; then |
8731 rm -rf conftest* | 9075 rm -rf conftest* |
8732 eval "ac_cv_header_$ac_safe=yes" | 9076 eval "ac_cv_header_$ac_safe=yes" |
8733 else | 9077 else |
8751 fi | 9095 fi |
8752 fi | 9096 fi |
8753 | 9097 |
8754 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 9098 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
8755 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 9099 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
8756 echo "configure:8757: checking for canna/RK.h" >&5 | 9100 echo "configure:9101: checking for canna/RK.h" >&5 |
8757 | 9101 |
8758 cat > conftest.$ac_ext <<EOF | 9102 cat > conftest.$ac_ext <<EOF |
8759 #line 8760 "configure" | 9103 #line 9104 "configure" |
8760 #include "confdefs.h" | 9104 #include "confdefs.h" |
8761 #include <canna/RK.h> | 9105 #include <canna/RK.h> |
8762 EOF | 9106 EOF |
8763 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9107 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8764 { (eval echo configure:8765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9108 { (eval echo configure:9109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8765 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9109 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8766 if test -z "$ac_err"; then | 9110 if test -z "$ac_err"; then |
8767 rm -rf conftest* | 9111 rm -rf conftest* |
8768 eval "ac_cv_header_$ac_safe=yes" | 9112 eval "ac_cv_header_$ac_safe=yes" |
8769 else | 9113 else |
8782 with_canna=no | 9126 with_canna=no |
8783 fi | 9127 fi |
8784 } | 9128 } |
8785 test -z "$with_canna" && { | 9129 test -z "$with_canna" && { |
8786 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 9130 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
8787 echo "configure:8788: checking for RkBgnBun in -lRKC" >&5 | 9131 echo "configure:9132: checking for RkBgnBun in -lRKC" >&5 |
8788 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 9132 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
8789 | 9133 |
8790 xe_check_libs=" -lRKC " | 9134 xe_check_libs=" -lRKC " |
8791 cat > conftest.$ac_ext <<EOF | 9135 cat > conftest.$ac_ext <<EOF |
8792 #line 8793 "configure" | 9136 #line 9137 "configure" |
8793 #include "confdefs.h" | 9137 #include "confdefs.h" |
8794 /* Override any gcc2 internal prototype to avoid an error. */ | 9138 /* Override any gcc2 internal prototype to avoid an error. */ |
8795 /* We use char because int might match the return type of a gcc2 | 9139 /* We use char because int might match the return type of a gcc2 |
8796 builtin and then its argument prototype would still apply. */ | 9140 builtin and then its argument prototype would still apply. */ |
8797 char RkBgnBun(); | 9141 char RkBgnBun(); |
8798 | 9142 |
8799 int main() { | 9143 int main() { |
8800 RkBgnBun() | 9144 RkBgnBun() |
8801 ; return 0; } | 9145 ; return 0; } |
8802 EOF | 9146 EOF |
8803 if { (eval echo configure:8804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9147 if { (eval echo configure:9148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8804 rm -rf conftest* | 9148 rm -rf conftest* |
8805 eval "ac_cv_lib_$ac_lib_var=yes" | 9149 eval "ac_cv_lib_$ac_lib_var=yes" |
8806 else | 9150 else |
8807 echo "configure: failed program was:" >&5 | 9151 echo "configure: failed program was:" >&5 |
8808 cat conftest.$ac_ext >&5 | 9152 cat conftest.$ac_ext >&5 |
8821 fi | 9165 fi |
8822 | 9166 |
8823 } | 9167 } |
8824 test -z "$with_canna" && { | 9168 test -z "$with_canna" && { |
8825 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 9169 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
8826 echo "configure:8827: checking for jrKanjiControl in -lcanna" >&5 | 9170 echo "configure:9171: checking for jrKanjiControl in -lcanna" >&5 |
8827 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 9171 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
8828 | 9172 |
8829 xe_check_libs=" -lcanna " | 9173 xe_check_libs=" -lcanna " |
8830 cat > conftest.$ac_ext <<EOF | 9174 cat > conftest.$ac_ext <<EOF |
8831 #line 8832 "configure" | 9175 #line 9176 "configure" |
8832 #include "confdefs.h" | 9176 #include "confdefs.h" |
8833 /* Override any gcc2 internal prototype to avoid an error. */ | 9177 /* Override any gcc2 internal prototype to avoid an error. */ |
8834 /* We use char because int might match the return type of a gcc2 | 9178 /* We use char because int might match the return type of a gcc2 |
8835 builtin and then its argument prototype would still apply. */ | 9179 builtin and then its argument prototype would still apply. */ |
8836 char jrKanjiControl(); | 9180 char jrKanjiControl(); |
8837 | 9181 |
8838 int main() { | 9182 int main() { |
8839 jrKanjiControl() | 9183 jrKanjiControl() |
8840 ; return 0; } | 9184 ; return 0; } |
8841 EOF | 9185 EOF |
8842 if { (eval echo configure:8843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9186 if { (eval echo configure:9187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8843 rm -rf conftest* | 9187 rm -rf conftest* |
8844 eval "ac_cv_lib_$ac_lib_var=yes" | 9188 eval "ac_cv_lib_$ac_lib_var=yes" |
8845 else | 9189 else |
8846 echo "configure: failed program was:" >&5 | 9190 echo "configure: failed program was:" >&5 |
8847 cat conftest.$ac_ext >&5 | 9191 cat conftest.$ac_ext >&5 |
8886 | 9230 |
8887 if test "$need_motif" = "yes" ; then | 9231 if test "$need_motif" = "yes" ; then |
8888 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 9232 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
8889 | 9233 |
8890 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 9234 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
8891 echo "configure:8892: checking for layout_object_getvalue in -li18n" >&5 | 9235 echo "configure:9236: checking for layout_object_getvalue in -li18n" >&5 |
8892 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 9236 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
8893 | 9237 |
8894 xe_check_libs=" -li18n " | 9238 xe_check_libs=" -li18n " |
8895 cat > conftest.$ac_ext <<EOF | 9239 cat > conftest.$ac_ext <<EOF |
8896 #line 8897 "configure" | 9240 #line 9241 "configure" |
8897 #include "confdefs.h" | 9241 #include "confdefs.h" |
8898 /* Override any gcc2 internal prototype to avoid an error. */ | 9242 /* Override any gcc2 internal prototype to avoid an error. */ |
8899 /* We use char because int might match the return type of a gcc2 | 9243 /* We use char because int might match the return type of a gcc2 |
8900 builtin and then its argument prototype would still apply. */ | 9244 builtin and then its argument prototype would still apply. */ |
8901 char layout_object_getvalue(); | 9245 char layout_object_getvalue(); |
8902 | 9246 |
8903 int main() { | 9247 int main() { |
8904 layout_object_getvalue() | 9248 layout_object_getvalue() |
8905 ; return 0; } | 9249 ; return 0; } |
8906 EOF | 9250 EOF |
8907 if { (eval echo configure:8908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9251 if { (eval echo configure:9252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8908 rm -rf conftest* | 9252 rm -rf conftest* |
8909 eval "ac_cv_lib_$ac_lib_var=yes" | 9253 eval "ac_cv_lib_$ac_lib_var=yes" |
8910 else | 9254 else |
8911 echo "configure: failed program was:" >&5 | 9255 echo "configure: failed program was:" >&5 |
8912 cat conftest.$ac_ext >&5 | 9256 cat conftest.$ac_ext >&5 |
8988 fi | 9332 fi |
8989 | 9333 |
8990 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname 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 | 9334 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime gethostname 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 |
8991 do | 9335 do |
8992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9336 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8993 echo "configure:8994: checking for $ac_func" >&5 | 9337 echo "configure:9338: checking for $ac_func" >&5 |
8994 | 9338 |
8995 cat > conftest.$ac_ext <<EOF | 9339 cat > conftest.$ac_ext <<EOF |
8996 #line 8997 "configure" | 9340 #line 9341 "configure" |
8997 #include "confdefs.h" | 9341 #include "confdefs.h" |
8998 /* System header to define __stub macros and hopefully few prototypes, | 9342 /* System header to define __stub macros and hopefully few prototypes, |
8999 which can conflict with char $ac_func(); below. */ | 9343 which can conflict with char $ac_func(); below. */ |
9000 #include <assert.h> | 9344 #include <assert.h> |
9001 /* Override any gcc2 internal prototype to avoid an error. */ | 9345 /* Override any gcc2 internal prototype to avoid an error. */ |
9014 $ac_func(); | 9358 $ac_func(); |
9015 #endif | 9359 #endif |
9016 | 9360 |
9017 ; return 0; } | 9361 ; return 0; } |
9018 EOF | 9362 EOF |
9019 if { (eval echo configure:9020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9363 if { (eval echo configure:9364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9020 rm -rf conftest* | 9364 rm -rf conftest* |
9021 eval "ac_cv_func_$ac_func=yes" | 9365 eval "ac_cv_func_$ac_func=yes" |
9022 else | 9366 else |
9023 echo "configure: failed program was:" >&5 | 9367 echo "configure: failed program was:" >&5 |
9024 cat conftest.$ac_ext >&5 | 9368 cat conftest.$ac_ext >&5 |
9055 echo " xemacs will be linked with \"realpath.o\"" | 9399 echo " xemacs will be linked with \"realpath.o\"" |
9056 fi ;; | 9400 fi ;; |
9057 * ) for ac_func in realpath | 9401 * ) for ac_func in realpath |
9058 do | 9402 do |
9059 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9403 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9060 echo "configure:9061: checking for $ac_func" >&5 | 9404 echo "configure:9405: checking for $ac_func" >&5 |
9061 | 9405 |
9062 cat > conftest.$ac_ext <<EOF | 9406 cat > conftest.$ac_ext <<EOF |
9063 #line 9064 "configure" | 9407 #line 9408 "configure" |
9064 #include "confdefs.h" | 9408 #include "confdefs.h" |
9065 /* System header to define __stub macros and hopefully few prototypes, | 9409 /* System header to define __stub macros and hopefully few prototypes, |
9066 which can conflict with char $ac_func(); below. */ | 9410 which can conflict with char $ac_func(); below. */ |
9067 #include <assert.h> | 9411 #include <assert.h> |
9068 /* Override any gcc2 internal prototype to avoid an error. */ | 9412 /* Override any gcc2 internal prototype to avoid an error. */ |
9081 $ac_func(); | 9425 $ac_func(); |
9082 #endif | 9426 #endif |
9083 | 9427 |
9084 ; return 0; } | 9428 ; return 0; } |
9085 EOF | 9429 EOF |
9086 if { (eval echo configure:9087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9430 if { (eval echo configure:9431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9087 rm -rf conftest* | 9431 rm -rf conftest* |
9088 eval "ac_cv_func_$ac_func=yes" | 9432 eval "ac_cv_func_$ac_func=yes" |
9089 else | 9433 else |
9090 echo "configure: failed program was:" >&5 | 9434 echo "configure: failed program was:" >&5 |
9091 cat conftest.$ac_ext >&5 | 9435 cat conftest.$ac_ext >&5 |
9117 esac | 9461 esac |
9118 | 9462 |
9119 for ac_func in getloadavg | 9463 for ac_func in getloadavg |
9120 do | 9464 do |
9121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9465 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9122 echo "configure:9123: checking for $ac_func" >&5 | 9466 echo "configure:9467: checking for $ac_func" >&5 |
9123 | 9467 |
9124 cat > conftest.$ac_ext <<EOF | 9468 cat > conftest.$ac_ext <<EOF |
9125 #line 9126 "configure" | 9469 #line 9470 "configure" |
9126 #include "confdefs.h" | 9470 #include "confdefs.h" |
9127 /* System header to define __stub macros and hopefully few prototypes, | 9471 /* System header to define __stub macros and hopefully few prototypes, |
9128 which can conflict with char $ac_func(); below. */ | 9472 which can conflict with char $ac_func(); below. */ |
9129 #include <assert.h> | 9473 #include <assert.h> |
9130 /* Override any gcc2 internal prototype to avoid an error. */ | 9474 /* Override any gcc2 internal prototype to avoid an error. */ |
9143 $ac_func(); | 9487 $ac_func(); |
9144 #endif | 9488 #endif |
9145 | 9489 |
9146 ; return 0; } | 9490 ; return 0; } |
9147 EOF | 9491 EOF |
9148 if { (eval echo configure:9149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9492 if { (eval echo configure:9493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9149 rm -rf conftest* | 9493 rm -rf conftest* |
9150 eval "ac_cv_func_$ac_func=yes" | 9494 eval "ac_cv_func_$ac_func=yes" |
9151 else | 9495 else |
9152 echo "configure: failed program was:" >&5 | 9496 echo "configure: failed program was:" >&5 |
9153 cat conftest.$ac_ext >&5 | 9497 cat conftest.$ac_ext >&5 |
9179 echo " xemacs will be linked with \"getloadavg.o\"" | 9523 echo " xemacs will be linked with \"getloadavg.o\"" |
9180 fi | 9524 fi |
9181 | 9525 |
9182 | 9526 |
9183 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 9527 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
9184 echo "configure:9185: checking for kstat_open in -lkstat" >&5 | 9528 echo "configure:9529: checking for kstat_open in -lkstat" >&5 |
9185 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 9529 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
9186 | 9530 |
9187 xe_check_libs=" -lkstat " | 9531 xe_check_libs=" -lkstat " |
9188 cat > conftest.$ac_ext <<EOF | 9532 cat > conftest.$ac_ext <<EOF |
9189 #line 9190 "configure" | 9533 #line 9534 "configure" |
9190 #include "confdefs.h" | 9534 #include "confdefs.h" |
9191 /* Override any gcc2 internal prototype to avoid an error. */ | 9535 /* Override any gcc2 internal prototype to avoid an error. */ |
9192 /* We use char because int might match the return type of a gcc2 | 9536 /* We use char because int might match the return type of a gcc2 |
9193 builtin and then its argument prototype would still apply. */ | 9537 builtin and then its argument prototype would still apply. */ |
9194 char kstat_open(); | 9538 char kstat_open(); |
9195 | 9539 |
9196 int main() { | 9540 int main() { |
9197 kstat_open() | 9541 kstat_open() |
9198 ; return 0; } | 9542 ; return 0; } |
9199 EOF | 9543 EOF |
9200 if { (eval echo configure:9201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9544 if { (eval echo configure:9545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9201 rm -rf conftest* | 9545 rm -rf conftest* |
9202 eval "ac_cv_lib_$ac_lib_var=yes" | 9546 eval "ac_cv_lib_$ac_lib_var=yes" |
9203 else | 9547 else |
9204 echo "configure: failed program was:" >&5 | 9548 echo "configure: failed program was:" >&5 |
9205 cat conftest.$ac_ext >&5 | 9549 cat conftest.$ac_ext >&5 |
9229 | 9573 |
9230 | 9574 |
9231 | 9575 |
9232 | 9576 |
9233 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 9577 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
9234 echo "configure:9235: checking for kvm_read in -lkvm" >&5 | 9578 echo "configure:9579: checking for kvm_read in -lkvm" >&5 |
9235 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 9579 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
9236 | 9580 |
9237 xe_check_libs=" -lkvm " | 9581 xe_check_libs=" -lkvm " |
9238 cat > conftest.$ac_ext <<EOF | 9582 cat > conftest.$ac_ext <<EOF |
9239 #line 9240 "configure" | 9583 #line 9584 "configure" |
9240 #include "confdefs.h" | 9584 #include "confdefs.h" |
9241 /* Override any gcc2 internal prototype to avoid an error. */ | 9585 /* Override any gcc2 internal prototype to avoid an error. */ |
9242 /* We use char because int might match the return type of a gcc2 | 9586 /* We use char because int might match the return type of a gcc2 |
9243 builtin and then its argument prototype would still apply. */ | 9587 builtin and then its argument prototype would still apply. */ |
9244 char kvm_read(); | 9588 char kvm_read(); |
9245 | 9589 |
9246 int main() { | 9590 int main() { |
9247 kvm_read() | 9591 kvm_read() |
9248 ; return 0; } | 9592 ; return 0; } |
9249 EOF | 9593 EOF |
9250 if { (eval echo configure:9251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9594 if { (eval echo configure:9595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9251 rm -rf conftest* | 9595 rm -rf conftest* |
9252 eval "ac_cv_lib_$ac_lib_var=yes" | 9596 eval "ac_cv_lib_$ac_lib_var=yes" |
9253 else | 9597 else |
9254 echo "configure: failed program was:" >&5 | 9598 echo "configure: failed program was:" >&5 |
9255 cat conftest.$ac_ext >&5 | 9599 cat conftest.$ac_ext >&5 |
9279 | 9623 |
9280 | 9624 |
9281 fi | 9625 fi |
9282 | 9626 |
9283 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 9627 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
9284 echo "configure:9285: checking whether netdb declares h_errno" >&5 | 9628 echo "configure:9629: checking whether netdb declares h_errno" >&5 |
9285 cat > conftest.$ac_ext <<EOF | 9629 cat > conftest.$ac_ext <<EOF |
9286 #line 9287 "configure" | 9630 #line 9631 "configure" |
9287 #include "confdefs.h" | 9631 #include "confdefs.h" |
9288 #include <netdb.h> | 9632 #include <netdb.h> |
9289 int main() { | 9633 int main() { |
9290 return h_errno; | 9634 return h_errno; |
9291 ; return 0; } | 9635 ; return 0; } |
9292 EOF | 9636 EOF |
9293 if { (eval echo configure:9294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9637 if { (eval echo configure:9638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9294 rm -rf conftest* | 9638 rm -rf conftest* |
9295 echo "$ac_t""yes" 1>&6 | 9639 echo "$ac_t""yes" 1>&6 |
9296 { test "$extra_verbose" = "yes" && cat << \EOF | 9640 { test "$extra_verbose" = "yes" && cat << \EOF |
9297 Defining HAVE_H_ERRNO | 9641 Defining HAVE_H_ERRNO |
9298 EOF | 9642 EOF |
9308 echo "$ac_t""no" 1>&6 | 9652 echo "$ac_t""no" 1>&6 |
9309 fi | 9653 fi |
9310 rm -f conftest* | 9654 rm -f conftest* |
9311 | 9655 |
9312 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 9656 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
9313 echo "configure:9314: checking for sigsetjmp" >&5 | 9657 echo "configure:9658: checking for sigsetjmp" >&5 |
9314 cat > conftest.$ac_ext <<EOF | 9658 cat > conftest.$ac_ext <<EOF |
9315 #line 9316 "configure" | 9659 #line 9660 "configure" |
9316 #include "confdefs.h" | 9660 #include "confdefs.h" |
9317 #include <setjmp.h> | 9661 #include <setjmp.h> |
9318 int main() { | 9662 int main() { |
9319 sigjmp_buf bar; sigsetjmp (bar, 0); | 9663 sigjmp_buf bar; sigsetjmp (bar, 0); |
9320 ; return 0; } | 9664 ; return 0; } |
9321 EOF | 9665 EOF |
9322 if { (eval echo configure:9323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9666 if { (eval echo configure:9667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9323 rm -rf conftest* | 9667 rm -rf conftest* |
9324 echo "$ac_t""yes" 1>&6 | 9668 echo "$ac_t""yes" 1>&6 |
9325 { test "$extra_verbose" = "yes" && cat << \EOF | 9669 { test "$extra_verbose" = "yes" && cat << \EOF |
9326 Defining HAVE_SIGSETJMP | 9670 Defining HAVE_SIGSETJMP |
9327 EOF | 9671 EOF |
9337 echo "$ac_t""no" 1>&6 | 9681 echo "$ac_t""no" 1>&6 |
9338 fi | 9682 fi |
9339 rm -f conftest* | 9683 rm -f conftest* |
9340 | 9684 |
9341 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 9685 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
9342 echo "configure:9343: checking whether localtime caches TZ" >&5 | 9686 echo "configure:9687: checking whether localtime caches TZ" >&5 |
9343 | 9687 |
9344 if test "$ac_cv_func_tzset" = "yes"; then | 9688 if test "$ac_cv_func_tzset" = "yes"; then |
9345 cat > conftest.$ac_ext <<EOF | 9689 cat > conftest.$ac_ext <<EOF |
9346 #line 9347 "configure" | 9690 #line 9691 "configure" |
9347 #include "confdefs.h" | 9691 #include "confdefs.h" |
9348 #include <time.h> | 9692 #include <time.h> |
9349 #if STDC_HEADERS | 9693 #if STDC_HEADERS |
9350 # include <stdlib.h> | 9694 # include <stdlib.h> |
9351 #endif | 9695 #endif |
9376 if (localtime (&now)->tm_hour != hour_unset) | 9720 if (localtime (&now)->tm_hour != hour_unset) |
9377 exit (1); | 9721 exit (1); |
9378 exit (0); | 9722 exit (0); |
9379 } | 9723 } |
9380 EOF | 9724 EOF |
9381 if { (eval echo configure:9382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9725 if { (eval echo configure:9726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9382 then | 9726 then |
9383 emacs_cv_localtime_cache=no | 9727 emacs_cv_localtime_cache=no |
9384 else | 9728 else |
9385 conftest_rc="$?" | 9729 conftest_rc="$?" |
9386 echo "configure: failed program was:" >&5 | 9730 echo "configure: failed program was:" >&5 |
9406 | 9750 |
9407 fi | 9751 fi |
9408 | 9752 |
9409 if test "$HAVE_TIMEVAL" = "yes"; then | 9753 if test "$HAVE_TIMEVAL" = "yes"; then |
9410 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 9754 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
9411 echo "configure:9412: checking whether gettimeofday accepts one or two arguments" >&5 | 9755 echo "configure:9756: checking whether gettimeofday accepts one or two arguments" >&5 |
9412 cat > conftest.$ac_ext <<EOF | 9756 cat > conftest.$ac_ext <<EOF |
9413 #line 9414 "configure" | 9757 #line 9758 "configure" |
9414 #include "confdefs.h" | 9758 #include "confdefs.h" |
9415 | 9759 |
9416 #ifdef TIME_WITH_SYS_TIME | 9760 #ifdef TIME_WITH_SYS_TIME |
9417 #include <sys/time.h> | 9761 #include <sys/time.h> |
9418 #include <time.h> | 9762 #include <time.h> |
9430 struct timezone dummy; | 9774 struct timezone dummy; |
9431 gettimeofday (&time, &dummy); | 9775 gettimeofday (&time, &dummy); |
9432 | 9776 |
9433 ; return 0; } | 9777 ; return 0; } |
9434 EOF | 9778 EOF |
9435 if { (eval echo configure:9436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9779 if { (eval echo configure:9780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9436 rm -rf conftest* | 9780 rm -rf conftest* |
9437 echo "$ac_t""two" 1>&6 | 9781 echo "$ac_t""two" 1>&6 |
9438 else | 9782 else |
9439 echo "configure: failed program was:" >&5 | 9783 echo "configure: failed program was:" >&5 |
9440 cat conftest.$ac_ext >&5 | 9784 cat conftest.$ac_ext >&5 |
9452 rm -f conftest* | 9796 rm -f conftest* |
9453 fi | 9797 fi |
9454 | 9798 |
9455 | 9799 |
9456 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 9800 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
9457 echo "configure:9458: checking for inline" >&5 | 9801 echo "configure:9802: checking for inline" >&5 |
9458 | 9802 |
9459 ac_cv_c_inline=no | 9803 ac_cv_c_inline=no |
9460 for ac_kw in inline __inline__ __inline; do | 9804 for ac_kw in inline __inline__ __inline; do |
9461 cat > conftest.$ac_ext <<EOF | 9805 cat > conftest.$ac_ext <<EOF |
9462 #line 9463 "configure" | 9806 #line 9807 "configure" |
9463 #include "confdefs.h" | 9807 #include "confdefs.h" |
9464 | 9808 |
9465 int main() { | 9809 int main() { |
9466 } $ac_kw foo() { | 9810 } $ac_kw foo() { |
9467 ; return 0; } | 9811 ; return 0; } |
9468 EOF | 9812 EOF |
9469 if { (eval echo configure:9470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 9813 if { (eval echo configure:9814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9470 rm -rf conftest* | 9814 rm -rf conftest* |
9471 ac_cv_c_inline=$ac_kw; break | 9815 ac_cv_c_inline=$ac_kw; break |
9472 else | 9816 else |
9473 echo "configure: failed program was:" >&5 | 9817 echo "configure: failed program was:" >&5 |
9474 cat conftest.$ac_ext >&5 | 9818 cat conftest.$ac_ext >&5 |
9514 | 9858 |
9515 | 9859 |
9516 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 9860 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
9517 # for constant arguments. Useless! | 9861 # for constant arguments. Useless! |
9518 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 9862 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
9519 echo "configure:9520: checking for working alloca.h" >&5 | 9863 echo "configure:9864: checking for working alloca.h" >&5 |
9520 | 9864 |
9521 cat > conftest.$ac_ext <<EOF | 9865 cat > conftest.$ac_ext <<EOF |
9522 #line 9523 "configure" | 9866 #line 9867 "configure" |
9523 #include "confdefs.h" | 9867 #include "confdefs.h" |
9524 #include <alloca.h> | 9868 #include <alloca.h> |
9525 int main() { | 9869 int main() { |
9526 char *p = alloca(2 * sizeof(int)); | 9870 char *p = alloca(2 * sizeof(int)); |
9527 ; return 0; } | 9871 ; return 0; } |
9528 EOF | 9872 EOF |
9529 if { (eval echo configure:9530: \"$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 |
9530 rm -rf conftest* | 9874 rm -rf conftest* |
9531 ac_cv_header_alloca_h=yes | 9875 ac_cv_header_alloca_h=yes |
9532 else | 9876 else |
9533 echo "configure: failed program was:" >&5 | 9877 echo "configure: failed program was:" >&5 |
9534 cat conftest.$ac_ext >&5 | 9878 cat conftest.$ac_ext >&5 |
9548 } | 9892 } |
9549 | 9893 |
9550 fi | 9894 fi |
9551 | 9895 |
9552 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 9896 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
9553 echo "configure:9554: checking for alloca" >&5 | 9897 echo "configure:9898: checking for alloca" >&5 |
9554 | 9898 |
9555 cat > conftest.$ac_ext <<EOF | 9899 cat > conftest.$ac_ext <<EOF |
9556 #line 9557 "configure" | 9900 #line 9901 "configure" |
9557 #include "confdefs.h" | 9901 #include "confdefs.h" |
9558 | 9902 |
9559 #ifdef __GNUC__ | 9903 #ifdef __GNUC__ |
9560 # define alloca __builtin_alloca | 9904 # define alloca __builtin_alloca |
9561 #else | 9905 #else |
9579 | 9923 |
9580 int main() { | 9924 int main() { |
9581 char *p = (char *) alloca(1); | 9925 char *p = (char *) alloca(1); |
9582 ; return 0; } | 9926 ; return 0; } |
9583 EOF | 9927 EOF |
9584 if { (eval echo configure:9585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9928 if { (eval echo configure:9929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9585 rm -rf conftest* | 9929 rm -rf conftest* |
9586 ac_cv_func_alloca_works=yes | 9930 ac_cv_func_alloca_works=yes |
9587 else | 9931 else |
9588 echo "configure: failed program was:" >&5 | 9932 echo "configure: failed program was:" >&5 |
9589 cat conftest.$ac_ext >&5 | 9933 cat conftest.$ac_ext >&5 |
9618 EOF | 9962 EOF |
9619 } | 9963 } |
9620 | 9964 |
9621 | 9965 |
9622 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 9966 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
9623 echo "configure:9624: checking whether alloca needs Cray hooks" >&5 | 9967 echo "configure:9968: checking whether alloca needs Cray hooks" >&5 |
9624 | 9968 |
9625 cat > conftest.$ac_ext <<EOF | 9969 cat > conftest.$ac_ext <<EOF |
9626 #line 9627 "configure" | 9970 #line 9971 "configure" |
9627 #include "confdefs.h" | 9971 #include "confdefs.h" |
9628 #if defined(CRAY) && ! defined(CRAY2) | 9972 #if defined(CRAY) && ! defined(CRAY2) |
9629 webecray | 9973 webecray |
9630 #else | 9974 #else |
9631 wenotbecray | 9975 wenotbecray |
9645 | 9989 |
9646 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 9990 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
9647 if test $ac_cv_os_cray = yes; then | 9991 if test $ac_cv_os_cray = yes; then |
9648 for ac_func in _getb67 GETB67 getb67; do | 9992 for ac_func in _getb67 GETB67 getb67; do |
9649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9993 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9650 echo "configure:9651: checking for $ac_func" >&5 | 9994 echo "configure:9995: checking for $ac_func" >&5 |
9651 | 9995 |
9652 cat > conftest.$ac_ext <<EOF | 9996 cat > conftest.$ac_ext <<EOF |
9653 #line 9654 "configure" | 9997 #line 9998 "configure" |
9654 #include "confdefs.h" | 9998 #include "confdefs.h" |
9655 /* System header to define __stub macros and hopefully few prototypes, | 9999 /* System header to define __stub macros and hopefully few prototypes, |
9656 which can conflict with char $ac_func(); below. */ | 10000 which can conflict with char $ac_func(); below. */ |
9657 #include <assert.h> | 10001 #include <assert.h> |
9658 /* Override any gcc2 internal prototype to avoid an error. */ | 10002 /* Override any gcc2 internal prototype to avoid an error. */ |
9671 $ac_func(); | 10015 $ac_func(); |
9672 #endif | 10016 #endif |
9673 | 10017 |
9674 ; return 0; } | 10018 ; return 0; } |
9675 EOF | 10019 EOF |
9676 if { (eval echo configure:9677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10020 if { (eval echo configure:10021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9677 rm -rf conftest* | 10021 rm -rf conftest* |
9678 eval "ac_cv_func_$ac_func=yes" | 10022 eval "ac_cv_func_$ac_func=yes" |
9679 else | 10023 else |
9680 echo "configure: failed program was:" >&5 | 10024 echo "configure: failed program was:" >&5 |
9681 cat conftest.$ac_ext >&5 | 10025 cat conftest.$ac_ext >&5 |
9701 | 10045 |
9702 done | 10046 done |
9703 fi | 10047 fi |
9704 | 10048 |
9705 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 10049 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
9706 echo "configure:9707: checking stack direction for C alloca" >&5 | 10050 echo "configure:10051: checking stack direction for C alloca" >&5 |
9707 | 10051 |
9708 cat > conftest.$ac_ext <<EOF | 10052 cat > conftest.$ac_ext <<EOF |
9709 #line 9710 "configure" | 10053 #line 10054 "configure" |
9710 #include "confdefs.h" | 10054 #include "confdefs.h" |
9711 find_stack_direction () | 10055 find_stack_direction () |
9712 { | 10056 { |
9713 static char *addr = 0; | 10057 static char *addr = 0; |
9714 auto char dummy; | 10058 auto char dummy; |
9723 main () | 10067 main () |
9724 { | 10068 { |
9725 exit (find_stack_direction() < 0); | 10069 exit (find_stack_direction() < 0); |
9726 } | 10070 } |
9727 EOF | 10071 EOF |
9728 if { (eval echo configure:9729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10072 if { (eval echo configure:10073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9729 then | 10073 then |
9730 ac_cv_c_stack_direction=1 | 10074 ac_cv_c_stack_direction=1 |
9731 else | 10075 else |
9732 conftest_rc="$?" | 10076 conftest_rc="$?" |
9733 echo "configure: failed program was:" >&5 | 10077 echo "configure: failed program was:" >&5 |
9752 echo " xemacs will be linked with \"$ALLOCA\"" | 10096 echo " xemacs will be linked with \"$ALLOCA\"" |
9753 fi | 10097 fi |
9754 | 10098 |
9755 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 10099 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
9756 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 10100 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
9757 echo "configure:9758: checking for vfork.h" >&5 | 10101 echo "configure:10102: checking for vfork.h" >&5 |
9758 | 10102 |
9759 cat > conftest.$ac_ext <<EOF | 10103 cat > conftest.$ac_ext <<EOF |
9760 #line 9761 "configure" | 10104 #line 10105 "configure" |
9761 #include "confdefs.h" | 10105 #include "confdefs.h" |
9762 #include <vfork.h> | 10106 #include <vfork.h> |
9763 EOF | 10107 EOF |
9764 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10108 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9765 { (eval echo configure:9766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10109 { (eval echo configure:10110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9766 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10110 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9767 if test -z "$ac_err"; then | 10111 if test -z "$ac_err"; then |
9768 rm -rf conftest* | 10112 rm -rf conftest* |
9769 eval "ac_cv_header_$ac_safe=yes" | 10113 eval "ac_cv_header_$ac_safe=yes" |
9770 else | 10114 else |
9788 else | 10132 else |
9789 echo "$ac_t""no" 1>&6 | 10133 echo "$ac_t""no" 1>&6 |
9790 fi | 10134 fi |
9791 | 10135 |
9792 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 10136 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
9793 echo "configure:9794: checking for working vfork" >&5 | 10137 echo "configure:10138: checking for working vfork" >&5 |
9794 | 10138 |
9795 cat > conftest.$ac_ext <<EOF | 10139 cat > conftest.$ac_ext <<EOF |
9796 #line 9797 "configure" | 10140 #line 10141 "configure" |
9797 #include "confdefs.h" | 10141 #include "confdefs.h" |
9798 /* Thanks to Paul Eggert for this test. */ | 10142 /* Thanks to Paul Eggert for this test. */ |
9799 #include <stdio.h> | 10143 #include <stdio.h> |
9800 #include <sys/types.h> | 10144 #include <sys/types.h> |
9801 #include <sys/stat.h> | 10145 #include <sys/stat.h> |
9886 || fstat(fileno(stdout), &st) != 0 | 10230 || fstat(fileno(stdout), &st) != 0 |
9887 ); | 10231 ); |
9888 } | 10232 } |
9889 } | 10233 } |
9890 EOF | 10234 EOF |
9891 if { (eval echo configure:9892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10235 if { (eval echo configure:10236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9892 then | 10236 then |
9893 ac_cv_func_vfork_works=yes | 10237 ac_cv_func_vfork_works=yes |
9894 else | 10238 else |
9895 conftest_rc="$?" | 10239 conftest_rc="$?" |
9896 echo "configure: failed program was:" >&5 | 10240 echo "configure: failed program was:" >&5 |
9912 | 10256 |
9913 fi | 10257 fi |
9914 | 10258 |
9915 | 10259 |
9916 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 10260 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
9917 echo "configure:9918: checking for working strcoll" >&5 | 10261 echo "configure:10262: checking for working strcoll" >&5 |
9918 | 10262 |
9919 cat > conftest.$ac_ext <<EOF | 10263 cat > conftest.$ac_ext <<EOF |
9920 #line 9921 "configure" | 10264 #line 10265 "configure" |
9921 #include "confdefs.h" | 10265 #include "confdefs.h" |
9922 #include <string.h> | 10266 #include <string.h> |
9923 main () | 10267 main () |
9924 { | 10268 { |
9925 exit (strcoll ("abc", "def") >= 0 || | 10269 exit (strcoll ("abc", "def") >= 0 || |
9926 strcoll ("ABC", "DEF") >= 0 || | 10270 strcoll ("ABC", "DEF") >= 0 || |
9927 strcoll ("123", "456") >= 0); | 10271 strcoll ("123", "456") >= 0); |
9928 } | 10272 } |
9929 EOF | 10273 EOF |
9930 if { (eval echo configure:9931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10274 if { (eval echo configure:10275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9931 then | 10275 then |
9932 ac_cv_func_strcoll_works=yes | 10276 ac_cv_func_strcoll_works=yes |
9933 else | 10277 else |
9934 conftest_rc="$?" | 10278 conftest_rc="$?" |
9935 echo "configure: failed program was:" >&5 | 10279 echo "configure: failed program was:" >&5 |
9953 | 10297 |
9954 | 10298 |
9955 for ac_func in getpgrp | 10299 for ac_func in getpgrp |
9956 do | 10300 do |
9957 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9958 echo "configure:9959: checking for $ac_func" >&5 | 10302 echo "configure:10303: checking for $ac_func" >&5 |
9959 | 10303 |
9960 cat > conftest.$ac_ext <<EOF | 10304 cat > conftest.$ac_ext <<EOF |
9961 #line 9962 "configure" | 10305 #line 10306 "configure" |
9962 #include "confdefs.h" | 10306 #include "confdefs.h" |
9963 /* System header to define __stub macros and hopefully few prototypes, | 10307 /* System header to define __stub macros and hopefully few prototypes, |
9964 which can conflict with char $ac_func(); below. */ | 10308 which can conflict with char $ac_func(); below. */ |
9965 #include <assert.h> | 10309 #include <assert.h> |
9966 /* Override any gcc2 internal prototype to avoid an error. */ | 10310 /* Override any gcc2 internal prototype to avoid an error. */ |
9979 $ac_func(); | 10323 $ac_func(); |
9980 #endif | 10324 #endif |
9981 | 10325 |
9982 ; return 0; } | 10326 ; return 0; } |
9983 EOF | 10327 EOF |
9984 if { (eval echo configure:9985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10328 if { (eval echo configure:10329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9985 rm -rf conftest* | 10329 rm -rf conftest* |
9986 eval "ac_cv_func_$ac_func=yes" | 10330 eval "ac_cv_func_$ac_func=yes" |
9987 else | 10331 else |
9988 echo "configure: failed program was:" >&5 | 10332 echo "configure: failed program was:" >&5 |
9989 cat conftest.$ac_ext >&5 | 10333 cat conftest.$ac_ext >&5 |
10007 echo "$ac_t""no" 1>&6 | 10351 echo "$ac_t""no" 1>&6 |
10008 fi | 10352 fi |
10009 done | 10353 done |
10010 | 10354 |
10011 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 10355 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
10012 echo "configure:10013: checking whether getpgrp takes no argument" >&5 | 10356 echo "configure:10357: checking whether getpgrp takes no argument" >&5 |
10013 | 10357 |
10014 cat > conftest.$ac_ext <<EOF | 10358 cat > conftest.$ac_ext <<EOF |
10015 #line 10016 "configure" | 10359 #line 10360 "configure" |
10016 #include "confdefs.h" | 10360 #include "confdefs.h" |
10017 | 10361 |
10018 /* | 10362 /* |
10019 * If this system has a BSD-style getpgrp(), | 10363 * If this system has a BSD-style getpgrp(), |
10020 * which takes a pid argument, exit unsuccessfully. | 10364 * which takes a pid argument, exit unsuccessfully. |
10065 exit(s>>8); | 10409 exit(s>>8); |
10066 } | 10410 } |
10067 } | 10411 } |
10068 | 10412 |
10069 EOF | 10413 EOF |
10070 if { (eval echo configure:10071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10414 if { (eval echo configure:10415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10071 then | 10415 then |
10072 ac_cv_func_getpgrp_void=yes | 10416 ac_cv_func_getpgrp_void=yes |
10073 else | 10417 else |
10074 conftest_rc="$?" | 10418 conftest_rc="$?" |
10075 echo "configure: failed program was:" >&5 | 10419 echo "configure: failed program was:" >&5 |
10092 | 10436 |
10093 fi | 10437 fi |
10094 | 10438 |
10095 | 10439 |
10096 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 10440 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
10097 echo "configure:10098: checking for working mmap" >&5 | 10441 echo "configure:10442: checking for working mmap" >&5 |
10098 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 10442 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
10099 cat > conftest.$ac_ext <<EOF | 10443 cat > conftest.$ac_ext <<EOF |
10100 #line 10101 "configure" | 10444 #line 10445 "configure" |
10101 #include "confdefs.h" | 10445 #include "confdefs.h" |
10102 #include <stdio.h> | 10446 #include <stdio.h> |
10103 #include <unistd.h> | 10447 #include <unistd.h> |
10104 #include <fcntl.h> | 10448 #include <fcntl.h> |
10105 #include <sys/mman.h> | 10449 #include <sys/mman.h> |
10128 return 0; | 10472 return 0; |
10129 perror ("conftest: mmap failed"); | 10473 perror ("conftest: mmap failed"); |
10130 return 1; | 10474 return 1; |
10131 } | 10475 } |
10132 EOF | 10476 EOF |
10133 if { (eval echo configure:10134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10477 if { (eval echo configure:10478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10134 then | 10478 then |
10135 have_mmap=yes | 10479 have_mmap=yes |
10136 else | 10480 else |
10137 conftest_rc="$?" | 10481 conftest_rc="$?" |
10138 echo "configure: failed program was:" >&5 | 10482 echo "configure: failed program was:" >&5 |
10163 } | 10507 } |
10164 | 10508 |
10165 | 10509 |
10166 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 10510 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
10167 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 10511 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
10168 echo "configure:10169: checking for termios.h" >&5 | 10512 echo "configure:10513: checking for termios.h" >&5 |
10169 | 10513 |
10170 cat > conftest.$ac_ext <<EOF | 10514 cat > conftest.$ac_ext <<EOF |
10171 #line 10172 "configure" | 10515 #line 10516 "configure" |
10172 #include "confdefs.h" | 10516 #include "confdefs.h" |
10173 #include <termios.h> | 10517 #include <termios.h> |
10174 EOF | 10518 EOF |
10175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10176 { (eval echo configure:10177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10520 { (eval echo configure:10521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10178 if test -z "$ac_err"; then | 10522 if test -z "$ac_err"; then |
10179 rm -rf conftest* | 10523 rm -rf conftest* |
10180 eval "ac_cv_header_$ac_safe=yes" | 10524 eval "ac_cv_header_$ac_safe=yes" |
10181 else | 10525 else |
10214 | 10558 |
10215 else | 10559 else |
10216 echo "$ac_t""no" 1>&6 | 10560 echo "$ac_t""no" 1>&6 |
10217 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 10561 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
10218 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 10562 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
10219 echo "configure:10220: checking for termio.h" >&5 | 10563 echo "configure:10564: checking for termio.h" >&5 |
10220 | 10564 |
10221 cat > conftest.$ac_ext <<EOF | 10565 cat > conftest.$ac_ext <<EOF |
10222 #line 10223 "configure" | 10566 #line 10567 "configure" |
10223 #include "confdefs.h" | 10567 #include "confdefs.h" |
10224 #include <termio.h> | 10568 #include <termio.h> |
10225 EOF | 10569 EOF |
10226 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10570 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10227 { (eval echo configure:10228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10571 { (eval echo configure:10572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10228 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10572 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10229 if test -z "$ac_err"; then | 10573 if test -z "$ac_err"; then |
10230 rm -rf conftest* | 10574 rm -rf conftest* |
10231 eval "ac_cv_header_$ac_safe=yes" | 10575 eval "ac_cv_header_$ac_safe=yes" |
10232 else | 10576 else |
10254 fi | 10598 fi |
10255 | 10599 |
10256 | 10600 |
10257 | 10601 |
10258 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 10602 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
10259 echo "configure:10260: checking for socket" >&5 | 10603 echo "configure:10604: checking for socket" >&5 |
10260 | 10604 |
10261 cat > conftest.$ac_ext <<EOF | 10605 cat > conftest.$ac_ext <<EOF |
10262 #line 10263 "configure" | 10606 #line 10607 "configure" |
10263 #include "confdefs.h" | 10607 #include "confdefs.h" |
10264 /* System header to define __stub macros and hopefully few prototypes, | 10608 /* System header to define __stub macros and hopefully few prototypes, |
10265 which can conflict with char socket(); below. */ | 10609 which can conflict with char socket(); below. */ |
10266 #include <assert.h> | 10610 #include <assert.h> |
10267 /* Override any gcc2 internal prototype to avoid an error. */ | 10611 /* Override any gcc2 internal prototype to avoid an error. */ |
10280 socket(); | 10624 socket(); |
10281 #endif | 10625 #endif |
10282 | 10626 |
10283 ; return 0; } | 10627 ; return 0; } |
10284 EOF | 10628 EOF |
10285 if { (eval echo configure:10286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10629 if { (eval echo configure:10630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10286 rm -rf conftest* | 10630 rm -rf conftest* |
10287 eval "ac_cv_func_socket=yes" | 10631 eval "ac_cv_func_socket=yes" |
10288 else | 10632 else |
10289 echo "configure: failed program was:" >&5 | 10633 echo "configure: failed program was:" >&5 |
10290 cat conftest.$ac_ext >&5 | 10634 cat conftest.$ac_ext >&5 |
10295 | 10639 |
10296 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 10640 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
10297 echo "$ac_t""yes" 1>&6 | 10641 echo "$ac_t""yes" 1>&6 |
10298 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 10642 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
10299 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 10643 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
10300 echo "configure:10301: checking for netinet/in.h" >&5 | 10644 echo "configure:10645: checking for netinet/in.h" >&5 |
10301 | 10645 |
10302 cat > conftest.$ac_ext <<EOF | 10646 cat > conftest.$ac_ext <<EOF |
10303 #line 10304 "configure" | 10647 #line 10648 "configure" |
10304 #include "confdefs.h" | 10648 #include "confdefs.h" |
10305 #include <netinet/in.h> | 10649 #include <netinet/in.h> |
10306 EOF | 10650 EOF |
10307 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10308 { (eval echo configure:10309: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10652 { (eval echo configure:10653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10309 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10310 if test -z "$ac_err"; then | 10654 if test -z "$ac_err"; then |
10311 rm -rf conftest* | 10655 rm -rf conftest* |
10312 eval "ac_cv_header_$ac_safe=yes" | 10656 eval "ac_cv_header_$ac_safe=yes" |
10313 else | 10657 else |
10320 rm -f conftest* | 10664 rm -f conftest* |
10321 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10665 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10322 echo "$ac_t""yes" 1>&6 | 10666 echo "$ac_t""yes" 1>&6 |
10323 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 10667 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
10324 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 10668 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
10325 echo "configure:10326: checking for arpa/inet.h" >&5 | 10669 echo "configure:10670: checking for arpa/inet.h" >&5 |
10326 | 10670 |
10327 cat > conftest.$ac_ext <<EOF | 10671 cat > conftest.$ac_ext <<EOF |
10328 #line 10329 "configure" | 10672 #line 10673 "configure" |
10329 #include "confdefs.h" | 10673 #include "confdefs.h" |
10330 #include <arpa/inet.h> | 10674 #include <arpa/inet.h> |
10331 EOF | 10675 EOF |
10332 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10333 { (eval echo configure:10334: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10677 { (eval echo configure:10678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10334 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10335 if test -z "$ac_err"; then | 10679 if test -z "$ac_err"; then |
10336 rm -rf conftest* | 10680 rm -rf conftest* |
10337 eval "ac_cv_header_$ac_safe=yes" | 10681 eval "ac_cv_header_$ac_safe=yes" |
10338 else | 10682 else |
10353 #define HAVE_SOCKETS 1 | 10697 #define HAVE_SOCKETS 1 |
10354 EOF | 10698 EOF |
10355 } | 10699 } |
10356 | 10700 |
10357 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 10701 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
10358 echo "configure:10359: checking "for sun_len member in struct sockaddr_un"" >&5 | 10702 echo "configure:10703: checking "for sun_len member in struct sockaddr_un"" >&5 |
10359 cat > conftest.$ac_ext <<EOF | 10703 cat > conftest.$ac_ext <<EOF |
10360 #line 10361 "configure" | 10704 #line 10705 "configure" |
10361 #include "confdefs.h" | 10705 #include "confdefs.h" |
10362 | 10706 |
10363 #include <sys/types.h> | 10707 #include <sys/types.h> |
10364 #include <sys/socket.h> | 10708 #include <sys/socket.h> |
10365 #include <sys/un.h> | 10709 #include <sys/un.h> |
10366 | 10710 |
10367 int main() { | 10711 int main() { |
10368 static struct sockaddr_un x; x.sun_len = 1; | 10712 static struct sockaddr_un x; x.sun_len = 1; |
10369 ; return 0; } | 10713 ; return 0; } |
10370 EOF | 10714 EOF |
10371 if { (eval echo configure:10372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10715 if { (eval echo configure:10716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10372 rm -rf conftest* | 10716 rm -rf conftest* |
10373 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10717 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10374 Defining HAVE_SOCKADDR_SUN_LEN | 10718 Defining HAVE_SOCKADDR_SUN_LEN |
10375 EOF | 10719 EOF |
10376 cat >> confdefs.h <<\EOF | 10720 cat >> confdefs.h <<\EOF |
10384 rm -rf conftest* | 10728 rm -rf conftest* |
10385 echo "$ac_t""no" 1>&6 | 10729 echo "$ac_t""no" 1>&6 |
10386 fi | 10730 fi |
10387 rm -f conftest* | 10731 rm -f conftest* |
10388 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 10732 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
10389 echo "configure:10390: checking "for ip_mreq struct in netinet/in.h"" >&5 | 10733 echo "configure:10734: checking "for ip_mreq struct in netinet/in.h"" >&5 |
10390 cat > conftest.$ac_ext <<EOF | 10734 cat > conftest.$ac_ext <<EOF |
10391 #line 10392 "configure" | 10735 #line 10736 "configure" |
10392 #include "confdefs.h" | 10736 #include "confdefs.h" |
10393 | 10737 |
10394 #include <sys/types.h> | 10738 #include <sys/types.h> |
10395 #include <netinet/in.h> | 10739 #include <netinet/in.h> |
10396 | 10740 |
10397 int main() { | 10741 int main() { |
10398 static struct ip_mreq x; | 10742 static struct ip_mreq x; |
10399 ; return 0; } | 10743 ; return 0; } |
10400 EOF | 10744 EOF |
10401 if { (eval echo configure:10402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10745 if { (eval echo configure:10746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10402 rm -rf conftest* | 10746 rm -rf conftest* |
10403 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 10747 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10404 Defining HAVE_MULTICAST | 10748 Defining HAVE_MULTICAST |
10405 EOF | 10749 EOF |
10406 cat >> confdefs.h <<\EOF | 10750 cat >> confdefs.h <<\EOF |
10427 echo "$ac_t""no" 1>&6 | 10771 echo "$ac_t""no" 1>&6 |
10428 fi | 10772 fi |
10429 | 10773 |
10430 | 10774 |
10431 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 10775 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
10432 echo "configure:10433: checking for msgget" >&5 | 10776 echo "configure:10777: checking for msgget" >&5 |
10433 | 10777 |
10434 cat > conftest.$ac_ext <<EOF | 10778 cat > conftest.$ac_ext <<EOF |
10435 #line 10436 "configure" | 10779 #line 10780 "configure" |
10436 #include "confdefs.h" | 10780 #include "confdefs.h" |
10437 /* System header to define __stub macros and hopefully few prototypes, | 10781 /* System header to define __stub macros and hopefully few prototypes, |
10438 which can conflict with char msgget(); below. */ | 10782 which can conflict with char msgget(); below. */ |
10439 #include <assert.h> | 10783 #include <assert.h> |
10440 /* Override any gcc2 internal prototype to avoid an error. */ | 10784 /* Override any gcc2 internal prototype to avoid an error. */ |
10453 msgget(); | 10797 msgget(); |
10454 #endif | 10798 #endif |
10455 | 10799 |
10456 ; return 0; } | 10800 ; return 0; } |
10457 EOF | 10801 EOF |
10458 if { (eval echo configure:10459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10802 if { (eval echo configure:10803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10459 rm -rf conftest* | 10803 rm -rf conftest* |
10460 eval "ac_cv_func_msgget=yes" | 10804 eval "ac_cv_func_msgget=yes" |
10461 else | 10805 else |
10462 echo "configure: failed program was:" >&5 | 10806 echo "configure: failed program was:" >&5 |
10463 cat conftest.$ac_ext >&5 | 10807 cat conftest.$ac_ext >&5 |
10468 | 10812 |
10469 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 10813 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
10470 echo "$ac_t""yes" 1>&6 | 10814 echo "$ac_t""yes" 1>&6 |
10471 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 10815 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
10472 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 10816 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
10473 echo "configure:10474: checking for sys/ipc.h" >&5 | 10817 echo "configure:10818: checking for sys/ipc.h" >&5 |
10474 | 10818 |
10475 cat > conftest.$ac_ext <<EOF | 10819 cat > conftest.$ac_ext <<EOF |
10476 #line 10477 "configure" | 10820 #line 10821 "configure" |
10477 #include "confdefs.h" | 10821 #include "confdefs.h" |
10478 #include <sys/ipc.h> | 10822 #include <sys/ipc.h> |
10479 EOF | 10823 EOF |
10480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10824 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10481 { (eval echo configure:10482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10825 { (eval echo configure:10826: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10482 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10826 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10483 if test -z "$ac_err"; then | 10827 if test -z "$ac_err"; then |
10484 rm -rf conftest* | 10828 rm -rf conftest* |
10485 eval "ac_cv_header_$ac_safe=yes" | 10829 eval "ac_cv_header_$ac_safe=yes" |
10486 else | 10830 else |
10493 rm -f conftest* | 10837 rm -f conftest* |
10494 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10838 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10495 echo "$ac_t""yes" 1>&6 | 10839 echo "$ac_t""yes" 1>&6 |
10496 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 10840 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
10497 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 10841 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
10498 echo "configure:10499: checking for sys/msg.h" >&5 | 10842 echo "configure:10843: checking for sys/msg.h" >&5 |
10499 | 10843 |
10500 cat > conftest.$ac_ext <<EOF | 10844 cat > conftest.$ac_ext <<EOF |
10501 #line 10502 "configure" | 10845 #line 10846 "configure" |
10502 #include "confdefs.h" | 10846 #include "confdefs.h" |
10503 #include <sys/msg.h> | 10847 #include <sys/msg.h> |
10504 EOF | 10848 EOF |
10505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10506 { (eval echo configure:10507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10850 { (eval echo configure:10851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10508 if test -z "$ac_err"; then | 10852 if test -z "$ac_err"; then |
10509 rm -rf conftest* | 10853 rm -rf conftest* |
10510 eval "ac_cv_header_$ac_safe=yes" | 10854 eval "ac_cv_header_$ac_safe=yes" |
10511 else | 10855 else |
10539 fi | 10883 fi |
10540 | 10884 |
10541 | 10885 |
10542 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 10886 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
10543 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 10887 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
10544 echo "configure:10545: checking for dirent.h" >&5 | 10888 echo "configure:10889: checking for dirent.h" >&5 |
10545 | 10889 |
10546 cat > conftest.$ac_ext <<EOF | 10890 cat > conftest.$ac_ext <<EOF |
10547 #line 10548 "configure" | 10891 #line 10892 "configure" |
10548 #include "confdefs.h" | 10892 #include "confdefs.h" |
10549 #include <dirent.h> | 10893 #include <dirent.h> |
10550 EOF | 10894 EOF |
10551 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10552 { (eval echo configure:10553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10896 { (eval echo configure:10897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10553 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10554 if test -z "$ac_err"; then | 10898 if test -z "$ac_err"; then |
10555 rm -rf conftest* | 10899 rm -rf conftest* |
10556 eval "ac_cv_header_$ac_safe=yes" | 10900 eval "ac_cv_header_$ac_safe=yes" |
10557 else | 10901 else |
10574 | 10918 |
10575 else | 10919 else |
10576 echo "$ac_t""no" 1>&6 | 10920 echo "$ac_t""no" 1>&6 |
10577 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 10921 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
10578 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 10922 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
10579 echo "configure:10580: checking for sys/dir.h" >&5 | 10923 echo "configure:10924: checking for sys/dir.h" >&5 |
10580 | 10924 |
10581 cat > conftest.$ac_ext <<EOF | 10925 cat > conftest.$ac_ext <<EOF |
10582 #line 10583 "configure" | 10926 #line 10927 "configure" |
10583 #include "confdefs.h" | 10927 #include "confdefs.h" |
10584 #include <sys/dir.h> | 10928 #include <sys/dir.h> |
10585 EOF | 10929 EOF |
10586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10587 { (eval echo configure:10588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10931 { (eval echo configure:10932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10589 if test -z "$ac_err"; then | 10933 if test -z "$ac_err"; then |
10590 rm -rf conftest* | 10934 rm -rf conftest* |
10591 eval "ac_cv_header_$ac_safe=yes" | 10935 eval "ac_cv_header_$ac_safe=yes" |
10592 else | 10936 else |
10615 fi | 10959 fi |
10616 | 10960 |
10617 | 10961 |
10618 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 10962 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
10619 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 10963 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
10620 echo "configure:10621: checking for nlist.h" >&5 | 10964 echo "configure:10965: checking for nlist.h" >&5 |
10621 | 10965 |
10622 cat > conftest.$ac_ext <<EOF | 10966 cat > conftest.$ac_ext <<EOF |
10623 #line 10624 "configure" | 10967 #line 10968 "configure" |
10624 #include "confdefs.h" | 10968 #include "confdefs.h" |
10625 #include <nlist.h> | 10969 #include <nlist.h> |
10626 EOF | 10970 EOF |
10627 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10628 { (eval echo configure:10629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10972 { (eval echo configure:10973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10629 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10630 if test -z "$ac_err"; then | 10974 if test -z "$ac_err"; then |
10631 rm -rf conftest* | 10975 rm -rf conftest* |
10632 eval "ac_cv_header_$ac_safe=yes" | 10976 eval "ac_cv_header_$ac_safe=yes" |
10633 else | 10977 else |
10653 fi | 10997 fi |
10654 | 10998 |
10655 | 10999 |
10656 | 11000 |
10657 echo "checking "for sound support"" 1>&6 | 11001 echo "checking "for sound support"" 1>&6 |
10658 echo "configure:10659: checking "for sound support"" >&5 | 11002 echo "configure:11003: checking "for sound support"" >&5 |
10659 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 11003 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
10660 | 11004 |
10661 if test "$with_native_sound" != "no"; then | 11005 if test "$with_native_sound" != "no"; then |
10662 if test -n "$native_sound_lib"; then | 11006 if test -n "$native_sound_lib"; then |
10663 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 11007 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
10664 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 11008 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
10665 echo "configure:10666: checking for multimedia/audio_device.h" >&5 | 11009 echo "configure:11010: checking for multimedia/audio_device.h" >&5 |
10666 | 11010 |
10667 cat > conftest.$ac_ext <<EOF | 11011 cat > conftest.$ac_ext <<EOF |
10668 #line 10669 "configure" | 11012 #line 11013 "configure" |
10669 #include "confdefs.h" | 11013 #include "confdefs.h" |
10670 #include <multimedia/audio_device.h> | 11014 #include <multimedia/audio_device.h> |
10671 EOF | 11015 EOF |
10672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11016 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10673 { (eval echo configure:10674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11017 { (eval echo configure:11018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10675 if test -z "$ac_err"; then | 11019 if test -z "$ac_err"; then |
10676 rm -rf conftest* | 11020 rm -rf conftest* |
10677 eval "ac_cv_header_$ac_safe=yes" | 11021 eval "ac_cv_header_$ac_safe=yes" |
10678 else | 11022 else |
10716 case "$canonical" in | 11060 case "$canonical" in |
10717 *-sgi-* ) | 11061 *-sgi-* ) |
10718 if test -z "$native_sound_lib"; then | 11062 if test -z "$native_sound_lib"; then |
10719 | 11063 |
10720 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 11064 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
10721 echo "configure:10722: checking for ALopenport in -laudio" >&5 | 11065 echo "configure:11066: checking for ALopenport in -laudio" >&5 |
10722 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 11066 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
10723 | 11067 |
10724 xe_check_libs=" -laudio " | 11068 xe_check_libs=" -laudio " |
10725 cat > conftest.$ac_ext <<EOF | 11069 cat > conftest.$ac_ext <<EOF |
10726 #line 10727 "configure" | 11070 #line 11071 "configure" |
10727 #include "confdefs.h" | 11071 #include "confdefs.h" |
10728 /* Override any gcc2 internal prototype to avoid an error. */ | 11072 /* Override any gcc2 internal prototype to avoid an error. */ |
10729 /* We use char because int might match the return type of a gcc2 | 11073 /* We use char because int might match the return type of a gcc2 |
10730 builtin and then its argument prototype would still apply. */ | 11074 builtin and then its argument prototype would still apply. */ |
10731 char ALopenport(); | 11075 char ALopenport(); |
10732 | 11076 |
10733 int main() { | 11077 int main() { |
10734 ALopenport() | 11078 ALopenport() |
10735 ; return 0; } | 11079 ; return 0; } |
10736 EOF | 11080 EOF |
10737 if { (eval echo configure:10738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11081 if { (eval echo configure:11082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10738 rm -rf conftest* | 11082 rm -rf conftest* |
10739 eval "ac_cv_lib_$ac_lib_var=yes" | 11083 eval "ac_cv_lib_$ac_lib_var=yes" |
10740 else | 11084 else |
10741 echo "configure: failed program was:" >&5 | 11085 echo "configure: failed program was:" >&5 |
10742 cat conftest.$ac_ext >&5 | 11086 cat conftest.$ac_ext >&5 |
10763 fi ;; | 11107 fi ;; |
10764 hppa*-hp-hpux* ) | 11108 hppa*-hp-hpux* ) |
10765 if test -z "$native_sound_lib"; then | 11109 if test -z "$native_sound_lib"; then |
10766 | 11110 |
10767 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 11111 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
10768 echo "configure:10769: checking for AOpenAudio in -lAlib" >&5 | 11112 echo "configure:11113: checking for AOpenAudio in -lAlib" >&5 |
10769 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 11113 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
10770 | 11114 |
10771 xe_check_libs=" -lAlib " | 11115 xe_check_libs=" -lAlib " |
10772 cat > conftest.$ac_ext <<EOF | 11116 cat > conftest.$ac_ext <<EOF |
10773 #line 10774 "configure" | 11117 #line 11118 "configure" |
10774 #include "confdefs.h" | 11118 #include "confdefs.h" |
10775 /* Override any gcc2 internal prototype to avoid an error. */ | 11119 /* Override any gcc2 internal prototype to avoid an error. */ |
10776 /* We use char because int might match the return type of a gcc2 | 11120 /* We use char because int might match the return type of a gcc2 |
10777 builtin and then its argument prototype would still apply. */ | 11121 builtin and then its argument prototype would still apply. */ |
10778 char AOpenAudio(); | 11122 char AOpenAudio(); |
10779 | 11123 |
10780 int main() { | 11124 int main() { |
10781 AOpenAudio() | 11125 AOpenAudio() |
10782 ; return 0; } | 11126 ; return 0; } |
10783 EOF | 11127 EOF |
10784 if { (eval echo configure:10785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11128 if { (eval echo configure:11129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10785 rm -rf conftest* | 11129 rm -rf conftest* |
10786 eval "ac_cv_lib_$ac_lib_var=yes" | 11130 eval "ac_cv_lib_$ac_lib_var=yes" |
10787 else | 11131 else |
10788 echo "configure: failed program was:" >&5 | 11132 echo "configure: failed program was:" >&5 |
10789 cat conftest.$ac_ext >&5 | 11133 cat conftest.$ac_ext >&5 |
10817 | 11161 |
10818 if test -z "$sound_found"; then | 11162 if test -z "$sound_found"; then |
10819 for dir in "machine" "sys" "linux"; do | 11163 for dir in "machine" "sys" "linux"; do |
10820 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 11164 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
10821 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 11165 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
10822 echo "configure:10823: checking for ${dir}/soundcard.h" >&5 | 11166 echo "configure:11167: checking for ${dir}/soundcard.h" >&5 |
10823 | 11167 |
10824 cat > conftest.$ac_ext <<EOF | 11168 cat > conftest.$ac_ext <<EOF |
10825 #line 10826 "configure" | 11169 #line 11170 "configure" |
10826 #include "confdefs.h" | 11170 #include "confdefs.h" |
10827 #include <${dir}/soundcard.h> | 11171 #include <${dir}/soundcard.h> |
10828 EOF | 11172 EOF |
10829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11173 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10830 { (eval echo configure:10831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11174 { (eval echo configure:11175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11175 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10832 if test -z "$ac_err"; then | 11176 if test -z "$ac_err"; then |
10833 rm -rf conftest* | 11177 rm -rf conftest* |
10834 eval "ac_cv_header_$ac_safe=yes" | 11178 eval "ac_cv_header_$ac_safe=yes" |
10835 else | 11179 else |
10879 fi | 11223 fi |
10880 | 11224 |
10881 if test "$with_nas_sound" != "no"; then | 11225 if test "$with_nas_sound" != "no"; then |
10882 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 11226 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
10883 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 11227 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
10884 echo "configure:10885: checking for audio/audiolib.h" >&5 | 11228 echo "configure:11229: checking for audio/audiolib.h" >&5 |
10885 | 11229 |
10886 cat > conftest.$ac_ext <<EOF | 11230 cat > conftest.$ac_ext <<EOF |
10887 #line 10888 "configure" | 11231 #line 11232 "configure" |
10888 #include "confdefs.h" | 11232 #include "confdefs.h" |
10889 #include <audio/audiolib.h> | 11233 #include <audio/audiolib.h> |
10890 EOF | 11234 EOF |
10891 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11235 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10892 { (eval echo configure:10893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11236 { (eval echo configure:11237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10893 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11237 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10894 if test -z "$ac_err"; then | 11238 if test -z "$ac_err"; then |
10895 rm -rf conftest* | 11239 rm -rf conftest* |
10896 eval "ac_cv_header_$ac_safe=yes" | 11240 eval "ac_cv_header_$ac_safe=yes" |
10897 else | 11241 else |
10905 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11249 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10906 echo "$ac_t""yes" 1>&6 | 11250 echo "$ac_t""yes" 1>&6 |
10907 | 11251 |
10908 | 11252 |
10909 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 11253 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
10910 echo "configure:10911: checking for AuOpenServer in -laudio" >&5 | 11254 echo "configure:11255: checking for AuOpenServer in -laudio" >&5 |
10911 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 11255 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
10912 | 11256 |
10913 xe_check_libs=" -laudio " | 11257 xe_check_libs=" -laudio " |
10914 cat > conftest.$ac_ext <<EOF | 11258 cat > conftest.$ac_ext <<EOF |
10915 #line 10916 "configure" | 11259 #line 11260 "configure" |
10916 #include "confdefs.h" | 11260 #include "confdefs.h" |
10917 /* Override any gcc2 internal prototype to avoid an error. */ | 11261 /* Override any gcc2 internal prototype to avoid an error. */ |
10918 /* We use char because int might match the return type of a gcc2 | 11262 /* We use char because int might match the return type of a gcc2 |
10919 builtin and then its argument prototype would still apply. */ | 11263 builtin and then its argument prototype would still apply. */ |
10920 char AuOpenServer(); | 11264 char AuOpenServer(); |
10921 | 11265 |
10922 int main() { | 11266 int main() { |
10923 AuOpenServer() | 11267 AuOpenServer() |
10924 ; return 0; } | 11268 ; return 0; } |
10925 EOF | 11269 EOF |
10926 if { (eval echo configure:10927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11270 if { (eval echo configure:11271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10927 rm -rf conftest* | 11271 rm -rf conftest* |
10928 eval "ac_cv_lib_$ac_lib_var=yes" | 11272 eval "ac_cv_lib_$ac_lib_var=yes" |
10929 else | 11273 else |
10930 echo "configure: failed program was:" >&5 | 11274 echo "configure: failed program was:" >&5 |
10931 cat conftest.$ac_ext >&5 | 11275 cat conftest.$ac_ext >&5 |
10960 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 11304 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
10961 echo " xemacs will be linked with \"nas.o\"" | 11305 echo " xemacs will be linked with \"nas.o\"" |
10962 fi | 11306 fi |
10963 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 11307 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
10964 cat > conftest.$ac_ext <<EOF | 11308 cat > conftest.$ac_ext <<EOF |
10965 #line 10966 "configure" | 11309 #line 11310 "configure" |
10966 #include "confdefs.h" | 11310 #include "confdefs.h" |
10967 #include <audio/Xtutil.h> | 11311 #include <audio/Xtutil.h> |
10968 EOF | 11312 EOF |
10969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 11313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
10970 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 11314 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
10991 | 11335 |
10992 if test "$with_esd_sound" != "no"; then | 11336 if test "$with_esd_sound" != "no"; then |
10993 # Extract the first word of "esd-config", so it can be a program name with args. | 11337 # Extract the first word of "esd-config", so it can be a program name with args. |
10994 set dummy esd-config; ac_word=$2 | 11338 set dummy esd-config; ac_word=$2 |
10995 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 11339 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
10996 echo "configure:10997: checking for $ac_word" >&5 | 11340 echo "configure:11341: checking for $ac_word" >&5 |
10997 | 11341 |
10998 if test -n "$have_esd_config"; then | 11342 if test -n "$have_esd_config"; then |
10999 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 11343 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
11000 else | 11344 else |
11001 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 11345 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
11020 if test "$have_esd_config" = "yes"; then | 11364 if test "$have_esd_config" = "yes"; then |
11021 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 11365 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
11022 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 | 11366 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 |
11023 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 11367 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
11024 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 11368 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
11025 echo "configure:11026: checking for esd_play_stream" >&5 | 11369 echo "configure:11370: checking for esd_play_stream" >&5 |
11026 | 11370 |
11027 cat > conftest.$ac_ext <<EOF | 11371 cat > conftest.$ac_ext <<EOF |
11028 #line 11029 "configure" | 11372 #line 11373 "configure" |
11029 #include "confdefs.h" | 11373 #include "confdefs.h" |
11030 /* System header to define __stub macros and hopefully few prototypes, | 11374 /* System header to define __stub macros and hopefully few prototypes, |
11031 which can conflict with char esd_play_stream(); below. */ | 11375 which can conflict with char esd_play_stream(); below. */ |
11032 #include <assert.h> | 11376 #include <assert.h> |
11033 /* Override any gcc2 internal prototype to avoid an error. */ | 11377 /* Override any gcc2 internal prototype to avoid an error. */ |
11046 esd_play_stream(); | 11390 esd_play_stream(); |
11047 #endif | 11391 #endif |
11048 | 11392 |
11049 ; return 0; } | 11393 ; return 0; } |
11050 EOF | 11394 EOF |
11051 if { (eval echo configure:11052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11395 if { (eval echo configure:11396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11052 rm -rf conftest* | 11396 rm -rf conftest* |
11053 eval "ac_cv_func_esd_play_stream=yes" | 11397 eval "ac_cv_func_esd_play_stream=yes" |
11054 else | 11398 else |
11055 echo "configure: failed program was:" >&5 | 11399 echo "configure: failed program was:" >&5 |
11056 cat conftest.$ac_ext >&5 | 11400 cat conftest.$ac_ext >&5 |
11097 | 11441 |
11098 test -z "$with_tty" && with_tty=yes | 11442 test -z "$with_tty" && with_tty=yes |
11099 | 11443 |
11100 if test "$with_tty" = "yes" ; then | 11444 if test "$with_tty" = "yes" ; then |
11101 echo "checking for TTY-related features" 1>&6 | 11445 echo "checking for TTY-related features" 1>&6 |
11102 echo "configure:11103: checking for TTY-related features" >&5 | 11446 echo "configure:11447: checking for TTY-related features" >&5 |
11103 { test "$extra_verbose" = "yes" && cat << \EOF | 11447 { test "$extra_verbose" = "yes" && cat << \EOF |
11104 Defining HAVE_TTY | 11448 Defining HAVE_TTY |
11105 EOF | 11449 EOF |
11106 cat >> confdefs.h <<\EOF | 11450 cat >> confdefs.h <<\EOF |
11107 #define HAVE_TTY 1 | 11451 #define HAVE_TTY 1 |
11113 fi | 11457 fi |
11114 | 11458 |
11115 if test -z "$with_ncurses"; then | 11459 if test -z "$with_ncurses"; then |
11116 | 11460 |
11117 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 11461 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
11118 echo "configure:11119: checking for tgetent in -lncurses" >&5 | 11462 echo "configure:11463: checking for tgetent in -lncurses" >&5 |
11119 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 11463 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
11120 | 11464 |
11121 xe_check_libs=" -lncurses " | 11465 xe_check_libs=" -lncurses " |
11122 cat > conftest.$ac_ext <<EOF | 11466 cat > conftest.$ac_ext <<EOF |
11123 #line 11124 "configure" | 11467 #line 11468 "configure" |
11124 #include "confdefs.h" | 11468 #include "confdefs.h" |
11125 /* Override any gcc2 internal prototype to avoid an error. */ | 11469 /* Override any gcc2 internal prototype to avoid an error. */ |
11126 /* We use char because int might match the return type of a gcc2 | 11470 /* We use char because int might match the return type of a gcc2 |
11127 builtin and then its argument prototype would still apply. */ | 11471 builtin and then its argument prototype would still apply. */ |
11128 char tgetent(); | 11472 char tgetent(); |
11129 | 11473 |
11130 int main() { | 11474 int main() { |
11131 tgetent() | 11475 tgetent() |
11132 ; return 0; } | 11476 ; return 0; } |
11133 EOF | 11477 EOF |
11134 if { (eval echo configure:11135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11478 if { (eval echo configure:11479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11135 rm -rf conftest* | 11479 rm -rf conftest* |
11136 eval "ac_cv_lib_$ac_lib_var=yes" | 11480 eval "ac_cv_lib_$ac_lib_var=yes" |
11137 else | 11481 else |
11138 echo "configure: failed program was:" >&5 | 11482 echo "configure: failed program was:" >&5 |
11139 cat conftest.$ac_ext >&5 | 11483 cat conftest.$ac_ext >&5 |
11162 EOF | 11506 EOF |
11163 } | 11507 } |
11164 | 11508 |
11165 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 11509 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
11166 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 11510 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
11167 echo "configure:11168: checking for ncurses/curses.h" >&5 | 11511 echo "configure:11512: checking for ncurses/curses.h" >&5 |
11168 | 11512 |
11169 cat > conftest.$ac_ext <<EOF | 11513 cat > conftest.$ac_ext <<EOF |
11170 #line 11171 "configure" | 11514 #line 11515 "configure" |
11171 #include "confdefs.h" | 11515 #include "confdefs.h" |
11172 #include <ncurses/curses.h> | 11516 #include <ncurses/curses.h> |
11173 EOF | 11517 EOF |
11174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11518 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11175 { (eval echo configure:11176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11519 { (eval echo configure:11520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11520 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11177 if test -z "$ac_err"; then | 11521 if test -z "$ac_err"; then |
11178 rm -rf conftest* | 11522 rm -rf conftest* |
11179 eval "ac_cv_header_$ac_safe=yes" | 11523 eval "ac_cv_header_$ac_safe=yes" |
11180 else | 11524 else |
11192 echo "$ac_t""no" 1>&6 | 11536 echo "$ac_t""no" 1>&6 |
11193 fi | 11537 fi |
11194 | 11538 |
11195 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 11539 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
11196 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 11540 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
11197 echo "configure:11198: checking for ncurses/term.h" >&5 | 11541 echo "configure:11542: checking for ncurses/term.h" >&5 |
11198 | 11542 |
11199 cat > conftest.$ac_ext <<EOF | 11543 cat > conftest.$ac_ext <<EOF |
11200 #line 11201 "configure" | 11544 #line 11545 "configure" |
11201 #include "confdefs.h" | 11545 #include "confdefs.h" |
11202 #include <ncurses/term.h> | 11546 #include <ncurses/term.h> |
11203 EOF | 11547 EOF |
11204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11205 { (eval echo configure:11206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11549 { (eval echo configure:11550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11207 if test -z "$ac_err"; then | 11551 if test -z "$ac_err"; then |
11208 rm -rf conftest* | 11552 rm -rf conftest* |
11209 eval "ac_cv_header_$ac_safe=yes" | 11553 eval "ac_cv_header_$ac_safe=yes" |
11210 else | 11554 else |
11230 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 11574 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
11231 save_c_switch_site="$c_switch_site" | 11575 save_c_switch_site="$c_switch_site" |
11232 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 11576 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
11233 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 11577 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
11234 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 11578 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
11235 echo "configure:11236: checking for ncurses/curses.h" >&5 | 11579 echo "configure:11580: checking for ncurses/curses.h" >&5 |
11236 | 11580 |
11237 cat > conftest.$ac_ext <<EOF | 11581 cat > conftest.$ac_ext <<EOF |
11238 #line 11239 "configure" | 11582 #line 11583 "configure" |
11239 #include "confdefs.h" | 11583 #include "confdefs.h" |
11240 #include <ncurses/curses.h> | 11584 #include <ncurses/curses.h> |
11241 EOF | 11585 EOF |
11242 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11586 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11243 { (eval echo configure:11244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11587 { (eval echo configure:11588: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11244 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11588 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11245 if test -z "$ac_err"; then | 11589 if test -z "$ac_err"; then |
11246 rm -rf conftest* | 11590 rm -rf conftest* |
11247 eval "ac_cv_header_$ac_safe=yes" | 11591 eval "ac_cv_header_$ac_safe=yes" |
11248 else | 11592 else |
11273 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11617 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11274 else | 11618 else |
11275 for lib in curses termlib termcap; do | 11619 for lib in curses termlib termcap; do |
11276 | 11620 |
11277 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 11621 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
11278 echo "configure:11279: checking for tgetent in -l$lib" >&5 | 11622 echo "configure:11623: checking for tgetent in -l$lib" >&5 |
11279 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 11623 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
11280 | 11624 |
11281 xe_check_libs=" -l$lib " | 11625 xe_check_libs=" -l$lib " |
11282 cat > conftest.$ac_ext <<EOF | 11626 cat > conftest.$ac_ext <<EOF |
11283 #line 11284 "configure" | 11627 #line 11628 "configure" |
11284 #include "confdefs.h" | 11628 #include "confdefs.h" |
11285 /* Override any gcc2 internal prototype to avoid an error. */ | 11629 /* Override any gcc2 internal prototype to avoid an error. */ |
11286 /* We use char because int might match the return type of a gcc2 | 11630 /* We use char because int might match the return type of a gcc2 |
11287 builtin and then its argument prototype would still apply. */ | 11631 builtin and then its argument prototype would still apply. */ |
11288 char tgetent(); | 11632 char tgetent(); |
11289 | 11633 |
11290 int main() { | 11634 int main() { |
11291 tgetent() | 11635 tgetent() |
11292 ; return 0; } | 11636 ; return 0; } |
11293 EOF | 11637 EOF |
11294 if { (eval echo configure:11295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11638 if { (eval echo configure:11639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11295 rm -rf conftest* | 11639 rm -rf conftest* |
11296 eval "ac_cv_lib_$ac_lib_var=yes" | 11640 eval "ac_cv_lib_$ac_lib_var=yes" |
11297 else | 11641 else |
11298 echo "configure: failed program was:" >&5 | 11642 echo "configure: failed program was:" >&5 |
11299 cat conftest.$ac_ext >&5 | 11643 cat conftest.$ac_ext >&5 |
11320 if test -n "$libs_termcap"; then | 11664 if test -n "$libs_termcap"; then |
11321 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 11665 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11322 else | 11666 else |
11323 | 11667 |
11324 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 11668 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
11325 echo "configure:11326: checking for tgetent in -lcurses" >&5 | 11669 echo "configure:11670: checking for tgetent in -lcurses" >&5 |
11326 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 11670 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
11327 | 11671 |
11328 xe_check_libs=" -lcurses " | 11672 xe_check_libs=" -lcurses " |
11329 cat > conftest.$ac_ext <<EOF | 11673 cat > conftest.$ac_ext <<EOF |
11330 #line 11331 "configure" | 11674 #line 11675 "configure" |
11331 #include "confdefs.h" | 11675 #include "confdefs.h" |
11332 /* Override any gcc2 internal prototype to avoid an error. */ | 11676 /* Override any gcc2 internal prototype to avoid an error. */ |
11333 /* We use char because int might match the return type of a gcc2 | 11677 /* We use char because int might match the return type of a gcc2 |
11334 builtin and then its argument prototype would still apply. */ | 11678 builtin and then its argument prototype would still apply. */ |
11335 char tgetent(); | 11679 char tgetent(); |
11336 | 11680 |
11337 int main() { | 11681 int main() { |
11338 tgetent() | 11682 tgetent() |
11339 ; return 0; } | 11683 ; return 0; } |
11340 EOF | 11684 EOF |
11341 if { (eval echo configure:11342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11685 if { (eval echo configure:11686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11342 rm -rf conftest* | 11686 rm -rf conftest* |
11343 eval "ac_cv_lib_$ac_lib_var=yes" | 11687 eval "ac_cv_lib_$ac_lib_var=yes" |
11344 else | 11688 else |
11345 echo "configure: failed program was:" >&5 | 11689 echo "configure: failed program was:" >&5 |
11346 cat conftest.$ac_ext >&5 | 11690 cat conftest.$ac_ext >&5 |
11354 echo "$ac_t""yes" 1>&6 | 11698 echo "$ac_t""yes" 1>&6 |
11355 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 11699 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
11356 else | 11700 else |
11357 echo "$ac_t""no" 1>&6 | 11701 echo "$ac_t""no" 1>&6 |
11358 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 11702 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
11359 echo "configure:11360: checking for tgetent in -ltermcap" >&5 | 11703 echo "configure:11704: checking for tgetent in -ltermcap" >&5 |
11360 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 11704 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
11361 | 11705 |
11362 xe_check_libs=" -ltermcap " | 11706 xe_check_libs=" -ltermcap " |
11363 cat > conftest.$ac_ext <<EOF | 11707 cat > conftest.$ac_ext <<EOF |
11364 #line 11365 "configure" | 11708 #line 11709 "configure" |
11365 #include "confdefs.h" | 11709 #include "confdefs.h" |
11366 /* Override any gcc2 internal prototype to avoid an error. */ | 11710 /* Override any gcc2 internal prototype to avoid an error. */ |
11367 /* We use char because int might match the return type of a gcc2 | 11711 /* We use char because int might match the return type of a gcc2 |
11368 builtin and then its argument prototype would still apply. */ | 11712 builtin and then its argument prototype would still apply. */ |
11369 char tgetent(); | 11713 char tgetent(); |
11370 | 11714 |
11371 int main() { | 11715 int main() { |
11372 tgetent() | 11716 tgetent() |
11373 ; return 0; } | 11717 ; return 0; } |
11374 EOF | 11718 EOF |
11375 if { (eval echo configure:11376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11719 if { (eval echo configure:11720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11376 rm -rf conftest* | 11720 rm -rf conftest* |
11377 eval "ac_cv_lib_$ac_lib_var=yes" | 11721 eval "ac_cv_lib_$ac_lib_var=yes" |
11378 else | 11722 else |
11379 echo "configure: failed program was:" >&5 | 11723 echo "configure: failed program was:" >&5 |
11380 cat conftest.$ac_ext >&5 | 11724 cat conftest.$ac_ext >&5 |
11418 } | 11762 } |
11419 | 11763 |
11420 | 11764 |
11421 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 11765 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
11422 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 11766 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
11423 echo "configure:11424: checking for gpm.h" >&5 | 11767 echo "configure:11768: checking for gpm.h" >&5 |
11424 | 11768 |
11425 cat > conftest.$ac_ext <<EOF | 11769 cat > conftest.$ac_ext <<EOF |
11426 #line 11427 "configure" | 11770 #line 11771 "configure" |
11427 #include "confdefs.h" | 11771 #include "confdefs.h" |
11428 #include <gpm.h> | 11772 #include <gpm.h> |
11429 EOF | 11773 EOF |
11430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11774 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11431 { (eval echo configure:11432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11775 { (eval echo configure:11776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11432 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11776 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11433 if test -z "$ac_err"; then | 11777 if test -z "$ac_err"; then |
11434 rm -rf conftest* | 11778 rm -rf conftest* |
11435 eval "ac_cv_header_$ac_safe=yes" | 11779 eval "ac_cv_header_$ac_safe=yes" |
11436 else | 11780 else |
11449 with_gpm=no | 11793 with_gpm=no |
11450 fi | 11794 fi |
11451 } | 11795 } |
11452 test -z "$with_gpm" && { | 11796 test -z "$with_gpm" && { |
11453 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 11797 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
11454 echo "configure:11455: checking for Gpm_Open in -lgpm" >&5 | 11798 echo "configure:11799: checking for Gpm_Open in -lgpm" >&5 |
11455 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 11799 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
11456 | 11800 |
11457 xe_check_libs=" -lgpm " | 11801 xe_check_libs=" -lgpm " |
11458 cat > conftest.$ac_ext <<EOF | 11802 cat > conftest.$ac_ext <<EOF |
11459 #line 11460 "configure" | 11803 #line 11804 "configure" |
11460 #include "confdefs.h" | 11804 #include "confdefs.h" |
11461 /* Override any gcc2 internal prototype to avoid an error. */ | 11805 /* Override any gcc2 internal prototype to avoid an error. */ |
11462 /* We use char because int might match the return type of a gcc2 | 11806 /* We use char because int might match the return type of a gcc2 |
11463 builtin and then its argument prototype would still apply. */ | 11807 builtin and then its argument prototype would still apply. */ |
11464 char Gpm_Open(); | 11808 char Gpm_Open(); |
11465 | 11809 |
11466 int main() { | 11810 int main() { |
11467 Gpm_Open() | 11811 Gpm_Open() |
11468 ; return 0; } | 11812 ; return 0; } |
11469 EOF | 11813 EOF |
11470 if { (eval echo configure:11471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11814 if { (eval echo configure:11815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11471 rm -rf conftest* | 11815 rm -rf conftest* |
11472 eval "ac_cv_lib_$ac_lib_var=yes" | 11816 eval "ac_cv_lib_$ac_lib_var=yes" |
11473 else | 11817 else |
11474 echo "configure: failed program was:" >&5 | 11818 echo "configure: failed program was:" >&5 |
11475 cat conftest.$ac_ext >&5 | 11819 cat conftest.$ac_ext >&5 |
11515 fi | 11859 fi |
11516 | 11860 |
11517 | 11861 |
11518 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 11862 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
11519 != "no no no" && echo "checking for database support" 1>&6 | 11863 != "no no no" && echo "checking for database support" 1>&6 |
11520 echo "configure:11521: checking for database support" >&5 | 11864 echo "configure:11865: checking for database support" >&5 |
11521 | 11865 |
11522 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 11866 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
11523 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 11867 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
11524 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 11868 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
11525 echo "configure:11526: checking for ndbm.h" >&5 | 11869 echo "configure:11870: checking for ndbm.h" >&5 |
11526 | 11870 |
11527 cat > conftest.$ac_ext <<EOF | 11871 cat > conftest.$ac_ext <<EOF |
11528 #line 11529 "configure" | 11872 #line 11873 "configure" |
11529 #include "confdefs.h" | 11873 #include "confdefs.h" |
11530 #include <ndbm.h> | 11874 #include <ndbm.h> |
11531 EOF | 11875 EOF |
11532 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11876 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11533 { (eval echo configure:11534: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11877 { (eval echo configure:11878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11534 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11878 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11535 if test -z "$ac_err"; then | 11879 if test -z "$ac_err"; then |
11536 rm -rf conftest* | 11880 rm -rf conftest* |
11537 eval "ac_cv_header_$ac_safe=yes" | 11881 eval "ac_cv_header_$ac_safe=yes" |
11538 else | 11882 else |
11558 fi | 11902 fi |
11559 | 11903 |
11560 if test "$with_database_gdbm" != "no"; then | 11904 if test "$with_database_gdbm" != "no"; then |
11561 | 11905 |
11562 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 11906 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
11563 echo "configure:11564: checking for dbm_open in -lgdbm" >&5 | 11907 echo "configure:11908: checking for dbm_open in -lgdbm" >&5 |
11564 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11908 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11565 | 11909 |
11566 xe_check_libs=" -lgdbm " | 11910 xe_check_libs=" -lgdbm " |
11567 cat > conftest.$ac_ext <<EOF | 11911 cat > conftest.$ac_ext <<EOF |
11568 #line 11569 "configure" | 11912 #line 11913 "configure" |
11569 #include "confdefs.h" | 11913 #include "confdefs.h" |
11570 /* Override any gcc2 internal prototype to avoid an error. */ | 11914 /* Override any gcc2 internal prototype to avoid an error. */ |
11571 /* We use char because int might match the return type of a gcc2 | 11915 /* We use char because int might match the return type of a gcc2 |
11572 builtin and then its argument prototype would still apply. */ | 11916 builtin and then its argument prototype would still apply. */ |
11573 char dbm_open(); | 11917 char dbm_open(); |
11574 | 11918 |
11575 int main() { | 11919 int main() { |
11576 dbm_open() | 11920 dbm_open() |
11577 ; return 0; } | 11921 ; return 0; } |
11578 EOF | 11922 EOF |
11579 if { (eval echo configure:11580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11923 if { (eval echo configure:11924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11580 rm -rf conftest* | 11924 rm -rf conftest* |
11581 eval "ac_cv_lib_$ac_lib_var=yes" | 11925 eval "ac_cv_lib_$ac_lib_var=yes" |
11582 else | 11926 else |
11583 echo "configure: failed program was:" >&5 | 11927 echo "configure: failed program was:" >&5 |
11584 cat conftest.$ac_ext >&5 | 11928 cat conftest.$ac_ext >&5 |
11602 | 11946 |
11603 fi | 11947 fi |
11604 | 11948 |
11605 if test "$with_database_dbm" != "no"; then | 11949 if test "$with_database_dbm" != "no"; then |
11606 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 11950 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
11607 echo "configure:11608: checking for dbm_open" >&5 | 11951 echo "configure:11952: checking for dbm_open" >&5 |
11608 | 11952 |
11609 cat > conftest.$ac_ext <<EOF | 11953 cat > conftest.$ac_ext <<EOF |
11610 #line 11611 "configure" | 11954 #line 11955 "configure" |
11611 #include "confdefs.h" | 11955 #include "confdefs.h" |
11612 /* System header to define __stub macros and hopefully few prototypes, | 11956 /* System header to define __stub macros and hopefully few prototypes, |
11613 which can conflict with char dbm_open(); below. */ | 11957 which can conflict with char dbm_open(); below. */ |
11614 #include <assert.h> | 11958 #include <assert.h> |
11615 /* Override any gcc2 internal prototype to avoid an error. */ | 11959 /* Override any gcc2 internal prototype to avoid an error. */ |
11628 dbm_open(); | 11972 dbm_open(); |
11629 #endif | 11973 #endif |
11630 | 11974 |
11631 ; return 0; } | 11975 ; return 0; } |
11632 EOF | 11976 EOF |
11633 if { (eval echo configure:11634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11977 if { (eval echo configure:11978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11634 rm -rf conftest* | 11978 rm -rf conftest* |
11635 eval "ac_cv_func_dbm_open=yes" | 11979 eval "ac_cv_func_dbm_open=yes" |
11636 else | 11980 else |
11637 echo "configure: failed program was:" >&5 | 11981 echo "configure: failed program was:" >&5 |
11638 cat conftest.$ac_ext >&5 | 11982 cat conftest.$ac_ext >&5 |
11647 else | 11991 else |
11648 echo "$ac_t""no" 1>&6 | 11992 echo "$ac_t""no" 1>&6 |
11649 | 11993 |
11650 | 11994 |
11651 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 11995 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
11652 echo "configure:11653: checking for dbm_open in -ldbm" >&5 | 11996 echo "configure:11997: checking for dbm_open in -ldbm" >&5 |
11653 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 11997 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
11654 | 11998 |
11655 xe_check_libs=" -ldbm " | 11999 xe_check_libs=" -ldbm " |
11656 cat > conftest.$ac_ext <<EOF | 12000 cat > conftest.$ac_ext <<EOF |
11657 #line 11658 "configure" | 12001 #line 12002 "configure" |
11658 #include "confdefs.h" | 12002 #include "confdefs.h" |
11659 /* Override any gcc2 internal prototype to avoid an error. */ | 12003 /* Override any gcc2 internal prototype to avoid an error. */ |
11660 /* We use char because int might match the return type of a gcc2 | 12004 /* We use char because int might match the return type of a gcc2 |
11661 builtin and then its argument prototype would still apply. */ | 12005 builtin and then its argument prototype would still apply. */ |
11662 char dbm_open(); | 12006 char dbm_open(); |
11663 | 12007 |
11664 int main() { | 12008 int main() { |
11665 dbm_open() | 12009 dbm_open() |
11666 ; return 0; } | 12010 ; return 0; } |
11667 EOF | 12011 EOF |
11668 if { (eval echo configure:11669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12012 if { (eval echo configure:12013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11669 rm -rf conftest* | 12013 rm -rf conftest* |
11670 eval "ac_cv_lib_$ac_lib_var=yes" | 12014 eval "ac_cv_lib_$ac_lib_var=yes" |
11671 else | 12015 else |
11672 echo "configure: failed program was:" >&5 | 12016 echo "configure: failed program was:" >&5 |
11673 cat conftest.$ac_ext >&5 | 12017 cat conftest.$ac_ext >&5 |
11704 } | 12048 } |
11705 | 12049 |
11706 | 12050 |
11707 if test "$with_database_berkdb" != "no"; then | 12051 if test "$with_database_berkdb" != "no"; then |
11708 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 12052 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
11709 echo "configure:11710: checking for Berkeley db.h" >&5 | 12053 echo "configure:12054: checking for Berkeley db.h" >&5 |
11710 for path in "db/db.h" "db.h"; do | 12054 for path in "db/db.h" "db.h"; do |
11711 cat > conftest.$ac_ext <<EOF | 12055 cat > conftest.$ac_ext <<EOF |
11712 #line 11713 "configure" | 12056 #line 12057 "configure" |
11713 #include "confdefs.h" | 12057 #include "confdefs.h" |
11714 #ifdef HAVE_INTTYPES_H | 12058 #ifdef HAVE_INTTYPES_H |
11715 #define __BIT_TYPES_DEFINED__ | 12059 #define __BIT_TYPES_DEFINED__ |
11716 #include <inttypes.h> | 12060 #include <inttypes.h> |
11717 typedef uint8_t u_int8_t; | 12061 typedef uint8_t u_int8_t; |
11725 | 12069 |
11726 int main() { | 12070 int main() { |
11727 | 12071 |
11728 ; return 0; } | 12072 ; return 0; } |
11729 EOF | 12073 EOF |
11730 if { (eval echo configure:11731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12074 if { (eval echo configure:12075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
11731 rm -rf conftest* | 12075 rm -rf conftest* |
11732 db_h_path="$path"; break | 12076 db_h_path="$path"; break |
11733 else | 12077 else |
11734 echo "configure: failed program was:" >&5 | 12078 echo "configure: failed program was:" >&5 |
11735 cat conftest.$ac_ext >&5 | 12079 cat conftest.$ac_ext >&5 |
11741 else echo "$ac_t""$db_h_path" 1>&6 | 12085 else echo "$ac_t""$db_h_path" 1>&6 |
11742 fi | 12086 fi |
11743 | 12087 |
11744 if test "$with_database_berkdb" != "no"; then | 12088 if test "$with_database_berkdb" != "no"; then |
11745 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 12089 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
11746 echo "configure:11747: checking for Berkeley DB version" >&5 | 12090 echo "configure:12091: checking for Berkeley DB version" >&5 |
11747 cat > conftest.$ac_ext <<EOF | 12091 cat > conftest.$ac_ext <<EOF |
11748 #line 11749 "configure" | 12092 #line 12093 "configure" |
11749 #include "confdefs.h" | 12093 #include "confdefs.h" |
11750 #include <$db_h_path> | 12094 #include <$db_h_path> |
11751 #if DB_VERSION_MAJOR > 1 | 12095 #if DB_VERSION_MAJOR > 1 |
11752 yes | 12096 yes |
11753 #endif | 12097 #endif |
11762 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 12106 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
11763 fi | 12107 fi |
11764 rm -f conftest* | 12108 rm -f conftest* |
11765 | 12109 |
11766 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 12110 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
11767 echo "configure:11768: checking for $dbfunc" >&5 | 12111 echo "configure:12112: checking for $dbfunc" >&5 |
11768 | 12112 |
11769 cat > conftest.$ac_ext <<EOF | 12113 cat > conftest.$ac_ext <<EOF |
11770 #line 11771 "configure" | 12114 #line 12115 "configure" |
11771 #include "confdefs.h" | 12115 #include "confdefs.h" |
11772 /* System header to define __stub macros and hopefully few prototypes, | 12116 /* System header to define __stub macros and hopefully few prototypes, |
11773 which can conflict with char $dbfunc(); below. */ | 12117 which can conflict with char $dbfunc(); below. */ |
11774 #include <assert.h> | 12118 #include <assert.h> |
11775 /* Override any gcc2 internal prototype to avoid an error. */ | 12119 /* Override any gcc2 internal prototype to avoid an error. */ |
11788 $dbfunc(); | 12132 $dbfunc(); |
11789 #endif | 12133 #endif |
11790 | 12134 |
11791 ; return 0; } | 12135 ; return 0; } |
11792 EOF | 12136 EOF |
11793 if { (eval echo configure:11794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12137 if { (eval echo configure:12138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11794 rm -rf conftest* | 12138 rm -rf conftest* |
11795 eval "ac_cv_func_$dbfunc=yes" | 12139 eval "ac_cv_func_$dbfunc=yes" |
11796 else | 12140 else |
11797 echo "configure: failed program was:" >&5 | 12141 echo "configure: failed program was:" >&5 |
11798 cat conftest.$ac_ext >&5 | 12142 cat conftest.$ac_ext >&5 |
11807 else | 12151 else |
11808 echo "$ac_t""no" 1>&6 | 12152 echo "$ac_t""no" 1>&6 |
11809 | 12153 |
11810 | 12154 |
11811 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 12155 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
11812 echo "configure:11813: checking for $dbfunc in -ldb" >&5 | 12156 echo "configure:12157: checking for $dbfunc in -ldb" >&5 |
11813 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 12157 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
11814 | 12158 |
11815 xe_check_libs=" -ldb " | 12159 xe_check_libs=" -ldb " |
11816 cat > conftest.$ac_ext <<EOF | 12160 cat > conftest.$ac_ext <<EOF |
11817 #line 11818 "configure" | 12161 #line 12162 "configure" |
11818 #include "confdefs.h" | 12162 #include "confdefs.h" |
11819 /* Override any gcc2 internal prototype to avoid an error. */ | 12163 /* Override any gcc2 internal prototype to avoid an error. */ |
11820 /* We use char because int might match the return type of a gcc2 | 12164 /* We use char because int might match the return type of a gcc2 |
11821 builtin and then its argument prototype would still apply. */ | 12165 builtin and then its argument prototype would still apply. */ |
11822 char $dbfunc(); | 12166 char $dbfunc(); |
11823 | 12167 |
11824 int main() { | 12168 int main() { |
11825 $dbfunc() | 12169 $dbfunc() |
11826 ; return 0; } | 12170 ; return 0; } |
11827 EOF | 12171 EOF |
11828 if { (eval echo configure:11829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12172 if { (eval echo configure:12173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11829 rm -rf conftest* | 12173 rm -rf conftest* |
11830 eval "ac_cv_lib_$ac_lib_var=yes" | 12174 eval "ac_cv_lib_$ac_lib_var=yes" |
11831 else | 12175 else |
11832 echo "configure: failed program was:" >&5 | 12176 echo "configure: failed program was:" >&5 |
11833 cat conftest.$ac_ext >&5 | 12177 cat conftest.$ac_ext >&5 |
11887 fi | 12231 fi |
11888 | 12232 |
11889 if test "$with_socks" = "yes"; then | 12233 if test "$with_socks" = "yes"; then |
11890 | 12234 |
11891 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 12235 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
11892 echo "configure:11893: checking for SOCKSinit in -lsocks" >&5 | 12236 echo "configure:12237: checking for SOCKSinit in -lsocks" >&5 |
11893 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 12237 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
11894 | 12238 |
11895 xe_check_libs=" -lsocks " | 12239 xe_check_libs=" -lsocks " |
11896 cat > conftest.$ac_ext <<EOF | 12240 cat > conftest.$ac_ext <<EOF |
11897 #line 11898 "configure" | 12241 #line 12242 "configure" |
11898 #include "confdefs.h" | 12242 #include "confdefs.h" |
11899 /* Override any gcc2 internal prototype to avoid an error. */ | 12243 /* Override any gcc2 internal prototype to avoid an error. */ |
11900 /* We use char because int might match the return type of a gcc2 | 12244 /* We use char because int might match the return type of a gcc2 |
11901 builtin and then its argument prototype would still apply. */ | 12245 builtin and then its argument prototype would still apply. */ |
11902 char SOCKSinit(); | 12246 char SOCKSinit(); |
11903 | 12247 |
11904 int main() { | 12248 int main() { |
11905 SOCKSinit() | 12249 SOCKSinit() |
11906 ; return 0; } | 12250 ; return 0; } |
11907 EOF | 12251 EOF |
11908 if { (eval echo configure:11909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12252 if { (eval echo configure:12253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11909 rm -rf conftest* | 12253 rm -rf conftest* |
11910 eval "ac_cv_lib_$ac_lib_var=yes" | 12254 eval "ac_cv_lib_$ac_lib_var=yes" |
11911 else | 12255 else |
11912 echo "configure: failed program was:" >&5 | 12256 echo "configure: failed program was:" >&5 |
11913 cat conftest.$ac_ext >&5 | 12257 cat conftest.$ac_ext >&5 |
11958 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 12302 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
11959 fi | 12303 fi |
11960 | 12304 |
11961 if test "$with_modules" != "no"; then | 12305 if test "$with_modules" != "no"; then |
11962 echo "checking for module support" 1>&6 | 12306 echo "checking for module support" 1>&6 |
11963 echo "configure:11964: checking for module support" >&5 | 12307 echo "configure:12308: checking for module support" >&5 |
11964 | 12308 |
11965 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 12309 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
11966 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 12310 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
11967 echo "configure:11968: checking for dlfcn.h" >&5 | 12311 echo "configure:12312: checking for dlfcn.h" >&5 |
11968 | 12312 |
11969 cat > conftest.$ac_ext <<EOF | 12313 cat > conftest.$ac_ext <<EOF |
11970 #line 11971 "configure" | 12314 #line 12315 "configure" |
11971 #include "confdefs.h" | 12315 #include "confdefs.h" |
11972 #include <dlfcn.h> | 12316 #include <dlfcn.h> |
11973 EOF | 12317 EOF |
11974 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11975 { (eval echo configure:11976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12319 { (eval echo configure:12320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11976 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11977 if test -z "$ac_err"; then | 12321 if test -z "$ac_err"; then |
11978 rm -rf conftest* | 12322 rm -rf conftest* |
11979 eval "ac_cv_header_$ac_safe=yes" | 12323 eval "ac_cv_header_$ac_safe=yes" |
11980 else | 12324 else |
11988 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12332 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11989 echo "$ac_t""yes" 1>&6 | 12333 echo "$ac_t""yes" 1>&6 |
11990 | 12334 |
11991 | 12335 |
11992 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 12336 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
11993 echo "configure:11994: checking for dlopen in -ldl" >&5 | 12337 echo "configure:12338: checking for dlopen in -ldl" >&5 |
11994 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 12338 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
11995 | 12339 |
11996 xe_check_libs=" -ldl " | 12340 xe_check_libs=" -ldl " |
11997 cat > conftest.$ac_ext <<EOF | 12341 cat > conftest.$ac_ext <<EOF |
11998 #line 11999 "configure" | 12342 #line 12343 "configure" |
11999 #include "confdefs.h" | 12343 #include "confdefs.h" |
12000 /* Override any gcc2 internal prototype to avoid an error. */ | 12344 /* Override any gcc2 internal prototype to avoid an error. */ |
12001 /* We use char because int might match the return type of a gcc2 | 12345 /* We use char because int might match the return type of a gcc2 |
12002 builtin and then its argument prototype would still apply. */ | 12346 builtin and then its argument prototype would still apply. */ |
12003 char dlopen(); | 12347 char dlopen(); |
12004 | 12348 |
12005 int main() { | 12349 int main() { |
12006 dlopen() | 12350 dlopen() |
12007 ; return 0; } | 12351 ; return 0; } |
12008 EOF | 12352 EOF |
12009 if { (eval echo configure:12010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12353 if { (eval echo configure:12354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12010 rm -rf conftest* | 12354 rm -rf conftest* |
12011 eval "ac_cv_lib_$ac_lib_var=yes" | 12355 eval "ac_cv_lib_$ac_lib_var=yes" |
12012 else | 12356 else |
12013 echo "configure: failed program was:" >&5 | 12357 echo "configure: failed program was:" >&5 |
12014 cat conftest.$ac_ext >&5 | 12358 cat conftest.$ac_ext >&5 |
12023 have_dl=yes libdl=dl | 12367 have_dl=yes libdl=dl |
12024 else | 12368 else |
12025 echo "$ac_t""no" 1>&6 | 12369 echo "$ac_t""no" 1>&6 |
12026 | 12370 |
12027 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 12371 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
12028 echo "configure:12029: checking for dlopen in -lc" >&5 | 12372 echo "configure:12373: checking for dlopen in -lc" >&5 |
12029 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 12373 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
12030 | 12374 |
12031 xe_check_libs=" -lc " | 12375 xe_check_libs=" -lc " |
12032 cat > conftest.$ac_ext <<EOF | 12376 cat > conftest.$ac_ext <<EOF |
12033 #line 12034 "configure" | 12377 #line 12378 "configure" |
12034 #include "confdefs.h" | 12378 #include "confdefs.h" |
12035 /* Override any gcc2 internal prototype to avoid an error. */ | 12379 /* Override any gcc2 internal prototype to avoid an error. */ |
12036 /* We use char because int might match the return type of a gcc2 | 12380 /* We use char because int might match the return type of a gcc2 |
12037 builtin and then its argument prototype would still apply. */ | 12381 builtin and then its argument prototype would still apply. */ |
12038 char dlopen(); | 12382 char dlopen(); |
12039 | 12383 |
12040 int main() { | 12384 int main() { |
12041 dlopen() | 12385 dlopen() |
12042 ; return 0; } | 12386 ; return 0; } |
12043 EOF | 12387 EOF |
12044 if { (eval echo configure:12045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12388 if { (eval echo configure:12389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12045 rm -rf conftest* | 12389 rm -rf conftest* |
12046 eval "ac_cv_lib_$ac_lib_var=yes" | 12390 eval "ac_cv_lib_$ac_lib_var=yes" |
12047 else | 12391 else |
12048 echo "configure: failed program was:" >&5 | 12392 echo "configure: failed program was:" >&5 |
12049 cat conftest.$ac_ext >&5 | 12393 cat conftest.$ac_ext >&5 |
12078 } | 12422 } |
12079 | 12423 |
12080 else | 12424 else |
12081 | 12425 |
12082 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 12426 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
12083 echo "configure:12084: checking for shl_load in -ldld" >&5 | 12427 echo "configure:12428: checking for shl_load in -ldld" >&5 |
12084 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 12428 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
12085 | 12429 |
12086 xe_check_libs=" -ldld " | 12430 xe_check_libs=" -ldld " |
12087 cat > conftest.$ac_ext <<EOF | 12431 cat > conftest.$ac_ext <<EOF |
12088 #line 12089 "configure" | 12432 #line 12433 "configure" |
12089 #include "confdefs.h" | 12433 #include "confdefs.h" |
12090 /* Override any gcc2 internal prototype to avoid an error. */ | 12434 /* Override any gcc2 internal prototype to avoid an error. */ |
12091 /* We use char because int might match the return type of a gcc2 | 12435 /* We use char because int might match the return type of a gcc2 |
12092 builtin and then its argument prototype would still apply. */ | 12436 builtin and then its argument prototype would still apply. */ |
12093 char shl_load(); | 12437 char shl_load(); |
12094 | 12438 |
12095 int main() { | 12439 int main() { |
12096 shl_load() | 12440 shl_load() |
12097 ; return 0; } | 12441 ; return 0; } |
12098 EOF | 12442 EOF |
12099 if { (eval echo configure:12100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12443 if { (eval echo configure:12444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12100 rm -rf conftest* | 12444 rm -rf conftest* |
12101 eval "ac_cv_lib_$ac_lib_var=yes" | 12445 eval "ac_cv_lib_$ac_lib_var=yes" |
12102 else | 12446 else |
12103 echo "configure: failed program was:" >&5 | 12447 echo "configure: failed program was:" >&5 |
12104 cat conftest.$ac_ext >&5 | 12448 cat conftest.$ac_ext >&5 |
12121 | 12465 |
12122 else | 12466 else |
12123 echo "$ac_t""no" 1>&6 | 12467 echo "$ac_t""no" 1>&6 |
12124 | 12468 |
12125 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 12469 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
12126 echo "configure:12127: checking for dld_init in -ldld" >&5 | 12470 echo "configure:12471: checking for dld_init in -ldld" >&5 |
12127 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 12471 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
12128 | 12472 |
12129 xe_check_libs=" -ldld " | 12473 xe_check_libs=" -ldld " |
12130 cat > conftest.$ac_ext <<EOF | 12474 cat > conftest.$ac_ext <<EOF |
12131 #line 12132 "configure" | 12475 #line 12476 "configure" |
12132 #include "confdefs.h" | 12476 #include "confdefs.h" |
12133 /* Override any gcc2 internal prototype to avoid an error. */ | 12477 /* Override any gcc2 internal prototype to avoid an error. */ |
12134 /* We use char because int might match the return type of a gcc2 | 12478 /* We use char because int might match the return type of a gcc2 |
12135 builtin and then its argument prototype would still apply. */ | 12479 builtin and then its argument prototype would still apply. */ |
12136 char dld_init(); | 12480 char dld_init(); |
12137 | 12481 |
12138 int main() { | 12482 int main() { |
12139 dld_init() | 12483 dld_init() |
12140 ; return 0; } | 12484 ; return 0; } |
12141 EOF | 12485 EOF |
12142 if { (eval echo configure:12143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12486 if { (eval echo configure:12487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12143 rm -rf conftest* | 12487 rm -rf conftest* |
12144 eval "ac_cv_lib_$ac_lib_var=yes" | 12488 eval "ac_cv_lib_$ac_lib_var=yes" |
12145 else | 12489 else |
12146 echo "configure: failed program was:" >&5 | 12490 echo "configure: failed program was:" >&5 |
12147 cat conftest.$ac_ext >&5 | 12491 cat conftest.$ac_ext >&5 |
12182 ld_dynamic_link_flags= | 12526 ld_dynamic_link_flags= |
12183 xehost=$canonical | 12527 xehost=$canonical |
12184 xealias=$internal_configuration | 12528 xealias=$internal_configuration |
12185 | 12529 |
12186 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 12530 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
12187 echo "configure:12188: checking how to build dynamic libraries for ${xehost}" >&5 | 12531 echo "configure:12532: checking how to build dynamic libraries for ${xehost}" >&5 |
12188 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 12532 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
12189 case "$xehost" in | 12533 case "$xehost" in |
12190 *-*-linux-gnu*) ;; | 12534 *-*-linux-gnu*) ;; |
12191 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 12535 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
12192 esac | 12536 esac |
12210 # Now see if the compiler is really GCC. | 12554 # Now see if the compiler is really GCC. |
12211 if test "$GCC" = "yes"; then | 12555 if test "$GCC" = "yes"; then |
12212 XEGCC=yes | 12556 XEGCC=yes |
12213 else | 12557 else |
12214 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 12558 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
12215 echo "configure:12216: checking checking whether we are using GNU C" >&5 | 12559 echo "configure:12560: checking checking whether we are using GNU C" >&5 |
12216 cat > conftest.$ac_ext <<EOF | 12560 cat > conftest.$ac_ext <<EOF |
12217 #line 12218 "configure" | 12561 #line 12562 "configure" |
12218 #include "confdefs.h" | 12562 #include "confdefs.h" |
12219 | 12563 |
12220 #ifdef __GNUC__ | 12564 #ifdef __GNUC__ |
12221 yes; | 12565 yes; |
12222 #endif | 12566 #endif |
12234 | 12578 |
12235 echo "$ac_t""${XEGCC}" 1>&6 | 12579 echo "$ac_t""${XEGCC}" 1>&6 |
12236 fi | 12580 fi |
12237 | 12581 |
12238 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 12582 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
12239 echo "configure:12240: checking how to produce PIC code" >&5 | 12583 echo "configure:12584: checking how to produce PIC code" >&5 |
12240 wl= | 12584 wl= |
12241 | 12585 |
12242 can_build_shared=yes | 12586 can_build_shared=yes |
12243 if test "$XEGCC" = yes; then | 12587 if test "$XEGCC" = yes; then |
12244 wl='-Wl,' | 12588 wl='-Wl,' |
12327 if test -n "$dll_cflags"; then | 12671 if test -n "$dll_cflags"; then |
12328 echo "$ac_t""${dll_cflags}" 1>&6 | 12672 echo "$ac_t""${dll_cflags}" 1>&6 |
12329 | 12673 |
12330 # Check to make sure the dll_cflags actually works. | 12674 # Check to make sure the dll_cflags actually works. |
12331 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 12675 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
12332 echo "configure:12333: checking if PIC flag ${dll_cflags} really works" >&5 | 12676 echo "configure:12677: checking if PIC flag ${dll_cflags} really works" >&5 |
12333 save_CFLAGS="$CFLAGS" | 12677 save_CFLAGS="$CFLAGS" |
12334 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 12678 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
12335 cat > conftest.$ac_ext <<EOF | 12679 cat > conftest.$ac_ext <<EOF |
12336 #line 12337 "configure" | 12680 #line 12681 "configure" |
12337 #include "confdefs.h" | 12681 #include "confdefs.h" |
12338 | 12682 |
12339 int main() { | 12683 int main() { |
12340 int x=0; | 12684 int x=0; |
12341 ; return 0; } | 12685 ; return 0; } |
12342 EOF | 12686 EOF |
12343 if { (eval echo configure:12344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12687 if { (eval echo configure:12688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12344 rm -rf conftest* | 12688 rm -rf conftest* |
12345 | 12689 |
12346 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 12690 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
12347 # reports no error. So, we need to grep stderr for (Bundled). | 12691 # reports no error. So, we need to grep stderr for (Bundled). |
12348 if grep '(Bundled)' config.log >/dev/null; then | 12692 if grep '(Bundled)' config.log >/dev/null; then |
12369 if test "$can_build_shared" = "yes"; then | 12713 if test "$can_build_shared" = "yes"; then |
12370 cc_produces_so=no | 12714 cc_produces_so=no |
12371 xldf= | 12715 xldf= |
12372 xcldf= | 12716 xcldf= |
12373 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 12717 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
12374 echo "configure:12375: checking if C compiler can produce shared libraries" >&5 | 12718 echo "configure:12719: checking if C compiler can produce shared libraries" >&5 |
12375 if test "$XEGCC" = yes; then | 12719 if test "$XEGCC" = yes; then |
12376 xcldf="-shared" | 12720 xcldf="-shared" |
12377 xldf="-shared" | 12721 xldf="-shared" |
12378 else # Not using GCC | 12722 else # Not using GCC |
12379 case "$xehost_os" in | 12723 case "$xehost_os" in |
12420 LDFLAGS="$xcldf $LDFLAGS" | 12764 LDFLAGS="$xcldf $LDFLAGS" |
12421 LIBS= | 12765 LIBS= |
12422 xe_libs= | 12766 xe_libs= |
12423 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 12767 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
12424 cat > conftest.$ac_ext <<EOF | 12768 cat > conftest.$ac_ext <<EOF |
12425 #line 12426 "configure" | 12769 #line 12770 "configure" |
12426 #include "confdefs.h" | 12770 #include "confdefs.h" |
12427 | 12771 |
12428 int main() { | 12772 int main() { |
12429 int x=0; | 12773 int x=0; |
12430 ; return 0; } | 12774 ; return 0; } |
12431 EOF | 12775 EOF |
12432 if { (eval echo configure:12433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12776 if { (eval echo configure:12777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12433 rm -rf conftest* | 12777 rm -rf conftest* |
12434 cc_produces_so=yes | 12778 cc_produces_so=yes |
12435 else | 12779 else |
12436 echo "configure: failed program was:" >&5 | 12780 echo "configure: failed program was:" >&5 |
12437 cat conftest.$ac_ext >&5 | 12781 cat conftest.$ac_ext >&5 |
12452 if test -z "$LTLD"; then | 12796 if test -z "$LTLD"; then |
12453 ac_prog=ld | 12797 ac_prog=ld |
12454 if test "$XEGCC" = yes; then | 12798 if test "$XEGCC" = yes; then |
12455 # Check if gcc -print-prog-name=ld gives a path. | 12799 # Check if gcc -print-prog-name=ld gives a path. |
12456 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 12800 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
12457 echo "configure:12458: checking for ld used by GCC" >&5 | 12801 echo "configure:12802: checking for ld used by GCC" >&5 |
12458 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 12802 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
12459 case "$ac_prog" in | 12803 case "$ac_prog" in |
12460 # Accept absolute paths. | 12804 # Accept absolute paths. |
12461 /*) | 12805 /*) |
12462 if test -z "$LTLD"; then | 12806 if test -z "$LTLD"; then |
12477 with_gnu_ld=unknown | 12821 with_gnu_ld=unknown |
12478 ;; | 12822 ;; |
12479 esac | 12823 esac |
12480 else | 12824 else |
12481 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 12825 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
12482 echo "configure:12483: checking for GNU ld" >&5 | 12826 echo "configure:12827: checking for GNU ld" >&5 |
12483 fi | 12827 fi |
12484 | 12828 |
12485 if test -z "$LTLD"; then | 12829 if test -z "$LTLD"; then |
12486 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 12830 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
12487 for ac_dir in $PATH; do | 12831 for ac_dir in $PATH; do |
12515 | 12859 |
12516 ld_dynamic_link_flags= | 12860 ld_dynamic_link_flags= |
12517 | 12861 |
12518 # Check to see if it really is or isn't GNU ld. | 12862 # Check to see if it really is or isn't GNU ld. |
12519 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 12863 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
12520 echo "configure:12521: checking if the linker is GNU ld" >&5 | 12864 echo "configure:12865: checking if the linker is GNU ld" >&5 |
12521 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 12865 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
12522 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 12866 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
12523 xe_gnu_ld=yes | 12867 xe_gnu_ld=yes |
12524 else | 12868 else |
12525 xe_gnu_ld=no | 12869 xe_gnu_ld=no |
12542 can_build_shared=yes | 12886 can_build_shared=yes |
12543 else | 12887 else |
12544 # OK - only NOW do we futz about with ld. | 12888 # OK - only NOW do we futz about with ld. |
12545 # See if the linker supports building shared libraries. | 12889 # See if the linker supports building shared libraries. |
12546 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 12890 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
12547 echo "configure:12548: checking whether the linker supports shared libraries" >&5 | 12891 echo "configure:12892: checking whether the linker supports shared libraries" >&5 |
12548 dll_ld=$CC | 12892 dll_ld=$CC |
12549 dll_ldflags=$LDFLAGS | 12893 dll_ldflags=$LDFLAGS |
12550 ld_shlibs=yes | 12894 ld_shlibs=yes |
12551 can_build_shared=yes | 12895 can_build_shared=yes |
12552 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 12896 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
12757 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 13101 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
12758 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 13102 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
12759 for ac_func in dlerror _dlerror | 13103 for ac_func in dlerror _dlerror |
12760 do | 13104 do |
12761 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13105 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12762 echo "configure:12763: checking for $ac_func" >&5 | 13106 echo "configure:13107: checking for $ac_func" >&5 |
12763 | 13107 |
12764 cat > conftest.$ac_ext <<EOF | 13108 cat > conftest.$ac_ext <<EOF |
12765 #line 12766 "configure" | 13109 #line 13110 "configure" |
12766 #include "confdefs.h" | 13110 #include "confdefs.h" |
12767 /* System header to define __stub macros and hopefully few prototypes, | 13111 /* System header to define __stub macros and hopefully few prototypes, |
12768 which can conflict with char $ac_func(); below. */ | 13112 which can conflict with char $ac_func(); below. */ |
12769 #include <assert.h> | 13113 #include <assert.h> |
12770 /* Override any gcc2 internal prototype to avoid an error. */ | 13114 /* Override any gcc2 internal prototype to avoid an error. */ |
12783 $ac_func(); | 13127 $ac_func(); |
12784 #endif | 13128 #endif |
12785 | 13129 |
12786 ; return 0; } | 13130 ; return 0; } |
12787 EOF | 13131 EOF |
12788 if { (eval echo configure:12789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13132 if { (eval echo configure:13133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12789 rm -rf conftest* | 13133 rm -rf conftest* |
12790 eval "ac_cv_func_$ac_func=yes" | 13134 eval "ac_cv_func_$ac_func=yes" |
12791 else | 13135 else |
12792 echo "configure: failed program was:" >&5 | 13136 echo "configure: failed program was:" >&5 |
12793 cat conftest.$ac_ext >&5 | 13137 cat conftest.$ac_ext >&5 |
12822 with_modules=no | 13166 with_modules=no |
12823 fi | 13167 fi |
12824 fi | 13168 fi |
12825 | 13169 |
12826 cat > conftest.$ac_ext <<EOF | 13170 cat > conftest.$ac_ext <<EOF |
12827 #line 12828 "configure" | 13171 #line 13172 "configure" |
12828 #include "confdefs.h" | 13172 #include "confdefs.h" |
12829 int main(int c,char *v[]){return 0;} | 13173 int main(int c,char *v[]){return 0;} |
12830 EOF | 13174 EOF |
12831 if { (eval echo configure:12832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13175 if { (eval echo configure:13176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12832 then | 13176 then |
12833 : | 13177 : |
12834 else | 13178 else |
12835 conftest_rc="$?" | 13179 conftest_rc="$?" |
12836 echo "configure: failed program was:" >&5 | 13180 echo "configure: failed program was:" >&5 |