Mercurial > hg > xemacs-beta
comparison configure @ 1984:36760cdcb631
[xemacs-hg @ 2004-04-05 22:50:44 by james]
And one more commit because it still never does the top level for me.
author | james |
---|---|
date | Mon, 05 Apr 2004 22:50:51 +0000 |
parents | 02446ca6a05d |
children | 3432736e50ad |
comparison
equal
deleted
inserted
replaced
1983:9c872f33ecbe | 1984:36760cdcb631 |
---|---|
268 use_assertions="yes" | 268 use_assertions="yes" |
269 with_toolbars="" | 269 with_toolbars="" |
270 with_tty="" | 270 with_tty="" |
271 use_union_type="no" | 271 use_union_type="no" |
272 with_dnet="" | 272 with_dnet="" |
273 use_number_lib="no" | |
273 pdump="" | 274 pdump="" |
274 with_dragndrop_default="no" | 275 with_dragndrop_default="no" |
275 with_ipv6_cname="no" | 276 with_ipv6_cname="no" |
276 | 277 |
277 | 278 |
537 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | 538 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; |
538 esac | 539 esac |
539 eval "$opt=\"$val\"" | 540 eval "$opt=\"$val\"" |
540 ;; | 541 ;; |
541 | 542 |
543 "use_number_lib" ) | |
544 case "$val" in | |
545 gmp ) val=gmp ;; | |
546 mp ) val=mp ;; | |
547 * ) (echo "$progname: Usage error:" | |
548 echo " " "The \`--$optname' option must have one of these values: | |
549 \`gmp' or \`mp'." | |
550 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 ;; | |
551 esac | |
552 eval "$opt=\"$val\"" | |
553 ;; | |
554 | |
542 "error_checking" ) | 555 "error_checking" ) |
543 | 556 |
544 for x in `echo "$val" | sed -e 's/,/ /g'` ; do | 557 for x in `echo "$val" | sed -e 's/,/ /g'` ; do |
545 case "$x" in | 558 case "$x" in |
546 n | no | non | none ) new_default=no ;; | 559 n | no | non | none ) new_default=no ;; |
833 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 | 846 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 |
834 fi | 847 fi |
835 fi | 848 fi |
836 | 849 |
837 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 850 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
838 echo "configure:839: checking whether ln -s works" >&5 | 851 echo "configure:852: checking whether ln -s works" >&5 |
839 | 852 |
840 rm -f conftestdata | 853 rm -f conftestdata |
841 if ln -s X conftestdata 2>/dev/null | 854 if ln -s X conftestdata 2>/dev/null |
842 then | 855 then |
843 rm -f conftestdata | 856 rm -f conftestdata |
1119 } | 1132 } |
1120 | 1133 |
1121 | 1134 |
1122 | 1135 |
1123 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 | 1136 echo $ac_n "checking "host system type"""... $ac_c" 1>&6 |
1124 echo "configure:1125: checking "host system type"" >&5 | 1137 echo "configure:1138: checking "host system type"" >&5 |
1125 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` | 1138 internal_configuration=`echo $configuration | sed 's/-\(workshop\)//'` |
1126 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` | 1139 canonical=`${CONFIG_SHELL-/bin/sh} $srcdir/config.sub "$internal_configuration"` |
1127 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1140 configuration=`echo "$configuration" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1128 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` | 1141 canonical=`echo "$canonical" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` |
1129 echo "$ac_t""$configuration" 1>&6 | 1142 echo "$ac_t""$configuration" 1>&6 |
1657 xe_save_CFLAGS="$CFLAGS" | 1670 xe_save_CFLAGS="$CFLAGS" |
1658 | 1671 |
1659 # Extract the first word of "gcc", so it can be a program name with args. | 1672 # Extract the first word of "gcc", so it can be a program name with args. |
1660 set dummy gcc; ac_word=$2 | 1673 set dummy gcc; ac_word=$2 |
1661 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1674 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1662 echo "configure:1663: checking for $ac_word" >&5 | 1675 echo "configure:1676: checking for $ac_word" >&5 |
1663 | 1676 |
1664 if test -n "$CC"; then | 1677 if test -n "$CC"; then |
1665 ac_cv_prog_CC="$CC" # Let the user override the test. | 1678 ac_cv_prog_CC="$CC" # Let the user override the test. |
1666 else | 1679 else |
1667 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1680 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1684 | 1697 |
1685 if test -z "$CC"; then | 1698 if test -z "$CC"; then |
1686 # Extract the first word of "cc", so it can be a program name with args. | 1699 # Extract the first word of "cc", so it can be a program name with args. |
1687 set dummy cc; ac_word=$2 | 1700 set dummy cc; ac_word=$2 |
1688 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1701 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1689 echo "configure:1690: checking for $ac_word" >&5 | 1702 echo "configure:1703: checking for $ac_word" >&5 |
1690 | 1703 |
1691 if test -n "$CC"; then | 1704 if test -n "$CC"; then |
1692 ac_cv_prog_CC="$CC" # Let the user override the test. | 1705 ac_cv_prog_CC="$CC" # Let the user override the test. |
1693 else | 1706 else |
1694 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1707 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1732 case "`uname -s`" in | 1745 case "`uname -s`" in |
1733 *win32* | *WIN32*) | 1746 *win32* | *WIN32*) |
1734 # Extract the first word of "cl", so it can be a program name with args. | 1747 # Extract the first word of "cl", so it can be a program name with args. |
1735 set dummy cl; ac_word=$2 | 1748 set dummy cl; ac_word=$2 |
1736 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1749 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1737 echo "configure:1738: checking for $ac_word" >&5 | 1750 echo "configure:1751: checking for $ac_word" >&5 |
1738 | 1751 |
1739 if test -n "$CC"; then | 1752 if test -n "$CC"; then |
1740 ac_cv_prog_CC="$CC" # Let the user override the test. | 1753 ac_cv_prog_CC="$CC" # Let the user override the test. |
1741 else | 1754 else |
1742 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1755 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1761 fi | 1774 fi |
1762 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1775 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1763 fi | 1776 fi |
1764 | 1777 |
1765 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1778 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1766 echo "configure:1767: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1779 echo "configure:1780: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1767 | 1780 |
1768 ac_ext=c | 1781 ac_ext=c |
1769 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1782 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1770 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1783 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1771 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1784 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1774 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 1787 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1775 cross_compiling=no | 1788 cross_compiling=no |
1776 | 1789 |
1777 cat > conftest.$ac_ext << EOF | 1790 cat > conftest.$ac_ext << EOF |
1778 | 1791 |
1779 #line 1780 "configure" | 1792 #line 1793 "configure" |
1780 #include "confdefs.h" | 1793 #include "confdefs.h" |
1781 | 1794 |
1782 main(){return(0);} | 1795 main(){return(0);} |
1783 EOF | 1796 EOF |
1784 if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1797 if { (eval echo configure:1798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1785 ac_cv_prog_cc_works=yes | 1798 ac_cv_prog_cc_works=yes |
1786 # If we can't run a trivial program, we are probably using a cross compiler. | 1799 # If we can't run a trivial program, we are probably using a cross compiler. |
1787 if (./conftest; exit) 2>/dev/null; then | 1800 if (./conftest; exit) 2>/dev/null; then |
1788 ac_cv_prog_cc_cross=no | 1801 ac_cv_prog_cc_cross=no |
1789 else | 1802 else |
1807 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1820 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1808 if test $ac_cv_prog_cc_works = no; then | 1821 if test $ac_cv_prog_cc_works = no; then |
1809 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1822 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1810 fi | 1823 fi |
1811 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1824 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1812 echo "configure:1813: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1825 echo "configure:1826: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1813 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1826 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1814 cross_compiling=$ac_cv_prog_cc_cross | 1827 cross_compiling=$ac_cv_prog_cc_cross |
1815 | 1828 |
1816 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1829 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1817 echo "configure:1818: checking whether we are using GNU C" >&5 | 1830 echo "configure:1831: checking whether we are using GNU C" >&5 |
1818 | 1831 |
1819 cat > conftest.c <<EOF | 1832 cat > conftest.c <<EOF |
1820 #ifdef __GNUC__ | 1833 #ifdef __GNUC__ |
1821 yes; | 1834 yes; |
1822 #endif | 1835 #endif |
1823 EOF | 1836 EOF |
1824 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1837 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1825 ac_cv_prog_gcc=yes | 1838 ac_cv_prog_gcc=yes |
1826 else | 1839 else |
1827 ac_cv_prog_gcc=no | 1840 ac_cv_prog_gcc=no |
1828 fi | 1841 fi |
1829 | 1842 |
1837 | 1850 |
1838 ac_test_CFLAGS="${CFLAGS+set}" | 1851 ac_test_CFLAGS="${CFLAGS+set}" |
1839 ac_save_CFLAGS="$CFLAGS" | 1852 ac_save_CFLAGS="$CFLAGS" |
1840 CFLAGS= | 1853 CFLAGS= |
1841 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1854 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1842 echo "configure:1843: checking whether ${CC-cc} accepts -g" >&5 | 1855 echo "configure:1856: checking whether ${CC-cc} accepts -g" >&5 |
1843 | 1856 |
1844 echo 'void f(){}' > conftest.c | 1857 echo 'void f(){}' > conftest.c |
1845 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1858 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1846 ac_cv_prog_cc_g=yes | 1859 ac_cv_prog_cc_g=yes |
1847 else | 1860 else |
1870 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then | 1883 if test "$with_gcc" = "no" -a "$GCC" = "yes"; then |
1871 CC=${NON_GNU_CC-cc} | 1884 CC=${NON_GNU_CC-cc} |
1872 # Extract the first word of "gcc", so it can be a program name with args. | 1885 # Extract the first word of "gcc", so it can be a program name with args. |
1873 set dummy gcc; ac_word=$2 | 1886 set dummy gcc; ac_word=$2 |
1874 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1887 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1875 echo "configure:1876: checking for $ac_word" >&5 | 1888 echo "configure:1889: checking for $ac_word" >&5 |
1876 | 1889 |
1877 if test -n "$CC"; then | 1890 if test -n "$CC"; then |
1878 ac_cv_prog_CC="$CC" # Let the user override the test. | 1891 ac_cv_prog_CC="$CC" # Let the user override the test. |
1879 else | 1892 else |
1880 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1893 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1897 | 1910 |
1898 if test -z "$CC"; then | 1911 if test -z "$CC"; then |
1899 # Extract the first word of "cc", so it can be a program name with args. | 1912 # Extract the first word of "cc", so it can be a program name with args. |
1900 set dummy cc; ac_word=$2 | 1913 set dummy cc; ac_word=$2 |
1901 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1914 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1902 echo "configure:1903: checking for $ac_word" >&5 | 1915 echo "configure:1916: checking for $ac_word" >&5 |
1903 | 1916 |
1904 if test -n "$CC"; then | 1917 if test -n "$CC"; then |
1905 ac_cv_prog_CC="$CC" # Let the user override the test. | 1918 ac_cv_prog_CC="$CC" # Let the user override the test. |
1906 else | 1919 else |
1907 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1920 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1945 case "`uname -s`" in | 1958 case "`uname -s`" in |
1946 *win32* | *WIN32*) | 1959 *win32* | *WIN32*) |
1947 # Extract the first word of "cl", so it can be a program name with args. | 1960 # Extract the first word of "cl", so it can be a program name with args. |
1948 set dummy cl; ac_word=$2 | 1961 set dummy cl; ac_word=$2 |
1949 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1962 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1950 echo "configure:1951: checking for $ac_word" >&5 | 1963 echo "configure:1964: checking for $ac_word" >&5 |
1951 | 1964 |
1952 if test -n "$CC"; then | 1965 if test -n "$CC"; then |
1953 ac_cv_prog_CC="$CC" # Let the user override the test. | 1966 ac_cv_prog_CC="$CC" # Let the user override the test. |
1954 else | 1967 else |
1955 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 1968 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1974 fi | 1987 fi |
1975 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1988 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1976 fi | 1989 fi |
1977 | 1990 |
1978 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1991 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1979 echo "configure:1980: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1992 echo "configure:1993: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1980 | 1993 |
1981 ac_ext=c | 1994 ac_ext=c |
1982 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 1995 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
1983 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 1996 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
1984 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 1997 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
1987 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2000 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
1988 cross_compiling=no | 2001 cross_compiling=no |
1989 | 2002 |
1990 cat > conftest.$ac_ext << EOF | 2003 cat > conftest.$ac_ext << EOF |
1991 | 2004 |
1992 #line 1993 "configure" | 2005 #line 2006 "configure" |
1993 #include "confdefs.h" | 2006 #include "confdefs.h" |
1994 | 2007 |
1995 main(){return(0);} | 2008 main(){return(0);} |
1996 EOF | 2009 EOF |
1997 if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2010 if { (eval echo configure:2011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1998 ac_cv_prog_cc_works=yes | 2011 ac_cv_prog_cc_works=yes |
1999 # If we can't run a trivial program, we are probably using a cross compiler. | 2012 # If we can't run a trivial program, we are probably using a cross compiler. |
2000 if (./conftest; exit) 2>/dev/null; then | 2013 if (./conftest; exit) 2>/dev/null; then |
2001 ac_cv_prog_cc_cross=no | 2014 ac_cv_prog_cc_cross=no |
2002 else | 2015 else |
2020 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2033 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2021 if test $ac_cv_prog_cc_works = no; then | 2034 if test $ac_cv_prog_cc_works = no; then |
2022 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2035 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2023 fi | 2036 fi |
2024 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2037 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2025 echo "configure:2026: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2038 echo "configure:2039: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2026 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2039 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2027 cross_compiling=$ac_cv_prog_cc_cross | 2040 cross_compiling=$ac_cv_prog_cc_cross |
2028 | 2041 |
2029 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2042 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2030 echo "configure:2031: checking whether we are using GNU C" >&5 | 2043 echo "configure:2044: checking whether we are using GNU C" >&5 |
2031 | 2044 |
2032 cat > conftest.c <<EOF | 2045 cat > conftest.c <<EOF |
2033 #ifdef __GNUC__ | 2046 #ifdef __GNUC__ |
2034 yes; | 2047 yes; |
2035 #endif | 2048 #endif |
2036 EOF | 2049 EOF |
2037 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2050 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2038 ac_cv_prog_gcc=yes | 2051 ac_cv_prog_gcc=yes |
2039 else | 2052 else |
2040 ac_cv_prog_gcc=no | 2053 ac_cv_prog_gcc=no |
2041 fi | 2054 fi |
2042 | 2055 |
2050 | 2063 |
2051 ac_test_CFLAGS="${CFLAGS+set}" | 2064 ac_test_CFLAGS="${CFLAGS+set}" |
2052 ac_save_CFLAGS="$CFLAGS" | 2065 ac_save_CFLAGS="$CFLAGS" |
2053 CFLAGS= | 2066 CFLAGS= |
2054 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2067 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2055 echo "configure:2056: checking whether ${CC-cc} accepts -g" >&5 | 2068 echo "configure:2069: checking whether ${CC-cc} accepts -g" >&5 |
2056 | 2069 |
2057 echo 'void f(){}' > conftest.c | 2070 echo 'void f(){}' > conftest.c |
2058 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2071 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2059 ac_cv_prog_cc_g=yes | 2072 ac_cv_prog_cc_g=yes |
2060 else | 2073 else |
2083 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then | 2096 elif test "$with_gcc" = "yes" -a "$GCC" != "yes" ; then |
2084 CC=gcc | 2097 CC=gcc |
2085 # Extract the first word of "gcc", so it can be a program name with args. | 2098 # Extract the first word of "gcc", so it can be a program name with args. |
2086 set dummy gcc; ac_word=$2 | 2099 set dummy gcc; ac_word=$2 |
2087 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2100 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2088 echo "configure:2089: checking for $ac_word" >&5 | 2101 echo "configure:2102: checking for $ac_word" >&5 |
2089 | 2102 |
2090 if test -n "$CC"; then | 2103 if test -n "$CC"; then |
2091 ac_cv_prog_CC="$CC" # Let the user override the test. | 2104 ac_cv_prog_CC="$CC" # Let the user override the test. |
2092 else | 2105 else |
2093 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2106 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2110 | 2123 |
2111 if test -z "$CC"; then | 2124 if test -z "$CC"; then |
2112 # Extract the first word of "cc", so it can be a program name with args. | 2125 # Extract the first word of "cc", so it can be a program name with args. |
2113 set dummy cc; ac_word=$2 | 2126 set dummy cc; ac_word=$2 |
2114 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2127 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2115 echo "configure:2116: checking for $ac_word" >&5 | 2128 echo "configure:2129: checking for $ac_word" >&5 |
2116 | 2129 |
2117 if test -n "$CC"; then | 2130 if test -n "$CC"; then |
2118 ac_cv_prog_CC="$CC" # Let the user override the test. | 2131 ac_cv_prog_CC="$CC" # Let the user override the test. |
2119 else | 2132 else |
2120 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2133 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2158 case "`uname -s`" in | 2171 case "`uname -s`" in |
2159 *win32* | *WIN32*) | 2172 *win32* | *WIN32*) |
2160 # Extract the first word of "cl", so it can be a program name with args. | 2173 # Extract the first word of "cl", so it can be a program name with args. |
2161 set dummy cl; ac_word=$2 | 2174 set dummy cl; ac_word=$2 |
2162 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2175 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2163 echo "configure:2164: checking for $ac_word" >&5 | 2176 echo "configure:2177: checking for $ac_word" >&5 |
2164 | 2177 |
2165 if test -n "$CC"; then | 2178 if test -n "$CC"; then |
2166 ac_cv_prog_CC="$CC" # Let the user override the test. | 2179 ac_cv_prog_CC="$CC" # Let the user override the test. |
2167 else | 2180 else |
2168 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 2181 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2187 fi | 2200 fi |
2188 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 2201 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2189 fi | 2202 fi |
2190 | 2203 |
2191 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 2204 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2192 echo "configure:2193: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 2205 echo "configure:2206: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2193 | 2206 |
2194 ac_ext=c | 2207 ac_ext=c |
2195 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' | 2208 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' |
2196 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' | 2209 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' |
2197 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' | 2210 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard' |
2200 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 2213 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
2201 cross_compiling=no | 2214 cross_compiling=no |
2202 | 2215 |
2203 cat > conftest.$ac_ext << EOF | 2216 cat > conftest.$ac_ext << EOF |
2204 | 2217 |
2205 #line 2206 "configure" | 2218 #line 2219 "configure" |
2206 #include "confdefs.h" | 2219 #include "confdefs.h" |
2207 | 2220 |
2208 main(){return(0);} | 2221 main(){return(0);} |
2209 EOF | 2222 EOF |
2210 if { (eval echo configure:2211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2223 if { (eval echo configure:2224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2211 ac_cv_prog_cc_works=yes | 2224 ac_cv_prog_cc_works=yes |
2212 # If we can't run a trivial program, we are probably using a cross compiler. | 2225 # If we can't run a trivial program, we are probably using a cross compiler. |
2213 if (./conftest; exit) 2>/dev/null; then | 2226 if (./conftest; exit) 2>/dev/null; then |
2214 ac_cv_prog_cc_cross=no | 2227 ac_cv_prog_cc_cross=no |
2215 else | 2228 else |
2233 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 2246 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2234 if test $ac_cv_prog_cc_works = no; then | 2247 if test $ac_cv_prog_cc_works = no; then |
2235 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 2248 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2236 fi | 2249 fi |
2237 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 2250 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2238 echo "configure:2239: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2251 echo "configure:2252: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2239 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 2252 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2240 cross_compiling=$ac_cv_prog_cc_cross | 2253 cross_compiling=$ac_cv_prog_cc_cross |
2241 | 2254 |
2242 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2255 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2243 echo "configure:2244: checking whether we are using GNU C" >&5 | 2256 echo "configure:2257: checking whether we are using GNU C" >&5 |
2244 | 2257 |
2245 cat > conftest.c <<EOF | 2258 cat > conftest.c <<EOF |
2246 #ifdef __GNUC__ | 2259 #ifdef __GNUC__ |
2247 yes; | 2260 yes; |
2248 #endif | 2261 #endif |
2249 EOF | 2262 EOF |
2250 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2263 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2264: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2251 ac_cv_prog_gcc=yes | 2264 ac_cv_prog_gcc=yes |
2252 else | 2265 else |
2253 ac_cv_prog_gcc=no | 2266 ac_cv_prog_gcc=no |
2254 fi | 2267 fi |
2255 | 2268 |
2263 | 2276 |
2264 ac_test_CFLAGS="${CFLAGS+set}" | 2277 ac_test_CFLAGS="${CFLAGS+set}" |
2265 ac_save_CFLAGS="$CFLAGS" | 2278 ac_save_CFLAGS="$CFLAGS" |
2266 CFLAGS= | 2279 CFLAGS= |
2267 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2280 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2268 echo "configure:2269: checking whether ${CC-cc} accepts -g" >&5 | 2281 echo "configure:2282: checking whether ${CC-cc} accepts -g" >&5 |
2269 | 2282 |
2270 echo 'void f(){}' > conftest.c | 2283 echo 'void f(){}' > conftest.c |
2271 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 2284 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2272 ac_cv_prog_cc_g=yes | 2285 ac_cv_prog_cc_g=yes |
2273 else | 2286 else |
2296 fi | 2309 fi |
2297 CFLAGS="$xe_save_CFLAGS" | 2310 CFLAGS="$xe_save_CFLAGS" |
2298 | 2311 |
2299 if test "$GCC" = "yes"; then | 2312 if test "$GCC" = "yes"; then |
2300 cat > conftest.$ac_ext <<EOF | 2313 cat > conftest.$ac_ext <<EOF |
2301 #line 2302 "configure" | 2314 #line 2315 "configure" |
2302 #include "confdefs.h" | 2315 #include "confdefs.h" |
2303 int main () { | 2316 int main () { |
2304 #if __GNUC__ >= 3 | 2317 #if __GNUC__ >= 3 |
2305 return 11; | 2318 return 11; |
2306 #else | 2319 #else |
2307 return 0; | 2320 return 0; |
2308 #endif | 2321 #endif |
2309 } | 2322 } |
2310 EOF | 2323 EOF |
2311 if { (eval echo configure:2312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2324 if { (eval echo configure:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2312 then | 2325 then |
2313 : | 2326 : |
2314 else | 2327 else |
2315 conftest_rc="$?" | 2328 conftest_rc="$?" |
2316 echo "configure: failed program was:" >&5 | 2329 echo "configure: failed program was:" >&5 |
2332 test -n "$CPP" -a -d "$CPP" && CPP= | 2345 test -n "$CPP" -a -d "$CPP" && CPP= |
2333 | 2346 |
2334 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" | 2347 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" |
2335 | 2348 |
2336 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2349 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2337 echo "configure:2338: checking how to run the C preprocessor" >&5 | 2350 echo "configure:2351: checking how to run the C preprocessor" >&5 |
2338 # On Suns, sometimes $CPP names a directory. | 2351 # On Suns, sometimes $CPP names a directory. |
2339 if test -n "$CPP" && test -d "$CPP"; then | 2352 if test -n "$CPP" && test -d "$CPP"; then |
2340 CPP= | 2353 CPP= |
2341 fi | 2354 fi |
2342 if test -z "$CPP"; then | 2355 if test -z "$CPP"; then |
2345 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2358 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2346 CPP="${CC-cc} -E" | 2359 CPP="${CC-cc} -E" |
2347 # On the NeXT, cc -E runs the code through the compiler's parser, | 2360 # On the NeXT, cc -E runs the code through the compiler's parser, |
2348 # not just through cpp. | 2361 # not just through cpp. |
2349 cat > conftest.$ac_ext <<EOF | 2362 cat > conftest.$ac_ext <<EOF |
2350 #line 2351 "configure" | 2363 #line 2364 "configure" |
2351 #include "confdefs.h" | 2364 #include "confdefs.h" |
2352 #include <assert.h> | 2365 #include <assert.h> |
2353 Syntax Error | 2366 Syntax Error |
2354 EOF | 2367 EOF |
2355 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2368 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2356 { (eval echo configure:2357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2369 { (eval echo configure:2370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2370 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2358 if test -z "$ac_err"; then | 2371 if test -z "$ac_err"; then |
2359 : | 2372 : |
2360 else | 2373 else |
2361 echo "$ac_err" >&5 | 2374 echo "$ac_err" >&5 |
2362 echo "configure: failed program was:" >&5 | 2375 echo "configure: failed program was:" >&5 |
2363 cat conftest.$ac_ext >&5 | 2376 cat conftest.$ac_ext >&5 |
2364 rm -rf conftest* | 2377 rm -rf conftest* |
2365 CPP="${CC-cc} -E -traditional-cpp" | 2378 CPP="${CC-cc} -E -traditional-cpp" |
2366 cat > conftest.$ac_ext <<EOF | 2379 cat > conftest.$ac_ext <<EOF |
2367 #line 2368 "configure" | 2380 #line 2381 "configure" |
2368 #include "confdefs.h" | 2381 #include "confdefs.h" |
2369 #include <assert.h> | 2382 #include <assert.h> |
2370 Syntax Error | 2383 Syntax Error |
2371 EOF | 2384 EOF |
2372 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2373 { (eval echo configure:2374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2386 { (eval echo configure:2387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2375 if test -z "$ac_err"; then | 2388 if test -z "$ac_err"; then |
2376 : | 2389 : |
2377 else | 2390 else |
2378 echo "$ac_err" >&5 | 2391 echo "$ac_err" >&5 |
2379 echo "configure: failed program was:" >&5 | 2392 echo "configure: failed program was:" >&5 |
2380 cat conftest.$ac_ext >&5 | 2393 cat conftest.$ac_ext >&5 |
2381 rm -rf conftest* | 2394 rm -rf conftest* |
2382 CPP="${CC-cc} -nologo -E" | 2395 CPP="${CC-cc} -nologo -E" |
2383 cat > conftest.$ac_ext <<EOF | 2396 cat > conftest.$ac_ext <<EOF |
2384 #line 2385 "configure" | 2397 #line 2398 "configure" |
2385 #include "confdefs.h" | 2398 #include "confdefs.h" |
2386 #include <assert.h> | 2399 #include <assert.h> |
2387 Syntax Error | 2400 Syntax Error |
2388 EOF | 2401 EOF |
2389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2390 { (eval echo configure:2391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2403 { (eval echo configure:2404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2392 if test -z "$ac_err"; then | 2405 if test -z "$ac_err"; then |
2393 : | 2406 : |
2394 else | 2407 else |
2395 echo "$ac_err" >&5 | 2408 echo "$ac_err" >&5 |
2411 echo "$ac_t""$CPP" 1>&6 | 2424 echo "$ac_t""$CPP" 1>&6 |
2412 | 2425 |
2413 | 2426 |
2414 | 2427 |
2415 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2428 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2416 echo "configure:2417: checking for AIX" >&5 | 2429 echo "configure:2430: checking for AIX" >&5 |
2417 cat > conftest.$ac_ext <<EOF | 2430 cat > conftest.$ac_ext <<EOF |
2418 #line 2419 "configure" | 2431 #line 2432 "configure" |
2419 #include "confdefs.h" | 2432 #include "confdefs.h" |
2420 #ifdef _AIX | 2433 #ifdef _AIX |
2421 yes | 2434 yes |
2422 #endif | 2435 #endif |
2423 | 2436 |
2440 rm -f conftest* | 2453 rm -f conftest* |
2441 | 2454 |
2442 | 2455 |
2443 | 2456 |
2444 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 | 2457 echo $ac_n "checking for GNU libc""... $ac_c" 1>&6 |
2445 echo "configure:2446: checking for GNU libc" >&5 | 2458 echo "configure:2459: checking for GNU libc" >&5 |
2446 cat > conftest.$ac_ext <<EOF | 2459 cat > conftest.$ac_ext <<EOF |
2447 #line 2448 "configure" | 2460 #line 2461 "configure" |
2448 #include "confdefs.h" | 2461 #include "confdefs.h" |
2449 #include <features.h> | 2462 #include <features.h> |
2450 int main() { | 2463 int main() { |
2451 | 2464 |
2452 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 2465 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
2454 ******* ======= ******** &&&&&&&& | 2467 ******* ======= ******** &&&&&&&& |
2455 #endif | 2468 #endif |
2456 | 2469 |
2457 ; return 0; } | 2470 ; return 0; } |
2458 EOF | 2471 EOF |
2459 if { (eval echo configure:2460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2472 if { (eval echo configure:2473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2460 rm -rf conftest* | 2473 rm -rf conftest* |
2461 have_glibc=yes | 2474 have_glibc=yes |
2462 else | 2475 else |
2463 echo "configure: failed program was:" >&5 | 2476 echo "configure: failed program was:" >&5 |
2464 cat conftest.$ac_ext >&5 | 2477 cat conftest.$ac_ext >&5 |
2549 | 2562 |
2550 ;; | 2563 ;; |
2551 esac | 2564 esac |
2552 | 2565 |
2553 cat > conftest.$ac_ext <<EOF | 2566 cat > conftest.$ac_ext <<EOF |
2554 #line 2555 "configure" | 2567 #line 2568 "configure" |
2555 #include "confdefs.h" | 2568 #include "confdefs.h" |
2556 int main () { | 2569 int main () { |
2557 #if defined __SUNPRO_C | 2570 #if defined __SUNPRO_C |
2558 return 11; | 2571 return 11; |
2559 #elif defined __DECC | 2572 #elif defined __DECC |
2565 #else | 2578 #else |
2566 return 0; | 2579 return 0; |
2567 #endif | 2580 #endif |
2568 } | 2581 } |
2569 EOF | 2582 EOF |
2570 if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 2583 if { (eval echo configure:2584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
2571 then | 2584 then |
2572 : | 2585 : |
2573 else | 2586 else |
2574 conftest_rc="$?" | 2587 conftest_rc="$?" |
2575 echo "configure: failed program was:" >&5 | 2588 echo "configure: failed program was:" >&5 |
2819 | 2832 |
2820 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi | 2833 test "$__DECC" = "yes" && c_switch_site="$c_switch_site -std1" && if test "$extra_verbose" = "yes"; then echo " Appending \"-std1\" to \$c_switch_site"; fi |
2821 | 2834 |
2822 if test "$__USLC__" = yes; then | 2835 if test "$__USLC__" = yes; then |
2823 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 | 2836 echo $ac_n "checking for whether the -Kalloca compiler flag is needed""... $ac_c" 1>&6 |
2824 echo "configure:2825: checking for whether the -Kalloca compiler flag is needed" >&5 | 2837 echo "configure:2838: checking for whether the -Kalloca compiler flag is needed" >&5 |
2825 need_kalloca=no | 2838 need_kalloca=no |
2826 cat > conftest.$ac_ext <<EOF | 2839 cat > conftest.$ac_ext <<EOF |
2827 #line 2828 "configure" | 2840 #line 2841 "configure" |
2828 #include "confdefs.h" | 2841 #include "confdefs.h" |
2829 | 2842 |
2830 int main() { | 2843 int main() { |
2831 void *x = alloca(4); | 2844 void *x = alloca(4); |
2832 ; return 0; } | 2845 ; return 0; } |
2833 EOF | 2846 EOF |
2834 if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2847 if { (eval echo configure:2848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2835 rm -rf conftest* | 2848 rm -rf conftest* |
2836 : | 2849 : |
2837 else | 2850 else |
2838 echo "configure: failed program was:" >&5 | 2851 echo "configure: failed program was:" >&5 |
2839 cat conftest.$ac_ext >&5 | 2852 cat conftest.$ac_ext >&5 |
2840 rm -rf conftest* | 2853 rm -rf conftest* |
2841 | 2854 |
2842 xe_save_c_switch_system="$c_switch_system" | 2855 xe_save_c_switch_system="$c_switch_system" |
2843 c_switch_system="$c_switch_system -Kalloca" | 2856 c_switch_system="$c_switch_system -Kalloca" |
2844 cat > conftest.$ac_ext <<EOF | 2857 cat > conftest.$ac_ext <<EOF |
2845 #line 2846 "configure" | 2858 #line 2859 "configure" |
2846 #include "confdefs.h" | 2859 #include "confdefs.h" |
2847 | 2860 |
2848 int main() { | 2861 int main() { |
2849 void *x = alloca(4); | 2862 void *x = alloca(4); |
2850 ; return 0; } | 2863 ; return 0; } |
2851 EOF | 2864 EOF |
2852 if { (eval echo configure:2853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2865 if { (eval echo configure:2866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2853 rm -rf conftest* | 2866 rm -rf conftest* |
2854 need_kalloca=yes | 2867 need_kalloca=yes |
2855 else | 2868 else |
2856 echo "configure: failed program was:" >&5 | 2869 echo "configure: failed program was:" >&5 |
2857 cat conftest.$ac_ext >&5 | 2870 cat conftest.$ac_ext >&5 |
2926 XE_CFLAGS="$xe_cflags_warning $CFLAGS" | 2939 XE_CFLAGS="$xe_cflags_warning $CFLAGS" |
2927 CFLAGS="$cflags_warning $CFLAGS" | 2940 CFLAGS="$cflags_warning $CFLAGS" |
2928 | 2941 |
2929 if test "$GCC" = "yes"; then | 2942 if test "$GCC" = "yes"; then |
2930 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 | 2943 echo $ac_n "checking for buggy gcc versions""... $ac_c" 1>&6 |
2931 echo "configure:2932: checking for buggy gcc versions" >&5 | 2944 echo "configure:2945: checking for buggy gcc versions" >&5 |
2932 GCC_VERSION=`$CC --version` | 2945 GCC_VERSION=`$CC --version` |
2933 case `uname -s`:`uname -m`:$GCC_VERSION in | 2946 case `uname -s`:`uname -m`:$GCC_VERSION in |
2934 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) | 2947 *:sun4*:2.8.1|*:sun4*:egcs-2.90.*) |
2935 case "$CFLAGS" in | 2948 case "$CFLAGS" in |
2936 *-O2*|*-O3*) | 2949 *-O2*|*-O3*) |
2984 echo "$ac_t""no" 1>&6 | 2997 echo "$ac_t""no" 1>&6 |
2985 fi | 2998 fi |
2986 | 2999 |
2987 if test "$pdump" != "yes"; then | 3000 if test "$pdump" != "yes"; then |
2988 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 | 3001 echo $ac_n "checking for \"-z nocombreloc\" linker flag""... $ac_c" 1>&6 |
2989 echo "configure:2990: checking for \"-z nocombreloc\" linker flag" >&5 | 3002 echo "configure:3003: checking for \"-z nocombreloc\" linker flag" >&5 |
2990 case "`ld --help 2>&1`" in | 3003 case "`ld --help 2>&1`" in |
2991 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 | 3004 *-z\ nocombreloc* ) echo "$ac_t""yes" 1>&6 |
2992 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; | 3005 ld_switch_site="-z nocombreloc $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z nocombreloc\" to \$ld_switch_site"; fi ;; |
2993 *) echo "$ac_t""no" 1>&6 ;; | 3006 *) echo "$ac_t""no" 1>&6 ;; |
2994 esac | 3007 esac |
3073 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then | 3086 test "$pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$extra_verbose" = "yes"; then |
3074 echo " xemacs will be linked with \"dumper.o\"" | 3087 echo " xemacs will be linked with \"dumper.o\"" |
3075 fi | 3088 fi |
3076 | 3089 |
3077 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 | 3090 echo $ac_n "checking for dynodump""... $ac_c" 1>&6 |
3078 echo "configure:3079: checking for dynodump" >&5 | 3091 echo "configure:3092: checking for dynodump" >&5 |
3079 if test "$unexec" != "unexsol2.o"; then | 3092 if test "$unexec" != "unexsol2.o"; then |
3080 echo "$ac_t""no" 1>&6 | 3093 echo "$ac_t""no" 1>&6 |
3081 else | 3094 else |
3082 echo "$ac_t""yes" 1>&6 | 3095 echo "$ac_t""yes" 1>&6 |
3083 { test "$extra_verbose" = "yes" && cat << \EOF | 3096 { test "$extra_verbose" = "yes" && cat << \EOF |
3111 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do | 3124 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do |
3112 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi | 3125 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi |
3113 done | 3126 done |
3114 | 3127 |
3115 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 | 3128 echo $ac_n "checking for terminateAndUnload in -lC""... $ac_c" 1>&6 |
3116 echo "configure:3117: checking for terminateAndUnload in -lC" >&5 | 3129 echo "configure:3130: checking for terminateAndUnload in -lC" >&5 |
3117 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` | 3130 ac_lib_var=`echo C'_'terminateAndUnload | sed 'y%./+-%__p_%'` |
3118 | 3131 |
3119 xe_check_libs=" -lC " | 3132 xe_check_libs=" -lC " |
3120 cat > conftest.$ac_ext <<EOF | 3133 cat > conftest.$ac_ext <<EOF |
3121 #line 3122 "configure" | 3134 #line 3135 "configure" |
3122 #include "confdefs.h" | 3135 #include "confdefs.h" |
3123 /* Override any gcc2 internal prototype to avoid an error. */ | 3136 /* Override any gcc2 internal prototype to avoid an error. */ |
3124 /* We use char because int might match the return type of a gcc2 | 3137 /* We use char because int might match the return type of a gcc2 |
3125 builtin and then its argument prototype would still apply. */ | 3138 builtin and then its argument prototype would still apply. */ |
3126 char terminateAndUnload(); | 3139 char terminateAndUnload(); |
3127 | 3140 |
3128 int main() { | 3141 int main() { |
3129 terminateAndUnload() | 3142 terminateAndUnload() |
3130 ; return 0; } | 3143 ; return 0; } |
3131 EOF | 3144 EOF |
3132 if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3145 if { (eval echo configure:3146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3133 rm -rf conftest* | 3146 rm -rf conftest* |
3134 eval "ac_cv_lib_$ac_lib_var=yes" | 3147 eval "ac_cv_lib_$ac_lib_var=yes" |
3135 else | 3148 else |
3136 echo "configure: failed program was:" >&5 | 3149 echo "configure: failed program was:" >&5 |
3137 cat conftest.$ac_ext >&5 | 3150 cat conftest.$ac_ext >&5 |
3169 compiler_version="" | 3182 compiler_version="" |
3170 gcc_compiler_specs="" | 3183 gcc_compiler_specs="" |
3171 libc_version="" | 3184 libc_version="" |
3172 | 3185 |
3173 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 | 3186 echo $ac_n "checking for compiler version information""... $ac_c" 1>&6 |
3174 echo "configure:3175: checking for compiler version information" >&5 | 3187 echo "configure:3188: checking for compiler version information" >&5 |
3175 | 3188 |
3176 if test "$GCC" = "yes"; then | 3189 if test "$GCC" = "yes"; then |
3177 compiler_version=`$XEMACS_CC --version | head -1` | 3190 compiler_version=`$XEMACS_CC --version | head -1` |
3178 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` | 3191 gcc_compiler_specs=`$XEMACS_CC -v 2>&1 | sed 's/.* \([^ ]\)/\1/' | head -1` |
3179 else case "$XEMACS_CC" in | 3192 else case "$XEMACS_CC" in |
3220 if test -z "$compiler_version"; then | 3233 if test -z "$compiler_version"; then |
3221 compiler_version="detection failed (please report this)" | 3234 compiler_version="detection failed (please report this)" |
3222 fi | 3235 fi |
3223 | 3236 |
3224 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6 | 3237 echo $ac_n "checking for standard C library version information""... $ac_c" 1>&6 |
3225 echo "configure:3226: checking for standard C library version information" >&5 | 3238 echo "configure:3239: checking for standard C library version information" >&5 |
3226 | 3239 |
3227 case "$canonical" in | 3240 case "$canonical" in |
3228 *-*-linux*) | 3241 *-*-linux*) |
3229 if test -f /etc/redhat-release ; then | 3242 if test -f /etc/redhat-release ; then |
3230 libc_version=`rpm -q glibc` | 3243 libc_version=`rpm -q glibc` |
3332 esac | 3345 esac |
3333 fi | 3346 fi |
3334 | 3347 |
3335 if test "$add_runtime_path" = "yes"; then | 3348 if test "$add_runtime_path" = "yes"; then |
3336 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 | 3349 echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6 |
3337 echo "configure:3338: checking "for runtime libraries flag"" >&5 | 3350 echo "configure:3351: checking "for runtime libraries flag"" >&5 |
3338 case "$opsys" in | 3351 case "$opsys" in |
3339 sol2 ) dash_r="-R" ;; | 3352 sol2 ) dash_r="-R" ;; |
3340 decosf* | linux* | irix*) dash_r="-rpath " ;; | 3353 decosf* | linux* | irix*) dash_r="-rpath " ;; |
3341 *) | 3354 *) |
3342 dash_r="" | 3355 dash_r="" |
3354 esac | 3367 esac |
3355 shift | 3368 shift |
3356 done | 3369 done |
3357 fi | 3370 fi |
3358 cat > conftest.$ac_ext <<EOF | 3371 cat > conftest.$ac_ext <<EOF |
3359 #line 3360 "configure" | 3372 #line 3373 "configure" |
3360 #include "confdefs.h" | 3373 #include "confdefs.h" |
3361 | 3374 |
3362 int main() { | 3375 int main() { |
3363 | 3376 |
3364 ; return 0; } | 3377 ; return 0; } |
3365 EOF | 3378 EOF |
3366 if { (eval echo configure:3367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3379 if { (eval echo configure:3380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3367 rm -rf conftest* | 3380 rm -rf conftest* |
3368 dash_r="$try_dash_r" | 3381 dash_r="$try_dash_r" |
3369 else | 3382 else |
3370 echo "configure: failed program was:" >&5 | 3383 echo "configure: failed program was:" >&5 |
3371 cat conftest.$ac_ext >&5 | 3384 cat conftest.$ac_ext >&5 |
3462 else | 3475 else |
3463 doug_lea_malloc=no | 3476 doug_lea_malloc=no |
3464 fi | 3477 fi |
3465 after_morecore_hook_exists=yes | 3478 after_morecore_hook_exists=yes |
3466 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3479 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3467 echo "configure:3468: checking for malloc_set_state" >&5 | 3480 echo "configure:3481: checking for malloc_set_state" >&5 |
3468 | 3481 |
3469 cat > conftest.$ac_ext <<EOF | 3482 cat > conftest.$ac_ext <<EOF |
3470 #line 3471 "configure" | 3483 #line 3484 "configure" |
3471 #include "confdefs.h" | 3484 #include "confdefs.h" |
3472 /* System header to define __stub macros and hopefully few prototypes, | 3485 /* System header to define __stub macros and hopefully few prototypes, |
3473 which can conflict with char malloc_set_state(); below. */ | 3486 which can conflict with char malloc_set_state(); below. */ |
3474 #include <assert.h> | 3487 #include <assert.h> |
3475 /* Override any gcc2 internal prototype to avoid an error. */ | 3488 /* Override any gcc2 internal prototype to avoid an error. */ |
3488 malloc_set_state(); | 3501 malloc_set_state(); |
3489 #endif | 3502 #endif |
3490 | 3503 |
3491 ; return 0; } | 3504 ; return 0; } |
3492 EOF | 3505 EOF |
3493 if { (eval echo configure:3494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3506 if { (eval echo configure:3507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3494 rm -rf conftest* | 3507 rm -rf conftest* |
3495 eval "ac_cv_func_malloc_set_state=yes" | 3508 eval "ac_cv_func_malloc_set_state=yes" |
3496 else | 3509 else |
3497 echo "configure: failed program was:" >&5 | 3510 echo "configure: failed program was:" >&5 |
3498 cat conftest.$ac_ext >&5 | 3511 cat conftest.$ac_ext >&5 |
3508 echo "$ac_t""no" 1>&6 | 3521 echo "$ac_t""no" 1>&6 |
3509 doug_lea_malloc=no | 3522 doug_lea_malloc=no |
3510 fi | 3523 fi |
3511 | 3524 |
3512 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3525 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3513 echo "configure:3514: checking whether __after_morecore_hook exists" >&5 | 3526 echo "configure:3527: checking whether __after_morecore_hook exists" >&5 |
3514 cat > conftest.$ac_ext <<EOF | 3527 cat > conftest.$ac_ext <<EOF |
3515 #line 3516 "configure" | 3528 #line 3529 "configure" |
3516 #include "confdefs.h" | 3529 #include "confdefs.h" |
3517 extern void (* __after_morecore_hook)(); | 3530 extern void (* __after_morecore_hook)(); |
3518 int main() { | 3531 int main() { |
3519 __after_morecore_hook = 0 | 3532 __after_morecore_hook = 0 |
3520 ; return 0; } | 3533 ; return 0; } |
3521 EOF | 3534 EOF |
3522 if { (eval echo configure:3523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3535 if { (eval echo configure:3536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3523 rm -rf conftest* | 3536 rm -rf conftest* |
3524 echo "$ac_t""yes" 1>&6 | 3537 echo "$ac_t""yes" 1>&6 |
3525 else | 3538 else |
3526 echo "configure: failed program was:" >&5 | 3539 echo "configure: failed program was:" >&5 |
3527 cat conftest.$ac_ext >&5 | 3540 cat conftest.$ac_ext >&5 |
3573 | 3586 |
3574 | 3587 |
3575 # Extract the first word of "ranlib", so it can be a program name with args. | 3588 # Extract the first word of "ranlib", so it can be a program name with args. |
3576 set dummy ranlib; ac_word=$2 | 3589 set dummy ranlib; ac_word=$2 |
3577 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3590 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3578 echo "configure:3579: checking for $ac_word" >&5 | 3591 echo "configure:3592: checking for $ac_word" >&5 |
3579 | 3592 |
3580 if test -n "$RANLIB"; then | 3593 if test -n "$RANLIB"; then |
3581 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 3594 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3582 else | 3595 else |
3583 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3596 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3628 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 3641 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3629 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 3642 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3630 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3643 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3631 # ./install, which can be erroneously created by make from ./install.sh. | 3644 # ./install, which can be erroneously created by make from ./install.sh. |
3632 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3645 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3633 echo "configure:3634: checking for a BSD compatible install" >&5 | 3646 echo "configure:3647: checking for a BSD compatible install" >&5 |
3634 if test -z "$INSTALL"; then | 3647 if test -z "$INSTALL"; then |
3635 | 3648 |
3636 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 3649 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3637 for ac_dir in $PATH; do | 3650 for ac_dir in $PATH; do |
3638 # Account for people who put trailing slashes in PATH elements. | 3651 # Account for people who put trailing slashes in PATH elements. |
3682 for ac_prog in 'bison -y' byacc | 3695 for ac_prog in 'bison -y' byacc |
3683 do | 3696 do |
3684 # Extract the first word of "$ac_prog", so it can be a program name with args. | 3697 # Extract the first word of "$ac_prog", so it can be a program name with args. |
3685 set dummy $ac_prog; ac_word=$2 | 3698 set dummy $ac_prog; ac_word=$2 |
3686 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3699 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3687 echo "configure:3688: checking for $ac_word" >&5 | 3700 echo "configure:3701: checking for $ac_word" >&5 |
3688 | 3701 |
3689 if test -n "$YACC"; then | 3702 if test -n "$YACC"; then |
3690 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 3703 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3691 else | 3704 else |
3692 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 3705 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3714 | 3727 |
3715 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h | 3728 for ac_hdr in a.out.h elf.h cygwin/version.h fcntl.h inttypes.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/time.h sys/timeb.h sys/times.h sys/un.h ulimit.h unistd.h |
3716 do | 3729 do |
3717 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 3730 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
3718 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3731 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3719 echo "configure:3720: checking for $ac_hdr" >&5 | 3732 echo "configure:3733: checking for $ac_hdr" >&5 |
3720 | 3733 |
3721 cat > conftest.$ac_ext <<EOF | 3734 cat > conftest.$ac_ext <<EOF |
3722 #line 3723 "configure" | 3735 #line 3736 "configure" |
3723 #include "confdefs.h" | 3736 #include "confdefs.h" |
3724 #include <$ac_hdr> | 3737 #include <$ac_hdr> |
3725 EOF | 3738 EOF |
3726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3739 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3727 { (eval echo configure:3728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3740 { (eval echo configure:3741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3741 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3729 if test -z "$ac_err"; then | 3742 if test -z "$ac_err"; then |
3730 rm -rf conftest* | 3743 rm -rf conftest* |
3731 eval "ac_cv_header_$ac_safe=yes" | 3744 eval "ac_cv_header_$ac_safe=yes" |
3732 else | 3745 else |
3752 echo "$ac_t""no" 1>&6 | 3765 echo "$ac_t""no" 1>&6 |
3753 fi | 3766 fi |
3754 done | 3767 done |
3755 | 3768 |
3756 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 3769 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
3757 echo "configure:3758: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 3770 echo "configure:3771: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
3758 | 3771 |
3759 cat > conftest.$ac_ext <<EOF | 3772 cat > conftest.$ac_ext <<EOF |
3760 #line 3761 "configure" | 3773 #line 3774 "configure" |
3761 #include "confdefs.h" | 3774 #include "confdefs.h" |
3762 #include <sys/types.h> | 3775 #include <sys/types.h> |
3763 #include <sys/wait.h> | 3776 #include <sys/wait.h> |
3764 #ifndef WEXITSTATUS | 3777 #ifndef WEXITSTATUS |
3765 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 3778 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
3771 int s; | 3784 int s; |
3772 wait (&s); | 3785 wait (&s); |
3773 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 3786 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
3774 ; return 0; } | 3787 ; return 0; } |
3775 EOF | 3788 EOF |
3776 if { (eval echo configure:3777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3789 if { (eval echo configure:3790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3777 rm -rf conftest* | 3790 rm -rf conftest* |
3778 ac_cv_header_sys_wait_h=yes | 3791 ac_cv_header_sys_wait_h=yes |
3779 else | 3792 else |
3780 echo "configure: failed program was:" >&5 | 3793 echo "configure: failed program was:" >&5 |
3781 cat conftest.$ac_ext >&5 | 3794 cat conftest.$ac_ext >&5 |
3795 } | 3808 } |
3796 | 3809 |
3797 fi | 3810 fi |
3798 | 3811 |
3799 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 3812 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
3800 echo "configure:3801: checking for ANSI C header files" >&5 | 3813 echo "configure:3814: checking for ANSI C header files" >&5 |
3801 | 3814 |
3802 cat > conftest.$ac_ext <<EOF | 3815 cat > conftest.$ac_ext <<EOF |
3803 #line 3804 "configure" | 3816 #line 3817 "configure" |
3804 #include "confdefs.h" | 3817 #include "confdefs.h" |
3805 #include <stdlib.h> | 3818 #include <stdlib.h> |
3806 #include <stdarg.h> | 3819 #include <stdarg.h> |
3807 #include <string.h> | 3820 #include <string.h> |
3808 #include <float.h> | 3821 #include <float.h> |
3809 EOF | 3822 EOF |
3810 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3823 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3811 { (eval echo configure:3812: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3824 { (eval echo configure:3825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3812 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3813 if test -z "$ac_err"; then | 3826 if test -z "$ac_err"; then |
3814 rm -rf conftest* | 3827 rm -rf conftest* |
3815 ac_cv_header_stdc=yes | 3828 ac_cv_header_stdc=yes |
3816 else | 3829 else |
3823 rm -f conftest* | 3836 rm -f conftest* |
3824 | 3837 |
3825 if test $ac_cv_header_stdc = yes; then | 3838 if test $ac_cv_header_stdc = yes; then |
3826 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 3839 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
3827 cat > conftest.$ac_ext <<EOF | 3840 cat > conftest.$ac_ext <<EOF |
3828 #line 3829 "configure" | 3841 #line 3842 "configure" |
3829 #include "confdefs.h" | 3842 #include "confdefs.h" |
3830 #include <string.h> | 3843 #include <string.h> |
3831 EOF | 3844 EOF |
3832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3833 egrep "memchr" >/dev/null 2>&1; then | 3846 egrep "memchr" >/dev/null 2>&1; then |
3841 fi | 3854 fi |
3842 | 3855 |
3843 if test $ac_cv_header_stdc = yes; then | 3856 if test $ac_cv_header_stdc = yes; then |
3844 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 3857 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
3845 cat > conftest.$ac_ext <<EOF | 3858 cat > conftest.$ac_ext <<EOF |
3846 #line 3847 "configure" | 3859 #line 3860 "configure" |
3847 #include "confdefs.h" | 3860 #include "confdefs.h" |
3848 #include <stdlib.h> | 3861 #include <stdlib.h> |
3849 EOF | 3862 EOF |
3850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 3863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
3851 egrep "free" >/dev/null 2>&1; then | 3864 egrep "free" >/dev/null 2>&1; then |
3859 fi | 3872 fi |
3860 | 3873 |
3861 if test $ac_cv_header_stdc = yes; then | 3874 if test $ac_cv_header_stdc = yes; then |
3862 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 3875 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
3863 cat > conftest.$ac_ext <<EOF | 3876 cat > conftest.$ac_ext <<EOF |
3864 #line 3865 "configure" | 3877 #line 3878 "configure" |
3865 #include "confdefs.h" | 3878 #include "confdefs.h" |
3866 #include <ctype.h> | 3879 #include <ctype.h> |
3867 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 3880 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
3868 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 3881 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
3869 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 3882 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
3870 int main () { int i; for (i = 0; i < 256; i++) | 3883 int main () { int i; for (i = 0; i < 256; i++) |
3871 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 3884 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
3872 exit (0); } | 3885 exit (0); } |
3873 | 3886 |
3874 EOF | 3887 EOF |
3875 if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 3888 if { (eval echo configure:3889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
3876 then | 3889 then |
3877 : | 3890 : |
3878 else | 3891 else |
3879 conftest_rc="$?" | 3892 conftest_rc="$?" |
3880 echo "configure: failed program was:" >&5 | 3893 echo "configure: failed program was:" >&5 |
3896 } | 3909 } |
3897 | 3910 |
3898 fi | 3911 fi |
3899 | 3912 |
3900 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3913 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3901 echo "configure:3902: checking whether time.h and sys/time.h may both be included" >&5 | 3914 echo "configure:3915: checking whether time.h and sys/time.h may both be included" >&5 |
3902 | 3915 |
3903 cat > conftest.$ac_ext <<EOF | 3916 cat > conftest.$ac_ext <<EOF |
3904 #line 3905 "configure" | 3917 #line 3918 "configure" |
3905 #include "confdefs.h" | 3918 #include "confdefs.h" |
3906 #include <sys/types.h> | 3919 #include <sys/types.h> |
3907 #include <sys/time.h> | 3920 #include <sys/time.h> |
3908 #include <time.h> | 3921 #include <time.h> |
3909 int main() { | 3922 int main() { |
3910 struct tm *tp; | 3923 struct tm *tp; |
3911 ; return 0; } | 3924 ; return 0; } |
3912 EOF | 3925 EOF |
3913 if { (eval echo configure:3914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3926 if { (eval echo configure:3927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3914 rm -rf conftest* | 3927 rm -rf conftest* |
3915 ac_cv_header_time=yes | 3928 ac_cv_header_time=yes |
3916 else | 3929 else |
3917 echo "configure: failed program was:" >&5 | 3930 echo "configure: failed program was:" >&5 |
3918 cat conftest.$ac_ext >&5 | 3931 cat conftest.$ac_ext >&5 |
3932 } | 3945 } |
3933 | 3946 |
3934 fi | 3947 fi |
3935 | 3948 |
3936 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 3949 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
3937 echo "configure:3938: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 3950 echo "configure:3951: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
3938 | 3951 |
3939 cat > conftest.$ac_ext <<EOF | 3952 cat > conftest.$ac_ext <<EOF |
3940 #line 3941 "configure" | 3953 #line 3954 "configure" |
3941 #include "confdefs.h" | 3954 #include "confdefs.h" |
3942 #include <sys/types.h> | 3955 #include <sys/types.h> |
3943 #include <signal.h> | 3956 #include <signal.h> |
3944 /* NetBSD declares sys_siglist in unistd.h. */ | 3957 /* NetBSD declares sys_siglist in unistd.h. */ |
3945 #ifdef HAVE_UNISTD_H | 3958 #ifdef HAVE_UNISTD_H |
3947 #endif | 3960 #endif |
3948 int main() { | 3961 int main() { |
3949 char *msg = *(sys_siglist + 1); | 3962 char *msg = *(sys_siglist + 1); |
3950 ; return 0; } | 3963 ; return 0; } |
3951 EOF | 3964 EOF |
3952 if { (eval echo configure:3953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3965 if { (eval echo configure:3966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3953 rm -rf conftest* | 3966 rm -rf conftest* |
3954 ac_cv_decl_sys_siglist=yes | 3967 ac_cv_decl_sys_siglist=yes |
3955 else | 3968 else |
3956 echo "configure: failed program was:" >&5 | 3969 echo "configure: failed program was:" >&5 |
3957 cat conftest.$ac_ext >&5 | 3970 cat conftest.$ac_ext >&5 |
3973 fi | 3986 fi |
3974 | 3987 |
3975 | 3988 |
3976 | 3989 |
3977 echo $ac_n "checking for utime""... $ac_c" 1>&6 | 3990 echo $ac_n "checking for utime""... $ac_c" 1>&6 |
3978 echo "configure:3979: checking for utime" >&5 | 3991 echo "configure:3992: checking for utime" >&5 |
3979 cat > conftest.$ac_ext <<EOF | 3992 cat > conftest.$ac_ext <<EOF |
3980 #line 3981 "configure" | 3993 #line 3994 "configure" |
3981 #include "confdefs.h" | 3994 #include "confdefs.h" |
3982 #include <sys/types.h> | 3995 #include <sys/types.h> |
3983 #include <utime.h> | 3996 #include <utime.h> |
3984 int main() { | 3997 int main() { |
3985 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); | 3998 struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x); |
3986 ; return 0; } | 3999 ; return 0; } |
3987 EOF | 4000 EOF |
3988 if { (eval echo configure:3989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4001 if { (eval echo configure:4002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3989 rm -rf conftest* | 4002 rm -rf conftest* |
3990 echo "$ac_t""yes" 1>&6 | 4003 echo "$ac_t""yes" 1>&6 |
3991 { test "$extra_verbose" = "yes" && cat << \EOF | 4004 { test "$extra_verbose" = "yes" && cat << \EOF |
3992 Defining HAVE_UTIME | 4005 Defining HAVE_UTIME |
3993 EOF | 4006 EOF |
4002 rm -rf conftest* | 4015 rm -rf conftest* |
4003 echo "$ac_t""no" 1>&6 | 4016 echo "$ac_t""no" 1>&6 |
4004 for ac_func in utimes | 4017 for ac_func in utimes |
4005 do | 4018 do |
4006 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4007 echo "configure:4008: checking for $ac_func" >&5 | 4020 echo "configure:4021: checking for $ac_func" >&5 |
4008 | 4021 |
4009 cat > conftest.$ac_ext <<EOF | 4022 cat > conftest.$ac_ext <<EOF |
4010 #line 4011 "configure" | 4023 #line 4024 "configure" |
4011 #include "confdefs.h" | 4024 #include "confdefs.h" |
4012 /* System header to define __stub macros and hopefully few prototypes, | 4025 /* System header to define __stub macros and hopefully few prototypes, |
4013 which can conflict with char $ac_func(); below. */ | 4026 which can conflict with char $ac_func(); below. */ |
4014 #include <assert.h> | 4027 #include <assert.h> |
4015 /* Override any gcc2 internal prototype to avoid an error. */ | 4028 /* Override any gcc2 internal prototype to avoid an error. */ |
4028 $ac_func(); | 4041 $ac_func(); |
4029 #endif | 4042 #endif |
4030 | 4043 |
4031 ; return 0; } | 4044 ; return 0; } |
4032 EOF | 4045 EOF |
4033 if { (eval echo configure:4034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4046 if { (eval echo configure:4047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4034 rm -rf conftest* | 4047 rm -rf conftest* |
4035 eval "ac_cv_func_$ac_func=yes" | 4048 eval "ac_cv_func_$ac_func=yes" |
4036 else | 4049 else |
4037 echo "configure: failed program was:" >&5 | 4050 echo "configure: failed program was:" >&5 |
4038 cat conftest.$ac_ext >&5 | 4051 cat conftest.$ac_ext >&5 |
4060 fi | 4073 fi |
4061 rm -f conftest* | 4074 rm -f conftest* |
4062 | 4075 |
4063 | 4076 |
4064 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 4077 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
4065 echo "configure:4066: checking return type of signal handlers" >&5 | 4078 echo "configure:4079: checking return type of signal handlers" >&5 |
4066 | 4079 |
4067 cat > conftest.$ac_ext <<EOF | 4080 cat > conftest.$ac_ext <<EOF |
4068 #line 4069 "configure" | 4081 #line 4082 "configure" |
4069 #include "confdefs.h" | 4082 #include "confdefs.h" |
4070 #include <sys/types.h> | 4083 #include <sys/types.h> |
4071 #include <signal.h> | 4084 #include <signal.h> |
4072 #ifdef signal | 4085 #ifdef signal |
4073 #undef signal | 4086 #undef signal |
4080 | 4093 |
4081 int main() { | 4094 int main() { |
4082 int i; | 4095 int i; |
4083 ; return 0; } | 4096 ; return 0; } |
4084 EOF | 4097 EOF |
4085 if { (eval echo configure:4086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4098 if { (eval echo configure:4099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4086 rm -rf conftest* | 4099 rm -rf conftest* |
4087 ac_cv_type_signal=void | 4100 ac_cv_type_signal=void |
4088 else | 4101 else |
4089 echo "configure: failed program was:" >&5 | 4102 echo "configure: failed program was:" >&5 |
4090 cat conftest.$ac_ext >&5 | 4103 cat conftest.$ac_ext >&5 |
4102 EOF | 4115 EOF |
4103 } | 4116 } |
4104 | 4117 |
4105 | 4118 |
4106 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 4119 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
4107 echo "configure:4108: checking for size_t" >&5 | 4120 echo "configure:4121: checking for size_t" >&5 |
4108 | 4121 |
4109 cat > conftest.$ac_ext <<EOF | 4122 cat > conftest.$ac_ext <<EOF |
4110 #line 4111 "configure" | 4123 #line 4124 "configure" |
4111 #include "confdefs.h" | 4124 #include "confdefs.h" |
4112 #include <sys/types.h> | 4125 #include <sys/types.h> |
4113 #if STDC_HEADERS | 4126 #if STDC_HEADERS |
4114 #include <stdlib.h> | 4127 #include <stdlib.h> |
4115 #include <stddef.h> | 4128 #include <stddef.h> |
4136 } | 4149 } |
4137 | 4150 |
4138 fi | 4151 fi |
4139 | 4152 |
4140 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 4153 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
4141 echo "configure:4142: checking for pid_t" >&5 | 4154 echo "configure:4155: checking for pid_t" >&5 |
4142 | 4155 |
4143 cat > conftest.$ac_ext <<EOF | 4156 cat > conftest.$ac_ext <<EOF |
4144 #line 4145 "configure" | 4157 #line 4158 "configure" |
4145 #include "confdefs.h" | 4158 #include "confdefs.h" |
4146 #include <sys/types.h> | 4159 #include <sys/types.h> |
4147 #if STDC_HEADERS | 4160 #if STDC_HEADERS |
4148 #include <stdlib.h> | 4161 #include <stdlib.h> |
4149 #include <stddef.h> | 4162 #include <stddef.h> |
4170 } | 4183 } |
4171 | 4184 |
4172 fi | 4185 fi |
4173 | 4186 |
4174 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 4187 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
4175 echo "configure:4176: checking for uid_t in sys/types.h" >&5 | 4188 echo "configure:4189: checking for uid_t in sys/types.h" >&5 |
4176 | 4189 |
4177 cat > conftest.$ac_ext <<EOF | 4190 cat > conftest.$ac_ext <<EOF |
4178 #line 4179 "configure" | 4191 #line 4192 "configure" |
4179 #include "confdefs.h" | 4192 #include "confdefs.h" |
4180 #include <sys/types.h> | 4193 #include <sys/types.h> |
4181 EOF | 4194 EOF |
4182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4195 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4183 egrep "uid_t" >/dev/null 2>&1; then | 4196 egrep "uid_t" >/dev/null 2>&1; then |
4209 } | 4222 } |
4210 | 4223 |
4211 fi | 4224 fi |
4212 | 4225 |
4213 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 4226 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
4214 echo "configure:4215: checking for mode_t" >&5 | 4227 echo "configure:4228: checking for mode_t" >&5 |
4215 | 4228 |
4216 cat > conftest.$ac_ext <<EOF | 4229 cat > conftest.$ac_ext <<EOF |
4217 #line 4218 "configure" | 4230 #line 4231 "configure" |
4218 #include "confdefs.h" | 4231 #include "confdefs.h" |
4219 #include <sys/types.h> | 4232 #include <sys/types.h> |
4220 #if STDC_HEADERS | 4233 #if STDC_HEADERS |
4221 #include <stdlib.h> | 4234 #include <stdlib.h> |
4222 #include <stddef.h> | 4235 #include <stddef.h> |
4243 } | 4256 } |
4244 | 4257 |
4245 fi | 4258 fi |
4246 | 4259 |
4247 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 4260 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
4248 echo "configure:4249: checking for off_t" >&5 | 4261 echo "configure:4262: checking for off_t" >&5 |
4249 | 4262 |
4250 cat > conftest.$ac_ext <<EOF | 4263 cat > conftest.$ac_ext <<EOF |
4251 #line 4252 "configure" | 4264 #line 4265 "configure" |
4252 #include "confdefs.h" | 4265 #include "confdefs.h" |
4253 #include <sys/types.h> | 4266 #include <sys/types.h> |
4254 #if STDC_HEADERS | 4267 #if STDC_HEADERS |
4255 #include <stdlib.h> | 4268 #include <stdlib.h> |
4256 #include <stddef.h> | 4269 #include <stddef.h> |
4277 } | 4290 } |
4278 | 4291 |
4279 fi | 4292 fi |
4280 | 4293 |
4281 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 | 4294 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6 |
4282 echo "configure:4283: checking for ssize_t" >&5 | 4295 echo "configure:4296: checking for ssize_t" >&5 |
4283 | 4296 |
4284 cat > conftest.$ac_ext <<EOF | 4297 cat > conftest.$ac_ext <<EOF |
4285 #line 4286 "configure" | 4298 #line 4299 "configure" |
4286 #include "confdefs.h" | 4299 #include "confdefs.h" |
4287 #include <sys/types.h> | 4300 #include <sys/types.h> |
4288 #if STDC_HEADERS | 4301 #if STDC_HEADERS |
4289 #include <stdlib.h> | 4302 #include <stdlib.h> |
4290 #include <stddef.h> | 4303 #include <stddef.h> |
4313 fi | 4326 fi |
4314 | 4327 |
4315 | 4328 |
4316 if test "$ac_cv_header_inttypes_h" != "yes"; then | 4329 if test "$ac_cv_header_inttypes_h" != "yes"; then |
4317 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 | 4330 echo $ac_n "checking for intptr_t in sys/types.h""... $ac_c" 1>&6 |
4318 echo "configure:4319: checking for intptr_t in sys/types.h" >&5 | 4331 echo "configure:4332: checking for intptr_t in sys/types.h" >&5 |
4319 cat > conftest.$ac_ext <<EOF | 4332 cat > conftest.$ac_ext <<EOF |
4320 #line 4321 "configure" | 4333 #line 4334 "configure" |
4321 #include "confdefs.h" | 4334 #include "confdefs.h" |
4322 #include <sys/types.h> | 4335 #include <sys/types.h> |
4323 intptr_t x; | 4336 intptr_t x; |
4324 | 4337 |
4325 int main() { | 4338 int main() { |
4326 | 4339 |
4327 ; return 0; } | 4340 ; return 0; } |
4328 EOF | 4341 EOF |
4329 if { (eval echo configure:4330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4342 if { (eval echo configure:4343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4330 rm -rf conftest* | 4343 rm -rf conftest* |
4331 echo "$ac_t""yes" 1>&6 | 4344 echo "$ac_t""yes" 1>&6 |
4332 { test "$extra_verbose" = "yes" && cat << \EOF | 4345 { test "$extra_verbose" = "yes" && cat << \EOF |
4333 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 | 4346 Defining HAVE_INTPTR_T_IN_SYS_TYPES_H = 1 |
4334 EOF | 4347 EOF |
4345 fi | 4358 fi |
4346 rm -f conftest* | 4359 rm -f conftest* |
4347 fi | 4360 fi |
4348 | 4361 |
4349 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 | 4362 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6 |
4350 echo "configure:4351: checking for socklen_t" >&5 | 4363 echo "configure:4364: checking for socklen_t" >&5 |
4351 cat > conftest.$ac_ext <<EOF | 4364 cat > conftest.$ac_ext <<EOF |
4352 #line 4353 "configure" | 4365 #line 4366 "configure" |
4353 #include "confdefs.h" | 4366 #include "confdefs.h" |
4354 #include <sys/types.h> | 4367 #include <sys/types.h> |
4355 #include <sys/socket.h> | 4368 #include <sys/socket.h> |
4356 socklen_t x; | 4369 socklen_t x; |
4357 | 4370 |
4358 int main() { | 4371 int main() { |
4359 | 4372 |
4360 ; return 0; } | 4373 ; return 0; } |
4361 EOF | 4374 EOF |
4362 if { (eval echo configure:4363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4375 if { (eval echo configure:4376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4363 rm -rf conftest* | 4376 rm -rf conftest* |
4364 echo "$ac_t""yes" 1>&6 | 4377 echo "$ac_t""yes" 1>&6 |
4365 else | 4378 else |
4366 echo "configure: failed program was:" >&5 | 4379 echo "configure: failed program was:" >&5 |
4367 cat conftest.$ac_ext >&5 | 4380 cat conftest.$ac_ext >&5 |
4368 rm -rf conftest* | 4381 rm -rf conftest* |
4369 | 4382 |
4370 cat > conftest.$ac_ext <<EOF | 4383 cat > conftest.$ac_ext <<EOF |
4371 #line 4372 "configure" | 4384 #line 4385 "configure" |
4372 #include "confdefs.h" | 4385 #include "confdefs.h" |
4373 #include <sys/types.h> | 4386 #include <sys/types.h> |
4374 #include <sys/socket.h> | 4387 #include <sys/socket.h> |
4375 int accept (int, struct sockaddr *, size_t *); | 4388 int accept (int, struct sockaddr *, size_t *); |
4376 | 4389 |
4377 int main() { | 4390 int main() { |
4378 | 4391 |
4379 ; return 0; } | 4392 ; return 0; } |
4380 EOF | 4393 EOF |
4381 if { (eval echo configure:4382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4394 if { (eval echo configure:4395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4382 rm -rf conftest* | 4395 rm -rf conftest* |
4383 | 4396 |
4384 echo "$ac_t""size_t" 1>&6 | 4397 echo "$ac_t""size_t" 1>&6 |
4385 { test "$extra_verbose" = "yes" && cat << \EOF | 4398 { test "$extra_verbose" = "yes" && cat << \EOF |
4386 Defining socklen_t = size_t | 4399 Defining socklen_t = size_t |
4408 rm -f conftest* | 4421 rm -f conftest* |
4409 fi | 4422 fi |
4410 rm -f conftest* | 4423 rm -f conftest* |
4411 | 4424 |
4412 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 4425 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
4413 echo "configure:4414: checking for struct timeval" >&5 | 4426 echo "configure:4427: checking for struct timeval" >&5 |
4414 cat > conftest.$ac_ext <<EOF | 4427 cat > conftest.$ac_ext <<EOF |
4415 #line 4416 "configure" | 4428 #line 4429 "configure" |
4416 #include "confdefs.h" | 4429 #include "confdefs.h" |
4417 #ifdef TIME_WITH_SYS_TIME | 4430 #ifdef TIME_WITH_SYS_TIME |
4418 #include <sys/time.h> | 4431 #include <sys/time.h> |
4419 #include <time.h> | 4432 #include <time.h> |
4420 #else | 4433 #else |
4426 #endif | 4439 #endif |
4427 int main() { | 4440 int main() { |
4428 static struct timeval x; x.tv_sec = x.tv_usec; | 4441 static struct timeval x; x.tv_sec = x.tv_usec; |
4429 ; return 0; } | 4442 ; return 0; } |
4430 EOF | 4443 EOF |
4431 if { (eval echo configure:4432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4444 if { (eval echo configure:4445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4432 rm -rf conftest* | 4445 rm -rf conftest* |
4433 echo "$ac_t""yes" 1>&6 | 4446 echo "$ac_t""yes" 1>&6 |
4434 HAVE_TIMEVAL=yes | 4447 HAVE_TIMEVAL=yes |
4435 { test "$extra_verbose" = "yes" && cat << \EOF | 4448 { test "$extra_verbose" = "yes" && cat << \EOF |
4436 Defining HAVE_TIMEVAL | 4449 Defining HAVE_TIMEVAL |
4448 HAVE_TIMEVAL=no | 4461 HAVE_TIMEVAL=no |
4449 fi | 4462 fi |
4450 rm -f conftest* | 4463 rm -f conftest* |
4451 | 4464 |
4452 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 4465 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
4453 echo "configure:4454: checking whether struct tm is in sys/time.h or time.h" >&5 | 4466 echo "configure:4467: checking whether struct tm is in sys/time.h or time.h" >&5 |
4454 | 4467 |
4455 cat > conftest.$ac_ext <<EOF | 4468 cat > conftest.$ac_ext <<EOF |
4456 #line 4457 "configure" | 4469 #line 4470 "configure" |
4457 #include "confdefs.h" | 4470 #include "confdefs.h" |
4458 #include <sys/types.h> | 4471 #include <sys/types.h> |
4459 #include <time.h> | 4472 #include <time.h> |
4460 int main() { | 4473 int main() { |
4461 struct tm *tp; tp->tm_sec; | 4474 struct tm *tp; tp->tm_sec; |
4462 ; return 0; } | 4475 ; return 0; } |
4463 EOF | 4476 EOF |
4464 if { (eval echo configure:4465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4477 if { (eval echo configure:4478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4465 rm -rf conftest* | 4478 rm -rf conftest* |
4466 ac_cv_struct_tm=time.h | 4479 ac_cv_struct_tm=time.h |
4467 else | 4480 else |
4468 echo "configure: failed program was:" >&5 | 4481 echo "configure: failed program was:" >&5 |
4469 cat conftest.$ac_ext >&5 | 4482 cat conftest.$ac_ext >&5 |
4483 } | 4496 } |
4484 | 4497 |
4485 fi | 4498 fi |
4486 | 4499 |
4487 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 4500 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
4488 echo "configure:4489: checking for tm_zone in struct tm" >&5 | 4501 echo "configure:4502: checking for tm_zone in struct tm" >&5 |
4489 | 4502 |
4490 cat > conftest.$ac_ext <<EOF | 4503 cat > conftest.$ac_ext <<EOF |
4491 #line 4492 "configure" | 4504 #line 4505 "configure" |
4492 #include "confdefs.h" | 4505 #include "confdefs.h" |
4493 #include <sys/types.h> | 4506 #include <sys/types.h> |
4494 #include <$ac_cv_struct_tm> | 4507 #include <$ac_cv_struct_tm> |
4495 int main() { | 4508 int main() { |
4496 struct tm tm; tm.tm_zone; | 4509 struct tm tm; tm.tm_zone; |
4497 ; return 0; } | 4510 ; return 0; } |
4498 EOF | 4511 EOF |
4499 if { (eval echo configure:4500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4512 if { (eval echo configure:4513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4500 rm -rf conftest* | 4513 rm -rf conftest* |
4501 ac_cv_struct_tm_zone=yes | 4514 ac_cv_struct_tm_zone=yes |
4502 else | 4515 else |
4503 echo "configure: failed program was:" >&5 | 4516 echo "configure: failed program was:" >&5 |
4504 cat conftest.$ac_ext >&5 | 4517 cat conftest.$ac_ext >&5 |
4517 EOF | 4530 EOF |
4518 } | 4531 } |
4519 | 4532 |
4520 else | 4533 else |
4521 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 4534 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
4522 echo "configure:4523: checking for tzname" >&5 | 4535 echo "configure:4536: checking for tzname" >&5 |
4523 | 4536 |
4524 cat > conftest.$ac_ext <<EOF | 4537 cat > conftest.$ac_ext <<EOF |
4525 #line 4526 "configure" | 4538 #line 4539 "configure" |
4526 #include "confdefs.h" | 4539 #include "confdefs.h" |
4527 #include <time.h> | 4540 #include <time.h> |
4528 #ifndef tzname /* For SGI. */ | 4541 #ifndef tzname /* For SGI. */ |
4529 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 4542 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
4530 #endif | 4543 #endif |
4531 int main() { | 4544 int main() { |
4532 atoi(*tzname); | 4545 atoi(*tzname); |
4533 ; return 0; } | 4546 ; return 0; } |
4534 EOF | 4547 EOF |
4535 if { (eval echo configure:4536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4548 if { (eval echo configure:4549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4536 rm -rf conftest* | 4549 rm -rf conftest* |
4537 ac_cv_var_tzname=yes | 4550 ac_cv_var_tzname=yes |
4538 else | 4551 else |
4539 echo "configure: failed program was:" >&5 | 4552 echo "configure: failed program was:" >&5 |
4540 cat conftest.$ac_ext >&5 | 4553 cat conftest.$ac_ext >&5 |
4556 fi | 4569 fi |
4557 fi | 4570 fi |
4558 | 4571 |
4559 | 4572 |
4560 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 4573 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
4561 echo "configure:4562: checking for working const" >&5 | 4574 echo "configure:4575: checking for working const" >&5 |
4562 | 4575 |
4563 cat > conftest.$ac_ext <<EOF | 4576 cat > conftest.$ac_ext <<EOF |
4564 #line 4565 "configure" | 4577 #line 4578 "configure" |
4565 #include "confdefs.h" | 4578 #include "confdefs.h" |
4566 | 4579 |
4567 int main() { | 4580 int main() { |
4568 | 4581 |
4569 /* Ultrix mips cc rejects this. */ | 4582 /* Ultrix mips cc rejects this. */ |
4608 const int foo = 10; | 4621 const int foo = 10; |
4609 } | 4622 } |
4610 | 4623 |
4611 ; return 0; } | 4624 ; return 0; } |
4612 EOF | 4625 EOF |
4613 if { (eval echo configure:4614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4626 if { (eval echo configure:4627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4614 rm -rf conftest* | 4627 rm -rf conftest* |
4615 ac_cv_c_const=yes | 4628 ac_cv_c_const=yes |
4616 else | 4629 else |
4617 echo "configure: failed program was:" >&5 | 4630 echo "configure: failed program was:" >&5 |
4618 cat conftest.$ac_ext >&5 | 4631 cat conftest.$ac_ext >&5 |
4633 | 4646 |
4634 fi | 4647 fi |
4635 | 4648 |
4636 | 4649 |
4637 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 4650 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
4638 echo "configure:4639: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 4651 echo "configure:4652: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
4639 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 4652 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
4640 | 4653 |
4641 cat > conftestmake <<\EOF | 4654 cat > conftestmake <<\EOF |
4642 all: | 4655 all: |
4643 @echo 'ac_maketemp="${MAKE}"' | 4656 @echo 'ac_maketemp="${MAKE}"' |
4658 SET_MAKE="MAKE=${MAKE-make}" | 4671 SET_MAKE="MAKE=${MAKE-make}" |
4659 fi | 4672 fi |
4660 | 4673 |
4661 | 4674 |
4662 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 | 4675 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
4663 echo "configure:4664: checking whether byte ordering is bigendian" >&5 | 4676 echo "configure:4677: checking whether byte ordering is bigendian" >&5 |
4664 | 4677 |
4665 ac_cv_c_bigendian=unknown | 4678 ac_cv_c_bigendian=unknown |
4666 # See if sys/param.h defines the BYTE_ORDER macro. | 4679 # See if sys/param.h defines the BYTE_ORDER macro. |
4667 cat > conftest.$ac_ext <<EOF | 4680 cat > conftest.$ac_ext <<EOF |
4668 #line 4669 "configure" | 4681 #line 4682 "configure" |
4669 #include "confdefs.h" | 4682 #include "confdefs.h" |
4670 #include <sys/types.h> | 4683 #include <sys/types.h> |
4671 #include <sys/param.h> | 4684 #include <sys/param.h> |
4672 int main() { | 4685 int main() { |
4673 | 4686 |
4674 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 4687 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
4675 bogus endian macros | 4688 bogus endian macros |
4676 #endif | 4689 #endif |
4677 ; return 0; } | 4690 ; return 0; } |
4678 EOF | 4691 EOF |
4679 if { (eval echo configure:4680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4692 if { (eval echo configure:4693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4680 rm -rf conftest* | 4693 rm -rf conftest* |
4681 # It does; now see whether it defined to BIG_ENDIAN or not. | 4694 # It does; now see whether it defined to BIG_ENDIAN or not. |
4682 cat > conftest.$ac_ext <<EOF | 4695 cat > conftest.$ac_ext <<EOF |
4683 #line 4684 "configure" | 4696 #line 4697 "configure" |
4684 #include "confdefs.h" | 4697 #include "confdefs.h" |
4685 #include <sys/types.h> | 4698 #include <sys/types.h> |
4686 #include <sys/param.h> | 4699 #include <sys/param.h> |
4687 int main() { | 4700 int main() { |
4688 | 4701 |
4689 #if BYTE_ORDER != BIG_ENDIAN | 4702 #if BYTE_ORDER != BIG_ENDIAN |
4690 not big endian | 4703 not big endian |
4691 #endif | 4704 #endif |
4692 ; return 0; } | 4705 ; return 0; } |
4693 EOF | 4706 EOF |
4694 if { (eval echo configure:4695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4707 if { (eval echo configure:4708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4695 rm -rf conftest* | 4708 rm -rf conftest* |
4696 ac_cv_c_bigendian=yes | 4709 ac_cv_c_bigendian=yes |
4697 else | 4710 else |
4698 echo "configure: failed program was:" >&5 | 4711 echo "configure: failed program was:" >&5 |
4699 cat conftest.$ac_ext >&5 | 4712 cat conftest.$ac_ext >&5 |
4706 cat conftest.$ac_ext >&5 | 4719 cat conftest.$ac_ext >&5 |
4707 fi | 4720 fi |
4708 rm -f conftest* | 4721 rm -f conftest* |
4709 if test $ac_cv_c_bigendian = unknown; then | 4722 if test $ac_cv_c_bigendian = unknown; then |
4710 cat > conftest.$ac_ext <<EOF | 4723 cat > conftest.$ac_ext <<EOF |
4711 #line 4712 "configure" | 4724 #line 4725 "configure" |
4712 #include "confdefs.h" | 4725 #include "confdefs.h" |
4713 main () { | 4726 main () { |
4714 /* Are we little or big endian? From Harbison&Steele. */ | 4727 /* Are we little or big endian? From Harbison&Steele. */ |
4715 union | 4728 union |
4716 { | 4729 { |
4719 } u; | 4732 } u; |
4720 u.l = 1; | 4733 u.l = 1; |
4721 exit (u.c[sizeof (long) - 1] == 1); | 4734 exit (u.c[sizeof (long) - 1] == 1); |
4722 } | 4735 } |
4723 EOF | 4736 EOF |
4724 if { (eval echo configure:4725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4737 if { (eval echo configure:4738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4725 then | 4738 then |
4726 ac_cv_c_bigendian=no | 4739 ac_cv_c_bigendian=no |
4727 else | 4740 else |
4728 conftest_rc="$?" | 4741 conftest_rc="$?" |
4729 echo "configure: failed program was:" >&5 | 4742 echo "configure: failed program was:" >&5 |
4746 | 4759 |
4747 fi | 4760 fi |
4748 | 4761 |
4749 | 4762 |
4750 echo $ac_n "checking size of short""... $ac_c" 1>&6 | 4763 echo $ac_n "checking size of short""... $ac_c" 1>&6 |
4751 echo "configure:4752: checking size of short" >&5 | 4764 echo "configure:4765: checking size of short" >&5 |
4752 | 4765 |
4753 cat > conftest.$ac_ext <<EOF | 4766 cat > conftest.$ac_ext <<EOF |
4754 #line 4755 "configure" | 4767 #line 4768 "configure" |
4755 #include "confdefs.h" | 4768 #include "confdefs.h" |
4756 #include <stdio.h> | 4769 #include <stdio.h> |
4757 #include <sys/types.h> | 4770 int main() |
4758 main() | |
4759 { | 4771 { |
4760 FILE *f=fopen("conftestval", "w"); | 4772 FILE *f=fopen("conftestval", "w"); |
4761 if (!f) exit(1); | 4773 if (!f) return(1); |
4762 fprintf(f, "%d\n", sizeof(short)); | 4774 fprintf(f, "%d\n", sizeof(short)); |
4763 exit(0); | 4775 return(0); |
4764 } | 4776 } |
4765 EOF | 4777 EOF |
4766 if { (eval echo configure:4767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4778 if { (eval echo configure:4779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4767 then | 4779 then |
4768 ac_cv_sizeof_short=`cat conftestval` | 4780 ac_cv_sizeof_short=`cat conftestval` |
4769 else | 4781 else |
4770 conftest_rc="$?" | 4782 conftest_rc="$?" |
4771 echo "configure: failed program was:" >&5 | 4783 echo "configure: failed program was:" >&5 |
4789 echo "*** PANIC *** Configure tests are not working - compiler is broken." | 4801 echo "*** PANIC *** Configure tests are not working - compiler is broken." |
4790 echo "*** PANIC *** Please examine config.log for compilation errors." | 4802 echo "*** PANIC *** Please examine config.log for compilation errors." |
4791 exit 1 | 4803 exit 1 |
4792 fi | 4804 fi |
4793 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 4805 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
4794 echo "configure:4795: checking size of int" >&5 | 4806 echo "configure:4807: checking size of int" >&5 |
4795 | 4807 |
4796 cat > conftest.$ac_ext <<EOF | 4808 cat > conftest.$ac_ext <<EOF |
4797 #line 4798 "configure" | 4809 #line 4810 "configure" |
4798 #include "confdefs.h" | 4810 #include "confdefs.h" |
4799 #include <stdio.h> | 4811 #include <stdio.h> |
4800 #include <sys/types.h> | 4812 int main() |
4801 main() | |
4802 { | 4813 { |
4803 FILE *f=fopen("conftestval", "w"); | 4814 FILE *f=fopen("conftestval", "w"); |
4804 if (!f) exit(1); | 4815 if (!f) return(1); |
4805 fprintf(f, "%d\n", sizeof(int)); | 4816 fprintf(f, "%d\n", sizeof(int)); |
4806 exit(0); | 4817 return(0); |
4807 } | 4818 } |
4808 EOF | 4819 EOF |
4809 if { (eval echo configure:4810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4820 if { (eval echo configure:4821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4810 then | 4821 then |
4811 ac_cv_sizeof_int=`cat conftestval` | 4822 ac_cv_sizeof_int=`cat conftestval` |
4812 else | 4823 else |
4813 conftest_rc="$?" | 4824 conftest_rc="$?" |
4814 echo "configure: failed program was:" >&5 | 4825 echo "configure: failed program was:" >&5 |
4826 EOF | 4837 EOF |
4827 } | 4838 } |
4828 | 4839 |
4829 | 4840 |
4830 echo $ac_n "checking size of long""... $ac_c" 1>&6 | 4841 echo $ac_n "checking size of long""... $ac_c" 1>&6 |
4831 echo "configure:4832: checking size of long" >&5 | 4842 echo "configure:4843: checking size of long" >&5 |
4832 | 4843 |
4833 cat > conftest.$ac_ext <<EOF | 4844 cat > conftest.$ac_ext <<EOF |
4834 #line 4835 "configure" | 4845 #line 4846 "configure" |
4835 #include "confdefs.h" | 4846 #include "confdefs.h" |
4836 #include <stdio.h> | 4847 #include <stdio.h> |
4837 #include <sys/types.h> | 4848 int main() |
4838 main() | |
4839 { | 4849 { |
4840 FILE *f=fopen("conftestval", "w"); | 4850 FILE *f=fopen("conftestval", "w"); |
4841 if (!f) exit(1); | 4851 if (!f) return(1); |
4842 fprintf(f, "%d\n", sizeof(long)); | 4852 fprintf(f, "%d\n", sizeof(long)); |
4843 exit(0); | 4853 return(0); |
4844 } | 4854 } |
4845 EOF | 4855 EOF |
4846 if { (eval echo configure:4847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4856 if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4847 then | 4857 then |
4848 ac_cv_sizeof_long=`cat conftestval` | 4858 ac_cv_sizeof_long=`cat conftestval` |
4849 else | 4859 else |
4850 conftest_rc="$?" | 4860 conftest_rc="$?" |
4851 echo "configure: failed program was:" >&5 | 4861 echo "configure: failed program was:" >&5 |
4863 EOF | 4873 EOF |
4864 } | 4874 } |
4865 | 4875 |
4866 | 4876 |
4867 echo $ac_n "checking size of long long""... $ac_c" 1>&6 | 4877 echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
4868 echo "configure:4869: checking size of long long" >&5 | 4878 echo "configure:4879: checking size of long long" >&5 |
4869 | 4879 |
4870 cat > conftest.$ac_ext <<EOF | 4880 cat > conftest.$ac_ext <<EOF |
4871 #line 4872 "configure" | 4881 #line 4882 "configure" |
4872 #include "confdefs.h" | 4882 #include "confdefs.h" |
4873 #include <stdio.h> | 4883 #include <stdio.h> |
4874 #include <sys/types.h> | 4884 int main() |
4875 main() | |
4876 { | 4885 { |
4877 FILE *f=fopen("conftestval", "w"); | 4886 FILE *f=fopen("conftestval", "w"); |
4878 if (!f) exit(1); | 4887 if (!f) return(1); |
4879 fprintf(f, "%d\n", sizeof(long long)); | 4888 fprintf(f, "%d\n", sizeof(long long)); |
4880 exit(0); | 4889 return(0); |
4881 } | 4890 } |
4882 EOF | 4891 EOF |
4883 if { (eval echo configure:4884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4892 if { (eval echo configure:4893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4884 then | 4893 then |
4885 ac_cv_sizeof_long_long=`cat conftestval` | 4894 ac_cv_sizeof_long_long=`cat conftestval` |
4886 else | 4895 else |
4887 conftest_rc="$?" | 4896 conftest_rc="$?" |
4888 echo "configure: failed program was:" >&5 | 4897 echo "configure: failed program was:" >&5 |
4900 EOF | 4909 EOF |
4901 } | 4910 } |
4902 | 4911 |
4903 | 4912 |
4904 echo $ac_n "checking size of void *""... $ac_c" 1>&6 | 4913 echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
4905 echo "configure:4906: checking size of void *" >&5 | 4914 echo "configure:4915: checking size of void *" >&5 |
4906 | 4915 |
4907 cat > conftest.$ac_ext <<EOF | 4916 cat > conftest.$ac_ext <<EOF |
4908 #line 4909 "configure" | 4917 #line 4918 "configure" |
4909 #include "confdefs.h" | 4918 #include "confdefs.h" |
4910 #include <stdio.h> | 4919 #include <stdio.h> |
4911 #include <sys/types.h> | 4920 int main() |
4912 main() | |
4913 { | 4921 { |
4914 FILE *f=fopen("conftestval", "w"); | 4922 FILE *f=fopen("conftestval", "w"); |
4915 if (!f) exit(1); | 4923 if (!f) return(1); |
4916 fprintf(f, "%d\n", sizeof(void *)); | 4924 fprintf(f, "%d\n", sizeof(void *)); |
4917 exit(0); | 4925 return(0); |
4918 } | 4926 } |
4919 EOF | 4927 EOF |
4920 if { (eval echo configure:4921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 4928 if { (eval echo configure:4929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
4921 then | 4929 then |
4922 ac_cv_sizeof_void_p=`cat conftestval` | 4930 ac_cv_sizeof_void_p=`cat conftestval` |
4923 else | 4931 else |
4924 conftest_rc="$?" | 4932 conftest_rc="$?" |
4925 echo "configure: failed program was:" >&5 | 4933 echo "configure: failed program was:" >&5 |
4936 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p | 4944 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p |
4937 EOF | 4945 EOF |
4938 } | 4946 } |
4939 | 4947 |
4940 | 4948 |
4949 echo $ac_n "checking size of double""... $ac_c" 1>&6 | |
4950 echo "configure:4951: checking size of double" >&5 | |
4951 | |
4952 cat > conftest.$ac_ext <<EOF | |
4953 #line 4954 "configure" | |
4954 #include "confdefs.h" | |
4955 #include <stdio.h> | |
4956 int main() | |
4957 { | |
4958 FILE *f=fopen("conftestval", "w"); | |
4959 if (!f) return(1); | |
4960 fprintf(f, "%d\n", sizeof(double)); | |
4961 return(0); | |
4962 } | |
4963 EOF | |
4964 if { (eval echo configure:4965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | |
4965 then | |
4966 ac_cv_sizeof_double=`cat conftestval` | |
4967 else | |
4968 conftest_rc="$?" | |
4969 echo "configure: failed program was:" >&5 | |
4970 cat conftest.$ac_ext >&5 | |
4971 rm -fr conftest* | |
4972 ac_cv_sizeof_double=0 | |
4973 fi | |
4974 rm -fr conftest* | |
4975 echo "$ac_t""$ac_cv_sizeof_double" 1>&6 | |
4976 { test "$extra_verbose" = "yes" && cat << EOF | |
4977 Defining SIZEOF_DOUBLE = $ac_cv_sizeof_double | |
4978 EOF | |
4979 cat >> confdefs.h <<EOF | |
4980 #define SIZEOF_DOUBLE $ac_cv_sizeof_double | |
4981 EOF | |
4982 } | |
4983 | |
4984 | |
4941 | 4985 |
4942 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 4986 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
4943 echo "configure:4944: checking for long file names" >&5 | 4987 echo "configure:4988: checking for long file names" >&5 |
4944 | 4988 |
4945 ac_cv_sys_long_file_names=yes | 4989 ac_cv_sys_long_file_names=yes |
4946 # Test for long file names in all the places we know might matter: | 4990 # Test for long file names in all the places we know might matter: |
4947 # . the current directory, where building will happen | 4991 # . the current directory, where building will happen |
4948 # $prefix/lib where we will be installing things | 4992 # $prefix/lib where we will be installing things |
4984 | 5028 |
4985 fi | 5029 fi |
4986 | 5030 |
4987 | 5031 |
4988 echo $ac_n "checking for sin""... $ac_c" 1>&6 | 5032 echo $ac_n "checking for sin""... $ac_c" 1>&6 |
4989 echo "configure:4990: checking for sin" >&5 | 5033 echo "configure:5034: checking for sin" >&5 |
4990 | 5034 |
4991 cat > conftest.$ac_ext <<EOF | 5035 cat > conftest.$ac_ext <<EOF |
4992 #line 4993 "configure" | 5036 #line 5037 "configure" |
4993 #include "confdefs.h" | 5037 #include "confdefs.h" |
4994 /* System header to define __stub macros and hopefully few prototypes, | 5038 /* System header to define __stub macros and hopefully few prototypes, |
4995 which can conflict with char sin(); below. */ | 5039 which can conflict with char sin(); below. */ |
4996 #include <assert.h> | 5040 #include <assert.h> |
4997 /* Override any gcc2 internal prototype to avoid an error. */ | 5041 /* Override any gcc2 internal prototype to avoid an error. */ |
5010 sin(); | 5054 sin(); |
5011 #endif | 5055 #endif |
5012 | 5056 |
5013 ; return 0; } | 5057 ; return 0; } |
5014 EOF | 5058 EOF |
5015 if { (eval echo configure:5016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5059 if { (eval echo configure:5060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5016 rm -rf conftest* | 5060 rm -rf conftest* |
5017 eval "ac_cv_func_sin=yes" | 5061 eval "ac_cv_func_sin=yes" |
5018 else | 5062 else |
5019 echo "configure: failed program was:" >&5 | 5063 echo "configure: failed program was:" >&5 |
5020 cat conftest.$ac_ext >&5 | 5064 cat conftest.$ac_ext >&5 |
5028 : | 5072 : |
5029 else | 5073 else |
5030 echo "$ac_t""no" 1>&6 | 5074 echo "$ac_t""no" 1>&6 |
5031 | 5075 |
5032 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 | 5076 echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 |
5033 echo "configure:5034: checking for sin in -lm" >&5 | 5077 echo "configure:5078: checking for sin in -lm" >&5 |
5034 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` | 5078 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` |
5035 | 5079 |
5036 xe_check_libs=" -lm " | 5080 xe_check_libs=" -lm " |
5037 cat > conftest.$ac_ext <<EOF | 5081 cat > conftest.$ac_ext <<EOF |
5038 #line 5039 "configure" | 5082 #line 5083 "configure" |
5039 #include "confdefs.h" | 5083 #include "confdefs.h" |
5040 /* Override any gcc2 internal prototype to avoid an error. */ | 5084 /* Override any gcc2 internal prototype to avoid an error. */ |
5041 /* We use char because int might match the return type of a gcc2 | 5085 /* We use char because int might match the return type of a gcc2 |
5042 builtin and then its argument prototype would still apply. */ | 5086 builtin and then its argument prototype would still apply. */ |
5043 char sin(); | 5087 char sin(); |
5044 | 5088 |
5045 int main() { | 5089 int main() { |
5046 sin() | 5090 sin() |
5047 ; return 0; } | 5091 ; return 0; } |
5048 EOF | 5092 EOF |
5049 if { (eval echo configure:5050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5093 if { (eval echo configure:5094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5050 rm -rf conftest* | 5094 rm -rf conftest* |
5051 eval "ac_cv_lib_$ac_lib_var=yes" | 5095 eval "ac_cv_lib_$ac_lib_var=yes" |
5052 else | 5096 else |
5053 echo "configure: failed program was:" >&5 | 5097 echo "configure: failed program was:" >&5 |
5054 cat conftest.$ac_ext >&5 | 5098 cat conftest.$ac_ext >&5 |
5079 | 5123 |
5080 fi | 5124 fi |
5081 | 5125 |
5082 | 5126 |
5083 cat > conftest.$ac_ext <<EOF | 5127 cat > conftest.$ac_ext <<EOF |
5084 #line 5085 "configure" | 5128 #line 5129 "configure" |
5085 #include "confdefs.h" | 5129 #include "confdefs.h" |
5086 #include <math.h> | 5130 #include <math.h> |
5087 int main() { | 5131 int main() { |
5088 return atanh(1.0) + asinh(1.0) + acosh(1.0); | 5132 return atanh(1.0) + asinh(1.0) + acosh(1.0); |
5089 ; return 0; } | 5133 ; return 0; } |
5090 EOF | 5134 EOF |
5091 if { (eval echo configure:5092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5135 if { (eval echo configure:5136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5092 rm -rf conftest* | 5136 rm -rf conftest* |
5093 { test "$extra_verbose" = "yes" && cat << \EOF | 5137 { test "$extra_verbose" = "yes" && cat << \EOF |
5094 Defining HAVE_INVERSE_HYPERBOLIC | 5138 Defining HAVE_INVERSE_HYPERBOLIC |
5095 EOF | 5139 EOF |
5096 cat >> confdefs.h <<\EOF | 5140 cat >> confdefs.h <<\EOF |
5105 rm -f conftest* | 5149 rm -f conftest* |
5106 | 5150 |
5107 for ac_func in mkstemp | 5151 for ac_func in mkstemp |
5108 do | 5152 do |
5109 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5110 echo "configure:5111: checking for $ac_func" >&5 | 5154 echo "configure:5155: checking for $ac_func" >&5 |
5111 | 5155 |
5112 cat > conftest.$ac_ext <<EOF | 5156 cat > conftest.$ac_ext <<EOF |
5113 #line 5114 "configure" | 5157 #line 5158 "configure" |
5114 #include "confdefs.h" | 5158 #include "confdefs.h" |
5115 /* System header to define __stub macros and hopefully few prototypes, | 5159 /* System header to define __stub macros and hopefully few prototypes, |
5116 which can conflict with char $ac_func(); below. */ | 5160 which can conflict with char $ac_func(); below. */ |
5117 #include <assert.h> | 5161 #include <assert.h> |
5118 /* Override any gcc2 internal prototype to avoid an error. */ | 5162 /* Override any gcc2 internal prototype to avoid an error. */ |
5131 $ac_func(); | 5175 $ac_func(); |
5132 #endif | 5176 #endif |
5133 | 5177 |
5134 ; return 0; } | 5178 ; return 0; } |
5135 EOF | 5179 EOF |
5136 if { (eval echo configure:5137: \"$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 |
5137 rm -rf conftest* | 5181 rm -rf conftest* |
5138 eval "ac_cv_func_$ac_func=yes" | 5182 eval "ac_cv_func_$ac_func=yes" |
5139 else | 5183 else |
5140 echo "configure: failed program was:" >&5 | 5184 echo "configure: failed program was:" >&5 |
5141 cat conftest.$ac_ext >&5 | 5185 cat conftest.$ac_ext >&5 |
5160 fi | 5204 fi |
5161 done | 5205 done |
5162 | 5206 |
5163 | 5207 |
5164 echo "checking type of mail spool file locking" 1>&6 | 5208 echo "checking type of mail spool file locking" 1>&6 |
5165 echo "configure:5166: checking type of mail spool file locking" >&5 | 5209 echo "configure:5210: checking type of mail spool file locking" >&5 |
5166 for ac_func in lockf flock | 5210 for ac_func in lockf flock |
5167 do | 5211 do |
5168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5212 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5169 echo "configure:5170: checking for $ac_func" >&5 | 5213 echo "configure:5214: checking for $ac_func" >&5 |
5170 | 5214 |
5171 cat > conftest.$ac_ext <<EOF | 5215 cat > conftest.$ac_ext <<EOF |
5172 #line 5173 "configure" | 5216 #line 5217 "configure" |
5173 #include "confdefs.h" | 5217 #include "confdefs.h" |
5174 /* System header to define __stub macros and hopefully few prototypes, | 5218 /* System header to define __stub macros and hopefully few prototypes, |
5175 which can conflict with char $ac_func(); below. */ | 5219 which can conflict with char $ac_func(); below. */ |
5176 #include <assert.h> | 5220 #include <assert.h> |
5177 /* Override any gcc2 internal prototype to avoid an error. */ | 5221 /* Override any gcc2 internal prototype to avoid an error. */ |
5190 $ac_func(); | 5234 $ac_func(); |
5191 #endif | 5235 #endif |
5192 | 5236 |
5193 ; return 0; } | 5237 ; return 0; } |
5194 EOF | 5238 EOF |
5195 if { (eval echo configure:5196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5239 if { (eval echo configure:5240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5196 rm -rf conftest* | 5240 rm -rf conftest* |
5197 eval "ac_cv_func_$ac_func=yes" | 5241 eval "ac_cv_func_$ac_func=yes" |
5198 else | 5242 else |
5199 echo "configure: failed program was:" >&5 | 5243 echo "configure: failed program was:" >&5 |
5200 cat conftest.$ac_ext >&5 | 5244 cat conftest.$ac_ext >&5 |
5272 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } | 5316 { echo "Error:" "locking mail locking requested but not available." >&2; exit 1; } |
5273 | 5317 |
5274 case "$opsys" in decosf*) | 5318 case "$opsys" in decosf*) |
5275 | 5319 |
5276 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 5320 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
5277 echo "configure:5278: checking for cma_open in -lpthreads" >&5 | 5321 echo "configure:5322: checking for cma_open in -lpthreads" >&5 |
5278 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 5322 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
5279 | 5323 |
5280 xe_check_libs=" -lpthreads " | 5324 xe_check_libs=" -lpthreads " |
5281 cat > conftest.$ac_ext <<EOF | 5325 cat > conftest.$ac_ext <<EOF |
5282 #line 5283 "configure" | 5326 #line 5327 "configure" |
5283 #include "confdefs.h" | 5327 #include "confdefs.h" |
5284 /* Override any gcc2 internal prototype to avoid an error. */ | 5328 /* Override any gcc2 internal prototype to avoid an error. */ |
5285 /* We use char because int might match the return type of a gcc2 | 5329 /* We use char because int might match the return type of a gcc2 |
5286 builtin and then its argument prototype would still apply. */ | 5330 builtin and then its argument prototype would still apply. */ |
5287 char cma_open(); | 5331 char cma_open(); |
5288 | 5332 |
5289 int main() { | 5333 int main() { |
5290 cma_open() | 5334 cma_open() |
5291 ; return 0; } | 5335 ; return 0; } |
5292 EOF | 5336 EOF |
5293 if { (eval echo configure:5294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5337 if { (eval echo configure:5338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5294 rm -rf conftest* | 5338 rm -rf conftest* |
5295 eval "ac_cv_lib_$ac_lib_var=yes" | 5339 eval "ac_cv_lib_$ac_lib_var=yes" |
5296 else | 5340 else |
5297 echo "configure: failed program was:" >&5 | 5341 echo "configure: failed program was:" >&5 |
5298 cat conftest.$ac_ext >&5 | 5342 cat conftest.$ac_ext >&5 |
5325 c_switch_site="$c_switch_site -threads" ;; | 5369 c_switch_site="$c_switch_site -threads" ;; |
5326 esac | 5370 esac |
5327 | 5371 |
5328 | 5372 |
5329 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 | 5373 echo $ac_n "checking whether the -xildoff compiler flag is required""... $ac_c" 1>&6 |
5330 echo "configure:5331: checking whether the -xildoff compiler flag is required" >&5 | 5374 echo "configure:5375: checking whether the -xildoff compiler flag is required" >&5 |
5331 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then | 5375 if ${CC-cc} '-###' -xildon no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; then |
5332 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; | 5376 if ${CC-cc} '-###' -xildoff no_such_file.c 2>&1 | grep '^[^ ]*/ild ' > /dev/null ; |
5333 then echo "$ac_t""no" 1>&6; | 5377 then echo "$ac_t""no" 1>&6; |
5334 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 | 5378 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 |
5335 fi | 5379 fi |
5337 fi | 5381 fi |
5338 | 5382 |
5339 if test "$opsys" = "sol2"; then | 5383 if test "$opsys" = "sol2"; then |
5340 if test "$os_release" -ge 506; then | 5384 if test "$os_release" -ge 506; then |
5341 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 | 5385 echo $ac_n "checking for \"-z ignore\" linker flag""... $ac_c" 1>&6 |
5342 echo "configure:5343: checking for \"-z ignore\" linker flag" >&5 | 5386 echo "configure:5387: checking for \"-z ignore\" linker flag" >&5 |
5343 case "`ld -h 2>&1`" in | 5387 case "`ld -h 2>&1`" in |
5344 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 | 5388 *-z\ ignore\|record* ) echo "$ac_t""yes" 1>&6 |
5345 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; | 5389 ld_switch_site="-z ignore $ld_switch_site" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-z ignore\" to \$ld_switch_site"; fi ;; |
5346 *) echo "$ac_t""no" 1>&6 ;; | 5390 *) echo "$ac_t""no" 1>&6 ;; |
5347 esac | 5391 esac |
5348 fi | 5392 fi |
5349 fi | 5393 fi |
5350 | 5394 |
5351 | 5395 |
5352 echo "checking "for specified window system"" 1>&6 | 5396 echo "checking "for specified window system"" 1>&6 |
5353 echo "configure:5354: checking "for specified window system"" >&5 | 5397 echo "configure:5398: checking "for specified window system"" >&5 |
5354 | 5398 |
5355 | 5399 |
5356 GNOME_CONFIG=no | 5400 GNOME_CONFIG=no |
5357 GTK_CONFIG=no | 5401 GTK_CONFIG=no |
5358 | 5402 |
5359 if test "$with_gnome" != "no"; then | 5403 if test "$with_gnome" != "no"; then |
5360 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 | 5404 echo $ac_n "checking for GNOME configuration script""... $ac_c" 1>&6 |
5361 echo "configure:5362: checking for GNOME configuration script" >&5 | 5405 echo "configure:5406: checking for GNOME configuration script" >&5 |
5362 for possible in gnome-config | 5406 for possible in gnome-config |
5363 do | 5407 do |
5364 possible_version=`${possible} --version 2> /dev/null` | 5408 possible_version=`${possible} --version 2> /dev/null` |
5365 if test "x${possible_version}" != "x"; then | 5409 if test "x${possible_version}" != "x"; then |
5366 GNOME_CONFIG="${possible}" | 5410 GNOME_CONFIG="${possible}" |
5387 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi | 5431 c_switch_gtk="$c_switch_gtk ${GNOME_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GNOME_CFLAGS}\" to \$c_switch_gtk"; fi |
5388 fi | 5432 fi |
5389 | 5433 |
5390 if test "$with_gtk" != "no";then | 5434 if test "$with_gtk" != "no";then |
5391 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 | 5435 echo $ac_n "checking for GTK configuration script""... $ac_c" 1>&6 |
5392 echo "configure:5393: checking for GTK configuration script" >&5 | 5436 echo "configure:5437: checking for GTK configuration script" >&5 |
5393 for possible in gtk12-config gtk14-config gtk-config | 5437 for possible in gtk12-config gtk14-config gtk-config |
5394 do | 5438 do |
5395 possible_version=`${possible} --version 2> /dev/null` | 5439 possible_version=`${possible} --version 2> /dev/null` |
5396 if test "x${possible_version}" != "x"; then | 5440 if test "x${possible_version}" != "x"; then |
5397 GTK_CONFIG="${possible}" | 5441 GTK_CONFIG="${possible}" |
5409 echo "$ac_t""${GTK_CONFIG}" 1>&6 | 5453 echo "$ac_t""${GTK_CONFIG}" 1>&6 |
5410 fi | 5454 fi |
5411 | 5455 |
5412 if test "${GTK_CONFIG}" != "no"; then | 5456 if test "${GTK_CONFIG}" != "no"; then |
5413 echo $ac_n "checking gtk version""... $ac_c" 1>&6 | 5457 echo $ac_n "checking gtk version""... $ac_c" 1>&6 |
5414 echo "configure:5415: checking gtk version" >&5 | 5458 echo "configure:5459: checking gtk version" >&5 |
5415 GTK_VERSION=`${GTK_CONFIG} --version` | 5459 GTK_VERSION=`${GTK_CONFIG} --version` |
5416 echo "$ac_t""${GTK_VERSION}" 1>&6 | 5460 echo "$ac_t""${GTK_VERSION}" 1>&6 |
5417 | 5461 |
5418 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 | 5462 echo $ac_n "checking gtk libs""... $ac_c" 1>&6 |
5419 echo "configure:5420: checking gtk libs" >&5 | 5463 echo "configure:5464: checking gtk libs" >&5 |
5420 GTK_LIBS=`${GTK_CONFIG} --libs` | 5464 GTK_LIBS=`${GTK_CONFIG} --libs` |
5421 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi | 5465 libs_gtk="$libs_gtk ${GTK_LIBS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_LIBS}\" to \$libs_gtk"; fi |
5422 echo "$ac_t""${GTK_LIBS}" 1>&6 | 5466 echo "$ac_t""${GTK_LIBS}" 1>&6 |
5423 | 5467 |
5424 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 | 5468 echo $ac_n "checking gtk cflags""... $ac_c" 1>&6 |
5425 echo "configure:5426: checking gtk cflags" >&5 | 5469 echo "configure:5470: checking gtk cflags" >&5 |
5426 GTK_CFLAGS=`${GTK_CONFIG} --cflags` | 5470 GTK_CFLAGS=`${GTK_CONFIG} --cflags` |
5427 if test "$GCC" = "yes"; then | 5471 if test "$GCC" = "yes"; then |
5428 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" | 5472 GTK_CFLAGS="${GTK_CFLAGS} -Wno-shadow" |
5429 fi | 5473 fi |
5430 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi | 5474 c_switch_gtk="$c_switch_gtk ${GTK_CFLAGS}" && if test "$extra_verbose" = "yes"; then echo " Appending \"${GTK_CFLAGS}\" to \$c_switch_gtk"; fi |
5431 echo "$ac_t""${GTK_CFLAGS}" 1>&6 | 5475 echo "$ac_t""${GTK_CFLAGS}" 1>&6 |
5432 | 5476 |
5433 | 5477 |
5434 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 | 5478 echo $ac_n "checking for main in -lgdk_imlib""... $ac_c" 1>&6 |
5435 echo "configure:5436: checking for main in -lgdk_imlib" >&5 | 5479 echo "configure:5480: checking for main in -lgdk_imlib" >&5 |
5436 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` | 5480 ac_lib_var=`echo gdk_imlib'_'main | sed 'y%./+-%__p_%'` |
5437 | 5481 |
5438 xe_check_libs=" -lgdk_imlib " | 5482 xe_check_libs=" -lgdk_imlib " |
5439 cat > conftest.$ac_ext <<EOF | 5483 cat > conftest.$ac_ext <<EOF |
5440 #line 5441 "configure" | 5484 #line 5485 "configure" |
5441 #include "confdefs.h" | 5485 #include "confdefs.h" |
5442 | 5486 |
5443 int main() { | 5487 int main() { |
5444 main() | 5488 main() |
5445 ; return 0; } | 5489 ; return 0; } |
5446 EOF | 5490 EOF |
5447 if { (eval echo configure:5448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5491 if { (eval echo configure:5492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5448 rm -rf conftest* | 5492 rm -rf conftest* |
5449 eval "ac_cv_lib_$ac_lib_var=yes" | 5493 eval "ac_cv_lib_$ac_lib_var=yes" |
5450 else | 5494 else |
5451 echo "configure: failed program was:" >&5 | 5495 echo "configure: failed program was:" >&5 |
5452 cat conftest.$ac_ext >&5 | 5496 cat conftest.$ac_ext >&5 |
5464 fi | 5508 fi |
5465 | 5509 |
5466 | 5510 |
5467 | 5511 |
5468 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 | 5512 echo $ac_n "checking for Imlib_init in -lImlib""... $ac_c" 1>&6 |
5469 echo "configure:5470: checking for Imlib_init in -lImlib" >&5 | 5513 echo "configure:5514: checking for Imlib_init in -lImlib" >&5 |
5470 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` | 5514 ac_lib_var=`echo Imlib'_'Imlib_init | sed 'y%./+-%__p_%'` |
5471 | 5515 |
5472 xe_check_libs=" -lImlib " | 5516 xe_check_libs=" -lImlib " |
5473 cat > conftest.$ac_ext <<EOF | 5517 cat > conftest.$ac_ext <<EOF |
5474 #line 5475 "configure" | 5518 #line 5519 "configure" |
5475 #include "confdefs.h" | 5519 #include "confdefs.h" |
5476 /* Override any gcc2 internal prototype to avoid an error. */ | 5520 /* Override any gcc2 internal prototype to avoid an error. */ |
5477 /* We use char because int might match the return type of a gcc2 | 5521 /* We use char because int might match the return type of a gcc2 |
5478 builtin and then its argument prototype would still apply. */ | 5522 builtin and then its argument prototype would still apply. */ |
5479 char Imlib_init(); | 5523 char Imlib_init(); |
5480 | 5524 |
5481 int main() { | 5525 int main() { |
5482 Imlib_init() | 5526 Imlib_init() |
5483 ; return 0; } | 5527 ; return 0; } |
5484 EOF | 5528 EOF |
5485 if { (eval echo configure:5486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5529 if { (eval echo configure:5530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5486 rm -rf conftest* | 5530 rm -rf conftest* |
5487 eval "ac_cv_lib_$ac_lib_var=yes" | 5531 eval "ac_cv_lib_$ac_lib_var=yes" |
5488 else | 5532 else |
5489 echo "configure: failed program was:" >&5 | 5533 echo "configure: failed program was:" >&5 |
5490 cat conftest.$ac_ext >&5 | 5534 cat conftest.$ac_ext >&5 |
5503 | 5547 |
5504 | 5548 |
5505 for ac_func in gdk_imlib_init | 5549 for ac_func in gdk_imlib_init |
5506 do | 5550 do |
5507 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5508 echo "configure:5509: checking for $ac_func" >&5 | 5552 echo "configure:5553: checking for $ac_func" >&5 |
5509 | 5553 |
5510 cat > conftest.$ac_ext <<EOF | 5554 cat > conftest.$ac_ext <<EOF |
5511 #line 5512 "configure" | 5555 #line 5556 "configure" |
5512 #include "confdefs.h" | 5556 #include "confdefs.h" |
5513 /* System header to define __stub macros and hopefully few prototypes, | 5557 /* System header to define __stub macros and hopefully few prototypes, |
5514 which can conflict with char $ac_func(); below. */ | 5558 which can conflict with char $ac_func(); below. */ |
5515 #include <assert.h> | 5559 #include <assert.h> |
5516 /* Override any gcc2 internal prototype to avoid an error. */ | 5560 /* Override any gcc2 internal prototype to avoid an error. */ |
5529 $ac_func(); | 5573 $ac_func(); |
5530 #endif | 5574 #endif |
5531 | 5575 |
5532 ; return 0; } | 5576 ; return 0; } |
5533 EOF | 5577 EOF |
5534 if { (eval echo configure:5535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5578 if { (eval echo configure:5579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5535 rm -rf conftest* | 5579 rm -rf conftest* |
5536 eval "ac_cv_func_$ac_func=yes" | 5580 eval "ac_cv_func_$ac_func=yes" |
5537 else | 5581 else |
5538 echo "configure: failed program was:" >&5 | 5582 echo "configure: failed program was:" >&5 |
5539 cat conftest.$ac_ext >&5 | 5583 cat conftest.$ac_ext >&5 |
5595 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" | 5639 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" |
5596 for ac_hdr in glade/glade.h glade.h | 5640 for ac_hdr in glade/glade.h glade.h |
5597 do | 5641 do |
5598 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5642 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5599 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5643 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5600 echo "configure:5601: checking for $ac_hdr" >&5 | 5644 echo "configure:5645: checking for $ac_hdr" >&5 |
5601 | 5645 |
5602 cat > conftest.$ac_ext <<EOF | 5646 cat > conftest.$ac_ext <<EOF |
5603 #line 5604 "configure" | 5647 #line 5648 "configure" |
5604 #include "confdefs.h" | 5648 #include "confdefs.h" |
5605 #include <$ac_hdr> | 5649 #include <$ac_hdr> |
5606 EOF | 5650 EOF |
5607 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5651 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5608 { (eval echo configure:5609: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5652 { (eval echo configure:5653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5609 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5653 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5610 if test -z "$ac_err"; then | 5654 if test -z "$ac_err"; then |
5611 rm -rf conftest* | 5655 rm -rf conftest* |
5612 eval "ac_cv_header_$ac_safe=yes" | 5656 eval "ac_cv_header_$ac_safe=yes" |
5613 else | 5657 else |
5634 fi | 5678 fi |
5635 done | 5679 done |
5636 | 5680 |
5637 | 5681 |
5638 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 | 5682 echo $ac_n "checking for main in -lxml""... $ac_c" 1>&6 |
5639 echo "configure:5640: checking for main in -lxml" >&5 | 5683 echo "configure:5684: checking for main in -lxml" >&5 |
5640 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` | 5684 ac_lib_var=`echo xml'_'main | sed 'y%./+-%__p_%'` |
5641 | 5685 |
5642 xe_check_libs=" -lxml " | 5686 xe_check_libs=" -lxml " |
5643 cat > conftest.$ac_ext <<EOF | 5687 cat > conftest.$ac_ext <<EOF |
5644 #line 5645 "configure" | 5688 #line 5689 "configure" |
5645 #include "confdefs.h" | 5689 #include "confdefs.h" |
5646 | 5690 |
5647 int main() { | 5691 int main() { |
5648 main() | 5692 main() |
5649 ; return 0; } | 5693 ; return 0; } |
5650 EOF | 5694 EOF |
5651 if { (eval echo configure:5652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5695 if { (eval echo configure:5696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5652 rm -rf conftest* | 5696 rm -rf conftest* |
5653 eval "ac_cv_lib_$ac_lib_var=yes" | 5697 eval "ac_cv_lib_$ac_lib_var=yes" |
5654 else | 5698 else |
5655 echo "configure: failed program was:" >&5 | 5699 echo "configure: failed program was:" >&5 |
5656 cat conftest.$ac_ext >&5 | 5700 cat conftest.$ac_ext >&5 |
5668 fi | 5712 fi |
5669 | 5713 |
5670 | 5714 |
5671 | 5715 |
5672 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 | 5716 echo $ac_n "checking for main in -lglade""... $ac_c" 1>&6 |
5673 echo "configure:5674: checking for main in -lglade" >&5 | 5717 echo "configure:5718: checking for main in -lglade" >&5 |
5674 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` | 5718 ac_lib_var=`echo glade'_'main | sed 'y%./+-%__p_%'` |
5675 | 5719 |
5676 xe_check_libs=" -lglade " | 5720 xe_check_libs=" -lglade " |
5677 cat > conftest.$ac_ext <<EOF | 5721 cat > conftest.$ac_ext <<EOF |
5678 #line 5679 "configure" | 5722 #line 5723 "configure" |
5679 #include "confdefs.h" | 5723 #include "confdefs.h" |
5680 | 5724 |
5681 int main() { | 5725 int main() { |
5682 main() | 5726 main() |
5683 ; return 0; } | 5727 ; return 0; } |
5684 EOF | 5728 EOF |
5685 if { (eval echo configure:5686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5729 if { (eval echo configure:5730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5686 rm -rf conftest* | 5730 rm -rf conftest* |
5687 eval "ac_cv_lib_$ac_lib_var=yes" | 5731 eval "ac_cv_lib_$ac_lib_var=yes" |
5688 else | 5732 else |
5689 echo "configure: failed program was:" >&5 | 5733 echo "configure: failed program was:" >&5 |
5690 cat conftest.$ac_ext >&5 | 5734 cat conftest.$ac_ext >&5 |
5702 fi | 5746 fi |
5703 | 5747 |
5704 | 5748 |
5705 | 5749 |
5706 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 | 5750 echo $ac_n "checking for main in -lglade-gnome""... $ac_c" 1>&6 |
5707 echo "configure:5708: checking for main in -lglade-gnome" >&5 | 5751 echo "configure:5752: checking for main in -lglade-gnome" >&5 |
5708 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` | 5752 ac_lib_var=`echo glade-gnome'_'main | sed 'y%./+-%__p_%'` |
5709 | 5753 |
5710 xe_check_libs=" -lglade-gnome " | 5754 xe_check_libs=" -lglade-gnome " |
5711 cat > conftest.$ac_ext <<EOF | 5755 cat > conftest.$ac_ext <<EOF |
5712 #line 5713 "configure" | 5756 #line 5757 "configure" |
5713 #include "confdefs.h" | 5757 #include "confdefs.h" |
5714 | 5758 |
5715 int main() { | 5759 int main() { |
5716 main() | 5760 main() |
5717 ; return 0; } | 5761 ; return 0; } |
5718 EOF | 5762 EOF |
5719 if { (eval echo configure:5720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5763 if { (eval echo configure:5764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5720 rm -rf conftest* | 5764 rm -rf conftest* |
5721 eval "ac_cv_lib_$ac_lib_var=yes" | 5765 eval "ac_cv_lib_$ac_lib_var=yes" |
5722 else | 5766 else |
5723 echo "configure: failed program was:" >&5 | 5767 echo "configure: failed program was:" >&5 |
5724 cat conftest.$ac_ext >&5 | 5768 cat conftest.$ac_ext >&5 |
5735 echo "$ac_t""no" 1>&6 | 5779 echo "$ac_t""no" 1>&6 |
5736 fi | 5780 fi |
5737 | 5781 |
5738 | 5782 |
5739 cat > conftest.$ac_ext <<EOF | 5783 cat > conftest.$ac_ext <<EOF |
5740 #line 5741 "configure" | 5784 #line 5785 "configure" |
5741 #include "confdefs.h" | 5785 #include "confdefs.h" |
5742 #include <glade/glade-xml.h> | 5786 #include <glade/glade-xml.h> |
5743 EOF | 5787 EOF |
5744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5745 egrep "char \*txtdomain;" >/dev/null 2>&1; then | 5789 egrep "char \*txtdomain;" >/dev/null 2>&1; then |
5794 # If we find X, set shell vars x_includes and x_libraries to the | 5838 # If we find X, set shell vars x_includes and x_libraries to the |
5795 # paths, otherwise set no_x=yes. | 5839 # paths, otherwise set no_x=yes. |
5796 # Uses ac_ vars as temps to allow command line to override cache and checks. | 5840 # Uses ac_ vars as temps to allow command line to override cache and checks. |
5797 # --without-x overrides everything else, but does not touch the cache. | 5841 # --without-x overrides everything else, but does not touch the cache. |
5798 echo $ac_n "checking for X""... $ac_c" 1>&6 | 5842 echo $ac_n "checking for X""... $ac_c" 1>&6 |
5799 echo "configure:5800: checking for X" >&5 | 5843 echo "configure:5844: checking for X" >&5 |
5800 | 5844 |
5801 # Check whether --with-x or --without-x was given. | 5845 # Check whether --with-x or --without-x was given. |
5802 if test "${with_x+set}" = set; then | 5846 if test "${with_x+set}" = set; then |
5803 withval="$with_x" | 5847 withval="$with_x" |
5804 : | 5848 : |
5854 # Guess where to find include files, by looking for this one X11 .h file. | 5898 # Guess where to find include files, by looking for this one X11 .h file. |
5855 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 5899 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
5856 | 5900 |
5857 # First, try using that file with no special directory specified. | 5901 # First, try using that file with no special directory specified. |
5858 cat > conftest.$ac_ext <<EOF | 5902 cat > conftest.$ac_ext <<EOF |
5859 #line 5860 "configure" | 5903 #line 5904 "configure" |
5860 #include "confdefs.h" | 5904 #include "confdefs.h" |
5861 #include <$x_direct_test_include> | 5905 #include <$x_direct_test_include> |
5862 EOF | 5906 EOF |
5863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5907 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5864 { (eval echo configure:5865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5908 { (eval echo configure:5909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5909 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5866 if test -z "$ac_err"; then | 5910 if test -z "$ac_err"; then |
5867 rm -rf conftest* | 5911 rm -rf conftest* |
5868 # We can compile using X headers with no special include directory. | 5912 # We can compile using X headers with no special include directory. |
5869 ac_x_includes= | 5913 ac_x_includes= |
5928 # See if we find them without any special options. | 5972 # See if we find them without any special options. |
5929 # Don't add to $LIBS permanently. | 5973 # Don't add to $LIBS permanently. |
5930 ac_save_LIBS="$LIBS" | 5974 ac_save_LIBS="$LIBS" |
5931 LIBS="-l$x_direct_test_library $LIBS" | 5975 LIBS="-l$x_direct_test_library $LIBS" |
5932 cat > conftest.$ac_ext <<EOF | 5976 cat > conftest.$ac_ext <<EOF |
5933 #line 5934 "configure" | 5977 #line 5978 "configure" |
5934 #include "confdefs.h" | 5978 #include "confdefs.h" |
5935 | 5979 |
5936 int main() { | 5980 int main() { |
5937 ${x_direct_test_function}() | 5981 ${x_direct_test_function}() |
5938 ; return 0; } | 5982 ; return 0; } |
5939 EOF | 5983 EOF |
5940 if { (eval echo configure:5941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5984 if { (eval echo configure:5985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5941 rm -rf conftest* | 5985 rm -rf conftest* |
5942 LIBS="$ac_save_LIBS" | 5986 LIBS="$ac_save_LIBS" |
5943 # We can link X programs with no special library path. | 5987 # We can link X programs with no special library path. |
5944 ac_x_libraries= | 5988 ac_x_libraries= |
5945 else | 5989 else |
6044 # For Solaris; some versions of Sun CC require a space after -R and | 6088 # For Solaris; some versions of Sun CC require a space after -R and |
6045 # others require no space. Words are not sufficient . . . . | 6089 # others require no space. Words are not sufficient . . . . |
6046 case "`(uname -sr) 2>/dev/null`" in | 6090 case "`(uname -sr) 2>/dev/null`" in |
6047 "SunOS 5"*) | 6091 "SunOS 5"*) |
6048 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 6092 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
6049 echo "configure:6050: checking whether -R must be followed by a space" >&5 | 6093 echo "configure:6094: checking whether -R must be followed by a space" >&5 |
6050 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 6094 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
6051 cat > conftest.$ac_ext <<EOF | 6095 cat > conftest.$ac_ext <<EOF |
6052 #line 6053 "configure" | 6096 #line 6097 "configure" |
6053 #include "confdefs.h" | 6097 #include "confdefs.h" |
6054 | 6098 |
6055 int main() { | 6099 int main() { |
6056 | 6100 |
6057 ; return 0; } | 6101 ; return 0; } |
6058 EOF | 6102 EOF |
6059 if { (eval echo configure:6060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6103 if { (eval echo configure:6104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6060 rm -rf conftest* | 6104 rm -rf conftest* |
6061 ac_R_nospace=yes | 6105 ac_R_nospace=yes |
6062 else | 6106 else |
6063 echo "configure: failed program was:" >&5 | 6107 echo "configure: failed program was:" >&5 |
6064 cat conftest.$ac_ext >&5 | 6108 cat conftest.$ac_ext >&5 |
6070 echo "$ac_t""no" 1>&6 | 6114 echo "$ac_t""no" 1>&6 |
6071 X_LIBS="$X_LIBS -R$x_libraries" | 6115 X_LIBS="$X_LIBS -R$x_libraries" |
6072 else | 6116 else |
6073 LIBS="$ac_xsave_LIBS -R $x_libraries" | 6117 LIBS="$ac_xsave_LIBS -R $x_libraries" |
6074 cat > conftest.$ac_ext <<EOF | 6118 cat > conftest.$ac_ext <<EOF |
6075 #line 6076 "configure" | 6119 #line 6120 "configure" |
6076 #include "confdefs.h" | 6120 #include "confdefs.h" |
6077 | 6121 |
6078 int main() { | 6122 int main() { |
6079 | 6123 |
6080 ; return 0; } | 6124 ; return 0; } |
6081 EOF | 6125 EOF |
6082 if { (eval echo configure:6083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6126 if { (eval echo configure:6127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6083 rm -rf conftest* | 6127 rm -rf conftest* |
6084 ac_R_space=yes | 6128 ac_R_space=yes |
6085 else | 6129 else |
6086 echo "configure: failed program was:" >&5 | 6130 echo "configure: failed program was:" >&5 |
6087 cat conftest.$ac_ext >&5 | 6131 cat conftest.$ac_ext >&5 |
6113 if test "$with_dnet" = "no" ; then | 6157 if test "$with_dnet" = "no" ; then |
6114 ac_cv_lib_dnet_dnet_ntoa=no | 6158 ac_cv_lib_dnet_dnet_ntoa=no |
6115 else | 6159 else |
6116 | 6160 |
6117 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 6161 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
6118 echo "configure:6119: checking for dnet_ntoa in -ldnet" >&5 | 6162 echo "configure:6163: checking for dnet_ntoa in -ldnet" >&5 |
6119 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6163 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6120 | 6164 |
6121 xe_check_libs=" -ldnet " | 6165 xe_check_libs=" -ldnet " |
6122 cat > conftest.$ac_ext <<EOF | 6166 cat > conftest.$ac_ext <<EOF |
6123 #line 6124 "configure" | 6167 #line 6168 "configure" |
6124 #include "confdefs.h" | 6168 #include "confdefs.h" |
6125 /* Override any gcc2 internal prototype to avoid an error. */ | 6169 /* Override any gcc2 internal prototype to avoid an error. */ |
6126 /* We use char because int might match the return type of a gcc2 | 6170 /* We use char because int might match the return type of a gcc2 |
6127 builtin and then its argument prototype would still apply. */ | 6171 builtin and then its argument prototype would still apply. */ |
6128 char dnet_ntoa(); | 6172 char dnet_ntoa(); |
6129 | 6173 |
6130 int main() { | 6174 int main() { |
6131 dnet_ntoa() | 6175 dnet_ntoa() |
6132 ; return 0; } | 6176 ; return 0; } |
6133 EOF | 6177 EOF |
6134 if { (eval echo configure:6135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6178 if { (eval echo configure:6179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6135 rm -rf conftest* | 6179 rm -rf conftest* |
6136 eval "ac_cv_lib_$ac_lib_var=yes" | 6180 eval "ac_cv_lib_$ac_lib_var=yes" |
6137 else | 6181 else |
6138 echo "configure: failed program was:" >&5 | 6182 echo "configure: failed program was:" >&5 |
6139 cat conftest.$ac_ext >&5 | 6183 cat conftest.$ac_ext >&5 |
6153 fi | 6197 fi |
6154 | 6198 |
6155 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 6199 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
6156 | 6200 |
6157 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 6201 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
6158 echo "configure:6159: checking for dnet_ntoa in -ldnet_stub" >&5 | 6202 echo "configure:6203: checking for dnet_ntoa in -ldnet_stub" >&5 |
6159 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 6203 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
6160 | 6204 |
6161 xe_check_libs=" -ldnet_stub " | 6205 xe_check_libs=" -ldnet_stub " |
6162 cat > conftest.$ac_ext <<EOF | 6206 cat > conftest.$ac_ext <<EOF |
6163 #line 6164 "configure" | 6207 #line 6208 "configure" |
6164 #include "confdefs.h" | 6208 #include "confdefs.h" |
6165 /* Override any gcc2 internal prototype to avoid an error. */ | 6209 /* Override any gcc2 internal prototype to avoid an error. */ |
6166 /* We use char because int might match the return type of a gcc2 | 6210 /* We use char because int might match the return type of a gcc2 |
6167 builtin and then its argument prototype would still apply. */ | 6211 builtin and then its argument prototype would still apply. */ |
6168 char dnet_ntoa(); | 6212 char dnet_ntoa(); |
6169 | 6213 |
6170 int main() { | 6214 int main() { |
6171 dnet_ntoa() | 6215 dnet_ntoa() |
6172 ; return 0; } | 6216 ; return 0; } |
6173 EOF | 6217 EOF |
6174 if { (eval echo configure:6175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6218 if { (eval echo configure:6219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6175 rm -rf conftest* | 6219 rm -rf conftest* |
6176 eval "ac_cv_lib_$ac_lib_var=yes" | 6220 eval "ac_cv_lib_$ac_lib_var=yes" |
6177 else | 6221 else |
6178 echo "configure: failed program was:" >&5 | 6222 echo "configure: failed program was:" >&5 |
6179 cat conftest.$ac_ext >&5 | 6223 cat conftest.$ac_ext >&5 |
6198 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 6242 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
6199 # needs -lnsl. | 6243 # needs -lnsl. |
6200 # The nsl library prevents programs from opening the X display | 6244 # The nsl library prevents programs from opening the X display |
6201 # on Irix 5.2, according to dickey@clark.net. | 6245 # on Irix 5.2, according to dickey@clark.net. |
6202 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 6246 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
6203 echo "configure:6204: checking for gethostbyname" >&5 | 6247 echo "configure:6248: checking for gethostbyname" >&5 |
6204 | 6248 |
6205 cat > conftest.$ac_ext <<EOF | 6249 cat > conftest.$ac_ext <<EOF |
6206 #line 6207 "configure" | 6250 #line 6251 "configure" |
6207 #include "confdefs.h" | 6251 #include "confdefs.h" |
6208 /* System header to define __stub macros and hopefully few prototypes, | 6252 /* System header to define __stub macros and hopefully few prototypes, |
6209 which can conflict with char gethostbyname(); below. */ | 6253 which can conflict with char gethostbyname(); below. */ |
6210 #include <assert.h> | 6254 #include <assert.h> |
6211 /* Override any gcc2 internal prototype to avoid an error. */ | 6255 /* Override any gcc2 internal prototype to avoid an error. */ |
6224 gethostbyname(); | 6268 gethostbyname(); |
6225 #endif | 6269 #endif |
6226 | 6270 |
6227 ; return 0; } | 6271 ; return 0; } |
6228 EOF | 6272 EOF |
6229 if { (eval echo configure:6230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6273 if { (eval echo configure:6274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6230 rm -rf conftest* | 6274 rm -rf conftest* |
6231 eval "ac_cv_func_gethostbyname=yes" | 6275 eval "ac_cv_func_gethostbyname=yes" |
6232 else | 6276 else |
6233 echo "configure: failed program was:" >&5 | 6277 echo "configure: failed program was:" >&5 |
6234 cat conftest.$ac_ext >&5 | 6278 cat conftest.$ac_ext >&5 |
6245 fi | 6289 fi |
6246 | 6290 |
6247 if test $ac_cv_func_gethostbyname = no; then | 6291 if test $ac_cv_func_gethostbyname = no; then |
6248 | 6292 |
6249 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 6293 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
6250 echo "configure:6251: checking for gethostbyname in -lnsl" >&5 | 6294 echo "configure:6295: checking for gethostbyname in -lnsl" >&5 |
6251 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 6295 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
6252 | 6296 |
6253 xe_check_libs=" -lnsl " | 6297 xe_check_libs=" -lnsl " |
6254 cat > conftest.$ac_ext <<EOF | 6298 cat > conftest.$ac_ext <<EOF |
6255 #line 6256 "configure" | 6299 #line 6300 "configure" |
6256 #include "confdefs.h" | 6300 #include "confdefs.h" |
6257 /* Override any gcc2 internal prototype to avoid an error. */ | 6301 /* Override any gcc2 internal prototype to avoid an error. */ |
6258 /* We use char because int might match the return type of a gcc2 | 6302 /* We use char because int might match the return type of a gcc2 |
6259 builtin and then its argument prototype would still apply. */ | 6303 builtin and then its argument prototype would still apply. */ |
6260 char gethostbyname(); | 6304 char gethostbyname(); |
6261 | 6305 |
6262 int main() { | 6306 int main() { |
6263 gethostbyname() | 6307 gethostbyname() |
6264 ; return 0; } | 6308 ; return 0; } |
6265 EOF | 6309 EOF |
6266 if { (eval echo configure:6267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6310 if { (eval echo configure:6311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6267 rm -rf conftest* | 6311 rm -rf conftest* |
6268 eval "ac_cv_lib_$ac_lib_var=yes" | 6312 eval "ac_cv_lib_$ac_lib_var=yes" |
6269 else | 6313 else |
6270 echo "configure: failed program was:" >&5 | 6314 echo "configure: failed program was:" >&5 |
6271 cat conftest.$ac_ext >&5 | 6315 cat conftest.$ac_ext >&5 |
6291 # on later versions), says simon@lia.di.epfl.ch: it contains | 6335 # on later versions), says simon@lia.di.epfl.ch: it contains |
6292 # gethostby* variants that don't use the nameserver (or something). | 6336 # gethostby* variants that don't use the nameserver (or something). |
6293 # -lsocket must be given before -lnsl if both are needed. | 6337 # -lsocket must be given before -lnsl if both are needed. |
6294 # We assume that if connect needs -lnsl, so does gethostbyname. | 6338 # We assume that if connect needs -lnsl, so does gethostbyname. |
6295 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 6339 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
6296 echo "configure:6297: checking for connect" >&5 | 6340 echo "configure:6341: checking for connect" >&5 |
6297 | 6341 |
6298 cat > conftest.$ac_ext <<EOF | 6342 cat > conftest.$ac_ext <<EOF |
6299 #line 6300 "configure" | 6343 #line 6344 "configure" |
6300 #include "confdefs.h" | 6344 #include "confdefs.h" |
6301 /* System header to define __stub macros and hopefully few prototypes, | 6345 /* System header to define __stub macros and hopefully few prototypes, |
6302 which can conflict with char connect(); below. */ | 6346 which can conflict with char connect(); below. */ |
6303 #include <assert.h> | 6347 #include <assert.h> |
6304 /* Override any gcc2 internal prototype to avoid an error. */ | 6348 /* Override any gcc2 internal prototype to avoid an error. */ |
6317 connect(); | 6361 connect(); |
6318 #endif | 6362 #endif |
6319 | 6363 |
6320 ; return 0; } | 6364 ; return 0; } |
6321 EOF | 6365 EOF |
6322 if { (eval echo configure:6323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6366 if { (eval echo configure:6367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6323 rm -rf conftest* | 6367 rm -rf conftest* |
6324 eval "ac_cv_func_connect=yes" | 6368 eval "ac_cv_func_connect=yes" |
6325 else | 6369 else |
6326 echo "configure: failed program was:" >&5 | 6370 echo "configure: failed program was:" >&5 |
6327 cat conftest.$ac_ext >&5 | 6371 cat conftest.$ac_ext >&5 |
6340 if test $ac_cv_func_connect = no; then | 6384 if test $ac_cv_func_connect = no; then |
6341 | 6385 |
6342 xe_msg_checking="for connect in -lsocket" | 6386 xe_msg_checking="for connect in -lsocket" |
6343 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6387 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6344 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6388 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6345 echo "configure:6346: checking "$xe_msg_checking"" >&5 | 6389 echo "configure:6390: checking "$xe_msg_checking"" >&5 |
6346 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 6390 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
6347 | 6391 |
6348 xe_check_libs=" -lsocket $X_EXTRA_LIBS" | 6392 xe_check_libs=" -lsocket $X_EXTRA_LIBS" |
6349 cat > conftest.$ac_ext <<EOF | 6393 cat > conftest.$ac_ext <<EOF |
6350 #line 6351 "configure" | 6394 #line 6395 "configure" |
6351 #include "confdefs.h" | 6395 #include "confdefs.h" |
6352 /* Override any gcc2 internal prototype to avoid an error. */ | 6396 /* Override any gcc2 internal prototype to avoid an error. */ |
6353 /* We use char because int might match the return type of a gcc2 | 6397 /* We use char because int might match the return type of a gcc2 |
6354 builtin and then its argument prototype would still apply. */ | 6398 builtin and then its argument prototype would still apply. */ |
6355 char connect(); | 6399 char connect(); |
6356 | 6400 |
6357 int main() { | 6401 int main() { |
6358 connect() | 6402 connect() |
6359 ; return 0; } | 6403 ; return 0; } |
6360 EOF | 6404 EOF |
6361 if { (eval echo configure:6362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6405 if { (eval echo configure:6406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6362 rm -rf conftest* | 6406 rm -rf conftest* |
6363 eval "ac_cv_lib_$ac_lib_var=yes" | 6407 eval "ac_cv_lib_$ac_lib_var=yes" |
6364 else | 6408 else |
6365 echo "configure: failed program was:" >&5 | 6409 echo "configure: failed program was:" >&5 |
6366 cat conftest.$ac_ext >&5 | 6410 cat conftest.$ac_ext >&5 |
6380 | 6424 |
6381 fi | 6425 fi |
6382 | 6426 |
6383 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 6427 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
6384 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 6428 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
6385 echo "configure:6386: checking for remove" >&5 | 6429 echo "configure:6430: checking for remove" >&5 |
6386 | 6430 |
6387 cat > conftest.$ac_ext <<EOF | 6431 cat > conftest.$ac_ext <<EOF |
6388 #line 6389 "configure" | 6432 #line 6433 "configure" |
6389 #include "confdefs.h" | 6433 #include "confdefs.h" |
6390 /* System header to define __stub macros and hopefully few prototypes, | 6434 /* System header to define __stub macros and hopefully few prototypes, |
6391 which can conflict with char remove(); below. */ | 6435 which can conflict with char remove(); below. */ |
6392 #include <assert.h> | 6436 #include <assert.h> |
6393 /* Override any gcc2 internal prototype to avoid an error. */ | 6437 /* Override any gcc2 internal prototype to avoid an error. */ |
6406 remove(); | 6450 remove(); |
6407 #endif | 6451 #endif |
6408 | 6452 |
6409 ; return 0; } | 6453 ; return 0; } |
6410 EOF | 6454 EOF |
6411 if { (eval echo configure:6412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6455 if { (eval echo configure:6456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6412 rm -rf conftest* | 6456 rm -rf conftest* |
6413 eval "ac_cv_func_remove=yes" | 6457 eval "ac_cv_func_remove=yes" |
6414 else | 6458 else |
6415 echo "configure: failed program was:" >&5 | 6459 echo "configure: failed program was:" >&5 |
6416 cat conftest.$ac_ext >&5 | 6460 cat conftest.$ac_ext >&5 |
6427 fi | 6471 fi |
6428 | 6472 |
6429 if test $ac_cv_func_remove = no; then | 6473 if test $ac_cv_func_remove = no; then |
6430 | 6474 |
6431 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 6475 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
6432 echo "configure:6433: checking for remove in -lposix" >&5 | 6476 echo "configure:6477: checking for remove in -lposix" >&5 |
6433 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 6477 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
6434 | 6478 |
6435 xe_check_libs=" -lposix " | 6479 xe_check_libs=" -lposix " |
6436 cat > conftest.$ac_ext <<EOF | 6480 cat > conftest.$ac_ext <<EOF |
6437 #line 6438 "configure" | 6481 #line 6482 "configure" |
6438 #include "confdefs.h" | 6482 #include "confdefs.h" |
6439 /* Override any gcc2 internal prototype to avoid an error. */ | 6483 /* Override any gcc2 internal prototype to avoid an error. */ |
6440 /* We use char because int might match the return type of a gcc2 | 6484 /* We use char because int might match the return type of a gcc2 |
6441 builtin and then its argument prototype would still apply. */ | 6485 builtin and then its argument prototype would still apply. */ |
6442 char remove(); | 6486 char remove(); |
6443 | 6487 |
6444 int main() { | 6488 int main() { |
6445 remove() | 6489 remove() |
6446 ; return 0; } | 6490 ; return 0; } |
6447 EOF | 6491 EOF |
6448 if { (eval echo configure:6449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6492 if { (eval echo configure:6493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6449 rm -rf conftest* | 6493 rm -rf conftest* |
6450 eval "ac_cv_lib_$ac_lib_var=yes" | 6494 eval "ac_cv_lib_$ac_lib_var=yes" |
6451 else | 6495 else |
6452 echo "configure: failed program was:" >&5 | 6496 echo "configure: failed program was:" >&5 |
6453 cat conftest.$ac_ext >&5 | 6497 cat conftest.$ac_ext >&5 |
6467 | 6511 |
6468 fi | 6512 fi |
6469 | 6513 |
6470 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 6514 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
6471 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 6515 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
6472 echo "configure:6473: checking for shmat" >&5 | 6516 echo "configure:6517: checking for shmat" >&5 |
6473 | 6517 |
6474 cat > conftest.$ac_ext <<EOF | 6518 cat > conftest.$ac_ext <<EOF |
6475 #line 6476 "configure" | 6519 #line 6520 "configure" |
6476 #include "confdefs.h" | 6520 #include "confdefs.h" |
6477 /* System header to define __stub macros and hopefully few prototypes, | 6521 /* System header to define __stub macros and hopefully few prototypes, |
6478 which can conflict with char shmat(); below. */ | 6522 which can conflict with char shmat(); below. */ |
6479 #include <assert.h> | 6523 #include <assert.h> |
6480 /* Override any gcc2 internal prototype to avoid an error. */ | 6524 /* Override any gcc2 internal prototype to avoid an error. */ |
6493 shmat(); | 6537 shmat(); |
6494 #endif | 6538 #endif |
6495 | 6539 |
6496 ; return 0; } | 6540 ; return 0; } |
6497 EOF | 6541 EOF |
6498 if { (eval echo configure:6499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6542 if { (eval echo configure:6543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6499 rm -rf conftest* | 6543 rm -rf conftest* |
6500 eval "ac_cv_func_shmat=yes" | 6544 eval "ac_cv_func_shmat=yes" |
6501 else | 6545 else |
6502 echo "configure: failed program was:" >&5 | 6546 echo "configure: failed program was:" >&5 |
6503 cat conftest.$ac_ext >&5 | 6547 cat conftest.$ac_ext >&5 |
6514 fi | 6558 fi |
6515 | 6559 |
6516 if test $ac_cv_func_shmat = no; then | 6560 if test $ac_cv_func_shmat = no; then |
6517 | 6561 |
6518 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 6562 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
6519 echo "configure:6520: checking for shmat in -lipc" >&5 | 6563 echo "configure:6564: checking for shmat in -lipc" >&5 |
6520 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 6564 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
6521 | 6565 |
6522 xe_check_libs=" -lipc " | 6566 xe_check_libs=" -lipc " |
6523 cat > conftest.$ac_ext <<EOF | 6567 cat > conftest.$ac_ext <<EOF |
6524 #line 6525 "configure" | 6568 #line 6569 "configure" |
6525 #include "confdefs.h" | 6569 #include "confdefs.h" |
6526 /* Override any gcc2 internal prototype to avoid an error. */ | 6570 /* Override any gcc2 internal prototype to avoid an error. */ |
6527 /* We use char because int might match the return type of a gcc2 | 6571 /* We use char because int might match the return type of a gcc2 |
6528 builtin and then its argument prototype would still apply. */ | 6572 builtin and then its argument prototype would still apply. */ |
6529 char shmat(); | 6573 char shmat(); |
6530 | 6574 |
6531 int main() { | 6575 int main() { |
6532 shmat() | 6576 shmat() |
6533 ; return 0; } | 6577 ; return 0; } |
6534 EOF | 6578 EOF |
6535 if { (eval echo configure:6536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6579 if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6536 rm -rf conftest* | 6580 rm -rf conftest* |
6537 eval "ac_cv_lib_$ac_lib_var=yes" | 6581 eval "ac_cv_lib_$ac_lib_var=yes" |
6538 else | 6582 else |
6539 echo "configure: failed program was:" >&5 | 6583 echo "configure: failed program was:" >&5 |
6540 cat conftest.$ac_ext >&5 | 6584 cat conftest.$ac_ext >&5 |
6566 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 6610 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
6567 | 6611 |
6568 xe_msg_checking="for IceConnectionNumber in -lICE" | 6612 xe_msg_checking="for IceConnectionNumber in -lICE" |
6569 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" | 6613 test -n "$X_EXTRA_LIBS" && xe_msg_checking="$xe_msg_checking using extra libs $X_EXTRA_LIBS" |
6570 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6614 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6571 echo "configure:6572: checking "$xe_msg_checking"" >&5 | 6615 echo "configure:6616: checking "$xe_msg_checking"" >&5 |
6572 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 6616 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
6573 | 6617 |
6574 xe_check_libs=" -lICE $X_EXTRA_LIBS" | 6618 xe_check_libs=" -lICE $X_EXTRA_LIBS" |
6575 cat > conftest.$ac_ext <<EOF | 6619 cat > conftest.$ac_ext <<EOF |
6576 #line 6577 "configure" | 6620 #line 6621 "configure" |
6577 #include "confdefs.h" | 6621 #include "confdefs.h" |
6578 /* Override any gcc2 internal prototype to avoid an error. */ | 6622 /* Override any gcc2 internal prototype to avoid an error. */ |
6579 /* We use char because int might match the return type of a gcc2 | 6623 /* We use char because int might match the return type of a gcc2 |
6580 builtin and then its argument prototype would still apply. */ | 6624 builtin and then its argument prototype would still apply. */ |
6581 char IceConnectionNumber(); | 6625 char IceConnectionNumber(); |
6582 | 6626 |
6583 int main() { | 6627 int main() { |
6584 IceConnectionNumber() | 6628 IceConnectionNumber() |
6585 ; return 0; } | 6629 ; return 0; } |
6586 EOF | 6630 EOF |
6587 if { (eval echo configure:6588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6631 if { (eval echo configure:6632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6588 rm -rf conftest* | 6632 rm -rf conftest* |
6589 eval "ac_cv_lib_$ac_lib_var=yes" | 6633 eval "ac_cv_lib_$ac_lib_var=yes" |
6590 else | 6634 else |
6591 echo "configure: failed program was:" >&5 | 6635 echo "configure: failed program was:" >&5 |
6592 cat conftest.$ac_ext >&5 | 6636 cat conftest.$ac_ext >&5 |
6628 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi | 6672 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$extra_verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi |
6629 | 6673 |
6630 | 6674 |
6631 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 6675 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
6632 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 6676 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
6633 echo "configure:6634: checking for Xm/Xm.h" >&5 | 6677 echo "configure:6678: checking for Xm/Xm.h" >&5 |
6634 | 6678 |
6635 cat > conftest.$ac_ext <<EOF | 6679 cat > conftest.$ac_ext <<EOF |
6636 #line 6637 "configure" | 6680 #line 6681 "configure" |
6637 #include "confdefs.h" | 6681 #include "confdefs.h" |
6638 #include <Xm/Xm.h> | 6682 #include <Xm/Xm.h> |
6639 EOF | 6683 EOF |
6640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6684 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6641 { (eval echo configure:6642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6685 { (eval echo configure:6686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6686 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6643 if test -z "$ac_err"; then | 6687 if test -z "$ac_err"; then |
6644 rm -rf conftest* | 6688 rm -rf conftest* |
6645 eval "ac_cv_header_$ac_safe=yes" | 6689 eval "ac_cv_header_$ac_safe=yes" |
6646 else | 6690 else |
6653 rm -f conftest* | 6697 rm -f conftest* |
6654 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 6698 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
6655 echo "$ac_t""yes" 1>&6 | 6699 echo "$ac_t""yes" 1>&6 |
6656 | 6700 |
6657 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 6701 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
6658 echo "configure:6659: checking for XmStringFree in -lXm" >&5 | 6702 echo "configure:6703: checking for XmStringFree in -lXm" >&5 |
6659 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 6703 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
6660 | 6704 |
6661 xe_check_libs=" -lXm " | 6705 xe_check_libs=" -lXm " |
6662 cat > conftest.$ac_ext <<EOF | 6706 cat > conftest.$ac_ext <<EOF |
6663 #line 6664 "configure" | 6707 #line 6708 "configure" |
6664 #include "confdefs.h" | 6708 #include "confdefs.h" |
6665 /* Override any gcc2 internal prototype to avoid an error. */ | 6709 /* Override any gcc2 internal prototype to avoid an error. */ |
6666 /* We use char because int might match the return type of a gcc2 | 6710 /* We use char because int might match the return type of a gcc2 |
6667 builtin and then its argument prototype would still apply. */ | 6711 builtin and then its argument prototype would still apply. */ |
6668 char XmStringFree(); | 6712 char XmStringFree(); |
6669 | 6713 |
6670 int main() { | 6714 int main() { |
6671 XmStringFree() | 6715 XmStringFree() |
6672 ; return 0; } | 6716 ; return 0; } |
6673 EOF | 6717 EOF |
6674 if { (eval echo configure:6675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6718 if { (eval echo configure:6719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6675 rm -rf conftest* | 6719 rm -rf conftest* |
6676 eval "ac_cv_lib_$ac_lib_var=yes" | 6720 eval "ac_cv_lib_$ac_lib_var=yes" |
6677 else | 6721 else |
6678 echo "configure: failed program was:" >&5 | 6722 echo "configure: failed program was:" >&5 |
6679 cat conftest.$ac_ext >&5 | 6723 cat conftest.$ac_ext >&5 |
6821 EOF | 6865 EOF |
6822 } | 6866 } |
6823 | 6867 |
6824 | 6868 |
6825 echo "checking for X defines extracted by xmkmf" 1>&6 | 6869 echo "checking for X defines extracted by xmkmf" 1>&6 |
6826 echo "configure:6827: checking for X defines extracted by xmkmf" >&5 | 6870 echo "configure:6871: checking for X defines extracted by xmkmf" >&5 |
6827 rm -fr conftestdir | 6871 rm -fr conftestdir |
6828 if mkdir conftestdir; then | 6872 if mkdir conftestdir; then |
6829 cd conftestdir | 6873 cd conftestdir |
6830 cat > Imakefile <<'EOF' | 6874 cat > Imakefile <<'EOF' |
6831 xetest: | 6875 xetest: |
6870 done | 6914 done |
6871 fi | 6915 fi |
6872 | 6916 |
6873 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` | 6917 ac_safe=`echo "X11/Intrinsic.h" | sed 'y%./+-%__p_%'` |
6874 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 | 6918 echo $ac_n "checking for X11/Intrinsic.h""... $ac_c" 1>&6 |
6875 echo "configure:6876: checking for X11/Intrinsic.h" >&5 | 6919 echo "configure:6920: checking for X11/Intrinsic.h" >&5 |
6876 | 6920 |
6877 cat > conftest.$ac_ext <<EOF | 6921 cat > conftest.$ac_ext <<EOF |
6878 #line 6879 "configure" | 6922 #line 6923 "configure" |
6879 #include "confdefs.h" | 6923 #include "confdefs.h" |
6880 #include <X11/Intrinsic.h> | 6924 #include <X11/Intrinsic.h> |
6881 EOF | 6925 EOF |
6882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6926 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6883 { (eval echo configure:6884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6927 { (eval echo configure:6928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6884 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6928 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6885 if test -z "$ac_err"; then | 6929 if test -z "$ac_err"; then |
6886 rm -rf conftest* | 6930 rm -rf conftest* |
6887 eval "ac_cv_header_$ac_safe=yes" | 6931 eval "ac_cv_header_$ac_safe=yes" |
6888 else | 6932 else |
6902 fi | 6946 fi |
6903 | 6947 |
6904 | 6948 |
6905 | 6949 |
6906 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 | 6950 echo $ac_n "checking for XOpenDisplay in -lX11""... $ac_c" 1>&6 |
6907 echo "configure:6908: checking for XOpenDisplay in -lX11" >&5 | 6951 echo "configure:6952: checking for XOpenDisplay in -lX11" >&5 |
6908 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` | 6952 ac_lib_var=`echo X11'_'XOpenDisplay | sed 'y%./+-%__p_%'` |
6909 | 6953 |
6910 xe_check_libs=" -lX11 " | 6954 xe_check_libs=" -lX11 " |
6911 cat > conftest.$ac_ext <<EOF | 6955 cat > conftest.$ac_ext <<EOF |
6912 #line 6913 "configure" | 6956 #line 6957 "configure" |
6913 #include "confdefs.h" | 6957 #include "confdefs.h" |
6914 /* Override any gcc2 internal prototype to avoid an error. */ | 6958 /* Override any gcc2 internal prototype to avoid an error. */ |
6915 /* We use char because int might match the return type of a gcc2 | 6959 /* We use char because int might match the return type of a gcc2 |
6916 builtin and then its argument prototype would still apply. */ | 6960 builtin and then its argument prototype would still apply. */ |
6917 char XOpenDisplay(); | 6961 char XOpenDisplay(); |
6918 | 6962 |
6919 int main() { | 6963 int main() { |
6920 XOpenDisplay() | 6964 XOpenDisplay() |
6921 ; return 0; } | 6965 ; return 0; } |
6922 EOF | 6966 EOF |
6923 if { (eval echo configure:6924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6967 if { (eval echo configure:6968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6924 rm -rf conftest* | 6968 rm -rf conftest* |
6925 eval "ac_cv_lib_$ac_lib_var=yes" | 6969 eval "ac_cv_lib_$ac_lib_var=yes" |
6926 else | 6970 else |
6927 echo "configure: failed program was:" >&5 | 6971 echo "configure: failed program was:" >&5 |
6928 cat conftest.$ac_ext >&5 | 6972 cat conftest.$ac_ext >&5 |
6943 if test "$have_lib_x11" != "yes"; then | 6987 if test "$have_lib_x11" != "yes"; then |
6944 | 6988 |
6945 xe_msg_checking="for XGetFontProperty in -lX11" | 6989 xe_msg_checking="for XGetFontProperty in -lX11" |
6946 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" | 6990 test -n "-b i486-linuxaout" && xe_msg_checking="$xe_msg_checking using extra libs -b i486-linuxaout" |
6947 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 6991 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
6948 echo "configure:6949: checking "$xe_msg_checking"" >&5 | 6992 echo "configure:6993: checking "$xe_msg_checking"" >&5 |
6949 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` | 6993 ac_lib_var=`echo X11'_'XGetFontProperty | sed 'y%./+-%__p_%'` |
6950 | 6994 |
6951 xe_check_libs=" -lX11 -b i486-linuxaout" | 6995 xe_check_libs=" -lX11 -b i486-linuxaout" |
6952 cat > conftest.$ac_ext <<EOF | 6996 cat > conftest.$ac_ext <<EOF |
6953 #line 6954 "configure" | 6997 #line 6998 "configure" |
6954 #include "confdefs.h" | 6998 #include "confdefs.h" |
6955 /* Override any gcc2 internal prototype to avoid an error. */ | 6999 /* Override any gcc2 internal prototype to avoid an error. */ |
6956 /* We use char because int might match the return type of a gcc2 | 7000 /* We use char because int might match the return type of a gcc2 |
6957 builtin and then its argument prototype would still apply. */ | 7001 builtin and then its argument prototype would still apply. */ |
6958 char XGetFontProperty(); | 7002 char XGetFontProperty(); |
6959 | 7003 |
6960 int main() { | 7004 int main() { |
6961 XGetFontProperty() | 7005 XGetFontProperty() |
6962 ; return 0; } | 7006 ; return 0; } |
6963 EOF | 7007 EOF |
6964 if { (eval echo configure:6965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7008 if { (eval echo configure:7009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6965 rm -rf conftest* | 7009 rm -rf conftest* |
6966 eval "ac_cv_lib_$ac_lib_var=yes" | 7010 eval "ac_cv_lib_$ac_lib_var=yes" |
6967 else | 7011 else |
6968 echo "configure: failed program was:" >&5 | 7012 echo "configure: failed program was:" >&5 |
6969 cat conftest.$ac_ext >&5 | 7013 cat conftest.$ac_ext >&5 |
6986 libs_x="-lX11" | 7030 libs_x="-lX11" |
6987 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" | 7031 test "$extra_verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" |
6988 | 7032 |
6989 | 7033 |
6990 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 | 7034 echo $ac_n "checking for XShapeSelectInput in -lXext""... $ac_c" 1>&6 |
6991 echo "configure:6992: checking for XShapeSelectInput in -lXext" >&5 | 7035 echo "configure:7036: checking for XShapeSelectInput in -lXext" >&5 |
6992 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` | 7036 ac_lib_var=`echo Xext'_'XShapeSelectInput | sed 'y%./+-%__p_%'` |
6993 | 7037 |
6994 xe_check_libs=" -lXext " | 7038 xe_check_libs=" -lXext " |
6995 cat > conftest.$ac_ext <<EOF | 7039 cat > conftest.$ac_ext <<EOF |
6996 #line 6997 "configure" | 7040 #line 7041 "configure" |
6997 #include "confdefs.h" | 7041 #include "confdefs.h" |
6998 /* Override any gcc2 internal prototype to avoid an error. */ | 7042 /* Override any gcc2 internal prototype to avoid an error. */ |
6999 /* We use char because int might match the return type of a gcc2 | 7043 /* We use char because int might match the return type of a gcc2 |
7000 builtin and then its argument prototype would still apply. */ | 7044 builtin and then its argument prototype would still apply. */ |
7001 char XShapeSelectInput(); | 7045 char XShapeSelectInput(); |
7002 | 7046 |
7003 int main() { | 7047 int main() { |
7004 XShapeSelectInput() | 7048 XShapeSelectInput() |
7005 ; return 0; } | 7049 ; return 0; } |
7006 EOF | 7050 EOF |
7007 if { (eval echo configure:7008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7051 if { (eval echo configure:7052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7008 rm -rf conftest* | 7052 rm -rf conftest* |
7009 eval "ac_cv_lib_$ac_lib_var=yes" | 7053 eval "ac_cv_lib_$ac_lib_var=yes" |
7010 else | 7054 else |
7011 echo "configure: failed program was:" >&5 | 7055 echo "configure: failed program was:" >&5 |
7012 cat conftest.$ac_ext >&5 | 7056 cat conftest.$ac_ext >&5 |
7025 | 7069 |
7026 | 7070 |
7027 | 7071 |
7028 | 7072 |
7029 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 | 7073 echo $ac_n "checking for XtOpenDisplay in -lXt""... $ac_c" 1>&6 |
7030 echo "configure:7031: checking for XtOpenDisplay in -lXt" >&5 | 7074 echo "configure:7075: checking for XtOpenDisplay in -lXt" >&5 |
7031 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` | 7075 ac_lib_var=`echo Xt'_'XtOpenDisplay | sed 'y%./+-%__p_%'` |
7032 | 7076 |
7033 xe_check_libs=" -lXt " | 7077 xe_check_libs=" -lXt " |
7034 cat > conftest.$ac_ext <<EOF | 7078 cat > conftest.$ac_ext <<EOF |
7035 #line 7036 "configure" | 7079 #line 7080 "configure" |
7036 #include "confdefs.h" | 7080 #include "confdefs.h" |
7037 /* Override any gcc2 internal prototype to avoid an error. */ | 7081 /* Override any gcc2 internal prototype to avoid an error. */ |
7038 /* We use char because int might match the return type of a gcc2 | 7082 /* We use char because int might match the return type of a gcc2 |
7039 builtin and then its argument prototype would still apply. */ | 7083 builtin and then its argument prototype would still apply. */ |
7040 char XtOpenDisplay(); | 7084 char XtOpenDisplay(); |
7041 | 7085 |
7042 int main() { | 7086 int main() { |
7043 XtOpenDisplay() | 7087 XtOpenDisplay() |
7044 ; return 0; } | 7088 ; return 0; } |
7045 EOF | 7089 EOF |
7046 if { (eval echo configure:7047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7090 if { (eval echo configure:7091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7047 rm -rf conftest* | 7091 rm -rf conftest* |
7048 eval "ac_cv_lib_$ac_lib_var=yes" | 7092 eval "ac_cv_lib_$ac_lib_var=yes" |
7049 else | 7093 else |
7050 echo "configure: failed program was:" >&5 | 7094 echo "configure: failed program was:" >&5 |
7051 cat conftest.$ac_ext >&5 | 7095 cat conftest.$ac_ext >&5 |
7064 fi | 7108 fi |
7065 | 7109 |
7066 | 7110 |
7067 | 7111 |
7068 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 | 7112 echo $ac_n "checking the version of X11 being used""... $ac_c" 1>&6 |
7069 echo "configure:7070: checking the version of X11 being used" >&5 | 7113 echo "configure:7114: checking the version of X11 being used" >&5 |
7070 cat > conftest.$ac_ext <<EOF | 7114 cat > conftest.$ac_ext <<EOF |
7071 #line 7072 "configure" | 7115 #line 7116 "configure" |
7072 #include "confdefs.h" | 7116 #include "confdefs.h" |
7073 #include <X11/Intrinsic.h> | 7117 #include <X11/Intrinsic.h> |
7074 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } | 7118 int main(int c, char *v[]) { return c>1 ? XlibSpecificationRelease : 0; } |
7075 EOF | 7119 EOF |
7076 if { (eval echo configure:7077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7120 if { (eval echo configure:7121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7077 then | 7121 then |
7078 ./conftest foobar; x11_release=$? | 7122 ./conftest foobar; x11_release=$? |
7079 else | 7123 else |
7080 conftest_rc="$?" | 7124 conftest_rc="$?" |
7081 echo "configure: failed program was:" >&5 | 7125 echo "configure: failed program was:" >&5 |
7102 fi | 7146 fi |
7103 | 7147 |
7104 for ac_func in XConvertCase | 7148 for ac_func in XConvertCase |
7105 do | 7149 do |
7106 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7150 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7107 echo "configure:7108: checking for $ac_func" >&5 | 7151 echo "configure:7152: checking for $ac_func" >&5 |
7108 | 7152 |
7109 cat > conftest.$ac_ext <<EOF | 7153 cat > conftest.$ac_ext <<EOF |
7110 #line 7111 "configure" | 7154 #line 7155 "configure" |
7111 #include "confdefs.h" | 7155 #include "confdefs.h" |
7112 /* System header to define __stub macros and hopefully few prototypes, | 7156 /* System header to define __stub macros and hopefully few prototypes, |
7113 which can conflict with char $ac_func(); below. */ | 7157 which can conflict with char $ac_func(); below. */ |
7114 #include <assert.h> | 7158 #include <assert.h> |
7115 /* Override any gcc2 internal prototype to avoid an error. */ | 7159 /* Override any gcc2 internal prototype to avoid an error. */ |
7128 $ac_func(); | 7172 $ac_func(); |
7129 #endif | 7173 #endif |
7130 | 7174 |
7131 ; return 0; } | 7175 ; return 0; } |
7132 EOF | 7176 EOF |
7133 if { (eval echo configure:7134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7177 if { (eval echo configure:7178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7134 rm -rf conftest* | 7178 rm -rf conftest* |
7135 eval "ac_cv_func_$ac_func=yes" | 7179 eval "ac_cv_func_$ac_func=yes" |
7136 else | 7180 else |
7137 echo "configure: failed program was:" >&5 | 7181 echo "configure: failed program was:" >&5 |
7138 cat conftest.$ac_ext >&5 | 7182 cat conftest.$ac_ext >&5 |
7160 | 7204 |
7161 for ac_hdr in X11/Xlocale.h | 7205 for ac_hdr in X11/Xlocale.h |
7162 do | 7206 do |
7163 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 7207 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
7164 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 7208 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
7165 echo "configure:7166: checking for $ac_hdr" >&5 | 7209 echo "configure:7210: checking for $ac_hdr" >&5 |
7166 | 7210 |
7167 cat > conftest.$ac_ext <<EOF | 7211 cat > conftest.$ac_ext <<EOF |
7168 #line 7169 "configure" | 7212 #line 7213 "configure" |
7169 #include "confdefs.h" | 7213 #include "confdefs.h" |
7170 #include <$ac_hdr> | 7214 #include <$ac_hdr> |
7171 EOF | 7215 EOF |
7172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7173 { (eval echo configure:7174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7217 { (eval echo configure:7218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7174 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7175 if test -z "$ac_err"; then | 7219 if test -z "$ac_err"; then |
7176 rm -rf conftest* | 7220 rm -rf conftest* |
7177 eval "ac_cv_header_$ac_safe=yes" | 7221 eval "ac_cv_header_$ac_safe=yes" |
7178 else | 7222 else |
7201 | 7245 |
7202 | 7246 |
7203 for ac_func in XRegisterIMInstantiateCallback | 7247 for ac_func in XRegisterIMInstantiateCallback |
7204 do | 7248 do |
7205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7206 echo "configure:7207: checking for $ac_func" >&5 | 7250 echo "configure:7251: checking for $ac_func" >&5 |
7207 | 7251 |
7208 cat > conftest.$ac_ext <<EOF | 7252 cat > conftest.$ac_ext <<EOF |
7209 #line 7210 "configure" | 7253 #line 7254 "configure" |
7210 #include "confdefs.h" | 7254 #include "confdefs.h" |
7211 /* System header to define __stub macros and hopefully few prototypes, | 7255 /* System header to define __stub macros and hopefully few prototypes, |
7212 which can conflict with char $ac_func(); below. */ | 7256 which can conflict with char $ac_func(); below. */ |
7213 #include <assert.h> | 7257 #include <assert.h> |
7214 /* Override any gcc2 internal prototype to avoid an error. */ | 7258 /* Override any gcc2 internal prototype to avoid an error. */ |
7227 $ac_func(); | 7271 $ac_func(); |
7228 #endif | 7272 #endif |
7229 | 7273 |
7230 ; return 0; } | 7274 ; return 0; } |
7231 EOF | 7275 EOF |
7232 if { (eval echo configure:7233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7276 if { (eval echo configure:7277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7233 rm -rf conftest* | 7277 rm -rf conftest* |
7234 eval "ac_cv_func_$ac_func=yes" | 7278 eval "ac_cv_func_$ac_func=yes" |
7235 else | 7279 else |
7236 echo "configure: failed program was:" >&5 | 7280 echo "configure: failed program was:" >&5 |
7237 cat conftest.$ac_ext >&5 | 7281 cat conftest.$ac_ext >&5 |
7255 echo "$ac_t""no" 1>&6 | 7299 echo "$ac_t""no" 1>&6 |
7256 fi | 7300 fi |
7257 done | 7301 done |
7258 | 7302 |
7259 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 | 7303 echo $ac_n "checking for standard XRegisterIMInstantiateCallback prototype""... $ac_c" 1>&6 |
7260 echo "configure:7261: checking for standard XRegisterIMInstantiateCallback prototype" >&5 | 7304 echo "configure:7305: checking for standard XRegisterIMInstantiateCallback prototype" >&5 |
7261 cat > conftest.$ac_ext <<EOF | 7305 cat > conftest.$ac_ext <<EOF |
7262 #line 7263 "configure" | 7306 #line 7307 "configure" |
7263 #include "confdefs.h" | 7307 #include "confdefs.h" |
7264 | 7308 |
7265 #define NeedFunctionPrototypes 1 | 7309 #define NeedFunctionPrototypes 1 |
7266 #include <X11/Xlib.h> | 7310 #include <X11/Xlib.h> |
7267 extern Bool XRegisterIMInstantiateCallback( | 7311 extern Bool XRegisterIMInstantiateCallback( |
7269 | 7313 |
7270 int main() { | 7314 int main() { |
7271 | 7315 |
7272 ; return 0; } | 7316 ; return 0; } |
7273 EOF | 7317 EOF |
7274 if { (eval echo configure:7275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7318 if { (eval echo configure:7319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7275 rm -rf conftest* | 7319 rm -rf conftest* |
7276 echo "$ac_t""yes" 1>&6 | 7320 echo "$ac_t""yes" 1>&6 |
7277 else | 7321 else |
7278 echo "configure: failed program was:" >&5 | 7322 echo "configure: failed program was:" >&5 |
7279 cat conftest.$ac_ext >&5 | 7323 cat conftest.$ac_ext >&5 |
7290 fi | 7334 fi |
7291 rm -f conftest* | 7335 rm -f conftest* |
7292 | 7336 |
7293 test -z "$with_xmu" && { | 7337 test -z "$with_xmu" && { |
7294 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 | 7338 echo $ac_n "checking for XmuReadBitmapDataFromFile in -lXmu""... $ac_c" 1>&6 |
7295 echo "configure:7296: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 | 7339 echo "configure:7340: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 |
7296 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` | 7340 ac_lib_var=`echo Xmu'_'XmuReadBitmapDataFromFile | sed 'y%./+-%__p_%'` |
7297 | 7341 |
7298 xe_check_libs=" -lXmu " | 7342 xe_check_libs=" -lXmu " |
7299 cat > conftest.$ac_ext <<EOF | 7343 cat > conftest.$ac_ext <<EOF |
7300 #line 7301 "configure" | 7344 #line 7345 "configure" |
7301 #include "confdefs.h" | 7345 #include "confdefs.h" |
7302 /* Override any gcc2 internal prototype to avoid an error. */ | 7346 /* Override any gcc2 internal prototype to avoid an error. */ |
7303 /* We use char because int might match the return type of a gcc2 | 7347 /* We use char because int might match the return type of a gcc2 |
7304 builtin and then its argument prototype would still apply. */ | 7348 builtin and then its argument prototype would still apply. */ |
7305 char XmuReadBitmapDataFromFile(); | 7349 char XmuReadBitmapDataFromFile(); |
7306 | 7350 |
7307 int main() { | 7351 int main() { |
7308 XmuReadBitmapDataFromFile() | 7352 XmuReadBitmapDataFromFile() |
7309 ; return 0; } | 7353 ; return 0; } |
7310 EOF | 7354 EOF |
7311 if { (eval echo configure:7312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7355 if { (eval echo configure:7356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7312 rm -rf conftest* | 7356 rm -rf conftest* |
7313 eval "ac_cv_lib_$ac_lib_var=yes" | 7357 eval "ac_cv_lib_$ac_lib_var=yes" |
7314 else | 7358 else |
7315 echo "configure: failed program was:" >&5 | 7359 echo "configure: failed program was:" >&5 |
7316 cat conftest.$ac_ext >&5 | 7360 cat conftest.$ac_ext >&5 |
7345 | 7389 |
7346 fi | 7390 fi |
7347 | 7391 |
7348 | 7392 |
7349 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 7393 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
7350 echo "configure:7351: checking for main in -lXbsd" >&5 | 7394 echo "configure:7395: checking for main in -lXbsd" >&5 |
7351 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 7395 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
7352 | 7396 |
7353 xe_check_libs=" -lXbsd " | 7397 xe_check_libs=" -lXbsd " |
7354 cat > conftest.$ac_ext <<EOF | 7398 cat > conftest.$ac_ext <<EOF |
7355 #line 7356 "configure" | 7399 #line 7400 "configure" |
7356 #include "confdefs.h" | 7400 #include "confdefs.h" |
7357 | 7401 |
7358 int main() { | 7402 int main() { |
7359 main() | 7403 main() |
7360 ; return 0; } | 7404 ; return 0; } |
7361 EOF | 7405 EOF |
7362 if { (eval echo configure:7363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7406 if { (eval echo configure:7407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7363 rm -rf conftest* | 7407 rm -rf conftest* |
7364 eval "ac_cv_lib_$ac_lib_var=yes" | 7408 eval "ac_cv_lib_$ac_lib_var=yes" |
7365 else | 7409 else |
7366 echo "configure: failed program was:" >&5 | 7410 echo "configure: failed program was:" >&5 |
7367 cat conftest.$ac_ext >&5 | 7411 cat conftest.$ac_ext >&5 |
7394 fi | 7438 fi |
7395 | 7439 |
7396 fi | 7440 fi |
7397 if test "$with_msw" != "no"; then | 7441 if test "$with_msw" != "no"; then |
7398 echo "checking for MS-Windows" 1>&6 | 7442 echo "checking for MS-Windows" 1>&6 |
7399 echo "configure:7400: checking for MS-Windows" >&5 | 7443 echo "configure:7444: checking for MS-Windows" >&5 |
7400 | 7444 |
7401 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 | 7445 echo $ac_n "checking for main in -lgdi32""... $ac_c" 1>&6 |
7402 echo "configure:7403: checking for main in -lgdi32" >&5 | 7446 echo "configure:7447: checking for main in -lgdi32" >&5 |
7403 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` | 7447 ac_lib_var=`echo gdi32'_'main | sed 'y%./+-%__p_%'` |
7404 | 7448 |
7405 xe_check_libs=" -lgdi32 " | 7449 xe_check_libs=" -lgdi32 " |
7406 cat > conftest.$ac_ext <<EOF | 7450 cat > conftest.$ac_ext <<EOF |
7407 #line 7408 "configure" | 7451 #line 7452 "configure" |
7408 #include "confdefs.h" | 7452 #include "confdefs.h" |
7409 | 7453 |
7410 int main() { | 7454 int main() { |
7411 main() | 7455 main() |
7412 ; return 0; } | 7456 ; return 0; } |
7413 EOF | 7457 EOF |
7414 if { (eval echo configure:7415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7458 if { (eval echo configure:7459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7415 rm -rf conftest* | 7459 rm -rf conftest* |
7416 eval "ac_cv_lib_$ac_lib_var=yes" | 7460 eval "ac_cv_lib_$ac_lib_var=yes" |
7417 else | 7461 else |
7418 echo "configure: failed program was:" >&5 | 7462 echo "configure: failed program was:" >&5 |
7419 cat conftest.$ac_ext >&5 | 7463 cat conftest.$ac_ext >&5 |
7460 test "$with_toolbars" != "no" && with_toolbars=msw | 7504 test "$with_toolbars" != "no" && with_toolbars=msw |
7461 test "$with_dialogs" != "no" && with_dialogs=msw | 7505 test "$with_dialogs" != "no" && with_dialogs=msw |
7462 test "$with_widgets" != "no" && with_widgets=msw | 7506 test "$with_widgets" != "no" && with_widgets=msw |
7463 fi | 7507 fi |
7464 cat > conftest.$ac_ext <<EOF | 7508 cat > conftest.$ac_ext <<EOF |
7465 #line 7466 "configure" | 7509 #line 7510 "configure" |
7466 #include "confdefs.h" | 7510 #include "confdefs.h" |
7467 #include <fcntl.h> | 7511 #include <fcntl.h> |
7468 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } | 7512 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } |
7469 EOF | 7513 EOF |
7470 if { (eval echo configure:7471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 7514 if { (eval echo configure:7515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
7471 then | 7515 then |
7472 { test "$extra_verbose" = "yes" && cat << \EOF | 7516 { test "$extra_verbose" = "yes" && cat << \EOF |
7473 Defining HAVE_MSG_SELECT | 7517 Defining HAVE_MSG_SELECT |
7474 EOF | 7518 EOF |
7475 cat >> confdefs.h <<\EOF | 7519 cat >> confdefs.h <<\EOF |
7526 fi | 7570 fi |
7527 | 7571 |
7528 if test "$with_x11" = "yes"; then | 7572 if test "$with_x11" = "yes"; then |
7529 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` | 7573 ac_safe=`echo "X11/extensions/shape.h" | sed 'y%./+-%__p_%'` |
7530 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 | 7574 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6 |
7531 echo "configure:7532: checking for X11/extensions/shape.h" >&5 | 7575 echo "configure:7576: checking for X11/extensions/shape.h" >&5 |
7532 | 7576 |
7533 cat > conftest.$ac_ext <<EOF | 7577 cat > conftest.$ac_ext <<EOF |
7534 #line 7535 "configure" | 7578 #line 7579 "configure" |
7535 #include "confdefs.h" | 7579 #include "confdefs.h" |
7536 #include <X11/extensions/shape.h> | 7580 #include <X11/extensions/shape.h> |
7537 EOF | 7581 EOF |
7538 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7539 { (eval echo configure:7540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7583 { (eval echo configure:7584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7540 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7584 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7541 if test -z "$ac_err"; then | 7585 if test -z "$ac_err"; then |
7542 rm -rf conftest* | 7586 rm -rf conftest* |
7543 eval "ac_cv_header_$ac_safe=yes" | 7587 eval "ac_cv_header_$ac_safe=yes" |
7544 else | 7588 else |
7584 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" | 7628 test "$opsys" = "hpux9" && opsysfile="s/hpux9-x11r4.h" |
7585 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" | 7629 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" |
7586 esac | 7630 esac |
7587 | 7631 |
7588 echo "checking for WM_COMMAND option" 1>&6 | 7632 echo "checking for WM_COMMAND option" 1>&6 |
7589 echo "configure:7590: checking for WM_COMMAND option" >&5; | 7633 echo "configure:7634: checking for WM_COMMAND option" >&5; |
7590 if test "$with_wmcommand" != "no"; then | 7634 if test "$with_wmcommand" != "no"; then |
7591 { test "$extra_verbose" = "yes" && cat << \EOF | 7635 { test "$extra_verbose" = "yes" && cat << \EOF |
7592 Defining HAVE_WMCOMMAND | 7636 Defining HAVE_WMCOMMAND |
7593 EOF | 7637 EOF |
7594 cat >> confdefs.h <<\EOF | 7638 cat >> confdefs.h <<\EOF |
7599 fi | 7643 fi |
7600 | 7644 |
7601 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no | 7645 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no |
7602 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` | 7646 test -z "$with_xauth" && { ac_safe=`echo "X11/Xauth.h" | sed 'y%./+-%__p_%'` |
7603 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 | 7647 echo $ac_n "checking for X11/Xauth.h""... $ac_c" 1>&6 |
7604 echo "configure:7605: checking for X11/Xauth.h" >&5 | 7648 echo "configure:7649: checking for X11/Xauth.h" >&5 |
7605 | 7649 |
7606 cat > conftest.$ac_ext <<EOF | 7650 cat > conftest.$ac_ext <<EOF |
7607 #line 7608 "configure" | 7651 #line 7652 "configure" |
7608 #include "confdefs.h" | 7652 #include "confdefs.h" |
7609 #include <X11/Xauth.h> | 7653 #include <X11/Xauth.h> |
7610 EOF | 7654 EOF |
7611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7655 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7612 { (eval echo configure:7613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7656 { (eval echo configure:7657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7657 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7614 if test -z "$ac_err"; then | 7658 if test -z "$ac_err"; then |
7615 rm -rf conftest* | 7659 rm -rf conftest* |
7616 eval "ac_cv_header_$ac_safe=yes" | 7660 eval "ac_cv_header_$ac_safe=yes" |
7617 else | 7661 else |
7630 with_xauth=no | 7674 with_xauth=no |
7631 fi | 7675 fi |
7632 } | 7676 } |
7633 test -z "$with_xauth" && { | 7677 test -z "$with_xauth" && { |
7634 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 | 7678 echo $ac_n "checking for XauGetAuthByAddr in -lXau""... $ac_c" 1>&6 |
7635 echo "configure:7636: checking for XauGetAuthByAddr in -lXau" >&5 | 7679 echo "configure:7680: checking for XauGetAuthByAddr in -lXau" >&5 |
7636 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` | 7680 ac_lib_var=`echo Xau'_'XauGetAuthByAddr | sed 'y%./+-%__p_%'` |
7637 | 7681 |
7638 xe_check_libs=" -lXau " | 7682 xe_check_libs=" -lXau " |
7639 cat > conftest.$ac_ext <<EOF | 7683 cat > conftest.$ac_ext <<EOF |
7640 #line 7641 "configure" | 7684 #line 7685 "configure" |
7641 #include "confdefs.h" | 7685 #include "confdefs.h" |
7642 /* Override any gcc2 internal prototype to avoid an error. */ | 7686 /* Override any gcc2 internal prototype to avoid an error. */ |
7643 /* We use char because int might match the return type of a gcc2 | 7687 /* We use char because int might match the return type of a gcc2 |
7644 builtin and then its argument prototype would still apply. */ | 7688 builtin and then its argument prototype would still apply. */ |
7645 char XauGetAuthByAddr(); | 7689 char XauGetAuthByAddr(); |
7646 | 7690 |
7647 int main() { | 7691 int main() { |
7648 XauGetAuthByAddr() | 7692 XauGetAuthByAddr() |
7649 ; return 0; } | 7693 ; return 0; } |
7650 EOF | 7694 EOF |
7651 if { (eval echo configure:7652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7695 if { (eval echo configure:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7652 rm -rf conftest* | 7696 rm -rf conftest* |
7653 eval "ac_cv_lib_$ac_lib_var=yes" | 7697 eval "ac_cv_lib_$ac_lib_var=yes" |
7654 else | 7698 else |
7655 echo "configure: failed program was:" >&5 | 7699 echo "configure: failed program was:" >&5 |
7656 cat conftest.$ac_ext >&5 | 7700 cat conftest.$ac_ext >&5 |
7697 fi | 7741 fi |
7698 | 7742 |
7699 | 7743 |
7700 if test "$with_modules" != "no"; then | 7744 if test "$with_modules" != "no"; then |
7701 echo "checking for module support" 1>&6 | 7745 echo "checking for module support" 1>&6 |
7702 echo "configure:7703: checking for module support" >&5 | 7746 echo "configure:7747: checking for module support" >&5 |
7703 | 7747 |
7704 if test "$with_msw" = "yes"; then | 7748 if test "$with_msw" = "yes"; then |
7705 have_dl=yes; | 7749 have_dl=yes; |
7706 else | 7750 else |
7707 case "$opsys" in | 7751 case "$opsys" in |
7714 } | 7758 } |
7715 ;; | 7759 ;; |
7716 * ) | 7760 * ) |
7717 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 7761 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7718 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 7762 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7719 echo "configure:7720: checking for dlfcn.h" >&5 | 7763 echo "configure:7764: checking for dlfcn.h" >&5 |
7720 | 7764 |
7721 cat > conftest.$ac_ext <<EOF | 7765 cat > conftest.$ac_ext <<EOF |
7722 #line 7723 "configure" | 7766 #line 7767 "configure" |
7723 #include "confdefs.h" | 7767 #include "confdefs.h" |
7724 #include <dlfcn.h> | 7768 #include <dlfcn.h> |
7725 EOF | 7769 EOF |
7726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 7770 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7727 { (eval echo configure:7728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 7771 { (eval echo configure:7772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 7772 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7729 if test -z "$ac_err"; then | 7773 if test -z "$ac_err"; then |
7730 rm -rf conftest* | 7774 rm -rf conftest* |
7731 eval "ac_cv_header_$ac_safe=yes" | 7775 eval "ac_cv_header_$ac_safe=yes" |
7732 else | 7776 else |
7739 rm -f conftest* | 7783 rm -f conftest* |
7740 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 7784 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
7741 echo "$ac_t""yes" 1>&6 | 7785 echo "$ac_t""yes" 1>&6 |
7742 | 7786 |
7743 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 | 7787 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 |
7744 echo "configure:7745: checking for dlopen in -lc" >&5 | 7788 echo "configure:7789: checking for dlopen in -lc" >&5 |
7745 cat > conftest.$ac_ext <<EOF | 7789 cat > conftest.$ac_ext <<EOF |
7746 #line 7747 "configure" | 7790 #line 7791 "configure" |
7747 #include "confdefs.h" | 7791 #include "confdefs.h" |
7748 #include <dlfcn.h> | 7792 #include <dlfcn.h> |
7749 int main() { | 7793 int main() { |
7750 dlopen ("", 0); | 7794 dlopen ("", 0); |
7751 ; return 0; } | 7795 ; return 0; } |
7752 EOF | 7796 EOF |
7753 if { (eval echo configure:7754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7797 if { (eval echo configure:7798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7754 rm -rf conftest* | 7798 rm -rf conftest* |
7755 have_dl=yes | 7799 have_dl=yes |
7756 else | 7800 else |
7757 echo "configure: failed program was:" >&5 | 7801 echo "configure: failed program was:" >&5 |
7758 cat conftest.$ac_ext >&5 | 7802 cat conftest.$ac_ext >&5 |
7759 rm -rf conftest* | 7803 rm -rf conftest* |
7760 | 7804 |
7761 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 7805 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
7762 echo "configure:7763: checking for dlopen in -ldl" >&5 | 7806 echo "configure:7807: checking for dlopen in -ldl" >&5 |
7763 ac_save_LIBS="$LIBS" | 7807 ac_save_LIBS="$LIBS" |
7764 LIBS="-ldl $LIBS" | 7808 LIBS="-ldl $LIBS" |
7765 cat > conftest.$ac_ext <<EOF | 7809 cat > conftest.$ac_ext <<EOF |
7766 #line 7767 "configure" | 7810 #line 7811 "configure" |
7767 #include "confdefs.h" | 7811 #include "confdefs.h" |
7768 #include <dlfcn.h> | 7812 #include <dlfcn.h> |
7769 int main() { | 7813 int main() { |
7770 dlopen ("", 0); | 7814 dlopen ("", 0); |
7771 ; return 0; } | 7815 ; return 0; } |
7772 EOF | 7816 EOF |
7773 if { (eval echo configure:7774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7817 if { (eval echo configure:7818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7774 rm -rf conftest* | 7818 rm -rf conftest* |
7775 have_dl=yes | 7819 have_dl=yes |
7776 else | 7820 else |
7777 echo "configure: failed program was:" >&5 | 7821 echo "configure: failed program was:" >&5 |
7778 cat conftest.$ac_ext >&5 | 7822 cat conftest.$ac_ext >&5 |
7808 ld_dynamic_link_flags= | 7852 ld_dynamic_link_flags= |
7809 xehost=$canonical | 7853 xehost=$canonical |
7810 xealias=$internal_configuration | 7854 xealias=$internal_configuration |
7811 | 7855 |
7812 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 | 7856 echo "checking how to build dynamic libraries for ${xehost}" 1>&6 |
7813 echo "configure:7814: checking how to build dynamic libraries for ${xehost}" >&5 | 7857 echo "configure:7858: checking how to build dynamic libraries for ${xehost}" >&5 |
7814 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. | 7858 # Transform *-*-linux* to *-*-linux-gnu*, to support old configure scripts. |
7815 case "$xehost" in | 7859 case "$xehost" in |
7816 *-*-linux-gnu*) ;; | 7860 *-*-linux-gnu*) ;; |
7817 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 7861 *-*-linux*) xehost=`echo $xehost | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` |
7818 esac | 7862 esac |
7836 # Now see if the compiler is really GCC. | 7880 # Now see if the compiler is really GCC. |
7837 if test "$GCC" = "yes"; then | 7881 if test "$GCC" = "yes"; then |
7838 XEGCC=yes | 7882 XEGCC=yes |
7839 else | 7883 else |
7840 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 | 7884 echo $ac_n "checking checking whether we are using GNU C""... $ac_c" 1>&6 |
7841 echo "configure:7842: checking checking whether we are using GNU C" >&5 | 7885 echo "configure:7886: checking checking whether we are using GNU C" >&5 |
7842 cat > conftest.$ac_ext <<EOF | 7886 cat > conftest.$ac_ext <<EOF |
7843 #line 7844 "configure" | 7887 #line 7888 "configure" |
7844 #include "confdefs.h" | 7888 #include "confdefs.h" |
7845 | 7889 |
7846 #ifdef __GNUC__ | 7890 #ifdef __GNUC__ |
7847 yes; | 7891 yes; |
7848 #endif | 7892 #endif |
7860 | 7904 |
7861 echo "$ac_t""${XEGCC}" 1>&6 | 7905 echo "$ac_t""${XEGCC}" 1>&6 |
7862 fi | 7906 fi |
7863 | 7907 |
7864 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 | 7908 echo $ac_n "checking how to produce PIC code""... $ac_c" 1>&6 |
7865 echo "configure:7866: checking how to produce PIC code" >&5 | 7909 echo "configure:7910: checking how to produce PIC code" >&5 |
7866 wl= | 7910 wl= |
7867 | 7911 |
7868 can_build_shared=yes | 7912 can_build_shared=yes |
7869 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 7913 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
7870 wl='-Wl,' | 7914 wl='-Wl,' |
7964 if test -n "$dll_cflags"; then | 8008 if test -n "$dll_cflags"; then |
7965 echo "$ac_t""${dll_cflags}" 1>&6 | 8009 echo "$ac_t""${dll_cflags}" 1>&6 |
7966 | 8010 |
7967 # Check to make sure the dll_cflags actually works. | 8011 # Check to make sure the dll_cflags actually works. |
7968 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 | 8012 echo $ac_n "checking if PIC flag ${dll_cflags} really works""... $ac_c" 1>&6 |
7969 echo "configure:7970: checking if PIC flag ${dll_cflags} really works" >&5 | 8013 echo "configure:8014: checking if PIC flag ${dll_cflags} really works" >&5 |
7970 save_CFLAGS="$CFLAGS" | 8014 save_CFLAGS="$CFLAGS" |
7971 CFLAGS="$CFLAGS $dll_cflags -DPIC" | 8015 CFLAGS="$CFLAGS $dll_cflags -DPIC" |
7972 cat > conftest.$ac_ext <<EOF | 8016 cat > conftest.$ac_ext <<EOF |
7973 #line 7974 "configure" | 8017 #line 8018 "configure" |
7974 #include "confdefs.h" | 8018 #include "confdefs.h" |
7975 | 8019 |
7976 int main() { | 8020 int main() { |
7977 int x=0; | 8021 int x=0; |
7978 ; return 0; } | 8022 ; return 0; } |
7979 EOF | 8023 EOF |
7980 if { (eval echo configure:7981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8024 if { (eval echo configure:8025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7981 rm -rf conftest* | 8025 rm -rf conftest* |
7982 | 8026 |
7983 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also | 8027 # On HP-UX, the stripped-down bundled CC doesn't accept +Z, but also |
7984 # reports no error. So, we need to grep stderr for (Bundled). | 8028 # reports no error. So, we need to grep stderr for (Bundled). |
7985 if grep '(Bundled)' config.log >/dev/null; then | 8029 if grep '(Bundled)' config.log >/dev/null; then |
8006 if test "$can_build_shared" = "yes"; then | 8050 if test "$can_build_shared" = "yes"; then |
8007 cc_produces_so=no | 8051 cc_produces_so=no |
8008 xldf= | 8052 xldf= |
8009 xcldf= | 8053 xcldf= |
8010 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 | 8054 echo $ac_n "checking if C compiler can produce shared libraries""... $ac_c" 1>&6 |
8011 echo "configure:8012: checking if C compiler can produce shared libraries" >&5 | 8055 echo "configure:8056: checking if C compiler can produce shared libraries" >&5 |
8012 if test "$XEGCC" = yes -o "$__ICC" = yes; then | 8056 if test "$XEGCC" = yes -o "$__ICC" = yes; then |
8013 case "$xehost_os" in | 8057 case "$xehost_os" in |
8014 *darwin*) | 8058 *darwin*) |
8015 xcldf='-bundle' | 8059 xcldf='-bundle' |
8016 xldf='-bundle -bundle_loader ../../src/xemacs' | 8060 xldf='-bundle -bundle_loader ../../src/xemacs' |
8065 LDFLAGS="$xcldf $LDFLAGS" | 8109 LDFLAGS="$xcldf $LDFLAGS" |
8066 LIBS= | 8110 LIBS= |
8067 xe_libs= | 8111 xe_libs= |
8068 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' | 8112 ac_link='${CC-cc} -o conftest $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' 1>&5' |
8069 cat > conftest.$ac_ext <<EOF | 8113 cat > conftest.$ac_ext <<EOF |
8070 #line 8071 "configure" | 8114 #line 8115 "configure" |
8071 #include "confdefs.h" | 8115 #include "confdefs.h" |
8072 | 8116 |
8073 int main() { | 8117 int main() { |
8074 int x=0; | 8118 int x=0; |
8075 ; return 0; } | 8119 ; return 0; } |
8076 EOF | 8120 EOF |
8077 if { (eval echo configure:8078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8121 if { (eval echo configure:8122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8078 rm -rf conftest* | 8122 rm -rf conftest* |
8079 cc_produces_so=yes | 8123 cc_produces_so=yes |
8080 else | 8124 else |
8081 echo "configure: failed program was:" >&5 | 8125 echo "configure: failed program was:" >&5 |
8082 cat conftest.$ac_ext >&5 | 8126 cat conftest.$ac_ext >&5 |
8097 if test -z "$LTLD"; then | 8141 if test -z "$LTLD"; then |
8098 ac_prog=ld | 8142 ac_prog=ld |
8099 if test "$XEGCC" = yes; then | 8143 if test "$XEGCC" = yes; then |
8100 # Check if gcc -print-prog-name=ld gives a path. | 8144 # Check if gcc -print-prog-name=ld gives a path. |
8101 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 8145 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
8102 echo "configure:8103: checking for ld used by GCC" >&5 | 8146 echo "configure:8147: checking for ld used by GCC" >&5 |
8103 ac_prog=`($CC -print-prog-name=ld) 2>&5` | 8147 ac_prog=`($CC -print-prog-name=ld) 2>&5` |
8104 case "$ac_prog" in | 8148 case "$ac_prog" in |
8105 # Accept absolute paths. | 8149 # Accept absolute paths. |
8106 /*) | 8150 /*) |
8107 if test -z "$LTLD"; then | 8151 if test -z "$LTLD"; then |
8123 with_gnu_ld=unknown | 8167 with_gnu_ld=unknown |
8124 ;; | 8168 ;; |
8125 esac | 8169 esac |
8126 else | 8170 else |
8127 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 8171 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
8128 echo "configure:8129: checking for GNU ld" >&5 | 8172 echo "configure:8173: checking for GNU ld" >&5 |
8129 fi | 8173 fi |
8130 | 8174 |
8131 if test -z "$LTLD"; then | 8175 if test -z "$LTLD"; then |
8132 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 8176 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
8133 for ac_dir in $PATH; do | 8177 for ac_dir in $PATH; do |
8161 | 8205 |
8162 ld_dynamic_link_flags= | 8206 ld_dynamic_link_flags= |
8163 | 8207 |
8164 # Check to see if it really is or isn't GNU ld. | 8208 # Check to see if it really is or isn't GNU ld. |
8165 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 | 8209 echo $ac_n "checking if the linker is GNU ld""... $ac_c" 1>&6 |
8166 echo "configure:8167: checking if the linker is GNU ld" >&5 | 8210 echo "configure:8211: checking if the linker is GNU ld" >&5 |
8167 # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 8211 # I'd rather use --version here, but apparently some GNU ld's only accept -v. |
8168 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 8212 if $LTLD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then |
8169 xe_gnu_ld=yes | 8213 xe_gnu_ld=yes |
8170 else | 8214 else |
8171 xe_gnu_ld=no | 8215 xe_gnu_ld=no |
8196 ld_shlibs=yes | 8240 ld_shlibs=yes |
8197 else | 8241 else |
8198 # OK - only NOW do we futz about with ld. | 8242 # OK - only NOW do we futz about with ld. |
8199 # See if the linker supports building shared libraries. | 8243 # See if the linker supports building shared libraries. |
8200 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 | 8244 echo $ac_n "checking whether the linker supports shared libraries""... $ac_c" 1>&6 |
8201 echo "configure:8202: checking whether the linker supports shared libraries" >&5 | 8245 echo "configure:8246: checking whether the linker supports shared libraries" >&5 |
8202 dll_ld=$CC | 8246 dll_ld=$CC |
8203 dll_ldflags=$LDFLAGS | 8247 dll_ldflags=$LDFLAGS |
8204 ld_shlibs=yes | 8248 ld_shlibs=yes |
8205 can_build_shared=yes | 8249 can_build_shared=yes |
8206 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then | 8250 if test "$xe_gnu_ld" = yes && test "$gnu_ld_acts_native" != yes; then |
8409 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi | 8453 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR src" && if test "$extra_verbose" = "yes"; then echo " Appending \"src\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi |
8410 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi | 8454 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi |
8411 for ac_func in dlerror _dlerror | 8455 for ac_func in dlerror _dlerror |
8412 do | 8456 do |
8413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8414 echo "configure:8415: checking for $ac_func" >&5 | 8458 echo "configure:8459: checking for $ac_func" >&5 |
8415 | 8459 |
8416 cat > conftest.$ac_ext <<EOF | 8460 cat > conftest.$ac_ext <<EOF |
8417 #line 8418 "configure" | 8461 #line 8462 "configure" |
8418 #include "confdefs.h" | 8462 #include "confdefs.h" |
8419 /* System header to define __stub macros and hopefully few prototypes, | 8463 /* System header to define __stub macros and hopefully few prototypes, |
8420 which can conflict with char $ac_func(); below. */ | 8464 which can conflict with char $ac_func(); below. */ |
8421 #include <assert.h> | 8465 #include <assert.h> |
8422 /* Override any gcc2 internal prototype to avoid an error. */ | 8466 /* Override any gcc2 internal prototype to avoid an error. */ |
8435 $ac_func(); | 8479 $ac_func(); |
8436 #endif | 8480 #endif |
8437 | 8481 |
8438 ; return 0; } | 8482 ; return 0; } |
8439 EOF | 8483 EOF |
8440 if { (eval echo configure:8441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8484 if { (eval echo configure:8485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8441 rm -rf conftest* | 8485 rm -rf conftest* |
8442 eval "ac_cv_func_$ac_func=yes" | 8486 eval "ac_cv_func_$ac_func=yes" |
8443 else | 8487 else |
8444 echo "configure: failed program was:" >&5 | 8488 echo "configure: failed program was:" >&5 |
8445 cat conftest.$ac_ext >&5 | 8489 cat conftest.$ac_ext >&5 |
8499 | 8543 |
8500 if test "$with_tooltalk" != "no" ; then | 8544 if test "$with_tooltalk" != "no" ; then |
8501 for dir in "" "Tt/" "desktop/" ; do | 8545 for dir in "" "Tt/" "desktop/" ; do |
8502 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` | 8546 ac_safe=`echo "${dir}tt_c.h" | sed 'y%./+-%__p_%'` |
8503 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 | 8547 echo $ac_n "checking for ${dir}tt_c.h""... $ac_c" 1>&6 |
8504 echo "configure:8505: checking for ${dir}tt_c.h" >&5 | 8548 echo "configure:8549: checking for ${dir}tt_c.h" >&5 |
8505 | 8549 |
8506 cat > conftest.$ac_ext <<EOF | 8550 cat > conftest.$ac_ext <<EOF |
8507 #line 8508 "configure" | 8551 #line 8552 "configure" |
8508 #include "confdefs.h" | 8552 #include "confdefs.h" |
8509 #include <${dir}tt_c.h> | 8553 #include <${dir}tt_c.h> |
8510 EOF | 8554 EOF |
8511 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8555 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8512 { (eval echo configure:8513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8556 { (eval echo configure:8557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8513 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8557 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8514 if test -z "$ac_err"; then | 8558 if test -z "$ac_err"; then |
8515 rm -rf conftest* | 8559 rm -rf conftest* |
8516 eval "ac_cv_header_$ac_safe=yes" | 8560 eval "ac_cv_header_$ac_safe=yes" |
8517 else | 8561 else |
8543 for extra_libs in "" "-lI18N -lce" "-lcxx"; do | 8587 for extra_libs in "" "-lI18N -lce" "-lcxx"; do |
8544 | 8588 |
8545 xe_msg_checking="for tt_message_create in -ltt" | 8589 xe_msg_checking="for tt_message_create in -ltt" |
8546 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" | 8590 test -n "$extra_libs" && xe_msg_checking="$xe_msg_checking using extra libs $extra_libs" |
8547 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8591 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8548 echo "configure:8549: checking "$xe_msg_checking"" >&5 | 8592 echo "configure:8593: checking "$xe_msg_checking"" >&5 |
8549 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` | 8593 ac_lib_var=`echo tt'_'tt_message_create | sed 'y%./+-%__p_%'` |
8550 | 8594 |
8551 xe_check_libs=" -ltt $extra_libs" | 8595 xe_check_libs=" -ltt $extra_libs" |
8552 cat > conftest.$ac_ext <<EOF | 8596 cat > conftest.$ac_ext <<EOF |
8553 #line 8554 "configure" | 8597 #line 8598 "configure" |
8554 #include "confdefs.h" | 8598 #include "confdefs.h" |
8555 /* Override any gcc2 internal prototype to avoid an error. */ | 8599 /* Override any gcc2 internal prototype to avoid an error. */ |
8556 /* We use char because int might match the return type of a gcc2 | 8600 /* We use char because int might match the return type of a gcc2 |
8557 builtin and then its argument prototype would still apply. */ | 8601 builtin and then its argument prototype would still apply. */ |
8558 char tt_message_create(); | 8602 char tt_message_create(); |
8559 | 8603 |
8560 int main() { | 8604 int main() { |
8561 tt_message_create() | 8605 tt_message_create() |
8562 ; return 0; } | 8606 ; return 0; } |
8563 EOF | 8607 EOF |
8564 if { (eval echo configure:8565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8608 if { (eval echo configure:8609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8565 rm -rf conftest* | 8609 rm -rf conftest* |
8566 eval "ac_cv_lib_$ac_lib_var=yes" | 8610 eval "ac_cv_lib_$ac_lib_var=yes" |
8567 else | 8611 else |
8568 echo "configure: failed program was:" >&5 | 8612 echo "configure: failed program was:" >&5 |
8569 cat conftest.$ac_ext >&5 | 8613 cat conftest.$ac_ext >&5 |
8613 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi | 8657 libs_x="$tt_libs $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi |
8614 fi | 8658 fi |
8615 | 8659 |
8616 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` | 8660 test -z "$with_cde" && { ac_safe=`echo "Dt/Dt.h" | sed 'y%./+-%__p_%'` |
8617 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 | 8661 echo $ac_n "checking for Dt/Dt.h""... $ac_c" 1>&6 |
8618 echo "configure:8619: checking for Dt/Dt.h" >&5 | 8662 echo "configure:8663: checking for Dt/Dt.h" >&5 |
8619 | 8663 |
8620 cat > conftest.$ac_ext <<EOF | 8664 cat > conftest.$ac_ext <<EOF |
8621 #line 8622 "configure" | 8665 #line 8666 "configure" |
8622 #include "confdefs.h" | 8666 #include "confdefs.h" |
8623 #include <Dt/Dt.h> | 8667 #include <Dt/Dt.h> |
8624 EOF | 8668 EOF |
8625 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8626 { (eval echo configure:8627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8670 { (eval echo configure:8671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8627 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8628 if test -z "$ac_err"; then | 8672 if test -z "$ac_err"; then |
8629 rm -rf conftest* | 8673 rm -rf conftest* |
8630 eval "ac_cv_header_$ac_safe=yes" | 8674 eval "ac_cv_header_$ac_safe=yes" |
8631 else | 8675 else |
8644 with_cde=no | 8688 with_cde=no |
8645 fi | 8689 fi |
8646 } | 8690 } |
8647 test -z "$with_cde" && { | 8691 test -z "$with_cde" && { |
8648 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 | 8692 echo $ac_n "checking for DtDndDragStart in -lDtSvc""... $ac_c" 1>&6 |
8649 echo "configure:8650: checking for DtDndDragStart in -lDtSvc" >&5 | 8693 echo "configure:8694: checking for DtDndDragStart in -lDtSvc" >&5 |
8650 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` | 8694 ac_lib_var=`echo DtSvc'_'DtDndDragStart | sed 'y%./+-%__p_%'` |
8651 | 8695 |
8652 xe_check_libs=" -lDtSvc " | 8696 xe_check_libs=" -lDtSvc " |
8653 cat > conftest.$ac_ext <<EOF | 8697 cat > conftest.$ac_ext <<EOF |
8654 #line 8655 "configure" | 8698 #line 8699 "configure" |
8655 #include "confdefs.h" | 8699 #include "confdefs.h" |
8656 /* Override any gcc2 internal prototype to avoid an error. */ | 8700 /* Override any gcc2 internal prototype to avoid an error. */ |
8657 /* We use char because int might match the return type of a gcc2 | 8701 /* We use char because int might match the return type of a gcc2 |
8658 builtin and then its argument prototype would still apply. */ | 8702 builtin and then its argument prototype would still apply. */ |
8659 char DtDndDragStart(); | 8703 char DtDndDragStart(); |
8660 | 8704 |
8661 int main() { | 8705 int main() { |
8662 DtDndDragStart() | 8706 DtDndDragStart() |
8663 ; return 0; } | 8707 ; return 0; } |
8664 EOF | 8708 EOF |
8665 if { (eval echo configure:8666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8709 if { (eval echo configure:8710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8666 rm -rf conftest* | 8710 rm -rf conftest* |
8667 eval "ac_cv_lib_$ac_lib_var=yes" | 8711 eval "ac_cv_lib_$ac_lib_var=yes" |
8668 else | 8712 else |
8669 echo "configure: failed program was:" >&5 | 8713 echo "configure: failed program was:" >&5 |
8670 cat conftest.$ac_ext >&5 | 8714 cat conftest.$ac_ext >&5 |
8741 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi | 8785 dragndrop_proto="$dragndrop_proto GTK" && if test "$extra_verbose" = "yes"; then echo " Appending \"GTK\" to \$dragndrop_proto"; fi |
8742 fi | 8786 fi |
8743 | 8787 |
8744 if test "$with_dragndrop" != "no" ; then | 8788 if test "$with_dragndrop" != "no" ; then |
8745 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 | 8789 echo $ac_n "checking if drag and drop API is needed""... $ac_c" 1>&6 |
8746 echo "configure:8747: checking if drag and drop API is needed" >&5 | 8790 echo "configure:8791: checking if drag and drop API is needed" >&5 |
8747 if test -n "$dragndrop_proto" ; then | 8791 if test -n "$dragndrop_proto" ; then |
8748 with_dragndrop=yes | 8792 with_dragndrop=yes |
8749 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 | 8793 echo "$ac_t""yes (${dragndrop_proto} )" 1>&6 |
8750 { test "$extra_verbose" = "yes" && cat << \EOF | 8794 { test "$extra_verbose" = "yes" && cat << \EOF |
8751 Defining HAVE_DRAGNDROP | 8795 Defining HAVE_DRAGNDROP |
8761 echo "$ac_t""no" 1>&6 | 8805 echo "$ac_t""no" 1>&6 |
8762 fi | 8806 fi |
8763 fi | 8807 fi |
8764 | 8808 |
8765 echo "checking for LDAP" 1>&6 | 8809 echo "checking for LDAP" 1>&6 |
8766 echo "configure:8767: checking for LDAP" >&5 | 8810 echo "configure:8811: checking for LDAP" >&5 |
8767 ldap_libs= | 8811 ldap_libs= |
8768 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` | 8812 test -z "$with_ldap" && { ac_safe=`echo "ldap.h" | sed 'y%./+-%__p_%'` |
8769 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 | 8813 echo $ac_n "checking for ldap.h""... $ac_c" 1>&6 |
8770 echo "configure:8771: checking for ldap.h" >&5 | 8814 echo "configure:8815: checking for ldap.h" >&5 |
8771 | 8815 |
8772 cat > conftest.$ac_ext <<EOF | 8816 cat > conftest.$ac_ext <<EOF |
8773 #line 8774 "configure" | 8817 #line 8818 "configure" |
8774 #include "confdefs.h" | 8818 #include "confdefs.h" |
8775 #include <ldap.h> | 8819 #include <ldap.h> |
8776 EOF | 8820 EOF |
8777 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8821 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8778 { (eval echo configure:8779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8822 { (eval echo configure:8823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8779 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8823 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8780 if test -z "$ac_err"; then | 8824 if test -z "$ac_err"; then |
8781 rm -rf conftest* | 8825 rm -rf conftest* |
8782 eval "ac_cv_header_$ac_safe=yes" | 8826 eval "ac_cv_header_$ac_safe=yes" |
8783 else | 8827 else |
8796 with_ldap=no | 8840 with_ldap=no |
8797 fi | 8841 fi |
8798 } | 8842 } |
8799 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` | 8843 test -z "$with_ldap" && { ac_safe=`echo "lber.h" | sed 'y%./+-%__p_%'` |
8800 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 | 8844 echo $ac_n "checking for lber.h""... $ac_c" 1>&6 |
8801 echo "configure:8802: checking for lber.h" >&5 | 8845 echo "configure:8846: checking for lber.h" >&5 |
8802 | 8846 |
8803 cat > conftest.$ac_ext <<EOF | 8847 cat > conftest.$ac_ext <<EOF |
8804 #line 8805 "configure" | 8848 #line 8849 "configure" |
8805 #include "confdefs.h" | 8849 #include "confdefs.h" |
8806 #include <lber.h> | 8850 #include <lber.h> |
8807 EOF | 8851 EOF |
8808 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8809 { (eval echo configure:8810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8853 { (eval echo configure:8854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8810 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8811 if test -z "$ac_err"; then | 8855 if test -z "$ac_err"; then |
8812 rm -rf conftest* | 8856 rm -rf conftest* |
8813 eval "ac_cv_header_$ac_safe=yes" | 8857 eval "ac_cv_header_$ac_safe=yes" |
8814 else | 8858 else |
8828 fi | 8872 fi |
8829 } | 8873 } |
8830 if test "$with_ldap" != "no"; then | 8874 if test "$with_ldap" != "no"; then |
8831 | 8875 |
8832 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 | 8876 echo $ac_n "checking for ldap_search in -lldap""... $ac_c" 1>&6 |
8833 echo "configure:8834: checking for ldap_search in -lldap" >&5 | 8877 echo "configure:8878: checking for ldap_search in -lldap" >&5 |
8834 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` | 8878 ac_lib_var=`echo ldap'_'ldap_search | sed 'y%./+-%__p_%'` |
8835 | 8879 |
8836 xe_check_libs=" -lldap " | 8880 xe_check_libs=" -lldap " |
8837 cat > conftest.$ac_ext <<EOF | 8881 cat > conftest.$ac_ext <<EOF |
8838 #line 8839 "configure" | 8882 #line 8883 "configure" |
8839 #include "confdefs.h" | 8883 #include "confdefs.h" |
8840 /* Override any gcc2 internal prototype to avoid an error. */ | 8884 /* Override any gcc2 internal prototype to avoid an error. */ |
8841 /* We use char because int might match the return type of a gcc2 | 8885 /* We use char because int might match the return type of a gcc2 |
8842 builtin and then its argument prototype would still apply. */ | 8886 builtin and then its argument prototype would still apply. */ |
8843 char ldap_search(); | 8887 char ldap_search(); |
8844 | 8888 |
8845 int main() { | 8889 int main() { |
8846 ldap_search() | 8890 ldap_search() |
8847 ; return 0; } | 8891 ; return 0; } |
8848 EOF | 8892 EOF |
8849 if { (eval echo configure:8850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8893 if { (eval echo configure:8894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8850 rm -rf conftest* | 8894 rm -rf conftest* |
8851 eval "ac_cv_lib_$ac_lib_var=yes" | 8895 eval "ac_cv_lib_$ac_lib_var=yes" |
8852 else | 8896 else |
8853 echo "configure: failed program was:" >&5 | 8897 echo "configure: failed program was:" >&5 |
8854 cat conftest.$ac_ext >&5 | 8898 cat conftest.$ac_ext >&5 |
8869 | 8913 |
8870 test "$with_ldap_nolber" = "no" && { | 8914 test "$with_ldap_nolber" = "no" && { |
8871 xe_msg_checking="for ldap_open in -lldap" | 8915 xe_msg_checking="for ldap_open in -lldap" |
8872 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" | 8916 test -n "-llber" && xe_msg_checking="$xe_msg_checking using extra libs -llber" |
8873 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8917 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8874 echo "configure:8875: checking "$xe_msg_checking"" >&5 | 8918 echo "configure:8919: checking "$xe_msg_checking"" >&5 |
8875 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8919 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8876 | 8920 |
8877 xe_check_libs=" -lldap -llber" | 8921 xe_check_libs=" -lldap -llber" |
8878 cat > conftest.$ac_ext <<EOF | 8922 cat > conftest.$ac_ext <<EOF |
8879 #line 8880 "configure" | 8923 #line 8924 "configure" |
8880 #include "confdefs.h" | 8924 #include "confdefs.h" |
8881 /* Override any gcc2 internal prototype to avoid an error. */ | 8925 /* Override any gcc2 internal prototype to avoid an error. */ |
8882 /* We use char because int might match the return type of a gcc2 | 8926 /* We use char because int might match the return type of a gcc2 |
8883 builtin and then its argument prototype would still apply. */ | 8927 builtin and then its argument prototype would still apply. */ |
8884 char ldap_open(); | 8928 char ldap_open(); |
8885 | 8929 |
8886 int main() { | 8930 int main() { |
8887 ldap_open() | 8931 ldap_open() |
8888 ; return 0; } | 8932 ; return 0; } |
8889 EOF | 8933 EOF |
8890 if { (eval echo configure:8891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8934 if { (eval echo configure:8935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8891 rm -rf conftest* | 8935 rm -rf conftest* |
8892 eval "ac_cv_lib_$ac_lib_var=yes" | 8936 eval "ac_cv_lib_$ac_lib_var=yes" |
8893 else | 8937 else |
8894 echo "configure: failed program was:" >&5 | 8938 echo "configure: failed program was:" >&5 |
8895 cat conftest.$ac_ext >&5 | 8939 cat conftest.$ac_ext >&5 |
8910 } | 8954 } |
8911 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { | 8955 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" && { |
8912 xe_msg_checking="for ldap_open in -lldap" | 8956 xe_msg_checking="for ldap_open in -lldap" |
8913 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" | 8957 test -n "-llber -lkrb" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb" |
8914 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8958 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8915 echo "configure:8916: checking "$xe_msg_checking"" >&5 | 8959 echo "configure:8960: checking "$xe_msg_checking"" >&5 |
8916 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 8960 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8917 | 8961 |
8918 xe_check_libs=" -lldap -llber -lkrb" | 8962 xe_check_libs=" -lldap -llber -lkrb" |
8919 cat > conftest.$ac_ext <<EOF | 8963 cat > conftest.$ac_ext <<EOF |
8920 #line 8921 "configure" | 8964 #line 8965 "configure" |
8921 #include "confdefs.h" | 8965 #include "confdefs.h" |
8922 /* Override any gcc2 internal prototype to avoid an error. */ | 8966 /* Override any gcc2 internal prototype to avoid an error. */ |
8923 /* We use char because int might match the return type of a gcc2 | 8967 /* We use char because int might match the return type of a gcc2 |
8924 builtin and then its argument prototype would still apply. */ | 8968 builtin and then its argument prototype would still apply. */ |
8925 char ldap_open(); | 8969 char ldap_open(); |
8926 | 8970 |
8927 int main() { | 8971 int main() { |
8928 ldap_open() | 8972 ldap_open() |
8929 ; return 0; } | 8973 ; return 0; } |
8930 EOF | 8974 EOF |
8931 if { (eval echo configure:8932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8975 if { (eval echo configure:8976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8932 rm -rf conftest* | 8976 rm -rf conftest* |
8933 eval "ac_cv_lib_$ac_lib_var=yes" | 8977 eval "ac_cv_lib_$ac_lib_var=yes" |
8934 else | 8978 else |
8935 echo "configure: failed program was:" >&5 | 8979 echo "configure: failed program was:" >&5 |
8936 cat conftest.$ac_ext >&5 | 8980 cat conftest.$ac_ext >&5 |
8951 } | 8995 } |
8952 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { | 8996 test "$with_ldap_nolber" = "no" -a "$with_ldap_lber" = "no" -a "$with_ldap_krb" = "no" && { |
8953 xe_msg_checking="for ldap_open in -lldap" | 8997 xe_msg_checking="for ldap_open in -lldap" |
8954 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" | 8998 test -n "-llber -lkrb -ldes" && xe_msg_checking="$xe_msg_checking using extra libs -llber -lkrb -ldes" |
8955 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 8999 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
8956 echo "configure:8957: checking "$xe_msg_checking"" >&5 | 9000 echo "configure:9001: checking "$xe_msg_checking"" >&5 |
8957 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` | 9001 ac_lib_var=`echo ldap'_'ldap_open | sed 'y%./+-%__p_%'` |
8958 | 9002 |
8959 xe_check_libs=" -lldap -llber -lkrb -ldes" | 9003 xe_check_libs=" -lldap -llber -lkrb -ldes" |
8960 cat > conftest.$ac_ext <<EOF | 9004 cat > conftest.$ac_ext <<EOF |
8961 #line 8962 "configure" | 9005 #line 9006 "configure" |
8962 #include "confdefs.h" | 9006 #include "confdefs.h" |
8963 /* Override any gcc2 internal prototype to avoid an error. */ | 9007 /* Override any gcc2 internal prototype to avoid an error. */ |
8964 /* We use char because int might match the return type of a gcc2 | 9008 /* We use char because int might match the return type of a gcc2 |
8965 builtin and then its argument prototype would still apply. */ | 9009 builtin and then its argument prototype would still apply. */ |
8966 char ldap_open(); | 9010 char ldap_open(); |
8967 | 9011 |
8968 int main() { | 9012 int main() { |
8969 ldap_open() | 9013 ldap_open() |
8970 ; return 0; } | 9014 ; return 0; } |
8971 EOF | 9015 EOF |
8972 if { (eval echo configure:8973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9016 if { (eval echo configure:9017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8973 rm -rf conftest* | 9017 rm -rf conftest* |
8974 eval "ac_cv_lib_$ac_lib_var=yes" | 9018 eval "ac_cv_lib_$ac_lib_var=yes" |
8975 else | 9019 else |
8976 echo "configure: failed program was:" >&5 | 9020 echo "configure: failed program was:" >&5 |
8977 cat conftest.$ac_ext >&5 | 9021 cat conftest.$ac_ext >&5 |
9016 fi | 9060 fi |
9017 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" | 9061 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" |
9018 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result | 9062 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result |
9019 do | 9063 do |
9020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 9064 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
9021 echo "configure:9022: checking for $ac_func" >&5 | 9065 echo "configure:9066: checking for $ac_func" >&5 |
9022 | 9066 |
9023 cat > conftest.$ac_ext <<EOF | 9067 cat > conftest.$ac_ext <<EOF |
9024 #line 9025 "configure" | 9068 #line 9069 "configure" |
9025 #include "confdefs.h" | 9069 #include "confdefs.h" |
9026 /* System header to define __stub macros and hopefully few prototypes, | 9070 /* System header to define __stub macros and hopefully few prototypes, |
9027 which can conflict with char $ac_func(); below. */ | 9071 which can conflict with char $ac_func(); below. */ |
9028 #include <assert.h> | 9072 #include <assert.h> |
9029 /* Override any gcc2 internal prototype to avoid an error. */ | 9073 /* Override any gcc2 internal prototype to avoid an error. */ |
9042 $ac_func(); | 9086 $ac_func(); |
9043 #endif | 9087 #endif |
9044 | 9088 |
9045 ; return 0; } | 9089 ; return 0; } |
9046 EOF | 9090 EOF |
9047 if { (eval echo configure:9048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9091 if { (eval echo configure:9092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9048 rm -rf conftest* | 9092 rm -rf conftest* |
9049 eval "ac_cv_func_$ac_func=yes" | 9093 eval "ac_cv_func_$ac_func=yes" |
9050 else | 9094 else |
9051 echo "configure: failed program was:" >&5 | 9095 echo "configure: failed program was:" >&5 |
9052 cat conftest.$ac_ext >&5 | 9096 cat conftest.$ac_ext >&5 |
9081 | 9125 |
9082 | 9126 |
9083 postgresql_libs= | 9127 postgresql_libs= |
9084 if test "$with_postgresql" != "no"; then | 9128 if test "$with_postgresql" != "no"; then |
9085 echo "checking for PostgreSQL" 1>&6 | 9129 echo "checking for PostgreSQL" 1>&6 |
9086 echo "configure:9087: checking for PostgreSQL" >&5 | 9130 echo "configure:9131: checking for PostgreSQL" >&5 |
9087 | 9131 |
9088 for header_dir in "" "pgsql/" "postgresql/"; do | 9132 for header_dir in "" "pgsql/" "postgresql/"; do |
9089 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` | 9133 ac_safe=`echo "${header_dir}libpq-fe.h" | sed 'y%./+-%__p_%'` |
9090 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 | 9134 echo $ac_n "checking for ${header_dir}libpq-fe.h""... $ac_c" 1>&6 |
9091 echo "configure:9092: checking for ${header_dir}libpq-fe.h" >&5 | 9135 echo "configure:9136: checking for ${header_dir}libpq-fe.h" >&5 |
9092 | 9136 |
9093 cat > conftest.$ac_ext <<EOF | 9137 cat > conftest.$ac_ext <<EOF |
9094 #line 9095 "configure" | 9138 #line 9139 "configure" |
9095 #include "confdefs.h" | 9139 #include "confdefs.h" |
9096 #include <${header_dir}libpq-fe.h> | 9140 #include <${header_dir}libpq-fe.h> |
9097 EOF | 9141 EOF |
9098 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9099 { (eval echo configure:9100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9143 { (eval echo configure:9144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9100 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9101 if test -z "$ac_err"; then | 9145 if test -z "$ac_err"; then |
9102 rm -rf conftest* | 9146 rm -rf conftest* |
9103 eval "ac_cv_header_$ac_safe=yes" | 9147 eval "ac_cv_header_$ac_safe=yes" |
9104 else | 9148 else |
9118 | 9162 |
9119 done | 9163 done |
9120 | 9164 |
9121 test -n "$libpq_fe_h_file" && { | 9165 test -n "$libpq_fe_h_file" && { |
9122 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 | 9166 echo $ac_n "checking for PQconnectdb in -lpq""... $ac_c" 1>&6 |
9123 echo "configure:9124: checking for PQconnectdb in -lpq" >&5 | 9167 echo "configure:9168: checking for PQconnectdb in -lpq" >&5 |
9124 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` | 9168 ac_lib_var=`echo pq'_'PQconnectdb | sed 'y%./+-%__p_%'` |
9125 | 9169 |
9126 xe_check_libs=" -lpq " | 9170 xe_check_libs=" -lpq " |
9127 cat > conftest.$ac_ext <<EOF | 9171 cat > conftest.$ac_ext <<EOF |
9128 #line 9129 "configure" | 9172 #line 9173 "configure" |
9129 #include "confdefs.h" | 9173 #include "confdefs.h" |
9130 /* Override any gcc2 internal prototype to avoid an error. */ | 9174 /* Override any gcc2 internal prototype to avoid an error. */ |
9131 /* We use char because int might match the return type of a gcc2 | 9175 /* We use char because int might match the return type of a gcc2 |
9132 builtin and then its argument prototype would still apply. */ | 9176 builtin and then its argument prototype would still apply. */ |
9133 char PQconnectdb(); | 9177 char PQconnectdb(); |
9134 | 9178 |
9135 int main() { | 9179 int main() { |
9136 PQconnectdb() | 9180 PQconnectdb() |
9137 ; return 0; } | 9181 ; return 0; } |
9138 EOF | 9182 EOF |
9139 if { (eval echo configure:9140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9183 if { (eval echo configure:9184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9140 rm -rf conftest* | 9184 rm -rf conftest* |
9141 eval "ac_cv_lib_$ac_lib_var=yes" | 9185 eval "ac_cv_lib_$ac_lib_var=yes" |
9142 else | 9186 else |
9143 echo "configure: failed program was:" >&5 | 9187 echo "configure: failed program was:" >&5 |
9144 cat conftest.$ac_ext >&5 | 9188 cat conftest.$ac_ext >&5 |
9167 EOF | 9211 EOF |
9168 } | 9212 } |
9169 | 9213 |
9170 | 9214 |
9171 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 | 9215 echo $ac_n "checking for PQconnectStart in -lpq""... $ac_c" 1>&6 |
9172 echo "configure:9173: checking for PQconnectStart in -lpq" >&5 | 9216 echo "configure:9217: checking for PQconnectStart in -lpq" >&5 |
9173 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` | 9217 ac_lib_var=`echo pq'_'PQconnectStart | sed 'y%./+-%__p_%'` |
9174 | 9218 |
9175 xe_check_libs=" -lpq " | 9219 xe_check_libs=" -lpq " |
9176 cat > conftest.$ac_ext <<EOF | 9220 cat > conftest.$ac_ext <<EOF |
9177 #line 9178 "configure" | 9221 #line 9222 "configure" |
9178 #include "confdefs.h" | 9222 #include "confdefs.h" |
9179 /* Override any gcc2 internal prototype to avoid an error. */ | 9223 /* Override any gcc2 internal prototype to avoid an error. */ |
9180 /* We use char because int might match the return type of a gcc2 | 9224 /* We use char because int might match the return type of a gcc2 |
9181 builtin and then its argument prototype would still apply. */ | 9225 builtin and then its argument prototype would still apply. */ |
9182 char PQconnectStart(); | 9226 char PQconnectStart(); |
9183 | 9227 |
9184 int main() { | 9228 int main() { |
9185 PQconnectStart() | 9229 PQconnectStart() |
9186 ; return 0; } | 9230 ; return 0; } |
9187 EOF | 9231 EOF |
9188 if { (eval echo configure:9189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9232 if { (eval echo configure:9233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9189 rm -rf conftest* | 9233 rm -rf conftest* |
9190 eval "ac_cv_lib_$ac_lib_var=yes" | 9234 eval "ac_cv_lib_$ac_lib_var=yes" |
9191 else | 9235 else |
9192 echo "configure: failed program was:" >&5 | 9236 echo "configure: failed program was:" >&5 |
9193 cat conftest.$ac_ext >&5 | 9237 cat conftest.$ac_ext >&5 |
9234 | 9278 |
9235 | 9279 |
9236 | 9280 |
9237 if test "$window_system" != "none"; then | 9281 if test "$window_system" != "none"; then |
9238 echo "checking for graphics libraries" 1>&6 | 9282 echo "checking for graphics libraries" 1>&6 |
9239 echo "configure:9240: checking for graphics libraries" >&5 | 9283 echo "configure:9284: checking for graphics libraries" >&5 |
9240 | 9284 |
9241 libpath_xpm= | 9285 libpath_xpm= |
9242 incpath_xpm= | 9286 incpath_xpm= |
9243 case "$opsys" in | 9287 case "$opsys" in |
9244 cygwin*) | 9288 cygwin*) |
9260 xpm_problem="" | 9304 xpm_problem="" |
9261 if test -z "$with_xpm"; then | 9305 if test -z "$with_xpm"; then |
9262 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9306 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9263 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9307 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9264 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 | 9308 echo $ac_n "checking for Xpm - no older than 3.4f""... $ac_c" 1>&6 |
9265 echo "configure:9266: checking for Xpm - no older than 3.4f" >&5 | 9309 echo "configure:9310: checking for Xpm - no older than 3.4f" >&5 |
9266 xe_check_libs=-lXpm | 9310 xe_check_libs=-lXpm |
9267 cat > conftest.$ac_ext <<EOF | 9311 cat > conftest.$ac_ext <<EOF |
9268 #line 9269 "configure" | 9312 #line 9313 "configure" |
9269 #include "confdefs.h" | 9313 #include "confdefs.h" |
9270 #define XPM_NUMBERS | 9314 #define XPM_NUMBERS |
9271 #include <X11/xpm.h> | 9315 #include <X11/xpm.h> |
9272 int main(int c, char **v) { | 9316 int main(int c, char **v) { |
9273 return c == 1 ? 0 : | 9317 return c == 1 ? 0 : |
9274 XpmIncludeVersion != XpmLibraryVersion() ? 1 : | 9318 XpmIncludeVersion != XpmLibraryVersion() ? 1 : |
9275 XpmIncludeVersion < 30406 ? 2 : 0 ;} | 9319 XpmIncludeVersion < 30406 ? 2 : 0 ;} |
9276 EOF | 9320 EOF |
9277 if { (eval echo configure:9278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9321 if { (eval echo configure:9322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9278 then | 9322 then |
9279 ./conftest dummy_arg; xpm_status=$?; | 9323 ./conftest dummy_arg; xpm_status=$?; |
9280 if test "$xpm_status" = "0"; then | 9324 if test "$xpm_status" = "0"; then |
9281 with_xpm=yes; | 9325 with_xpm=yes; |
9282 else | 9326 else |
9316 | 9360 |
9317 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi | 9361 LDFLAGS=""$libpath_xpm" $LDFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$libpath_xpm"\" to \$LDFLAGS"; fi |
9318 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi | 9362 libs_x="-lXpm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXpm\" to \$libs_x"; fi |
9319 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi | 9363 CFLAGS=""$incpath_xpm" $CFLAGS" && if test "$extra_verbose" = "yes"; then echo " Prepending \""$incpath_xpm"\" to \$CFLAGS"; fi |
9320 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 | 9364 echo $ac_n "checking for \"FOR_MSW\" xpm""... $ac_c" 1>&6 |
9321 echo "configure:9322: checking for \"FOR_MSW\" xpm" >&5 | 9365 echo "configure:9366: checking for \"FOR_MSW\" xpm" >&5 |
9322 xe_check_libs=-lXpm | 9366 xe_check_libs=-lXpm |
9323 cat > conftest.$ac_ext <<EOF | 9367 cat > conftest.$ac_ext <<EOF |
9324 #line 9325 "configure" | 9368 #line 9369 "configure" |
9325 #include "confdefs.h" | 9369 #include "confdefs.h" |
9326 | 9370 |
9327 int main() { | 9371 int main() { |
9328 XpmCreatePixmapFromData() | 9372 XpmCreatePixmapFromData() |
9329 ; return 0; } | 9373 ; return 0; } |
9330 EOF | 9374 EOF |
9331 if { (eval echo configure:9332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9375 if { (eval echo configure:9376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9332 rm -rf conftest* | 9376 rm -rf conftest* |
9333 xpm_for_msw=no | 9377 xpm_for_msw=no |
9334 else | 9378 else |
9335 echo "configure: failed program was:" >&5 | 9379 echo "configure: failed program was:" >&5 |
9336 cat conftest.$ac_ext >&5 | 9380 cat conftest.$ac_ext >&5 |
9352 fi | 9396 fi |
9353 fi | 9397 fi |
9354 | 9398 |
9355 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9399 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9356 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9400 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9357 echo "configure:9358: checking for compface.h" >&5 | 9401 echo "configure:9402: checking for compface.h" >&5 |
9358 | 9402 |
9359 cat > conftest.$ac_ext <<EOF | 9403 cat > conftest.$ac_ext <<EOF |
9360 #line 9361 "configure" | 9404 #line 9405 "configure" |
9361 #include "confdefs.h" | 9405 #include "confdefs.h" |
9362 #include <compface.h> | 9406 #include <compface.h> |
9363 EOF | 9407 EOF |
9364 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9408 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9365 { (eval echo configure:9366: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9409 { (eval echo configure:9410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9366 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9410 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9367 if test -z "$ac_err"; then | 9411 if test -z "$ac_err"; then |
9368 rm -rf conftest* | 9412 rm -rf conftest* |
9369 eval "ac_cv_header_$ac_safe=yes" | 9413 eval "ac_cv_header_$ac_safe=yes" |
9370 else | 9414 else |
9383 with_xface=no | 9427 with_xface=no |
9384 fi | 9428 fi |
9385 } | 9429 } |
9386 test -z "$with_xface" && { | 9430 test -z "$with_xface" && { |
9387 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9431 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9388 echo "configure:9389: checking for UnGenFace in -lcompface" >&5 | 9432 echo "configure:9433: checking for UnGenFace in -lcompface" >&5 |
9389 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9433 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9390 | 9434 |
9391 xe_check_libs=" -lcompface " | 9435 xe_check_libs=" -lcompface " |
9392 cat > conftest.$ac_ext <<EOF | 9436 cat > conftest.$ac_ext <<EOF |
9393 #line 9394 "configure" | 9437 #line 9438 "configure" |
9394 #include "confdefs.h" | 9438 #include "confdefs.h" |
9395 /* Override any gcc2 internal prototype to avoid an error. */ | 9439 /* Override any gcc2 internal prototype to avoid an error. */ |
9396 /* 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 |
9397 builtin and then its argument prototype would still apply. */ | 9441 builtin and then its argument prototype would still apply. */ |
9398 char UnGenFace(); | 9442 char UnGenFace(); |
9399 | 9443 |
9400 int main() { | 9444 int main() { |
9401 UnGenFace() | 9445 UnGenFace() |
9402 ; return 0; } | 9446 ; return 0; } |
9403 EOF | 9447 EOF |
9404 if { (eval echo configure:9405: \"$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 |
9405 rm -rf conftest* | 9449 rm -rf conftest* |
9406 eval "ac_cv_lib_$ac_lib_var=yes" | 9450 eval "ac_cv_lib_$ac_lib_var=yes" |
9407 else | 9451 else |
9408 echo "configure: failed program was:" >&5 | 9452 echo "configure: failed program was:" >&5 |
9409 cat conftest.$ac_ext >&5 | 9453 cat conftest.$ac_ext >&5 |
9448 fi | 9492 fi |
9449 | 9493 |
9450 if test "$with_png $with_tiff" != "no no"; then | 9494 if test "$with_png $with_tiff" != "no no"; then |
9451 | 9495 |
9452 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 | 9496 echo $ac_n "checking for inflate in -lc""... $ac_c" 1>&6 |
9453 echo "configure:9454: checking for inflate in -lc" >&5 | 9497 echo "configure:9498: checking for inflate in -lc" >&5 |
9454 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` | 9498 ac_lib_var=`echo c'_'inflate | sed 'y%./+-%__p_%'` |
9455 | 9499 |
9456 xe_check_libs=" -lc " | 9500 xe_check_libs=" -lc " |
9457 cat > conftest.$ac_ext <<EOF | 9501 cat > conftest.$ac_ext <<EOF |
9458 #line 9459 "configure" | 9502 #line 9503 "configure" |
9459 #include "confdefs.h" | 9503 #include "confdefs.h" |
9460 /* Override any gcc2 internal prototype to avoid an error. */ | 9504 /* Override any gcc2 internal prototype to avoid an error. */ |
9461 /* We use char because int might match the return type of a gcc2 | 9505 /* We use char because int might match the return type of a gcc2 |
9462 builtin and then its argument prototype would still apply. */ | 9506 builtin and then its argument prototype would still apply. */ |
9463 char inflate(); | 9507 char inflate(); |
9464 | 9508 |
9465 int main() { | 9509 int main() { |
9466 inflate() | 9510 inflate() |
9467 ; return 0; } | 9511 ; return 0; } |
9468 EOF | 9512 EOF |
9469 if { (eval echo configure:9470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9513 if { (eval echo configure:9514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9470 rm -rf conftest* | 9514 rm -rf conftest* |
9471 eval "ac_cv_lib_$ac_lib_var=yes" | 9515 eval "ac_cv_lib_$ac_lib_var=yes" |
9472 else | 9516 else |
9473 echo "configure: failed program was:" >&5 | 9517 echo "configure: failed program was:" >&5 |
9474 cat conftest.$ac_ext >&5 | 9518 cat conftest.$ac_ext >&5 |
9483 : | 9527 : |
9484 else | 9528 else |
9485 echo "$ac_t""no" 1>&6 | 9529 echo "$ac_t""no" 1>&6 |
9486 | 9530 |
9487 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 | 9531 echo $ac_n "checking for inflate in -lz""... $ac_c" 1>&6 |
9488 echo "configure:9489: checking for inflate in -lz" >&5 | 9532 echo "configure:9533: checking for inflate in -lz" >&5 |
9489 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` | 9533 ac_lib_var=`echo z'_'inflate | sed 'y%./+-%__p_%'` |
9490 | 9534 |
9491 xe_check_libs=" -lz " | 9535 xe_check_libs=" -lz " |
9492 cat > conftest.$ac_ext <<EOF | 9536 cat > conftest.$ac_ext <<EOF |
9493 #line 9494 "configure" | 9537 #line 9538 "configure" |
9494 #include "confdefs.h" | 9538 #include "confdefs.h" |
9495 /* Override any gcc2 internal prototype to avoid an error. */ | 9539 /* Override any gcc2 internal prototype to avoid an error. */ |
9496 /* We use char because int might match the return type of a gcc2 | 9540 /* We use char because int might match the return type of a gcc2 |
9497 builtin and then its argument prototype would still apply. */ | 9541 builtin and then its argument prototype would still apply. */ |
9498 char inflate(); | 9542 char inflate(); |
9499 | 9543 |
9500 int main() { | 9544 int main() { |
9501 inflate() | 9545 inflate() |
9502 ; return 0; } | 9546 ; return 0; } |
9503 EOF | 9547 EOF |
9504 if { (eval echo configure:9505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9548 if { (eval echo configure:9549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9505 rm -rf conftest* | 9549 rm -rf conftest* |
9506 eval "ac_cv_lib_$ac_lib_var=yes" | 9550 eval "ac_cv_lib_$ac_lib_var=yes" |
9507 else | 9551 else |
9508 echo "configure: failed program was:" >&5 | 9552 echo "configure: failed program was:" >&5 |
9509 cat conftest.$ac_ext >&5 | 9553 cat conftest.$ac_ext >&5 |
9518 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi | 9562 libs_x="-lz $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi |
9519 else | 9563 else |
9520 echo "$ac_t""no" 1>&6 | 9564 echo "$ac_t""no" 1>&6 |
9521 | 9565 |
9522 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 | 9566 echo $ac_n "checking for inflate in -lgz""... $ac_c" 1>&6 |
9523 echo "configure:9524: checking for inflate in -lgz" >&5 | 9567 echo "configure:9568: checking for inflate in -lgz" >&5 |
9524 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` | 9568 ac_lib_var=`echo gz'_'inflate | sed 'y%./+-%__p_%'` |
9525 | 9569 |
9526 xe_check_libs=" -lgz " | 9570 xe_check_libs=" -lgz " |
9527 cat > conftest.$ac_ext <<EOF | 9571 cat > conftest.$ac_ext <<EOF |
9528 #line 9529 "configure" | 9572 #line 9573 "configure" |
9529 #include "confdefs.h" | 9573 #include "confdefs.h" |
9530 /* Override any gcc2 internal prototype to avoid an error. */ | 9574 /* Override any gcc2 internal prototype to avoid an error. */ |
9531 /* We use char because int might match the return type of a gcc2 | 9575 /* We use char because int might match the return type of a gcc2 |
9532 builtin and then its argument prototype would still apply. */ | 9576 builtin and then its argument prototype would still apply. */ |
9533 char inflate(); | 9577 char inflate(); |
9534 | 9578 |
9535 int main() { | 9579 int main() { |
9536 inflate() | 9580 inflate() |
9537 ; return 0; } | 9581 ; return 0; } |
9538 EOF | 9582 EOF |
9539 if { (eval echo configure:9540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9583 if { (eval echo configure:9584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9540 rm -rf conftest* | 9584 rm -rf conftest* |
9541 eval "ac_cv_lib_$ac_lib_var=yes" | 9585 eval "ac_cv_lib_$ac_lib_var=yes" |
9542 else | 9586 else |
9543 echo "configure: failed program was:" >&5 | 9587 echo "configure: failed program was:" >&5 |
9544 cat conftest.$ac_ext >&5 | 9588 cat conftest.$ac_ext >&5 |
9564 | 9608 |
9565 fi | 9609 fi |
9566 | 9610 |
9567 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` | 9611 test -z "$with_jpeg" && { ac_safe=`echo "jpeglib.h" | sed 'y%./+-%__p_%'` |
9568 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 | 9612 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6 |
9569 echo "configure:9570: checking for jpeglib.h" >&5 | 9613 echo "configure:9614: checking for jpeglib.h" >&5 |
9570 | 9614 |
9571 cat > conftest.$ac_ext <<EOF | 9615 cat > conftest.$ac_ext <<EOF |
9572 #line 9573 "configure" | 9616 #line 9617 "configure" |
9573 #include "confdefs.h" | 9617 #include "confdefs.h" |
9574 #include <jpeglib.h> | 9618 #include <jpeglib.h> |
9575 EOF | 9619 EOF |
9576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9577 { (eval echo configure:9578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9621 { (eval echo configure:9622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9579 if test -z "$ac_err"; then | 9623 if test -z "$ac_err"; then |
9580 rm -rf conftest* | 9624 rm -rf conftest* |
9581 eval "ac_cv_header_$ac_safe=yes" | 9625 eval "ac_cv_header_$ac_safe=yes" |
9582 else | 9626 else |
9595 with_jpeg=no | 9639 with_jpeg=no |
9596 fi | 9640 fi |
9597 } | 9641 } |
9598 test -z "$with_jpeg" && { | 9642 test -z "$with_jpeg" && { |
9599 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 | 9643 echo $ac_n "checking for jpeg_destroy_decompress in -ljpeg""... $ac_c" 1>&6 |
9600 echo "configure:9601: checking for jpeg_destroy_decompress in -ljpeg" >&5 | 9644 echo "configure:9645: checking for jpeg_destroy_decompress in -ljpeg" >&5 |
9601 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` | 9645 ac_lib_var=`echo jpeg'_'jpeg_destroy_decompress | sed 'y%./+-%__p_%'` |
9602 | 9646 |
9603 xe_check_libs=" -ljpeg " | 9647 xe_check_libs=" -ljpeg " |
9604 cat > conftest.$ac_ext <<EOF | 9648 cat > conftest.$ac_ext <<EOF |
9605 #line 9606 "configure" | 9649 #line 9650 "configure" |
9606 #include "confdefs.h" | 9650 #include "confdefs.h" |
9607 /* Override any gcc2 internal prototype to avoid an error. */ | 9651 /* Override any gcc2 internal prototype to avoid an error. */ |
9608 /* We use char because int might match the return type of a gcc2 | 9652 /* We use char because int might match the return type of a gcc2 |
9609 builtin and then its argument prototype would still apply. */ | 9653 builtin and then its argument prototype would still apply. */ |
9610 char jpeg_destroy_decompress(); | 9654 char jpeg_destroy_decompress(); |
9611 | 9655 |
9612 int main() { | 9656 int main() { |
9613 jpeg_destroy_decompress() | 9657 jpeg_destroy_decompress() |
9614 ; return 0; } | 9658 ; return 0; } |
9615 EOF | 9659 EOF |
9616 if { (eval echo configure:9617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9660 if { (eval echo configure:9661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9617 rm -rf conftest* | 9661 rm -rf conftest* |
9618 eval "ac_cv_lib_$ac_lib_var=yes" | 9662 eval "ac_cv_lib_$ac_lib_var=yes" |
9619 else | 9663 else |
9620 echo "configure: failed program was:" >&5 | 9664 echo "configure: failed program was:" >&5 |
9621 cat conftest.$ac_ext >&5 | 9665 cat conftest.$ac_ext >&5 |
9647 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi | 9691 libs_x="-ljpeg $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi |
9648 fi | 9692 fi |
9649 | 9693 |
9650 png_problem="" | 9694 png_problem="" |
9651 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 | 9695 test -z "$with_png" && { echo $ac_n "checking for pow""... $ac_c" 1>&6 |
9652 echo "configure:9653: checking for pow" >&5 | 9696 echo "configure:9697: checking for pow" >&5 |
9653 | 9697 |
9654 cat > conftest.$ac_ext <<EOF | 9698 cat > conftest.$ac_ext <<EOF |
9655 #line 9656 "configure" | 9699 #line 9700 "configure" |
9656 #include "confdefs.h" | 9700 #include "confdefs.h" |
9657 /* System header to define __stub macros and hopefully few prototypes, | 9701 /* System header to define __stub macros and hopefully few prototypes, |
9658 which can conflict with char pow(); below. */ | 9702 which can conflict with char pow(); below. */ |
9659 #include <assert.h> | 9703 #include <assert.h> |
9660 /* Override any gcc2 internal prototype to avoid an error. */ | 9704 /* Override any gcc2 internal prototype to avoid an error. */ |
9673 pow(); | 9717 pow(); |
9674 #endif | 9718 #endif |
9675 | 9719 |
9676 ; return 0; } | 9720 ; return 0; } |
9677 EOF | 9721 EOF |
9678 if { (eval echo configure:9679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9722 if { (eval echo configure:9723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9679 rm -rf conftest* | 9723 rm -rf conftest* |
9680 eval "ac_cv_func_pow=yes" | 9724 eval "ac_cv_func_pow=yes" |
9681 else | 9725 else |
9682 echo "configure: failed program was:" >&5 | 9726 echo "configure: failed program was:" >&5 |
9683 cat conftest.$ac_ext >&5 | 9727 cat conftest.$ac_ext >&5 |
9694 with_png=no | 9738 with_png=no |
9695 fi | 9739 fi |
9696 } | 9740 } |
9697 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 9741 test -z "$with_png" && { ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
9698 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 9742 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
9699 echo "configure:9700: checking for png.h" >&5 | 9743 echo "configure:9744: checking for png.h" >&5 |
9700 | 9744 |
9701 cat > conftest.$ac_ext <<EOF | 9745 cat > conftest.$ac_ext <<EOF |
9702 #line 9703 "configure" | 9746 #line 9747 "configure" |
9703 #include "confdefs.h" | 9747 #include "confdefs.h" |
9704 #include <png.h> | 9748 #include <png.h> |
9705 EOF | 9749 EOF |
9706 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9750 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9707 { (eval echo configure:9708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9751 { (eval echo configure:9752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9708 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9709 if test -z "$ac_err"; then | 9753 if test -z "$ac_err"; then |
9710 rm -rf conftest* | 9754 rm -rf conftest* |
9711 eval "ac_cv_header_$ac_safe=yes" | 9755 eval "ac_cv_header_$ac_safe=yes" |
9712 else | 9756 else |
9725 with_png=no | 9769 with_png=no |
9726 fi | 9770 fi |
9727 } | 9771 } |
9728 test -z "$with_png" && { | 9772 test -z "$with_png" && { |
9729 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 | 9773 echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6 |
9730 echo "configure:9731: checking for png_read_image in -lpng" >&5 | 9774 echo "configure:9775: checking for png_read_image in -lpng" >&5 |
9731 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` | 9775 ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'` |
9732 | 9776 |
9733 xe_check_libs=" -lpng " | 9777 xe_check_libs=" -lpng " |
9734 cat > conftest.$ac_ext <<EOF | 9778 cat > conftest.$ac_ext <<EOF |
9735 #line 9736 "configure" | 9779 #line 9780 "configure" |
9736 #include "confdefs.h" | 9780 #include "confdefs.h" |
9737 /* Override any gcc2 internal prototype to avoid an error. */ | 9781 /* Override any gcc2 internal prototype to avoid an error. */ |
9738 /* We use char because int might match the return type of a gcc2 | 9782 /* We use char because int might match the return type of a gcc2 |
9739 builtin and then its argument prototype would still apply. */ | 9783 builtin and then its argument prototype would still apply. */ |
9740 char png_read_image(); | 9784 char png_read_image(); |
9741 | 9785 |
9742 int main() { | 9786 int main() { |
9743 png_read_image() | 9787 png_read_image() |
9744 ; return 0; } | 9788 ; return 0; } |
9745 EOF | 9789 EOF |
9746 if { (eval echo configure:9747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9790 if { (eval echo configure:9791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9747 rm -rf conftest* | 9791 rm -rf conftest* |
9748 eval "ac_cv_lib_$ac_lib_var=yes" | 9792 eval "ac_cv_lib_$ac_lib_var=yes" |
9749 else | 9793 else |
9750 echo "configure: failed program was:" >&5 | 9794 echo "configure: failed program was:" >&5 |
9751 cat conftest.$ac_ext >&5 | 9795 cat conftest.$ac_ext >&5 |
9764 fi | 9808 fi |
9765 | 9809 |
9766 } | 9810 } |
9767 if test -z "$with_png"; then | 9811 if test -z "$with_png"; then |
9768 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 | 9812 echo $ac_n "checking for workable png version information""... $ac_c" 1>&6 |
9769 echo "configure:9770: checking for workable png version information" >&5 | 9813 echo "configure:9814: checking for workable png version information" >&5 |
9770 xe_check_libs="-lpng -lz" | 9814 xe_check_libs="-lpng -lz" |
9771 cat > conftest.$ac_ext <<EOF | 9815 cat > conftest.$ac_ext <<EOF |
9772 #line 9773 "configure" | 9816 #line 9817 "configure" |
9773 #include "confdefs.h" | 9817 #include "confdefs.h" |
9774 #include <png.h> | 9818 #include <png.h> |
9775 int main(int c, char **v) { | 9819 int main(int c, char **v) { |
9776 if (c == 1) return 0; | 9820 if (c == 1) return 0; |
9777 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; | 9821 if (strcmp(png_libpng_ver, PNG_LIBPNG_VER_STRING) != 0) return 1; |
9778 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} | 9822 return (PNG_LIBPNG_VER < 10002) ? 2 : 0 ;} |
9779 EOF | 9823 EOF |
9780 if { (eval echo configure:9781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 9824 if { (eval echo configure:9825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
9781 then | 9825 then |
9782 ./conftest dummy_arg; png_status=$?; | 9826 ./conftest dummy_arg; png_status=$?; |
9783 if test "$png_status" = "0"; then | 9827 if test "$png_status" = "0"; then |
9784 with_png=yes; | 9828 with_png=yes; |
9785 else | 9829 else |
9818 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi | 9862 libs_x="-lpng $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi |
9819 fi | 9863 fi |
9820 | 9864 |
9821 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 9865 test -z "$with_tiff" && { ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
9822 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 9866 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
9823 echo "configure:9824: checking for tiffio.h" >&5 | 9867 echo "configure:9868: checking for tiffio.h" >&5 |
9824 | 9868 |
9825 cat > conftest.$ac_ext <<EOF | 9869 cat > conftest.$ac_ext <<EOF |
9826 #line 9827 "configure" | 9870 #line 9871 "configure" |
9827 #include "confdefs.h" | 9871 #include "confdefs.h" |
9828 #include <tiffio.h> | 9872 #include <tiffio.h> |
9829 EOF | 9873 EOF |
9830 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9831 { (eval echo configure:9832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9875 { (eval echo configure:9876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9832 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9833 if test -z "$ac_err"; then | 9877 if test -z "$ac_err"; then |
9834 rm -rf conftest* | 9878 rm -rf conftest* |
9835 eval "ac_cv_header_$ac_safe=yes" | 9879 eval "ac_cv_header_$ac_safe=yes" |
9836 else | 9880 else |
9849 with_tiff=no | 9893 with_tiff=no |
9850 fi | 9894 fi |
9851 } | 9895 } |
9852 test -z "$with_tiff" && { | 9896 test -z "$with_tiff" && { |
9853 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 | 9897 echo $ac_n "checking for TIFFClientOpen in -ltiff""... $ac_c" 1>&6 |
9854 echo "configure:9855: checking for TIFFClientOpen in -ltiff" >&5 | 9898 echo "configure:9899: checking for TIFFClientOpen in -ltiff" >&5 |
9855 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` | 9899 ac_lib_var=`echo tiff'_'TIFFClientOpen | sed 'y%./+-%__p_%'` |
9856 | 9900 |
9857 xe_check_libs=" -ltiff " | 9901 xe_check_libs=" -ltiff " |
9858 cat > conftest.$ac_ext <<EOF | 9902 cat > conftest.$ac_ext <<EOF |
9859 #line 9860 "configure" | 9903 #line 9904 "configure" |
9860 #include "confdefs.h" | 9904 #include "confdefs.h" |
9861 /* Override any gcc2 internal prototype to avoid an error. */ | 9905 /* Override any gcc2 internal prototype to avoid an error. */ |
9862 /* We use char because int might match the return type of a gcc2 | 9906 /* We use char because int might match the return type of a gcc2 |
9863 builtin and then its argument prototype would still apply. */ | 9907 builtin and then its argument prototype would still apply. */ |
9864 char TIFFClientOpen(); | 9908 char TIFFClientOpen(); |
9865 | 9909 |
9866 int main() { | 9910 int main() { |
9867 TIFFClientOpen() | 9911 TIFFClientOpen() |
9868 ; return 0; } | 9912 ; return 0; } |
9869 EOF | 9913 EOF |
9870 if { (eval echo configure:9871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 9914 if { (eval echo configure:9915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9871 rm -rf conftest* | 9915 rm -rf conftest* |
9872 eval "ac_cv_lib_$ac_lib_var=yes" | 9916 eval "ac_cv_lib_$ac_lib_var=yes" |
9873 else | 9917 else |
9874 echo "configure: failed program was:" >&5 | 9918 echo "configure: failed program was:" >&5 |
9875 cat conftest.$ac_ext >&5 | 9919 cat conftest.$ac_ext >&5 |
9904 | 9948 |
9905 | 9949 |
9906 if test "$with_gtk" = "yes"; then | 9950 if test "$with_gtk" = "yes"; then |
9907 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` | 9951 test -z "$with_xface" && { ac_safe=`echo "compface.h" | sed 'y%./+-%__p_%'` |
9908 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 | 9952 echo $ac_n "checking for compface.h""... $ac_c" 1>&6 |
9909 echo "configure:9910: checking for compface.h" >&5 | 9953 echo "configure:9954: checking for compface.h" >&5 |
9910 | 9954 |
9911 cat > conftest.$ac_ext <<EOF | 9955 cat > conftest.$ac_ext <<EOF |
9912 #line 9913 "configure" | 9956 #line 9957 "configure" |
9913 #include "confdefs.h" | 9957 #include "confdefs.h" |
9914 #include <compface.h> | 9958 #include <compface.h> |
9915 EOF | 9959 EOF |
9916 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 9960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
9917 { (eval echo configure:9918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 9961 { (eval echo configure:9962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
9918 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 9962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
9919 if test -z "$ac_err"; then | 9963 if test -z "$ac_err"; then |
9920 rm -rf conftest* | 9964 rm -rf conftest* |
9921 eval "ac_cv_header_$ac_safe=yes" | 9965 eval "ac_cv_header_$ac_safe=yes" |
9922 else | 9966 else |
9935 with_xface=no | 9979 with_xface=no |
9936 fi | 9980 fi |
9937 } | 9981 } |
9938 test -z "$with_xface" && { | 9982 test -z "$with_xface" && { |
9939 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 | 9983 echo $ac_n "checking for UnGenFace in -lcompface""... $ac_c" 1>&6 |
9940 echo "configure:9941: checking for UnGenFace in -lcompface" >&5 | 9984 echo "configure:9985: checking for UnGenFace in -lcompface" >&5 |
9941 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` | 9985 ac_lib_var=`echo compface'_'UnGenFace | sed 'y%./+-%__p_%'` |
9942 | 9986 |
9943 xe_check_libs=" -lcompface " | 9987 xe_check_libs=" -lcompface " |
9944 cat > conftest.$ac_ext <<EOF | 9988 cat > conftest.$ac_ext <<EOF |
9945 #line 9946 "configure" | 9989 #line 9990 "configure" |
9946 #include "confdefs.h" | 9990 #include "confdefs.h" |
9947 /* Override any gcc2 internal prototype to avoid an error. */ | 9991 /* Override any gcc2 internal prototype to avoid an error. */ |
9948 /* We use char because int might match the return type of a gcc2 | 9992 /* We use char because int might match the return type of a gcc2 |
9949 builtin and then its argument prototype would still apply. */ | 9993 builtin and then its argument prototype would still apply. */ |
9950 char UnGenFace(); | 9994 char UnGenFace(); |
9951 | 9995 |
9952 int main() { | 9996 int main() { |
9953 UnGenFace() | 9997 UnGenFace() |
9954 ; return 0; } | 9998 ; return 0; } |
9955 EOF | 9999 EOF |
9956 if { (eval echo configure:9957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10000 if { (eval echo configure:10001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
9957 rm -rf conftest* | 10001 rm -rf conftest* |
9958 eval "ac_cv_lib_$ac_lib_var=yes" | 10002 eval "ac_cv_lib_$ac_lib_var=yes" |
9959 else | 10003 else |
9960 echo "configure: failed program was:" >&5 | 10004 echo "configure: failed program was:" >&5 |
9961 cat conftest.$ac_ext >&5 | 10005 cat conftest.$ac_ext >&5 |
9990 | 10034 |
9991 | 10035 |
9992 | 10036 |
9993 if test "$with_x11" = "yes"; then | 10037 if test "$with_x11" = "yes"; then |
9994 echo "checking for X11 graphics libraries" 1>&6 | 10038 echo "checking for X11 graphics libraries" 1>&6 |
9995 echo "configure:9996: checking for X11 graphics libraries" >&5 | 10039 echo "configure:10040: checking for X11 graphics libraries" >&5 |
9996 fi | 10040 fi |
9997 | 10041 |
9998 case "$with_widgets" in | 10042 case "$with_widgets" in |
9999 "yes" | "athena") detect_athena=yes ;; | 10043 "yes" | "athena") detect_athena=yes ;; |
10000 *) detect_athena=no ;; | 10044 *) detect_athena=no ;; |
10001 esac | 10045 esac |
10002 | 10046 |
10003 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then | 10047 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then |
10004 echo "checking for the Athena widgets" 1>&6 | 10048 echo "checking for the Athena widgets" 1>&6 |
10005 echo "configure:10006: checking for the Athena widgets" >&5 | 10049 echo "configure:10050: checking for the Athena widgets" >&5 |
10006 | 10050 |
10007 case "$with_athena" in | 10051 case "$with_athena" in |
10008 "xaw" | "") athena_variant=Xaw athena_3d=no ;; | 10052 "xaw" | "") athena_variant=Xaw athena_3d=no ;; |
10009 "3d") athena_variant=Xaw3d athena_3d=yes ;; | 10053 "3d") athena_variant=Xaw3d athena_3d=yes ;; |
10010 "next") athena_variant=neXtaw athena_3d=yes ;; | 10054 "next") athena_variant=neXtaw athena_3d=yes ;; |
10014 esac | 10058 esac |
10015 | 10059 |
10016 if test "$athena_3d" = "no"; then | 10060 if test "$athena_3d" = "no"; then |
10017 | 10061 |
10018 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 | 10062 echo $ac_n "checking for XawScrollbarSetThumb in -l$athena_variant""... $ac_c" 1>&6 |
10019 echo "configure:10020: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 | 10063 echo "configure:10064: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 |
10020 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 10064 ac_lib_var=`echo $athena_variant'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
10021 | 10065 |
10022 xe_check_libs=" -l$athena_variant " | 10066 xe_check_libs=" -l$athena_variant " |
10023 cat > conftest.$ac_ext <<EOF | 10067 cat > conftest.$ac_ext <<EOF |
10024 #line 10025 "configure" | 10068 #line 10069 "configure" |
10025 #include "confdefs.h" | 10069 #include "confdefs.h" |
10026 /* Override any gcc2 internal prototype to avoid an error. */ | 10070 /* Override any gcc2 internal prototype to avoid an error. */ |
10027 /* We use char because int might match the return type of a gcc2 | 10071 /* We use char because int might match the return type of a gcc2 |
10028 builtin and then its argument prototype would still apply. */ | 10072 builtin and then its argument prototype would still apply. */ |
10029 char XawScrollbarSetThumb(); | 10073 char XawScrollbarSetThumb(); |
10030 | 10074 |
10031 int main() { | 10075 int main() { |
10032 XawScrollbarSetThumb() | 10076 XawScrollbarSetThumb() |
10033 ; return 0; } | 10077 ; return 0; } |
10034 EOF | 10078 EOF |
10035 if { (eval echo configure:10036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10079 if { (eval echo configure:10080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10036 rm -rf conftest* | 10080 rm -rf conftest* |
10037 eval "ac_cv_lib_$ac_lib_var=yes" | 10081 eval "ac_cv_lib_$ac_lib_var=yes" |
10038 else | 10082 else |
10039 echo "configure: failed program was:" >&5 | 10083 echo "configure: failed program was:" >&5 |
10040 cat conftest.$ac_ext >&5 | 10084 cat conftest.$ac_ext >&5 |
10046 | 10090 |
10047 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | 10091 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then |
10048 echo "$ac_t""yes" 1>&6 | 10092 echo "$ac_t""yes" 1>&6 |
10049 | 10093 |
10050 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10094 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10051 echo "configure:10052: checking for threeDClassRec in -l$athena_variant" >&5 | 10095 echo "configure:10096: checking for threeDClassRec in -l$athena_variant" >&5 |
10052 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10096 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10053 | 10097 |
10054 xe_check_libs=" -l$athena_variant " | 10098 xe_check_libs=" -l$athena_variant " |
10055 cat > conftest.$ac_ext <<EOF | 10099 cat > conftest.$ac_ext <<EOF |
10056 #line 10057 "configure" | 10100 #line 10101 "configure" |
10057 #include "confdefs.h" | 10101 #include "confdefs.h" |
10058 /* Override any gcc2 internal prototype to avoid an error. */ | 10102 /* Override any gcc2 internal prototype to avoid an error. */ |
10059 /* We use char because int might match the return type of a gcc2 | 10103 /* We use char because int might match the return type of a gcc2 |
10060 builtin and then its argument prototype would still apply. */ | 10104 builtin and then its argument prototype would still apply. */ |
10061 char threeDClassRec(); | 10105 char threeDClassRec(); |
10062 | 10106 |
10063 int main() { | 10107 int main() { |
10064 threeDClassRec() | 10108 threeDClassRec() |
10065 ; return 0; } | 10109 ; return 0; } |
10066 EOF | 10110 EOF |
10067 if { (eval echo configure:10068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10111 if { (eval echo configure:10112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10068 rm -rf conftest* | 10112 rm -rf conftest* |
10069 eval "ac_cv_lib_$ac_lib_var=yes" | 10113 eval "ac_cv_lib_$ac_lib_var=yes" |
10070 else | 10114 else |
10071 echo "configure: failed program was:" >&5 | 10115 echo "configure: failed program was:" >&5 |
10072 cat conftest.$ac_ext >&5 | 10116 cat conftest.$ac_ext >&5 |
10093 | 10137 |
10094 | 10138 |
10095 else | 10139 else |
10096 | 10140 |
10097 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 | 10141 echo $ac_n "checking for threeDClassRec in -l$athena_variant""... $ac_c" 1>&6 |
10098 echo "configure:10099: checking for threeDClassRec in -l$athena_variant" >&5 | 10142 echo "configure:10143: checking for threeDClassRec in -l$athena_variant" >&5 |
10099 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10143 ac_lib_var=`echo $athena_variant'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10100 | 10144 |
10101 xe_check_libs=" -l$athena_variant " | 10145 xe_check_libs=" -l$athena_variant " |
10102 cat > conftest.$ac_ext <<EOF | 10146 cat > conftest.$ac_ext <<EOF |
10103 #line 10104 "configure" | 10147 #line 10148 "configure" |
10104 #include "confdefs.h" | 10148 #include "confdefs.h" |
10105 /* Override any gcc2 internal prototype to avoid an error. */ | 10149 /* Override any gcc2 internal prototype to avoid an error. */ |
10106 /* We use char because int might match the return type of a gcc2 | 10150 /* We use char because int might match the return type of a gcc2 |
10107 builtin and then its argument prototype would still apply. */ | 10151 builtin and then its argument prototype would still apply. */ |
10108 char threeDClassRec(); | 10152 char threeDClassRec(); |
10109 | 10153 |
10110 int main() { | 10154 int main() { |
10111 threeDClassRec() | 10155 threeDClassRec() |
10112 ; return 0; } | 10156 ; return 0; } |
10113 EOF | 10157 EOF |
10114 if { (eval echo configure:10115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10158 if { (eval echo configure:10159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10115 rm -rf conftest* | 10159 rm -rf conftest* |
10116 eval "ac_cv_lib_$ac_lib_var=yes" | 10160 eval "ac_cv_lib_$ac_lib_var=yes" |
10117 else | 10161 else |
10118 echo "configure: failed program was:" >&5 | 10162 echo "configure: failed program was:" >&5 |
10119 cat conftest.$ac_ext >&5 | 10163 cat conftest.$ac_ext >&5 |
10127 echo "$ac_t""yes" 1>&6 | 10171 echo "$ac_t""yes" 1>&6 |
10128 athena_lib=$athena_variant | 10172 athena_lib=$athena_variant |
10129 else | 10173 else |
10130 echo "$ac_t""no" 1>&6 | 10174 echo "$ac_t""no" 1>&6 |
10131 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 | 10175 echo $ac_n "checking for threeDClassRec in -lXaw""... $ac_c" 1>&6 |
10132 echo "configure:10133: checking for threeDClassRec in -lXaw" >&5 | 10176 echo "configure:10177: checking for threeDClassRec in -lXaw" >&5 |
10133 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` | 10177 ac_lib_var=`echo Xaw'_'threeDClassRec | sed 'y%./+-%__p_%'` |
10134 | 10178 |
10135 xe_check_libs=" -lXaw " | 10179 xe_check_libs=" -lXaw " |
10136 cat > conftest.$ac_ext <<EOF | 10180 cat > conftest.$ac_ext <<EOF |
10137 #line 10138 "configure" | 10181 #line 10182 "configure" |
10138 #include "confdefs.h" | 10182 #include "confdefs.h" |
10139 /* Override any gcc2 internal prototype to avoid an error. */ | 10183 /* Override any gcc2 internal prototype to avoid an error. */ |
10140 /* We use char because int might match the return type of a gcc2 | 10184 /* We use char because int might match the return type of a gcc2 |
10141 builtin and then its argument prototype would still apply. */ | 10185 builtin and then its argument prototype would still apply. */ |
10142 char threeDClassRec(); | 10186 char threeDClassRec(); |
10143 | 10187 |
10144 int main() { | 10188 int main() { |
10145 threeDClassRec() | 10189 threeDClassRec() |
10146 ; return 0; } | 10190 ; return 0; } |
10147 EOF | 10191 EOF |
10148 if { (eval echo configure:10149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10192 if { (eval echo configure:10193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10149 rm -rf conftest* | 10193 rm -rf conftest* |
10150 eval "ac_cv_lib_$ac_lib_var=yes" | 10194 eval "ac_cv_lib_$ac_lib_var=yes" |
10151 else | 10195 else |
10152 echo "configure: failed program was:" >&5 | 10196 echo "configure: failed program was:" >&5 |
10153 cat conftest.$ac_ext >&5 | 10197 cat conftest.$ac_ext >&5 |
10174 fi | 10218 fi |
10175 | 10219 |
10176 if test "$athena_3d" = "no"; then | 10220 if test "$athena_3d" = "no"; then |
10177 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10221 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10178 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10222 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10179 echo "configure:10180: checking for X11/Xaw/ThreeD.h" >&5 | 10223 echo "configure:10224: checking for X11/Xaw/ThreeD.h" >&5 |
10180 | 10224 |
10181 cat > conftest.$ac_ext <<EOF | 10225 cat > conftest.$ac_ext <<EOF |
10182 #line 10183 "configure" | 10226 #line 10227 "configure" |
10183 #include "confdefs.h" | 10227 #include "confdefs.h" |
10184 #include <X11/Xaw/ThreeD.h> | 10228 #include <X11/Xaw/ThreeD.h> |
10185 EOF | 10229 EOF |
10186 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10230 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10187 { (eval echo configure:10188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10231 { (eval echo configure:10232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10188 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10232 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10189 if test -z "$ac_err"; then | 10233 if test -z "$ac_err"; then |
10190 rm -rf conftest* | 10234 rm -rf conftest* |
10191 eval "ac_cv_header_$ac_safe=yes" | 10235 eval "ac_cv_header_$ac_safe=yes" |
10192 else | 10236 else |
10202 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 | 10246 echo "configure: warning: Could not find a non-3d Athena header set." 1>&2 |
10203 else | 10247 else |
10204 echo "$ac_t""no" 1>&6 | 10248 echo "$ac_t""no" 1>&6 |
10205 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` | 10249 ac_safe=`echo "X11/Xaw/XawInit.h" | sed 'y%./+-%__p_%'` |
10206 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 | 10250 echo $ac_n "checking for X11/Xaw/XawInit.h""... $ac_c" 1>&6 |
10207 echo "configure:10208: checking for X11/Xaw/XawInit.h" >&5 | 10251 echo "configure:10252: checking for X11/Xaw/XawInit.h" >&5 |
10208 | 10252 |
10209 cat > conftest.$ac_ext <<EOF | 10253 cat > conftest.$ac_ext <<EOF |
10210 #line 10211 "configure" | 10254 #line 10255 "configure" |
10211 #include "confdefs.h" | 10255 #include "confdefs.h" |
10212 #include <X11/Xaw/XawInit.h> | 10256 #include <X11/Xaw/XawInit.h> |
10213 EOF | 10257 EOF |
10214 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10258 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10215 { (eval echo configure:10216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10259 { (eval echo configure:10260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10216 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10260 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10217 if test -z "$ac_err"; then | 10261 if test -z "$ac_err"; then |
10218 rm -rf conftest* | 10262 rm -rf conftest* |
10219 eval "ac_cv_header_$ac_safe=yes" | 10263 eval "ac_cv_header_$ac_safe=yes" |
10220 else | 10264 else |
10236 fi | 10280 fi |
10237 | 10281 |
10238 else | 10282 else |
10239 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10283 ac_safe=`echo "X11/$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10240 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 | 10284 echo $ac_n "checking for X11/$athena_variant/XawInit.h""... $ac_c" 1>&6 |
10241 echo "configure:10242: checking for X11/$athena_variant/XawInit.h" >&5 | 10285 echo "configure:10286: checking for X11/$athena_variant/XawInit.h" >&5 |
10242 | 10286 |
10243 cat > conftest.$ac_ext <<EOF | 10287 cat > conftest.$ac_ext <<EOF |
10244 #line 10245 "configure" | 10288 #line 10289 "configure" |
10245 #include "confdefs.h" | 10289 #include "confdefs.h" |
10246 #include <X11/$athena_variant/XawInit.h> | 10290 #include <X11/$athena_variant/XawInit.h> |
10247 EOF | 10291 EOF |
10248 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10292 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10249 { (eval echo configure:10250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10293 { (eval echo configure:10294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10250 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10294 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10251 if test -z "$ac_err"; then | 10295 if test -z "$ac_err"; then |
10252 rm -rf conftest* | 10296 rm -rf conftest* |
10253 eval "ac_cv_header_$ac_safe=yes" | 10297 eval "ac_cv_header_$ac_safe=yes" |
10254 else | 10298 else |
10261 rm -f conftest* | 10305 rm -f conftest* |
10262 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10306 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10263 echo "$ac_t""yes" 1>&6 | 10307 echo "$ac_t""yes" 1>&6 |
10264 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10308 ac_safe=`echo "X11/$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10265 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10309 echo $ac_n "checking for X11/$athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10266 echo "configure:10267: checking for X11/$athena_variant/ThreeD.h" >&5 | 10310 echo "configure:10311: checking for X11/$athena_variant/ThreeD.h" >&5 |
10267 | 10311 |
10268 cat > conftest.$ac_ext <<EOF | 10312 cat > conftest.$ac_ext <<EOF |
10269 #line 10270 "configure" | 10313 #line 10314 "configure" |
10270 #include "confdefs.h" | 10314 #include "confdefs.h" |
10271 #include <X11/$athena_variant/ThreeD.h> | 10315 #include <X11/$athena_variant/ThreeD.h> |
10272 EOF | 10316 EOF |
10273 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10317 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10274 { (eval echo configure:10275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10318 { (eval echo configure:10319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10275 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10319 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10276 if test -z "$ac_err"; then | 10320 if test -z "$ac_err"; then |
10277 rm -rf conftest* | 10321 rm -rf conftest* |
10278 eval "ac_cv_header_$ac_safe=yes" | 10322 eval "ac_cv_header_$ac_safe=yes" |
10279 else | 10323 else |
10297 | 10341 |
10298 | 10342 |
10299 if test -z "$athena_h_path"; then | 10343 if test -z "$athena_h_path"; then |
10300 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` | 10344 ac_safe=`echo "$athena_variant/XawInit.h" | sed 'y%./+-%__p_%'` |
10301 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 | 10345 echo $ac_n "checking for $athena_variant/XawInit.h""... $ac_c" 1>&6 |
10302 echo "configure:10303: checking for $athena_variant/XawInit.h" >&5 | 10346 echo "configure:10347: checking for $athena_variant/XawInit.h" >&5 |
10303 | 10347 |
10304 cat > conftest.$ac_ext <<EOF | 10348 cat > conftest.$ac_ext <<EOF |
10305 #line 10306 "configure" | 10349 #line 10350 "configure" |
10306 #include "confdefs.h" | 10350 #include "confdefs.h" |
10307 #include <$athena_variant/XawInit.h> | 10351 #include <$athena_variant/XawInit.h> |
10308 EOF | 10352 EOF |
10309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10353 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10310 { (eval echo configure:10311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10354 { (eval echo configure:10355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10311 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10355 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10312 if test -z "$ac_err"; then | 10356 if test -z "$ac_err"; then |
10313 rm -rf conftest* | 10357 rm -rf conftest* |
10314 eval "ac_cv_header_$ac_safe=yes" | 10358 eval "ac_cv_header_$ac_safe=yes" |
10315 else | 10359 else |
10322 rm -f conftest* | 10366 rm -f conftest* |
10323 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10367 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10324 echo "$ac_t""yes" 1>&6 | 10368 echo "$ac_t""yes" 1>&6 |
10325 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` | 10369 ac_safe=`echo "$athena_variant/ThreeD.h" | sed 'y%./+-%__p_%'` |
10326 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 | 10370 echo $ac_n "checking for $athena_variant/ThreeD.h""... $ac_c" 1>&6 |
10327 echo "configure:10328: checking for $athena_variant/ThreeD.h" >&5 | 10371 echo "configure:10372: checking for $athena_variant/ThreeD.h" >&5 |
10328 | 10372 |
10329 cat > conftest.$ac_ext <<EOF | 10373 cat > conftest.$ac_ext <<EOF |
10330 #line 10331 "configure" | 10374 #line 10375 "configure" |
10331 #include "confdefs.h" | 10375 #include "confdefs.h" |
10332 #include <$athena_variant/ThreeD.h> | 10376 #include <$athena_variant/ThreeD.h> |
10333 EOF | 10377 EOF |
10334 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10335 { (eval echo configure:10336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10379 { (eval echo configure:10380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10336 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10337 if test -z "$ac_err"; then | 10381 if test -z "$ac_err"; then |
10338 rm -rf conftest* | 10382 rm -rf conftest* |
10339 eval "ac_cv_header_$ac_safe=yes" | 10383 eval "ac_cv_header_$ac_safe=yes" |
10340 else | 10384 else |
10359 fi | 10403 fi |
10360 | 10404 |
10361 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10405 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10362 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10406 ac_safe=`echo "X11/Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10363 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10407 echo $ac_n "checking for X11/Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10364 echo "configure:10365: checking for X11/Xaw3d/XawInit.h" >&5 | 10408 echo "configure:10409: checking for X11/Xaw3d/XawInit.h" >&5 |
10365 | 10409 |
10366 cat > conftest.$ac_ext <<EOF | 10410 cat > conftest.$ac_ext <<EOF |
10367 #line 10368 "configure" | 10411 #line 10412 "configure" |
10368 #include "confdefs.h" | 10412 #include "confdefs.h" |
10369 #include <X11/Xaw3d/XawInit.h> | 10413 #include <X11/Xaw3d/XawInit.h> |
10370 EOF | 10414 EOF |
10371 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10372 { (eval echo configure:10373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10416 { (eval echo configure:10417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10373 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10374 if test -z "$ac_err"; then | 10418 if test -z "$ac_err"; then |
10375 rm -rf conftest* | 10419 rm -rf conftest* |
10376 eval "ac_cv_header_$ac_safe=yes" | 10420 eval "ac_cv_header_$ac_safe=yes" |
10377 else | 10421 else |
10384 rm -f conftest* | 10428 rm -f conftest* |
10385 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10386 echo "$ac_t""yes" 1>&6 | 10430 echo "$ac_t""yes" 1>&6 |
10387 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10431 ac_safe=`echo "X11/Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10388 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10432 echo $ac_n "checking for X11/Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10389 echo "configure:10390: checking for X11/Xaw3d/ThreeD.h" >&5 | 10433 echo "configure:10434: checking for X11/Xaw3d/ThreeD.h" >&5 |
10390 | 10434 |
10391 cat > conftest.$ac_ext <<EOF | 10435 cat > conftest.$ac_ext <<EOF |
10392 #line 10393 "configure" | 10436 #line 10437 "configure" |
10393 #include "confdefs.h" | 10437 #include "confdefs.h" |
10394 #include <X11/Xaw3d/ThreeD.h> | 10438 #include <X11/Xaw3d/ThreeD.h> |
10395 EOF | 10439 EOF |
10396 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10440 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10397 { (eval echo configure:10398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10441 { (eval echo configure:10442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10398 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10442 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10399 if test -z "$ac_err"; then | 10443 if test -z "$ac_err"; then |
10400 rm -rf conftest* | 10444 rm -rf conftest* |
10401 eval "ac_cv_header_$ac_safe=yes" | 10445 eval "ac_cv_header_$ac_safe=yes" |
10402 else | 10446 else |
10424 fi | 10468 fi |
10425 | 10469 |
10426 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then | 10470 if test -z "$athena_h_path" -a "$athena_variant" != "Xaw3d"; then |
10427 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` | 10471 ac_safe=`echo "Xaw3d/XawInit.h" | sed 'y%./+-%__p_%'` |
10428 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 | 10472 echo $ac_n "checking for Xaw3d/XawInit.h""... $ac_c" 1>&6 |
10429 echo "configure:10430: checking for Xaw3d/XawInit.h" >&5 | 10473 echo "configure:10474: checking for Xaw3d/XawInit.h" >&5 |
10430 | 10474 |
10431 cat > conftest.$ac_ext <<EOF | 10475 cat > conftest.$ac_ext <<EOF |
10432 #line 10433 "configure" | 10476 #line 10477 "configure" |
10433 #include "confdefs.h" | 10477 #include "confdefs.h" |
10434 #include <Xaw3d/XawInit.h> | 10478 #include <Xaw3d/XawInit.h> |
10435 EOF | 10479 EOF |
10436 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10480 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10437 { (eval echo configure:10438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10481 { (eval echo configure:10482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10438 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10482 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10439 if test -z "$ac_err"; then | 10483 if test -z "$ac_err"; then |
10440 rm -rf conftest* | 10484 rm -rf conftest* |
10441 eval "ac_cv_header_$ac_safe=yes" | 10485 eval "ac_cv_header_$ac_safe=yes" |
10442 else | 10486 else |
10449 rm -f conftest* | 10493 rm -f conftest* |
10450 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10494 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10451 echo "$ac_t""yes" 1>&6 | 10495 echo "$ac_t""yes" 1>&6 |
10452 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` | 10496 ac_safe=`echo "Xaw3d/ThreeD.h" | sed 'y%./+-%__p_%'` |
10453 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 | 10497 echo $ac_n "checking for Xaw3d/ThreeD.h""... $ac_c" 1>&6 |
10454 echo "configure:10455: checking for Xaw3d/ThreeD.h" >&5 | 10498 echo "configure:10499: checking for Xaw3d/ThreeD.h" >&5 |
10455 | 10499 |
10456 cat > conftest.$ac_ext <<EOF | 10500 cat > conftest.$ac_ext <<EOF |
10457 #line 10458 "configure" | 10501 #line 10502 "configure" |
10458 #include "confdefs.h" | 10502 #include "confdefs.h" |
10459 #include <Xaw3d/ThreeD.h> | 10503 #include <Xaw3d/ThreeD.h> |
10460 EOF | 10504 EOF |
10461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10505 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10462 { (eval echo configure:10463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10506 { (eval echo configure:10507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10507 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10464 if test -z "$ac_err"; then | 10508 if test -z "$ac_err"; then |
10465 rm -rf conftest* | 10509 rm -rf conftest* |
10466 eval "ac_cv_header_$ac_safe=yes" | 10510 eval "ac_cv_header_$ac_safe=yes" |
10467 else | 10511 else |
10489 fi | 10533 fi |
10490 | 10534 |
10491 if test -z "$athena_h_path"; then | 10535 if test -z "$athena_h_path"; then |
10492 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` | 10536 ac_safe=`echo "X11/Xaw/ThreeD.h" | sed 'y%./+-%__p_%'` |
10493 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 | 10537 echo $ac_n "checking for X11/Xaw/ThreeD.h""... $ac_c" 1>&6 |
10494 echo "configure:10495: checking for X11/Xaw/ThreeD.h" >&5 | 10538 echo "configure:10539: checking for X11/Xaw/ThreeD.h" >&5 |
10495 | 10539 |
10496 cat > conftest.$ac_ext <<EOF | 10540 cat > conftest.$ac_ext <<EOF |
10497 #line 10498 "configure" | 10541 #line 10542 "configure" |
10498 #include "confdefs.h" | 10542 #include "confdefs.h" |
10499 #include <X11/Xaw/ThreeD.h> | 10543 #include <X11/Xaw/ThreeD.h> |
10500 EOF | 10544 EOF |
10501 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10502 { (eval echo configure:10503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10546 { (eval echo configure:10547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10504 if test -z "$ac_err"; then | 10548 if test -z "$ac_err"; then |
10505 rm -rf conftest* | 10549 rm -rf conftest* |
10506 eval "ac_cv_header_$ac_safe=yes" | 10550 eval "ac_cv_header_$ac_safe=yes" |
10507 else | 10551 else |
10536 have_xaw=no | 10580 have_xaw=no |
10537 fi | 10581 fi |
10538 if test "$with_x11" = "yes"; then | 10582 if test "$with_x11" = "yes"; then |
10539 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` | 10583 ac_safe=`echo "Xm/Xm.h" | sed 'y%./+-%__p_%'` |
10540 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 | 10584 echo $ac_n "checking for Xm/Xm.h""... $ac_c" 1>&6 |
10541 echo "configure:10542: checking for Xm/Xm.h" >&5 | 10585 echo "configure:10586: checking for Xm/Xm.h" >&5 |
10542 | 10586 |
10543 cat > conftest.$ac_ext <<EOF | 10587 cat > conftest.$ac_ext <<EOF |
10544 #line 10545 "configure" | 10588 #line 10589 "configure" |
10545 #include "confdefs.h" | 10589 #include "confdefs.h" |
10546 #include <Xm/Xm.h> | 10590 #include <Xm/Xm.h> |
10547 EOF | 10591 EOF |
10548 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 10592 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
10549 { (eval echo configure:10550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 10593 { (eval echo configure:10594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
10550 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 10594 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
10551 if test -z "$ac_err"; then | 10595 if test -z "$ac_err"; then |
10552 rm -rf conftest* | 10596 rm -rf conftest* |
10553 eval "ac_cv_header_$ac_safe=yes" | 10597 eval "ac_cv_header_$ac_safe=yes" |
10554 else | 10598 else |
10561 rm -f conftest* | 10605 rm -f conftest* |
10562 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 10606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
10563 echo "$ac_t""yes" 1>&6 | 10607 echo "$ac_t""yes" 1>&6 |
10564 | 10608 |
10565 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 | 10609 echo $ac_n "checking for XmStringFree in -lXm""... $ac_c" 1>&6 |
10566 echo "configure:10567: checking for XmStringFree in -lXm" >&5 | 10610 echo "configure:10611: checking for XmStringFree in -lXm" >&5 |
10567 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` | 10611 ac_lib_var=`echo Xm'_'XmStringFree | sed 'y%./+-%__p_%'` |
10568 | 10612 |
10569 xe_check_libs=" -lXm " | 10613 xe_check_libs=" -lXm " |
10570 cat > conftest.$ac_ext <<EOF | 10614 cat > conftest.$ac_ext <<EOF |
10571 #line 10572 "configure" | 10615 #line 10616 "configure" |
10572 #include "confdefs.h" | 10616 #include "confdefs.h" |
10573 /* Override any gcc2 internal prototype to avoid an error. */ | 10617 /* Override any gcc2 internal prototype to avoid an error. */ |
10574 /* We use char because int might match the return type of a gcc2 | 10618 /* We use char because int might match the return type of a gcc2 |
10575 builtin and then its argument prototype would still apply. */ | 10619 builtin and then its argument prototype would still apply. */ |
10576 char XmStringFree(); | 10620 char XmStringFree(); |
10577 | 10621 |
10578 int main() { | 10622 int main() { |
10579 XmStringFree() | 10623 XmStringFree() |
10580 ; return 0; } | 10624 ; return 0; } |
10581 EOF | 10625 EOF |
10582 if { (eval echo configure:10583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 10626 if { (eval echo configure:10627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10583 rm -rf conftest* | 10627 rm -rf conftest* |
10584 eval "ac_cv_lib_$ac_lib_var=yes" | 10628 eval "ac_cv_lib_$ac_lib_var=yes" |
10585 else | 10629 else |
10586 echo "configure: failed program was:" >&5 | 10630 echo "configure: failed program was:" >&5 |
10587 cat conftest.$ac_ext >&5 | 10631 cat conftest.$ac_ext >&5 |
10606 fi | 10650 fi |
10607 | 10651 |
10608 | 10652 |
10609 if test "$have_motif" = "yes"; then | 10653 if test "$have_motif" = "yes"; then |
10610 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 | 10654 echo $ac_n "checking for Lesstif""... $ac_c" 1>&6 |
10611 echo "configure:10612: checking for Lesstif" >&5 | 10655 echo "configure:10656: checking for Lesstif" >&5 |
10612 cat > conftest.$ac_ext <<EOF | 10656 cat > conftest.$ac_ext <<EOF |
10613 #line 10614 "configure" | 10657 #line 10658 "configure" |
10614 #include "confdefs.h" | 10658 #include "confdefs.h" |
10615 #include <Xm/Xm.h> | 10659 #include <Xm/Xm.h> |
10616 #ifdef LESSTIF_VERSION | 10660 #ifdef LESSTIF_VERSION |
10617 yes | 10661 yes |
10618 #endif | 10662 #endif |
10981 | 11025 |
10982 fi | 11026 fi |
10983 | 11027 |
10984 if test "$with_mule" = "yes" ; then | 11028 if test "$with_mule" = "yes" ; then |
10985 echo "checking for Mule-related features" 1>&6 | 11029 echo "checking for Mule-related features" 1>&6 |
10986 echo "configure:10987: checking for Mule-related features" >&5 | 11030 echo "configure:11031: checking for Mule-related features" >&5 |
10987 { test "$extra_verbose" = "yes" && cat << \EOF | 11031 { test "$extra_verbose" = "yes" && cat << \EOF |
10988 Defining MULE | 11032 Defining MULE |
10989 EOF | 11033 EOF |
10990 cat >> confdefs.h <<\EOF | 11034 cat >> confdefs.h <<\EOF |
10991 #define MULE 1 | 11035 #define MULE 1 |
10995 | 11039 |
10996 for ac_hdr in libintl.h | 11040 for ac_hdr in libintl.h |
10997 do | 11041 do |
10998 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 11042 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
10999 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 11043 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
11000 echo "configure:11001: checking for $ac_hdr" >&5 | 11044 echo "configure:11045: checking for $ac_hdr" >&5 |
11001 | 11045 |
11002 cat > conftest.$ac_ext <<EOF | 11046 cat > conftest.$ac_ext <<EOF |
11003 #line 11004 "configure" | 11047 #line 11048 "configure" |
11004 #include "confdefs.h" | 11048 #include "confdefs.h" |
11005 #include <$ac_hdr> | 11049 #include <$ac_hdr> |
11006 EOF | 11050 EOF |
11007 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11008 { (eval echo configure:11009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11052 { (eval echo configure:11053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11009 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11010 if test -z "$ac_err"; then | 11054 if test -z "$ac_err"; then |
11011 rm -rf conftest* | 11055 rm -rf conftest* |
11012 eval "ac_cv_header_$ac_safe=yes" | 11056 eval "ac_cv_header_$ac_safe=yes" |
11013 else | 11057 else |
11034 fi | 11078 fi |
11035 done | 11079 done |
11036 | 11080 |
11037 | 11081 |
11038 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 | 11082 echo $ac_n "checking for strerror in -lintl""... $ac_c" 1>&6 |
11039 echo "configure:11040: checking for strerror in -lintl" >&5 | 11083 echo "configure:11084: checking for strerror in -lintl" >&5 |
11040 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` | 11084 ac_lib_var=`echo intl'_'strerror | sed 'y%./+-%__p_%'` |
11041 | 11085 |
11042 xe_check_libs=" -lintl " | 11086 xe_check_libs=" -lintl " |
11043 cat > conftest.$ac_ext <<EOF | 11087 cat > conftest.$ac_ext <<EOF |
11044 #line 11045 "configure" | 11088 #line 11089 "configure" |
11045 #include "confdefs.h" | 11089 #include "confdefs.h" |
11046 /* Override any gcc2 internal prototype to avoid an error. */ | 11090 /* Override any gcc2 internal prototype to avoid an error. */ |
11047 /* We use char because int might match the return type of a gcc2 | 11091 /* We use char because int might match the return type of a gcc2 |
11048 builtin and then its argument prototype would still apply. */ | 11092 builtin and then its argument prototype would still apply. */ |
11049 char strerror(); | 11093 char strerror(); |
11050 | 11094 |
11051 int main() { | 11095 int main() { |
11052 strerror() | 11096 strerror() |
11053 ; return 0; } | 11097 ; return 0; } |
11054 EOF | 11098 EOF |
11055 if { (eval echo configure:11056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11099 if { (eval echo configure:11100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11056 rm -rf conftest* | 11100 rm -rf conftest* |
11057 eval "ac_cv_lib_$ac_lib_var=yes" | 11101 eval "ac_cv_lib_$ac_lib_var=yes" |
11058 else | 11102 else |
11059 echo "configure: failed program was:" >&5 | 11103 echo "configure: failed program was:" >&5 |
11060 cat conftest.$ac_ext >&5 | 11104 cat conftest.$ac_ext >&5 |
11083 fi | 11127 fi |
11084 | 11128 |
11085 | 11129 |
11086 | 11130 |
11087 echo "checking for Mule input methods" 1>&6 | 11131 echo "checking for Mule input methods" 1>&6 |
11088 echo "configure:11089: checking for Mule input methods" >&5 | 11132 echo "configure:11133: checking for Mule input methods" >&5 |
11089 case "$with_xim" in "" | "yes" ) | 11133 case "$with_xim" in "" | "yes" ) |
11090 echo "checking for XIM" 1>&6 | 11134 echo "checking for XIM" 1>&6 |
11091 echo "configure:11092: checking for XIM" >&5 | 11135 echo "configure:11136: checking for XIM" >&5 |
11092 | 11136 |
11093 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 | 11137 echo $ac_n "checking for XOpenIM in -lX11""... $ac_c" 1>&6 |
11094 echo "configure:11095: checking for XOpenIM in -lX11" >&5 | 11138 echo "configure:11139: checking for XOpenIM in -lX11" >&5 |
11095 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` | 11139 ac_lib_var=`echo X11'_'XOpenIM | sed 'y%./+-%__p_%'` |
11096 | 11140 |
11097 xe_check_libs=" -lX11 " | 11141 xe_check_libs=" -lX11 " |
11098 cat > conftest.$ac_ext <<EOF | 11142 cat > conftest.$ac_ext <<EOF |
11099 #line 11100 "configure" | 11143 #line 11144 "configure" |
11100 #include "confdefs.h" | 11144 #include "confdefs.h" |
11101 /* Override any gcc2 internal prototype to avoid an error. */ | 11145 /* Override any gcc2 internal prototype to avoid an error. */ |
11102 /* We use char because int might match the return type of a gcc2 | 11146 /* We use char because int might match the return type of a gcc2 |
11103 builtin and then its argument prototype would still apply. */ | 11147 builtin and then its argument prototype would still apply. */ |
11104 char XOpenIM(); | 11148 char XOpenIM(); |
11105 | 11149 |
11106 int main() { | 11150 int main() { |
11107 XOpenIM() | 11151 XOpenIM() |
11108 ; return 0; } | 11152 ; return 0; } |
11109 EOF | 11153 EOF |
11110 if { (eval echo configure:11111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11154 if { (eval echo configure:11155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11111 rm -rf conftest* | 11155 rm -rf conftest* |
11112 eval "ac_cv_lib_$ac_lib_var=yes" | 11156 eval "ac_cv_lib_$ac_lib_var=yes" |
11113 else | 11157 else |
11114 echo "configure: failed program was:" >&5 | 11158 echo "configure: failed program was:" >&5 |
11115 cat conftest.$ac_ext >&5 | 11159 cat conftest.$ac_ext >&5 |
11129 | 11173 |
11130 | 11174 |
11131 if test "$have_motif $have_lesstif" = "yes no"; then | 11175 if test "$have_motif $have_lesstif" = "yes no"; then |
11132 | 11176 |
11133 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 | 11177 echo $ac_n "checking for XmImMbLookupString in -lXm""... $ac_c" 1>&6 |
11134 echo "configure:11135: checking for XmImMbLookupString in -lXm" >&5 | 11178 echo "configure:11179: checking for XmImMbLookupString in -lXm" >&5 |
11135 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` | 11179 ac_lib_var=`echo Xm'_'XmImMbLookupString | sed 'y%./+-%__p_%'` |
11136 | 11180 |
11137 xe_check_libs=" -lXm " | 11181 xe_check_libs=" -lXm " |
11138 cat > conftest.$ac_ext <<EOF | 11182 cat > conftest.$ac_ext <<EOF |
11139 #line 11140 "configure" | 11183 #line 11184 "configure" |
11140 #include "confdefs.h" | 11184 #include "confdefs.h" |
11141 /* Override any gcc2 internal prototype to avoid an error. */ | 11185 /* Override any gcc2 internal prototype to avoid an error. */ |
11142 /* We use char because int might match the return type of a gcc2 | 11186 /* We use char because int might match the return type of a gcc2 |
11143 builtin and then its argument prototype would still apply. */ | 11187 builtin and then its argument prototype would still apply. */ |
11144 char XmImMbLookupString(); | 11188 char XmImMbLookupString(); |
11145 | 11189 |
11146 int main() { | 11190 int main() { |
11147 XmImMbLookupString() | 11191 XmImMbLookupString() |
11148 ; return 0; } | 11192 ; return 0; } |
11149 EOF | 11193 EOF |
11150 if { (eval echo configure:11151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11194 if { (eval echo configure:11195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11151 rm -rf conftest* | 11195 rm -rf conftest* |
11152 eval "ac_cv_lib_$ac_lib_var=yes" | 11196 eval "ac_cv_lib_$ac_lib_var=yes" |
11153 else | 11197 else |
11154 echo "configure: failed program was:" >&5 | 11198 echo "configure: failed program was:" >&5 |
11155 cat conftest.$ac_ext >&5 | 11199 cat conftest.$ac_ext >&5 |
11210 fi | 11254 fi |
11211 fi | 11255 fi |
11212 | 11256 |
11213 if test "$with_xfs" = "yes" ; then | 11257 if test "$with_xfs" = "yes" ; then |
11214 echo "checking for XFontSet" 1>&6 | 11258 echo "checking for XFontSet" 1>&6 |
11215 echo "configure:11216: checking for XFontSet" >&5 | 11259 echo "configure:11260: checking for XFontSet" >&5 |
11216 | 11260 |
11217 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 | 11261 echo $ac_n "checking for XmbDrawString in -lX11""... $ac_c" 1>&6 |
11218 echo "configure:11219: checking for XmbDrawString in -lX11" >&5 | 11262 echo "configure:11263: checking for XmbDrawString in -lX11" >&5 |
11219 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` | 11263 ac_lib_var=`echo X11'_'XmbDrawString | sed 'y%./+-%__p_%'` |
11220 | 11264 |
11221 xe_check_libs=" -lX11 " | 11265 xe_check_libs=" -lX11 " |
11222 cat > conftest.$ac_ext <<EOF | 11266 cat > conftest.$ac_ext <<EOF |
11223 #line 11224 "configure" | 11267 #line 11268 "configure" |
11224 #include "confdefs.h" | 11268 #include "confdefs.h" |
11225 /* Override any gcc2 internal prototype to avoid an error. */ | 11269 /* Override any gcc2 internal prototype to avoid an error. */ |
11226 /* We use char because int might match the return type of a gcc2 | 11270 /* We use char because int might match the return type of a gcc2 |
11227 builtin and then its argument prototype would still apply. */ | 11271 builtin and then its argument prototype would still apply. */ |
11228 char XmbDrawString(); | 11272 char XmbDrawString(); |
11229 | 11273 |
11230 int main() { | 11274 int main() { |
11231 XmbDrawString() | 11275 XmbDrawString() |
11232 ; return 0; } | 11276 ; return 0; } |
11233 EOF | 11277 EOF |
11234 if { (eval echo configure:11235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11278 if { (eval echo configure:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11235 rm -rf conftest* | 11279 rm -rf conftest* |
11236 eval "ac_cv_lib_$ac_lib_var=yes" | 11280 eval "ac_cv_lib_$ac_lib_var=yes" |
11237 else | 11281 else |
11238 echo "configure: failed program was:" >&5 | 11282 echo "configure: failed program was:" >&5 |
11239 cat conftest.$ac_ext >&5 | 11283 cat conftest.$ac_ext >&5 |
11269 fi | 11313 fi |
11270 fi | 11314 fi |
11271 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support | 11315 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support |
11272 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` | 11316 test -z "$with_wnn" && { ac_safe=`echo "wnn/jllib.h" | sed 'y%./+-%__p_%'` |
11273 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 | 11317 echo $ac_n "checking for wnn/jllib.h""... $ac_c" 1>&6 |
11274 echo "configure:11275: checking for wnn/jllib.h" >&5 | 11318 echo "configure:11319: checking for wnn/jllib.h" >&5 |
11275 | 11319 |
11276 cat > conftest.$ac_ext <<EOF | 11320 cat > conftest.$ac_ext <<EOF |
11277 #line 11278 "configure" | 11321 #line 11322 "configure" |
11278 #include "confdefs.h" | 11322 #include "confdefs.h" |
11279 #include <wnn/jllib.h> | 11323 #include <wnn/jllib.h> |
11280 EOF | 11324 EOF |
11281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11325 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11282 { (eval echo configure:11283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11326 { (eval echo configure:11327: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11327 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11284 if test -z "$ac_err"; then | 11328 if test -z "$ac_err"; then |
11285 rm -rf conftest* | 11329 rm -rf conftest* |
11286 eval "ac_cv_header_$ac_safe=yes" | 11330 eval "ac_cv_header_$ac_safe=yes" |
11287 else | 11331 else |
11300 with_wnn=no | 11344 with_wnn=no |
11301 fi | 11345 fi |
11302 } | 11346 } |
11303 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` | 11347 test -z "$with_wnn" && { ac_safe=`echo "wnn/commonhd.h" | sed 'y%./+-%__p_%'` |
11304 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 | 11348 echo $ac_n "checking for wnn/commonhd.h""... $ac_c" 1>&6 |
11305 echo "configure:11306: checking for wnn/commonhd.h" >&5 | 11349 echo "configure:11350: checking for wnn/commonhd.h" >&5 |
11306 | 11350 |
11307 cat > conftest.$ac_ext <<EOF | 11351 cat > conftest.$ac_ext <<EOF |
11308 #line 11309 "configure" | 11352 #line 11353 "configure" |
11309 #include "confdefs.h" | 11353 #include "confdefs.h" |
11310 #include <wnn/commonhd.h> | 11354 #include <wnn/commonhd.h> |
11311 EOF | 11355 EOF |
11312 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11356 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11313 { (eval echo configure:11314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11357 { (eval echo configure:11358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11358 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11315 if test -z "$ac_err"; then | 11359 if test -z "$ac_err"; then |
11316 rm -rf conftest* | 11360 rm -rf conftest* |
11317 eval "ac_cv_header_$ac_safe=yes" | 11361 eval "ac_cv_header_$ac_safe=yes" |
11318 else | 11362 else |
11333 } | 11377 } |
11334 if test "$with_wnn" != "no"; then | 11378 if test "$with_wnn" != "no"; then |
11335 for ac_func in crypt | 11379 for ac_func in crypt |
11336 do | 11380 do |
11337 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 11381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11338 echo "configure:11339: checking for $ac_func" >&5 | 11382 echo "configure:11383: checking for $ac_func" >&5 |
11339 | 11383 |
11340 cat > conftest.$ac_ext <<EOF | 11384 cat > conftest.$ac_ext <<EOF |
11341 #line 11342 "configure" | 11385 #line 11386 "configure" |
11342 #include "confdefs.h" | 11386 #include "confdefs.h" |
11343 /* System header to define __stub macros and hopefully few prototypes, | 11387 /* System header to define __stub macros and hopefully few prototypes, |
11344 which can conflict with char $ac_func(); below. */ | 11388 which can conflict with char $ac_func(); below. */ |
11345 #include <assert.h> | 11389 #include <assert.h> |
11346 /* Override any gcc2 internal prototype to avoid an error. */ | 11390 /* Override any gcc2 internal prototype to avoid an error. */ |
11359 $ac_func(); | 11403 $ac_func(); |
11360 #endif | 11404 #endif |
11361 | 11405 |
11362 ; return 0; } | 11406 ; return 0; } |
11363 EOF | 11407 EOF |
11364 if { (eval echo configure:11365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11408 if { (eval echo configure:11409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11365 rm -rf conftest* | 11409 rm -rf conftest* |
11366 eval "ac_cv_func_$ac_func=yes" | 11410 eval "ac_cv_func_$ac_func=yes" |
11367 else | 11411 else |
11368 echo "configure: failed program was:" >&5 | 11412 echo "configure: failed program was:" >&5 |
11369 cat conftest.$ac_ext >&5 | 11413 cat conftest.$ac_ext >&5 |
11388 fi | 11432 fi |
11389 done | 11433 done |
11390 | 11434 |
11391 test "$ac_cv_func_crypt" != "yes" && { | 11435 test "$ac_cv_func_crypt" != "yes" && { |
11392 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 | 11436 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6 |
11393 echo "configure:11394: checking for crypt in -lcrypt" >&5 | 11437 echo "configure:11438: checking for crypt in -lcrypt" >&5 |
11394 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` | 11438 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'` |
11395 | 11439 |
11396 xe_check_libs=" -lcrypt " | 11440 xe_check_libs=" -lcrypt " |
11397 cat > conftest.$ac_ext <<EOF | 11441 cat > conftest.$ac_ext <<EOF |
11398 #line 11399 "configure" | 11442 #line 11443 "configure" |
11399 #include "confdefs.h" | 11443 #include "confdefs.h" |
11400 /* Override any gcc2 internal prototype to avoid an error. */ | 11444 /* Override any gcc2 internal prototype to avoid an error. */ |
11401 /* We use char because int might match the return type of a gcc2 | 11445 /* We use char because int might match the return type of a gcc2 |
11402 builtin and then its argument prototype would still apply. */ | 11446 builtin and then its argument prototype would still apply. */ |
11403 char crypt(); | 11447 char crypt(); |
11404 | 11448 |
11405 int main() { | 11449 int main() { |
11406 crypt() | 11450 crypt() |
11407 ; return 0; } | 11451 ; return 0; } |
11408 EOF | 11452 EOF |
11409 if { (eval echo configure:11410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11453 if { (eval echo configure:11454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11410 rm -rf conftest* | 11454 rm -rf conftest* |
11411 eval "ac_cv_lib_$ac_lib_var=yes" | 11455 eval "ac_cv_lib_$ac_lib_var=yes" |
11412 else | 11456 else |
11413 echo "configure: failed program was:" >&5 | 11457 echo "configure: failed program was:" >&5 |
11414 cat conftest.$ac_ext >&5 | 11458 cat conftest.$ac_ext >&5 |
11439 } | 11483 } |
11440 fi | 11484 fi |
11441 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then | 11485 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then |
11442 | 11486 |
11443 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 | 11487 echo $ac_n "checking for jl_dic_list_e in -lwnn""... $ac_c" 1>&6 |
11444 echo "configure:11445: checking for jl_dic_list_e in -lwnn" >&5 | 11488 echo "configure:11489: checking for jl_dic_list_e in -lwnn" >&5 |
11445 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11489 ac_lib_var=`echo wnn'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11446 | 11490 |
11447 xe_check_libs=" -lwnn " | 11491 xe_check_libs=" -lwnn " |
11448 cat > conftest.$ac_ext <<EOF | 11492 cat > conftest.$ac_ext <<EOF |
11449 #line 11450 "configure" | 11493 #line 11494 "configure" |
11450 #include "confdefs.h" | 11494 #include "confdefs.h" |
11451 /* Override any gcc2 internal prototype to avoid an error. */ | 11495 /* Override any gcc2 internal prototype to avoid an error. */ |
11452 /* We use char because int might match the return type of a gcc2 | 11496 /* We use char because int might match the return type of a gcc2 |
11453 builtin and then its argument prototype would still apply. */ | 11497 builtin and then its argument prototype would still apply. */ |
11454 char jl_dic_list_e(); | 11498 char jl_dic_list_e(); |
11455 | 11499 |
11456 int main() { | 11500 int main() { |
11457 jl_dic_list_e() | 11501 jl_dic_list_e() |
11458 ; return 0; } | 11502 ; return 0; } |
11459 EOF | 11503 EOF |
11460 if { (eval echo configure:11461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11504 if { (eval echo configure:11505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11461 rm -rf conftest* | 11505 rm -rf conftest* |
11462 eval "ac_cv_lib_$ac_lib_var=yes" | 11506 eval "ac_cv_lib_$ac_lib_var=yes" |
11463 else | 11507 else |
11464 echo "configure: failed program was:" >&5 | 11508 echo "configure: failed program was:" >&5 |
11465 cat conftest.$ac_ext >&5 | 11509 cat conftest.$ac_ext >&5 |
11473 echo "$ac_t""yes" 1>&6 | 11517 echo "$ac_t""yes" 1>&6 |
11474 libwnn=wnn | 11518 libwnn=wnn |
11475 else | 11519 else |
11476 echo "$ac_t""no" 1>&6 | 11520 echo "$ac_t""no" 1>&6 |
11477 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 | 11521 echo $ac_n "checking for jl_dic_list_e in -lwnn4""... $ac_c" 1>&6 |
11478 echo "configure:11479: checking for jl_dic_list_e in -lwnn4" >&5 | 11522 echo "configure:11523: checking for jl_dic_list_e in -lwnn4" >&5 |
11479 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11523 ac_lib_var=`echo wnn4'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11480 | 11524 |
11481 xe_check_libs=" -lwnn4 " | 11525 xe_check_libs=" -lwnn4 " |
11482 cat > conftest.$ac_ext <<EOF | 11526 cat > conftest.$ac_ext <<EOF |
11483 #line 11484 "configure" | 11527 #line 11528 "configure" |
11484 #include "confdefs.h" | 11528 #include "confdefs.h" |
11485 /* Override any gcc2 internal prototype to avoid an error. */ | 11529 /* Override any gcc2 internal prototype to avoid an error. */ |
11486 /* We use char because int might match the return type of a gcc2 | 11530 /* We use char because int might match the return type of a gcc2 |
11487 builtin and then its argument prototype would still apply. */ | 11531 builtin and then its argument prototype would still apply. */ |
11488 char jl_dic_list_e(); | 11532 char jl_dic_list_e(); |
11489 | 11533 |
11490 int main() { | 11534 int main() { |
11491 jl_dic_list_e() | 11535 jl_dic_list_e() |
11492 ; return 0; } | 11536 ; return 0; } |
11493 EOF | 11537 EOF |
11494 if { (eval echo configure:11495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11538 if { (eval echo configure:11539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11495 rm -rf conftest* | 11539 rm -rf conftest* |
11496 eval "ac_cv_lib_$ac_lib_var=yes" | 11540 eval "ac_cv_lib_$ac_lib_var=yes" |
11497 else | 11541 else |
11498 echo "configure: failed program was:" >&5 | 11542 echo "configure: failed program was:" >&5 |
11499 cat conftest.$ac_ext >&5 | 11543 cat conftest.$ac_ext >&5 |
11507 echo "$ac_t""yes" 1>&6 | 11551 echo "$ac_t""yes" 1>&6 |
11508 libwnn=wnn4 | 11552 libwnn=wnn4 |
11509 else | 11553 else |
11510 echo "$ac_t""no" 1>&6 | 11554 echo "$ac_t""no" 1>&6 |
11511 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 | 11555 echo $ac_n "checking for jl_dic_list_e in -lwnn6""... $ac_c" 1>&6 |
11512 echo "configure:11513: checking for jl_dic_list_e in -lwnn6" >&5 | 11556 echo "configure:11557: checking for jl_dic_list_e in -lwnn6" >&5 |
11513 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` | 11557 ac_lib_var=`echo wnn6'_'jl_dic_list_e | sed 'y%./+-%__p_%'` |
11514 | 11558 |
11515 xe_check_libs=" -lwnn6 " | 11559 xe_check_libs=" -lwnn6 " |
11516 cat > conftest.$ac_ext <<EOF | 11560 cat > conftest.$ac_ext <<EOF |
11517 #line 11518 "configure" | 11561 #line 11562 "configure" |
11518 #include "confdefs.h" | 11562 #include "confdefs.h" |
11519 /* Override any gcc2 internal prototype to avoid an error. */ | 11563 /* Override any gcc2 internal prototype to avoid an error. */ |
11520 /* We use char because int might match the return type of a gcc2 | 11564 /* We use char because int might match the return type of a gcc2 |
11521 builtin and then its argument prototype would still apply. */ | 11565 builtin and then its argument prototype would still apply. */ |
11522 char jl_dic_list_e(); | 11566 char jl_dic_list_e(); |
11523 | 11567 |
11524 int main() { | 11568 int main() { |
11525 jl_dic_list_e() | 11569 jl_dic_list_e() |
11526 ; return 0; } | 11570 ; return 0; } |
11527 EOF | 11571 EOF |
11528 if { (eval echo configure:11529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11572 if { (eval echo configure:11573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11529 rm -rf conftest* | 11573 rm -rf conftest* |
11530 eval "ac_cv_lib_$ac_lib_var=yes" | 11574 eval "ac_cv_lib_$ac_lib_var=yes" |
11531 else | 11575 else |
11532 echo "configure: failed program was:" >&5 | 11576 echo "configure: failed program was:" >&5 |
11533 cat conftest.$ac_ext >&5 | 11577 cat conftest.$ac_ext >&5 |
11541 echo "$ac_t""yes" 1>&6 | 11585 echo "$ac_t""yes" 1>&6 |
11542 libwnn=wnn6 | 11586 libwnn=wnn6 |
11543 else | 11587 else |
11544 echo "$ac_t""no" 1>&6 | 11588 echo "$ac_t""no" 1>&6 |
11545 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 | 11589 echo $ac_n "checking for dic_list_e in -lwnn6_fromsrc""... $ac_c" 1>&6 |
11546 echo "configure:11547: checking for dic_list_e in -lwnn6_fromsrc" >&5 | 11590 echo "configure:11591: checking for dic_list_e in -lwnn6_fromsrc" >&5 |
11547 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` | 11591 ac_lib_var=`echo wnn6_fromsrc'_'dic_list_e | sed 'y%./+-%__p_%'` |
11548 | 11592 |
11549 xe_check_libs=" -lwnn6_fromsrc " | 11593 xe_check_libs=" -lwnn6_fromsrc " |
11550 cat > conftest.$ac_ext <<EOF | 11594 cat > conftest.$ac_ext <<EOF |
11551 #line 11552 "configure" | 11595 #line 11596 "configure" |
11552 #include "confdefs.h" | 11596 #include "confdefs.h" |
11553 /* Override any gcc2 internal prototype to avoid an error. */ | 11597 /* Override any gcc2 internal prototype to avoid an error. */ |
11554 /* We use char because int might match the return type of a gcc2 | 11598 /* We use char because int might match the return type of a gcc2 |
11555 builtin and then its argument prototype would still apply. */ | 11599 builtin and then its argument prototype would still apply. */ |
11556 char dic_list_e(); | 11600 char dic_list_e(); |
11557 | 11601 |
11558 int main() { | 11602 int main() { |
11559 dic_list_e() | 11603 dic_list_e() |
11560 ; return 0; } | 11604 ; return 0; } |
11561 EOF | 11605 EOF |
11562 if { (eval echo configure:11563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11606 if { (eval echo configure:11607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11563 rm -rf conftest* | 11607 rm -rf conftest* |
11564 eval "ac_cv_lib_$ac_lib_var=yes" | 11608 eval "ac_cv_lib_$ac_lib_var=yes" |
11565 else | 11609 else |
11566 echo "configure: failed program was:" >&5 | 11610 echo "configure: failed program was:" >&5 |
11567 cat conftest.$ac_ext >&5 | 11611 cat conftest.$ac_ext >&5 |
11602 | 11646 |
11603 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi | 11647 libs_x="-l$libwnn $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi |
11604 if test "$with_wnn6" != "no"; then | 11648 if test "$with_wnn6" != "no"; then |
11605 | 11649 |
11606 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 | 11650 echo $ac_n "checking for jl_fi_dic_list in -l$libwnn""... $ac_c" 1>&6 |
11607 echo "configure:11608: checking for jl_fi_dic_list in -l$libwnn" >&5 | 11651 echo "configure:11652: checking for jl_fi_dic_list in -l$libwnn" >&5 |
11608 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` | 11652 ac_lib_var=`echo $libwnn'_'jl_fi_dic_list | sed 'y%./+-%__p_%'` |
11609 | 11653 |
11610 xe_check_libs=" -l$libwnn " | 11654 xe_check_libs=" -l$libwnn " |
11611 cat > conftest.$ac_ext <<EOF | 11655 cat > conftest.$ac_ext <<EOF |
11612 #line 11613 "configure" | 11656 #line 11657 "configure" |
11613 #include "confdefs.h" | 11657 #include "confdefs.h" |
11614 /* Override any gcc2 internal prototype to avoid an error. */ | 11658 /* Override any gcc2 internal prototype to avoid an error. */ |
11615 /* We use char because int might match the return type of a gcc2 | 11659 /* We use char because int might match the return type of a gcc2 |
11616 builtin and then its argument prototype would still apply. */ | 11660 builtin and then its argument prototype would still apply. */ |
11617 char jl_fi_dic_list(); | 11661 char jl_fi_dic_list(); |
11618 | 11662 |
11619 int main() { | 11663 int main() { |
11620 jl_fi_dic_list() | 11664 jl_fi_dic_list() |
11621 ; return 0; } | 11665 ; return 0; } |
11622 EOF | 11666 EOF |
11623 if { (eval echo configure:11624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11667 if { (eval echo configure:11668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11624 rm -rf conftest* | 11668 rm -rf conftest* |
11625 eval "ac_cv_lib_$ac_lib_var=yes" | 11669 eval "ac_cv_lib_$ac_lib_var=yes" |
11626 else | 11670 else |
11627 echo "configure: failed program was:" >&5 | 11671 echo "configure: failed program was:" >&5 |
11628 cat conftest.$ac_ext >&5 | 11672 cat conftest.$ac_ext >&5 |
11653 | 11697 |
11654 canna_includes_found=no | 11698 canna_includes_found=no |
11655 if test "$with_canna" != "no"; then | 11699 if test "$with_canna" != "no"; then |
11656 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11700 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11657 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11701 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11658 echo "configure:11659: checking for canna/jrkanji.h" >&5 | 11702 echo "configure:11703: checking for canna/jrkanji.h" >&5 |
11659 | 11703 |
11660 cat > conftest.$ac_ext <<EOF | 11704 cat > conftest.$ac_ext <<EOF |
11661 #line 11662 "configure" | 11705 #line 11706 "configure" |
11662 #include "confdefs.h" | 11706 #include "confdefs.h" |
11663 #include <canna/jrkanji.h> | 11707 #include <canna/jrkanji.h> |
11664 EOF | 11708 EOF |
11665 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11666 { (eval echo configure:11667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11710 { (eval echo configure:11711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11667 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11668 if test -z "$ac_err"; then | 11712 if test -z "$ac_err"; then |
11669 rm -rf conftest* | 11713 rm -rf conftest* |
11670 eval "ac_cv_header_$ac_safe=yes" | 11714 eval "ac_cv_header_$ac_safe=yes" |
11671 else | 11715 else |
11688 -d "/usr/local/canna/include"; then | 11732 -d "/usr/local/canna/include"; then |
11689 save_c_switch_site="$c_switch_site" | 11733 save_c_switch_site="$c_switch_site" |
11690 c_switch_site="$c_switch_site -I/usr/local/canna/include" | 11734 c_switch_site="$c_switch_site -I/usr/local/canna/include" |
11691 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` | 11735 ac_safe=`echo "canna/jrkanji.h" | sed 'y%./+-%__p_%'` |
11692 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 | 11736 echo $ac_n "checking for canna/jrkanji.h""... $ac_c" 1>&6 |
11693 echo "configure:11694: checking for canna/jrkanji.h" >&5 | 11737 echo "configure:11738: checking for canna/jrkanji.h" >&5 |
11694 | 11738 |
11695 cat > conftest.$ac_ext <<EOF | 11739 cat > conftest.$ac_ext <<EOF |
11696 #line 11697 "configure" | 11740 #line 11741 "configure" |
11697 #include "confdefs.h" | 11741 #include "confdefs.h" |
11698 #include <canna/jrkanji.h> | 11742 #include <canna/jrkanji.h> |
11699 EOF | 11743 EOF |
11700 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11744 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11701 { (eval echo configure:11702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11745 { (eval echo configure:11746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11702 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11746 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11703 if test -z "$ac_err"; then | 11747 if test -z "$ac_err"; then |
11704 rm -rf conftest* | 11748 rm -rf conftest* |
11705 eval "ac_cv_header_$ac_safe=yes" | 11749 eval "ac_cv_header_$ac_safe=yes" |
11706 else | 11750 else |
11724 fi | 11768 fi |
11725 fi | 11769 fi |
11726 | 11770 |
11727 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` | 11771 test -z "$with_canna" && { ac_safe=`echo "canna/RK.h" | sed 'y%./+-%__p_%'` |
11728 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 | 11772 echo $ac_n "checking for canna/RK.h""... $ac_c" 1>&6 |
11729 echo "configure:11730: checking for canna/RK.h" >&5 | 11773 echo "configure:11774: checking for canna/RK.h" >&5 |
11730 | 11774 |
11731 cat > conftest.$ac_ext <<EOF | 11775 cat > conftest.$ac_ext <<EOF |
11732 #line 11733 "configure" | 11776 #line 11777 "configure" |
11733 #include "confdefs.h" | 11777 #include "confdefs.h" |
11734 #include <canna/RK.h> | 11778 #include <canna/RK.h> |
11735 EOF | 11779 EOF |
11736 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 11780 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
11737 { (eval echo configure:11738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 11781 { (eval echo configure:11782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
11738 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 11782 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
11739 if test -z "$ac_err"; then | 11783 if test -z "$ac_err"; then |
11740 rm -rf conftest* | 11784 rm -rf conftest* |
11741 eval "ac_cv_header_$ac_safe=yes" | 11785 eval "ac_cv_header_$ac_safe=yes" |
11742 else | 11786 else |
11755 with_canna=no | 11799 with_canna=no |
11756 fi | 11800 fi |
11757 } | 11801 } |
11758 test -z "$with_canna" && { | 11802 test -z "$with_canna" && { |
11759 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 | 11803 echo $ac_n "checking for RkBgnBun in -lRKC""... $ac_c" 1>&6 |
11760 echo "configure:11761: checking for RkBgnBun in -lRKC" >&5 | 11804 echo "configure:11805: checking for RkBgnBun in -lRKC" >&5 |
11761 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` | 11805 ac_lib_var=`echo RKC'_'RkBgnBun | sed 'y%./+-%__p_%'` |
11762 | 11806 |
11763 xe_check_libs=" -lRKC " | 11807 xe_check_libs=" -lRKC " |
11764 cat > conftest.$ac_ext <<EOF | 11808 cat > conftest.$ac_ext <<EOF |
11765 #line 11766 "configure" | 11809 #line 11810 "configure" |
11766 #include "confdefs.h" | 11810 #include "confdefs.h" |
11767 /* Override any gcc2 internal prototype to avoid an error. */ | 11811 /* Override any gcc2 internal prototype to avoid an error. */ |
11768 /* We use char because int might match the return type of a gcc2 | 11812 /* We use char because int might match the return type of a gcc2 |
11769 builtin and then its argument prototype would still apply. */ | 11813 builtin and then its argument prototype would still apply. */ |
11770 char RkBgnBun(); | 11814 char RkBgnBun(); |
11771 | 11815 |
11772 int main() { | 11816 int main() { |
11773 RkBgnBun() | 11817 RkBgnBun() |
11774 ; return 0; } | 11818 ; return 0; } |
11775 EOF | 11819 EOF |
11776 if { (eval echo configure:11777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11820 if { (eval echo configure:11821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11777 rm -rf conftest* | 11821 rm -rf conftest* |
11778 eval "ac_cv_lib_$ac_lib_var=yes" | 11822 eval "ac_cv_lib_$ac_lib_var=yes" |
11779 else | 11823 else |
11780 echo "configure: failed program was:" >&5 | 11824 echo "configure: failed program was:" >&5 |
11781 cat conftest.$ac_ext >&5 | 11825 cat conftest.$ac_ext >&5 |
11794 fi | 11838 fi |
11795 | 11839 |
11796 } | 11840 } |
11797 test -z "$with_canna" && { | 11841 test -z "$with_canna" && { |
11798 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 | 11842 echo $ac_n "checking for jrKanjiControl in -lcanna""... $ac_c" 1>&6 |
11799 echo "configure:11800: checking for jrKanjiControl in -lcanna" >&5 | 11843 echo "configure:11844: checking for jrKanjiControl in -lcanna" >&5 |
11800 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` | 11844 ac_lib_var=`echo canna'_'jrKanjiControl | sed 'y%./+-%__p_%'` |
11801 | 11845 |
11802 xe_check_libs=" -lcanna " | 11846 xe_check_libs=" -lcanna " |
11803 cat > conftest.$ac_ext <<EOF | 11847 cat > conftest.$ac_ext <<EOF |
11804 #line 11805 "configure" | 11848 #line 11849 "configure" |
11805 #include "confdefs.h" | 11849 #include "confdefs.h" |
11806 /* Override any gcc2 internal prototype to avoid an error. */ | 11850 /* Override any gcc2 internal prototype to avoid an error. */ |
11807 /* We use char because int might match the return type of a gcc2 | 11851 /* We use char because int might match the return type of a gcc2 |
11808 builtin and then its argument prototype would still apply. */ | 11852 builtin and then its argument prototype would still apply. */ |
11809 char jrKanjiControl(); | 11853 char jrKanjiControl(); |
11810 | 11854 |
11811 int main() { | 11855 int main() { |
11812 jrKanjiControl() | 11856 jrKanjiControl() |
11813 ; return 0; } | 11857 ; return 0; } |
11814 EOF | 11858 EOF |
11815 if { (eval echo configure:11816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11859 if { (eval echo configure:11860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11816 rm -rf conftest* | 11860 rm -rf conftest* |
11817 eval "ac_cv_lib_$ac_lib_var=yes" | 11861 eval "ac_cv_lib_$ac_lib_var=yes" |
11818 else | 11862 else |
11819 echo "configure: failed program was:" >&5 | 11863 echo "configure: failed program was:" >&5 |
11820 cat conftest.$ac_ext >&5 | 11864 cat conftest.$ac_ext >&5 |
11856 | 11900 |
11857 if test "$need_motif" = "yes" ; then | 11901 if test "$need_motif" = "yes" ; then |
11858 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi | 11902 libs_x="-lXm $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi |
11859 | 11903 |
11860 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 | 11904 echo $ac_n "checking for layout_object_getvalue in -li18n""... $ac_c" 1>&6 |
11861 echo "configure:11862: checking for layout_object_getvalue in -li18n" >&5 | 11905 echo "configure:11906: checking for layout_object_getvalue in -li18n" >&5 |
11862 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` | 11906 ac_lib_var=`echo i18n'_'layout_object_getvalue | sed 'y%./+-%__p_%'` |
11863 | 11907 |
11864 xe_check_libs=" -li18n " | 11908 xe_check_libs=" -li18n " |
11865 cat > conftest.$ac_ext <<EOF | 11909 cat > conftest.$ac_ext <<EOF |
11866 #line 11867 "configure" | 11910 #line 11911 "configure" |
11867 #include "confdefs.h" | 11911 #include "confdefs.h" |
11868 /* Override any gcc2 internal prototype to avoid an error. */ | 11912 /* Override any gcc2 internal prototype to avoid an error. */ |
11869 /* We use char because int might match the return type of a gcc2 | 11913 /* We use char because int might match the return type of a gcc2 |
11870 builtin and then its argument prototype would still apply. */ | 11914 builtin and then its argument prototype would still apply. */ |
11871 char layout_object_getvalue(); | 11915 char layout_object_getvalue(); |
11872 | 11916 |
11873 int main() { | 11917 int main() { |
11874 layout_object_getvalue() | 11918 layout_object_getvalue() |
11875 ; return 0; } | 11919 ; return 0; } |
11876 EOF | 11920 EOF |
11877 if { (eval echo configure:11878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 11921 if { (eval echo configure:11922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11878 rm -rf conftest* | 11922 rm -rf conftest* |
11879 eval "ac_cv_lib_$ac_lib_var=yes" | 11923 eval "ac_cv_lib_$ac_lib_var=yes" |
11880 else | 11924 else |
11881 echo "configure: failed program was:" >&5 | 11925 echo "configure: failed program was:" >&5 |
11882 cat conftest.$ac_ext >&5 | 11926 cat conftest.$ac_ext >&5 |
11959 | 12003 |
11960 | 12004 |
11961 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp | 12005 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror strlwr strupr symlink tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask wcslen wcscmp |
11962 do | 12006 do |
11963 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
11964 echo "configure:11965: checking for $ac_func" >&5 | 12008 echo "configure:12009: checking for $ac_func" >&5 |
11965 | 12009 |
11966 cat > conftest.$ac_ext <<EOF | 12010 cat > conftest.$ac_ext <<EOF |
11967 #line 11968 "configure" | 12011 #line 12012 "configure" |
11968 #include "confdefs.h" | 12012 #include "confdefs.h" |
11969 /* System header to define __stub macros and hopefully few prototypes, | 12013 /* System header to define __stub macros and hopefully few prototypes, |
11970 which can conflict with char $ac_func(); below. */ | 12014 which can conflict with char $ac_func(); below. */ |
11971 #include <assert.h> | 12015 #include <assert.h> |
11972 /* Override any gcc2 internal prototype to avoid an error. */ | 12016 /* Override any gcc2 internal prototype to avoid an error. */ |
11985 $ac_func(); | 12029 $ac_func(); |
11986 #endif | 12030 #endif |
11987 | 12031 |
11988 ; return 0; } | 12032 ; return 0; } |
11989 EOF | 12033 EOF |
11990 if { (eval echo configure:11991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12034 if { (eval echo configure:12035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
11991 rm -rf conftest* | 12035 rm -rf conftest* |
11992 eval "ac_cv_func_$ac_func=yes" | 12036 eval "ac_cv_func_$ac_func=yes" |
11993 else | 12037 else |
11994 echo "configure: failed program was:" >&5 | 12038 echo "configure: failed program was:" >&5 |
11995 cat conftest.$ac_ext >&5 | 12039 cat conftest.$ac_ext >&5 |
12026 | 12070 |
12027 | 12071 |
12028 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp | 12072 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp |
12029 do | 12073 do |
12030 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12031 echo "configure:12032: checking for $ac_func" >&5 | 12075 echo "configure:12076: checking for $ac_func" >&5 |
12032 | 12076 |
12033 cat > conftest.$ac_ext <<EOF | 12077 cat > conftest.$ac_ext <<EOF |
12034 #line 12035 "configure" | 12078 #line 12079 "configure" |
12035 #include "confdefs.h" | 12079 #include "confdefs.h" |
12036 /* System header to define __stub macros and hopefully few prototypes, | 12080 /* System header to define __stub macros and hopefully few prototypes, |
12037 which can conflict with char $ac_func(); below. */ | 12081 which can conflict with char $ac_func(); below. */ |
12038 #include <assert.h> | 12082 #include <assert.h> |
12039 /* Override any gcc2 internal prototype to avoid an error. */ | 12083 /* Override any gcc2 internal prototype to avoid an error. */ |
12052 $ac_func(); | 12096 $ac_func(); |
12053 #endif | 12097 #endif |
12054 | 12098 |
12055 ; return 0; } | 12099 ; return 0; } |
12056 EOF | 12100 EOF |
12057 if { (eval echo configure:12058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12101 if { (eval echo configure:12102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12058 rm -rf conftest* | 12102 rm -rf conftest* |
12059 eval "ac_cv_func_$ac_func=yes" | 12103 eval "ac_cv_func_$ac_func=yes" |
12060 else | 12104 else |
12061 echo "configure: failed program was:" >&5 | 12105 echo "configure: failed program was:" >&5 |
12062 cat conftest.$ac_ext >&5 | 12106 cat conftest.$ac_ext >&5 |
12081 fi | 12125 fi |
12082 done | 12126 done |
12083 | 12127 |
12084 | 12128 |
12085 echo $ac_n "checking for openpty""... $ac_c" 1>&6 | 12129 echo $ac_n "checking for openpty""... $ac_c" 1>&6 |
12086 echo "configure:12087: checking for openpty" >&5 | 12130 echo "configure:12131: checking for openpty" >&5 |
12087 | 12131 |
12088 cat > conftest.$ac_ext <<EOF | 12132 cat > conftest.$ac_ext <<EOF |
12089 #line 12090 "configure" | 12133 #line 12134 "configure" |
12090 #include "confdefs.h" | 12134 #include "confdefs.h" |
12091 /* System header to define __stub macros and hopefully few prototypes, | 12135 /* System header to define __stub macros and hopefully few prototypes, |
12092 which can conflict with char openpty(); below. */ | 12136 which can conflict with char openpty(); below. */ |
12093 #include <assert.h> | 12137 #include <assert.h> |
12094 /* Override any gcc2 internal prototype to avoid an error. */ | 12138 /* Override any gcc2 internal prototype to avoid an error. */ |
12107 openpty(); | 12151 openpty(); |
12108 #endif | 12152 #endif |
12109 | 12153 |
12110 ; return 0; } | 12154 ; return 0; } |
12111 EOF | 12155 EOF |
12112 if { (eval echo configure:12113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12156 if { (eval echo configure:12157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12113 rm -rf conftest* | 12157 rm -rf conftest* |
12114 eval "ac_cv_func_openpty=yes" | 12158 eval "ac_cv_func_openpty=yes" |
12115 else | 12159 else |
12116 echo "configure: failed program was:" >&5 | 12160 echo "configure: failed program was:" >&5 |
12117 cat conftest.$ac_ext >&5 | 12161 cat conftest.$ac_ext >&5 |
12126 else | 12170 else |
12127 echo "$ac_t""no" 1>&6 | 12171 echo "$ac_t""no" 1>&6 |
12128 | 12172 |
12129 | 12173 |
12130 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 | 12174 echo $ac_n "checking for openpty in -lutil""... $ac_c" 1>&6 |
12131 echo "configure:12132: checking for openpty in -lutil" >&5 | 12175 echo "configure:12176: checking for openpty in -lutil" >&5 |
12132 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` | 12176 ac_lib_var=`echo util'_'openpty | sed 'y%./+-%__p_%'` |
12133 | 12177 |
12134 xe_check_libs=" -lutil " | 12178 xe_check_libs=" -lutil " |
12135 cat > conftest.$ac_ext <<EOF | 12179 cat > conftest.$ac_ext <<EOF |
12136 #line 12137 "configure" | 12180 #line 12181 "configure" |
12137 #include "confdefs.h" | 12181 #include "confdefs.h" |
12138 /* Override any gcc2 internal prototype to avoid an error. */ | 12182 /* Override any gcc2 internal prototype to avoid an error. */ |
12139 /* We use char because int might match the return type of a gcc2 | 12183 /* We use char because int might match the return type of a gcc2 |
12140 builtin and then its argument prototype would still apply. */ | 12184 builtin and then its argument prototype would still apply. */ |
12141 char openpty(); | 12185 char openpty(); |
12142 | 12186 |
12143 int main() { | 12187 int main() { |
12144 openpty() | 12188 openpty() |
12145 ; return 0; } | 12189 ; return 0; } |
12146 EOF | 12190 EOF |
12147 if { (eval echo configure:12148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12191 if { (eval echo configure:12192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12148 rm -rf conftest* | 12192 rm -rf conftest* |
12149 eval "ac_cv_lib_$ac_lib_var=yes" | 12193 eval "ac_cv_lib_$ac_lib_var=yes" |
12150 else | 12194 else |
12151 echo "configure: failed program was:" >&5 | 12195 echo "configure: failed program was:" >&5 |
12152 cat conftest.$ac_ext >&5 | 12196 cat conftest.$ac_ext >&5 |
12177 | 12221 |
12178 for ac_hdr in libutil.h util.h | 12222 for ac_hdr in libutil.h util.h |
12179 do | 12223 do |
12180 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12224 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12181 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12225 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12182 echo "configure:12183: checking for $ac_hdr" >&5 | 12226 echo "configure:12227: checking for $ac_hdr" >&5 |
12183 | 12227 |
12184 cat > conftest.$ac_ext <<EOF | 12228 cat > conftest.$ac_ext <<EOF |
12185 #line 12186 "configure" | 12229 #line 12230 "configure" |
12186 #include "confdefs.h" | 12230 #include "confdefs.h" |
12187 #include <$ac_hdr> | 12231 #include <$ac_hdr> |
12188 EOF | 12232 EOF |
12189 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12190 { (eval echo configure:12191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12234 { (eval echo configure:12235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12191 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12192 if test -z "$ac_err"; then | 12236 if test -z "$ac_err"; then |
12193 rm -rf conftest* | 12237 rm -rf conftest* |
12194 eval "ac_cv_header_$ac_safe=yes" | 12238 eval "ac_cv_header_$ac_safe=yes" |
12195 else | 12239 else |
12222 case "$opsys" in | 12266 case "$opsys" in |
12223 hpux*) for ac_hdr in sys/ptyio.h | 12267 hpux*) for ac_hdr in sys/ptyio.h |
12224 do | 12268 do |
12225 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12269 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12226 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12270 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12227 echo "configure:12228: checking for $ac_hdr" >&5 | 12271 echo "configure:12272: checking for $ac_hdr" >&5 |
12228 | 12272 |
12229 cat > conftest.$ac_ext <<EOF | 12273 cat > conftest.$ac_ext <<EOF |
12230 #line 12231 "configure" | 12274 #line 12275 "configure" |
12231 #include "confdefs.h" | 12275 #include "confdefs.h" |
12232 #include <$ac_hdr> | 12276 #include <$ac_hdr> |
12233 EOF | 12277 EOF |
12234 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12278 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12235 { (eval echo configure:12236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12279 { (eval echo configure:12280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12236 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12280 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12237 if test -z "$ac_err"; then | 12281 if test -z "$ac_err"; then |
12238 rm -rf conftest* | 12282 rm -rf conftest* |
12239 eval "ac_cv_header_$ac_safe=yes" | 12283 eval "ac_cv_header_$ac_safe=yes" |
12240 else | 12284 else |
12263 ;; | 12307 ;; |
12264 *) for ac_hdr in pty.h | 12308 *) for ac_hdr in pty.h |
12265 do | 12309 do |
12266 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12310 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12267 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12311 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12268 echo "configure:12269: checking for $ac_hdr" >&5 | 12312 echo "configure:12313: checking for $ac_hdr" >&5 |
12269 | 12313 |
12270 cat > conftest.$ac_ext <<EOF | 12314 cat > conftest.$ac_ext <<EOF |
12271 #line 12272 "configure" | 12315 #line 12316 "configure" |
12272 #include "confdefs.h" | 12316 #include "confdefs.h" |
12273 #include <$ac_hdr> | 12317 #include <$ac_hdr> |
12274 EOF | 12318 EOF |
12275 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12319 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12276 { (eval echo configure:12277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12320 { (eval echo configure:12321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12277 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12321 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12278 if test -z "$ac_err"; then | 12322 if test -z "$ac_err"; then |
12279 rm -rf conftest* | 12323 rm -rf conftest* |
12280 eval "ac_cv_header_$ac_safe=yes" | 12324 eval "ac_cv_header_$ac_safe=yes" |
12281 else | 12325 else |
12304 | 12348 |
12305 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h | 12349 test "$ac_cv_header_pty_h" = "no" && for ac_hdr in sys/pty.h |
12306 do | 12350 do |
12307 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12351 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12308 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12352 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12309 echo "configure:12310: checking for $ac_hdr" >&5 | 12353 echo "configure:12354: checking for $ac_hdr" >&5 |
12310 | 12354 |
12311 cat > conftest.$ac_ext <<EOF | 12355 cat > conftest.$ac_ext <<EOF |
12312 #line 12313 "configure" | 12356 #line 12357 "configure" |
12313 #include "confdefs.h" | 12357 #include "confdefs.h" |
12314 #include <$ac_hdr> | 12358 #include <$ac_hdr> |
12315 EOF | 12359 EOF |
12316 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12317 { (eval echo configure:12318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12361 { (eval echo configure:12362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12318 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12319 if test -z "$ac_err"; then | 12363 if test -z "$ac_err"; then |
12320 rm -rf conftest* | 12364 rm -rf conftest* |
12321 eval "ac_cv_header_$ac_safe=yes" | 12365 eval "ac_cv_header_$ac_safe=yes" |
12322 else | 12366 else |
12348 | 12392 |
12349 for ac_hdr in stropts.h | 12393 for ac_hdr in stropts.h |
12350 do | 12394 do |
12351 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12395 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12352 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12396 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12353 echo "configure:12354: checking for $ac_hdr" >&5 | 12397 echo "configure:12398: checking for $ac_hdr" >&5 |
12354 | 12398 |
12355 cat > conftest.$ac_ext <<EOF | 12399 cat > conftest.$ac_ext <<EOF |
12356 #line 12357 "configure" | 12400 #line 12401 "configure" |
12357 #include "confdefs.h" | 12401 #include "confdefs.h" |
12358 #include <$ac_hdr> | 12402 #include <$ac_hdr> |
12359 EOF | 12403 EOF |
12360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12404 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12361 { (eval echo configure:12362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12405 { (eval echo configure:12406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12406 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12363 if test -z "$ac_err"; then | 12407 if test -z "$ac_err"; then |
12364 rm -rf conftest* | 12408 rm -rf conftest* |
12365 eval "ac_cv_header_$ac_safe=yes" | 12409 eval "ac_cv_header_$ac_safe=yes" |
12366 else | 12410 else |
12389 | 12433 |
12390 if test "$ac_cv_header_stropts_h" = "yes"; then | 12434 if test "$ac_cv_header_stropts_h" = "yes"; then |
12391 for ac_func in isastream | 12435 for ac_func in isastream |
12392 do | 12436 do |
12393 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12394 echo "configure:12395: checking for $ac_func" >&5 | 12438 echo "configure:12439: checking for $ac_func" >&5 |
12395 | 12439 |
12396 cat > conftest.$ac_ext <<EOF | 12440 cat > conftest.$ac_ext <<EOF |
12397 #line 12398 "configure" | 12441 #line 12442 "configure" |
12398 #include "confdefs.h" | 12442 #include "confdefs.h" |
12399 /* System header to define __stub macros and hopefully few prototypes, | 12443 /* System header to define __stub macros and hopefully few prototypes, |
12400 which can conflict with char $ac_func(); below. */ | 12444 which can conflict with char $ac_func(); below. */ |
12401 #include <assert.h> | 12445 #include <assert.h> |
12402 /* Override any gcc2 internal prototype to avoid an error. */ | 12446 /* Override any gcc2 internal prototype to avoid an error. */ |
12415 $ac_func(); | 12459 $ac_func(); |
12416 #endif | 12460 #endif |
12417 | 12461 |
12418 ; return 0; } | 12462 ; return 0; } |
12419 EOF | 12463 EOF |
12420 if { (eval echo configure:12421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12464 if { (eval echo configure:12465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12421 rm -rf conftest* | 12465 rm -rf conftest* |
12422 eval "ac_cv_func_$ac_func=yes" | 12466 eval "ac_cv_func_$ac_func=yes" |
12423 else | 12467 else |
12424 echo "configure: failed program was:" >&5 | 12468 echo "configure: failed program was:" >&5 |
12425 cat conftest.$ac_ext >&5 | 12469 cat conftest.$ac_ext >&5 |
12446 | 12490 |
12447 for ac_hdr in strtio.h | 12491 for ac_hdr in strtio.h |
12448 do | 12492 do |
12449 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12493 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12450 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12494 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12451 echo "configure:12452: checking for $ac_hdr" >&5 | 12495 echo "configure:12496: checking for $ac_hdr" >&5 |
12452 | 12496 |
12453 cat > conftest.$ac_ext <<EOF | 12497 cat > conftest.$ac_ext <<EOF |
12454 #line 12455 "configure" | 12498 #line 12499 "configure" |
12455 #include "confdefs.h" | 12499 #include "confdefs.h" |
12456 #include <$ac_hdr> | 12500 #include <$ac_hdr> |
12457 EOF | 12501 EOF |
12458 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12502 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12459 { (eval echo configure:12460: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12503 { (eval echo configure:12504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12460 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12504 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12461 if test -z "$ac_err"; then | 12505 if test -z "$ac_err"; then |
12462 rm -rf conftest* | 12506 rm -rf conftest* |
12463 eval "ac_cv_header_$ac_safe=yes" | 12507 eval "ac_cv_header_$ac_safe=yes" |
12464 else | 12508 else |
12487 fi | 12531 fi |
12488 | 12532 |
12489 for ac_func in getloadavg | 12533 for ac_func in getloadavg |
12490 do | 12534 do |
12491 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 12535 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
12492 echo "configure:12493: checking for $ac_func" >&5 | 12536 echo "configure:12537: checking for $ac_func" >&5 |
12493 | 12537 |
12494 cat > conftest.$ac_ext <<EOF | 12538 cat > conftest.$ac_ext <<EOF |
12495 #line 12496 "configure" | 12539 #line 12540 "configure" |
12496 #include "confdefs.h" | 12540 #include "confdefs.h" |
12497 /* System header to define __stub macros and hopefully few prototypes, | 12541 /* System header to define __stub macros and hopefully few prototypes, |
12498 which can conflict with char $ac_func(); below. */ | 12542 which can conflict with char $ac_func(); below. */ |
12499 #include <assert.h> | 12543 #include <assert.h> |
12500 /* Override any gcc2 internal prototype to avoid an error. */ | 12544 /* Override any gcc2 internal prototype to avoid an error. */ |
12513 $ac_func(); | 12557 $ac_func(); |
12514 #endif | 12558 #endif |
12515 | 12559 |
12516 ; return 0; } | 12560 ; return 0; } |
12517 EOF | 12561 EOF |
12518 if { (eval echo configure:12519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12562 if { (eval echo configure:12563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12519 rm -rf conftest* | 12563 rm -rf conftest* |
12520 eval "ac_cv_func_$ac_func=yes" | 12564 eval "ac_cv_func_$ac_func=yes" |
12521 else | 12565 else |
12522 echo "configure: failed program was:" >&5 | 12566 echo "configure: failed program was:" >&5 |
12523 cat conftest.$ac_ext >&5 | 12567 cat conftest.$ac_ext >&5 |
12546 if test "$ac_cv_func_getloadavg" = "yes"; then | 12590 if test "$ac_cv_func_getloadavg" = "yes"; then |
12547 for ac_hdr in sys/loadavg.h | 12591 for ac_hdr in sys/loadavg.h |
12548 do | 12592 do |
12549 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12593 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12550 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12551 echo "configure:12552: checking for $ac_hdr" >&5 | 12595 echo "configure:12596: checking for $ac_hdr" >&5 |
12552 | 12596 |
12553 cat > conftest.$ac_ext <<EOF | 12597 cat > conftest.$ac_ext <<EOF |
12554 #line 12555 "configure" | 12598 #line 12599 "configure" |
12555 #include "confdefs.h" | 12599 #include "confdefs.h" |
12556 #include <$ac_hdr> | 12600 #include <$ac_hdr> |
12557 EOF | 12601 EOF |
12558 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12602 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12559 { (eval echo configure:12560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12603 { (eval echo configure:12604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12604 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12561 if test -z "$ac_err"; then | 12605 if test -z "$ac_err"; then |
12562 rm -rf conftest* | 12606 rm -rf conftest* |
12563 eval "ac_cv_header_$ac_safe=yes" | 12607 eval "ac_cv_header_$ac_safe=yes" |
12564 else | 12608 else |
12590 echo " xemacs will be linked with \"getloadavg.o\"" | 12634 echo " xemacs will be linked with \"getloadavg.o\"" |
12591 fi | 12635 fi |
12592 | 12636 |
12593 | 12637 |
12594 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 | 12638 echo $ac_n "checking for kstat_open in -lkstat""... $ac_c" 1>&6 |
12595 echo "configure:12596: checking for kstat_open in -lkstat" >&5 | 12639 echo "configure:12640: checking for kstat_open in -lkstat" >&5 |
12596 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` | 12640 ac_lib_var=`echo kstat'_'kstat_open | sed 'y%./+-%__p_%'` |
12597 | 12641 |
12598 xe_check_libs=" -lkstat " | 12642 xe_check_libs=" -lkstat " |
12599 cat > conftest.$ac_ext <<EOF | 12643 cat > conftest.$ac_ext <<EOF |
12600 #line 12601 "configure" | 12644 #line 12645 "configure" |
12601 #include "confdefs.h" | 12645 #include "confdefs.h" |
12602 /* Override any gcc2 internal prototype to avoid an error. */ | 12646 /* Override any gcc2 internal prototype to avoid an error. */ |
12603 /* We use char because int might match the return type of a gcc2 | 12647 /* We use char because int might match the return type of a gcc2 |
12604 builtin and then its argument prototype would still apply. */ | 12648 builtin and then its argument prototype would still apply. */ |
12605 char kstat_open(); | 12649 char kstat_open(); |
12606 | 12650 |
12607 int main() { | 12651 int main() { |
12608 kstat_open() | 12652 kstat_open() |
12609 ; return 0; } | 12653 ; return 0; } |
12610 EOF | 12654 EOF |
12611 if { (eval echo configure:12612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12655 if { (eval echo configure:12656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12612 rm -rf conftest* | 12656 rm -rf conftest* |
12613 eval "ac_cv_lib_$ac_lib_var=yes" | 12657 eval "ac_cv_lib_$ac_lib_var=yes" |
12614 else | 12658 else |
12615 echo "configure: failed program was:" >&5 | 12659 echo "configure: failed program was:" >&5 |
12616 cat conftest.$ac_ext >&5 | 12660 cat conftest.$ac_ext >&5 |
12641 | 12685 |
12642 for ac_hdr in kstat.h | 12686 for ac_hdr in kstat.h |
12643 do | 12687 do |
12644 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 12688 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
12645 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 12689 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
12646 echo "configure:12647: checking for $ac_hdr" >&5 | 12690 echo "configure:12691: checking for $ac_hdr" >&5 |
12647 | 12691 |
12648 cat > conftest.$ac_ext <<EOF | 12692 cat > conftest.$ac_ext <<EOF |
12649 #line 12650 "configure" | 12693 #line 12694 "configure" |
12650 #include "confdefs.h" | 12694 #include "confdefs.h" |
12651 #include <$ac_hdr> | 12695 #include <$ac_hdr> |
12652 EOF | 12696 EOF |
12653 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 12697 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
12654 { (eval echo configure:12655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 12698 { (eval echo configure:12699: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
12655 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 12699 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
12656 if test -z "$ac_err"; then | 12700 if test -z "$ac_err"; then |
12657 rm -rf conftest* | 12701 rm -rf conftest* |
12658 eval "ac_cv_header_$ac_safe=yes" | 12702 eval "ac_cv_header_$ac_safe=yes" |
12659 else | 12703 else |
12681 done | 12725 done |
12682 | 12726 |
12683 | 12727 |
12684 | 12728 |
12685 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 | 12729 echo $ac_n "checking for kvm_read in -lkvm""... $ac_c" 1>&6 |
12686 echo "configure:12687: checking for kvm_read in -lkvm" >&5 | 12730 echo "configure:12731: checking for kvm_read in -lkvm" >&5 |
12687 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` | 12731 ac_lib_var=`echo kvm'_'kvm_read | sed 'y%./+-%__p_%'` |
12688 | 12732 |
12689 xe_check_libs=" -lkvm " | 12733 xe_check_libs=" -lkvm " |
12690 cat > conftest.$ac_ext <<EOF | 12734 cat > conftest.$ac_ext <<EOF |
12691 #line 12692 "configure" | 12735 #line 12736 "configure" |
12692 #include "confdefs.h" | 12736 #include "confdefs.h" |
12693 /* Override any gcc2 internal prototype to avoid an error. */ | 12737 /* Override any gcc2 internal prototype to avoid an error. */ |
12694 /* We use char because int might match the return type of a gcc2 | 12738 /* We use char because int might match the return type of a gcc2 |
12695 builtin and then its argument prototype would still apply. */ | 12739 builtin and then its argument prototype would still apply. */ |
12696 char kvm_read(); | 12740 char kvm_read(); |
12697 | 12741 |
12698 int main() { | 12742 int main() { |
12699 kvm_read() | 12743 kvm_read() |
12700 ; return 0; } | 12744 ; return 0; } |
12701 EOF | 12745 EOF |
12702 if { (eval echo configure:12703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12746 if { (eval echo configure:12747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12703 rm -rf conftest* | 12747 rm -rf conftest* |
12704 eval "ac_cv_lib_$ac_lib_var=yes" | 12748 eval "ac_cv_lib_$ac_lib_var=yes" |
12705 else | 12749 else |
12706 echo "configure: failed program was:" >&5 | 12750 echo "configure: failed program was:" >&5 |
12707 cat conftest.$ac_ext >&5 | 12751 cat conftest.$ac_ext >&5 |
12731 | 12775 |
12732 | 12776 |
12733 fi | 12777 fi |
12734 | 12778 |
12735 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 12779 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
12736 echo "configure:12737: checking whether netdb declares h_errno" >&5 | 12780 echo "configure:12781: checking whether netdb declares h_errno" >&5 |
12737 cat > conftest.$ac_ext <<EOF | 12781 cat > conftest.$ac_ext <<EOF |
12738 #line 12739 "configure" | 12782 #line 12783 "configure" |
12739 #include "confdefs.h" | 12783 #include "confdefs.h" |
12740 #include <netdb.h> | 12784 #include <netdb.h> |
12741 int main() { | 12785 int main() { |
12742 return h_errno; | 12786 return h_errno; |
12743 ; return 0; } | 12787 ; return 0; } |
12744 EOF | 12788 EOF |
12745 if { (eval echo configure:12746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12789 if { (eval echo configure:12790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12746 rm -rf conftest* | 12790 rm -rf conftest* |
12747 echo "$ac_t""yes" 1>&6 | 12791 echo "$ac_t""yes" 1>&6 |
12748 { test "$extra_verbose" = "yes" && cat << \EOF | 12792 { test "$extra_verbose" = "yes" && cat << \EOF |
12749 Defining HAVE_H_ERRNO | 12793 Defining HAVE_H_ERRNO |
12750 EOF | 12794 EOF |
12760 echo "$ac_t""no" 1>&6 | 12804 echo "$ac_t""no" 1>&6 |
12761 fi | 12805 fi |
12762 rm -f conftest* | 12806 rm -f conftest* |
12763 | 12807 |
12764 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 | 12808 echo $ac_n "checking for sigsetjmp""... $ac_c" 1>&6 |
12765 echo "configure:12766: checking for sigsetjmp" >&5 | 12809 echo "configure:12810: checking for sigsetjmp" >&5 |
12766 cat > conftest.$ac_ext <<EOF | 12810 cat > conftest.$ac_ext <<EOF |
12767 #line 12768 "configure" | 12811 #line 12812 "configure" |
12768 #include "confdefs.h" | 12812 #include "confdefs.h" |
12769 #include <setjmp.h> | 12813 #include <setjmp.h> |
12770 int main() { | 12814 int main() { |
12771 sigjmp_buf bar; sigsetjmp (bar, 0); | 12815 sigjmp_buf bar; sigsetjmp (bar, 0); |
12772 ; return 0; } | 12816 ; return 0; } |
12773 EOF | 12817 EOF |
12774 if { (eval echo configure:12775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12818 if { (eval echo configure:12819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12775 rm -rf conftest* | 12819 rm -rf conftest* |
12776 echo "$ac_t""yes" 1>&6 | 12820 echo "$ac_t""yes" 1>&6 |
12777 { test "$extra_verbose" = "yes" && cat << \EOF | 12821 { test "$extra_verbose" = "yes" && cat << \EOF |
12778 Defining HAVE_SIGSETJMP | 12822 Defining HAVE_SIGSETJMP |
12779 EOF | 12823 EOF |
12789 echo "$ac_t""no" 1>&6 | 12833 echo "$ac_t""no" 1>&6 |
12790 fi | 12834 fi |
12791 rm -f conftest* | 12835 rm -f conftest* |
12792 | 12836 |
12793 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 12837 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
12794 echo "configure:12795: checking whether localtime caches TZ" >&5 | 12838 echo "configure:12839: checking whether localtime caches TZ" >&5 |
12795 | 12839 |
12796 if test "$ac_cv_func_tzset" = "yes"; then | 12840 if test "$ac_cv_func_tzset" = "yes"; then |
12797 cat > conftest.$ac_ext <<EOF | 12841 cat > conftest.$ac_ext <<EOF |
12798 #line 12799 "configure" | 12842 #line 12843 "configure" |
12799 #include "confdefs.h" | 12843 #include "confdefs.h" |
12800 #include <time.h> | 12844 #include <time.h> |
12801 #if STDC_HEADERS | 12845 #if STDC_HEADERS |
12802 # include <stdlib.h> | 12846 # include <stdlib.h> |
12803 #endif | 12847 #endif |
12828 if (localtime (&now)->tm_hour != hour_unset) | 12872 if (localtime (&now)->tm_hour != hour_unset) |
12829 exit (1); | 12873 exit (1); |
12830 exit (0); | 12874 exit (0); |
12831 } | 12875 } |
12832 EOF | 12876 EOF |
12833 if { (eval echo configure:12834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 12877 if { (eval echo configure:12878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
12834 then | 12878 then |
12835 emacs_cv_localtime_cache=no | 12879 emacs_cv_localtime_cache=no |
12836 else | 12880 else |
12837 conftest_rc="$?" | 12881 conftest_rc="$?" |
12838 echo "configure: failed program was:" >&5 | 12882 echo "configure: failed program was:" >&5 |
12858 | 12902 |
12859 fi | 12903 fi |
12860 | 12904 |
12861 if test "$HAVE_TIMEVAL" = "yes"; then | 12905 if test "$HAVE_TIMEVAL" = "yes"; then |
12862 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 | 12906 echo $ac_n "checking whether gettimeofday accepts one or two arguments""... $ac_c" 1>&6 |
12863 echo "configure:12864: checking whether gettimeofday accepts one or two arguments" >&5 | 12907 echo "configure:12908: checking whether gettimeofday accepts one or two arguments" >&5 |
12864 cat > conftest.$ac_ext <<EOF | 12908 cat > conftest.$ac_ext <<EOF |
12865 #line 12866 "configure" | 12909 #line 12910 "configure" |
12866 #include "confdefs.h" | 12910 #include "confdefs.h" |
12867 | 12911 |
12868 #ifdef TIME_WITH_SYS_TIME | 12912 #ifdef TIME_WITH_SYS_TIME |
12869 #include <sys/time.h> | 12913 #include <sys/time.h> |
12870 #include <time.h> | 12914 #include <time.h> |
12881 struct timeval time; | 12925 struct timeval time; |
12882 gettimeofday (&time, 0); | 12926 gettimeofday (&time, 0); |
12883 | 12927 |
12884 ; return 0; } | 12928 ; return 0; } |
12885 EOF | 12929 EOF |
12886 if { (eval echo configure:12887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 12930 if { (eval echo configure:12931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
12887 rm -rf conftest* | 12931 rm -rf conftest* |
12888 echo "$ac_t""two" 1>&6 | 12932 echo "$ac_t""two" 1>&6 |
12889 else | 12933 else |
12890 echo "configure: failed program was:" >&5 | 12934 echo "configure: failed program was:" >&5 |
12891 cat conftest.$ac_ext >&5 | 12935 cat conftest.$ac_ext >&5 |
12903 rm -f conftest* | 12947 rm -f conftest* |
12904 fi | 12948 fi |
12905 | 12949 |
12906 | 12950 |
12907 echo $ac_n "checking for inline""... $ac_c" 1>&6 | 12951 echo $ac_n "checking for inline""... $ac_c" 1>&6 |
12908 echo "configure:12909: checking for inline" >&5 | 12952 echo "configure:12953: checking for inline" >&5 |
12909 | 12953 |
12910 ac_cv_c_inline=no | 12954 ac_cv_c_inline=no |
12911 for ac_kw in inline __inline__ __inline; do | 12955 for ac_kw in inline __inline__ __inline; do |
12912 cat > conftest.$ac_ext <<EOF | 12956 cat > conftest.$ac_ext <<EOF |
12913 #line 12914 "configure" | 12957 #line 12958 "configure" |
12914 #include "confdefs.h" | 12958 #include "confdefs.h" |
12915 | 12959 |
12916 int main() { | 12960 int main() { |
12917 } $ac_kw foo() { | 12961 } $ac_kw foo() { |
12918 ; return 0; } | 12962 ; return 0; } |
12919 EOF | 12963 EOF |
12920 if { (eval echo configure:12921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 12964 if { (eval echo configure:12965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12921 rm -rf conftest* | 12965 rm -rf conftest* |
12922 ac_cv_c_inline=$ac_kw; break | 12966 ac_cv_c_inline=$ac_kw; break |
12923 else | 12967 else |
12924 echo "configure: failed program was:" >&5 | 12968 echo "configure: failed program was:" >&5 |
12925 cat conftest.$ac_ext >&5 | 12969 cat conftest.$ac_ext >&5 |
12952 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then | 12996 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then |
12953 echo " xemacs will be linked with \"inline.o\"" | 12997 echo " xemacs will be linked with \"inline.o\"" |
12954 fi | 12998 fi |
12955 | 12999 |
12956 echo $ac_n "checking for typeof""... $ac_c" 1>&6 | 13000 echo $ac_n "checking for typeof""... $ac_c" 1>&6 |
12957 echo "configure:12958: checking for typeof" >&5 | 13001 echo "configure:13002: checking for typeof" >&5 |
12958 cat > conftest.$ac_ext <<EOF | 13002 cat > conftest.$ac_ext <<EOF |
12959 #line 12960 "configure" | 13003 #line 13004 "configure" |
12960 #include "confdefs.h" | 13004 #include "confdefs.h" |
12961 | 13005 |
12962 int main() { | 13006 int main() { |
12963 int i; __typeof__(i) j; | 13007 int i; __typeof__(i) j; |
12964 ; return 0; } | 13008 ; return 0; } |
12965 EOF | 13009 EOF |
12966 if { (eval echo configure:12967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13010 if { (eval echo configure:13011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12967 rm -rf conftest* | 13011 rm -rf conftest* |
12968 typeofname="__typeof__" | 13012 typeofname="__typeof__" |
12969 else | 13013 else |
12970 echo "configure: failed program was:" >&5 | 13014 echo "configure: failed program was:" >&5 |
12971 cat conftest.$ac_ext >&5 | 13015 cat conftest.$ac_ext >&5 |
12972 rm -rf conftest* | 13016 rm -rf conftest* |
12973 cat > conftest.$ac_ext <<EOF | 13017 cat > conftest.$ac_ext <<EOF |
12974 #line 12975 "configure" | 13018 #line 13019 "configure" |
12975 #include "confdefs.h" | 13019 #include "confdefs.h" |
12976 | 13020 |
12977 int main() { | 13021 int main() { |
12978 int i; typeof(i) j; | 13022 int i; typeof(i) j; |
12979 ; return 0; } | 13023 ; return 0; } |
12980 EOF | 13024 EOF |
12981 if { (eval echo configure:12982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13025 if { (eval echo configure:13026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
12982 rm -rf conftest* | 13026 rm -rf conftest* |
12983 typeofname="typeof" | 13027 typeofname="typeof" |
12984 else | 13028 else |
12985 echo "configure: failed program was:" >&5 | 13029 echo "configure: failed program was:" >&5 |
12986 cat conftest.$ac_ext >&5 | 13030 cat conftest.$ac_ext >&5 |
13005 | 13049 |
13006 if test "$__DECC" != "yes"; then | 13050 if test "$__DECC" != "yes"; then |
13007 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 13051 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
13008 # for constant arguments. Useless! | 13052 # for constant arguments. Useless! |
13009 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 13053 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
13010 echo "configure:13011: checking for working alloca.h" >&5 | 13054 echo "configure:13055: checking for working alloca.h" >&5 |
13011 | 13055 |
13012 cat > conftest.$ac_ext <<EOF | 13056 cat > conftest.$ac_ext <<EOF |
13013 #line 13014 "configure" | 13057 #line 13058 "configure" |
13014 #include "confdefs.h" | 13058 #include "confdefs.h" |
13015 #include <alloca.h> | 13059 #include <alloca.h> |
13016 int main() { | 13060 int main() { |
13017 char *p = alloca(2 * sizeof(int)); | 13061 char *p = alloca(2 * sizeof(int)); |
13018 ; return 0; } | 13062 ; return 0; } |
13019 EOF | 13063 EOF |
13020 if { (eval echo configure:13021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13064 if { (eval echo configure:13065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13021 rm -rf conftest* | 13065 rm -rf conftest* |
13022 ac_cv_header_alloca_h=yes | 13066 ac_cv_header_alloca_h=yes |
13023 else | 13067 else |
13024 echo "configure: failed program was:" >&5 | 13068 echo "configure: failed program was:" >&5 |
13025 cat conftest.$ac_ext >&5 | 13069 cat conftest.$ac_ext >&5 |
13039 } | 13083 } |
13040 | 13084 |
13041 fi | 13085 fi |
13042 | 13086 |
13043 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 13087 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
13044 echo "configure:13045: checking for alloca" >&5 | 13088 echo "configure:13089: checking for alloca" >&5 |
13045 | 13089 |
13046 cat > conftest.$ac_ext <<EOF | 13090 cat > conftest.$ac_ext <<EOF |
13047 #line 13048 "configure" | 13091 #line 13092 "configure" |
13048 #include "confdefs.h" | 13092 #include "confdefs.h" |
13049 | 13093 |
13050 #ifdef __GNUC__ | 13094 #ifdef __GNUC__ |
13051 # define alloca __builtin_alloca | 13095 # define alloca __builtin_alloca |
13052 #else | 13096 #else |
13070 | 13114 |
13071 int main() { | 13115 int main() { |
13072 char *p = (char *) alloca(1); | 13116 char *p = (char *) alloca(1); |
13073 ; return 0; } | 13117 ; return 0; } |
13074 EOF | 13118 EOF |
13075 if { (eval echo configure:13076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13119 if { (eval echo configure:13120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13076 rm -rf conftest* | 13120 rm -rf conftest* |
13077 ac_cv_func_alloca_works=yes | 13121 ac_cv_func_alloca_works=yes |
13078 else | 13122 else |
13079 echo "configure: failed program was:" >&5 | 13123 echo "configure: failed program was:" >&5 |
13080 cat conftest.$ac_ext >&5 | 13124 cat conftest.$ac_ext >&5 |
13109 EOF | 13153 EOF |
13110 } | 13154 } |
13111 | 13155 |
13112 | 13156 |
13113 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 13157 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
13114 echo "configure:13115: checking whether alloca needs Cray hooks" >&5 | 13158 echo "configure:13159: checking whether alloca needs Cray hooks" >&5 |
13115 | 13159 |
13116 cat > conftest.$ac_ext <<EOF | 13160 cat > conftest.$ac_ext <<EOF |
13117 #line 13118 "configure" | 13161 #line 13162 "configure" |
13118 #include "confdefs.h" | 13162 #include "confdefs.h" |
13119 #if defined(CRAY) && ! defined(CRAY2) | 13163 #if defined(CRAY) && ! defined(CRAY2) |
13120 webecray | 13164 webecray |
13121 #else | 13165 #else |
13122 wenotbecray | 13166 wenotbecray |
13136 | 13180 |
13137 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 13181 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
13138 if test $ac_cv_os_cray = yes; then | 13182 if test $ac_cv_os_cray = yes; then |
13139 for ac_func in _getb67 GETB67 getb67; do | 13183 for ac_func in _getb67 GETB67 getb67; do |
13140 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13184 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13141 echo "configure:13142: checking for $ac_func" >&5 | 13185 echo "configure:13186: checking for $ac_func" >&5 |
13142 | 13186 |
13143 cat > conftest.$ac_ext <<EOF | 13187 cat > conftest.$ac_ext <<EOF |
13144 #line 13145 "configure" | 13188 #line 13189 "configure" |
13145 #include "confdefs.h" | 13189 #include "confdefs.h" |
13146 /* System header to define __stub macros and hopefully few prototypes, | 13190 /* System header to define __stub macros and hopefully few prototypes, |
13147 which can conflict with char $ac_func(); below. */ | 13191 which can conflict with char $ac_func(); below. */ |
13148 #include <assert.h> | 13192 #include <assert.h> |
13149 /* Override any gcc2 internal prototype to avoid an error. */ | 13193 /* Override any gcc2 internal prototype to avoid an error. */ |
13162 $ac_func(); | 13206 $ac_func(); |
13163 #endif | 13207 #endif |
13164 | 13208 |
13165 ; return 0; } | 13209 ; return 0; } |
13166 EOF | 13210 EOF |
13167 if { (eval echo configure:13168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13211 if { (eval echo configure:13212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13168 rm -rf conftest* | 13212 rm -rf conftest* |
13169 eval "ac_cv_func_$ac_func=yes" | 13213 eval "ac_cv_func_$ac_func=yes" |
13170 else | 13214 else |
13171 echo "configure: failed program was:" >&5 | 13215 echo "configure: failed program was:" >&5 |
13172 cat conftest.$ac_ext >&5 | 13216 cat conftest.$ac_ext >&5 |
13192 | 13236 |
13193 done | 13237 done |
13194 fi | 13238 fi |
13195 | 13239 |
13196 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 13240 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
13197 echo "configure:13198: checking stack direction for C alloca" >&5 | 13241 echo "configure:13242: checking stack direction for C alloca" >&5 |
13198 | 13242 |
13199 cat > conftest.$ac_ext <<EOF | 13243 cat > conftest.$ac_ext <<EOF |
13200 #line 13201 "configure" | 13244 #line 13245 "configure" |
13201 #include "confdefs.h" | 13245 #include "confdefs.h" |
13202 find_stack_direction () | 13246 find_stack_direction () |
13203 { | 13247 { |
13204 static char *addr = 0; | 13248 static char *addr = 0; |
13205 auto char dummy; | 13249 auto char dummy; |
13214 main () | 13258 main () |
13215 { | 13259 { |
13216 exit (find_stack_direction() < 0); | 13260 exit (find_stack_direction() < 0); |
13217 } | 13261 } |
13218 EOF | 13262 EOF |
13219 if { (eval echo configure:13220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13263 if { (eval echo configure:13264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13220 then | 13264 then |
13221 ac_cv_c_stack_direction=1 | 13265 ac_cv_c_stack_direction=1 |
13222 else | 13266 else |
13223 conftest_rc="$?" | 13267 conftest_rc="$?" |
13224 echo "configure: failed program was:" >&5 | 13268 echo "configure: failed program was:" >&5 |
13243 echo " xemacs will be linked with \"$ALLOCA\"" | 13287 echo " xemacs will be linked with \"$ALLOCA\"" |
13244 fi | 13288 fi |
13245 fi | 13289 fi |
13246 | 13290 |
13247 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 | 13291 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 |
13248 echo "configure:13249: checking for working alloca in function calls" >&5 | 13292 echo "configure:13293: checking for working alloca in function calls" >&5 |
13249 cat > conftest.$ac_ext <<EOF | 13293 cat > conftest.$ac_ext <<EOF |
13250 #line 13251 "configure" | 13294 #line 13295 "configure" |
13251 #include "confdefs.h" | 13295 #include "confdefs.h" |
13252 | 13296 |
13253 #if defined (__CYGWIN__) | 13297 #if defined (__CYGWIN__) |
13254 #include <alloca.h> | 13298 #include <alloca.h> |
13255 #elif defined (__GNUC__) | 13299 #elif defined (__GNUC__) |
13298 return 1; | 13342 return 1; |
13299 return 0; | 13343 return 0; |
13300 } | 13344 } |
13301 | 13345 |
13302 EOF | 13346 EOF |
13303 if { (eval echo configure:13304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13347 if { (eval echo configure:13348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13304 then | 13348 then |
13305 working_alloca_in_function_calls=yes | 13349 working_alloca_in_function_calls=yes |
13306 else | 13350 else |
13307 conftest_rc="$?" | 13351 conftest_rc="$?" |
13308 echo "configure: failed program was:" >&5 | 13352 echo "configure: failed program was:" >&5 |
13321 EOF | 13365 EOF |
13322 } | 13366 } |
13323 | 13367 |
13324 | 13368 |
13325 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 | 13369 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 |
13326 echo "configure:13327: checking for working strcoll" >&5 | 13370 echo "configure:13371: checking for working strcoll" >&5 |
13327 | 13371 |
13328 cat > conftest.$ac_ext <<EOF | 13372 cat > conftest.$ac_ext <<EOF |
13329 #line 13330 "configure" | 13373 #line 13374 "configure" |
13330 #include "confdefs.h" | 13374 #include "confdefs.h" |
13331 #include <string.h> | 13375 #include <string.h> |
13332 main () | 13376 main () |
13333 { | 13377 { |
13334 exit (strcoll ("abc", "def") >= 0 || | 13378 exit (strcoll ("abc", "def") >= 0 || |
13335 strcoll ("ABC", "DEF") >= 0 || | 13379 strcoll ("ABC", "DEF") >= 0 || |
13336 strcoll ("123", "456") >= 0); | 13380 strcoll ("123", "456") >= 0); |
13337 } | 13381 } |
13338 EOF | 13382 EOF |
13339 if { (eval echo configure:13340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13383 if { (eval echo configure:13384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13340 then | 13384 then |
13341 ac_cv_func_strcoll_works=yes | 13385 ac_cv_func_strcoll_works=yes |
13342 else | 13386 else |
13343 conftest_rc="$?" | 13387 conftest_rc="$?" |
13344 echo "configure: failed program was:" >&5 | 13388 echo "configure: failed program was:" >&5 |
13362 | 13406 |
13363 | 13407 |
13364 for ac_func in getpgrp | 13408 for ac_func in getpgrp |
13365 do | 13409 do |
13366 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 13410 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
13367 echo "configure:13368: checking for $ac_func" >&5 | 13411 echo "configure:13412: checking for $ac_func" >&5 |
13368 | 13412 |
13369 cat > conftest.$ac_ext <<EOF | 13413 cat > conftest.$ac_ext <<EOF |
13370 #line 13371 "configure" | 13414 #line 13415 "configure" |
13371 #include "confdefs.h" | 13415 #include "confdefs.h" |
13372 /* System header to define __stub macros and hopefully few prototypes, | 13416 /* System header to define __stub macros and hopefully few prototypes, |
13373 which can conflict with char $ac_func(); below. */ | 13417 which can conflict with char $ac_func(); below. */ |
13374 #include <assert.h> | 13418 #include <assert.h> |
13375 /* Override any gcc2 internal prototype to avoid an error. */ | 13419 /* Override any gcc2 internal prototype to avoid an error. */ |
13388 $ac_func(); | 13432 $ac_func(); |
13389 #endif | 13433 #endif |
13390 | 13434 |
13391 ; return 0; } | 13435 ; return 0; } |
13392 EOF | 13436 EOF |
13393 if { (eval echo configure:13394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13437 if { (eval echo configure:13438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13394 rm -rf conftest* | 13438 rm -rf conftest* |
13395 eval "ac_cv_func_$ac_func=yes" | 13439 eval "ac_cv_func_$ac_func=yes" |
13396 else | 13440 else |
13397 echo "configure: failed program was:" >&5 | 13441 echo "configure: failed program was:" >&5 |
13398 cat conftest.$ac_ext >&5 | 13442 cat conftest.$ac_ext >&5 |
13416 echo "$ac_t""no" 1>&6 | 13460 echo "$ac_t""no" 1>&6 |
13417 fi | 13461 fi |
13418 done | 13462 done |
13419 | 13463 |
13420 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 | 13464 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 |
13421 echo "configure:13422: checking whether getpgrp takes no argument" >&5 | 13465 echo "configure:13466: checking whether getpgrp takes no argument" >&5 |
13422 | 13466 |
13423 cat > conftest.$ac_ext <<EOF | 13467 cat > conftest.$ac_ext <<EOF |
13424 #line 13425 "configure" | 13468 #line 13469 "configure" |
13425 #include "confdefs.h" | 13469 #include "confdefs.h" |
13426 | 13470 |
13427 /* | 13471 /* |
13428 * If this system has a BSD-style getpgrp(), | 13472 * If this system has a BSD-style getpgrp(), |
13429 * which takes a pid argument, exit unsuccessfully. | 13473 * which takes a pid argument, exit unsuccessfully. |
13474 exit(s>>8); | 13518 exit(s>>8); |
13475 } | 13519 } |
13476 } | 13520 } |
13477 | 13521 |
13478 EOF | 13522 EOF |
13479 if { (eval echo configure:13480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13523 if { (eval echo configure:13524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13480 then | 13524 then |
13481 ac_cv_func_getpgrp_void=yes | 13525 ac_cv_func_getpgrp_void=yes |
13482 else | 13526 else |
13483 conftest_rc="$?" | 13527 conftest_rc="$?" |
13484 echo "configure: failed program was:" >&5 | 13528 echo "configure: failed program was:" >&5 |
13501 | 13545 |
13502 fi | 13546 fi |
13503 | 13547 |
13504 | 13548 |
13505 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 13549 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
13506 echo "configure:13507: checking for working mmap" >&5 | 13550 echo "configure:13551: checking for working mmap" >&5 |
13507 case "$opsys" in ultrix* ) have_mmap=no ;; *) | 13551 case "$opsys" in ultrix* ) have_mmap=no ;; *) |
13508 cat > conftest.$ac_ext <<EOF | 13552 cat > conftest.$ac_ext <<EOF |
13509 #line 13510 "configure" | 13553 #line 13554 "configure" |
13510 #include "confdefs.h" | 13554 #include "confdefs.h" |
13511 #include <stdio.h> | 13555 #include <stdio.h> |
13512 #include <unistd.h> | 13556 #include <unistd.h> |
13513 #include <fcntl.h> | 13557 #include <fcntl.h> |
13514 #include <sys/mman.h> | 13558 #include <sys/mman.h> |
13537 return 0; | 13581 return 0; |
13538 perror ("conftest: mmap failed"); | 13582 perror ("conftest: mmap failed"); |
13539 return 1; | 13583 return 1; |
13540 } | 13584 } |
13541 EOF | 13585 EOF |
13542 if { (eval echo configure:13543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 13586 if { (eval echo configure:13587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
13543 then | 13587 then |
13544 have_mmap=yes | 13588 have_mmap=yes |
13545 else | 13589 else |
13546 conftest_rc="$?" | 13590 conftest_rc="$?" |
13547 echo "configure: failed program was:" >&5 | 13591 echo "configure: failed program was:" >&5 |
13566 esac | 13610 esac |
13567 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no | 13611 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no |
13568 if test "$rel_alloc $have_mmap" = "default yes"; then | 13612 if test "$rel_alloc $have_mmap" = "default yes"; then |
13569 if test "$doug_lea_malloc" = "yes"; then | 13613 if test "$doug_lea_malloc" = "yes"; then |
13570 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 | 13614 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 |
13571 echo "configure:13572: checking for M_MMAP_THRESHOLD" >&5 | 13615 echo "configure:13616: checking for M_MMAP_THRESHOLD" >&5 |
13572 cat > conftest.$ac_ext <<EOF | 13616 cat > conftest.$ac_ext <<EOF |
13573 #line 13574 "configure" | 13617 #line 13618 "configure" |
13574 #include "confdefs.h" | 13618 #include "confdefs.h" |
13575 #include <malloc.h> | 13619 #include <malloc.h> |
13576 int main() { | 13620 int main() { |
13577 | 13621 |
13578 #ifndef M_MMAP_THRESHOLD | 13622 #ifndef M_MMAP_THRESHOLD |
13580 !@+$%^&*_)(_ - unlikely to compile... | 13624 !@+$%^&*_)(_ - unlikely to compile... |
13581 #endif | 13625 #endif |
13582 | 13626 |
13583 ; return 0; } | 13627 ; return 0; } |
13584 EOF | 13628 EOF |
13585 if { (eval echo configure:13586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 13629 if { (eval echo configure:13630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
13586 rm -rf conftest* | 13630 rm -rf conftest* |
13587 rel_alloc=no; echo "$ac_t""yes" 1>&6; | 13631 rel_alloc=no; echo "$ac_t""yes" 1>&6; |
13588 else | 13632 else |
13589 echo "configure: failed program was:" >&5 | 13633 echo "configure: failed program was:" >&5 |
13590 cat conftest.$ac_ext >&5 | 13634 cat conftest.$ac_ext >&5 |
13605 } | 13649 } |
13606 | 13650 |
13607 | 13651 |
13608 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` | 13652 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` |
13609 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 | 13653 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 |
13610 echo "configure:13611: checking for termios.h" >&5 | 13654 echo "configure:13655: checking for termios.h" >&5 |
13611 | 13655 |
13612 cat > conftest.$ac_ext <<EOF | 13656 cat > conftest.$ac_ext <<EOF |
13613 #line 13614 "configure" | 13657 #line 13658 "configure" |
13614 #include "confdefs.h" | 13658 #include "confdefs.h" |
13615 #include <termios.h> | 13659 #include <termios.h> |
13616 EOF | 13660 EOF |
13617 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13618 { (eval echo configure:13619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13662 { (eval echo configure:13663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13619 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13620 if test -z "$ac_err"; then | 13664 if test -z "$ac_err"; then |
13621 rm -rf conftest* | 13665 rm -rf conftest* |
13622 eval "ac_cv_header_$ac_safe=yes" | 13666 eval "ac_cv_header_$ac_safe=yes" |
13623 else | 13667 else |
13656 | 13700 |
13657 else | 13701 else |
13658 echo "$ac_t""no" 1>&6 | 13702 echo "$ac_t""no" 1>&6 |
13659 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` | 13703 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` |
13660 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 | 13704 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 |
13661 echo "configure:13662: checking for termio.h" >&5 | 13705 echo "configure:13706: checking for termio.h" >&5 |
13662 | 13706 |
13663 cat > conftest.$ac_ext <<EOF | 13707 cat > conftest.$ac_ext <<EOF |
13664 #line 13665 "configure" | 13708 #line 13709 "configure" |
13665 #include "confdefs.h" | 13709 #include "confdefs.h" |
13666 #include <termio.h> | 13710 #include <termio.h> |
13667 EOF | 13711 EOF |
13668 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13712 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13669 { (eval echo configure:13670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13713 { (eval echo configure:13714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13714 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13671 if test -z "$ac_err"; then | 13715 if test -z "$ac_err"; then |
13672 rm -rf conftest* | 13716 rm -rf conftest* |
13673 eval "ac_cv_header_$ac_safe=yes" | 13717 eval "ac_cv_header_$ac_safe=yes" |
13674 else | 13718 else |
13696 fi | 13740 fi |
13697 | 13741 |
13698 | 13742 |
13699 | 13743 |
13700 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 13744 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
13701 echo "configure:13702: checking for socket" >&5 | 13745 echo "configure:13746: checking for socket" >&5 |
13702 | 13746 |
13703 cat > conftest.$ac_ext <<EOF | 13747 cat > conftest.$ac_ext <<EOF |
13704 #line 13705 "configure" | 13748 #line 13749 "configure" |
13705 #include "confdefs.h" | 13749 #include "confdefs.h" |
13706 /* System header to define __stub macros and hopefully few prototypes, | 13750 /* System header to define __stub macros and hopefully few prototypes, |
13707 which can conflict with char socket(); below. */ | 13751 which can conflict with char socket(); below. */ |
13708 #include <assert.h> | 13752 #include <assert.h> |
13709 /* Override any gcc2 internal prototype to avoid an error. */ | 13753 /* Override any gcc2 internal prototype to avoid an error. */ |
13722 socket(); | 13766 socket(); |
13723 #endif | 13767 #endif |
13724 | 13768 |
13725 ; return 0; } | 13769 ; return 0; } |
13726 EOF | 13770 EOF |
13727 if { (eval echo configure:13728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13771 if { (eval echo configure:13772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13728 rm -rf conftest* | 13772 rm -rf conftest* |
13729 eval "ac_cv_func_socket=yes" | 13773 eval "ac_cv_func_socket=yes" |
13730 else | 13774 else |
13731 echo "configure: failed program was:" >&5 | 13775 echo "configure: failed program was:" >&5 |
13732 cat conftest.$ac_ext >&5 | 13776 cat conftest.$ac_ext >&5 |
13737 | 13781 |
13738 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then | 13782 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then |
13739 echo "$ac_t""yes" 1>&6 | 13783 echo "$ac_t""yes" 1>&6 |
13740 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 13784 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
13741 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 13785 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
13742 echo "configure:13743: checking for netinet/in.h" >&5 | 13786 echo "configure:13787: checking for netinet/in.h" >&5 |
13743 | 13787 |
13744 cat > conftest.$ac_ext <<EOF | 13788 cat > conftest.$ac_ext <<EOF |
13745 #line 13746 "configure" | 13789 #line 13790 "configure" |
13746 #include "confdefs.h" | 13790 #include "confdefs.h" |
13747 #include <netinet/in.h> | 13791 #include <netinet/in.h> |
13748 EOF | 13792 EOF |
13749 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13750 { (eval echo configure:13751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13794 { (eval echo configure:13795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13751 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13752 if test -z "$ac_err"; then | 13796 if test -z "$ac_err"; then |
13753 rm -rf conftest* | 13797 rm -rf conftest* |
13754 eval "ac_cv_header_$ac_safe=yes" | 13798 eval "ac_cv_header_$ac_safe=yes" |
13755 else | 13799 else |
13762 rm -f conftest* | 13806 rm -f conftest* |
13763 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13807 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13764 echo "$ac_t""yes" 1>&6 | 13808 echo "$ac_t""yes" 1>&6 |
13765 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 13809 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
13766 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 13810 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
13767 echo "configure:13768: checking for arpa/inet.h" >&5 | 13811 echo "configure:13812: checking for arpa/inet.h" >&5 |
13768 | 13812 |
13769 cat > conftest.$ac_ext <<EOF | 13813 cat > conftest.$ac_ext <<EOF |
13770 #line 13771 "configure" | 13814 #line 13815 "configure" |
13771 #include "confdefs.h" | 13815 #include "confdefs.h" |
13772 #include <arpa/inet.h> | 13816 #include <arpa/inet.h> |
13773 EOF | 13817 EOF |
13774 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13818 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13775 { (eval echo configure:13776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13819 { (eval echo configure:13820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13776 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13820 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13777 if test -z "$ac_err"; then | 13821 if test -z "$ac_err"; then |
13778 rm -rf conftest* | 13822 rm -rf conftest* |
13779 eval "ac_cv_header_$ac_safe=yes" | 13823 eval "ac_cv_header_$ac_safe=yes" |
13780 else | 13824 else |
13795 #define HAVE_SOCKETS 1 | 13839 #define HAVE_SOCKETS 1 |
13796 EOF | 13840 EOF |
13797 } | 13841 } |
13798 | 13842 |
13799 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 | 13843 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 |
13800 echo "configure:13801: checking "for sun_len member in struct sockaddr_un"" >&5 | 13844 echo "configure:13845: checking "for sun_len member in struct sockaddr_un"" >&5 |
13801 cat > conftest.$ac_ext <<EOF | 13845 cat > conftest.$ac_ext <<EOF |
13802 #line 13803 "configure" | 13846 #line 13847 "configure" |
13803 #include "confdefs.h" | 13847 #include "confdefs.h" |
13804 | 13848 |
13805 #include <sys/types.h> | 13849 #include <sys/types.h> |
13806 #include <sys/socket.h> | 13850 #include <sys/socket.h> |
13807 #include <sys/un.h> | 13851 #include <sys/un.h> |
13808 | 13852 |
13809 int main() { | 13853 int main() { |
13810 static struct sockaddr_un x; x.sun_len = 1; | 13854 static struct sockaddr_un x; x.sun_len = 1; |
13811 ; return 0; } | 13855 ; return 0; } |
13812 EOF | 13856 EOF |
13813 if { (eval echo configure:13814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13857 if { (eval echo configure:13858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13814 rm -rf conftest* | 13858 rm -rf conftest* |
13815 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13859 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13816 Defining HAVE_SOCKADDR_SUN_LEN | 13860 Defining HAVE_SOCKADDR_SUN_LEN |
13817 EOF | 13861 EOF |
13818 cat >> confdefs.h <<\EOF | 13862 cat >> confdefs.h <<\EOF |
13826 rm -rf conftest* | 13870 rm -rf conftest* |
13827 echo "$ac_t""no" 1>&6 | 13871 echo "$ac_t""no" 1>&6 |
13828 fi | 13872 fi |
13829 rm -f conftest* | 13873 rm -f conftest* |
13830 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 | 13874 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 |
13831 echo "configure:13832: checking "for ip_mreq struct in netinet/in.h"" >&5 | 13875 echo "configure:13876: checking "for ip_mreq struct in netinet/in.h"" >&5 |
13832 cat > conftest.$ac_ext <<EOF | 13876 cat > conftest.$ac_ext <<EOF |
13833 #line 13834 "configure" | 13877 #line 13878 "configure" |
13834 #include "confdefs.h" | 13878 #include "confdefs.h" |
13835 | 13879 |
13836 #include <sys/types.h> | 13880 #include <sys/types.h> |
13837 #include <netinet/in.h> | 13881 #include <netinet/in.h> |
13838 | 13882 |
13839 int main() { | 13883 int main() { |
13840 static struct ip_mreq x; | 13884 static struct ip_mreq x; |
13841 ; return 0; } | 13885 ; return 0; } |
13842 EOF | 13886 EOF |
13843 if { (eval echo configure:13844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13887 if { (eval echo configure:13888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13844 rm -rf conftest* | 13888 rm -rf conftest* |
13845 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF | 13889 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF |
13846 Defining HAVE_MULTICAST | 13890 Defining HAVE_MULTICAST |
13847 EOF | 13891 EOF |
13848 cat >> confdefs.h <<\EOF | 13892 cat >> confdefs.h <<\EOF |
13869 echo "$ac_t""no" 1>&6 | 13913 echo "$ac_t""no" 1>&6 |
13870 fi | 13914 fi |
13871 | 13915 |
13872 | 13916 |
13873 echo $ac_n "checking for msgget""... $ac_c" 1>&6 | 13917 echo $ac_n "checking for msgget""... $ac_c" 1>&6 |
13874 echo "configure:13875: checking for msgget" >&5 | 13918 echo "configure:13919: checking for msgget" >&5 |
13875 | 13919 |
13876 cat > conftest.$ac_ext <<EOF | 13920 cat > conftest.$ac_ext <<EOF |
13877 #line 13878 "configure" | 13921 #line 13922 "configure" |
13878 #include "confdefs.h" | 13922 #include "confdefs.h" |
13879 /* System header to define __stub macros and hopefully few prototypes, | 13923 /* System header to define __stub macros and hopefully few prototypes, |
13880 which can conflict with char msgget(); below. */ | 13924 which can conflict with char msgget(); below. */ |
13881 #include <assert.h> | 13925 #include <assert.h> |
13882 /* Override any gcc2 internal prototype to avoid an error. */ | 13926 /* Override any gcc2 internal prototype to avoid an error. */ |
13895 msgget(); | 13939 msgget(); |
13896 #endif | 13940 #endif |
13897 | 13941 |
13898 ; return 0; } | 13942 ; return 0; } |
13899 EOF | 13943 EOF |
13900 if { (eval echo configure:13901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 13944 if { (eval echo configure:13945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
13901 rm -rf conftest* | 13945 rm -rf conftest* |
13902 eval "ac_cv_func_msgget=yes" | 13946 eval "ac_cv_func_msgget=yes" |
13903 else | 13947 else |
13904 echo "configure: failed program was:" >&5 | 13948 echo "configure: failed program was:" >&5 |
13905 cat conftest.$ac_ext >&5 | 13949 cat conftest.$ac_ext >&5 |
13910 | 13954 |
13911 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then | 13955 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then |
13912 echo "$ac_t""yes" 1>&6 | 13956 echo "$ac_t""yes" 1>&6 |
13913 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` | 13957 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` |
13914 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 | 13958 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 |
13915 echo "configure:13916: checking for sys/ipc.h" >&5 | 13959 echo "configure:13960: checking for sys/ipc.h" >&5 |
13916 | 13960 |
13917 cat > conftest.$ac_ext <<EOF | 13961 cat > conftest.$ac_ext <<EOF |
13918 #line 13919 "configure" | 13962 #line 13963 "configure" |
13919 #include "confdefs.h" | 13963 #include "confdefs.h" |
13920 #include <sys/ipc.h> | 13964 #include <sys/ipc.h> |
13921 EOF | 13965 EOF |
13922 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13966 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13923 { (eval echo configure:13924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13967 { (eval echo configure:13968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13924 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13968 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13925 if test -z "$ac_err"; then | 13969 if test -z "$ac_err"; then |
13926 rm -rf conftest* | 13970 rm -rf conftest* |
13927 eval "ac_cv_header_$ac_safe=yes" | 13971 eval "ac_cv_header_$ac_safe=yes" |
13928 else | 13972 else |
13935 rm -f conftest* | 13979 rm -f conftest* |
13936 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 13980 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
13937 echo "$ac_t""yes" 1>&6 | 13981 echo "$ac_t""yes" 1>&6 |
13938 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` | 13982 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` |
13939 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 | 13983 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 |
13940 echo "configure:13941: checking for sys/msg.h" >&5 | 13984 echo "configure:13985: checking for sys/msg.h" >&5 |
13941 | 13985 |
13942 cat > conftest.$ac_ext <<EOF | 13986 cat > conftest.$ac_ext <<EOF |
13943 #line 13944 "configure" | 13987 #line 13988 "configure" |
13944 #include "confdefs.h" | 13988 #include "confdefs.h" |
13945 #include <sys/msg.h> | 13989 #include <sys/msg.h> |
13946 EOF | 13990 EOF |
13947 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 13991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13948 { (eval echo configure:13949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 13992 { (eval echo configure:13993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13949 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 13993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13950 if test -z "$ac_err"; then | 13994 if test -z "$ac_err"; then |
13951 rm -rf conftest* | 13995 rm -rf conftest* |
13952 eval "ac_cv_header_$ac_safe=yes" | 13996 eval "ac_cv_header_$ac_safe=yes" |
13953 else | 13997 else |
13981 fi | 14025 fi |
13982 | 14026 |
13983 | 14027 |
13984 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` | 14028 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` |
13985 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 | 14029 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 |
13986 echo "configure:13987: checking for dirent.h" >&5 | 14030 echo "configure:14031: checking for dirent.h" >&5 |
13987 | 14031 |
13988 cat > conftest.$ac_ext <<EOF | 14032 cat > conftest.$ac_ext <<EOF |
13989 #line 13990 "configure" | 14033 #line 14034 "configure" |
13990 #include "confdefs.h" | 14034 #include "confdefs.h" |
13991 #include <dirent.h> | 14035 #include <dirent.h> |
13992 EOF | 14036 EOF |
13993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14037 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
13994 { (eval echo configure:13995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14038 { (eval echo configure:14039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
13995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14039 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
13996 if test -z "$ac_err"; then | 14040 if test -z "$ac_err"; then |
13997 rm -rf conftest* | 14041 rm -rf conftest* |
13998 eval "ac_cv_header_$ac_safe=yes" | 14042 eval "ac_cv_header_$ac_safe=yes" |
13999 else | 14043 else |
14016 | 14060 |
14017 else | 14061 else |
14018 echo "$ac_t""no" 1>&6 | 14062 echo "$ac_t""no" 1>&6 |
14019 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` | 14063 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` |
14020 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 | 14064 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 |
14021 echo "configure:14022: checking for sys/dir.h" >&5 | 14065 echo "configure:14066: checking for sys/dir.h" >&5 |
14022 | 14066 |
14023 cat > conftest.$ac_ext <<EOF | 14067 cat > conftest.$ac_ext <<EOF |
14024 #line 14025 "configure" | 14068 #line 14069 "configure" |
14025 #include "confdefs.h" | 14069 #include "confdefs.h" |
14026 #include <sys/dir.h> | 14070 #include <sys/dir.h> |
14027 EOF | 14071 EOF |
14028 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14072 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14029 { (eval echo configure:14030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14073 { (eval echo configure:14074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14031 if test -z "$ac_err"; then | 14075 if test -z "$ac_err"; then |
14032 rm -rf conftest* | 14076 rm -rf conftest* |
14033 eval "ac_cv_header_$ac_safe=yes" | 14077 eval "ac_cv_header_$ac_safe=yes" |
14034 else | 14078 else |
14057 fi | 14101 fi |
14058 | 14102 |
14059 | 14103 |
14060 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` | 14104 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
14061 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 | 14105 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
14062 echo "configure:14063: checking for nlist.h" >&5 | 14106 echo "configure:14107: checking for nlist.h" >&5 |
14063 | 14107 |
14064 cat > conftest.$ac_ext <<EOF | 14108 cat > conftest.$ac_ext <<EOF |
14065 #line 14066 "configure" | 14109 #line 14110 "configure" |
14066 #include "confdefs.h" | 14110 #include "confdefs.h" |
14067 #include <nlist.h> | 14111 #include <nlist.h> |
14068 EOF | 14112 EOF |
14069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14113 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14070 { (eval echo configure:14071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14114 { (eval echo configure:14115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14115 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14072 if test -z "$ac_err"; then | 14116 if test -z "$ac_err"; then |
14073 rm -rf conftest* | 14117 rm -rf conftest* |
14074 eval "ac_cv_header_$ac_safe=yes" | 14118 eval "ac_cv_header_$ac_safe=yes" |
14075 else | 14119 else |
14095 fi | 14139 fi |
14096 | 14140 |
14097 | 14141 |
14098 | 14142 |
14099 echo "checking "for sound support"" 1>&6 | 14143 echo "checking "for sound support"" 1>&6 |
14100 echo "configure:14101: checking "for sound support"" >&5 | 14144 echo "configure:14145: checking "for sound support"" >&5 |
14101 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes | 14145 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes |
14102 | 14146 |
14103 if test "$with_native_sound" != "no"; then | 14147 if test "$with_native_sound" != "no"; then |
14104 if test -n "$native_sound_lib"; then | 14148 if test -n "$native_sound_lib"; then |
14105 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` | 14149 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` |
14106 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 | 14150 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 |
14107 echo "configure:14108: checking for multimedia/audio_device.h" >&5 | 14151 echo "configure:14152: checking for multimedia/audio_device.h" >&5 |
14108 | 14152 |
14109 cat > conftest.$ac_ext <<EOF | 14153 cat > conftest.$ac_ext <<EOF |
14110 #line 14111 "configure" | 14154 #line 14155 "configure" |
14111 #include "confdefs.h" | 14155 #include "confdefs.h" |
14112 #include <multimedia/audio_device.h> | 14156 #include <multimedia/audio_device.h> |
14113 EOF | 14157 EOF |
14114 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14158 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14115 { (eval echo configure:14116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14159 { (eval echo configure:14160: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14116 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14160 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14117 if test -z "$ac_err"; then | 14161 if test -z "$ac_err"; then |
14118 rm -rf conftest* | 14162 rm -rf conftest* |
14119 eval "ac_cv_header_$ac_safe=yes" | 14163 eval "ac_cv_header_$ac_safe=yes" |
14120 else | 14164 else |
14166 case "$canonical" in | 14210 case "$canonical" in |
14167 *-sgi-* ) | 14211 *-sgi-* ) |
14168 if test -z "$native_sound_lib"; then | 14212 if test -z "$native_sound_lib"; then |
14169 | 14213 |
14170 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 | 14214 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 |
14171 echo "configure:14172: checking for ALopenport in -laudio" >&5 | 14215 echo "configure:14216: checking for ALopenport in -laudio" >&5 |
14172 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` | 14216 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` |
14173 | 14217 |
14174 xe_check_libs=" -laudio " | 14218 xe_check_libs=" -laudio " |
14175 cat > conftest.$ac_ext <<EOF | 14219 cat > conftest.$ac_ext <<EOF |
14176 #line 14177 "configure" | 14220 #line 14221 "configure" |
14177 #include "confdefs.h" | 14221 #include "confdefs.h" |
14178 /* Override any gcc2 internal prototype to avoid an error. */ | 14222 /* Override any gcc2 internal prototype to avoid an error. */ |
14179 /* We use char because int might match the return type of a gcc2 | 14223 /* We use char because int might match the return type of a gcc2 |
14180 builtin and then its argument prototype would still apply. */ | 14224 builtin and then its argument prototype would still apply. */ |
14181 char ALopenport(); | 14225 char ALopenport(); |
14182 | 14226 |
14183 int main() { | 14227 int main() { |
14184 ALopenport() | 14228 ALopenport() |
14185 ; return 0; } | 14229 ; return 0; } |
14186 EOF | 14230 EOF |
14187 if { (eval echo configure:14188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14231 if { (eval echo configure:14232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14188 rm -rf conftest* | 14232 rm -rf conftest* |
14189 eval "ac_cv_lib_$ac_lib_var=yes" | 14233 eval "ac_cv_lib_$ac_lib_var=yes" |
14190 else | 14234 else |
14191 echo "configure: failed program was:" >&5 | 14235 echo "configure: failed program was:" >&5 |
14192 cat conftest.$ac_ext >&5 | 14236 cat conftest.$ac_ext >&5 |
14213 fi ;; | 14257 fi ;; |
14214 hppa*-hp-hpux* ) | 14258 hppa*-hp-hpux* ) |
14215 if test -z "$native_sound_lib"; then | 14259 if test -z "$native_sound_lib"; then |
14216 | 14260 |
14217 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 | 14261 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 |
14218 echo "configure:14219: checking for AOpenAudio in -lAlib" >&5 | 14262 echo "configure:14263: checking for AOpenAudio in -lAlib" >&5 |
14219 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` | 14263 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` |
14220 | 14264 |
14221 xe_check_libs=" -lAlib " | 14265 xe_check_libs=" -lAlib " |
14222 cat > conftest.$ac_ext <<EOF | 14266 cat > conftest.$ac_ext <<EOF |
14223 #line 14224 "configure" | 14267 #line 14268 "configure" |
14224 #include "confdefs.h" | 14268 #include "confdefs.h" |
14225 /* Override any gcc2 internal prototype to avoid an error. */ | 14269 /* Override any gcc2 internal prototype to avoid an error. */ |
14226 /* We use char because int might match the return type of a gcc2 | 14270 /* We use char because int might match the return type of a gcc2 |
14227 builtin and then its argument prototype would still apply. */ | 14271 builtin and then its argument prototype would still apply. */ |
14228 char AOpenAudio(); | 14272 char AOpenAudio(); |
14229 | 14273 |
14230 int main() { | 14274 int main() { |
14231 AOpenAudio() | 14275 AOpenAudio() |
14232 ; return 0; } | 14276 ; return 0; } |
14233 EOF | 14277 EOF |
14234 if { (eval echo configure:14235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14278 if { (eval echo configure:14279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14235 rm -rf conftest* | 14279 rm -rf conftest* |
14236 eval "ac_cv_lib_$ac_lib_var=yes" | 14280 eval "ac_cv_lib_$ac_lib_var=yes" |
14237 else | 14281 else |
14238 echo "configure: failed program was:" >&5 | 14282 echo "configure: failed program was:" >&5 |
14239 cat conftest.$ac_ext >&5 | 14283 cat conftest.$ac_ext >&5 |
14277 | 14321 |
14278 if test -z "$sound_found"; then | 14322 if test -z "$sound_found"; then |
14279 for dir in "machine" "sys" "linux"; do | 14323 for dir in "machine" "sys" "linux"; do |
14280 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` | 14324 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` |
14281 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 | 14325 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 |
14282 echo "configure:14283: checking for ${dir}/soundcard.h" >&5 | 14326 echo "configure:14327: checking for ${dir}/soundcard.h" >&5 |
14283 | 14327 |
14284 cat > conftest.$ac_ext <<EOF | 14328 cat > conftest.$ac_ext <<EOF |
14285 #line 14286 "configure" | 14329 #line 14330 "configure" |
14286 #include "confdefs.h" | 14330 #include "confdefs.h" |
14287 #include <${dir}/soundcard.h> | 14331 #include <${dir}/soundcard.h> |
14288 EOF | 14332 EOF |
14289 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14333 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14290 { (eval echo configure:14291: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14334 { (eval echo configure:14335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14291 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14335 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14292 if test -z "$ac_err"; then | 14336 if test -z "$ac_err"; then |
14293 rm -rf conftest* | 14337 rm -rf conftest* |
14294 eval "ac_cv_header_$ac_safe=yes" | 14338 eval "ac_cv_header_$ac_safe=yes" |
14295 else | 14339 else |
14339 fi | 14383 fi |
14340 | 14384 |
14341 if test "$with_nas_sound" != "no"; then | 14385 if test "$with_nas_sound" != "no"; then |
14342 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14386 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14343 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14387 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14344 echo "configure:14345: checking for audio/audiolib.h" >&5 | 14388 echo "configure:14389: checking for audio/audiolib.h" >&5 |
14345 | 14389 |
14346 cat > conftest.$ac_ext <<EOF | 14390 cat > conftest.$ac_ext <<EOF |
14347 #line 14348 "configure" | 14391 #line 14392 "configure" |
14348 #include "confdefs.h" | 14392 #include "confdefs.h" |
14349 #include <audio/audiolib.h> | 14393 #include <audio/audiolib.h> |
14350 EOF | 14394 EOF |
14351 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14395 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14352 { (eval echo configure:14353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14396 { (eval echo configure:14397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14397 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14354 if test -z "$ac_err"; then | 14398 if test -z "$ac_err"; then |
14355 rm -rf conftest* | 14399 rm -rf conftest* |
14356 eval "ac_cv_header_$ac_safe=yes" | 14400 eval "ac_cv_header_$ac_safe=yes" |
14357 else | 14401 else |
14365 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14409 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14366 echo "$ac_t""yes" 1>&6 | 14410 echo "$ac_t""yes" 1>&6 |
14367 | 14411 |
14368 | 14412 |
14369 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14413 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14370 echo "configure:14371: checking for AuOpenServer in -laudio" >&5 | 14414 echo "configure:14415: checking for AuOpenServer in -laudio" >&5 |
14371 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14415 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14372 | 14416 |
14373 xe_check_libs=" -laudio " | 14417 xe_check_libs=" -laudio " |
14374 cat > conftest.$ac_ext <<EOF | 14418 cat > conftest.$ac_ext <<EOF |
14375 #line 14376 "configure" | 14419 #line 14420 "configure" |
14376 #include "confdefs.h" | 14420 #include "confdefs.h" |
14377 /* Override any gcc2 internal prototype to avoid an error. */ | 14421 /* Override any gcc2 internal prototype to avoid an error. */ |
14378 /* We use char because int might match the return type of a gcc2 | 14422 /* We use char because int might match the return type of a gcc2 |
14379 builtin and then its argument prototype would still apply. */ | 14423 builtin and then its argument prototype would still apply. */ |
14380 char AuOpenServer(); | 14424 char AuOpenServer(); |
14381 | 14425 |
14382 int main() { | 14426 int main() { |
14383 AuOpenServer() | 14427 AuOpenServer() |
14384 ; return 0; } | 14428 ; return 0; } |
14385 EOF | 14429 EOF |
14386 if { (eval echo configure:14387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14430 if { (eval echo configure:14431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14387 rm -rf conftest* | 14431 rm -rf conftest* |
14388 eval "ac_cv_lib_$ac_lib_var=yes" | 14432 eval "ac_cv_lib_$ac_lib_var=yes" |
14389 else | 14433 else |
14390 echo "configure: failed program was:" >&5 | 14434 echo "configure: failed program was:" >&5 |
14391 cat conftest.$ac_ext >&5 | 14435 cat conftest.$ac_ext >&5 |
14420 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14464 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14421 echo " xemacs will be linked with \"nas.o\"" | 14465 echo " xemacs will be linked with \"nas.o\"" |
14422 fi | 14466 fi |
14423 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14467 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14424 cat > conftest.$ac_ext <<EOF | 14468 cat > conftest.$ac_ext <<EOF |
14425 #line 14426 "configure" | 14469 #line 14470 "configure" |
14426 #include "confdefs.h" | 14470 #include "confdefs.h" |
14427 #include <audio/Xtutil.h> | 14471 #include <audio/Xtutil.h> |
14428 EOF | 14472 EOF |
14429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14430 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14474 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14451 | 14495 |
14452 if test "$with_esd_sound" != "no"; then | 14496 if test "$with_esd_sound" != "no"; then |
14453 # Extract the first word of "esd-config", so it can be a program name with args. | 14497 # Extract the first word of "esd-config", so it can be a program name with args. |
14454 set dummy esd-config; ac_word=$2 | 14498 set dummy esd-config; ac_word=$2 |
14455 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14499 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14456 echo "configure:14457: checking for $ac_word" >&5 | 14500 echo "configure:14501: checking for $ac_word" >&5 |
14457 | 14501 |
14458 if test -n "$have_esd_config"; then | 14502 if test -n "$have_esd_config"; then |
14459 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14503 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14460 else | 14504 else |
14461 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14505 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14480 if test "$have_esd_config" = "yes"; then | 14524 if test "$have_esd_config" = "yes"; then |
14481 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14525 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14482 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 | 14526 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 |
14483 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14527 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14484 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14528 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14485 echo "configure:14486: checking for esd_play_stream" >&5 | 14529 echo "configure:14530: checking for esd_play_stream" >&5 |
14486 | 14530 |
14487 cat > conftest.$ac_ext <<EOF | 14531 cat > conftest.$ac_ext <<EOF |
14488 #line 14489 "configure" | 14532 #line 14533 "configure" |
14489 #include "confdefs.h" | 14533 #include "confdefs.h" |
14490 /* System header to define __stub macros and hopefully few prototypes, | 14534 /* System header to define __stub macros and hopefully few prototypes, |
14491 which can conflict with char esd_play_stream(); below. */ | 14535 which can conflict with char esd_play_stream(); below. */ |
14492 #include <assert.h> | 14536 #include <assert.h> |
14493 /* Override any gcc2 internal prototype to avoid an error. */ | 14537 /* Override any gcc2 internal prototype to avoid an error. */ |
14506 esd_play_stream(); | 14550 esd_play_stream(); |
14507 #endif | 14551 #endif |
14508 | 14552 |
14509 ; return 0; } | 14553 ; return 0; } |
14510 EOF | 14554 EOF |
14511 if { (eval echo configure:14512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14555 if { (eval echo configure:14556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14512 rm -rf conftest* | 14556 rm -rf conftest* |
14513 eval "ac_cv_func_esd_play_stream=yes" | 14557 eval "ac_cv_func_esd_play_stream=yes" |
14514 else | 14558 else |
14515 echo "configure: failed program was:" >&5 | 14559 echo "configure: failed program was:" >&5 |
14516 cat conftest.$ac_ext >&5 | 14560 cat conftest.$ac_ext >&5 |
14557 | 14601 |
14558 test -z "$with_tty" && with_tty=yes | 14602 test -z "$with_tty" && with_tty=yes |
14559 | 14603 |
14560 if test "$with_tty" = "yes" ; then | 14604 if test "$with_tty" = "yes" ; then |
14561 echo "checking for TTY-related features" 1>&6 | 14605 echo "checking for TTY-related features" 1>&6 |
14562 echo "configure:14563: checking for TTY-related features" >&5 | 14606 echo "configure:14607: checking for TTY-related features" >&5 |
14563 { test "$extra_verbose" = "yes" && cat << \EOF | 14607 { test "$extra_verbose" = "yes" && cat << \EOF |
14564 Defining HAVE_TTY | 14608 Defining HAVE_TTY |
14565 EOF | 14609 EOF |
14566 cat >> confdefs.h <<\EOF | 14610 cat >> confdefs.h <<\EOF |
14567 #define HAVE_TTY 1 | 14611 #define HAVE_TTY 1 |
14570 | 14614 |
14571 | 14615 |
14572 if test -z "$with_ncurses"; then | 14616 if test -z "$with_ncurses"; then |
14573 | 14617 |
14574 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14618 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14575 echo "configure:14576: checking for tgetent in -lncurses" >&5 | 14619 echo "configure:14620: checking for tgetent in -lncurses" >&5 |
14576 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14620 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14577 | 14621 |
14578 xe_check_libs=" -lncurses " | 14622 xe_check_libs=" -lncurses " |
14579 cat > conftest.$ac_ext <<EOF | 14623 cat > conftest.$ac_ext <<EOF |
14580 #line 14581 "configure" | 14624 #line 14625 "configure" |
14581 #include "confdefs.h" | 14625 #include "confdefs.h" |
14582 /* Override any gcc2 internal prototype to avoid an error. */ | 14626 /* Override any gcc2 internal prototype to avoid an error. */ |
14583 /* We use char because int might match the return type of a gcc2 | 14627 /* We use char because int might match the return type of a gcc2 |
14584 builtin and then its argument prototype would still apply. */ | 14628 builtin and then its argument prototype would still apply. */ |
14585 char tgetent(); | 14629 char tgetent(); |
14586 | 14630 |
14587 int main() { | 14631 int main() { |
14588 tgetent() | 14632 tgetent() |
14589 ; return 0; } | 14633 ; return 0; } |
14590 EOF | 14634 EOF |
14591 if { (eval echo configure:14592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14635 if { (eval echo configure:14636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14592 rm -rf conftest* | 14636 rm -rf conftest* |
14593 eval "ac_cv_lib_$ac_lib_var=yes" | 14637 eval "ac_cv_lib_$ac_lib_var=yes" |
14594 else | 14638 else |
14595 echo "configure: failed program was:" >&5 | 14639 echo "configure: failed program was:" >&5 |
14596 cat conftest.$ac_ext >&5 | 14640 cat conftest.$ac_ext >&5 |
14619 EOF | 14663 EOF |
14620 } | 14664 } |
14621 | 14665 |
14622 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14666 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14623 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14667 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14624 echo "configure:14625: checking for ncurses/curses.h" >&5 | 14668 echo "configure:14669: checking for ncurses/curses.h" >&5 |
14625 | 14669 |
14626 cat > conftest.$ac_ext <<EOF | 14670 cat > conftest.$ac_ext <<EOF |
14627 #line 14628 "configure" | 14671 #line 14672 "configure" |
14628 #include "confdefs.h" | 14672 #include "confdefs.h" |
14629 #include <ncurses/curses.h> | 14673 #include <ncurses/curses.h> |
14630 EOF | 14674 EOF |
14631 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14675 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14632 { (eval echo configure:14633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14676 { (eval echo configure:14677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14633 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14677 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14634 if test -z "$ac_err"; then | 14678 if test -z "$ac_err"; then |
14635 rm -rf conftest* | 14679 rm -rf conftest* |
14636 eval "ac_cv_header_$ac_safe=yes" | 14680 eval "ac_cv_header_$ac_safe=yes" |
14637 else | 14681 else |
14649 echo "$ac_t""no" 1>&6 | 14693 echo "$ac_t""no" 1>&6 |
14650 fi | 14694 fi |
14651 | 14695 |
14652 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 14696 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14653 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 14697 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14654 echo "configure:14655: checking for ncurses/term.h" >&5 | 14698 echo "configure:14699: checking for ncurses/term.h" >&5 |
14655 | 14699 |
14656 cat > conftest.$ac_ext <<EOF | 14700 cat > conftest.$ac_ext <<EOF |
14657 #line 14658 "configure" | 14701 #line 14702 "configure" |
14658 #include "confdefs.h" | 14702 #include "confdefs.h" |
14659 #include <ncurses/term.h> | 14703 #include <ncurses/term.h> |
14660 EOF | 14704 EOF |
14661 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14662 { (eval echo configure:14663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14706 { (eval echo configure:14707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14663 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14664 if test -z "$ac_err"; then | 14708 if test -z "$ac_err"; then |
14665 rm -rf conftest* | 14709 rm -rf conftest* |
14666 eval "ac_cv_header_$ac_safe=yes" | 14710 eval "ac_cv_header_$ac_safe=yes" |
14667 else | 14711 else |
14687 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 14731 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
14688 save_c_switch_site="$c_switch_site" | 14732 save_c_switch_site="$c_switch_site" |
14689 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 14733 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
14690 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14734 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14691 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14735 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14692 echo "configure:14693: checking for ncurses/curses.h" >&5 | 14736 echo "configure:14737: checking for ncurses/curses.h" >&5 |
14693 | 14737 |
14694 cat > conftest.$ac_ext <<EOF | 14738 cat > conftest.$ac_ext <<EOF |
14695 #line 14696 "configure" | 14739 #line 14740 "configure" |
14696 #include "confdefs.h" | 14740 #include "confdefs.h" |
14697 #include <ncurses/curses.h> | 14741 #include <ncurses/curses.h> |
14698 EOF | 14742 EOF |
14699 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14743 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14700 { (eval echo configure:14701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14744 { (eval echo configure:14745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14701 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14745 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14702 if test -z "$ac_err"; then | 14746 if test -z "$ac_err"; then |
14703 rm -rf conftest* | 14747 rm -rf conftest* |
14704 eval "ac_cv_header_$ac_safe=yes" | 14748 eval "ac_cv_header_$ac_safe=yes" |
14705 else | 14749 else |
14730 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14774 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14731 else | 14775 else |
14732 for lib in curses termlib termcap; do | 14776 for lib in curses termlib termcap; do |
14733 | 14777 |
14734 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 14778 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
14735 echo "configure:14736: checking for tgetent in -l$lib" >&5 | 14779 echo "configure:14780: checking for tgetent in -l$lib" >&5 |
14736 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 14780 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
14737 | 14781 |
14738 xe_check_libs=" -l$lib " | 14782 xe_check_libs=" -l$lib " |
14739 cat > conftest.$ac_ext <<EOF | 14783 cat > conftest.$ac_ext <<EOF |
14740 #line 14741 "configure" | 14784 #line 14785 "configure" |
14741 #include "confdefs.h" | 14785 #include "confdefs.h" |
14742 /* Override any gcc2 internal prototype to avoid an error. */ | 14786 /* Override any gcc2 internal prototype to avoid an error. */ |
14743 /* We use char because int might match the return type of a gcc2 | 14787 /* We use char because int might match the return type of a gcc2 |
14744 builtin and then its argument prototype would still apply. */ | 14788 builtin and then its argument prototype would still apply. */ |
14745 char tgetent(); | 14789 char tgetent(); |
14746 | 14790 |
14747 int main() { | 14791 int main() { |
14748 tgetent() | 14792 tgetent() |
14749 ; return 0; } | 14793 ; return 0; } |
14750 EOF | 14794 EOF |
14751 if { (eval echo configure:14752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14795 if { (eval echo configure:14796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14752 rm -rf conftest* | 14796 rm -rf conftest* |
14753 eval "ac_cv_lib_$ac_lib_var=yes" | 14797 eval "ac_cv_lib_$ac_lib_var=yes" |
14754 else | 14798 else |
14755 echo "configure: failed program was:" >&5 | 14799 echo "configure: failed program was:" >&5 |
14756 cat conftest.$ac_ext >&5 | 14800 cat conftest.$ac_ext >&5 |
14777 if test -n "$libs_termcap"; then | 14821 if test -n "$libs_termcap"; then |
14778 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 14822 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
14779 else | 14823 else |
14780 | 14824 |
14781 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 14825 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
14782 echo "configure:14783: checking for tgetent in -lcurses" >&5 | 14826 echo "configure:14827: checking for tgetent in -lcurses" >&5 |
14783 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 14827 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
14784 | 14828 |
14785 xe_check_libs=" -lcurses " | 14829 xe_check_libs=" -lcurses " |
14786 cat > conftest.$ac_ext <<EOF | 14830 cat > conftest.$ac_ext <<EOF |
14787 #line 14788 "configure" | 14831 #line 14832 "configure" |
14788 #include "confdefs.h" | 14832 #include "confdefs.h" |
14789 /* Override any gcc2 internal prototype to avoid an error. */ | 14833 /* Override any gcc2 internal prototype to avoid an error. */ |
14790 /* We use char because int might match the return type of a gcc2 | 14834 /* We use char because int might match the return type of a gcc2 |
14791 builtin and then its argument prototype would still apply. */ | 14835 builtin and then its argument prototype would still apply. */ |
14792 char tgetent(); | 14836 char tgetent(); |
14793 | 14837 |
14794 int main() { | 14838 int main() { |
14795 tgetent() | 14839 tgetent() |
14796 ; return 0; } | 14840 ; return 0; } |
14797 EOF | 14841 EOF |
14798 if { (eval echo configure:14799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14842 if { (eval echo configure:14843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14799 rm -rf conftest* | 14843 rm -rf conftest* |
14800 eval "ac_cv_lib_$ac_lib_var=yes" | 14844 eval "ac_cv_lib_$ac_lib_var=yes" |
14801 else | 14845 else |
14802 echo "configure: failed program was:" >&5 | 14846 echo "configure: failed program was:" >&5 |
14803 cat conftest.$ac_ext >&5 | 14847 cat conftest.$ac_ext >&5 |
14811 echo "$ac_t""yes" 1>&6 | 14855 echo "$ac_t""yes" 1>&6 |
14812 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 14856 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
14813 else | 14857 else |
14814 echo "$ac_t""no" 1>&6 | 14858 echo "$ac_t""no" 1>&6 |
14815 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 14859 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
14816 echo "configure:14817: checking for tgetent in -ltermcap" >&5 | 14860 echo "configure:14861: checking for tgetent in -ltermcap" >&5 |
14817 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 14861 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
14818 | 14862 |
14819 xe_check_libs=" -ltermcap " | 14863 xe_check_libs=" -ltermcap " |
14820 cat > conftest.$ac_ext <<EOF | 14864 cat > conftest.$ac_ext <<EOF |
14821 #line 14822 "configure" | 14865 #line 14866 "configure" |
14822 #include "confdefs.h" | 14866 #include "confdefs.h" |
14823 /* Override any gcc2 internal prototype to avoid an error. */ | 14867 /* Override any gcc2 internal prototype to avoid an error. */ |
14824 /* We use char because int might match the return type of a gcc2 | 14868 /* We use char because int might match the return type of a gcc2 |
14825 builtin and then its argument prototype would still apply. */ | 14869 builtin and then its argument prototype would still apply. */ |
14826 char tgetent(); | 14870 char tgetent(); |
14827 | 14871 |
14828 int main() { | 14872 int main() { |
14829 tgetent() | 14873 tgetent() |
14830 ; return 0; } | 14874 ; return 0; } |
14831 EOF | 14875 EOF |
14832 if { (eval echo configure:14833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14876 if { (eval echo configure:14877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14833 rm -rf conftest* | 14877 rm -rf conftest* |
14834 eval "ac_cv_lib_$ac_lib_var=yes" | 14878 eval "ac_cv_lib_$ac_lib_var=yes" |
14835 else | 14879 else |
14836 echo "configure: failed program was:" >&5 | 14880 echo "configure: failed program was:" >&5 |
14837 cat conftest.$ac_ext >&5 | 14881 cat conftest.$ac_ext >&5 |
14875 } | 14919 } |
14876 | 14920 |
14877 | 14921 |
14878 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 14922 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
14879 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 14923 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
14880 echo "configure:14881: checking for gpm.h" >&5 | 14924 echo "configure:14925: checking for gpm.h" >&5 |
14881 | 14925 |
14882 cat > conftest.$ac_ext <<EOF | 14926 cat > conftest.$ac_ext <<EOF |
14883 #line 14884 "configure" | 14927 #line 14928 "configure" |
14884 #include "confdefs.h" | 14928 #include "confdefs.h" |
14885 #include <gpm.h> | 14929 #include <gpm.h> |
14886 EOF | 14930 EOF |
14887 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14931 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14888 { (eval echo configure:14889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14932 { (eval echo configure:14933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14889 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14933 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14890 if test -z "$ac_err"; then | 14934 if test -z "$ac_err"; then |
14891 rm -rf conftest* | 14935 rm -rf conftest* |
14892 eval "ac_cv_header_$ac_safe=yes" | 14936 eval "ac_cv_header_$ac_safe=yes" |
14893 else | 14937 else |
14906 with_gpm=no | 14950 with_gpm=no |
14907 fi | 14951 fi |
14908 } | 14952 } |
14909 test -z "$with_gpm" && { | 14953 test -z "$with_gpm" && { |
14910 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 14954 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
14911 echo "configure:14912: checking for Gpm_Open in -lgpm" >&5 | 14955 echo "configure:14956: checking for Gpm_Open in -lgpm" >&5 |
14912 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 14956 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
14913 | 14957 |
14914 xe_check_libs=" -lgpm " | 14958 xe_check_libs=" -lgpm " |
14915 cat > conftest.$ac_ext <<EOF | 14959 cat > conftest.$ac_ext <<EOF |
14916 #line 14917 "configure" | 14960 #line 14961 "configure" |
14917 #include "confdefs.h" | 14961 #include "confdefs.h" |
14918 /* Override any gcc2 internal prototype to avoid an error. */ | 14962 /* Override any gcc2 internal prototype to avoid an error. */ |
14919 /* We use char because int might match the return type of a gcc2 | 14963 /* We use char because int might match the return type of a gcc2 |
14920 builtin and then its argument prototype would still apply. */ | 14964 builtin and then its argument prototype would still apply. */ |
14921 char Gpm_Open(); | 14965 char Gpm_Open(); |
14922 | 14966 |
14923 int main() { | 14967 int main() { |
14924 Gpm_Open() | 14968 Gpm_Open() |
14925 ; return 0; } | 14969 ; return 0; } |
14926 EOF | 14970 EOF |
14927 if { (eval echo configure:14928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14971 if { (eval echo configure:14972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14928 rm -rf conftest* | 14972 rm -rf conftest* |
14929 eval "ac_cv_lib_$ac_lib_var=yes" | 14973 eval "ac_cv_lib_$ac_lib_var=yes" |
14930 else | 14974 else |
14931 echo "configure: failed program was:" >&5 | 14975 echo "configure: failed program was:" >&5 |
14932 cat conftest.$ac_ext >&5 | 14976 cat conftest.$ac_ext >&5 |
14965 done | 15009 done |
14966 fi | 15010 fi |
14967 | 15011 |
14968 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 15012 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
14969 != "no no no" && echo "checking for database support" 1>&6 | 15013 != "no no no" && echo "checking for database support" 1>&6 |
14970 echo "configure:14971: checking for database support" >&5 | 15014 echo "configure:15015: checking for database support" >&5 |
14971 | 15015 |
14972 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 15016 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
14973 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 15017 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
14974 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 15018 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
14975 echo "configure:14976: checking for ndbm.h" >&5 | 15019 echo "configure:15020: checking for ndbm.h" >&5 |
14976 | 15020 |
14977 cat > conftest.$ac_ext <<EOF | 15021 cat > conftest.$ac_ext <<EOF |
14978 #line 14979 "configure" | 15022 #line 15023 "configure" |
14979 #include "confdefs.h" | 15023 #include "confdefs.h" |
14980 #include <ndbm.h> | 15024 #include <ndbm.h> |
14981 EOF | 15025 EOF |
14982 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15026 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14983 { (eval echo configure:14984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15027 { (eval echo configure:15028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14984 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15028 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14985 if test -z "$ac_err"; then | 15029 if test -z "$ac_err"; then |
14986 rm -rf conftest* | 15030 rm -rf conftest* |
14987 eval "ac_cv_header_$ac_safe=yes" | 15031 eval "ac_cv_header_$ac_safe=yes" |
14988 else | 15032 else |
15008 fi | 15052 fi |
15009 | 15053 |
15010 if test "$with_database_gdbm" != "no"; then | 15054 if test "$with_database_gdbm" != "no"; then |
15011 | 15055 |
15012 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 15056 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
15013 echo "configure:15014: checking for dbm_open in -lgdbm" >&5 | 15057 echo "configure:15058: checking for dbm_open in -lgdbm" >&5 |
15014 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15058 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15015 | 15059 |
15016 xe_check_libs=" -lgdbm " | 15060 xe_check_libs=" -lgdbm " |
15017 cat > conftest.$ac_ext <<EOF | 15061 cat > conftest.$ac_ext <<EOF |
15018 #line 15019 "configure" | 15062 #line 15063 "configure" |
15019 #include "confdefs.h" | 15063 #include "confdefs.h" |
15020 /* Override any gcc2 internal prototype to avoid an error. */ | 15064 /* Override any gcc2 internal prototype to avoid an error. */ |
15021 /* We use char because int might match the return type of a gcc2 | 15065 /* We use char because int might match the return type of a gcc2 |
15022 builtin and then its argument prototype would still apply. */ | 15066 builtin and then its argument prototype would still apply. */ |
15023 char dbm_open(); | 15067 char dbm_open(); |
15024 | 15068 |
15025 int main() { | 15069 int main() { |
15026 dbm_open() | 15070 dbm_open() |
15027 ; return 0; } | 15071 ; return 0; } |
15028 EOF | 15072 EOF |
15029 if { (eval echo configure:15030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15073 if { (eval echo configure:15074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15030 rm -rf conftest* | 15074 rm -rf conftest* |
15031 eval "ac_cv_lib_$ac_lib_var=yes" | 15075 eval "ac_cv_lib_$ac_lib_var=yes" |
15032 else | 15076 else |
15033 echo "configure: failed program was:" >&5 | 15077 echo "configure: failed program was:" >&5 |
15034 cat conftest.$ac_ext >&5 | 15078 cat conftest.$ac_ext >&5 |
15052 | 15096 |
15053 fi | 15097 fi |
15054 | 15098 |
15055 if test "$with_database_dbm" != "no"; then | 15099 if test "$with_database_dbm" != "no"; then |
15056 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 15100 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
15057 echo "configure:15058: checking for dbm_open" >&5 | 15101 echo "configure:15102: checking for dbm_open" >&5 |
15058 | 15102 |
15059 cat > conftest.$ac_ext <<EOF | 15103 cat > conftest.$ac_ext <<EOF |
15060 #line 15061 "configure" | 15104 #line 15105 "configure" |
15061 #include "confdefs.h" | 15105 #include "confdefs.h" |
15062 /* System header to define __stub macros and hopefully few prototypes, | 15106 /* System header to define __stub macros and hopefully few prototypes, |
15063 which can conflict with char dbm_open(); below. */ | 15107 which can conflict with char dbm_open(); below. */ |
15064 #include <assert.h> | 15108 #include <assert.h> |
15065 /* Override any gcc2 internal prototype to avoid an error. */ | 15109 /* Override any gcc2 internal prototype to avoid an error. */ |
15078 dbm_open(); | 15122 dbm_open(); |
15079 #endif | 15123 #endif |
15080 | 15124 |
15081 ; return 0; } | 15125 ; return 0; } |
15082 EOF | 15126 EOF |
15083 if { (eval echo configure:15084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15127 if { (eval echo configure:15128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15084 rm -rf conftest* | 15128 rm -rf conftest* |
15085 eval "ac_cv_func_dbm_open=yes" | 15129 eval "ac_cv_func_dbm_open=yes" |
15086 else | 15130 else |
15087 echo "configure: failed program was:" >&5 | 15131 echo "configure: failed program was:" >&5 |
15088 cat conftest.$ac_ext >&5 | 15132 cat conftest.$ac_ext >&5 |
15097 else | 15141 else |
15098 echo "$ac_t""no" 1>&6 | 15142 echo "$ac_t""no" 1>&6 |
15099 | 15143 |
15100 | 15144 |
15101 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15145 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
15102 echo "configure:15103: checking for dbm_open in -ldbm" >&5 | 15146 echo "configure:15147: checking for dbm_open in -ldbm" >&5 |
15103 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15147 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15104 | 15148 |
15105 xe_check_libs=" -ldbm " | 15149 xe_check_libs=" -ldbm " |
15106 cat > conftest.$ac_ext <<EOF | 15150 cat > conftest.$ac_ext <<EOF |
15107 #line 15108 "configure" | 15151 #line 15152 "configure" |
15108 #include "confdefs.h" | 15152 #include "confdefs.h" |
15109 /* Override any gcc2 internal prototype to avoid an error. */ | 15153 /* Override any gcc2 internal prototype to avoid an error. */ |
15110 /* We use char because int might match the return type of a gcc2 | 15154 /* We use char because int might match the return type of a gcc2 |
15111 builtin and then its argument prototype would still apply. */ | 15155 builtin and then its argument prototype would still apply. */ |
15112 char dbm_open(); | 15156 char dbm_open(); |
15113 | 15157 |
15114 int main() { | 15158 int main() { |
15115 dbm_open() | 15159 dbm_open() |
15116 ; return 0; } | 15160 ; return 0; } |
15117 EOF | 15161 EOF |
15118 if { (eval echo configure:15119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15162 if { (eval echo configure:15163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15119 rm -rf conftest* | 15163 rm -rf conftest* |
15120 eval "ac_cv_lib_$ac_lib_var=yes" | 15164 eval "ac_cv_lib_$ac_lib_var=yes" |
15121 else | 15165 else |
15122 echo "configure: failed program was:" >&5 | 15166 echo "configure: failed program was:" >&5 |
15123 cat conftest.$ac_ext >&5 | 15167 cat conftest.$ac_ext >&5 |
15154 } | 15198 } |
15155 | 15199 |
15156 | 15200 |
15157 if test "$with_database_berkdb" != "no"; then | 15201 if test "$with_database_berkdb" != "no"; then |
15158 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15202 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15159 echo "configure:15160: checking for Berkeley db.h" >&5 | 15203 echo "configure:15204: checking for Berkeley db.h" >&5 |
15160 for header in "db/db.h" "db.h"; do | 15204 for header in "db/db.h" "db.h"; do |
15161 cat > conftest.$ac_ext <<EOF | 15205 cat > conftest.$ac_ext <<EOF |
15162 #line 15163 "configure" | 15206 #line 15207 "configure" |
15163 #include "confdefs.h" | 15207 #include "confdefs.h" |
15164 | 15208 |
15165 #include <stdlib.h> | 15209 #include <stdlib.h> |
15166 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15210 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15167 #ifdef HAVE_INTTYPES_H | 15211 #ifdef HAVE_INTTYPES_H |
15179 | 15223 |
15180 int main() { | 15224 int main() { |
15181 | 15225 |
15182 ; return 0; } | 15226 ; return 0; } |
15183 EOF | 15227 EOF |
15184 if { (eval echo configure:15185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15228 if { (eval echo configure:15229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15185 rm -rf conftest* | 15229 rm -rf conftest* |
15186 db_h_file="$header"; break | 15230 db_h_file="$header"; break |
15187 else | 15231 else |
15188 echo "configure: failed program was:" >&5 | 15232 echo "configure: failed program was:" >&5 |
15189 cat conftest.$ac_ext >&5 | 15233 cat conftest.$ac_ext >&5 |
15195 else echo "$ac_t""$db_h_file" 1>&6 | 15239 else echo "$ac_t""$db_h_file" 1>&6 |
15196 fi | 15240 fi |
15197 | 15241 |
15198 if test "$with_database_berkdb" != "no"; then | 15242 if test "$with_database_berkdb" != "no"; then |
15199 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15243 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15200 echo "configure:15201: checking for Berkeley DB version" >&5 | 15244 echo "configure:15245: checking for Berkeley DB version" >&5 |
15201 cat > conftest.$ac_ext <<EOF | 15245 cat > conftest.$ac_ext <<EOF |
15202 #line 15203 "configure" | 15246 #line 15247 "configure" |
15203 #include "confdefs.h" | 15247 #include "confdefs.h" |
15204 #include <$db_h_file> | 15248 #include <$db_h_file> |
15205 #if DB_VERSION_MAJOR > 1 | 15249 #if DB_VERSION_MAJOR > 1 |
15206 yes | 15250 yes |
15207 #endif | 15251 #endif |
15209 EOF | 15253 EOF |
15210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15211 egrep "yes" >/dev/null 2>&1; then | 15255 egrep "yes" >/dev/null 2>&1; then |
15212 rm -rf conftest* | 15256 rm -rf conftest* |
15213 cat > conftest.$ac_ext <<EOF | 15257 cat > conftest.$ac_ext <<EOF |
15214 #line 15215 "configure" | 15258 #line 15259 "configure" |
15215 #include "confdefs.h" | 15259 #include "confdefs.h" |
15216 #include <$db_h_file> | 15260 #include <$db_h_file> |
15217 #if DB_VERSION_MAJOR > 2 | 15261 #if DB_VERSION_MAJOR > 2 |
15218 yes | 15262 yes |
15219 #endif | 15263 #endif |
15221 EOF | 15265 EOF |
15222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15223 egrep "yes" >/dev/null 2>&1; then | 15267 egrep "yes" >/dev/null 2>&1; then |
15224 rm -rf conftest* | 15268 rm -rf conftest* |
15225 cat > conftest.$ac_ext <<EOF | 15269 cat > conftest.$ac_ext <<EOF |
15226 #line 15227 "configure" | 15270 #line 15271 "configure" |
15227 #include "confdefs.h" | 15271 #include "confdefs.h" |
15228 #include <$db_h_file> | 15272 #include <$db_h_file> |
15229 #if DB_VERSION_MAJOR > 3 | 15273 #if DB_VERSION_MAJOR > 3 |
15230 yes | 15274 yes |
15231 #endif | 15275 #endif |
15255 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15299 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15256 fi | 15300 fi |
15257 rm -f conftest* | 15301 rm -f conftest* |
15258 | 15302 |
15259 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15303 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15260 echo "configure:15261: checking for $dbfunc" >&5 | 15304 echo "configure:15305: checking for $dbfunc" >&5 |
15261 | 15305 |
15262 cat > conftest.$ac_ext <<EOF | 15306 cat > conftest.$ac_ext <<EOF |
15263 #line 15264 "configure" | 15307 #line 15308 "configure" |
15264 #include "confdefs.h" | 15308 #include "confdefs.h" |
15265 /* System header to define __stub macros and hopefully few prototypes, | 15309 /* System header to define __stub macros and hopefully few prototypes, |
15266 which can conflict with char $dbfunc(); below. */ | 15310 which can conflict with char $dbfunc(); below. */ |
15267 #include <assert.h> | 15311 #include <assert.h> |
15268 /* Override any gcc2 internal prototype to avoid an error. */ | 15312 /* Override any gcc2 internal prototype to avoid an error. */ |
15281 $dbfunc(); | 15325 $dbfunc(); |
15282 #endif | 15326 #endif |
15283 | 15327 |
15284 ; return 0; } | 15328 ; return 0; } |
15285 EOF | 15329 EOF |
15286 if { (eval echo configure:15287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15330 if { (eval echo configure:15331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15287 rm -rf conftest* | 15331 rm -rf conftest* |
15288 eval "ac_cv_func_$dbfunc=yes" | 15332 eval "ac_cv_func_$dbfunc=yes" |
15289 else | 15333 else |
15290 echo "configure: failed program was:" >&5 | 15334 echo "configure: failed program was:" >&5 |
15291 cat conftest.$ac_ext >&5 | 15335 cat conftest.$ac_ext >&5 |
15300 else | 15344 else |
15301 echo "$ac_t""no" 1>&6 | 15345 echo "$ac_t""no" 1>&6 |
15302 | 15346 |
15303 | 15347 |
15304 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15348 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15305 echo "configure:15306: checking for $dbfunc in -ldb" >&5 | 15349 echo "configure:15350: checking for $dbfunc in -ldb" >&5 |
15306 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15350 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15307 | 15351 |
15308 xe_check_libs=" -ldb " | 15352 xe_check_libs=" -ldb " |
15309 cat > conftest.$ac_ext <<EOF | 15353 cat > conftest.$ac_ext <<EOF |
15310 #line 15311 "configure" | 15354 #line 15355 "configure" |
15311 #include "confdefs.h" | 15355 #include "confdefs.h" |
15312 /* Override any gcc2 internal prototype to avoid an error. */ | 15356 /* Override any gcc2 internal prototype to avoid an error. */ |
15313 /* We use char because int might match the return type of a gcc2 | 15357 /* We use char because int might match the return type of a gcc2 |
15314 builtin and then its argument prototype would still apply. */ | 15358 builtin and then its argument prototype would still apply. */ |
15315 char $dbfunc(); | 15359 char $dbfunc(); |
15316 | 15360 |
15317 int main() { | 15361 int main() { |
15318 $dbfunc() | 15362 $dbfunc() |
15319 ; return 0; } | 15363 ; return 0; } |
15320 EOF | 15364 EOF |
15321 if { (eval echo configure:15322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15365 if { (eval echo configure:15366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15322 rm -rf conftest* | 15366 rm -rf conftest* |
15323 eval "ac_cv_lib_$ac_lib_var=yes" | 15367 eval "ac_cv_lib_$ac_lib_var=yes" |
15324 else | 15368 else |
15325 echo "configure: failed program was:" >&5 | 15369 echo "configure: failed program was:" >&5 |
15326 cat conftest.$ac_ext >&5 | 15370 cat conftest.$ac_ext >&5 |
15350 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15394 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15351 rm -f $tempcname | 15395 rm -f $tempcname |
15352 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15396 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15353 | 15397 |
15354 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15398 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15355 echo "configure:15356: checking for $dbfunc in -ldb" >&5 | 15399 echo "configure:15400: checking for $dbfunc in -ldb" >&5 |
15356 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15400 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15357 | 15401 |
15358 xe_check_libs=" -ldb " | 15402 xe_check_libs=" -ldb " |
15359 cat > conftest.$ac_ext <<EOF | 15403 cat > conftest.$ac_ext <<EOF |
15360 #line 15361 "configure" | 15404 #line 15405 "configure" |
15361 #include "confdefs.h" | 15405 #include "confdefs.h" |
15362 /* Override any gcc2 internal prototype to avoid an error. */ | 15406 /* Override any gcc2 internal prototype to avoid an error. */ |
15363 /* We use char because int might match the return type of a gcc2 | 15407 /* We use char because int might match the return type of a gcc2 |
15364 builtin and then its argument prototype would still apply. */ | 15408 builtin and then its argument prototype would still apply. */ |
15365 char $dbfunc(); | 15409 char $dbfunc(); |
15366 | 15410 |
15367 int main() { | 15411 int main() { |
15368 $dbfunc() | 15412 $dbfunc() |
15369 ; return 0; } | 15413 ; return 0; } |
15370 EOF | 15414 EOF |
15371 if { (eval echo configure:15372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15415 if { (eval echo configure:15416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15372 rm -rf conftest* | 15416 rm -rf conftest* |
15373 eval "ac_cv_lib_$ac_lib_var=yes" | 15417 eval "ac_cv_lib_$ac_lib_var=yes" |
15374 else | 15418 else |
15375 echo "configure: failed program was:" >&5 | 15419 echo "configure: failed program was:" >&5 |
15376 cat conftest.$ac_ext >&5 | 15420 cat conftest.$ac_ext >&5 |
15425 fi | 15469 fi |
15426 | 15470 |
15427 if test "$with_socks" = "yes"; then | 15471 if test "$with_socks" = "yes"; then |
15428 | 15472 |
15429 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15473 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15430 echo "configure:15431: checking for SOCKSinit in -lsocks" >&5 | 15474 echo "configure:15475: checking for SOCKSinit in -lsocks" >&5 |
15431 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15475 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15432 | 15476 |
15433 xe_check_libs=" -lsocks " | 15477 xe_check_libs=" -lsocks " |
15434 cat > conftest.$ac_ext <<EOF | 15478 cat > conftest.$ac_ext <<EOF |
15435 #line 15436 "configure" | 15479 #line 15480 "configure" |
15436 #include "confdefs.h" | 15480 #include "confdefs.h" |
15437 /* Override any gcc2 internal prototype to avoid an error. */ | 15481 /* Override any gcc2 internal prototype to avoid an error. */ |
15438 /* We use char because int might match the return type of a gcc2 | 15482 /* We use char because int might match the return type of a gcc2 |
15439 builtin and then its argument prototype would still apply. */ | 15483 builtin and then its argument prototype would still apply. */ |
15440 char SOCKSinit(); | 15484 char SOCKSinit(); |
15441 | 15485 |
15442 int main() { | 15486 int main() { |
15443 SOCKSinit() | 15487 SOCKSinit() |
15444 ; return 0; } | 15488 ; return 0; } |
15445 EOF | 15489 EOF |
15446 if { (eval echo configure:15447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15490 if { (eval echo configure:15491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15447 rm -rf conftest* | 15491 rm -rf conftest* |
15448 eval "ac_cv_lib_$ac_lib_var=yes" | 15492 eval "ac_cv_lib_$ac_lib_var=yes" |
15449 else | 15493 else |
15450 echo "configure: failed program was:" >&5 | 15494 echo "configure: failed program was:" >&5 |
15451 cat conftest.$ac_ext >&5 | 15495 cat conftest.$ac_ext >&5 |
15494 } | 15538 } |
15495 | 15539 |
15496 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi | 15540 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi |
15497 fi | 15541 fi |
15498 | 15542 |
15499 cat > conftest.$ac_ext <<EOF | 15543 if test "$use_number_lib" = "gmp"; then |
15500 #line 15501 "configure" | 15544 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
15545 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 | |
15546 echo "configure:15547: checking for gmp.h" >&5 | |
15547 | |
15548 cat > conftest.$ac_ext <<EOF | |
15549 #line 15550 "configure" | |
15550 #include "confdefs.h" | |
15551 #include <gmp.h> | |
15552 EOF | |
15553 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
15554 { (eval echo configure:15555: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
15555 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
15556 if test -z "$ac_err"; then | |
15557 rm -rf conftest* | |
15558 eval "ac_cv_header_$ac_safe=yes" | |
15559 else | |
15560 echo "$ac_err" >&5 | |
15561 echo "configure: failed program was:" >&5 | |
15562 cat conftest.$ac_ext >&5 | |
15563 rm -rf conftest* | |
15564 eval "ac_cv_header_$ac_safe=no" | |
15565 fi | |
15566 rm -f conftest* | |
15567 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
15568 echo "$ac_t""yes" 1>&6 | |
15569 | |
15570 | |
15571 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 | |
15572 echo "configure:15573: checking for __gmpz_init in -lgmp" >&5 | |
15573 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` | |
15574 | |
15575 xe_check_libs=" -lgmp " | |
15576 cat > conftest.$ac_ext <<EOF | |
15577 #line 15578 "configure" | |
15578 #include "confdefs.h" | |
15579 /* Override any gcc2 internal prototype to avoid an error. */ | |
15580 /* We use char because int might match the return type of a gcc2 | |
15581 builtin and then its argument prototype would still apply. */ | |
15582 char __gmpz_init(); | |
15583 | |
15584 int main() { | |
15585 __gmpz_init() | |
15586 ; return 0; } | |
15587 EOF | |
15588 if { (eval echo configure:15589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15589 rm -rf conftest* | |
15590 eval "ac_cv_lib_$ac_lib_var=yes" | |
15591 else | |
15592 echo "configure: failed program was:" >&5 | |
15593 cat conftest.$ac_ext >&5 | |
15594 rm -rf conftest* | |
15595 eval "ac_cv_lib_$ac_lib_var=no" | |
15596 fi | |
15597 rm -f conftest* | |
15598 xe_check_libs="" | |
15599 | |
15600 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
15601 echo "$ac_t""yes" 1>&6 | |
15602 have_mpz_init=yes | |
15603 else | |
15604 echo "$ac_t""no" 1>&6 | |
15605 fi | |
15606 | |
15607 | |
15608 else | |
15609 echo "$ac_t""no" 1>&6 | |
15610 fi | |
15611 | |
15612 if test "$have_mpz_init" = "yes"; then | |
15613 { test "$extra_verbose" = "yes" && cat << \EOF | |
15614 Defining WITH_NUMBER_TYPES | |
15615 EOF | |
15616 cat >> confdefs.h <<\EOF | |
15617 #define WITH_NUMBER_TYPES 1 | |
15618 EOF | |
15619 } | |
15620 | |
15621 { test "$extra_verbose" = "yes" && cat << \EOF | |
15622 Defining WITH_GMP | |
15623 EOF | |
15624 cat >> confdefs.h <<\EOF | |
15625 #define WITH_GMP 1 | |
15626 EOF | |
15627 } | |
15628 | |
15629 LIBS="-lgmp $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lgmp\" to \$LIBS"; fi | |
15630 else | |
15631 { echo "Error:" "Required GMP numeric support cannot be provided." >&2; exit 1; } | |
15632 fi | |
15633 elif test "$use_number_lib" = "mp"; then | |
15634 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` | |
15635 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 | |
15636 echo "configure:15637: checking for mp.h" >&5 | |
15637 | |
15638 cat > conftest.$ac_ext <<EOF | |
15639 #line 15640 "configure" | |
15640 #include "confdefs.h" | |
15641 #include <mp.h> | |
15642 EOF | |
15643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | |
15644 { (eval echo configure:15645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
15645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | |
15646 if test -z "$ac_err"; then | |
15647 rm -rf conftest* | |
15648 eval "ac_cv_header_$ac_safe=yes" | |
15649 else | |
15650 echo "$ac_err" >&5 | |
15651 echo "configure: failed program was:" >&5 | |
15652 cat conftest.$ac_ext >&5 | |
15653 rm -rf conftest* | |
15654 eval "ac_cv_header_$ac_safe=no" | |
15655 fi | |
15656 rm -f conftest* | |
15657 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | |
15658 echo "$ac_t""yes" 1>&6 | |
15659 | |
15660 | |
15661 echo $ac_n "checking for mp_mfree in -lmp""... $ac_c" 1>&6 | |
15662 echo "configure:15663: checking for mp_mfree in -lmp" >&5 | |
15663 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` | |
15664 | |
15665 xe_check_libs=" -lmp " | |
15666 cat > conftest.$ac_ext <<EOF | |
15667 #line 15668 "configure" | |
15668 #include "confdefs.h" | |
15669 /* Override any gcc2 internal prototype to avoid an error. */ | |
15670 /* We use char because int might match the return type of a gcc2 | |
15671 builtin and then its argument prototype would still apply. */ | |
15672 char mp_mfree(); | |
15673 | |
15674 int main() { | |
15675 mp_mfree() | |
15676 ; return 0; } | |
15677 EOF | |
15678 if { (eval echo configure:15679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15679 rm -rf conftest* | |
15680 eval "ac_cv_lib_$ac_lib_var=yes" | |
15681 else | |
15682 echo "configure: failed program was:" >&5 | |
15683 cat conftest.$ac_ext >&5 | |
15684 rm -rf conftest* | |
15685 eval "ac_cv_lib_$ac_lib_var=no" | |
15686 fi | |
15687 rm -f conftest* | |
15688 xe_check_libs="" | |
15689 | |
15690 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
15691 echo "$ac_t""yes" 1>&6 | |
15692 have_mp_mfree=yes | |
15693 else | |
15694 echo "$ac_t""no" 1>&6 | |
15695 | |
15696 echo $ac_n "checking for mfree in -lmp""... $ac_c" 1>&6 | |
15697 echo "configure:15698: checking for mfree in -lmp" >&5 | |
15698 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` | |
15699 | |
15700 xe_check_libs=" -lmp " | |
15701 cat > conftest.$ac_ext <<EOF | |
15702 #line 15703 "configure" | |
15703 #include "confdefs.h" | |
15704 /* Override any gcc2 internal prototype to avoid an error. */ | |
15705 /* We use char because int might match the return type of a gcc2 | |
15706 builtin and then its argument prototype would still apply. */ | |
15707 char mfree(); | |
15708 | |
15709 int main() { | |
15710 mfree() | |
15711 ; return 0; } | |
15712 EOF | |
15713 if { (eval echo configure:15714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15714 rm -rf conftest* | |
15715 eval "ac_cv_lib_$ac_lib_var=yes" | |
15716 else | |
15717 echo "configure: failed program was:" >&5 | |
15718 cat conftest.$ac_ext >&5 | |
15719 rm -rf conftest* | |
15720 eval "ac_cv_lib_$ac_lib_var=no" | |
15721 fi | |
15722 rm -f conftest* | |
15723 xe_check_libs="" | |
15724 | |
15725 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
15726 echo "$ac_t""yes" 1>&6 | |
15727 have_mfree=yes | |
15728 else | |
15729 echo "$ac_t""no" 1>&6 | |
15730 fi | |
15731 | |
15732 | |
15733 fi | |
15734 | |
15735 | |
15736 else | |
15737 echo "$ac_t""no" 1>&6 | |
15738 fi | |
15739 | |
15740 if test "$have_mp_mfree" = "yes"; then | |
15741 { test "$extra_verbose" = "yes" && cat << \EOF | |
15742 Defining MP_PREFIX | |
15743 EOF | |
15744 cat >> confdefs.h <<\EOF | |
15745 #define MP_PREFIX 1 | |
15746 EOF | |
15747 } | |
15748 | |
15749 LIBS="-lmp $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lmp\" to \$LIBS"; fi | |
15750 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 | |
15751 echo "configure:15752: checking for mp_move" >&5 | |
15752 | |
15753 cat > conftest.$ac_ext <<EOF | |
15754 #line 15755 "configure" | |
15755 #include "confdefs.h" | |
15756 /* System header to define __stub macros and hopefully few prototypes, | |
15757 which can conflict with char mp_move(); below. */ | |
15758 #include <assert.h> | |
15759 /* Override any gcc2 internal prototype to avoid an error. */ | |
15760 /* We use char because int might match the return type of a gcc2 | |
15761 builtin and then its argument prototype would still apply. */ | |
15762 char mp_move(); | |
15763 | |
15764 int main() { | |
15765 | |
15766 /* The GNU C library defines this for functions which it implements | |
15767 to always fail with ENOSYS. Some functions are actually named | |
15768 something starting with __ and the normal name is an alias. */ | |
15769 #if defined (__stub_mp_move) || defined (__stub___mp_move) | |
15770 choke me | |
15771 #else | |
15772 mp_move(); | |
15773 #endif | |
15774 | |
15775 ; return 0; } | |
15776 EOF | |
15777 if { (eval echo configure:15778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15778 rm -rf conftest* | |
15779 eval "ac_cv_func_mp_move=yes" | |
15780 else | |
15781 echo "configure: failed program was:" >&5 | |
15782 cat conftest.$ac_ext >&5 | |
15783 rm -rf conftest* | |
15784 eval "ac_cv_func_mp_move=no" | |
15785 fi | |
15786 rm -f conftest* | |
15787 | |
15788 if eval "test \"`echo '$ac_cv_func_'mp_move`\" = yes"; then | |
15789 echo "$ac_t""yes" 1>&6 | |
15790 { test "$extra_verbose" = "yes" && cat << \EOF | |
15791 Defining HAVE_MP_MOVE | |
15792 EOF | |
15793 cat >> confdefs.h <<\EOF | |
15794 #define HAVE_MP_MOVE 1 | |
15795 EOF | |
15796 } | |
15797 | |
15798 else | |
15799 echo "$ac_t""no" 1>&6 | |
15800 fi | |
15801 | |
15802 elif test "$have_mfree" = "yes"; then | |
15803 LIBS="-lmp $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lmp\" to \$LIBS"; fi | |
15804 echo $ac_n "checking for move""... $ac_c" 1>&6 | |
15805 echo "configure:15806: checking for move" >&5 | |
15806 | |
15807 cat > conftest.$ac_ext <<EOF | |
15808 #line 15809 "configure" | |
15809 #include "confdefs.h" | |
15810 /* System header to define __stub macros and hopefully few prototypes, | |
15811 which can conflict with char move(); below. */ | |
15812 #include <assert.h> | |
15813 /* Override any gcc2 internal prototype to avoid an error. */ | |
15814 /* We use char because int might match the return type of a gcc2 | |
15815 builtin and then its argument prototype would still apply. */ | |
15816 char move(); | |
15817 | |
15818 int main() { | |
15819 | |
15820 /* The GNU C library defines this for functions which it implements | |
15821 to always fail with ENOSYS. Some functions are actually named | |
15822 something starting with __ and the normal name is an alias. */ | |
15823 #if defined (__stub_move) || defined (__stub___move) | |
15824 choke me | |
15825 #else | |
15826 move(); | |
15827 #endif | |
15828 | |
15829 ; return 0; } | |
15830 EOF | |
15831 if { (eval echo configure:15832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
15832 rm -rf conftest* | |
15833 eval "ac_cv_func_move=yes" | |
15834 else | |
15835 echo "configure: failed program was:" >&5 | |
15836 cat conftest.$ac_ext >&5 | |
15837 rm -rf conftest* | |
15838 eval "ac_cv_func_move=no" | |
15839 fi | |
15840 rm -f conftest* | |
15841 | |
15842 if eval "test \"`echo '$ac_cv_func_'move`\" = yes"; then | |
15843 echo "$ac_t""yes" 1>&6 | |
15844 { test "$extra_verbose" = "yes" && cat << \EOF | |
15845 Defining HAVE_MP_MOVE | |
15846 EOF | |
15847 cat >> confdefs.h <<\EOF | |
15848 #define HAVE_MP_MOVE 1 | |
15849 EOF | |
15850 } | |
15851 | |
15852 else | |
15853 echo "$ac_t""no" 1>&6 | |
15854 fi | |
15855 | |
15856 else | |
15857 { echo "Error:" "Required MP numeric support cannot be provided." >&2; exit 1; } | |
15858 fi | |
15859 { test "$extra_verbose" = "yes" && cat << \EOF | |
15860 Defining WITH_NUMBER_TYPES | |
15861 EOF | |
15862 cat >> confdefs.h <<\EOF | |
15863 #define WITH_NUMBER_TYPES 1 | |
15864 EOF | |
15865 } | |
15866 | |
15867 { test "$extra_verbose" = "yes" && cat << \EOF | |
15868 Defining WITH_MP | |
15869 EOF | |
15870 cat >> confdefs.h <<\EOF | |
15871 #define WITH_MP 1 | |
15872 EOF | |
15873 } | |
15874 | |
15875 fi | |
15876 | |
15877 cat > conftest.$ac_ext <<EOF | |
15878 #line 15879 "configure" | |
15501 #include "confdefs.h" | 15879 #include "confdefs.h" |
15502 int main(int c,char *v[]){return 0;} | 15880 int main(int c,char *v[]){return 0;} |
15503 EOF | 15881 EOF |
15504 if { (eval echo configure:15505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 15882 if { (eval echo configure:15883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
15505 then | 15883 then |
15506 : | 15884 : |
15507 else | 15885 else |
15508 conftest_rc="$?" | 15886 conftest_rc="$?" |
15509 echo "configure: failed program was:" >&5 | 15887 echo "configure: failed program was:" >&5 |
16307 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | 16685 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
16308 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | 16686 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." |
16309 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | 16687 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
16310 test "$with_dnet" = yes && echo " Compiling in support for DNET." | 16688 test "$with_dnet" = yes && echo " Compiling in support for DNET." |
16311 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." | 16689 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." |
16690 test "$use_number_lib" = "gmp" && echo " Compiling in support for more number types using the GNU MP library." | |
16691 test "$use_number_lib" = "mp" && echo " Compiling in support for more number types using the BSD MP library." | |
16312 if test "$use_union_type" = yes ; then | 16692 if test "$use_union_type" = yes ; then |
16313 echo " Using the union type for Lisp_Objects." | 16693 echo " Using the union type for Lisp_Objects." |
16314 echo " WARNING: ---------------------------------------------------------" | 16694 echo " WARNING: ---------------------------------------------------------" |
16315 echo " WARNING: This tends to trigger compiler bugs, especially when" | 16695 echo " WARNING: This tends to trigger compiler bugs, especially when" |
16316 echo " WARNING: combined with MULE and ERROR_CHECKING. Crashes have" | 16696 echo " WARNING: combined with MULE and ERROR_CHECKING. Crashes have" |