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