diff options
| author | Dave Love | 1999-11-08 16:26:25 +0000 |
|---|---|---|
| committer | Dave Love | 1999-11-08 16:26:25 +0000 |
| commit | 3d9fec712f1dff98c961c47820d7151bb36b884d (patch) | |
| tree | 78b051d2c73eb6c712cfecace058f8083abf6f08 | |
| parent | fa9aabf6340269ce49f0e26b59a9c2676c5938e2 (diff) | |
| download | emacs-3d9fec712f1dff98c961c47820d7151bb36b884d.tar.gz emacs-3d9fec712f1dff98c961c47820d7151bb36b884d.zip | |
Fix change for --with-pop default.
| -rwxr-xr-x | configure | 462 | ||||
| -rw-r--r-- | configure.in | 3 |
2 files changed, 245 insertions, 220 deletions
| @@ -569,6 +569,11 @@ EOF | |||
| 569 | 569 | ||
| 570 | else : | 570 | else : |
| 571 | fi | 571 | fi |
| 572 | else | ||
| 573 | cat >> confdefs.h <<\EOF | ||
| 574 | #define MAIL_USE_POP 1 | ||
| 575 | EOF | ||
| 576 | |||
| 572 | fi | 577 | fi |
| 573 | 578 | ||
| 574 | # Check whether --with-hesiod or --without-hesiod was given. | 579 | # Check whether --with-hesiod or --without-hesiod was given. |
| @@ -708,7 +713,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | |||
| 708 | fi | 713 | fi |
| 709 | 714 | ||
| 710 | echo $ac_n "checking host system type""... $ac_c" 1>&6 | 715 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
| 711 | echo "configure:712: checking host system type" >&5 | 716 | echo "configure:717: checking host system type" >&5 |
| 712 | 717 | ||
| 713 | host_alias=$host | 718 | host_alias=$host |
| 714 | case "$host_alias" in | 719 | case "$host_alias" in |
| @@ -1649,7 +1654,7 @@ case ${with_gcc} in | |||
| 1649 | * ) # Extract the first word of "gcc", so it can be a program name with args. | 1654 | * ) # Extract the first word of "gcc", so it can be a program name with args. |
| 1650 | set dummy gcc; ac_word=$2 | 1655 | set dummy gcc; ac_word=$2 |
| 1651 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1656 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1652 | echo "configure:1653: checking for $ac_word" >&5 | 1657 | echo "configure:1658: checking for $ac_word" >&5 |
| 1653 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1658 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 1654 | echo $ac_n "(cached) $ac_c" 1>&6 | 1659 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 1655 | else | 1660 | else |
| @@ -1679,7 +1684,7 @@ if test -z "$CC"; then | |||
| 1679 | # Extract the first word of "cc", so it can be a program name with args. | 1684 | # Extract the first word of "cc", so it can be a program name with args. |
| 1680 | set dummy cc; ac_word=$2 | 1685 | set dummy cc; ac_word=$2 |
| 1681 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1686 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1682 | echo "configure:1683: checking for $ac_word" >&5 | 1687 | echo "configure:1688: checking for $ac_word" >&5 |
| 1683 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1688 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 1684 | echo $ac_n "(cached) $ac_c" 1>&6 | 1689 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 1685 | else | 1690 | else |
| @@ -1730,7 +1735,7 @@ fi | |||
| 1730 | # Extract the first word of "cl", so it can be a program name with args. | 1735 | # Extract the first word of "cl", so it can be a program name with args. |
| 1731 | set dummy cl; ac_word=$2 | 1736 | set dummy cl; ac_word=$2 |
| 1732 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1737 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1733 | echo "configure:1734: checking for $ac_word" >&5 | 1738 | echo "configure:1739: checking for $ac_word" >&5 |
| 1734 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1739 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 1735 | echo $ac_n "(cached) $ac_c" 1>&6 | 1740 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 1736 | else | 1741 | else |
| @@ -1762,7 +1767,7 @@ fi | |||
| 1762 | fi | 1767 | fi |
| 1763 | 1768 | ||
| 1764 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1769 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1765 | echo "configure:1766: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1770 | echo "configure:1771: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1766 | 1771 | ||
| 1767 | ac_ext=c | 1772 | ac_ext=c |
| 1768 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1773 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| @@ -1773,12 +1778,12 @@ cross_compiling=$ac_cv_prog_cc_cross | |||
| 1773 | 1778 | ||
| 1774 | cat > conftest.$ac_ext << EOF | 1779 | cat > conftest.$ac_ext << EOF |
| 1775 | 1780 | ||
| 1776 | #line 1777 "configure" | 1781 | #line 1782 "configure" |
| 1777 | #include "confdefs.h" | 1782 | #include "confdefs.h" |
| 1778 | 1783 | ||
| 1779 | main(){return(0);} | 1784 | main(){return(0);} |
| 1780 | EOF | 1785 | EOF |
| 1781 | if { (eval echo configure:1782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1786 | if { (eval echo configure:1787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1782 | ac_cv_prog_cc_works=yes | 1787 | ac_cv_prog_cc_works=yes |
| 1783 | # If we can't run a trivial program, we are probably using a cross compiler. | 1788 | # If we can't run a trivial program, we are probably using a cross compiler. |
| 1784 | if (./conftest; exit) 2>/dev/null; then | 1789 | if (./conftest; exit) 2>/dev/null; then |
| @@ -1804,12 +1809,12 @@ if test $ac_cv_prog_cc_works = no; then | |||
| 1804 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1809 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1805 | fi | 1810 | fi |
| 1806 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1811 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1807 | echo "configure:1808: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1812 | echo "configure:1813: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1808 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1813 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1809 | cross_compiling=$ac_cv_prog_cc_cross | 1814 | cross_compiling=$ac_cv_prog_cc_cross |
| 1810 | 1815 | ||
| 1811 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1816 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1812 | echo "configure:1813: checking whether we are using GNU C" >&5 | 1817 | echo "configure:1818: checking whether we are using GNU C" >&5 |
| 1813 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 1818 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
| 1814 | echo $ac_n "(cached) $ac_c" 1>&6 | 1819 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 1815 | else | 1820 | else |
| @@ -1818,7 +1823,7 @@ else | |||
| 1818 | yes; | 1823 | yes; |
| 1819 | #endif | 1824 | #endif |
| 1820 | EOF | 1825 | EOF |
| 1821 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1826 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1822 | ac_cv_prog_gcc=yes | 1827 | ac_cv_prog_gcc=yes |
| 1823 | else | 1828 | else |
| 1824 | ac_cv_prog_gcc=no | 1829 | ac_cv_prog_gcc=no |
| @@ -1837,7 +1842,7 @@ ac_test_CFLAGS="${CFLAGS+set}" | |||
| 1837 | ac_save_CFLAGS="$CFLAGS" | 1842 | ac_save_CFLAGS="$CFLAGS" |
| 1838 | CFLAGS= | 1843 | CFLAGS= |
| 1839 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1844 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1840 | echo "configure:1841: checking whether ${CC-cc} accepts -g" >&5 | 1845 | echo "configure:1846: checking whether ${CC-cc} accepts -g" >&5 |
| 1841 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1846 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
| 1842 | echo $ac_n "(cached) $ac_c" 1>&6 | 1847 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 1843 | else | 1848 | else |
| @@ -1917,7 +1922,7 @@ fi | |||
| 1917 | #### #undef clause to src/config.h.in for autoconf to modify. | 1922 | #### #undef clause to src/config.h.in for autoconf to modify. |
| 1918 | 1923 | ||
| 1919 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 1924 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 1920 | echo "configure:1921: checking whether ln -s works" >&5 | 1925 | echo "configure:1926: checking whether ln -s works" >&5 |
| 1921 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 1926 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
| 1922 | echo $ac_n "(cached) $ac_c" 1>&6 | 1927 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 1923 | else | 1928 | else |
| @@ -1938,7 +1943,7 @@ else | |||
| 1938 | fi | 1943 | fi |
| 1939 | 1944 | ||
| 1940 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1945 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1941 | echo "configure:1942: checking how to run the C preprocessor" >&5 | 1946 | echo "configure:1947: checking how to run the C preprocessor" >&5 |
| 1942 | # On Suns, sometimes $CPP names a directory. | 1947 | # On Suns, sometimes $CPP names a directory. |
| 1943 | if test -n "$CPP" && test -d "$CPP"; then | 1948 | if test -n "$CPP" && test -d "$CPP"; then |
| 1944 | CPP= | 1949 | CPP= |
| @@ -1953,13 +1958,13 @@ else | |||
| 1953 | # On the NeXT, cc -E runs the code through the compiler's parser, | 1958 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1954 | # not just through cpp. | 1959 | # not just through cpp. |
| 1955 | cat > conftest.$ac_ext <<EOF | 1960 | cat > conftest.$ac_ext <<EOF |
| 1956 | #line 1957 "configure" | 1961 | #line 1962 "configure" |
| 1957 | #include "confdefs.h" | 1962 | #include "confdefs.h" |
| 1958 | #include <assert.h> | 1963 | #include <assert.h> |
| 1959 | Syntax Error | 1964 | Syntax Error |
| 1960 | EOF | 1965 | EOF |
| 1961 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1966 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1962 | { (eval echo configure:1963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1967 | { (eval echo configure:1968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1963 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1968 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1964 | if test -z "$ac_err"; then | 1969 | if test -z "$ac_err"; then |
| 1965 | : | 1970 | : |
| @@ -1970,13 +1975,13 @@ else | |||
| 1970 | rm -rf conftest* | 1975 | rm -rf conftest* |
| 1971 | CPP="${CC-cc} -E -traditional-cpp" | 1976 | CPP="${CC-cc} -E -traditional-cpp" |
| 1972 | cat > conftest.$ac_ext <<EOF | 1977 | cat > conftest.$ac_ext <<EOF |
| 1973 | #line 1974 "configure" | 1978 | #line 1979 "configure" |
| 1974 | #include "confdefs.h" | 1979 | #include "confdefs.h" |
| 1975 | #include <assert.h> | 1980 | #include <assert.h> |
| 1976 | Syntax Error | 1981 | Syntax Error |
| 1977 | EOF | 1982 | EOF |
| 1978 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1983 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1979 | { (eval echo configure:1980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1984 | { (eval echo configure:1985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1980 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1985 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1981 | if test -z "$ac_err"; then | 1986 | if test -z "$ac_err"; then |
| 1982 | : | 1987 | : |
| @@ -1987,13 +1992,13 @@ else | |||
| 1987 | rm -rf conftest* | 1992 | rm -rf conftest* |
| 1988 | CPP="${CC-cc} -nologo -E" | 1993 | CPP="${CC-cc} -nologo -E" |
| 1989 | cat > conftest.$ac_ext <<EOF | 1994 | cat > conftest.$ac_ext <<EOF |
| 1990 | #line 1991 "configure" | 1995 | #line 1996 "configure" |
| 1991 | #include "confdefs.h" | 1996 | #include "confdefs.h" |
| 1992 | #include <assert.h> | 1997 | #include <assert.h> |
| 1993 | Syntax Error | 1998 | Syntax Error |
| 1994 | EOF | 1999 | EOF |
| 1995 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2000 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1996 | { (eval echo configure:1997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2001 | { (eval echo configure:2002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1997 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2002 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1998 | if test -z "$ac_err"; then | 2003 | if test -z "$ac_err"; then |
| 1999 | : | 2004 | : |
| @@ -2029,7 +2034,7 @@ echo "$ac_t""$CPP" 1>&6 | |||
| 2029 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2034 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2030 | # ./install, which can be erroneously created by make from ./install.sh. | 2035 | # ./install, which can be erroneously created by make from ./install.sh. |
| 2031 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2036 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2032 | echo "configure:2033: checking for a BSD compatible install" >&5 | 2037 | echo "configure:2038: checking for a BSD compatible install" >&5 |
| 2033 | if test -z "$INSTALL"; then | 2038 | if test -z "$INSTALL"; then |
| 2034 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 2039 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| 2035 | echo $ac_n "(cached) $ac_c" 1>&6 | 2040 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -2086,7 +2091,7 @@ do | |||
| 2086 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 2091 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2087 | set dummy $ac_prog; ac_word=$2 | 2092 | set dummy $ac_prog; ac_word=$2 |
| 2088 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2093 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2089 | echo "configure:2090: checking for $ac_word" >&5 | 2094 | echo "configure:2095: checking for $ac_word" >&5 |
| 2090 | if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then | 2095 | if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
| 2091 | echo $ac_n "(cached) $ac_c" 1>&6 | 2096 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2092 | else | 2097 | else |
| @@ -2118,9 +2123,9 @@ test -n "$YACC" || YACC="yacc" | |||
| 2118 | 2123 | ||
| 2119 | 2124 | ||
| 2120 | echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2125 | echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2121 | echo "configure:2122: checking for AIX" >&5 | 2126 | echo "configure:2127: checking for AIX" >&5 |
| 2122 | cat > conftest.$ac_ext <<EOF | 2127 | cat > conftest.$ac_ext <<EOF |
| 2123 | #line 2124 "configure" | 2128 | #line 2129 "configure" |
| 2124 | #include "confdefs.h" | 2129 | #include "confdefs.h" |
| 2125 | #ifdef _AIX | 2130 | #ifdef _AIX |
| 2126 | yes | 2131 | yes |
| @@ -2147,17 +2152,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h | |||
| 2147 | do | 2152 | do |
| 2148 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2153 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2149 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2154 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2150 | echo "configure:2151: checking for $ac_hdr" >&5 | 2155 | echo "configure:2156: checking for $ac_hdr" >&5 |
| 2151 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2156 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 2152 | echo $ac_n "(cached) $ac_c" 1>&6 | 2157 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2153 | else | 2158 | else |
| 2154 | cat > conftest.$ac_ext <<EOF | 2159 | cat > conftest.$ac_ext <<EOF |
| 2155 | #line 2156 "configure" | 2160 | #line 2161 "configure" |
| 2156 | #include "confdefs.h" | 2161 | #include "confdefs.h" |
| 2157 | #include <$ac_hdr> | 2162 | #include <$ac_hdr> |
| 2158 | EOF | 2163 | EOF |
| 2159 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2164 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2160 | { (eval echo configure:2161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2165 | { (eval echo configure:2166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2161 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2166 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2162 | if test -z "$ac_err"; then | 2167 | if test -z "$ac_err"; then |
| 2163 | rm -rf conftest* | 2168 | rm -rf conftest* |
| @@ -2190,17 +2195,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | |||
| 2190 | do | 2195 | do |
| 2191 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2196 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2192 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2197 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2193 | echo "configure:2194: checking for $ac_hdr" >&5 | 2198 | echo "configure:2199: checking for $ac_hdr" >&5 |
| 2194 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2199 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 2195 | echo $ac_n "(cached) $ac_c" 1>&6 | 2200 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2196 | else | 2201 | else |
| 2197 | cat > conftest.$ac_ext <<EOF | 2202 | cat > conftest.$ac_ext <<EOF |
| 2198 | #line 2199 "configure" | 2203 | #line 2204 "configure" |
| 2199 | #include "confdefs.h" | 2204 | #include "confdefs.h" |
| 2200 | #include <$ac_hdr> | 2205 | #include <$ac_hdr> |
| 2201 | EOF | 2206 | EOF |
| 2202 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2207 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2203 | { (eval echo configure:2204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2208 | { (eval echo configure:2209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2204 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2209 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2205 | if test -z "$ac_err"; then | 2210 | if test -z "$ac_err"; then |
| 2206 | rm -rf conftest* | 2211 | rm -rf conftest* |
| @@ -2227,12 +2232,12 @@ fi | |||
| 2227 | done | 2232 | done |
| 2228 | 2233 | ||
| 2229 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2234 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2230 | echo "configure:2231: checking for ANSI C header files" >&5 | 2235 | echo "configure:2236: checking for ANSI C header files" >&5 |
| 2231 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 2236 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
| 2232 | echo $ac_n "(cached) $ac_c" 1>&6 | 2237 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2233 | else | 2238 | else |
| 2234 | cat > conftest.$ac_ext <<EOF | 2239 | cat > conftest.$ac_ext <<EOF |
| 2235 | #line 2236 "configure" | 2240 | #line 2241 "configure" |
| 2236 | #include "confdefs.h" | 2241 | #include "confdefs.h" |
| 2237 | #include <stdlib.h> | 2242 | #include <stdlib.h> |
| 2238 | #include <stdarg.h> | 2243 | #include <stdarg.h> |
| @@ -2240,7 +2245,7 @@ else | |||
| 2240 | #include <float.h> | 2245 | #include <float.h> |
| 2241 | EOF | 2246 | EOF |
| 2242 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2247 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2243 | { (eval echo configure:2244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2248 | { (eval echo configure:2249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2244 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2249 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2245 | if test -z "$ac_err"; then | 2250 | if test -z "$ac_err"; then |
| 2246 | rm -rf conftest* | 2251 | rm -rf conftest* |
| @@ -2257,7 +2262,7 @@ rm -f conftest* | |||
| 2257 | if test $ac_cv_header_stdc = yes; then | 2262 | if test $ac_cv_header_stdc = yes; then |
| 2258 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2263 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2259 | cat > conftest.$ac_ext <<EOF | 2264 | cat > conftest.$ac_ext <<EOF |
| 2260 | #line 2261 "configure" | 2265 | #line 2266 "configure" |
| 2261 | #include "confdefs.h" | 2266 | #include "confdefs.h" |
| 2262 | #include <string.h> | 2267 | #include <string.h> |
| 2263 | EOF | 2268 | EOF |
| @@ -2275,7 +2280,7 @@ fi | |||
| 2275 | if test $ac_cv_header_stdc = yes; then | 2280 | if test $ac_cv_header_stdc = yes; then |
| 2276 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2281 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2277 | cat > conftest.$ac_ext <<EOF | 2282 | cat > conftest.$ac_ext <<EOF |
| 2278 | #line 2279 "configure" | 2283 | #line 2284 "configure" |
| 2279 | #include "confdefs.h" | 2284 | #include "confdefs.h" |
| 2280 | #include <stdlib.h> | 2285 | #include <stdlib.h> |
| 2281 | EOF | 2286 | EOF |
| @@ -2296,7 +2301,7 @@ if test "$cross_compiling" = yes; then | |||
| 2296 | : | 2301 | : |
| 2297 | else | 2302 | else |
| 2298 | cat > conftest.$ac_ext <<EOF | 2303 | cat > conftest.$ac_ext <<EOF |
| 2299 | #line 2300 "configure" | 2304 | #line 2305 "configure" |
| 2300 | #include "confdefs.h" | 2305 | #include "confdefs.h" |
| 2301 | #include <ctype.h> | 2306 | #include <ctype.h> |
| 2302 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2307 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| @@ -2307,7 +2312,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | |||
| 2307 | exit (0); } | 2312 | exit (0); } |
| 2308 | 2313 | ||
| 2309 | EOF | 2314 | EOF |
| 2310 | if { (eval echo configure:2311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2315 | if { (eval echo configure:2316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 2311 | then | 2316 | then |
| 2312 | : | 2317 | : |
| 2313 | else | 2318 | else |
| @@ -2331,12 +2336,12 @@ EOF | |||
| 2331 | fi | 2336 | fi |
| 2332 | 2337 | ||
| 2333 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2338 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2334 | echo "configure:2335: checking whether time.h and sys/time.h may both be included" >&5 | 2339 | echo "configure:2340: checking whether time.h and sys/time.h may both be included" >&5 |
| 2335 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 2340 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
| 2336 | echo $ac_n "(cached) $ac_c" 1>&6 | 2341 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2337 | else | 2342 | else |
| 2338 | cat > conftest.$ac_ext <<EOF | 2343 | cat > conftest.$ac_ext <<EOF |
| 2339 | #line 2340 "configure" | 2344 | #line 2345 "configure" |
| 2340 | #include "confdefs.h" | 2345 | #include "confdefs.h" |
| 2341 | #include <sys/types.h> | 2346 | #include <sys/types.h> |
| 2342 | #include <sys/time.h> | 2347 | #include <sys/time.h> |
| @@ -2345,7 +2350,7 @@ int main() { | |||
| 2345 | struct tm *tp; | 2350 | struct tm *tp; |
| 2346 | ; return 0; } | 2351 | ; return 0; } |
| 2347 | EOF | 2352 | EOF |
| 2348 | if { (eval echo configure:2349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2353 | if { (eval echo configure:2354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2349 | rm -rf conftest* | 2354 | rm -rf conftest* |
| 2350 | ac_cv_header_time=yes | 2355 | ac_cv_header_time=yes |
| 2351 | else | 2356 | else |
| @@ -2366,12 +2371,12 @@ EOF | |||
| 2366 | fi | 2371 | fi |
| 2367 | 2372 | ||
| 2368 | echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2373 | echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 2369 | echo "configure:2370: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2374 | echo "configure:2375: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 2370 | if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then | 2375 | if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then |
| 2371 | echo $ac_n "(cached) $ac_c" 1>&6 | 2376 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2372 | else | 2377 | else |
| 2373 | cat > conftest.$ac_ext <<EOF | 2378 | cat > conftest.$ac_ext <<EOF |
| 2374 | #line 2375 "configure" | 2379 | #line 2380 "configure" |
| 2375 | #include "confdefs.h" | 2380 | #include "confdefs.h" |
| 2376 | #include <sys/types.h> | 2381 | #include <sys/types.h> |
| 2377 | #include <signal.h> | 2382 | #include <signal.h> |
| @@ -2383,7 +2388,7 @@ int main() { | |||
| 2383 | char *msg = *(sys_siglist + 1); | 2388 | char *msg = *(sys_siglist + 1); |
| 2384 | ; return 0; } | 2389 | ; return 0; } |
| 2385 | EOF | 2390 | EOF |
| 2386 | if { (eval echo configure:2387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2391 | if { (eval echo configure:2392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2387 | rm -rf conftest* | 2392 | rm -rf conftest* |
| 2388 | ac_cv_decl_sys_siglist=yes | 2393 | ac_cv_decl_sys_siglist=yes |
| 2389 | else | 2394 | else |
| @@ -2405,12 +2410,12 @@ fi | |||
| 2405 | 2410 | ||
| 2406 | 2411 | ||
| 2407 | echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2412 | echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 2408 | echo "configure:2409: checking for struct utimbuf" >&5 | 2413 | echo "configure:2414: checking for struct utimbuf" >&5 |
| 2409 | if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then | 2414 | if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then |
| 2410 | echo $ac_n "(cached) $ac_c" 1>&6 | 2415 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2411 | else | 2416 | else |
| 2412 | cat > conftest.$ac_ext <<EOF | 2417 | cat > conftest.$ac_ext <<EOF |
| 2413 | #line 2414 "configure" | 2418 | #line 2419 "configure" |
| 2414 | #include "confdefs.h" | 2419 | #include "confdefs.h" |
| 2415 | #ifdef TIME_WITH_SYS_TIME | 2420 | #ifdef TIME_WITH_SYS_TIME |
| 2416 | #include <sys/time.h> | 2421 | #include <sys/time.h> |
| @@ -2429,7 +2434,7 @@ int main() { | |||
| 2429 | static struct utimbuf x; x.actime = x.modtime; | 2434 | static struct utimbuf x; x.actime = x.modtime; |
| 2430 | ; return 0; } | 2435 | ; return 0; } |
| 2431 | EOF | 2436 | EOF |
| 2432 | if { (eval echo configure:2433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2437 | if { (eval echo configure:2438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2433 | rm -rf conftest* | 2438 | rm -rf conftest* |
| 2434 | emacs_cv_struct_utimbuf=yes | 2439 | emacs_cv_struct_utimbuf=yes |
| 2435 | else | 2440 | else |
| @@ -2450,12 +2455,12 @@ EOF | |||
| 2450 | fi | 2455 | fi |
| 2451 | 2456 | ||
| 2452 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2457 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 2453 | echo "configure:2454: checking return type of signal handlers" >&5 | 2458 | echo "configure:2459: checking return type of signal handlers" >&5 |
| 2454 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 2459 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
| 2455 | echo $ac_n "(cached) $ac_c" 1>&6 | 2460 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2456 | else | 2461 | else |
| 2457 | cat > conftest.$ac_ext <<EOF | 2462 | cat > conftest.$ac_ext <<EOF |
| 2458 | #line 2459 "configure" | 2463 | #line 2464 "configure" |
| 2459 | #include "confdefs.h" | 2464 | #include "confdefs.h" |
| 2460 | #include <sys/types.h> | 2465 | #include <sys/types.h> |
| 2461 | #include <signal.h> | 2466 | #include <signal.h> |
| @@ -2472,7 +2477,7 @@ int main() { | |||
| 2472 | int i; | 2477 | int i; |
| 2473 | ; return 0; } | 2478 | ; return 0; } |
| 2474 | EOF | 2479 | EOF |
| 2475 | if { (eval echo configure:2476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2480 | if { (eval echo configure:2481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2476 | rm -rf conftest* | 2481 | rm -rf conftest* |
| 2477 | ac_cv_type_signal=void | 2482 | ac_cv_type_signal=void |
| 2478 | else | 2483 | else |
| @@ -2492,12 +2497,12 @@ EOF | |||
| 2492 | 2497 | ||
| 2493 | 2498 | ||
| 2494 | echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 2499 | echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 2495 | echo "configure:2496: checking for struct timeval" >&5 | 2500 | echo "configure:2501: checking for struct timeval" >&5 |
| 2496 | if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then | 2501 | if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then |
| 2497 | echo $ac_n "(cached) $ac_c" 1>&6 | 2502 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2498 | else | 2503 | else |
| 2499 | cat > conftest.$ac_ext <<EOF | 2504 | cat > conftest.$ac_ext <<EOF |
| 2500 | #line 2501 "configure" | 2505 | #line 2506 "configure" |
| 2501 | #include "confdefs.h" | 2506 | #include "confdefs.h" |
| 2502 | #ifdef TIME_WITH_SYS_TIME | 2507 | #ifdef TIME_WITH_SYS_TIME |
| 2503 | #include <sys/time.h> | 2508 | #include <sys/time.h> |
| @@ -2513,7 +2518,7 @@ int main() { | |||
| 2513 | static struct timeval x; x.tv_sec = x.tv_usec; | 2518 | static struct timeval x; x.tv_sec = x.tv_usec; |
| 2514 | ; return 0; } | 2519 | ; return 0; } |
| 2515 | EOF | 2520 | EOF |
| 2516 | if { (eval echo configure:2517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2521 | if { (eval echo configure:2522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2517 | rm -rf conftest* | 2522 | rm -rf conftest* |
| 2518 | emacs_cv_struct_timeval=yes | 2523 | emacs_cv_struct_timeval=yes |
| 2519 | else | 2524 | else |
| @@ -2535,12 +2540,12 @@ EOF | |||
| 2535 | fi | 2540 | fi |
| 2536 | 2541 | ||
| 2537 | echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 2542 | echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 2538 | echo "configure:2539: checking whether struct tm is in sys/time.h or time.h" >&5 | 2543 | echo "configure:2544: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 2539 | if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 2544 | if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
| 2540 | echo $ac_n "(cached) $ac_c" 1>&6 | 2545 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2541 | else | 2546 | else |
| 2542 | cat > conftest.$ac_ext <<EOF | 2547 | cat > conftest.$ac_ext <<EOF |
| 2543 | #line 2544 "configure" | 2548 | #line 2549 "configure" |
| 2544 | #include "confdefs.h" | 2549 | #include "confdefs.h" |
| 2545 | #include <sys/types.h> | 2550 | #include <sys/types.h> |
| 2546 | #include <time.h> | 2551 | #include <time.h> |
| @@ -2548,7 +2553,7 @@ int main() { | |||
| 2548 | struct tm *tp; tp->tm_sec; | 2553 | struct tm *tp; tp->tm_sec; |
| 2549 | ; return 0; } | 2554 | ; return 0; } |
| 2550 | EOF | 2555 | EOF |
| 2551 | if { (eval echo configure:2552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2556 | if { (eval echo configure:2557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2552 | rm -rf conftest* | 2557 | rm -rf conftest* |
| 2553 | ac_cv_struct_tm=time.h | 2558 | ac_cv_struct_tm=time.h |
| 2554 | else | 2559 | else |
| @@ -2569,12 +2574,12 @@ EOF | |||
| 2569 | fi | 2574 | fi |
| 2570 | 2575 | ||
| 2571 | echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 2576 | echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 2572 | echo "configure:2573: checking for tm_zone in struct tm" >&5 | 2577 | echo "configure:2578: checking for tm_zone in struct tm" >&5 |
| 2573 | if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then | 2578 | if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then |
| 2574 | echo $ac_n "(cached) $ac_c" 1>&6 | 2579 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2575 | else | 2580 | else |
| 2576 | cat > conftest.$ac_ext <<EOF | 2581 | cat > conftest.$ac_ext <<EOF |
| 2577 | #line 2578 "configure" | 2582 | #line 2583 "configure" |
| 2578 | #include "confdefs.h" | 2583 | #include "confdefs.h" |
| 2579 | #include <sys/types.h> | 2584 | #include <sys/types.h> |
| 2580 | #include <$ac_cv_struct_tm> | 2585 | #include <$ac_cv_struct_tm> |
| @@ -2582,7 +2587,7 @@ int main() { | |||
| 2582 | struct tm tm; tm.tm_zone; | 2587 | struct tm tm; tm.tm_zone; |
| 2583 | ; return 0; } | 2588 | ; return 0; } |
| 2584 | EOF | 2589 | EOF |
| 2585 | if { (eval echo configure:2586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2590 | if { (eval echo configure:2591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2586 | rm -rf conftest* | 2591 | rm -rf conftest* |
| 2587 | ac_cv_struct_tm_zone=yes | 2592 | ac_cv_struct_tm_zone=yes |
| 2588 | else | 2593 | else |
| @@ -2602,12 +2607,12 @@ EOF | |||
| 2602 | 2607 | ||
| 2603 | else | 2608 | else |
| 2604 | echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 2609 | echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 2605 | echo "configure:2606: checking for tzname" >&5 | 2610 | echo "configure:2611: checking for tzname" >&5 |
| 2606 | if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then | 2611 | if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then |
| 2607 | echo $ac_n "(cached) $ac_c" 1>&6 | 2612 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2608 | else | 2613 | else |
| 2609 | cat > conftest.$ac_ext <<EOF | 2614 | cat > conftest.$ac_ext <<EOF |
| 2610 | #line 2611 "configure" | 2615 | #line 2616 "configure" |
| 2611 | #include "confdefs.h" | 2616 | #include "confdefs.h" |
| 2612 | #include <time.h> | 2617 | #include <time.h> |
| 2613 | #ifndef tzname /* For SGI. */ | 2618 | #ifndef tzname /* For SGI. */ |
| @@ -2617,7 +2622,7 @@ int main() { | |||
| 2617 | atoi(*tzname); | 2622 | atoi(*tzname); |
| 2618 | ; return 0; } | 2623 | ; return 0; } |
| 2619 | EOF | 2624 | EOF |
| 2620 | if { (eval echo configure:2621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2625 | if { (eval echo configure:2626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2621 | rm -rf conftest* | 2626 | rm -rf conftest* |
| 2622 | ac_cv_var_tzname=yes | 2627 | ac_cv_var_tzname=yes |
| 2623 | else | 2628 | else |
| @@ -2639,19 +2644,19 @@ EOF | |||
| 2639 | fi | 2644 | fi |
| 2640 | 2645 | ||
| 2641 | echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | 2646 | echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 |
| 2642 | echo "configure:2643: checking for tm_gmtoff in struct tm" >&5 | 2647 | echo "configure:2648: checking for tm_gmtoff in struct tm" >&5 |
| 2643 | if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then | 2648 | if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then |
| 2644 | echo $ac_n "(cached) $ac_c" 1>&6 | 2649 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2645 | else | 2650 | else |
| 2646 | cat > conftest.$ac_ext <<EOF | 2651 | cat > conftest.$ac_ext <<EOF |
| 2647 | #line 2648 "configure" | 2652 | #line 2653 "configure" |
| 2648 | #include "confdefs.h" | 2653 | #include "confdefs.h" |
| 2649 | #include <time.h> | 2654 | #include <time.h> |
| 2650 | int main() { | 2655 | int main() { |
| 2651 | struct tm t; t.tm_gmtoff = 0 | 2656 | struct tm t; t.tm_gmtoff = 0 |
| 2652 | ; return 0; } | 2657 | ; return 0; } |
| 2653 | EOF | 2658 | EOF |
| 2654 | if { (eval echo configure:2655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2659 | if { (eval echo configure:2660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2655 | rm -rf conftest* | 2660 | rm -rf conftest* |
| 2656 | emacs_cv_tm_gmtoff=yes | 2661 | emacs_cv_tm_gmtoff=yes |
| 2657 | else | 2662 | else |
| @@ -2672,12 +2677,12 @@ EOF | |||
| 2672 | fi | 2677 | fi |
| 2673 | 2678 | ||
| 2674 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 2679 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 2675 | echo "configure:2676: checking for working const" >&5 | 2680 | echo "configure:2681: checking for working const" >&5 |
| 2676 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 2681 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
| 2677 | echo $ac_n "(cached) $ac_c" 1>&6 | 2682 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2678 | else | 2683 | else |
| 2679 | cat > conftest.$ac_ext <<EOF | 2684 | cat > conftest.$ac_ext <<EOF |
| 2680 | #line 2681 "configure" | 2685 | #line 2686 "configure" |
| 2681 | #include "confdefs.h" | 2686 | #include "confdefs.h" |
| 2682 | 2687 | ||
| 2683 | int main() { | 2688 | int main() { |
| @@ -2726,7 +2731,7 @@ ccp = (char const *const *) p; | |||
| 2726 | 2731 | ||
| 2727 | ; return 0; } | 2732 | ; return 0; } |
| 2728 | EOF | 2733 | EOF |
| 2729 | if { (eval echo configure:2730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2734 | if { (eval echo configure:2735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2730 | rm -rf conftest* | 2735 | rm -rf conftest* |
| 2731 | ac_cv_c_const=yes | 2736 | ac_cv_c_const=yes |
| 2732 | else | 2737 | else |
| @@ -2748,7 +2753,7 @@ fi | |||
| 2748 | 2753 | ||
| 2749 | 2754 | ||
| 2750 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 2755 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 2751 | echo "configure:2752: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 2756 | echo "configure:2757: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 2752 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 2757 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 2753 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 2758 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| 2754 | echo $ac_n "(cached) $ac_c" 1>&6 | 2759 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -2776,7 +2781,7 @@ fi | |||
| 2776 | 2781 | ||
| 2777 | 2782 | ||
| 2778 | echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 2783 | echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 2779 | echo "configure:2780: checking for long file names" >&5 | 2784 | echo "configure:2785: checking for long file names" >&5 |
| 2780 | if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then | 2785 | if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then |
| 2781 | echo $ac_n "(cached) $ac_c" 1>&6 | 2786 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2782 | else | 2787 | else |
| @@ -2827,7 +2832,7 @@ fi | |||
| 2827 | # Uses ac_ vars as temps to allow command line to override cache and checks. | 2832 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 2828 | # --without-x overrides everything else, but does not touch the cache. | 2833 | # --without-x overrides everything else, but does not touch the cache. |
| 2829 | echo $ac_n "checking for X""... $ac_c" 1>&6 | 2834 | echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 2830 | echo "configure:2831: checking for X" >&5 | 2835 | echo "configure:2836: checking for X" >&5 |
| 2831 | 2836 | ||
| 2832 | # Check whether --with-x or --without-x was given. | 2837 | # Check whether --with-x or --without-x was given. |
| 2833 | if test "${with_x+set}" = set; then | 2838 | if test "${with_x+set}" = set; then |
| @@ -2889,12 +2894,12 @@ if test "$ac_x_includes" = NO; then | |||
| 2889 | 2894 | ||
| 2890 | # First, try using that file with no special directory specified. | 2895 | # First, try using that file with no special directory specified. |
| 2891 | cat > conftest.$ac_ext <<EOF | 2896 | cat > conftest.$ac_ext <<EOF |
| 2892 | #line 2893 "configure" | 2897 | #line 2898 "configure" |
| 2893 | #include "confdefs.h" | 2898 | #include "confdefs.h" |
| 2894 | #include <$x_direct_test_include> | 2899 | #include <$x_direct_test_include> |
| 2895 | EOF | 2900 | EOF |
| 2896 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2901 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2897 | { (eval echo configure:2898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2902 | { (eval echo configure:2903: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2898 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2903 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2899 | if test -z "$ac_err"; then | 2904 | if test -z "$ac_err"; then |
| 2900 | rm -rf conftest* | 2905 | rm -rf conftest* |
| @@ -2963,14 +2968,14 @@ if test "$ac_x_libraries" = NO; then | |||
| 2963 | ac_save_LIBS="$LIBS" | 2968 | ac_save_LIBS="$LIBS" |
| 2964 | LIBS="-l$x_direct_test_library $LIBS" | 2969 | LIBS="-l$x_direct_test_library $LIBS" |
| 2965 | cat > conftest.$ac_ext <<EOF | 2970 | cat > conftest.$ac_ext <<EOF |
| 2966 | #line 2967 "configure" | 2971 | #line 2972 "configure" |
| 2967 | #include "confdefs.h" | 2972 | #include "confdefs.h" |
| 2968 | 2973 | ||
| 2969 | int main() { | 2974 | int main() { |
| 2970 | ${x_direct_test_function}() | 2975 | ${x_direct_test_function}() |
| 2971 | ; return 0; } | 2976 | ; return 0; } |
| 2972 | EOF | 2977 | EOF |
| 2973 | if { (eval echo configure:2974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2978 | if { (eval echo configure:2979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2974 | rm -rf conftest* | 2979 | rm -rf conftest* |
| 2975 | LIBS="$ac_save_LIBS" | 2980 | LIBS="$ac_save_LIBS" |
| 2976 | # We can link X programs with no special library path. | 2981 | # We can link X programs with no special library path. |
| @@ -3144,7 +3149,7 @@ fi | |||
| 3144 | echo "checking the machine- and system-dependent files to find out | 3149 | echo "checking the machine- and system-dependent files to find out |
| 3145 | - which libraries the lib-src programs will want, and | 3150 | - which libraries the lib-src programs will want, and |
| 3146 | - whether the GNU malloc routines are usable" 1>&6 | 3151 | - whether the GNU malloc routines are usable" 1>&6 |
| 3147 | echo "configure:3148: checking the machine- and system-dependent files to find out | 3152 | echo "configure:3153: checking the machine- and system-dependent files to find out |
| 3148 | - which libraries the lib-src programs will want, and | 3153 | - which libraries the lib-src programs will want, and |
| 3149 | - whether the GNU malloc routines are usable" >&5 | 3154 | - whether the GNU malloc routines are usable" >&5 |
| 3150 | 3155 | ||
| @@ -3274,12 +3279,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" | |||
| 3274 | GNU_MALLOC=yes | 3279 | GNU_MALLOC=yes |
| 3275 | doug_lea_malloc=yes | 3280 | doug_lea_malloc=yes |
| 3276 | echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 3281 | echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
| 3277 | echo "configure:3278: checking for malloc_get_state" >&5 | 3282 | echo "configure:3283: checking for malloc_get_state" >&5 |
| 3278 | if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then | 3283 | if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then |
| 3279 | echo $ac_n "(cached) $ac_c" 1>&6 | 3284 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3280 | else | 3285 | else |
| 3281 | cat > conftest.$ac_ext <<EOF | 3286 | cat > conftest.$ac_ext <<EOF |
| 3282 | #line 3283 "configure" | 3287 | #line 3288 "configure" |
| 3283 | #include "confdefs.h" | 3288 | #include "confdefs.h" |
| 3284 | /* System header to define __stub macros and hopefully few prototypes, | 3289 | /* System header to define __stub macros and hopefully few prototypes, |
| 3285 | which can conflict with char malloc_get_state(); below. */ | 3290 | which can conflict with char malloc_get_state(); below. */ |
| @@ -3288,6 +3293,7 @@ else | |||
| 3288 | /* We use char because int might match the return type of a gcc2 | 3293 | /* We use char because int might match the return type of a gcc2 |
| 3289 | builtin and then its argument prototype would still apply. */ | 3294 | builtin and then its argument prototype would still apply. */ |
| 3290 | char malloc_get_state(); | 3295 | char malloc_get_state(); |
| 3296 | char (*f)(); | ||
| 3291 | 3297 | ||
| 3292 | int main() { | 3298 | int main() { |
| 3293 | 3299 | ||
| @@ -3297,12 +3303,12 @@ int main() { | |||
| 3297 | #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state) | 3303 | #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state) |
| 3298 | choke me | 3304 | choke me |
| 3299 | #else | 3305 | #else |
| 3300 | malloc_get_state(); | 3306 | f = malloc_get_state; |
| 3301 | #endif | 3307 | #endif |
| 3302 | 3308 | ||
| 3303 | ; return 0; } | 3309 | ; return 0; } |
| 3304 | EOF | 3310 | EOF |
| 3305 | if { (eval echo configure:3306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3311 | if { (eval echo configure:3312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3306 | rm -rf conftest* | 3312 | rm -rf conftest* |
| 3307 | eval "ac_cv_func_malloc_get_state=yes" | 3313 | eval "ac_cv_func_malloc_get_state=yes" |
| 3308 | else | 3314 | else |
| @@ -3323,12 +3329,12 @@ doug_lea_malloc=no | |||
| 3323 | fi | 3329 | fi |
| 3324 | 3330 | ||
| 3325 | echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3331 | echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 3326 | echo "configure:3327: checking for malloc_set_state" >&5 | 3332 | echo "configure:3333: checking for malloc_set_state" >&5 |
| 3327 | if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then | 3333 | if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then |
| 3328 | echo $ac_n "(cached) $ac_c" 1>&6 | 3334 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3329 | else | 3335 | else |
| 3330 | cat > conftest.$ac_ext <<EOF | 3336 | cat > conftest.$ac_ext <<EOF |
| 3331 | #line 3332 "configure" | 3337 | #line 3338 "configure" |
| 3332 | #include "confdefs.h" | 3338 | #include "confdefs.h" |
| 3333 | /* System header to define __stub macros and hopefully few prototypes, | 3339 | /* System header to define __stub macros and hopefully few prototypes, |
| 3334 | which can conflict with char malloc_set_state(); below. */ | 3340 | which can conflict with char malloc_set_state(); below. */ |
| @@ -3337,6 +3343,7 @@ else | |||
| 3337 | /* We use char because int might match the return type of a gcc2 | 3343 | /* We use char because int might match the return type of a gcc2 |
| 3338 | builtin and then its argument prototype would still apply. */ | 3344 | builtin and then its argument prototype would still apply. */ |
| 3339 | char malloc_set_state(); | 3345 | char malloc_set_state(); |
| 3346 | char (*f)(); | ||
| 3340 | 3347 | ||
| 3341 | int main() { | 3348 | int main() { |
| 3342 | 3349 | ||
| @@ -3346,12 +3353,12 @@ int main() { | |||
| 3346 | #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state) | 3353 | #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state) |
| 3347 | choke me | 3354 | choke me |
| 3348 | #else | 3355 | #else |
| 3349 | malloc_set_state(); | 3356 | f = malloc_set_state; |
| 3350 | #endif | 3357 | #endif |
| 3351 | 3358 | ||
| 3352 | ; return 0; } | 3359 | ; return 0; } |
| 3353 | EOF | 3360 | EOF |
| 3354 | if { (eval echo configure:3355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3361 | if { (eval echo configure:3362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3355 | rm -rf conftest* | 3362 | rm -rf conftest* |
| 3356 | eval "ac_cv_func_malloc_set_state=yes" | 3363 | eval "ac_cv_func_malloc_set_state=yes" |
| 3357 | else | 3364 | else |
| @@ -3372,19 +3379,19 @@ doug_lea_malloc=no | |||
| 3372 | fi | 3379 | fi |
| 3373 | 3380 | ||
| 3374 | echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3381 | echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 3375 | echo "configure:3376: checking whether __after_morecore_hook exists" >&5 | 3382 | echo "configure:3383: checking whether __after_morecore_hook exists" >&5 |
| 3376 | if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then | 3383 | if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then |
| 3377 | echo $ac_n "(cached) $ac_c" 1>&6 | 3384 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3378 | else | 3385 | else |
| 3379 | cat > conftest.$ac_ext <<EOF | 3386 | cat > conftest.$ac_ext <<EOF |
| 3380 | #line 3381 "configure" | 3387 | #line 3388 "configure" |
| 3381 | #include "confdefs.h" | 3388 | #include "confdefs.h" |
| 3382 | extern void (* __after_morecore_hook)(); | 3389 | extern void (* __after_morecore_hook)(); |
| 3383 | int main() { | 3390 | int main() { |
| 3384 | __after_morecore_hook = 0 | 3391 | __after_morecore_hook = 0 |
| 3385 | ; return 0; } | 3392 | ; return 0; } |
| 3386 | EOF | 3393 | EOF |
| 3387 | if { (eval echo configure:3388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3394 | if { (eval echo configure:3395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3388 | rm -rf conftest* | 3395 | rm -rf conftest* |
| 3389 | emacs_cv_var___after_morecore_hook=yes | 3396 | emacs_cv_var___after_morecore_hook=yes |
| 3390 | else | 3397 | else |
| @@ -3434,7 +3441,7 @@ fi | |||
| 3434 | LIBS="$libsrc_libs $LIBS" | 3441 | LIBS="$libsrc_libs $LIBS" |
| 3435 | 3442 | ||
| 3436 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 3443 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 3437 | echo "configure:3438: checking for dnet_ntoa in -ldnet" >&5 | 3444 | echo "configure:3445: checking for dnet_ntoa in -ldnet" >&5 |
| 3438 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3445 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 3439 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3446 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 3440 | echo $ac_n "(cached) $ac_c" 1>&6 | 3447 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -3442,7 +3449,7 @@ else | |||
| 3442 | ac_save_LIBS="$LIBS" | 3449 | ac_save_LIBS="$LIBS" |
| 3443 | LIBS="-ldnet $LIBS" | 3450 | LIBS="-ldnet $LIBS" |
| 3444 | cat > conftest.$ac_ext <<EOF | 3451 | cat > conftest.$ac_ext <<EOF |
| 3445 | #line 3446 "configure" | 3452 | #line 3453 "configure" |
| 3446 | #include "confdefs.h" | 3453 | #include "confdefs.h" |
| 3447 | /* Override any gcc2 internal prototype to avoid an error. */ | 3454 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 3448 | /* We use char because int might match the return type of a gcc2 | 3455 | /* We use char because int might match the return type of a gcc2 |
| @@ -3453,7 +3460,7 @@ int main() { | |||
| 3453 | dnet_ntoa() | 3460 | dnet_ntoa() |
| 3454 | ; return 0; } | 3461 | ; return 0; } |
| 3455 | EOF | 3462 | EOF |
| 3456 | if { (eval echo configure:3457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3463 | if { (eval echo configure:3464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3457 | rm -rf conftest* | 3464 | rm -rf conftest* |
| 3458 | eval "ac_cv_lib_$ac_lib_var=yes" | 3465 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 3459 | else | 3466 | else |
| @@ -3482,7 +3489,7 @@ fi | |||
| 3482 | 3489 | ||
| 3483 | 3490 | ||
| 3484 | echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 3491 | echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 3485 | echo "configure:3486: checking for main in -lXbsd" >&5 | 3492 | echo "configure:3493: checking for main in -lXbsd" >&5 |
| 3486 | ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 3493 | ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 3487 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3494 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 3488 | echo $ac_n "(cached) $ac_c" 1>&6 | 3495 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -3490,14 +3497,14 @@ else | |||
| 3490 | ac_save_LIBS="$LIBS" | 3497 | ac_save_LIBS="$LIBS" |
| 3491 | LIBS="-lXbsd $LIBS" | 3498 | LIBS="-lXbsd $LIBS" |
| 3492 | cat > conftest.$ac_ext <<EOF | 3499 | cat > conftest.$ac_ext <<EOF |
| 3493 | #line 3494 "configure" | 3500 | #line 3501 "configure" |
| 3494 | #include "confdefs.h" | 3501 | #include "confdefs.h" |
| 3495 | 3502 | ||
| 3496 | int main() { | 3503 | int main() { |
| 3497 | main() | 3504 | main() |
| 3498 | ; return 0; } | 3505 | ; return 0; } |
| 3499 | EOF | 3506 | EOF |
| 3500 | if { (eval echo configure:3501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3507 | if { (eval echo configure:3508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3501 | rm -rf conftest* | 3508 | rm -rf conftest* |
| 3502 | eval "ac_cv_lib_$ac_lib_var=yes" | 3509 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 3503 | else | 3510 | else |
| @@ -3519,7 +3526,7 @@ fi | |||
| 3519 | 3526 | ||
| 3520 | 3527 | ||
| 3521 | echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3528 | echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 3522 | echo "configure:3523: checking for cma_open in -lpthreads" >&5 | 3529 | echo "configure:3530: checking for cma_open in -lpthreads" >&5 |
| 3523 | ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3530 | ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 3524 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3531 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 3525 | echo $ac_n "(cached) $ac_c" 1>&6 | 3532 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -3527,7 +3534,7 @@ else | |||
| 3527 | ac_save_LIBS="$LIBS" | 3534 | ac_save_LIBS="$LIBS" |
| 3528 | LIBS="-lpthreads $LIBS" | 3535 | LIBS="-lpthreads $LIBS" |
| 3529 | cat > conftest.$ac_ext <<EOF | 3536 | cat > conftest.$ac_ext <<EOF |
| 3530 | #line 3531 "configure" | 3537 | #line 3538 "configure" |
| 3531 | #include "confdefs.h" | 3538 | #include "confdefs.h" |
| 3532 | /* Override any gcc2 internal prototype to avoid an error. */ | 3539 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 3533 | /* We use char because int might match the return type of a gcc2 | 3540 | /* We use char because int might match the return type of a gcc2 |
| @@ -3538,7 +3545,7 @@ int main() { | |||
| 3538 | cma_open() | 3545 | cma_open() |
| 3539 | ; return 0; } | 3546 | ; return 0; } |
| 3540 | EOF | 3547 | EOF |
| 3541 | if { (eval echo configure:3542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3548 | if { (eval echo configure:3549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3542 | rm -rf conftest* | 3549 | rm -rf conftest* |
| 3543 | eval "ac_cv_lib_$ac_lib_var=yes" | 3550 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 3544 | else | 3551 | else |
| @@ -3567,7 +3574,7 @@ fi | |||
| 3567 | 3574 | ||
| 3568 | 3575 | ||
| 3569 | echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 | 3576 | echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 |
| 3570 | echo "configure:3571: checking for XFree86 in /usr/X386" >&5 | 3577 | echo "configure:3578: checking for XFree86 in /usr/X386" >&5 |
| 3571 | if test -d /usr/X386/include; then | 3578 | if test -d /usr/X386/include; then |
| 3572 | HAVE_XFREE386=yes | 3579 | HAVE_XFREE386=yes |
| 3573 | : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 3580 | : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
| @@ -3596,16 +3603,16 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 3596 | 3603 | ||
| 3597 | if test "${opsys}" = "gnu-linux"; then | 3604 | if test "${opsys}" = "gnu-linux"; then |
| 3598 | echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 | 3605 | echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 |
| 3599 | echo "configure:3600: checking whether X on GNU/Linux needs -b to link" >&5 | 3606 | echo "configure:3607: checking whether X on GNU/Linux needs -b to link" >&5 |
| 3600 | cat > conftest.$ac_ext <<EOF | 3607 | cat > conftest.$ac_ext <<EOF |
| 3601 | #line 3602 "configure" | 3608 | #line 3609 "configure" |
| 3602 | #include "confdefs.h" | 3609 | #include "confdefs.h" |
| 3603 | 3610 | ||
| 3604 | int main() { | 3611 | int main() { |
| 3605 | XOpenDisplay ("foo"); | 3612 | XOpenDisplay ("foo"); |
| 3606 | ; return 0; } | 3613 | ; return 0; } |
| 3607 | EOF | 3614 | EOF |
| 3608 | if { (eval echo configure:3609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3615 | if { (eval echo configure:3616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3609 | rm -rf conftest* | 3616 | rm -rf conftest* |
| 3610 | xlinux_first_failure=no | 3617 | xlinux_first_failure=no |
| 3611 | else | 3618 | else |
| @@ -3625,14 +3632,14 @@ rm -f conftest* | |||
| 3625 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 3632 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
| 3626 | LIBS="$LIBS -b i486-linuxaout" | 3633 | LIBS="$LIBS -b i486-linuxaout" |
| 3627 | cat > conftest.$ac_ext <<EOF | 3634 | cat > conftest.$ac_ext <<EOF |
| 3628 | #line 3629 "configure" | 3635 | #line 3636 "configure" |
| 3629 | #include "confdefs.h" | 3636 | #include "confdefs.h" |
| 3630 | 3637 | ||
| 3631 | int main() { | 3638 | int main() { |
| 3632 | XOpenDisplay ("foo"); | 3639 | XOpenDisplay ("foo"); |
| 3633 | ; return 0; } | 3640 | ; return 0; } |
| 3634 | EOF | 3641 | EOF |
| 3635 | if { (eval echo configure:3636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3642 | if { (eval echo configure:3643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3636 | rm -rf conftest* | 3643 | rm -rf conftest* |
| 3637 | xlinux_second_failure=no | 3644 | xlinux_second_failure=no |
| 3638 | else | 3645 | else |
| @@ -3662,12 +3669,12 @@ rm -f conftest* | |||
| 3662 | XScreenNumberOfScreen XSetWMProtocols | 3669 | XScreenNumberOfScreen XSetWMProtocols |
| 3663 | do | 3670 | do |
| 3664 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3671 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 3665 | echo "configure:3666: checking for $ac_func" >&5 | 3672 | echo "configure:3673: checking for $ac_func" >&5 |
| 3666 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 3673 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 3667 | echo $ac_n "(cached) $ac_c" 1>&6 | 3674 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3668 | else | 3675 | else |
| 3669 | cat > conftest.$ac_ext <<EOF | 3676 | cat > conftest.$ac_ext <<EOF |
| 3670 | #line 3671 "configure" | 3677 | #line 3678 "configure" |
| 3671 | #include "confdefs.h" | 3678 | #include "confdefs.h" |
| 3672 | /* System header to define __stub macros and hopefully few prototypes, | 3679 | /* System header to define __stub macros and hopefully few prototypes, |
| 3673 | which can conflict with char $ac_func(); below. */ | 3680 | which can conflict with char $ac_func(); below. */ |
| @@ -3676,6 +3683,7 @@ else | |||
| 3676 | /* We use char because int might match the return type of a gcc2 | 3683 | /* We use char because int might match the return type of a gcc2 |
| 3677 | builtin and then its argument prototype would still apply. */ | 3684 | builtin and then its argument prototype would still apply. */ |
| 3678 | char $ac_func(); | 3685 | char $ac_func(); |
| 3686 | char (*f)(); | ||
| 3679 | 3687 | ||
| 3680 | int main() { | 3688 | int main() { |
| 3681 | 3689 | ||
| @@ -3685,12 +3693,12 @@ int main() { | |||
| 3685 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 3693 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 3686 | choke me | 3694 | choke me |
| 3687 | #else | 3695 | #else |
| 3688 | $ac_func(); | 3696 | f = $ac_func; |
| 3689 | #endif | 3697 | #endif |
| 3690 | 3698 | ||
| 3691 | ; return 0; } | 3699 | ; return 0; } |
| 3692 | EOF | 3700 | EOF |
| 3693 | if { (eval echo configure:3694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3701 | if { (eval echo configure:3702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3694 | rm -rf conftest* | 3702 | rm -rf conftest* |
| 3695 | eval "ac_cv_func_$ac_func=yes" | 3703 | eval "ac_cv_func_$ac_func=yes" |
| 3696 | else | 3704 | else |
| @@ -3718,12 +3726,12 @@ fi | |||
| 3718 | 3726 | ||
| 3719 | if test "${window_system}" = "x11"; then | 3727 | if test "${window_system}" = "x11"; then |
| 3720 | echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 | 3728 | echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 |
| 3721 | echo "configure:3722: checking X11 version 6" >&5 | 3729 | echo "configure:3730: checking X11 version 6" >&5 |
| 3722 | if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then | 3730 | if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then |
| 3723 | echo $ac_n "(cached) $ac_c" 1>&6 | 3731 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3724 | else | 3732 | else |
| 3725 | cat > conftest.$ac_ext <<EOF | 3733 | cat > conftest.$ac_ext <<EOF |
| 3726 | #line 3727 "configure" | 3734 | #line 3735 "configure" |
| 3727 | #include "confdefs.h" | 3735 | #include "confdefs.h" |
| 3728 | #include <X11/Xlib.h> | 3736 | #include <X11/Xlib.h> |
| 3729 | int main() { | 3737 | int main() { |
| @@ -3733,7 +3741,7 @@ fail; | |||
| 3733 | 3741 | ||
| 3734 | ; return 0; } | 3742 | ; return 0; } |
| 3735 | EOF | 3743 | EOF |
| 3736 | if { (eval echo configure:3737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3744 | if { (eval echo configure:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3737 | rm -rf conftest* | 3745 | rm -rf conftest* |
| 3738 | emacs_cv_x11_version_6=yes | 3746 | emacs_cv_x11_version_6=yes |
| 3739 | else | 3747 | else |
| @@ -3758,12 +3766,12 @@ fi | |||
| 3758 | 3766 | ||
| 3759 | if test "${window_system}" = "x11"; then | 3767 | if test "${window_system}" = "x11"; then |
| 3760 | echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 | 3768 | echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 |
| 3761 | echo "configure:3762: checking X11 version 5" >&5 | 3769 | echo "configure:3770: checking X11 version 5" >&5 |
| 3762 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then | 3770 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then |
| 3763 | echo $ac_n "(cached) $ac_c" 1>&6 | 3771 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3764 | else | 3772 | else |
| 3765 | cat > conftest.$ac_ext <<EOF | 3773 | cat > conftest.$ac_ext <<EOF |
| 3766 | #line 3767 "configure" | 3774 | #line 3775 "configure" |
| 3767 | #include "confdefs.h" | 3775 | #include "confdefs.h" |
| 3768 | #include <X11/Xlib.h> | 3776 | #include <X11/Xlib.h> |
| 3769 | int main() { | 3777 | int main() { |
| @@ -3773,7 +3781,7 @@ fail; | |||
| 3773 | 3781 | ||
| 3774 | ; return 0; } | 3782 | ; return 0; } |
| 3775 | EOF | 3783 | EOF |
| 3776 | if { (eval echo configure:3777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3784 | if { (eval echo configure:3785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3777 | rm -rf conftest* | 3785 | rm -rf conftest* |
| 3778 | emacs_cv_x11_version_5=yes | 3786 | emacs_cv_x11_version_5=yes |
| 3779 | else | 3787 | else |
| @@ -3801,12 +3809,12 @@ fi | |||
| 3801 | if test x"${USE_X_TOOLKIT}" = xmaybe; then | 3809 | if test x"${USE_X_TOOLKIT}" = xmaybe; then |
| 3802 | if test x"${HAVE_X11R5}" = xyes; then | 3810 | if test x"${HAVE_X11R5}" = xyes; then |
| 3803 | echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 | 3811 | echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 |
| 3804 | echo "configure:3805: checking X11 version 5 with Xaw" >&5 | 3812 | echo "configure:3813: checking X11 version 5 with Xaw" >&5 |
| 3805 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then | 3813 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then |
| 3806 | echo $ac_n "(cached) $ac_c" 1>&6 | 3814 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3807 | else | 3815 | else |
| 3808 | cat > conftest.$ac_ext <<EOF | 3816 | cat > conftest.$ac_ext <<EOF |
| 3809 | #line 3810 "configure" | 3817 | #line 3818 "configure" |
| 3810 | #include "confdefs.h" | 3818 | #include "confdefs.h" |
| 3811 | 3819 | ||
| 3812 | #include <X11/Intrinsic.h> | 3820 | #include <X11/Intrinsic.h> |
| @@ -3815,7 +3823,7 @@ int main() { | |||
| 3815 | 3823 | ||
| 3816 | ; return 0; } | 3824 | ; return 0; } |
| 3817 | EOF | 3825 | EOF |
| 3818 | if { (eval echo configure:3819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3826 | if { (eval echo configure:3827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3819 | rm -rf conftest* | 3827 | rm -rf conftest* |
| 3820 | emacs_cv_x11_version_5_with_xaw=yes | 3828 | emacs_cv_x11_version_5_with_xaw=yes |
| 3821 | else | 3829 | else |
| @@ -3843,12 +3851,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT | |||
| 3843 | 3851 | ||
| 3844 | if test "${USE_X_TOOLKIT}" != "none"; then | 3852 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 3845 | echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 | 3853 | echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 |
| 3846 | echo "configure:3847: checking X11 toolkit version" >&5 | 3854 | echo "configure:3855: checking X11 toolkit version" >&5 |
| 3847 | if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then | 3855 | if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then |
| 3848 | echo $ac_n "(cached) $ac_c" 1>&6 | 3856 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3849 | else | 3857 | else |
| 3850 | cat > conftest.$ac_ext <<EOF | 3858 | cat > conftest.$ac_ext <<EOF |
| 3851 | #line 3852 "configure" | 3859 | #line 3860 "configure" |
| 3852 | #include "confdefs.h" | 3860 | #include "confdefs.h" |
| 3853 | #include <X11/Intrinsic.h> | 3861 | #include <X11/Intrinsic.h> |
| 3854 | int main() { | 3862 | int main() { |
| @@ -3858,7 +3866,7 @@ fail; | |||
| 3858 | 3866 | ||
| 3859 | ; return 0; } | 3867 | ; return 0; } |
| 3860 | EOF | 3868 | EOF |
| 3861 | if { (eval echo configure:3862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3869 | if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3862 | rm -rf conftest* | 3870 | rm -rf conftest* |
| 3863 | emacs_cv_x11_toolkit_version_6=yes | 3871 | emacs_cv_x11_toolkit_version_6=yes |
| 3864 | else | 3872 | else |
| @@ -3888,7 +3896,7 @@ EOF | |||
| 3888 | LIBS="-lXt $LIBS" | 3896 | LIBS="-lXt $LIBS" |
| 3889 | fi | 3897 | fi |
| 3890 | echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 3898 | echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
| 3891 | echo "configure:3892: checking for XmuConvertStandardSelection in -lXmu" >&5 | 3899 | echo "configure:3900: checking for XmuConvertStandardSelection in -lXmu" >&5 |
| 3892 | ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 3900 | ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
| 3893 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3901 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 3894 | echo $ac_n "(cached) $ac_c" 1>&6 | 3902 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -3896,7 +3904,7 @@ else | |||
| 3896 | ac_save_LIBS="$LIBS" | 3904 | ac_save_LIBS="$LIBS" |
| 3897 | LIBS="-lXmu $LIBS" | 3905 | LIBS="-lXmu $LIBS" |
| 3898 | cat > conftest.$ac_ext <<EOF | 3906 | cat > conftest.$ac_ext <<EOF |
| 3899 | #line 3900 "configure" | 3907 | #line 3908 "configure" |
| 3900 | #include "confdefs.h" | 3908 | #include "confdefs.h" |
| 3901 | /* Override any gcc2 internal prototype to avoid an error. */ | 3909 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 3902 | /* We use char because int might match the return type of a gcc2 | 3910 | /* We use char because int might match the return type of a gcc2 |
| @@ -3907,7 +3915,7 @@ int main() { | |||
| 3907 | XmuConvertStandardSelection() | 3915 | XmuConvertStandardSelection() |
| 3908 | ; return 0; } | 3916 | ; return 0; } |
| 3909 | EOF | 3917 | EOF |
| 3910 | if { (eval echo configure:3911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3918 | if { (eval echo configure:3919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3911 | rm -rf conftest* | 3919 | rm -rf conftest* |
| 3912 | eval "ac_cv_lib_$ac_lib_var=yes" | 3920 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 3913 | else | 3921 | else |
| @@ -3939,12 +3947,12 @@ fi | |||
| 3939 | 3947 | ||
| 3940 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 3948 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 3941 | echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 | 3949 | echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 |
| 3942 | echo "configure:3943: checking for Motif version 2.1" >&5 | 3950 | echo "configure:3951: checking for Motif version 2.1" >&5 |
| 3943 | if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then | 3951 | if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then |
| 3944 | echo $ac_n "(cached) $ac_c" 1>&6 | 3952 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3945 | else | 3953 | else |
| 3946 | cat > conftest.$ac_ext <<EOF | 3954 | cat > conftest.$ac_ext <<EOF |
| 3947 | #line 3948 "configure" | 3955 | #line 3956 "configure" |
| 3948 | #include "confdefs.h" | 3956 | #include "confdefs.h" |
| 3949 | #include <Xm/Xm.h> | 3957 | #include <Xm/Xm.h> |
| 3950 | int main() { | 3958 | int main() { |
| @@ -3955,7 +3963,7 @@ Motif version prior to 2.1. | |||
| 3955 | #endif | 3963 | #endif |
| 3956 | ; return 0; } | 3964 | ; return 0; } |
| 3957 | EOF | 3965 | EOF |
| 3958 | if { (eval echo configure:3959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3966 | if { (eval echo configure:3967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3959 | rm -rf conftest* | 3967 | rm -rf conftest* |
| 3960 | emacs_cv_motif_version_2_1=yes | 3968 | emacs_cv_motif_version_2_1=yes |
| 3961 | else | 3969 | else |
| @@ -3975,7 +3983,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6 | |||
| 3975 | EOF | 3983 | EOF |
| 3976 | 3984 | ||
| 3977 | echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 | 3985 | echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 |
| 3978 | echo "configure:3979: checking for XpCreateContext in -lXp" >&5 | 3986 | echo "configure:3987: checking for XpCreateContext in -lXp" >&5 |
| 3979 | ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` | 3987 | ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` |
| 3980 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3988 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 3981 | echo $ac_n "(cached) $ac_c" 1>&6 | 3989 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -3983,7 +3991,7 @@ else | |||
| 3983 | ac_save_LIBS="$LIBS" | 3991 | ac_save_LIBS="$LIBS" |
| 3984 | LIBS="-lXp $LIBS" | 3992 | LIBS="-lXp $LIBS" |
| 3985 | cat > conftest.$ac_ext <<EOF | 3993 | cat > conftest.$ac_ext <<EOF |
| 3986 | #line 3987 "configure" | 3994 | #line 3995 "configure" |
| 3987 | #include "confdefs.h" | 3995 | #include "confdefs.h" |
| 3988 | /* Override any gcc2 internal prototype to avoid an error. */ | 3996 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 3989 | /* We use char because int might match the return type of a gcc2 | 3997 | /* We use char because int might match the return type of a gcc2 |
| @@ -3994,7 +4002,7 @@ int main() { | |||
| 3994 | XpCreateContext() | 4002 | XpCreateContext() |
| 3995 | ; return 0; } | 4003 | ; return 0; } |
| 3996 | EOF | 4004 | EOF |
| 3997 | if { (eval echo configure:3998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4005 | if { (eval echo configure:4006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3998 | rm -rf conftest* | 4006 | rm -rf conftest* |
| 3999 | eval "ac_cv_lib_$ac_lib_var=yes" | 4007 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4000 | else | 4008 | else |
| @@ -4032,17 +4040,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4032 | CFLAGS="${LD_SWITCH_X_SITE}" | 4040 | CFLAGS="${LD_SWITCH_X_SITE}" |
| 4033 | ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` | 4041 | ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` |
| 4034 | echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 | 4042 | echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 |
| 4035 | echo "configure:4036: checking for X11/Xaw3d/Scrollbar.h" >&5 | 4043 | echo "configure:4044: checking for X11/Xaw3d/Scrollbar.h" >&5 |
| 4036 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4044 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4037 | echo $ac_n "(cached) $ac_c" 1>&6 | 4045 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4038 | else | 4046 | else |
| 4039 | cat > conftest.$ac_ext <<EOF | 4047 | cat > conftest.$ac_ext <<EOF |
| 4040 | #line 4041 "configure" | 4048 | #line 4049 "configure" |
| 4041 | #include "confdefs.h" | 4049 | #include "confdefs.h" |
| 4042 | #include <X11/Xaw3d/Scrollbar.h> | 4050 | #include <X11/Xaw3d/Scrollbar.h> |
| 4043 | EOF | 4051 | EOF |
| 4044 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4052 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4045 | { (eval echo configure:4046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4053 | { (eval echo configure:4054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4046 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4054 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4047 | if test -z "$ac_err"; then | 4055 | if test -z "$ac_err"; then |
| 4048 | rm -rf conftest* | 4056 | rm -rf conftest* |
| @@ -4059,7 +4067,7 @@ fi | |||
| 4059 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4067 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 4060 | echo "$ac_t""yes" 1>&6 | 4068 | echo "$ac_t""yes" 1>&6 |
| 4061 | echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | 4069 | echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 |
| 4062 | echo "configure:4063: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 4070 | echo "configure:4071: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
| 4063 | ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 4071 | ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 4064 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4072 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4065 | echo $ac_n "(cached) $ac_c" 1>&6 | 4073 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4067,7 +4075,7 @@ else | |||
| 4067 | ac_save_LIBS="$LIBS" | 4075 | ac_save_LIBS="$LIBS" |
| 4068 | LIBS="-lXaw3d -lX11 $LIBS" | 4076 | LIBS="-lXaw3d -lX11 $LIBS" |
| 4069 | cat > conftest.$ac_ext <<EOF | 4077 | cat > conftest.$ac_ext <<EOF |
| 4070 | #line 4071 "configure" | 4078 | #line 4079 "configure" |
| 4071 | #include "confdefs.h" | 4079 | #include "confdefs.h" |
| 4072 | /* Override any gcc2 internal prototype to avoid an error. */ | 4080 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4073 | /* We use char because int might match the return type of a gcc2 | 4081 | /* We use char because int might match the return type of a gcc2 |
| @@ -4078,7 +4086,7 @@ int main() { | |||
| 4078 | XawScrollbarSetThumb() | 4086 | XawScrollbarSetThumb() |
| 4079 | ; return 0; } | 4087 | ; return 0; } |
| 4080 | EOF | 4088 | EOF |
| 4081 | if { (eval echo configure:4082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4089 | if { (eval echo configure:4090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4082 | rm -rf conftest* | 4090 | rm -rf conftest* |
| 4083 | eval "ac_cv_lib_$ac_lib_var=yes" | 4091 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4084 | else | 4092 | else |
| @@ -4142,17 +4150,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4142 | CFLAGS="${LD_SWITCH_X_SITE}" | 4150 | CFLAGS="${LD_SWITCH_X_SITE}" |
| 4143 | ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` | 4151 | ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` |
| 4144 | echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 | 4152 | echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 |
| 4145 | echo "configure:4146: checking for X11/xpm.h" >&5 | 4153 | echo "configure:4154: checking for X11/xpm.h" >&5 |
| 4146 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4154 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4147 | echo $ac_n "(cached) $ac_c" 1>&6 | 4155 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4148 | else | 4156 | else |
| 4149 | cat > conftest.$ac_ext <<EOF | 4157 | cat > conftest.$ac_ext <<EOF |
| 4150 | #line 4151 "configure" | 4158 | #line 4159 "configure" |
| 4151 | #include "confdefs.h" | 4159 | #include "confdefs.h" |
| 4152 | #include <X11/xpm.h> | 4160 | #include <X11/xpm.h> |
| 4153 | EOF | 4161 | EOF |
| 4154 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4162 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4155 | { (eval echo configure:4156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4163 | { (eval echo configure:4164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4156 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4164 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4157 | if test -z "$ac_err"; then | 4165 | if test -z "$ac_err"; then |
| 4158 | rm -rf conftest* | 4166 | rm -rf conftest* |
| @@ -4169,7 +4177,7 @@ fi | |||
| 4169 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4177 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 4170 | echo "$ac_t""yes" 1>&6 | 4178 | echo "$ac_t""yes" 1>&6 |
| 4171 | echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 | 4179 | echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 |
| 4172 | echo "configure:4173: checking for XpmReadFileToPixmap in -lXpm" >&5 | 4180 | echo "configure:4181: checking for XpmReadFileToPixmap in -lXpm" >&5 |
| 4173 | ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` | 4181 | ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` |
| 4174 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4182 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4175 | echo $ac_n "(cached) $ac_c" 1>&6 | 4183 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4177,7 +4185,7 @@ else | |||
| 4177 | ac_save_LIBS="$LIBS" | 4185 | ac_save_LIBS="$LIBS" |
| 4178 | LIBS="-lXpm -lX11 $LIBS" | 4186 | LIBS="-lXpm -lX11 $LIBS" |
| 4179 | cat > conftest.$ac_ext <<EOF | 4187 | cat > conftest.$ac_ext <<EOF |
| 4180 | #line 4181 "configure" | 4188 | #line 4189 "configure" |
| 4181 | #include "confdefs.h" | 4189 | #include "confdefs.h" |
| 4182 | /* Override any gcc2 internal prototype to avoid an error. */ | 4190 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4183 | /* We use char because int might match the return type of a gcc2 | 4191 | /* We use char because int might match the return type of a gcc2 |
| @@ -4188,7 +4196,7 @@ int main() { | |||
| 4188 | XpmReadFileToPixmap() | 4196 | XpmReadFileToPixmap() |
| 4189 | ; return 0; } | 4197 | ; return 0; } |
| 4190 | EOF | 4198 | EOF |
| 4191 | if { (eval echo configure:4192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4199 | if { (eval echo configure:4200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4192 | rm -rf conftest* | 4200 | rm -rf conftest* |
| 4193 | eval "ac_cv_lib_$ac_lib_var=yes" | 4201 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4194 | else | 4202 | else |
| @@ -4230,7 +4238,7 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4230 | old_c_flags="${CFLAGS}" | 4238 | old_c_flags="${CFLAGS}" |
| 4231 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4239 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 4232 | echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 4240 | echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
| 4233 | echo "configure:4234: checking for jpeg_destroy_compress in -ljpeg" >&5 | 4241 | echo "configure:4242: checking for jpeg_destroy_compress in -ljpeg" >&5 |
| 4234 | ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 4242 | ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
| 4235 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4243 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4236 | echo $ac_n "(cached) $ac_c" 1>&6 | 4244 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4238,7 +4246,7 @@ else | |||
| 4238 | ac_save_LIBS="$LIBS" | 4246 | ac_save_LIBS="$LIBS" |
| 4239 | LIBS="-ljpeg -lX11 $LIBS" | 4247 | LIBS="-ljpeg -lX11 $LIBS" |
| 4240 | cat > conftest.$ac_ext <<EOF | 4248 | cat > conftest.$ac_ext <<EOF |
| 4241 | #line 4242 "configure" | 4249 | #line 4250 "configure" |
| 4242 | #include "confdefs.h" | 4250 | #include "confdefs.h" |
| 4243 | /* Override any gcc2 internal prototype to avoid an error. */ | 4251 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4244 | /* We use char because int might match the return type of a gcc2 | 4252 | /* We use char because int might match the return type of a gcc2 |
| @@ -4249,7 +4257,7 @@ int main() { | |||
| 4249 | jpeg_destroy_compress() | 4257 | jpeg_destroy_compress() |
| 4250 | ; return 0; } | 4258 | ; return 0; } |
| 4251 | EOF | 4259 | EOF |
| 4252 | if { (eval echo configure:4253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4260 | if { (eval echo configure:4261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4253 | rm -rf conftest* | 4261 | rm -rf conftest* |
| 4254 | eval "ac_cv_lib_$ac_lib_var=yes" | 4262 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4255 | else | 4263 | else |
| @@ -4288,17 +4296,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4288 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4296 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 4289 | ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 4297 | ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 4290 | echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 4298 | echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 4291 | echo "configure:4292: checking for png.h" >&5 | 4299 | echo "configure:4300: checking for png.h" >&5 |
| 4292 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4300 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4293 | echo $ac_n "(cached) $ac_c" 1>&6 | 4301 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4294 | else | 4302 | else |
| 4295 | cat > conftest.$ac_ext <<EOF | 4303 | cat > conftest.$ac_ext <<EOF |
| 4296 | #line 4297 "configure" | 4304 | #line 4305 "configure" |
| 4297 | #include "confdefs.h" | 4305 | #include "confdefs.h" |
| 4298 | #include <png.h> | 4306 | #include <png.h> |
| 4299 | EOF | 4307 | EOF |
| 4300 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4308 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4301 | { (eval echo configure:4302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4309 | { (eval echo configure:4310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4302 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4310 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4303 | if test -z "$ac_err"; then | 4311 | if test -z "$ac_err"; then |
| 4304 | rm -rf conftest* | 4312 | rm -rf conftest* |
| @@ -4315,7 +4323,7 @@ fi | |||
| 4315 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4323 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 4316 | echo "$ac_t""yes" 1>&6 | 4324 | echo "$ac_t""yes" 1>&6 |
| 4317 | echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 4325 | echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
| 4318 | echo "configure:4319: checking for png_set_expand in -lpng" >&5 | 4326 | echo "configure:4327: checking for png_set_expand in -lpng" >&5 |
| 4319 | ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 4327 | ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
| 4320 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4328 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4321 | echo $ac_n "(cached) $ac_c" 1>&6 | 4329 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4323,7 +4331,7 @@ else | |||
| 4323 | ac_save_LIBS="$LIBS" | 4331 | ac_save_LIBS="$LIBS" |
| 4324 | LIBS="-lpng -lX11 -lz -lm $LIBS" | 4332 | LIBS="-lpng -lX11 -lz -lm $LIBS" |
| 4325 | cat > conftest.$ac_ext <<EOF | 4333 | cat > conftest.$ac_ext <<EOF |
| 4326 | #line 4327 "configure" | 4334 | #line 4335 "configure" |
| 4327 | #include "confdefs.h" | 4335 | #include "confdefs.h" |
| 4328 | /* Override any gcc2 internal prototype to avoid an error. */ | 4336 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4329 | /* We use char because int might match the return type of a gcc2 | 4337 | /* We use char because int might match the return type of a gcc2 |
| @@ -4334,7 +4342,7 @@ int main() { | |||
| 4334 | png_set_expand() | 4342 | png_set_expand() |
| 4335 | ; return 0; } | 4343 | ; return 0; } |
| 4336 | EOF | 4344 | EOF |
| 4337 | if { (eval echo configure:4338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4345 | if { (eval echo configure:4346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4338 | rm -rf conftest* | 4346 | rm -rf conftest* |
| 4339 | eval "ac_cv_lib_$ac_lib_var=yes" | 4347 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4340 | else | 4348 | else |
| @@ -4377,17 +4385,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4377 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4385 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 4378 | ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 4386 | ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 4379 | echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 4387 | echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 4380 | echo "configure:4381: checking for tiffio.h" >&5 | 4388 | echo "configure:4389: checking for tiffio.h" >&5 |
| 4381 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4389 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4382 | echo $ac_n "(cached) $ac_c" 1>&6 | 4390 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4383 | else | 4391 | else |
| 4384 | cat > conftest.$ac_ext <<EOF | 4392 | cat > conftest.$ac_ext <<EOF |
| 4385 | #line 4386 "configure" | 4393 | #line 4394 "configure" |
| 4386 | #include "confdefs.h" | 4394 | #include "confdefs.h" |
| 4387 | #include <tiffio.h> | 4395 | #include <tiffio.h> |
| 4388 | EOF | 4396 | EOF |
| 4389 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4397 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4390 | { (eval echo configure:4391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4398 | { (eval echo configure:4399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4391 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4399 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4392 | if test -z "$ac_err"; then | 4400 | if test -z "$ac_err"; then |
| 4393 | rm -rf conftest* | 4401 | rm -rf conftest* |
| @@ -4404,7 +4412,7 @@ fi | |||
| 4404 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4412 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 4405 | echo "$ac_t""yes" 1>&6 | 4413 | echo "$ac_t""yes" 1>&6 |
| 4406 | echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 4414 | echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
| 4407 | echo "configure:4408: checking for TIFFGetVersion in -ltiff" >&5 | 4415 | echo "configure:4416: checking for TIFFGetVersion in -ltiff" >&5 |
| 4408 | ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 4416 | ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
| 4409 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4417 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4410 | echo $ac_n "(cached) $ac_c" 1>&6 | 4418 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4412,7 +4420,7 @@ else | |||
| 4412 | ac_save_LIBS="$LIBS" | 4420 | ac_save_LIBS="$LIBS" |
| 4413 | LIBS="-ltiff -lX11 -lm $LIBS" | 4421 | LIBS="-ltiff -lX11 -lm $LIBS" |
| 4414 | cat > conftest.$ac_ext <<EOF | 4422 | cat > conftest.$ac_ext <<EOF |
| 4415 | #line 4416 "configure" | 4423 | #line 4424 "configure" |
| 4416 | #include "confdefs.h" | 4424 | #include "confdefs.h" |
| 4417 | /* Override any gcc2 internal prototype to avoid an error. */ | 4425 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4418 | /* We use char because int might match the return type of a gcc2 | 4426 | /* We use char because int might match the return type of a gcc2 |
| @@ -4423,7 +4431,7 @@ int main() { | |||
| 4423 | TIFFGetVersion() | 4431 | TIFFGetVersion() |
| 4424 | ; return 0; } | 4432 | ; return 0; } |
| 4425 | EOF | 4433 | EOF |
| 4426 | if { (eval echo configure:4427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4434 | if { (eval echo configure:4435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4427 | rm -rf conftest* | 4435 | rm -rf conftest* |
| 4428 | eval "ac_cv_lib_$ac_lib_var=yes" | 4436 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4429 | else | 4437 | else |
| @@ -4466,17 +4474,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4466 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4474 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 4467 | ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 4475 | ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
| 4468 | echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 4476 | echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
| 4469 | echo "configure:4470: checking for gif_lib.h" >&5 | 4477 | echo "configure:4478: checking for gif_lib.h" >&5 |
| 4470 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4478 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4471 | echo $ac_n "(cached) $ac_c" 1>&6 | 4479 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4472 | else | 4480 | else |
| 4473 | cat > conftest.$ac_ext <<EOF | 4481 | cat > conftest.$ac_ext <<EOF |
| 4474 | #line 4475 "configure" | 4482 | #line 4483 "configure" |
| 4475 | #include "confdefs.h" | 4483 | #include "confdefs.h" |
| 4476 | #include <gif_lib.h> | 4484 | #include <gif_lib.h> |
| 4477 | EOF | 4485 | EOF |
| 4478 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4486 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4479 | { (eval echo configure:4480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4487 | { (eval echo configure:4488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4480 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4488 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4481 | if test -z "$ac_err"; then | 4489 | if test -z "$ac_err"; then |
| 4482 | rm -rf conftest* | 4490 | rm -rf conftest* |
| @@ -4493,7 +4501,7 @@ fi | |||
| 4493 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4501 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 4494 | echo "$ac_t""yes" 1>&6 | 4502 | echo "$ac_t""yes" 1>&6 |
| 4495 | echo $ac_n "checking for DGifOpenFileName in -lungif""... $ac_c" 1>&6 | 4503 | echo $ac_n "checking for DGifOpenFileName in -lungif""... $ac_c" 1>&6 |
| 4496 | echo "configure:4497: checking for DGifOpenFileName in -lungif" >&5 | 4504 | echo "configure:4505: checking for DGifOpenFileName in -lungif" >&5 |
| 4497 | ac_lib_var=`echo ungif'_'DGifOpenFileName | sed 'y%./+-%__p_%'` | 4505 | ac_lib_var=`echo ungif'_'DGifOpenFileName | sed 'y%./+-%__p_%'` |
| 4498 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4506 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4499 | echo $ac_n "(cached) $ac_c" 1>&6 | 4507 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4501,7 +4509,7 @@ else | |||
| 4501 | ac_save_LIBS="$LIBS" | 4509 | ac_save_LIBS="$LIBS" |
| 4502 | LIBS="-lungif -lX11 $LIBS" | 4510 | LIBS="-lungif -lX11 $LIBS" |
| 4503 | cat > conftest.$ac_ext <<EOF | 4511 | cat > conftest.$ac_ext <<EOF |
| 4504 | #line 4505 "configure" | 4512 | #line 4513 "configure" |
| 4505 | #include "confdefs.h" | 4513 | #include "confdefs.h" |
| 4506 | /* Override any gcc2 internal prototype to avoid an error. */ | 4514 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4507 | /* We use char because int might match the return type of a gcc2 | 4515 | /* We use char because int might match the return type of a gcc2 |
| @@ -4512,7 +4520,7 @@ int main() { | |||
| 4512 | DGifOpenFileName() | 4520 | DGifOpenFileName() |
| 4513 | ; return 0; } | 4521 | ; return 0; } |
| 4514 | EOF | 4522 | EOF |
| 4515 | if { (eval echo configure:4516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4523 | if { (eval echo configure:4524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4516 | rm -rf conftest* | 4524 | rm -rf conftest* |
| 4517 | eval "ac_cv_lib_$ac_lib_var=yes" | 4525 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4518 | else | 4526 | else |
| @@ -4549,19 +4557,19 @@ fi | |||
| 4549 | 4557 | ||
| 4550 | # If netdb.h doesn't declare h_errno, we must declare it by hand. | 4558 | # If netdb.h doesn't declare h_errno, we must declare it by hand. |
| 4551 | echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 4559 | echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 4552 | echo "configure:4553: checking whether netdb declares h_errno" >&5 | 4560 | echo "configure:4561: checking whether netdb declares h_errno" >&5 |
| 4553 | if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 4561 | if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
| 4554 | echo $ac_n "(cached) $ac_c" 1>&6 | 4562 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4555 | else | 4563 | else |
| 4556 | cat > conftest.$ac_ext <<EOF | 4564 | cat > conftest.$ac_ext <<EOF |
| 4557 | #line 4558 "configure" | 4565 | #line 4566 "configure" |
| 4558 | #include "confdefs.h" | 4566 | #include "confdefs.h" |
| 4559 | #include <netdb.h> | 4567 | #include <netdb.h> |
| 4560 | int main() { | 4568 | int main() { |
| 4561 | return h_errno; | 4569 | return h_errno; |
| 4562 | ; return 0; } | 4570 | ; return 0; } |
| 4563 | EOF | 4571 | EOF |
| 4564 | if { (eval echo configure:4565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4572 | if { (eval echo configure:4573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4565 | rm -rf conftest* | 4573 | rm -rf conftest* |
| 4566 | emacs_cv_netdb_declares_h_errno=yes | 4574 | emacs_cv_netdb_declares_h_errno=yes |
| 4567 | else | 4575 | else |
| @@ -4584,19 +4592,19 @@ fi | |||
| 4584 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 4592 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 4585 | # for constant arguments. Useless! | 4593 | # for constant arguments. Useless! |
| 4586 | echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 4594 | echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 4587 | echo "configure:4588: checking for working alloca.h" >&5 | 4595 | echo "configure:4596: checking for working alloca.h" >&5 |
| 4588 | if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 4596 | if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
| 4589 | echo $ac_n "(cached) $ac_c" 1>&6 | 4597 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4590 | else | 4598 | else |
| 4591 | cat > conftest.$ac_ext <<EOF | 4599 | cat > conftest.$ac_ext <<EOF |
| 4592 | #line 4593 "configure" | 4600 | #line 4601 "configure" |
| 4593 | #include "confdefs.h" | 4601 | #include "confdefs.h" |
| 4594 | #include <alloca.h> | 4602 | #include <alloca.h> |
| 4595 | int main() { | 4603 | int main() { |
| 4596 | char *p = alloca(2 * sizeof(int)); | 4604 | char *p = alloca(2 * sizeof(int)); |
| 4597 | ; return 0; } | 4605 | ; return 0; } |
| 4598 | EOF | 4606 | EOF |
| 4599 | if { (eval echo configure:4600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4607 | if { (eval echo configure:4608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4600 | rm -rf conftest* | 4608 | rm -rf conftest* |
| 4601 | ac_cv_header_alloca_h=yes | 4609 | ac_cv_header_alloca_h=yes |
| 4602 | else | 4610 | else |
| @@ -4617,12 +4625,12 @@ EOF | |||
| 4617 | fi | 4625 | fi |
| 4618 | 4626 | ||
| 4619 | echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 4627 | echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 4620 | echo "configure:4621: checking for alloca" >&5 | 4628 | echo "configure:4629: checking for alloca" >&5 |
| 4621 | if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 4629 | if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
| 4622 | echo $ac_n "(cached) $ac_c" 1>&6 | 4630 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4623 | else | 4631 | else |
| 4624 | cat > conftest.$ac_ext <<EOF | 4632 | cat > conftest.$ac_ext <<EOF |
| 4625 | #line 4626 "configure" | 4633 | #line 4634 "configure" |
| 4626 | #include "confdefs.h" | 4634 | #include "confdefs.h" |
| 4627 | 4635 | ||
| 4628 | #ifdef __GNUC__ | 4636 | #ifdef __GNUC__ |
| @@ -4650,7 +4658,7 @@ int main() { | |||
| 4650 | char *p = (char *) alloca(1); | 4658 | char *p = (char *) alloca(1); |
| 4651 | ; return 0; } | 4659 | ; return 0; } |
| 4652 | EOF | 4660 | EOF |
| 4653 | if { (eval echo configure:4654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4661 | if { (eval echo configure:4662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4654 | rm -rf conftest* | 4662 | rm -rf conftest* |
| 4655 | ac_cv_func_alloca_works=yes | 4663 | ac_cv_func_alloca_works=yes |
| 4656 | else | 4664 | else |
| @@ -4682,12 +4690,12 @@ EOF | |||
| 4682 | 4690 | ||
| 4683 | 4691 | ||
| 4684 | echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 4692 | echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 4685 | echo "configure:4686: checking whether alloca needs Cray hooks" >&5 | 4693 | echo "configure:4694: checking whether alloca needs Cray hooks" >&5 |
| 4686 | if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 4694 | if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
| 4687 | echo $ac_n "(cached) $ac_c" 1>&6 | 4695 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4688 | else | 4696 | else |
| 4689 | cat > conftest.$ac_ext <<EOF | 4697 | cat > conftest.$ac_ext <<EOF |
| 4690 | #line 4691 "configure" | 4698 | #line 4699 "configure" |
| 4691 | #include "confdefs.h" | 4699 | #include "confdefs.h" |
| 4692 | #if defined(CRAY) && ! defined(CRAY2) | 4700 | #if defined(CRAY) && ! defined(CRAY2) |
| 4693 | webecray | 4701 | webecray |
| @@ -4712,12 +4720,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6 | |||
| 4712 | if test $ac_cv_os_cray = yes; then | 4720 | if test $ac_cv_os_cray = yes; then |
| 4713 | for ac_func in _getb67 GETB67 getb67; do | 4721 | for ac_func in _getb67 GETB67 getb67; do |
| 4714 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4722 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 4715 | echo "configure:4716: checking for $ac_func" >&5 | 4723 | echo "configure:4724: checking for $ac_func" >&5 |
| 4716 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 4724 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 4717 | echo $ac_n "(cached) $ac_c" 1>&6 | 4725 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4718 | else | 4726 | else |
| 4719 | cat > conftest.$ac_ext <<EOF | 4727 | cat > conftest.$ac_ext <<EOF |
| 4720 | #line 4721 "configure" | 4728 | #line 4729 "configure" |
| 4721 | #include "confdefs.h" | 4729 | #include "confdefs.h" |
| 4722 | /* System header to define __stub macros and hopefully few prototypes, | 4730 | /* System header to define __stub macros and hopefully few prototypes, |
| 4723 | which can conflict with char $ac_func(); below. */ | 4731 | which can conflict with char $ac_func(); below. */ |
| @@ -4726,6 +4734,7 @@ else | |||
| 4726 | /* We use char because int might match the return type of a gcc2 | 4734 | /* We use char because int might match the return type of a gcc2 |
| 4727 | builtin and then its argument prototype would still apply. */ | 4735 | builtin and then its argument prototype would still apply. */ |
| 4728 | char $ac_func(); | 4736 | char $ac_func(); |
| 4737 | char (*f)(); | ||
| 4729 | 4738 | ||
| 4730 | int main() { | 4739 | int main() { |
| 4731 | 4740 | ||
| @@ -4735,12 +4744,12 @@ int main() { | |||
| 4735 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 4744 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 4736 | choke me | 4745 | choke me |
| 4737 | #else | 4746 | #else |
| 4738 | $ac_func(); | 4747 | f = $ac_func; |
| 4739 | #endif | 4748 | #endif |
| 4740 | 4749 | ||
| 4741 | ; return 0; } | 4750 | ; return 0; } |
| 4742 | EOF | 4751 | EOF |
| 4743 | if { (eval echo configure:4744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4752 | if { (eval echo configure:4753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4744 | rm -rf conftest* | 4753 | rm -rf conftest* |
| 4745 | eval "ac_cv_func_$ac_func=yes" | 4754 | eval "ac_cv_func_$ac_func=yes" |
| 4746 | else | 4755 | else |
| @@ -4767,7 +4776,7 @@ done | |||
| 4767 | fi | 4776 | fi |
| 4768 | 4777 | ||
| 4769 | echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 4778 | echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 4770 | echo "configure:4771: checking stack direction for C alloca" >&5 | 4779 | echo "configure:4780: checking stack direction for C alloca" >&5 |
| 4771 | if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 4780 | if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
| 4772 | echo $ac_n "(cached) $ac_c" 1>&6 | 4781 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4773 | else | 4782 | else |
| @@ -4775,7 +4784,7 @@ else | |||
| 4775 | ac_cv_c_stack_direction=0 | 4784 | ac_cv_c_stack_direction=0 |
| 4776 | else | 4785 | else |
| 4777 | cat > conftest.$ac_ext <<EOF | 4786 | cat > conftest.$ac_ext <<EOF |
| 4778 | #line 4779 "configure" | 4787 | #line 4788 "configure" |
| 4779 | #include "confdefs.h" | 4788 | #include "confdefs.h" |
| 4780 | find_stack_direction () | 4789 | find_stack_direction () |
| 4781 | { | 4790 | { |
| @@ -4794,7 +4803,7 @@ main () | |||
| 4794 | exit (find_stack_direction() < 0); | 4803 | exit (find_stack_direction() < 0); |
| 4795 | } | 4804 | } |
| 4796 | EOF | 4805 | EOF |
| 4797 | if { (eval echo configure:4798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4806 | if { (eval echo configure:4807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 4798 | then | 4807 | then |
| 4799 | ac_cv_c_stack_direction=1 | 4808 | ac_cv_c_stack_direction=1 |
| 4800 | else | 4809 | else |
| @@ -4819,7 +4828,7 @@ fi | |||
| 4819 | # fmod, logb, and frexp are found in -lm on most systems. | 4828 | # fmod, logb, and frexp are found in -lm on most systems. |
| 4820 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 4829 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
| 4821 | echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 4830 | echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
| 4822 | echo "configure:4823: checking for sqrt in -lm" >&5 | 4831 | echo "configure:4832: checking for sqrt in -lm" >&5 |
| 4823 | ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 4832 | ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
| 4824 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4833 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4825 | echo $ac_n "(cached) $ac_c" 1>&6 | 4834 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4827,7 +4836,7 @@ else | |||
| 4827 | ac_save_LIBS="$LIBS" | 4836 | ac_save_LIBS="$LIBS" |
| 4828 | LIBS="-lm $LIBS" | 4837 | LIBS="-lm $LIBS" |
| 4829 | cat > conftest.$ac_ext <<EOF | 4838 | cat > conftest.$ac_ext <<EOF |
| 4830 | #line 4831 "configure" | 4839 | #line 4840 "configure" |
| 4831 | #include "confdefs.h" | 4840 | #include "confdefs.h" |
| 4832 | /* Override any gcc2 internal prototype to avoid an error. */ | 4841 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4833 | /* We use char because int might match the return type of a gcc2 | 4842 | /* We use char because int might match the return type of a gcc2 |
| @@ -4838,7 +4847,7 @@ int main() { | |||
| 4838 | sqrt() | 4847 | sqrt() |
| 4839 | ; return 0; } | 4848 | ; return 0; } |
| 4840 | EOF | 4849 | EOF |
| 4841 | if { (eval echo configure:4842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4850 | if { (eval echo configure:4851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4842 | rm -rf conftest* | 4851 | rm -rf conftest* |
| 4843 | eval "ac_cv_lib_$ac_lib_var=yes" | 4852 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4844 | else | 4853 | else |
| @@ -4868,7 +4877,7 @@ fi | |||
| 4868 | 4877 | ||
| 4869 | # Check for mail-locking functions in a "mail" library | 4878 | # Check for mail-locking functions in a "mail" library |
| 4870 | echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 4879 | echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
| 4871 | echo "configure:4872: checking for maillock in -lmail" >&5 | 4880 | echo "configure:4881: checking for maillock in -lmail" >&5 |
| 4872 | ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 4881 | ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
| 4873 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4882 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4874 | echo $ac_n "(cached) $ac_c" 1>&6 | 4883 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4876,7 +4885,7 @@ else | |||
| 4876 | ac_save_LIBS="$LIBS" | 4885 | ac_save_LIBS="$LIBS" |
| 4877 | LIBS="-lmail $LIBS" | 4886 | LIBS="-lmail $LIBS" |
| 4878 | cat > conftest.$ac_ext <<EOF | 4887 | cat > conftest.$ac_ext <<EOF |
| 4879 | #line 4880 "configure" | 4888 | #line 4889 "configure" |
| 4880 | #include "confdefs.h" | 4889 | #include "confdefs.h" |
| 4881 | /* Override any gcc2 internal prototype to avoid an error. */ | 4890 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4882 | /* We use char because int might match the return type of a gcc2 | 4891 | /* We use char because int might match the return type of a gcc2 |
| @@ -4887,7 +4896,7 @@ int main() { | |||
| 4887 | maillock() | 4896 | maillock() |
| 4888 | ; return 0; } | 4897 | ; return 0; } |
| 4889 | EOF | 4898 | EOF |
| 4890 | if { (eval echo configure:4891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4899 | if { (eval echo configure:4900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4891 | rm -rf conftest* | 4900 | rm -rf conftest* |
| 4892 | eval "ac_cv_lib_$ac_lib_var=yes" | 4901 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4893 | else | 4902 | else |
| @@ -4915,7 +4924,7 @@ else | |||
| 4915 | fi | 4924 | fi |
| 4916 | 4925 | ||
| 4917 | echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 4926 | echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
| 4918 | echo "configure:4919: checking for maillock in -llockfile" >&5 | 4927 | echo "configure:4928: checking for maillock in -llockfile" >&5 |
| 4919 | ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 4928 | ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
| 4920 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4929 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4921 | echo $ac_n "(cached) $ac_c" 1>&6 | 4930 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4923,7 +4932,7 @@ else | |||
| 4923 | ac_save_LIBS="$LIBS" | 4932 | ac_save_LIBS="$LIBS" |
| 4924 | LIBS="-llockfile $LIBS" | 4933 | LIBS="-llockfile $LIBS" |
| 4925 | cat > conftest.$ac_ext <<EOF | 4934 | cat > conftest.$ac_ext <<EOF |
| 4926 | #line 4927 "configure" | 4935 | #line 4936 "configure" |
| 4927 | #include "confdefs.h" | 4936 | #include "confdefs.h" |
| 4928 | /* Override any gcc2 internal prototype to avoid an error. */ | 4937 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4929 | /* We use char because int might match the return type of a gcc2 | 4938 | /* We use char because int might match the return type of a gcc2 |
| @@ -4934,7 +4943,7 @@ int main() { | |||
| 4934 | maillock() | 4943 | maillock() |
| 4935 | ; return 0; } | 4944 | ; return 0; } |
| 4936 | EOF | 4945 | EOF |
| 4937 | if { (eval echo configure:4938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4946 | if { (eval echo configure:4947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4938 | rm -rf conftest* | 4947 | rm -rf conftest* |
| 4939 | eval "ac_cv_lib_$ac_lib_var=yes" | 4948 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4940 | else | 4949 | else |
| @@ -4968,7 +4977,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then | |||
| 4968 | # Extract the first word of "liblockfile.so", so it can be a program name with args. | 4977 | # Extract the first word of "liblockfile.so", so it can be a program name with args. |
| 4969 | set dummy liblockfile.so; ac_word=$2 | 4978 | set dummy liblockfile.so; ac_word=$2 |
| 4970 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4979 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 4971 | echo "configure:4972: checking for $ac_word" >&5 | 4980 | echo "configure:4981: checking for $ac_word" >&5 |
| 4972 | if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 4981 | if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
| 4973 | echo $ac_n "(cached) $ac_c" 1>&6 | 4982 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4974 | else | 4983 | else |
| @@ -5009,12 +5018,12 @@ fi | |||
| 5009 | for ac_func in touchlock | 5018 | for ac_func in touchlock |
| 5010 | do | 5019 | do |
| 5011 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5020 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5012 | echo "configure:5013: checking for $ac_func" >&5 | 5021 | echo "configure:5022: checking for $ac_func" >&5 |
| 5013 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5022 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 5014 | echo $ac_n "(cached) $ac_c" 1>&6 | 5023 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5015 | else | 5024 | else |
| 5016 | cat > conftest.$ac_ext <<EOF | 5025 | cat > conftest.$ac_ext <<EOF |
| 5017 | #line 5018 "configure" | 5026 | #line 5027 "configure" |
| 5018 | #include "confdefs.h" | 5027 | #include "confdefs.h" |
| 5019 | /* System header to define __stub macros and hopefully few prototypes, | 5028 | /* System header to define __stub macros and hopefully few prototypes, |
| 5020 | which can conflict with char $ac_func(); below. */ | 5029 | which can conflict with char $ac_func(); below. */ |
| @@ -5023,6 +5032,7 @@ else | |||
| 5023 | /* We use char because int might match the return type of a gcc2 | 5032 | /* We use char because int might match the return type of a gcc2 |
| 5024 | builtin and then its argument prototype would still apply. */ | 5033 | builtin and then its argument prototype would still apply. */ |
| 5025 | char $ac_func(); | 5034 | char $ac_func(); |
| 5035 | char (*f)(); | ||
| 5026 | 5036 | ||
| 5027 | int main() { | 5037 | int main() { |
| 5028 | 5038 | ||
| @@ -5032,12 +5042,12 @@ int main() { | |||
| 5032 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 5042 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 5033 | choke me | 5043 | choke me |
| 5034 | #else | 5044 | #else |
| 5035 | $ac_func(); | 5045 | f = $ac_func; |
| 5036 | #endif | 5046 | #endif |
| 5037 | 5047 | ||
| 5038 | ; return 0; } | 5048 | ; return 0; } |
| 5039 | EOF | 5049 | EOF |
| 5040 | if { (eval echo configure:5041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5050 | if { (eval echo configure:5051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5041 | rm -rf conftest* | 5051 | rm -rf conftest* |
| 5042 | eval "ac_cv_func_$ac_func=yes" | 5052 | eval "ac_cv_func_$ac_func=yes" |
| 5043 | else | 5053 | else |
| @@ -5065,17 +5075,17 @@ for ac_hdr in maillock.h | |||
| 5065 | do | 5075 | do |
| 5066 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5076 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5067 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5077 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5068 | echo "configure:5069: checking for $ac_hdr" >&5 | 5078 | echo "configure:5079: checking for $ac_hdr" >&5 |
| 5069 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5079 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5070 | echo $ac_n "(cached) $ac_c" 1>&6 | 5080 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5071 | else | 5081 | else |
| 5072 | cat > conftest.$ac_ext <<EOF | 5082 | cat > conftest.$ac_ext <<EOF |
| 5073 | #line 5074 "configure" | 5083 | #line 5084 "configure" |
| 5074 | #include "confdefs.h" | 5084 | #include "confdefs.h" |
| 5075 | #include <$ac_hdr> | 5085 | #include <$ac_hdr> |
| 5076 | EOF | 5086 | EOF |
| 5077 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5087 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5078 | { (eval echo configure:5079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5088 | { (eval echo configure:5089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5079 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5089 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5080 | if test -z "$ac_err"; then | 5090 | if test -z "$ac_err"; then |
| 5081 | rm -rf conftest* | 5091 | rm -rf conftest* |
| @@ -5110,12 +5120,12 @@ utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ | |||
| 5110 | __fpending ftello getloadavg mblen mbrlen strsignal | 5120 | __fpending ftello getloadavg mblen mbrlen strsignal |
| 5111 | do | 5121 | do |
| 5112 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5122 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5113 | echo "configure:5114: checking for $ac_func" >&5 | 5123 | echo "configure:5124: checking for $ac_func" >&5 |
| 5114 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5124 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 5115 | echo $ac_n "(cached) $ac_c" 1>&6 | 5125 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5116 | else | 5126 | else |
| 5117 | cat > conftest.$ac_ext <<EOF | 5127 | cat > conftest.$ac_ext <<EOF |
| 5118 | #line 5119 "configure" | 5128 | #line 5129 "configure" |
| 5119 | #include "confdefs.h" | 5129 | #include "confdefs.h" |
| 5120 | /* System header to define __stub macros and hopefully few prototypes, | 5130 | /* System header to define __stub macros and hopefully few prototypes, |
| 5121 | which can conflict with char $ac_func(); below. */ | 5131 | which can conflict with char $ac_func(); below. */ |
| @@ -5124,6 +5134,7 @@ else | |||
| 5124 | /* We use char because int might match the return type of a gcc2 | 5134 | /* We use char because int might match the return type of a gcc2 |
| 5125 | builtin and then its argument prototype would still apply. */ | 5135 | builtin and then its argument prototype would still apply. */ |
| 5126 | char $ac_func(); | 5136 | char $ac_func(); |
| 5137 | char (*f)(); | ||
| 5127 | 5138 | ||
| 5128 | int main() { | 5139 | int main() { |
| 5129 | 5140 | ||
| @@ -5133,12 +5144,12 @@ int main() { | |||
| 5133 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 5144 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 5134 | choke me | 5145 | choke me |
| 5135 | #else | 5146 | #else |
| 5136 | $ac_func(); | 5147 | f = $ac_func; |
| 5137 | #endif | 5148 | #endif |
| 5138 | 5149 | ||
| 5139 | ; return 0; } | 5150 | ; return 0; } |
| 5140 | EOF | 5151 | EOF |
| 5141 | if { (eval echo configure:5142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5152 | if { (eval echo configure:5153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5142 | rm -rf conftest* | 5153 | rm -rf conftest* |
| 5143 | eval "ac_cv_func_$ac_func=yes" | 5154 | eval "ac_cv_func_$ac_func=yes" |
| 5144 | else | 5155 | else |
| @@ -5168,7 +5179,7 @@ done | |||
| 5168 | # It's better to believe a function is not available | 5179 | # It's better to believe a function is not available |
| 5169 | # than to expect to find it in ncurses. | 5180 | # than to expect to find it in ncurses. |
| 5170 | echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 5181 | echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
| 5171 | echo "configure:5172: checking for tparm in -lncurses" >&5 | 5182 | echo "configure:5183: checking for tparm in -lncurses" >&5 |
| 5172 | ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 5183 | ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
| 5173 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5184 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5174 | echo $ac_n "(cached) $ac_c" 1>&6 | 5185 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5176,7 +5187,7 @@ else | |||
| 5176 | ac_save_LIBS="$LIBS" | 5187 | ac_save_LIBS="$LIBS" |
| 5177 | LIBS="-lncurses $LIBS" | 5188 | LIBS="-lncurses $LIBS" |
| 5178 | cat > conftest.$ac_ext <<EOF | 5189 | cat > conftest.$ac_ext <<EOF |
| 5179 | #line 5180 "configure" | 5190 | #line 5191 "configure" |
| 5180 | #include "confdefs.h" | 5191 | #include "confdefs.h" |
| 5181 | /* Override any gcc2 internal prototype to avoid an error. */ | 5192 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5182 | /* We use char because int might match the return type of a gcc2 | 5193 | /* We use char because int might match the return type of a gcc2 |
| @@ -5187,7 +5198,7 @@ int main() { | |||
| 5187 | tparm() | 5198 | tparm() |
| 5188 | ; return 0; } | 5199 | ; return 0; } |
| 5189 | EOF | 5200 | EOF |
| 5190 | if { (eval echo configure:5191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5201 | if { (eval echo configure:5202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5191 | rm -rf conftest* | 5202 | rm -rf conftest* |
| 5192 | eval "ac_cv_lib_$ac_lib_var=yes" | 5203 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5193 | else | 5204 | else |
| @@ -5218,7 +5229,7 @@ fi | |||
| 5218 | # Solaris requires -lintl if you want strerror (which calls dgettext) | 5229 | # Solaris requires -lintl if you want strerror (which calls dgettext) |
| 5219 | # to return localized messages. | 5230 | # to return localized messages. |
| 5220 | echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 5231 | echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
| 5221 | echo "configure:5222: checking for dgettext in -lintl" >&5 | 5232 | echo "configure:5233: checking for dgettext in -lintl" >&5 |
| 5222 | ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 5233 | ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
| 5223 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5234 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5224 | echo $ac_n "(cached) $ac_c" 1>&6 | 5235 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5226,7 +5237,7 @@ else | |||
| 5226 | ac_save_LIBS="$LIBS" | 5237 | ac_save_LIBS="$LIBS" |
| 5227 | LIBS="-lintl $LIBS" | 5238 | LIBS="-lintl $LIBS" |
| 5228 | cat > conftest.$ac_ext <<EOF | 5239 | cat > conftest.$ac_ext <<EOF |
| 5229 | #line 5230 "configure" | 5240 | #line 5241 "configure" |
| 5230 | #include "confdefs.h" | 5241 | #include "confdefs.h" |
| 5231 | /* Override any gcc2 internal prototype to avoid an error. */ | 5242 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5232 | /* We use char because int might match the return type of a gcc2 | 5243 | /* We use char because int might match the return type of a gcc2 |
| @@ -5237,7 +5248,7 @@ int main() { | |||
| 5237 | dgettext() | 5248 | dgettext() |
| 5238 | ; return 0; } | 5249 | ; return 0; } |
| 5239 | EOF | 5250 | EOF |
| 5240 | if { (eval echo configure:5241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5251 | if { (eval echo configure:5252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5241 | rm -rf conftest* | 5252 | rm -rf conftest* |
| 5242 | eval "ac_cv_lib_$ac_lib_var=yes" | 5253 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5243 | else | 5254 | else |
| @@ -5266,7 +5277,7 @@ fi | |||
| 5266 | 5277 | ||
| 5267 | 5278 | ||
| 5268 | echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 5279 | echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 5269 | echo "configure:5270: checking whether localtime caches TZ" >&5 | 5280 | echo "configure:5281: checking whether localtime caches TZ" >&5 |
| 5270 | if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 5281 | if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
| 5271 | echo $ac_n "(cached) $ac_c" 1>&6 | 5282 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5272 | else | 5283 | else |
| @@ -5276,7 +5287,7 @@ if test "$cross_compiling" = yes; then | |||
| 5276 | emacs_cv_localtime_cache=yes | 5287 | emacs_cv_localtime_cache=yes |
| 5277 | else | 5288 | else |
| 5278 | cat > conftest.$ac_ext <<EOF | 5289 | cat > conftest.$ac_ext <<EOF |
| 5279 | #line 5280 "configure" | 5290 | #line 5291 "configure" |
| 5280 | #include "confdefs.h" | 5291 | #include "confdefs.h" |
| 5281 | #include <time.h> | 5292 | #include <time.h> |
| 5282 | extern char **environ; | 5293 | extern char **environ; |
| @@ -5308,7 +5319,7 @@ main() | |||
| 5308 | exit (0); | 5319 | exit (0); |
| 5309 | } | 5320 | } |
| 5310 | EOF | 5321 | EOF |
| 5311 | if { (eval echo configure:5312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5322 | if { (eval echo configure:5323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 5312 | then | 5323 | then |
| 5313 | emacs_cv_localtime_cache=no | 5324 | emacs_cv_localtime_cache=no |
| 5314 | else | 5325 | else |
| @@ -5336,12 +5347,12 @@ fi | |||
| 5336 | 5347 | ||
| 5337 | if test "x$HAVE_TIMEVAL" = xyes; then | 5348 | if test "x$HAVE_TIMEVAL" = xyes; then |
| 5338 | echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 5349 | echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
| 5339 | echo "configure:5340: checking whether gettimeofday can accept two arguments" >&5 | 5350 | echo "configure:5351: checking whether gettimeofday can accept two arguments" >&5 |
| 5340 | if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 5351 | if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
| 5341 | echo $ac_n "(cached) $ac_c" 1>&6 | 5352 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5342 | else | 5353 | else |
| 5343 | cat > conftest.$ac_ext <<EOF | 5354 | cat > conftest.$ac_ext <<EOF |
| 5344 | #line 5345 "configure" | 5355 | #line 5356 "configure" |
| 5345 | #include "confdefs.h" | 5356 | #include "confdefs.h" |
| 5346 | 5357 | ||
| 5347 | #ifdef TIME_WITH_SYS_TIME | 5358 | #ifdef TIME_WITH_SYS_TIME |
| @@ -5363,7 +5374,7 @@ int main() { | |||
| 5363 | 5374 | ||
| 5364 | ; return 0; } | 5375 | ; return 0; } |
| 5365 | EOF | 5376 | EOF |
| 5366 | if { (eval echo configure:5367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5377 | if { (eval echo configure:5378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5367 | rm -rf conftest* | 5378 | rm -rf conftest* |
| 5368 | emacs_cv_gettimeofday_two_arguments=yes | 5379 | emacs_cv_gettimeofday_two_arguments=yes |
| 5369 | else | 5380 | else |
| @@ -5386,12 +5397,12 @@ fi | |||
| 5386 | 5397 | ||
| 5387 | ok_so_far=yes | 5398 | ok_so_far=yes |
| 5388 | echo $ac_n "checking for socket""... $ac_c" 1>&6 | 5399 | echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 5389 | echo "configure:5390: checking for socket" >&5 | 5400 | echo "configure:5401: checking for socket" >&5 |
| 5390 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 5401 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
| 5391 | echo $ac_n "(cached) $ac_c" 1>&6 | 5402 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5392 | else | 5403 | else |
| 5393 | cat > conftest.$ac_ext <<EOF | 5404 | cat > conftest.$ac_ext <<EOF |
| 5394 | #line 5395 "configure" | 5405 | #line 5406 "configure" |
| 5395 | #include "confdefs.h" | 5406 | #include "confdefs.h" |
| 5396 | /* System header to define __stub macros and hopefully few prototypes, | 5407 | /* System header to define __stub macros and hopefully few prototypes, |
| 5397 | which can conflict with char socket(); below. */ | 5408 | which can conflict with char socket(); below. */ |
| @@ -5400,6 +5411,7 @@ else | |||
| 5400 | /* We use char because int might match the return type of a gcc2 | 5411 | /* We use char because int might match the return type of a gcc2 |
| 5401 | builtin and then its argument prototype would still apply. */ | 5412 | builtin and then its argument prototype would still apply. */ |
| 5402 | char socket(); | 5413 | char socket(); |
| 5414 | char (*f)(); | ||
| 5403 | 5415 | ||
| 5404 | int main() { | 5416 | int main() { |
| 5405 | 5417 | ||
| @@ -5409,12 +5421,12 @@ int main() { | |||
| 5409 | #if defined (__stub_socket) || defined (__stub___socket) | 5421 | #if defined (__stub_socket) || defined (__stub___socket) |
| 5410 | choke me | 5422 | choke me |
| 5411 | #else | 5423 | #else |
| 5412 | socket(); | 5424 | f = socket; |
| 5413 | #endif | 5425 | #endif |
| 5414 | 5426 | ||
| 5415 | ; return 0; } | 5427 | ; return 0; } |
| 5416 | EOF | 5428 | EOF |
| 5417 | if { (eval echo configure:5418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5429 | if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5418 | rm -rf conftest* | 5430 | rm -rf conftest* |
| 5419 | eval "ac_cv_func_socket=yes" | 5431 | eval "ac_cv_func_socket=yes" |
| 5420 | else | 5432 | else |
| @@ -5437,17 +5449,17 @@ fi | |||
| 5437 | if test $ok_so_far = yes; then | 5449 | if test $ok_so_far = yes; then |
| 5438 | ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 5450 | ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 5439 | echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 5451 | echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 5440 | echo "configure:5441: checking for netinet/in.h" >&5 | 5452 | echo "configure:5453: checking for netinet/in.h" >&5 |
| 5441 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5453 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5442 | echo $ac_n "(cached) $ac_c" 1>&6 | 5454 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5443 | else | 5455 | else |
| 5444 | cat > conftest.$ac_ext <<EOF | 5456 | cat > conftest.$ac_ext <<EOF |
| 5445 | #line 5446 "configure" | 5457 | #line 5458 "configure" |
| 5446 | #include "confdefs.h" | 5458 | #include "confdefs.h" |
| 5447 | #include <netinet/in.h> | 5459 | #include <netinet/in.h> |
| 5448 | EOF | 5460 | EOF |
| 5449 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5461 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5450 | { (eval echo configure:5451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5462 | { (eval echo configure:5463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5451 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5463 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5452 | if test -z "$ac_err"; then | 5464 | if test -z "$ac_err"; then |
| 5453 | rm -rf conftest* | 5465 | rm -rf conftest* |
| @@ -5473,17 +5485,17 @@ fi | |||
| 5473 | if test $ok_so_far = yes; then | 5485 | if test $ok_so_far = yes; then |
| 5474 | ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 5486 | ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 5475 | echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 5487 | echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 5476 | echo "configure:5477: checking for arpa/inet.h" >&5 | 5488 | echo "configure:5489: checking for arpa/inet.h" >&5 |
| 5477 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5489 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5478 | echo $ac_n "(cached) $ac_c" 1>&6 | 5490 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5479 | else | 5491 | else |
| 5480 | cat > conftest.$ac_ext <<EOF | 5492 | cat > conftest.$ac_ext <<EOF |
| 5481 | #line 5482 "configure" | 5493 | #line 5494 "configure" |
| 5482 | #include "confdefs.h" | 5494 | #include "confdefs.h" |
| 5483 | #include <arpa/inet.h> | 5495 | #include <arpa/inet.h> |
| 5484 | EOF | 5496 | EOF |
| 5485 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5497 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5486 | { (eval echo configure:5487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5498 | { (eval echo configure:5499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5487 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5499 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5488 | if test -z "$ac_err"; then | 5500 | if test -z "$ac_err"; then |
| 5489 | rm -rf conftest* | 5501 | rm -rf conftest* |
| @@ -5520,6 +5532,18 @@ EOF | |||
| 5520 | 5532 | ||
| 5521 | fi | 5533 | fi |
| 5522 | 5534 | ||
| 5535 | echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | ||
| 5536 | echo "configure:5537: checking whether system supports dynamic ptys" >&5 | ||
| 5537 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | ||
| 5538 | echo "$ac_t""yes" 1>&6 | ||
| 5539 | cat >> confdefs.h <<\EOF | ||
| 5540 | #define HAVE_DEV_PTMX 1 | ||
| 5541 | EOF | ||
| 5542 | |||
| 5543 | else | ||
| 5544 | echo "$ac_t""no" 1>&6 | ||
| 5545 | fi | ||
| 5546 | |||
| 5523 | # Set up the CFLAGS for real compilation, so we can substitute it. | 5547 | # Set up the CFLAGS for real compilation, so we can substitute it. |
| 5524 | CFLAGS="$REAL_CFLAGS" | 5548 | CFLAGS="$REAL_CFLAGS" |
| 5525 | 5549 | ||
diff --git a/configure.in b/configure.in index 9fcf264126f..956d5dc2ed6 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -41,7 +41,8 @@ AC_ARG_WITH(pop, | |||
| 41 | [if test "$withval" = yes; then | 41 | [if test "$withval" = yes; then |
| 42 | AC_DEFINE(MAIL_USE_POP) | 42 | AC_DEFINE(MAIL_USE_POP) |
| 43 | else : | 43 | else : |
| 44 | fi]) | 44 | fi], |
| 45 | AC_DEFINE(MAIL_USE_POP)) | ||
| 45 | AC_ARG_WITH(hesiod, | 46 | AC_ARG_WITH(hesiod, |
| 46 | [ --with-hesiod support Hesiod to get the POP server host], | 47 | [ --with-hesiod support Hesiod to get the POP server host], |
| 47 | [AC_DEFINE(HESIOD)]) | 48 | [AC_DEFINE(HESIOD)]) |