Mercurial > hg > xemacs-beta
comparison configure @ 404:2f8bb876ab1d r21-2-32
Import from CVS: tag r21-2-32
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:16:07 +0200 |
parents | a86b2b5e0111 |
children | b8cc9ab3f761 |
comparison
equal
deleted
inserted
replaced
403:9f011ab08d48 | 404:2f8bb876ab1d |
---|---|
90 infodir='${prefix}/info' | 90 infodir='${prefix}/info' |
91 mandir='${prefix}/man' | 91 mandir='${prefix}/man' |
92 | 92 |
93 subdirs= | 93 subdirs= |
94 MFLAGS= MAKEFLAGS= | 94 MFLAGS= MAKEFLAGS= |
95 SHELL=${CONFIG_SHELL-/bin/sh} | |
95 ac_max_here_lines=12 | 96 ac_max_here_lines=12 |
96 | 97 |
97 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | 98 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
98 | 99 |
99 # File descriptor usage: | 100 # File descriptor usage: |
348 with_wnn6 | \ | 349 with_wnn6 | \ |
349 with_workshop | \ | 350 with_workshop | \ |
350 with_sparcworks | \ | 351 with_sparcworks | \ |
351 with_tooltalk | \ | 352 with_tooltalk | \ |
352 with_ldap | \ | 353 with_ldap | \ |
354 with_postgresql | \ | |
353 with_pop | \ | 355 with_pop | \ |
354 with_kerberos | \ | 356 with_kerberos | \ |
355 with_hesiod | \ | 357 with_hesiod | \ |
356 with_dnet | \ | 358 with_dnet | \ |
357 with_infodock | \ | 359 with_infodock | \ |
830 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 832 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
831 fi | 833 fi |
832 fi | 834 fi |
833 | 835 |
834 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 836 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
835 echo "configure:836: checking whether ln -s works" >&5 | 837 echo "configure:838: checking whether ln -s works" >&5 |
836 | 838 |
837 rm -f conftestdata | 839 rm -f conftestdata |
838 if ln -s X conftestdata 2>/dev/null | 840 if ln -s X conftestdata 2>/dev/null |
839 then | 841 then |
840 rm -f conftestdata | 842 rm -f conftestdata |
993 CPPFLAGS="$CPPFLAGS -DINFODOCK" | 995 CPPFLAGS="$CPPFLAGS -DINFODOCK" |
994 else | 996 else |
995 PROGNAME=xemacs | 997 PROGNAME=xemacs |
996 fi | 998 fi |
997 | 999 |
1000 { test "$extra_verbose" = "yes" && cat << EOF | |
1001 Defining EMACS_PROGNAME = "$PROGNAME" | |
1002 EOF | |
1003 cat >> confdefs.h <<EOF | |
1004 #define EMACS_PROGNAME "$PROGNAME" | |
1005 EOF | |
1006 } | |
1007 | |
1008 | |
998 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi | 1009 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi |
999 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF | 1010 test "${error_check_extents=$beta}" = yes && { test "$extra_verbose" = "yes" && cat << \EOF |
1000 Defining ERROR_CHECK_EXTENTS | 1011 Defining ERROR_CHECK_EXTENTS |
1001 EOF | 1012 EOF |
1002 cat >> confdefs.h <<\EOF | 1013 cat >> confdefs.h <<\EOF |
1078 } | 1089 } |
1079 | 1090 |
1080 | 1091 |
1081 | 1092 |
1082 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1093 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1083 echo "configure:1084: checking "host system type"" >&5 | 1094 echo "configure:1095: checking "host system type"" >&5 |
1084 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1095 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1085 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1096 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1086 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1097 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1087 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1098 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1088 echo "$ac_t""$configuration" 1>&6 | 1099 echo "$ac_t""$configuration" 1>&6 |
1573 xe_save_CFLAGS="$CFLAGS" | 1584 xe_save_CFLAGS="$CFLAGS" |
1574 | 1585 |
1575 # Extract the first word of "gcc", so it can be a program name with args. | 1586 # Extract the first word of "gcc", so it can be a program name with args. |
1576 set dummy gcc; ac_word=$2 | 1587 set dummy gcc; ac_word=$2 |
1577 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1588 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1578 echo "configure:1579: checking for $ac_word" >&5 | 1589 echo "configure:1590: checking for $ac_word" >&5 |
1579 | 1590 |
1580 if test -n "$CC"; then | 1591 if test -n "$CC"; then |
1581 ac_cv_prog_CC="$CC" # Let the user override the test. | 1592 ac_cv_prog_CC="$CC" # Let the user override the test. |
1582 else | 1593 else |
1583 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1594 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1600 | 1611 |
1601 if test -z "$CC"; then | 1612 if test -z "$CC"; then |
1602 # Extract the first word of "cc", so it can be a program name with args. | 1613 # Extract the first word of "cc", so it can be a program name with args. |
1603 set dummy cc; ac_word=$2 | 1614 set dummy cc; ac_word=$2 |
1604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1615 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1605 echo "configure:1606: checking for $ac_word" >&5 | 1616 echo "configure:1617: checking for $ac_word" >&5 |
1606 | 1617 |
1607 if test -n "$CC"; then | 1618 if test -n "$CC"; then |
1608 ac_cv_prog_CC="$CC" # Let the user override the test. | 1619 ac_cv_prog_CC="$CC" # Let the user override the test. |
1609 else | 1620 else |
1610 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1621 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1648 case "`uname -s`" in | 1659 case "`uname -s`" in |
1649 *win32* | *WIN32*) | 1660 *win32* | *WIN32*) |
1650 # Extract the first word of "cl", so it can be a program name with args. | 1661 # Extract the first word of "cl", so it can be a program name with args. |
1651 set dummy cl; ac_word=$2 | 1662 set dummy cl; ac_word=$2 |
1652 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1663 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1653 echo "configure:1654: checking for $ac_word" >&5 | 1664 echo "configure:1665: checking for $ac_word" >&5 |
1654 | 1665 |
1655 if test -n "$CC"; then | 1666 if test -n "$CC"; then |
1656 ac_cv_prog_CC="$CC" # Let the user override the test. | 1667 ac_cv_prog_CC="$CC" # Let the user override the test. |
1657 else | 1668 else |
1658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1669 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1677 fi | 1688 fi |
1678 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1689 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1679 fi | 1690 fi |
1680 | 1691 |
1681 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1692 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1682 echo "configure:1683: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1693 echo "configure:1694: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1683 | 1694 |
1684 ac_ext=c | 1695 ac_ext=c |
1685 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1696 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1686 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1697 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1687 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1698 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1690 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1701 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1691 cross_compiling=no | 1702 cross_compiling=no |
1692 | 1703 |
1693 cat > conftest.$ac_ext << EOF | 1704 cat > conftest.$ac_ext << EOF |
1694 | 1705 |
1695 #line 1696 "configure" | 1706 #line 1707 "configure" |
1696 #include "confdefs.h" | 1707 #include "confdefs.h" |
1697 | 1708 |
1698 main(){return(0);} | 1709 main(){return(0);} |
1699 EOF | 1710 EOF |
1700 if { (eval echo configure:1701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1711 if { (eval echo configure:1712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1701 ac_cv_prog_cc_works=yes | 1712 ac_cv_prog_cc_works=yes |
1702 # If we can't run a trivial program, we are probably using a cross compiler. | 1713 # If we can't run a trivial program, we are probably using a cross compiler. |
1703 if (./conftest; exit) 2>/dev/null; then | 1714 if (./conftest; exit) 2>/dev/null; then |
1704 ac_cv_prog_cc_cross=no | 1715 ac_cv_prog_cc_cross=no |
1705 else | 1716 else |
1723 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1734 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1724 if test $ac_cv_prog_cc_works = no; then | 1735 if test $ac_cv_prog_cc_works = no; then |
1725 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1736 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1726 fi | 1737 fi |
1727 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1738 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1728 echo "configure:1729: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1739 echo "configure:1740: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1729 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1740 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1730 cross_compiling=$ac_cv_prog_cc_cross | 1741 cross_compiling=$ac_cv_prog_cc_cross |
1731 | 1742 |
1732 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1743 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1733 echo "configure:1734: checking whether we are using GNU C" >&5 | 1744 echo "configure:1745: checking whether we are using GNU C" >&5 |
1734 | 1745 |
1735 cat > conftest.c <<EOF | 1746 cat > conftest.c <<EOF |
1736 #ifdef __GNUC__ | 1747 #ifdef __GNUC__ |
1737 yes; | 1748 yes; |
1738 #endif | 1749 #endif |
1739 EOF | 1750 EOF |
1740 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1751 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1741 ac_cv_prog_gcc=yes | 1752 ac_cv_prog_gcc=yes |
1742 else | 1753 else |
1743 ac_cv_prog_gcc=no | 1754 ac_cv_prog_gcc=no |
1744 fi | 1755 fi |
1745 | 1756 |
1753 | 1764 |
1754 ac_test_CFLAGS="${CFLAGS+set}" | 1765 ac_test_CFLAGS="${CFLAGS+set}" |
1755 ac_save_CFLAGS="$CFLAGS" | 1766 ac_save_CFLAGS="$CFLAGS" |
1756 CFLAGS= | 1767 CFLAGS= |
1757 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1768 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1758 echo "configure:1759: checking whether ${CC-cc} accepts -g" >&5 | 1769 echo "configure:1770: checking whether ${CC-cc} accepts -g" >&5 |
1759 | 1770 |
1760 echo 'void f(){}' > conftest.c | 1771 echo 'void f(){}' > conftest.c |
1761 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1772 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1762 ac_cv_prog_cc_g=yes | 1773 ac_cv_prog_cc_g=yes |
1763 else | 1774 else |
1786 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1797 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1787 CC=${NON_GNU_CC-cc} | 1798 CC=${NON_GNU_CC-cc} |
1788 # Extract the first word of "gcc", so it can be a program name with args. | 1799 # Extract the first word of "gcc", so it can be a program name with args. |
1789 set dummy gcc; ac_word=$2 | 1800 set dummy gcc; ac_word=$2 |
1790 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1801 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1791 echo "configure:1792: checking for $ac_word" >&5 | 1802 echo "configure:1803: checking for $ac_word" >&5 |
1792 | 1803 |
1793 if test -n "$CC"; then | 1804 if test -n "$CC"; then |
1794 ac_cv_prog_CC="$CC" # Let the user override the test. | 1805 ac_cv_prog_CC="$CC" # Let the user override the test. |
1795 else | 1806 else |
1796 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1813 | 1824 |
1814 if test -z "$CC"; then | 1825 if test -z "$CC"; then |
1815 # Extract the first word of "cc", so it can be a program name with args. | 1826 # Extract the first word of "cc", so it can be a program name with args. |
1816 set dummy cc; ac_word=$2 | 1827 set dummy cc; ac_word=$2 |
1817 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1828 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1818 echo "configure:1819: checking for $ac_word" >&5 | 1829 echo "configure:1830: checking for $ac_word" >&5 |
1819 | 1830 |
1820 if test -n "$CC"; then | 1831 if test -n "$CC"; then |
1821 ac_cv_prog_CC="$CC" # Let the user override the test. | 1832 ac_cv_prog_CC="$CC" # Let the user override the test. |
1822 else | 1833 else |
1823 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1834 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1861 case "`uname -s`" in | 1872 case "`uname -s`" in |
1862 *win32* | *WIN32*) | 1873 *win32* | *WIN32*) |
1863 # Extract the first word of "cl", so it can be a program name with args. | 1874 # Extract the first word of "cl", so it can be a program name with args. |
1864 set dummy cl; ac_word=$2 | 1875 set dummy cl; ac_word=$2 |
1865 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1876 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1866 echo "configure:1867: checking for $ac_word" >&5 | 1877 echo "configure:1878: checking for $ac_word" >&5 |
1867 | 1878 |
1868 if test -n "$CC"; then | 1879 if test -n "$CC"; then |
1869 ac_cv_prog_CC="$CC" # Let the user override the test. | 1880 ac_cv_prog_CC="$CC" # Let the user override the test. |
1870 else | 1881 else |
1871 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1882 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1890 fi | 1901 fi |
1891 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1902 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1892 fi | 1903 fi |
1893 | 1904 |
1894 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1905 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1895 echo "configure:1896: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1906 echo "configure:1907: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1896 | 1907 |
1897 ac_ext=c | 1908 ac_ext=c |
1898 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1909 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1899 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1910 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1900 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1911 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1903 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1914 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1904 cross_compiling=no | 1915 cross_compiling=no |
1905 | 1916 |
1906 cat > conftest.$ac_ext << EOF | 1917 cat > conftest.$ac_ext << EOF |
1907 | 1918 |
1908 #line 1909 "configure" | 1919 #line 1920 "configure" |
1909 #include "confdefs.h" | 1920 #include "confdefs.h" |
1910 | 1921 |
1911 main(){return(0);} | 1922 main(){return(0);} |
1912 EOF | 1923 EOF |
1913 if { (eval echo configure:1914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1924 if { (eval echo configure:1925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1914 ac_cv_prog_cc_works=yes | 1925 ac_cv_prog_cc_works=yes |
1915 # If we can't run a trivial program, we are probably using a cross compiler. | 1926 # If we can't run a trivial program, we are probably using a cross compiler. |
1916 if (./conftest; exit) 2>/dev/null; then | 1927 if (./conftest; exit) 2>/dev/null; then |
1917 ac_cv_prog_cc_cross=no | 1928 ac_cv_prog_cc_cross=no |
1918 else | 1929 else |
1936 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1947 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1937 if test $ac_cv_prog_cc_works = no; then | 1948 if test $ac_cv_prog_cc_works = no; then |
1938 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1949 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1939 fi | 1950 fi |
1940 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1951 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1941 echo "configure:1942: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1952 echo "configure:1953: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1942 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1953 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1943 cross_compiling=$ac_cv_prog_cc_cross | 1954 cross_compiling=$ac_cv_prog_cc_cross |
1944 | 1955 |
1945 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1956 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1946 echo "configure:1947: checking whether we are using GNU C" >&5 | 1957 echo "configure:1958: checking whether we are using GNU C" >&5 |
1947 | 1958 |
1948 cat > conftest.c <<EOF | 1959 cat > conftest.c <<EOF |
1949 #ifdef __GNUC__ | 1960 #ifdef __GNUC__ |
1950 yes; | 1961 yes; |
1951 #endif | 1962 #endif |
1952 EOF | 1963 EOF |
1953 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1964 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1954 ac_cv_prog_gcc=yes | 1965 ac_cv_prog_gcc=yes |
1955 else | 1966 else |
1956 ac_cv_prog_gcc=no | 1967 ac_cv_prog_gcc=no |
1957 fi | 1968 fi |
1958 | 1969 |
1966 | 1977 |
1967 ac_test_CFLAGS="${CFLAGS+set}" | 1978 ac_test_CFLAGS="${CFLAGS+set}" |
1968 ac_save_CFLAGS="$CFLAGS" | 1979 ac_save_CFLAGS="$CFLAGS" |
1969 CFLAGS= | 1980 CFLAGS= |
1970 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1981 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1971 echo "configure:1972: checking whether ${CC-cc} accepts -g" >&5 | 1982 echo "configure:1983: checking whether ${CC-cc} accepts -g" >&5 |
1972 | 1983 |
1973 echo 'void f(){}' > conftest.c | 1984 echo 'void f(){}' > conftest.c |
1974 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1985 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1975 ac_cv_prog_cc_g=yes | 1986 ac_cv_prog_cc_g=yes |
1976 else | 1987 else |
1999 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2010 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2000 CC=gcc | 2011 CC=gcc |
2001 # Extract the first word of "gcc", so it can be a program name with args. | 2012 # Extract the first word of "gcc", so it can be a program name with args. |
2002 set dummy gcc; ac_word=$2 | 2013 set dummy gcc; ac_word=$2 |
2003 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2014 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2004 echo "configure:2005: checking for $ac_word" >&5 | 2015 echo "configure:2016: checking for $ac_word" >&5 |
2005 | 2016 |
2006 if test -n "$CC"; then | 2017 if test -n "$CC"; then |
2007 ac_cv_prog_CC="$CC" # Let the user override the test. | 2018 ac_cv_prog_CC="$CC" # Let the user override the test. |
2008 else | 2019 else |
2009 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2020 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2026 | 2037 |
2027 if test -z "$CC"; then | 2038 if test -z "$CC"; then |
2028 # Extract the first word of "cc", so it can be a program name with args. | 2039 # Extract the first word of "cc", so it can be a program name with args. |
2029 set dummy cc; ac_word=$2 | 2040 set dummy cc; ac_word=$2 |
2030 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2041 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2031 echo "configure:2032: checking for $ac_word" >&5 | 2042 echo "configure:2043: checking for $ac_word" >&5 |
2032 | 2043 |
2033 if test -n "$CC"; then | 2044 if test -n "$CC"; then |
2034 ac_cv_prog_CC="$CC" # Let the user override the test. | 2045 ac_cv_prog_CC="$CC" # Let the user override the test. |
2035 else | 2046 else |
2036 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2047 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2074 case "`uname -s`" in | 2085 case "`uname -s`" in |
2075 *win32* | *WIN32*) | 2086 *win32* | *WIN32*) |
2076 # Extract the first word of "cl", so it can be a program name with args. | 2087 # Extract the first word of "cl", so it can be a program name with args. |
2077 set dummy cl; ac_word=$2 | 2088 set dummy cl; ac_word=$2 |
2078 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2089 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2079 echo "configure:2080: checking for $ac_word" >&5 | 2090 echo "configure:2091: checking for $ac_word" >&5 |
2080 | 2091 |
2081 if test -n "$CC"; then | 2092 if test -n "$CC"; then |
2082 ac_cv_prog_CC="$CC" # Let the user override the test. | 2093 ac_cv_prog_CC="$CC" # Let the user override the test. |
2083 else | 2094 else |
2084 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2095 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2103 fi | 2114 fi |
2104 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2115 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2105 fi | 2116 fi |
2106 | 2117 |
2107 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2118 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2108 echo "configure:2109: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2119 echo "configure:2120: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2109 | 2120 |
2110 ac_ext=c | 2121 ac_ext=c |
2111 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2122 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2112 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2123 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2113 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2124 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2116 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2127 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2117 cross_compiling=no | 2128 cross_compiling=no |
2118 | 2129 |
2119 cat > conftest.$ac_ext << EOF | 2130 cat > conftest.$ac_ext << EOF |
2120 | 2131 |
2121 #line 2122 "configure" | 2132 #line 2133 "configure" |
2122 #include "confdefs.h" | 2133 #include "confdefs.h" |
2123 | 2134 |
2124 main(){return(0);} | 2135 main(){return(0);} |
2125 EOF | 2136 EOF |
2126 if { (eval echo configure:2127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2137 if { (eval echo configure:2138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2127 ac_cv_prog_cc_works=yes | 2138 ac_cv_prog_cc_works=yes |
2128 # If we can't run a trivial program, we are probably using a cross compiler. | 2139 # If we can't run a trivial program, we are probably using a cross compiler. |
2129 if (./conftest; exit) 2>/dev/null; then | 2140 if (./conftest; exit) 2>/dev/null; then |
2130 ac_cv_prog_cc_cross=no | 2141 ac_cv_prog_cc_cross=no |
2131 else | 2142 else |
2149 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2160 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2150 if test $ac_cv_prog_cc_works = no; then | 2161 if test $ac_cv_prog_cc_works = no; then |
2151 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2162 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2152 fi | 2163 fi |
2153 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2164 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2154 echo "configure:2155: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2165 echo "configure:2166: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2155 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2166 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2156 cross_compiling=$ac_cv_prog_cc_cross | 2167 cross_compiling=$ac_cv_prog_cc_cross |
2157 | 2168 |
2158 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2169 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2159 echo "configure:2160: checking whether we are using GNU C" >&5 | 2170 echo "configure:2171: checking whether we are using GNU C" >&5 |
2160 | 2171 |
2161 cat > conftest.c <<EOF | 2172 cat > conftest.c <<EOF |
2162 #ifdef __GNUC__ | 2173 #ifdef __GNUC__ |
2163 yes; | 2174 yes; |
2164 #endif | 2175 #endif |
2165 EOF | 2176 EOF |
2166 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2177 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2167 ac_cv_prog_gcc=yes | 2178 ac_cv_prog_gcc=yes |
2168 else | 2179 else |
2169 ac_cv_prog_gcc=no | 2180 ac_cv_prog_gcc=no |
2170 fi | 2181 fi |
2171 | 2182 |
2179 | 2190 |
2180 ac_test_CFLAGS="${CFLAGS+set}" | 2191 ac_test_CFLAGS="${CFLAGS+set}" |
2181 ac_save_CFLAGS="$CFLAGS" | 2192 ac_save_CFLAGS="$CFLAGS" |
2182 CFLAGS= | 2193 CFLAGS= |
2183 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2194 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2184 echo "configure:2185: checking whether ${CC-cc} accepts -g" >&5 | 2195 echo "configure:2196: checking whether ${CC-cc} accepts -g" >&5 |
2185 | 2196 |
2186 echo 'void f(){}' > conftest.c | 2197 echo 'void f(){}' > conftest.c |
2187 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2198 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2188 ac_cv_prog_cc_g=yes | 2199 ac_cv_prog_cc_g=yes |
2189 else | 2200 else |
2216 test -n "$CPP" -a -d "$CPP" && CPP= | 2227 test -n "$CPP" -a -d "$CPP" && CPP= |
2217 | 2228 |
2218 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2229 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2219 | 2230 |
2220 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2231 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2221 echo "configure:2222: checking how to run the C preprocessor" >&5 | 2232 echo "configure:2233: checking how to run the C preprocessor" >&5 |
2222 # On Suns, sometimes $CPP names a directory. | 2233 # On Suns, sometimes $CPP names a directory. |
2223 if test -n "$CPP" && test -d "$CPP"; then | 2234 if test -n "$CPP" && test -d "$CPP"; then |
2224 CPP= | 2235 CPP= |
2225 fi | 2236 fi |
2226 if test -z "$CPP"; then | 2237 if test -z "$CPP"; then |
2229 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2240 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2230 CPP="${CC-cc} -E" | 2241 CPP="${CC-cc} -E" |
2231 # On the NeXT, cc -E runs the code through the compiler's parser, | 2242 # On the NeXT, cc -E runs the code through the compiler's parser, |
2232 # not just through cpp. | 2243 # not just through cpp. |
2233 cat > conftest.$ac_ext <<EOF | 2244 cat > conftest.$ac_ext <<EOF |
2234 #line 2235 "configure" | 2245 #line 2246 "configure" |
2235 #include "confdefs.h" | 2246 #include "confdefs.h" |
2236 #include <assert.h> | 2247 #include <assert.h> |
2237 Syntax Error | 2248 Syntax Error |
2238 EOF | 2249 EOF |
2239 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" |
2240 { (eval echo configure:2241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2251 { (eval echo configure:2252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2241 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2252 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2242 if test -z "$ac_err"; then | 2253 if test -z "$ac_err"; then |
2243 : | 2254 : |
2244 else | 2255 else |
2245 echo "$ac_err" >&5 | 2256 echo "$ac_err" >&5 |
2246 echo "configure: failed program was:" >&5 | 2257 echo "configure: failed program was:" >&5 |
2247 cat conftest.$ac_ext >&5 | 2258 cat conftest.$ac_ext >&5 |
2248 rm -rf conftest* | 2259 rm -rf conftest* |
2249 CPP="${CC-cc} -E -traditional-cpp" | 2260 CPP="${CC-cc} -E -traditional-cpp" |
2250 cat > conftest.$ac_ext <<EOF | 2261 cat > conftest.$ac_ext <<EOF |
2251 #line 2252 "configure" | 2262 #line 2263 "configure" |
2252 #include "confdefs.h" | 2263 #include "confdefs.h" |
2253 #include <assert.h> | 2264 #include <assert.h> |
2254 Syntax Error | 2265 Syntax Error |
2255 EOF | 2266 EOF |
2256 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" |
2257 { (eval echo configure:2258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2268 { (eval echo configure:2269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2269 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2259 if test -z "$ac_err"; then | 2270 if test -z "$ac_err"; then |
2260 : | 2271 : |
2261 else | 2272 else |
2262 echo "$ac_err" >&5 | 2273 echo "$ac_err" >&5 |
2263 echo "configure: failed program was:" >&5 | 2274 echo "configure: failed program was:" >&5 |
2264 cat conftest.$ac_ext >&5 | 2275 cat conftest.$ac_ext >&5 |
2265 rm -rf conftest* | 2276 rm -rf conftest* |
2266 CPP="${CC-cc} -nologo -E" | 2277 CPP="${CC-cc} -nologo -E" |
2267 cat > conftest.$ac_ext <<EOF | 2278 cat > conftest.$ac_ext <<EOF |
2268 #line 2269 "configure" | 2279 #line 2280 "configure" |
2269 #include "confdefs.h" | 2280 #include "confdefs.h" |
2270 #include <assert.h> | 2281 #include <assert.h> |
2271 Syntax Error | 2282 Syntax Error |
2272 EOF | 2283 EOF |
2273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2274 { (eval echo configure:2275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2285 { (eval echo configure:2286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2276 if test -z "$ac_err"; then | 2287 if test -z "$ac_err"; then |
2277 : | 2288 : |
2278 else | 2289 else |
2279 echo "$ac_err" >&5 | 2290 echo "$ac_err" >&5 |
2296 | 2307 |
2297 | 2308 |
2298 | 2309 |
2299 | 2310 |
2300 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2311 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2301 echo "configure:2302: checking for AIX" >&5 | 2312 echo "configure:2313: checking for AIX" >&5 |
2302 cat > conftest.$ac_ext <<EOF | 2313 cat > conftest.$ac_ext <<EOF |
2303 #line 2304 "configure" | 2314 #line 2315 "configure" |
2304 #include "confdefs.h" | 2315 #include "confdefs.h" |
2305 #ifdef _AIX | 2316 #ifdef _AIX |
2306 yes | 2317 yes |
2307 #endif | 2318 #endif |
2308 | 2319 |
2324 fi | 2335 fi |
2325 rm -f conftest* | 2336 rm -f conftest* |
2326 | 2337 |
2327 | 2338 |
2328 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2339 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2329 echo "configure:2330: checking for GNU libc" >&5 | 2340 echo "configure:2341: checking for GNU libc" >&5 |
2330 cat > conftest.$ac_ext <<EOF | 2341 cat > conftest.$ac_ext <<EOF |
2331 #line 2332 "configure" | 2342 #line 2343 "configure" |
2332 #include "confdefs.h" | 2343 #include "confdefs.h" |
2333 #include <features.h> | 2344 #include <features.h> |
2334 int main() { | 2345 int main() { |
2335 | 2346 |
2336 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2347 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2338 ******* ======= ******** &&&&&&&& | 2349 ******* ======= ******** &&&&&&&& |
2339 #endif | 2350 #endif |
2340 | 2351 |
2341 ; return 0; } | 2352 ; return 0; } |
2342 EOF | 2353 EOF |
2343 if { (eval echo configure:2344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2354 if { (eval echo configure:2355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2344 rm -rf conftest* | 2355 rm -rf conftest* |
2345 have_glibc=yes | 2356 have_glibc=yes |
2346 else | 2357 else |
2347 echo "configure: failed program was:" >&5 | 2358 echo "configure: failed program was:" >&5 |
2348 cat conftest.$ac_ext >&5 | 2359 cat conftest.$ac_ext >&5 |
2415 | 2426 |
2416 ;; | 2427 ;; |
2417 esac | 2428 esac |
2418 | 2429 |
2419 cat > conftest.$ac_ext <<EOF | 2430 cat > conftest.$ac_ext <<EOF |
2420 #line 2421 "configure" | 2431 #line 2432 "configure" |
2421 #include "confdefs.h" | 2432 #include "confdefs.h" |
2422 int main () { | 2433 int main () { |
2423 #if defined __SUNPRO_C | 2434 #if defined __SUNPRO_C |
2424 return 11; | 2435 return 11; |
2425 #elif defined __DECC | 2436 #elif defined __DECC |
2427 #else | 2438 #else |
2428 return 0; | 2439 return 0; |
2429 #endif | 2440 #endif |
2430 } | 2441 } |
2431 EOF | 2442 EOF |
2432 if { (eval echo configure:2433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2443 if { (eval echo configure:2444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2433 then | 2444 then |
2434 : | 2445 : |
2435 else | 2446 else |
2436 conftest_rc="$?" | 2447 conftest_rc="$?" |
2437 echo "configure: failed program was:" >&5 | 2448 echo "configure: failed program was:" >&5 |
2651 CFLAGS="-O" ; fi | 2662 CFLAGS="-O" ; fi |
2652 fi | 2663 fi |
2653 | 2664 |
2654 if test "$GCC" = "yes"; then | 2665 if test "$GCC" = "yes"; then |
2655 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2666 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2656 echo "configure:2657: checking for buggy gcc versions" >&5 | 2667 echo "configure:2668: checking for buggy gcc versions" >&5 |
2657 GCC_VERSION=`$CC --version` | 2668 GCC_VERSION=`$CC --version` |
2658 case `uname -s`:`uname -m`:$GCC_VERSION in | 2669 case `uname -s`:`uname -m`:$GCC_VERSION in |
2659 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2670 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2660 case "$CFLAGS" in | 2671 case "$CFLAGS" in |
2661 *-O2*|*-O3*) | 2672 *-O2*|*-O3*) |
2766 echo " xemacs will be linked with \"$objects_machine\"" | 2777 echo " xemacs will be linked with \"$objects_machine\"" |
2767 fi | 2778 fi |
2768 test -n "$objects_system" && extra_objs="$extra_objs $objects_system" && if test "$extra_verbose" = "yes"; then | 2779 test -n "$objects_system" && extra_objs="$extra_objs $objects_system" && if test "$extra_verbose" = "yes"; then |
2769 echo " xemacs will be linked with \"$objects_system\"" | 2780 echo " xemacs will be linked with \"$objects_system\"" |
2770 fi | 2781 fi |
2771 test -n "$unexec" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then | 2782 test -n "$unexec" && test ! "$pdump" = "yes" && extra_objs="$extra_objs $unexec" && if test "$extra_verbose" = "yes"; then |
2772 echo " xemacs will be linked with \"$unexec\"" | 2783 echo " xemacs will be linked with \"$unexec\"" |
2773 fi | 2784 fi |
2785 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | |
2786 echo " xemacs will be linked with \"dumper.o\"" | |
2787 fi | |
2774 | 2788 |
2775 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 2789 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
2776 echo "configure:2777: checking for dynodump" >&5 | 2790 echo "configure:2791: checking for dynodump" >&5 |
2777 if test "$unexec" != "unexsol2.o"; then | 2791 if test "$unexec" != "unexsol2.o"; then |
2778 echo "$ac_t""no" 1>&6 | 2792 echo "$ac_t""no" 1>&6 |
2779 else | 2793 else |
2780 echo "$ac_t""yes" 1>&6 | 2794 echo "$ac_t""yes" 1>&6 |
2781 { test "$extra_verbose" = "yes" && cat << \EOF | 2795 { test "$extra_verbose" = "yes" && cat << \EOF |
2809 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 2823 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
2810 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 2824 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
2811 done | 2825 done |
2812 | 2826 |
2813 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 2827 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
2814 echo "configure:2815: checking for terminateAndUnload in -lC" >&5 | 2828 echo "configure:2829: checking for terminateAndUnload in -lC" >&5 |
2815 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 2829 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
2816 | 2830 |
2817 xe_check_libs=" -lC " | 2831 xe_check_libs=" -lC " |
2818 cat > conftest.$ac_ext <<EOF | 2832 cat > conftest.$ac_ext <<EOF |
2819 #line 2820 "configure" | 2833 #line 2834 "configure" |
2820 #include "confdefs.h" | 2834 #include "confdefs.h" |
2821 /* Override any gcc2 internal prototype to avoid an error. */ | 2835 /* Override any gcc2 internal prototype to avoid an error. */ |
2822 /* We use char because int might match the return type of a gcc2 | 2836 /* We use char because int might match the return type of a gcc2 |
2823 builtin and then its argument prototype would still apply. */ | 2837 builtin and then its argument prototype would still apply. */ |
2824 char terminateAndUnload(); | 2838 char terminateAndUnload(); |
2825 | 2839 |
2826 int main() { | 2840 int main() { |
2827 terminateAndUnload() | 2841 terminateAndUnload() |
2828 ; return 0; } | 2842 ; return 0; } |
2829 EOF | 2843 EOF |
2830 if { (eval echo configure:2831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2844 if { (eval echo configure:2845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2831 rm -rf conftest* | 2845 rm -rf conftest* |
2832 eval "ac_cv_lib_$ac_lib_var=yes" | 2846 eval "ac_cv_lib_$ac_lib_var=yes" |
2833 else | 2847 else |
2834 echo "configure: failed program was:" >&5 | 2848 echo "configure: failed program was:" >&5 |
2835 cat conftest.$ac_ext >&5 | 2849 cat conftest.$ac_ext >&5 |
2933 esac | 2947 esac |
2934 fi | 2948 fi |
2935 | 2949 |
2936 if test "$add_runtime_path" = "yes"; then | 2950 if test "$add_runtime_path" = "yes"; then |
2937 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 2951 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
2938 echo "configure:2939: checking "for runtime libraries flag"" >&5 | 2952 echo "configure:2953: checking "for runtime libraries flag"" >&5 |
2939 case "$opsys" in | 2953 case "$opsys" in |
2940 sol2 ) dash_r="-R" ;; | 2954 sol2 ) dash_r="-R" ;; |
2941 decosf* | linux* | irix*) dash_r="-rpath " ;; | 2955 decosf* | linux* | irix*) dash_r="-rpath " ;; |
2942 *) | 2956 *) |
2943 dash_r="" | 2957 dash_r="" |
2955 esac | 2969 esac |
2956 shift | 2970 shift |
2957 done | 2971 done |
2958 fi | 2972 fi |
2959 cat > conftest.$ac_ext <<EOF | 2973 cat > conftest.$ac_ext <<EOF |
2960 #line 2961 "configure" | 2974 #line 2975 "configure" |
2961 #include "confdefs.h" | 2975 #include "confdefs.h" |
2962 | 2976 |
2963 int main() { | 2977 int main() { |
2964 | 2978 |
2965 ; return 0; } | 2979 ; return 0; } |
2966 EOF | 2980 EOF |
2967 if { (eval echo configure:2968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2981 if { (eval echo configure:2982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2968 rm -rf conftest* | 2982 rm -rf conftest* |
2969 dash_r="$try_dash_r" | 2983 dash_r="$try_dash_r" |
2970 else | 2984 else |
2971 echo "configure: failed program was:" >&5 | 2985 echo "configure: failed program was:" >&5 |
2972 cat conftest.$ac_ext >&5 | 2986 cat conftest.$ac_ext >&5 |
3064 else | 3078 else |
3065 doug_lea_malloc=no | 3079 doug_lea_malloc=no |
3066 fi | 3080 fi |
3067 after_morecore_hook_exists=yes | 3081 after_morecore_hook_exists=yes |
3068 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 3082 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
3069 echo "configure:3070: checking for malloc_get_state" >&5 | 3083 echo "configure:3084: checking for malloc_get_state" >&5 |
3070 | 3084 |
3071 cat > conftest.$ac_ext <<EOF | 3085 cat > conftest.$ac_ext <<EOF |
3072 #line 3073 "configure" | 3086 #line 3087 "configure" |
3073 #include "confdefs.h" | 3087 #include "confdefs.h" |
3074 /* System header to define __stub macros and hopefully few prototypes, | 3088 /* System header to define __stub macros and hopefully few prototypes, |
3075 which can conflict with char malloc_get_state(); below. */ | 3089 which can conflict with char malloc_get_state(); below. */ |
3076 #include <assert.h> | 3090 #include <assert.h> |
3077 /* Override any gcc2 internal prototype to avoid an error. */ | 3091 /* Override any gcc2 internal prototype to avoid an error. */ |
3090 malloc_get_state(); | 3104 malloc_get_state(); |
3091 #endif | 3105 #endif |
3092 | 3106 |
3093 ; return 0; } | 3107 ; return 0; } |
3094 EOF | 3108 EOF |
3095 if { (eval echo configure:3096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3109 if { (eval echo configure:3110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3096 rm -rf conftest* | 3110 rm -rf conftest* |
3097 eval "ac_cv_func_malloc_get_state=yes" | 3111 eval "ac_cv_func_malloc_get_state=yes" |
3098 else | 3112 else |
3099 echo "configure: failed program was:" >&5 | 3113 echo "configure: failed program was:" >&5 |
3100 cat conftest.$ac_ext >&5 | 3114 cat conftest.$ac_ext >&5 |
3110 echo "$ac_t""no" 1>&6 | 3124 echo "$ac_t""no" 1>&6 |
3111 doug_lea_malloc=no | 3125 doug_lea_malloc=no |
3112 fi | 3126 fi |
3113 | 3127 |
3114 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3128 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3115 echo "configure:3116: checking for malloc_set_state" >&5 | 3129 echo "configure:3130: checking for malloc_set_state" >&5 |
3116 | 3130 |
3117 cat > conftest.$ac_ext <<EOF | 3131 cat > conftest.$ac_ext <<EOF |
3118 #line 3119 "configure" | 3132 #line 3133 "configure" |
3119 #include "confdefs.h" | 3133 #include "confdefs.h" |
3120 /* System header to define __stub macros and hopefully few prototypes, | 3134 /* System header to define __stub macros and hopefully few prototypes, |
3121 which can conflict with char malloc_set_state(); below. */ | 3135 which can conflict with char malloc_set_state(); below. */ |
3122 #include <assert.h> | 3136 #include <assert.h> |
3123 /* Override any gcc2 internal prototype to avoid an error. */ | 3137 /* Override any gcc2 internal prototype to avoid an error. */ |
3136 malloc_set_state(); | 3150 malloc_set_state(); |
3137 #endif | 3151 #endif |
3138 | 3152 |
3139 ; return 0; } | 3153 ; return 0; } |
3140 EOF | 3154 EOF |
3141 if { (eval echo configure:3142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3155 if { (eval echo configure:3156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3142 rm -rf conftest* | 3156 rm -rf conftest* |
3143 eval "ac_cv_func_malloc_set_state=yes" | 3157 eval "ac_cv_func_malloc_set_state=yes" |
3144 else | 3158 else |
3145 echo "configure: failed program was:" >&5 | 3159 echo "configure: failed program was:" >&5 |
3146 cat conftest.$ac_ext >&5 | 3160 cat conftest.$ac_ext >&5 |
3156 echo "$ac_t""no" 1>&6 | 3170 echo "$ac_t""no" 1>&6 |
3157 doug_lea_malloc=no | 3171 doug_lea_malloc=no |
3158 fi | 3172 fi |
3159 | 3173 |
3160 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3174 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3161 echo "configure:3162: checking whether __after_morecore_hook exists" >&5 | 3175 echo "configure:3176: checking whether __after_morecore_hook exists" >&5 |
3162 cat > conftest.$ac_ext <<EOF | 3176 cat > conftest.$ac_ext <<EOF |
3163 #line 3164 "configure" | 3177 #line 3178 "configure" |
3164 #include "confdefs.h" | 3178 #include "confdefs.h" |
3165 extern void (* __after_morecore_hook)(); | 3179 extern void (* __after_morecore_hook)(); |
3166 int main() { | 3180 int main() { |
3167 __after_morecore_hook = 0 | 3181 __after_morecore_hook = 0 |
3168 ; return 0; } | 3182 ; return 0; } |
3169 EOF | 3183 EOF |
3170 if { (eval echo configure:3171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3184 if { (eval echo configure:3185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3171 rm -rf conftest* | 3185 rm -rf conftest* |
3172 echo "$ac_t""yes" 1>&6 | 3186 echo "$ac_t""yes" 1>&6 |
3173 else | 3187 else |
3174 echo "configure: failed program was:" >&5 | 3188 echo "configure: failed program was:" >&5 |
3175 cat conftest.$ac_ext >&5 | 3189 cat conftest.$ac_ext >&5 |
3224 | 3238 |
3225 | 3239 |
3226 # Extract the first word of "ranlib", so it can be a program name with args. | 3240 # Extract the first word of "ranlib", so it can be a program name with args. |
3227 set dummy ranlib; ac_word=$2 | 3241 set dummy ranlib; ac_word=$2 |
3228 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3242 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3229 echo "configure:3230: checking for $ac_word" >&5 | 3243 echo "configure:3244: checking for $ac_word" >&5 |
3230 | 3244 |
3231 if test -n "$RANLIB"; then | 3245 if test -n "$RANLIB"; then |
3232 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3246 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3233 else | 3247 else |
3234 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3248 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3279 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3293 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3280 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3294 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3281 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3295 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3282 # ./install, which can be erroneously created by make from ./install.sh. | 3296 # ./install, which can be erroneously created by make from ./install.sh. |
3283 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3297 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3284 echo "configure:3285: checking for a BSD compatible install" >&5 | 3298 echo "configure:3299: checking for a BSD compatible install" >&5 |
3285 if test -z "$INSTALL"; then | 3299 if test -z "$INSTALL"; then |
3286 | 3300 |
3287 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3301 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3288 for ac_dir in $PATH; do | 3302 for ac_dir in $PATH; do |
3289 # Account for people who put trailing slashes in PATH elements. | 3303 # Account for people who put trailing slashes in PATH elements. |
3333 for ac_prog in 'bison -y' byacc | 3347 for ac_prog in 'bison -y' byacc |
3334 do | 3348 do |
3335 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3349 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3336 set dummy $ac_prog; ac_word=$2 | 3350 set dummy $ac_prog; ac_word=$2 |
3337 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3351 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3338 echo "configure:3339: checking for $ac_word" >&5 | 3352 echo "configure:3353: checking for $ac_word" >&5 |
3339 | 3353 |
3340 if test -n "$YACC"; then | 3354 if test -n "$YACC"; then |
3341 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3355 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3342 else | 3356 else |
3343 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3357 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3365 | 3379 |
3366 for ac_hdr in a.out.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/stropts.h sys/time.h sys/timeb.h sys/un.h kstat.h ulimit.h unistd.h utime.h | 3380 for ac_hdr in a.out.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h mach/mach.h sys/param.h sys/pstat.h sys/stropts.h sys/time.h sys/timeb.h sys/un.h kstat.h ulimit.h unistd.h utime.h |
3367 do | 3381 do |
3368 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3382 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3369 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3383 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3370 echo "configure:3371: checking for $ac_hdr" >&5 | 3384 echo "configure:3385: checking for $ac_hdr" >&5 |
3371 | 3385 |
3372 cat > conftest.$ac_ext <<EOF | 3386 cat > conftest.$ac_ext <<EOF |
3373 #line 3374 "configure" | 3387 #line 3388 "configure" |
3374 #include "confdefs.h" | 3388 #include "confdefs.h" |
3375 #include <$ac_hdr> | 3389 #include <$ac_hdr> |
3376 EOF | 3390 EOF |
3377 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3391 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3378 { (eval echo configure:3379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3392 { (eval echo configure:3393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3379 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3393 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3380 if test -z "$ac_err"; then | 3394 if test -z "$ac_err"; then |
3381 rm -rf conftest* | 3395 rm -rf conftest* |
3382 eval "ac_cv_header_$ac_safe=yes" | 3396 eval "ac_cv_header_$ac_safe=yes" |
3383 else | 3397 else |
3403 echo "$ac_t""no" 1>&6 | 3417 echo "$ac_t""no" 1>&6 |
3404 fi | 3418 fi |
3405 done | 3419 done |
3406 | 3420 |
3407 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3421 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3408 echo "configure:3409: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3422 echo "configure:3423: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3409 | 3423 |
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 <sys/types.h> | 3427 #include <sys/types.h> |
3414 #include <sys/wait.h> | 3428 #include <sys/wait.h> |
3415 #ifndef WEXITSTATUS | 3429 #ifndef WEXITSTATUS |
3416 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3430 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3422 int s; | 3436 int s; |
3423 wait (&s); | 3437 wait (&s); |
3424 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3438 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3425 ; return 0; } | 3439 ; return 0; } |
3426 EOF | 3440 EOF |
3427 if { (eval echo configure:3428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3441 if { (eval echo configure:3442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3428 rm -rf conftest* | 3442 rm -rf conftest* |
3429 ac_cv_header_sys_wait_h=yes | 3443 ac_cv_header_sys_wait_h=yes |
3430 else | 3444 else |
3431 echo "configure: failed program was:" >&5 | 3445 echo "configure: failed program was:" >&5 |
3432 cat conftest.$ac_ext >&5 | 3446 cat conftest.$ac_ext >&5 |
3446 } | 3460 } |
3447 | 3461 |
3448 fi | 3462 fi |
3449 | 3463 |
3450 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3464 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3451 echo "configure:3452: checking for ANSI C header files" >&5 | 3465 echo "configure:3466: checking for ANSI C header files" >&5 |
3452 | 3466 |
3453 cat > conftest.$ac_ext <<EOF | 3467 cat > conftest.$ac_ext <<EOF |
3454 #line 3455 "configure" | 3468 #line 3469 "configure" |
3455 #include "confdefs.h" | 3469 #include "confdefs.h" |
3456 #include <stdlib.h> | 3470 #include <stdlib.h> |
3457 #include <stdarg.h> | 3471 #include <stdarg.h> |
3458 #include <string.h> | 3472 #include <string.h> |
3459 #include <float.h> | 3473 #include <float.h> |
3460 EOF | 3474 EOF |
3461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3475 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3462 { (eval echo configure:3463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3476 { (eval echo configure:3477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3477 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3464 if test -z "$ac_err"; then | 3478 if test -z "$ac_err"; then |
3465 rm -rf conftest* | 3479 rm -rf conftest* |
3466 ac_cv_header_stdc=yes | 3480 ac_cv_header_stdc=yes |
3467 else | 3481 else |
3474 rm -f conftest* | 3488 rm -f conftest* |
3475 | 3489 |
3476 if test $ac_cv_header_stdc = yes; then | 3490 if test $ac_cv_header_stdc = yes; then |
3477 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3491 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3478 cat > conftest.$ac_ext <<EOF | 3492 cat > conftest.$ac_ext <<EOF |
3479 #line 3480 "configure" | 3493 #line 3494 "configure" |
3480 #include "confdefs.h" | 3494 #include "confdefs.h" |
3481 #include <string.h> | 3495 #include <string.h> |
3482 EOF | 3496 EOF |
3483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3484 egrep "memchr" >/dev/null 2>&1; then | 3498 egrep "memchr" >/dev/null 2>&1; then |
3492 fi | 3506 fi |
3493 | 3507 |
3494 if test $ac_cv_header_stdc = yes; then | 3508 if test $ac_cv_header_stdc = yes; then |
3495 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3509 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3496 cat > conftest.$ac_ext <<EOF | 3510 cat > conftest.$ac_ext <<EOF |
3497 #line 3498 "configure" | 3511 #line 3512 "configure" |
3498 #include "confdefs.h" | 3512 #include "confdefs.h" |
3499 #include <stdlib.h> | 3513 #include <stdlib.h> |
3500 EOF | 3514 EOF |
3501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3502 egrep "free" >/dev/null 2>&1; then | 3516 egrep "free" >/dev/null 2>&1; then |
3510 fi | 3524 fi |
3511 | 3525 |
3512 if test $ac_cv_header_stdc = yes; then | 3526 if test $ac_cv_header_stdc = yes; then |
3513 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3527 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3514 cat > conftest.$ac_ext <<EOF | 3528 cat > conftest.$ac_ext <<EOF |
3515 #line 3516 "configure" | 3529 #line 3530 "configure" |
3516 #include "confdefs.h" | 3530 #include "confdefs.h" |
3517 #include <ctype.h> | 3531 #include <ctype.h> |
3518 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3532 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3519 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3533 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3520 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3534 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3521 int main () { int i; for (i = 0; i < 256; i++) | 3535 int main () { int i; for (i = 0; i < 256; i++) |
3522 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3536 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3523 exit (0); } | 3537 exit (0); } |
3524 | 3538 |
3525 EOF | 3539 EOF |
3526 if { (eval echo configure:3527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3540 if { (eval echo configure:3541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3527 then | 3541 then |
3528 : | 3542 : |
3529 else | 3543 else |
3530 conftest_rc="$?" | 3544 conftest_rc="$?" |
3531 echo "configure: failed program was:" >&5 | 3545 echo "configure: failed program was:" >&5 |
3547 } | 3561 } |
3548 | 3562 |
3549 fi | 3563 fi |
3550 | 3564 |
3551 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3565 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3552 echo "configure:3553: checking whether time.h and sys/time.h may both be included" >&5 | 3566 echo "configure:3567: checking whether time.h and sys/time.h may both be included" >&5 |
3553 | 3567 |
3554 cat > conftest.$ac_ext <<EOF | 3568 cat > conftest.$ac_ext <<EOF |
3555 #line 3556 "configure" | 3569 #line 3570 "configure" |
3556 #include "confdefs.h" | 3570 #include "confdefs.h" |
3557 #include <sys/types.h> | 3571 #include <sys/types.h> |
3558 #include <sys/time.h> | 3572 #include <sys/time.h> |
3559 #include <time.h> | 3573 #include <time.h> |
3560 int main() { | 3574 int main() { |
3561 struct tm *tp; | 3575 struct tm *tp; |
3562 ; return 0; } | 3576 ; return 0; } |
3563 EOF | 3577 EOF |
3564 if { (eval echo configure:3565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3578 if { (eval echo configure:3579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3565 rm -rf conftest* | 3579 rm -rf conftest* |
3566 ac_cv_header_time=yes | 3580 ac_cv_header_time=yes |
3567 else | 3581 else |
3568 echo "configure: failed program was:" >&5 | 3582 echo "configure: failed program was:" >&5 |
3569 cat conftest.$ac_ext >&5 | 3583 cat conftest.$ac_ext >&5 |
3583 } | 3597 } |
3584 | 3598 |
3585 fi | 3599 fi |
3586 | 3600 |
3587 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3601 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3588 echo "configure:3589: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3602 echo "configure:3603: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3589 | 3603 |
3590 cat > conftest.$ac_ext <<EOF | 3604 cat > conftest.$ac_ext <<EOF |
3591 #line 3592 "configure" | 3605 #line 3606 "configure" |
3592 #include "confdefs.h" | 3606 #include "confdefs.h" |
3593 #include <sys/types.h> | 3607 #include <sys/types.h> |
3594 #include <signal.h> | 3608 #include <signal.h> |
3595 /* NetBSD declares sys_siglist in unistd.h. */ | 3609 /* NetBSD declares sys_siglist in unistd.h. */ |
3596 #ifdef HAVE_UNISTD_H | 3610 #ifdef HAVE_UNISTD_H |
3598 #endif | 3612 #endif |
3599 int main() { | 3613 int main() { |
3600 char *msg = *(sys_siglist + 1); | 3614 char *msg = *(sys_siglist + 1); |
3601 ; return 0; } | 3615 ; return 0; } |
3602 EOF | 3616 EOF |
3603 if { (eval echo configure:3604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3617 if { (eval echo configure:3618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3604 rm -rf conftest* | 3618 rm -rf conftest* |
3605 ac_cv_decl_sys_siglist=yes | 3619 ac_cv_decl_sys_siglist=yes |
3606 else | 3620 else |
3607 echo "configure: failed program was:" >&5 | 3621 echo "configure: failed program was:" >&5 |
3608 cat conftest.$ac_ext >&5 | 3622 cat conftest.$ac_ext >&5 |
3623 | 3637 |
3624 fi | 3638 fi |
3625 | 3639 |
3626 | 3640 |
3627 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 3641 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
3628 echo "configure:3629: checking for struct utimbuf" >&5 | 3642 echo "configure:3643: checking for struct utimbuf" >&5 |
3629 cat > conftest.$ac_ext <<EOF | 3643 cat > conftest.$ac_ext <<EOF |
3630 #line 3631 "configure" | 3644 #line 3645 "configure" |
3631 #include "confdefs.h" | 3645 #include "confdefs.h" |
3632 #ifdef TIME_WITH_SYS_TIME | 3646 #ifdef TIME_WITH_SYS_TIME |
3633 #include <sys/time.h> | 3647 #include <sys/time.h> |
3634 #include <time.h> | 3648 #include <time.h> |
3635 #else | 3649 #else |
3644 #endif | 3658 #endif |
3645 int main() { | 3659 int main() { |
3646 static struct utimbuf x; x.actime = x.modtime; | 3660 static struct utimbuf x; x.actime = x.modtime; |
3647 ; return 0; } | 3661 ; return 0; } |
3648 EOF | 3662 EOF |
3649 if { (eval echo configure:3650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3663 if { (eval echo configure:3664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3650 rm -rf conftest* | 3664 rm -rf conftest* |
3651 echo "$ac_t""yes" 1>&6 | 3665 echo "$ac_t""yes" 1>&6 |
3652 { test "$extra_verbose" = "yes" && cat << \EOF | 3666 { test "$extra_verbose" = "yes" && cat << \EOF |
3653 Defining HAVE_STRUCT_UTIMBUF | 3667 Defining HAVE_STRUCT_UTIMBUF |
3654 EOF | 3668 EOF |
3664 echo "$ac_t""no" 1>&6 | 3678 echo "$ac_t""no" 1>&6 |
3665 fi | 3679 fi |
3666 rm -f conftest* | 3680 rm -f conftest* |
3667 | 3681 |
3668 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 3682 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
3669 echo "configure:3670: checking return type of signal handlers" >&5 | 3683 echo "configure:3684: checking return type of signal handlers" >&5 |
3670 | 3684 |
3671 cat > conftest.$ac_ext <<EOF | 3685 cat > conftest.$ac_ext <<EOF |
3672 #line 3673 "configure" | 3686 #line 3687 "configure" |
3673 #include "confdefs.h" | 3687 #include "confdefs.h" |
3674 #include <sys/types.h> | 3688 #include <sys/types.h> |
3675 #include <signal.h> | 3689 #include <signal.h> |
3676 #ifdef signal | 3690 #ifdef signal |
3677 #undef signal | 3691 #undef signal |
3684 | 3698 |
3685 int main() { | 3699 int main() { |
3686 int i; | 3700 int i; |
3687 ; return 0; } | 3701 ; return 0; } |
3688 EOF | 3702 EOF |
3689 if { (eval echo configure:3690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3703 if { (eval echo configure:3704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3690 rm -rf conftest* | 3704 rm -rf conftest* |
3691 ac_cv_type_signal=void | 3705 ac_cv_type_signal=void |
3692 else | 3706 else |
3693 echo "configure: failed program was:" >&5 | 3707 echo "configure: failed program was:" >&5 |
3694 cat conftest.$ac_ext >&5 | 3708 cat conftest.$ac_ext >&5 |
3706 EOF | 3720 EOF |
3707 } | 3721 } |
3708 | 3722 |
3709 | 3723 |
3710 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 3724 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3711 echo "configure:3712: checking for size_t" >&5 | 3725 echo "configure:3726: checking for size_t" >&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 #if STDC_HEADERS | 3731 #if STDC_HEADERS |
3718 #include <stdlib.h> | 3732 #include <stdlib.h> |
3719 #include <stddef.h> | 3733 #include <stddef.h> |
3740 } | 3754 } |
3741 | 3755 |
3742 fi | 3756 fi |
3743 | 3757 |
3744 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 3758 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
3745 echo "configure:3746: checking for pid_t" >&5 | 3759 echo "configure:3760: checking for pid_t" >&5 |
3746 | 3760 |
3747 cat > conftest.$ac_ext <<EOF | 3761 cat > conftest.$ac_ext <<EOF |
3748 #line 3749 "configure" | 3762 #line 3763 "configure" |
3749 #include "confdefs.h" | 3763 #include "confdefs.h" |
3750 #include <sys/types.h> | 3764 #include <sys/types.h> |
3751 #if STDC_HEADERS | 3765 #if STDC_HEADERS |
3752 #include <stdlib.h> | 3766 #include <stdlib.h> |
3753 #include <stddef.h> | 3767 #include <stddef.h> |
3774 } | 3788 } |
3775 | 3789 |
3776 fi | 3790 fi |
3777 | 3791 |
3778 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 3792 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
3779 echo "configure:3780: checking for uid_t in sys/types.h" >&5 | 3793 echo "configure:3794: checking for uid_t in sys/types.h" >&5 |
3780 | 3794 |
3781 cat > conftest.$ac_ext <<EOF | 3795 cat > conftest.$ac_ext <<EOF |
3782 #line 3783 "configure" | 3796 #line 3797 "configure" |
3783 #include "confdefs.h" | 3797 #include "confdefs.h" |
3784 #include <sys/types.h> | 3798 #include <sys/types.h> |
3785 EOF | 3799 EOF |
3786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3787 egrep "uid_t" >/dev/null 2>&1; then | 3801 egrep "uid_t" >/dev/null 2>&1; then |
3813 } | 3827 } |
3814 | 3828 |
3815 fi | 3829 fi |
3816 | 3830 |
3817 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 3831 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
3818 echo "configure:3819: checking for mode_t" >&5 | 3832 echo "configure:3833: checking for mode_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> |
3847 } | 3861 } |
3848 | 3862 |
3849 fi | 3863 fi |
3850 | 3864 |
3851 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 3865 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3852 echo "configure:3853: checking for off_t" >&5 | 3866 echo "configure:3867: checking for off_t" >&5 |
3853 | 3867 |
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 #include <sys/types.h> | 3871 #include <sys/types.h> |
3858 #if STDC_HEADERS | 3872 #if STDC_HEADERS |
3859 #include <stdlib.h> | 3873 #include <stdlib.h> |
3860 #include <stddef.h> | 3874 #include <stddef.h> |
3881 } | 3895 } |
3882 | 3896 |
3883 fi | 3897 fi |
3884 | 3898 |
3885 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 3899 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
3886 echo "configure:3887: checking for ssize_t" >&5 | 3900 echo "configure:3901: checking for ssize_t" >&5 |
3887 | 3901 |
3888 cat > conftest.$ac_ext <<EOF | 3902 cat > conftest.$ac_ext <<EOF |
3889 #line 3890 "configure" | 3903 #line 3904 "configure" |
3890 #include "confdefs.h" | 3904 #include "confdefs.h" |
3891 #include <sys/types.h> | 3905 #include <sys/types.h> |
3892 #if STDC_HEADERS | 3906 #if STDC_HEADERS |
3893 #include <stdlib.h> | 3907 #include <stdlib.h> |
3894 #include <stddef.h> | 3908 #include <stddef.h> |
3916 | 3930 |
3917 fi | 3931 fi |
3918 | 3932 |
3919 | 3933 |
3920 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 3934 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
3921 echo "configure:3922: checking for struct timeval" >&5 | 3935 echo "configure:3936: checking for struct timeval" >&5 |
3922 cat > conftest.$ac_ext <<EOF | 3936 cat > conftest.$ac_ext <<EOF |
3923 #line 3924 "configure" | 3937 #line 3938 "configure" |
3924 #include "confdefs.h" | 3938 #include "confdefs.h" |
3925 #ifdef TIME_WITH_SYS_TIME | 3939 #ifdef TIME_WITH_SYS_TIME |
3926 #include <sys/time.h> | 3940 #include <sys/time.h> |
3927 #include <time.h> | 3941 #include <time.h> |
3928 #else | 3942 #else |
3934 #endif | 3948 #endif |
3935 int main() { | 3949 int main() { |
3936 static struct timeval x; x.tv_sec = x.tv_usec; | 3950 static struct timeval x; x.tv_sec = x.tv_usec; |
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 echo "$ac_t""yes" 1>&6 | 3955 echo "$ac_t""yes" 1>&6 |
3942 HAVE_TIMEVAL=yes | 3956 HAVE_TIMEVAL=yes |
3943 { test "$extra_verbose" = "yes" && cat << \EOF | 3957 { test "$extra_verbose" = "yes" && cat << \EOF |
3944 Defining HAVE_TIMEVAL | 3958 Defining HAVE_TIMEVAL |
3956 HAVE_TIMEVAL=no | 3970 HAVE_TIMEVAL=no |
3957 fi | 3971 fi |
3958 rm -f conftest* | 3972 rm -f conftest* |
3959 | 3973 |
3960 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 3974 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3961 echo "configure:3962: checking whether struct tm is in sys/time.h or time.h" >&5 | 3975 echo "configure:3976: checking whether struct tm is in sys/time.h or time.h" >&5 |
3962 | 3976 |
3963 cat > conftest.$ac_ext <<EOF | 3977 cat > conftest.$ac_ext <<EOF |
3964 #line 3965 "configure" | 3978 #line 3979 "configure" |
3965 #include "confdefs.h" | 3979 #include "confdefs.h" |
3966 #include <sys/types.h> | 3980 #include <sys/types.h> |
3967 #include <time.h> | 3981 #include <time.h> |
3968 int main() { | 3982 int main() { |
3969 struct tm *tp; tp->tm_sec; | 3983 struct tm *tp; tp->tm_sec; |
3970 ; return 0; } | 3984 ; return 0; } |
3971 EOF | 3985 EOF |
3972 if { (eval echo configure:3973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3986 if { (eval echo configure:3987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3973 rm -rf conftest* | 3987 rm -rf conftest* |
3974 ac_cv_struct_tm=time.h | 3988 ac_cv_struct_tm=time.h |
3975 else | 3989 else |
3976 echo "configure: failed program was:" >&5 | 3990 echo "configure: failed program was:" >&5 |
3977 cat conftest.$ac_ext >&5 | 3991 cat conftest.$ac_ext >&5 |
3991 } | 4005 } |
3992 | 4006 |
3993 fi | 4007 fi |
3994 | 4008 |
3995 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4009 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
3996 echo "configure:3997: checking for tm_zone in struct tm" >&5 | 4010 echo "configure:4011: checking for tm_zone in struct tm" >&5 |
3997 | 4011 |
3998 cat > conftest.$ac_ext <<EOF | 4012 cat > conftest.$ac_ext <<EOF |
3999 #line 4000 "configure" | 4013 #line 4014 "configure" |
4000 #include "confdefs.h" | 4014 #include "confdefs.h" |
4001 #include <sys/types.h> | 4015 #include <sys/types.h> |
4002 #include <$ac_cv_struct_tm> | 4016 #include <$ac_cv_struct_tm> |
4003 int main() { | 4017 int main() { |
4004 struct tm tm; tm.tm_zone; | 4018 struct tm tm; tm.tm_zone; |
4005 ; return 0; } | 4019 ; return 0; } |
4006 EOF | 4020 EOF |
4007 if { (eval echo configure:4008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4021 if { (eval echo configure:4022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4008 rm -rf conftest* | 4022 rm -rf conftest* |
4009 ac_cv_struct_tm_zone=yes | 4023 ac_cv_struct_tm_zone=yes |
4010 else | 4024 else |
4011 echo "configure: failed program was:" >&5 | 4025 echo "configure: failed program was:" >&5 |
4012 cat conftest.$ac_ext >&5 | 4026 cat conftest.$ac_ext >&5 |
4025 EOF | 4039 EOF |
4026 } | 4040 } |
4027 | 4041 |
4028 else | 4042 else |
4029 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4043 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4030 echo "configure:4031: checking for tzname" >&5 | 4044 echo "configure:4045: checking for tzname" >&5 |
4031 | 4045 |
4032 cat > conftest.$ac_ext <<EOF | 4046 cat > conftest.$ac_ext <<EOF |
4033 #line 4034 "configure" | 4047 #line 4048 "configure" |
4034 #include "confdefs.h" | 4048 #include "confdefs.h" |
4035 #include <time.h> | 4049 #include <time.h> |
4036 #ifndef tzname /* For SGI. */ | 4050 #ifndef tzname /* For SGI. */ |
4037 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4051 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4038 #endif | 4052 #endif |
4039 int main() { | 4053 int main() { |
4040 atoi(*tzname); | 4054 atoi(*tzname); |
4041 ; return 0; } | 4055 ; return 0; } |
4042 EOF | 4056 EOF |
4043 if { (eval echo configure:4044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4057 if { (eval echo configure:4058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4044 rm -rf conftest* | 4058 rm -rf conftest* |
4045 ac_cv_var_tzname=yes | 4059 ac_cv_var_tzname=yes |
4046 else | 4060 else |
4047 echo "configure: failed program was:" >&5 | 4061 echo "configure: failed program was:" >&5 |
4048 cat conftest.$ac_ext >&5 | 4062 cat conftest.$ac_ext >&5 |
4064 fi | 4078 fi |
4065 fi | 4079 fi |
4066 | 4080 |
4067 | 4081 |
4068 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4082 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4069 echo "configure:4070: checking for working const" >&5 | 4083 echo "configure:4084: checking for working const" >&5 |
4070 | 4084 |
4071 cat > conftest.$ac_ext <<EOF | 4085 cat > conftest.$ac_ext <<EOF |
4072 #line 4073 "configure" | 4086 #line 4087 "configure" |
4073 #include "confdefs.h" | 4087 #include "confdefs.h" |
4074 | 4088 |
4075 int main() { | 4089 int main() { |
4076 | 4090 |
4077 /* Ultrix mips cc rejects this. */ | 4091 /* Ultrix mips cc rejects this. */ |
4116 const int foo = 10; | 4130 const int foo = 10; |
4117 } | 4131 } |
4118 | 4132 |
4119 ; return 0; } | 4133 ; return 0; } |
4120 EOF | 4134 EOF |
4121 if { (eval echo configure:4122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4135 if { (eval echo configure:4136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4122 rm -rf conftest* | 4136 rm -rf conftest* |
4123 ac_cv_c_const=yes | 4137 ac_cv_c_const=yes |
4124 else | 4138 else |
4125 echo "configure: failed program was:" >&5 | 4139 echo "configure: failed program was:" >&5 |
4126 cat conftest.$ac_ext >&5 | 4140 cat conftest.$ac_ext >&5 |
4141 | 4155 |
4142 fi | 4156 fi |
4143 | 4157 |
4144 | 4158 |
4145 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4159 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4146 echo "configure:4147: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4160 echo "configure:4161: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4147 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4161 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4148 | 4162 |
4149 cat > conftestmake <<\EOF | 4163 cat > conftestmake <<\EOF |
4150 all: | 4164 all: |
4151 @echo 'ac_maketemp="${MAKE}"' | 4165 @echo 'ac_maketemp="${MAKE}"' |
4166 SET_MAKE="MAKE=${MAKE-make}" | 4180 SET_MAKE="MAKE=${MAKE-make}" |
4167 fi | 4181 fi |
4168 | 4182 |
4169 | 4183 |
4170 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4184 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4171 echo "configure:4172: checking whether byte ordering is bigendian" >&5 | 4185 echo "configure:4186: checking whether byte ordering is bigendian" >&5 |
4172 | 4186 |
4173 ac_cv_c_bigendian=unknown | 4187 ac_cv_c_bigendian=unknown |
4174 # See if sys/param.h defines the BYTE_ORDER macro. | 4188 # See if sys/param.h defines the BYTE_ORDER macro. |
4175 cat > conftest.$ac_ext <<EOF | 4189 cat > conftest.$ac_ext <<EOF |
4176 #line 4177 "configure" | 4190 #line 4191 "configure" |
4177 #include "confdefs.h" | 4191 #include "confdefs.h" |
4178 #include <sys/types.h> | 4192 #include <sys/types.h> |
4179 #include <sys/param.h> | 4193 #include <sys/param.h> |
4180 int main() { | 4194 int main() { |
4181 | 4195 |
4182 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4196 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4183 bogus endian macros | 4197 bogus endian macros |
4184 #endif | 4198 #endif |
4185 ; return 0; } | 4199 ; return 0; } |
4186 EOF | 4200 EOF |
4187 if { (eval echo configure:4188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4201 if { (eval echo configure:4202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4188 rm -rf conftest* | 4202 rm -rf conftest* |
4189 # It does; now see whether it defined to BIG_ENDIAN or not. | 4203 # It does; now see whether it defined to BIG_ENDIAN or not. |
4190 cat > conftest.$ac_ext <<EOF | 4204 cat > conftest.$ac_ext <<EOF |
4191 #line 4192 "configure" | 4205 #line 4206 "configure" |
4192 #include "confdefs.h" | 4206 #include "confdefs.h" |
4193 #include <sys/types.h> | 4207 #include <sys/types.h> |
4194 #include <sys/param.h> | 4208 #include <sys/param.h> |
4195 int main() { | 4209 int main() { |
4196 | 4210 |
4197 #if BYTE_ORDER != BIG_ENDIAN | 4211 #if BYTE_ORDER != BIG_ENDIAN |
4198 not big endian | 4212 not big endian |
4199 #endif | 4213 #endif |
4200 ; return 0; } | 4214 ; return 0; } |
4201 EOF | 4215 EOF |
4202 if { (eval echo configure:4203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4216 if { (eval echo configure:4217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4203 rm -rf conftest* | 4217 rm -rf conftest* |
4204 ac_cv_c_bigendian=yes | 4218 ac_cv_c_bigendian=yes |
4205 else | 4219 else |
4206 echo "configure: failed program was:" >&5 | 4220 echo "configure: failed program was:" >&5 |
4207 cat conftest.$ac_ext >&5 | 4221 cat conftest.$ac_ext >&5 |
4214 cat conftest.$ac_ext >&5 | 4228 cat conftest.$ac_ext >&5 |
4215 fi | 4229 fi |
4216 rm -f conftest* | 4230 rm -f conftest* |
4217 if test $ac_cv_c_bigendian = unknown; then | 4231 if test $ac_cv_c_bigendian = unknown; then |
4218 cat > conftest.$ac_ext <<EOF | 4232 cat > conftest.$ac_ext <<EOF |
4219 #line 4220 "configure" | 4233 #line 4234 "configure" |
4220 #include "confdefs.h" | 4234 #include "confdefs.h" |
4221 main () { | 4235 main () { |
4222 /* Are we little or big endian? From Harbison&Steele. */ | 4236 /* Are we little or big endian? From Harbison&Steele. */ |
4223 union | 4237 union |
4224 { | 4238 { |
4227 } u; | 4241 } u; |
4228 u.l = 1; | 4242 u.l = 1; |
4229 exit (u.c[sizeof (long) - 1] == 1); | 4243 exit (u.c[sizeof (long) - 1] == 1); |
4230 } | 4244 } |
4231 EOF | 4245 EOF |
4232 if { (eval echo configure:4233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4246 if { (eval echo configure:4247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4233 then | 4247 then |
4234 ac_cv_c_bigendian=no | 4248 ac_cv_c_bigendian=no |
4235 else | 4249 else |
4236 conftest_rc="$?" | 4250 conftest_rc="$?" |
4237 echo "configure: failed program was:" >&5 | 4251 echo "configure: failed program was:" >&5 |
4254 | 4268 |
4255 fi | 4269 fi |
4256 | 4270 |
4257 | 4271 |
4258 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4272 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4259 echo "configure:4260: checking size of short" >&5 | 4273 echo "configure:4274: checking size of short" >&5 |
4260 | 4274 |
4261 cat > conftest.$ac_ext <<EOF | 4275 cat > conftest.$ac_ext <<EOF |
4262 #line 4263 "configure" | 4276 #line 4277 "configure" |
4263 #include "confdefs.h" | 4277 #include "confdefs.h" |
4264 #include <stdio.h> | 4278 #include <stdio.h> |
4265 main() | 4279 main() |
4266 { | 4280 { |
4267 FILE *f=fopen("conftestval", "w"); | 4281 FILE *f=fopen("conftestval", "w"); |
4268 if (!f) exit(1); | 4282 if (!f) exit(1); |
4269 fprintf(f, "%d\n", sizeof(short)); | 4283 fprintf(f, "%d\n", sizeof(short)); |
4270 exit(0); | 4284 exit(0); |
4271 } | 4285 } |
4272 EOF | 4286 EOF |
4273 if { (eval echo configure:4274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4287 if { (eval echo configure:4288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4274 then | 4288 then |
4275 ac_cv_sizeof_short=`cat conftestval` | 4289 ac_cv_sizeof_short=`cat conftestval` |
4276 else | 4290 else |
4277 conftest_rc="$?" | 4291 conftest_rc="$?" |
4278 echo "configure: failed program was:" >&5 | 4292 echo "configure: failed program was:" >&5 |
4296 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4310 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4297 echo "*** PANIC *** Please examine config.log for compilation errors." | 4311 echo "*** PANIC *** Please examine config.log for compilation errors." |
4298 exit 1 | 4312 exit 1 |
4299 fi | 4313 fi |
4300 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4314 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4301 echo "configure:4302: checking size of int" >&5 | 4315 echo "configure:4316: checking size of int" >&5 |
4302 | 4316 |
4303 cat > conftest.$ac_ext <<EOF | 4317 cat > conftest.$ac_ext <<EOF |
4304 #line 4305 "configure" | 4318 #line 4319 "configure" |
4305 #include "confdefs.h" | 4319 #include "confdefs.h" |
4306 #include <stdio.h> | 4320 #include <stdio.h> |
4307 main() | 4321 main() |
4308 { | 4322 { |
4309 FILE *f=fopen("conftestval", "w"); | 4323 FILE *f=fopen("conftestval", "w"); |
4310 if (!f) exit(1); | 4324 if (!f) exit(1); |
4311 fprintf(f, "%d\n", sizeof(int)); | 4325 fprintf(f, "%d\n", sizeof(int)); |
4312 exit(0); | 4326 exit(0); |
4313 } | 4327 } |
4314 EOF | 4328 EOF |
4315 if { (eval echo configure:4316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4329 if { (eval echo configure:4330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4316 then | 4330 then |
4317 ac_cv_sizeof_int=`cat conftestval` | 4331 ac_cv_sizeof_int=`cat conftestval` |
4318 else | 4332 else |
4319 conftest_rc="$?" | 4333 conftest_rc="$?" |
4320 echo "configure: failed program was:" >&5 | 4334 echo "configure: failed program was:" >&5 |
4332 EOF | 4346 EOF |
4333 } | 4347 } |
4334 | 4348 |
4335 | 4349 |
4336 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4350 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4337 echo "configure:4338: checking size of long" >&5 | 4351 echo "configure:4352: checking size of long" >&5 |
4338 | 4352 |
4339 cat > conftest.$ac_ext <<EOF | 4353 cat > conftest.$ac_ext <<EOF |
4340 #line 4341 "configure" | 4354 #line 4355 "configure" |
4341 #include "confdefs.h" | 4355 #include "confdefs.h" |
4342 #include <stdio.h> | 4356 #include <stdio.h> |
4343 main() | 4357 main() |
4344 { | 4358 { |
4345 FILE *f=fopen("conftestval", "w"); | 4359 FILE *f=fopen("conftestval", "w"); |
4346 if (!f) exit(1); | 4360 if (!f) exit(1); |
4347 fprintf(f, "%d\n", sizeof(long)); | 4361 fprintf(f, "%d\n", sizeof(long)); |
4348 exit(0); | 4362 exit(0); |
4349 } | 4363 } |
4350 EOF | 4364 EOF |
4351 if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4365 if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4352 then | 4366 then |
4353 ac_cv_sizeof_long=`cat conftestval` | 4367 ac_cv_sizeof_long=`cat conftestval` |
4354 else | 4368 else |
4355 conftest_rc="$?" | 4369 conftest_rc="$?" |
4356 echo "configure: failed program was:" >&5 | 4370 echo "configure: failed program was:" >&5 |
4368 EOF | 4382 EOF |
4369 } | 4383 } |
4370 | 4384 |
4371 | 4385 |
4372 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4386 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4373 echo "configure:4374: checking size of long long" >&5 | 4387 echo "configure:4388: checking size of long long" >&5 |
4374 | 4388 |
4375 cat > conftest.$ac_ext <<EOF | 4389 cat > conftest.$ac_ext <<EOF |
4376 #line 4377 "configure" | 4390 #line 4391 "configure" |
4377 #include "confdefs.h" | 4391 #include "confdefs.h" |
4378 #include <stdio.h> | 4392 #include <stdio.h> |
4379 main() | 4393 main() |
4380 { | 4394 { |
4381 FILE *f=fopen("conftestval", "w"); | 4395 FILE *f=fopen("conftestval", "w"); |
4382 if (!f) exit(1); | 4396 if (!f) exit(1); |
4383 fprintf(f, "%d\n", sizeof(long long)); | 4397 fprintf(f, "%d\n", sizeof(long long)); |
4384 exit(0); | 4398 exit(0); |
4385 } | 4399 } |
4386 EOF | 4400 EOF |
4387 if { (eval echo configure:4388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4401 if { (eval echo configure:4402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4388 then | 4402 then |
4389 ac_cv_sizeof_long_long=`cat conftestval` | 4403 ac_cv_sizeof_long_long=`cat conftestval` |
4390 else | 4404 else |
4391 conftest_rc="$?" | 4405 conftest_rc="$?" |
4392 echo "configure: failed program was:" >&5 | 4406 echo "configure: failed program was:" >&5 |
4404 EOF | 4418 EOF |
4405 } | 4419 } |
4406 | 4420 |
4407 | 4421 |
4408 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4422 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4409 echo "configure:4410: checking size of void *" >&5 | 4423 echo "configure:4424: checking size of void *" >&5 |
4410 | 4424 |
4411 cat > conftest.$ac_ext <<EOF | 4425 cat > conftest.$ac_ext <<EOF |
4412 #line 4413 "configure" | 4426 #line 4427 "configure" |
4413 #include "confdefs.h" | 4427 #include "confdefs.h" |
4414 #include <stdio.h> | 4428 #include <stdio.h> |
4415 main() | 4429 main() |
4416 { | 4430 { |
4417 FILE *f=fopen("conftestval", "w"); | 4431 FILE *f=fopen("conftestval", "w"); |
4418 if (!f) exit(1); | 4432 if (!f) exit(1); |
4419 fprintf(f, "%d\n", sizeof(void *)); | 4433 fprintf(f, "%d\n", sizeof(void *)); |
4420 exit(0); | 4434 exit(0); |
4421 } | 4435 } |
4422 EOF | 4436 EOF |
4423 if { (eval echo configure:4424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4437 if { (eval echo configure:4438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4424 then | 4438 then |
4425 ac_cv_sizeof_void_p=`cat conftestval` | 4439 ac_cv_sizeof_void_p=`cat conftestval` |
4426 else | 4440 else |
4427 conftest_rc="$?" | 4441 conftest_rc="$?" |
4428 echo "configure: failed program was:" >&5 | 4442 echo "configure: failed program was:" >&5 |
4441 } | 4455 } |
4442 | 4456 |
4443 | 4457 |
4444 | 4458 |
4445 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4459 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4446 echo "configure:4447: checking for long file names" >&5 | 4460 echo "configure:4461: checking for long file names" >&5 |
4447 | 4461 |
4448 ac_cv_sys_long_file_names=yes | 4462 ac_cv_sys_long_file_names=yes |
4449 # Test for long file names in all the places we know might matter: | 4463 # Test for long file names in all the places we know might matter: |
4450 # . the current directory, where building will happen | 4464 # . the current directory, where building will happen |
4451 # $prefix/lib where we will be installing things | 4465 # $prefix/lib where we will be installing things |
4487 | 4501 |
4488 fi | 4502 fi |
4489 | 4503 |
4490 | 4504 |
4491 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 4505 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4492 echo "configure:4493: checking for sin" >&5 | 4506 echo "configure:4507: checking for sin" >&5 |
4493 | 4507 |
4494 cat > conftest.$ac_ext <<EOF | 4508 cat > conftest.$ac_ext <<EOF |
4495 #line 4496 "configure" | 4509 #line 4510 "configure" |
4496 #include "confdefs.h" | 4510 #include "confdefs.h" |
4497 /* System header to define __stub macros and hopefully few prototypes, | 4511 /* System header to define __stub macros and hopefully few prototypes, |
4498 which can conflict with char sin(); below. */ | 4512 which can conflict with char sin(); below. */ |
4499 #include <assert.h> | 4513 #include <assert.h> |
4500 /* Override any gcc2 internal prototype to avoid an error. */ | 4514 /* Override any gcc2 internal prototype to avoid an error. */ |
4513 sin(); | 4527 sin(); |
4514 #endif | 4528 #endif |
4515 | 4529 |
4516 ; return 0; } | 4530 ; return 0; } |
4517 EOF | 4531 EOF |
4518 if { (eval echo configure:4519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4532 if { (eval echo configure:4533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4519 rm -rf conftest* | 4533 rm -rf conftest* |
4520 eval "ac_cv_func_sin=yes" | 4534 eval "ac_cv_func_sin=yes" |
4521 else | 4535 else |
4522 echo "configure: failed program was:" >&5 | 4536 echo "configure: failed program was:" >&5 |
4523 cat conftest.$ac_ext >&5 | 4537 cat conftest.$ac_ext >&5 |
4531 : | 4545 : |
4532 else | 4546 else |
4533 echo "$ac_t""no" 1>&6 | 4547 echo "$ac_t""no" 1>&6 |
4534 | 4548 |
4535 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 4549 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
4536 echo "configure:4537: checking for sin in -lm" >&5 | 4550 echo "configure:4551: checking for sin in -lm" >&5 |
4537 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 4551 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
4538 | 4552 |
4539 xe_check_libs=" -lm " | 4553 xe_check_libs=" -lm " |
4540 cat > conftest.$ac_ext <<EOF | 4554 cat > conftest.$ac_ext <<EOF |
4541 #line 4542 "configure" | 4555 #line 4556 "configure" |
4542 #include "confdefs.h" | 4556 #include "confdefs.h" |
4543 /* Override any gcc2 internal prototype to avoid an error. */ | 4557 /* Override any gcc2 internal prototype to avoid an error. */ |
4544 /* We use char because int might match the return type of a gcc2 | 4558 /* We use char because int might match the return type of a gcc2 |
4545 builtin and then its argument prototype would still apply. */ | 4559 builtin and then its argument prototype would still apply. */ |
4546 char sin(); | 4560 char sin(); |
4547 | 4561 |
4548 int main() { | 4562 int main() { |
4549 sin() | 4563 sin() |
4550 ; return 0; } | 4564 ; return 0; } |
4551 EOF | 4565 EOF |
4552 if { (eval echo configure:4553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4566 if { (eval echo configure:4567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4553 rm -rf conftest* | 4567 rm -rf conftest* |
4554 eval "ac_cv_lib_$ac_lib_var=yes" | 4568 eval "ac_cv_lib_$ac_lib_var=yes" |
4555 else | 4569 else |
4556 echo "configure: failed program was:" >&5 | 4570 echo "configure: failed program was:" >&5 |
4557 cat conftest.$ac_ext >&5 | 4571 cat conftest.$ac_ext >&5 |
4591 EOF | 4605 EOF |
4592 } | 4606 } |
4593 | 4607 |
4594 | 4608 |
4595 cat > conftest.$ac_ext <<EOF | 4609 cat > conftest.$ac_ext <<EOF |
4596 #line 4597 "configure" | 4610 #line 4611 "configure" |
4597 #include "confdefs.h" | 4611 #include "confdefs.h" |
4598 #include <math.h> | 4612 #include <math.h> |
4599 int main() { | 4613 int main() { |
4600 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 4614 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
4601 ; return 0; } | 4615 ; return 0; } |
4602 EOF | 4616 EOF |
4603 if { (eval echo configure:4604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4617 if { (eval echo configure:4618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4604 rm -rf conftest* | 4618 rm -rf conftest* |
4605 { test "$extra_verbose" = "yes" && cat << \EOF | 4619 { test "$extra_verbose" = "yes" && cat << \EOF |
4606 Defining HAVE_INVERSE_HYPERBOLIC | 4620 Defining HAVE_INVERSE_HYPERBOLIC |
4607 EOF | 4621 EOF |
4608 cat >> confdefs.h <<\EOF | 4622 cat >> confdefs.h <<\EOF |
4615 cat conftest.$ac_ext >&5 | 4629 cat conftest.$ac_ext >&5 |
4616 fi | 4630 fi |
4617 rm -f conftest* | 4631 rm -f conftest* |
4618 | 4632 |
4619 echo "checking type of mail spool file locking" 1>&6 | 4633 echo "checking type of mail spool file locking" 1>&6 |
4620 echo "configure:4621: checking type of mail spool file locking" >&5 | 4634 echo "configure:4635: checking type of mail spool file locking" >&5 |
4621 for ac_func in lockf flock | 4635 for ac_func in lockf flock |
4622 do | 4636 do |
4623 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4624 echo "configure:4625: checking for $ac_func" >&5 | 4638 echo "configure:4639: checking for $ac_func" >&5 |
4625 | 4639 |
4626 cat > conftest.$ac_ext <<EOF | 4640 cat > conftest.$ac_ext <<EOF |
4627 #line 4628 "configure" | 4641 #line 4642 "configure" |
4628 #include "confdefs.h" | 4642 #include "confdefs.h" |
4629 /* System header to define __stub macros and hopefully few prototypes, | 4643 /* System header to define __stub macros and hopefully few prototypes, |
4630 which can conflict with char $ac_func(); below. */ | 4644 which can conflict with char $ac_func(); below. */ |
4631 #include <assert.h> | 4645 #include <assert.h> |
4632 /* Override any gcc2 internal prototype to avoid an error. */ | 4646 /* Override any gcc2 internal prototype to avoid an error. */ |
4645 $ac_func(); | 4659 $ac_func(); |
4646 #endif | 4660 #endif |
4647 | 4661 |
4648 ; return 0; } | 4662 ; return 0; } |
4649 EOF | 4663 EOF |
4650 if { (eval echo configure:4651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4664 if { (eval echo configure:4665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4651 rm -rf conftest* | 4665 rm -rf conftest* |
4652 eval "ac_cv_func_$ac_func=yes" | 4666 eval "ac_cv_func_$ac_func=yes" |
4653 else | 4667 else |
4654 echo "configure: failed program was:" >&5 | 4668 echo "configure: failed program was:" >&5 |
4655 cat conftest.$ac_ext >&5 | 4669 cat conftest.$ac_ext >&5 |
4718 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 4732 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
4719 | 4733 |
4720 case "$opsys" in decosf*) | 4734 case "$opsys" in decosf*) |
4721 | 4735 |
4722 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 4736 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
4723 echo "configure:4724: checking for cma_open in -lpthreads" >&5 | 4737 echo "configure:4738: checking for cma_open in -lpthreads" >&5 |
4724 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 4738 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
4725 | 4739 |
4726 xe_check_libs=" -lpthreads " | 4740 xe_check_libs=" -lpthreads " |
4727 cat > conftest.$ac_ext <<EOF | 4741 cat > conftest.$ac_ext <<EOF |
4728 #line 4729 "configure" | 4742 #line 4743 "configure" |
4729 #include "confdefs.h" | 4743 #include "confdefs.h" |
4730 /* Override any gcc2 internal prototype to avoid an error. */ | 4744 /* Override any gcc2 internal prototype to avoid an error. */ |
4731 /* We use char because int might match the return type of a gcc2 | 4745 /* We use char because int might match the return type of a gcc2 |
4732 builtin and then its argument prototype would still apply. */ | 4746 builtin and then its argument prototype would still apply. */ |
4733 char cma_open(); | 4747 char cma_open(); |
4734 | 4748 |
4735 int main() { | 4749 int main() { |
4736 cma_open() | 4750 cma_open() |
4737 ; return 0; } | 4751 ; return 0; } |
4738 EOF | 4752 EOF |
4739 if { (eval echo configure:4740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4753 if { (eval echo configure:4754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4740 rm -rf conftest* | 4754 rm -rf conftest* |
4741 eval "ac_cv_lib_$ac_lib_var=yes" | 4755 eval "ac_cv_lib_$ac_lib_var=yes" |
4742 else | 4756 else |
4743 echo "configure: failed program was:" >&5 | 4757 echo "configure: failed program was:" >&5 |
4744 cat conftest.$ac_ext >&5 | 4758 cat conftest.$ac_ext >&5 |
4770 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ | 4784 test "$ac_cv_lib_pthreads_cma_open" = "yes" && \ |
4771 c_switch_site="$c_switch_site -threads" ;; | 4785 c_switch_site="$c_switch_site -threads" ;; |
4772 esac | 4786 esac |
4773 | 4787 |
4774 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 4788 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
4775 echo "configure:4776: checking whether the -xildoff compiler flag is required" >&5 | 4789 echo "configure:4790: checking whether the -xildoff compiler flag is required" >&5 |
4776 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 4790 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
4777 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 4791 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
4778 then echo "$ac_t""no" 1>&6; | 4792 then echo "$ac_t""no" 1>&6; |
4779 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 | 4793 else echo "$ac_t""yes" 1>&6; ld_switch_site="$ld_switch_site -xildoff" && if test "$extra_verbose" = "yes"; then echo " Appending \"-xildoff\" to \$ld_switch_site"; fi |
4780 fi | 4794 fi |
4782 fi | 4796 fi |
4783 | 4797 |
4784 if test "$opsys" = "sol2"; then | 4798 if test "$opsys" = "sol2"; then |
4785 if test "$os_release" -ge 56; then | 4799 if test "$os_release" -ge 56; then |
4786 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 4800 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
4787 echo "configure:4788: checking for \"-z ignore\" linker flag" >&5 | 4801 echo "configure:4802: checking for \"-z ignore\" linker flag" >&5 |
4788 case "`ld -h 2>&1`" in | 4802 case "`ld -h 2>&1`" in |
4789 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 4803 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
4790 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 4804 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
4791 *) echo "$ac_t""no" 1>&6 ;; | 4805 *) echo "$ac_t""no" 1>&6 ;; |
4792 esac | 4806 esac |
4793 fi | 4807 fi |
4794 fi | 4808 fi |
4795 | 4809 |
4796 | 4810 |
4797 echo "checking "for specified window system"" 1>&6 | 4811 echo "checking "for specified window system"" 1>&6 |
4798 echo "configure:4799: checking "for specified window system"" >&5 | 4812 echo "configure:4813: checking "for specified window system"" >&5 |
4799 | 4813 |
4800 if test "$with_x11" != "no"; then | 4814 if test "$with_x11" != "no"; then |
4801 test "$x_includes $x_libraries" != "NONE NONE" && \ | 4815 test "$x_includes $x_libraries" != "NONE NONE" && \ |
4802 window_system=x11 with_x11=yes | 4816 window_system=x11 with_x11=yes |
4803 | 4817 |
4826 # If we find X, set shell vars x_includes and x_libraries to the | 4840 # If we find X, set shell vars x_includes and x_libraries to the |
4827 # paths, otherwise set no_x=yes. | 4841 # paths, otherwise set no_x=yes. |
4828 # Uses ac_ vars as temps to allow command line to override cache and checks. | 4842 # Uses ac_ vars as temps to allow command line to override cache and checks. |
4829 # --without-x overrides everything else, but does not touch the cache. | 4843 # --without-x overrides everything else, but does not touch the cache. |
4830 echo $ac_n "checking for X""... $ac_c" 1>&6 | 4844 echo $ac_n "checking for X""... $ac_c" 1>&6 |
4831 echo "configure:4832: checking for X" >&5 | 4845 echo "configure:4846: checking for X" >&5 |
4832 | 4846 |
4833 # Check whether --with-x or --without-x was given. | 4847 # Check whether --with-x or --without-x was given. |
4834 if test "${with_x+set}" = set; then | 4848 if test "${with_x+set}" = set; then |
4835 withval="$with_x" | 4849 withval="$with_x" |
4836 : | 4850 : |
4886 # Guess where to find include files, by looking for this one X11 .h file. | 4900 # Guess where to find include files, by looking for this one X11 .h file. |
4887 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 4901 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
4888 | 4902 |
4889 # First, try using that file with no special directory specified. | 4903 # First, try using that file with no special directory specified. |
4890 cat > conftest.$ac_ext <<EOF | 4904 cat > conftest.$ac_ext <<EOF |
4891 #line 4892 "configure" | 4905 #line 4906 "configure" |
4892 #include "confdefs.h" | 4906 #include "confdefs.h" |
4893 #include <$x_direct_test_include> | 4907 #include <$x_direct_test_include> |
4894 EOF | 4908 EOF |
4895 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4896 { (eval echo configure:4897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4910 { (eval echo configure:4911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4897 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4898 if test -z "$ac_err"; then | 4912 if test -z "$ac_err"; then |
4899 rm -rf conftest* | 4913 rm -rf conftest* |
4900 # We can compile using X headers with no special include directory. | 4914 # We can compile using X headers with no special include directory. |
4901 ac_x_includes= | 4915 ac_x_includes= |
4960 # See if we find them without any special options. | 4974 # See if we find them without any special options. |
4961 # Don't add to $LIBS permanently. | 4975 # Don't add to $LIBS permanently. |
4962 ac_save_LIBS="$LIBS" | 4976 ac_save_LIBS="$LIBS" |
4963 LIBS="-l$x_direct_test_library $LIBS" | 4977 LIBS="-l$x_direct_test_library $LIBS" |
4964 cat > conftest.$ac_ext <<EOF | 4978 cat > conftest.$ac_ext <<EOF |
4965 #line 4966 "configure" | 4979 #line 4980 "configure" |
4966 #include "confdefs.h" | 4980 #include "confdefs.h" |
4967 | 4981 |
4968 int main() { | 4982 int main() { |
4969 ${x_direct_test_function}() | 4983 ${x_direct_test_function}() |
4970 ; return 0; } | 4984 ; return 0; } |
4971 EOF | 4985 EOF |
4972 if { (eval echo configure:4973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4986 if { (eval echo configure:4987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4973 rm -rf conftest* | 4987 rm -rf conftest* |
4974 LIBS="$ac_save_LIBS" | 4988 LIBS="$ac_save_LIBS" |
4975 # We can link X programs with no special library path. | 4989 # We can link X programs with no special library path. |
4976 ac_x_libraries= | 4990 ac_x_libraries= |
4977 else | 4991 else |
5076 # For Solaris; some versions of Sun CC require a space after -R and | 5090 # For Solaris; some versions of Sun CC require a space after -R and |
5077 # others require no space. Words are not sufficient . . . . | 5091 # others require no space. Words are not sufficient . . . . |
5078 case "`(uname -sr) 2>/dev/null`" in | 5092 case "`(uname -sr) 2>/dev/null`" in |
5079 "SunOS 5"*) | 5093 "SunOS 5"*) |
5080 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 5094 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
5081 echo "configure:5082: checking whether -R must be followed by a space" >&5 | 5095 echo "configure:5096: checking whether -R must be followed by a space" >&5 |
5082 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 5096 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
5083 cat > conftest.$ac_ext <<EOF | 5097 cat > conftest.$ac_ext <<EOF |
5084 #line 5085 "configure" | 5098 #line 5099 "configure" |
5085 #include "confdefs.h" | 5099 #include "confdefs.h" |
5086 | 5100 |
5087 int main() { | 5101 int main() { |
5088 | 5102 |
5089 ; return 0; } | 5103 ; return 0; } |
5090 EOF | 5104 EOF |
5091 if { (eval echo configure:5092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5105 if { (eval echo configure:5106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5092 rm -rf conftest* | 5106 rm -rf conftest* |
5093 ac_R_nospace=yes | 5107 ac_R_nospace=yes |
5094 else | 5108 else |
5095 echo "configure: failed program was:" >&5 | 5109 echo "configure: failed program was:" >&5 |
5096 cat conftest.$ac_ext >&5 | 5110 cat conftest.$ac_ext >&5 |
5102 echo "$ac_t""no" 1>&6 | 5116 echo "$ac_t""no" 1>&6 |
5103 X_LIBS="$X_LIBS -R$x_libraries" | 5117 X_LIBS="$X_LIBS -R$x_libraries" |
5104 else | 5118 else |
5105 LIBS="$ac_xsave_LIBS -R $x_libraries" | 5119 LIBS="$ac_xsave_LIBS -R $x_libraries" |
5106 cat > conftest.$ac_ext <<EOF | 5120 cat > conftest.$ac_ext <<EOF |
5107 #line 5108 "configure" | 5121 #line 5122 "configure" |
5108 #include "confdefs.h" | 5122 #include "confdefs.h" |
5109 | 5123 |
5110 int main() { | 5124 int main() { |
5111 | 5125 |
5112 ; return 0; } | 5126 ; return 0; } |
5113 EOF | 5127 EOF |
5114 if { (eval echo configure:5115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5128 if { (eval echo configure:5129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5115 rm -rf conftest* | 5129 rm -rf conftest* |
5116 ac_R_space=yes | 5130 ac_R_space=yes |
5117 else | 5131 else |
5118 echo "configure: failed program was:" >&5 | 5132 echo "configure: failed program was:" >&5 |
5119 cat conftest.$ac_ext >&5 | 5133 cat conftest.$ac_ext >&5 |
5145 if test "$with_dnet" = "no" ; then | 5159 if test "$with_dnet" = "no" ; then |
5146 ac_cv_lib_dnet_dnet_ntoa=no | 5160 ac_cv_lib_dnet_dnet_ntoa=no |
5147 else | 5161 else |
5148 | 5162 |
5149 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 5163 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
5150 echo "configure:5151: checking for dnet_ntoa in -ldnet" >&5 | 5164 echo "configure:5165: checking for dnet_ntoa in -ldnet" >&5 |
5151 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5165 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5152 | 5166 |
5153 xe_check_libs=" -ldnet " | 5167 xe_check_libs=" -ldnet " |
5154 cat > conftest.$ac_ext <<EOF | 5168 cat > conftest.$ac_ext <<EOF |
5155 #line 5156 "configure" | 5169 #line 5170 "configure" |
5156 #include "confdefs.h" | 5170 #include "confdefs.h" |
5157 /* Override any gcc2 internal prototype to avoid an error. */ | 5171 /* Override any gcc2 internal prototype to avoid an error. */ |
5158 /* We use char because int might match the return type of a gcc2 | 5172 /* We use char because int might match the return type of a gcc2 |
5159 builtin and then its argument prototype would still apply. */ | 5173 builtin and then its argument prototype would still apply. */ |
5160 char dnet_ntoa(); | 5174 char dnet_ntoa(); |
5161 | 5175 |
5162 int main() { | 5176 int main() { |
5163 dnet_ntoa() | 5177 dnet_ntoa() |
5164 ; return 0; } | 5178 ; return 0; } |
5165 EOF | 5179 EOF |
5166 if { (eval echo configure:5167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5180 if { (eval echo configure:5181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5167 rm -rf conftest* | 5181 rm -rf conftest* |
5168 eval "ac_cv_lib_$ac_lib_var=yes" | 5182 eval "ac_cv_lib_$ac_lib_var=yes" |
5169 else | 5183 else |
5170 echo "configure: failed program was:" >&5 | 5184 echo "configure: failed program was:" >&5 |
5171 cat conftest.$ac_ext >&5 | 5185 cat conftest.$ac_ext >&5 |
5185 fi | 5199 fi |
5186 | 5200 |
5187 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 5201 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
5188 | 5202 |
5189 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 5203 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
5190 echo "configure:5191: checking for dnet_ntoa in -ldnet_stub" >&5 | 5204 echo "configure:5205: checking for dnet_ntoa in -ldnet_stub" >&5 |
5191 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 5205 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
5192 | 5206 |
5193 xe_check_libs=" -ldnet_stub " | 5207 xe_check_libs=" -ldnet_stub " |
5194 cat > conftest.$ac_ext <<EOF | 5208 cat > conftest.$ac_ext <<EOF |
5195 #line 5196 "configure" | 5209 #line 5210 "configure" |
5196 #include "confdefs.h" | 5210 #include "confdefs.h" |
5197 /* Override any gcc2 internal prototype to avoid an error. */ | 5211 /* Override any gcc2 internal prototype to avoid an error. */ |
5198 /* We use char because int might match the return type of a gcc2 | 5212 /* We use char because int might match the return type of a gcc2 |
5199 builtin and then its argument prototype would still apply. */ | 5213 builtin and then its argument prototype would still apply. */ |
5200 char dnet_ntoa(); | 5214 char dnet_ntoa(); |
5201 | 5215 |
5202 int main() { | 5216 int main() { |
5203 dnet_ntoa() | 5217 dnet_ntoa() |
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_lib_$ac_lib_var=yes" | 5222 eval "ac_cv_lib_$ac_lib_var=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 |
5230 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 5244 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
5231 # needs -lnsl. | 5245 # needs -lnsl. |
5232 # The nsl library prevents programs from opening the X display | 5246 # The nsl library prevents programs from opening the X display |
5233 # on Irix 5.2, according to dickey@clark.net. | 5247 # on Irix 5.2, according to dickey@clark.net. |
5234 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 5248 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
5235 echo "configure:5236: checking for gethostbyname" >&5 | 5249 echo "configure:5250: checking for gethostbyname" >&5 |
5236 | 5250 |
5237 cat > conftest.$ac_ext <<EOF | 5251 cat > conftest.$ac_ext <<EOF |
5238 #line 5239 "configure" | 5252 #line 5253 "configure" |
5239 #include "confdefs.h" | 5253 #include "confdefs.h" |
5240 /* System header to define __stub macros and hopefully few prototypes, | 5254 /* System header to define __stub macros and hopefully few prototypes, |
5241 which can conflict with char gethostbyname(); below. */ | 5255 which can conflict with char gethostbyname(); below. */ |
5242 #include <assert.h> | 5256 #include <assert.h> |
5243 /* Override any gcc2 internal prototype to avoid an error. */ | 5257 /* Override any gcc2 internal prototype to avoid an error. */ |
5256 gethostbyname(); | 5270 gethostbyname(); |
5257 #endif | 5271 #endif |
5258 | 5272 |
5259 ; return 0; } | 5273 ; return 0; } |
5260 EOF | 5274 EOF |
5261 if { (eval echo configure:5262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5275 if { (eval echo configure:5276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5262 rm -rf conftest* | 5276 rm -rf conftest* |
5263 eval "ac_cv_func_gethostbyname=yes" | 5277 eval "ac_cv_func_gethostbyname=yes" |
5264 else | 5278 else |
5265 echo "configure: failed program was:" >&5 | 5279 echo "configure: failed program was:" >&5 |
5266 cat conftest.$ac_ext >&5 | 5280 cat conftest.$ac_ext >&5 |
5277 fi | 5291 fi |
5278 | 5292 |
5279 if test $ac_cv_func_gethostbyname = no; then | 5293 if test $ac_cv_func_gethostbyname = no; then |
5280 | 5294 |
5281 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 5295 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
5282 echo "configure:5283: checking for gethostbyname in -lnsl" >&5 | 5296 echo "configure:5297: checking for gethostbyname in -lnsl" >&5 |
5283 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 5297 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
5284 | 5298 |
5285 xe_check_libs=" -lnsl " | 5299 xe_check_libs=" -lnsl " |
5286 cat > conftest.$ac_ext <<EOF | 5300 cat > conftest.$ac_ext <<EOF |
5287 #line 5288 "configure" | 5301 #line 5302 "configure" |
5288 #include "confdefs.h" | 5302 #include "confdefs.h" |
5289 /* Override any gcc2 internal prototype to avoid an error. */ | 5303 /* Override any gcc2 internal prototype to avoid an error. */ |
5290 /* We use char because int might match the return type of a gcc2 | 5304 /* We use char because int might match the return type of a gcc2 |
5291 builtin and then its argument prototype would still apply. */ | 5305 builtin and then its argument prototype would still apply. */ |
5292 char gethostbyname(); | 5306 char gethostbyname(); |
5293 | 5307 |
5294 int main() { | 5308 int main() { |
5295 gethostbyname() | 5309 gethostbyname() |
5296 ; return 0; } | 5310 ; return 0; } |
5297 EOF | 5311 EOF |
5298 if { (eval echo configure:5299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5312 if { (eval echo configure:5313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5299 rm -rf conftest* | 5313 rm -rf conftest* |
5300 eval "ac_cv_lib_$ac_lib_var=yes" | 5314 eval "ac_cv_lib_$ac_lib_var=yes" |
5301 else | 5315 else |
5302 echo "configure: failed program was:" >&5 | 5316 echo "configure: failed program was:" >&5 |
5303 cat conftest.$ac_ext >&5 | 5317 cat conftest.$ac_ext >&5 |
5323 # on later versions), says simon@lia.di.epfl.ch: it contains | 5337 # on later versions), says simon@lia.di.epfl.ch: it contains |
5324 # gethostby* variants that don't use the nameserver (or something). | 5338 # gethostby* variants that don't use the nameserver (or something). |
5325 # -lsocket must be given before -lnsl if both are needed. | 5339 # -lsocket must be given before -lnsl if both are needed. |
5326 # We assume that if connect needs -lnsl, so does gethostbyname. | 5340 # We assume that if connect needs -lnsl, so does gethostbyname. |
5327 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 5341 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
5328 echo "configure:5329: checking for connect" >&5 | 5342 echo "configure:5343: checking for connect" >&5 |
5329 | 5343 |
5330 cat > conftest.$ac_ext <<EOF | 5344 cat > conftest.$ac_ext <<EOF |
5331 #line 5332 "configure" | 5345 #line 5346 "configure" |
5332 #include "confdefs.h" | 5346 #include "confdefs.h" |
5333 /* System header to define __stub macros and hopefully few prototypes, | 5347 /* System header to define __stub macros and hopefully few prototypes, |
5334 which can conflict with char connect(); below. */ | 5348 which can conflict with char connect(); below. */ |
5335 #include <assert.h> | 5349 #include <assert.h> |
5336 /* Override any gcc2 internal prototype to avoid an error. */ | 5350 /* Override any gcc2 internal prototype to avoid an error. */ |
5349 connect(); | 5363 connect(); |
5350 #endif | 5364 #endif |
5351 | 5365 |
5352 ; return 0; } | 5366 ; return 0; } |
5353 EOF | 5367 EOF |
5354 if { (eval echo configure:5355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5368 if { (eval echo configure:5369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5355 rm -rf conftest* | 5369 rm -rf conftest* |
5356 eval "ac_cv_func_connect=yes" | 5370 eval "ac_cv_func_connect=yes" |
5357 else | 5371 else |
5358 echo "configure: failed program was:" >&5 | 5372 echo "configure: failed program was:" >&5 |
5359 cat conftest.$ac_ext >&5 | 5373 cat conftest.$ac_ext >&5 |
5372 if test $ac_cv_func_connect = no; then | 5386 if test $ac_cv_func_connect = no; then |
5373 | 5387 |
5374 xe_msg_checking="for connect in -lsocket" | 5388 xe_msg_checking="for connect in -lsocket" |
5375 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5389 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5376 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5390 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5377 echo "configure:5378: checking "$xe_msg_checking"" >&5 | 5391 echo "configure:5392: checking "$xe_msg_checking"" >&5 |
5378 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 5392 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
5379 | 5393 |
5380 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 5394 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
5381 cat > conftest.$ac_ext <<EOF | 5395 cat > conftest.$ac_ext <<EOF |
5382 #line 5383 "configure" | 5396 #line 5397 "configure" |
5383 #include "confdefs.h" | 5397 #include "confdefs.h" |
5384 /* Override any gcc2 internal prototype to avoid an error. */ | 5398 /* Override any gcc2 internal prototype to avoid an error. */ |
5385 /* We use char because int might match the return type of a gcc2 | 5399 /* We use char because int might match the return type of a gcc2 |
5386 builtin and then its argument prototype would still apply. */ | 5400 builtin and then its argument prototype would still apply. */ |
5387 char connect(); | 5401 char connect(); |
5388 | 5402 |
5389 int main() { | 5403 int main() { |
5390 connect() | 5404 connect() |
5391 ; return 0; } | 5405 ; return 0; } |
5392 EOF | 5406 EOF |
5393 if { (eval echo configure:5394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5407 if { (eval echo configure:5408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5394 rm -rf conftest* | 5408 rm -rf conftest* |
5395 eval "ac_cv_lib_$ac_lib_var=yes" | 5409 eval "ac_cv_lib_$ac_lib_var=yes" |
5396 else | 5410 else |
5397 echo "configure: failed program was:" >&5 | 5411 echo "configure: failed program was:" >&5 |
5398 cat conftest.$ac_ext >&5 | 5412 cat conftest.$ac_ext >&5 |
5412 | 5426 |
5413 fi | 5427 fi |
5414 | 5428 |
5415 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 5429 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
5416 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 5430 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
5417 echo "configure:5418: checking for remove" >&5 | 5431 echo "configure:5432: checking for remove" >&5 |
5418 | 5432 |
5419 cat > conftest.$ac_ext <<EOF | 5433 cat > conftest.$ac_ext <<EOF |
5420 #line 5421 "configure" | 5434 #line 5435 "configure" |
5421 #include "confdefs.h" | 5435 #include "confdefs.h" |
5422 /* System header to define __stub macros and hopefully few prototypes, | 5436 /* System header to define __stub macros and hopefully few prototypes, |
5423 which can conflict with char remove(); below. */ | 5437 which can conflict with char remove(); below. */ |
5424 #include <assert.h> | 5438 #include <assert.h> |
5425 /* Override any gcc2 internal prototype to avoid an error. */ | 5439 /* Override any gcc2 internal prototype to avoid an error. */ |
5438 remove(); | 5452 remove(); |
5439 #endif | 5453 #endif |
5440 | 5454 |
5441 ; return 0; } | 5455 ; return 0; } |
5442 EOF | 5456 EOF |
5443 if { (eval echo configure:5444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5457 if { (eval echo configure:5458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5444 rm -rf conftest* | 5458 rm -rf conftest* |
5445 eval "ac_cv_func_remove=yes" | 5459 eval "ac_cv_func_remove=yes" |
5446 else | 5460 else |
5447 echo "configure: failed program was:" >&5 | 5461 echo "configure: failed program was:" >&5 |
5448 cat conftest.$ac_ext >&5 | 5462 cat conftest.$ac_ext >&5 |
5459 fi | 5473 fi |
5460 | 5474 |
5461 if test $ac_cv_func_remove = no; then | 5475 if test $ac_cv_func_remove = no; then |
5462 | 5476 |
5463 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 5477 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
5464 echo "configure:5465: checking for remove in -lposix" >&5 | 5478 echo "configure:5479: checking for remove in -lposix" >&5 |
5465 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 5479 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
5466 | 5480 |
5467 xe_check_libs=" -lposix " | 5481 xe_check_libs=" -lposix " |
5468 cat > conftest.$ac_ext <<EOF | 5482 cat > conftest.$ac_ext <<EOF |
5469 #line 5470 "configure" | 5483 #line 5484 "configure" |
5470 #include "confdefs.h" | 5484 #include "confdefs.h" |
5471 /* Override any gcc2 internal prototype to avoid an error. */ | 5485 /* Override any gcc2 internal prototype to avoid an error. */ |
5472 /* We use char because int might match the return type of a gcc2 | 5486 /* We use char because int might match the return type of a gcc2 |
5473 builtin and then its argument prototype would still apply. */ | 5487 builtin and then its argument prototype would still apply. */ |
5474 char remove(); | 5488 char remove(); |
5475 | 5489 |
5476 int main() { | 5490 int main() { |
5477 remove() | 5491 remove() |
5478 ; return 0; } | 5492 ; return 0; } |
5479 EOF | 5493 EOF |
5480 if { (eval echo configure:5481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5494 if { (eval echo configure:5495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5481 rm -rf conftest* | 5495 rm -rf conftest* |
5482 eval "ac_cv_lib_$ac_lib_var=yes" | 5496 eval "ac_cv_lib_$ac_lib_var=yes" |
5483 else | 5497 else |
5484 echo "configure: failed program was:" >&5 | 5498 echo "configure: failed program was:" >&5 |
5485 cat conftest.$ac_ext >&5 | 5499 cat conftest.$ac_ext >&5 |
5499 | 5513 |
5500 fi | 5514 fi |
5501 | 5515 |
5502 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 5516 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
5503 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 5517 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
5504 echo "configure:5505: checking for shmat" >&5 | 5518 echo "configure:5519: checking for shmat" >&5 |
5505 | 5519 |
5506 cat > conftest.$ac_ext <<EOF | 5520 cat > conftest.$ac_ext <<EOF |
5507 #line 5508 "configure" | 5521 #line 5522 "configure" |
5508 #include "confdefs.h" | 5522 #include "confdefs.h" |
5509 /* System header to define __stub macros and hopefully few prototypes, | 5523 /* System header to define __stub macros and hopefully few prototypes, |
5510 which can conflict with char shmat(); below. */ | 5524 which can conflict with char shmat(); below. */ |
5511 #include <assert.h> | 5525 #include <assert.h> |
5512 /* Override any gcc2 internal prototype to avoid an error. */ | 5526 /* Override any gcc2 internal prototype to avoid an error. */ |
5525 shmat(); | 5539 shmat(); |
5526 #endif | 5540 #endif |
5527 | 5541 |
5528 ; return 0; } | 5542 ; return 0; } |
5529 EOF | 5543 EOF |
5530 if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5544 if { (eval echo configure:5545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5531 rm -rf conftest* | 5545 rm -rf conftest* |
5532 eval "ac_cv_func_shmat=yes" | 5546 eval "ac_cv_func_shmat=yes" |
5533 else | 5547 else |
5534 echo "configure: failed program was:" >&5 | 5548 echo "configure: failed program was:" >&5 |
5535 cat conftest.$ac_ext >&5 | 5549 cat conftest.$ac_ext >&5 |
5546 fi | 5560 fi |
5547 | 5561 |
5548 if test $ac_cv_func_shmat = no; then | 5562 if test $ac_cv_func_shmat = no; then |
5549 | 5563 |
5550 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 5564 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
5551 echo "configure:5552: checking for shmat in -lipc" >&5 | 5565 echo "configure:5566: checking for shmat in -lipc" >&5 |
5552 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 5566 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
5553 | 5567 |
5554 xe_check_libs=" -lipc " | 5568 xe_check_libs=" -lipc " |
5555 cat > conftest.$ac_ext <<EOF | 5569 cat > conftest.$ac_ext <<EOF |
5556 #line 5557 "configure" | 5570 #line 5571 "configure" |
5557 #include "confdefs.h" | 5571 #include "confdefs.h" |
5558 /* Override any gcc2 internal prototype to avoid an error. */ | 5572 /* Override any gcc2 internal prototype to avoid an error. */ |
5559 /* We use char because int might match the return type of a gcc2 | 5573 /* We use char because int might match the return type of a gcc2 |
5560 builtin and then its argument prototype would still apply. */ | 5574 builtin and then its argument prototype would still apply. */ |
5561 char shmat(); | 5575 char shmat(); |
5562 | 5576 |
5563 int main() { | 5577 int main() { |
5564 shmat() | 5578 shmat() |
5565 ; return 0; } | 5579 ; return 0; } |
5566 EOF | 5580 EOF |
5567 if { (eval echo configure:5568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5581 if { (eval echo configure:5582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5568 rm -rf conftest* | 5582 rm -rf conftest* |
5569 eval "ac_cv_lib_$ac_lib_var=yes" | 5583 eval "ac_cv_lib_$ac_lib_var=yes" |
5570 else | 5584 else |
5571 echo "configure: failed program was:" >&5 | 5585 echo "configure: failed program was:" >&5 |
5572 cat conftest.$ac_ext >&5 | 5586 cat conftest.$ac_ext >&5 |
5598 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 5612 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
5599 | 5613 |
5600 xe_msg_checking="for IceConnectionNumber in -lICE" | 5614 xe_msg_checking="for IceConnectionNumber in -lICE" |
5601 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 5615 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
5602 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5616 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5603 echo "configure:5604: checking "$xe_msg_checking"" >&5 | 5617 echo "configure:5618: checking "$xe_msg_checking"" >&5 |
5604 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 5618 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
5605 | 5619 |
5606 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 5620 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
5607 cat > conftest.$ac_ext <<EOF | 5621 cat > conftest.$ac_ext <<EOF |
5608 #line 5609 "configure" | 5622 #line 5623 "configure" |
5609 #include "confdefs.h" | 5623 #include "confdefs.h" |
5610 /* Override any gcc2 internal prototype to avoid an error. */ | 5624 /* Override any gcc2 internal prototype to avoid an error. */ |
5611 /* We use char because int might match the return type of a gcc2 | 5625 /* We use char because int might match the return type of a gcc2 |
5612 builtin and then its argument prototype would still apply. */ | 5626 builtin and then its argument prototype would still apply. */ |
5613 char IceConnectionNumber(); | 5627 char IceConnectionNumber(); |
5614 | 5628 |
5615 int main() { | 5629 int main() { |
5616 IceConnectionNumber() | 5630 IceConnectionNumber() |
5617 ; return 0; } | 5631 ; return 0; } |
5618 EOF | 5632 EOF |
5619 if { (eval echo configure:5620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5633 if { (eval echo configure:5634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5620 rm -rf conftest* | 5634 rm -rf conftest* |
5621 eval "ac_cv_lib_$ac_lib_var=yes" | 5635 eval "ac_cv_lib_$ac_lib_var=yes" |
5622 else | 5636 else |
5623 echo "configure: failed program was:" >&5 | 5637 echo "configure: failed program was:" >&5 |
5624 cat conftest.$ac_ext >&5 | 5638 cat conftest.$ac_ext >&5 |
5783 EOF | 5797 EOF |
5784 } | 5798 } |
5785 | 5799 |
5786 | 5800 |
5787 echo "checking for X defines extracted by xmkmf" 1>&6 | 5801 echo "checking for X defines extracted by xmkmf" 1>&6 |
5788 echo "configure:5789: checking for X defines extracted by xmkmf" >&5 | 5802 echo "configure:5803: checking for X defines extracted by xmkmf" >&5 |
5789 rm -fr conftestdir | 5803 rm -fr conftestdir |
5790 if mkdir conftestdir; then | 5804 if mkdir conftestdir; then |
5791 cd conftestdir | 5805 cd conftestdir |
5792 cat > Imakefile <<'EOF' | 5806 cat > Imakefile <<'EOF' |
5793 xetest: | 5807 xetest: |
5815 done | 5829 done |
5816 fi | 5830 fi |
5817 | 5831 |
5818 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 5832 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
5819 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 5833 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
5820 echo "configure:5821: checking for X11/Intrinsic.h" >&5 | 5834 echo "configure:5835: checking for X11/Intrinsic.h" >&5 |
5821 | 5835 |
5822 cat > conftest.$ac_ext <<EOF | 5836 cat > conftest.$ac_ext <<EOF |
5823 #line 5824 "configure" | 5837 #line 5838 "configure" |
5824 #include "confdefs.h" | 5838 #include "confdefs.h" |
5825 #include <X11/Intrinsic.h> | 5839 #include <X11/Intrinsic.h> |
5826 EOF | 5840 EOF |
5827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5841 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5828 { (eval echo configure:5829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5842 { (eval echo configure:5843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5843 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5830 if test -z "$ac_err"; then | 5844 if test -z "$ac_err"; then |
5831 rm -rf conftest* | 5845 rm -rf conftest* |
5832 eval "ac_cv_header_$ac_safe=yes" | 5846 eval "ac_cv_header_$ac_safe=yes" |
5833 else | 5847 else |
5847 fi | 5861 fi |
5848 | 5862 |
5849 | 5863 |
5850 | 5864 |
5851 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 5865 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
5852 echo "configure:5853: checking for XOpenDisplay in -lX11" >&5 | 5866 echo "configure:5867: checking for XOpenDisplay in -lX11" >&5 |
5853 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 5867 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
5854 | 5868 |
5855 xe_check_libs=" -lX11 " | 5869 xe_check_libs=" -lX11 " |
5856 cat > conftest.$ac_ext <<EOF | 5870 cat > conftest.$ac_ext <<EOF |
5857 #line 5858 "configure" | 5871 #line 5872 "configure" |
5858 #include "confdefs.h" | 5872 #include "confdefs.h" |
5859 /* Override any gcc2 internal prototype to avoid an error. */ | 5873 /* Override any gcc2 internal prototype to avoid an error. */ |
5860 /* We use char because int might match the return type of a gcc2 | 5874 /* We use char because int might match the return type of a gcc2 |
5861 builtin and then its argument prototype would still apply. */ | 5875 builtin and then its argument prototype would still apply. */ |
5862 char XOpenDisplay(); | 5876 char XOpenDisplay(); |
5863 | 5877 |
5864 int main() { | 5878 int main() { |
5865 XOpenDisplay() | 5879 XOpenDisplay() |
5866 ; return 0; } | 5880 ; return 0; } |
5867 EOF | 5881 EOF |
5868 if { (eval echo configure:5869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5882 if { (eval echo configure:5883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5869 rm -rf conftest* | 5883 rm -rf conftest* |
5870 eval "ac_cv_lib_$ac_lib_var=yes" | 5884 eval "ac_cv_lib_$ac_lib_var=yes" |
5871 else | 5885 else |
5872 echo "configure: failed program was:" >&5 | 5886 echo "configure: failed program was:" >&5 |
5873 cat conftest.$ac_ext >&5 | 5887 cat conftest.$ac_ext >&5 |
5888 if test "$have_lib_x11" != "yes"; then | 5902 if test "$have_lib_x11" != "yes"; then |
5889 | 5903 |
5890 xe_msg_checking="for XGetFontProperty in -lX11" | 5904 xe_msg_checking="for XGetFontProperty in -lX11" |
5891 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 5905 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
5892 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 5906 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
5893 echo "configure:5894: checking "$xe_msg_checking"" >&5 | 5907 echo "configure:5908: checking "$xe_msg_checking"" >&5 |
5894 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 5908 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
5895 | 5909 |
5896 xe_check_libs=" -lX11 -b i486-linuxaout" | 5910 xe_check_libs=" -lX11 -b i486-linuxaout" |
5897 cat > conftest.$ac_ext <<EOF | 5911 cat > conftest.$ac_ext <<EOF |
5898 #line 5899 "configure" | 5912 #line 5913 "configure" |
5899 #include "confdefs.h" | 5913 #include "confdefs.h" |
5900 /* Override any gcc2 internal prototype to avoid an error. */ | 5914 /* Override any gcc2 internal prototype to avoid an error. */ |
5901 /* We use char because int might match the return type of a gcc2 | 5915 /* We use char because int might match the return type of a gcc2 |
5902 builtin and then its argument prototype would still apply. */ | 5916 builtin and then its argument prototype would still apply. */ |
5903 char XGetFontProperty(); | 5917 char XGetFontProperty(); |
5904 | 5918 |
5905 int main() { | 5919 int main() { |
5906 XGetFontProperty() | 5920 XGetFontProperty() |
5907 ; return 0; } | 5921 ; return 0; } |
5908 EOF | 5922 EOF |
5909 if { (eval echo configure:5910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5923 if { (eval echo configure:5924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5910 rm -rf conftest* | 5924 rm -rf conftest* |
5911 eval "ac_cv_lib_$ac_lib_var=yes" | 5925 eval "ac_cv_lib_$ac_lib_var=yes" |
5912 else | 5926 else |
5913 echo "configure: failed program was:" >&5 | 5927 echo "configure: failed program was:" >&5 |
5914 cat conftest.$ac_ext >&5 | 5928 cat conftest.$ac_ext >&5 |
5931 libs_x="-lX11" | 5945 libs_x="-lX11" |
5932 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 5946 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
5933 | 5947 |
5934 | 5948 |
5935 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 5949 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
5936 echo "configure:5937: checking for XShapeSelectInput in -lXext" >&5 | 5950 echo "configure:5951: checking for XShapeSelectInput in -lXext" >&5 |
5937 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 5951 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
5938 | 5952 |
5939 xe_check_libs=" -lXext " | 5953 xe_check_libs=" -lXext " |
5940 cat > conftest.$ac_ext <<EOF | 5954 cat > conftest.$ac_ext <<EOF |
5941 #line 5942 "configure" | 5955 #line 5956 "configure" |
5942 #include "confdefs.h" | 5956 #include "confdefs.h" |
5943 /* Override any gcc2 internal prototype to avoid an error. */ | 5957 /* Override any gcc2 internal prototype to avoid an error. */ |
5944 /* We use char because int might match the return type of a gcc2 | 5958 /* We use char because int might match the return type of a gcc2 |
5945 builtin and then its argument prototype would still apply. */ | 5959 builtin and then its argument prototype would still apply. */ |
5946 char XShapeSelectInput(); | 5960 char XShapeSelectInput(); |
5947 | 5961 |
5948 int main() { | 5962 int main() { |
5949 XShapeSelectInput() | 5963 XShapeSelectInput() |
5950 ; return 0; } | 5964 ; return 0; } |
5951 EOF | 5965 EOF |
5952 if { (eval echo configure:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5966 if { (eval echo configure:5967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5953 rm -rf conftest* | 5967 rm -rf conftest* |
5954 eval "ac_cv_lib_$ac_lib_var=yes" | 5968 eval "ac_cv_lib_$ac_lib_var=yes" |
5955 else | 5969 else |
5956 echo "configure: failed program was:" >&5 | 5970 echo "configure: failed program was:" >&5 |
5957 cat conftest.$ac_ext >&5 | 5971 cat conftest.$ac_ext >&5 |
5970 | 5984 |
5971 | 5985 |
5972 | 5986 |
5973 | 5987 |
5974 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 5988 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
5975 echo "configure:5976: checking for XtOpenDisplay in -lXt" >&5 | 5989 echo "configure:5990: checking for XtOpenDisplay in -lXt" >&5 |
5976 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 5990 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
5977 | 5991 |
5978 xe_check_libs=" -lXt " | 5992 xe_check_libs=" -lXt " |
5979 cat > conftest.$ac_ext <<EOF | 5993 cat > conftest.$ac_ext <<EOF |
5980 #line 5981 "configure" | 5994 #line 5995 "configure" |
5981 #include "confdefs.h" | 5995 #include "confdefs.h" |
5982 /* Override any gcc2 internal prototype to avoid an error. */ | 5996 /* Override any gcc2 internal prototype to avoid an error. */ |
5983 /* We use char because int might match the return type of a gcc2 | 5997 /* We use char because int might match the return type of a gcc2 |
5984 builtin and then its argument prototype would still apply. */ | 5998 builtin and then its argument prototype would still apply. */ |
5985 char XtOpenDisplay(); | 5999 char XtOpenDisplay(); |
5986 | 6000 |
5987 int main() { | 6001 int main() { |
5988 XtOpenDisplay() | 6002 XtOpenDisplay() |
5989 ; return 0; } | 6003 ; return 0; } |
5990 EOF | 6004 EOF |
5991 if { (eval echo configure:5992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6005 if { (eval echo configure:6006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5992 rm -rf conftest* | 6006 rm -rf conftest* |
5993 eval "ac_cv_lib_$ac_lib_var=yes" | 6007 eval "ac_cv_lib_$ac_lib_var=yes" |
5994 else | 6008 else |
5995 echo "configure: failed program was:" >&5 | 6009 echo "configure: failed program was:" >&5 |
5996 cat conftest.$ac_ext >&5 | 6010 cat conftest.$ac_ext >&5 |
6009 fi | 6023 fi |
6010 | 6024 |
6011 | 6025 |
6012 | 6026 |
6013 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 6027 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
6014 echo "configure:6015: checking the version of X11 being used" >&5 | 6028 echo "configure:6029: checking the version of X11 being used" >&5 |
6015 cat > conftest.$ac_ext <<EOF | 6029 cat > conftest.$ac_ext <<EOF |
6016 #line 6017 "configure" | 6030 #line 6031 "configure" |
6017 #include "confdefs.h" | 6031 #include "confdefs.h" |
6018 #include <X11/Intrinsic.h> | 6032 #include <X11/Intrinsic.h> |
6019 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 6033 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
6020 EOF | 6034 EOF |
6021 if { (eval echo configure:6022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6035 if { (eval echo configure:6036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6022 then | 6036 then |
6023 ./conftest foobar; x11_release=$? | 6037 ./conftest foobar; x11_release=$? |
6024 else | 6038 else |
6025 conftest_rc="$?" | 6039 conftest_rc="$?" |
6026 echo "configure: failed program was:" >&5 | 6040 echo "configure: failed program was:" >&5 |
6040 | 6054 |
6041 | 6055 |
6042 for ac_func in XConvertCase | 6056 for ac_func in XConvertCase |
6043 do | 6057 do |
6044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 6058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6045 echo "configure:6046: checking for $ac_func" >&5 | 6059 echo "configure:6060: checking for $ac_func" >&5 |
6046 | 6060 |
6047 cat > conftest.$ac_ext <<EOF | 6061 cat > conftest.$ac_ext <<EOF |
6048 #line 6049 "configure" | 6062 #line 6063 "configure" |
6049 #include "confdefs.h" | 6063 #include "confdefs.h" |
6050 /* System header to define __stub macros and hopefully few prototypes, | 6064 /* System header to define __stub macros and hopefully few prototypes, |
6051 which can conflict with char $ac_func(); below. */ | 6065 which can conflict with char $ac_func(); below. */ |
6052 #include <assert.h> | 6066 #include <assert.h> |
6053 /* Override any gcc2 internal prototype to avoid an error. */ | 6067 /* Override any gcc2 internal prototype to avoid an error. */ |
6066 $ac_func(); | 6080 $ac_func(); |
6067 #endif | 6081 #endif |
6068 | 6082 |
6069 ; return 0; } | 6083 ; return 0; } |
6070 EOF | 6084 EOF |
6071 if { (eval echo configure:6072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6085 if { (eval echo configure:6086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6072 rm -rf conftest* | 6086 rm -rf conftest* |
6073 eval "ac_cv_func_$ac_func=yes" | 6087 eval "ac_cv_func_$ac_func=yes" |
6074 else | 6088 else |
6075 echo "configure: failed program was:" >&5 | 6089 echo "configure: failed program was:" >&5 |
6076 cat conftest.$ac_ext >&5 | 6090 cat conftest.$ac_ext >&5 |
6098 | 6112 |
6099 for ac_hdr in X11/Xlocale.h | 6113 for ac_hdr in X11/Xlocale.h |
6100 do | 6114 do |
6101 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6115 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6102 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6116 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6103 echo "configure:6104: checking for $ac_hdr" >&5 | 6117 echo "configure:6118: checking for $ac_hdr" >&5 |
6104 | 6118 |
6105 cat > conftest.$ac_ext <<EOF | 6119 cat > conftest.$ac_ext <<EOF |
6106 #line 6107 "configure" | 6120 #line 6121 "configure" |
6107 #include "confdefs.h" | 6121 #include "confdefs.h" |
6108 #include <$ac_hdr> | 6122 #include <$ac_hdr> |
6109 EOF | 6123 EOF |
6110 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6124 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6111 { (eval echo configure:6112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6125 { (eval echo configure:6126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6112 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6126 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6113 if test -z "$ac_err"; then | 6127 if test -z "$ac_err"; then |
6114 rm -rf conftest* | 6128 rm -rf conftest* |
6115 eval "ac_cv_header_$ac_safe=yes" | 6129 eval "ac_cv_header_$ac_safe=yes" |
6116 else | 6130 else |
6137 fi | 6151 fi |
6138 done | 6152 done |
6139 | 6153 |
6140 | 6154 |
6141 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 | 6155 echo $ac_n "checking for XFree86""... $ac_c" 1>&6 |
6142 echo "configure:6143: checking for XFree86" >&5 | 6156 echo "configure:6157: checking for XFree86" >&5 |
6143 if test -d "/usr/X386/include" -o \ | 6157 if test -d "/usr/X386/include" -o \ |
6144 -f "/etc/XF86Config" -o \ | 6158 -f "/etc/XF86Config" -o \ |
6145 -f "/etc/X11/XF86Config" -o \ | 6159 -f "/etc/X11/XF86Config" -o \ |
6146 -f "/usr/X11R6/lib/X11/XF86Config"; then | 6160 -f "/usr/X11R6/lib/X11/XF86Config"; then |
6147 echo "$ac_t""yes" 1>&6 | 6161 echo "$ac_t""yes" 1>&6 |
6157 echo "$ac_t""no" 1>&6 | 6171 echo "$ac_t""no" 1>&6 |
6158 fi | 6172 fi |
6159 | 6173 |
6160 test -z "$with_xmu" && { | 6174 test -z "$with_xmu" && { |
6161 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 6175 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
6162 echo "configure:6163: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 6176 echo "configure:6177: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
6163 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 6177 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
6164 | 6178 |
6165 xe_check_libs=" -lXmu " | 6179 xe_check_libs=" -lXmu " |
6166 cat > conftest.$ac_ext <<EOF | 6180 cat > conftest.$ac_ext <<EOF |
6167 #line 6168 "configure" | 6181 #line 6182 "configure" |
6168 #include "confdefs.h" | 6182 #include "confdefs.h" |
6169 /* Override any gcc2 internal prototype to avoid an error. */ | 6183 /* Override any gcc2 internal prototype to avoid an error. */ |
6170 /* We use char because int might match the return type of a gcc2 | 6184 /* We use char because int might match the return type of a gcc2 |
6171 builtin and then its argument prototype would still apply. */ | 6185 builtin and then its argument prototype would still apply. */ |
6172 char XmuReadBitmapDataFromFile(); | 6186 char XmuReadBitmapDataFromFile(); |
6173 | 6187 |
6174 int main() { | 6188 int main() { |
6175 XmuReadBitmapDataFromFile() | 6189 XmuReadBitmapDataFromFile() |
6176 ; return 0; } | 6190 ; return 0; } |
6177 EOF | 6191 EOF |
6178 if { (eval echo configure:6179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6192 if { (eval echo configure:6193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6179 rm -rf conftest* | 6193 rm -rf conftest* |
6180 eval "ac_cv_lib_$ac_lib_var=yes" | 6194 eval "ac_cv_lib_$ac_lib_var=yes" |
6181 else | 6195 else |
6182 echo "configure: failed program was:" >&5 | 6196 echo "configure: failed program was:" >&5 |
6183 cat conftest.$ac_ext >&5 | 6197 cat conftest.$ac_ext >&5 |
6212 | 6226 |
6213 fi | 6227 fi |
6214 | 6228 |
6215 | 6229 |
6216 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 6230 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
6217 echo "configure:6218: checking for main in -lXbsd" >&5 | 6231 echo "configure:6232: checking for main in -lXbsd" >&5 |
6218 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 6232 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
6219 | 6233 |
6220 xe_check_libs=" -lXbsd " | 6234 xe_check_libs=" -lXbsd " |
6221 cat > conftest.$ac_ext <<EOF | 6235 cat > conftest.$ac_ext <<EOF |
6222 #line 6223 "configure" | 6236 #line 6237 "configure" |
6223 #include "confdefs.h" | 6237 #include "confdefs.h" |
6224 | 6238 |
6225 int main() { | 6239 int main() { |
6226 main() | 6240 main() |
6227 ; return 0; } | 6241 ; return 0; } |
6228 EOF | 6242 EOF |
6229 if { (eval echo configure:6230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6243 if { (eval echo configure:6244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6230 rm -rf conftest* | 6244 rm -rf conftest* |
6231 eval "ac_cv_lib_$ac_lib_var=yes" | 6245 eval "ac_cv_lib_$ac_lib_var=yes" |
6232 else | 6246 else |
6233 echo "configure: failed program was:" >&5 | 6247 echo "configure: failed program was:" >&5 |
6234 cat conftest.$ac_ext >&5 | 6248 cat conftest.$ac_ext >&5 |
6261 fi | 6275 fi |
6262 | 6276 |
6263 fi | 6277 fi |
6264 if test "$with_msw" != "no"; then | 6278 if test "$with_msw" != "no"; then |
6265 echo "checking for MS-Windows" 1>&6 | 6279 echo "checking for MS-Windows" 1>&6 |
6266 echo "configure:6267: checking for MS-Windows" >&5 | 6280 echo "configure:6281: checking for MS-Windows" >&5 |
6267 | 6281 |
6268 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 6282 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
6269 echo "configure:6270: checking for main in -lgdi32" >&5 | 6283 echo "configure:6284: checking for main in -lgdi32" >&5 |
6270 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 6284 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
6271 | 6285 |
6272 xe_check_libs=" -lgdi32 " | 6286 xe_check_libs=" -lgdi32 " |
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 | 6290 |
6277 int main() { | 6291 int main() { |
6278 main() | 6292 main() |
6279 ; return 0; } | 6293 ; return 0; } |
6280 EOF | 6294 EOF |
6281 if { (eval echo configure:6282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6295 if { (eval echo configure:6296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6282 rm -rf conftest* | 6296 rm -rf conftest* |
6283 eval "ac_cv_lib_$ac_lib_var=yes" | 6297 eval "ac_cv_lib_$ac_lib_var=yes" |
6284 else | 6298 else |
6285 echo "configure: failed program was:" >&5 | 6299 echo "configure: failed program was:" >&5 |
6286 cat conftest.$ac_ext >&5 | 6300 cat conftest.$ac_ext >&5 |
6342 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then | 6356 test "$with_dialogs" != "no" && extra_objs="$extra_objs dialog-msw.o" && if test "$extra_verbose" = "yes"; then |
6343 echo " xemacs will be linked with \"dialog-msw.o\"" | 6357 echo " xemacs will be linked with \"dialog-msw.o\"" |
6344 fi | 6358 fi |
6345 fi | 6359 fi |
6346 cat > conftest.$ac_ext <<EOF | 6360 cat > conftest.$ac_ext <<EOF |
6347 #line 6348 "configure" | 6361 #line 6362 "configure" |
6348 #include "confdefs.h" | 6362 #include "confdefs.h" |
6349 #include <fcntl.h> | 6363 #include <fcntl.h> |
6350 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 6364 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
6351 EOF | 6365 EOF |
6352 if { (eval echo configure:6353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 6366 if { (eval echo configure:6367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
6353 then | 6367 then |
6354 { test "$extra_verbose" = "yes" && cat << \EOF | 6368 { test "$extra_verbose" = "yes" && cat << \EOF |
6355 Defining HAVE_MSG_SELECT | 6369 Defining HAVE_MSG_SELECT |
6356 EOF | 6370 EOF |
6357 cat >> confdefs.h <<\EOF | 6371 cat >> confdefs.h <<\EOF |
6422 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 6436 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
6423 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 6437 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
6424 esac | 6438 esac |
6425 | 6439 |
6426 echo "checking for WM_COMMAND option" 1>&6 | 6440 echo "checking for WM_COMMAND option" 1>&6 |
6427 echo "configure:6428: checking for WM_COMMAND option" >&5; | 6441 echo "configure:6442: checking for WM_COMMAND option" >&5; |
6428 if test "$with_wmcommand" != "no"; then | 6442 if test "$with_wmcommand" != "no"; then |
6429 { test "$extra_verbose" = "yes" && cat << \EOF | 6443 { test "$extra_verbose" = "yes" && cat << \EOF |
6430 Defining HAVE_WMCOMMAND | 6444 Defining HAVE_WMCOMMAND |
6431 EOF | 6445 EOF |
6432 cat >> confdefs.h <<\EOF | 6446 cat >> confdefs.h <<\EOF |
6437 fi | 6451 fi |
6438 | 6452 |
6439 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 6453 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
6440 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 6454 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
6441 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 6455 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
6442 echo "configure:6443: checking for X11/Xauth.h" >&5 | 6456 echo "configure:6457: checking for X11/Xauth.h" >&5 |
6443 | 6457 |
6444 cat > conftest.$ac_ext <<EOF | 6458 cat > conftest.$ac_ext <<EOF |
6445 #line 6446 "configure" | 6459 #line 6460 "configure" |
6446 #include "confdefs.h" | 6460 #include "confdefs.h" |
6447 #include <X11/Xauth.h> | 6461 #include <X11/Xauth.h> |
6448 EOF | 6462 EOF |
6449 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6450 { (eval echo configure:6451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6464 { (eval echo configure:6465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6451 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6452 if test -z "$ac_err"; then | 6466 if test -z "$ac_err"; then |
6453 rm -rf conftest* | 6467 rm -rf conftest* |
6454 eval "ac_cv_header_$ac_safe=yes" | 6468 eval "ac_cv_header_$ac_safe=yes" |
6455 else | 6469 else |
6468 with_xauth=no | 6482 with_xauth=no |
6469 fi | 6483 fi |
6470 } | 6484 } |
6471 test -z "$with_xauth" && { | 6485 test -z "$with_xauth" && { |
6472 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 6486 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
6473 echo "configure:6474: checking for XauGetAuthByAddr in -lXau" >&5 | 6487 echo "configure:6488: checking for XauGetAuthByAddr in -lXau" >&5 |
6474 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 6488 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
6475 | 6489 |
6476 xe_check_libs=" -lXau " | 6490 xe_check_libs=" -lXau " |
6477 cat > conftest.$ac_ext <<EOF | 6491 cat > conftest.$ac_ext <<EOF |
6478 #line 6479 "configure" | 6492 #line 6493 "configure" |
6479 #include "confdefs.h" | 6493 #include "confdefs.h" |
6480 /* Override any gcc2 internal prototype to avoid an error. */ | 6494 /* Override any gcc2 internal prototype to avoid an error. */ |
6481 /* We use char because int might match the return type of a gcc2 | 6495 /* We use char because int might match the return type of a gcc2 |
6482 builtin and then its argument prototype would still apply. */ | 6496 builtin and then its argument prototype would still apply. */ |
6483 char XauGetAuthByAddr(); | 6497 char XauGetAuthByAddr(); |
6484 | 6498 |
6485 int main() { | 6499 int main() { |
6486 XauGetAuthByAddr() | 6500 XauGetAuthByAddr() |
6487 ; return 0; } | 6501 ; return 0; } |
6488 EOF | 6502 EOF |
6489 if { (eval echo configure:6490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6503 if { (eval echo configure:6504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6490 rm -rf conftest* | 6504 rm -rf conftest* |
6491 eval "ac_cv_lib_$ac_lib_var=yes" | 6505 eval "ac_cv_lib_$ac_lib_var=yes" |
6492 else | 6506 else |
6493 echo "configure: failed program was:" >&5 | 6507 echo "configure: failed program was:" >&5 |
6494 cat conftest.$ac_ext >&5 | 6508 cat conftest.$ac_ext >&5 |
6529 | 6543 |
6530 if test "$with_tooltalk" != "no" ; then | 6544 if test "$with_tooltalk" != "no" ; then |
6531 for dir in "" "Tt/" "desktop/" ; do | 6545 for dir in "" "Tt/" "desktop/" ; do |
6532 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 6546 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
6533 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 6547 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
6534 echo "configure:6535: checking for ${dir}tt_c.h" >&5 | 6548 echo "configure:6549: checking for ${dir}tt_c.h" >&5 |
6535 | 6549 |
6536 cat > conftest.$ac_ext <<EOF | 6550 cat > conftest.$ac_ext <<EOF |
6537 #line 6538 "configure" | 6551 #line 6552 "configure" |
6538 #include "confdefs.h" | 6552 #include "confdefs.h" |
6539 #include <${dir}tt_c.h> | 6553 #include <${dir}tt_c.h> |
6540 EOF | 6554 EOF |
6541 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6542 { (eval echo configure:6543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6556 { (eval echo configure:6557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6543 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6544 if test -z "$ac_err"; then | 6558 if test -z "$ac_err"; then |
6545 rm -rf conftest* | 6559 rm -rf conftest* |
6546 eval "ac_cv_header_$ac_safe=yes" | 6560 eval "ac_cv_header_$ac_safe=yes" |
6547 else | 6561 else |
6573 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 6587 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
6574 | 6588 |
6575 xe_msg_checking="for tt_message_create in -ltt" | 6589 xe_msg_checking="for tt_message_create in -ltt" |
6576 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 6590 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
6577 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6591 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6578 echo "configure:6579: checking "$xe_msg_checking"" >&5 | 6592 echo "configure:6593: checking "$xe_msg_checking"" >&5 |
6579 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 6593 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
6580 | 6594 |
6581 xe_check_libs=" -ltt $extra_libs" | 6595 xe_check_libs=" -ltt $extra_libs" |
6582 cat > conftest.$ac_ext <<EOF | 6596 cat > conftest.$ac_ext <<EOF |
6583 #line 6584 "configure" | 6597 #line 6598 "configure" |
6584 #include "confdefs.h" | 6598 #include "confdefs.h" |
6585 /* Override any gcc2 internal prototype to avoid an error. */ | 6599 /* Override any gcc2 internal prototype to avoid an error. */ |
6586 /* We use char because int might match the return type of a gcc2 | 6600 /* We use char because int might match the return type of a gcc2 |
6587 builtin and then its argument prototype would still apply. */ | 6601 builtin and then its argument prototype would still apply. */ |
6588 char tt_message_create(); | 6602 char tt_message_create(); |
6589 | 6603 |
6590 int main() { | 6604 int main() { |
6591 tt_message_create() | 6605 tt_message_create() |
6592 ; return 0; } | 6606 ; return 0; } |
6593 EOF | 6607 EOF |
6594 if { (eval echo configure:6595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6608 if { (eval echo configure:6609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6595 rm -rf conftest* | 6609 rm -rf conftest* |
6596 eval "ac_cv_lib_$ac_lib_var=yes" | 6610 eval "ac_cv_lib_$ac_lib_var=yes" |
6597 else | 6611 else |
6598 echo "configure: failed program was:" >&5 | 6612 echo "configure: failed program was:" >&5 |
6599 cat conftest.$ac_ext >&5 | 6613 cat conftest.$ac_ext >&5 |
6646 fi | 6660 fi |
6647 fi | 6661 fi |
6648 | 6662 |
6649 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 6663 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
6650 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 6664 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
6651 echo "configure:6652: checking for Dt/Dt.h" >&5 | 6665 echo "configure:6666: checking for Dt/Dt.h" >&5 |
6652 | 6666 |
6653 cat > conftest.$ac_ext <<EOF | 6667 cat > conftest.$ac_ext <<EOF |
6654 #line 6655 "configure" | 6668 #line 6669 "configure" |
6655 #include "confdefs.h" | 6669 #include "confdefs.h" |
6656 #include <Dt/Dt.h> | 6670 #include <Dt/Dt.h> |
6657 EOF | 6671 EOF |
6658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6672 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6659 { (eval echo configure:6660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6673 { (eval echo configure:6674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6660 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6674 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6661 if test -z "$ac_err"; then | 6675 if test -z "$ac_err"; then |
6662 rm -rf conftest* | 6676 rm -rf conftest* |
6663 eval "ac_cv_header_$ac_safe=yes" | 6677 eval "ac_cv_header_$ac_safe=yes" |
6664 else | 6678 else |
6677 with_cde=no | 6691 with_cde=no |
6678 fi | 6692 fi |
6679 } | 6693 } |
6680 test -z "$with_cde" && { | 6694 test -z "$with_cde" && { |
6681 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 6695 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
6682 echo "configure:6683: checking for DtDndDragStart in -lDtSvc" >&5 | 6696 echo "configure:6697: checking for DtDndDragStart in -lDtSvc" >&5 |
6683 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 6697 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
6684 | 6698 |
6685 xe_check_libs=" -lDtSvc " | 6699 xe_check_libs=" -lDtSvc " |
6686 cat > conftest.$ac_ext <<EOF | 6700 cat > conftest.$ac_ext <<EOF |
6687 #line 6688 "configure" | 6701 #line 6702 "configure" |
6688 #include "confdefs.h" | 6702 #include "confdefs.h" |
6689 /* Override any gcc2 internal prototype to avoid an error. */ | 6703 /* Override any gcc2 internal prototype to avoid an error. */ |
6690 /* We use char because int might match the return type of a gcc2 | 6704 /* We use char because int might match the return type of a gcc2 |
6691 builtin and then its argument prototype would still apply. */ | 6705 builtin and then its argument prototype would still apply. */ |
6692 char DtDndDragStart(); | 6706 char DtDndDragStart(); |
6693 | 6707 |
6694 int main() { | 6708 int main() { |
6695 DtDndDragStart() | 6709 DtDndDragStart() |
6696 ; return 0; } | 6710 ; return 0; } |
6697 EOF | 6711 EOF |
6698 if { (eval echo configure:6699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6712 if { (eval echo configure:6713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6699 rm -rf conftest* | 6713 rm -rf conftest* |
6700 eval "ac_cv_lib_$ac_lib_var=yes" | 6714 eval "ac_cv_lib_$ac_lib_var=yes" |
6701 else | 6715 else |
6702 echo "configure: failed program was:" >&5 | 6716 echo "configure: failed program was:" >&5 |
6703 cat conftest.$ac_ext >&5 | 6717 cat conftest.$ac_ext >&5 |
6762 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi | 6776 dnd_objs="$dnd_objs offix.o" && if test "$extra_verbose" = "yes"; then echo " Appending \"offix.o\" to \$dnd_objs"; fi |
6763 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi | 6777 dragndrop_proto="$dragndrop_proto OffiX" && if test "$extra_verbose" = "yes"; then echo " Appending \"OffiX\" to \$dragndrop_proto"; fi |
6764 fi | 6778 fi |
6765 | 6779 |
6766 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 6780 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
6767 echo "configure:6768: checking if drag and drop API is needed" >&5 | 6781 echo "configure:6782: checking if drag and drop API is needed" >&5 |
6768 if test "$with_dragndrop" != "no" ; then | 6782 if test "$with_dragndrop" != "no" ; then |
6769 if test -n "$dragndrop_proto" ; then | 6783 if test -n "$dragndrop_proto" ; then |
6770 with_dragndrop=yes | 6784 with_dragndrop=yes |
6771 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 6785 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
6772 { test "$extra_verbose" = "yes" && cat << \EOF | 6786 { test "$extra_verbose" = "yes" && cat << \EOF |
6783 echo "$ac_t""no" 1>&6 | 6797 echo "$ac_t""no" 1>&6 |
6784 fi | 6798 fi |
6785 fi | 6799 fi |
6786 | 6800 |
6787 echo "checking for LDAP" 1>&6 | 6801 echo "checking for LDAP" 1>&6 |
6788 echo "configure:6789: checking for LDAP" >&5 | 6802 echo "configure:6803: checking for LDAP" >&5 |
6789 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 6803 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
6790 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 6804 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
6791 echo "configure:6792: checking for ldap.h" >&5 | 6805 echo "configure:6806: checking for ldap.h" >&5 |
6792 | 6806 |
6793 cat > conftest.$ac_ext <<EOF | 6807 cat > conftest.$ac_ext <<EOF |
6794 #line 6795 "configure" | 6808 #line 6809 "configure" |
6795 #include "confdefs.h" | 6809 #include "confdefs.h" |
6796 #include <ldap.h> | 6810 #include <ldap.h> |
6797 EOF | 6811 EOF |
6798 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6812 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6799 { (eval echo configure:6800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6813 { (eval echo configure:6814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6800 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6814 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6801 if test -z "$ac_err"; then | 6815 if test -z "$ac_err"; then |
6802 rm -rf conftest* | 6816 rm -rf conftest* |
6803 eval "ac_cv_header_$ac_safe=yes" | 6817 eval "ac_cv_header_$ac_safe=yes" |
6804 else | 6818 else |
6817 with_ldap=no | 6831 with_ldap=no |
6818 fi | 6832 fi |
6819 } | 6833 } |
6820 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 6834 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
6821 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 6835 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
6822 echo "configure:6823: checking for lber.h" >&5 | 6836 echo "configure:6837: checking for lber.h" >&5 |
6823 | 6837 |
6824 cat > conftest.$ac_ext <<EOF | 6838 cat > conftest.$ac_ext <<EOF |
6825 #line 6826 "configure" | 6839 #line 6840 "configure" |
6826 #include "confdefs.h" | 6840 #include "confdefs.h" |
6827 #include <lber.h> | 6841 #include <lber.h> |
6828 EOF | 6842 EOF |
6829 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6830 { (eval echo configure:6831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6844 { (eval echo configure:6845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6831 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6832 if test -z "$ac_err"; then | 6846 if test -z "$ac_err"; then |
6833 rm -rf conftest* | 6847 rm -rf conftest* |
6834 eval "ac_cv_header_$ac_safe=yes" | 6848 eval "ac_cv_header_$ac_safe=yes" |
6835 else | 6849 else |
6849 fi | 6863 fi |
6850 } | 6864 } |
6851 if test "$with_ldap" != "no"; then | 6865 if test "$with_ldap" != "no"; then |
6852 | 6866 |
6853 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 6867 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
6854 echo "configure:6855: checking for ldap_search in -lldap" >&5 | 6868 echo "configure:6869: checking for ldap_search in -lldap" >&5 |
6855 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 6869 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
6856 | 6870 |
6857 xe_check_libs=" -lldap " | 6871 xe_check_libs=" -lldap " |
6858 cat > conftest.$ac_ext <<EOF | 6872 cat > conftest.$ac_ext <<EOF |
6859 #line 6860 "configure" | 6873 #line 6874 "configure" |
6860 #include "confdefs.h" | 6874 #include "confdefs.h" |
6861 /* Override any gcc2 internal prototype to avoid an error. */ | 6875 /* Override any gcc2 internal prototype to avoid an error. */ |
6862 /* We use char because int might match the return type of a gcc2 | 6876 /* We use char because int might match the return type of a gcc2 |
6863 builtin and then its argument prototype would still apply. */ | 6877 builtin and then its argument prototype would still apply. */ |
6864 char ldap_search(); | 6878 char ldap_search(); |
6865 | 6879 |
6866 int main() { | 6880 int main() { |
6867 ldap_search() | 6881 ldap_search() |
6868 ; return 0; } | 6882 ; return 0; } |
6869 EOF | 6883 EOF |
6870 if { (eval echo configure:6871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6884 if { (eval echo configure:6885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6871 rm -rf conftest* | 6885 rm -rf conftest* |
6872 eval "ac_cv_lib_$ac_lib_var=yes" | 6886 eval "ac_cv_lib_$ac_lib_var=yes" |
6873 else | 6887 else |
6874 echo "configure: failed program was:" >&5 | 6888 echo "configure: failed program was:" >&5 |
6875 cat conftest.$ac_ext >&5 | 6889 cat conftest.$ac_ext >&5 |
6890 | 6904 |
6891 test "$with_ldap_nolber" = "no" && { | 6905 test "$with_ldap_nolber" = "no" && { |
6892 xe_msg_checking="for ldap_open in -lldap" | 6906 xe_msg_checking="for ldap_open in -lldap" |
6893 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 6907 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
6894 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6908 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6895 echo "configure:6896: checking "$xe_msg_checking"" >&5 | 6909 echo "configure:6910: checking "$xe_msg_checking"" >&5 |
6896 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6910 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6897 | 6911 |
6898 xe_check_libs=" -lldap -llber" | 6912 xe_check_libs=" -lldap -llber" |
6899 cat > conftest.$ac_ext <<EOF | 6913 cat > conftest.$ac_ext <<EOF |
6900 #line 6901 "configure" | 6914 #line 6915 "configure" |
6901 #include "confdefs.h" | 6915 #include "confdefs.h" |
6902 /* Override any gcc2 internal prototype to avoid an error. */ | 6916 /* Override any gcc2 internal prototype to avoid an error. */ |
6903 /* We use char because int might match the return type of a gcc2 | 6917 /* We use char because int might match the return type of a gcc2 |
6904 builtin and then its argument prototype would still apply. */ | 6918 builtin and then its argument prototype would still apply. */ |
6905 char ldap_open(); | 6919 char ldap_open(); |
6906 | 6920 |
6907 int main() { | 6921 int main() { |
6908 ldap_open() | 6922 ldap_open() |
6909 ; return 0; } | 6923 ; return 0; } |
6910 EOF | 6924 EOF |
6911 if { (eval echo configure:6912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6925 if { (eval echo configure:6926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6912 rm -rf conftest* | 6926 rm -rf conftest* |
6913 eval "ac_cv_lib_$ac_lib_var=yes" | 6927 eval "ac_cv_lib_$ac_lib_var=yes" |
6914 else | 6928 else |
6915 echo "configure: failed program was:" >&5 | 6929 echo "configure: failed program was:" >&5 |
6916 cat conftest.$ac_ext >&5 | 6930 cat conftest.$ac_ext >&5 |
6931 } | 6945 } |
6932 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 6946 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
6933 xe_msg_checking="for ldap_open in -lldap" | 6947 xe_msg_checking="for ldap_open in -lldap" |
6934 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 6948 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
6935 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6949 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6936 echo "configure:6937: checking "$xe_msg_checking"" >&5 | 6950 echo "configure:6951: checking "$xe_msg_checking"" >&5 |
6937 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6951 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6938 | 6952 |
6939 xe_check_libs=" -lldap -llber -lkrb" | 6953 xe_check_libs=" -lldap -llber -lkrb" |
6940 cat > conftest.$ac_ext <<EOF | 6954 cat > conftest.$ac_ext <<EOF |
6941 #line 6942 "configure" | 6955 #line 6956 "configure" |
6942 #include "confdefs.h" | 6956 #include "confdefs.h" |
6943 /* Override any gcc2 internal prototype to avoid an error. */ | 6957 /* Override any gcc2 internal prototype to avoid an error. */ |
6944 /* We use char because int might match the return type of a gcc2 | 6958 /* We use char because int might match the return type of a gcc2 |
6945 builtin and then its argument prototype would still apply. */ | 6959 builtin and then its argument prototype would still apply. */ |
6946 char ldap_open(); | 6960 char ldap_open(); |
6947 | 6961 |
6948 int main() { | 6962 int main() { |
6949 ldap_open() | 6963 ldap_open() |
6950 ; return 0; } | 6964 ; return 0; } |
6951 EOF | 6965 EOF |
6952 if { (eval echo configure:6953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6966 if { (eval echo configure:6967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6953 rm -rf conftest* | 6967 rm -rf conftest* |
6954 eval "ac_cv_lib_$ac_lib_var=yes" | 6968 eval "ac_cv_lib_$ac_lib_var=yes" |
6955 else | 6969 else |
6956 echo "configure: failed program was:" >&5 | 6970 echo "configure: failed program was:" >&5 |
6957 cat conftest.$ac_ext >&5 | 6971 cat conftest.$ac_ext >&5 |
6972 } | 6986 } |
6973 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 6987 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
6974 xe_msg_checking="for ldap_open in -lldap" | 6988 xe_msg_checking="for ldap_open in -lldap" |
6975 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 6989 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
6976 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6990 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6977 echo "configure:6978: checking "$xe_msg_checking"" >&5 | 6991 echo "configure:6992: checking "$xe_msg_checking"" >&5 |
6978 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 6992 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
6979 | 6993 |
6980 xe_check_libs=" -lldap -llber -lkrb -ldes" | 6994 xe_check_libs=" -lldap -llber -lkrb -ldes" |
6981 cat > conftest.$ac_ext <<EOF | 6995 cat > conftest.$ac_ext <<EOF |
6982 #line 6983 "configure" | 6996 #line 6997 "configure" |
6983 #include "confdefs.h" | 6997 #include "confdefs.h" |
6984 /* Override any gcc2 internal prototype to avoid an error. */ | 6998 /* Override any gcc2 internal prototype to avoid an error. */ |
6985 /* We use char because int might match the return type of a gcc2 | 6999 /* We use char because int might match the return type of a gcc2 |
6986 builtin and then its argument prototype would still apply. */ | 7000 builtin and then its argument prototype would still apply. */ |
6987 char ldap_open(); | 7001 char ldap_open(); |
6988 | 7002 |
6989 int main() { | 7003 int main() { |
6990 ldap_open() | 7004 ldap_open() |
6991 ; return 0; } | 7005 ; return 0; } |
6992 EOF | 7006 EOF |
6993 if { (eval echo configure:6994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7007 if { (eval echo configure:7008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6994 rm -rf conftest* | 7008 rm -rf conftest* |
6995 eval "ac_cv_lib_$ac_lib_var=yes" | 7009 eval "ac_cv_lib_$ac_lib_var=yes" |
6996 else | 7010 else |
6997 echo "configure: failed program was:" >&5 | 7011 echo "configure: failed program was:" >&5 |
6998 cat conftest.$ac_ext >&5 | 7012 cat conftest.$ac_ext >&5 |
7039 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi | 7053 LIBS="-lldap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lldap\" to \$LIBS"; fi |
7040 fi | 7054 fi |
7041 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 7055 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
7042 do | 7056 do |
7043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7044 echo "configure:7045: checking for $ac_func" >&5 | 7058 echo "configure:7059: checking for $ac_func" >&5 |
7045 | 7059 |
7046 cat > conftest.$ac_ext <<EOF | 7060 cat > conftest.$ac_ext <<EOF |
7047 #line 7048 "configure" | 7061 #line 7062 "configure" |
7048 #include "confdefs.h" | 7062 #include "confdefs.h" |
7049 /* System header to define __stub macros and hopefully few prototypes, | 7063 /* System header to define __stub macros and hopefully few prototypes, |
7050 which can conflict with char $ac_func(); below. */ | 7064 which can conflict with char $ac_func(); below. */ |
7051 #include <assert.h> | 7065 #include <assert.h> |
7052 /* Override any gcc2 internal prototype to avoid an error. */ | 7066 /* Override any gcc2 internal prototype to avoid an error. */ |
7065 $ac_func(); | 7079 $ac_func(); |
7066 #endif | 7080 #endif |
7067 | 7081 |
7068 ; return 0; } | 7082 ; return 0; } |
7069 EOF | 7083 EOF |
7070 if { (eval echo configure:7071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7084 if { (eval echo configure:7085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7071 rm -rf conftest* | 7085 rm -rf conftest* |
7072 eval "ac_cv_func_$ac_func=yes" | 7086 eval "ac_cv_func_$ac_func=yes" |
7073 else | 7087 else |
7074 echo "configure: failed program was:" >&5 | 7088 echo "configure: failed program was:" >&5 |
7075 cat conftest.$ac_ext >&5 | 7089 cat conftest.$ac_ext >&5 |
7094 fi | 7108 fi |
7095 done | 7109 done |
7096 | 7110 |
7097 fi | 7111 fi |
7098 | 7112 |
7113 echo "checking for PostgreSQL" 1>&6 | |
7114 echo "configure:7115: checking for PostgreSQL" >&5 | |
7115 postgres_includes_found=no | |
7116 save_c_switch_site="$c_switch_site" | |
7117 if test "$with_postgresql" != "no"; then | |
7118 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | |
7119 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | |
7120 echo "configure:7121: checking for libpq-fe.h" >&5 | |
7121 | |
7122 cat > conftest.$ac_ext <<EOF | |
7123 #line 7124 "configure" | |
7124 #include "confdefs.h" | |
7125 #include <libpq-fe.h> | |
7126 EOF | |
7127 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7128 { (eval echo configure:7129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7129 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7130 if test -z "$ac_err"; then | |
7131 rm -rf conftest* | |
7132 eval "ac_cv_header_$ac_safe=yes" | |
7133 else | |
7134 echo "$ac_err" >&5 | |
7135 echo "configure: failed program was:" >&5 | |
7136 cat conftest.$ac_ext >&5 | |
7137 rm -rf conftest* | |
7138 eval "ac_cv_header_$ac_safe=no" | |
7139 fi | |
7140 rm -f conftest* | |
7141 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7142 echo "$ac_t""yes" 1>&6 | |
7143 postgres_includes_found=yes | |
7144 else | |
7145 echo "$ac_t""no" 1>&6 | |
7146 fi | |
7147 | |
7148 fi | |
7149 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | |
7150 -d "/usr/include/pgsql"; then | |
7151 c_switch_site="$c_switch_site -I/usr/include/pgsql" | |
7152 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | |
7153 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | |
7154 echo "configure:7155: checking for libpq-fe.h" >&5 | |
7155 | |
7156 cat > conftest.$ac_ext <<EOF | |
7157 #line 7158 "configure" | |
7158 #include "confdefs.h" | |
7159 #include <libpq-fe.h> | |
7160 EOF | |
7161 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7162 { (eval echo configure:7163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7163 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7164 if test -z "$ac_err"; then | |
7165 rm -rf conftest* | |
7166 eval "ac_cv_header_$ac_safe=yes" | |
7167 else | |
7168 echo "$ac_err" >&5 | |
7169 echo "configure: failed program was:" >&5 | |
7170 cat conftest.$ac_ext >&5 | |
7171 rm -rf conftest* | |
7172 eval "ac_cv_header_$ac_safe=no" | |
7173 fi | |
7174 rm -f conftest* | |
7175 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7176 echo "$ac_t""yes" 1>&6 | |
7177 postgres_includes_found=yes | |
7178 else | |
7179 echo "$ac_t""no" 1>&6 | |
7180 fi | |
7181 | |
7182 if test "$postgres_includes_found" != "yes"; then | |
7183 c_switch_site="$save_c_switch_site" | |
7184 fi | |
7185 fi | |
7186 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | |
7187 -d "/usr/local/pgsql/include"; then | |
7188 c_switch_site="$c_switch_site -I/usr/local/pgsql/include" | |
7189 ac_safe=`echo "libpq-fe.h" | sed 'y%./+-%__p_%'` | |
7190 echo $ac_n "checking for libpq-fe.h""... $ac_c" 1>&6 | |
7191 echo "configure:7192: checking for libpq-fe.h" >&5 | |
7192 | |
7193 cat > conftest.$ac_ext <<EOF | |
7194 #line 7195 "configure" | |
7195 #include "confdefs.h" | |
7196 #include <libpq-fe.h> | |
7197 EOF | |
7198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
7199 { (eval echo configure:7200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
7200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
7201 if test -z "$ac_err"; then | |
7202 rm -rf conftest* | |
7203 eval "ac_cv_header_$ac_safe=yes" | |
7204 else | |
7205 echo "$ac_err" >&5 | |
7206 echo "configure: failed program was:" >&5 | |
7207 cat conftest.$ac_ext >&5 | |
7208 rm -rf conftest* | |
7209 eval "ac_cv_header_$ac_safe=no" | |
7210 fi | |
7211 rm -f conftest* | |
7212 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
7213 echo "$ac_t""yes" 1>&6 | |
7214 postgres_includes_found=yes | |
7215 else | |
7216 echo "$ac_t""no" 1>&6 | |
7217 fi | |
7218 | |
7219 if test "$postgres_includes_found" != "yes"; then | |
7220 c_switch_site="$save_c_switch_site" | |
7221 fi | |
7222 fi | |
7223 | |
7224 if test "$postgres_includes_found" = "yes"; then | |
7225 | |
7226 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | |
7227 echo "configure:7228: checking for PQconnectdb in -lpq" >&5 | |
7228 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | |
7229 | |
7230 xe_check_libs=" -lpq " | |
7231 cat > conftest.$ac_ext <<EOF | |
7232 #line 7233 "configure" | |
7233 #include "confdefs.h" | |
7234 /* Override any gcc2 internal prototype to avoid an error. */ | |
7235 /* We use char because int might match the return type of a gcc2 | |
7236 builtin and then its argument prototype would still apply. */ | |
7237 char PQconnectdb(); | |
7238 | |
7239 int main() { | |
7240 PQconnectdb() | |
7241 ; return 0; } | |
7242 EOF | |
7243 if { (eval echo configure:7244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7244 rm -rf conftest* | |
7245 eval "ac_cv_lib_$ac_lib_var=yes" | |
7246 else | |
7247 echo "configure: failed program was:" >&5 | |
7248 cat conftest.$ac_ext >&5 | |
7249 rm -rf conftest* | |
7250 eval "ac_cv_lib_$ac_lib_var=no" | |
7251 fi | |
7252 rm -f conftest* | |
7253 xe_check_libs="" | |
7254 | |
7255 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7256 echo "$ac_t""yes" 1>&6 | |
7257 with_postgresql=yes | |
7258 else | |
7259 echo "$ac_t""no" 1>&6 | |
7260 with_postgresql=no | |
7261 fi | |
7262 | |
7263 | |
7264 fi | |
7265 if test "$with_postgresql" = "yes"; then | |
7266 | |
7267 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | |
7268 echo "configure:7269: checking for PQconnectStart in -lpq" >&5 | |
7269 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | |
7270 | |
7271 xe_check_libs=" -lpq " | |
7272 cat > conftest.$ac_ext <<EOF | |
7273 #line 7274 "configure" | |
7274 #include "confdefs.h" | |
7275 /* Override any gcc2 internal prototype to avoid an error. */ | |
7276 /* We use char because int might match the return type of a gcc2 | |
7277 builtin and then its argument prototype would still apply. */ | |
7278 char PQconnectStart(); | |
7279 | |
7280 int main() { | |
7281 PQconnectStart() | |
7282 ; return 0; } | |
7283 EOF | |
7284 if { (eval echo configure:7285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
7285 rm -rf conftest* | |
7286 eval "ac_cv_lib_$ac_lib_var=yes" | |
7287 else | |
7288 echo "configure: failed program was:" >&5 | |
7289 cat conftest.$ac_ext >&5 | |
7290 rm -rf conftest* | |
7291 eval "ac_cv_lib_$ac_lib_var=no" | |
7292 fi | |
7293 rm -f conftest* | |
7294 xe_check_libs="" | |
7295 | |
7296 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
7297 echo "$ac_t""yes" 1>&6 | |
7298 with_postgresqlv7=yes | |
7299 else | |
7300 echo "$ac_t""no" 1>&6 | |
7301 with_postgresqlv7=no | |
7302 fi | |
7303 | |
7304 | |
7305 fi | |
7306 if test "$with_postgresql" = "yes"; then | |
7307 { test "$extra_verbose" = "yes" && cat << \EOF | |
7308 Defining HAVE_POSTGRESQL | |
7309 EOF | |
7310 cat >> confdefs.h <<\EOF | |
7311 #define HAVE_POSTGRESQL 1 | |
7312 EOF | |
7313 } | |
7314 | |
7315 if test "$with_postgresqlv7" = "yes"; then | |
7316 { test "$extra_verbose" = "yes" && cat << \EOF | |
7317 Defining HAVE_POSTGRESQLV7 | |
7318 EOF | |
7319 cat >> confdefs.h <<\EOF | |
7320 #define HAVE_POSTGRESQLV7 1 | |
7321 EOF | |
7322 } | |
7323 | |
7324 fi | |
7325 LIBS="-lpq $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpq\" to \$LIBS"; fi | |
7326 extra_objs="$extra_objs postgresql.o" && if test "$extra_verbose" = "yes"; then | |
7327 echo " xemacs will be linked with \"postgresql.o\"" | |
7328 fi | |
7329 else | |
7330 c_switch_site=$save_c_switch_site | |
7331 fi | |
7332 | |
7099 | 7333 |
7100 if test "$window_system" != "none"; then | 7334 if test "$window_system" != "none"; then |
7101 echo "checking for graphics libraries" 1>&6 | 7335 echo "checking for graphics libraries" 1>&6 |
7102 echo "configure:7103: checking for graphics libraries" >&5 | 7336 echo "configure:7337: checking for graphics libraries" >&5 |
7103 | 7337 |
7104 xpm_problem="" | 7338 xpm_problem="" |
7105 if test -z "$with_xpm"; then | 7339 if test -z "$with_xpm"; then |
7106 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 7340 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
7107 echo "configure:7108: checking for Xpm - no older than 3.4f" >&5 | 7341 echo "configure:7342: checking for Xpm - no older than 3.4f" >&5 |
7108 xe_check_libs=-lXpm | 7342 xe_check_libs=-lXpm |
7109 cat > conftest.$ac_ext <<EOF | 7343 cat > conftest.$ac_ext <<EOF |
7110 #line 7111 "configure" | 7344 #line 7345 "configure" |
7111 #include "confdefs.h" | 7345 #include "confdefs.h" |
7112 #define XPM_NUMBERS | 7346 #define XPM_NUMBERS |
7113 #include <X11/xpm.h> | 7347 #include <X11/xpm.h> |
7114 int main(int c, char **v) { | 7348 int main(int c, char **v) { |
7115 return c == 1 ? 0 : | 7349 return c == 1 ? 0 : |
7116 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 7350 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
7117 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 7351 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
7118 EOF | 7352 EOF |
7119 if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7353 if { (eval echo configure:7354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7120 then | 7354 then |
7121 ./conftest dummy_arg; xpm_status=$?; | 7355 ./conftest dummy_arg; xpm_status=$?; |
7122 if test "$xpm_status" = "0"; then | 7356 if test "$xpm_status" = "0"; then |
7123 with_xpm=yes; | 7357 with_xpm=yes; |
7124 else | 7358 else |
7156 EOF | 7390 EOF |
7157 } | 7391 } |
7158 | 7392 |
7159 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 7393 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
7160 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 7394 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
7161 echo "configure:7162: checking for \"FOR_MSW\" xpm" >&5 | 7395 echo "configure:7396: checking for \"FOR_MSW\" xpm" >&5 |
7162 xe_check_libs=-lXpm | 7396 xe_check_libs=-lXpm |
7163 cat > conftest.$ac_ext <<EOF | 7397 cat > conftest.$ac_ext <<EOF |
7164 #line 7165 "configure" | 7398 #line 7399 "configure" |
7165 #include "confdefs.h" | 7399 #include "confdefs.h" |
7166 | 7400 |
7167 int main() { | 7401 int main() { |
7168 XpmCreatePixmapFromData() | 7402 XpmCreatePixmapFromData() |
7169 ; return 0; } | 7403 ; return 0; } |
7170 EOF | 7404 EOF |
7171 if { (eval echo configure:7172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7405 if { (eval echo configure:7406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7172 rm -rf conftest* | 7406 rm -rf conftest* |
7173 xpm_for_msw=no | 7407 xpm_for_msw=no |
7174 else | 7408 else |
7175 echo "configure: failed program was:" >&5 | 7409 echo "configure: failed program was:" >&5 |
7176 cat conftest.$ac_ext >&5 | 7410 cat conftest.$ac_ext >&5 |
7192 fi | 7426 fi |
7193 fi | 7427 fi |
7194 | 7428 |
7195 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 7429 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
7196 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 7430 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
7197 echo "configure:7198: checking for compface.h" >&5 | 7431 echo "configure:7432: checking for compface.h" >&5 |
7198 | 7432 |
7199 cat > conftest.$ac_ext <<EOF | 7433 cat > conftest.$ac_ext <<EOF |
7200 #line 7201 "configure" | 7434 #line 7435 "configure" |
7201 #include "confdefs.h" | 7435 #include "confdefs.h" |
7202 #include <compface.h> | 7436 #include <compface.h> |
7203 EOF | 7437 EOF |
7204 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7438 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7205 { (eval echo configure:7206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7439 { (eval echo configure:7440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7206 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7440 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7207 if test -z "$ac_err"; then | 7441 if test -z "$ac_err"; then |
7208 rm -rf conftest* | 7442 rm -rf conftest* |
7209 eval "ac_cv_header_$ac_safe=yes" | 7443 eval "ac_cv_header_$ac_safe=yes" |
7210 else | 7444 else |
7223 with_xface=no | 7457 with_xface=no |
7224 fi | 7458 fi |
7225 } | 7459 } |
7226 test -z "$with_xface" && { | 7460 test -z "$with_xface" && { |
7227 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 7461 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
7228 echo "configure:7229: checking for UnGenFace in -lcompface" >&5 | 7462 echo "configure:7463: checking for UnGenFace in -lcompface" >&5 |
7229 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 7463 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
7230 | 7464 |
7231 xe_check_libs=" -lcompface " | 7465 xe_check_libs=" -lcompface " |
7232 cat > conftest.$ac_ext <<EOF | 7466 cat > conftest.$ac_ext <<EOF |
7233 #line 7234 "configure" | 7467 #line 7468 "configure" |
7234 #include "confdefs.h" | 7468 #include "confdefs.h" |
7235 /* Override any gcc2 internal prototype to avoid an error. */ | 7469 /* Override any gcc2 internal prototype to avoid an error. */ |
7236 /* We use char because int might match the return type of a gcc2 | 7470 /* We use char because int might match the return type of a gcc2 |
7237 builtin and then its argument prototype would still apply. */ | 7471 builtin and then its argument prototype would still apply. */ |
7238 char UnGenFace(); | 7472 char UnGenFace(); |
7239 | 7473 |
7240 int main() { | 7474 int main() { |
7241 UnGenFace() | 7475 UnGenFace() |
7242 ; return 0; } | 7476 ; return 0; } |
7243 EOF | 7477 EOF |
7244 if { (eval echo configure:7245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7478 if { (eval echo configure:7479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7245 rm -rf conftest* | 7479 rm -rf conftest* |
7246 eval "ac_cv_lib_$ac_lib_var=yes" | 7480 eval "ac_cv_lib_$ac_lib_var=yes" |
7247 else | 7481 else |
7248 echo "configure: failed program was:" >&5 | 7482 echo "configure: failed program was:" >&5 |
7249 cat conftest.$ac_ext >&5 | 7483 cat conftest.$ac_ext >&5 |
7291 fi | 7525 fi |
7292 | 7526 |
7293 if test "$with_png $with_tiff" != "no no"; then | 7527 if test "$with_png $with_tiff" != "no no"; then |
7294 | 7528 |
7295 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 7529 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
7296 echo "configure:7297: checking for inflate in -lc" >&5 | 7530 echo "configure:7531: checking for inflate in -lc" >&5 |
7297 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 7531 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
7298 | 7532 |
7299 xe_check_libs=" -lc " | 7533 xe_check_libs=" -lc " |
7300 cat > conftest.$ac_ext <<EOF | 7534 cat > conftest.$ac_ext <<EOF |
7301 #line 7302 "configure" | 7535 #line 7536 "configure" |
7302 #include "confdefs.h" | 7536 #include "confdefs.h" |
7303 /* Override any gcc2 internal prototype to avoid an error. */ | 7537 /* Override any gcc2 internal prototype to avoid an error. */ |
7304 /* We use char because int might match the return type of a gcc2 | 7538 /* We use char because int might match the return type of a gcc2 |
7305 builtin and then its argument prototype would still apply. */ | 7539 builtin and then its argument prototype would still apply. */ |
7306 char inflate(); | 7540 char inflate(); |
7307 | 7541 |
7308 int main() { | 7542 int main() { |
7309 inflate() | 7543 inflate() |
7310 ; return 0; } | 7544 ; return 0; } |
7311 EOF | 7545 EOF |
7312 if { (eval echo configure:7313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7546 if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7313 rm -rf conftest* | 7547 rm -rf conftest* |
7314 eval "ac_cv_lib_$ac_lib_var=yes" | 7548 eval "ac_cv_lib_$ac_lib_var=yes" |
7315 else | 7549 else |
7316 echo "configure: failed program was:" >&5 | 7550 echo "configure: failed program was:" >&5 |
7317 cat conftest.$ac_ext >&5 | 7551 cat conftest.$ac_ext >&5 |
7326 : | 7560 : |
7327 else | 7561 else |
7328 echo "$ac_t""no" 1>&6 | 7562 echo "$ac_t""no" 1>&6 |
7329 | 7563 |
7330 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 7564 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
7331 echo "configure:7332: checking for inflate in -lz" >&5 | 7565 echo "configure:7566: checking for inflate in -lz" >&5 |
7332 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 7566 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
7333 | 7567 |
7334 xe_check_libs=" -lz " | 7568 xe_check_libs=" -lz " |
7335 cat > conftest.$ac_ext <<EOF | 7569 cat > conftest.$ac_ext <<EOF |
7336 #line 7337 "configure" | 7570 #line 7571 "configure" |
7337 #include "confdefs.h" | 7571 #include "confdefs.h" |
7338 /* Override any gcc2 internal prototype to avoid an error. */ | 7572 /* Override any gcc2 internal prototype to avoid an error. */ |
7339 /* We use char because int might match the return type of a gcc2 | 7573 /* We use char because int might match the return type of a gcc2 |
7340 builtin and then its argument prototype would still apply. */ | 7574 builtin and then its argument prototype would still apply. */ |
7341 char inflate(); | 7575 char inflate(); |
7342 | 7576 |
7343 int main() { | 7577 int main() { |
7344 inflate() | 7578 inflate() |
7345 ; return 0; } | 7579 ; return 0; } |
7346 EOF | 7580 EOF |
7347 if { (eval echo configure:7348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7581 if { (eval echo configure:7582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7348 rm -rf conftest* | 7582 rm -rf conftest* |
7349 eval "ac_cv_lib_$ac_lib_var=yes" | 7583 eval "ac_cv_lib_$ac_lib_var=yes" |
7350 else | 7584 else |
7351 echo "configure: failed program was:" >&5 | 7585 echo "configure: failed program was:" >&5 |
7352 cat conftest.$ac_ext >&5 | 7586 cat conftest.$ac_ext >&5 |
7361 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 7595 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
7362 else | 7596 else |
7363 echo "$ac_t""no" 1>&6 | 7597 echo "$ac_t""no" 1>&6 |
7364 | 7598 |
7365 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 7599 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
7366 echo "configure:7367: checking for inflate in -lgz" >&5 | 7600 echo "configure:7601: checking for inflate in -lgz" >&5 |
7367 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 7601 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
7368 | 7602 |
7369 xe_check_libs=" -lgz " | 7603 xe_check_libs=" -lgz " |
7370 cat > conftest.$ac_ext <<EOF | 7604 cat > conftest.$ac_ext <<EOF |
7371 #line 7372 "configure" | 7605 #line 7606 "configure" |
7372 #include "confdefs.h" | 7606 #include "confdefs.h" |
7373 /* Override any gcc2 internal prototype to avoid an error. */ | 7607 /* Override any gcc2 internal prototype to avoid an error. */ |
7374 /* We use char because int might match the return type of a gcc2 | 7608 /* We use char because int might match the return type of a gcc2 |
7375 builtin and then its argument prototype would still apply. */ | 7609 builtin and then its argument prototype would still apply. */ |
7376 char inflate(); | 7610 char inflate(); |
7377 | 7611 |
7378 int main() { | 7612 int main() { |
7379 inflate() | 7613 inflate() |
7380 ; return 0; } | 7614 ; return 0; } |
7381 EOF | 7615 EOF |
7382 if { (eval echo configure:7383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7616 if { (eval echo configure:7617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7383 rm -rf conftest* | 7617 rm -rf conftest* |
7384 eval "ac_cv_lib_$ac_lib_var=yes" | 7618 eval "ac_cv_lib_$ac_lib_var=yes" |
7385 else | 7619 else |
7386 echo "configure: failed program was:" >&5 | 7620 echo "configure: failed program was:" >&5 |
7387 cat conftest.$ac_ext >&5 | 7621 cat conftest.$ac_ext >&5 |
7407 | 7641 |
7408 fi | 7642 fi |
7409 | 7643 |
7410 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 7644 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
7411 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 7645 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
7412 echo "configure:7413: checking for jpeglib.h" >&5 | 7646 echo "configure:7647: checking for jpeglib.h" >&5 |
7413 | 7647 |
7414 cat > conftest.$ac_ext <<EOF | 7648 cat > conftest.$ac_ext <<EOF |
7415 #line 7416 "configure" | 7649 #line 7650 "configure" |
7416 #include "confdefs.h" | 7650 #include "confdefs.h" |
7417 #include <jpeglib.h> | 7651 #include <jpeglib.h> |
7418 EOF | 7652 EOF |
7419 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7420 { (eval echo configure:7421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7654 { (eval echo configure:7655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7421 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7422 if test -z "$ac_err"; then | 7656 if test -z "$ac_err"; then |
7423 rm -rf conftest* | 7657 rm -rf conftest* |
7424 eval "ac_cv_header_$ac_safe=yes" | 7658 eval "ac_cv_header_$ac_safe=yes" |
7425 else | 7659 else |
7438 with_jpeg=no | 7672 with_jpeg=no |
7439 fi | 7673 fi |
7440 } | 7674 } |
7441 test -z "$with_jpeg" && { | 7675 test -z "$with_jpeg" && { |
7442 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 7676 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
7443 echo "configure:7444: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 7677 echo "configure:7678: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
7444 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 7678 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
7445 | 7679 |
7446 xe_check_libs=" -ljpeg " | 7680 xe_check_libs=" -ljpeg " |
7447 cat > conftest.$ac_ext <<EOF | 7681 cat > conftest.$ac_ext <<EOF |
7448 #line 7449 "configure" | 7682 #line 7683 "configure" |
7449 #include "confdefs.h" | 7683 #include "confdefs.h" |
7450 /* Override any gcc2 internal prototype to avoid an error. */ | 7684 /* Override any gcc2 internal prototype to avoid an error. */ |
7451 /* We use char because int might match the return type of a gcc2 | 7685 /* We use char because int might match the return type of a gcc2 |
7452 builtin and then its argument prototype would still apply. */ | 7686 builtin and then its argument prototype would still apply. */ |
7453 char jpeg_destroy_decompress(); | 7687 char jpeg_destroy_decompress(); |
7454 | 7688 |
7455 int main() { | 7689 int main() { |
7456 jpeg_destroy_decompress() | 7690 jpeg_destroy_decompress() |
7457 ; return 0; } | 7691 ; return 0; } |
7458 EOF | 7692 EOF |
7459 if { (eval echo configure:7460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7693 if { (eval echo configure:7694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7460 rm -rf conftest* | 7694 rm -rf conftest* |
7461 eval "ac_cv_lib_$ac_lib_var=yes" | 7695 eval "ac_cv_lib_$ac_lib_var=yes" |
7462 else | 7696 else |
7463 echo "configure: failed program was:" >&5 | 7697 echo "configure: failed program was:" >&5 |
7464 cat conftest.$ac_ext >&5 | 7698 cat conftest.$ac_ext >&5 |
7490 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 7724 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
7491 fi | 7725 fi |
7492 | 7726 |
7493 png_problem="" | 7727 png_problem="" |
7494 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 7728 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
7495 echo "configure:7496: checking for pow" >&5 | 7729 echo "configure:7730: checking for pow" >&5 |
7496 | 7730 |
7497 cat > conftest.$ac_ext <<EOF | 7731 cat > conftest.$ac_ext <<EOF |
7498 #line 7499 "configure" | 7732 #line 7733 "configure" |
7499 #include "confdefs.h" | 7733 #include "confdefs.h" |
7500 /* System header to define __stub macros and hopefully few prototypes, | 7734 /* System header to define __stub macros and hopefully few prototypes, |
7501 which can conflict with char pow(); below. */ | 7735 which can conflict with char pow(); below. */ |
7502 #include <assert.h> | 7736 #include <assert.h> |
7503 /* Override any gcc2 internal prototype to avoid an error. */ | 7737 /* Override any gcc2 internal prototype to avoid an error. */ |
7516 pow(); | 7750 pow(); |
7517 #endif | 7751 #endif |
7518 | 7752 |
7519 ; return 0; } | 7753 ; return 0; } |
7520 EOF | 7754 EOF |
7521 if { (eval echo configure:7522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7755 if { (eval echo configure:7756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7522 rm -rf conftest* | 7756 rm -rf conftest* |
7523 eval "ac_cv_func_pow=yes" | 7757 eval "ac_cv_func_pow=yes" |
7524 else | 7758 else |
7525 echo "configure: failed program was:" >&5 | 7759 echo "configure: failed program was:" >&5 |
7526 cat conftest.$ac_ext >&5 | 7760 cat conftest.$ac_ext >&5 |
7537 with_png=no | 7771 with_png=no |
7538 fi | 7772 fi |
7539 } | 7773 } |
7540 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 7774 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
7541 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 7775 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
7542 echo "configure:7543: checking for png.h" >&5 | 7776 echo "configure:7777: checking for png.h" >&5 |
7543 | 7777 |
7544 cat > conftest.$ac_ext <<EOF | 7778 cat > conftest.$ac_ext <<EOF |
7545 #line 7546 "configure" | 7779 #line 7780 "configure" |
7546 #include "confdefs.h" | 7780 #include "confdefs.h" |
7547 #include <png.h> | 7781 #include <png.h> |
7548 EOF | 7782 EOF |
7549 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7783 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7550 { (eval echo configure:7551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7784 { (eval echo configure:7785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7551 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7785 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7552 if test -z "$ac_err"; then | 7786 if test -z "$ac_err"; then |
7553 rm -rf conftest* | 7787 rm -rf conftest* |
7554 eval "ac_cv_header_$ac_safe=yes" | 7788 eval "ac_cv_header_$ac_safe=yes" |
7555 else | 7789 else |
7568 with_png=no | 7802 with_png=no |
7569 fi | 7803 fi |
7570 } | 7804 } |
7571 test -z "$with_png" && { | 7805 test -z "$with_png" && { |
7572 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 7806 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
7573 echo "configure:7574: checking for png_read_image in -lpng" >&5 | 7807 echo "configure:7808: checking for png_read_image in -lpng" >&5 |
7574 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 7808 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
7575 | 7809 |
7576 xe_check_libs=" -lpng " | 7810 xe_check_libs=" -lpng " |
7577 cat > conftest.$ac_ext <<EOF | 7811 cat > conftest.$ac_ext <<EOF |
7578 #line 7579 "configure" | 7812 #line 7813 "configure" |
7579 #include "confdefs.h" | 7813 #include "confdefs.h" |
7580 /* Override any gcc2 internal prototype to avoid an error. */ | 7814 /* Override any gcc2 internal prototype to avoid an error. */ |
7581 /* We use char because int might match the return type of a gcc2 | 7815 /* We use char because int might match the return type of a gcc2 |
7582 builtin and then its argument prototype would still apply. */ | 7816 builtin and then its argument prototype would still apply. */ |
7583 char png_read_image(); | 7817 char png_read_image(); |
7584 | 7818 |
7585 int main() { | 7819 int main() { |
7586 png_read_image() | 7820 png_read_image() |
7587 ; return 0; } | 7821 ; return 0; } |
7588 EOF | 7822 EOF |
7589 if { (eval echo configure:7590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7823 if { (eval echo configure:7824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7590 rm -rf conftest* | 7824 rm -rf conftest* |
7591 eval "ac_cv_lib_$ac_lib_var=yes" | 7825 eval "ac_cv_lib_$ac_lib_var=yes" |
7592 else | 7826 else |
7593 echo "configure: failed program was:" >&5 | 7827 echo "configure: failed program was:" >&5 |
7594 cat conftest.$ac_ext >&5 | 7828 cat conftest.$ac_ext >&5 |
7607 fi | 7841 fi |
7608 | 7842 |
7609 } | 7843 } |
7610 if test -z "$with_png"; then | 7844 if test -z "$with_png"; then |
7611 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 7845 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
7612 echo "configure:7613: checking for workable png version information" >&5 | 7846 echo "configure:7847: checking for workable png version information" >&5 |
7613 xe_check_libs="-lpng -lz" | 7847 xe_check_libs="-lpng -lz" |
7614 cat > conftest.$ac_ext <<EOF | 7848 cat > conftest.$ac_ext <<EOF |
7615 #line 7616 "configure" | 7849 #line 7850 "configure" |
7616 #include "confdefs.h" | 7850 #include "confdefs.h" |
7617 #include <png.h> | 7851 #include <png.h> |
7618 int main(int c, char **v) { | 7852 int main(int c, char **v) { |
7619 if (c == 1) return 0; | 7853 if (c == 1) return 0; |
7620 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 7854 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
7621 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 7855 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
7622 EOF | 7856 EOF |
7623 if { (eval echo configure:7624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7857 if { (eval echo configure:7858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7624 then | 7858 then |
7625 ./conftest dummy_arg; png_status=$?; | 7859 ./conftest dummy_arg; png_status=$?; |
7626 if test "$png_status" = "0"; then | 7860 if test "$png_status" = "0"; then |
7627 with_png=yes; | 7861 with_png=yes; |
7628 else | 7862 else |
7661 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 7895 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
7662 fi | 7896 fi |
7663 | 7897 |
7664 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 7898 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
7665 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 7899 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
7666 echo "configure:7667: checking for tiffio.h" >&5 | 7900 echo "configure:7901: checking for tiffio.h" >&5 |
7667 | 7901 |
7668 cat > conftest.$ac_ext <<EOF | 7902 cat > conftest.$ac_ext <<EOF |
7669 #line 7670 "configure" | 7903 #line 7904 "configure" |
7670 #include "confdefs.h" | 7904 #include "confdefs.h" |
7671 #include <tiffio.h> | 7905 #include <tiffio.h> |
7672 EOF | 7906 EOF |
7673 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7674 { (eval echo configure:7675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7908 { (eval echo configure:7909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7675 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7676 if test -z "$ac_err"; then | 7910 if test -z "$ac_err"; then |
7677 rm -rf conftest* | 7911 rm -rf conftest* |
7678 eval "ac_cv_header_$ac_safe=yes" | 7912 eval "ac_cv_header_$ac_safe=yes" |
7679 else | 7913 else |
7692 with_tiff=no | 7926 with_tiff=no |
7693 fi | 7927 fi |
7694 } | 7928 } |
7695 test -z "$with_tiff" && { | 7929 test -z "$with_tiff" && { |
7696 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 7930 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
7697 echo "configure:7698: checking for TIFFClientOpen in -ltiff" >&5 | 7931 echo "configure:7932: checking for TIFFClientOpen in -ltiff" >&5 |
7698 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 7932 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
7699 | 7933 |
7700 xe_check_libs=" -ltiff " | 7934 xe_check_libs=" -ltiff " |
7701 cat > conftest.$ac_ext <<EOF | 7935 cat > conftest.$ac_ext <<EOF |
7702 #line 7703 "configure" | 7936 #line 7937 "configure" |
7703 #include "confdefs.h" | 7937 #include "confdefs.h" |
7704 /* Override any gcc2 internal prototype to avoid an error. */ | 7938 /* Override any gcc2 internal prototype to avoid an error. */ |
7705 /* We use char because int might match the return type of a gcc2 | 7939 /* We use char because int might match the return type of a gcc2 |
7706 builtin and then its argument prototype would still apply. */ | 7940 builtin and then its argument prototype would still apply. */ |
7707 char TIFFClientOpen(); | 7941 char TIFFClientOpen(); |
7708 | 7942 |
7709 int main() { | 7943 int main() { |
7710 TIFFClientOpen() | 7944 TIFFClientOpen() |
7711 ; return 0; } | 7945 ; return 0; } |
7712 EOF | 7946 EOF |
7713 if { (eval echo configure:7714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7947 if { (eval echo configure:7948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7714 rm -rf conftest* | 7948 rm -rf conftest* |
7715 eval "ac_cv_lib_$ac_lib_var=yes" | 7949 eval "ac_cv_lib_$ac_lib_var=yes" |
7716 else | 7950 else |
7717 echo "configure: failed program was:" >&5 | 7951 echo "configure: failed program was:" >&5 |
7718 cat conftest.$ac_ext >&5 | 7952 cat conftest.$ac_ext >&5 |
7747 | 7981 |
7748 | 7982 |
7749 if test "$with_x11" = "yes"; then | 7983 if test "$with_x11" = "yes"; then |
7750 | 7984 |
7751 echo "checking for X11 graphics libraries" 1>&6 | 7985 echo "checking for X11 graphics libraries" 1>&6 |
7752 echo "configure:7753: checking for X11 graphics libraries" >&5 | 7986 echo "configure:7987: checking for X11 graphics libraries" >&5 |
7753 | 7987 |
7754 echo "checking for the Athena widgets" 1>&6 | 7988 echo "checking for the Athena widgets" 1>&6 |
7755 echo "configure:7756: checking for the Athena widgets" >&5 | 7989 echo "configure:7990: checking for the Athena widgets" >&5 |
7756 | 7990 |
7757 case "$with_athena" in | 7991 case "$with_athena" in |
7758 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 7992 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
7759 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 7993 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
7760 "next") athena_variant=neXtaw athena_3d=yes ;; | 7994 "next") athena_variant=neXtaw athena_3d=yes ;; |
7764 esac | 7998 esac |
7765 | 7999 |
7766 if test "$athena_3d" = "no"; then | 8000 if test "$athena_3d" = "no"; then |
7767 | 8001 |
7768 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 8002 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
7769 echo "configure:7770: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 8003 echo "configure:8004: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
7770 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 8004 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
7771 | 8005 |
7772 xe_check_libs=" -l$athena_variant " | 8006 xe_check_libs=" -l$athena_variant " |
7773 cat > conftest.$ac_ext <<EOF | 8007 cat > conftest.$ac_ext <<EOF |
7774 #line 7775 "configure" | 8008 #line 8009 "configure" |
7775 #include "confdefs.h" | 8009 #include "confdefs.h" |
7776 /* Override any gcc2 internal prototype to avoid an error. */ | 8010 /* Override any gcc2 internal prototype to avoid an error. */ |
7777 /* We use char because int might match the return type of a gcc2 | 8011 /* We use char because int might match the return type of a gcc2 |
7778 builtin and then its argument prototype would still apply. */ | 8012 builtin and then its argument prototype would still apply. */ |
7779 char XawScrollbarSetThumb(); | 8013 char XawScrollbarSetThumb(); |
7780 | 8014 |
7781 int main() { | 8015 int main() { |
7782 XawScrollbarSetThumb() | 8016 XawScrollbarSetThumb() |
7783 ; return 0; } | 8017 ; return 0; } |
7784 EOF | 8018 EOF |
7785 if { (eval echo configure:7786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8019 if { (eval echo configure:8020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7786 rm -rf conftest* | 8020 rm -rf conftest* |
7787 eval "ac_cv_lib_$ac_lib_var=yes" | 8021 eval "ac_cv_lib_$ac_lib_var=yes" |
7788 else | 8022 else |
7789 echo "configure: failed program was:" >&5 | 8023 echo "configure: failed program was:" >&5 |
7790 cat conftest.$ac_ext >&5 | 8024 cat conftest.$ac_ext >&5 |
7796 | 8030 |
7797 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 8031 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
7798 echo "$ac_t""yes" 1>&6 | 8032 echo "$ac_t""yes" 1>&6 |
7799 | 8033 |
7800 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8034 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
7801 echo "configure:7802: checking for threeDClassRec in -l$athena_variant" >&5 | 8035 echo "configure:8036: checking for threeDClassRec in -l$athena_variant" >&5 |
7802 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8036 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
7803 | 8037 |
7804 xe_check_libs=" -l$athena_variant " | 8038 xe_check_libs=" -l$athena_variant " |
7805 cat > conftest.$ac_ext <<EOF | 8039 cat > conftest.$ac_ext <<EOF |
7806 #line 7807 "configure" | 8040 #line 8041 "configure" |
7807 #include "confdefs.h" | 8041 #include "confdefs.h" |
7808 /* Override any gcc2 internal prototype to avoid an error. */ | 8042 /* Override any gcc2 internal prototype to avoid an error. */ |
7809 /* We use char because int might match the return type of a gcc2 | 8043 /* We use char because int might match the return type of a gcc2 |
7810 builtin and then its argument prototype would still apply. */ | 8044 builtin and then its argument prototype would still apply. */ |
7811 char threeDClassRec(); | 8045 char threeDClassRec(); |
7812 | 8046 |
7813 int main() { | 8047 int main() { |
7814 threeDClassRec() | 8048 threeDClassRec() |
7815 ; return 0; } | 8049 ; return 0; } |
7816 EOF | 8050 EOF |
7817 if { (eval echo configure:7818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8051 if { (eval echo configure:8052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7818 rm -rf conftest* | 8052 rm -rf conftest* |
7819 eval "ac_cv_lib_$ac_lib_var=yes" | 8053 eval "ac_cv_lib_$ac_lib_var=yes" |
7820 else | 8054 else |
7821 echo "configure: failed program was:" >&5 | 8055 echo "configure: failed program was:" >&5 |
7822 cat conftest.$ac_ext >&5 | 8056 cat conftest.$ac_ext >&5 |
7843 | 8077 |
7844 | 8078 |
7845 else | 8079 else |
7846 | 8080 |
7847 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 8081 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
7848 echo "configure:7849: checking for threeDClassRec in -l$athena_variant" >&5 | 8082 echo "configure:8083: checking for threeDClassRec in -l$athena_variant" >&5 |
7849 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8083 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
7850 | 8084 |
7851 xe_check_libs=" -l$athena_variant " | 8085 xe_check_libs=" -l$athena_variant " |
7852 cat > conftest.$ac_ext <<EOF | 8086 cat > conftest.$ac_ext <<EOF |
7853 #line 7854 "configure" | 8087 #line 8088 "configure" |
7854 #include "confdefs.h" | 8088 #include "confdefs.h" |
7855 /* Override any gcc2 internal prototype to avoid an error. */ | 8089 /* Override any gcc2 internal prototype to avoid an error. */ |
7856 /* We use char because int might match the return type of a gcc2 | 8090 /* We use char because int might match the return type of a gcc2 |
7857 builtin and then its argument prototype would still apply. */ | 8091 builtin and then its argument prototype would still apply. */ |
7858 char threeDClassRec(); | 8092 char threeDClassRec(); |
7859 | 8093 |
7860 int main() { | 8094 int main() { |
7861 threeDClassRec() | 8095 threeDClassRec() |
7862 ; return 0; } | 8096 ; return 0; } |
7863 EOF | 8097 EOF |
7864 if { (eval echo configure:7865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8098 if { (eval echo configure:8099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7865 rm -rf conftest* | 8099 rm -rf conftest* |
7866 eval "ac_cv_lib_$ac_lib_var=yes" | 8100 eval "ac_cv_lib_$ac_lib_var=yes" |
7867 else | 8101 else |
7868 echo "configure: failed program was:" >&5 | 8102 echo "configure: failed program was:" >&5 |
7869 cat conftest.$ac_ext >&5 | 8103 cat conftest.$ac_ext >&5 |
7877 echo "$ac_t""yes" 1>&6 | 8111 echo "$ac_t""yes" 1>&6 |
7878 athena_lib=$athena_variant | 8112 athena_lib=$athena_variant |
7879 else | 8113 else |
7880 echo "$ac_t""no" 1>&6 | 8114 echo "$ac_t""no" 1>&6 |
7881 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 8115 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
7882 echo "configure:7883: checking for threeDClassRec in -lXaw" >&5 | 8116 echo "configure:8117: checking for threeDClassRec in -lXaw" >&5 |
7883 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 8117 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
7884 | 8118 |
7885 xe_check_libs=" -lXaw " | 8119 xe_check_libs=" -lXaw " |
7886 cat > conftest.$ac_ext <<EOF | 8120 cat > conftest.$ac_ext <<EOF |
7887 #line 7888 "configure" | 8121 #line 8122 "configure" |
7888 #include "confdefs.h" | 8122 #include "confdefs.h" |
7889 /* Override any gcc2 internal prototype to avoid an error. */ | 8123 /* Override any gcc2 internal prototype to avoid an error. */ |
7890 /* We use char because int might match the return type of a gcc2 | 8124 /* We use char because int might match the return type of a gcc2 |
7891 builtin and then its argument prototype would still apply. */ | 8125 builtin and then its argument prototype would still apply. */ |
7892 char threeDClassRec(); | 8126 char threeDClassRec(); |
7893 | 8127 |
7894 int main() { | 8128 int main() { |
7895 threeDClassRec() | 8129 threeDClassRec() |
7896 ; return 0; } | 8130 ; return 0; } |
7897 EOF | 8131 EOF |
7898 if { (eval echo configure:7899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8132 if { (eval echo configure:8133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7899 rm -rf conftest* | 8133 rm -rf conftest* |
7900 eval "ac_cv_lib_$ac_lib_var=yes" | 8134 eval "ac_cv_lib_$ac_lib_var=yes" |
7901 else | 8135 else |
7902 echo "configure: failed program was:" >&5 | 8136 echo "configure: failed program was:" >&5 |
7903 cat conftest.$ac_ext >&5 | 8137 cat conftest.$ac_ext >&5 |
7924 fi | 8158 fi |
7925 | 8159 |
7926 if test "$athena_3d" = "no"; then | 8160 if test "$athena_3d" = "no"; then |
7927 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8161 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
7928 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8162 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
7929 echo "configure:7930: checking for X11/Xaw/ThreeD.h" >&5 | 8163 echo "configure:8164: checking for X11/Xaw/ThreeD.h" >&5 |
7930 | 8164 |
7931 cat > conftest.$ac_ext <<EOF | 8165 cat > conftest.$ac_ext <<EOF |
7932 #line 7933 "configure" | 8166 #line 8167 "configure" |
7933 #include "confdefs.h" | 8167 #include "confdefs.h" |
7934 #include <X11/Xaw/ThreeD.h> | 8168 #include <X11/Xaw/ThreeD.h> |
7935 EOF | 8169 EOF |
7936 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8170 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7937 { (eval echo configure:7938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8171 { (eval echo configure:8172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7938 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8172 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7939 if test -z "$ac_err"; then | 8173 if test -z "$ac_err"; then |
7940 rm -rf conftest* | 8174 rm -rf conftest* |
7941 eval "ac_cv_header_$ac_safe=yes" | 8175 eval "ac_cv_header_$ac_safe=yes" |
7942 else | 8176 else |
7952 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 | 8186 echo "configure: warning: "Could not find a non-3d Athena header set."" 1>&2 |
7953 else | 8187 else |
7954 echo "$ac_t""no" 1>&6 | 8188 echo "$ac_t""no" 1>&6 |
7955 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 8189 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
7956 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 8190 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
7957 echo "configure:7958: checking for X11/Xaw/XawInit.h" >&5 | 8191 echo "configure:8192: checking for X11/Xaw/XawInit.h" >&5 |
7958 | 8192 |
7959 cat > conftest.$ac_ext <<EOF | 8193 cat > conftest.$ac_ext <<EOF |
7960 #line 7961 "configure" | 8194 #line 8195 "configure" |
7961 #include "confdefs.h" | 8195 #include "confdefs.h" |
7962 #include <X11/Xaw/XawInit.h> | 8196 #include <X11/Xaw/XawInit.h> |
7963 EOF | 8197 EOF |
7964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8198 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7965 { (eval echo configure:7966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8199 { (eval echo configure:8200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8200 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7967 if test -z "$ac_err"; then | 8201 if test -z "$ac_err"; then |
7968 rm -rf conftest* | 8202 rm -rf conftest* |
7969 eval "ac_cv_header_$ac_safe=yes" | 8203 eval "ac_cv_header_$ac_safe=yes" |
7970 else | 8204 else |
7986 fi | 8220 fi |
7987 | 8221 |
7988 else | 8222 else |
7989 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8223 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
7990 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 8224 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
7991 echo "configure:7992: checking for X11/$athena_variant/XawInit.h" >&5 | 8225 echo "configure:8226: checking for X11/$athena_variant/XawInit.h" >&5 |
7992 | 8226 |
7993 cat > conftest.$ac_ext <<EOF | 8227 cat > conftest.$ac_ext <<EOF |
7994 #line 7995 "configure" | 8228 #line 8229 "configure" |
7995 #include "confdefs.h" | 8229 #include "confdefs.h" |
7996 #include <X11/$athena_variant/XawInit.h> | 8230 #include <X11/$athena_variant/XawInit.h> |
7997 EOF | 8231 EOF |
7998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7999 { (eval echo configure:8000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8233 { (eval echo configure:8234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8001 if test -z "$ac_err"; then | 8235 if test -z "$ac_err"; then |
8002 rm -rf conftest* | 8236 rm -rf conftest* |
8003 eval "ac_cv_header_$ac_safe=yes" | 8237 eval "ac_cv_header_$ac_safe=yes" |
8004 else | 8238 else |
8011 rm -f conftest* | 8245 rm -f conftest* |
8012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8246 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8013 echo "$ac_t""yes" 1>&6 | 8247 echo "$ac_t""yes" 1>&6 |
8014 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8248 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
8015 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8249 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
8016 echo "configure:8017: checking for X11/$athena_variant/ThreeD.h" >&5 | 8250 echo "configure:8251: checking for X11/$athena_variant/ThreeD.h" >&5 |
8017 | 8251 |
8018 cat > conftest.$ac_ext <<EOF | 8252 cat > conftest.$ac_ext <<EOF |
8019 #line 8020 "configure" | 8253 #line 8254 "configure" |
8020 #include "confdefs.h" | 8254 #include "confdefs.h" |
8021 #include <X11/$athena_variant/ThreeD.h> | 8255 #include <X11/$athena_variant/ThreeD.h> |
8022 EOF | 8256 EOF |
8023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8024 { (eval echo configure:8025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8258 { (eval echo configure:8259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8026 if test -z "$ac_err"; then | 8260 if test -z "$ac_err"; then |
8027 rm -rf conftest* | 8261 rm -rf conftest* |
8028 eval "ac_cv_header_$ac_safe=yes" | 8262 eval "ac_cv_header_$ac_safe=yes" |
8029 else | 8263 else |
8047 | 8281 |
8048 | 8282 |
8049 if test -z "$athena_h_path"; then | 8283 if test -z "$athena_h_path"; then |
8050 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 8284 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
8051 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 8285 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
8052 echo "configure:8053: checking for $athena_variant/XawInit.h" >&5 | 8286 echo "configure:8287: checking for $athena_variant/XawInit.h" >&5 |
8053 | 8287 |
8054 cat > conftest.$ac_ext <<EOF | 8288 cat > conftest.$ac_ext <<EOF |
8055 #line 8056 "configure" | 8289 #line 8290 "configure" |
8056 #include "confdefs.h" | 8290 #include "confdefs.h" |
8057 #include <$athena_variant/XawInit.h> | 8291 #include <$athena_variant/XawInit.h> |
8058 EOF | 8292 EOF |
8059 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8293 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8060 { (eval echo configure:8061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8294 { (eval echo configure:8295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8061 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8295 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8062 if test -z "$ac_err"; then | 8296 if test -z "$ac_err"; then |
8063 rm -rf conftest* | 8297 rm -rf conftest* |
8064 eval "ac_cv_header_$ac_safe=yes" | 8298 eval "ac_cv_header_$ac_safe=yes" |
8065 else | 8299 else |
8072 rm -f conftest* | 8306 rm -f conftest* |
8073 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8074 echo "$ac_t""yes" 1>&6 | 8308 echo "$ac_t""yes" 1>&6 |
8075 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 8309 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
8076 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 8310 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
8077 echo "configure:8078: checking for $athena_variant/ThreeD.h" >&5 | 8311 echo "configure:8312: checking for $athena_variant/ThreeD.h" >&5 |
8078 | 8312 |
8079 cat > conftest.$ac_ext <<EOF | 8313 cat > conftest.$ac_ext <<EOF |
8080 #line 8081 "configure" | 8314 #line 8315 "configure" |
8081 #include "confdefs.h" | 8315 #include "confdefs.h" |
8082 #include <$athena_variant/ThreeD.h> | 8316 #include <$athena_variant/ThreeD.h> |
8083 EOF | 8317 EOF |
8084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8318 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8085 { (eval echo configure:8086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8319 { (eval echo configure:8320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8320 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8087 if test -z "$ac_err"; then | 8321 if test -z "$ac_err"; then |
8088 rm -rf conftest* | 8322 rm -rf conftest* |
8089 eval "ac_cv_header_$ac_safe=yes" | 8323 eval "ac_cv_header_$ac_safe=yes" |
8090 else | 8324 else |
8109 fi | 8343 fi |
8110 | 8344 |
8111 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8345 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8112 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8346 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8113 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8347 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8114 echo "configure:8115: checking for X11/Xaw3d/XawInit.h" >&5 | 8348 echo "configure:8349: checking for X11/Xaw3d/XawInit.h" >&5 |
8115 | 8349 |
8116 cat > conftest.$ac_ext <<EOF | 8350 cat > conftest.$ac_ext <<EOF |
8117 #line 8118 "configure" | 8351 #line 8352 "configure" |
8118 #include "confdefs.h" | 8352 #include "confdefs.h" |
8119 #include <X11/Xaw3d/XawInit.h> | 8353 #include <X11/Xaw3d/XawInit.h> |
8120 EOF | 8354 EOF |
8121 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8122 { (eval echo configure:8123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8356 { (eval echo configure:8357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8123 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8124 if test -z "$ac_err"; then | 8358 if test -z "$ac_err"; then |
8125 rm -rf conftest* | 8359 rm -rf conftest* |
8126 eval "ac_cv_header_$ac_safe=yes" | 8360 eval "ac_cv_header_$ac_safe=yes" |
8127 else | 8361 else |
8134 rm -f conftest* | 8368 rm -f conftest* |
8135 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8369 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8136 echo "$ac_t""yes" 1>&6 | 8370 echo "$ac_t""yes" 1>&6 |
8137 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8371 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8138 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8372 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8139 echo "configure:8140: checking for X11/Xaw3d/ThreeD.h" >&5 | 8373 echo "configure:8374: checking for X11/Xaw3d/ThreeD.h" >&5 |
8140 | 8374 |
8141 cat > conftest.$ac_ext <<EOF | 8375 cat > conftest.$ac_ext <<EOF |
8142 #line 8143 "configure" | 8376 #line 8377 "configure" |
8143 #include "confdefs.h" | 8377 #include "confdefs.h" |
8144 #include <X11/Xaw3d/ThreeD.h> | 8378 #include <X11/Xaw3d/ThreeD.h> |
8145 EOF | 8379 EOF |
8146 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8380 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8147 { (eval echo configure:8148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8381 { (eval echo configure:8382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8148 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8382 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8149 if test -z "$ac_err"; then | 8383 if test -z "$ac_err"; then |
8150 rm -rf conftest* | 8384 rm -rf conftest* |
8151 eval "ac_cv_header_$ac_safe=yes" | 8385 eval "ac_cv_header_$ac_safe=yes" |
8152 else | 8386 else |
8174 fi | 8408 fi |
8175 | 8409 |
8176 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 8410 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
8177 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 8411 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
8178 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 8412 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
8179 echo "configure:8180: checking for Xaw3d/XawInit.h" >&5 | 8413 echo "configure:8414: checking for Xaw3d/XawInit.h" >&5 |
8180 | 8414 |
8181 cat > conftest.$ac_ext <<EOF | 8415 cat > conftest.$ac_ext <<EOF |
8182 #line 8183 "configure" | 8416 #line 8417 "configure" |
8183 #include "confdefs.h" | 8417 #include "confdefs.h" |
8184 #include <Xaw3d/XawInit.h> | 8418 #include <Xaw3d/XawInit.h> |
8185 EOF | 8419 EOF |
8186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8420 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8187 { (eval echo configure:8188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8421 { (eval echo configure:8422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8422 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8189 if test -z "$ac_err"; then | 8423 if test -z "$ac_err"; then |
8190 rm -rf conftest* | 8424 rm -rf conftest* |
8191 eval "ac_cv_header_$ac_safe=yes" | 8425 eval "ac_cv_header_$ac_safe=yes" |
8192 else | 8426 else |
8199 rm -f conftest* | 8433 rm -f conftest* |
8200 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8434 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8201 echo "$ac_t""yes" 1>&6 | 8435 echo "$ac_t""yes" 1>&6 |
8202 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 8436 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
8203 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 8437 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
8204 echo "configure:8205: checking for Xaw3d/ThreeD.h" >&5 | 8438 echo "configure:8439: checking for Xaw3d/ThreeD.h" >&5 |
8205 | 8439 |
8206 cat > conftest.$ac_ext <<EOF | 8440 cat > conftest.$ac_ext <<EOF |
8207 #line 8208 "configure" | 8441 #line 8442 "configure" |
8208 #include "confdefs.h" | 8442 #include "confdefs.h" |
8209 #include <Xaw3d/ThreeD.h> | 8443 #include <Xaw3d/ThreeD.h> |
8210 EOF | 8444 EOF |
8211 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8445 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8212 { (eval echo configure:8213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8446 { (eval echo configure:8447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8213 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8447 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8214 if test -z "$ac_err"; then | 8448 if test -z "$ac_err"; then |
8215 rm -rf conftest* | 8449 rm -rf conftest* |
8216 eval "ac_cv_header_$ac_safe=yes" | 8450 eval "ac_cv_header_$ac_safe=yes" |
8217 else | 8451 else |
8239 fi | 8473 fi |
8240 | 8474 |
8241 if test -z "$athena_h_path"; then | 8475 if test -z "$athena_h_path"; then |
8242 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 8476 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
8243 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 8477 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
8244 echo "configure:8245: checking for X11/Xaw/ThreeD.h" >&5 | 8478 echo "configure:8479: checking for X11/Xaw/ThreeD.h" >&5 |
8245 | 8479 |
8246 cat > conftest.$ac_ext <<EOF | 8480 cat > conftest.$ac_ext <<EOF |
8247 #line 8248 "configure" | 8481 #line 8482 "configure" |
8248 #include "confdefs.h" | 8482 #include "confdefs.h" |
8249 #include <X11/Xaw/ThreeD.h> | 8483 #include <X11/Xaw/ThreeD.h> |
8250 EOF | 8484 EOF |
8251 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8485 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8252 { (eval echo configure:8253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8486 { (eval echo configure:8487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8253 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8487 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8254 if test -z "$ac_err"; then | 8488 if test -z "$ac_err"; then |
8255 rm -rf conftest* | 8489 rm -rf conftest* |
8256 eval "ac_cv_header_$ac_safe=yes" | 8490 eval "ac_cv_header_$ac_safe=yes" |
8257 else | 8491 else |
8282 have_xaw=no | 8516 have_xaw=no |
8283 fi | 8517 fi |
8284 | 8518 |
8285 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 8519 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
8286 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 8520 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
8287 echo "configure:8288: checking for Xm/Xm.h" >&5 | 8521 echo "configure:8522: checking for Xm/Xm.h" >&5 |
8288 | 8522 |
8289 cat > conftest.$ac_ext <<EOF | 8523 cat > conftest.$ac_ext <<EOF |
8290 #line 8291 "configure" | 8524 #line 8525 "configure" |
8291 #include "confdefs.h" | 8525 #include "confdefs.h" |
8292 #include <Xm/Xm.h> | 8526 #include <Xm/Xm.h> |
8293 EOF | 8527 EOF |
8294 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8528 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8295 { (eval echo configure:8296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8529 { (eval echo configure:8530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8296 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8530 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8297 if test -z "$ac_err"; then | 8531 if test -z "$ac_err"; then |
8298 rm -rf conftest* | 8532 rm -rf conftest* |
8299 eval "ac_cv_header_$ac_safe=yes" | 8533 eval "ac_cv_header_$ac_safe=yes" |
8300 else | 8534 else |
8307 rm -f conftest* | 8541 rm -f conftest* |
8308 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 8542 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
8309 echo "$ac_t""yes" 1>&6 | 8543 echo "$ac_t""yes" 1>&6 |
8310 | 8544 |
8311 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 8545 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
8312 echo "configure:8313: checking for XmStringFree in -lXm" >&5 | 8546 echo "configure:8547: checking for XmStringFree in -lXm" >&5 |
8313 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 8547 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
8314 | 8548 |
8315 xe_check_libs=" -lXm " | 8549 xe_check_libs=" -lXm " |
8316 cat > conftest.$ac_ext <<EOF | 8550 cat > conftest.$ac_ext <<EOF |
8317 #line 8318 "configure" | 8551 #line 8552 "configure" |
8318 #include "confdefs.h" | 8552 #include "confdefs.h" |
8319 /* Override any gcc2 internal prototype to avoid an error. */ | 8553 /* Override any gcc2 internal prototype to avoid an error. */ |
8320 /* We use char because int might match the return type of a gcc2 | 8554 /* We use char because int might match the return type of a gcc2 |
8321 builtin and then its argument prototype would still apply. */ | 8555 builtin and then its argument prototype would still apply. */ |
8322 char XmStringFree(); | 8556 char XmStringFree(); |
8323 | 8557 |
8324 int main() { | 8558 int main() { |
8325 XmStringFree() | 8559 XmStringFree() |
8326 ; return 0; } | 8560 ; return 0; } |
8327 EOF | 8561 EOF |
8328 if { (eval echo configure:8329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8562 if { (eval echo configure:8563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8329 rm -rf conftest* | 8563 rm -rf conftest* |
8330 eval "ac_cv_lib_$ac_lib_var=yes" | 8564 eval "ac_cv_lib_$ac_lib_var=yes" |
8331 else | 8565 else |
8332 echo "configure: failed program was:" >&5 | 8566 echo "configure: failed program was:" >&5 |
8333 cat conftest.$ac_ext >&5 | 8567 cat conftest.$ac_ext >&5 |
8352 fi | 8586 fi |
8353 | 8587 |
8354 | 8588 |
8355 if test "$have_motif" = "yes"; then | 8589 if test "$have_motif" = "yes"; then |
8356 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 8590 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
8357 echo "configure:8358: checking for Lesstif" >&5 | 8591 echo "configure:8592: checking for Lesstif" >&5 |
8358 cat > conftest.$ac_ext <<EOF | 8592 cat > conftest.$ac_ext <<EOF |
8359 #line 8360 "configure" | 8593 #line 8594 "configure" |
8360 #include "confdefs.h" | 8594 #include "confdefs.h" |
8361 #include <Xm/Xm.h> | 8595 #include <Xm/Xm.h> |
8362 #ifdef LESSTIF_VERSION | 8596 #ifdef LESSTIF_VERSION |
8363 yes | 8597 yes |
8364 #endif | 8598 #endif |
8687 fi | 8921 fi |
8688 fi | 8922 fi |
8689 | 8923 |
8690 if test "$with_mule" = "yes" ; then | 8924 if test "$with_mule" = "yes" ; then |
8691 echo "checking for Mule-related features" 1>&6 | 8925 echo "checking for Mule-related features" 1>&6 |
8692 echo "configure:8693: checking for Mule-related features" >&5 | 8926 echo "configure:8927: checking for Mule-related features" >&5 |
8693 { test "$extra_verbose" = "yes" && cat << \EOF | 8927 { test "$extra_verbose" = "yes" && cat << \EOF |
8694 Defining MULE | 8928 Defining MULE |
8695 EOF | 8929 EOF |
8696 cat >> confdefs.h <<\EOF | 8930 cat >> confdefs.h <<\EOF |
8697 #define MULE 1 | 8931 #define MULE 1 |
8712 | 8946 |
8713 for ac_hdr in libintl.h | 8947 for ac_hdr in libintl.h |
8714 do | 8948 do |
8715 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 8949 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
8716 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 8950 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
8717 echo "configure:8718: checking for $ac_hdr" >&5 | 8951 echo "configure:8952: checking for $ac_hdr" >&5 |
8718 | 8952 |
8719 cat > conftest.$ac_ext <<EOF | 8953 cat > conftest.$ac_ext <<EOF |
8720 #line 8721 "configure" | 8954 #line 8955 "configure" |
8721 #include "confdefs.h" | 8955 #include "confdefs.h" |
8722 #include <$ac_hdr> | 8956 #include <$ac_hdr> |
8723 EOF | 8957 EOF |
8724 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8958 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8725 { (eval echo configure:8726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8959 { (eval echo configure:8960: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8726 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8960 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8727 if test -z "$ac_err"; then | 8961 if test -z "$ac_err"; then |
8728 rm -rf conftest* | 8962 rm -rf conftest* |
8729 eval "ac_cv_header_$ac_safe=yes" | 8963 eval "ac_cv_header_$ac_safe=yes" |
8730 else | 8964 else |
8751 fi | 8985 fi |
8752 done | 8986 done |
8753 | 8987 |
8754 | 8988 |
8755 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 8989 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
8756 echo "configure:8757: checking for strerror in -lintl" >&5 | 8990 echo "configure:8991: checking for strerror in -lintl" >&5 |
8757 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 8991 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
8758 | 8992 |
8759 xe_check_libs=" -lintl " | 8993 xe_check_libs=" -lintl " |
8760 cat > conftest.$ac_ext <<EOF | 8994 cat > conftest.$ac_ext <<EOF |
8761 #line 8762 "configure" | 8995 #line 8996 "configure" |
8762 #include "confdefs.h" | 8996 #include "confdefs.h" |
8763 /* Override any gcc2 internal prototype to avoid an error. */ | 8997 /* Override any gcc2 internal prototype to avoid an error. */ |
8764 /* We use char because int might match the return type of a gcc2 | 8998 /* We use char because int might match the return type of a gcc2 |
8765 builtin and then its argument prototype would still apply. */ | 8999 builtin and then its argument prototype would still apply. */ |
8766 char strerror(); | 9000 char strerror(); |
8767 | 9001 |
8768 int main() { | 9002 int main() { |
8769 strerror() | 9003 strerror() |
8770 ; return 0; } | 9004 ; return 0; } |
8771 EOF | 9005 EOF |
8772 if { (eval echo configure:8773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9006 if { (eval echo configure:9007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8773 rm -rf conftest* | 9007 rm -rf conftest* |
8774 eval "ac_cv_lib_$ac_lib_var=yes" | 9008 eval "ac_cv_lib_$ac_lib_var=yes" |
8775 else | 9009 else |
8776 echo "configure: failed program was:" >&5 | 9010 echo "configure: failed program was:" >&5 |
8777 cat conftest.$ac_ext >&5 | 9011 cat conftest.$ac_ext >&5 |
8800 fi | 9034 fi |
8801 | 9035 |
8802 | 9036 |
8803 | 9037 |
8804 echo "checking for Mule input methods" 1>&6 | 9038 echo "checking for Mule input methods" 1>&6 |
8805 echo "configure:8806: checking for Mule input methods" >&5 | 9039 echo "configure:9040: checking for Mule input methods" >&5 |
8806 case "$with_xim" in "" | "yes" ) | 9040 case "$with_xim" in "" | "yes" ) |
8807 echo "checking for XIM" 1>&6 | 9041 echo "checking for XIM" 1>&6 |
8808 echo "configure:8809: checking for XIM" >&5 | 9042 echo "configure:9043: checking for XIM" >&5 |
8809 | 9043 |
8810 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 9044 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
8811 echo "configure:8812: checking for XOpenIM in -lX11" >&5 | 9045 echo "configure:9046: checking for XOpenIM in -lX11" >&5 |
8812 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 9046 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
8813 | 9047 |
8814 xe_check_libs=" -lX11 " | 9048 xe_check_libs=" -lX11 " |
8815 cat > conftest.$ac_ext <<EOF | 9049 cat > conftest.$ac_ext <<EOF |
8816 #line 8817 "configure" | 9050 #line 9051 "configure" |
8817 #include "confdefs.h" | 9051 #include "confdefs.h" |
8818 /* Override any gcc2 internal prototype to avoid an error. */ | 9052 /* Override any gcc2 internal prototype to avoid an error. */ |
8819 /* We use char because int might match the return type of a gcc2 | 9053 /* We use char because int might match the return type of a gcc2 |
8820 builtin and then its argument prototype would still apply. */ | 9054 builtin and then its argument prototype would still apply. */ |
8821 char XOpenIM(); | 9055 char XOpenIM(); |
8822 | 9056 |
8823 int main() { | 9057 int main() { |
8824 XOpenIM() | 9058 XOpenIM() |
8825 ; return 0; } | 9059 ; return 0; } |
8826 EOF | 9060 EOF |
8827 if { (eval echo configure:8828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9061 if { (eval echo configure:9062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8828 rm -rf conftest* | 9062 rm -rf conftest* |
8829 eval "ac_cv_lib_$ac_lib_var=yes" | 9063 eval "ac_cv_lib_$ac_lib_var=yes" |
8830 else | 9064 else |
8831 echo "configure: failed program was:" >&5 | 9065 echo "configure: failed program was:" >&5 |
8832 cat conftest.$ac_ext >&5 | 9066 cat conftest.$ac_ext >&5 |
8846 | 9080 |
8847 | 9081 |
8848 if test "$have_motif $have_lesstif" = "yes no"; then | 9082 if test "$have_motif $have_lesstif" = "yes no"; then |
8849 | 9083 |
8850 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 9084 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
8851 echo "configure:8852: checking for XmImMbLookupString in -lXm" >&5 | 9085 echo "configure:9086: checking for XmImMbLookupString in -lXm" >&5 |
8852 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 9086 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
8853 | 9087 |
8854 xe_check_libs=" -lXm " | 9088 xe_check_libs=" -lXm " |
8855 cat > conftest.$ac_ext <<EOF | 9089 cat > conftest.$ac_ext <<EOF |
8856 #line 8857 "configure" | 9090 #line 9091 "configure" |
8857 #include "confdefs.h" | 9091 #include "confdefs.h" |
8858 /* Override any gcc2 internal prototype to avoid an error. */ | 9092 /* Override any gcc2 internal prototype to avoid an error. */ |
8859 /* We use char because int might match the return type of a gcc2 | 9093 /* We use char because int might match the return type of a gcc2 |
8860 builtin and then its argument prototype would still apply. */ | 9094 builtin and then its argument prototype would still apply. */ |
8861 char XmImMbLookupString(); | 9095 char XmImMbLookupString(); |
8862 | 9096 |
8863 int main() { | 9097 int main() { |
8864 XmImMbLookupString() | 9098 XmImMbLookupString() |
8865 ; return 0; } | 9099 ; return 0; } |
8866 EOF | 9100 EOF |
8867 if { (eval echo configure:8868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9101 if { (eval echo configure:9102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8868 rm -rf conftest* | 9102 rm -rf conftest* |
8869 eval "ac_cv_lib_$ac_lib_var=yes" | 9103 eval "ac_cv_lib_$ac_lib_var=yes" |
8870 else | 9104 else |
8871 echo "configure: failed program was:" >&5 | 9105 echo "configure: failed program was:" >&5 |
8872 cat conftest.$ac_ext >&5 | 9106 cat conftest.$ac_ext >&5 |
8927 fi | 9161 fi |
8928 fi | 9162 fi |
8929 | 9163 |
8930 if test "$with_xfs" = "yes" ; then | 9164 if test "$with_xfs" = "yes" ; then |
8931 echo "checking for XFontSet" 1>&6 | 9165 echo "checking for XFontSet" 1>&6 |
8932 echo "configure:8933: checking for XFontSet" >&5 | 9166 echo "configure:9167: checking for XFontSet" >&5 |
8933 | 9167 |
8934 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 9168 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
8935 echo "configure:8936: checking for XmbDrawString in -lX11" >&5 | 9169 echo "configure:9170: checking for XmbDrawString in -lX11" >&5 |
8936 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 9170 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
8937 | 9171 |
8938 xe_check_libs=" -lX11 " | 9172 xe_check_libs=" -lX11 " |
8939 cat > conftest.$ac_ext <<EOF | 9173 cat > conftest.$ac_ext <<EOF |
8940 #line 8941 "configure" | 9174 #line 9175 "configure" |
8941 #include "confdefs.h" | 9175 #include "confdefs.h" |
8942 /* Override any gcc2 internal prototype to avoid an error. */ | 9176 /* Override any gcc2 internal prototype to avoid an error. */ |
8943 /* We use char because int might match the return type of a gcc2 | 9177 /* We use char because int might match the return type of a gcc2 |
8944 builtin and then its argument prototype would still apply. */ | 9178 builtin and then its argument prototype would still apply. */ |
8945 char XmbDrawString(); | 9179 char XmbDrawString(); |
8946 | 9180 |
8947 int main() { | 9181 int main() { |
8948 XmbDrawString() | 9182 XmbDrawString() |
8949 ; return 0; } | 9183 ; return 0; } |
8950 EOF | 9184 EOF |
8951 if { (eval echo configure:8952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9185 if { (eval echo configure:9186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8952 rm -rf conftest* | 9186 rm -rf conftest* |
8953 eval "ac_cv_lib_$ac_lib_var=yes" | 9187 eval "ac_cv_lib_$ac_lib_var=yes" |
8954 else | 9188 else |
8955 echo "configure: failed program was:" >&5 | 9189 echo "configure: failed program was:" >&5 |
8956 cat conftest.$ac_ext >&5 | 9190 cat conftest.$ac_ext >&5 |
8986 fi | 9220 fi |
8987 fi | 9221 fi |
8988 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 9222 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
8989 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 9223 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
8990 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 9224 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
8991 echo "configure:8992: checking for wnn/jllib.h" >&5 | 9225 echo "configure:9226: checking for wnn/jllib.h" >&5 |
8992 | 9226 |
8993 cat > conftest.$ac_ext <<EOF | 9227 cat > conftest.$ac_ext <<EOF |
8994 #line 8995 "configure" | 9228 #line 9229 "configure" |
8995 #include "confdefs.h" | 9229 #include "confdefs.h" |
8996 #include <wnn/jllib.h> | 9230 #include <wnn/jllib.h> |
8997 EOF | 9231 EOF |
8998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9232 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8999 { (eval echo configure:9000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9233 { (eval echo configure:9234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9234 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9001 if test -z "$ac_err"; then | 9235 if test -z "$ac_err"; then |
9002 rm -rf conftest* | 9236 rm -rf conftest* |
9003 eval "ac_cv_header_$ac_safe=yes" | 9237 eval "ac_cv_header_$ac_safe=yes" |
9004 else | 9238 else |
9019 } | 9253 } |
9020 if test "$with_wnn" != "no"; then | 9254 if test "$with_wnn" != "no"; then |
9021 for ac_func in crypt | 9255 for ac_func in crypt |
9022 do | 9256 do |
9023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9024 echo "configure:9025: checking for $ac_func" >&5 | 9258 echo "configure:9259: checking for $ac_func" >&5 |
9025 | 9259 |
9026 cat > conftest.$ac_ext <<EOF | 9260 cat > conftest.$ac_ext <<EOF |
9027 #line 9028 "configure" | 9261 #line 9262 "configure" |
9028 #include "confdefs.h" | 9262 #include "confdefs.h" |
9029 /* System header to define __stub macros and hopefully few prototypes, | 9263 /* System header to define __stub macros and hopefully few prototypes, |
9030 which can conflict with char $ac_func(); below. */ | 9264 which can conflict with char $ac_func(); below. */ |
9031 #include <assert.h> | 9265 #include <assert.h> |
9032 /* Override any gcc2 internal prototype to avoid an error. */ | 9266 /* Override any gcc2 internal prototype to avoid an error. */ |
9045 $ac_func(); | 9279 $ac_func(); |
9046 #endif | 9280 #endif |
9047 | 9281 |
9048 ; return 0; } | 9282 ; return 0; } |
9049 EOF | 9283 EOF |
9050 if { (eval echo configure:9051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9284 if { (eval echo configure:9285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9051 rm -rf conftest* | 9285 rm -rf conftest* |
9052 eval "ac_cv_func_$ac_func=yes" | 9286 eval "ac_cv_func_$ac_func=yes" |
9053 else | 9287 else |
9054 echo "configure: failed program was:" >&5 | 9288 echo "configure: failed program was:" >&5 |
9055 cat conftest.$ac_ext >&5 | 9289 cat conftest.$ac_ext >&5 |
9074 fi | 9308 fi |
9075 done | 9309 done |
9076 | 9310 |
9077 test "$ac_cv_func_crypt" != "yes" && { | 9311 test "$ac_cv_func_crypt" != "yes" && { |
9078 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 9312 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
9079 echo "configure:9080: checking for crypt in -lcrypt" >&5 | 9313 echo "configure:9314: checking for crypt in -lcrypt" >&5 |
9080 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 9314 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
9081 | 9315 |
9082 xe_check_libs=" -lcrypt " | 9316 xe_check_libs=" -lcrypt " |
9083 cat > conftest.$ac_ext <<EOF | 9317 cat > conftest.$ac_ext <<EOF |
9084 #line 9085 "configure" | 9318 #line 9319 "configure" |
9085 #include "confdefs.h" | 9319 #include "confdefs.h" |
9086 /* Override any gcc2 internal prototype to avoid an error. */ | 9320 /* Override any gcc2 internal prototype to avoid an error. */ |
9087 /* We use char because int might match the return type of a gcc2 | 9321 /* We use char because int might match the return type of a gcc2 |
9088 builtin and then its argument prototype would still apply. */ | 9322 builtin and then its argument prototype would still apply. */ |
9089 char crypt(); | 9323 char crypt(); |
9090 | 9324 |
9091 int main() { | 9325 int main() { |
9092 crypt() | 9326 crypt() |
9093 ; return 0; } | 9327 ; return 0; } |
9094 EOF | 9328 EOF |
9095 if { (eval echo configure:9096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9329 if { (eval echo configure:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9096 rm -rf conftest* | 9330 rm -rf conftest* |
9097 eval "ac_cv_lib_$ac_lib_var=yes" | 9331 eval "ac_cv_lib_$ac_lib_var=yes" |
9098 else | 9332 else |
9099 echo "configure: failed program was:" >&5 | 9333 echo "configure: failed program was:" >&5 |
9100 cat conftest.$ac_ext >&5 | 9334 cat conftest.$ac_ext >&5 |
9125 } | 9359 } |
9126 fi | 9360 fi |
9127 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 9361 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
9128 | 9362 |
9129 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 9363 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
9130 echo "configure:9131: checking for jl_dic_list_e in -lwnn" >&5 | 9364 echo "configure:9365: checking for jl_dic_list_e in -lwnn" >&5 |
9131 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9365 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9132 | 9366 |
9133 xe_check_libs=" -lwnn " | 9367 xe_check_libs=" -lwnn " |
9134 cat > conftest.$ac_ext <<EOF | 9368 cat > conftest.$ac_ext <<EOF |
9135 #line 9136 "configure" | 9369 #line 9370 "configure" |
9136 #include "confdefs.h" | 9370 #include "confdefs.h" |
9137 /* Override any gcc2 internal prototype to avoid an error. */ | 9371 /* Override any gcc2 internal prototype to avoid an error. */ |
9138 /* We use char because int might match the return type of a gcc2 | 9372 /* We use char because int might match the return type of a gcc2 |
9139 builtin and then its argument prototype would still apply. */ | 9373 builtin and then its argument prototype would still apply. */ |
9140 char jl_dic_list_e(); | 9374 char jl_dic_list_e(); |
9141 | 9375 |
9142 int main() { | 9376 int main() { |
9143 jl_dic_list_e() | 9377 jl_dic_list_e() |
9144 ; return 0; } | 9378 ; return 0; } |
9145 EOF | 9379 EOF |
9146 if { (eval echo configure:9147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9380 if { (eval echo configure:9381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9147 rm -rf conftest* | 9381 rm -rf conftest* |
9148 eval "ac_cv_lib_$ac_lib_var=yes" | 9382 eval "ac_cv_lib_$ac_lib_var=yes" |
9149 else | 9383 else |
9150 echo "configure: failed program was:" >&5 | 9384 echo "configure: failed program was:" >&5 |
9151 cat conftest.$ac_ext >&5 | 9385 cat conftest.$ac_ext >&5 |
9159 echo "$ac_t""yes" 1>&6 | 9393 echo "$ac_t""yes" 1>&6 |
9160 libwnn=wnn | 9394 libwnn=wnn |
9161 else | 9395 else |
9162 echo "$ac_t""no" 1>&6 | 9396 echo "$ac_t""no" 1>&6 |
9163 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 9397 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
9164 echo "configure:9165: checking for jl_dic_list_e in -lwnn4" >&5 | 9398 echo "configure:9399: checking for jl_dic_list_e in -lwnn4" >&5 |
9165 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9399 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9166 | 9400 |
9167 xe_check_libs=" -lwnn4 " | 9401 xe_check_libs=" -lwnn4 " |
9168 cat > conftest.$ac_ext <<EOF | 9402 cat > conftest.$ac_ext <<EOF |
9169 #line 9170 "configure" | 9403 #line 9404 "configure" |
9170 #include "confdefs.h" | 9404 #include "confdefs.h" |
9171 /* Override any gcc2 internal prototype to avoid an error. */ | 9405 /* Override any gcc2 internal prototype to avoid an error. */ |
9172 /* We use char because int might match the return type of a gcc2 | 9406 /* We use char because int might match the return type of a gcc2 |
9173 builtin and then its argument prototype would still apply. */ | 9407 builtin and then its argument prototype would still apply. */ |
9174 char jl_dic_list_e(); | 9408 char jl_dic_list_e(); |
9175 | 9409 |
9176 int main() { | 9410 int main() { |
9177 jl_dic_list_e() | 9411 jl_dic_list_e() |
9178 ; return 0; } | 9412 ; return 0; } |
9179 EOF | 9413 EOF |
9180 if { (eval echo configure:9181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9414 if { (eval echo configure:9415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9181 rm -rf conftest* | 9415 rm -rf conftest* |
9182 eval "ac_cv_lib_$ac_lib_var=yes" | 9416 eval "ac_cv_lib_$ac_lib_var=yes" |
9183 else | 9417 else |
9184 echo "configure: failed program was:" >&5 | 9418 echo "configure: failed program was:" >&5 |
9185 cat conftest.$ac_ext >&5 | 9419 cat conftest.$ac_ext >&5 |
9193 echo "$ac_t""yes" 1>&6 | 9427 echo "$ac_t""yes" 1>&6 |
9194 libwnn=wnn4 | 9428 libwnn=wnn4 |
9195 else | 9429 else |
9196 echo "$ac_t""no" 1>&6 | 9430 echo "$ac_t""no" 1>&6 |
9197 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 9431 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
9198 echo "configure:9199: checking for jl_dic_list_e in -lwnn6" >&5 | 9432 echo "configure:9433: checking for jl_dic_list_e in -lwnn6" >&5 |
9199 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 9433 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
9200 | 9434 |
9201 xe_check_libs=" -lwnn6 " | 9435 xe_check_libs=" -lwnn6 " |
9202 cat > conftest.$ac_ext <<EOF | 9436 cat > conftest.$ac_ext <<EOF |
9203 #line 9204 "configure" | 9437 #line 9438 "configure" |
9204 #include "confdefs.h" | 9438 #include "confdefs.h" |
9205 /* Override any gcc2 internal prototype to avoid an error. */ | 9439 /* Override any gcc2 internal prototype to avoid an error. */ |
9206 /* We use char because int might match the return type of a gcc2 | 9440 /* We use char because int might match the return type of a gcc2 |
9207 builtin and then its argument prototype would still apply. */ | 9441 builtin and then its argument prototype would still apply. */ |
9208 char jl_dic_list_e(); | 9442 char jl_dic_list_e(); |
9209 | 9443 |
9210 int main() { | 9444 int main() { |
9211 jl_dic_list_e() | 9445 jl_dic_list_e() |
9212 ; return 0; } | 9446 ; return 0; } |
9213 EOF | 9447 EOF |
9214 if { (eval echo configure:9215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9448 if { (eval echo configure:9449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9215 rm -rf conftest* | 9449 rm -rf conftest* |
9216 eval "ac_cv_lib_$ac_lib_var=yes" | 9450 eval "ac_cv_lib_$ac_lib_var=yes" |
9217 else | 9451 else |
9218 echo "configure: failed program was:" >&5 | 9452 echo "configure: failed program was:" >&5 |
9219 cat conftest.$ac_ext >&5 | 9453 cat conftest.$ac_ext >&5 |
9227 echo "$ac_t""yes" 1>&6 | 9461 echo "$ac_t""yes" 1>&6 |
9228 libwnn=wnn6 | 9462 libwnn=wnn6 |
9229 else | 9463 else |
9230 echo "$ac_t""no" 1>&6 | 9464 echo "$ac_t""no" 1>&6 |
9231 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 9465 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
9232 echo "configure:9233: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 9466 echo "configure:9467: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
9233 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 9467 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
9234 | 9468 |
9235 xe_check_libs=" -lwnn6_fromsrc " | 9469 xe_check_libs=" -lwnn6_fromsrc " |
9236 cat > conftest.$ac_ext <<EOF | 9470 cat > conftest.$ac_ext <<EOF |
9237 #line 9238 "configure" | 9471 #line 9472 "configure" |
9238 #include "confdefs.h" | 9472 #include "confdefs.h" |
9239 /* Override any gcc2 internal prototype to avoid an error. */ | 9473 /* Override any gcc2 internal prototype to avoid an error. */ |
9240 /* We use char because int might match the return type of a gcc2 | 9474 /* We use char because int might match the return type of a gcc2 |
9241 builtin and then its argument prototype would still apply. */ | 9475 builtin and then its argument prototype would still apply. */ |
9242 char dic_list_e(); | 9476 char dic_list_e(); |
9243 | 9477 |
9244 int main() { | 9478 int main() { |
9245 dic_list_e() | 9479 dic_list_e() |
9246 ; return 0; } | 9480 ; return 0; } |
9247 EOF | 9481 EOF |
9248 if { (eval echo configure:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9482 if { (eval echo configure:9483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9249 rm -rf conftest* | 9483 rm -rf conftest* |
9250 eval "ac_cv_lib_$ac_lib_var=yes" | 9484 eval "ac_cv_lib_$ac_lib_var=yes" |
9251 else | 9485 else |
9252 echo "configure: failed program was:" >&5 | 9486 echo "configure: failed program was:" >&5 |
9253 cat conftest.$ac_ext >&5 | 9487 cat conftest.$ac_ext >&5 |
9291 echo " xemacs will be linked with \"mule-wnnfns.o\"" | 9525 echo " xemacs will be linked with \"mule-wnnfns.o\"" |
9292 fi | 9526 fi |
9293 if test "$with_wnn6" != "no"; then | 9527 if test "$with_wnn6" != "no"; then |
9294 | 9528 |
9295 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 9529 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
9296 echo "configure:9297: checking for jl_fi_dic_list in -l$libwnn" >&5 | 9530 echo "configure:9531: checking for jl_fi_dic_list in -l$libwnn" >&5 |
9297 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 9531 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
9298 | 9532 |
9299 xe_check_libs=" -l$libwnn " | 9533 xe_check_libs=" -l$libwnn " |
9300 cat > conftest.$ac_ext <<EOF | 9534 cat > conftest.$ac_ext <<EOF |
9301 #line 9302 "configure" | 9535 #line 9536 "configure" |
9302 #include "confdefs.h" | 9536 #include "confdefs.h" |
9303 /* Override any gcc2 internal prototype to avoid an error. */ | 9537 /* Override any gcc2 internal prototype to avoid an error. */ |
9304 /* We use char because int might match the return type of a gcc2 | 9538 /* We use char because int might match the return type of a gcc2 |
9305 builtin and then its argument prototype would still apply. */ | 9539 builtin and then its argument prototype would still apply. */ |
9306 char jl_fi_dic_list(); | 9540 char jl_fi_dic_list(); |
9307 | 9541 |
9308 int main() { | 9542 int main() { |
9309 jl_fi_dic_list() | 9543 jl_fi_dic_list() |
9310 ; return 0; } | 9544 ; return 0; } |
9311 EOF | 9545 EOF |
9312 if { (eval echo configure:9313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9546 if { (eval echo configure:9547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9313 rm -rf conftest* | 9547 rm -rf conftest* |
9314 eval "ac_cv_lib_$ac_lib_var=yes" | 9548 eval "ac_cv_lib_$ac_lib_var=yes" |
9315 else | 9549 else |
9316 echo "configure: failed program was:" >&5 | 9550 echo "configure: failed program was:" >&5 |
9317 cat conftest.$ac_ext >&5 | 9551 cat conftest.$ac_ext >&5 |
9342 | 9576 |
9343 canna_includes_found=no | 9577 canna_includes_found=no |
9344 if test "$with_canna" != "no"; then | 9578 if test "$with_canna" != "no"; then |
9345 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9579 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
9346 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9580 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
9347 echo "configure:9348: checking for canna/jrkanji.h" >&5 | 9581 echo "configure:9582: checking for canna/jrkanji.h" >&5 |
9348 | 9582 |
9349 cat > conftest.$ac_ext <<EOF | 9583 cat > conftest.$ac_ext <<EOF |
9350 #line 9351 "configure" | 9584 #line 9585 "configure" |
9351 #include "confdefs.h" | 9585 #include "confdefs.h" |
9352 #include <canna/jrkanji.h> | 9586 #include <canna/jrkanji.h> |
9353 EOF | 9587 EOF |
9354 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9588 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9355 { (eval echo configure:9356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9589 { (eval echo configure:9590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9356 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9590 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9357 if test -z "$ac_err"; then | 9591 if test -z "$ac_err"; then |
9358 rm -rf conftest* | 9592 rm -rf conftest* |
9359 eval "ac_cv_header_$ac_safe=yes" | 9593 eval "ac_cv_header_$ac_safe=yes" |
9360 else | 9594 else |
9377 -d "/usr/local/canna/include"; then | 9611 -d "/usr/local/canna/include"; then |
9378 save_c_switch_site="$c_switch_site" | 9612 save_c_switch_site="$c_switch_site" |
9379 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 9613 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
9380 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 9614 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
9381 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 9615 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
9382 echo "configure:9383: checking for canna/jrkanji.h" >&5 | 9616 echo "configure:9617: checking for canna/jrkanji.h" >&5 |
9383 | 9617 |
9384 cat > conftest.$ac_ext <<EOF | 9618 cat > conftest.$ac_ext <<EOF |
9385 #line 9386 "configure" | 9619 #line 9620 "configure" |
9386 #include "confdefs.h" | 9620 #include "confdefs.h" |
9387 #include <canna/jrkanji.h> | 9621 #include <canna/jrkanji.h> |
9388 EOF | 9622 EOF |
9389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9623 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9390 { (eval echo configure:9391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9624 { (eval echo configure:9625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9625 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9392 if test -z "$ac_err"; then | 9626 if test -z "$ac_err"; then |
9393 rm -rf conftest* | 9627 rm -rf conftest* |
9394 eval "ac_cv_header_$ac_safe=yes" | 9628 eval "ac_cv_header_$ac_safe=yes" |
9395 else | 9629 else |
9413 fi | 9647 fi |
9414 fi | 9648 fi |
9415 | 9649 |
9416 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 9650 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
9417 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 9651 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
9418 echo "configure:9419: checking for canna/RK.h" >&5 | 9652 echo "configure:9653: checking for canna/RK.h" >&5 |
9419 | 9653 |
9420 cat > conftest.$ac_ext <<EOF | 9654 cat > conftest.$ac_ext <<EOF |
9421 #line 9422 "configure" | 9655 #line 9656 "configure" |
9422 #include "confdefs.h" | 9656 #include "confdefs.h" |
9423 #include <canna/RK.h> | 9657 #include <canna/RK.h> |
9424 EOF | 9658 EOF |
9425 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9659 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9426 { (eval echo configure:9427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9660 { (eval echo configure:9661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9661 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9428 if test -z "$ac_err"; then | 9662 if test -z "$ac_err"; then |
9429 rm -rf conftest* | 9663 rm -rf conftest* |
9430 eval "ac_cv_header_$ac_safe=yes" | 9664 eval "ac_cv_header_$ac_safe=yes" |
9431 else | 9665 else |
9444 with_canna=no | 9678 with_canna=no |
9445 fi | 9679 fi |
9446 } | 9680 } |
9447 test -z "$with_canna" && { | 9681 test -z "$with_canna" && { |
9448 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 9682 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
9449 echo "configure:9450: checking for RkBgnBun in -lRKC" >&5 | 9683 echo "configure:9684: checking for RkBgnBun in -lRKC" >&5 |
9450 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 9684 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
9451 | 9685 |
9452 xe_check_libs=" -lRKC " | 9686 xe_check_libs=" -lRKC " |
9453 cat > conftest.$ac_ext <<EOF | 9687 cat > conftest.$ac_ext <<EOF |
9454 #line 9455 "configure" | 9688 #line 9689 "configure" |
9455 #include "confdefs.h" | 9689 #include "confdefs.h" |
9456 /* Override any gcc2 internal prototype to avoid an error. */ | 9690 /* Override any gcc2 internal prototype to avoid an error. */ |
9457 /* We use char because int might match the return type of a gcc2 | 9691 /* We use char because int might match the return type of a gcc2 |
9458 builtin and then its argument prototype would still apply. */ | 9692 builtin and then its argument prototype would still apply. */ |
9459 char RkBgnBun(); | 9693 char RkBgnBun(); |
9460 | 9694 |
9461 int main() { | 9695 int main() { |
9462 RkBgnBun() | 9696 RkBgnBun() |
9463 ; return 0; } | 9697 ; return 0; } |
9464 EOF | 9698 EOF |
9465 if { (eval echo configure:9466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9699 if { (eval echo configure:9700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9466 rm -rf conftest* | 9700 rm -rf conftest* |
9467 eval "ac_cv_lib_$ac_lib_var=yes" | 9701 eval "ac_cv_lib_$ac_lib_var=yes" |
9468 else | 9702 else |
9469 echo "configure: failed program was:" >&5 | 9703 echo "configure: failed program was:" >&5 |
9470 cat conftest.$ac_ext >&5 | 9704 cat conftest.$ac_ext >&5 |
9483 fi | 9717 fi |
9484 | 9718 |
9485 } | 9719 } |
9486 test -z "$with_canna" && { | 9720 test -z "$with_canna" && { |
9487 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 9721 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
9488 echo "configure:9489: checking for jrKanjiControl in -lcanna" >&5 | 9722 echo "configure:9723: checking for jrKanjiControl in -lcanna" >&5 |
9489 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 9723 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
9490 | 9724 |
9491 xe_check_libs=" -lcanna " | 9725 xe_check_libs=" -lcanna " |
9492 cat > conftest.$ac_ext <<EOF | 9726 cat > conftest.$ac_ext <<EOF |
9493 #line 9494 "configure" | 9727 #line 9728 "configure" |
9494 #include "confdefs.h" | 9728 #include "confdefs.h" |
9495 /* Override any gcc2 internal prototype to avoid an error. */ | 9729 /* Override any gcc2 internal prototype to avoid an error. */ |
9496 /* We use char because int might match the return type of a gcc2 | 9730 /* We use char because int might match the return type of a gcc2 |
9497 builtin and then its argument prototype would still apply. */ | 9731 builtin and then its argument prototype would still apply. */ |
9498 char jrKanjiControl(); | 9732 char jrKanjiControl(); |
9499 | 9733 |
9500 int main() { | 9734 int main() { |
9501 jrKanjiControl() | 9735 jrKanjiControl() |
9502 ; return 0; } | 9736 ; return 0; } |
9503 EOF | 9737 EOF |
9504 if { (eval echo configure:9505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9738 if { (eval echo configure:9739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9505 rm -rf conftest* | 9739 rm -rf conftest* |
9506 eval "ac_cv_lib_$ac_lib_var=yes" | 9740 eval "ac_cv_lib_$ac_lib_var=yes" |
9507 else | 9741 else |
9508 echo "configure: failed program was:" >&5 | 9742 echo "configure: failed program was:" >&5 |
9509 cat conftest.$ac_ext >&5 | 9743 cat conftest.$ac_ext >&5 |
9548 | 9782 |
9549 if test "$need_motif" = "yes" ; then | 9783 if test "$need_motif" = "yes" ; then |
9550 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 9784 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
9551 | 9785 |
9552 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 9786 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
9553 echo "configure:9554: checking for layout_object_getvalue in -li18n" >&5 | 9787 echo "configure:9788: checking for layout_object_getvalue in -li18n" >&5 |
9554 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 9788 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
9555 | 9789 |
9556 xe_check_libs=" -li18n " | 9790 xe_check_libs=" -li18n " |
9557 cat > conftest.$ac_ext <<EOF | 9791 cat > conftest.$ac_ext <<EOF |
9558 #line 9559 "configure" | 9792 #line 9793 "configure" |
9559 #include "confdefs.h" | 9793 #include "confdefs.h" |
9560 /* Override any gcc2 internal prototype to avoid an error. */ | 9794 /* Override any gcc2 internal prototype to avoid an error. */ |
9561 /* We use char because int might match the return type of a gcc2 | 9795 /* We use char because int might match the return type of a gcc2 |
9562 builtin and then its argument prototype would still apply. */ | 9796 builtin and then its argument prototype would still apply. */ |
9563 char layout_object_getvalue(); | 9797 char layout_object_getvalue(); |
9564 | 9798 |
9565 int main() { | 9799 int main() { |
9566 layout_object_getvalue() | 9800 layout_object_getvalue() |
9567 ; return 0; } | 9801 ; return 0; } |
9568 EOF | 9802 EOF |
9569 if { (eval echo configure:9570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9803 if { (eval echo configure:9804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9570 rm -rf conftest* | 9804 rm -rf conftest* |
9571 eval "ac_cv_lib_$ac_lib_var=yes" | 9805 eval "ac_cv_lib_$ac_lib_var=yes" |
9572 else | 9806 else |
9573 echo "configure: failed program was:" >&5 | 9807 echo "configure: failed program was:" >&5 |
9574 cat conftest.$ac_ext >&5 | 9808 cat conftest.$ac_ext >&5 |
9650 fi | 9884 fi |
9651 | 9885 |
9652 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask | 9886 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getpt getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strcasecmp strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask |
9653 do | 9887 do |
9654 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9655 echo "configure:9656: checking for $ac_func" >&5 | 9889 echo "configure:9890: checking for $ac_func" >&5 |
9656 | 9890 |
9657 cat > conftest.$ac_ext <<EOF | 9891 cat > conftest.$ac_ext <<EOF |
9658 #line 9659 "configure" | 9892 #line 9893 "configure" |
9659 #include "confdefs.h" | 9893 #include "confdefs.h" |
9660 /* System header to define __stub macros and hopefully few prototypes, | 9894 /* System header to define __stub macros and hopefully few prototypes, |
9661 which can conflict with char $ac_func(); below. */ | 9895 which can conflict with char $ac_func(); below. */ |
9662 #include <assert.h> | 9896 #include <assert.h> |
9663 /* Override any gcc2 internal prototype to avoid an error. */ | 9897 /* Override any gcc2 internal prototype to avoid an error. */ |
9676 $ac_func(); | 9910 $ac_func(); |
9677 #endif | 9911 #endif |
9678 | 9912 |
9679 ; return 0; } | 9913 ; return 0; } |
9680 EOF | 9914 EOF |
9681 if { (eval echo configure:9682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9915 if { (eval echo configure:9916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9682 rm -rf conftest* | 9916 rm -rf conftest* |
9683 eval "ac_cv_func_$ac_func=yes" | 9917 eval "ac_cv_func_$ac_func=yes" |
9684 else | 9918 else |
9685 echo "configure: failed program was:" >&5 | 9919 echo "configure: failed program was:" >&5 |
9686 cat conftest.$ac_ext >&5 | 9920 cat conftest.$ac_ext >&5 |
9711 fi | 9945 fi |
9712 | 9946 |
9713 for ac_func in getloadavg | 9947 for ac_func in getloadavg |
9714 do | 9948 do |
9715 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9949 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9716 echo "configure:9717: checking for $ac_func" >&5 | 9950 echo "configure:9951: checking for $ac_func" >&5 |
9717 | 9951 |
9718 cat > conftest.$ac_ext <<EOF | 9952 cat > conftest.$ac_ext <<EOF |
9719 #line 9720 "configure" | 9953 #line 9954 "configure" |
9720 #include "confdefs.h" | 9954 #include "confdefs.h" |
9721 /* System header to define __stub macros and hopefully few prototypes, | 9955 /* System header to define __stub macros and hopefully few prototypes, |
9722 which can conflict with char $ac_func(); below. */ | 9956 which can conflict with char $ac_func(); below. */ |
9723 #include <assert.h> | 9957 #include <assert.h> |
9724 /* Override any gcc2 internal prototype to avoid an error. */ | 9958 /* Override any gcc2 internal prototype to avoid an error. */ |
9737 $ac_func(); | 9971 $ac_func(); |
9738 #endif | 9972 #endif |
9739 | 9973 |
9740 ; return 0; } | 9974 ; return 0; } |
9741 EOF | 9975 EOF |
9742 if { (eval echo configure:9743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9976 if { (eval echo configure:9977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9743 rm -rf conftest* | 9977 rm -rf conftest* |
9744 eval "ac_cv_func_$ac_func=yes" | 9978 eval "ac_cv_func_$ac_func=yes" |
9745 else | 9979 else |
9746 echo "configure: failed program was:" >&5 | 9980 echo "configure: failed program was:" >&5 |
9747 cat conftest.$ac_ext >&5 | 9981 cat conftest.$ac_ext >&5 |
9773 echo " xemacs will be linked with \"getloadavg.o\"" | 10007 echo " xemacs will be linked with \"getloadavg.o\"" |
9774 fi | 10008 fi |
9775 | 10009 |
9776 | 10010 |
9777 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 10011 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
9778 echo "configure:9779: checking for kstat_open in -lkstat" >&5 | 10012 echo "configure:10013: checking for kstat_open in -lkstat" >&5 |
9779 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 10013 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
9780 | 10014 |
9781 xe_check_libs=" -lkstat " | 10015 xe_check_libs=" -lkstat " |
9782 cat > conftest.$ac_ext <<EOF | 10016 cat > conftest.$ac_ext <<EOF |
9783 #line 9784 "configure" | 10017 #line 10018 "configure" |
9784 #include "confdefs.h" | 10018 #include "confdefs.h" |
9785 /* Override any gcc2 internal prototype to avoid an error. */ | 10019 /* Override any gcc2 internal prototype to avoid an error. */ |
9786 /* We use char because int might match the return type of a gcc2 | 10020 /* We use char because int might match the return type of a gcc2 |
9787 builtin and then its argument prototype would still apply. */ | 10021 builtin and then its argument prototype would still apply. */ |
9788 char kstat_open(); | 10022 char kstat_open(); |
9789 | 10023 |
9790 int main() { | 10024 int main() { |
9791 kstat_open() | 10025 kstat_open() |
9792 ; return 0; } | 10026 ; return 0; } |
9793 EOF | 10027 EOF |
9794 if { (eval echo configure:9795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10028 if { (eval echo configure:10029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9795 rm -rf conftest* | 10029 rm -rf conftest* |
9796 eval "ac_cv_lib_$ac_lib_var=yes" | 10030 eval "ac_cv_lib_$ac_lib_var=yes" |
9797 else | 10031 else |
9798 echo "configure: failed program was:" >&5 | 10032 echo "configure: failed program was:" >&5 |
9799 cat conftest.$ac_ext >&5 | 10033 cat conftest.$ac_ext >&5 |
9823 | 10057 |
9824 | 10058 |
9825 | 10059 |
9826 | 10060 |
9827 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 10061 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
9828 echo "configure:9829: checking for kvm_read in -lkvm" >&5 | 10062 echo "configure:10063: checking for kvm_read in -lkvm" >&5 |
9829 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 10063 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
9830 | 10064 |
9831 xe_check_libs=" -lkvm " | 10065 xe_check_libs=" -lkvm " |
9832 cat > conftest.$ac_ext <<EOF | 10066 cat > conftest.$ac_ext <<EOF |
9833 #line 9834 "configure" | 10067 #line 10068 "configure" |
9834 #include "confdefs.h" | 10068 #include "confdefs.h" |
9835 /* Override any gcc2 internal prototype to avoid an error. */ | 10069 /* Override any gcc2 internal prototype to avoid an error. */ |
9836 /* We use char because int might match the return type of a gcc2 | 10070 /* We use char because int might match the return type of a gcc2 |
9837 builtin and then its argument prototype would still apply. */ | 10071 builtin and then its argument prototype would still apply. */ |
9838 char kvm_read(); | 10072 char kvm_read(); |
9839 | 10073 |
9840 int main() { | 10074 int main() { |
9841 kvm_read() | 10075 kvm_read() |
9842 ; return 0; } | 10076 ; return 0; } |
9843 EOF | 10077 EOF |
9844 if { (eval echo configure:9845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10078 if { (eval echo configure:10079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9845 rm -rf conftest* | 10079 rm -rf conftest* |
9846 eval "ac_cv_lib_$ac_lib_var=yes" | 10080 eval "ac_cv_lib_$ac_lib_var=yes" |
9847 else | 10081 else |
9848 echo "configure: failed program was:" >&5 | 10082 echo "configure: failed program was:" >&5 |
9849 cat conftest.$ac_ext >&5 | 10083 cat conftest.$ac_ext >&5 |
9873 | 10107 |
9874 | 10108 |
9875 fi | 10109 fi |
9876 | 10110 |
9877 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 10111 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
9878 echo "configure:9879: checking whether netdb declares h_errno" >&5 | 10112 echo "configure:10113: checking whether netdb declares h_errno" >&5 |
9879 cat > conftest.$ac_ext <<EOF | 10113 cat > conftest.$ac_ext <<EOF |
9880 #line 9881 "configure" | 10114 #line 10115 "configure" |
9881 #include "confdefs.h" | 10115 #include "confdefs.h" |
9882 #include <netdb.h> | 10116 #include <netdb.h> |
9883 int main() { | 10117 int main() { |
9884 return h_errno; | 10118 return h_errno; |
9885 ; return 0; } | 10119 ; return 0; } |
9886 EOF | 10120 EOF |
9887 if { (eval echo configure:9888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10121 if { (eval echo configure:10122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9888 rm -rf conftest* | 10122 rm -rf conftest* |
9889 echo "$ac_t""yes" 1>&6 | 10123 echo "$ac_t""yes" 1>&6 |
9890 { test "$extra_verbose" = "yes" && cat << \EOF | 10124 { test "$extra_verbose" = "yes" && cat << \EOF |
9891 Defining HAVE_H_ERRNO | 10125 Defining HAVE_H_ERRNO |
9892 EOF | 10126 EOF |
9902 echo "$ac_t""no" 1>&6 | 10136 echo "$ac_t""no" 1>&6 |
9903 fi | 10137 fi |
9904 rm -f conftest* | 10138 rm -f conftest* |
9905 | 10139 |
9906 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 10140 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
9907 echo "configure:9908: checking for sigsetjmp" >&5 | 10141 echo "configure:10142: checking for sigsetjmp" >&5 |
9908 cat > conftest.$ac_ext <<EOF | 10142 cat > conftest.$ac_ext <<EOF |
9909 #line 9910 "configure" | 10143 #line 10144 "configure" |
9910 #include "confdefs.h" | 10144 #include "confdefs.h" |
9911 #include <setjmp.h> | 10145 #include <setjmp.h> |
9912 int main() { | 10146 int main() { |
9913 sigjmp_buf bar; sigsetjmp (bar, 0); | 10147 sigjmp_buf bar; sigsetjmp (bar, 0); |
9914 ; return 0; } | 10148 ; return 0; } |
9915 EOF | 10149 EOF |
9916 if { (eval echo configure:9917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10150 if { (eval echo configure:10151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
9917 rm -rf conftest* | 10151 rm -rf conftest* |
9918 echo "$ac_t""yes" 1>&6 | 10152 echo "$ac_t""yes" 1>&6 |
9919 { test "$extra_verbose" = "yes" && cat << \EOF | 10153 { test "$extra_verbose" = "yes" && cat << \EOF |
9920 Defining HAVE_SIGSETJMP | 10154 Defining HAVE_SIGSETJMP |
9921 EOF | 10155 EOF |
9931 echo "$ac_t""no" 1>&6 | 10165 echo "$ac_t""no" 1>&6 |
9932 fi | 10166 fi |
9933 rm -f conftest* | 10167 rm -f conftest* |
9934 | 10168 |
9935 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 10169 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
9936 echo "configure:9937: checking whether localtime caches TZ" >&5 | 10170 echo "configure:10171: checking whether localtime caches TZ" >&5 |
9937 | 10171 |
9938 if test "$ac_cv_func_tzset" = "yes"; then | 10172 if test "$ac_cv_func_tzset" = "yes"; then |
9939 cat > conftest.$ac_ext <<EOF | 10173 cat > conftest.$ac_ext <<EOF |
9940 #line 9941 "configure" | 10174 #line 10175 "configure" |
9941 #include "confdefs.h" | 10175 #include "confdefs.h" |
9942 #include <time.h> | 10176 #include <time.h> |
9943 #if STDC_HEADERS | 10177 #if STDC_HEADERS |
9944 # include <stdlib.h> | 10178 # include <stdlib.h> |
9945 #endif | 10179 #endif |
9970 if (localtime (&now)->tm_hour != hour_unset) | 10204 if (localtime (&now)->tm_hour != hour_unset) |
9971 exit (1); | 10205 exit (1); |
9972 exit (0); | 10206 exit (0); |
9973 } | 10207 } |
9974 EOF | 10208 EOF |
9975 if { (eval echo configure:9976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10209 if { (eval echo configure:10210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9976 then | 10210 then |
9977 emacs_cv_localtime_cache=no | 10211 emacs_cv_localtime_cache=no |
9978 else | 10212 else |
9979 conftest_rc="$?" | 10213 conftest_rc="$?" |
9980 echo "configure: failed program was:" >&5 | 10214 echo "configure: failed program was:" >&5 |
10000 | 10234 |
10001 fi | 10235 fi |
10002 | 10236 |
10003 if test "$HAVE_TIMEVAL" = "yes"; then | 10237 if test "$HAVE_TIMEVAL" = "yes"; then |
10004 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 10238 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
10005 echo "configure:10006: checking whether gettimeofday accepts one or two arguments" >&5 | 10239 echo "configure:10240: checking whether gettimeofday accepts one or two arguments" >&5 |
10006 cat > conftest.$ac_ext <<EOF | 10240 cat > conftest.$ac_ext <<EOF |
10007 #line 10008 "configure" | 10241 #line 10242 "configure" |
10008 #include "confdefs.h" | 10242 #include "confdefs.h" |
10009 | 10243 |
10010 #ifdef TIME_WITH_SYS_TIME | 10244 #ifdef TIME_WITH_SYS_TIME |
10011 #include <sys/time.h> | 10245 #include <sys/time.h> |
10012 #include <time.h> | 10246 #include <time.h> |
10023 struct timeval time; | 10257 struct timeval time; |
10024 gettimeofday (&time, 0); | 10258 gettimeofday (&time, 0); |
10025 | 10259 |
10026 ; return 0; } | 10260 ; return 0; } |
10027 EOF | 10261 EOF |
10028 if { (eval echo configure:10029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10262 if { (eval echo configure:10263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10029 rm -rf conftest* | 10263 rm -rf conftest* |
10030 echo "$ac_t""two" 1>&6 | 10264 echo "$ac_t""two" 1>&6 |
10031 else | 10265 else |
10032 echo "configure: failed program was:" >&5 | 10266 echo "configure: failed program was:" >&5 |
10033 cat conftest.$ac_ext >&5 | 10267 cat conftest.$ac_ext >&5 |
10045 rm -f conftest* | 10279 rm -f conftest* |
10046 fi | 10280 fi |
10047 | 10281 |
10048 | 10282 |
10049 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 10283 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
10050 echo "configure:10051: checking for inline" >&5 | 10284 echo "configure:10285: checking for inline" >&5 |
10051 | 10285 |
10052 ac_cv_c_inline=no | 10286 ac_cv_c_inline=no |
10053 for ac_kw in inline __inline__ __inline; do | 10287 for ac_kw in inline __inline__ __inline; do |
10054 cat > conftest.$ac_ext <<EOF | 10288 cat > conftest.$ac_ext <<EOF |
10055 #line 10056 "configure" | 10289 #line 10290 "configure" |
10056 #include "confdefs.h" | 10290 #include "confdefs.h" |
10057 | 10291 |
10058 int main() { | 10292 int main() { |
10059 } $ac_kw foo() { | 10293 } $ac_kw foo() { |
10060 ; return 0; } | 10294 ; return 0; } |
10061 EOF | 10295 EOF |
10062 if { (eval echo configure:10063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10296 if { (eval echo configure:10297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10063 rm -rf conftest* | 10297 rm -rf conftest* |
10064 ac_cv_c_inline=$ac_kw; break | 10298 ac_cv_c_inline=$ac_kw; break |
10065 else | 10299 else |
10066 echo "configure: failed program was:" >&5 | 10300 echo "configure: failed program was:" >&5 |
10067 cat conftest.$ac_ext >&5 | 10301 cat conftest.$ac_ext >&5 |
10089 EOF | 10323 EOF |
10090 } | 10324 } |
10091 ;; | 10325 ;; |
10092 esac | 10326 esac |
10093 | 10327 |
10094 if test "$ac_cv_c_inline" != "no"; then | 10328 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
10095 { test "$extra_verbose" = "yes" && cat << \EOF | |
10096 Defining HAVE_INLINE | |
10097 EOF | |
10098 cat >> confdefs.h <<\EOF | |
10099 #define HAVE_INLINE 1 | |
10100 EOF | |
10101 } | |
10102 | |
10103 test "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | |
10104 echo " xemacs will be linked with \"inline.o\"" | 10329 echo " xemacs will be linked with \"inline.o\"" |
10105 fi | 10330 fi |
10106 fi | |
10107 | 10331 |
10108 | 10332 |
10109 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 10333 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
10110 # for constant arguments. Useless! | 10334 # for constant arguments. Useless! |
10111 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 10335 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
10112 echo "configure:10113: checking for working alloca.h" >&5 | 10336 echo "configure:10337: checking for working alloca.h" >&5 |
10113 | 10337 |
10114 cat > conftest.$ac_ext <<EOF | 10338 cat > conftest.$ac_ext <<EOF |
10115 #line 10116 "configure" | 10339 #line 10340 "configure" |
10116 #include "confdefs.h" | 10340 #include "confdefs.h" |
10117 #include <alloca.h> | 10341 #include <alloca.h> |
10118 int main() { | 10342 int main() { |
10119 char *p = alloca(2 * sizeof(int)); | 10343 char *p = alloca(2 * sizeof(int)); |
10120 ; return 0; } | 10344 ; return 0; } |
10121 EOF | 10345 EOF |
10122 if { (eval echo configure:10123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10346 if { (eval echo configure:10347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10123 rm -rf conftest* | 10347 rm -rf conftest* |
10124 ac_cv_header_alloca_h=yes | 10348 ac_cv_header_alloca_h=yes |
10125 else | 10349 else |
10126 echo "configure: failed program was:" >&5 | 10350 echo "configure: failed program was:" >&5 |
10127 cat conftest.$ac_ext >&5 | 10351 cat conftest.$ac_ext >&5 |
10141 } | 10365 } |
10142 | 10366 |
10143 fi | 10367 fi |
10144 | 10368 |
10145 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 10369 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
10146 echo "configure:10147: checking for alloca" >&5 | 10370 echo "configure:10371: checking for alloca" >&5 |
10147 | 10371 |
10148 cat > conftest.$ac_ext <<EOF | 10372 cat > conftest.$ac_ext <<EOF |
10149 #line 10150 "configure" | 10373 #line 10374 "configure" |
10150 #include "confdefs.h" | 10374 #include "confdefs.h" |
10151 | 10375 |
10152 #ifdef __GNUC__ | 10376 #ifdef __GNUC__ |
10153 # define alloca __builtin_alloca | 10377 # define alloca __builtin_alloca |
10154 #else | 10378 #else |
10172 | 10396 |
10173 int main() { | 10397 int main() { |
10174 char *p = (char *) alloca(1); | 10398 char *p = (char *) alloca(1); |
10175 ; return 0; } | 10399 ; return 0; } |
10176 EOF | 10400 EOF |
10177 if { (eval echo configure:10178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10401 if { (eval echo configure:10402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10178 rm -rf conftest* | 10402 rm -rf conftest* |
10179 ac_cv_func_alloca_works=yes | 10403 ac_cv_func_alloca_works=yes |
10180 else | 10404 else |
10181 echo "configure: failed program was:" >&5 | 10405 echo "configure: failed program was:" >&5 |
10182 cat conftest.$ac_ext >&5 | 10406 cat conftest.$ac_ext >&5 |
10211 EOF | 10435 EOF |
10212 } | 10436 } |
10213 | 10437 |
10214 | 10438 |
10215 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 10439 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
10216 echo "configure:10217: checking whether alloca needs Cray hooks" >&5 | 10440 echo "configure:10441: checking whether alloca needs Cray hooks" >&5 |
10217 | 10441 |
10218 cat > conftest.$ac_ext <<EOF | 10442 cat > conftest.$ac_ext <<EOF |
10219 #line 10220 "configure" | 10443 #line 10444 "configure" |
10220 #include "confdefs.h" | 10444 #include "confdefs.h" |
10221 #if defined(CRAY) && ! defined(CRAY2) | 10445 #if defined(CRAY) && ! defined(CRAY2) |
10222 webecray | 10446 webecray |
10223 #else | 10447 #else |
10224 wenotbecray | 10448 wenotbecray |
10238 | 10462 |
10239 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 10463 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
10240 if test $ac_cv_os_cray = yes; then | 10464 if test $ac_cv_os_cray = yes; then |
10241 for ac_func in _getb67 GETB67 getb67; do | 10465 for ac_func in _getb67 GETB67 getb67; do |
10242 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10243 echo "configure:10244: checking for $ac_func" >&5 | 10467 echo "configure:10468: checking for $ac_func" >&5 |
10244 | 10468 |
10245 cat > conftest.$ac_ext <<EOF | 10469 cat > conftest.$ac_ext <<EOF |
10246 #line 10247 "configure" | 10470 #line 10471 "configure" |
10247 #include "confdefs.h" | 10471 #include "confdefs.h" |
10248 /* System header to define __stub macros and hopefully few prototypes, | 10472 /* System header to define __stub macros and hopefully few prototypes, |
10249 which can conflict with char $ac_func(); below. */ | 10473 which can conflict with char $ac_func(); below. */ |
10250 #include <assert.h> | 10474 #include <assert.h> |
10251 /* Override any gcc2 internal prototype to avoid an error. */ | 10475 /* Override any gcc2 internal prototype to avoid an error. */ |
10264 $ac_func(); | 10488 $ac_func(); |
10265 #endif | 10489 #endif |
10266 | 10490 |
10267 ; return 0; } | 10491 ; return 0; } |
10268 EOF | 10492 EOF |
10269 if { (eval echo configure:10270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10493 if { (eval echo configure:10494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10270 rm -rf conftest* | 10494 rm -rf conftest* |
10271 eval "ac_cv_func_$ac_func=yes" | 10495 eval "ac_cv_func_$ac_func=yes" |
10272 else | 10496 else |
10273 echo "configure: failed program was:" >&5 | 10497 echo "configure: failed program was:" >&5 |
10274 cat conftest.$ac_ext >&5 | 10498 cat conftest.$ac_ext >&5 |
10294 | 10518 |
10295 done | 10519 done |
10296 fi | 10520 fi |
10297 | 10521 |
10298 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 10522 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
10299 echo "configure:10300: checking stack direction for C alloca" >&5 | 10523 echo "configure:10524: checking stack direction for C alloca" >&5 |
10300 | 10524 |
10301 cat > conftest.$ac_ext <<EOF | 10525 cat > conftest.$ac_ext <<EOF |
10302 #line 10303 "configure" | 10526 #line 10527 "configure" |
10303 #include "confdefs.h" | 10527 #include "confdefs.h" |
10304 find_stack_direction () | 10528 find_stack_direction () |
10305 { | 10529 { |
10306 static char *addr = 0; | 10530 static char *addr = 0; |
10307 auto char dummy; | 10531 auto char dummy; |
10316 main () | 10540 main () |
10317 { | 10541 { |
10318 exit (find_stack_direction() < 0); | 10542 exit (find_stack_direction() < 0); |
10319 } | 10543 } |
10320 EOF | 10544 EOF |
10321 if { (eval echo configure:10322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10545 if { (eval echo configure:10546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10322 then | 10546 then |
10323 ac_cv_c_stack_direction=1 | 10547 ac_cv_c_stack_direction=1 |
10324 else | 10548 else |
10325 conftest_rc="$?" | 10549 conftest_rc="$?" |
10326 echo "configure: failed program was:" >&5 | 10550 echo "configure: failed program was:" >&5 |
10345 echo " xemacs will be linked with \"$ALLOCA\"" | 10569 echo " xemacs will be linked with \"$ALLOCA\"" |
10346 fi | 10570 fi |
10347 | 10571 |
10348 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 10572 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
10349 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 10573 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
10350 echo "configure:10351: checking for vfork.h" >&5 | 10574 echo "configure:10575: checking for vfork.h" >&5 |
10351 | 10575 |
10352 cat > conftest.$ac_ext <<EOF | 10576 cat > conftest.$ac_ext <<EOF |
10353 #line 10354 "configure" | 10577 #line 10578 "configure" |
10354 #include "confdefs.h" | 10578 #include "confdefs.h" |
10355 #include <vfork.h> | 10579 #include <vfork.h> |
10356 EOF | 10580 EOF |
10357 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10581 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10358 { (eval echo configure:10359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10582 { (eval echo configure:10583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10359 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10583 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10360 if test -z "$ac_err"; then | 10584 if test -z "$ac_err"; then |
10361 rm -rf conftest* | 10585 rm -rf conftest* |
10362 eval "ac_cv_header_$ac_safe=yes" | 10586 eval "ac_cv_header_$ac_safe=yes" |
10363 else | 10587 else |
10381 else | 10605 else |
10382 echo "$ac_t""no" 1>&6 | 10606 echo "$ac_t""no" 1>&6 |
10383 fi | 10607 fi |
10384 | 10608 |
10385 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 10609 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
10386 echo "configure:10387: checking for working vfork" >&5 | 10610 echo "configure:10611: checking for working vfork" >&5 |
10387 | 10611 |
10388 cat > conftest.$ac_ext <<EOF | 10612 cat > conftest.$ac_ext <<EOF |
10389 #line 10390 "configure" | 10613 #line 10614 "configure" |
10390 #include "confdefs.h" | 10614 #include "confdefs.h" |
10391 /* Thanks to Paul Eggert for this test. */ | 10615 /* Thanks to Paul Eggert for this test. */ |
10392 #include <stdio.h> | 10616 #include <stdio.h> |
10393 #include <sys/types.h> | 10617 #include <sys/types.h> |
10394 #include <sys/stat.h> | 10618 #include <sys/stat.h> |
10479 || fstat(fileno(stdout), &st) != 0 | 10703 || fstat(fileno(stdout), &st) != 0 |
10480 ); | 10704 ); |
10481 } | 10705 } |
10482 } | 10706 } |
10483 EOF | 10707 EOF |
10484 if { (eval echo configure:10485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10708 if { (eval echo configure:10709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10485 then | 10709 then |
10486 ac_cv_func_vfork_works=yes | 10710 ac_cv_func_vfork_works=yes |
10487 else | 10711 else |
10488 conftest_rc="$?" | 10712 conftest_rc="$?" |
10489 echo "configure: failed program was:" >&5 | 10713 echo "configure: failed program was:" >&5 |
10505 | 10729 |
10506 fi | 10730 fi |
10507 | 10731 |
10508 | 10732 |
10509 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 10733 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
10510 echo "configure:10511: checking for working strcoll" >&5 | 10734 echo "configure:10735: checking for working strcoll" >&5 |
10511 | 10735 |
10512 cat > conftest.$ac_ext <<EOF | 10736 cat > conftest.$ac_ext <<EOF |
10513 #line 10514 "configure" | 10737 #line 10738 "configure" |
10514 #include "confdefs.h" | 10738 #include "confdefs.h" |
10515 #include <string.h> | 10739 #include <string.h> |
10516 main () | 10740 main () |
10517 { | 10741 { |
10518 exit (strcoll ("abc", "def") >= 0 || | 10742 exit (strcoll ("abc", "def") >= 0 || |
10519 strcoll ("ABC", "DEF") >= 0 || | 10743 strcoll ("ABC", "DEF") >= 0 || |
10520 strcoll ("123", "456") >= 0); | 10744 strcoll ("123", "456") >= 0); |
10521 } | 10745 } |
10522 EOF | 10746 EOF |
10523 if { (eval echo configure:10524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10747 if { (eval echo configure:10748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10524 then | 10748 then |
10525 ac_cv_func_strcoll_works=yes | 10749 ac_cv_func_strcoll_works=yes |
10526 else | 10750 else |
10527 conftest_rc="$?" | 10751 conftest_rc="$?" |
10528 echo "configure: failed program was:" >&5 | 10752 echo "configure: failed program was:" >&5 |
10546 | 10770 |
10547 | 10771 |
10548 for ac_func in getpgrp | 10772 for ac_func in getpgrp |
10549 do | 10773 do |
10550 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 10774 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
10551 echo "configure:10552: checking for $ac_func" >&5 | 10775 echo "configure:10776: checking for $ac_func" >&5 |
10552 | 10776 |
10553 cat > conftest.$ac_ext <<EOF | 10777 cat > conftest.$ac_ext <<EOF |
10554 #line 10555 "configure" | 10778 #line 10779 "configure" |
10555 #include "confdefs.h" | 10779 #include "confdefs.h" |
10556 /* System header to define __stub macros and hopefully few prototypes, | 10780 /* System header to define __stub macros and hopefully few prototypes, |
10557 which can conflict with char $ac_func(); below. */ | 10781 which can conflict with char $ac_func(); below. */ |
10558 #include <assert.h> | 10782 #include <assert.h> |
10559 /* Override any gcc2 internal prototype to avoid an error. */ | 10783 /* Override any gcc2 internal prototype to avoid an error. */ |
10572 $ac_func(); | 10796 $ac_func(); |
10573 #endif | 10797 #endif |
10574 | 10798 |
10575 ; return 0; } | 10799 ; return 0; } |
10576 EOF | 10800 EOF |
10577 if { (eval echo configure:10578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10801 if { (eval echo configure:10802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10578 rm -rf conftest* | 10802 rm -rf conftest* |
10579 eval "ac_cv_func_$ac_func=yes" | 10803 eval "ac_cv_func_$ac_func=yes" |
10580 else | 10804 else |
10581 echo "configure: failed program was:" >&5 | 10805 echo "configure: failed program was:" >&5 |
10582 cat conftest.$ac_ext >&5 | 10806 cat conftest.$ac_ext >&5 |
10600 echo "$ac_t""no" 1>&6 | 10824 echo "$ac_t""no" 1>&6 |
10601 fi | 10825 fi |
10602 done | 10826 done |
10603 | 10827 |
10604 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 10828 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
10605 echo "configure:10606: checking whether getpgrp takes no argument" >&5 | 10829 echo "configure:10830: checking whether getpgrp takes no argument" >&5 |
10606 | 10830 |
10607 cat > conftest.$ac_ext <<EOF | 10831 cat > conftest.$ac_ext <<EOF |
10608 #line 10609 "configure" | 10832 #line 10833 "configure" |
10609 #include "confdefs.h" | 10833 #include "confdefs.h" |
10610 | 10834 |
10611 /* | 10835 /* |
10612 * If this system has a BSD-style getpgrp(), | 10836 * If this system has a BSD-style getpgrp(), |
10613 * which takes a pid argument, exit unsuccessfully. | 10837 * which takes a pid argument, exit unsuccessfully. |
10658 exit(s>>8); | 10882 exit(s>>8); |
10659 } | 10883 } |
10660 } | 10884 } |
10661 | 10885 |
10662 EOF | 10886 EOF |
10663 if { (eval echo configure:10664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10887 if { (eval echo configure:10888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10664 then | 10888 then |
10665 ac_cv_func_getpgrp_void=yes | 10889 ac_cv_func_getpgrp_void=yes |
10666 else | 10890 else |
10667 conftest_rc="$?" | 10891 conftest_rc="$?" |
10668 echo "configure: failed program was:" >&5 | 10892 echo "configure: failed program was:" >&5 |
10685 | 10909 |
10686 fi | 10910 fi |
10687 | 10911 |
10688 | 10912 |
10689 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 10913 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
10690 echo "configure:10691: checking for working mmap" >&5 | 10914 echo "configure:10915: checking for working mmap" >&5 |
10691 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 10915 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
10692 cat > conftest.$ac_ext <<EOF | 10916 cat > conftest.$ac_ext <<EOF |
10693 #line 10694 "configure" | 10917 #line 10918 "configure" |
10694 #include "confdefs.h" | 10918 #include "confdefs.h" |
10695 #include <stdio.h> | 10919 #include <stdio.h> |
10696 #include <unistd.h> | 10920 #include <unistd.h> |
10697 #include <fcntl.h> | 10921 #include <fcntl.h> |
10698 #include <sys/mman.h> | 10922 #include <sys/mman.h> |
10721 return 0; | 10945 return 0; |
10722 perror ("conftest: mmap failed"); | 10946 perror ("conftest: mmap failed"); |
10723 return 1; | 10947 return 1; |
10724 } | 10948 } |
10725 EOF | 10949 EOF |
10726 if { (eval echo configure:10727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 10950 if { (eval echo configure:10951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
10727 then | 10951 then |
10728 have_mmap=yes | 10952 have_mmap=yes |
10729 else | 10953 else |
10730 conftest_rc="$?" | 10954 conftest_rc="$?" |
10731 echo "configure: failed program was:" >&5 | 10955 echo "configure: failed program was:" >&5 |
10747 | 10971 |
10748 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 10972 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
10749 if test "$rel_alloc $have_mmap" = "default yes"; then | 10973 if test "$rel_alloc $have_mmap" = "default yes"; then |
10750 if test "$doug_lea_malloc" = "yes"; then | 10974 if test "$doug_lea_malloc" = "yes"; then |
10751 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 10975 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
10752 echo "configure:10753: checking for M_MMAP_THRESHOLD" >&5 | 10976 echo "configure:10977: checking for M_MMAP_THRESHOLD" >&5 |
10753 cat > conftest.$ac_ext <<EOF | 10977 cat > conftest.$ac_ext <<EOF |
10754 #line 10755 "configure" | 10978 #line 10979 "configure" |
10755 #include "confdefs.h" | 10979 #include "confdefs.h" |
10756 #include <malloc.h> | 10980 #include <malloc.h> |
10757 int main() { | 10981 int main() { |
10758 | 10982 |
10759 #ifndef M_MMAP_THRESHOLD | 10983 #ifndef M_MMAP_THRESHOLD |
10761 !@+$%^&*_)(_ - unlikely to compile... | 10985 !@+$%^&*_)(_ - unlikely to compile... |
10762 #endif | 10986 #endif |
10763 | 10987 |
10764 ; return 0; } | 10988 ; return 0; } |
10765 EOF | 10989 EOF |
10766 if { (eval echo configure:10767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 10990 if { (eval echo configure:10991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
10767 rm -rf conftest* | 10991 rm -rf conftest* |
10768 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 10992 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
10769 else | 10993 else |
10770 echo "configure: failed program was:" >&5 | 10994 echo "configure: failed program was:" >&5 |
10771 cat conftest.$ac_ext >&5 | 10995 cat conftest.$ac_ext >&5 |
10786 } | 11010 } |
10787 | 11011 |
10788 | 11012 |
10789 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 11013 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
10790 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 11014 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
10791 echo "configure:10792: checking for termios.h" >&5 | 11015 echo "configure:11016: checking for termios.h" >&5 |
10792 | 11016 |
10793 cat > conftest.$ac_ext <<EOF | 11017 cat > conftest.$ac_ext <<EOF |
10794 #line 10795 "configure" | 11018 #line 11019 "configure" |
10795 #include "confdefs.h" | 11019 #include "confdefs.h" |
10796 #include <termios.h> | 11020 #include <termios.h> |
10797 EOF | 11021 EOF |
10798 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10799 { (eval echo configure:10800: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11023 { (eval echo configure:11024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10800 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10801 if test -z "$ac_err"; then | 11025 if test -z "$ac_err"; then |
10802 rm -rf conftest* | 11026 rm -rf conftest* |
10803 eval "ac_cv_header_$ac_safe=yes" | 11027 eval "ac_cv_header_$ac_safe=yes" |
10804 else | 11028 else |
10837 | 11061 |
10838 else | 11062 else |
10839 echo "$ac_t""no" 1>&6 | 11063 echo "$ac_t""no" 1>&6 |
10840 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 11064 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
10841 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 11065 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
10842 echo "configure:10843: checking for termio.h" >&5 | 11066 echo "configure:11067: checking for termio.h" >&5 |
10843 | 11067 |
10844 cat > conftest.$ac_ext <<EOF | 11068 cat > conftest.$ac_ext <<EOF |
10845 #line 10846 "configure" | 11069 #line 11070 "configure" |
10846 #include "confdefs.h" | 11070 #include "confdefs.h" |
10847 #include <termio.h> | 11071 #include <termio.h> |
10848 EOF | 11072 EOF |
10849 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11073 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10850 { (eval echo configure:10851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11074 { (eval echo configure:11075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10851 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11075 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10852 if test -z "$ac_err"; then | 11076 if test -z "$ac_err"; then |
10853 rm -rf conftest* | 11077 rm -rf conftest* |
10854 eval "ac_cv_header_$ac_safe=yes" | 11078 eval "ac_cv_header_$ac_safe=yes" |
10855 else | 11079 else |
10877 fi | 11101 fi |
10878 | 11102 |
10879 | 11103 |
10880 | 11104 |
10881 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 11105 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
10882 echo "configure:10883: checking for socket" >&5 | 11106 echo "configure:11107: checking for socket" >&5 |
10883 | 11107 |
10884 cat > conftest.$ac_ext <<EOF | 11108 cat > conftest.$ac_ext <<EOF |
10885 #line 10886 "configure" | 11109 #line 11110 "configure" |
10886 #include "confdefs.h" | 11110 #include "confdefs.h" |
10887 /* System header to define __stub macros and hopefully few prototypes, | 11111 /* System header to define __stub macros and hopefully few prototypes, |
10888 which can conflict with char socket(); below. */ | 11112 which can conflict with char socket(); below. */ |
10889 #include <assert.h> | 11113 #include <assert.h> |
10890 /* Override any gcc2 internal prototype to avoid an error. */ | 11114 /* Override any gcc2 internal prototype to avoid an error. */ |
10903 socket(); | 11127 socket(); |
10904 #endif | 11128 #endif |
10905 | 11129 |
10906 ; return 0; } | 11130 ; return 0; } |
10907 EOF | 11131 EOF |
10908 if { (eval echo configure:10909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11132 if { (eval echo configure:11133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10909 rm -rf conftest* | 11133 rm -rf conftest* |
10910 eval "ac_cv_func_socket=yes" | 11134 eval "ac_cv_func_socket=yes" |
10911 else | 11135 else |
10912 echo "configure: failed program was:" >&5 | 11136 echo "configure: failed program was:" >&5 |
10913 cat conftest.$ac_ext >&5 | 11137 cat conftest.$ac_ext >&5 |
10918 | 11142 |
10919 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 11143 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
10920 echo "$ac_t""yes" 1>&6 | 11144 echo "$ac_t""yes" 1>&6 |
10921 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 11145 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
10922 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 11146 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
10923 echo "configure:10924: checking for netinet/in.h" >&5 | 11147 echo "configure:11148: checking for netinet/in.h" >&5 |
10924 | 11148 |
10925 cat > conftest.$ac_ext <<EOF | 11149 cat > conftest.$ac_ext <<EOF |
10926 #line 10927 "configure" | 11150 #line 11151 "configure" |
10927 #include "confdefs.h" | 11151 #include "confdefs.h" |
10928 #include <netinet/in.h> | 11152 #include <netinet/in.h> |
10929 EOF | 11153 EOF |
10930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11154 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10931 { (eval echo configure:10932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11155 { (eval echo configure:11156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11156 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10933 if test -z "$ac_err"; then | 11157 if test -z "$ac_err"; then |
10934 rm -rf conftest* | 11158 rm -rf conftest* |
10935 eval "ac_cv_header_$ac_safe=yes" | 11159 eval "ac_cv_header_$ac_safe=yes" |
10936 else | 11160 else |
10943 rm -f conftest* | 11167 rm -f conftest* |
10944 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11168 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10945 echo "$ac_t""yes" 1>&6 | 11169 echo "$ac_t""yes" 1>&6 |
10946 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 11170 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
10947 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 11171 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
10948 echo "configure:10949: checking for arpa/inet.h" >&5 | 11172 echo "configure:11173: checking for arpa/inet.h" >&5 |
10949 | 11173 |
10950 cat > conftest.$ac_ext <<EOF | 11174 cat > conftest.$ac_ext <<EOF |
10951 #line 10952 "configure" | 11175 #line 11176 "configure" |
10952 #include "confdefs.h" | 11176 #include "confdefs.h" |
10953 #include <arpa/inet.h> | 11177 #include <arpa/inet.h> |
10954 EOF | 11178 EOF |
10955 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11179 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10956 { (eval echo configure:10957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11180 { (eval echo configure:11181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10957 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11181 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10958 if test -z "$ac_err"; then | 11182 if test -z "$ac_err"; then |
10959 rm -rf conftest* | 11183 rm -rf conftest* |
10960 eval "ac_cv_header_$ac_safe=yes" | 11184 eval "ac_cv_header_$ac_safe=yes" |
10961 else | 11185 else |
10976 #define HAVE_SOCKETS 1 | 11200 #define HAVE_SOCKETS 1 |
10977 EOF | 11201 EOF |
10978 } | 11202 } |
10979 | 11203 |
10980 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 11204 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
10981 echo "configure:10982: checking "for sun_len member in struct sockaddr_un"" >&5 | 11205 echo "configure:11206: checking "for sun_len member in struct sockaddr_un"" >&5 |
10982 cat > conftest.$ac_ext <<EOF | 11206 cat > conftest.$ac_ext <<EOF |
10983 #line 10984 "configure" | 11207 #line 11208 "configure" |
10984 #include "confdefs.h" | 11208 #include "confdefs.h" |
10985 | 11209 |
10986 #include <sys/types.h> | 11210 #include <sys/types.h> |
10987 #include <sys/socket.h> | 11211 #include <sys/socket.h> |
10988 #include <sys/un.h> | 11212 #include <sys/un.h> |
10989 | 11213 |
10990 int main() { | 11214 int main() { |
10991 static struct sockaddr_un x; x.sun_len = 1; | 11215 static struct sockaddr_un x; x.sun_len = 1; |
10992 ; return 0; } | 11216 ; return 0; } |
10993 EOF | 11217 EOF |
10994 if { (eval echo configure:10995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11218 if { (eval echo configure:11219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10995 rm -rf conftest* | 11219 rm -rf conftest* |
10996 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11220 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
10997 Defining HAVE_SOCKADDR_SUN_LEN | 11221 Defining HAVE_SOCKADDR_SUN_LEN |
10998 EOF | 11222 EOF |
10999 cat >> confdefs.h <<\EOF | 11223 cat >> confdefs.h <<\EOF |
11007 rm -rf conftest* | 11231 rm -rf conftest* |
11008 echo "$ac_t""no" 1>&6 | 11232 echo "$ac_t""no" 1>&6 |
11009 fi | 11233 fi |
11010 rm -f conftest* | 11234 rm -f conftest* |
11011 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 11235 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
11012 echo "configure:11013: checking "for ip_mreq struct in netinet/in.h"" >&5 | 11236 echo "configure:11237: checking "for ip_mreq struct in netinet/in.h"" >&5 |
11013 cat > conftest.$ac_ext <<EOF | 11237 cat > conftest.$ac_ext <<EOF |
11014 #line 11015 "configure" | 11238 #line 11239 "configure" |
11015 #include "confdefs.h" | 11239 #include "confdefs.h" |
11016 | 11240 |
11017 #include <sys/types.h> | 11241 #include <sys/types.h> |
11018 #include <netinet/in.h> | 11242 #include <netinet/in.h> |
11019 | 11243 |
11020 int main() { | 11244 int main() { |
11021 static struct ip_mreq x; | 11245 static struct ip_mreq x; |
11022 ; return 0; } | 11246 ; return 0; } |
11023 EOF | 11247 EOF |
11024 if { (eval echo configure:11025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11248 if { (eval echo configure:11249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11025 rm -rf conftest* | 11249 rm -rf conftest* |
11026 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 11250 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
11027 Defining HAVE_MULTICAST | 11251 Defining HAVE_MULTICAST |
11028 EOF | 11252 EOF |
11029 cat >> confdefs.h <<\EOF | 11253 cat >> confdefs.h <<\EOF |
11050 echo "$ac_t""no" 1>&6 | 11274 echo "$ac_t""no" 1>&6 |
11051 fi | 11275 fi |
11052 | 11276 |
11053 | 11277 |
11054 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 11278 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
11055 echo "configure:11056: checking for msgget" >&5 | 11279 echo "configure:11280: checking for msgget" >&5 |
11056 | 11280 |
11057 cat > conftest.$ac_ext <<EOF | 11281 cat > conftest.$ac_ext <<EOF |
11058 #line 11059 "configure" | 11282 #line 11283 "configure" |
11059 #include "confdefs.h" | 11283 #include "confdefs.h" |
11060 /* System header to define __stub macros and hopefully few prototypes, | 11284 /* System header to define __stub macros and hopefully few prototypes, |
11061 which can conflict with char msgget(); below. */ | 11285 which can conflict with char msgget(); below. */ |
11062 #include <assert.h> | 11286 #include <assert.h> |
11063 /* Override any gcc2 internal prototype to avoid an error. */ | 11287 /* Override any gcc2 internal prototype to avoid an error. */ |
11076 msgget(); | 11300 msgget(); |
11077 #endif | 11301 #endif |
11078 | 11302 |
11079 ; return 0; } | 11303 ; return 0; } |
11080 EOF | 11304 EOF |
11081 if { (eval echo configure:11082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11305 if { (eval echo configure:11306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11082 rm -rf conftest* | 11306 rm -rf conftest* |
11083 eval "ac_cv_func_msgget=yes" | 11307 eval "ac_cv_func_msgget=yes" |
11084 else | 11308 else |
11085 echo "configure: failed program was:" >&5 | 11309 echo "configure: failed program was:" >&5 |
11086 cat conftest.$ac_ext >&5 | 11310 cat conftest.$ac_ext >&5 |
11091 | 11315 |
11092 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 11316 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
11093 echo "$ac_t""yes" 1>&6 | 11317 echo "$ac_t""yes" 1>&6 |
11094 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 11318 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
11095 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 11319 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
11096 echo "configure:11097: checking for sys/ipc.h" >&5 | 11320 echo "configure:11321: checking for sys/ipc.h" >&5 |
11097 | 11321 |
11098 cat > conftest.$ac_ext <<EOF | 11322 cat > conftest.$ac_ext <<EOF |
11099 #line 11100 "configure" | 11323 #line 11324 "configure" |
11100 #include "confdefs.h" | 11324 #include "confdefs.h" |
11101 #include <sys/ipc.h> | 11325 #include <sys/ipc.h> |
11102 EOF | 11326 EOF |
11103 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11104 { (eval echo configure:11105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11328 { (eval echo configure:11329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11105 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11106 if test -z "$ac_err"; then | 11330 if test -z "$ac_err"; then |
11107 rm -rf conftest* | 11331 rm -rf conftest* |
11108 eval "ac_cv_header_$ac_safe=yes" | 11332 eval "ac_cv_header_$ac_safe=yes" |
11109 else | 11333 else |
11116 rm -f conftest* | 11340 rm -f conftest* |
11117 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11118 echo "$ac_t""yes" 1>&6 | 11342 echo "$ac_t""yes" 1>&6 |
11119 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 11343 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
11120 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 11344 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
11121 echo "configure:11122: checking for sys/msg.h" >&5 | 11345 echo "configure:11346: checking for sys/msg.h" >&5 |
11122 | 11346 |
11123 cat > conftest.$ac_ext <<EOF | 11347 cat > conftest.$ac_ext <<EOF |
11124 #line 11125 "configure" | 11348 #line 11349 "configure" |
11125 #include "confdefs.h" | 11349 #include "confdefs.h" |
11126 #include <sys/msg.h> | 11350 #include <sys/msg.h> |
11127 EOF | 11351 EOF |
11128 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11352 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11129 { (eval echo configure:11130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11353 { (eval echo configure:11354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11130 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11354 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11131 if test -z "$ac_err"; then | 11355 if test -z "$ac_err"; then |
11132 rm -rf conftest* | 11356 rm -rf conftest* |
11133 eval "ac_cv_header_$ac_safe=yes" | 11357 eval "ac_cv_header_$ac_safe=yes" |
11134 else | 11358 else |
11162 fi | 11386 fi |
11163 | 11387 |
11164 | 11388 |
11165 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 11389 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
11166 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 11390 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
11167 echo "configure:11168: checking for dirent.h" >&5 | 11391 echo "configure:11392: checking for dirent.h" >&5 |
11168 | 11392 |
11169 cat > conftest.$ac_ext <<EOF | 11393 cat > conftest.$ac_ext <<EOF |
11170 #line 11171 "configure" | 11394 #line 11395 "configure" |
11171 #include "confdefs.h" | 11395 #include "confdefs.h" |
11172 #include <dirent.h> | 11396 #include <dirent.h> |
11173 EOF | 11397 EOF |
11174 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11398 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; } | 11399 { (eval echo configure:11400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11176 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11400 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11177 if test -z "$ac_err"; then | 11401 if test -z "$ac_err"; then |
11178 rm -rf conftest* | 11402 rm -rf conftest* |
11179 eval "ac_cv_header_$ac_safe=yes" | 11403 eval "ac_cv_header_$ac_safe=yes" |
11180 else | 11404 else |
11197 | 11421 |
11198 else | 11422 else |
11199 echo "$ac_t""no" 1>&6 | 11423 echo "$ac_t""no" 1>&6 |
11200 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 11424 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
11201 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 11425 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
11202 echo "configure:11203: checking for sys/dir.h" >&5 | 11426 echo "configure:11427: checking for sys/dir.h" >&5 |
11203 | 11427 |
11204 cat > conftest.$ac_ext <<EOF | 11428 cat > conftest.$ac_ext <<EOF |
11205 #line 11206 "configure" | 11429 #line 11430 "configure" |
11206 #include "confdefs.h" | 11430 #include "confdefs.h" |
11207 #include <sys/dir.h> | 11431 #include <sys/dir.h> |
11208 EOF | 11432 EOF |
11209 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11433 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11210 { (eval echo configure:11211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11434 { (eval echo configure:11435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11211 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11435 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11212 if test -z "$ac_err"; then | 11436 if test -z "$ac_err"; then |
11213 rm -rf conftest* | 11437 rm -rf conftest* |
11214 eval "ac_cv_header_$ac_safe=yes" | 11438 eval "ac_cv_header_$ac_safe=yes" |
11215 else | 11439 else |
11238 fi | 11462 fi |
11239 | 11463 |
11240 | 11464 |
11241 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 11465 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
11242 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 11466 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
11243 echo "configure:11244: checking for nlist.h" >&5 | 11467 echo "configure:11468: checking for nlist.h" >&5 |
11244 | 11468 |
11245 cat > conftest.$ac_ext <<EOF | 11469 cat > conftest.$ac_ext <<EOF |
11246 #line 11247 "configure" | 11470 #line 11471 "configure" |
11247 #include "confdefs.h" | 11471 #include "confdefs.h" |
11248 #include <nlist.h> | 11472 #include <nlist.h> |
11249 EOF | 11473 EOF |
11250 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11474 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11251 { (eval echo configure:11252: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11475 { (eval echo configure:11476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11252 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11476 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11253 if test -z "$ac_err"; then | 11477 if test -z "$ac_err"; then |
11254 rm -rf conftest* | 11478 rm -rf conftest* |
11255 eval "ac_cv_header_$ac_safe=yes" | 11479 eval "ac_cv_header_$ac_safe=yes" |
11256 else | 11480 else |
11276 fi | 11500 fi |
11277 | 11501 |
11278 | 11502 |
11279 | 11503 |
11280 echo "checking "for sound support"" 1>&6 | 11504 echo "checking "for sound support"" 1>&6 |
11281 echo "configure:11282: checking "for sound support"" >&5 | 11505 echo "configure:11506: checking "for sound support"" >&5 |
11282 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 11506 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
11283 | 11507 |
11284 if test "$with_native_sound" != "no"; then | 11508 if test "$with_native_sound" != "no"; then |
11285 if test -n "$native_sound_lib"; then | 11509 if test -n "$native_sound_lib"; then |
11286 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 11510 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
11287 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 11511 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
11288 echo "configure:11289: checking for multimedia/audio_device.h" >&5 | 11512 echo "configure:11513: checking for multimedia/audio_device.h" >&5 |
11289 | 11513 |
11290 cat > conftest.$ac_ext <<EOF | 11514 cat > conftest.$ac_ext <<EOF |
11291 #line 11292 "configure" | 11515 #line 11516 "configure" |
11292 #include "confdefs.h" | 11516 #include "confdefs.h" |
11293 #include <multimedia/audio_device.h> | 11517 #include <multimedia/audio_device.h> |
11294 EOF | 11518 EOF |
11295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11519 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11296 { (eval echo configure:11297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11520 { (eval echo configure:11521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11521 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11298 if test -z "$ac_err"; then | 11522 if test -z "$ac_err"; then |
11299 rm -rf conftest* | 11523 rm -rf conftest* |
11300 eval "ac_cv_header_$ac_safe=yes" | 11524 eval "ac_cv_header_$ac_safe=yes" |
11301 else | 11525 else |
11339 case "$canonical" in | 11563 case "$canonical" in |
11340 *-sgi-* ) | 11564 *-sgi-* ) |
11341 if test -z "$native_sound_lib"; then | 11565 if test -z "$native_sound_lib"; then |
11342 | 11566 |
11343 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 11567 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
11344 echo "configure:11345: checking for ALopenport in -laudio" >&5 | 11568 echo "configure:11569: checking for ALopenport in -laudio" >&5 |
11345 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 11569 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
11346 | 11570 |
11347 xe_check_libs=" -laudio " | 11571 xe_check_libs=" -laudio " |
11348 cat > conftest.$ac_ext <<EOF | 11572 cat > conftest.$ac_ext <<EOF |
11349 #line 11350 "configure" | 11573 #line 11574 "configure" |
11350 #include "confdefs.h" | 11574 #include "confdefs.h" |
11351 /* Override any gcc2 internal prototype to avoid an error. */ | 11575 /* Override any gcc2 internal prototype to avoid an error. */ |
11352 /* We use char because int might match the return type of a gcc2 | 11576 /* We use char because int might match the return type of a gcc2 |
11353 builtin and then its argument prototype would still apply. */ | 11577 builtin and then its argument prototype would still apply. */ |
11354 char ALopenport(); | 11578 char ALopenport(); |
11355 | 11579 |
11356 int main() { | 11580 int main() { |
11357 ALopenport() | 11581 ALopenport() |
11358 ; return 0; } | 11582 ; return 0; } |
11359 EOF | 11583 EOF |
11360 if { (eval echo configure:11361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11584 if { (eval echo configure:11585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11361 rm -rf conftest* | 11585 rm -rf conftest* |
11362 eval "ac_cv_lib_$ac_lib_var=yes" | 11586 eval "ac_cv_lib_$ac_lib_var=yes" |
11363 else | 11587 else |
11364 echo "configure: failed program was:" >&5 | 11588 echo "configure: failed program was:" >&5 |
11365 cat conftest.$ac_ext >&5 | 11589 cat conftest.$ac_ext >&5 |
11386 fi ;; | 11610 fi ;; |
11387 hppa*-hp-hpux* ) | 11611 hppa*-hp-hpux* ) |
11388 if test -z "$native_sound_lib"; then | 11612 if test -z "$native_sound_lib"; then |
11389 | 11613 |
11390 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 11614 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
11391 echo "configure:11392: checking for AOpenAudio in -lAlib" >&5 | 11615 echo "configure:11616: checking for AOpenAudio in -lAlib" >&5 |
11392 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 11616 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
11393 | 11617 |
11394 xe_check_libs=" -lAlib " | 11618 xe_check_libs=" -lAlib " |
11395 cat > conftest.$ac_ext <<EOF | 11619 cat > conftest.$ac_ext <<EOF |
11396 #line 11397 "configure" | 11620 #line 11621 "configure" |
11397 #include "confdefs.h" | 11621 #include "confdefs.h" |
11398 /* Override any gcc2 internal prototype to avoid an error. */ | 11622 /* Override any gcc2 internal prototype to avoid an error. */ |
11399 /* We use char because int might match the return type of a gcc2 | 11623 /* We use char because int might match the return type of a gcc2 |
11400 builtin and then its argument prototype would still apply. */ | 11624 builtin and then its argument prototype would still apply. */ |
11401 char AOpenAudio(); | 11625 char AOpenAudio(); |
11402 | 11626 |
11403 int main() { | 11627 int main() { |
11404 AOpenAudio() | 11628 AOpenAudio() |
11405 ; return 0; } | 11629 ; return 0; } |
11406 EOF | 11630 EOF |
11407 if { (eval echo configure:11408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11631 if { (eval echo configure:11632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11408 rm -rf conftest* | 11632 rm -rf conftest* |
11409 eval "ac_cv_lib_$ac_lib_var=yes" | 11633 eval "ac_cv_lib_$ac_lib_var=yes" |
11410 else | 11634 else |
11411 echo "configure: failed program was:" >&5 | 11635 echo "configure: failed program was:" >&5 |
11412 cat conftest.$ac_ext >&5 | 11636 cat conftest.$ac_ext >&5 |
11440 | 11664 |
11441 if test -z "$sound_found"; then | 11665 if test -z "$sound_found"; then |
11442 for dir in "machine" "sys" "linux"; do | 11666 for dir in "machine" "sys" "linux"; do |
11443 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 11667 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
11444 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 11668 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
11445 echo "configure:11446: checking for ${dir}/soundcard.h" >&5 | 11669 echo "configure:11670: checking for ${dir}/soundcard.h" >&5 |
11446 | 11670 |
11447 cat > conftest.$ac_ext <<EOF | 11671 cat > conftest.$ac_ext <<EOF |
11448 #line 11449 "configure" | 11672 #line 11673 "configure" |
11449 #include "confdefs.h" | 11673 #include "confdefs.h" |
11450 #include <${dir}/soundcard.h> | 11674 #include <${dir}/soundcard.h> |
11451 EOF | 11675 EOF |
11452 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11676 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11453 { (eval echo configure:11454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11677 { (eval echo configure:11678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11454 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11678 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11455 if test -z "$ac_err"; then | 11679 if test -z "$ac_err"; then |
11456 rm -rf conftest* | 11680 rm -rf conftest* |
11457 eval "ac_cv_header_$ac_safe=yes" | 11681 eval "ac_cv_header_$ac_safe=yes" |
11458 else | 11682 else |
11502 fi | 11726 fi |
11503 | 11727 |
11504 if test "$with_nas_sound" != "no"; then | 11728 if test "$with_nas_sound" != "no"; then |
11505 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 11729 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
11506 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 11730 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
11507 echo "configure:11508: checking for audio/audiolib.h" >&5 | 11731 echo "configure:11732: checking for audio/audiolib.h" >&5 |
11508 | 11732 |
11509 cat > conftest.$ac_ext <<EOF | 11733 cat > conftest.$ac_ext <<EOF |
11510 #line 11511 "configure" | 11734 #line 11735 "configure" |
11511 #include "confdefs.h" | 11735 #include "confdefs.h" |
11512 #include <audio/audiolib.h> | 11736 #include <audio/audiolib.h> |
11513 EOF | 11737 EOF |
11514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11738 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11515 { (eval echo configure:11516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11739 { (eval echo configure:11740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11740 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11517 if test -z "$ac_err"; then | 11741 if test -z "$ac_err"; then |
11518 rm -rf conftest* | 11742 rm -rf conftest* |
11519 eval "ac_cv_header_$ac_safe=yes" | 11743 eval "ac_cv_header_$ac_safe=yes" |
11520 else | 11744 else |
11528 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 11752 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
11529 echo "$ac_t""yes" 1>&6 | 11753 echo "$ac_t""yes" 1>&6 |
11530 | 11754 |
11531 | 11755 |
11532 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 11756 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
11533 echo "configure:11534: checking for AuOpenServer in -laudio" >&5 | 11757 echo "configure:11758: checking for AuOpenServer in -laudio" >&5 |
11534 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 11758 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
11535 | 11759 |
11536 xe_check_libs=" -laudio " | 11760 xe_check_libs=" -laudio " |
11537 cat > conftest.$ac_ext <<EOF | 11761 cat > conftest.$ac_ext <<EOF |
11538 #line 11539 "configure" | 11762 #line 11763 "configure" |
11539 #include "confdefs.h" | 11763 #include "confdefs.h" |
11540 /* Override any gcc2 internal prototype to avoid an error. */ | 11764 /* Override any gcc2 internal prototype to avoid an error. */ |
11541 /* We use char because int might match the return type of a gcc2 | 11765 /* We use char because int might match the return type of a gcc2 |
11542 builtin and then its argument prototype would still apply. */ | 11766 builtin and then its argument prototype would still apply. */ |
11543 char AuOpenServer(); | 11767 char AuOpenServer(); |
11544 | 11768 |
11545 int main() { | 11769 int main() { |
11546 AuOpenServer() | 11770 AuOpenServer() |
11547 ; return 0; } | 11771 ; return 0; } |
11548 EOF | 11772 EOF |
11549 if { (eval echo configure:11550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11773 if { (eval echo configure:11774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11550 rm -rf conftest* | 11774 rm -rf conftest* |
11551 eval "ac_cv_lib_$ac_lib_var=yes" | 11775 eval "ac_cv_lib_$ac_lib_var=yes" |
11552 else | 11776 else |
11553 echo "configure: failed program was:" >&5 | 11777 echo "configure: failed program was:" >&5 |
11554 cat conftest.$ac_ext >&5 | 11778 cat conftest.$ac_ext >&5 |
11583 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 11807 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
11584 echo " xemacs will be linked with \"nas.o\"" | 11808 echo " xemacs will be linked with \"nas.o\"" |
11585 fi | 11809 fi |
11586 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 11810 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
11587 cat > conftest.$ac_ext <<EOF | 11811 cat > conftest.$ac_ext <<EOF |
11588 #line 11589 "configure" | 11812 #line 11813 "configure" |
11589 #include "confdefs.h" | 11813 #include "confdefs.h" |
11590 #include <audio/Xtutil.h> | 11814 #include <audio/Xtutil.h> |
11591 EOF | 11815 EOF |
11592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 11816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11593 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 11817 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
11614 | 11838 |
11615 if test "$with_esd_sound" != "no"; then | 11839 if test "$with_esd_sound" != "no"; then |
11616 # Extract the first word of "esd-config", so it can be a program name with args. | 11840 # Extract the first word of "esd-config", so it can be a program name with args. |
11617 set dummy esd-config; ac_word=$2 | 11841 set dummy esd-config; ac_word=$2 |
11618 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 11842 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
11619 echo "configure:11620: checking for $ac_word" >&5 | 11843 echo "configure:11844: checking for $ac_word" >&5 |
11620 | 11844 |
11621 if test -n "$have_esd_config"; then | 11845 if test -n "$have_esd_config"; then |
11622 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 11846 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
11623 else | 11847 else |
11624 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 11848 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
11643 if test "$have_esd_config" = "yes"; then | 11867 if test "$have_esd_config" = "yes"; then |
11644 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 11868 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
11645 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 | 11869 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
11646 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 11870 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
11647 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 11871 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
11648 echo "configure:11649: checking for esd_play_stream" >&5 | 11872 echo "configure:11873: checking for esd_play_stream" >&5 |
11649 | 11873 |
11650 cat > conftest.$ac_ext <<EOF | 11874 cat > conftest.$ac_ext <<EOF |
11651 #line 11652 "configure" | 11875 #line 11876 "configure" |
11652 #include "confdefs.h" | 11876 #include "confdefs.h" |
11653 /* System header to define __stub macros and hopefully few prototypes, | 11877 /* System header to define __stub macros and hopefully few prototypes, |
11654 which can conflict with char esd_play_stream(); below. */ | 11878 which can conflict with char esd_play_stream(); below. */ |
11655 #include <assert.h> | 11879 #include <assert.h> |
11656 /* Override any gcc2 internal prototype to avoid an error. */ | 11880 /* Override any gcc2 internal prototype to avoid an error. */ |
11669 esd_play_stream(); | 11893 esd_play_stream(); |
11670 #endif | 11894 #endif |
11671 | 11895 |
11672 ; return 0; } | 11896 ; return 0; } |
11673 EOF | 11897 EOF |
11674 if { (eval echo configure:11675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11898 if { (eval echo configure:11899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11675 rm -rf conftest* | 11899 rm -rf conftest* |
11676 eval "ac_cv_func_esd_play_stream=yes" | 11900 eval "ac_cv_func_esd_play_stream=yes" |
11677 else | 11901 else |
11678 echo "configure: failed program was:" >&5 | 11902 echo "configure: failed program was:" >&5 |
11679 cat conftest.$ac_ext >&5 | 11903 cat conftest.$ac_ext >&5 |
11720 | 11944 |
11721 test -z "$with_tty" && with_tty=yes | 11945 test -z "$with_tty" && with_tty=yes |
11722 | 11946 |
11723 if test "$with_tty" = "yes" ; then | 11947 if test "$with_tty" = "yes" ; then |
11724 echo "checking for TTY-related features" 1>&6 | 11948 echo "checking for TTY-related features" 1>&6 |
11725 echo "configure:11726: checking for TTY-related features" >&5 | 11949 echo "configure:11950: checking for TTY-related features" >&5 |
11726 { test "$extra_verbose" = "yes" && cat << \EOF | 11950 { test "$extra_verbose" = "yes" && cat << \EOF |
11727 Defining HAVE_TTY | 11951 Defining HAVE_TTY |
11728 EOF | 11952 EOF |
11729 cat >> confdefs.h <<\EOF | 11953 cat >> confdefs.h <<\EOF |
11730 #define HAVE_TTY 1 | 11954 #define HAVE_TTY 1 |
11736 fi | 11960 fi |
11737 | 11961 |
11738 if test -z "$with_ncurses"; then | 11962 if test -z "$with_ncurses"; then |
11739 | 11963 |
11740 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 11964 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
11741 echo "configure:11742: checking for tgetent in -lncurses" >&5 | 11965 echo "configure:11966: checking for tgetent in -lncurses" >&5 |
11742 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 11966 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
11743 | 11967 |
11744 xe_check_libs=" -lncurses " | 11968 xe_check_libs=" -lncurses " |
11745 cat > conftest.$ac_ext <<EOF | 11969 cat > conftest.$ac_ext <<EOF |
11746 #line 11747 "configure" | 11970 #line 11971 "configure" |
11747 #include "confdefs.h" | 11971 #include "confdefs.h" |
11748 /* Override any gcc2 internal prototype to avoid an error. */ | 11972 /* Override any gcc2 internal prototype to avoid an error. */ |
11749 /* We use char because int might match the return type of a gcc2 | 11973 /* We use char because int might match the return type of a gcc2 |
11750 builtin and then its argument prototype would still apply. */ | 11974 builtin and then its argument prototype would still apply. */ |
11751 char tgetent(); | 11975 char tgetent(); |
11752 | 11976 |
11753 int main() { | 11977 int main() { |
11754 tgetent() | 11978 tgetent() |
11755 ; return 0; } | 11979 ; return 0; } |
11756 EOF | 11980 EOF |
11757 if { (eval echo configure:11758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11981 if { (eval echo configure:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11758 rm -rf conftest* | 11982 rm -rf conftest* |
11759 eval "ac_cv_lib_$ac_lib_var=yes" | 11983 eval "ac_cv_lib_$ac_lib_var=yes" |
11760 else | 11984 else |
11761 echo "configure: failed program was:" >&5 | 11985 echo "configure: failed program was:" >&5 |
11762 cat conftest.$ac_ext >&5 | 11986 cat conftest.$ac_ext >&5 |
11785 EOF | 12009 EOF |
11786 } | 12010 } |
11787 | 12011 |
11788 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12012 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
11789 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12013 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
11790 echo "configure:11791: checking for ncurses/curses.h" >&5 | 12014 echo "configure:12015: checking for ncurses/curses.h" >&5 |
11791 | 12015 |
11792 cat > conftest.$ac_ext <<EOF | 12016 cat > conftest.$ac_ext <<EOF |
11793 #line 11794 "configure" | 12017 #line 12018 "configure" |
11794 #include "confdefs.h" | 12018 #include "confdefs.h" |
11795 #include <ncurses/curses.h> | 12019 #include <ncurses/curses.h> |
11796 EOF | 12020 EOF |
11797 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12021 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11798 { (eval echo configure:11799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12022 { (eval echo configure:12023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11799 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12023 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11800 if test -z "$ac_err"; then | 12024 if test -z "$ac_err"; then |
11801 rm -rf conftest* | 12025 rm -rf conftest* |
11802 eval "ac_cv_header_$ac_safe=yes" | 12026 eval "ac_cv_header_$ac_safe=yes" |
11803 else | 12027 else |
11815 echo "$ac_t""no" 1>&6 | 12039 echo "$ac_t""no" 1>&6 |
11816 fi | 12040 fi |
11817 | 12041 |
11818 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 12042 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
11819 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 12043 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
11820 echo "configure:11821: checking for ncurses/term.h" >&5 | 12044 echo "configure:12045: checking for ncurses/term.h" >&5 |
11821 | 12045 |
11822 cat > conftest.$ac_ext <<EOF | 12046 cat > conftest.$ac_ext <<EOF |
11823 #line 11824 "configure" | 12047 #line 12048 "configure" |
11824 #include "confdefs.h" | 12048 #include "confdefs.h" |
11825 #include <ncurses/term.h> | 12049 #include <ncurses/term.h> |
11826 EOF | 12050 EOF |
11827 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11828 { (eval echo configure:11829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12052 { (eval echo configure:12053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11830 if test -z "$ac_err"; then | 12054 if test -z "$ac_err"; then |
11831 rm -rf conftest* | 12055 rm -rf conftest* |
11832 eval "ac_cv_header_$ac_safe=yes" | 12056 eval "ac_cv_header_$ac_safe=yes" |
11833 else | 12057 else |
11853 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 12077 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
11854 save_c_switch_site="$c_switch_site" | 12078 save_c_switch_site="$c_switch_site" |
11855 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 12079 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
11856 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 12080 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
11857 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 12081 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
11858 echo "configure:11859: checking for ncurses/curses.h" >&5 | 12082 echo "configure:12083: checking for ncurses/curses.h" >&5 |
11859 | 12083 |
11860 cat > conftest.$ac_ext <<EOF | 12084 cat > conftest.$ac_ext <<EOF |
11861 #line 11862 "configure" | 12085 #line 12086 "configure" |
11862 #include "confdefs.h" | 12086 #include "confdefs.h" |
11863 #include <ncurses/curses.h> | 12087 #include <ncurses/curses.h> |
11864 EOF | 12088 EOF |
11865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12089 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11866 { (eval echo configure:11867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12090 { (eval echo configure:12091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11867 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12091 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11868 if test -z "$ac_err"; then | 12092 if test -z "$ac_err"; then |
11869 rm -rf conftest* | 12093 rm -rf conftest* |
11870 eval "ac_cv_header_$ac_safe=yes" | 12094 eval "ac_cv_header_$ac_safe=yes" |
11871 else | 12095 else |
11896 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12120 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11897 else | 12121 else |
11898 for lib in curses termlib termcap; do | 12122 for lib in curses termlib termcap; do |
11899 | 12123 |
11900 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 12124 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
11901 echo "configure:11902: checking for tgetent in -l$lib" >&5 | 12125 echo "configure:12126: checking for tgetent in -l$lib" >&5 |
11902 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 12126 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
11903 | 12127 |
11904 xe_check_libs=" -l$lib " | 12128 xe_check_libs=" -l$lib " |
11905 cat > conftest.$ac_ext <<EOF | 12129 cat > conftest.$ac_ext <<EOF |
11906 #line 11907 "configure" | 12130 #line 12131 "configure" |
11907 #include "confdefs.h" | 12131 #include "confdefs.h" |
11908 /* Override any gcc2 internal prototype to avoid an error. */ | 12132 /* Override any gcc2 internal prototype to avoid an error. */ |
11909 /* We use char because int might match the return type of a gcc2 | 12133 /* We use char because int might match the return type of a gcc2 |
11910 builtin and then its argument prototype would still apply. */ | 12134 builtin and then its argument prototype would still apply. */ |
11911 char tgetent(); | 12135 char tgetent(); |
11912 | 12136 |
11913 int main() { | 12137 int main() { |
11914 tgetent() | 12138 tgetent() |
11915 ; return 0; } | 12139 ; return 0; } |
11916 EOF | 12140 EOF |
11917 if { (eval echo configure:11918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12141 if { (eval echo configure:12142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11918 rm -rf conftest* | 12142 rm -rf conftest* |
11919 eval "ac_cv_lib_$ac_lib_var=yes" | 12143 eval "ac_cv_lib_$ac_lib_var=yes" |
11920 else | 12144 else |
11921 echo "configure: failed program was:" >&5 | 12145 echo "configure: failed program was:" >&5 |
11922 cat conftest.$ac_ext >&5 | 12146 cat conftest.$ac_ext >&5 |
11943 if test -n "$libs_termcap"; then | 12167 if test -n "$libs_termcap"; then |
11944 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 12168 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
11945 else | 12169 else |
11946 | 12170 |
11947 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 12171 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
11948 echo "configure:11949: checking for tgetent in -lcurses" >&5 | 12172 echo "configure:12173: checking for tgetent in -lcurses" >&5 |
11949 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 12173 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
11950 | 12174 |
11951 xe_check_libs=" -lcurses " | 12175 xe_check_libs=" -lcurses " |
11952 cat > conftest.$ac_ext <<EOF | 12176 cat > conftest.$ac_ext <<EOF |
11953 #line 11954 "configure" | 12177 #line 12178 "configure" |
11954 #include "confdefs.h" | 12178 #include "confdefs.h" |
11955 /* Override any gcc2 internal prototype to avoid an error. */ | 12179 /* Override any gcc2 internal prototype to avoid an error. */ |
11956 /* We use char because int might match the return type of a gcc2 | 12180 /* We use char because int might match the return type of a gcc2 |
11957 builtin and then its argument prototype would still apply. */ | 12181 builtin and then its argument prototype would still apply. */ |
11958 char tgetent(); | 12182 char tgetent(); |
11959 | 12183 |
11960 int main() { | 12184 int main() { |
11961 tgetent() | 12185 tgetent() |
11962 ; return 0; } | 12186 ; return 0; } |
11963 EOF | 12187 EOF |
11964 if { (eval echo configure:11965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12188 if { (eval echo configure:12189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11965 rm -rf conftest* | 12189 rm -rf conftest* |
11966 eval "ac_cv_lib_$ac_lib_var=yes" | 12190 eval "ac_cv_lib_$ac_lib_var=yes" |
11967 else | 12191 else |
11968 echo "configure: failed program was:" >&5 | 12192 echo "configure: failed program was:" >&5 |
11969 cat conftest.$ac_ext >&5 | 12193 cat conftest.$ac_ext >&5 |
11977 echo "$ac_t""yes" 1>&6 | 12201 echo "$ac_t""yes" 1>&6 |
11978 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 12202 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
11979 else | 12203 else |
11980 echo "$ac_t""no" 1>&6 | 12204 echo "$ac_t""no" 1>&6 |
11981 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 12205 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
11982 echo "configure:11983: checking for tgetent in -ltermcap" >&5 | 12206 echo "configure:12207: checking for tgetent in -ltermcap" >&5 |
11983 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 12207 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
11984 | 12208 |
11985 xe_check_libs=" -ltermcap " | 12209 xe_check_libs=" -ltermcap " |
11986 cat > conftest.$ac_ext <<EOF | 12210 cat > conftest.$ac_ext <<EOF |
11987 #line 11988 "configure" | 12211 #line 12212 "configure" |
11988 #include "confdefs.h" | 12212 #include "confdefs.h" |
11989 /* Override any gcc2 internal prototype to avoid an error. */ | 12213 /* Override any gcc2 internal prototype to avoid an error. */ |
11990 /* We use char because int might match the return type of a gcc2 | 12214 /* We use char because int might match the return type of a gcc2 |
11991 builtin and then its argument prototype would still apply. */ | 12215 builtin and then its argument prototype would still apply. */ |
11992 char tgetent(); | 12216 char tgetent(); |
11993 | 12217 |
11994 int main() { | 12218 int main() { |
11995 tgetent() | 12219 tgetent() |
11996 ; return 0; } | 12220 ; return 0; } |
11997 EOF | 12221 EOF |
11998 if { (eval echo configure:11999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12222 if { (eval echo configure:12223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11999 rm -rf conftest* | 12223 rm -rf conftest* |
12000 eval "ac_cv_lib_$ac_lib_var=yes" | 12224 eval "ac_cv_lib_$ac_lib_var=yes" |
12001 else | 12225 else |
12002 echo "configure: failed program was:" >&5 | 12226 echo "configure: failed program was:" >&5 |
12003 cat conftest.$ac_ext >&5 | 12227 cat conftest.$ac_ext >&5 |
12041 } | 12265 } |
12042 | 12266 |
12043 | 12267 |
12044 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 12268 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
12045 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 12269 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
12046 echo "configure:12047: checking for gpm.h" >&5 | 12270 echo "configure:12271: checking for gpm.h" >&5 |
12047 | 12271 |
12048 cat > conftest.$ac_ext <<EOF | 12272 cat > conftest.$ac_ext <<EOF |
12049 #line 12050 "configure" | 12273 #line 12274 "configure" |
12050 #include "confdefs.h" | 12274 #include "confdefs.h" |
12051 #include <gpm.h> | 12275 #include <gpm.h> |
12052 EOF | 12276 EOF |
12053 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12277 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12054 { (eval echo configure:12055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12278 { (eval echo configure:12279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12055 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12279 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12056 if test -z "$ac_err"; then | 12280 if test -z "$ac_err"; then |
12057 rm -rf conftest* | 12281 rm -rf conftest* |
12058 eval "ac_cv_header_$ac_safe=yes" | 12282 eval "ac_cv_header_$ac_safe=yes" |
12059 else | 12283 else |
12072 with_gpm=no | 12296 with_gpm=no |
12073 fi | 12297 fi |
12074 } | 12298 } |
12075 test -z "$with_gpm" && { | 12299 test -z "$with_gpm" && { |
12076 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 12300 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
12077 echo "configure:12078: checking for Gpm_Open in -lgpm" >&5 | 12301 echo "configure:12302: checking for Gpm_Open in -lgpm" >&5 |
12078 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 12302 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
12079 | 12303 |
12080 xe_check_libs=" -lgpm " | 12304 xe_check_libs=" -lgpm " |
12081 cat > conftest.$ac_ext <<EOF | 12305 cat > conftest.$ac_ext <<EOF |
12082 #line 12083 "configure" | 12306 #line 12307 "configure" |
12083 #include "confdefs.h" | 12307 #include "confdefs.h" |
12084 /* Override any gcc2 internal prototype to avoid an error. */ | 12308 /* Override any gcc2 internal prototype to avoid an error. */ |
12085 /* We use char because int might match the return type of a gcc2 | 12309 /* We use char because int might match the return type of a gcc2 |
12086 builtin and then its argument prototype would still apply. */ | 12310 builtin and then its argument prototype would still apply. */ |
12087 char Gpm_Open(); | 12311 char Gpm_Open(); |
12088 | 12312 |
12089 int main() { | 12313 int main() { |
12090 Gpm_Open() | 12314 Gpm_Open() |
12091 ; return 0; } | 12315 ; return 0; } |
12092 EOF | 12316 EOF |
12093 if { (eval echo configure:12094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12317 if { (eval echo configure:12318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12094 rm -rf conftest* | 12318 rm -rf conftest* |
12095 eval "ac_cv_lib_$ac_lib_var=yes" | 12319 eval "ac_cv_lib_$ac_lib_var=yes" |
12096 else | 12320 else |
12097 echo "configure: failed program was:" >&5 | 12321 echo "configure: failed program was:" >&5 |
12098 cat conftest.$ac_ext >&5 | 12322 cat conftest.$ac_ext >&5 |
12138 fi | 12362 fi |
12139 | 12363 |
12140 | 12364 |
12141 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 12365 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
12142 != "no no no" && echo "checking for database support" 1>&6 | 12366 != "no no no" && echo "checking for database support" 1>&6 |
12143 echo "configure:12144: checking for database support" >&5 | 12367 echo "configure:12368: checking for database support" >&5 |
12144 | 12368 |
12145 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 12369 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
12146 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 12370 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
12147 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 12371 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
12148 echo "configure:12149: checking for ndbm.h" >&5 | 12372 echo "configure:12373: checking for ndbm.h" >&5 |
12149 | 12373 |
12150 cat > conftest.$ac_ext <<EOF | 12374 cat > conftest.$ac_ext <<EOF |
12151 #line 12152 "configure" | 12375 #line 12376 "configure" |
12152 #include "confdefs.h" | 12376 #include "confdefs.h" |
12153 #include <ndbm.h> | 12377 #include <ndbm.h> |
12154 EOF | 12378 EOF |
12155 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12379 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12156 { (eval echo configure:12157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12380 { (eval echo configure:12381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12157 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12381 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12158 if test -z "$ac_err"; then | 12382 if test -z "$ac_err"; then |
12159 rm -rf conftest* | 12383 rm -rf conftest* |
12160 eval "ac_cv_header_$ac_safe=yes" | 12384 eval "ac_cv_header_$ac_safe=yes" |
12161 else | 12385 else |
12181 fi | 12405 fi |
12182 | 12406 |
12183 if test "$with_database_gdbm" != "no"; then | 12407 if test "$with_database_gdbm" != "no"; then |
12184 | 12408 |
12185 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 12409 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
12186 echo "configure:12187: checking for dbm_open in -lgdbm" >&5 | 12410 echo "configure:12411: checking for dbm_open in -lgdbm" >&5 |
12187 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 12411 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
12188 | 12412 |
12189 xe_check_libs=" -lgdbm " | 12413 xe_check_libs=" -lgdbm " |
12190 cat > conftest.$ac_ext <<EOF | 12414 cat > conftest.$ac_ext <<EOF |
12191 #line 12192 "configure" | 12415 #line 12416 "configure" |
12192 #include "confdefs.h" | 12416 #include "confdefs.h" |
12193 /* Override any gcc2 internal prototype to avoid an error. */ | 12417 /* Override any gcc2 internal prototype to avoid an error. */ |
12194 /* We use char because int might match the return type of a gcc2 | 12418 /* We use char because int might match the return type of a gcc2 |
12195 builtin and then its argument prototype would still apply. */ | 12419 builtin and then its argument prototype would still apply. */ |
12196 char dbm_open(); | 12420 char dbm_open(); |
12197 | 12421 |
12198 int main() { | 12422 int main() { |
12199 dbm_open() | 12423 dbm_open() |
12200 ; return 0; } | 12424 ; return 0; } |
12201 EOF | 12425 EOF |
12202 if { (eval echo configure:12203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12426 if { (eval echo configure:12427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12203 rm -rf conftest* | 12427 rm -rf conftest* |
12204 eval "ac_cv_lib_$ac_lib_var=yes" | 12428 eval "ac_cv_lib_$ac_lib_var=yes" |
12205 else | 12429 else |
12206 echo "configure: failed program was:" >&5 | 12430 echo "configure: failed program was:" >&5 |
12207 cat conftest.$ac_ext >&5 | 12431 cat conftest.$ac_ext >&5 |
12225 | 12449 |
12226 fi | 12450 fi |
12227 | 12451 |
12228 if test "$with_database_dbm" != "no"; then | 12452 if test "$with_database_dbm" != "no"; then |
12229 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 12453 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
12230 echo "configure:12231: checking for dbm_open" >&5 | 12454 echo "configure:12455: checking for dbm_open" >&5 |
12231 | 12455 |
12232 cat > conftest.$ac_ext <<EOF | 12456 cat > conftest.$ac_ext <<EOF |
12233 #line 12234 "configure" | 12457 #line 12458 "configure" |
12234 #include "confdefs.h" | 12458 #include "confdefs.h" |
12235 /* System header to define __stub macros and hopefully few prototypes, | 12459 /* System header to define __stub macros and hopefully few prototypes, |
12236 which can conflict with char dbm_open(); below. */ | 12460 which can conflict with char dbm_open(); below. */ |
12237 #include <assert.h> | 12461 #include <assert.h> |
12238 /* Override any gcc2 internal prototype to avoid an error. */ | 12462 /* Override any gcc2 internal prototype to avoid an error. */ |
12251 dbm_open(); | 12475 dbm_open(); |
12252 #endif | 12476 #endif |
12253 | 12477 |
12254 ; return 0; } | 12478 ; return 0; } |
12255 EOF | 12479 EOF |
12256 if { (eval echo configure:12257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12480 if { (eval echo configure:12481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12257 rm -rf conftest* | 12481 rm -rf conftest* |
12258 eval "ac_cv_func_dbm_open=yes" | 12482 eval "ac_cv_func_dbm_open=yes" |
12259 else | 12483 else |
12260 echo "configure: failed program was:" >&5 | 12484 echo "configure: failed program was:" >&5 |
12261 cat conftest.$ac_ext >&5 | 12485 cat conftest.$ac_ext >&5 |
12270 else | 12494 else |
12271 echo "$ac_t""no" 1>&6 | 12495 echo "$ac_t""no" 1>&6 |
12272 | 12496 |
12273 | 12497 |
12274 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 12498 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
12275 echo "configure:12276: checking for dbm_open in -ldbm" >&5 | 12499 echo "configure:12500: checking for dbm_open in -ldbm" >&5 |
12276 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 12500 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
12277 | 12501 |
12278 xe_check_libs=" -ldbm " | 12502 xe_check_libs=" -ldbm " |
12279 cat > conftest.$ac_ext <<EOF | 12503 cat > conftest.$ac_ext <<EOF |
12280 #line 12281 "configure" | 12504 #line 12505 "configure" |
12281 #include "confdefs.h" | 12505 #include "confdefs.h" |
12282 /* Override any gcc2 internal prototype to avoid an error. */ | 12506 /* Override any gcc2 internal prototype to avoid an error. */ |
12283 /* We use char because int might match the return type of a gcc2 | 12507 /* We use char because int might match the return type of a gcc2 |
12284 builtin and then its argument prototype would still apply. */ | 12508 builtin and then its argument prototype would still apply. */ |
12285 char dbm_open(); | 12509 char dbm_open(); |
12286 | 12510 |
12287 int main() { | 12511 int main() { |
12288 dbm_open() | 12512 dbm_open() |
12289 ; return 0; } | 12513 ; return 0; } |
12290 EOF | 12514 EOF |
12291 if { (eval echo configure:12292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12515 if { (eval echo configure:12516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12292 rm -rf conftest* | 12516 rm -rf conftest* |
12293 eval "ac_cv_lib_$ac_lib_var=yes" | 12517 eval "ac_cv_lib_$ac_lib_var=yes" |
12294 else | 12518 else |
12295 echo "configure: failed program was:" >&5 | 12519 echo "configure: failed program was:" >&5 |
12296 cat conftest.$ac_ext >&5 | 12520 cat conftest.$ac_ext >&5 |
12327 } | 12551 } |
12328 | 12552 |
12329 | 12553 |
12330 if test "$with_database_berkdb" != "no"; then | 12554 if test "$with_database_berkdb" != "no"; then |
12331 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 12555 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
12332 echo "configure:12333: checking for Berkeley db.h" >&5 | 12556 echo "configure:12557: checking for Berkeley db.h" >&5 |
12333 for path in "db/db.h" "db.h"; do | 12557 for path in "db/db.h" "db.h"; do |
12334 cat > conftest.$ac_ext <<EOF | 12558 cat > conftest.$ac_ext <<EOF |
12335 #line 12336 "configure" | 12559 #line 12560 "configure" |
12336 #include "confdefs.h" | 12560 #include "confdefs.h" |
12337 | 12561 |
12338 #include <stdlib.h> | 12562 #include <stdlib.h> |
12339 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 12563 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
12340 #ifdef HAVE_INTTYPES_H | 12564 #ifdef HAVE_INTTYPES_H |
12352 | 12576 |
12353 int main() { | 12577 int main() { |
12354 | 12578 |
12355 ; return 0; } | 12579 ; return 0; } |
12356 EOF | 12580 EOF |
12357 if { (eval echo configure:12358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12581 if { (eval echo configure:12582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12358 rm -rf conftest* | 12582 rm -rf conftest* |
12359 db_h_path="$path"; break | 12583 db_h_path="$path"; break |
12360 else | 12584 else |
12361 echo "configure: failed program was:" >&5 | 12585 echo "configure: failed program was:" >&5 |
12362 cat conftest.$ac_ext >&5 | 12586 cat conftest.$ac_ext >&5 |
12368 else echo "$ac_t""$db_h_path" 1>&6 | 12592 else echo "$ac_t""$db_h_path" 1>&6 |
12369 fi | 12593 fi |
12370 | 12594 |
12371 if test "$with_database_berkdb" != "no"; then | 12595 if test "$with_database_berkdb" != "no"; then |
12372 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 12596 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
12373 echo "configure:12374: checking for Berkeley DB version" >&5 | 12597 echo "configure:12598: checking for Berkeley DB version" >&5 |
12374 cat > conftest.$ac_ext <<EOF | 12598 cat > conftest.$ac_ext <<EOF |
12375 #line 12376 "configure" | 12599 #line 12600 "configure" |
12376 #include "confdefs.h" | 12600 #include "confdefs.h" |
12377 #include <$db_h_path> | 12601 #include <$db_h_path> |
12378 #if DB_VERSION_MAJOR > 1 | 12602 #if DB_VERSION_MAJOR > 1 |
12379 yes | 12603 yes |
12380 #endif | 12604 #endif |
12389 echo "$ac_t""1" 1>&6; dbfunc=dbopen | 12613 echo "$ac_t""1" 1>&6; dbfunc=dbopen |
12390 fi | 12614 fi |
12391 rm -f conftest* | 12615 rm -f conftest* |
12392 | 12616 |
12393 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 12617 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
12394 echo "configure:12395: checking for $dbfunc" >&5 | 12618 echo "configure:12619: checking for $dbfunc" >&5 |
12395 | 12619 |
12396 cat > conftest.$ac_ext <<EOF | 12620 cat > conftest.$ac_ext <<EOF |
12397 #line 12398 "configure" | 12621 #line 12622 "configure" |
12398 #include "confdefs.h" | 12622 #include "confdefs.h" |
12399 /* System header to define __stub macros and hopefully few prototypes, | 12623 /* System header to define __stub macros and hopefully few prototypes, |
12400 which can conflict with char $dbfunc(); below. */ | 12624 which can conflict with char $dbfunc(); below. */ |
12401 #include <assert.h> | 12625 #include <assert.h> |
12402 /* Override any gcc2 internal prototype to avoid an error. */ | 12626 /* Override any gcc2 internal prototype to avoid an error. */ |
12415 $dbfunc(); | 12639 $dbfunc(); |
12416 #endif | 12640 #endif |
12417 | 12641 |
12418 ; return 0; } | 12642 ; return 0; } |
12419 EOF | 12643 EOF |
12420 if { (eval echo configure:12421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12644 if { (eval echo configure:12645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12421 rm -rf conftest* | 12645 rm -rf conftest* |
12422 eval "ac_cv_func_$dbfunc=yes" | 12646 eval "ac_cv_func_$dbfunc=yes" |
12423 else | 12647 else |
12424 echo "configure: failed program was:" >&5 | 12648 echo "configure: failed program was:" >&5 |
12425 cat conftest.$ac_ext >&5 | 12649 cat conftest.$ac_ext >&5 |
12434 else | 12658 else |
12435 echo "$ac_t""no" 1>&6 | 12659 echo "$ac_t""no" 1>&6 |
12436 | 12660 |
12437 | 12661 |
12438 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 12662 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
12439 echo "configure:12440: checking for $dbfunc in -ldb" >&5 | 12663 echo "configure:12664: checking for $dbfunc in -ldb" >&5 |
12440 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 12664 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
12441 | 12665 |
12442 xe_check_libs=" -ldb " | 12666 xe_check_libs=" -ldb " |
12443 cat > conftest.$ac_ext <<EOF | 12667 cat > conftest.$ac_ext <<EOF |
12444 #line 12445 "configure" | 12668 #line 12669 "configure" |
12445 #include "confdefs.h" | 12669 #include "confdefs.h" |
12446 /* Override any gcc2 internal prototype to avoid an error. */ | 12670 /* Override any gcc2 internal prototype to avoid an error. */ |
12447 /* We use char because int might match the return type of a gcc2 | 12671 /* We use char because int might match the return type of a gcc2 |
12448 builtin and then its argument prototype would still apply. */ | 12672 builtin and then its argument prototype would still apply. */ |
12449 char $dbfunc(); | 12673 char $dbfunc(); |
12450 | 12674 |
12451 int main() { | 12675 int main() { |
12452 $dbfunc() | 12676 $dbfunc() |
12453 ; return 0; } | 12677 ; return 0; } |
12454 EOF | 12678 EOF |
12455 if { (eval echo configure:12456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12679 if { (eval echo configure:12680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12456 rm -rf conftest* | 12680 rm -rf conftest* |
12457 eval "ac_cv_lib_$ac_lib_var=yes" | 12681 eval "ac_cv_lib_$ac_lib_var=yes" |
12458 else | 12682 else |
12459 echo "configure: failed program was:" >&5 | 12683 echo "configure: failed program was:" >&5 |
12460 cat conftest.$ac_ext >&5 | 12684 cat conftest.$ac_ext >&5 |
12514 fi | 12738 fi |
12515 | 12739 |
12516 if test "$with_socks" = "yes"; then | 12740 if test "$with_socks" = "yes"; then |
12517 | 12741 |
12518 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 12742 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
12519 echo "configure:12520: checking for SOCKSinit in -lsocks" >&5 | 12743 echo "configure:12744: checking for SOCKSinit in -lsocks" >&5 |
12520 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 12744 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
12521 | 12745 |
12522 xe_check_libs=" -lsocks " | 12746 xe_check_libs=" -lsocks " |
12523 cat > conftest.$ac_ext <<EOF | 12747 cat > conftest.$ac_ext <<EOF |
12524 #line 12525 "configure" | 12748 #line 12749 "configure" |
12525 #include "confdefs.h" | 12749 #include "confdefs.h" |
12526 /* Override any gcc2 internal prototype to avoid an error. */ | 12750 /* Override any gcc2 internal prototype to avoid an error. */ |
12527 /* We use char because int might match the return type of a gcc2 | 12751 /* We use char because int might match the return type of a gcc2 |
12528 builtin and then its argument prototype would still apply. */ | 12752 builtin and then its argument prototype would still apply. */ |
12529 char SOCKSinit(); | 12753 char SOCKSinit(); |
12530 | 12754 |
12531 int main() { | 12755 int main() { |
12532 SOCKSinit() | 12756 SOCKSinit() |
12533 ; return 0; } | 12757 ; return 0; } |
12534 EOF | 12758 EOF |
12535 if { (eval echo configure:12536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12759 if { (eval echo configure:12760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12536 rm -rf conftest* | 12760 rm -rf conftest* |
12537 eval "ac_cv_lib_$ac_lib_var=yes" | 12761 eval "ac_cv_lib_$ac_lib_var=yes" |
12538 else | 12762 else |
12539 echo "configure: failed program was:" >&5 | 12763 echo "configure: failed program was:" >&5 |
12540 cat conftest.$ac_ext >&5 | 12764 cat conftest.$ac_ext >&5 |
12585 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 12809 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
12586 fi | 12810 fi |
12587 | 12811 |
12588 if test "$with_modules" != "no"; then | 12812 if test "$with_modules" != "no"; then |
12589 echo "checking for module support" 1>&6 | 12813 echo "checking for module support" 1>&6 |
12590 echo "configure:12591: checking for module support" >&5 | 12814 echo "configure:12815: checking for module support" >&5 |
12591 | 12815 |
12592 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 12816 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
12593 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 12817 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
12594 echo "configure:12595: checking for dlfcn.h" >&5 | 12818 echo "configure:12819: checking for dlfcn.h" >&5 |
12595 | 12819 |
12596 cat > conftest.$ac_ext <<EOF | 12820 cat > conftest.$ac_ext <<EOF |
12597 #line 12598 "configure" | 12821 #line 12822 "configure" |
12598 #include "confdefs.h" | 12822 #include "confdefs.h" |
12599 #include <dlfcn.h> | 12823 #include <dlfcn.h> |
12600 EOF | 12824 EOF |
12601 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12825 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12602 { (eval echo configure:12603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12826 { (eval echo configure:12827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12603 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12827 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12604 if test -z "$ac_err"; then | 12828 if test -z "$ac_err"; then |
12605 rm -rf conftest* | 12829 rm -rf conftest* |
12606 eval "ac_cv_header_$ac_safe=yes" | 12830 eval "ac_cv_header_$ac_safe=yes" |
12607 else | 12831 else |
12615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 12839 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
12616 echo "$ac_t""yes" 1>&6 | 12840 echo "$ac_t""yes" 1>&6 |
12617 | 12841 |
12618 | 12842 |
12619 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 12843 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
12620 echo "configure:12621: checking for dlopen in -ldl" >&5 | 12844 echo "configure:12845: checking for dlopen in -ldl" >&5 |
12621 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 12845 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
12622 | 12846 |
12623 xe_check_libs=" -ldl " | 12847 xe_check_libs=" -ldl " |
12624 cat > conftest.$ac_ext <<EOF | 12848 cat > conftest.$ac_ext <<EOF |
12625 #line 12626 "configure" | 12849 #line 12850 "configure" |
12626 #include "confdefs.h" | 12850 #include "confdefs.h" |
12627 /* Override any gcc2 internal prototype to avoid an error. */ | 12851 /* Override any gcc2 internal prototype to avoid an error. */ |
12628 /* We use char because int might match the return type of a gcc2 | 12852 /* We use char because int might match the return type of a gcc2 |
12629 builtin and then its argument prototype would still apply. */ | 12853 builtin and then its argument prototype would still apply. */ |
12630 char dlopen(); | 12854 char dlopen(); |
12631 | 12855 |
12632 int main() { | 12856 int main() { |
12633 dlopen() | 12857 dlopen() |
12634 ; return 0; } | 12858 ; return 0; } |
12635 EOF | 12859 EOF |
12636 if { (eval echo configure:12637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12860 if { (eval echo configure:12861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12637 rm -rf conftest* | 12861 rm -rf conftest* |
12638 eval "ac_cv_lib_$ac_lib_var=yes" | 12862 eval "ac_cv_lib_$ac_lib_var=yes" |
12639 else | 12863 else |
12640 echo "configure: failed program was:" >&5 | 12864 echo "configure: failed program was:" >&5 |
12641 cat conftest.$ac_ext >&5 | 12865 cat conftest.$ac_ext >&5 |
12650 have_dl=yes libdl=dl | 12874 have_dl=yes libdl=dl |
12651 else | 12875 else |
12652 echo "$ac_t""no" 1>&6 | 12876 echo "$ac_t""no" 1>&6 |
12653 | 12877 |
12654 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 12878 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
12655 echo "configure:12656: checking for dlopen in -lc" >&5 | 12879 echo "configure:12880: checking for dlopen in -lc" >&5 |
12656 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` | 12880 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` |
12657 | 12881 |
12658 xe_check_libs=" -lc " | 12882 xe_check_libs=" -lc " |
12659 cat > conftest.$ac_ext <<EOF | 12883 cat > conftest.$ac_ext <<EOF |
12660 #line 12661 "configure" | 12884 #line 12885 "configure" |
12661 #include "confdefs.h" | 12885 #include "confdefs.h" |
12662 /* Override any gcc2 internal prototype to avoid an error. */ | 12886 /* Override any gcc2 internal prototype to avoid an error. */ |
12663 /* We use char because int might match the return type of a gcc2 | 12887 /* We use char because int might match the return type of a gcc2 |
12664 builtin and then its argument prototype would still apply. */ | 12888 builtin and then its argument prototype would still apply. */ |
12665 char dlopen(); | 12889 char dlopen(); |
12666 | 12890 |
12667 int main() { | 12891 int main() { |
12668 dlopen() | 12892 dlopen() |
12669 ; return 0; } | 12893 ; return 0; } |
12670 EOF | 12894 EOF |
12671 if { (eval echo configure:12672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12895 if { (eval echo configure:12896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12672 rm -rf conftest* | 12896 rm -rf conftest* |
12673 eval "ac_cv_lib_$ac_lib_var=yes" | 12897 eval "ac_cv_lib_$ac_lib_var=yes" |
12674 else | 12898 else |
12675 echo "configure: failed program was:" >&5 | 12899 echo "configure: failed program was:" >&5 |
12676 cat conftest.$ac_ext >&5 | 12900 cat conftest.$ac_ext >&5 |
12705 } | 12929 } |
12706 | 12930 |
12707 else | 12931 else |
12708 | 12932 |
12709 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 | 12933 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 |
12710 echo "configure:12711: checking for shl_load in -ldld" >&5 | 12934 echo "configure:12935: checking for shl_load in -ldld" >&5 |
12711 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` | 12935 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` |
12712 | 12936 |
12713 xe_check_libs=" -ldld " | 12937 xe_check_libs=" -ldld " |
12714 cat > conftest.$ac_ext <<EOF | 12938 cat > conftest.$ac_ext <<EOF |
12715 #line 12716 "configure" | 12939 #line 12940 "configure" |
12716 #include "confdefs.h" | 12940 #include "confdefs.h" |
12717 /* Override any gcc2 internal prototype to avoid an error. */ | 12941 /* Override any gcc2 internal prototype to avoid an error. */ |
12718 /* We use char because int might match the return type of a gcc2 | 12942 /* We use char because int might match the return type of a gcc2 |
12719 builtin and then its argument prototype would still apply. */ | 12943 builtin and then its argument prototype would still apply. */ |
12720 char shl_load(); | 12944 char shl_load(); |
12721 | 12945 |
12722 int main() { | 12946 int main() { |
12723 shl_load() | 12947 shl_load() |
12724 ; return 0; } | 12948 ; return 0; } |
12725 EOF | 12949 EOF |
12726 if { (eval echo configure:12727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12950 if { (eval echo configure:12951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12727 rm -rf conftest* | 12951 rm -rf conftest* |
12728 eval "ac_cv_lib_$ac_lib_var=yes" | 12952 eval "ac_cv_lib_$ac_lib_var=yes" |
12729 else | 12953 else |
12730 echo "configure: failed program was:" >&5 | 12954 echo "configure: failed program was:" >&5 |
12731 cat conftest.$ac_ext >&5 | 12955 cat conftest.$ac_ext >&5 |
12748 | 12972 |
12749 else | 12973 else |
12750 echo "$ac_t""no" 1>&6 | 12974 echo "$ac_t""no" 1>&6 |
12751 | 12975 |
12752 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 | 12976 echo $ac_n "checking for dld_init in -ldld""... $ac_c" 1>&6 |
12753 echo "configure:12754: checking for dld_init in -ldld" >&5 | 12977 echo "configure:12978: checking for dld_init in -ldld" >&5 |
12754 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` | 12978 ac_lib_var=`echo dld'_'dld_init | sed 'y%./+-%__p_%'` |
12755 | 12979 |
12756 xe_check_libs=" -ldld " | 12980 xe_check_libs=" -ldld " |
12757 cat > conftest.$ac_ext <<EOF | 12981 cat > conftest.$ac_ext <<EOF |
12758 #line 12759 "configure" | 12982 #line 12983 "configure" |
12759 #include "confdefs.h" | 12983 #include "confdefs.h" |
12760 /* Override any gcc2 internal prototype to avoid an error. */ | 12984 /* Override any gcc2 internal prototype to avoid an error. */ |
12761 /* We use char because int might match the return type of a gcc2 | 12985 /* We use char because int might match the return type of a gcc2 |
12762 builtin and then its argument prototype would still apply. */ | 12986 builtin and then its argument prototype would still apply. */ |
12763 char dld_init(); | 12987 char dld_init(); |
12764 | 12988 |
12765 int main() { | 12989 int main() { |
12766 dld_init() | 12990 dld_init() |
12767 ; return 0; } | 12991 ; return 0; } |
12768 EOF | 12992 EOF |
12769 if { (eval echo configure:12770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12993 if { (eval echo configure:12994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12770 rm -rf conftest* | 12994 rm -rf conftest* |
12771 eval "ac_cv_lib_$ac_lib_var=yes" | 12995 eval "ac_cv_lib_$ac_lib_var=yes" |
12772 else | 12996 else |
12773 echo "configure: failed program was:" >&5 | 12997 echo "configure: failed program was:" >&5 |
12774 cat conftest.$ac_ext >&5 | 12998 cat conftest.$ac_ext >&5 |
12809 ld_dynamic_link_flags= | 13033 ld_dynamic_link_flags= |
12810 xehost=$canonical | 13034 xehost=$canonical |
12811 xealias=$internal_configuration | 13035 xealias=$internal_configuration |
12812 | 13036 |
12813 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 13037 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
12814 echo "configure:12815: checking how to build dynamic libraries for ${xehost}" >&5 | 13038 echo "configure:13039: checking how to build dynamic libraries for ${xehost}" >&5 |
12815 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 13039 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
12816 case "$xehost" in | 13040 case "$xehost" in |
12817 *-*-linux-gnu*) ;; | 13041 *-*-linux-gnu*) ;; |
12818 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 13042 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
12819 esac | 13043 esac |
12837 # Now see if the compiler is really GCC. | 13061 # Now see if the compiler is really GCC. |
12838 if test "$GCC" = "yes"; then | 13062 if test "$GCC" = "yes"; then |
12839 XEGCC=yes | 13063 XEGCC=yes |
12840 else | 13064 else |
12841 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 13065 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
12842 echo "configure:12843: checking checking whether we are using GNU C" >&5 | 13066 echo "configure:13067: checking checking whether we are using GNU C" >&5 |
12843 cat > conftest.$ac_ext <<EOF | 13067 cat > conftest.$ac_ext <<EOF |
12844 #line 12845 "configure" | 13068 #line 13069 "configure" |
12845 #include "confdefs.h" | 13069 #include "confdefs.h" |
12846 | 13070 |
12847 #ifdef __GNUC__ | 13071 #ifdef __GNUC__ |
12848 yes; | 13072 yes; |
12849 #endif | 13073 #endif |
12861 | 13085 |
12862 echo "$ac_t""${XEGCC}" 1>&6 | 13086 echo "$ac_t""${XEGCC}" 1>&6 |
12863 fi | 13087 fi |
12864 | 13088 |
12865 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 13089 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
12866 echo "configure:12867: checking how to produce PIC code" >&5 | 13090 echo "configure:13091: checking how to produce PIC code" >&5 |
12867 wl= | 13091 wl= |
12868 | 13092 |
12869 can_build_shared=yes | 13093 can_build_shared=yes |
12870 if test "$XEGCC" = yes; then | 13094 if test "$XEGCC" = yes; then |
12871 wl='-Wl,' | 13095 wl='-Wl,' |
12954 if test -n "$dll_cflags"; then | 13178 if test -n "$dll_cflags"; then |
12955 echo "$ac_t""${dll_cflags}" 1>&6 | 13179 echo "$ac_t""${dll_cflags}" 1>&6 |
12956 | 13180 |
12957 # Check to make sure the dll_cflags actually works. | 13181 # Check to make sure the dll_cflags actually works. |
12958 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 13182 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
12959 echo "configure:12960: checking if PIC flag ${dll_cflags} really works" >&5 | 13183 echo "configure:13184: checking if PIC flag ${dll_cflags} really works" >&5 |
12960 save_CFLAGS="$CFLAGS" | 13184 save_CFLAGS="$CFLAGS" |
12961 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 13185 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
12962 cat > conftest.$ac_ext <<EOF | 13186 cat > conftest.$ac_ext <<EOF |
12963 #line 12964 "configure" | 13187 #line 13188 "configure" |
12964 #include "confdefs.h" | 13188 #include "confdefs.h" |
12965 | 13189 |
12966 int main() { | 13190 int main() { |
12967 int x=0; | 13191 int x=0; |
12968 ; return 0; } | 13192 ; return 0; } |
12969 EOF | 13193 EOF |
12970 if { (eval echo configure:12971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13194 if { (eval echo configure:13195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12971 rm -rf conftest* | 13195 rm -rf conftest* |
12972 | 13196 |
12973 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 13197 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
12974 # reports no error. So, we need to grep stderr for (Bundled). | 13198 # reports no error. So, we need to grep stderr for (Bundled). |
12975 if grep '(Bundled)' config.log >/dev/null; then | 13199 if grep '(Bundled)' config.log >/dev/null; then |
12996 if test "$can_build_shared" = "yes"; then | 13220 if test "$can_build_shared" = "yes"; then |
12997 cc_produces_so=no | 13221 cc_produces_so=no |
12998 xldf= | 13222 xldf= |
12999 xcldf= | 13223 xcldf= |
13000 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 13224 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
13001 echo "configure:13002: checking if C compiler can produce shared libraries" >&5 | 13225 echo "configure:13226: checking if C compiler can produce shared libraries" >&5 |
13002 if test "$XEGCC" = yes; then | 13226 if test "$XEGCC" = yes; then |
13003 xcldf="-shared" | 13227 xcldf="-shared" |
13004 xldf="-shared" | 13228 xldf="-shared" |
13005 else # Not using GCC | 13229 else # Not using GCC |
13006 case "$xehost_os" in | 13230 case "$xehost_os" in |
13047 LDFLAGS="$xcldf $LDFLAGS" | 13271 LDFLAGS="$xcldf $LDFLAGS" |
13048 LIBS= | 13272 LIBS= |
13049 xe_libs= | 13273 xe_libs= |
13050 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 13274 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
13051 cat > conftest.$ac_ext <<EOF | 13275 cat > conftest.$ac_ext <<EOF |
13052 #line 13053 "configure" | 13276 #line 13277 "configure" |
13053 #include "confdefs.h" | 13277 #include "confdefs.h" |
13054 | 13278 |
13055 int main() { | 13279 int main() { |
13056 int x=0; | 13280 int x=0; |
13057 ; return 0; } | 13281 ; return 0; } |
13058 EOF | 13282 EOF |
13059 if { (eval echo configure:13060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13283 if { (eval echo configure:13284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13060 rm -rf conftest* | 13284 rm -rf conftest* |
13061 cc_produces_so=yes | 13285 cc_produces_so=yes |
13062 else | 13286 else |
13063 echo "configure: failed program was:" >&5 | 13287 echo "configure: failed program was:" >&5 |
13064 cat conftest.$ac_ext >&5 | 13288 cat conftest.$ac_ext >&5 |
13079 if test -z "$LTLD"; then | 13303 if test -z "$LTLD"; then |
13080 ac_prog=ld | 13304 ac_prog=ld |
13081 if test "$XEGCC" = yes; then | 13305 if test "$XEGCC" = yes; then |
13082 # Check if gcc -print-prog-name=ld gives a path. | 13306 # Check if gcc -print-prog-name=ld gives a path. |
13083 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 13307 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
13084 echo "configure:13085: checking for ld used by GCC" >&5 | 13308 echo "configure:13309: checking for ld used by GCC" >&5 |
13085 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 13309 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
13086 case "$ac_prog" in | 13310 case "$ac_prog" in |
13087 # Accept absolute paths. | 13311 # Accept absolute paths. |
13088 /*) | 13312 /*) |
13089 if test -z "$LTLD"; then | 13313 if test -z "$LTLD"; then |
13104 with_gnu_ld=unknown | 13328 with_gnu_ld=unknown |
13105 ;; | 13329 ;; |
13106 esac | 13330 esac |
13107 else | 13331 else |
13108 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 13332 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
13109 echo "configure:13110: checking for GNU ld" >&5 | 13333 echo "configure:13334: checking for GNU ld" >&5 |
13110 fi | 13334 fi |
13111 | 13335 |
13112 if test -z "$LTLD"; then | 13336 if test -z "$LTLD"; then |
13113 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 13337 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
13114 for ac_dir in $PATH; do | 13338 for ac_dir in $PATH; do |
13142 | 13366 |
13143 ld_dynamic_link_flags= | 13367 ld_dynamic_link_flags= |
13144 | 13368 |
13145 # Check to see if it really is or isn't GNU ld. | 13369 # Check to see if it really is or isn't GNU ld. |
13146 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 13370 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
13147 echo "configure:13148: checking if the linker is GNU ld" >&5 | 13371 echo "configure:13372: checking if the linker is GNU ld" >&5 |
13148 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 13372 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
13149 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 13373 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
13150 xe_gnu_ld=yes | 13374 xe_gnu_ld=yes |
13151 else | 13375 else |
13152 xe_gnu_ld=no | 13376 xe_gnu_ld=no |
13165 | 13389 |
13166 if test "$cc_produces_so" = "yes"; then | 13390 if test "$cc_produces_so" = "yes"; then |
13167 dll_ld=$CC | 13391 dll_ld=$CC |
13168 dll_ldflags=$xcldf | 13392 dll_ldflags=$xcldf |
13169 can_build_shared=yes | 13393 can_build_shared=yes |
13394 ld_shlibs=yes | |
13170 else | 13395 else |
13171 # OK - only NOW do we futz about with ld. | 13396 # OK - only NOW do we futz about with ld. |
13172 # See if the linker supports building shared libraries. | 13397 # See if the linker supports building shared libraries. |
13173 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 13398 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
13174 echo "configure:13175: checking whether the linker supports shared libraries" >&5 | 13399 echo "configure:13400: checking whether the linker supports shared libraries" >&5 |
13175 dll_ld=$CC | 13400 dll_ld=$CC |
13176 dll_ldflags=$LDFLAGS | 13401 dll_ldflags=$LDFLAGS |
13177 ld_shlibs=yes | 13402 ld_shlibs=yes |
13178 can_build_shared=yes | 13403 can_build_shared=yes |
13179 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 13404 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
13384 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 13609 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
13385 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 13610 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
13386 for ac_func in dlerror _dlerror | 13611 for ac_func in dlerror _dlerror |
13387 do | 13612 do |
13388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13613 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13389 echo "configure:13390: checking for $ac_func" >&5 | 13614 echo "configure:13615: checking for $ac_func" >&5 |
13390 | 13615 |
13391 cat > conftest.$ac_ext <<EOF | 13616 cat > conftest.$ac_ext <<EOF |
13392 #line 13393 "configure" | 13617 #line 13618 "configure" |
13393 #include "confdefs.h" | 13618 #include "confdefs.h" |
13394 /* System header to define __stub macros and hopefully few prototypes, | 13619 /* System header to define __stub macros and hopefully few prototypes, |
13395 which can conflict with char $ac_func(); below. */ | 13620 which can conflict with char $ac_func(); below. */ |
13396 #include <assert.h> | 13621 #include <assert.h> |
13397 /* Override any gcc2 internal prototype to avoid an error. */ | 13622 /* Override any gcc2 internal prototype to avoid an error. */ |
13410 $ac_func(); | 13635 $ac_func(); |
13411 #endif | 13636 #endif |
13412 | 13637 |
13413 ; return 0; } | 13638 ; return 0; } |
13414 EOF | 13639 EOF |
13415 if { (eval echo configure:13416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13640 if { (eval echo configure:13641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13416 rm -rf conftest* | 13641 rm -rf conftest* |
13417 eval "ac_cv_func_$ac_func=yes" | 13642 eval "ac_cv_func_$ac_func=yes" |
13418 else | 13643 else |
13419 echo "configure: failed program was:" >&5 | 13644 echo "configure: failed program was:" >&5 |
13420 cat conftest.$ac_ext >&5 | 13645 cat conftest.$ac_ext >&5 |
13449 with_modules=no | 13674 with_modules=no |
13450 fi | 13675 fi |
13451 fi | 13676 fi |
13452 | 13677 |
13453 cat > conftest.$ac_ext <<EOF | 13678 cat > conftest.$ac_ext <<EOF |
13454 #line 13455 "configure" | 13679 #line 13680 "configure" |
13455 #include "confdefs.h" | 13680 #include "confdefs.h" |
13456 int main(int c,char *v[]){return 0;} | 13681 int main(int c,char *v[]){return 0;} |
13457 EOF | 13682 EOF |
13458 if { (eval echo configure:13459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13683 if { (eval echo configure:13684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13459 then | 13684 then |
13460 : | 13685 : |
13461 else | 13686 else |
13462 conftest_rc="$?" | 13687 conftest_rc="$?" |
13463 echo "configure: failed program was:" >&5 | 13688 echo "configure: failed program was:" >&5 |
14147 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | 14372 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
14148 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." | 14373 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." |
14149 | 14374 |
14150 test "$with_ldap" = yes && echo " Compiling in support for LDAP." | 14375 test "$with_ldap" = yes && echo " Compiling in support for LDAP." |
14151 | 14376 |
14377 if test "$with_postgresql" = yes; then | |
14378 echo " Compiling in support for PostgreSQL." | |
14379 if test "$with_postgresqlv7" = yes; then | |
14380 echo " Using PostgreSQL V7 bindings." | |
14381 fi | |
14382 fi | |
14152 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | 14383 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." |
14153 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." | 14384 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." |
14154 | 14385 |
14155 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | 14386 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." |
14156 test "$with_file_coding" = yes && echo " Compiling in File coding support." | 14387 test "$with_file_coding" = yes && echo " Compiling in File coding support." |
14209 echo " movemail will use \"$mail_locking\" for locking mail spool files." | 14440 echo " movemail will use \"$mail_locking\" for locking mail spool files." |
14210 test "$with_pop" = yes && echo " Using POP for mail access." | 14441 test "$with_pop" = yes && echo " Using POP for mail access." |
14211 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication." | 14442 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication." |
14212 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host." | 14443 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host." |
14213 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." | 14444 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." |
14214 test "$pdump" = yes && echo " Using the new portable dumper (wishful thinking)." | 14445 test "$pdump" = yes && echo " Using the new portable dumper." |
14215 test "$debug" = yes && echo " Compiling in extra code for debugging." | 14446 test "$debug" = yes && echo " Compiling in extra code for debugging." |
14216 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." | 14447 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." |
14217 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc" \ | 14448 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc" \ |
14218 != "no no no no no"; then | 14449 != "no no no no no"; then |
14219 echo " WARNING: ---------------------------------------------------------" | 14450 echo " WARNING: ---------------------------------------------------------" |