Mercurial > vim
comparison src/auto/configure @ 16:3ba373b54370 v7.0008
updated for version 7.0008
author | vimboss |
---|---|
date | Mon, 12 Jul 2004 15:53:54 +0000 |
parents | 946da5994c01 |
children | 9be87deaeb52 |
comparison
equal
deleted
inserted
replaced
15:631143ac4a01 | 16:3ba373b54370 |
---|---|
1657 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then | 1657 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then |
1658 if test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then | 1658 if test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then |
1659 MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a ${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a" | 1659 MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a ${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a" |
1660 else | 1660 else |
1661 MZSCHEME_LIBS="-L${vi_cv_path_mzscheme_pfx}/lib -lmzgc -lmzscheme" | 1661 MZSCHEME_LIBS="-L${vi_cv_path_mzscheme_pfx}/lib -lmzgc -lmzscheme" |
1662 if test "$GCC" = yes; then | |
1663 MZSCHEME_LIBS="$MZSCHEME_LIBS -Wl,-rpath -Wl,${vi_cv_path_mzscheme_pfx}/lib" | |
1664 fi | |
1662 fi | 1665 fi |
1663 MZSCHEME_CFLAGS="-I${vi_cv_path_mzscheme_pfx}/include \ | 1666 MZSCHEME_CFLAGS="-I${vi_cv_path_mzscheme_pfx}/include \ |
1664 -DMZSCHEME_COLLECTS='\"${vi_cv_path_mzscheme_pfx}/collects\"'" | 1667 -DMZSCHEME_COLLECTS='\"${vi_cv_path_mzscheme_pfx}/collects\"'" |
1665 MZSCHEME_SRC="if_mzsch.c" | 1668 MZSCHEME_SRC="if_mzsch.c" |
1666 MZSCHEME_OBJ="objects/if_mzsch.o" | 1669 MZSCHEME_OBJ="objects/if_mzsch.o" |
1677 | 1680 |
1678 fi | 1681 fi |
1679 | 1682 |
1680 | 1683 |
1681 echo $ac_n "checking --enable-perlinterp argument""... $ac_c" 1>&6 | 1684 echo $ac_n "checking --enable-perlinterp argument""... $ac_c" 1>&6 |
1682 echo "configure:1683: checking --enable-perlinterp argument" >&5 | 1685 echo "configure:1686: checking --enable-perlinterp argument" >&5 |
1683 # Check whether --enable-perlinterp or --disable-perlinterp was given. | 1686 # Check whether --enable-perlinterp or --disable-perlinterp was given. |
1684 if test "${enable_perlinterp+set}" = set; then | 1687 if test "${enable_perlinterp+set}" = set; then |
1685 enableval="$enable_perlinterp" | 1688 enableval="$enable_perlinterp" |
1686 : | 1689 : |
1687 else | 1690 else |
1692 if test "$enable_perlinterp" = "yes"; then | 1695 if test "$enable_perlinterp" = "yes"; then |
1693 | 1696 |
1694 # Extract the first word of "perl", so it can be a program name with args. | 1697 # Extract the first word of "perl", so it can be a program name with args. |
1695 set dummy perl; ac_word=$2 | 1698 set dummy perl; ac_word=$2 |
1696 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1699 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1697 echo "configure:1698: checking for $ac_word" >&5 | 1700 echo "configure:1701: checking for $ac_word" >&5 |
1698 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_perl'+set}'`\" = set"; then | 1701 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_perl'+set}'`\" = set"; then |
1699 echo $ac_n "(cached) $ac_c" 1>&6 | 1702 echo $ac_n "(cached) $ac_c" 1>&6 |
1700 else | 1703 else |
1701 case "$vi_cv_path_perl" in | 1704 case "$vi_cv_path_perl" in |
1702 /*) | 1705 /*) |
1726 echo "$ac_t""no" 1>&6 | 1729 echo "$ac_t""no" 1>&6 |
1727 fi | 1730 fi |
1728 | 1731 |
1729 if test "X$vi_cv_path_perl" != "X"; then | 1732 if test "X$vi_cv_path_perl" != "X"; then |
1730 echo $ac_n "checking Perl version""... $ac_c" 1>&6 | 1733 echo $ac_n "checking Perl version""... $ac_c" 1>&6 |
1731 echo "configure:1732: checking Perl version" >&5 | 1734 echo "configure:1735: checking Perl version" >&5 |
1732 if $vi_cv_path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then | 1735 if $vi_cv_path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then |
1733 eval `$vi_cv_path_perl -V:usethreads` | 1736 eval `$vi_cv_path_perl -V:usethreads` |
1734 if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then | 1737 if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then |
1735 badthreads=no | 1738 badthreads=no |
1736 else | 1739 else |
1762 -e 's/-bE:perl.exp//' -e 's/-lc //'` | 1765 -e 's/-bE:perl.exp//' -e 's/-lc //'` |
1763 perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \ | 1766 perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \ |
1764 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'` | 1767 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'` |
1765 | 1768 |
1766 echo $ac_n "checking if compile and link flags for Perl are sane""... $ac_c" 1>&6 | 1769 echo $ac_n "checking if compile and link flags for Perl are sane""... $ac_c" 1>&6 |
1767 echo "configure:1768: checking if compile and link flags for Perl are sane" >&5 | 1770 echo "configure:1771: checking if compile and link flags for Perl are sane" >&5 |
1768 cflags_save=$CFLAGS | 1771 cflags_save=$CFLAGS |
1769 libs_save=$LIBS | 1772 libs_save=$LIBS |
1770 ldflags_save=$LDFLAGS | 1773 ldflags_save=$LDFLAGS |
1771 CFLAGS="$CFLAGS $perlcppflags" | 1774 CFLAGS="$CFLAGS $perlcppflags" |
1772 LIBS="$LIBS $perllibs" | 1775 LIBS="$LIBS $perllibs" |
1773 LDFLAGS="$perlldflags $LDFLAGS" | 1776 LDFLAGS="$perlldflags $LDFLAGS" |
1774 cat > conftest.$ac_ext <<EOF | 1777 cat > conftest.$ac_ext <<EOF |
1775 #line 1776 "configure" | 1778 #line 1779 "configure" |
1776 #include "confdefs.h" | 1779 #include "confdefs.h" |
1777 | 1780 |
1778 int main() { | 1781 int main() { |
1779 | 1782 |
1780 ; return 0; } | 1783 ; return 0; } |
1781 EOF | 1784 EOF |
1782 if { (eval echo configure:1783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1785 if { (eval echo configure:1786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1783 rm -rf conftest* | 1786 rm -rf conftest* |
1784 echo "$ac_t""yes" 1>&6; perl_ok=yes | 1787 echo "$ac_t""yes" 1>&6; perl_ok=yes |
1785 else | 1788 else |
1786 echo "configure: failed program was:" >&5 | 1789 echo "configure: failed program was:" >&5 |
1787 cat conftest.$ac_ext >&5 | 1790 cat conftest.$ac_ext >&5 |
1840 | 1843 |
1841 | 1844 |
1842 | 1845 |
1843 | 1846 |
1844 echo $ac_n "checking --enable-pythoninterp argument""... $ac_c" 1>&6 | 1847 echo $ac_n "checking --enable-pythoninterp argument""... $ac_c" 1>&6 |
1845 echo "configure:1846: checking --enable-pythoninterp argument" >&5 | 1848 echo "configure:1849: checking --enable-pythoninterp argument" >&5 |
1846 # Check whether --enable-pythoninterp or --disable-pythoninterp was given. | 1849 # Check whether --enable-pythoninterp or --disable-pythoninterp was given. |
1847 if test "${enable_pythoninterp+set}" = set; then | 1850 if test "${enable_pythoninterp+set}" = set; then |
1848 enableval="$enable_pythoninterp" | 1851 enableval="$enable_pythoninterp" |
1849 : | 1852 : |
1850 else | 1853 else |
1854 echo "$ac_t""$enable_pythoninterp" 1>&6 | 1857 echo "$ac_t""$enable_pythoninterp" 1>&6 |
1855 if test "$enable_pythoninterp" = "yes"; then | 1858 if test "$enable_pythoninterp" = "yes"; then |
1856 # Extract the first word of "python", so it can be a program name with args. | 1859 # Extract the first word of "python", so it can be a program name with args. |
1857 set dummy python; ac_word=$2 | 1860 set dummy python; ac_word=$2 |
1858 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1861 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1859 echo "configure:1860: checking for $ac_word" >&5 | 1862 echo "configure:1863: checking for $ac_word" >&5 |
1860 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_python'+set}'`\" = set"; then | 1863 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_python'+set}'`\" = set"; then |
1861 echo $ac_n "(cached) $ac_c" 1>&6 | 1864 echo $ac_n "(cached) $ac_c" 1>&6 |
1862 else | 1865 else |
1863 case "$vi_cv_path_python" in | 1866 case "$vi_cv_path_python" in |
1864 /*) | 1867 /*) |
1889 fi | 1892 fi |
1890 | 1893 |
1891 if test "X$vi_cv_path_python" != "X"; then | 1894 if test "X$vi_cv_path_python" != "X"; then |
1892 | 1895 |
1893 echo $ac_n "checking Python version""... $ac_c" 1>&6 | 1896 echo $ac_n "checking Python version""... $ac_c" 1>&6 |
1894 echo "configure:1895: checking Python version" >&5 | 1897 echo "configure:1898: checking Python version" >&5 |
1895 if eval "test \"`echo '$''{'vi_cv_var_python_version'+set}'`\" = set"; then | 1898 if eval "test \"`echo '$''{'vi_cv_var_python_version'+set}'`\" = set"; then |
1896 echo $ac_n "(cached) $ac_c" 1>&6 | 1899 echo $ac_n "(cached) $ac_c" 1>&6 |
1897 else | 1900 else |
1898 vi_cv_var_python_version=` | 1901 vi_cv_var_python_version=` |
1899 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'` | 1902 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'` |
1901 fi | 1904 fi |
1902 | 1905 |
1903 echo "$ac_t""$vi_cv_var_python_version" 1>&6 | 1906 echo "$ac_t""$vi_cv_var_python_version" 1>&6 |
1904 | 1907 |
1905 echo $ac_n "checking Python is 1.4 or better""... $ac_c" 1>&6 | 1908 echo $ac_n "checking Python is 1.4 or better""... $ac_c" 1>&6 |
1906 echo "configure:1907: checking Python is 1.4 or better" >&5 | 1909 echo "configure:1910: checking Python is 1.4 or better" >&5 |
1907 if ${vi_cv_path_python} -c \ | 1910 if ${vi_cv_path_python} -c \ |
1908 "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)" | 1911 "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)" |
1909 then | 1912 then |
1910 echo "$ac_t""yep" 1>&6 | 1913 echo "$ac_t""yep" 1>&6 |
1911 | 1914 |
1912 echo $ac_n "checking Python's install prefix""... $ac_c" 1>&6 | 1915 echo $ac_n "checking Python's install prefix""... $ac_c" 1>&6 |
1913 echo "configure:1914: checking Python's install prefix" >&5 | 1916 echo "configure:1917: checking Python's install prefix" >&5 |
1914 if eval "test \"`echo '$''{'vi_cv_path_python_pfx'+set}'`\" = set"; then | 1917 if eval "test \"`echo '$''{'vi_cv_path_python_pfx'+set}'`\" = set"; then |
1915 echo $ac_n "(cached) $ac_c" 1>&6 | 1918 echo $ac_n "(cached) $ac_c" 1>&6 |
1916 else | 1919 else |
1917 vi_cv_path_python_pfx=` | 1920 vi_cv_path_python_pfx=` |
1918 ${vi_cv_path_python} -c \ | 1921 ${vi_cv_path_python} -c \ |
1920 fi | 1923 fi |
1921 | 1924 |
1922 echo "$ac_t""$vi_cv_path_python_pfx" 1>&6 | 1925 echo "$ac_t""$vi_cv_path_python_pfx" 1>&6 |
1923 | 1926 |
1924 echo $ac_n "checking Python's execution prefix""... $ac_c" 1>&6 | 1927 echo $ac_n "checking Python's execution prefix""... $ac_c" 1>&6 |
1925 echo "configure:1926: checking Python's execution prefix" >&5 | 1928 echo "configure:1929: checking Python's execution prefix" >&5 |
1926 if eval "test \"`echo '$''{'vi_cv_path_python_epfx'+set}'`\" = set"; then | 1929 if eval "test \"`echo '$''{'vi_cv_path_python_epfx'+set}'`\" = set"; then |
1927 echo $ac_n "(cached) $ac_c" 1>&6 | 1930 echo $ac_n "(cached) $ac_c" 1>&6 |
1928 else | 1931 else |
1929 vi_cv_path_python_epfx=` | 1932 vi_cv_path_python_epfx=` |
1930 ${vi_cv_path_python} -c \ | 1933 ${vi_cv_path_python} -c \ |
1951 vi_cv_path_python_conf="${withval}" | 1954 vi_cv_path_python_conf="${withval}" |
1952 fi | 1955 fi |
1953 | 1956 |
1954 | 1957 |
1955 echo $ac_n "checking Python's configuration directory""... $ac_c" 1>&6 | 1958 echo $ac_n "checking Python's configuration directory""... $ac_c" 1>&6 |
1956 echo "configure:1957: checking Python's configuration directory" >&5 | 1959 echo "configure:1960: checking Python's configuration directory" >&5 |
1957 if eval "test \"`echo '$''{'vi_cv_path_python_conf'+set}'`\" = set"; then | 1960 if eval "test \"`echo '$''{'vi_cv_path_python_conf'+set}'`\" = set"; then |
1958 echo $ac_n "(cached) $ac_c" 1>&6 | 1961 echo $ac_n "(cached) $ac_c" 1>&6 |
1959 else | 1962 else |
1960 | 1963 |
1961 vi_cv_path_python_conf= | 1964 vi_cv_path_python_conf= |
2024 PYTHON_OBJ="$PYTHON_OBJ objects/py_getpath.o" | 2027 PYTHON_OBJ="$PYTHON_OBJ objects/py_getpath.o" |
2025 fi | 2028 fi |
2026 PYTHON_GETPATH_CFLAGS="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'" | 2029 PYTHON_GETPATH_CFLAGS="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'" |
2027 | 2030 |
2028 echo $ac_n "checking if -pthread should be used""... $ac_c" 1>&6 | 2031 echo $ac_n "checking if -pthread should be used""... $ac_c" 1>&6 |
2029 echo "configure:2030: checking if -pthread should be used" >&5 | 2032 echo "configure:2033: checking if -pthread should be used" >&5 |
2030 threadsafe_flag= | 2033 threadsafe_flag= |
2031 thread_lib= | 2034 thread_lib= |
2032 if test "x$MACOSX" != "xyes"; then | 2035 if test "x$MACOSX" != "xyes"; then |
2033 test "$GCC" = yes && threadsafe_flag="-pthread" | 2036 test "$GCC" = yes && threadsafe_flag="-pthread" |
2034 if test "`(uname) 2>/dev/null`" = FreeBSD; then | 2037 if test "`(uname) 2>/dev/null`" = FreeBSD; then |
2040 if test -n "$threadsafe_flag"; then | 2043 if test -n "$threadsafe_flag"; then |
2041 cflags_save=$CFLAGS | 2044 cflags_save=$CFLAGS |
2042 CFLAGS="$CFLAGS $threadsafe_flag" | 2045 CFLAGS="$CFLAGS $threadsafe_flag" |
2043 LIBS="$LIBS $thread_lib" | 2046 LIBS="$LIBS $thread_lib" |
2044 cat > conftest.$ac_ext <<EOF | 2047 cat > conftest.$ac_ext <<EOF |
2045 #line 2046 "configure" | 2048 #line 2049 "configure" |
2046 #include "confdefs.h" | 2049 #include "confdefs.h" |
2047 | 2050 |
2048 int main() { | 2051 int main() { |
2049 | 2052 |
2050 ; return 0; } | 2053 ; return 0; } |
2051 EOF | 2054 EOF |
2052 if { (eval echo configure:2053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2055 if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2053 rm -rf conftest* | 2056 rm -rf conftest* |
2054 echo "$ac_t""yes" 1>&6; PYTHON_CFLAGS="$PYTHON_CFLAGS $threadsafe_flag" | 2057 echo "$ac_t""yes" 1>&6; PYTHON_CFLAGS="$PYTHON_CFLAGS $threadsafe_flag" |
2055 else | 2058 else |
2056 echo "configure: failed program was:" >&5 | 2059 echo "configure: failed program was:" >&5 |
2057 cat conftest.$ac_ext >&5 | 2060 cat conftest.$ac_ext >&5 |
2064 else | 2067 else |
2065 echo "$ac_t""no" 1>&6 | 2068 echo "$ac_t""no" 1>&6 |
2066 fi | 2069 fi |
2067 | 2070 |
2068 echo $ac_n "checking if compile and link flags for Python are sane""... $ac_c" 1>&6 | 2071 echo $ac_n "checking if compile and link flags for Python are sane""... $ac_c" 1>&6 |
2069 echo "configure:2070: checking if compile and link flags for Python are sane" >&5 | 2072 echo "configure:2073: checking if compile and link flags for Python are sane" >&5 |
2070 cflags_save=$CFLAGS | 2073 cflags_save=$CFLAGS |
2071 libs_save=$LIBS | 2074 libs_save=$LIBS |
2072 CFLAGS="$CFLAGS $PYTHON_CFLAGS" | 2075 CFLAGS="$CFLAGS $PYTHON_CFLAGS" |
2073 LIBS="$LIBS $PYTHON_LIBS" | 2076 LIBS="$LIBS $PYTHON_LIBS" |
2074 cat > conftest.$ac_ext <<EOF | 2077 cat > conftest.$ac_ext <<EOF |
2075 #line 2076 "configure" | 2078 #line 2079 "configure" |
2076 #include "confdefs.h" | 2079 #include "confdefs.h" |
2077 | 2080 |
2078 int main() { | 2081 int main() { |
2079 | 2082 |
2080 ; return 0; } | 2083 ; return 0; } |
2081 EOF | 2084 EOF |
2082 if { (eval echo configure:2083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2085 if { (eval echo configure:2086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2083 rm -rf conftest* | 2086 rm -rf conftest* |
2084 echo "$ac_t""yes" 1>&6; python_ok=yes | 2087 echo "$ac_t""yes" 1>&6; python_ok=yes |
2085 else | 2088 else |
2086 echo "configure: failed program was:" >&5 | 2089 echo "configure: failed program was:" >&5 |
2087 cat conftest.$ac_ext >&5 | 2090 cat conftest.$ac_ext >&5 |
2116 | 2119 |
2117 | 2120 |
2118 | 2121 |
2119 | 2122 |
2120 echo $ac_n "checking --enable-tclinterp argument""... $ac_c" 1>&6 | 2123 echo $ac_n "checking --enable-tclinterp argument""... $ac_c" 1>&6 |
2121 echo "configure:2122: checking --enable-tclinterp argument" >&5 | 2124 echo "configure:2125: checking --enable-tclinterp argument" >&5 |
2122 # Check whether --enable-tclinterp or --disable-tclinterp was given. | 2125 # Check whether --enable-tclinterp or --disable-tclinterp was given. |
2123 if test "${enable_tclinterp+set}" = set; then | 2126 if test "${enable_tclinterp+set}" = set; then |
2124 enableval="$enable_tclinterp" | 2127 enableval="$enable_tclinterp" |
2125 : | 2128 : |
2126 else | 2129 else |
2130 echo "$ac_t""$enable_tclinterp" 1>&6 | 2133 echo "$ac_t""$enable_tclinterp" 1>&6 |
2131 | 2134 |
2132 if test "$enable_tclinterp" = "yes"; then | 2135 if test "$enable_tclinterp" = "yes"; then |
2133 | 2136 |
2134 echo $ac_n "checking --with-tclsh argument""... $ac_c" 1>&6 | 2137 echo $ac_n "checking --with-tclsh argument""... $ac_c" 1>&6 |
2135 echo "configure:2136: checking --with-tclsh argument" >&5 | 2138 echo "configure:2139: checking --with-tclsh argument" >&5 |
2136 # Check whether --with-tclsh or --without-tclsh was given. | 2139 # Check whether --with-tclsh or --without-tclsh was given. |
2137 if test "${with_tclsh+set}" = set; then | 2140 if test "${with_tclsh+set}" = set; then |
2138 withval="$with_tclsh" | 2141 withval="$with_tclsh" |
2139 tclsh_name="$withval"; echo "$ac_t""$tclsh_name" 1>&6 | 2142 tclsh_name="$withval"; echo "$ac_t""$tclsh_name" 1>&6 |
2140 else | 2143 else |
2142 fi | 2145 fi |
2143 | 2146 |
2144 # Extract the first word of "$tclsh_name", so it can be a program name with args. | 2147 # Extract the first word of "$tclsh_name", so it can be a program name with args. |
2145 set dummy $tclsh_name; ac_word=$2 | 2148 set dummy $tclsh_name; ac_word=$2 |
2146 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2149 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2147 echo "configure:2148: checking for $ac_word" >&5 | 2150 echo "configure:2151: checking for $ac_word" >&5 |
2148 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then | 2151 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then |
2149 echo $ac_n "(cached) $ac_c" 1>&6 | 2152 echo $ac_n "(cached) $ac_c" 1>&6 |
2150 else | 2153 else |
2151 case "$vi_cv_path_tcl" in | 2154 case "$vi_cv_path_tcl" in |
2152 /*) | 2155 /*) |
2181 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.0"; then | 2184 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.0"; then |
2182 tclsh_name="tclsh8.2" | 2185 tclsh_name="tclsh8.2" |
2183 # Extract the first word of "$tclsh_name", so it can be a program name with args. | 2186 # Extract the first word of "$tclsh_name", so it can be a program name with args. |
2184 set dummy $tclsh_name; ac_word=$2 | 2187 set dummy $tclsh_name; ac_word=$2 |
2185 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2188 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2186 echo "configure:2187: checking for $ac_word" >&5 | 2189 echo "configure:2190: checking for $ac_word" >&5 |
2187 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then | 2190 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then |
2188 echo $ac_n "(cached) $ac_c" 1>&6 | 2191 echo $ac_n "(cached) $ac_c" 1>&6 |
2189 else | 2192 else |
2190 case "$vi_cv_path_tcl" in | 2193 case "$vi_cv_path_tcl" in |
2191 /*) | 2194 /*) |
2219 if test "X$vi_cv_path_tcl" = "X"; then | 2222 if test "X$vi_cv_path_tcl" = "X"; then |
2220 tclsh_name="tclsh" | 2223 tclsh_name="tclsh" |
2221 # Extract the first word of "$tclsh_name", so it can be a program name with args. | 2224 # Extract the first word of "$tclsh_name", so it can be a program name with args. |
2222 set dummy $tclsh_name; ac_word=$2 | 2225 set dummy $tclsh_name; ac_word=$2 |
2223 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2226 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2224 echo "configure:2225: checking for $ac_word" >&5 | 2227 echo "configure:2228: checking for $ac_word" >&5 |
2225 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then | 2228 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then |
2226 echo $ac_n "(cached) $ac_c" 1>&6 | 2229 echo $ac_n "(cached) $ac_c" 1>&6 |
2227 else | 2230 else |
2228 case "$vi_cv_path_tcl" in | 2231 case "$vi_cv_path_tcl" in |
2229 /*) | 2232 /*) |
2254 fi | 2257 fi |
2255 | 2258 |
2256 fi | 2259 fi |
2257 if test "X$vi_cv_path_tcl" != "X"; then | 2260 if test "X$vi_cv_path_tcl" != "X"; then |
2258 echo $ac_n "checking Tcl version""... $ac_c" 1>&6 | 2261 echo $ac_n "checking Tcl version""... $ac_c" 1>&6 |
2259 echo "configure:2260: checking Tcl version" >&5 | 2262 echo "configure:2263: checking Tcl version" >&5 |
2260 if echo 'exit [expr [info tclversion] < 8.0]' | $vi_cv_path_tcl - ; then | 2263 if echo 'exit [expr [info tclversion] < 8.0]' | $vi_cv_path_tcl - ; then |
2261 tclver=`echo 'puts [info tclversion]' | $vi_cv_path_tcl -` | 2264 tclver=`echo 'puts [info tclversion]' | $vi_cv_path_tcl -` |
2262 echo "$ac_t""$tclver - OK" 1>&6; | 2265 echo "$ac_t""$tclver - OK" 1>&6; |
2263 tclloc=`echo 'set l [info library];set i [string last lib $l];incr i -2;puts [string range $l 0 $i]' | $vi_cv_path_tcl -` | 2266 tclloc=`echo 'set l [info library];set i [string last lib $l];incr i -2;puts [string range $l 0 $i]' | $vi_cv_path_tcl -` |
2264 | 2267 |
2265 echo $ac_n "checking for location of Tcl include""... $ac_c" 1>&6 | 2268 echo $ac_n "checking for location of Tcl include""... $ac_c" 1>&6 |
2266 echo "configure:2267: checking for location of Tcl include" >&5 | 2269 echo "configure:2270: checking for location of Tcl include" >&5 |
2267 if test "x$MACOSX" != "xyes"; then | 2270 if test "x$MACOSX" != "xyes"; then |
2268 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include" | 2271 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include" |
2269 else | 2272 else |
2270 tclinc="/System/Library/Frameworks/Tcl.framework/Headers" | 2273 tclinc="/System/Library/Frameworks/Tcl.framework/Headers" |
2271 fi | 2274 fi |
2280 echo "$ac_t""<not found>" 1>&6 | 2283 echo "$ac_t""<not found>" 1>&6 |
2281 SKIP_TCL=YES | 2284 SKIP_TCL=YES |
2282 fi | 2285 fi |
2283 if test -z "$SKIP_TCL"; then | 2286 if test -z "$SKIP_TCL"; then |
2284 echo $ac_n "checking for location of tclConfig.sh script""... $ac_c" 1>&6 | 2287 echo $ac_n "checking for location of tclConfig.sh script""... $ac_c" 1>&6 |
2285 echo "configure:2286: checking for location of tclConfig.sh script" >&5 | 2288 echo "configure:2289: checking for location of tclConfig.sh script" >&5 |
2286 if test "x$MACOSX" != "xyes"; then | 2289 if test "x$MACOSX" != "xyes"; then |
2287 tclcnf=`echo $tclinc | sed s/include/lib/g` | 2290 tclcnf=`echo $tclinc | sed s/include/lib/g` |
2288 else | 2291 else |
2289 tclcnf="/System/Library/Frameworks/Tcl.framework" | 2292 tclcnf="/System/Library/Frameworks/Tcl.framework" |
2290 fi | 2293 fi |
2298 fi | 2301 fi |
2299 done | 2302 done |
2300 if test -z "$TCL_LIBS"; then | 2303 if test -z "$TCL_LIBS"; then |
2301 echo "$ac_t""<not found>" 1>&6 | 2304 echo "$ac_t""<not found>" 1>&6 |
2302 echo $ac_n "checking for Tcl library by myself""... $ac_c" 1>&6 | 2305 echo $ac_n "checking for Tcl library by myself""... $ac_c" 1>&6 |
2303 echo "configure:2304: checking for Tcl library by myself" >&5 | 2306 echo "configure:2307: checking for Tcl library by myself" >&5 |
2304 tcllib=`echo $tclinc | sed s/include/lib/g` | 2307 tcllib=`echo $tclinc | sed s/include/lib/g` |
2305 for ext in .so .a ; do | 2308 for ext in .so .a ; do |
2306 for ver in "" $tclver ; do | 2309 for ver in "" $tclver ; do |
2307 for try in $tcllib ; do | 2310 for try in $tcllib ; do |
2308 trylib=tcl$ver$ext | 2311 trylib=tcl$ver$ext |
2344 | 2347 |
2345 | 2348 |
2346 | 2349 |
2347 | 2350 |
2348 echo $ac_n "checking --enable-rubyinterp argument""... $ac_c" 1>&6 | 2351 echo $ac_n "checking --enable-rubyinterp argument""... $ac_c" 1>&6 |
2349 echo "configure:2350: checking --enable-rubyinterp argument" >&5 | 2352 echo "configure:2353: checking --enable-rubyinterp argument" >&5 |
2350 # Check whether --enable-rubyinterp or --disable-rubyinterp was given. | 2353 # Check whether --enable-rubyinterp or --disable-rubyinterp was given. |
2351 if test "${enable_rubyinterp+set}" = set; then | 2354 if test "${enable_rubyinterp+set}" = set; then |
2352 enableval="$enable_rubyinterp" | 2355 enableval="$enable_rubyinterp" |
2353 : | 2356 : |
2354 else | 2357 else |
2359 if test "$enable_rubyinterp" = "yes"; then | 2362 if test "$enable_rubyinterp" = "yes"; then |
2360 | 2363 |
2361 # Extract the first word of "ruby", so it can be a program name with args. | 2364 # Extract the first word of "ruby", so it can be a program name with args. |
2362 set dummy ruby; ac_word=$2 | 2365 set dummy ruby; ac_word=$2 |
2363 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2366 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2364 echo "configure:2365: checking for $ac_word" >&5 | 2367 echo "configure:2368: checking for $ac_word" >&5 |
2365 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_ruby'+set}'`\" = set"; then | 2368 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_ruby'+set}'`\" = set"; then |
2366 echo $ac_n "(cached) $ac_c" 1>&6 | 2369 echo $ac_n "(cached) $ac_c" 1>&6 |
2367 else | 2370 else |
2368 case "$vi_cv_path_ruby" in | 2371 case "$vi_cv_path_ruby" in |
2369 /*) | 2372 /*) |
2393 echo "$ac_t""no" 1>&6 | 2396 echo "$ac_t""no" 1>&6 |
2394 fi | 2397 fi |
2395 | 2398 |
2396 if test "X$vi_cv_path_ruby" != "X"; then | 2399 if test "X$vi_cv_path_ruby" != "X"; then |
2397 echo $ac_n "checking Ruby version""... $ac_c" 1>&6 | 2400 echo $ac_n "checking Ruby version""... $ac_c" 1>&6 |
2398 echo "configure:2399: checking Ruby version" >&5 | 2401 echo "configure:2402: checking Ruby version" >&5 |
2399 if $vi_cv_path_ruby -e 'VERSION >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then | 2402 if $vi_cv_path_ruby -e 'VERSION >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then |
2400 echo "$ac_t""OK" 1>&6 | 2403 echo "$ac_t""OK" 1>&6 |
2401 echo $ac_n "checking Ruby header files""... $ac_c" 1>&6 | 2404 echo $ac_n "checking Ruby header files""... $ac_c" 1>&6 |
2402 echo "configure:2403: checking Ruby header files" >&5 | 2405 echo "configure:2406: checking Ruby header files" >&5 |
2403 rubyhdrdir=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null` | 2406 rubyhdrdir=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null` |
2404 if test "X$rubyhdrdir" != "X"; then | 2407 if test "X$rubyhdrdir" != "X"; then |
2405 echo "$ac_t""$rubyhdrdir" 1>&6 | 2408 echo "$ac_t""$rubyhdrdir" 1>&6 |
2406 RUBY_CFLAGS="-I$rubyhdrdir" | 2409 RUBY_CFLAGS="-I$rubyhdrdir" |
2407 rubylibs=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'` | 2410 rubylibs=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'` |
2449 | 2452 |
2450 | 2453 |
2451 | 2454 |
2452 | 2455 |
2453 echo $ac_n "checking --enable-cscope argument""... $ac_c" 1>&6 | 2456 echo $ac_n "checking --enable-cscope argument""... $ac_c" 1>&6 |
2454 echo "configure:2455: checking --enable-cscope argument" >&5 | 2457 echo "configure:2458: checking --enable-cscope argument" >&5 |
2455 # Check whether --enable-cscope or --disable-cscope was given. | 2458 # Check whether --enable-cscope or --disable-cscope was given. |
2456 if test "${enable_cscope+set}" = set; then | 2459 if test "${enable_cscope+set}" = set; then |
2457 enableval="$enable_cscope" | 2460 enableval="$enable_cscope" |
2458 : | 2461 : |
2459 else | 2462 else |
2467 EOF | 2470 EOF |
2468 | 2471 |
2469 fi | 2472 fi |
2470 | 2473 |
2471 echo $ac_n "checking --enable-workshop argument""... $ac_c" 1>&6 | 2474 echo $ac_n "checking --enable-workshop argument""... $ac_c" 1>&6 |
2472 echo "configure:2473: checking --enable-workshop argument" >&5 | 2475 echo "configure:2476: checking --enable-workshop argument" >&5 |
2473 # Check whether --enable-workshop or --disable-workshop was given. | 2476 # Check whether --enable-workshop or --disable-workshop was given. |
2474 if test "${enable_workshop+set}" = set; then | 2477 if test "${enable_workshop+set}" = set; then |
2475 enableval="$enable_workshop" | 2478 enableval="$enable_workshop" |
2476 : | 2479 : |
2477 else | 2480 else |
2492 enable_gui=motif | 2495 enable_gui=motif |
2493 fi | 2496 fi |
2494 fi | 2497 fi |
2495 | 2498 |
2496 echo $ac_n "checking --disable-netbeans argument""... $ac_c" 1>&6 | 2499 echo $ac_n "checking --disable-netbeans argument""... $ac_c" 1>&6 |
2497 echo "configure:2498: checking --disable-netbeans argument" >&5 | 2500 echo "configure:2501: checking --disable-netbeans argument" >&5 |
2498 # Check whether --enable-netbeans or --disable-netbeans was given. | 2501 # Check whether --enable-netbeans or --disable-netbeans was given. |
2499 if test "${enable_netbeans+set}" = set; then | 2502 if test "${enable_netbeans+set}" = set; then |
2500 enableval="$enable_netbeans" | 2503 enableval="$enable_netbeans" |
2501 : | 2504 : |
2502 else | 2505 else |
2504 fi | 2507 fi |
2505 | 2508 |
2506 if test "$enable_netbeans" = "yes"; then | 2509 if test "$enable_netbeans" = "yes"; then |
2507 echo "$ac_t""no" 1>&6 | 2510 echo "$ac_t""no" 1>&6 |
2508 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 | 2511 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 |
2509 echo "configure:2510: checking for socket in -lsocket" >&5 | 2512 echo "configure:2513: checking for socket in -lsocket" >&5 |
2510 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` | 2513 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` |
2511 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2514 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2512 echo $ac_n "(cached) $ac_c" 1>&6 | 2515 echo $ac_n "(cached) $ac_c" 1>&6 |
2513 else | 2516 else |
2514 ac_save_LIBS="$LIBS" | 2517 ac_save_LIBS="$LIBS" |
2515 LIBS="-lsocket $LIBS" | 2518 LIBS="-lsocket $LIBS" |
2516 cat > conftest.$ac_ext <<EOF | 2519 cat > conftest.$ac_ext <<EOF |
2517 #line 2518 "configure" | 2520 #line 2521 "configure" |
2518 #include "confdefs.h" | 2521 #include "confdefs.h" |
2519 /* Override any gcc2 internal prototype to avoid an error. */ | 2522 /* Override any gcc2 internal prototype to avoid an error. */ |
2520 /* We use char because int might match the return type of a gcc2 | 2523 /* We use char because int might match the return type of a gcc2 |
2521 builtin and then its argument prototype would still apply. */ | 2524 builtin and then its argument prototype would still apply. */ |
2522 char socket(); | 2525 char socket(); |
2523 | 2526 |
2524 int main() { | 2527 int main() { |
2525 socket() | 2528 socket() |
2526 ; return 0; } | 2529 ; return 0; } |
2527 EOF | 2530 EOF |
2528 if { (eval echo configure:2529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2531 if { (eval echo configure:2532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2529 rm -rf conftest* | 2532 rm -rf conftest* |
2530 eval "ac_cv_lib_$ac_lib_var=yes" | 2533 eval "ac_cv_lib_$ac_lib_var=yes" |
2531 else | 2534 else |
2532 echo "configure: failed program was:" >&5 | 2535 echo "configure: failed program was:" >&5 |
2533 cat conftest.$ac_ext >&5 | 2536 cat conftest.$ac_ext >&5 |
2551 else | 2554 else |
2552 echo "$ac_t""no" 1>&6 | 2555 echo "$ac_t""no" 1>&6 |
2553 fi | 2556 fi |
2554 | 2557 |
2555 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 2558 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
2556 echo "configure:2557: checking for gethostbyname in -lnsl" >&5 | 2559 echo "configure:2560: checking for gethostbyname in -lnsl" >&5 |
2557 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 2560 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
2558 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2561 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2559 echo $ac_n "(cached) $ac_c" 1>&6 | 2562 echo $ac_n "(cached) $ac_c" 1>&6 |
2560 else | 2563 else |
2561 ac_save_LIBS="$LIBS" | 2564 ac_save_LIBS="$LIBS" |
2562 LIBS="-lnsl $LIBS" | 2565 LIBS="-lnsl $LIBS" |
2563 cat > conftest.$ac_ext <<EOF | 2566 cat > conftest.$ac_ext <<EOF |
2564 #line 2565 "configure" | 2567 #line 2568 "configure" |
2565 #include "confdefs.h" | 2568 #include "confdefs.h" |
2566 /* Override any gcc2 internal prototype to avoid an error. */ | 2569 /* Override any gcc2 internal prototype to avoid an error. */ |
2567 /* We use char because int might match the return type of a gcc2 | 2570 /* We use char because int might match the return type of a gcc2 |
2568 builtin and then its argument prototype would still apply. */ | 2571 builtin and then its argument prototype would still apply. */ |
2569 char gethostbyname(); | 2572 char gethostbyname(); |
2570 | 2573 |
2571 int main() { | 2574 int main() { |
2572 gethostbyname() | 2575 gethostbyname() |
2573 ; return 0; } | 2576 ; return 0; } |
2574 EOF | 2577 EOF |
2575 if { (eval echo configure:2576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2578 if { (eval echo configure:2579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2576 rm -rf conftest* | 2579 rm -rf conftest* |
2577 eval "ac_cv_lib_$ac_lib_var=yes" | 2580 eval "ac_cv_lib_$ac_lib_var=yes" |
2578 else | 2581 else |
2579 echo "configure: failed program was:" >&5 | 2582 echo "configure: failed program was:" >&5 |
2580 cat conftest.$ac_ext >&5 | 2583 cat conftest.$ac_ext >&5 |
2598 else | 2601 else |
2599 echo "$ac_t""no" 1>&6 | 2602 echo "$ac_t""no" 1>&6 |
2600 fi | 2603 fi |
2601 | 2604 |
2602 echo $ac_n "checking whether compiling netbeans integration is possible""... $ac_c" 1>&6 | 2605 echo $ac_n "checking whether compiling netbeans integration is possible""... $ac_c" 1>&6 |
2603 echo "configure:2604: checking whether compiling netbeans integration is possible" >&5 | 2606 echo "configure:2607: checking whether compiling netbeans integration is possible" >&5 |
2604 cat > conftest.$ac_ext <<EOF | 2607 cat > conftest.$ac_ext <<EOF |
2605 #line 2606 "configure" | 2608 #line 2609 "configure" |
2606 #include "confdefs.h" | 2609 #include "confdefs.h" |
2607 | 2610 |
2608 #include <stdio.h> | 2611 #include <stdio.h> |
2609 #include <stdlib.h> | 2612 #include <stdlib.h> |
2610 #include <stdarg.h> | 2613 #include <stdarg.h> |
2630 if (errno == ECONNREFUSED) | 2633 if (errno == ECONNREFUSED) |
2631 (void)connect(1, (struct sockaddr *)&server, sizeof(server)); | 2634 (void)connect(1, (struct sockaddr *)&server, sizeof(server)); |
2632 | 2635 |
2633 ; return 0; } | 2636 ; return 0; } |
2634 EOF | 2637 EOF |
2635 if { (eval echo configure:2636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2638 if { (eval echo configure:2639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2636 rm -rf conftest* | 2639 rm -rf conftest* |
2637 echo "$ac_t""yes" 1>&6 | 2640 echo "$ac_t""yes" 1>&6 |
2638 else | 2641 else |
2639 echo "configure: failed program was:" >&5 | 2642 echo "configure: failed program was:" >&5 |
2640 cat conftest.$ac_ext >&5 | 2643 cat conftest.$ac_ext >&5 |
2655 NETBEANS_OBJ="objects/netbeans.o" | 2658 NETBEANS_OBJ="objects/netbeans.o" |
2656 | 2659 |
2657 fi | 2660 fi |
2658 | 2661 |
2659 echo $ac_n "checking --enable-sniff argument""... $ac_c" 1>&6 | 2662 echo $ac_n "checking --enable-sniff argument""... $ac_c" 1>&6 |
2660 echo "configure:2661: checking --enable-sniff argument" >&5 | 2663 echo "configure:2664: checking --enable-sniff argument" >&5 |
2661 # Check whether --enable-sniff or --disable-sniff was given. | 2664 # Check whether --enable-sniff or --disable-sniff was given. |
2662 if test "${enable_sniff+set}" = set; then | 2665 if test "${enable_sniff+set}" = set; then |
2663 enableval="$enable_sniff" | 2666 enableval="$enable_sniff" |
2664 : | 2667 : |
2665 else | 2668 else |
2677 SNIFF_OBJ="objects/if_sniff.o" | 2680 SNIFF_OBJ="objects/if_sniff.o" |
2678 | 2681 |
2679 fi | 2682 fi |
2680 | 2683 |
2681 echo $ac_n "checking --enable-multibyte argument""... $ac_c" 1>&6 | 2684 echo $ac_n "checking --enable-multibyte argument""... $ac_c" 1>&6 |
2682 echo "configure:2683: checking --enable-multibyte argument" >&5 | 2685 echo "configure:2686: checking --enable-multibyte argument" >&5 |
2683 # Check whether --enable-multibyte or --disable-multibyte was given. | 2686 # Check whether --enable-multibyte or --disable-multibyte was given. |
2684 if test "${enable_multibyte+set}" = set; then | 2687 if test "${enable_multibyte+set}" = set; then |
2685 enableval="$enable_multibyte" | 2688 enableval="$enable_multibyte" |
2686 : | 2689 : |
2687 else | 2690 else |
2695 EOF | 2698 EOF |
2696 | 2699 |
2697 fi | 2700 fi |
2698 | 2701 |
2699 echo $ac_n "checking --enable-hangulinput argument""... $ac_c" 1>&6 | 2702 echo $ac_n "checking --enable-hangulinput argument""... $ac_c" 1>&6 |
2700 echo "configure:2701: checking --enable-hangulinput argument" >&5 | 2703 echo "configure:2704: checking --enable-hangulinput argument" >&5 |
2701 # Check whether --enable-hangulinput or --disable-hangulinput was given. | 2704 # Check whether --enable-hangulinput or --disable-hangulinput was given. |
2702 if test "${enable_hangulinput+set}" = set; then | 2705 if test "${enable_hangulinput+set}" = set; then |
2703 enableval="$enable_hangulinput" | 2706 enableval="$enable_hangulinput" |
2704 : | 2707 : |
2705 else | 2708 else |
2707 fi | 2710 fi |
2708 | 2711 |
2709 echo "$ac_t""$enable_hangulinput" 1>&6 | 2712 echo "$ac_t""$enable_hangulinput" 1>&6 |
2710 | 2713 |
2711 echo $ac_n "checking --enable-xim argument""... $ac_c" 1>&6 | 2714 echo $ac_n "checking --enable-xim argument""... $ac_c" 1>&6 |
2712 echo "configure:2713: checking --enable-xim argument" >&5 | 2715 echo "configure:2716: checking --enable-xim argument" >&5 |
2713 # Check whether --enable-xim or --disable-xim was given. | 2716 # Check whether --enable-xim or --disable-xim was given. |
2714 if test "${enable_xim+set}" = set; then | 2717 if test "${enable_xim+set}" = set; then |
2715 enableval="$enable_xim" | 2718 enableval="$enable_xim" |
2716 echo "$ac_t""$enable_xim" 1>&6 | 2719 echo "$ac_t""$enable_xim" 1>&6 |
2717 else | 2720 else |
2718 enable_xim="auto"; echo "$ac_t""defaulting to auto" 1>&6 | 2721 enable_xim="auto"; echo "$ac_t""defaulting to auto" 1>&6 |
2719 fi | 2722 fi |
2720 | 2723 |
2721 | 2724 |
2722 echo $ac_n "checking --enable-fontset argument""... $ac_c" 1>&6 | 2725 echo $ac_n "checking --enable-fontset argument""... $ac_c" 1>&6 |
2723 echo "configure:2724: checking --enable-fontset argument" >&5 | 2726 echo "configure:2727: checking --enable-fontset argument" >&5 |
2724 # Check whether --enable-fontset or --disable-fontset was given. | 2727 # Check whether --enable-fontset or --disable-fontset was given. |
2725 if test "${enable_fontset+set}" = set; then | 2728 if test "${enable_fontset+set}" = set; then |
2726 enableval="$enable_fontset" | 2729 enableval="$enable_fontset" |
2727 : | 2730 : |
2728 else | 2731 else |
2738 else | 2741 else |
2739 | 2742 |
2740 # Extract the first word of "xmkmf", so it can be a program name with args. | 2743 # Extract the first word of "xmkmf", so it can be a program name with args. |
2741 set dummy xmkmf; ac_word=$2 | 2744 set dummy xmkmf; ac_word=$2 |
2742 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2745 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2743 echo "configure:2744: checking for $ac_word" >&5 | 2746 echo "configure:2747: checking for $ac_word" >&5 |
2744 if eval "test \"`echo '$''{'ac_cv_path_xmkmfpath'+set}'`\" = set"; then | 2747 if eval "test \"`echo '$''{'ac_cv_path_xmkmfpath'+set}'`\" = set"; then |
2745 echo $ac_n "(cached) $ac_c" 1>&6 | 2748 echo $ac_n "(cached) $ac_c" 1>&6 |
2746 else | 2749 else |
2747 case "$xmkmfpath" in | 2750 case "$xmkmfpath" in |
2748 /*) | 2751 /*) |
2776 # If we find X, set shell vars x_includes and x_libraries to the | 2779 # If we find X, set shell vars x_includes and x_libraries to the |
2777 # paths, otherwise set no_x=yes. | 2780 # paths, otherwise set no_x=yes. |
2778 # Uses ac_ vars as temps to allow command line to override cache and checks. | 2781 # Uses ac_ vars as temps to allow command line to override cache and checks. |
2779 # --without-x overrides everything else, but does not touch the cache. | 2782 # --without-x overrides everything else, but does not touch the cache. |
2780 echo $ac_n "checking for X""... $ac_c" 1>&6 | 2783 echo $ac_n "checking for X""... $ac_c" 1>&6 |
2781 echo "configure:2782: checking for X" >&5 | 2784 echo "configure:2785: checking for X" >&5 |
2782 | 2785 |
2783 # Check whether --with-x or --without-x was given. | 2786 # Check whether --with-x or --without-x was given. |
2784 if test "${with_x+set}" = set; then | 2787 if test "${with_x+set}" = set; then |
2785 withval="$with_x" | 2788 withval="$with_x" |
2786 : | 2789 : |
2838 # Guess where to find include files, by looking for this one X11 .h file. | 2841 # Guess where to find include files, by looking for this one X11 .h file. |
2839 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 2842 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
2840 | 2843 |
2841 # First, try using that file with no special directory specified. | 2844 # First, try using that file with no special directory specified. |
2842 cat > conftest.$ac_ext <<EOF | 2845 cat > conftest.$ac_ext <<EOF |
2843 #line 2844 "configure" | 2846 #line 2847 "configure" |
2844 #include "confdefs.h" | 2847 #include "confdefs.h" |
2845 #include <$x_direct_test_include> | 2848 #include <$x_direct_test_include> |
2846 EOF | 2849 EOF |
2847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2848 { (eval echo configure:2849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2851 { (eval echo configure:2852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2849 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2850 if test -z "$ac_err"; then | 2853 if test -z "$ac_err"; then |
2851 rm -rf conftest* | 2854 rm -rf conftest* |
2852 # We can compile using X headers with no special include directory. | 2855 # We can compile using X headers with no special include directory. |
2853 ac_x_includes= | 2856 ac_x_includes= |
2912 # See if we find them without any special options. | 2915 # See if we find them without any special options. |
2913 # Don't add to $LIBS permanently. | 2916 # Don't add to $LIBS permanently. |
2914 ac_save_LIBS="$LIBS" | 2917 ac_save_LIBS="$LIBS" |
2915 LIBS="-l$x_direct_test_library $LIBS" | 2918 LIBS="-l$x_direct_test_library $LIBS" |
2916 cat > conftest.$ac_ext <<EOF | 2919 cat > conftest.$ac_ext <<EOF |
2917 #line 2918 "configure" | 2920 #line 2921 "configure" |
2918 #include "confdefs.h" | 2921 #include "confdefs.h" |
2919 | 2922 |
2920 int main() { | 2923 int main() { |
2921 ${x_direct_test_function}() | 2924 ${x_direct_test_function}() |
2922 ; return 0; } | 2925 ; return 0; } |
2923 EOF | 2926 EOF |
2924 if { (eval echo configure:2925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2927 if { (eval echo configure:2928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2925 rm -rf conftest* | 2928 rm -rf conftest* |
2926 LIBS="$ac_save_LIBS" | 2929 LIBS="$ac_save_LIBS" |
2927 # We can link X programs with no special library path. | 2930 # We can link X programs with no special library path. |
2928 ac_x_libraries= | 2931 ac_x_libraries= |
2929 else | 2932 else |
3025 # For Solaris; some versions of Sun CC require a space after -R and | 3028 # For Solaris; some versions of Sun CC require a space after -R and |
3026 # others require no space. Words are not sufficient . . . . | 3029 # others require no space. Words are not sufficient . . . . |
3027 case "`(uname -sr) 2>/dev/null`" in | 3030 case "`(uname -sr) 2>/dev/null`" in |
3028 "SunOS 5"*) | 3031 "SunOS 5"*) |
3029 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 3032 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
3030 echo "configure:3031: checking whether -R must be followed by a space" >&5 | 3033 echo "configure:3034: checking whether -R must be followed by a space" >&5 |
3031 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 3034 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
3032 cat > conftest.$ac_ext <<EOF | 3035 cat > conftest.$ac_ext <<EOF |
3033 #line 3034 "configure" | 3036 #line 3037 "configure" |
3034 #include "confdefs.h" | 3037 #include "confdefs.h" |
3035 | 3038 |
3036 int main() { | 3039 int main() { |
3037 | 3040 |
3038 ; return 0; } | 3041 ; return 0; } |
3039 EOF | 3042 EOF |
3040 if { (eval echo configure:3041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3043 if { (eval echo configure:3044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3041 rm -rf conftest* | 3044 rm -rf conftest* |
3042 ac_R_nospace=yes | 3045 ac_R_nospace=yes |
3043 else | 3046 else |
3044 echo "configure: failed program was:" >&5 | 3047 echo "configure: failed program was:" >&5 |
3045 cat conftest.$ac_ext >&5 | 3048 cat conftest.$ac_ext >&5 |
3051 echo "$ac_t""no" 1>&6 | 3054 echo "$ac_t""no" 1>&6 |
3052 X_LIBS="$X_LIBS -R$x_libraries" | 3055 X_LIBS="$X_LIBS -R$x_libraries" |
3053 else | 3056 else |
3054 LIBS="$ac_xsave_LIBS -R $x_libraries" | 3057 LIBS="$ac_xsave_LIBS -R $x_libraries" |
3055 cat > conftest.$ac_ext <<EOF | 3058 cat > conftest.$ac_ext <<EOF |
3056 #line 3057 "configure" | 3059 #line 3060 "configure" |
3057 #include "confdefs.h" | 3060 #include "confdefs.h" |
3058 | 3061 |
3059 int main() { | 3062 int main() { |
3060 | 3063 |
3061 ; return 0; } | 3064 ; return 0; } |
3062 EOF | 3065 EOF |
3063 if { (eval echo configure:3064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3066 if { (eval echo configure:3067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3064 rm -rf conftest* | 3067 rm -rf conftest* |
3065 ac_R_space=yes | 3068 ac_R_space=yes |
3066 else | 3069 else |
3067 echo "configure: failed program was:" >&5 | 3070 echo "configure: failed program was:" >&5 |
3068 cat conftest.$ac_ext >&5 | 3071 cat conftest.$ac_ext >&5 |
3090 else | 3093 else |
3091 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X | 3094 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X |
3092 # libraries were built with DECnet support. And karl@cs.umb.edu says | 3095 # libraries were built with DECnet support. And karl@cs.umb.edu says |
3093 # the Alpha needs dnet_stub (dnet does not exist). | 3096 # the Alpha needs dnet_stub (dnet does not exist). |
3094 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 3097 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
3095 echo "configure:3096: checking for dnet_ntoa in -ldnet" >&5 | 3098 echo "configure:3099: checking for dnet_ntoa in -ldnet" >&5 |
3096 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3099 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
3097 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3100 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3098 echo $ac_n "(cached) $ac_c" 1>&6 | 3101 echo $ac_n "(cached) $ac_c" 1>&6 |
3099 else | 3102 else |
3100 ac_save_LIBS="$LIBS" | 3103 ac_save_LIBS="$LIBS" |
3101 LIBS="-ldnet $LIBS" | 3104 LIBS="-ldnet $LIBS" |
3102 cat > conftest.$ac_ext <<EOF | 3105 cat > conftest.$ac_ext <<EOF |
3103 #line 3104 "configure" | 3106 #line 3107 "configure" |
3104 #include "confdefs.h" | 3107 #include "confdefs.h" |
3105 /* Override any gcc2 internal prototype to avoid an error. */ | 3108 /* Override any gcc2 internal prototype to avoid an error. */ |
3106 /* We use char because int might match the return type of a gcc2 | 3109 /* We use char because int might match the return type of a gcc2 |
3107 builtin and then its argument prototype would still apply. */ | 3110 builtin and then its argument prototype would still apply. */ |
3108 char dnet_ntoa(); | 3111 char dnet_ntoa(); |
3109 | 3112 |
3110 int main() { | 3113 int main() { |
3111 dnet_ntoa() | 3114 dnet_ntoa() |
3112 ; return 0; } | 3115 ; return 0; } |
3113 EOF | 3116 EOF |
3114 if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3117 if { (eval echo configure:3118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3115 rm -rf conftest* | 3118 rm -rf conftest* |
3116 eval "ac_cv_lib_$ac_lib_var=yes" | 3119 eval "ac_cv_lib_$ac_lib_var=yes" |
3117 else | 3120 else |
3118 echo "configure: failed program was:" >&5 | 3121 echo "configure: failed program was:" >&5 |
3119 cat conftest.$ac_ext >&5 | 3122 cat conftest.$ac_ext >&5 |
3131 echo "$ac_t""no" 1>&6 | 3134 echo "$ac_t""no" 1>&6 |
3132 fi | 3135 fi |
3133 | 3136 |
3134 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 3137 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
3135 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 3138 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
3136 echo "configure:3137: checking for dnet_ntoa in -ldnet_stub" >&5 | 3139 echo "configure:3140: checking for dnet_ntoa in -ldnet_stub" >&5 |
3137 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3140 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
3138 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3141 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3139 echo $ac_n "(cached) $ac_c" 1>&6 | 3142 echo $ac_n "(cached) $ac_c" 1>&6 |
3140 else | 3143 else |
3141 ac_save_LIBS="$LIBS" | 3144 ac_save_LIBS="$LIBS" |
3142 LIBS="-ldnet_stub $LIBS" | 3145 LIBS="-ldnet_stub $LIBS" |
3143 cat > conftest.$ac_ext <<EOF | 3146 cat > conftest.$ac_ext <<EOF |
3144 #line 3145 "configure" | 3147 #line 3148 "configure" |
3145 #include "confdefs.h" | 3148 #include "confdefs.h" |
3146 /* Override any gcc2 internal prototype to avoid an error. */ | 3149 /* Override any gcc2 internal prototype to avoid an error. */ |
3147 /* We use char because int might match the return type of a gcc2 | 3150 /* We use char because int might match the return type of a gcc2 |
3148 builtin and then its argument prototype would still apply. */ | 3151 builtin and then its argument prototype would still apply. */ |
3149 char dnet_ntoa(); | 3152 char dnet_ntoa(); |
3150 | 3153 |
3151 int main() { | 3154 int main() { |
3152 dnet_ntoa() | 3155 dnet_ntoa() |
3153 ; return 0; } | 3156 ; return 0; } |
3154 EOF | 3157 EOF |
3155 if { (eval echo configure:3156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3158 if { (eval echo configure:3159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3156 rm -rf conftest* | 3159 rm -rf conftest* |
3157 eval "ac_cv_lib_$ac_lib_var=yes" | 3160 eval "ac_cv_lib_$ac_lib_var=yes" |
3158 else | 3161 else |
3159 echo "configure: failed program was:" >&5 | 3162 echo "configure: failed program was:" >&5 |
3160 cat conftest.$ac_ext >&5 | 3163 cat conftest.$ac_ext >&5 |
3179 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 3182 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
3180 # needs -lnsl. | 3183 # needs -lnsl. |
3181 # The nsl library prevents programs from opening the X display | 3184 # The nsl library prevents programs from opening the X display |
3182 # on Irix 5.2, according to dickey@clark.net. | 3185 # on Irix 5.2, according to dickey@clark.net. |
3183 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 3186 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
3184 echo "configure:3185: checking for gethostbyname" >&5 | 3187 echo "configure:3188: checking for gethostbyname" >&5 |
3185 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then | 3188 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
3186 echo $ac_n "(cached) $ac_c" 1>&6 | 3189 echo $ac_n "(cached) $ac_c" 1>&6 |
3187 else | 3190 else |
3188 cat > conftest.$ac_ext <<EOF | 3191 cat > conftest.$ac_ext <<EOF |
3189 #line 3190 "configure" | 3192 #line 3193 "configure" |
3190 #include "confdefs.h" | 3193 #include "confdefs.h" |
3191 /* System header to define __stub macros and hopefully few prototypes, | 3194 /* System header to define __stub macros and hopefully few prototypes, |
3192 which can conflict with char gethostbyname(); below. */ | 3195 which can conflict with char gethostbyname(); below. */ |
3193 #include <assert.h> | 3196 #include <assert.h> |
3194 /* Override any gcc2 internal prototype to avoid an error. */ | 3197 /* Override any gcc2 internal prototype to avoid an error. */ |
3207 gethostbyname(); | 3210 gethostbyname(); |
3208 #endif | 3211 #endif |
3209 | 3212 |
3210 ; return 0; } | 3213 ; return 0; } |
3211 EOF | 3214 EOF |
3212 if { (eval echo configure:3213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3215 if { (eval echo configure:3216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3213 rm -rf conftest* | 3216 rm -rf conftest* |
3214 eval "ac_cv_func_gethostbyname=yes" | 3217 eval "ac_cv_func_gethostbyname=yes" |
3215 else | 3218 else |
3216 echo "configure: failed program was:" >&5 | 3219 echo "configure: failed program was:" >&5 |
3217 cat conftest.$ac_ext >&5 | 3220 cat conftest.$ac_ext >&5 |
3228 echo "$ac_t""no" 1>&6 | 3231 echo "$ac_t""no" 1>&6 |
3229 fi | 3232 fi |
3230 | 3233 |
3231 if test $ac_cv_func_gethostbyname = no; then | 3234 if test $ac_cv_func_gethostbyname = no; then |
3232 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 3235 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
3233 echo "configure:3234: checking for gethostbyname in -lnsl" >&5 | 3236 echo "configure:3237: checking for gethostbyname in -lnsl" >&5 |
3234 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 3237 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
3235 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3238 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3236 echo $ac_n "(cached) $ac_c" 1>&6 | 3239 echo $ac_n "(cached) $ac_c" 1>&6 |
3237 else | 3240 else |
3238 ac_save_LIBS="$LIBS" | 3241 ac_save_LIBS="$LIBS" |
3239 LIBS="-lnsl $LIBS" | 3242 LIBS="-lnsl $LIBS" |
3240 cat > conftest.$ac_ext <<EOF | 3243 cat > conftest.$ac_ext <<EOF |
3241 #line 3242 "configure" | 3244 #line 3245 "configure" |
3242 #include "confdefs.h" | 3245 #include "confdefs.h" |
3243 /* Override any gcc2 internal prototype to avoid an error. */ | 3246 /* Override any gcc2 internal prototype to avoid an error. */ |
3244 /* We use char because int might match the return type of a gcc2 | 3247 /* We use char because int might match the return type of a gcc2 |
3245 builtin and then its argument prototype would still apply. */ | 3248 builtin and then its argument prototype would still apply. */ |
3246 char gethostbyname(); | 3249 char gethostbyname(); |
3247 | 3250 |
3248 int main() { | 3251 int main() { |
3249 gethostbyname() | 3252 gethostbyname() |
3250 ; return 0; } | 3253 ; return 0; } |
3251 EOF | 3254 EOF |
3252 if { (eval echo configure:3253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3255 if { (eval echo configure:3256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3253 rm -rf conftest* | 3256 rm -rf conftest* |
3254 eval "ac_cv_lib_$ac_lib_var=yes" | 3257 eval "ac_cv_lib_$ac_lib_var=yes" |
3255 else | 3258 else |
3256 echo "configure: failed program was:" >&5 | 3259 echo "configure: failed program was:" >&5 |
3257 cat conftest.$ac_ext >&5 | 3260 cat conftest.$ac_ext >&5 |
3277 # on later versions), says simon@lia.di.epfl.ch: it contains | 3280 # on later versions), says simon@lia.di.epfl.ch: it contains |
3278 # gethostby* variants that don't use the nameserver (or something). | 3281 # gethostby* variants that don't use the nameserver (or something). |
3279 # -lsocket must be given before -lnsl if both are needed. | 3282 # -lsocket must be given before -lnsl if both are needed. |
3280 # We assume that if connect needs -lnsl, so does gethostbyname. | 3283 # We assume that if connect needs -lnsl, so does gethostbyname. |
3281 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 3284 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
3282 echo "configure:3283: checking for connect" >&5 | 3285 echo "configure:3286: checking for connect" >&5 |
3283 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then | 3286 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
3284 echo $ac_n "(cached) $ac_c" 1>&6 | 3287 echo $ac_n "(cached) $ac_c" 1>&6 |
3285 else | 3288 else |
3286 cat > conftest.$ac_ext <<EOF | 3289 cat > conftest.$ac_ext <<EOF |
3287 #line 3288 "configure" | 3290 #line 3291 "configure" |
3288 #include "confdefs.h" | 3291 #include "confdefs.h" |
3289 /* System header to define __stub macros and hopefully few prototypes, | 3292 /* System header to define __stub macros and hopefully few prototypes, |
3290 which can conflict with char connect(); below. */ | 3293 which can conflict with char connect(); below. */ |
3291 #include <assert.h> | 3294 #include <assert.h> |
3292 /* Override any gcc2 internal prototype to avoid an error. */ | 3295 /* Override any gcc2 internal prototype to avoid an error. */ |
3305 connect(); | 3308 connect(); |
3306 #endif | 3309 #endif |
3307 | 3310 |
3308 ; return 0; } | 3311 ; return 0; } |
3309 EOF | 3312 EOF |
3310 if { (eval echo configure:3311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3313 if { (eval echo configure:3314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3311 rm -rf conftest* | 3314 rm -rf conftest* |
3312 eval "ac_cv_func_connect=yes" | 3315 eval "ac_cv_func_connect=yes" |
3313 else | 3316 else |
3314 echo "configure: failed program was:" >&5 | 3317 echo "configure: failed program was:" >&5 |
3315 cat conftest.$ac_ext >&5 | 3318 cat conftest.$ac_ext >&5 |
3326 echo "$ac_t""no" 1>&6 | 3329 echo "$ac_t""no" 1>&6 |
3327 fi | 3330 fi |
3328 | 3331 |
3329 if test $ac_cv_func_connect = no; then | 3332 if test $ac_cv_func_connect = no; then |
3330 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 | 3333 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
3331 echo "configure:3332: checking for connect in -lsocket" >&5 | 3334 echo "configure:3335: checking for connect in -lsocket" >&5 |
3332 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 3335 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
3333 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3336 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3334 echo $ac_n "(cached) $ac_c" 1>&6 | 3337 echo $ac_n "(cached) $ac_c" 1>&6 |
3335 else | 3338 else |
3336 ac_save_LIBS="$LIBS" | 3339 ac_save_LIBS="$LIBS" |
3337 LIBS="-lsocket $X_EXTRA_LIBS $LIBS" | 3340 LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
3338 cat > conftest.$ac_ext <<EOF | 3341 cat > conftest.$ac_ext <<EOF |
3339 #line 3340 "configure" | 3342 #line 3343 "configure" |
3340 #include "confdefs.h" | 3343 #include "confdefs.h" |
3341 /* Override any gcc2 internal prototype to avoid an error. */ | 3344 /* Override any gcc2 internal prototype to avoid an error. */ |
3342 /* We use char because int might match the return type of a gcc2 | 3345 /* We use char because int might match the return type of a gcc2 |
3343 builtin and then its argument prototype would still apply. */ | 3346 builtin and then its argument prototype would still apply. */ |
3344 char connect(); | 3347 char connect(); |
3345 | 3348 |
3346 int main() { | 3349 int main() { |
3347 connect() | 3350 connect() |
3348 ; return 0; } | 3351 ; return 0; } |
3349 EOF | 3352 EOF |
3350 if { (eval echo configure:3351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3353 if { (eval echo configure:3354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3351 rm -rf conftest* | 3354 rm -rf conftest* |
3352 eval "ac_cv_lib_$ac_lib_var=yes" | 3355 eval "ac_cv_lib_$ac_lib_var=yes" |
3353 else | 3356 else |
3354 echo "configure: failed program was:" >&5 | 3357 echo "configure: failed program was:" >&5 |
3355 cat conftest.$ac_ext >&5 | 3358 cat conftest.$ac_ext >&5 |
3369 | 3372 |
3370 fi | 3373 fi |
3371 | 3374 |
3372 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 3375 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
3373 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 3376 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
3374 echo "configure:3375: checking for remove" >&5 | 3377 echo "configure:3378: checking for remove" >&5 |
3375 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then | 3378 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
3376 echo $ac_n "(cached) $ac_c" 1>&6 | 3379 echo $ac_n "(cached) $ac_c" 1>&6 |
3377 else | 3380 else |
3378 cat > conftest.$ac_ext <<EOF | 3381 cat > conftest.$ac_ext <<EOF |
3379 #line 3380 "configure" | 3382 #line 3383 "configure" |
3380 #include "confdefs.h" | 3383 #include "confdefs.h" |
3381 /* System header to define __stub macros and hopefully few prototypes, | 3384 /* System header to define __stub macros and hopefully few prototypes, |
3382 which can conflict with char remove(); below. */ | 3385 which can conflict with char remove(); below. */ |
3383 #include <assert.h> | 3386 #include <assert.h> |
3384 /* Override any gcc2 internal prototype to avoid an error. */ | 3387 /* Override any gcc2 internal prototype to avoid an error. */ |
3397 remove(); | 3400 remove(); |
3398 #endif | 3401 #endif |
3399 | 3402 |
3400 ; return 0; } | 3403 ; return 0; } |
3401 EOF | 3404 EOF |
3402 if { (eval echo configure:3403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3405 if { (eval echo configure:3406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3403 rm -rf conftest* | 3406 rm -rf conftest* |
3404 eval "ac_cv_func_remove=yes" | 3407 eval "ac_cv_func_remove=yes" |
3405 else | 3408 else |
3406 echo "configure: failed program was:" >&5 | 3409 echo "configure: failed program was:" >&5 |
3407 cat conftest.$ac_ext >&5 | 3410 cat conftest.$ac_ext >&5 |
3418 echo "$ac_t""no" 1>&6 | 3421 echo "$ac_t""no" 1>&6 |
3419 fi | 3422 fi |
3420 | 3423 |
3421 if test $ac_cv_func_remove = no; then | 3424 if test $ac_cv_func_remove = no; then |
3422 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 3425 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
3423 echo "configure:3424: checking for remove in -lposix" >&5 | 3426 echo "configure:3427: checking for remove in -lposix" >&5 |
3424 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 3427 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
3425 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3428 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3426 echo $ac_n "(cached) $ac_c" 1>&6 | 3429 echo $ac_n "(cached) $ac_c" 1>&6 |
3427 else | 3430 else |
3428 ac_save_LIBS="$LIBS" | 3431 ac_save_LIBS="$LIBS" |
3429 LIBS="-lposix $LIBS" | 3432 LIBS="-lposix $LIBS" |
3430 cat > conftest.$ac_ext <<EOF | 3433 cat > conftest.$ac_ext <<EOF |
3431 #line 3432 "configure" | 3434 #line 3435 "configure" |
3432 #include "confdefs.h" | 3435 #include "confdefs.h" |
3433 /* Override any gcc2 internal prototype to avoid an error. */ | 3436 /* Override any gcc2 internal prototype to avoid an error. */ |
3434 /* We use char because int might match the return type of a gcc2 | 3437 /* We use char because int might match the return type of a gcc2 |
3435 builtin and then its argument prototype would still apply. */ | 3438 builtin and then its argument prototype would still apply. */ |
3436 char remove(); | 3439 char remove(); |
3437 | 3440 |
3438 int main() { | 3441 int main() { |
3439 remove() | 3442 remove() |
3440 ; return 0; } | 3443 ; return 0; } |
3441 EOF | 3444 EOF |
3442 if { (eval echo configure:3443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3445 if { (eval echo configure:3446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3443 rm -rf conftest* | 3446 rm -rf conftest* |
3444 eval "ac_cv_lib_$ac_lib_var=yes" | 3447 eval "ac_cv_lib_$ac_lib_var=yes" |
3445 else | 3448 else |
3446 echo "configure: failed program was:" >&5 | 3449 echo "configure: failed program was:" >&5 |
3447 cat conftest.$ac_ext >&5 | 3450 cat conftest.$ac_ext >&5 |
3461 | 3464 |
3462 fi | 3465 fi |
3463 | 3466 |
3464 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 3467 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
3465 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 3468 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
3466 echo "configure:3467: checking for shmat" >&5 | 3469 echo "configure:3470: checking for shmat" >&5 |
3467 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then | 3470 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
3468 echo $ac_n "(cached) $ac_c" 1>&6 | 3471 echo $ac_n "(cached) $ac_c" 1>&6 |
3469 else | 3472 else |
3470 cat > conftest.$ac_ext <<EOF | 3473 cat > conftest.$ac_ext <<EOF |
3471 #line 3472 "configure" | 3474 #line 3475 "configure" |
3472 #include "confdefs.h" | 3475 #include "confdefs.h" |
3473 /* System header to define __stub macros and hopefully few prototypes, | 3476 /* System header to define __stub macros and hopefully few prototypes, |
3474 which can conflict with char shmat(); below. */ | 3477 which can conflict with char shmat(); below. */ |
3475 #include <assert.h> | 3478 #include <assert.h> |
3476 /* Override any gcc2 internal prototype to avoid an error. */ | 3479 /* Override any gcc2 internal prototype to avoid an error. */ |
3489 shmat(); | 3492 shmat(); |
3490 #endif | 3493 #endif |
3491 | 3494 |
3492 ; return 0; } | 3495 ; return 0; } |
3493 EOF | 3496 EOF |
3494 if { (eval echo configure:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3497 if { (eval echo configure:3498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3495 rm -rf conftest* | 3498 rm -rf conftest* |
3496 eval "ac_cv_func_shmat=yes" | 3499 eval "ac_cv_func_shmat=yes" |
3497 else | 3500 else |
3498 echo "configure: failed program was:" >&5 | 3501 echo "configure: failed program was:" >&5 |
3499 cat conftest.$ac_ext >&5 | 3502 cat conftest.$ac_ext >&5 |
3510 echo "$ac_t""no" 1>&6 | 3513 echo "$ac_t""no" 1>&6 |
3511 fi | 3514 fi |
3512 | 3515 |
3513 if test $ac_cv_func_shmat = no; then | 3516 if test $ac_cv_func_shmat = no; then |
3514 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 3517 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
3515 echo "configure:3516: checking for shmat in -lipc" >&5 | 3518 echo "configure:3519: checking for shmat in -lipc" >&5 |
3516 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 3519 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
3517 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3520 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3518 echo $ac_n "(cached) $ac_c" 1>&6 | 3521 echo $ac_n "(cached) $ac_c" 1>&6 |
3519 else | 3522 else |
3520 ac_save_LIBS="$LIBS" | 3523 ac_save_LIBS="$LIBS" |
3521 LIBS="-lipc $LIBS" | 3524 LIBS="-lipc $LIBS" |
3522 cat > conftest.$ac_ext <<EOF | 3525 cat > conftest.$ac_ext <<EOF |
3523 #line 3524 "configure" | 3526 #line 3527 "configure" |
3524 #include "confdefs.h" | 3527 #include "confdefs.h" |
3525 /* Override any gcc2 internal prototype to avoid an error. */ | 3528 /* Override any gcc2 internal prototype to avoid an error. */ |
3526 /* We use char because int might match the return type of a gcc2 | 3529 /* We use char because int might match the return type of a gcc2 |
3527 builtin and then its argument prototype would still apply. */ | 3530 builtin and then its argument prototype would still apply. */ |
3528 char shmat(); | 3531 char shmat(); |
3529 | 3532 |
3530 int main() { | 3533 int main() { |
3531 shmat() | 3534 shmat() |
3532 ; return 0; } | 3535 ; return 0; } |
3533 EOF | 3536 EOF |
3534 if { (eval echo configure:3535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3537 if { (eval echo configure:3538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3535 rm -rf conftest* | 3538 rm -rf conftest* |
3536 eval "ac_cv_lib_$ac_lib_var=yes" | 3539 eval "ac_cv_lib_$ac_lib_var=yes" |
3537 else | 3540 else |
3538 echo "configure: failed program was:" >&5 | 3541 echo "configure: failed program was:" >&5 |
3539 cat conftest.$ac_ext >&5 | 3542 cat conftest.$ac_ext >&5 |
3562 # we get undefined symbols. So assume we have SM if we have ICE. | 3565 # we get undefined symbols. So assume we have SM if we have ICE. |
3563 # These have to be linked with before -lX11, unlike the other | 3566 # These have to be linked with before -lX11, unlike the other |
3564 # libraries we check for below, so use a different variable. | 3567 # libraries we check for below, so use a different variable. |
3565 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 3568 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
3566 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 3569 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
3567 echo "configure:3568: checking for IceConnectionNumber in -lICE" >&5 | 3570 echo "configure:3571: checking for IceConnectionNumber in -lICE" >&5 |
3568 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 3571 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
3569 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3572 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3570 echo $ac_n "(cached) $ac_c" 1>&6 | 3573 echo $ac_n "(cached) $ac_c" 1>&6 |
3571 else | 3574 else |
3572 ac_save_LIBS="$LIBS" | 3575 ac_save_LIBS="$LIBS" |
3573 LIBS="-lICE $X_EXTRA_LIBS $LIBS" | 3576 LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
3574 cat > conftest.$ac_ext <<EOF | 3577 cat > conftest.$ac_ext <<EOF |
3575 #line 3576 "configure" | 3578 #line 3579 "configure" |
3576 #include "confdefs.h" | 3579 #include "confdefs.h" |
3577 /* Override any gcc2 internal prototype to avoid an error. */ | 3580 /* Override any gcc2 internal prototype to avoid an error. */ |
3578 /* We use char because int might match the return type of a gcc2 | 3581 /* We use char because int might match the return type of a gcc2 |
3579 builtin and then its argument prototype would still apply. */ | 3582 builtin and then its argument prototype would still apply. */ |
3580 char IceConnectionNumber(); | 3583 char IceConnectionNumber(); |
3581 | 3584 |
3582 int main() { | 3585 int main() { |
3583 IceConnectionNumber() | 3586 IceConnectionNumber() |
3584 ; return 0; } | 3587 ; return 0; } |
3585 EOF | 3588 EOF |
3586 if { (eval echo configure:3587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3589 if { (eval echo configure:3590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3587 rm -rf conftest* | 3590 rm -rf conftest* |
3588 eval "ac_cv_lib_$ac_lib_var=yes" | 3591 eval "ac_cv_lib_$ac_lib_var=yes" |
3589 else | 3592 else |
3590 echo "configure: failed program was:" >&5 | 3593 echo "configure: failed program was:" >&5 |
3591 cat conftest.$ac_ext >&5 | 3594 cat conftest.$ac_ext >&5 |
3635 X_LIBS="`echo $X_LIBS\ | sed 's%-L/usr/lib %%'`" | 3638 X_LIBS="`echo $X_LIBS\ | sed 's%-L/usr/lib %%'`" |
3636 X_LIBS="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`" | 3639 X_LIBS="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`" |
3637 | 3640 |
3638 | 3641 |
3639 echo $ac_n "checking if X11 header files can be found""... $ac_c" 1>&6 | 3642 echo $ac_n "checking if X11 header files can be found""... $ac_c" 1>&6 |
3640 echo "configure:3641: checking if X11 header files can be found" >&5 | 3643 echo "configure:3644: checking if X11 header files can be found" >&5 |
3641 cflags_save=$CFLAGS | 3644 cflags_save=$CFLAGS |
3642 CFLAGS="$CFLAGS $X_CFLAGS" | 3645 CFLAGS="$CFLAGS $X_CFLAGS" |
3643 cat > conftest.$ac_ext <<EOF | 3646 cat > conftest.$ac_ext <<EOF |
3644 #line 3645 "configure" | 3647 #line 3648 "configure" |
3645 #include "confdefs.h" | 3648 #include "confdefs.h" |
3646 #include <X11/Xlib.h> | 3649 #include <X11/Xlib.h> |
3647 int main() { | 3650 int main() { |
3648 | 3651 |
3649 ; return 0; } | 3652 ; return 0; } |
3650 EOF | 3653 EOF |
3651 if { (eval echo configure:3652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3654 if { (eval echo configure:3655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3652 rm -rf conftest* | 3655 rm -rf conftest* |
3653 echo "$ac_t""yes" 1>&6 | 3656 echo "$ac_t""yes" 1>&6 |
3654 else | 3657 else |
3655 echo "configure: failed program was:" >&5 | 3658 echo "configure: failed program was:" >&5 |
3656 cat conftest.$ac_ext >&5 | 3659 cat conftest.$ac_ext >&5 |
3672 | 3675 |
3673 ac_save_LDFLAGS="$LDFLAGS" | 3676 ac_save_LDFLAGS="$LDFLAGS" |
3674 LDFLAGS="-L$x_libraries $LDFLAGS" | 3677 LDFLAGS="-L$x_libraries $LDFLAGS" |
3675 | 3678 |
3676 echo $ac_n "checking for _XdmcpAuthDoIt in -lXdmcp""... $ac_c" 1>&6 | 3679 echo $ac_n "checking for _XdmcpAuthDoIt in -lXdmcp""... $ac_c" 1>&6 |
3677 echo "configure:3678: checking for _XdmcpAuthDoIt in -lXdmcp" >&5 | 3680 echo "configure:3681: checking for _XdmcpAuthDoIt in -lXdmcp" >&5 |
3678 ac_lib_var=`echo Xdmcp'_'_XdmcpAuthDoIt | sed 'y%./+-%__p_%'` | 3681 ac_lib_var=`echo Xdmcp'_'_XdmcpAuthDoIt | sed 'y%./+-%__p_%'` |
3679 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3682 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3680 echo $ac_n "(cached) $ac_c" 1>&6 | 3683 echo $ac_n "(cached) $ac_c" 1>&6 |
3681 else | 3684 else |
3682 ac_save_LIBS="$LIBS" | 3685 ac_save_LIBS="$LIBS" |
3683 LIBS="-lXdmcp -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lXdmcp $LIBS" | 3686 LIBS="-lXdmcp -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lXdmcp $LIBS" |
3684 cat > conftest.$ac_ext <<EOF | 3687 cat > conftest.$ac_ext <<EOF |
3685 #line 3686 "configure" | 3688 #line 3689 "configure" |
3686 #include "confdefs.h" | 3689 #include "confdefs.h" |
3687 /* Override any gcc2 internal prototype to avoid an error. */ | 3690 /* Override any gcc2 internal prototype to avoid an error. */ |
3688 /* We use char because int might match the return type of a gcc2 | 3691 /* We use char because int might match the return type of a gcc2 |
3689 builtin and then its argument prototype would still apply. */ | 3692 builtin and then its argument prototype would still apply. */ |
3690 char _XdmcpAuthDoIt(); | 3693 char _XdmcpAuthDoIt(); |
3691 | 3694 |
3692 int main() { | 3695 int main() { |
3693 _XdmcpAuthDoIt() | 3696 _XdmcpAuthDoIt() |
3694 ; return 0; } | 3697 ; return 0; } |
3695 EOF | 3698 EOF |
3696 if { (eval echo configure:3697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3699 if { (eval echo configure:3700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3697 rm -rf conftest* | 3700 rm -rf conftest* |
3698 eval "ac_cv_lib_$ac_lib_var=yes" | 3701 eval "ac_cv_lib_$ac_lib_var=yes" |
3699 else | 3702 else |
3700 echo "configure: failed program was:" >&5 | 3703 echo "configure: failed program was:" >&5 |
3701 cat conftest.$ac_ext >&5 | 3704 cat conftest.$ac_ext >&5 |
3713 echo "$ac_t""no" 1>&6 | 3716 echo "$ac_t""no" 1>&6 |
3714 fi | 3717 fi |
3715 | 3718 |
3716 | 3719 |
3717 echo $ac_n "checking for IceOpenConnection in -lICE""... $ac_c" 1>&6 | 3720 echo $ac_n "checking for IceOpenConnection in -lICE""... $ac_c" 1>&6 |
3718 echo "configure:3719: checking for IceOpenConnection in -lICE" >&5 | 3721 echo "configure:3722: checking for IceOpenConnection in -lICE" >&5 |
3719 ac_lib_var=`echo ICE'_'IceOpenConnection | sed 'y%./+-%__p_%'` | 3722 ac_lib_var=`echo ICE'_'IceOpenConnection | sed 'y%./+-%__p_%'` |
3720 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3723 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3721 echo $ac_n "(cached) $ac_c" 1>&6 | 3724 echo $ac_n "(cached) $ac_c" 1>&6 |
3722 else | 3725 else |
3723 ac_save_LIBS="$LIBS" | 3726 ac_save_LIBS="$LIBS" |
3724 LIBS="-lICE $X_EXTRA_LIBS $LIBS" | 3727 LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
3725 cat > conftest.$ac_ext <<EOF | 3728 cat > conftest.$ac_ext <<EOF |
3726 #line 3727 "configure" | 3729 #line 3730 "configure" |
3727 #include "confdefs.h" | 3730 #include "confdefs.h" |
3728 /* Override any gcc2 internal prototype to avoid an error. */ | 3731 /* Override any gcc2 internal prototype to avoid an error. */ |
3729 /* We use char because int might match the return type of a gcc2 | 3732 /* We use char because int might match the return type of a gcc2 |
3730 builtin and then its argument prototype would still apply. */ | 3733 builtin and then its argument prototype would still apply. */ |
3731 char IceOpenConnection(); | 3734 char IceOpenConnection(); |
3732 | 3735 |
3733 int main() { | 3736 int main() { |
3734 IceOpenConnection() | 3737 IceOpenConnection() |
3735 ; return 0; } | 3738 ; return 0; } |
3736 EOF | 3739 EOF |
3737 if { (eval echo configure:3738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3740 if { (eval echo configure:3741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3738 rm -rf conftest* | 3741 rm -rf conftest* |
3739 eval "ac_cv_lib_$ac_lib_var=yes" | 3742 eval "ac_cv_lib_$ac_lib_var=yes" |
3740 else | 3743 else |
3741 echo "configure: failed program was:" >&5 | 3744 echo "configure: failed program was:" >&5 |
3742 cat conftest.$ac_ext >&5 | 3745 cat conftest.$ac_ext >&5 |
3755 fi | 3758 fi |
3756 | 3759 |
3757 | 3760 |
3758 LDFLAGS="$X_LIBS $ac_save_LDFLAGS" | 3761 LDFLAGS="$X_LIBS $ac_save_LDFLAGS" |
3759 echo $ac_n "checking for XpmCreatePixmapFromData in -lXpm""... $ac_c" 1>&6 | 3762 echo $ac_n "checking for XpmCreatePixmapFromData in -lXpm""... $ac_c" 1>&6 |
3760 echo "configure:3761: checking for XpmCreatePixmapFromData in -lXpm" >&5 | 3763 echo "configure:3764: checking for XpmCreatePixmapFromData in -lXpm" >&5 |
3761 ac_lib_var=`echo Xpm'_'XpmCreatePixmapFromData | sed 'y%./+-%__p_%'` | 3764 ac_lib_var=`echo Xpm'_'XpmCreatePixmapFromData | sed 'y%./+-%__p_%'` |
3762 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3765 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3763 echo $ac_n "(cached) $ac_c" 1>&6 | 3766 echo $ac_n "(cached) $ac_c" 1>&6 |
3764 else | 3767 else |
3765 ac_save_LIBS="$LIBS" | 3768 ac_save_LIBS="$LIBS" |
3766 LIBS="-lXpm -lXt $X_PRE_LIBS -lXpm -lX11 $X_EXTRA_LIBS $LIBS" | 3769 LIBS="-lXpm -lXt $X_PRE_LIBS -lXpm -lX11 $X_EXTRA_LIBS $LIBS" |
3767 cat > conftest.$ac_ext <<EOF | 3770 cat > conftest.$ac_ext <<EOF |
3768 #line 3769 "configure" | 3771 #line 3772 "configure" |
3769 #include "confdefs.h" | 3772 #include "confdefs.h" |
3770 /* Override any gcc2 internal prototype to avoid an error. */ | 3773 /* Override any gcc2 internal prototype to avoid an error. */ |
3771 /* We use char because int might match the return type of a gcc2 | 3774 /* We use char because int might match the return type of a gcc2 |
3772 builtin and then its argument prototype would still apply. */ | 3775 builtin and then its argument prototype would still apply. */ |
3773 char XpmCreatePixmapFromData(); | 3776 char XpmCreatePixmapFromData(); |
3774 | 3777 |
3775 int main() { | 3778 int main() { |
3776 XpmCreatePixmapFromData() | 3779 XpmCreatePixmapFromData() |
3777 ; return 0; } | 3780 ; return 0; } |
3778 EOF | 3781 EOF |
3779 if { (eval echo configure:3780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3782 if { (eval echo configure:3783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3780 rm -rf conftest* | 3783 rm -rf conftest* |
3781 eval "ac_cv_lib_$ac_lib_var=yes" | 3784 eval "ac_cv_lib_$ac_lib_var=yes" |
3782 else | 3785 else |
3783 echo "configure: failed program was:" >&5 | 3786 echo "configure: failed program was:" >&5 |
3784 cat conftest.$ac_ext >&5 | 3787 cat conftest.$ac_ext >&5 |
3796 echo "$ac_t""no" 1>&6 | 3799 echo "$ac_t""no" 1>&6 |
3797 fi | 3800 fi |
3798 | 3801 |
3799 | 3802 |
3800 echo $ac_n "checking if X11 header files implicitly declare return values""... $ac_c" 1>&6 | 3803 echo $ac_n "checking if X11 header files implicitly declare return values""... $ac_c" 1>&6 |
3801 echo "configure:3802: checking if X11 header files implicitly declare return values" >&5 | 3804 echo "configure:3805: checking if X11 header files implicitly declare return values" >&5 |
3802 cflags_save=$CFLAGS | 3805 cflags_save=$CFLAGS |
3803 CFLAGS="$CFLAGS $X_CFLAGS -Werror" | 3806 CFLAGS="$CFLAGS $X_CFLAGS -Werror" |
3804 cat > conftest.$ac_ext <<EOF | 3807 cat > conftest.$ac_ext <<EOF |
3805 #line 3806 "configure" | 3808 #line 3809 "configure" |
3806 #include "confdefs.h" | 3809 #include "confdefs.h" |
3807 #include <X11/Xlib.h> | 3810 #include <X11/Xlib.h> |
3808 int main() { | 3811 int main() { |
3809 | 3812 |
3810 ; return 0; } | 3813 ; return 0; } |
3811 EOF | 3814 EOF |
3812 if { (eval echo configure:3813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3815 if { (eval echo configure:3816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3813 rm -rf conftest* | 3816 rm -rf conftest* |
3814 echo "$ac_t""no" 1>&6 | 3817 echo "$ac_t""no" 1>&6 |
3815 else | 3818 else |
3816 echo "configure: failed program was:" >&5 | 3819 echo "configure: failed program was:" >&5 |
3817 cat conftest.$ac_ext >&5 | 3820 cat conftest.$ac_ext >&5 |
3818 rm -rf conftest* | 3821 rm -rf conftest* |
3819 CFLAGS="$CFLAGS -Wno-implicit-int" | 3822 CFLAGS="$CFLAGS -Wno-implicit-int" |
3820 cat > conftest.$ac_ext <<EOF | 3823 cat > conftest.$ac_ext <<EOF |
3821 #line 3822 "configure" | 3824 #line 3825 "configure" |
3822 #include "confdefs.h" | 3825 #include "confdefs.h" |
3823 #include <X11/Xlib.h> | 3826 #include <X11/Xlib.h> |
3824 int main() { | 3827 int main() { |
3825 | 3828 |
3826 ; return 0; } | 3829 ; return 0; } |
3827 EOF | 3830 EOF |
3828 if { (eval echo configure:3829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3831 if { (eval echo configure:3832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3829 rm -rf conftest* | 3832 rm -rf conftest* |
3830 echo "$ac_t""yes" 1>&6; cflags_save="$cflags_save -Wno-implicit-int" | 3833 echo "$ac_t""yes" 1>&6; cflags_save="$cflags_save -Wno-implicit-int" |
3831 else | 3834 else |
3832 echo "configure: failed program was:" >&5 | 3835 echo "configure: failed program was:" >&5 |
3833 cat conftest.$ac_ext >&5 | 3836 cat conftest.$ac_ext >&5 |
3847 fi | 3850 fi |
3848 | 3851 |
3849 test "x$with_x" = xno -a "x$BEOS" != "xyes" -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no | 3852 test "x$with_x" = xno -a "x$BEOS" != "xyes" -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no |
3850 | 3853 |
3851 echo $ac_n "checking --enable-gui argument""... $ac_c" 1>&6 | 3854 echo $ac_n "checking --enable-gui argument""... $ac_c" 1>&6 |
3852 echo "configure:3853: checking --enable-gui argument" >&5 | 3855 echo "configure:3856: checking --enable-gui argument" >&5 |
3853 # Check whether --enable-gui or --disable-gui was given. | 3856 # Check whether --enable-gui or --disable-gui was given. |
3854 if test "${enable_gui+set}" = set; then | 3857 if test "${enable_gui+set}" = set; then |
3855 enableval="$enable_gui" | 3858 enableval="$enable_gui" |
3856 : | 3859 : |
3857 else | 3860 else |
3947 | 3950 |
3948 fi | 3951 fi |
3949 | 3952 |
3950 if test "x$SKIP_KDE" != "xYES" -a "$enable_gui_canon" != "kde"; then | 3953 if test "x$SKIP_KDE" != "xYES" -a "$enable_gui_canon" != "kde"; then |
3951 echo $ac_n "checking whether or not to look for KDE""... $ac_c" 1>&6 | 3954 echo $ac_n "checking whether or not to look for KDE""... $ac_c" 1>&6 |
3952 echo "configure:3953: checking whether or not to look for KDE" >&5 | 3955 echo "configure:3956: checking whether or not to look for KDE" >&5 |
3953 # Check whether --enable-kde-check or --disable-kde-check was given. | 3956 # Check whether --enable-kde-check or --disable-kde-check was given. |
3954 if test "${enable_kde_check+set}" = set; then | 3957 if test "${enable_kde_check+set}" = set; then |
3955 enableval="$enable_kde_check" | 3958 enableval="$enable_kde_check" |
3956 : | 3959 : |
3957 else | 3960 else |
3964 fi | 3967 fi |
3965 fi | 3968 fi |
3966 | 3969 |
3967 if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then | 3970 if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then |
3968 echo $ac_n "checking whether or not to look for GTK""... $ac_c" 1>&6 | 3971 echo $ac_n "checking whether or not to look for GTK""... $ac_c" 1>&6 |
3969 echo "configure:3970: checking whether or not to look for GTK" >&5 | 3972 echo "configure:3973: checking whether or not to look for GTK" >&5 |
3970 # Check whether --enable-gtk-check or --disable-gtk-check was given. | 3973 # Check whether --enable-gtk-check or --disable-gtk-check was given. |
3971 if test "${enable_gtk_check+set}" = set; then | 3974 if test "${enable_gtk_check+set}" = set; then |
3972 enableval="$enable_gtk_check" | 3975 enableval="$enable_gtk_check" |
3973 : | 3976 : |
3974 else | 3977 else |
3983 fi | 3986 fi |
3984 | 3987 |
3985 if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \ | 3988 if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \ |
3986 -a "$enable_gui_canon" != "gnome2"; then | 3989 -a "$enable_gui_canon" != "gnome2"; then |
3987 echo $ac_n "checking whether or not to look for GTK+ 2""... $ac_c" 1>&6 | 3990 echo $ac_n "checking whether or not to look for GTK+ 2""... $ac_c" 1>&6 |
3988 echo "configure:3989: checking whether or not to look for GTK+ 2" >&5 | 3991 echo "configure:3992: checking whether or not to look for GTK+ 2" >&5 |
3989 # Check whether --enable-gtk2-check or --disable-gtk2-check was given. | 3992 # Check whether --enable-gtk2-check or --disable-gtk2-check was given. |
3990 if test "${enable_gtk2_check+set}" = set; then | 3993 if test "${enable_gtk2_check+set}" = set; then |
3991 enableval="$enable_gtk2_check" | 3994 enableval="$enable_gtk2_check" |
3992 : | 3995 : |
3993 else | 3996 else |
4001 fi | 4004 fi |
4002 | 4005 |
4003 if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \ | 4006 if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \ |
4004 -a "$enable_gui_canon" != "gnome2"; then | 4007 -a "$enable_gui_canon" != "gnome2"; then |
4005 echo $ac_n "checking whether or not to look for GNOME""... $ac_c" 1>&6 | 4008 echo $ac_n "checking whether or not to look for GNOME""... $ac_c" 1>&6 |
4006 echo "configure:4007: checking whether or not to look for GNOME" >&5 | 4009 echo "configure:4010: checking whether or not to look for GNOME" >&5 |
4007 # Check whether --enable-gnome-check or --disable-gnome-check was given. | 4010 # Check whether --enable-gnome-check or --disable-gnome-check was given. |
4008 if test "${enable_gnome_check+set}" = set; then | 4011 if test "${enable_gnome_check+set}" = set; then |
4009 enableval="$enable_gnome_check" | 4012 enableval="$enable_gnome_check" |
4010 : | 4013 : |
4011 else | 4014 else |
4018 fi | 4021 fi |
4019 fi | 4022 fi |
4020 | 4023 |
4021 if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then | 4024 if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then |
4022 echo $ac_n "checking whether or not to look for Motif""... $ac_c" 1>&6 | 4025 echo $ac_n "checking whether or not to look for Motif""... $ac_c" 1>&6 |
4023 echo "configure:4024: checking whether or not to look for Motif" >&5 | 4026 echo "configure:4027: checking whether or not to look for Motif" >&5 |
4024 # Check whether --enable-motif-check or --disable-motif-check was given. | 4027 # Check whether --enable-motif-check or --disable-motif-check was given. |
4025 if test "${enable_motif_check+set}" = set; then | 4028 if test "${enable_motif_check+set}" = set; then |
4026 enableval="$enable_motif_check" | 4029 enableval="$enable_motif_check" |
4027 : | 4030 : |
4028 else | 4031 else |
4035 fi | 4038 fi |
4036 fi | 4039 fi |
4037 | 4040 |
4038 if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then | 4041 if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then |
4039 echo $ac_n "checking whether or not to look for Athena""... $ac_c" 1>&6 | 4042 echo $ac_n "checking whether or not to look for Athena""... $ac_c" 1>&6 |
4040 echo "configure:4041: checking whether or not to look for Athena" >&5 | 4043 echo "configure:4044: checking whether or not to look for Athena" >&5 |
4041 # Check whether --enable-athena-check or --disable-athena-check was given. | 4044 # Check whether --enable-athena-check or --disable-athena-check was given. |
4042 if test "${enable_athena_check+set}" = set; then | 4045 if test "${enable_athena_check+set}" = set; then |
4043 enableval="$enable_athena_check" | 4046 enableval="$enable_athena_check" |
4044 : | 4047 : |
4045 else | 4048 else |
4052 fi | 4055 fi |
4053 fi | 4056 fi |
4054 | 4057 |
4055 if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then | 4058 if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then |
4056 echo $ac_n "checking whether or not to look for neXtaw""... $ac_c" 1>&6 | 4059 echo $ac_n "checking whether or not to look for neXtaw""... $ac_c" 1>&6 |
4057 echo "configure:4058: checking whether or not to look for neXtaw" >&5 | 4060 echo "configure:4061: checking whether or not to look for neXtaw" >&5 |
4058 # Check whether --enable-nextaw-check or --disable-nextaw-check was given. | 4061 # Check whether --enable-nextaw-check or --disable-nextaw-check was given. |
4059 if test "${enable_nextaw_check+set}" = set; then | 4062 if test "${enable_nextaw_check+set}" = set; then |
4060 enableval="$enable_nextaw_check" | 4063 enableval="$enable_nextaw_check" |
4061 : | 4064 : |
4062 else | 4065 else |
4069 fi | 4072 fi |
4070 fi | 4073 fi |
4071 | 4074 |
4072 if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then | 4075 if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then |
4073 echo $ac_n "checking whether or not to look for Carbon""... $ac_c" 1>&6 | 4076 echo $ac_n "checking whether or not to look for Carbon""... $ac_c" 1>&6 |
4074 echo "configure:4075: checking whether or not to look for Carbon" >&5 | 4077 echo "configure:4078: checking whether or not to look for Carbon" >&5 |
4075 # Check whether --enable-carbon-check or --disable-carbon-check was given. | 4078 # Check whether --enable-carbon-check or --disable-carbon-check was given. |
4076 if test "${enable_carbon_check+set}" = set; then | 4079 if test "${enable_carbon_check+set}" = set; then |
4077 enableval="$enable_carbon_check" | 4080 enableval="$enable_carbon_check" |
4078 : | 4081 : |
4079 else | 4082 else |
4103 if test "x$ROOTQT" = "x"; then | 4106 if test "x$ROOTQT" = "x"; then |
4104 if test -z "$QTDIR"; then | 4107 if test -z "$QTDIR"; then |
4105 # Extract the first word of "moc", so it can be a program name with args. | 4108 # Extract the first word of "moc", so it can be a program name with args. |
4106 set dummy moc; ac_word=$2 | 4109 set dummy moc; ac_word=$2 |
4107 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4110 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4108 echo "configure:4109: checking for $ac_word" >&5 | 4111 echo "configure:4112: checking for $ac_word" >&5 |
4109 if eval "test \"`echo '$''{'ac_cv_path_MOC'+set}'`\" = set"; then | 4112 if eval "test \"`echo '$''{'ac_cv_path_MOC'+set}'`\" = set"; then |
4110 echo $ac_n "(cached) $ac_c" 1>&6 | 4113 echo $ac_n "(cached) $ac_c" 1>&6 |
4111 else | 4114 else |
4112 case "$MOC" in | 4115 case "$MOC" in |
4113 /*) | 4116 /*) |
4173 if test "x$QT_INCLUDES" = "x" ; then | 4176 if test "x$QT_INCLUDES" = "x" ; then |
4174 QT_INCLUDES="$ROOTQT"/include | 4177 QT_INCLUDES="$ROOTQT"/include |
4175 fi | 4178 fi |
4176 | 4179 |
4177 echo $ac_n "checking whether or not to use a KDE Toolbar in KVim""... $ac_c" 1>&6 | 4180 echo $ac_n "checking whether or not to use a KDE Toolbar in KVim""... $ac_c" 1>&6 |
4178 echo "configure:4179: checking whether or not to use a KDE Toolbar in KVim" >&5 | 4181 echo "configure:4182: checking whether or not to use a KDE Toolbar in KVim" >&5 |
4179 # Check whether --enable-kde-toolbar or --disable-kde-toolbar was given. | 4182 # Check whether --enable-kde-toolbar or --disable-kde-toolbar was given. |
4180 if test "${enable_kde_toolbar+set}" = set; then | 4183 if test "${enable_kde_toolbar+set}" = set; then |
4181 enableval="$enable_kde_toolbar" | 4184 enableval="$enable_kde_toolbar" |
4182 : | 4185 : |
4183 else | 4186 else |
4198 | 4201 |
4199 | 4202 |
4200 | 4203 |
4201 | 4204 |
4202 echo $ac_n "checking --disable-rpath argument""... $ac_c" 1>&6 | 4205 echo $ac_n "checking --disable-rpath argument""... $ac_c" 1>&6 |
4203 echo "configure:4204: checking --disable-rpath argument" >&5 | 4206 echo "configure:4207: checking --disable-rpath argument" >&5 |
4204 # Check whether --enable-rpath or --disable-rpath was given. | 4207 # Check whether --enable-rpath or --disable-rpath was given. |
4205 if test "${enable_rpath+set}" = set; then | 4208 if test "${enable_rpath+set}" = set; then |
4206 enableval="$enable_rpath" | 4209 enableval="$enable_rpath" |
4207 : | 4210 : |
4208 else | 4211 else |
4214 else | 4217 else |
4215 echo "$ac_t""yes" 1>&6 | 4218 echo "$ac_t""yes" 1>&6 |
4216 fi | 4219 fi |
4217 | 4220 |
4218 echo $ac_n "checking --with-kde-prefix argument""... $ac_c" 1>&6 | 4221 echo $ac_n "checking --with-kde-prefix argument""... $ac_c" 1>&6 |
4219 echo "configure:4220: checking --with-kde-prefix argument" >&5 | 4222 echo "configure:4223: checking --with-kde-prefix argument" >&5 |
4220 # Check whether --with-kde-prefix or --without-kde-prefix was given. | 4223 # Check whether --with-kde-prefix or --without-kde-prefix was given. |
4221 if test "${with_kde_prefix+set}" = set; then | 4224 if test "${with_kde_prefix+set}" = set; then |
4222 withval="$with_kde_prefix" | 4225 withval="$with_kde_prefix" |
4223 kde_config_prefix="$withval"; | 4226 kde_config_prefix="$withval"; |
4224 echo "$ac_t""$kde_config_prefix" 1>&6 | 4227 echo "$ac_t""$kde_config_prefix" 1>&6 |
4242 | 4245 |
4243 fi | 4246 fi |
4244 | 4247 |
4245 | 4248 |
4246 echo $ac_n "checking --disable-kdetest argument""... $ac_c" 1>&6 | 4249 echo $ac_n "checking --disable-kdetest argument""... $ac_c" 1>&6 |
4247 echo "configure:4248: checking --disable-kdetest argument" >&5 | 4250 echo "configure:4251: checking --disable-kdetest argument" >&5 |
4248 # Check whether --enable-kdetest or --disable-kdetest was given. | 4251 # Check whether --enable-kdetest or --disable-kdetest was given. |
4249 if test "${enable_kdetest+set}" = set; then | 4252 if test "${enable_kdetest+set}" = set; then |
4250 enableval="$enable_kdetest" | 4253 enableval="$enable_kdetest" |
4251 enable_kdetest=yes | 4254 enable_kdetest=yes |
4252 fi | 4255 fi |
4264 | 4267 |
4265 if test "X$KDE_CONFIG" = "X"; then | 4268 if test "X$KDE_CONFIG" = "X"; then |
4266 # Extract the first word of "kde-config", so it can be a program name with args. | 4269 # Extract the first word of "kde-config", so it can be a program name with args. |
4267 set dummy kde-config; ac_word=$2 | 4270 set dummy kde-config; ac_word=$2 |
4268 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4271 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4269 echo "configure:4270: checking for $ac_word" >&5 | 4272 echo "configure:4273: checking for $ac_word" >&5 |
4270 if eval "test \"`echo '$''{'ac_cv_path_KDE_CONFIG'+set}'`\" = set"; then | 4273 if eval "test \"`echo '$''{'ac_cv_path_KDE_CONFIG'+set}'`\" = set"; then |
4271 echo $ac_n "(cached) $ac_c" 1>&6 | 4274 echo $ac_n "(cached) $ac_c" 1>&6 |
4272 else | 4275 else |
4273 case "$KDE_CONFIG" in | 4276 case "$KDE_CONFIG" in |
4274 /*) | 4277 /*) |
4306 if test "X$KDE_CONFIG" != "X" ; then | 4309 if test "X$KDE_CONFIG" != "X" ; then |
4307 | 4310 |
4308 if test "X$KDE_CONFIG" != "X"; then | 4311 if test "X$KDE_CONFIG" != "X"; then |
4309 min_kde_version=2.0.0 | 4312 min_kde_version=2.0.0 |
4310 echo $ac_n "checking for KDE version >= $min_kde_version""... $ac_c" 1>&6 | 4313 echo $ac_n "checking for KDE version >= $min_kde_version""... $ac_c" 1>&6 |
4311 echo "configure:4312: checking for KDE version >= $min_kde_version" >&5 | 4314 echo "configure:4315: checking for KDE version >= $min_kde_version" >&5 |
4312 no_kde="" | 4315 no_kde="" |
4313 if test "$KDE_CONFIG" = "no" ; then | 4316 if test "$KDE_CONFIG" = "no" ; then |
4314 no_kde=yes | 4317 no_kde=yes |
4315 else | 4318 else |
4316 KDE_PREFIX=`$KDE_CONFIG --prefix` | 4319 KDE_PREFIX=`$KDE_CONFIG --prefix` |
4339 | 4342 |
4340 if test "$cross_compiling" = yes; then | 4343 if test "$cross_compiling" = yes; then |
4341 echo $ac_n "cross compiling KDE ? ? how can i remove that ? :)" | 4344 echo $ac_n "cross compiling KDE ? ? how can i remove that ? :)" |
4342 else | 4345 else |
4343 cat > conftest.$ac_ext <<EOF | 4346 cat > conftest.$ac_ext <<EOF |
4344 #line 4345 "configure" | 4347 #line 4348 "configure" |
4345 #include "confdefs.h" | 4348 #include "confdefs.h" |
4346 | 4349 |
4347 #include <stdio.h> | 4350 #include <stdio.h> |
4348 int | 4351 int |
4349 main() | 4352 main() |
4350 { return 0; } | 4353 { return 0; } |
4351 | 4354 |
4352 EOF | 4355 EOF |
4353 if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4356 if { (eval echo configure:4357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4354 then | 4357 then |
4355 : | 4358 : |
4356 else | 4359 else |
4357 echo "configure: failed program was:" >&5 | 4360 echo "configure: failed program was:" >&5 |
4358 cat conftest.$ac_ext >&5 | 4361 cat conftest.$ac_ext >&5 |
4385 | 4388 |
4386 | 4389 |
4387 | 4390 |
4388 if test "x$KDE_PREFIX" != "x"; then | 4391 if test "x$KDE_PREFIX" != "x"; then |
4389 echo $ac_n "checking for QT version $qt_major_version.x""... $ac_c" 1>&6 | 4392 echo $ac_n "checking for QT version $qt_major_version.x""... $ac_c" 1>&6 |
4390 echo "configure:4391: checking for QT version $qt_major_version.x" >&5 | 4393 echo "configure:4394: checking for QT version $qt_major_version.x" >&5 |
4391 if test "x$ROOTQT" != "x" ; then | 4394 if test "x$ROOTQT" != "x" ; then |
4392 GUI_INC_LOC="-I$QT_INCLUDES $GUI_INC_LOC" | 4395 GUI_INC_LOC="-I$QT_INCLUDES $GUI_INC_LOC" |
4393 if test $qt_major_version -lt 2; then | 4396 if test $qt_major_version -lt 2; then |
4394 { echo "configure: error: Your QT version is prior to 2.0; KDE 2.x and 3.x require at least QT 2" 1>&2; exit 1; } | 4397 { echo "configure: error: Your QT version is prior to 2.0; KDE 2.x and 3.x require at least QT 2" 1>&2; exit 1; } |
4395 fi | 4398 fi |
4424 qt_incdir=NO | 4427 qt_incdir=NO |
4425 for i in $QT_INCLUDES; | 4428 for i in $QT_INCLUDES; |
4426 do | 4429 do |
4427 for j in qstyle.h; | 4430 for j in qstyle.h; |
4428 do | 4431 do |
4429 echo "configure: 4430: $i/$j" >&5 | 4432 echo "configure: 4433: $i/$j" >&5 |
4430 if test -r "$i/$j"; then | 4433 if test -r "$i/$j"; then |
4431 echo "taking that" >&5 | 4434 echo "taking that" >&5 |
4432 qt_incdir=$i | 4435 qt_incdir=$i |
4433 break 2 | 4436 break 2 |
4434 fi | 4437 fi |
4442 kde_incdir=NO | 4445 kde_incdir=NO |
4443 for i in $KDE_INCLUDES; | 4446 for i in $KDE_INCLUDES; |
4444 do | 4447 do |
4445 for j in kapplication.h; | 4448 for j in kapplication.h; |
4446 do | 4449 do |
4447 echo "configure: 4448: $i/$j" >&5 | 4450 echo "configure: 4451: $i/$j" >&5 |
4448 if test -r "$i/$j"; then | 4451 if test -r "$i/$j"; then |
4449 echo "taking that" >&5 | 4452 echo "taking that" >&5 |
4450 kde_incdir=$i | 4453 kde_incdir=$i |
4451 break 2 | 4454 break 2 |
4452 fi | 4455 fi |
4468 ac_save_LIBS="$LIBS" | 4471 ac_save_LIBS="$LIBS" |
4469 LIBS="$GUI_LIB_LOC" | 4472 LIBS="$GUI_LIB_LOC" |
4470 ac_save_CXXFLAGS="$CXXFLAGS" | 4473 ac_save_CXXFLAGS="$CXXFLAGS" |
4471 CXXFLAGS="$CXXFLAGS $GUI_INC_LOC" | 4474 CXXFLAGS="$CXXFLAGS $GUI_INC_LOC" |
4472 echo $ac_n "checking whether Qt libraries are usable""... $ac_c" 1>&6 | 4475 echo $ac_n "checking whether Qt libraries are usable""... $ac_c" 1>&6 |
4473 echo "configure:4474: checking whether Qt libraries are usable" >&5 | 4476 echo "configure:4477: checking whether Qt libraries are usable" >&5 |
4474 cat > conftest.$ac_ext <<EOF | 4477 cat > conftest.$ac_ext <<EOF |
4475 #line 4476 "configure" | 4478 #line 4479 "configure" |
4476 #include "confdefs.h" | 4479 #include "confdefs.h" |
4477 #include <qapplication.h> | 4480 #include <qapplication.h> |
4478 int main() { | 4481 int main() { |
4479 | 4482 |
4480 int argc; | 4483 int argc; |
4481 char** argv; | 4484 char** argv; |
4482 QApplication app(argc, argv); | 4485 QApplication app(argc, argv); |
4483 | 4486 |
4484 ; return 0; } | 4487 ; return 0; } |
4485 EOF | 4488 EOF |
4486 if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4489 if { (eval echo configure:4490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4487 rm -rf conftest* | 4490 rm -rf conftest* |
4488 echo "$ac_t""yes" 1>&6 | 4491 echo "$ac_t""yes" 1>&6 |
4489 else | 4492 else |
4490 echo "configure: failed program was:" >&5 | 4493 echo "configure: failed program was:" >&5 |
4491 cat conftest.$ac_ext >&5 | 4494 cat conftest.$ac_ext >&5 |
4493 echo "$ac_t""no" 1>&6;{ echo "configure: error: Qt fails to link a simple application" 1>&2; exit 1; } | 4496 echo "$ac_t""no" 1>&6;{ echo "configure: error: Qt fails to link a simple application" 1>&2; exit 1; } |
4494 fi | 4497 fi |
4495 rm -f conftest* | 4498 rm -f conftest* |
4496 | 4499 |
4497 echo $ac_n "checking whether KDE libraries are usable""... $ac_c" 1>&6 | 4500 echo $ac_n "checking whether KDE libraries are usable""... $ac_c" 1>&6 |
4498 echo "configure:4499: checking whether KDE libraries are usable" >&5 | 4501 echo "configure:4502: checking whether KDE libraries are usable" >&5 |
4499 cat > conftest.$ac_ext <<EOF | 4502 cat > conftest.$ac_ext <<EOF |
4500 #line 4501 "configure" | 4503 #line 4504 "configure" |
4501 #include "confdefs.h" | 4504 #include "confdefs.h" |
4502 #include <kapplication.h> | 4505 #include <kapplication.h> |
4503 int main() { | 4506 int main() { |
4504 | 4507 |
4505 int argc; | 4508 int argc; |
4506 char** argv; | 4509 char** argv; |
4507 KApplication app(argc, argv); | 4510 KApplication app(argc, argv); |
4508 | 4511 |
4509 ; return 0; } | 4512 ; return 0; } |
4510 EOF | 4513 EOF |
4511 if { (eval echo configure:4512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4514 if { (eval echo configure:4515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4512 rm -rf conftest* | 4515 rm -rf conftest* |
4513 echo "$ac_t""yes" 1>&6 | 4516 echo "$ac_t""yes" 1>&6 |
4514 else | 4517 else |
4515 echo "configure: failed program was:" >&5 | 4518 echo "configure: failed program was:" >&5 |
4516 cat conftest.$ac_ext >&5 | 4519 cat conftest.$ac_ext >&5 |
4552 fi | 4555 fi |
4553 fi | 4556 fi |
4554 | 4557 |
4555 if test "x$MACOSX" = "xyes" -a -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then | 4558 if test "x$MACOSX" = "xyes" -a -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then |
4556 echo $ac_n "checking for Carbon GUI""... $ac_c" 1>&6 | 4559 echo $ac_n "checking for Carbon GUI""... $ac_c" 1>&6 |
4557 echo "configure:4558: checking for Carbon GUI" >&5 | 4560 echo "configure:4561: checking for Carbon GUI" >&5 |
4558 echo "$ac_t""yes" 1>&6; | 4561 echo "$ac_t""yes" 1>&6; |
4559 GUITYPE=CARBONGUI | 4562 GUITYPE=CARBONGUI |
4560 SKIP_GTK=YES; | 4563 SKIP_GTK=YES; |
4561 SKIP_GTK2=YES; | 4564 SKIP_GTK2=YES; |
4562 SKIP_GNOME=YES; | 4565 SKIP_GNOME=YES; |
4577 | 4580 |
4578 | 4581 |
4579 if test -z "$SKIP_GTK"; then | 4582 if test -z "$SKIP_GTK"; then |
4580 | 4583 |
4581 echo $ac_n "checking --with-gtk-prefix argument""... $ac_c" 1>&6 | 4584 echo $ac_n "checking --with-gtk-prefix argument""... $ac_c" 1>&6 |
4582 echo "configure:4583: checking --with-gtk-prefix argument" >&5 | 4585 echo "configure:4586: checking --with-gtk-prefix argument" >&5 |
4583 # Check whether --with-gtk-prefix or --without-gtk-prefix was given. | 4586 # Check whether --with-gtk-prefix or --without-gtk-prefix was given. |
4584 if test "${with_gtk_prefix+set}" = set; then | 4587 if test "${with_gtk_prefix+set}" = set; then |
4585 withval="$with_gtk_prefix" | 4588 withval="$with_gtk_prefix" |
4586 gtk_config_prefix="$withval"; echo "$ac_t""$gtk_config_prefix" 1>&6 | 4589 gtk_config_prefix="$withval"; echo "$ac_t""$gtk_config_prefix" 1>&6 |
4587 else | 4590 else |
4588 gtk_config_prefix=""; echo "$ac_t""no" 1>&6 | 4591 gtk_config_prefix=""; echo "$ac_t""no" 1>&6 |
4589 fi | 4592 fi |
4590 | 4593 |
4591 | 4594 |
4592 echo $ac_n "checking --with-gtk-exec-prefix argument""... $ac_c" 1>&6 | 4595 echo $ac_n "checking --with-gtk-exec-prefix argument""... $ac_c" 1>&6 |
4593 echo "configure:4594: checking --with-gtk-exec-prefix argument" >&5 | 4596 echo "configure:4597: checking --with-gtk-exec-prefix argument" >&5 |
4594 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. | 4597 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. |
4595 if test "${with_gtk_exec_prefix+set}" = set; then | 4598 if test "${with_gtk_exec_prefix+set}" = set; then |
4596 withval="$with_gtk_exec_prefix" | 4599 withval="$with_gtk_exec_prefix" |
4597 gtk_config_exec_prefix="$withval"; echo "$ac_t""$gtk_config_prefix" 1>&6 | 4600 gtk_config_exec_prefix="$withval"; echo "$ac_t""$gtk_config_prefix" 1>&6 |
4598 else | 4601 else |
4599 gtk_config_exec_prefix=""; echo "$ac_t""no" 1>&6 | 4602 gtk_config_exec_prefix=""; echo "$ac_t""no" 1>&6 |
4600 fi | 4603 fi |
4601 | 4604 |
4602 | 4605 |
4603 echo $ac_n "checking --disable-gtktest argument""... $ac_c" 1>&6 | 4606 echo $ac_n "checking --disable-gtktest argument""... $ac_c" 1>&6 |
4604 echo "configure:4605: checking --disable-gtktest argument" >&5 | 4607 echo "configure:4608: checking --disable-gtktest argument" >&5 |
4605 # Check whether --enable-gtktest or --disable-gtktest was given. | 4608 # Check whether --enable-gtktest or --disable-gtktest was given. |
4606 if test "${enable_gtktest+set}" = set; then | 4609 if test "${enable_gtktest+set}" = set; then |
4607 enableval="$enable_gtktest" | 4610 enableval="$enable_gtktest" |
4608 : | 4611 : |
4609 else | 4612 else |
4626 fi | 4629 fi |
4627 if test "X$GTK_CONFIG" = "X"; then | 4630 if test "X$GTK_CONFIG" = "X"; then |
4628 # Extract the first word of "gtk-config", so it can be a program name with args. | 4631 # Extract the first word of "gtk-config", so it can be a program name with args. |
4629 set dummy gtk-config; ac_word=$2 | 4632 set dummy gtk-config; ac_word=$2 |
4630 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4633 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4631 echo "configure:4632: checking for $ac_word" >&5 | 4634 echo "configure:4635: checking for $ac_word" >&5 |
4632 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then | 4635 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then |
4633 echo $ac_n "(cached) $ac_c" 1>&6 | 4636 echo $ac_n "(cached) $ac_c" 1>&6 |
4634 else | 4637 else |
4635 case "$GTK_CONFIG" in | 4638 case "$GTK_CONFIG" in |
4636 /*) | 4639 /*) |
4663 | 4666 |
4664 if test "X$GTK_CONFIG" = "Xno"; then | 4667 if test "X$GTK_CONFIG" = "Xno"; then |
4665 # Extract the first word of "gtk12-config", so it can be a program name with args. | 4668 # Extract the first word of "gtk12-config", so it can be a program name with args. |
4666 set dummy gtk12-config; ac_word=$2 | 4669 set dummy gtk12-config; ac_word=$2 |
4667 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4670 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4668 echo "configure:4669: checking for $ac_word" >&5 | 4671 echo "configure:4672: checking for $ac_word" >&5 |
4669 if eval "test \"`echo '$''{'ac_cv_path_GTK12_CONFIG'+set}'`\" = set"; then | 4672 if eval "test \"`echo '$''{'ac_cv_path_GTK12_CONFIG'+set}'`\" = set"; then |
4670 echo $ac_n "(cached) $ac_c" 1>&6 | 4673 echo $ac_n "(cached) $ac_c" 1>&6 |
4671 else | 4674 else |
4672 case "$GTK12_CONFIG" in | 4675 case "$GTK12_CONFIG" in |
4673 /*) | 4676 /*) |
4705 fi | 4708 fi |
4706 if test "X$PKG_CONFIG" = "X"; then | 4709 if test "X$PKG_CONFIG" = "X"; then |
4707 # Extract the first word of "pkg-config", so it can be a program name with args. | 4710 # Extract the first word of "pkg-config", so it can be a program name with args. |
4708 set dummy pkg-config; ac_word=$2 | 4711 set dummy pkg-config; ac_word=$2 |
4709 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4710 echo "configure:4711: checking for $ac_word" >&5 | 4713 echo "configure:4714: checking for $ac_word" >&5 |
4711 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then | 4714 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then |
4712 echo $ac_n "(cached) $ac_c" 1>&6 | 4715 echo $ac_n "(cached) $ac_c" 1>&6 |
4713 else | 4716 else |
4714 case "$PKG_CONFIG" in | 4717 case "$PKG_CONFIG" in |
4715 /*) | 4718 /*) |
4747 | 4750 |
4748 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then | 4751 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then |
4749 { | 4752 { |
4750 min_gtk_version=2.2.0 | 4753 min_gtk_version=2.2.0 |
4751 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 | 4754 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 |
4752 echo "configure:4753: checking for GTK - version >= $min_gtk_version" >&5 | 4755 echo "configure:4756: checking for GTK - version >= $min_gtk_version" >&5 |
4753 no_gtk="" | 4756 no_gtk="" |
4754 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ | 4757 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ |
4755 && $PKG_CONFIG --exists gtk+-2.0; then | 4758 && $PKG_CONFIG --exists gtk+-2.0; then |
4756 { | 4759 { |
4757 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` | 4760 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` |
4788 rm -f conf.gtktest | 4791 rm -f conf.gtktest |
4789 if test "$cross_compiling" = yes; then | 4792 if test "$cross_compiling" = yes; then |
4790 echo $ac_n "cross compiling; assumed OK... $ac_c" | 4793 echo $ac_n "cross compiling; assumed OK... $ac_c" |
4791 else | 4794 else |
4792 cat > conftest.$ac_ext <<EOF | 4795 cat > conftest.$ac_ext <<EOF |
4793 #line 4794 "configure" | 4796 #line 4797 "configure" |
4794 #include "confdefs.h" | 4797 #include "confdefs.h" |
4795 | 4798 |
4796 #include <gtk/gtk.h> | 4799 #include <gtk/gtk.h> |
4797 #include <stdio.h> | 4800 #include <stdio.h> |
4798 | 4801 |
4820 } | 4823 } |
4821 return 1; | 4824 return 1; |
4822 } | 4825 } |
4823 | 4826 |
4824 EOF | 4827 EOF |
4825 if { (eval echo configure:4826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4828 if { (eval echo configure:4829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4826 then | 4829 then |
4827 : | 4830 : |
4828 else | 4831 else |
4829 echo "configure: failed program was:" >&5 | 4832 echo "configure: failed program was:" >&5 |
4830 cat conftest.$ac_ext >&5 | 4833 cat conftest.$ac_ext >&5 |
4878 | 4881 |
4879 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then | 4882 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then |
4880 { | 4883 { |
4881 min_gtk_version=1.1.16 | 4884 min_gtk_version=1.1.16 |
4882 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 | 4885 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 |
4883 echo "configure:4884: checking for GTK - version >= $min_gtk_version" >&5 | 4886 echo "configure:4887: checking for GTK - version >= $min_gtk_version" >&5 |
4884 no_gtk="" | 4887 no_gtk="" |
4885 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ | 4888 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ |
4886 && $PKG_CONFIG --exists gtk+-2.0; then | 4889 && $PKG_CONFIG --exists gtk+-2.0; then |
4887 { | 4890 { |
4888 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` | 4891 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` |
4919 rm -f conf.gtktest | 4922 rm -f conf.gtktest |
4920 if test "$cross_compiling" = yes; then | 4923 if test "$cross_compiling" = yes; then |
4921 echo $ac_n "cross compiling; assumed OK... $ac_c" | 4924 echo $ac_n "cross compiling; assumed OK... $ac_c" |
4922 else | 4925 else |
4923 cat > conftest.$ac_ext <<EOF | 4926 cat > conftest.$ac_ext <<EOF |
4924 #line 4925 "configure" | 4927 #line 4928 "configure" |
4925 #include "confdefs.h" | 4928 #include "confdefs.h" |
4926 | 4929 |
4927 #include <gtk/gtk.h> | 4930 #include <gtk/gtk.h> |
4928 #include <stdio.h> | 4931 #include <stdio.h> |
4929 | 4932 |
4951 } | 4954 } |
4952 return 1; | 4955 return 1; |
4953 } | 4956 } |
4954 | 4957 |
4955 EOF | 4958 EOF |
4956 if { (eval echo configure:4957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4959 if { (eval echo configure:4960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4957 then | 4960 then |
4958 : | 4961 : |
4959 else | 4962 else |
4960 echo "configure: failed program was:" >&5 | 4963 echo "configure: failed program was:" >&5 |
4961 cat conftest.$ac_ext >&5 | 4964 cat conftest.$ac_ext >&5 |
5069 | 5072 |
5070 | 5073 |
5071 if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then | 5074 if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then |
5072 { | 5075 { |
5073 echo $ac_n "checking for libgnomeui-2.0""... $ac_c" 1>&6 | 5076 echo $ac_n "checking for libgnomeui-2.0""... $ac_c" 1>&6 |
5074 echo "configure:5075: checking for libgnomeui-2.0" >&5 | 5077 echo "configure:5078: checking for libgnomeui-2.0" >&5 |
5075 if $PKG_CONFIG --exists libgnomeui-2.0; then | 5078 if $PKG_CONFIG --exists libgnomeui-2.0; then |
5076 echo "$ac_t""yes" 1>&6 | 5079 echo "$ac_t""yes" 1>&6 |
5077 GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0` | 5080 GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0` |
5078 GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0` | 5081 GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0` |
5079 GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0` | 5082 GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0` |
5088 elif test "x$want_gnome" = xyes; then | 5091 elif test "x$want_gnome" = xyes; then |
5089 { | 5092 { |
5090 # Extract the first word of "gnome-config", so it can be a program name with args. | 5093 # Extract the first word of "gnome-config", so it can be a program name with args. |
5091 set dummy gnome-config; ac_word=$2 | 5094 set dummy gnome-config; ac_word=$2 |
5092 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5095 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5093 echo "configure:5094: checking for $ac_word" >&5 | 5096 echo "configure:5097: checking for $ac_word" >&5 |
5094 if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then | 5097 if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then |
5095 echo $ac_n "(cached) $ac_c" 1>&6 | 5098 echo $ac_n "(cached) $ac_c" 1>&6 |
5096 else | 5099 else |
5097 case "$GNOME_CONFIG" in | 5100 case "$GNOME_CONFIG" in |
5098 /*) | 5101 /*) |
5125 | 5128 |
5126 if test "$GNOME_CONFIG" = "no"; then | 5129 if test "$GNOME_CONFIG" = "no"; then |
5127 no_gnome_config="yes" | 5130 no_gnome_config="yes" |
5128 else | 5131 else |
5129 echo $ac_n "checking if $GNOME_CONFIG works""... $ac_c" 1>&6 | 5132 echo $ac_n "checking if $GNOME_CONFIG works""... $ac_c" 1>&6 |
5130 echo "configure:5131: checking if $GNOME_CONFIG works" >&5 | 5133 echo "configure:5134: checking if $GNOME_CONFIG works" >&5 |
5131 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then | 5134 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then |
5132 echo "$ac_t""yes" 1>&6 | 5135 echo "$ac_t""yes" 1>&6 |
5133 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui`" | 5136 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui`" |
5134 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`" | 5137 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`" |
5135 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`" | 5138 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`" |
5150 gnome_prefix=`eval echo \`echo $libdir\`` | 5153 gnome_prefix=`eval echo \`echo $libdir\`` |
5151 fi | 5154 fi |
5152 | 5155 |
5153 if test "$no_gnome_config" = "yes"; then | 5156 if test "$no_gnome_config" = "yes"; then |
5154 echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6 | 5157 echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6 |
5155 echo "configure:5156: checking for gnomeConf.sh file in $gnome_prefix" >&5 | 5158 echo "configure:5159: checking for gnomeConf.sh file in $gnome_prefix" >&5 |
5156 if test -f $gnome_prefix/gnomeConf.sh; then | 5159 if test -f $gnome_prefix/gnomeConf.sh; then |
5157 echo "$ac_t""found" 1>&6 | 5160 echo "$ac_t""found" 1>&6 |
5158 echo "loading gnome configuration from" \ | 5161 echo "loading gnome configuration from" \ |
5159 "$gnome_prefix/gnomeConf.sh" | 5162 "$gnome_prefix/gnomeConf.sh" |
5160 . $gnome_prefix/gnomeConf.sh | 5163 . $gnome_prefix/gnomeConf.sh |
5188 if test -z "$SKIP_MOTIF"; then | 5191 if test -z "$SKIP_MOTIF"; then |
5189 gui_XXX="/usr/XXX/Motif* /usr/Motif*/XXX /usr/XXX /usr/shlib /usr/X11*/XXX /usr/XXX/X11* /usr/dt/XXX /local/Motif*/XXX /local/XXX/Motif* /usr/local/Motif*/XXX /usr/local/XXX/Motif* /usr/local/XXX /usr/local/X11*/XXX /usr/local/LessTif/Motif*/XXX $MOTIFHOME/XXX" | 5192 gui_XXX="/usr/XXX/Motif* /usr/Motif*/XXX /usr/XXX /usr/shlib /usr/X11*/XXX /usr/XXX/X11* /usr/dt/XXX /local/Motif*/XXX /local/XXX/Motif* /usr/local/Motif*/XXX /usr/local/XXX/Motif* /usr/local/XXX /usr/local/X11*/XXX /usr/local/LessTif/Motif*/XXX $MOTIFHOME/XXX" |
5190 GUI_INC_LOC="`echo $GUI_INC_LOC|sed 's%-I%%g'`" | 5193 GUI_INC_LOC="`echo $GUI_INC_LOC|sed 's%-I%%g'`" |
5191 | 5194 |
5192 echo $ac_n "checking for location of Motif GUI includes""... $ac_c" 1>&6 | 5195 echo $ac_n "checking for location of Motif GUI includes""... $ac_c" 1>&6 |
5193 echo "configure:5194: checking for location of Motif GUI includes" >&5 | 5196 echo "configure:5197: checking for location of Motif GUI includes" >&5 |
5194 gui_includes="`echo $x_includes|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/include/g` $GUI_INC_LOC" | 5197 gui_includes="`echo $x_includes|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/include/g` $GUI_INC_LOC" |
5195 GUI_INC_LOC= | 5198 GUI_INC_LOC= |
5196 for try in $gui_includes; do | 5199 for try in $gui_includes; do |
5197 if test -f "$try/Xm/Xm.h"; then | 5200 if test -f "$try/Xm/Xm.h"; then |
5198 GUI_INC_LOC=$try | 5201 GUI_INC_LOC=$try |
5212 fi | 5215 fi |
5213 | 5216 |
5214 | 5217 |
5215 if test -z "$SKIP_MOTIF"; then | 5218 if test -z "$SKIP_MOTIF"; then |
5216 echo $ac_n "checking --with-motif-lib argument""... $ac_c" 1>&6 | 5219 echo $ac_n "checking --with-motif-lib argument""... $ac_c" 1>&6 |
5217 echo "configure:5218: checking --with-motif-lib argument" >&5 | 5220 echo "configure:5221: checking --with-motif-lib argument" >&5 |
5218 # Check whether --with-motif-lib or --without-motif-lib was given. | 5221 # Check whether --with-motif-lib or --without-motif-lib was given. |
5219 if test "${with_motif_lib+set}" = set; then | 5222 if test "${with_motif_lib+set}" = set; then |
5220 withval="$with_motif_lib" | 5223 withval="$with_motif_lib" |
5221 MOTIF_LIBNAME="${withval}" | 5224 MOTIF_LIBNAME="${withval}" |
5222 fi | 5225 fi |
5229 echo "$ac_t""no" 1>&6 | 5232 echo "$ac_t""no" 1>&6 |
5230 | 5233 |
5231 GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`" | 5234 GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`" |
5232 | 5235 |
5233 echo $ac_n "checking for location of Motif GUI libs""... $ac_c" 1>&6 | 5236 echo $ac_n "checking for location of Motif GUI libs""... $ac_c" 1>&6 |
5234 echo "configure:5235: checking for location of Motif GUI libs" >&5 | 5237 echo "configure:5238: checking for location of Motif GUI libs" >&5 |
5235 gui_libs="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC" | 5238 gui_libs="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC" |
5236 GUI_LIB_LOC= | 5239 GUI_LIB_LOC= |
5237 for try in $gui_libs; do | 5240 for try in $gui_libs; do |
5238 for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do | 5241 for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do |
5239 if test -f "$libtry"; then | 5242 if test -f "$libtry"; then |
5272 | 5275 |
5273 GUI_X_LIBS= | 5276 GUI_X_LIBS= |
5274 | 5277 |
5275 if test -z "$SKIP_ATHENA"; then | 5278 if test -z "$SKIP_ATHENA"; then |
5276 echo $ac_n "checking if Athena header files can be found""... $ac_c" 1>&6 | 5279 echo $ac_n "checking if Athena header files can be found""... $ac_c" 1>&6 |
5277 echo "configure:5278: checking if Athena header files can be found" >&5 | 5280 echo "configure:5281: checking if Athena header files can be found" >&5 |
5278 cflags_save=$CFLAGS | 5281 cflags_save=$CFLAGS |
5279 CFLAGS="$CFLAGS $X_CFLAGS" | 5282 CFLAGS="$CFLAGS $X_CFLAGS" |
5280 cat > conftest.$ac_ext <<EOF | 5283 cat > conftest.$ac_ext <<EOF |
5281 #line 5282 "configure" | 5284 #line 5285 "configure" |
5282 #include "confdefs.h" | 5285 #include "confdefs.h" |
5283 | 5286 |
5284 #include <X11/Intrinsic.h> | 5287 #include <X11/Intrinsic.h> |
5285 #include <X11/Xaw/Paned.h> | 5288 #include <X11/Xaw/Paned.h> |
5286 int main() { | 5289 int main() { |
5287 | 5290 |
5288 ; return 0; } | 5291 ; return 0; } |
5289 EOF | 5292 EOF |
5290 if { (eval echo configure:5291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5293 if { (eval echo configure:5294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5291 rm -rf conftest* | 5294 rm -rf conftest* |
5292 echo "$ac_t""yes" 1>&6 | 5295 echo "$ac_t""yes" 1>&6 |
5293 else | 5296 else |
5294 echo "configure: failed program was:" >&5 | 5297 echo "configure: failed program was:" >&5 |
5295 cat conftest.$ac_ext >&5 | 5298 cat conftest.$ac_ext >&5 |
5304 GUITYPE=ATHENA | 5307 GUITYPE=ATHENA |
5305 fi | 5308 fi |
5306 | 5309 |
5307 if test -z "$SKIP_NEXTAW"; then | 5310 if test -z "$SKIP_NEXTAW"; then |
5308 echo $ac_n "checking if neXtaw header files can be found""... $ac_c" 1>&6 | 5311 echo $ac_n "checking if neXtaw header files can be found""... $ac_c" 1>&6 |
5309 echo "configure:5310: checking if neXtaw header files can be found" >&5 | 5312 echo "configure:5313: checking if neXtaw header files can be found" >&5 |
5310 cflags_save=$CFLAGS | 5313 cflags_save=$CFLAGS |
5311 CFLAGS="$CFLAGS $X_CFLAGS" | 5314 CFLAGS="$CFLAGS $X_CFLAGS" |
5312 cat > conftest.$ac_ext <<EOF | 5315 cat > conftest.$ac_ext <<EOF |
5313 #line 5314 "configure" | 5316 #line 5317 "configure" |
5314 #include "confdefs.h" | 5317 #include "confdefs.h" |
5315 | 5318 |
5316 #include <X11/Intrinsic.h> | 5319 #include <X11/Intrinsic.h> |
5317 #include <X11/neXtaw/Paned.h> | 5320 #include <X11/neXtaw/Paned.h> |
5318 int main() { | 5321 int main() { |
5319 | 5322 |
5320 ; return 0; } | 5323 ; return 0; } |
5321 EOF | 5324 EOF |
5322 if { (eval echo configure:5323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5325 if { (eval echo configure:5326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5323 rm -rf conftest* | 5326 rm -rf conftest* |
5324 echo "$ac_t""yes" 1>&6 | 5327 echo "$ac_t""yes" 1>&6 |
5325 else | 5328 else |
5326 echo "configure: failed program was:" >&5 | 5329 echo "configure: failed program was:" >&5 |
5327 cat conftest.$ac_ext >&5 | 5330 cat conftest.$ac_ext >&5 |
5345 fi | 5348 fi |
5346 | 5349 |
5347 ldflags_save=$LDFLAGS | 5350 ldflags_save=$LDFLAGS |
5348 LDFLAGS="$X_LIBS $LDFLAGS" | 5351 LDFLAGS="$X_LIBS $LDFLAGS" |
5349 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6 | 5352 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6 |
5350 echo "configure:5351: checking for XShapeQueryExtension in -lXext" >&5 | 5353 echo "configure:5354: checking for XShapeQueryExtension in -lXext" >&5 |
5351 ac_lib_var=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'` | 5354 ac_lib_var=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'` |
5352 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5355 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5353 echo $ac_n "(cached) $ac_c" 1>&6 | 5356 echo $ac_n "(cached) $ac_c" 1>&6 |
5354 else | 5357 else |
5355 ac_save_LIBS="$LIBS" | 5358 ac_save_LIBS="$LIBS" |
5356 LIBS="-lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5359 LIBS="-lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
5357 cat > conftest.$ac_ext <<EOF | 5360 cat > conftest.$ac_ext <<EOF |
5358 #line 5359 "configure" | 5361 #line 5362 "configure" |
5359 #include "confdefs.h" | 5362 #include "confdefs.h" |
5360 /* Override any gcc2 internal prototype to avoid an error. */ | 5363 /* Override any gcc2 internal prototype to avoid an error. */ |
5361 /* We use char because int might match the return type of a gcc2 | 5364 /* We use char because int might match the return type of a gcc2 |
5362 builtin and then its argument prototype would still apply. */ | 5365 builtin and then its argument prototype would still apply. */ |
5363 char XShapeQueryExtension(); | 5366 char XShapeQueryExtension(); |
5364 | 5367 |
5365 int main() { | 5368 int main() { |
5366 XShapeQueryExtension() | 5369 XShapeQueryExtension() |
5367 ; return 0; } | 5370 ; return 0; } |
5368 EOF | 5371 EOF |
5369 if { (eval echo configure:5370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5372 if { (eval echo configure:5373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5370 rm -rf conftest* | 5373 rm -rf conftest* |
5371 eval "ac_cv_lib_$ac_lib_var=yes" | 5374 eval "ac_cv_lib_$ac_lib_var=yes" |
5372 else | 5375 else |
5373 echo "configure: failed program was:" >&5 | 5376 echo "configure: failed program was:" >&5 |
5374 cat conftest.$ac_ext >&5 | 5377 cat conftest.$ac_ext >&5 |
5385 else | 5388 else |
5386 echo "$ac_t""no" 1>&6 | 5389 echo "$ac_t""no" 1>&6 |
5387 fi | 5390 fi |
5388 | 5391 |
5389 echo $ac_n "checking for wslen in -lw""... $ac_c" 1>&6 | 5392 echo $ac_n "checking for wslen in -lw""... $ac_c" 1>&6 |
5390 echo "configure:5391: checking for wslen in -lw" >&5 | 5393 echo "configure:5394: checking for wslen in -lw" >&5 |
5391 ac_lib_var=`echo w'_'wslen | sed 'y%./+-%__p_%'` | 5394 ac_lib_var=`echo w'_'wslen | sed 'y%./+-%__p_%'` |
5392 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5395 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5393 echo $ac_n "(cached) $ac_c" 1>&6 | 5396 echo $ac_n "(cached) $ac_c" 1>&6 |
5394 else | 5397 else |
5395 ac_save_LIBS="$LIBS" | 5398 ac_save_LIBS="$LIBS" |
5396 LIBS="-lw $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5399 LIBS="-lw $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
5397 cat > conftest.$ac_ext <<EOF | 5400 cat > conftest.$ac_ext <<EOF |
5398 #line 5399 "configure" | 5401 #line 5402 "configure" |
5399 #include "confdefs.h" | 5402 #include "confdefs.h" |
5400 /* Override any gcc2 internal prototype to avoid an error. */ | 5403 /* Override any gcc2 internal prototype to avoid an error. */ |
5401 /* We use char because int might match the return type of a gcc2 | 5404 /* We use char because int might match the return type of a gcc2 |
5402 builtin and then its argument prototype would still apply. */ | 5405 builtin and then its argument prototype would still apply. */ |
5403 char wslen(); | 5406 char wslen(); |
5404 | 5407 |
5405 int main() { | 5408 int main() { |
5406 wslen() | 5409 wslen() |
5407 ; return 0; } | 5410 ; return 0; } |
5408 EOF | 5411 EOF |
5409 if { (eval echo configure:5410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5412 if { (eval echo configure:5413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5410 rm -rf conftest* | 5413 rm -rf conftest* |
5411 eval "ac_cv_lib_$ac_lib_var=yes" | 5414 eval "ac_cv_lib_$ac_lib_var=yes" |
5412 else | 5415 else |
5413 echo "configure: failed program was:" >&5 | 5416 echo "configure: failed program was:" >&5 |
5414 cat conftest.$ac_ext >&5 | 5417 cat conftest.$ac_ext >&5 |
5425 else | 5428 else |
5426 echo "$ac_t""no" 1>&6 | 5429 echo "$ac_t""no" 1>&6 |
5427 fi | 5430 fi |
5428 | 5431 |
5429 echo $ac_n "checking for dlsym in -ldl""... $ac_c" 1>&6 | 5432 echo $ac_n "checking for dlsym in -ldl""... $ac_c" 1>&6 |
5430 echo "configure:5431: checking for dlsym in -ldl" >&5 | 5433 echo "configure:5434: checking for dlsym in -ldl" >&5 |
5431 ac_lib_var=`echo dl'_'dlsym | sed 'y%./+-%__p_%'` | 5434 ac_lib_var=`echo dl'_'dlsym | sed 'y%./+-%__p_%'` |
5432 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5435 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5433 echo $ac_n "(cached) $ac_c" 1>&6 | 5436 echo $ac_n "(cached) $ac_c" 1>&6 |
5434 else | 5437 else |
5435 ac_save_LIBS="$LIBS" | 5438 ac_save_LIBS="$LIBS" |
5436 LIBS="-ldl $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5439 LIBS="-ldl $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
5437 cat > conftest.$ac_ext <<EOF | 5440 cat > conftest.$ac_ext <<EOF |
5438 #line 5439 "configure" | 5441 #line 5442 "configure" |
5439 #include "confdefs.h" | 5442 #include "confdefs.h" |
5440 /* Override any gcc2 internal prototype to avoid an error. */ | 5443 /* Override any gcc2 internal prototype to avoid an error. */ |
5441 /* We use char because int might match the return type of a gcc2 | 5444 /* We use char because int might match the return type of a gcc2 |
5442 builtin and then its argument prototype would still apply. */ | 5445 builtin and then its argument prototype would still apply. */ |
5443 char dlsym(); | 5446 char dlsym(); |
5444 | 5447 |
5445 int main() { | 5448 int main() { |
5446 dlsym() | 5449 dlsym() |
5447 ; return 0; } | 5450 ; return 0; } |
5448 EOF | 5451 EOF |
5449 if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5452 if { (eval echo configure:5453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5450 rm -rf conftest* | 5453 rm -rf conftest* |
5451 eval "ac_cv_lib_$ac_lib_var=yes" | 5454 eval "ac_cv_lib_$ac_lib_var=yes" |
5452 else | 5455 else |
5453 echo "configure: failed program was:" >&5 | 5456 echo "configure: failed program was:" >&5 |
5454 cat conftest.$ac_ext >&5 | 5457 cat conftest.$ac_ext >&5 |
5465 else | 5468 else |
5466 echo "$ac_t""no" 1>&6 | 5469 echo "$ac_t""no" 1>&6 |
5467 fi | 5470 fi |
5468 | 5471 |
5469 echo $ac_n "checking for XmuCreateStippledPixmap in -lXmu""... $ac_c" 1>&6 | 5472 echo $ac_n "checking for XmuCreateStippledPixmap in -lXmu""... $ac_c" 1>&6 |
5470 echo "configure:5471: checking for XmuCreateStippledPixmap in -lXmu" >&5 | 5473 echo "configure:5474: checking for XmuCreateStippledPixmap in -lXmu" >&5 |
5471 ac_lib_var=`echo Xmu'_'XmuCreateStippledPixmap | sed 'y%./+-%__p_%'` | 5474 ac_lib_var=`echo Xmu'_'XmuCreateStippledPixmap | sed 'y%./+-%__p_%'` |
5472 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5475 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5473 echo $ac_n "(cached) $ac_c" 1>&6 | 5476 echo $ac_n "(cached) $ac_c" 1>&6 |
5474 else | 5477 else |
5475 ac_save_LIBS="$LIBS" | 5478 ac_save_LIBS="$LIBS" |
5476 LIBS="-lXmu $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5479 LIBS="-lXmu $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
5477 cat > conftest.$ac_ext <<EOF | 5480 cat > conftest.$ac_ext <<EOF |
5478 #line 5479 "configure" | 5481 #line 5482 "configure" |
5479 #include "confdefs.h" | 5482 #include "confdefs.h" |
5480 /* Override any gcc2 internal prototype to avoid an error. */ | 5483 /* Override any gcc2 internal prototype to avoid an error. */ |
5481 /* We use char because int might match the return type of a gcc2 | 5484 /* We use char because int might match the return type of a gcc2 |
5482 builtin and then its argument prototype would still apply. */ | 5485 builtin and then its argument prototype would still apply. */ |
5483 char XmuCreateStippledPixmap(); | 5486 char XmuCreateStippledPixmap(); |
5484 | 5487 |
5485 int main() { | 5488 int main() { |
5486 XmuCreateStippledPixmap() | 5489 XmuCreateStippledPixmap() |
5487 ; return 0; } | 5490 ; return 0; } |
5488 EOF | 5491 EOF |
5489 if { (eval echo configure:5490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5492 if { (eval echo configure:5493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5490 rm -rf conftest* | 5493 rm -rf conftest* |
5491 eval "ac_cv_lib_$ac_lib_var=yes" | 5494 eval "ac_cv_lib_$ac_lib_var=yes" |
5492 else | 5495 else |
5493 echo "configure: failed program was:" >&5 | 5496 echo "configure: failed program was:" >&5 |
5494 cat conftest.$ac_ext >&5 | 5497 cat conftest.$ac_ext >&5 |
5506 echo "$ac_t""no" 1>&6 | 5509 echo "$ac_t""no" 1>&6 |
5507 fi | 5510 fi |
5508 | 5511 |
5509 if test -z "$SKIP_MOTIF"; then | 5512 if test -z "$SKIP_MOTIF"; then |
5510 echo $ac_n "checking for XpEndJob in -lXp""... $ac_c" 1>&6 | 5513 echo $ac_n "checking for XpEndJob in -lXp""... $ac_c" 1>&6 |
5511 echo "configure:5512: checking for XpEndJob in -lXp" >&5 | 5514 echo "configure:5515: checking for XpEndJob in -lXp" >&5 |
5512 ac_lib_var=`echo Xp'_'XpEndJob | sed 'y%./+-%__p_%'` | 5515 ac_lib_var=`echo Xp'_'XpEndJob | sed 'y%./+-%__p_%'` |
5513 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5516 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5514 echo $ac_n "(cached) $ac_c" 1>&6 | 5517 echo $ac_n "(cached) $ac_c" 1>&6 |
5515 else | 5518 else |
5516 ac_save_LIBS="$LIBS" | 5519 ac_save_LIBS="$LIBS" |
5517 LIBS="-lXp $GUI_X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5520 LIBS="-lXp $GUI_X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
5518 cat > conftest.$ac_ext <<EOF | 5521 cat > conftest.$ac_ext <<EOF |
5519 #line 5520 "configure" | 5522 #line 5523 "configure" |
5520 #include "confdefs.h" | 5523 #include "confdefs.h" |
5521 /* Override any gcc2 internal prototype to avoid an error. */ | 5524 /* Override any gcc2 internal prototype to avoid an error. */ |
5522 /* We use char because int might match the return type of a gcc2 | 5525 /* We use char because int might match the return type of a gcc2 |
5523 builtin and then its argument prototype would still apply. */ | 5526 builtin and then its argument prototype would still apply. */ |
5524 char XpEndJob(); | 5527 char XpEndJob(); |
5525 | 5528 |
5526 int main() { | 5529 int main() { |
5527 XpEndJob() | 5530 XpEndJob() |
5528 ; return 0; } | 5531 ; return 0; } |
5529 EOF | 5532 EOF |
5530 if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5533 if { (eval echo configure:5534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5531 rm -rf conftest* | 5534 rm -rf conftest* |
5532 eval "ac_cv_lib_$ac_lib_var=yes" | 5535 eval "ac_cv_lib_$ac_lib_var=yes" |
5533 else | 5536 else |
5534 echo "configure: failed program was:" >&5 | 5537 echo "configure: failed program was:" >&5 |
5535 cat conftest.$ac_ext >&5 | 5538 cat conftest.$ac_ext >&5 |
5549 | 5552 |
5550 fi | 5553 fi |
5551 LDFLAGS=$ldflags_save | 5554 LDFLAGS=$ldflags_save |
5552 | 5555 |
5553 echo $ac_n "checking for extra X11 defines""... $ac_c" 1>&6 | 5556 echo $ac_n "checking for extra X11 defines""... $ac_c" 1>&6 |
5554 echo "configure:5555: checking for extra X11 defines" >&5 | 5557 echo "configure:5558: checking for extra X11 defines" >&5 |
5555 NARROW_PROTO= | 5558 NARROW_PROTO= |
5556 rm -fr conftestdir | 5559 rm -fr conftestdir |
5557 if mkdir conftestdir; then | 5560 if mkdir conftestdir; then |
5558 cd conftestdir | 5561 cd conftestdir |
5559 cat > Imakefile <<'EOF' | 5562 cat > Imakefile <<'EOF' |
5579 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 5582 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
5580 for ac_hdr in X11/SM/SMlib.h | 5583 for ac_hdr in X11/SM/SMlib.h |
5581 do | 5584 do |
5582 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5585 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5586 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5584 echo "configure:5585: checking for $ac_hdr" >&5 | 5587 echo "configure:5588: checking for $ac_hdr" >&5 |
5585 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5588 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5586 echo $ac_n "(cached) $ac_c" 1>&6 | 5589 echo $ac_n "(cached) $ac_c" 1>&6 |
5587 else | 5590 else |
5588 cat > conftest.$ac_ext <<EOF | 5591 cat > conftest.$ac_ext <<EOF |
5589 #line 5590 "configure" | 5592 #line 5593 "configure" |
5590 #include "confdefs.h" | 5593 #include "confdefs.h" |
5591 #include <$ac_hdr> | 5594 #include <$ac_hdr> |
5592 EOF | 5595 EOF |
5593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5596 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5594 { (eval echo configure:5595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5597 { (eval echo configure:5598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5598 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5596 if test -z "$ac_err"; then | 5599 if test -z "$ac_err"; then |
5597 rm -rf conftest* | 5600 rm -rf conftest* |
5598 eval "ac_cv_header_$ac_safe=yes" | 5601 eval "ac_cv_header_$ac_safe=yes" |
5599 else | 5602 else |
5626 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 5629 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
5627 for ac_hdr in X11/xpm.h X11/Sunkeysym.h | 5630 for ac_hdr in X11/xpm.h X11/Sunkeysym.h |
5628 do | 5631 do |
5629 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5632 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5630 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5633 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5631 echo "configure:5632: checking for $ac_hdr" >&5 | 5634 echo "configure:5635: checking for $ac_hdr" >&5 |
5632 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5635 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5633 echo $ac_n "(cached) $ac_c" 1>&6 | 5636 echo $ac_n "(cached) $ac_c" 1>&6 |
5634 else | 5637 else |
5635 cat > conftest.$ac_ext <<EOF | 5638 cat > conftest.$ac_ext <<EOF |
5636 #line 5637 "configure" | 5639 #line 5640 "configure" |
5637 #include "confdefs.h" | 5640 #include "confdefs.h" |
5638 #include <$ac_hdr> | 5641 #include <$ac_hdr> |
5639 EOF | 5642 EOF |
5640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5643 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5641 { (eval echo configure:5642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5644 { (eval echo configure:5645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5645 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5643 if test -z "$ac_err"; then | 5646 if test -z "$ac_err"; then |
5644 rm -rf conftest* | 5647 rm -rf conftest* |
5645 eval "ac_cv_header_$ac_safe=yes" | 5648 eval "ac_cv_header_$ac_safe=yes" |
5646 else | 5649 else |
5665 done | 5668 done |
5666 | 5669 |
5667 | 5670 |
5668 if test ! "$enable_xim" = "no"; then | 5671 if test ! "$enable_xim" = "no"; then |
5669 echo $ac_n "checking for XIMText in X11/Xlib.h""... $ac_c" 1>&6 | 5672 echo $ac_n "checking for XIMText in X11/Xlib.h""... $ac_c" 1>&6 |
5670 echo "configure:5671: checking for XIMText in X11/Xlib.h" >&5 | 5673 echo "configure:5674: checking for XIMText in X11/Xlib.h" >&5 |
5671 cat > conftest.$ac_ext <<EOF | 5674 cat > conftest.$ac_ext <<EOF |
5672 #line 5673 "configure" | 5675 #line 5676 "configure" |
5673 #include "confdefs.h" | 5676 #include "confdefs.h" |
5674 #include <X11/Xlib.h> | 5677 #include <X11/Xlib.h> |
5675 EOF | 5678 EOF |
5676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5677 egrep "XIMText" >/dev/null 2>&1; then | 5680 egrep "XIMText" >/dev/null 2>&1; then |
5698 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 5701 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
5699 for ac_hdr in X11/Xmu/Editres.h | 5702 for ac_hdr in X11/Xmu/Editres.h |
5700 do | 5703 do |
5701 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5704 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5702 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5705 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5703 echo "configure:5704: checking for $ac_hdr" >&5 | 5706 echo "configure:5707: checking for $ac_hdr" >&5 |
5704 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5707 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5705 echo $ac_n "(cached) $ac_c" 1>&6 | 5708 echo $ac_n "(cached) $ac_c" 1>&6 |
5706 else | 5709 else |
5707 cat > conftest.$ac_ext <<EOF | 5710 cat > conftest.$ac_ext <<EOF |
5708 #line 5709 "configure" | 5711 #line 5712 "configure" |
5709 #include "confdefs.h" | 5712 #include "confdefs.h" |
5710 #include <$ac_hdr> | 5713 #include <$ac_hdr> |
5711 EOF | 5714 EOF |
5712 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5715 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5713 { (eval echo configure:5714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5716 { (eval echo configure:5717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5714 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5717 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5715 if test -z "$ac_err"; then | 5718 if test -z "$ac_err"; then |
5716 rm -rf conftest* | 5719 rm -rf conftest* |
5717 eval "ac_cv_header_$ac_safe=yes" | 5720 eval "ac_cv_header_$ac_safe=yes" |
5718 else | 5721 else |
5744 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 5747 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
5745 for ac_hdr in Xm/Xm.h Xm/XpmP.h | 5748 for ac_hdr in Xm/Xm.h Xm/XpmP.h |
5746 do | 5749 do |
5747 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5750 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5748 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5751 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5749 echo "configure:5750: checking for $ac_hdr" >&5 | 5752 echo "configure:5753: checking for $ac_hdr" >&5 |
5750 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5753 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5751 echo $ac_n "(cached) $ac_c" 1>&6 | 5754 echo $ac_n "(cached) $ac_c" 1>&6 |
5752 else | 5755 else |
5753 cat > conftest.$ac_ext <<EOF | 5756 cat > conftest.$ac_ext <<EOF |
5754 #line 5755 "configure" | 5757 #line 5758 "configure" |
5755 #include "confdefs.h" | 5758 #include "confdefs.h" |
5756 #include <$ac_hdr> | 5759 #include <$ac_hdr> |
5757 EOF | 5760 EOF |
5758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5759 { (eval echo configure:5760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5762 { (eval echo configure:5763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5761 if test -z "$ac_err"; then | 5764 if test -z "$ac_err"; then |
5762 rm -rf conftest* | 5765 rm -rf conftest* |
5763 eval "ac_cv_header_$ac_safe=yes" | 5766 eval "ac_cv_header_$ac_safe=yes" |
5764 else | 5767 else |
5847 fi | 5850 fi |
5848 fi | 5851 fi |
5849 | 5852 |
5850 | 5853 |
5851 echo $ac_n "checking quality of toupper""... $ac_c" 1>&6 | 5854 echo $ac_n "checking quality of toupper""... $ac_c" 1>&6 |
5852 echo "configure:5853: checking quality of toupper" >&5 | 5855 echo "configure:5856: checking quality of toupper" >&5 |
5853 if test "$cross_compiling" = yes; then | 5856 if test "$cross_compiling" = yes; then |
5854 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 5857 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
5855 else | 5858 else |
5856 cat > conftest.$ac_ext <<EOF | 5859 cat > conftest.$ac_ext <<EOF |
5857 #line 5858 "configure" | 5860 #line 5861 "configure" |
5858 #include "confdefs.h" | 5861 #include "confdefs.h" |
5859 #include <ctype.h> | 5862 #include <ctype.h> |
5860 main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); } | 5863 main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); } |
5861 EOF | 5864 EOF |
5862 if { (eval echo configure:5863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5865 if { (eval echo configure:5866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5863 then | 5866 then |
5864 cat >> confdefs.h <<\EOF | 5867 cat >> confdefs.h <<\EOF |
5865 #define BROKEN_TOUPPER 1 | 5868 #define BROKEN_TOUPPER 1 |
5866 EOF | 5869 EOF |
5867 echo "$ac_t""bad" 1>&6 | 5870 echo "$ac_t""bad" 1>&6 |
5874 rm -fr conftest* | 5877 rm -fr conftest* |
5875 fi | 5878 fi |
5876 | 5879 |
5877 | 5880 |
5878 echo $ac_n "checking whether __DATE__ and __TIME__ work""... $ac_c" 1>&6 | 5881 echo $ac_n "checking whether __DATE__ and __TIME__ work""... $ac_c" 1>&6 |
5879 echo "configure:5880: checking whether __DATE__ and __TIME__ work" >&5 | 5882 echo "configure:5883: checking whether __DATE__ and __TIME__ work" >&5 |
5880 cat > conftest.$ac_ext <<EOF | 5883 cat > conftest.$ac_ext <<EOF |
5881 #line 5882 "configure" | 5884 #line 5885 "configure" |
5882 #include "confdefs.h" | 5885 #include "confdefs.h" |
5883 | 5886 |
5884 int main() { | 5887 int main() { |
5885 printf("(" __DATE__ " " __TIME__ ")"); | 5888 printf("(" __DATE__ " " __TIME__ ")"); |
5886 ; return 0; } | 5889 ; return 0; } |
5887 EOF | 5890 EOF |
5888 if { (eval echo configure:5889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5891 if { (eval echo configure:5892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5889 rm -rf conftest* | 5892 rm -rf conftest* |
5890 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 5893 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
5891 #define HAVE_DATE_TIME 1 | 5894 #define HAVE_DATE_TIME 1 |
5892 EOF | 5895 EOF |
5893 | 5896 |
5899 fi | 5902 fi |
5900 rm -f conftest* | 5903 rm -f conftest* |
5901 | 5904 |
5902 ac_safe=`echo "elf.h" | sed 'y%./+-%__p_%'` | 5905 ac_safe=`echo "elf.h" | sed 'y%./+-%__p_%'` |
5903 echo $ac_n "checking for elf.h""... $ac_c" 1>&6 | 5906 echo $ac_n "checking for elf.h""... $ac_c" 1>&6 |
5904 echo "configure:5905: checking for elf.h" >&5 | 5907 echo "configure:5908: checking for elf.h" >&5 |
5905 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5908 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5906 echo $ac_n "(cached) $ac_c" 1>&6 | 5909 echo $ac_n "(cached) $ac_c" 1>&6 |
5907 else | 5910 else |
5908 cat > conftest.$ac_ext <<EOF | 5911 cat > conftest.$ac_ext <<EOF |
5909 #line 5910 "configure" | 5912 #line 5913 "configure" |
5910 #include "confdefs.h" | 5913 #include "confdefs.h" |
5911 #include <elf.h> | 5914 #include <elf.h> |
5912 EOF | 5915 EOF |
5913 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5916 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5914 { (eval echo configure:5915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5917 { (eval echo configure:5918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5915 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5918 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5916 if test -z "$ac_err"; then | 5919 if test -z "$ac_err"; then |
5917 rm -rf conftest* | 5920 rm -rf conftest* |
5918 eval "ac_cv_header_$ac_safe=yes" | 5921 eval "ac_cv_header_$ac_safe=yes" |
5919 else | 5922 else |
5932 echo "$ac_t""no" 1>&6 | 5935 echo "$ac_t""no" 1>&6 |
5933 fi | 5936 fi |
5934 | 5937 |
5935 if test "$HAS_ELF" = 1; then | 5938 if test "$HAS_ELF" = 1; then |
5936 echo $ac_n "checking for main in -lelf""... $ac_c" 1>&6 | 5939 echo $ac_n "checking for main in -lelf""... $ac_c" 1>&6 |
5937 echo "configure:5938: checking for main in -lelf" >&5 | 5940 echo "configure:5941: checking for main in -lelf" >&5 |
5938 ac_lib_var=`echo elf'_'main | sed 'y%./+-%__p_%'` | 5941 ac_lib_var=`echo elf'_'main | sed 'y%./+-%__p_%'` |
5939 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5942 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5940 echo $ac_n "(cached) $ac_c" 1>&6 | 5943 echo $ac_n "(cached) $ac_c" 1>&6 |
5941 else | 5944 else |
5942 ac_save_LIBS="$LIBS" | 5945 ac_save_LIBS="$LIBS" |
5943 LIBS="-lelf $LIBS" | 5946 LIBS="-lelf $LIBS" |
5944 cat > conftest.$ac_ext <<EOF | 5947 cat > conftest.$ac_ext <<EOF |
5945 #line 5946 "configure" | 5948 #line 5949 "configure" |
5946 #include "confdefs.h" | 5949 #include "confdefs.h" |
5947 | 5950 |
5948 int main() { | 5951 int main() { |
5949 main() | 5952 main() |
5950 ; return 0; } | 5953 ; return 0; } |
5951 EOF | 5954 EOF |
5952 if { (eval echo configure:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5955 if { (eval echo configure:5956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5953 rm -rf conftest* | 5956 rm -rf conftest* |
5954 eval "ac_cv_lib_$ac_lib_var=yes" | 5957 eval "ac_cv_lib_$ac_lib_var=yes" |
5955 else | 5958 else |
5956 echo "configure: failed program was:" >&5 | 5959 echo "configure: failed program was:" >&5 |
5957 cat conftest.$ac_ext >&5 | 5960 cat conftest.$ac_ext >&5 |
5981 ac_header_dirent=no | 5984 ac_header_dirent=no |
5982 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h | 5985 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h |
5983 do | 5986 do |
5984 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5987 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5985 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 | 5988 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
5986 echo "configure:5987: checking for $ac_hdr that defines DIR" >&5 | 5989 echo "configure:5990: checking for $ac_hdr that defines DIR" >&5 |
5987 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then | 5990 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
5988 echo $ac_n "(cached) $ac_c" 1>&6 | 5991 echo $ac_n "(cached) $ac_c" 1>&6 |
5989 else | 5992 else |
5990 cat > conftest.$ac_ext <<EOF | 5993 cat > conftest.$ac_ext <<EOF |
5991 #line 5992 "configure" | 5994 #line 5995 "configure" |
5992 #include "confdefs.h" | 5995 #include "confdefs.h" |
5993 #include <sys/types.h> | 5996 #include <sys/types.h> |
5994 #include <$ac_hdr> | 5997 #include <$ac_hdr> |
5995 int main() { | 5998 int main() { |
5996 DIR *dirp = 0; | 5999 DIR *dirp = 0; |
5997 ; return 0; } | 6000 ; return 0; } |
5998 EOF | 6001 EOF |
5999 if { (eval echo configure:6000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6002 if { (eval echo configure:6003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6000 rm -rf conftest* | 6003 rm -rf conftest* |
6001 eval "ac_cv_header_dirent_$ac_safe=yes" | 6004 eval "ac_cv_header_dirent_$ac_safe=yes" |
6002 else | 6005 else |
6003 echo "configure: failed program was:" >&5 | 6006 echo "configure: failed program was:" >&5 |
6004 cat conftest.$ac_ext >&5 | 6007 cat conftest.$ac_ext >&5 |
6019 fi | 6022 fi |
6020 done | 6023 done |
6021 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 6024 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
6022 if test $ac_header_dirent = dirent.h; then | 6025 if test $ac_header_dirent = dirent.h; then |
6023 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 | 6026 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
6024 echo "configure:6025: checking for opendir in -ldir" >&5 | 6027 echo "configure:6028: checking for opendir in -ldir" >&5 |
6025 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` | 6028 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
6026 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6029 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6027 echo $ac_n "(cached) $ac_c" 1>&6 | 6030 echo $ac_n "(cached) $ac_c" 1>&6 |
6028 else | 6031 else |
6029 ac_save_LIBS="$LIBS" | 6032 ac_save_LIBS="$LIBS" |
6030 LIBS="-ldir $LIBS" | 6033 LIBS="-ldir $LIBS" |
6031 cat > conftest.$ac_ext <<EOF | 6034 cat > conftest.$ac_ext <<EOF |
6032 #line 6033 "configure" | 6035 #line 6036 "configure" |
6033 #include "confdefs.h" | 6036 #include "confdefs.h" |
6034 /* Override any gcc2 internal prototype to avoid an error. */ | 6037 /* Override any gcc2 internal prototype to avoid an error. */ |
6035 /* We use char because int might match the return type of a gcc2 | 6038 /* We use char because int might match the return type of a gcc2 |
6036 builtin and then its argument prototype would still apply. */ | 6039 builtin and then its argument prototype would still apply. */ |
6037 char opendir(); | 6040 char opendir(); |
6038 | 6041 |
6039 int main() { | 6042 int main() { |
6040 opendir() | 6043 opendir() |
6041 ; return 0; } | 6044 ; return 0; } |
6042 EOF | 6045 EOF |
6043 if { (eval echo configure:6044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6046 if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6044 rm -rf conftest* | 6047 rm -rf conftest* |
6045 eval "ac_cv_lib_$ac_lib_var=yes" | 6048 eval "ac_cv_lib_$ac_lib_var=yes" |
6046 else | 6049 else |
6047 echo "configure: failed program was:" >&5 | 6050 echo "configure: failed program was:" >&5 |
6048 cat conftest.$ac_ext >&5 | 6051 cat conftest.$ac_ext >&5 |
6060 echo "$ac_t""no" 1>&6 | 6063 echo "$ac_t""no" 1>&6 |
6061 fi | 6064 fi |
6062 | 6065 |
6063 else | 6066 else |
6064 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 | 6067 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
6065 echo "configure:6066: checking for opendir in -lx" >&5 | 6068 echo "configure:6069: checking for opendir in -lx" >&5 |
6066 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` | 6069 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
6067 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6070 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6068 echo $ac_n "(cached) $ac_c" 1>&6 | 6071 echo $ac_n "(cached) $ac_c" 1>&6 |
6069 else | 6072 else |
6070 ac_save_LIBS="$LIBS" | 6073 ac_save_LIBS="$LIBS" |
6071 LIBS="-lx $LIBS" | 6074 LIBS="-lx $LIBS" |
6072 cat > conftest.$ac_ext <<EOF | 6075 cat > conftest.$ac_ext <<EOF |
6073 #line 6074 "configure" | 6076 #line 6077 "configure" |
6074 #include "confdefs.h" | 6077 #include "confdefs.h" |
6075 /* Override any gcc2 internal prototype to avoid an error. */ | 6078 /* Override any gcc2 internal prototype to avoid an error. */ |
6076 /* We use char because int might match the return type of a gcc2 | 6079 /* We use char because int might match the return type of a gcc2 |
6077 builtin and then its argument prototype would still apply. */ | 6080 builtin and then its argument prototype would still apply. */ |
6078 char opendir(); | 6081 char opendir(); |
6079 | 6082 |
6080 int main() { | 6083 int main() { |
6081 opendir() | 6084 opendir() |
6082 ; return 0; } | 6085 ; return 0; } |
6083 EOF | 6086 EOF |
6084 if { (eval echo configure:6085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6087 if { (eval echo configure:6088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6085 rm -rf conftest* | 6088 rm -rf conftest* |
6086 eval "ac_cv_lib_$ac_lib_var=yes" | 6089 eval "ac_cv_lib_$ac_lib_var=yes" |
6087 else | 6090 else |
6088 echo "configure: failed program was:" >&5 | 6091 echo "configure: failed program was:" >&5 |
6089 cat conftest.$ac_ext >&5 | 6092 cat conftest.$ac_ext >&5 |
6103 | 6106 |
6104 fi | 6107 fi |
6105 | 6108 |
6106 | 6109 |
6107 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 6110 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
6108 echo "configure:6109: checking for ANSI C header files" >&5 | 6111 echo "configure:6112: checking for ANSI C header files" >&5 |
6109 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 6112 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
6110 echo $ac_n "(cached) $ac_c" 1>&6 | 6113 echo $ac_n "(cached) $ac_c" 1>&6 |
6111 else | 6114 else |
6112 cat > conftest.$ac_ext <<EOF | 6115 cat > conftest.$ac_ext <<EOF |
6113 #line 6114 "configure" | 6116 #line 6117 "configure" |
6114 #include "confdefs.h" | 6117 #include "confdefs.h" |
6115 #include <stdlib.h> | 6118 #include <stdlib.h> |
6116 #include <stdarg.h> | 6119 #include <stdarg.h> |
6117 #include <string.h> | 6120 #include <string.h> |
6118 #include <float.h> | 6121 #include <float.h> |
6119 EOF | 6122 EOF |
6120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6123 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6121 { (eval echo configure:6122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6124 { (eval echo configure:6125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6125 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6123 if test -z "$ac_err"; then | 6126 if test -z "$ac_err"; then |
6124 rm -rf conftest* | 6127 rm -rf conftest* |
6125 ac_cv_header_stdc=yes | 6128 ac_cv_header_stdc=yes |
6126 else | 6129 else |
6133 rm -f conftest* | 6136 rm -f conftest* |
6134 | 6137 |
6135 if test $ac_cv_header_stdc = yes; then | 6138 if test $ac_cv_header_stdc = yes; then |
6136 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 6139 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
6137 cat > conftest.$ac_ext <<EOF | 6140 cat > conftest.$ac_ext <<EOF |
6138 #line 6139 "configure" | 6141 #line 6142 "configure" |
6139 #include "confdefs.h" | 6142 #include "confdefs.h" |
6140 #include <string.h> | 6143 #include <string.h> |
6141 EOF | 6144 EOF |
6142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6143 egrep "memchr" >/dev/null 2>&1; then | 6146 egrep "memchr" >/dev/null 2>&1; then |
6151 fi | 6154 fi |
6152 | 6155 |
6153 if test $ac_cv_header_stdc = yes; then | 6156 if test $ac_cv_header_stdc = yes; then |
6154 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 6157 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
6155 cat > conftest.$ac_ext <<EOF | 6158 cat > conftest.$ac_ext <<EOF |
6156 #line 6157 "configure" | 6159 #line 6160 "configure" |
6157 #include "confdefs.h" | 6160 #include "confdefs.h" |
6158 #include <stdlib.h> | 6161 #include <stdlib.h> |
6159 EOF | 6162 EOF |
6160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6161 egrep "free" >/dev/null 2>&1; then | 6164 egrep "free" >/dev/null 2>&1; then |
6172 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 6175 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
6173 if test "$cross_compiling" = yes; then | 6176 if test "$cross_compiling" = yes; then |
6174 : | 6177 : |
6175 else | 6178 else |
6176 cat > conftest.$ac_ext <<EOF | 6179 cat > conftest.$ac_ext <<EOF |
6177 #line 6178 "configure" | 6180 #line 6181 "configure" |
6178 #include "confdefs.h" | 6181 #include "confdefs.h" |
6179 #include <ctype.h> | 6182 #include <ctype.h> |
6180 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 6183 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
6181 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 6184 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
6182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 6185 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
6183 int main () { int i; for (i = 0; i < 256; i++) | 6186 int main () { int i; for (i = 0; i < 256; i++) |
6184 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 6187 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
6185 exit (0); } | 6188 exit (0); } |
6186 | 6189 |
6187 EOF | 6190 EOF |
6188 if { (eval echo configure:6189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6191 if { (eval echo configure:6192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6189 then | 6192 then |
6190 : | 6193 : |
6191 else | 6194 else |
6192 echo "configure: failed program was:" >&5 | 6195 echo "configure: failed program was:" >&5 |
6193 cat conftest.$ac_ext >&5 | 6196 cat conftest.$ac_ext >&5 |
6207 EOF | 6210 EOF |
6208 | 6211 |
6209 fi | 6212 fi |
6210 | 6213 |
6211 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 6214 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
6212 echo "configure:6213: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 6215 echo "configure:6216: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
6213 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then | 6216 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
6214 echo $ac_n "(cached) $ac_c" 1>&6 | 6217 echo $ac_n "(cached) $ac_c" 1>&6 |
6215 else | 6218 else |
6216 cat > conftest.$ac_ext <<EOF | 6219 cat > conftest.$ac_ext <<EOF |
6217 #line 6218 "configure" | 6220 #line 6221 "configure" |
6218 #include "confdefs.h" | 6221 #include "confdefs.h" |
6219 #include <sys/types.h> | 6222 #include <sys/types.h> |
6220 #include <sys/wait.h> | 6223 #include <sys/wait.h> |
6221 #ifndef WEXITSTATUS | 6224 #ifndef WEXITSTATUS |
6222 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 6225 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
6228 int s; | 6231 int s; |
6229 wait (&s); | 6232 wait (&s); |
6230 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 6233 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
6231 ; return 0; } | 6234 ; return 0; } |
6232 EOF | 6235 EOF |
6233 if { (eval echo configure:6234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6236 if { (eval echo configure:6237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6234 rm -rf conftest* | 6237 rm -rf conftest* |
6235 ac_cv_header_sys_wait_h=yes | 6238 ac_cv_header_sys_wait_h=yes |
6236 else | 6239 else |
6237 echo "configure: failed program was:" >&5 | 6240 echo "configure: failed program was:" >&5 |
6238 cat conftest.$ac_ext >&5 | 6241 cat conftest.$ac_ext >&5 |
6251 fi | 6254 fi |
6252 | 6255 |
6253 | 6256 |
6254 if test $ac_cv_header_sys_wait_h = no; then | 6257 if test $ac_cv_header_sys_wait_h = no; then |
6255 echo $ac_n "checking for sys/wait.h that defines union wait""... $ac_c" 1>&6 | 6258 echo $ac_n "checking for sys/wait.h that defines union wait""... $ac_c" 1>&6 |
6256 echo "configure:6257: checking for sys/wait.h that defines union wait" >&5 | 6259 echo "configure:6260: checking for sys/wait.h that defines union wait" >&5 |
6257 cat > conftest.$ac_ext <<EOF | 6260 cat > conftest.$ac_ext <<EOF |
6258 #line 6259 "configure" | 6261 #line 6262 "configure" |
6259 #include "confdefs.h" | 6262 #include "confdefs.h" |
6260 #include <sys/wait.h> | 6263 #include <sys/wait.h> |
6261 int main() { | 6264 int main() { |
6262 union wait xx, yy; xx = yy | 6265 union wait xx, yy; xx = yy |
6263 ; return 0; } | 6266 ; return 0; } |
6264 EOF | 6267 EOF |
6265 if { (eval echo configure:6266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6268 if { (eval echo configure:6269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6266 rm -rf conftest* | 6269 rm -rf conftest* |
6267 echo "$ac_t""yes" 1>&6 | 6270 echo "$ac_t""yes" 1>&6 |
6268 cat >> confdefs.h <<\EOF | 6271 cat >> confdefs.h <<\EOF |
6269 #define HAVE_SYS_WAIT_H 1 | 6272 #define HAVE_SYS_WAIT_H 1 |
6270 EOF | 6273 EOF |
6291 libgen.h util/debug.h util/msg18n.h frame.h pthread_np.h \ | 6294 libgen.h util/debug.h util/msg18n.h frame.h pthread_np.h \ |
6292 sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h | 6295 sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h |
6293 do | 6296 do |
6294 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6297 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6295 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6298 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6296 echo "configure:6297: checking for $ac_hdr" >&5 | 6299 echo "configure:6300: checking for $ac_hdr" >&5 |
6297 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6300 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6298 echo $ac_n "(cached) $ac_c" 1>&6 | 6301 echo $ac_n "(cached) $ac_c" 1>&6 |
6299 else | 6302 else |
6300 cat > conftest.$ac_ext <<EOF | 6303 cat > conftest.$ac_ext <<EOF |
6301 #line 6302 "configure" | 6304 #line 6305 "configure" |
6302 #include "confdefs.h" | 6305 #include "confdefs.h" |
6303 #include <$ac_hdr> | 6306 #include <$ac_hdr> |
6304 EOF | 6307 EOF |
6305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6308 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6306 { (eval echo configure:6307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6309 { (eval echo configure:6310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6310 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6308 if test -z "$ac_err"; then | 6311 if test -z "$ac_err"; then |
6309 rm -rf conftest* | 6312 rm -rf conftest* |
6310 eval "ac_cv_header_$ac_safe=yes" | 6313 eval "ac_cv_header_$ac_safe=yes" |
6311 else | 6314 else |
6333 if test "x$MACOSX" != "xyes"; then | 6336 if test "x$MACOSX" != "xyes"; then |
6334 for ac_hdr in strings.h | 6337 for ac_hdr in strings.h |
6335 do | 6338 do |
6336 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6339 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6337 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6340 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6338 echo "configure:6339: checking for $ac_hdr" >&5 | 6341 echo "configure:6342: checking for $ac_hdr" >&5 |
6339 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6342 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6340 echo $ac_n "(cached) $ac_c" 1>&6 | 6343 echo $ac_n "(cached) $ac_c" 1>&6 |
6341 else | 6344 else |
6342 cat > conftest.$ac_ext <<EOF | 6345 cat > conftest.$ac_ext <<EOF |
6343 #line 6344 "configure" | 6346 #line 6347 "configure" |
6344 #include "confdefs.h" | 6347 #include "confdefs.h" |
6345 #include <$ac_hdr> | 6348 #include <$ac_hdr> |
6346 EOF | 6349 EOF |
6347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6350 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6348 { (eval echo configure:6349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6351 { (eval echo configure:6352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6352 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6350 if test -z "$ac_err"; then | 6353 if test -z "$ac_err"; then |
6351 rm -rf conftest* | 6354 rm -rf conftest* |
6352 eval "ac_cv_header_$ac_safe=yes" | 6355 eval "ac_cv_header_$ac_safe=yes" |
6353 else | 6356 else |
6372 done | 6375 done |
6373 | 6376 |
6374 fi | 6377 fi |
6375 | 6378 |
6376 echo $ac_n "checking if strings.h can be included after string.h""... $ac_c" 1>&6 | 6379 echo $ac_n "checking if strings.h can be included after string.h""... $ac_c" 1>&6 |
6377 echo "configure:6378: checking if strings.h can be included after string.h" >&5 | 6380 echo "configure:6381: checking if strings.h can be included after string.h" >&5 |
6378 cppflags_save=$CPPFLAGS | 6381 cppflags_save=$CPPFLAGS |
6379 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 6382 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
6380 cat > conftest.$ac_ext <<EOF | 6383 cat > conftest.$ac_ext <<EOF |
6381 #line 6382 "configure" | 6384 #line 6385 "configure" |
6382 #include "confdefs.h" | 6385 #include "confdefs.h" |
6383 | 6386 |
6384 #if defined(_AIX) && !defined(_AIX51) && !defined(_NO_PROTO) | 6387 #if defined(_AIX) && !defined(_AIX51) && !defined(_NO_PROTO) |
6385 # define _NO_PROTO /* like in os_unix.h, causes conflict for AIX (Winn) */ | 6388 # define _NO_PROTO /* like in os_unix.h, causes conflict for AIX (Winn) */ |
6386 /* but don't do it on AIX 5.1 (Uribarri) */ | 6389 /* but don't do it on AIX 5.1 (Uribarri) */ |
6397 | 6400 |
6398 int main() { | 6401 int main() { |
6399 int i; i = 0; | 6402 int i; i = 0; |
6400 ; return 0; } | 6403 ; return 0; } |
6401 EOF | 6404 EOF |
6402 if { (eval echo configure:6403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6405 if { (eval echo configure:6406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6403 rm -rf conftest* | 6406 rm -rf conftest* |
6404 echo "$ac_t""yes" 1>&6 | 6407 echo "$ac_t""yes" 1>&6 |
6405 else | 6408 else |
6406 echo "configure: failed program was:" >&5 | 6409 echo "configure: failed program was:" >&5 |
6407 cat conftest.$ac_ext >&5 | 6410 cat conftest.$ac_ext >&5 |
6415 rm -f conftest* | 6418 rm -f conftest* |
6416 CPPFLAGS=$cppflags_save | 6419 CPPFLAGS=$cppflags_save |
6417 | 6420 |
6418 if test $ac_cv_prog_gcc = yes; then | 6421 if test $ac_cv_prog_gcc = yes; then |
6419 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 | 6422 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
6420 echo "configure:6421: checking whether ${CC-cc} needs -traditional" >&5 | 6423 echo "configure:6424: checking whether ${CC-cc} needs -traditional" >&5 |
6421 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then | 6424 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
6422 echo $ac_n "(cached) $ac_c" 1>&6 | 6425 echo $ac_n "(cached) $ac_c" 1>&6 |
6423 else | 6426 else |
6424 ac_pattern="Autoconf.*'x'" | 6427 ac_pattern="Autoconf.*'x'" |
6425 cat > conftest.$ac_ext <<EOF | 6428 cat > conftest.$ac_ext <<EOF |
6426 #line 6427 "configure" | 6429 #line 6430 "configure" |
6427 #include "confdefs.h" | 6430 #include "confdefs.h" |
6428 #include <sgtty.h> | 6431 #include <sgtty.h> |
6429 Autoconf TIOCGETP | 6432 Autoconf TIOCGETP |
6430 EOF | 6433 EOF |
6431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6439 rm -f conftest* | 6442 rm -f conftest* |
6440 | 6443 |
6441 | 6444 |
6442 if test $ac_cv_prog_gcc_traditional = no; then | 6445 if test $ac_cv_prog_gcc_traditional = no; then |
6443 cat > conftest.$ac_ext <<EOF | 6446 cat > conftest.$ac_ext <<EOF |
6444 #line 6445 "configure" | 6447 #line 6448 "configure" |
6445 #include "confdefs.h" | 6448 #include "confdefs.h" |
6446 #include <termio.h> | 6449 #include <termio.h> |
6447 Autoconf TCGETA | 6450 Autoconf TCGETA |
6448 EOF | 6451 EOF |
6449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6461 CC="$CC -traditional" | 6464 CC="$CC -traditional" |
6462 fi | 6465 fi |
6463 fi | 6466 fi |
6464 | 6467 |
6465 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 6468 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
6466 echo "configure:6467: checking for working const" >&5 | 6469 echo "configure:6470: checking for working const" >&5 |
6467 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 6470 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
6468 echo $ac_n "(cached) $ac_c" 1>&6 | 6471 echo $ac_n "(cached) $ac_c" 1>&6 |
6469 else | 6472 else |
6470 cat > conftest.$ac_ext <<EOF | 6473 cat > conftest.$ac_ext <<EOF |
6471 #line 6472 "configure" | 6474 #line 6475 "configure" |
6472 #include "confdefs.h" | 6475 #include "confdefs.h" |
6473 | 6476 |
6474 int main() { | 6477 int main() { |
6475 | 6478 |
6476 /* Ultrix mips cc rejects this. */ | 6479 /* Ultrix mips cc rejects this. */ |
6515 const int foo = 10; | 6518 const int foo = 10; |
6516 } | 6519 } |
6517 | 6520 |
6518 ; return 0; } | 6521 ; return 0; } |
6519 EOF | 6522 EOF |
6520 if { (eval echo configure:6521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6523 if { (eval echo configure:6524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6521 rm -rf conftest* | 6524 rm -rf conftest* |
6522 ac_cv_c_const=yes | 6525 ac_cv_c_const=yes |
6523 else | 6526 else |
6524 echo "configure: failed program was:" >&5 | 6527 echo "configure: failed program was:" >&5 |
6525 cat conftest.$ac_ext >&5 | 6528 cat conftest.$ac_ext >&5 |
6536 EOF | 6539 EOF |
6537 | 6540 |
6538 fi | 6541 fi |
6539 | 6542 |
6540 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 6543 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
6541 echo "configure:6542: checking for mode_t" >&5 | 6544 echo "configure:6545: checking for mode_t" >&5 |
6542 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then | 6545 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then |
6543 echo $ac_n "(cached) $ac_c" 1>&6 | 6546 echo $ac_n "(cached) $ac_c" 1>&6 |
6544 else | 6547 else |
6545 cat > conftest.$ac_ext <<EOF | 6548 cat > conftest.$ac_ext <<EOF |
6546 #line 6547 "configure" | 6549 #line 6550 "configure" |
6547 #include "confdefs.h" | 6550 #include "confdefs.h" |
6548 #include <sys/types.h> | 6551 #include <sys/types.h> |
6549 #if STDC_HEADERS | 6552 #if STDC_HEADERS |
6550 #include <stdlib.h> | 6553 #include <stdlib.h> |
6551 #include <stddef.h> | 6554 #include <stddef.h> |
6569 EOF | 6572 EOF |
6570 | 6573 |
6571 fi | 6574 fi |
6572 | 6575 |
6573 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 6576 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
6574 echo "configure:6575: checking for off_t" >&5 | 6577 echo "configure:6578: checking for off_t" >&5 |
6575 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then | 6578 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then |
6576 echo $ac_n "(cached) $ac_c" 1>&6 | 6579 echo $ac_n "(cached) $ac_c" 1>&6 |
6577 else | 6580 else |
6578 cat > conftest.$ac_ext <<EOF | 6581 cat > conftest.$ac_ext <<EOF |
6579 #line 6580 "configure" | 6582 #line 6583 "configure" |
6580 #include "confdefs.h" | 6583 #include "confdefs.h" |
6581 #include <sys/types.h> | 6584 #include <sys/types.h> |
6582 #if STDC_HEADERS | 6585 #if STDC_HEADERS |
6583 #include <stdlib.h> | 6586 #include <stdlib.h> |
6584 #include <stddef.h> | 6587 #include <stddef.h> |
6602 EOF | 6605 EOF |
6603 | 6606 |
6604 fi | 6607 fi |
6605 | 6608 |
6606 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 6609 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
6607 echo "configure:6608: checking for pid_t" >&5 | 6610 echo "configure:6611: checking for pid_t" >&5 |
6608 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 6611 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
6609 echo $ac_n "(cached) $ac_c" 1>&6 | 6612 echo $ac_n "(cached) $ac_c" 1>&6 |
6610 else | 6613 else |
6611 cat > conftest.$ac_ext <<EOF | 6614 cat > conftest.$ac_ext <<EOF |
6612 #line 6613 "configure" | 6615 #line 6616 "configure" |
6613 #include "confdefs.h" | 6616 #include "confdefs.h" |
6614 #include <sys/types.h> | 6617 #include <sys/types.h> |
6615 #if STDC_HEADERS | 6618 #if STDC_HEADERS |
6616 #include <stdlib.h> | 6619 #include <stdlib.h> |
6617 #include <stddef.h> | 6620 #include <stddef.h> |
6635 EOF | 6638 EOF |
6636 | 6639 |
6637 fi | 6640 fi |
6638 | 6641 |
6639 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 6642 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
6640 echo "configure:6641: checking for size_t" >&5 | 6643 echo "configure:6644: checking for size_t" >&5 |
6641 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 6644 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
6642 echo $ac_n "(cached) $ac_c" 1>&6 | 6645 echo $ac_n "(cached) $ac_c" 1>&6 |
6643 else | 6646 else |
6644 cat > conftest.$ac_ext <<EOF | 6647 cat > conftest.$ac_ext <<EOF |
6645 #line 6646 "configure" | 6648 #line 6649 "configure" |
6646 #include "confdefs.h" | 6649 #include "confdefs.h" |
6647 #include <sys/types.h> | 6650 #include <sys/types.h> |
6648 #if STDC_HEADERS | 6651 #if STDC_HEADERS |
6649 #include <stdlib.h> | 6652 #include <stdlib.h> |
6650 #include <stddef.h> | 6653 #include <stddef.h> |
6668 EOF | 6671 EOF |
6669 | 6672 |
6670 fi | 6673 fi |
6671 | 6674 |
6672 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 6675 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
6673 echo "configure:6674: checking for uid_t in sys/types.h" >&5 | 6676 echo "configure:6677: checking for uid_t in sys/types.h" >&5 |
6674 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then | 6677 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
6675 echo $ac_n "(cached) $ac_c" 1>&6 | 6678 echo $ac_n "(cached) $ac_c" 1>&6 |
6676 else | 6679 else |
6677 cat > conftest.$ac_ext <<EOF | 6680 cat > conftest.$ac_ext <<EOF |
6678 #line 6679 "configure" | 6681 #line 6682 "configure" |
6679 #include "confdefs.h" | 6682 #include "confdefs.h" |
6680 #include <sys/types.h> | 6683 #include <sys/types.h> |
6681 EOF | 6684 EOF |
6682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6683 egrep "uid_t" >/dev/null 2>&1; then | 6686 egrep "uid_t" >/dev/null 2>&1; then |
6702 EOF | 6705 EOF |
6703 | 6706 |
6704 fi | 6707 fi |
6705 | 6708 |
6706 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 6709 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
6707 echo "configure:6708: checking whether time.h and sys/time.h may both be included" >&5 | 6710 echo "configure:6711: checking whether time.h and sys/time.h may both be included" >&5 |
6708 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 6711 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
6709 echo $ac_n "(cached) $ac_c" 1>&6 | 6712 echo $ac_n "(cached) $ac_c" 1>&6 |
6710 else | 6713 else |
6711 cat > conftest.$ac_ext <<EOF | 6714 cat > conftest.$ac_ext <<EOF |
6712 #line 6713 "configure" | 6715 #line 6716 "configure" |
6713 #include "confdefs.h" | 6716 #include "confdefs.h" |
6714 #include <sys/types.h> | 6717 #include <sys/types.h> |
6715 #include <sys/time.h> | 6718 #include <sys/time.h> |
6716 #include <time.h> | 6719 #include <time.h> |
6717 int main() { | 6720 int main() { |
6718 struct tm *tp; | 6721 struct tm *tp; |
6719 ; return 0; } | 6722 ; return 0; } |
6720 EOF | 6723 EOF |
6721 if { (eval echo configure:6722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6724 if { (eval echo configure:6725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6722 rm -rf conftest* | 6725 rm -rf conftest* |
6723 ac_cv_header_time=yes | 6726 ac_cv_header_time=yes |
6724 else | 6727 else |
6725 echo "configure: failed program was:" >&5 | 6728 echo "configure: failed program was:" >&5 |
6726 cat conftest.$ac_ext >&5 | 6729 cat conftest.$ac_ext >&5 |
6737 EOF | 6740 EOF |
6738 | 6741 |
6739 fi | 6742 fi |
6740 | 6743 |
6741 echo $ac_n "checking for ino_t""... $ac_c" 1>&6 | 6744 echo $ac_n "checking for ino_t""... $ac_c" 1>&6 |
6742 echo "configure:6743: checking for ino_t" >&5 | 6745 echo "configure:6746: checking for ino_t" >&5 |
6743 if eval "test \"`echo '$''{'ac_cv_type_ino_t'+set}'`\" = set"; then | 6746 if eval "test \"`echo '$''{'ac_cv_type_ino_t'+set}'`\" = set"; then |
6744 echo $ac_n "(cached) $ac_c" 1>&6 | 6747 echo $ac_n "(cached) $ac_c" 1>&6 |
6745 else | 6748 else |
6746 cat > conftest.$ac_ext <<EOF | 6749 cat > conftest.$ac_ext <<EOF |
6747 #line 6748 "configure" | 6750 #line 6751 "configure" |
6748 #include "confdefs.h" | 6751 #include "confdefs.h" |
6749 #include <sys/types.h> | 6752 #include <sys/types.h> |
6750 #if STDC_HEADERS | 6753 #if STDC_HEADERS |
6751 #include <stdlib.h> | 6754 #include <stdlib.h> |
6752 #include <stddef.h> | 6755 #include <stddef.h> |
6770 EOF | 6773 EOF |
6771 | 6774 |
6772 fi | 6775 fi |
6773 | 6776 |
6774 echo $ac_n "checking for dev_t""... $ac_c" 1>&6 | 6777 echo $ac_n "checking for dev_t""... $ac_c" 1>&6 |
6775 echo "configure:6776: checking for dev_t" >&5 | 6778 echo "configure:6779: checking for dev_t" >&5 |
6776 if eval "test \"`echo '$''{'ac_cv_type_dev_t'+set}'`\" = set"; then | 6779 if eval "test \"`echo '$''{'ac_cv_type_dev_t'+set}'`\" = set"; then |
6777 echo $ac_n "(cached) $ac_c" 1>&6 | 6780 echo $ac_n "(cached) $ac_c" 1>&6 |
6778 else | 6781 else |
6779 cat > conftest.$ac_ext <<EOF | 6782 cat > conftest.$ac_ext <<EOF |
6780 #line 6781 "configure" | 6783 #line 6784 "configure" |
6781 #include "confdefs.h" | 6784 #include "confdefs.h" |
6782 #include <sys/types.h> | 6785 #include <sys/types.h> |
6783 #if STDC_HEADERS | 6786 #if STDC_HEADERS |
6784 #include <stdlib.h> | 6787 #include <stdlib.h> |
6785 #include <stddef.h> | 6788 #include <stddef.h> |
6804 | 6807 |
6805 fi | 6808 fi |
6806 | 6809 |
6807 | 6810 |
6808 echo $ac_n "checking for rlim_t""... $ac_c" 1>&6 | 6811 echo $ac_n "checking for rlim_t""... $ac_c" 1>&6 |
6809 echo "configure:6810: checking for rlim_t" >&5 | 6812 echo "configure:6813: checking for rlim_t" >&5 |
6810 if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then | 6813 if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then |
6811 echo "$ac_t""(cached) $ac_cv_type_rlim_t" 1>&6 | 6814 echo "$ac_t""(cached) $ac_cv_type_rlim_t" 1>&6 |
6812 else | 6815 else |
6813 cat > conftest.$ac_ext <<EOF | 6816 cat > conftest.$ac_ext <<EOF |
6814 #line 6815 "configure" | 6817 #line 6818 "configure" |
6815 #include "confdefs.h" | 6818 #include "confdefs.h" |
6816 | 6819 |
6817 #include <sys/types.h> | 6820 #include <sys/types.h> |
6818 #if STDC_HEADERS | 6821 #if STDC_HEADERS |
6819 #include <stdlib.h> | 6822 #include <stdlib.h> |
6841 #define rlim_t unsigned long | 6844 #define rlim_t unsigned long |
6842 EOF | 6845 EOF |
6843 fi | 6846 fi |
6844 | 6847 |
6845 echo $ac_n "checking for stack_t""... $ac_c" 1>&6 | 6848 echo $ac_n "checking for stack_t""... $ac_c" 1>&6 |
6846 echo "configure:6847: checking for stack_t" >&5 | 6849 echo "configure:6850: checking for stack_t" >&5 |
6847 if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then | 6850 if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then |
6848 echo "$ac_t""(cached) $ac_cv_type_stack_t" 1>&6 | 6851 echo "$ac_t""(cached) $ac_cv_type_stack_t" 1>&6 |
6849 else | 6852 else |
6850 cat > conftest.$ac_ext <<EOF | 6853 cat > conftest.$ac_ext <<EOF |
6851 #line 6852 "configure" | 6854 #line 6855 "configure" |
6852 #include "confdefs.h" | 6855 #include "confdefs.h" |
6853 | 6856 |
6854 #include <sys/types.h> | 6857 #include <sys/types.h> |
6855 #if STDC_HEADERS | 6858 #if STDC_HEADERS |
6856 #include <stdlib.h> | 6859 #include <stdlib.h> |
6876 #define stack_t struct sigaltstack | 6879 #define stack_t struct sigaltstack |
6877 EOF | 6880 EOF |
6878 fi | 6881 fi |
6879 | 6882 |
6880 echo $ac_n "checking whether stack_t has an ss_base field""... $ac_c" 1>&6 | 6883 echo $ac_n "checking whether stack_t has an ss_base field""... $ac_c" 1>&6 |
6881 echo "configure:6882: checking whether stack_t has an ss_base field" >&5 | 6884 echo "configure:6885: checking whether stack_t has an ss_base field" >&5 |
6882 cat > conftest.$ac_ext <<EOF | 6885 cat > conftest.$ac_ext <<EOF |
6883 #line 6884 "configure" | 6886 #line 6887 "configure" |
6884 #include "confdefs.h" | 6887 #include "confdefs.h" |
6885 | 6888 |
6886 #include <sys/types.h> | 6889 #include <sys/types.h> |
6887 #if STDC_HEADERS | 6890 #if STDC_HEADERS |
6888 #include <stdlib.h> | 6891 #include <stdlib.h> |
6893 | 6896 |
6894 int main() { | 6897 int main() { |
6895 stack_t sigstk; sigstk.ss_base = 0; | 6898 stack_t sigstk; sigstk.ss_base = 0; |
6896 ; return 0; } | 6899 ; return 0; } |
6897 EOF | 6900 EOF |
6898 if { (eval echo configure:6899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6901 if { (eval echo configure:6902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6899 rm -rf conftest* | 6902 rm -rf conftest* |
6900 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 6903 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6901 #define HAVE_SS_BASE 1 | 6904 #define HAVE_SS_BASE 1 |
6902 EOF | 6905 EOF |
6903 | 6906 |
6909 fi | 6912 fi |
6910 rm -f conftest* | 6913 rm -f conftest* |
6911 | 6914 |
6912 olibs="$LIBS" | 6915 olibs="$LIBS" |
6913 echo $ac_n "checking --with-tlib argument""... $ac_c" 1>&6 | 6916 echo $ac_n "checking --with-tlib argument""... $ac_c" 1>&6 |
6914 echo "configure:6915: checking --with-tlib argument" >&5 | 6917 echo "configure:6918: checking --with-tlib argument" >&5 |
6915 # Check whether --with-tlib or --without-tlib was given. | 6918 # Check whether --with-tlib or --without-tlib was given. |
6916 if test "${with_tlib+set}" = set; then | 6919 if test "${with_tlib+set}" = set; then |
6917 withval="$with_tlib" | 6920 withval="$with_tlib" |
6918 : | 6921 : |
6919 fi | 6922 fi |
6927 OSF1) tlibs="ncurses curses termlib termcap";; | 6930 OSF1) tlibs="ncurses curses termlib termcap";; |
6928 *) tlibs="ncurses termlib termcap curses";; | 6931 *) tlibs="ncurses termlib termcap curses";; |
6929 esac | 6932 esac |
6930 for libname in $tlibs; do | 6933 for libname in $tlibs; do |
6931 echo $ac_n "checking for tgetent in -l${libname}""... $ac_c" 1>&6 | 6934 echo $ac_n "checking for tgetent in -l${libname}""... $ac_c" 1>&6 |
6932 echo "configure:6933: checking for tgetent in -l${libname}" >&5 | 6935 echo "configure:6936: checking for tgetent in -l${libname}" >&5 |
6933 ac_lib_var=`echo ${libname}'_'tgetent | sed 'y%./+-%__p_%'` | 6936 ac_lib_var=`echo ${libname}'_'tgetent | sed 'y%./+-%__p_%'` |
6934 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6937 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6935 echo $ac_n "(cached) $ac_c" 1>&6 | 6938 echo $ac_n "(cached) $ac_c" 1>&6 |
6936 else | 6939 else |
6937 ac_save_LIBS="$LIBS" | 6940 ac_save_LIBS="$LIBS" |
6938 LIBS="-l${libname} $LIBS" | 6941 LIBS="-l${libname} $LIBS" |
6939 cat > conftest.$ac_ext <<EOF | 6942 cat > conftest.$ac_ext <<EOF |
6940 #line 6941 "configure" | 6943 #line 6944 "configure" |
6941 #include "confdefs.h" | 6944 #include "confdefs.h" |
6942 /* Override any gcc2 internal prototype to avoid an error. */ | 6945 /* Override any gcc2 internal prototype to avoid an error. */ |
6943 /* We use char because int might match the return type of a gcc2 | 6946 /* We use char because int might match the return type of a gcc2 |
6944 builtin and then its argument prototype would still apply. */ | 6947 builtin and then its argument prototype would still apply. */ |
6945 char tgetent(); | 6948 char tgetent(); |
6946 | 6949 |
6947 int main() { | 6950 int main() { |
6948 tgetent() | 6951 tgetent() |
6949 ; return 0; } | 6952 ; return 0; } |
6950 EOF | 6953 EOF |
6951 if { (eval echo configure:6952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6954 if { (eval echo configure:6955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6952 rm -rf conftest* | 6955 rm -rf conftest* |
6953 eval "ac_cv_lib_$ac_lib_var=yes" | 6956 eval "ac_cv_lib_$ac_lib_var=yes" |
6954 else | 6957 else |
6955 echo "configure: failed program was:" >&5 | 6958 echo "configure: failed program was:" >&5 |
6956 cat conftest.$ac_ext >&5 | 6959 cat conftest.$ac_ext >&5 |
6978 if test "x$olibs" != "x$LIBS"; then | 6981 if test "x$olibs" != "x$LIBS"; then |
6979 if test "$cross_compiling" = yes; then | 6982 if test "$cross_compiling" = yes; then |
6980 res="FAIL" | 6983 res="FAIL" |
6981 else | 6984 else |
6982 cat > conftest.$ac_ext <<EOF | 6985 cat > conftest.$ac_ext <<EOF |
6983 #line 6984 "configure" | 6986 #line 6987 "configure" |
6984 #include "confdefs.h" | 6987 #include "confdefs.h" |
6985 | 6988 |
6986 #ifdef HAVE_TERMCAP_H | 6989 #ifdef HAVE_TERMCAP_H |
6987 # include <termcap.h> | 6990 # include <termcap.h> |
6988 #endif | 6991 #endif |
6989 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); } | 6992 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); } |
6990 EOF | 6993 EOF |
6991 if { (eval echo configure:6992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6994 if { (eval echo configure:6995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6992 then | 6995 then |
6993 res="OK" | 6996 res="OK" |
6994 else | 6997 else |
6995 echo "configure: failed program was:" >&5 | 6998 echo "configure: failed program was:" >&5 |
6996 cat conftest.$ac_ext >&5 | 6999 cat conftest.$ac_ext >&5 |
7008 fi | 7011 fi |
7009 done | 7012 done |
7010 fi | 7013 fi |
7011 if test "x$olibs" != "x$LIBS"; then | 7014 if test "x$olibs" != "x$LIBS"; then |
7012 echo $ac_n "checking whether we talk terminfo""... $ac_c" 1>&6 | 7015 echo $ac_n "checking whether we talk terminfo""... $ac_c" 1>&6 |
7013 echo "configure:7014: checking whether we talk terminfo" >&5 | 7016 echo "configure:7017: checking whether we talk terminfo" >&5 |
7014 if test "$cross_compiling" = yes; then | 7017 if test "$cross_compiling" = yes; then |
7015 { echo "configure: error: failed to compile test program." 1>&2; exit 1; } | 7018 { echo "configure: error: failed to compile test program." 1>&2; exit 1; } |
7016 else | 7019 else |
7017 cat > conftest.$ac_ext <<EOF | 7020 cat > conftest.$ac_ext <<EOF |
7018 #line 7019 "configure" | 7021 #line 7022 "configure" |
7019 #include "confdefs.h" | 7022 #include "confdefs.h" |
7020 | 7023 |
7021 #ifdef HAVE_TERMCAP_H | 7024 #ifdef HAVE_TERMCAP_H |
7022 # include <termcap.h> | 7025 # include <termcap.h> |
7023 #endif | 7026 #endif |
7024 main() | 7027 main() |
7025 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); } | 7028 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); } |
7026 EOF | 7029 EOF |
7027 if { (eval echo configure:7028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7030 if { (eval echo configure:7031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7028 then | 7031 then |
7029 echo "$ac_t""no -- we are in termcap land" 1>&6 | 7032 echo "$ac_t""no -- we are in termcap land" 1>&6 |
7030 else | 7033 else |
7031 echo "configure: failed program was:" >&5 | 7034 echo "configure: failed program was:" >&5 |
7032 cat conftest.$ac_ext >&5 | 7035 cat conftest.$ac_ext >&5 |
7043 echo "$ac_t""none found" 1>&6 | 7046 echo "$ac_t""none found" 1>&6 |
7044 fi | 7047 fi |
7045 | 7048 |
7046 if test "x$olibs" != "x$LIBS"; then | 7049 if test "x$olibs" != "x$LIBS"; then |
7047 echo $ac_n "checking what tgetent() returns for an unknown terminal""... $ac_c" 1>&6 | 7050 echo $ac_n "checking what tgetent() returns for an unknown terminal""... $ac_c" 1>&6 |
7048 echo "configure:7049: checking what tgetent() returns for an unknown terminal" >&5 | 7051 echo "configure:7052: checking what tgetent() returns for an unknown terminal" >&5 |
7049 if test "$cross_compiling" = yes; then | 7052 if test "$cross_compiling" = yes; then |
7050 { echo "configure: error: failed to compile test program." 1>&2; exit 1; } | 7053 { echo "configure: error: failed to compile test program." 1>&2; exit 1; } |
7051 else | 7054 else |
7052 cat > conftest.$ac_ext <<EOF | 7055 cat > conftest.$ac_ext <<EOF |
7053 #line 7054 "configure" | 7056 #line 7057 "configure" |
7054 #include "confdefs.h" | 7057 #include "confdefs.h" |
7055 | 7058 |
7056 #ifdef HAVE_TERMCAP_H | 7059 #ifdef HAVE_TERMCAP_H |
7057 # include <termcap.h> | 7060 # include <termcap.h> |
7058 #endif | 7061 #endif |
7059 main() | 7062 main() |
7060 {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); } | 7063 {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); } |
7061 EOF | 7064 EOF |
7062 if { (eval echo configure:7063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7065 if { (eval echo configure:7066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7063 then | 7066 then |
7064 echo "$ac_t""zero" 1>&6; cat >> confdefs.h <<\EOF | 7067 echo "$ac_t""zero" 1>&6; cat >> confdefs.h <<\EOF |
7065 #define TGETENT_ZERO_ERR 0 | 7068 #define TGETENT_ZERO_ERR 0 |
7066 EOF | 7069 EOF |
7067 | 7070 |
7075 fi | 7078 fi |
7076 | 7079 |
7077 fi | 7080 fi |
7078 | 7081 |
7079 echo $ac_n "checking whether termcap.h contains ospeed""... $ac_c" 1>&6 | 7082 echo $ac_n "checking whether termcap.h contains ospeed""... $ac_c" 1>&6 |
7080 echo "configure:7081: checking whether termcap.h contains ospeed" >&5 | 7083 echo "configure:7084: checking whether termcap.h contains ospeed" >&5 |
7081 cat > conftest.$ac_ext <<EOF | 7084 cat > conftest.$ac_ext <<EOF |
7082 #line 7083 "configure" | 7085 #line 7086 "configure" |
7083 #include "confdefs.h" | 7086 #include "confdefs.h" |
7084 | 7087 |
7085 #ifdef HAVE_TERMCAP_H | 7088 #ifdef HAVE_TERMCAP_H |
7086 # include <termcap.h> | 7089 # include <termcap.h> |
7087 #endif | 7090 #endif |
7088 | 7091 |
7089 int main() { | 7092 int main() { |
7090 ospeed = 20000 | 7093 ospeed = 20000 |
7091 ; return 0; } | 7094 ; return 0; } |
7092 EOF | 7095 EOF |
7093 if { (eval echo configure:7094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7096 if { (eval echo configure:7097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7094 rm -rf conftest* | 7097 rm -rf conftest* |
7095 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7098 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7096 #define HAVE_OSPEED 1 | 7099 #define HAVE_OSPEED 1 |
7097 EOF | 7100 EOF |
7098 | 7101 |
7100 echo "configure: failed program was:" >&5 | 7103 echo "configure: failed program was:" >&5 |
7101 cat conftest.$ac_ext >&5 | 7104 cat conftest.$ac_ext >&5 |
7102 rm -rf conftest* | 7105 rm -rf conftest* |
7103 echo "$ac_t""no" 1>&6 | 7106 echo "$ac_t""no" 1>&6 |
7104 echo $ac_n "checking whether ospeed can be extern""... $ac_c" 1>&6 | 7107 echo $ac_n "checking whether ospeed can be extern""... $ac_c" 1>&6 |
7105 echo "configure:7106: checking whether ospeed can be extern" >&5 | 7108 echo "configure:7109: checking whether ospeed can be extern" >&5 |
7106 cat > conftest.$ac_ext <<EOF | 7109 cat > conftest.$ac_ext <<EOF |
7107 #line 7108 "configure" | 7110 #line 7111 "configure" |
7108 #include "confdefs.h" | 7111 #include "confdefs.h" |
7109 | 7112 |
7110 #ifdef HAVE_TERMCAP_H | 7113 #ifdef HAVE_TERMCAP_H |
7111 # include <termcap.h> | 7114 # include <termcap.h> |
7112 #endif | 7115 #endif |
7114 | 7117 |
7115 int main() { | 7118 int main() { |
7116 ospeed = 20000 | 7119 ospeed = 20000 |
7117 ; return 0; } | 7120 ; return 0; } |
7118 EOF | 7121 EOF |
7119 if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7122 if { (eval echo configure:7123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7120 rm -rf conftest* | 7123 rm -rf conftest* |
7121 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7124 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7122 #define OSPEED_EXTERN 1 | 7125 #define OSPEED_EXTERN 1 |
7123 EOF | 7126 EOF |
7124 | 7127 |
7132 | 7135 |
7133 fi | 7136 fi |
7134 rm -f conftest* | 7137 rm -f conftest* |
7135 | 7138 |
7136 echo $ac_n "checking whether termcap.h contains UP, BC and PC""... $ac_c" 1>&6 | 7139 echo $ac_n "checking whether termcap.h contains UP, BC and PC""... $ac_c" 1>&6 |
7137 echo "configure:7138: checking whether termcap.h contains UP, BC and PC" >&5 | 7140 echo "configure:7141: checking whether termcap.h contains UP, BC and PC" >&5 |
7138 cat > conftest.$ac_ext <<EOF | 7141 cat > conftest.$ac_ext <<EOF |
7139 #line 7140 "configure" | 7142 #line 7143 "configure" |
7140 #include "confdefs.h" | 7143 #include "confdefs.h" |
7141 | 7144 |
7142 #ifdef HAVE_TERMCAP_H | 7145 #ifdef HAVE_TERMCAP_H |
7143 # include <termcap.h> | 7146 # include <termcap.h> |
7144 #endif | 7147 #endif |
7145 | 7148 |
7146 int main() { | 7149 int main() { |
7147 if (UP == 0 && BC == 0) PC = 1 | 7150 if (UP == 0 && BC == 0) PC = 1 |
7148 ; return 0; } | 7151 ; return 0; } |
7149 EOF | 7152 EOF |
7150 if { (eval echo configure:7151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7153 if { (eval echo configure:7154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7151 rm -rf conftest* | 7154 rm -rf conftest* |
7152 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7155 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7153 #define HAVE_UP_BC_PC 1 | 7156 #define HAVE_UP_BC_PC 1 |
7154 EOF | 7157 EOF |
7155 | 7158 |
7157 echo "configure: failed program was:" >&5 | 7160 echo "configure: failed program was:" >&5 |
7158 cat conftest.$ac_ext >&5 | 7161 cat conftest.$ac_ext >&5 |
7159 rm -rf conftest* | 7162 rm -rf conftest* |
7160 echo "$ac_t""no" 1>&6 | 7163 echo "$ac_t""no" 1>&6 |
7161 echo $ac_n "checking whether UP, BC and PC can be extern""... $ac_c" 1>&6 | 7164 echo $ac_n "checking whether UP, BC and PC can be extern""... $ac_c" 1>&6 |
7162 echo "configure:7163: checking whether UP, BC and PC can be extern" >&5 | 7165 echo "configure:7166: checking whether UP, BC and PC can be extern" >&5 |
7163 cat > conftest.$ac_ext <<EOF | 7166 cat > conftest.$ac_ext <<EOF |
7164 #line 7165 "configure" | 7167 #line 7168 "configure" |
7165 #include "confdefs.h" | 7168 #include "confdefs.h" |
7166 | 7169 |
7167 #ifdef HAVE_TERMCAP_H | 7170 #ifdef HAVE_TERMCAP_H |
7168 # include <termcap.h> | 7171 # include <termcap.h> |
7169 #endif | 7172 #endif |
7171 | 7174 |
7172 int main() { | 7175 int main() { |
7173 if (UP == 0 && BC == 0) PC = 1 | 7176 if (UP == 0 && BC == 0) PC = 1 |
7174 ; return 0; } | 7177 ; return 0; } |
7175 EOF | 7178 EOF |
7176 if { (eval echo configure:7177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7179 if { (eval echo configure:7180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7177 rm -rf conftest* | 7180 rm -rf conftest* |
7178 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7181 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7179 #define UP_BC_PC_EXTERN 1 | 7182 #define UP_BC_PC_EXTERN 1 |
7180 EOF | 7183 EOF |
7181 | 7184 |
7189 | 7192 |
7190 fi | 7193 fi |
7191 rm -f conftest* | 7194 rm -f conftest* |
7192 | 7195 |
7193 echo $ac_n "checking whether tputs() uses outfuntype""... $ac_c" 1>&6 | 7196 echo $ac_n "checking whether tputs() uses outfuntype""... $ac_c" 1>&6 |
7194 echo "configure:7195: checking whether tputs() uses outfuntype" >&5 | 7197 echo "configure:7198: checking whether tputs() uses outfuntype" >&5 |
7195 cat > conftest.$ac_ext <<EOF | 7198 cat > conftest.$ac_ext <<EOF |
7196 #line 7197 "configure" | 7199 #line 7200 "configure" |
7197 #include "confdefs.h" | 7200 #include "confdefs.h" |
7198 | 7201 |
7199 #ifdef HAVE_TERMCAP_H | 7202 #ifdef HAVE_TERMCAP_H |
7200 # include <termcap.h> | 7203 # include <termcap.h> |
7201 #endif | 7204 #endif |
7202 | 7205 |
7203 int main() { | 7206 int main() { |
7204 extern int xx(); tputs("test", 1, (outfuntype)xx) | 7207 extern int xx(); tputs("test", 1, (outfuntype)xx) |
7205 ; return 0; } | 7208 ; return 0; } |
7206 EOF | 7209 EOF |
7207 if { (eval echo configure:7208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7210 if { (eval echo configure:7211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7208 rm -rf conftest* | 7211 rm -rf conftest* |
7209 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7212 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7210 #define HAVE_OUTFUNTYPE 1 | 7213 #define HAVE_OUTFUNTYPE 1 |
7211 EOF | 7214 EOF |
7212 | 7215 |
7217 echo "$ac_t""no" 1>&6 | 7220 echo "$ac_t""no" 1>&6 |
7218 fi | 7221 fi |
7219 rm -f conftest* | 7222 rm -f conftest* |
7220 | 7223 |
7221 echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6 | 7224 echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6 |
7222 echo "configure:7223: checking whether sys/select.h and sys/time.h may both be included" >&5 | 7225 echo "configure:7226: checking whether sys/select.h and sys/time.h may both be included" >&5 |
7223 cat > conftest.$ac_ext <<EOF | 7226 cat > conftest.$ac_ext <<EOF |
7224 #line 7225 "configure" | 7227 #line 7228 "configure" |
7225 #include "confdefs.h" | 7228 #include "confdefs.h" |
7226 | 7229 |
7227 #include <sys/types.h> | 7230 #include <sys/types.h> |
7228 #include <sys/time.h> | 7231 #include <sys/time.h> |
7229 #include <sys/select.h> | 7232 #include <sys/select.h> |
7230 int main() { | 7233 int main() { |
7231 | 7234 |
7232 ; return 0; } | 7235 ; return 0; } |
7233 EOF | 7236 EOF |
7234 if { (eval echo configure:7235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7237 if { (eval echo configure:7238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7235 rm -rf conftest* | 7238 rm -rf conftest* |
7236 echo "$ac_t""yes" 1>&6 | 7239 echo "$ac_t""yes" 1>&6 |
7237 cat >> confdefs.h <<\EOF | 7240 cat >> confdefs.h <<\EOF |
7238 #define SYS_SELECT_WITH_SYS_TIME 1 | 7241 #define SYS_SELECT_WITH_SYS_TIME 1 |
7239 EOF | 7242 EOF |
7246 fi | 7249 fi |
7247 rm -f conftest* | 7250 rm -f conftest* |
7248 | 7251 |
7249 | 7252 |
7250 echo $ac_n "checking for /dev/ptc""... $ac_c" 1>&6 | 7253 echo $ac_n "checking for /dev/ptc""... $ac_c" 1>&6 |
7251 echo "configure:7252: checking for /dev/ptc" >&5 | 7254 echo "configure:7255: checking for /dev/ptc" >&5 |
7252 if test -r /dev/ptc; then | 7255 if test -r /dev/ptc; then |
7253 cat >> confdefs.h <<\EOF | 7256 cat >> confdefs.h <<\EOF |
7254 #define HAVE_DEV_PTC 1 | 7257 #define HAVE_DEV_PTC 1 |
7255 EOF | 7258 EOF |
7256 | 7259 |
7258 else | 7261 else |
7259 echo "$ac_t""no" 1>&6 | 7262 echo "$ac_t""no" 1>&6 |
7260 fi | 7263 fi |
7261 | 7264 |
7262 echo $ac_n "checking for SVR4 ptys""... $ac_c" 1>&6 | 7265 echo $ac_n "checking for SVR4 ptys""... $ac_c" 1>&6 |
7263 echo "configure:7264: checking for SVR4 ptys" >&5 | 7266 echo "configure:7267: checking for SVR4 ptys" >&5 |
7264 if test -c /dev/ptmx ; then | 7267 if test -c /dev/ptmx ; then |
7265 cat > conftest.$ac_ext <<EOF | 7268 cat > conftest.$ac_ext <<EOF |
7266 #line 7267 "configure" | 7269 #line 7270 "configure" |
7267 #include "confdefs.h" | 7270 #include "confdefs.h" |
7268 | 7271 |
7269 int main() { | 7272 int main() { |
7270 ptsname(0);grantpt(0);unlockpt(0); | 7273 ptsname(0);grantpt(0);unlockpt(0); |
7271 ; return 0; } | 7274 ; return 0; } |
7272 EOF | 7275 EOF |
7273 if { (eval echo configure:7274: \"$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 |
7274 rm -rf conftest* | 7277 rm -rf conftest* |
7275 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7278 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7276 #define HAVE_SVR4_PTYS 1 | 7279 #define HAVE_SVR4_PTYS 1 |
7277 EOF | 7280 EOF |
7278 | 7281 |
7286 else | 7289 else |
7287 echo "$ac_t""no" 1>&6 | 7290 echo "$ac_t""no" 1>&6 |
7288 fi | 7291 fi |
7289 | 7292 |
7290 echo $ac_n "checking for ptyranges""... $ac_c" 1>&6 | 7293 echo $ac_n "checking for ptyranges""... $ac_c" 1>&6 |
7291 echo "configure:7292: checking for ptyranges" >&5 | 7294 echo "configure:7295: checking for ptyranges" >&5 |
7292 if test -d /dev/ptym ; then | 7295 if test -d /dev/ptym ; then |
7293 pdir='/dev/ptym' | 7296 pdir='/dev/ptym' |
7294 else | 7297 else |
7295 pdir='/dev' | 7298 pdir='/dev' |
7296 fi | 7299 fi |
7297 cat > conftest.$ac_ext <<EOF | 7300 cat > conftest.$ac_ext <<EOF |
7298 #line 7299 "configure" | 7301 #line 7302 "configure" |
7299 #include "confdefs.h" | 7302 #include "confdefs.h" |
7300 #ifdef M_UNIX | 7303 #ifdef M_UNIX |
7301 yes; | 7304 yes; |
7302 #endif | 7305 #endif |
7303 | 7306 |
7327 else | 7330 else |
7328 echo "$ac_t""don't know" 1>&6 | 7331 echo "$ac_t""don't know" 1>&6 |
7329 fi | 7332 fi |
7330 | 7333 |
7331 echo $ac_n "checking default tty permissions/group""... $ac_c" 1>&6 | 7334 echo $ac_n "checking default tty permissions/group""... $ac_c" 1>&6 |
7332 echo "configure:7333: checking default tty permissions/group" >&5 | 7335 echo "configure:7336: checking default tty permissions/group" >&5 |
7333 rm -f conftest_grp | 7336 rm -f conftest_grp |
7334 if test "$cross_compiling" = yes; then | 7337 if test "$cross_compiling" = yes; then |
7335 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7338 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7336 else | 7339 else |
7337 cat > conftest.$ac_ext <<EOF | 7340 cat > conftest.$ac_ext <<EOF |
7338 #line 7339 "configure" | 7341 #line 7342 "configure" |
7339 #include "confdefs.h" | 7342 #include "confdefs.h" |
7340 | 7343 |
7341 #include <sys/types.h> | 7344 #include <sys/types.h> |
7342 #include <sys/stat.h> | 7345 #include <sys/stat.h> |
7343 #include <stdio.h> | 7346 #include <stdio.h> |
7365 fclose(fp); | 7368 fclose(fp); |
7366 exit(0); | 7369 exit(0); |
7367 } | 7370 } |
7368 | 7371 |
7369 EOF | 7372 EOF |
7370 if { (eval echo configure:7371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7373 if { (eval echo configure:7374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7371 then | 7374 then |
7372 | 7375 |
7373 if test -f conftest_grp; then | 7376 if test -f conftest_grp; then |
7374 ptygrp=`cat conftest_grp` | 7377 ptygrp=`cat conftest_grp` |
7375 echo "$ac_t""pty mode: 0620, group: $ptygrp" 1>&6 | 7378 echo "$ac_t""pty mode: 0620, group: $ptygrp" 1>&6 |
7396 | 7399 |
7397 rm -f conftest_grp | 7400 rm -f conftest_grp |
7398 | 7401 |
7399 | 7402 |
7400 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 7403 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
7401 echo "configure:7402: checking return type of signal handlers" >&5 | 7404 echo "configure:7405: checking return type of signal handlers" >&5 |
7402 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 7405 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
7403 echo $ac_n "(cached) $ac_c" 1>&6 | 7406 echo $ac_n "(cached) $ac_c" 1>&6 |
7404 else | 7407 else |
7405 cat > conftest.$ac_ext <<EOF | 7408 cat > conftest.$ac_ext <<EOF |
7406 #line 7407 "configure" | 7409 #line 7410 "configure" |
7407 #include "confdefs.h" | 7410 #include "confdefs.h" |
7408 #include <sys/types.h> | 7411 #include <sys/types.h> |
7409 #include <signal.h> | 7412 #include <signal.h> |
7410 #ifdef signal | 7413 #ifdef signal |
7411 #undef signal | 7414 #undef signal |
7418 | 7421 |
7419 int main() { | 7422 int main() { |
7420 int i; | 7423 int i; |
7421 ; return 0; } | 7424 ; return 0; } |
7422 EOF | 7425 EOF |
7423 if { (eval echo configure:7424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7426 if { (eval echo configure:7427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7424 rm -rf conftest* | 7427 rm -rf conftest* |
7425 ac_cv_type_signal=void | 7428 ac_cv_type_signal=void |
7426 else | 7429 else |
7427 echo "configure: failed program was:" >&5 | 7430 echo "configure: failed program was:" >&5 |
7428 cat conftest.$ac_ext >&5 | 7431 cat conftest.$ac_ext >&5 |
7450 EOF | 7453 EOF |
7451 | 7454 |
7452 fi | 7455 fi |
7453 | 7456 |
7454 echo $ac_n "checking for struct sigcontext""... $ac_c" 1>&6 | 7457 echo $ac_n "checking for struct sigcontext""... $ac_c" 1>&6 |
7455 echo "configure:7456: checking for struct sigcontext" >&5 | 7458 echo "configure:7459: checking for struct sigcontext" >&5 |
7456 cat > conftest.$ac_ext <<EOF | 7459 cat > conftest.$ac_ext <<EOF |
7457 #line 7458 "configure" | 7460 #line 7461 "configure" |
7458 #include "confdefs.h" | 7461 #include "confdefs.h" |
7459 | 7462 |
7460 #include <signal.h> | 7463 #include <signal.h> |
7461 test_sig() | 7464 test_sig() |
7462 { | 7465 { |
7466 } | 7469 } |
7467 int main() { | 7470 int main() { |
7468 | 7471 |
7469 ; return 0; } | 7472 ; return 0; } |
7470 EOF | 7473 EOF |
7471 if { (eval echo configure:7472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7474 if { (eval echo configure:7475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7472 rm -rf conftest* | 7475 rm -rf conftest* |
7473 echo "$ac_t""yes" 1>&6 | 7476 echo "$ac_t""yes" 1>&6 |
7474 cat >> confdefs.h <<\EOF | 7477 cat >> confdefs.h <<\EOF |
7475 #define HAVE_SIGCONTEXT 1 | 7478 #define HAVE_SIGCONTEXT 1 |
7476 EOF | 7479 EOF |
7482 echo "$ac_t""no" 1>&6 | 7485 echo "$ac_t""no" 1>&6 |
7483 fi | 7486 fi |
7484 rm -f conftest* | 7487 rm -f conftest* |
7485 | 7488 |
7486 echo $ac_n "checking getcwd implementation""... $ac_c" 1>&6 | 7489 echo $ac_n "checking getcwd implementation""... $ac_c" 1>&6 |
7487 echo "configure:7488: checking getcwd implementation" >&5 | 7490 echo "configure:7491: checking getcwd implementation" >&5 |
7488 if test "$cross_compiling" = yes; then | 7491 if test "$cross_compiling" = yes; then |
7489 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7492 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7490 else | 7493 else |
7491 cat > conftest.$ac_ext <<EOF | 7494 cat > conftest.$ac_ext <<EOF |
7492 #line 7493 "configure" | 7495 #line 7496 "configure" |
7493 #include "confdefs.h" | 7496 #include "confdefs.h" |
7494 | 7497 |
7495 char *dagger[] = { "IFS=pwd", 0 }; | 7498 char *dagger[] = { "IFS=pwd", 0 }; |
7496 main() | 7499 main() |
7497 { | 7500 { |
7499 extern char **environ; | 7502 extern char **environ; |
7500 environ = dagger; | 7503 environ = dagger; |
7501 return getcwd(buffer, 500) ? 0 : 1; | 7504 return getcwd(buffer, 500) ? 0 : 1; |
7502 } | 7505 } |
7503 EOF | 7506 EOF |
7504 if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7507 if { (eval echo configure:7508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7505 then | 7508 then |
7506 echo "$ac_t""it is usable" 1>&6 | 7509 echo "$ac_t""it is usable" 1>&6 |
7507 else | 7510 else |
7508 echo "configure: failed program was:" >&5 | 7511 echo "configure: failed program was:" >&5 |
7509 cat conftest.$ac_ext >&5 | 7512 cat conftest.$ac_ext >&5 |
7524 setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \ | 7527 setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \ |
7525 sigvec snprintf strcasecmp strerror strftime stricmp strncasecmp \ | 7528 sigvec snprintf strcasecmp strerror strftime stricmp strncasecmp \ |
7526 strnicmp strpbrk strtol tgetent towlower towupper usleep utime utimes | 7529 strnicmp strpbrk strtol tgetent towlower towupper usleep utime utimes |
7527 do | 7530 do |
7528 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7531 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7529 echo "configure:7530: checking for $ac_func" >&5 | 7532 echo "configure:7533: checking for $ac_func" >&5 |
7530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
7531 echo $ac_n "(cached) $ac_c" 1>&6 | 7534 echo $ac_n "(cached) $ac_c" 1>&6 |
7532 else | 7535 else |
7533 cat > conftest.$ac_ext <<EOF | 7536 cat > conftest.$ac_ext <<EOF |
7534 #line 7535 "configure" | 7537 #line 7538 "configure" |
7535 #include "confdefs.h" | 7538 #include "confdefs.h" |
7536 /* System header to define __stub macros and hopefully few prototypes, | 7539 /* System header to define __stub macros and hopefully few prototypes, |
7537 which can conflict with char $ac_func(); below. */ | 7540 which can conflict with char $ac_func(); below. */ |
7538 #include <assert.h> | 7541 #include <assert.h> |
7539 /* Override any gcc2 internal prototype to avoid an error. */ | 7542 /* Override any gcc2 internal prototype to avoid an error. */ |
7552 $ac_func(); | 7555 $ac_func(); |
7553 #endif | 7556 #endif |
7554 | 7557 |
7555 ; return 0; } | 7558 ; return 0; } |
7556 EOF | 7559 EOF |
7557 if { (eval echo configure:7558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7560 if { (eval echo configure:7561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7558 rm -rf conftest* | 7561 rm -rf conftest* |
7559 eval "ac_cv_func_$ac_func=yes" | 7562 eval "ac_cv_func_$ac_func=yes" |
7560 else | 7563 else |
7561 echo "configure: failed program was:" >&5 | 7564 echo "configure: failed program was:" >&5 |
7562 cat conftest.$ac_ext >&5 | 7565 cat conftest.$ac_ext >&5 |
7578 fi | 7581 fi |
7579 done | 7582 done |
7580 | 7583 |
7581 | 7584 |
7582 echo $ac_n "checking for st_blksize""... $ac_c" 1>&6 | 7585 echo $ac_n "checking for st_blksize""... $ac_c" 1>&6 |
7583 echo "configure:7584: checking for st_blksize" >&5 | 7586 echo "configure:7587: checking for st_blksize" >&5 |
7584 cat > conftest.$ac_ext <<EOF | 7587 cat > conftest.$ac_ext <<EOF |
7585 #line 7586 "configure" | 7588 #line 7589 "configure" |
7586 #include "confdefs.h" | 7589 #include "confdefs.h" |
7587 #include <sys/types.h> | 7590 #include <sys/types.h> |
7588 #include <sys/stat.h> | 7591 #include <sys/stat.h> |
7589 int main() { | 7592 int main() { |
7590 struct stat st; | 7593 struct stat st; |
7592 | 7595 |
7593 stat("/", &st); | 7596 stat("/", &st); |
7594 n = (int)st.st_blksize; | 7597 n = (int)st.st_blksize; |
7595 ; return 0; } | 7598 ; return 0; } |
7596 EOF | 7599 EOF |
7597 if { (eval echo configure:7598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7600 if { (eval echo configure:7601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7598 rm -rf conftest* | 7601 rm -rf conftest* |
7599 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7602 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7600 #define HAVE_ST_BLKSIZE 1 | 7603 #define HAVE_ST_BLKSIZE 1 |
7601 EOF | 7604 EOF |
7602 | 7605 |
7607 echo "$ac_t""no" 1>&6 | 7610 echo "$ac_t""no" 1>&6 |
7608 fi | 7611 fi |
7609 rm -f conftest* | 7612 rm -f conftest* |
7610 | 7613 |
7611 echo $ac_n "checking whether stat() ignores a trailing slash""... $ac_c" 1>&6 | 7614 echo $ac_n "checking whether stat() ignores a trailing slash""... $ac_c" 1>&6 |
7612 echo "configure:7613: checking whether stat() ignores a trailing slash" >&5 | 7615 echo "configure:7616: checking whether stat() ignores a trailing slash" >&5 |
7613 if test "$cross_compiling" = yes; then | 7616 if test "$cross_compiling" = yes; then |
7614 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7617 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7615 else | 7618 else |
7616 cat > conftest.$ac_ext <<EOF | 7619 cat > conftest.$ac_ext <<EOF |
7617 #line 7618 "configure" | 7620 #line 7621 "configure" |
7618 #include "confdefs.h" | 7621 #include "confdefs.h" |
7619 #include <sys/types.h> | 7622 #include <sys/types.h> |
7620 #include <sys/stat.h> | 7623 #include <sys/stat.h> |
7621 main() {struct stat st; exit(stat("configure/", &st) != 0); } | 7624 main() {struct stat st; exit(stat("configure/", &st) != 0); } |
7622 EOF | 7625 EOF |
7623 if { (eval echo configure:7624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7626 if { (eval echo configure:7627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7624 then | 7627 then |
7625 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7628 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7626 #define STAT_IGNORES_SLASH 1 | 7629 #define STAT_IGNORES_SLASH 1 |
7627 EOF | 7630 EOF |
7628 | 7631 |
7635 rm -fr conftest* | 7638 rm -fr conftest* |
7636 fi | 7639 fi |
7637 | 7640 |
7638 | 7641 |
7639 echo $ac_n "checking for iconv_open()""... $ac_c" 1>&6 | 7642 echo $ac_n "checking for iconv_open()""... $ac_c" 1>&6 |
7640 echo "configure:7641: checking for iconv_open()" >&5 | 7643 echo "configure:7644: checking for iconv_open()" >&5 |
7641 save_LIBS="$LIBS" | 7644 save_LIBS="$LIBS" |
7642 LIBS="$LIBS -liconv" | 7645 LIBS="$LIBS -liconv" |
7643 cat > conftest.$ac_ext <<EOF | 7646 cat > conftest.$ac_ext <<EOF |
7644 #line 7645 "configure" | 7647 #line 7648 "configure" |
7645 #include "confdefs.h" | 7648 #include "confdefs.h" |
7646 | 7649 |
7647 #ifdef HAVE_ICONV_H | 7650 #ifdef HAVE_ICONV_H |
7648 # include <iconv.h> | 7651 # include <iconv.h> |
7649 #endif | 7652 #endif |
7650 | 7653 |
7651 int main() { | 7654 int main() { |
7652 iconv_open("fr", "to"); | 7655 iconv_open("fr", "to"); |
7653 ; return 0; } | 7656 ; return 0; } |
7654 EOF | 7657 EOF |
7655 if { (eval echo configure:7656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7658 if { (eval echo configure:7659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7656 rm -rf conftest* | 7659 rm -rf conftest* |
7657 echo "$ac_t""yes; with -liconv" 1>&6; cat >> confdefs.h <<\EOF | 7660 echo "$ac_t""yes; with -liconv" 1>&6; cat >> confdefs.h <<\EOF |
7658 #define HAVE_ICONV 1 | 7661 #define HAVE_ICONV 1 |
7659 EOF | 7662 EOF |
7660 | 7663 |
7662 echo "configure: failed program was:" >&5 | 7665 echo "configure: failed program was:" >&5 |
7663 cat conftest.$ac_ext >&5 | 7666 cat conftest.$ac_ext >&5 |
7664 rm -rf conftest* | 7667 rm -rf conftest* |
7665 LIBS="$save_LIBS" | 7668 LIBS="$save_LIBS" |
7666 cat > conftest.$ac_ext <<EOF | 7669 cat > conftest.$ac_ext <<EOF |
7667 #line 7668 "configure" | 7670 #line 7671 "configure" |
7668 #include "confdefs.h" | 7671 #include "confdefs.h" |
7669 | 7672 |
7670 #ifdef HAVE_ICONV_H | 7673 #ifdef HAVE_ICONV_H |
7671 # include <iconv.h> | 7674 # include <iconv.h> |
7672 #endif | 7675 #endif |
7673 | 7676 |
7674 int main() { | 7677 int main() { |
7675 iconv_open("fr", "to"); | 7678 iconv_open("fr", "to"); |
7676 ; return 0; } | 7679 ; return 0; } |
7677 EOF | 7680 EOF |
7678 if { (eval echo configure:7679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7681 if { (eval echo configure:7682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7679 rm -rf conftest* | 7682 rm -rf conftest* |
7680 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7683 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7681 #define HAVE_ICONV 1 | 7684 #define HAVE_ICONV 1 |
7682 EOF | 7685 EOF |
7683 | 7686 |
7691 fi | 7694 fi |
7692 rm -f conftest* | 7695 rm -f conftest* |
7693 | 7696 |
7694 | 7697 |
7695 echo $ac_n "checking for nl_langinfo(CODESET)""... $ac_c" 1>&6 | 7698 echo $ac_n "checking for nl_langinfo(CODESET)""... $ac_c" 1>&6 |
7696 echo "configure:7697: checking for nl_langinfo(CODESET)" >&5 | 7699 echo "configure:7700: checking for nl_langinfo(CODESET)" >&5 |
7697 cat > conftest.$ac_ext <<EOF | 7700 cat > conftest.$ac_ext <<EOF |
7698 #line 7699 "configure" | 7701 #line 7702 "configure" |
7699 #include "confdefs.h" | 7702 #include "confdefs.h" |
7700 | 7703 |
7701 #ifdef HAVE_LANGINFO_H | 7704 #ifdef HAVE_LANGINFO_H |
7702 # include <langinfo.h> | 7705 # include <langinfo.h> |
7703 #endif | 7706 #endif |
7704 | 7707 |
7705 int main() { | 7708 int main() { |
7706 char *cs = nl_langinfo(CODESET); | 7709 char *cs = nl_langinfo(CODESET); |
7707 ; return 0; } | 7710 ; return 0; } |
7708 EOF | 7711 EOF |
7709 if { (eval echo configure:7710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7712 if { (eval echo configure:7713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7710 rm -rf conftest* | 7713 rm -rf conftest* |
7711 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7714 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7712 #define HAVE_NL_LANGINFO_CODESET 1 | 7715 #define HAVE_NL_LANGINFO_CODESET 1 |
7713 EOF | 7716 EOF |
7714 | 7717 |
7719 echo "$ac_t""no" 1>&6 | 7722 echo "$ac_t""no" 1>&6 |
7720 fi | 7723 fi |
7721 rm -f conftest* | 7724 rm -f conftest* |
7722 | 7725 |
7723 echo $ac_n "checking --disable-acl argument""... $ac_c" 1>&6 | 7726 echo $ac_n "checking --disable-acl argument""... $ac_c" 1>&6 |
7724 echo "configure:7725: checking --disable-acl argument" >&5 | 7727 echo "configure:7728: checking --disable-acl argument" >&5 |
7725 # Check whether --enable-acl or --disable-acl was given. | 7728 # Check whether --enable-acl or --disable-acl was given. |
7726 if test "${enable_acl+set}" = set; then | 7729 if test "${enable_acl+set}" = set; then |
7727 enableval="$enable_acl" | 7730 enableval="$enable_acl" |
7728 : | 7731 : |
7729 else | 7732 else |
7731 fi | 7734 fi |
7732 | 7735 |
7733 if test "$enable_acl" = "yes"; then | 7736 if test "$enable_acl" = "yes"; then |
7734 echo "$ac_t""no" 1>&6 | 7737 echo "$ac_t""no" 1>&6 |
7735 echo $ac_n "checking for acl_get_file in -lposix1e""... $ac_c" 1>&6 | 7738 echo $ac_n "checking for acl_get_file in -lposix1e""... $ac_c" 1>&6 |
7736 echo "configure:7737: checking for acl_get_file in -lposix1e" >&5 | 7739 echo "configure:7740: checking for acl_get_file in -lposix1e" >&5 |
7737 ac_lib_var=`echo posix1e'_'acl_get_file | sed 'y%./+-%__p_%'` | 7740 ac_lib_var=`echo posix1e'_'acl_get_file | sed 'y%./+-%__p_%'` |
7738 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7741 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7739 echo $ac_n "(cached) $ac_c" 1>&6 | 7742 echo $ac_n "(cached) $ac_c" 1>&6 |
7740 else | 7743 else |
7741 ac_save_LIBS="$LIBS" | 7744 ac_save_LIBS="$LIBS" |
7742 LIBS="-lposix1e $LIBS" | 7745 LIBS="-lposix1e $LIBS" |
7743 cat > conftest.$ac_ext <<EOF | 7746 cat > conftest.$ac_ext <<EOF |
7744 #line 7745 "configure" | 7747 #line 7748 "configure" |
7745 #include "confdefs.h" | 7748 #include "confdefs.h" |
7746 /* Override any gcc2 internal prototype to avoid an error. */ | 7749 /* Override any gcc2 internal prototype to avoid an error. */ |
7747 /* We use char because int might match the return type of a gcc2 | 7750 /* We use char because int might match the return type of a gcc2 |
7748 builtin and then its argument prototype would still apply. */ | 7751 builtin and then its argument prototype would still apply. */ |
7749 char acl_get_file(); | 7752 char acl_get_file(); |
7750 | 7753 |
7751 int main() { | 7754 int main() { |
7752 acl_get_file() | 7755 acl_get_file() |
7753 ; return 0; } | 7756 ; return 0; } |
7754 EOF | 7757 EOF |
7755 if { (eval echo configure:7756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7758 if { (eval echo configure:7759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7756 rm -rf conftest* | 7759 rm -rf conftest* |
7757 eval "ac_cv_lib_$ac_lib_var=yes" | 7760 eval "ac_cv_lib_$ac_lib_var=yes" |
7758 else | 7761 else |
7759 echo "configure: failed program was:" >&5 | 7762 echo "configure: failed program was:" >&5 |
7760 cat conftest.$ac_ext >&5 | 7763 cat conftest.$ac_ext >&5 |
7769 echo "$ac_t""yes" 1>&6 | 7772 echo "$ac_t""yes" 1>&6 |
7770 LIBS="$LIBS -lposix1e" | 7773 LIBS="$LIBS -lposix1e" |
7771 else | 7774 else |
7772 echo "$ac_t""no" 1>&6 | 7775 echo "$ac_t""no" 1>&6 |
7773 echo $ac_n "checking for acl_get_file in -lacl""... $ac_c" 1>&6 | 7776 echo $ac_n "checking for acl_get_file in -lacl""... $ac_c" 1>&6 |
7774 echo "configure:7775: checking for acl_get_file in -lacl" >&5 | 7777 echo "configure:7778: checking for acl_get_file in -lacl" >&5 |
7775 ac_lib_var=`echo acl'_'acl_get_file | sed 'y%./+-%__p_%'` | 7778 ac_lib_var=`echo acl'_'acl_get_file | sed 'y%./+-%__p_%'` |
7776 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7779 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7777 echo $ac_n "(cached) $ac_c" 1>&6 | 7780 echo $ac_n "(cached) $ac_c" 1>&6 |
7778 else | 7781 else |
7779 ac_save_LIBS="$LIBS" | 7782 ac_save_LIBS="$LIBS" |
7780 LIBS="-lacl $LIBS" | 7783 LIBS="-lacl $LIBS" |
7781 cat > conftest.$ac_ext <<EOF | 7784 cat > conftest.$ac_ext <<EOF |
7782 #line 7783 "configure" | 7785 #line 7786 "configure" |
7783 #include "confdefs.h" | 7786 #include "confdefs.h" |
7784 /* Override any gcc2 internal prototype to avoid an error. */ | 7787 /* Override any gcc2 internal prototype to avoid an error. */ |
7785 /* We use char because int might match the return type of a gcc2 | 7788 /* We use char because int might match the return type of a gcc2 |
7786 builtin and then its argument prototype would still apply. */ | 7789 builtin and then its argument prototype would still apply. */ |
7787 char acl_get_file(); | 7790 char acl_get_file(); |
7788 | 7791 |
7789 int main() { | 7792 int main() { |
7790 acl_get_file() | 7793 acl_get_file() |
7791 ; return 0; } | 7794 ; return 0; } |
7792 EOF | 7795 EOF |
7793 if { (eval echo configure:7794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7796 if { (eval echo configure:7797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7794 rm -rf conftest* | 7797 rm -rf conftest* |
7795 eval "ac_cv_lib_$ac_lib_var=yes" | 7798 eval "ac_cv_lib_$ac_lib_var=yes" |
7796 else | 7799 else |
7797 echo "configure: failed program was:" >&5 | 7800 echo "configure: failed program was:" >&5 |
7798 cat conftest.$ac_ext >&5 | 7801 cat conftest.$ac_ext >&5 |
7805 fi | 7808 fi |
7806 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | 7809 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
7807 echo "$ac_t""yes" 1>&6 | 7810 echo "$ac_t""yes" 1>&6 |
7808 LIBS="$LIBS -lacl" | 7811 LIBS="$LIBS -lacl" |
7809 echo $ac_n "checking for fgetxattr in -lattr""... $ac_c" 1>&6 | 7812 echo $ac_n "checking for fgetxattr in -lattr""... $ac_c" 1>&6 |
7810 echo "configure:7811: checking for fgetxattr in -lattr" >&5 | 7813 echo "configure:7814: checking for fgetxattr in -lattr" >&5 |
7811 ac_lib_var=`echo attr'_'fgetxattr | sed 'y%./+-%__p_%'` | 7814 ac_lib_var=`echo attr'_'fgetxattr | sed 'y%./+-%__p_%'` |
7812 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7815 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7813 echo $ac_n "(cached) $ac_c" 1>&6 | 7816 echo $ac_n "(cached) $ac_c" 1>&6 |
7814 else | 7817 else |
7815 ac_save_LIBS="$LIBS" | 7818 ac_save_LIBS="$LIBS" |
7816 LIBS="-lattr $LIBS" | 7819 LIBS="-lattr $LIBS" |
7817 cat > conftest.$ac_ext <<EOF | 7820 cat > conftest.$ac_ext <<EOF |
7818 #line 7819 "configure" | 7821 #line 7822 "configure" |
7819 #include "confdefs.h" | 7822 #include "confdefs.h" |
7820 /* Override any gcc2 internal prototype to avoid an error. */ | 7823 /* Override any gcc2 internal prototype to avoid an error. */ |
7821 /* We use char because int might match the return type of a gcc2 | 7824 /* We use char because int might match the return type of a gcc2 |
7822 builtin and then its argument prototype would still apply. */ | 7825 builtin and then its argument prototype would still apply. */ |
7823 char fgetxattr(); | 7826 char fgetxattr(); |
7824 | 7827 |
7825 int main() { | 7828 int main() { |
7826 fgetxattr() | 7829 fgetxattr() |
7827 ; return 0; } | 7830 ; return 0; } |
7828 EOF | 7831 EOF |
7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7832 if { (eval echo configure:7833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7830 rm -rf conftest* | 7833 rm -rf conftest* |
7831 eval "ac_cv_lib_$ac_lib_var=yes" | 7834 eval "ac_cv_lib_$ac_lib_var=yes" |
7832 else | 7835 else |
7833 echo "configure: failed program was:" >&5 | 7836 echo "configure: failed program was:" >&5 |
7834 cat conftest.$ac_ext >&5 | 7837 cat conftest.$ac_ext >&5 |
7852 | 7855 |
7853 fi | 7856 fi |
7854 | 7857 |
7855 | 7858 |
7856 echo $ac_n "checking for POSIX ACL support""... $ac_c" 1>&6 | 7859 echo $ac_n "checking for POSIX ACL support""... $ac_c" 1>&6 |
7857 echo "configure:7858: checking for POSIX ACL support" >&5 | 7860 echo "configure:7861: checking for POSIX ACL support" >&5 |
7858 cat > conftest.$ac_ext <<EOF | 7861 cat > conftest.$ac_ext <<EOF |
7859 #line 7860 "configure" | 7862 #line 7863 "configure" |
7860 #include "confdefs.h" | 7863 #include "confdefs.h" |
7861 | 7864 |
7862 #include <sys/types.h> | 7865 #include <sys/types.h> |
7863 #ifdef HAVE_SYS_ACL_H | 7866 #ifdef HAVE_SYS_ACL_H |
7864 # include <sys/acl.h> | 7867 # include <sys/acl.h> |
7868 acl = acl_get_file("foo", ACL_TYPE_ACCESS); | 7871 acl = acl_get_file("foo", ACL_TYPE_ACCESS); |
7869 acl_set_file("foo", ACL_TYPE_ACCESS, acl); | 7872 acl_set_file("foo", ACL_TYPE_ACCESS, acl); |
7870 acl_free(acl); | 7873 acl_free(acl); |
7871 ; return 0; } | 7874 ; return 0; } |
7872 EOF | 7875 EOF |
7873 if { (eval echo configure:7874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7876 if { (eval echo configure:7877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7874 rm -rf conftest* | 7877 rm -rf conftest* |
7875 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7878 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7876 #define HAVE_POSIX_ACL 1 | 7879 #define HAVE_POSIX_ACL 1 |
7877 EOF | 7880 EOF |
7878 | 7881 |
7883 echo "$ac_t""no" 1>&6 | 7886 echo "$ac_t""no" 1>&6 |
7884 fi | 7887 fi |
7885 rm -f conftest* | 7888 rm -f conftest* |
7886 | 7889 |
7887 echo $ac_n "checking for Solaris ACL support""... $ac_c" 1>&6 | 7890 echo $ac_n "checking for Solaris ACL support""... $ac_c" 1>&6 |
7888 echo "configure:7889: checking for Solaris ACL support" >&5 | 7891 echo "configure:7892: checking for Solaris ACL support" >&5 |
7889 cat > conftest.$ac_ext <<EOF | 7892 cat > conftest.$ac_ext <<EOF |
7890 #line 7891 "configure" | 7893 #line 7894 "configure" |
7891 #include "confdefs.h" | 7894 #include "confdefs.h" |
7892 | 7895 |
7893 #ifdef HAVE_SYS_ACL_H | 7896 #ifdef HAVE_SYS_ACL_H |
7894 # include <sys/acl.h> | 7897 # include <sys/acl.h> |
7895 #endif | 7898 #endif |
7896 int main() { | 7899 int main() { |
7897 acl("foo", GETACLCNT, 0, NULL); | 7900 acl("foo", GETACLCNT, 0, NULL); |
7898 | 7901 |
7899 ; return 0; } | 7902 ; return 0; } |
7900 EOF | 7903 EOF |
7901 if { (eval echo configure:7902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7904 if { (eval echo configure:7905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7902 rm -rf conftest* | 7905 rm -rf conftest* |
7903 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7906 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7904 #define HAVE_SOLARIS_ACL 1 | 7907 #define HAVE_SOLARIS_ACL 1 |
7905 EOF | 7908 EOF |
7906 | 7909 |
7911 echo "$ac_t""no" 1>&6 | 7914 echo "$ac_t""no" 1>&6 |
7912 fi | 7915 fi |
7913 rm -f conftest* | 7916 rm -f conftest* |
7914 | 7917 |
7915 echo $ac_n "checking for AIX ACL support""... $ac_c" 1>&6 | 7918 echo $ac_n "checking for AIX ACL support""... $ac_c" 1>&6 |
7916 echo "configure:7917: checking for AIX ACL support" >&5 | 7919 echo "configure:7920: checking for AIX ACL support" >&5 |
7917 cat > conftest.$ac_ext <<EOF | 7920 cat > conftest.$ac_ext <<EOF |
7918 #line 7919 "configure" | 7921 #line 7922 "configure" |
7919 #include "confdefs.h" | 7922 #include "confdefs.h" |
7920 | 7923 |
7921 #ifdef HAVE_SYS_ACL_H | 7924 #ifdef HAVE_SYS_ACL_H |
7922 # include <sys/acl.h> | 7925 # include <sys/acl.h> |
7923 #endif | 7926 #endif |
7935 aclent = (void *)malloc(aclsize); | 7938 aclent = (void *)malloc(aclsize); |
7936 statacl("foo", STX_NORMAL, aclent, aclsize); | 7939 statacl("foo", STX_NORMAL, aclent, aclsize); |
7937 | 7940 |
7938 ; return 0; } | 7941 ; return 0; } |
7939 EOF | 7942 EOF |
7940 if { (eval echo configure:7941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7943 if { (eval echo configure:7944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7941 rm -rf conftest* | 7944 rm -rf conftest* |
7942 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7945 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7943 #define HAVE_AIX_ACL 1 | 7946 #define HAVE_AIX_ACL 1 |
7944 EOF | 7947 EOF |
7945 | 7948 |
7953 else | 7956 else |
7954 echo "$ac_t""yes" 1>&6 | 7957 echo "$ac_t""yes" 1>&6 |
7955 fi | 7958 fi |
7956 | 7959 |
7957 echo $ac_n "checking --disable-gpm argument""... $ac_c" 1>&6 | 7960 echo $ac_n "checking --disable-gpm argument""... $ac_c" 1>&6 |
7958 echo "configure:7959: checking --disable-gpm argument" >&5 | 7961 echo "configure:7962: checking --disable-gpm argument" >&5 |
7959 # Check whether --enable-gpm or --disable-gpm was given. | 7962 # Check whether --enable-gpm or --disable-gpm was given. |
7960 if test "${enable_gpm+set}" = set; then | 7963 if test "${enable_gpm+set}" = set; then |
7961 enableval="$enable_gpm" | 7964 enableval="$enable_gpm" |
7962 : | 7965 : |
7963 else | 7966 else |
7966 | 7969 |
7967 | 7970 |
7968 if test "$enable_gpm" = "yes"; then | 7971 if test "$enable_gpm" = "yes"; then |
7969 echo "$ac_t""no" 1>&6 | 7972 echo "$ac_t""no" 1>&6 |
7970 echo $ac_n "checking for gpm""... $ac_c" 1>&6 | 7973 echo $ac_n "checking for gpm""... $ac_c" 1>&6 |
7971 echo "configure:7972: checking for gpm" >&5 | 7974 echo "configure:7975: checking for gpm" >&5 |
7972 if eval "test \"`echo '$''{'vi_cv_have_gpm'+set}'`\" = set"; then | 7975 if eval "test \"`echo '$''{'vi_cv_have_gpm'+set}'`\" = set"; then |
7973 echo $ac_n "(cached) $ac_c" 1>&6 | 7976 echo $ac_n "(cached) $ac_c" 1>&6 |
7974 else | 7977 else |
7975 olibs="$LIBS" ; LIBS="-lgpm" | 7978 olibs="$LIBS" ; LIBS="-lgpm" |
7976 cat > conftest.$ac_ext <<EOF | 7979 cat > conftest.$ac_ext <<EOF |
7977 #line 7978 "configure" | 7980 #line 7981 "configure" |
7978 #include "confdefs.h" | 7981 #include "confdefs.h" |
7979 #include <gpm.h> | 7982 #include <gpm.h> |
7980 #include <linux/keyboard.h> | 7983 #include <linux/keyboard.h> |
7981 int main() { | 7984 int main() { |
7982 Gpm_GetLibVersion(NULL); | 7985 Gpm_GetLibVersion(NULL); |
7983 ; return 0; } | 7986 ; return 0; } |
7984 EOF | 7987 EOF |
7985 if { (eval echo configure:7986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7988 if { (eval echo configure:7989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7986 rm -rf conftest* | 7989 rm -rf conftest* |
7987 vi_cv_have_gpm=yes | 7990 vi_cv_have_gpm=yes |
7988 else | 7991 else |
7989 echo "configure: failed program was:" >&5 | 7992 echo "configure: failed program was:" >&5 |
7990 cat conftest.$ac_ext >&5 | 7993 cat conftest.$ac_ext >&5 |
8007 else | 8010 else |
8008 echo "$ac_t""yes" 1>&6 | 8011 echo "$ac_t""yes" 1>&6 |
8009 fi | 8012 fi |
8010 | 8013 |
8011 echo $ac_n "checking for vsnprintf()""... $ac_c" 1>&6 | 8014 echo $ac_n "checking for vsnprintf()""... $ac_c" 1>&6 |
8012 echo "configure:8013: checking for vsnprintf()" >&5 | 8015 echo "configure:8016: checking for vsnprintf()" >&5 |
8013 if test "$cross_compiling" = yes; then | 8016 if test "$cross_compiling" = yes; then |
8014 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 8017 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
8015 else | 8018 else |
8016 cat > conftest.$ac_ext <<EOF | 8019 cat > conftest.$ac_ext <<EOF |
8017 #line 8018 "configure" | 8020 #line 8021 "configure" |
8018 #include "confdefs.h" | 8021 #include "confdefs.h" |
8019 | 8022 |
8020 #include <stdio.h> | 8023 #include <stdio.h> |
8021 #include <stdarg.h> | 8024 #include <stdarg.h> |
8022 /* Check use of vsnprintf() */ | 8025 /* Check use of vsnprintf() */ |
8033 warn("testing %s\n", "a very long string that won't fit"); | 8036 warn("testing %s\n", "a very long string that won't fit"); |
8034 exit(0); | 8037 exit(0); |
8035 } | 8038 } |
8036 | 8039 |
8037 EOF | 8040 EOF |
8038 if { (eval echo configure:8039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8041 if { (eval echo configure:8042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8039 then | 8042 then |
8040 cat >> confdefs.h <<\EOF | 8043 cat >> confdefs.h <<\EOF |
8041 #define HAVE_VSNPRINTF 1 | 8044 #define HAVE_VSNPRINTF 1 |
8042 EOF | 8045 EOF |
8043 echo "$ac_t""yes" 1>&6 | 8046 echo "$ac_t""yes" 1>&6 |
8051 fi | 8054 fi |
8052 | 8055 |
8053 | 8056 |
8054 | 8057 |
8055 echo $ac_n "checking for rename""... $ac_c" 1>&6 | 8058 echo $ac_n "checking for rename""... $ac_c" 1>&6 |
8056 echo "configure:8057: checking for rename" >&5 | 8059 echo "configure:8060: checking for rename" >&5 |
8057 cat > conftest.$ac_ext <<EOF | 8060 cat > conftest.$ac_ext <<EOF |
8058 #line 8059 "configure" | 8061 #line 8062 "configure" |
8059 #include "confdefs.h" | 8062 #include "confdefs.h" |
8060 #include <stdio.h> | 8063 #include <stdio.h> |
8061 int main() { | 8064 int main() { |
8062 rename("this", "that") | 8065 rename("this", "that") |
8063 ; return 0; } | 8066 ; return 0; } |
8064 EOF | 8067 EOF |
8065 if { (eval echo configure:8066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8068 if { (eval echo configure:8069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8066 rm -rf conftest* | 8069 rm -rf conftest* |
8067 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 8070 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
8068 #define HAVE_RENAME 1 | 8071 #define HAVE_RENAME 1 |
8069 EOF | 8072 EOF |
8070 | 8073 |
8075 echo "$ac_t""no" 1>&6 | 8078 echo "$ac_t""no" 1>&6 |
8076 fi | 8079 fi |
8077 rm -f conftest* | 8080 rm -f conftest* |
8078 | 8081 |
8079 echo $ac_n "checking for sysctl""... $ac_c" 1>&6 | 8082 echo $ac_n "checking for sysctl""... $ac_c" 1>&6 |
8080 echo "configure:8081: checking for sysctl" >&5 | 8083 echo "configure:8084: checking for sysctl" >&5 |
8081 cat > conftest.$ac_ext <<EOF | 8084 cat > conftest.$ac_ext <<EOF |
8082 #line 8083 "configure" | 8085 #line 8086 "configure" |
8083 #include "confdefs.h" | 8086 #include "confdefs.h" |
8084 #include <sys/types.h> | 8087 #include <sys/types.h> |
8085 #include <sys/sysctl.h> | 8088 #include <sys/sysctl.h> |
8086 int main() { | 8089 int main() { |
8087 int mib[2], r; | 8090 int mib[2], r; |
8092 len = sizeof(r); | 8095 len = sizeof(r); |
8093 (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0); | 8096 (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0); |
8094 | 8097 |
8095 ; return 0; } | 8098 ; return 0; } |
8096 EOF | 8099 EOF |
8097 if { (eval echo configure:8098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8100 if { (eval echo configure:8101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8098 rm -rf conftest* | 8101 rm -rf conftest* |
8099 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 8102 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
8100 #define HAVE_SYSCTL 1 | 8103 #define HAVE_SYSCTL 1 |
8101 EOF | 8104 EOF |
8102 | 8105 |
8107 echo "$ac_t""not usable" 1>&6 | 8110 echo "$ac_t""not usable" 1>&6 |
8108 fi | 8111 fi |
8109 rm -f conftest* | 8112 rm -f conftest* |
8110 | 8113 |
8111 echo $ac_n "checking for sysinfo""... $ac_c" 1>&6 | 8114 echo $ac_n "checking for sysinfo""... $ac_c" 1>&6 |
8112 echo "configure:8113: checking for sysinfo" >&5 | 8115 echo "configure:8116: checking for sysinfo" >&5 |
8113 cat > conftest.$ac_ext <<EOF | 8116 cat > conftest.$ac_ext <<EOF |
8114 #line 8115 "configure" | 8117 #line 8118 "configure" |
8115 #include "confdefs.h" | 8118 #include "confdefs.h" |
8116 #include <sys/types.h> | 8119 #include <sys/types.h> |
8117 #include <sys/sysinfo.h> | 8120 #include <sys/sysinfo.h> |
8118 int main() { | 8121 int main() { |
8119 struct sysinfo sinfo; | 8122 struct sysinfo sinfo; |
8122 (void)sysinfo(&sinfo); | 8125 (void)sysinfo(&sinfo); |
8123 t = sinfo.totalram; | 8126 t = sinfo.totalram; |
8124 | 8127 |
8125 ; return 0; } | 8128 ; return 0; } |
8126 EOF | 8129 EOF |
8127 if { (eval echo configure:8128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8130 if { (eval echo configure:8131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8128 rm -rf conftest* | 8131 rm -rf conftest* |
8129 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 8132 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
8130 #define HAVE_SYSINFO 1 | 8133 #define HAVE_SYSINFO 1 |
8131 EOF | 8134 EOF |
8132 | 8135 |
8137 echo "$ac_t""not usable" 1>&6 | 8140 echo "$ac_t""not usable" 1>&6 |
8138 fi | 8141 fi |
8139 rm -f conftest* | 8142 rm -f conftest* |
8140 | 8143 |
8141 echo $ac_n "checking for sysconf""... $ac_c" 1>&6 | 8144 echo $ac_n "checking for sysconf""... $ac_c" 1>&6 |
8142 echo "configure:8143: checking for sysconf" >&5 | 8145 echo "configure:8146: checking for sysconf" >&5 |
8143 cat > conftest.$ac_ext <<EOF | 8146 cat > conftest.$ac_ext <<EOF |
8144 #line 8145 "configure" | 8147 #line 8148 "configure" |
8145 #include "confdefs.h" | 8148 #include "confdefs.h" |
8146 #include <unistd.h> | 8149 #include <unistd.h> |
8147 int main() { | 8150 int main() { |
8148 (void)sysconf(_SC_PAGESIZE); | 8151 (void)sysconf(_SC_PAGESIZE); |
8149 (void)sysconf(_SC_PHYS_PAGES); | 8152 (void)sysconf(_SC_PHYS_PAGES); |
8150 | 8153 |
8151 ; return 0; } | 8154 ; return 0; } |
8152 EOF | 8155 EOF |
8153 if { (eval echo configure:8154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8156 if { (eval echo configure:8157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8154 rm -rf conftest* | 8157 rm -rf conftest* |
8155 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 8158 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
8156 #define HAVE_SYSCONF 1 | 8159 #define HAVE_SYSCONF 1 |
8157 EOF | 8160 EOF |
8158 | 8161 |
8164 fi | 8167 fi |
8165 rm -f conftest* | 8168 rm -f conftest* |
8166 | 8169 |
8167 | 8170 |
8168 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 8171 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
8169 echo "configure:8170: checking size of int" >&5 | 8172 echo "configure:8173: checking size of int" >&5 |
8170 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | 8173 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
8171 echo $ac_n "(cached) $ac_c" 1>&6 | 8174 echo $ac_n "(cached) $ac_c" 1>&6 |
8172 else | 8175 else |
8173 if test "$cross_compiling" = yes; then | 8176 if test "$cross_compiling" = yes; then |
8174 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 8177 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
8175 else | 8178 else |
8176 cat > conftest.$ac_ext <<EOF | 8179 cat > conftest.$ac_ext <<EOF |
8177 #line 8178 "configure" | 8180 #line 8181 "configure" |
8178 #include "confdefs.h" | 8181 #include "confdefs.h" |
8179 #include <stdio.h> | 8182 #include <stdio.h> |
8180 main() | 8183 main() |
8181 { | 8184 { |
8182 FILE *f=fopen("conftestval", "w"); | 8185 FILE *f=fopen("conftestval", "w"); |
8183 if (!f) exit(1); | 8186 if (!f) exit(1); |
8184 fprintf(f, "%d\n", (int)sizeof(int)); | 8187 fprintf(f, "%d\n", (int)sizeof(int)); |
8185 exit(0); | 8188 exit(0); |
8186 } | 8189 } |
8187 EOF | 8190 EOF |
8188 if { (eval echo configure:8189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8191 if { (eval echo configure:8192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8189 then | 8192 then |
8190 ac_cv_sizeof_int=`cat conftestval` | 8193 ac_cv_sizeof_int=`cat conftestval` |
8191 else | 8194 else |
8192 echo "configure: failed program was:" >&5 | 8195 echo "configure: failed program was:" >&5 |
8193 cat conftest.$ac_ext >&5 | 8196 cat conftest.$ac_ext >&5 |
8204 #define SIZEOF_INT $ac_cv_sizeof_int | 8207 #define SIZEOF_INT $ac_cv_sizeof_int |
8205 EOF | 8208 EOF |
8206 | 8209 |
8207 | 8210 |
8208 echo $ac_n "checking whether memmove/bcopy/memcpy handle overlaps""... $ac_c" 1>&6 | 8211 echo $ac_n "checking whether memmove/bcopy/memcpy handle overlaps""... $ac_c" 1>&6 |
8209 echo "configure:8210: checking whether memmove/bcopy/memcpy handle overlaps" >&5 | 8212 echo "configure:8213: checking whether memmove/bcopy/memcpy handle overlaps" >&5 |
8210 bcopy_test_prog=' | 8213 bcopy_test_prog=' |
8211 main() { | 8214 main() { |
8212 char buf[10]; | 8215 char buf[10]; |
8213 strcpy(buf, "abcdefghi"); | 8216 strcpy(buf, "abcdefghi"); |
8214 mch_memmove(buf, buf + 2, 3); | 8217 mch_memmove(buf, buf + 2, 3); |
8224 | 8227 |
8225 if test "$cross_compiling" = yes; then | 8228 if test "$cross_compiling" = yes; then |
8226 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 8229 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
8227 else | 8230 else |
8228 cat > conftest.$ac_ext <<EOF | 8231 cat > conftest.$ac_ext <<EOF |
8229 #line 8230 "configure" | 8232 #line 8233 "configure" |
8230 #include "confdefs.h" | 8233 #include "confdefs.h" |
8231 #define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog | 8234 #define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog |
8232 EOF | 8235 EOF |
8233 if { (eval echo configure:8234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8236 if { (eval echo configure:8237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8234 then | 8237 then |
8235 cat >> confdefs.h <<\EOF | 8238 cat >> confdefs.h <<\EOF |
8236 #define USEMEMMOVE 1 | 8239 #define USEMEMMOVE 1 |
8237 EOF | 8240 EOF |
8238 echo "$ac_t""memmove does" 1>&6 | 8241 echo "$ac_t""memmove does" 1>&6 |
8242 rm -fr conftest* | 8245 rm -fr conftest* |
8243 if test "$cross_compiling" = yes; then | 8246 if test "$cross_compiling" = yes; then |
8244 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 8247 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
8245 else | 8248 else |
8246 cat > conftest.$ac_ext <<EOF | 8249 cat > conftest.$ac_ext <<EOF |
8247 #line 8248 "configure" | 8250 #line 8251 "configure" |
8248 #include "confdefs.h" | 8251 #include "confdefs.h" |
8249 #define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog | 8252 #define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog |
8250 EOF | 8253 EOF |
8251 if { (eval echo configure:8252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8254 if { (eval echo configure:8255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8252 then | 8255 then |
8253 cat >> confdefs.h <<\EOF | 8256 cat >> confdefs.h <<\EOF |
8254 #define USEBCOPY 1 | 8257 #define USEBCOPY 1 |
8255 EOF | 8258 EOF |
8256 echo "$ac_t""bcopy does" 1>&6 | 8259 echo "$ac_t""bcopy does" 1>&6 |
8260 rm -fr conftest* | 8263 rm -fr conftest* |
8261 if test "$cross_compiling" = yes; then | 8264 if test "$cross_compiling" = yes; then |
8262 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 8265 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
8263 else | 8266 else |
8264 cat > conftest.$ac_ext <<EOF | 8267 cat > conftest.$ac_ext <<EOF |
8265 #line 8266 "configure" | 8268 #line 8269 "configure" |
8266 #include "confdefs.h" | 8269 #include "confdefs.h" |
8267 #define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog | 8270 #define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog |
8268 EOF | 8271 EOF |
8269 if { (eval echo configure:8270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8272 if { (eval echo configure:8273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8270 then | 8273 then |
8271 cat >> confdefs.h <<\EOF | 8274 cat >> confdefs.h <<\EOF |
8272 #define USEMEMCPY 1 | 8275 #define USEMEMCPY 1 |
8273 EOF | 8276 EOF |
8274 echo "$ac_t""memcpy does" 1>&6 | 8277 echo "$ac_t""memcpy does" 1>&6 |
8296 ldflags_save=$LDFLAGS | 8299 ldflags_save=$LDFLAGS |
8297 if test -n "$x_includes" ; then | 8300 if test -n "$x_includes" ; then |
8298 CFLAGS="$CFLAGS -I$x_includes" | 8301 CFLAGS="$CFLAGS -I$x_includes" |
8299 LDFLAGS="$X_LIBS $LDFLAGS -lX11" | 8302 LDFLAGS="$X_LIBS $LDFLAGS -lX11" |
8300 echo $ac_n "checking whether X_LOCALE needed""... $ac_c" 1>&6 | 8303 echo $ac_n "checking whether X_LOCALE needed""... $ac_c" 1>&6 |
8301 echo "configure:8302: checking whether X_LOCALE needed" >&5 | 8304 echo "configure:8305: checking whether X_LOCALE needed" >&5 |
8302 cat > conftest.$ac_ext <<EOF | 8305 cat > conftest.$ac_ext <<EOF |
8303 #line 8304 "configure" | 8306 #line 8307 "configure" |
8304 #include "confdefs.h" | 8307 #include "confdefs.h" |
8305 #include <X11/Xlocale.h> | 8308 #include <X11/Xlocale.h> |
8306 int main() { | 8309 int main() { |
8307 | 8310 |
8308 ; return 0; } | 8311 ; return 0; } |
8309 EOF | 8312 EOF |
8310 if { (eval echo configure:8311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8313 if { (eval echo configure:8314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8311 rm -rf conftest* | 8314 rm -rf conftest* |
8312 cat > conftest.$ac_ext <<EOF | 8315 cat > conftest.$ac_ext <<EOF |
8313 #line 8314 "configure" | 8316 #line 8317 "configure" |
8314 #include "confdefs.h" | 8317 #include "confdefs.h" |
8315 /* Override any gcc2 internal prototype to avoid an error. */ | 8318 /* Override any gcc2 internal prototype to avoid an error. */ |
8316 /* We use char because int might match the return type of a gcc2 | 8319 /* We use char because int might match the return type of a gcc2 |
8317 builtin and then its argument prototype would still apply. */ | 8320 builtin and then its argument prototype would still apply. */ |
8318 char _Xsetlocale(); | 8321 char _Xsetlocale(); |
8319 | 8322 |
8320 int main() { | 8323 int main() { |
8321 _Xsetlocale() | 8324 _Xsetlocale() |
8322 ; return 0; } | 8325 ; return 0; } |
8323 EOF | 8326 EOF |
8324 if { (eval echo configure:8325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8327 if { (eval echo configure:8328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8325 rm -rf conftest* | 8328 rm -rf conftest* |
8326 echo "$ac_t""yes" 1>&6 | 8329 echo "$ac_t""yes" 1>&6 |
8327 cat >> confdefs.h <<\EOF | 8330 cat >> confdefs.h <<\EOF |
8328 #define X_LOCALE 1 | 8331 #define X_LOCALE 1 |
8329 EOF | 8332 EOF |
8346 CFLAGS=$cflags_save | 8349 CFLAGS=$cflags_save |
8347 LDFLAGS=$ldflags_save | 8350 LDFLAGS=$ldflags_save |
8348 fi | 8351 fi |
8349 | 8352 |
8350 echo $ac_n "checking for _xpg4_setrunelocale in -lxpg4""... $ac_c" 1>&6 | 8353 echo $ac_n "checking for _xpg4_setrunelocale in -lxpg4""... $ac_c" 1>&6 |
8351 echo "configure:8352: checking for _xpg4_setrunelocale in -lxpg4" >&5 | 8354 echo "configure:8355: checking for _xpg4_setrunelocale in -lxpg4" >&5 |
8352 ac_lib_var=`echo xpg4'_'_xpg4_setrunelocale | sed 'y%./+-%__p_%'` | 8355 ac_lib_var=`echo xpg4'_'_xpg4_setrunelocale | sed 'y%./+-%__p_%'` |
8353 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 8356 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
8354 echo $ac_n "(cached) $ac_c" 1>&6 | 8357 echo $ac_n "(cached) $ac_c" 1>&6 |
8355 else | 8358 else |
8356 ac_save_LIBS="$LIBS" | 8359 ac_save_LIBS="$LIBS" |
8357 LIBS="-lxpg4 $LIBS" | 8360 LIBS="-lxpg4 $LIBS" |
8358 cat > conftest.$ac_ext <<EOF | 8361 cat > conftest.$ac_ext <<EOF |
8359 #line 8360 "configure" | 8362 #line 8363 "configure" |
8360 #include "confdefs.h" | 8363 #include "confdefs.h" |
8361 /* Override any gcc2 internal prototype to avoid an error. */ | 8364 /* Override any gcc2 internal prototype to avoid an error. */ |
8362 /* We use char because int might match the return type of a gcc2 | 8365 /* We use char because int might match the return type of a gcc2 |
8363 builtin and then its argument prototype would still apply. */ | 8366 builtin and then its argument prototype would still apply. */ |
8364 char _xpg4_setrunelocale(); | 8367 char _xpg4_setrunelocale(); |
8365 | 8368 |
8366 int main() { | 8369 int main() { |
8367 _xpg4_setrunelocale() | 8370 _xpg4_setrunelocale() |
8368 ; return 0; } | 8371 ; return 0; } |
8369 EOF | 8372 EOF |
8370 if { (eval echo configure:8371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8373 if { (eval echo configure:8374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8371 rm -rf conftest* | 8374 rm -rf conftest* |
8372 eval "ac_cv_lib_$ac_lib_var=yes" | 8375 eval "ac_cv_lib_$ac_lib_var=yes" |
8373 else | 8376 else |
8374 echo "configure: failed program was:" >&5 | 8377 echo "configure: failed program was:" >&5 |
8375 cat conftest.$ac_ext >&5 | 8378 cat conftest.$ac_ext >&5 |
8387 echo "$ac_t""no" 1>&6 | 8390 echo "$ac_t""no" 1>&6 |
8388 fi | 8391 fi |
8389 | 8392 |
8390 | 8393 |
8391 echo $ac_n "checking how to create tags""... $ac_c" 1>&6 | 8394 echo $ac_n "checking how to create tags""... $ac_c" 1>&6 |
8392 echo "configure:8393: checking how to create tags" >&5 | 8395 echo "configure:8396: checking how to create tags" >&5 |
8393 test -f tags && mv tags tags.save | 8396 test -f tags && mv tags tags.save |
8394 if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then | 8397 if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then |
8395 TAGPRG="ctags" | 8398 TAGPRG="ctags" |
8396 else | 8399 else |
8397 (eval etags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags" | 8400 (eval etags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags" |
8404 fi | 8407 fi |
8405 test -f tags.save && mv tags.save tags | 8408 test -f tags.save && mv tags.save tags |
8406 echo "$ac_t""$TAGPRG" 1>&6 | 8409 echo "$ac_t""$TAGPRG" 1>&6 |
8407 | 8410 |
8408 echo $ac_n "checking how to run man with a section nr""... $ac_c" 1>&6 | 8411 echo $ac_n "checking how to run man with a section nr""... $ac_c" 1>&6 |
8409 echo "configure:8410: checking how to run man with a section nr" >&5 | 8412 echo "configure:8413: checking how to run man with a section nr" >&5 |
8410 MANDEF="man" | 8413 MANDEF="man" |
8411 (eval man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s" | 8414 (eval man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s" |
8412 echo "$ac_t""$MANDEF" 1>&6 | 8415 echo "$ac_t""$MANDEF" 1>&6 |
8413 if test "$MANDEF" = "man -s"; then | 8416 if test "$MANDEF" = "man -s"; then |
8414 cat >> confdefs.h <<\EOF | 8417 cat >> confdefs.h <<\EOF |
8416 EOF | 8419 EOF |
8417 | 8420 |
8418 fi | 8421 fi |
8419 | 8422 |
8420 echo $ac_n "checking --disable-nls argument""... $ac_c" 1>&6 | 8423 echo $ac_n "checking --disable-nls argument""... $ac_c" 1>&6 |
8421 echo "configure:8422: checking --disable-nls argument" >&5 | 8424 echo "configure:8425: checking --disable-nls argument" >&5 |
8422 # Check whether --enable-nls or --disable-nls was given. | 8425 # Check whether --enable-nls or --disable-nls was given. |
8423 if test "${enable_nls+set}" = set; then | 8426 if test "${enable_nls+set}" = set; then |
8424 enableval="$enable_nls" | 8427 enableval="$enable_nls" |
8425 : | 8428 : |
8426 else | 8429 else |
8431 if test "$enable_nls" = "yes"; then | 8434 if test "$enable_nls" = "yes"; then |
8432 echo "$ac_t""no" 1>&6 | 8435 echo "$ac_t""no" 1>&6 |
8433 # Extract the first word of "msgfmt", so it can be a program name with args. | 8436 # Extract the first word of "msgfmt", so it can be a program name with args. |
8434 set dummy msgfmt; ac_word=$2 | 8437 set dummy msgfmt; ac_word=$2 |
8435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 8438 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
8436 echo "configure:8437: checking for $ac_word" >&5 | 8439 echo "configure:8440: checking for $ac_word" >&5 |
8437 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then | 8440 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then |
8438 echo $ac_n "(cached) $ac_c" 1>&6 | 8441 echo $ac_n "(cached) $ac_c" 1>&6 |
8439 else | 8442 else |
8440 if test -n "$MSGFMT"; then | 8443 if test -n "$MSGFMT"; then |
8441 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test. | 8444 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test. |
8458 else | 8461 else |
8459 echo "$ac_t""no" 1>&6 | 8462 echo "$ac_t""no" 1>&6 |
8460 fi | 8463 fi |
8461 | 8464 |
8462 echo $ac_n "checking for NLS""... $ac_c" 1>&6 | 8465 echo $ac_n "checking for NLS""... $ac_c" 1>&6 |
8463 echo "configure:8464: checking for NLS" >&5 | 8466 echo "configure:8467: checking for NLS" >&5 |
8464 if test -f po/Makefile; then | 8467 if test -f po/Makefile; then |
8465 have_gettext="no" | 8468 have_gettext="no" |
8466 if test -n "$MSGFMT"; then | 8469 if test -n "$MSGFMT"; then |
8467 cat > conftest.$ac_ext <<EOF | 8470 cat > conftest.$ac_ext <<EOF |
8468 #line 8469 "configure" | 8471 #line 8472 "configure" |
8469 #include "confdefs.h" | 8472 #include "confdefs.h" |
8470 #include <libintl.h> | 8473 #include <libintl.h> |
8471 int main() { | 8474 int main() { |
8472 gettext("Test"); | 8475 gettext("Test"); |
8473 ; return 0; } | 8476 ; return 0; } |
8474 EOF | 8477 EOF |
8475 if { (eval echo configure:8476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8478 if { (eval echo configure:8479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8476 rm -rf conftest* | 8479 rm -rf conftest* |
8477 echo "$ac_t""gettext() works" 1>&6; have_gettext="yes" | 8480 echo "$ac_t""gettext() works" 1>&6; have_gettext="yes" |
8478 else | 8481 else |
8479 echo "configure: failed program was:" >&5 | 8482 echo "configure: failed program was:" >&5 |
8480 cat conftest.$ac_ext >&5 | 8483 cat conftest.$ac_ext >&5 |
8481 rm -rf conftest* | 8484 rm -rf conftest* |
8482 olibs=$LIBS | 8485 olibs=$LIBS |
8483 LIBS="$LIBS -lintl" | 8486 LIBS="$LIBS -lintl" |
8484 cat > conftest.$ac_ext <<EOF | 8487 cat > conftest.$ac_ext <<EOF |
8485 #line 8486 "configure" | 8488 #line 8489 "configure" |
8486 #include "confdefs.h" | 8489 #include "confdefs.h" |
8487 #include <libintl.h> | 8490 #include <libintl.h> |
8488 int main() { | 8491 int main() { |
8489 gettext("Test"); | 8492 gettext("Test"); |
8490 ; return 0; } | 8493 ; return 0; } |
8491 EOF | 8494 EOF |
8492 if { (eval echo configure:8493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8495 if { (eval echo configure:8496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8493 rm -rf conftest* | 8496 rm -rf conftest* |
8494 echo "$ac_t""gettext() works with -lintl" 1>&6; have_gettext="yes" | 8497 echo "$ac_t""gettext() works with -lintl" 1>&6; have_gettext="yes" |
8495 else | 8498 else |
8496 echo "configure: failed program was:" >&5 | 8499 echo "configure: failed program was:" >&5 |
8497 cat conftest.$ac_ext >&5 | 8500 cat conftest.$ac_ext >&5 |
8513 MAKEMO=yes | 8516 MAKEMO=yes |
8514 | 8517 |
8515 for ac_func in bind_textdomain_codeset | 8518 for ac_func in bind_textdomain_codeset |
8516 do | 8519 do |
8517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8518 echo "configure:8519: checking for $ac_func" >&5 | 8521 echo "configure:8522: checking for $ac_func" >&5 |
8519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 8522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
8520 echo $ac_n "(cached) $ac_c" 1>&6 | 8523 echo $ac_n "(cached) $ac_c" 1>&6 |
8521 else | 8524 else |
8522 cat > conftest.$ac_ext <<EOF | 8525 cat > conftest.$ac_ext <<EOF |
8523 #line 8524 "configure" | 8526 #line 8527 "configure" |
8524 #include "confdefs.h" | 8527 #include "confdefs.h" |
8525 /* System header to define __stub macros and hopefully few prototypes, | 8528 /* System header to define __stub macros and hopefully few prototypes, |
8526 which can conflict with char $ac_func(); below. */ | 8529 which can conflict with char $ac_func(); below. */ |
8527 #include <assert.h> | 8530 #include <assert.h> |
8528 /* Override any gcc2 internal prototype to avoid an error. */ | 8531 /* Override any gcc2 internal prototype to avoid an error. */ |
8541 $ac_func(); | 8544 $ac_func(); |
8542 #endif | 8545 #endif |
8543 | 8546 |
8544 ; return 0; } | 8547 ; return 0; } |
8545 EOF | 8548 EOF |
8546 if { (eval echo configure:8547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8549 if { (eval echo configure:8550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8547 rm -rf conftest* | 8550 rm -rf conftest* |
8548 eval "ac_cv_func_$ac_func=yes" | 8551 eval "ac_cv_func_$ac_func=yes" |
8549 else | 8552 else |
8550 echo "configure: failed program was:" >&5 | 8553 echo "configure: failed program was:" >&5 |
8551 cat conftest.$ac_ext >&5 | 8554 cat conftest.$ac_ext >&5 |
8566 echo "$ac_t""no" 1>&6 | 8569 echo "$ac_t""no" 1>&6 |
8567 fi | 8570 fi |
8568 done | 8571 done |
8569 | 8572 |
8570 echo $ac_n "checking for _nl_msg_cat_cntr""... $ac_c" 1>&6 | 8573 echo $ac_n "checking for _nl_msg_cat_cntr""... $ac_c" 1>&6 |
8571 echo "configure:8572: checking for _nl_msg_cat_cntr" >&5 | 8574 echo "configure:8575: checking for _nl_msg_cat_cntr" >&5 |
8572 cat > conftest.$ac_ext <<EOF | 8575 cat > conftest.$ac_ext <<EOF |
8573 #line 8574 "configure" | 8576 #line 8577 "configure" |
8574 #include "confdefs.h" | 8577 #include "confdefs.h" |
8575 #include <libintl.h> | 8578 #include <libintl.h> |
8576 extern int _nl_msg_cat_cntr; | 8579 extern int _nl_msg_cat_cntr; |
8577 int main() { | 8580 int main() { |
8578 ++_nl_msg_cat_cntr; | 8581 ++_nl_msg_cat_cntr; |
8579 ; return 0; } | 8582 ; return 0; } |
8580 EOF | 8583 EOF |
8581 if { (eval echo configure:8582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8584 if { (eval echo configure:8585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8582 rm -rf conftest* | 8585 rm -rf conftest* |
8583 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 8586 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
8584 #define HAVE_NL_MSG_CAT_CNTR 1 | 8587 #define HAVE_NL_MSG_CAT_CNTR 1 |
8585 EOF | 8588 EOF |
8586 | 8589 |
8599 echo "$ac_t""yes" 1>&6 | 8602 echo "$ac_t""yes" 1>&6 |
8600 fi | 8603 fi |
8601 | 8604 |
8602 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 8605 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
8603 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 8606 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
8604 echo "configure:8605: checking for dlfcn.h" >&5 | 8607 echo "configure:8608: checking for dlfcn.h" >&5 |
8605 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8608 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8606 echo $ac_n "(cached) $ac_c" 1>&6 | 8609 echo $ac_n "(cached) $ac_c" 1>&6 |
8607 else | 8610 else |
8608 cat > conftest.$ac_ext <<EOF | 8611 cat > conftest.$ac_ext <<EOF |
8609 #line 8610 "configure" | 8612 #line 8613 "configure" |
8610 #include "confdefs.h" | 8613 #include "confdefs.h" |
8611 #include <dlfcn.h> | 8614 #include <dlfcn.h> |
8612 EOF | 8615 EOF |
8613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8616 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8614 { (eval echo configure:8615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8617 { (eval echo configure:8618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8618 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8616 if test -z "$ac_err"; then | 8619 if test -z "$ac_err"; then |
8617 rm -rf conftest* | 8620 rm -rf conftest* |
8618 eval "ac_cv_header_$ac_safe=yes" | 8621 eval "ac_cv_header_$ac_safe=yes" |
8619 else | 8622 else |
8630 DLL=dlfcn.h | 8633 DLL=dlfcn.h |
8631 else | 8634 else |
8632 echo "$ac_t""no" 1>&6 | 8635 echo "$ac_t""no" 1>&6 |
8633 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` | 8636 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` |
8634 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 | 8637 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 |
8635 echo "configure:8636: checking for dl.h" >&5 | 8638 echo "configure:8639: checking for dl.h" >&5 |
8636 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8639 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8637 echo $ac_n "(cached) $ac_c" 1>&6 | 8640 echo $ac_n "(cached) $ac_c" 1>&6 |
8638 else | 8641 else |
8639 cat > conftest.$ac_ext <<EOF | 8642 cat > conftest.$ac_ext <<EOF |
8640 #line 8641 "configure" | 8643 #line 8644 "configure" |
8641 #include "confdefs.h" | 8644 #include "confdefs.h" |
8642 #include <dl.h> | 8645 #include <dl.h> |
8643 EOF | 8646 EOF |
8644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8647 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8645 { (eval echo configure:8646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8648 { (eval echo configure:8649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8649 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8647 if test -z "$ac_err"; then | 8650 if test -z "$ac_err"; then |
8648 rm -rf conftest* | 8651 rm -rf conftest* |
8649 eval "ac_cv_header_$ac_safe=yes" | 8652 eval "ac_cv_header_$ac_safe=yes" |
8650 else | 8653 else |
8669 cat >> confdefs.h <<\EOF | 8672 cat >> confdefs.h <<\EOF |
8670 #define HAVE_DLFCN_H 1 | 8673 #define HAVE_DLFCN_H 1 |
8671 EOF | 8674 EOF |
8672 | 8675 |
8673 echo $ac_n "checking for dlopen()""... $ac_c" 1>&6 | 8676 echo $ac_n "checking for dlopen()""... $ac_c" 1>&6 |
8674 echo "configure:8675: checking for dlopen()" >&5 | 8677 echo "configure:8678: checking for dlopen()" >&5 |
8675 cat > conftest.$ac_ext <<EOF | 8678 cat > conftest.$ac_ext <<EOF |
8676 #line 8677 "configure" | 8679 #line 8680 "configure" |
8677 #include "confdefs.h" | 8680 #include "confdefs.h" |
8678 | 8681 |
8679 int main() { | 8682 int main() { |
8680 | 8683 |
8681 extern void* dlopen(); | 8684 extern void* dlopen(); |
8682 dlopen(); | 8685 dlopen(); |
8683 | 8686 |
8684 ; return 0; } | 8687 ; return 0; } |
8685 EOF | 8688 EOF |
8686 if { (eval echo configure:8687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8689 if { (eval echo configure:8690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8687 rm -rf conftest* | 8690 rm -rf conftest* |
8688 echo "$ac_t""yes" 1>&6; | 8691 echo "$ac_t""yes" 1>&6; |
8689 cat >> confdefs.h <<\EOF | 8692 cat >> confdefs.h <<\EOF |
8690 #define HAVE_DLOPEN 1 | 8693 #define HAVE_DLOPEN 1 |
8691 EOF | 8694 EOF |
8694 echo "configure: failed program was:" >&5 | 8697 echo "configure: failed program was:" >&5 |
8695 cat conftest.$ac_ext >&5 | 8698 cat conftest.$ac_ext >&5 |
8696 rm -rf conftest* | 8699 rm -rf conftest* |
8697 echo "$ac_t""no" 1>&6; | 8700 echo "$ac_t""no" 1>&6; |
8698 echo $ac_n "checking for dlopen() in -ldl""... $ac_c" 1>&6 | 8701 echo $ac_n "checking for dlopen() in -ldl""... $ac_c" 1>&6 |
8699 echo "configure:8700: checking for dlopen() in -ldl" >&5 | 8702 echo "configure:8703: checking for dlopen() in -ldl" >&5 |
8700 olibs=$LIBS | 8703 olibs=$LIBS |
8701 LIBS="$LIBS -ldl" | 8704 LIBS="$LIBS -ldl" |
8702 cat > conftest.$ac_ext <<EOF | 8705 cat > conftest.$ac_ext <<EOF |
8703 #line 8704 "configure" | 8706 #line 8707 "configure" |
8704 #include "confdefs.h" | 8707 #include "confdefs.h" |
8705 | 8708 |
8706 int main() { | 8709 int main() { |
8707 | 8710 |
8708 extern void* dlopen(); | 8711 extern void* dlopen(); |
8709 dlopen(); | 8712 dlopen(); |
8710 | 8713 |
8711 ; return 0; } | 8714 ; return 0; } |
8712 EOF | 8715 EOF |
8713 if { (eval echo configure:8714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8716 if { (eval echo configure:8717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8714 rm -rf conftest* | 8717 rm -rf conftest* |
8715 echo "$ac_t""yes" 1>&6; | 8718 echo "$ac_t""yes" 1>&6; |
8716 cat >> confdefs.h <<\EOF | 8719 cat >> confdefs.h <<\EOF |
8717 #define HAVE_DLOPEN 1 | 8720 #define HAVE_DLOPEN 1 |
8718 EOF | 8721 EOF |
8726 fi | 8729 fi |
8727 rm -f conftest* | 8730 rm -f conftest* |
8728 fi | 8731 fi |
8729 rm -f conftest* | 8732 rm -f conftest* |
8730 echo $ac_n "checking for dlsym()""... $ac_c" 1>&6 | 8733 echo $ac_n "checking for dlsym()""... $ac_c" 1>&6 |
8731 echo "configure:8732: checking for dlsym()" >&5 | 8734 echo "configure:8735: checking for dlsym()" >&5 |
8732 cat > conftest.$ac_ext <<EOF | 8735 cat > conftest.$ac_ext <<EOF |
8733 #line 8734 "configure" | 8736 #line 8737 "configure" |
8734 #include "confdefs.h" | 8737 #include "confdefs.h" |
8735 | 8738 |
8736 int main() { | 8739 int main() { |
8737 | 8740 |
8738 extern void* dlsym(); | 8741 extern void* dlsym(); |
8739 dlsym(); | 8742 dlsym(); |
8740 | 8743 |
8741 ; return 0; } | 8744 ; return 0; } |
8742 EOF | 8745 EOF |
8743 if { (eval echo configure:8744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8746 if { (eval echo configure:8747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8744 rm -rf conftest* | 8747 rm -rf conftest* |
8745 echo "$ac_t""yes" 1>&6; | 8748 echo "$ac_t""yes" 1>&6; |
8746 cat >> confdefs.h <<\EOF | 8749 cat >> confdefs.h <<\EOF |
8747 #define HAVE_DLSYM 1 | 8750 #define HAVE_DLSYM 1 |
8748 EOF | 8751 EOF |
8751 echo "configure: failed program was:" >&5 | 8754 echo "configure: failed program was:" >&5 |
8752 cat conftest.$ac_ext >&5 | 8755 cat conftest.$ac_ext >&5 |
8753 rm -rf conftest* | 8756 rm -rf conftest* |
8754 echo "$ac_t""no" 1>&6; | 8757 echo "$ac_t""no" 1>&6; |
8755 echo $ac_n "checking for dlsym() in -ldl""... $ac_c" 1>&6 | 8758 echo $ac_n "checking for dlsym() in -ldl""... $ac_c" 1>&6 |
8756 echo "configure:8757: checking for dlsym() in -ldl" >&5 | 8759 echo "configure:8760: checking for dlsym() in -ldl" >&5 |
8757 olibs=$LIBS | 8760 olibs=$LIBS |
8758 LIBS="$LIBS -ldl" | 8761 LIBS="$LIBS -ldl" |
8759 cat > conftest.$ac_ext <<EOF | 8762 cat > conftest.$ac_ext <<EOF |
8760 #line 8761 "configure" | 8763 #line 8764 "configure" |
8761 #include "confdefs.h" | 8764 #include "confdefs.h" |
8762 | 8765 |
8763 int main() { | 8766 int main() { |
8764 | 8767 |
8765 extern void* dlsym(); | 8768 extern void* dlsym(); |
8766 dlsym(); | 8769 dlsym(); |
8767 | 8770 |
8768 ; return 0; } | 8771 ; return 0; } |
8769 EOF | 8772 EOF |
8770 if { (eval echo configure:8771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8773 if { (eval echo configure:8774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8771 rm -rf conftest* | 8774 rm -rf conftest* |
8772 echo "$ac_t""yes" 1>&6; | 8775 echo "$ac_t""yes" 1>&6; |
8773 cat >> confdefs.h <<\EOF | 8776 cat >> confdefs.h <<\EOF |
8774 #define HAVE_DLSYM 1 | 8777 #define HAVE_DLSYM 1 |
8775 EOF | 8778 EOF |
8788 cat >> confdefs.h <<\EOF | 8791 cat >> confdefs.h <<\EOF |
8789 #define HAVE_DL_H 1 | 8792 #define HAVE_DL_H 1 |
8790 EOF | 8793 EOF |
8791 | 8794 |
8792 echo $ac_n "checking for shl_load()""... $ac_c" 1>&6 | 8795 echo $ac_n "checking for shl_load()""... $ac_c" 1>&6 |
8793 echo "configure:8794: checking for shl_load()" >&5 | 8796 echo "configure:8797: checking for shl_load()" >&5 |
8794 cat > conftest.$ac_ext <<EOF | 8797 cat > conftest.$ac_ext <<EOF |
8795 #line 8796 "configure" | 8798 #line 8799 "configure" |
8796 #include "confdefs.h" | 8799 #include "confdefs.h" |
8797 | 8800 |
8798 int main() { | 8801 int main() { |
8799 | 8802 |
8800 extern void* shl_load(); | 8803 extern void* shl_load(); |
8801 shl_load(); | 8804 shl_load(); |
8802 | 8805 |
8803 ; return 0; } | 8806 ; return 0; } |
8804 EOF | 8807 EOF |
8805 if { (eval echo configure:8806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8808 if { (eval echo configure:8809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8806 rm -rf conftest* | 8809 rm -rf conftest* |
8807 echo "$ac_t""yes" 1>&6; | 8810 echo "$ac_t""yes" 1>&6; |
8808 cat >> confdefs.h <<\EOF | 8811 cat >> confdefs.h <<\EOF |
8809 #define HAVE_SHL_LOAD 1 | 8812 #define HAVE_SHL_LOAD 1 |
8810 EOF | 8813 EOF |
8813 echo "configure: failed program was:" >&5 | 8816 echo "configure: failed program was:" >&5 |
8814 cat conftest.$ac_ext >&5 | 8817 cat conftest.$ac_ext >&5 |
8815 rm -rf conftest* | 8818 rm -rf conftest* |
8816 echo "$ac_t""no" 1>&6; | 8819 echo "$ac_t""no" 1>&6; |
8817 echo $ac_n "checking for shl_load() in -ldld""... $ac_c" 1>&6 | 8820 echo $ac_n "checking for shl_load() in -ldld""... $ac_c" 1>&6 |
8818 echo "configure:8819: checking for shl_load() in -ldld" >&5 | 8821 echo "configure:8822: checking for shl_load() in -ldld" >&5 |
8819 olibs=$LIBS | 8822 olibs=$LIBS |
8820 LIBS="$LIBS -ldld" | 8823 LIBS="$LIBS -ldld" |
8821 cat > conftest.$ac_ext <<EOF | 8824 cat > conftest.$ac_ext <<EOF |
8822 #line 8823 "configure" | 8825 #line 8826 "configure" |
8823 #include "confdefs.h" | 8826 #include "confdefs.h" |
8824 | 8827 |
8825 int main() { | 8828 int main() { |
8826 | 8829 |
8827 extern void* shl_load(); | 8830 extern void* shl_load(); |
8828 shl_load(); | 8831 shl_load(); |
8829 | 8832 |
8830 ; return 0; } | 8833 ; return 0; } |
8831 EOF | 8834 EOF |
8832 if { (eval echo configure:8833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8835 if { (eval echo configure:8836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8833 rm -rf conftest* | 8836 rm -rf conftest* |
8834 echo "$ac_t""yes" 1>&6; | 8837 echo "$ac_t""yes" 1>&6; |
8835 cat >> confdefs.h <<\EOF | 8838 cat >> confdefs.h <<\EOF |
8836 #define HAVE_SHL_LOAD 1 | 8839 #define HAVE_SHL_LOAD 1 |
8837 EOF | 8840 EOF |
8849 fi | 8852 fi |
8850 for ac_hdr in setjmp.h | 8853 for ac_hdr in setjmp.h |
8851 do | 8854 do |
8852 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 8855 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
8853 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 8856 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
8854 echo "configure:8855: checking for $ac_hdr" >&5 | 8857 echo "configure:8858: checking for $ac_hdr" >&5 |
8855 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8858 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8856 echo $ac_n "(cached) $ac_c" 1>&6 | 8859 echo $ac_n "(cached) $ac_c" 1>&6 |
8857 else | 8860 else |
8858 cat > conftest.$ac_ext <<EOF | 8861 cat > conftest.$ac_ext <<EOF |
8859 #line 8860 "configure" | 8862 #line 8863 "configure" |
8860 #include "confdefs.h" | 8863 #include "confdefs.h" |
8861 #include <$ac_hdr> | 8864 #include <$ac_hdr> |
8862 EOF | 8865 EOF |
8863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8866 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8864 { (eval echo configure:8865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8867 { (eval echo configure:8868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8868 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8866 if test -z "$ac_err"; then | 8869 if test -z "$ac_err"; then |
8867 rm -rf conftest* | 8870 rm -rf conftest* |
8868 eval "ac_cv_header_$ac_safe=yes" | 8871 eval "ac_cv_header_$ac_safe=yes" |
8869 else | 8872 else |
8896 fi | 8899 fi |
8897 | 8900 |
8898 if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \ | 8901 if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \ |
8899 && test "x$GUITYPE" != "xCARBONGUI"; then | 8902 && test "x$GUITYPE" != "xCARBONGUI"; then |
8900 echo $ac_n "checking whether we need -framework Carbon""... $ac_c" 1>&6 | 8903 echo $ac_n "checking whether we need -framework Carbon""... $ac_c" 1>&6 |
8901 echo "configure:8902: checking whether we need -framework Carbon" >&5 | 8904 echo "configure:8905: checking whether we need -framework Carbon" >&5 |
8902 if test "x$enable_multibyte" = "xyes" || test "x$features" == "xbig" \ | 8905 if test "x$enable_multibyte" = "xyes" || test "x$features" == "xbig" \ |
8903 || test "x$features" = "xhuge"; then | 8906 || test "x$features" = "xhuge"; then |
8904 LIBS="$LIBS -framework Carbon" | 8907 LIBS="$LIBS -framework Carbon" |
8905 echo "$ac_t""yes" 1>&6 | 8908 echo "$ac_t""yes" 1>&6 |
8906 else | 8909 else |