diff options
| author | Ken Raeburn | 1999-11-23 22:16:16 +0000 |
|---|---|---|
| committer | Ken Raeburn | 1999-11-23 22:16:16 +0000 |
| commit | a21616bdc57c7065019d2fbf5a2e45fc70c4d355 (patch) | |
| tree | 2776946143c835b790d20dcaa519aa957dce69ff | |
| parent | 5ebc0846effbed992f4b1ddd10059e4ba79558f7 (diff) | |
| download | emacs-a21616bdc57c7065019d2fbf5a2e45fc70c4d355.tar.gz emacs-a21616bdc57c7065019d2fbf5a2e45fc70c4d355.zip | |
* configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
be deleted. Check for the k5crypto library as well as the crypto library; MIT
Kerberos 1.1 changed the name.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rwxr-xr-x | configure | 1184 | ||||
| -rw-r--r-- | configure.in | 38 |
3 files changed, 1001 insertions, 227 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 1999-11-23 Ken Raeburn <raeburn@gnu.org> | ||
| 2 | |||
| 3 | * configure.in: Restore Kerberos code deleted on 1999-05-29 that | ||
| 4 | didn't need to be deleted. Check for the k5crypto library as well | ||
| 5 | as the crypto library; MIT Kerberos 1.1 changed the name. | ||
| 6 | |||
| 1 | 1999-11-18 Dave Love <fx@gnu.org> | 7 | 1999-11-18 Dave Love <fx@gnu.org> |
| 2 | 8 | ||
| 3 | * configure.in: Fix NON_GNU_CPP for Irix 6 to avoid failing tests. | 9 | * configure.in: Fix NON_GNU_CPP for Irix 6 to avoid failing tests. |
| @@ -16,6 +16,10 @@ ac_help="$ac_help | |||
| 16 | ac_help="$ac_help | 16 | ac_help="$ac_help |
| 17 | --without-pop don't support POP mail retrieval with movemail" | 17 | --without-pop don't support POP mail retrieval with movemail" |
| 18 | ac_help="$ac_help | 18 | ac_help="$ac_help |
| 19 | --with-kerberos support Kerberos-authenticated POP" | ||
| 20 | ac_help="$ac_help | ||
| 21 | --with-kerberos5 support Kerberos version 5 authenticated POP" | ||
| 22 | ac_help="$ac_help | ||
| 19 | --with-hesiod support Hesiod to get the POP server host" | 23 | --with-hesiod support Hesiod to get the POP server host" |
| 20 | ac_help="$ac_help | 24 | ac_help="$ac_help |
| 21 | --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no)" | 25 | --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no)" |
| @@ -576,6 +580,33 @@ EOF | |||
| 576 | 580 | ||
| 577 | fi | 581 | fi |
| 578 | 582 | ||
| 583 | # Check whether --with-kerberos or --without-kerberos was given. | ||
| 584 | if test "${with_kerberos+set}" = set; then | ||
| 585 | withval="$with_kerberos" | ||
| 586 | cat >> confdefs.h <<\EOF | ||
| 587 | #define KERBEROS 1 | ||
| 588 | EOF | ||
| 589 | |||
| 590 | fi | ||
| 591 | |||
| 592 | # Check whether --with-kerberos5 or --without-kerberos5 was given. | ||
| 593 | if test "${with_kerberos5+set}" = set; then | ||
| 594 | withval="$with_kerberos5" | ||
| 595 | if test "${with_kerberos5+set}" = set; then | ||
| 596 | if test "${with_kerberos+set}" != set; then | ||
| 597 | with_kerberos=yes | ||
| 598 | cat >> confdefs.h <<\EOF | ||
| 599 | #define KERBEROS 1 | ||
| 600 | EOF | ||
| 601 | |||
| 602 | fi | ||
| 603 | fi | ||
| 604 | cat >> confdefs.h <<\EOF | ||
| 605 | #define KERBEROS5 1 | ||
| 606 | EOF | ||
| 607 | |||
| 608 | fi | ||
| 609 | |||
| 579 | # Check whether --with-hesiod or --without-hesiod was given. | 610 | # Check whether --with-hesiod or --without-hesiod was given. |
| 580 | if test "${with_hesiod+set}" = set; then | 611 | if test "${with_hesiod+set}" = set; then |
| 581 | withval="$with_hesiod" | 612 | withval="$with_hesiod" |
| @@ -713,7 +744,7 @@ else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | |||
| 713 | fi | 744 | fi |
| 714 | 745 | ||
| 715 | echo $ac_n "checking host system type""... $ac_c" 1>&6 | 746 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
| 716 | echo "configure:717: checking host system type" >&5 | 747 | echo "configure:748: checking host system type" >&5 |
| 717 | 748 | ||
| 718 | host_alias=$host | 749 | host_alias=$host |
| 719 | case "$host_alias" in | 750 | case "$host_alias" in |
| @@ -1659,7 +1690,7 @@ case ${with_gcc} in | |||
| 1659 | * ) # Extract the first word of "gcc", so it can be a program name with args. | 1690 | * ) # Extract the first word of "gcc", so it can be a program name with args. |
| 1660 | set dummy gcc; ac_word=$2 | 1691 | set dummy gcc; ac_word=$2 |
| 1661 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1692 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1662 | echo "configure:1663: checking for $ac_word" >&5 | 1693 | echo "configure:1694: checking for $ac_word" >&5 |
| 1663 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1694 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 1664 | echo $ac_n "(cached) $ac_c" 1>&6 | 1695 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 1665 | else | 1696 | else |
| @@ -1689,7 +1720,7 @@ if test -z "$CC"; then | |||
| 1689 | # Extract the first word of "cc", so it can be a program name with args. | 1720 | # Extract the first word of "cc", so it can be a program name with args. |
| 1690 | set dummy cc; ac_word=$2 | 1721 | set dummy cc; ac_word=$2 |
| 1691 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1722 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1692 | echo "configure:1693: checking for $ac_word" >&5 | 1723 | echo "configure:1724: checking for $ac_word" >&5 |
| 1693 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1724 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 1694 | echo $ac_n "(cached) $ac_c" 1>&6 | 1725 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 1695 | else | 1726 | else |
| @@ -1740,7 +1771,7 @@ fi | |||
| 1740 | # Extract the first word of "cl", so it can be a program name with args. | 1771 | # Extract the first word of "cl", so it can be a program name with args. |
| 1741 | set dummy cl; ac_word=$2 | 1772 | set dummy cl; ac_word=$2 |
| 1742 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1773 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1743 | echo "configure:1744: checking for $ac_word" >&5 | 1774 | echo "configure:1775: checking for $ac_word" >&5 |
| 1744 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1775 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 1745 | echo $ac_n "(cached) $ac_c" 1>&6 | 1776 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 1746 | else | 1777 | else |
| @@ -1772,7 +1803,7 @@ fi | |||
| 1772 | fi | 1803 | fi |
| 1773 | 1804 | ||
| 1774 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1805 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1775 | echo "configure:1776: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1806 | echo "configure:1807: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1776 | 1807 | ||
| 1777 | ac_ext=c | 1808 | ac_ext=c |
| 1778 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1809 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| @@ -1783,12 +1814,12 @@ cross_compiling=$ac_cv_prog_cc_cross | |||
| 1783 | 1814 | ||
| 1784 | cat > conftest.$ac_ext << EOF | 1815 | cat > conftest.$ac_ext << EOF |
| 1785 | 1816 | ||
| 1786 | #line 1787 "configure" | 1817 | #line 1818 "configure" |
| 1787 | #include "confdefs.h" | 1818 | #include "confdefs.h" |
| 1788 | 1819 | ||
| 1789 | main(){return(0);} | 1820 | main(){return(0);} |
| 1790 | EOF | 1821 | EOF |
| 1791 | if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1822 | if { (eval echo configure:1823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1792 | ac_cv_prog_cc_works=yes | 1823 | ac_cv_prog_cc_works=yes |
| 1793 | # If we can't run a trivial program, we are probably using a cross compiler. | 1824 | # If we can't run a trivial program, we are probably using a cross compiler. |
| 1794 | if (./conftest; exit) 2>/dev/null; then | 1825 | if (./conftest; exit) 2>/dev/null; then |
| @@ -1814,12 +1845,12 @@ if test $ac_cv_prog_cc_works = no; then | |||
| 1814 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1845 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1815 | fi | 1846 | fi |
| 1816 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1847 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1817 | echo "configure:1818: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1848 | echo "configure:1849: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1818 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1849 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1819 | cross_compiling=$ac_cv_prog_cc_cross | 1850 | cross_compiling=$ac_cv_prog_cc_cross |
| 1820 | 1851 | ||
| 1821 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1852 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1822 | echo "configure:1823: checking whether we are using GNU C" >&5 | 1853 | echo "configure:1854: checking whether we are using GNU C" >&5 |
| 1823 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 1854 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
| 1824 | echo $ac_n "(cached) $ac_c" 1>&6 | 1855 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 1825 | else | 1856 | else |
| @@ -1828,7 +1859,7 @@ else | |||
| 1828 | yes; | 1859 | yes; |
| 1829 | #endif | 1860 | #endif |
| 1830 | EOF | 1861 | EOF |
| 1831 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1862 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1832 | ac_cv_prog_gcc=yes | 1863 | ac_cv_prog_gcc=yes |
| 1833 | else | 1864 | else |
| 1834 | ac_cv_prog_gcc=no | 1865 | ac_cv_prog_gcc=no |
| @@ -1847,7 +1878,7 @@ ac_test_CFLAGS="${CFLAGS+set}" | |||
| 1847 | ac_save_CFLAGS="$CFLAGS" | 1878 | ac_save_CFLAGS="$CFLAGS" |
| 1848 | CFLAGS= | 1879 | CFLAGS= |
| 1849 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1880 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1850 | echo "configure:1851: checking whether ${CC-cc} accepts -g" >&5 | 1881 | echo "configure:1882: checking whether ${CC-cc} accepts -g" >&5 |
| 1851 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1882 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
| 1852 | echo $ac_n "(cached) $ac_c" 1>&6 | 1883 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 1853 | else | 1884 | else |
| @@ -1927,7 +1958,7 @@ fi | |||
| 1927 | #### #undef clause to src/config.h.in for autoconf to modify. | 1958 | #### #undef clause to src/config.h.in for autoconf to modify. |
| 1928 | 1959 | ||
| 1929 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 1960 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| 1930 | echo "configure:1931: checking whether ln -s works" >&5 | 1961 | echo "configure:1962: checking whether ln -s works" >&5 |
| 1931 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 1962 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
| 1932 | echo $ac_n "(cached) $ac_c" 1>&6 | 1963 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 1933 | else | 1964 | else |
| @@ -1948,7 +1979,7 @@ else | |||
| 1948 | fi | 1979 | fi |
| 1949 | 1980 | ||
| 1950 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1981 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
| 1951 | echo "configure:1952: checking how to run the C preprocessor" >&5 | 1982 | echo "configure:1983: checking how to run the C preprocessor" >&5 |
| 1952 | # On Suns, sometimes $CPP names a directory. | 1983 | # On Suns, sometimes $CPP names a directory. |
| 1953 | if test -n "$CPP" && test -d "$CPP"; then | 1984 | if test -n "$CPP" && test -d "$CPP"; then |
| 1954 | CPP= | 1985 | CPP= |
| @@ -1963,13 +1994,13 @@ else | |||
| 1963 | # On the NeXT, cc -E runs the code through the compiler's parser, | 1994 | # On the NeXT, cc -E runs the code through the compiler's parser, |
| 1964 | # not just through cpp. | 1995 | # not just through cpp. |
| 1965 | cat > conftest.$ac_ext <<EOF | 1996 | cat > conftest.$ac_ext <<EOF |
| 1966 | #line 1967 "configure" | 1997 | #line 1998 "configure" |
| 1967 | #include "confdefs.h" | 1998 | #include "confdefs.h" |
| 1968 | #include <assert.h> | 1999 | #include <assert.h> |
| 1969 | Syntax Error | 2000 | Syntax Error |
| 1970 | EOF | 2001 | EOF |
| 1971 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2002 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1972 | { (eval echo configure:1973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2003 | { (eval echo configure:2004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1973 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2004 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1974 | if test -z "$ac_err"; then | 2005 | if test -z "$ac_err"; then |
| 1975 | : | 2006 | : |
| @@ -1980,13 +2011,13 @@ else | |||
| 1980 | rm -rf conftest* | 2011 | rm -rf conftest* |
| 1981 | CPP="${CC-cc} -E -traditional-cpp" | 2012 | CPP="${CC-cc} -E -traditional-cpp" |
| 1982 | cat > conftest.$ac_ext <<EOF | 2013 | cat > conftest.$ac_ext <<EOF |
| 1983 | #line 1984 "configure" | 2014 | #line 2015 "configure" |
| 1984 | #include "confdefs.h" | 2015 | #include "confdefs.h" |
| 1985 | #include <assert.h> | 2016 | #include <assert.h> |
| 1986 | Syntax Error | 2017 | Syntax Error |
| 1987 | EOF | 2018 | EOF |
| 1988 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2019 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 1989 | { (eval echo configure:1990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2020 | { (eval echo configure:2021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 1990 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2021 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 1991 | if test -z "$ac_err"; then | 2022 | if test -z "$ac_err"; then |
| 1992 | : | 2023 | : |
| @@ -1997,13 +2028,13 @@ else | |||
| 1997 | rm -rf conftest* | 2028 | rm -rf conftest* |
| 1998 | CPP="${CC-cc} -nologo -E" | 2029 | CPP="${CC-cc} -nologo -E" |
| 1999 | cat > conftest.$ac_ext <<EOF | 2030 | cat > conftest.$ac_ext <<EOF |
| 2000 | #line 2001 "configure" | 2031 | #line 2032 "configure" |
| 2001 | #include "confdefs.h" | 2032 | #include "confdefs.h" |
| 2002 | #include <assert.h> | 2033 | #include <assert.h> |
| 2003 | Syntax Error | 2034 | Syntax Error |
| 2004 | EOF | 2035 | EOF |
| 2005 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2036 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2006 | { (eval echo configure:2007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2037 | { (eval echo configure:2038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2007 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2038 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2008 | if test -z "$ac_err"; then | 2039 | if test -z "$ac_err"; then |
| 2009 | : | 2040 | : |
| @@ -2039,7 +2070,7 @@ echo "$ac_t""$CPP" 1>&6 | |||
| 2039 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2070 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 2040 | # ./install, which can be erroneously created by make from ./install.sh. | 2071 | # ./install, which can be erroneously created by make from ./install.sh. |
| 2041 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2072 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 2042 | echo "configure:2043: checking for a BSD compatible install" >&5 | 2073 | echo "configure:2074: checking for a BSD compatible install" >&5 |
| 2043 | if test -z "$INSTALL"; then | 2074 | if test -z "$INSTALL"; then |
| 2044 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 2075 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| 2045 | echo $ac_n "(cached) $ac_c" 1>&6 | 2076 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -2096,7 +2127,7 @@ do | |||
| 2096 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 2127 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2097 | set dummy $ac_prog; ac_word=$2 | 2128 | set dummy $ac_prog; ac_word=$2 |
| 2098 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2129 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 2099 | echo "configure:2100: checking for $ac_word" >&5 | 2130 | echo "configure:2131: checking for $ac_word" >&5 |
| 2100 | if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then | 2131 | if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
| 2101 | echo $ac_n "(cached) $ac_c" 1>&6 | 2132 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2102 | else | 2133 | else |
| @@ -2128,9 +2159,9 @@ test -n "$YACC" || YACC="yacc" | |||
| 2128 | 2159 | ||
| 2129 | 2160 | ||
| 2130 | echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2161 | echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
| 2131 | echo "configure:2132: checking for AIX" >&5 | 2162 | echo "configure:2163: checking for AIX" >&5 |
| 2132 | cat > conftest.$ac_ext <<EOF | 2163 | cat > conftest.$ac_ext <<EOF |
| 2133 | #line 2134 "configure" | 2164 | #line 2165 "configure" |
| 2134 | #include "confdefs.h" | 2165 | #include "confdefs.h" |
| 2135 | #ifdef _AIX | 2166 | #ifdef _AIX |
| 2136 | yes | 2167 | yes |
| @@ -2157,17 +2188,17 @@ for ac_hdr in machine/soundcard.h sys/soundcard.h | |||
| 2157 | do | 2188 | do |
| 2158 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2189 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2159 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2190 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2160 | echo "configure:2161: checking for $ac_hdr" >&5 | 2191 | echo "configure:2192: checking for $ac_hdr" >&5 |
| 2161 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2192 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 2162 | echo $ac_n "(cached) $ac_c" 1>&6 | 2193 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2163 | else | 2194 | else |
| 2164 | cat > conftest.$ac_ext <<EOF | 2195 | cat > conftest.$ac_ext <<EOF |
| 2165 | #line 2166 "configure" | 2196 | #line 2197 "configure" |
| 2166 | #include "confdefs.h" | 2197 | #include "confdefs.h" |
| 2167 | #include <$ac_hdr> | 2198 | #include <$ac_hdr> |
| 2168 | EOF | 2199 | EOF |
| 2169 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2200 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2170 | { (eval echo configure:2171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2201 | { (eval echo configure:2202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2171 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2202 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2172 | if test -z "$ac_err"; then | 2203 | if test -z "$ac_err"; then |
| 2173 | rm -rf conftest* | 2204 | rm -rf conftest* |
| @@ -2200,17 +2231,17 @@ for ac_hdr in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ | |||
| 2200 | do | 2231 | do |
| 2201 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2232 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 2202 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2233 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 2203 | echo "configure:2204: checking for $ac_hdr" >&5 | 2234 | echo "configure:2235: checking for $ac_hdr" >&5 |
| 2204 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2235 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 2205 | echo $ac_n "(cached) $ac_c" 1>&6 | 2236 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2206 | else | 2237 | else |
| 2207 | cat > conftest.$ac_ext <<EOF | 2238 | cat > conftest.$ac_ext <<EOF |
| 2208 | #line 2209 "configure" | 2239 | #line 2240 "configure" |
| 2209 | #include "confdefs.h" | 2240 | #include "confdefs.h" |
| 2210 | #include <$ac_hdr> | 2241 | #include <$ac_hdr> |
| 2211 | EOF | 2242 | EOF |
| 2212 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2243 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2213 | { (eval echo configure:2214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2244 | { (eval echo configure:2245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2214 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2245 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2215 | if test -z "$ac_err"; then | 2246 | if test -z "$ac_err"; then |
| 2216 | rm -rf conftest* | 2247 | rm -rf conftest* |
| @@ -2237,12 +2268,12 @@ fi | |||
| 2237 | done | 2268 | done |
| 2238 | 2269 | ||
| 2239 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2270 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| 2240 | echo "configure:2241: checking for ANSI C header files" >&5 | 2271 | echo "configure:2272: checking for ANSI C header files" >&5 |
| 2241 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 2272 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
| 2242 | echo $ac_n "(cached) $ac_c" 1>&6 | 2273 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2243 | else | 2274 | else |
| 2244 | cat > conftest.$ac_ext <<EOF | 2275 | cat > conftest.$ac_ext <<EOF |
| 2245 | #line 2246 "configure" | 2276 | #line 2277 "configure" |
| 2246 | #include "confdefs.h" | 2277 | #include "confdefs.h" |
| 2247 | #include <stdlib.h> | 2278 | #include <stdlib.h> |
| 2248 | #include <stdarg.h> | 2279 | #include <stdarg.h> |
| @@ -2250,7 +2281,7 @@ else | |||
| 2250 | #include <float.h> | 2281 | #include <float.h> |
| 2251 | EOF | 2282 | EOF |
| 2252 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2283 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2253 | { (eval echo configure:2254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2284 | { (eval echo configure:2285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2254 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2285 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2255 | if test -z "$ac_err"; then | 2286 | if test -z "$ac_err"; then |
| 2256 | rm -rf conftest* | 2287 | rm -rf conftest* |
| @@ -2267,7 +2298,7 @@ rm -f conftest* | |||
| 2267 | if test $ac_cv_header_stdc = yes; then | 2298 | if test $ac_cv_header_stdc = yes; then |
| 2268 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2299 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| 2269 | cat > conftest.$ac_ext <<EOF | 2300 | cat > conftest.$ac_ext <<EOF |
| 2270 | #line 2271 "configure" | 2301 | #line 2302 "configure" |
| 2271 | #include "confdefs.h" | 2302 | #include "confdefs.h" |
| 2272 | #include <string.h> | 2303 | #include <string.h> |
| 2273 | EOF | 2304 | EOF |
| @@ -2285,7 +2316,7 @@ fi | |||
| 2285 | if test $ac_cv_header_stdc = yes; then | 2316 | if test $ac_cv_header_stdc = yes; then |
| 2286 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2317 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| 2287 | cat > conftest.$ac_ext <<EOF | 2318 | cat > conftest.$ac_ext <<EOF |
| 2288 | #line 2289 "configure" | 2319 | #line 2320 "configure" |
| 2289 | #include "confdefs.h" | 2320 | #include "confdefs.h" |
| 2290 | #include <stdlib.h> | 2321 | #include <stdlib.h> |
| 2291 | EOF | 2322 | EOF |
| @@ -2306,7 +2337,7 @@ if test "$cross_compiling" = yes; then | |||
| 2306 | : | 2337 | : |
| 2307 | else | 2338 | else |
| 2308 | cat > conftest.$ac_ext <<EOF | 2339 | cat > conftest.$ac_ext <<EOF |
| 2309 | #line 2310 "configure" | 2340 | #line 2341 "configure" |
| 2310 | #include "confdefs.h" | 2341 | #include "confdefs.h" |
| 2311 | #include <ctype.h> | 2342 | #include <ctype.h> |
| 2312 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2343 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
| @@ -2317,7 +2348,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | |||
| 2317 | exit (0); } | 2348 | exit (0); } |
| 2318 | 2349 | ||
| 2319 | EOF | 2350 | EOF |
| 2320 | if { (eval echo configure:2321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2351 | if { (eval echo configure:2352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 2321 | then | 2352 | then |
| 2322 | : | 2353 | : |
| 2323 | else | 2354 | else |
| @@ -2341,12 +2372,12 @@ EOF | |||
| 2341 | fi | 2372 | fi |
| 2342 | 2373 | ||
| 2343 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2374 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
| 2344 | echo "configure:2345: checking whether time.h and sys/time.h may both be included" >&5 | 2375 | echo "configure:2376: checking whether time.h and sys/time.h may both be included" >&5 |
| 2345 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 2376 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
| 2346 | echo $ac_n "(cached) $ac_c" 1>&6 | 2377 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2347 | else | 2378 | else |
| 2348 | cat > conftest.$ac_ext <<EOF | 2379 | cat > conftest.$ac_ext <<EOF |
| 2349 | #line 2350 "configure" | 2380 | #line 2381 "configure" |
| 2350 | #include "confdefs.h" | 2381 | #include "confdefs.h" |
| 2351 | #include <sys/types.h> | 2382 | #include <sys/types.h> |
| 2352 | #include <sys/time.h> | 2383 | #include <sys/time.h> |
| @@ -2355,7 +2386,7 @@ int main() { | |||
| 2355 | struct tm *tp; | 2386 | struct tm *tp; |
| 2356 | ; return 0; } | 2387 | ; return 0; } |
| 2357 | EOF | 2388 | EOF |
| 2358 | if { (eval echo configure:2359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2389 | if { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2359 | rm -rf conftest* | 2390 | rm -rf conftest* |
| 2360 | ac_cv_header_time=yes | 2391 | ac_cv_header_time=yes |
| 2361 | else | 2392 | else |
| @@ -2376,12 +2407,12 @@ EOF | |||
| 2376 | fi | 2407 | fi |
| 2377 | 2408 | ||
| 2378 | echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2409 | echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
| 2379 | echo "configure:2380: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2410 | echo "configure:2411: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
| 2380 | if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then | 2411 | if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then |
| 2381 | echo $ac_n "(cached) $ac_c" 1>&6 | 2412 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2382 | else | 2413 | else |
| 2383 | cat > conftest.$ac_ext <<EOF | 2414 | cat > conftest.$ac_ext <<EOF |
| 2384 | #line 2385 "configure" | 2415 | #line 2416 "configure" |
| 2385 | #include "confdefs.h" | 2416 | #include "confdefs.h" |
| 2386 | #include <sys/types.h> | 2417 | #include <sys/types.h> |
| 2387 | #include <signal.h> | 2418 | #include <signal.h> |
| @@ -2393,7 +2424,7 @@ int main() { | |||
| 2393 | char *msg = *(sys_siglist + 1); | 2424 | char *msg = *(sys_siglist + 1); |
| 2394 | ; return 0; } | 2425 | ; return 0; } |
| 2395 | EOF | 2426 | EOF |
| 2396 | if { (eval echo configure:2397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2427 | if { (eval echo configure:2428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2397 | rm -rf conftest* | 2428 | rm -rf conftest* |
| 2398 | ac_cv_decl_sys_siglist=yes | 2429 | ac_cv_decl_sys_siglist=yes |
| 2399 | else | 2430 | else |
| @@ -2415,12 +2446,12 @@ fi | |||
| 2415 | 2446 | ||
| 2416 | 2447 | ||
| 2417 | echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2448 | echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
| 2418 | echo "configure:2419: checking for struct utimbuf" >&5 | 2449 | echo "configure:2450: checking for struct utimbuf" >&5 |
| 2419 | if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then | 2450 | if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then |
| 2420 | echo $ac_n "(cached) $ac_c" 1>&6 | 2451 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2421 | else | 2452 | else |
| 2422 | cat > conftest.$ac_ext <<EOF | 2453 | cat > conftest.$ac_ext <<EOF |
| 2423 | #line 2424 "configure" | 2454 | #line 2455 "configure" |
| 2424 | #include "confdefs.h" | 2455 | #include "confdefs.h" |
| 2425 | #ifdef TIME_WITH_SYS_TIME | 2456 | #ifdef TIME_WITH_SYS_TIME |
| 2426 | #include <sys/time.h> | 2457 | #include <sys/time.h> |
| @@ -2439,7 +2470,7 @@ int main() { | |||
| 2439 | static struct utimbuf x; x.actime = x.modtime; | 2470 | static struct utimbuf x; x.actime = x.modtime; |
| 2440 | ; return 0; } | 2471 | ; return 0; } |
| 2441 | EOF | 2472 | EOF |
| 2442 | if { (eval echo configure:2443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2473 | if { (eval echo configure:2474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2443 | rm -rf conftest* | 2474 | rm -rf conftest* |
| 2444 | emacs_cv_struct_utimbuf=yes | 2475 | emacs_cv_struct_utimbuf=yes |
| 2445 | else | 2476 | else |
| @@ -2460,12 +2491,12 @@ EOF | |||
| 2460 | fi | 2491 | fi |
| 2461 | 2492 | ||
| 2462 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2493 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
| 2463 | echo "configure:2464: checking return type of signal handlers" >&5 | 2494 | echo "configure:2495: checking return type of signal handlers" >&5 |
| 2464 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 2495 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
| 2465 | echo $ac_n "(cached) $ac_c" 1>&6 | 2496 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2466 | else | 2497 | else |
| 2467 | cat > conftest.$ac_ext <<EOF | 2498 | cat > conftest.$ac_ext <<EOF |
| 2468 | #line 2469 "configure" | 2499 | #line 2500 "configure" |
| 2469 | #include "confdefs.h" | 2500 | #include "confdefs.h" |
| 2470 | #include <sys/types.h> | 2501 | #include <sys/types.h> |
| 2471 | #include <signal.h> | 2502 | #include <signal.h> |
| @@ -2482,7 +2513,7 @@ int main() { | |||
| 2482 | int i; | 2513 | int i; |
| 2483 | ; return 0; } | 2514 | ; return 0; } |
| 2484 | EOF | 2515 | EOF |
| 2485 | if { (eval echo configure:2486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2516 | if { (eval echo configure:2517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2486 | rm -rf conftest* | 2517 | rm -rf conftest* |
| 2487 | ac_cv_type_signal=void | 2518 | ac_cv_type_signal=void |
| 2488 | else | 2519 | else |
| @@ -2502,12 +2533,12 @@ EOF | |||
| 2502 | 2533 | ||
| 2503 | 2534 | ||
| 2504 | echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 2535 | echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
| 2505 | echo "configure:2506: checking for struct timeval" >&5 | 2536 | echo "configure:2537: checking for struct timeval" >&5 |
| 2506 | if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then | 2537 | if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then |
| 2507 | echo $ac_n "(cached) $ac_c" 1>&6 | 2538 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2508 | else | 2539 | else |
| 2509 | cat > conftest.$ac_ext <<EOF | 2540 | cat > conftest.$ac_ext <<EOF |
| 2510 | #line 2511 "configure" | 2541 | #line 2542 "configure" |
| 2511 | #include "confdefs.h" | 2542 | #include "confdefs.h" |
| 2512 | #ifdef TIME_WITH_SYS_TIME | 2543 | #ifdef TIME_WITH_SYS_TIME |
| 2513 | #include <sys/time.h> | 2544 | #include <sys/time.h> |
| @@ -2523,7 +2554,7 @@ int main() { | |||
| 2523 | static struct timeval x; x.tv_sec = x.tv_usec; | 2554 | static struct timeval x; x.tv_sec = x.tv_usec; |
| 2524 | ; return 0; } | 2555 | ; return 0; } |
| 2525 | EOF | 2556 | EOF |
| 2526 | if { (eval echo configure:2527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2557 | if { (eval echo configure:2558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2527 | rm -rf conftest* | 2558 | rm -rf conftest* |
| 2528 | emacs_cv_struct_timeval=yes | 2559 | emacs_cv_struct_timeval=yes |
| 2529 | else | 2560 | else |
| @@ -2545,12 +2576,12 @@ EOF | |||
| 2545 | fi | 2576 | fi |
| 2546 | 2577 | ||
| 2547 | echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 2578 | echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
| 2548 | echo "configure:2549: checking whether struct tm is in sys/time.h or time.h" >&5 | 2579 | echo "configure:2580: checking whether struct tm is in sys/time.h or time.h" >&5 |
| 2549 | if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 2580 | if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
| 2550 | echo $ac_n "(cached) $ac_c" 1>&6 | 2581 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2551 | else | 2582 | else |
| 2552 | cat > conftest.$ac_ext <<EOF | 2583 | cat > conftest.$ac_ext <<EOF |
| 2553 | #line 2554 "configure" | 2584 | #line 2585 "configure" |
| 2554 | #include "confdefs.h" | 2585 | #include "confdefs.h" |
| 2555 | #include <sys/types.h> | 2586 | #include <sys/types.h> |
| 2556 | #include <time.h> | 2587 | #include <time.h> |
| @@ -2558,7 +2589,7 @@ int main() { | |||
| 2558 | struct tm *tp; tp->tm_sec; | 2589 | struct tm *tp; tp->tm_sec; |
| 2559 | ; return 0; } | 2590 | ; return 0; } |
| 2560 | EOF | 2591 | EOF |
| 2561 | if { (eval echo configure:2562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2592 | if { (eval echo configure:2593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2562 | rm -rf conftest* | 2593 | rm -rf conftest* |
| 2563 | ac_cv_struct_tm=time.h | 2594 | ac_cv_struct_tm=time.h |
| 2564 | else | 2595 | else |
| @@ -2579,12 +2610,12 @@ EOF | |||
| 2579 | fi | 2610 | fi |
| 2580 | 2611 | ||
| 2581 | echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 2612 | echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
| 2582 | echo "configure:2583: checking for tm_zone in struct tm" >&5 | 2613 | echo "configure:2614: checking for tm_zone in struct tm" >&5 |
| 2583 | if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then | 2614 | if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then |
| 2584 | echo $ac_n "(cached) $ac_c" 1>&6 | 2615 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2585 | else | 2616 | else |
| 2586 | cat > conftest.$ac_ext <<EOF | 2617 | cat > conftest.$ac_ext <<EOF |
| 2587 | #line 2588 "configure" | 2618 | #line 2619 "configure" |
| 2588 | #include "confdefs.h" | 2619 | #include "confdefs.h" |
| 2589 | #include <sys/types.h> | 2620 | #include <sys/types.h> |
| 2590 | #include <$ac_cv_struct_tm> | 2621 | #include <$ac_cv_struct_tm> |
| @@ -2592,7 +2623,7 @@ int main() { | |||
| 2592 | struct tm tm; tm.tm_zone; | 2623 | struct tm tm; tm.tm_zone; |
| 2593 | ; return 0; } | 2624 | ; return 0; } |
| 2594 | EOF | 2625 | EOF |
| 2595 | if { (eval echo configure:2596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2626 | if { (eval echo configure:2627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2596 | rm -rf conftest* | 2627 | rm -rf conftest* |
| 2597 | ac_cv_struct_tm_zone=yes | 2628 | ac_cv_struct_tm_zone=yes |
| 2598 | else | 2629 | else |
| @@ -2612,12 +2643,12 @@ EOF | |||
| 2612 | 2643 | ||
| 2613 | else | 2644 | else |
| 2614 | echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 2645 | echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
| 2615 | echo "configure:2616: checking for tzname" >&5 | 2646 | echo "configure:2647: checking for tzname" >&5 |
| 2616 | if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then | 2647 | if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then |
| 2617 | echo $ac_n "(cached) $ac_c" 1>&6 | 2648 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2618 | else | 2649 | else |
| 2619 | cat > conftest.$ac_ext <<EOF | 2650 | cat > conftest.$ac_ext <<EOF |
| 2620 | #line 2621 "configure" | 2651 | #line 2652 "configure" |
| 2621 | #include "confdefs.h" | 2652 | #include "confdefs.h" |
| 2622 | #include <time.h> | 2653 | #include <time.h> |
| 2623 | #ifndef tzname /* For SGI. */ | 2654 | #ifndef tzname /* For SGI. */ |
| @@ -2627,7 +2658,7 @@ int main() { | |||
| 2627 | atoi(*tzname); | 2658 | atoi(*tzname); |
| 2628 | ; return 0; } | 2659 | ; return 0; } |
| 2629 | EOF | 2660 | EOF |
| 2630 | if { (eval echo configure:2631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2661 | if { (eval echo configure:2662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2631 | rm -rf conftest* | 2662 | rm -rf conftest* |
| 2632 | ac_cv_var_tzname=yes | 2663 | ac_cv_var_tzname=yes |
| 2633 | else | 2664 | else |
| @@ -2649,19 +2680,19 @@ EOF | |||
| 2649 | fi | 2680 | fi |
| 2650 | 2681 | ||
| 2651 | echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | 2682 | echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 |
| 2652 | echo "configure:2653: checking for tm_gmtoff in struct tm" >&5 | 2683 | echo "configure:2684: checking for tm_gmtoff in struct tm" >&5 |
| 2653 | if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then | 2684 | if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then |
| 2654 | echo $ac_n "(cached) $ac_c" 1>&6 | 2685 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2655 | else | 2686 | else |
| 2656 | cat > conftest.$ac_ext <<EOF | 2687 | cat > conftest.$ac_ext <<EOF |
| 2657 | #line 2658 "configure" | 2688 | #line 2689 "configure" |
| 2658 | #include "confdefs.h" | 2689 | #include "confdefs.h" |
| 2659 | #include <time.h> | 2690 | #include <time.h> |
| 2660 | int main() { | 2691 | int main() { |
| 2661 | struct tm t; t.tm_gmtoff = 0 | 2692 | struct tm t; t.tm_gmtoff = 0 |
| 2662 | ; return 0; } | 2693 | ; return 0; } |
| 2663 | EOF | 2694 | EOF |
| 2664 | if { (eval echo configure:2665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2695 | if { (eval echo configure:2696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2665 | rm -rf conftest* | 2696 | rm -rf conftest* |
| 2666 | emacs_cv_tm_gmtoff=yes | 2697 | emacs_cv_tm_gmtoff=yes |
| 2667 | else | 2698 | else |
| @@ -2682,12 +2713,12 @@ EOF | |||
| 2682 | fi | 2713 | fi |
| 2683 | 2714 | ||
| 2684 | echo $ac_n "checking for working const""... $ac_c" 1>&6 | 2715 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
| 2685 | echo "configure:2686: checking for working const" >&5 | 2716 | echo "configure:2717: checking for working const" >&5 |
| 2686 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 2717 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
| 2687 | echo $ac_n "(cached) $ac_c" 1>&6 | 2718 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2688 | else | 2719 | else |
| 2689 | cat > conftest.$ac_ext <<EOF | 2720 | cat > conftest.$ac_ext <<EOF |
| 2690 | #line 2691 "configure" | 2721 | #line 2722 "configure" |
| 2691 | #include "confdefs.h" | 2722 | #include "confdefs.h" |
| 2692 | 2723 | ||
| 2693 | int main() { | 2724 | int main() { |
| @@ -2736,7 +2767,7 @@ ccp = (char const *const *) p; | |||
| 2736 | 2767 | ||
| 2737 | ; return 0; } | 2768 | ; return 0; } |
| 2738 | EOF | 2769 | EOF |
| 2739 | if { (eval echo configure:2740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2770 | if { (eval echo configure:2771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 2740 | rm -rf conftest* | 2771 | rm -rf conftest* |
| 2741 | ac_cv_c_const=yes | 2772 | ac_cv_c_const=yes |
| 2742 | else | 2773 | else |
| @@ -2758,7 +2789,7 @@ fi | |||
| 2758 | 2789 | ||
| 2759 | 2790 | ||
| 2760 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 2791 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 2761 | echo "configure:2762: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 2792 | echo "configure:2793: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 2762 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 2793 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 2763 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 2794 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| 2764 | echo $ac_n "(cached) $ac_c" 1>&6 | 2795 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -2786,7 +2817,7 @@ fi | |||
| 2786 | 2817 | ||
| 2787 | 2818 | ||
| 2788 | echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 2819 | echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
| 2789 | echo "configure:2790: checking for long file names" >&5 | 2820 | echo "configure:2821: checking for long file names" >&5 |
| 2790 | if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then | 2821 | if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then |
| 2791 | echo $ac_n "(cached) $ac_c" 1>&6 | 2822 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 2792 | else | 2823 | else |
| @@ -2837,7 +2868,7 @@ fi | |||
| 2837 | # Uses ac_ vars as temps to allow command line to override cache and checks. | 2868 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
| 2838 | # --without-x overrides everything else, but does not touch the cache. | 2869 | # --without-x overrides everything else, but does not touch the cache. |
| 2839 | echo $ac_n "checking for X""... $ac_c" 1>&6 | 2870 | echo $ac_n "checking for X""... $ac_c" 1>&6 |
| 2840 | echo "configure:2841: checking for X" >&5 | 2871 | echo "configure:2872: checking for X" >&5 |
| 2841 | 2872 | ||
| 2842 | # Check whether --with-x or --without-x was given. | 2873 | # Check whether --with-x or --without-x was given. |
| 2843 | if test "${with_x+set}" = set; then | 2874 | if test "${with_x+set}" = set; then |
| @@ -2899,12 +2930,12 @@ if test "$ac_x_includes" = NO; then | |||
| 2899 | 2930 | ||
| 2900 | # First, try using that file with no special directory specified. | 2931 | # First, try using that file with no special directory specified. |
| 2901 | cat > conftest.$ac_ext <<EOF | 2932 | cat > conftest.$ac_ext <<EOF |
| 2902 | #line 2903 "configure" | 2933 | #line 2934 "configure" |
| 2903 | #include "confdefs.h" | 2934 | #include "confdefs.h" |
| 2904 | #include <$x_direct_test_include> | 2935 | #include <$x_direct_test_include> |
| 2905 | EOF | 2936 | EOF |
| 2906 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2937 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 2907 | { (eval echo configure:2908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2938 | { (eval echo configure:2939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 2908 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2939 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 2909 | if test -z "$ac_err"; then | 2940 | if test -z "$ac_err"; then |
| 2910 | rm -rf conftest* | 2941 | rm -rf conftest* |
| @@ -2973,14 +3004,14 @@ if test "$ac_x_libraries" = NO; then | |||
| 2973 | ac_save_LIBS="$LIBS" | 3004 | ac_save_LIBS="$LIBS" |
| 2974 | LIBS="-l$x_direct_test_library $LIBS" | 3005 | LIBS="-l$x_direct_test_library $LIBS" |
| 2975 | cat > conftest.$ac_ext <<EOF | 3006 | cat > conftest.$ac_ext <<EOF |
| 2976 | #line 2977 "configure" | 3007 | #line 3008 "configure" |
| 2977 | #include "confdefs.h" | 3008 | #include "confdefs.h" |
| 2978 | 3009 | ||
| 2979 | int main() { | 3010 | int main() { |
| 2980 | ${x_direct_test_function}() | 3011 | ${x_direct_test_function}() |
| 2981 | ; return 0; } | 3012 | ; return 0; } |
| 2982 | EOF | 3013 | EOF |
| 2983 | if { (eval echo configure:2984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3014 | if { (eval echo configure:3015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 2984 | rm -rf conftest* | 3015 | rm -rf conftest* |
| 2985 | LIBS="$ac_save_LIBS" | 3016 | LIBS="$ac_save_LIBS" |
| 2986 | # We can link X programs with no special library path. | 3017 | # We can link X programs with no special library path. |
| @@ -3155,7 +3186,7 @@ fi | |||
| 3155 | echo "checking the machine- and system-dependent files to find out | 3186 | echo "checking the machine- and system-dependent files to find out |
| 3156 | - which libraries the lib-src programs will want, and | 3187 | - which libraries the lib-src programs will want, and |
| 3157 | - whether the GNU malloc routines are usable" 1>&6 | 3188 | - whether the GNU malloc routines are usable" 1>&6 |
| 3158 | echo "configure:3159: checking the machine- and system-dependent files to find out | 3189 | echo "configure:3190: checking the machine- and system-dependent files to find out |
| 3159 | - which libraries the lib-src programs will want, and | 3190 | - which libraries the lib-src programs will want, and |
| 3160 | - whether the GNU malloc routines are usable" >&5 | 3191 | - whether the GNU malloc routines are usable" >&5 |
| 3161 | 3192 | ||
| @@ -3285,12 +3316,12 @@ UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" | |||
| 3285 | GNU_MALLOC=yes | 3316 | GNU_MALLOC=yes |
| 3286 | doug_lea_malloc=yes | 3317 | doug_lea_malloc=yes |
| 3287 | echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 3318 | echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
| 3288 | echo "configure:3289: checking for malloc_get_state" >&5 | 3319 | echo "configure:3320: checking for malloc_get_state" >&5 |
| 3289 | if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then | 3320 | if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then |
| 3290 | echo $ac_n "(cached) $ac_c" 1>&6 | 3321 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3291 | else | 3322 | else |
| 3292 | cat > conftest.$ac_ext <<EOF | 3323 | cat > conftest.$ac_ext <<EOF |
| 3293 | #line 3294 "configure" | 3324 | #line 3325 "configure" |
| 3294 | #include "confdefs.h" | 3325 | #include "confdefs.h" |
| 3295 | /* System header to define __stub macros and hopefully few prototypes, | 3326 | /* System header to define __stub macros and hopefully few prototypes, |
| 3296 | which can conflict with char malloc_get_state(); below. */ | 3327 | which can conflict with char malloc_get_state(); below. */ |
| @@ -3299,7 +3330,6 @@ else | |||
| 3299 | /* We use char because int might match the return type of a gcc2 | 3330 | /* We use char because int might match the return type of a gcc2 |
| 3300 | builtin and then its argument prototype would still apply. */ | 3331 | builtin and then its argument prototype would still apply. */ |
| 3301 | char malloc_get_state(); | 3332 | char malloc_get_state(); |
| 3302 | char (*f)(); | ||
| 3303 | 3333 | ||
| 3304 | int main() { | 3334 | int main() { |
| 3305 | 3335 | ||
| @@ -3309,12 +3339,12 @@ int main() { | |||
| 3309 | #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state) | 3339 | #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state) |
| 3310 | choke me | 3340 | choke me |
| 3311 | #else | 3341 | #else |
| 3312 | f = malloc_get_state; | 3342 | malloc_get_state(); |
| 3313 | #endif | 3343 | #endif |
| 3314 | 3344 | ||
| 3315 | ; return 0; } | 3345 | ; return 0; } |
| 3316 | EOF | 3346 | EOF |
| 3317 | if { (eval echo configure:3318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3347 | if { (eval echo configure:3348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3318 | rm -rf conftest* | 3348 | rm -rf conftest* |
| 3319 | eval "ac_cv_func_malloc_get_state=yes" | 3349 | eval "ac_cv_func_malloc_get_state=yes" |
| 3320 | else | 3350 | else |
| @@ -3335,12 +3365,12 @@ doug_lea_malloc=no | |||
| 3335 | fi | 3365 | fi |
| 3336 | 3366 | ||
| 3337 | echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3367 | echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
| 3338 | echo "configure:3339: checking for malloc_set_state" >&5 | 3368 | echo "configure:3369: checking for malloc_set_state" >&5 |
| 3339 | if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then | 3369 | if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then |
| 3340 | echo $ac_n "(cached) $ac_c" 1>&6 | 3370 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3341 | else | 3371 | else |
| 3342 | cat > conftest.$ac_ext <<EOF | 3372 | cat > conftest.$ac_ext <<EOF |
| 3343 | #line 3344 "configure" | 3373 | #line 3374 "configure" |
| 3344 | #include "confdefs.h" | 3374 | #include "confdefs.h" |
| 3345 | /* System header to define __stub macros and hopefully few prototypes, | 3375 | /* System header to define __stub macros and hopefully few prototypes, |
| 3346 | which can conflict with char malloc_set_state(); below. */ | 3376 | which can conflict with char malloc_set_state(); below. */ |
| @@ -3349,7 +3379,6 @@ else | |||
| 3349 | /* We use char because int might match the return type of a gcc2 | 3379 | /* We use char because int might match the return type of a gcc2 |
| 3350 | builtin and then its argument prototype would still apply. */ | 3380 | builtin and then its argument prototype would still apply. */ |
| 3351 | char malloc_set_state(); | 3381 | char malloc_set_state(); |
| 3352 | char (*f)(); | ||
| 3353 | 3382 | ||
| 3354 | int main() { | 3383 | int main() { |
| 3355 | 3384 | ||
| @@ -3359,12 +3388,12 @@ int main() { | |||
| 3359 | #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state) | 3388 | #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state) |
| 3360 | choke me | 3389 | choke me |
| 3361 | #else | 3390 | #else |
| 3362 | f = malloc_set_state; | 3391 | malloc_set_state(); |
| 3363 | #endif | 3392 | #endif |
| 3364 | 3393 | ||
| 3365 | ; return 0; } | 3394 | ; return 0; } |
| 3366 | EOF | 3395 | EOF |
| 3367 | if { (eval echo configure:3368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3396 | if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3368 | rm -rf conftest* | 3397 | rm -rf conftest* |
| 3369 | eval "ac_cv_func_malloc_set_state=yes" | 3398 | eval "ac_cv_func_malloc_set_state=yes" |
| 3370 | else | 3399 | else |
| @@ -3385,19 +3414,19 @@ doug_lea_malloc=no | |||
| 3385 | fi | 3414 | fi |
| 3386 | 3415 | ||
| 3387 | echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3416 | echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
| 3388 | echo "configure:3389: checking whether __after_morecore_hook exists" >&5 | 3417 | echo "configure:3418: checking whether __after_morecore_hook exists" >&5 |
| 3389 | if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then | 3418 | if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then |
| 3390 | echo $ac_n "(cached) $ac_c" 1>&6 | 3419 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3391 | else | 3420 | else |
| 3392 | cat > conftest.$ac_ext <<EOF | 3421 | cat > conftest.$ac_ext <<EOF |
| 3393 | #line 3394 "configure" | 3422 | #line 3423 "configure" |
| 3394 | #include "confdefs.h" | 3423 | #include "confdefs.h" |
| 3395 | extern void (* __after_morecore_hook)(); | 3424 | extern void (* __after_morecore_hook)(); |
| 3396 | int main() { | 3425 | int main() { |
| 3397 | __after_morecore_hook = 0 | 3426 | __after_morecore_hook = 0 |
| 3398 | ; return 0; } | 3427 | ; return 0; } |
| 3399 | EOF | 3428 | EOF |
| 3400 | if { (eval echo configure:3401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3429 | if { (eval echo configure:3430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3401 | rm -rf conftest* | 3430 | rm -rf conftest* |
| 3402 | emacs_cv_var___after_morecore_hook=yes | 3431 | emacs_cv_var___after_morecore_hook=yes |
| 3403 | else | 3432 | else |
| @@ -3447,7 +3476,7 @@ fi | |||
| 3447 | LIBS="$libsrc_libs $LIBS" | 3476 | LIBS="$libsrc_libs $LIBS" |
| 3448 | 3477 | ||
| 3449 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 3478 | echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
| 3450 | echo "configure:3451: checking for dnet_ntoa in -ldnet" >&5 | 3479 | echo "configure:3480: checking for dnet_ntoa in -ldnet" >&5 |
| 3451 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3480 | ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
| 3452 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3481 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 3453 | echo $ac_n "(cached) $ac_c" 1>&6 | 3482 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -3455,7 +3484,7 @@ else | |||
| 3455 | ac_save_LIBS="$LIBS" | 3484 | ac_save_LIBS="$LIBS" |
| 3456 | LIBS="-ldnet $LIBS" | 3485 | LIBS="-ldnet $LIBS" |
| 3457 | cat > conftest.$ac_ext <<EOF | 3486 | cat > conftest.$ac_ext <<EOF |
| 3458 | #line 3459 "configure" | 3487 | #line 3488 "configure" |
| 3459 | #include "confdefs.h" | 3488 | #include "confdefs.h" |
| 3460 | /* Override any gcc2 internal prototype to avoid an error. */ | 3489 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 3461 | /* We use char because int might match the return type of a gcc2 | 3490 | /* We use char because int might match the return type of a gcc2 |
| @@ -3466,7 +3495,7 @@ int main() { | |||
| 3466 | dnet_ntoa() | 3495 | dnet_ntoa() |
| 3467 | ; return 0; } | 3496 | ; return 0; } |
| 3468 | EOF | 3497 | EOF |
| 3469 | if { (eval echo configure:3470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3498 | if { (eval echo configure:3499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3470 | rm -rf conftest* | 3499 | rm -rf conftest* |
| 3471 | eval "ac_cv_lib_$ac_lib_var=yes" | 3500 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 3472 | else | 3501 | else |
| @@ -3495,7 +3524,7 @@ fi | |||
| 3495 | 3524 | ||
| 3496 | 3525 | ||
| 3497 | echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 3526 | echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
| 3498 | echo "configure:3499: checking for main in -lXbsd" >&5 | 3527 | echo "configure:3528: checking for main in -lXbsd" >&5 |
| 3499 | ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 3528 | ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
| 3500 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3529 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 3501 | echo $ac_n "(cached) $ac_c" 1>&6 | 3530 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -3503,14 +3532,14 @@ else | |||
| 3503 | ac_save_LIBS="$LIBS" | 3532 | ac_save_LIBS="$LIBS" |
| 3504 | LIBS="-lXbsd $LIBS" | 3533 | LIBS="-lXbsd $LIBS" |
| 3505 | cat > conftest.$ac_ext <<EOF | 3534 | cat > conftest.$ac_ext <<EOF |
| 3506 | #line 3507 "configure" | 3535 | #line 3536 "configure" |
| 3507 | #include "confdefs.h" | 3536 | #include "confdefs.h" |
| 3508 | 3537 | ||
| 3509 | int main() { | 3538 | int main() { |
| 3510 | main() | 3539 | main() |
| 3511 | ; return 0; } | 3540 | ; return 0; } |
| 3512 | EOF | 3541 | EOF |
| 3513 | if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3542 | if { (eval echo configure:3543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3514 | rm -rf conftest* | 3543 | rm -rf conftest* |
| 3515 | eval "ac_cv_lib_$ac_lib_var=yes" | 3544 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 3516 | else | 3545 | else |
| @@ -3532,7 +3561,7 @@ fi | |||
| 3532 | 3561 | ||
| 3533 | 3562 | ||
| 3534 | echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3563 | echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
| 3535 | echo "configure:3536: checking for cma_open in -lpthreads" >&5 | 3564 | echo "configure:3565: checking for cma_open in -lpthreads" >&5 |
| 3536 | ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3565 | ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
| 3537 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3566 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 3538 | echo $ac_n "(cached) $ac_c" 1>&6 | 3567 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -3540,7 +3569,7 @@ else | |||
| 3540 | ac_save_LIBS="$LIBS" | 3569 | ac_save_LIBS="$LIBS" |
| 3541 | LIBS="-lpthreads $LIBS" | 3570 | LIBS="-lpthreads $LIBS" |
| 3542 | cat > conftest.$ac_ext <<EOF | 3571 | cat > conftest.$ac_ext <<EOF |
| 3543 | #line 3544 "configure" | 3572 | #line 3573 "configure" |
| 3544 | #include "confdefs.h" | 3573 | #include "confdefs.h" |
| 3545 | /* Override any gcc2 internal prototype to avoid an error. */ | 3574 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 3546 | /* We use char because int might match the return type of a gcc2 | 3575 | /* We use char because int might match the return type of a gcc2 |
| @@ -3551,7 +3580,7 @@ int main() { | |||
| 3551 | cma_open() | 3580 | cma_open() |
| 3552 | ; return 0; } | 3581 | ; return 0; } |
| 3553 | EOF | 3582 | EOF |
| 3554 | if { (eval echo configure:3555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3583 | if { (eval echo configure:3584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3555 | rm -rf conftest* | 3584 | rm -rf conftest* |
| 3556 | eval "ac_cv_lib_$ac_lib_var=yes" | 3585 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 3557 | else | 3586 | else |
| @@ -3580,7 +3609,7 @@ fi | |||
| 3580 | 3609 | ||
| 3581 | 3610 | ||
| 3582 | echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 | 3611 | echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 |
| 3583 | echo "configure:3584: checking for XFree86 in /usr/X386" >&5 | 3612 | echo "configure:3613: checking for XFree86 in /usr/X386" >&5 |
| 3584 | if test -d /usr/X386/include; then | 3613 | if test -d /usr/X386/include; then |
| 3585 | HAVE_XFREE386=yes | 3614 | HAVE_XFREE386=yes |
| 3586 | : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 3615 | : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
| @@ -3609,16 +3638,16 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 3609 | 3638 | ||
| 3610 | if test "${opsys}" = "gnu-linux"; then | 3639 | if test "${opsys}" = "gnu-linux"; then |
| 3611 | echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 | 3640 | echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 |
| 3612 | echo "configure:3613: checking whether X on GNU/Linux needs -b to link" >&5 | 3641 | echo "configure:3642: checking whether X on GNU/Linux needs -b to link" >&5 |
| 3613 | cat > conftest.$ac_ext <<EOF | 3642 | cat > conftest.$ac_ext <<EOF |
| 3614 | #line 3615 "configure" | 3643 | #line 3644 "configure" |
| 3615 | #include "confdefs.h" | 3644 | #include "confdefs.h" |
| 3616 | 3645 | ||
| 3617 | int main() { | 3646 | int main() { |
| 3618 | XOpenDisplay ("foo"); | 3647 | XOpenDisplay ("foo"); |
| 3619 | ; return 0; } | 3648 | ; return 0; } |
| 3620 | EOF | 3649 | EOF |
| 3621 | if { (eval echo configure:3622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3650 | if { (eval echo configure:3651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3622 | rm -rf conftest* | 3651 | rm -rf conftest* |
| 3623 | xlinux_first_failure=no | 3652 | xlinux_first_failure=no |
| 3624 | else | 3653 | else |
| @@ -3638,14 +3667,14 @@ rm -f conftest* | |||
| 3638 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 3667 | CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
| 3639 | LIBS="$LIBS -b i486-linuxaout" | 3668 | LIBS="$LIBS -b i486-linuxaout" |
| 3640 | cat > conftest.$ac_ext <<EOF | 3669 | cat > conftest.$ac_ext <<EOF |
| 3641 | #line 3642 "configure" | 3670 | #line 3671 "configure" |
| 3642 | #include "confdefs.h" | 3671 | #include "confdefs.h" |
| 3643 | 3672 | ||
| 3644 | int main() { | 3673 | int main() { |
| 3645 | XOpenDisplay ("foo"); | 3674 | XOpenDisplay ("foo"); |
| 3646 | ; return 0; } | 3675 | ; return 0; } |
| 3647 | EOF | 3676 | EOF |
| 3648 | if { (eval echo configure:3649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3677 | if { (eval echo configure:3678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3649 | rm -rf conftest* | 3678 | rm -rf conftest* |
| 3650 | xlinux_second_failure=no | 3679 | xlinux_second_failure=no |
| 3651 | else | 3680 | else |
| @@ -3675,12 +3704,12 @@ rm -f conftest* | |||
| 3675 | XScreenNumberOfScreen XSetWMProtocols | 3704 | XScreenNumberOfScreen XSetWMProtocols |
| 3676 | do | 3705 | do |
| 3677 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3706 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 3678 | echo "configure:3679: checking for $ac_func" >&5 | 3707 | echo "configure:3708: checking for $ac_func" >&5 |
| 3679 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 3708 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 3680 | echo $ac_n "(cached) $ac_c" 1>&6 | 3709 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3681 | else | 3710 | else |
| 3682 | cat > conftest.$ac_ext <<EOF | 3711 | cat > conftest.$ac_ext <<EOF |
| 3683 | #line 3684 "configure" | 3712 | #line 3713 "configure" |
| 3684 | #include "confdefs.h" | 3713 | #include "confdefs.h" |
| 3685 | /* System header to define __stub macros and hopefully few prototypes, | 3714 | /* System header to define __stub macros and hopefully few prototypes, |
| 3686 | which can conflict with char $ac_func(); below. */ | 3715 | which can conflict with char $ac_func(); below. */ |
| @@ -3689,7 +3718,6 @@ else | |||
| 3689 | /* We use char because int might match the return type of a gcc2 | 3718 | /* We use char because int might match the return type of a gcc2 |
| 3690 | builtin and then its argument prototype would still apply. */ | 3719 | builtin and then its argument prototype would still apply. */ |
| 3691 | char $ac_func(); | 3720 | char $ac_func(); |
| 3692 | char (*f)(); | ||
| 3693 | 3721 | ||
| 3694 | int main() { | 3722 | int main() { |
| 3695 | 3723 | ||
| @@ -3699,12 +3727,12 @@ int main() { | |||
| 3699 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 3727 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 3700 | choke me | 3728 | choke me |
| 3701 | #else | 3729 | #else |
| 3702 | f = $ac_func; | 3730 | $ac_func(); |
| 3703 | #endif | 3731 | #endif |
| 3704 | 3732 | ||
| 3705 | ; return 0; } | 3733 | ; return 0; } |
| 3706 | EOF | 3734 | EOF |
| 3707 | if { (eval echo configure:3708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3735 | if { (eval echo configure:3736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3708 | rm -rf conftest* | 3736 | rm -rf conftest* |
| 3709 | eval "ac_cv_func_$ac_func=yes" | 3737 | eval "ac_cv_func_$ac_func=yes" |
| 3710 | else | 3738 | else |
| @@ -3732,12 +3760,12 @@ fi | |||
| 3732 | 3760 | ||
| 3733 | if test "${window_system}" = "x11"; then | 3761 | if test "${window_system}" = "x11"; then |
| 3734 | echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 | 3762 | echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 |
| 3735 | echo "configure:3736: checking X11 version 6" >&5 | 3763 | echo "configure:3764: checking X11 version 6" >&5 |
| 3736 | if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then | 3764 | if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then |
| 3737 | echo $ac_n "(cached) $ac_c" 1>&6 | 3765 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3738 | else | 3766 | else |
| 3739 | cat > conftest.$ac_ext <<EOF | 3767 | cat > conftest.$ac_ext <<EOF |
| 3740 | #line 3741 "configure" | 3768 | #line 3769 "configure" |
| 3741 | #include "confdefs.h" | 3769 | #include "confdefs.h" |
| 3742 | #include <X11/Xlib.h> | 3770 | #include <X11/Xlib.h> |
| 3743 | int main() { | 3771 | int main() { |
| @@ -3747,7 +3775,7 @@ fail; | |||
| 3747 | 3775 | ||
| 3748 | ; return 0; } | 3776 | ; return 0; } |
| 3749 | EOF | 3777 | EOF |
| 3750 | if { (eval echo configure:3751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3778 | if { (eval echo configure:3779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3751 | rm -rf conftest* | 3779 | rm -rf conftest* |
| 3752 | emacs_cv_x11_version_6=yes | 3780 | emacs_cv_x11_version_6=yes |
| 3753 | else | 3781 | else |
| @@ -3772,12 +3800,12 @@ fi | |||
| 3772 | 3800 | ||
| 3773 | if test "${window_system}" = "x11"; then | 3801 | if test "${window_system}" = "x11"; then |
| 3774 | echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 | 3802 | echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 |
| 3775 | echo "configure:3776: checking X11 version 5" >&5 | 3803 | echo "configure:3804: checking X11 version 5" >&5 |
| 3776 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then | 3804 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then |
| 3777 | echo $ac_n "(cached) $ac_c" 1>&6 | 3805 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3778 | else | 3806 | else |
| 3779 | cat > conftest.$ac_ext <<EOF | 3807 | cat > conftest.$ac_ext <<EOF |
| 3780 | #line 3781 "configure" | 3808 | #line 3809 "configure" |
| 3781 | #include "confdefs.h" | 3809 | #include "confdefs.h" |
| 3782 | #include <X11/Xlib.h> | 3810 | #include <X11/Xlib.h> |
| 3783 | int main() { | 3811 | int main() { |
| @@ -3787,7 +3815,7 @@ fail; | |||
| 3787 | 3815 | ||
| 3788 | ; return 0; } | 3816 | ; return 0; } |
| 3789 | EOF | 3817 | EOF |
| 3790 | if { (eval echo configure:3791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3818 | if { (eval echo configure:3819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3791 | rm -rf conftest* | 3819 | rm -rf conftest* |
| 3792 | emacs_cv_x11_version_5=yes | 3820 | emacs_cv_x11_version_5=yes |
| 3793 | else | 3821 | else |
| @@ -3815,12 +3843,12 @@ fi | |||
| 3815 | if test x"${USE_X_TOOLKIT}" = xmaybe; then | 3843 | if test x"${USE_X_TOOLKIT}" = xmaybe; then |
| 3816 | if test x"${HAVE_X11R5}" = xyes; then | 3844 | if test x"${HAVE_X11R5}" = xyes; then |
| 3817 | echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 | 3845 | echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 |
| 3818 | echo "configure:3819: checking X11 version 5 with Xaw" >&5 | 3846 | echo "configure:3847: checking X11 version 5 with Xaw" >&5 |
| 3819 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then | 3847 | if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then |
| 3820 | echo $ac_n "(cached) $ac_c" 1>&6 | 3848 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3821 | else | 3849 | else |
| 3822 | cat > conftest.$ac_ext <<EOF | 3850 | cat > conftest.$ac_ext <<EOF |
| 3823 | #line 3824 "configure" | 3851 | #line 3852 "configure" |
| 3824 | #include "confdefs.h" | 3852 | #include "confdefs.h" |
| 3825 | 3853 | ||
| 3826 | #include <X11/Intrinsic.h> | 3854 | #include <X11/Intrinsic.h> |
| @@ -3829,7 +3857,7 @@ int main() { | |||
| 3829 | 3857 | ||
| 3830 | ; return 0; } | 3858 | ; return 0; } |
| 3831 | EOF | 3859 | EOF |
| 3832 | if { (eval echo configure:3833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3860 | if { (eval echo configure:3861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3833 | rm -rf conftest* | 3861 | rm -rf conftest* |
| 3834 | emacs_cv_x11_version_5_with_xaw=yes | 3862 | emacs_cv_x11_version_5_with_xaw=yes |
| 3835 | else | 3863 | else |
| @@ -3857,12 +3885,12 @@ X_TOOLKIT_TYPE=$USE_X_TOOLKIT | |||
| 3857 | 3885 | ||
| 3858 | if test "${USE_X_TOOLKIT}" != "none"; then | 3886 | if test "${USE_X_TOOLKIT}" != "none"; then |
| 3859 | echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 | 3887 | echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 |
| 3860 | echo "configure:3861: checking X11 toolkit version" >&5 | 3888 | echo "configure:3889: checking X11 toolkit version" >&5 |
| 3861 | if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then | 3889 | if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then |
| 3862 | echo $ac_n "(cached) $ac_c" 1>&6 | 3890 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3863 | else | 3891 | else |
| 3864 | cat > conftest.$ac_ext <<EOF | 3892 | cat > conftest.$ac_ext <<EOF |
| 3865 | #line 3866 "configure" | 3893 | #line 3894 "configure" |
| 3866 | #include "confdefs.h" | 3894 | #include "confdefs.h" |
| 3867 | #include <X11/Intrinsic.h> | 3895 | #include <X11/Intrinsic.h> |
| 3868 | int main() { | 3896 | int main() { |
| @@ -3872,7 +3900,7 @@ fail; | |||
| 3872 | 3900 | ||
| 3873 | ; return 0; } | 3901 | ; return 0; } |
| 3874 | EOF | 3902 | EOF |
| 3875 | if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3903 | if { (eval echo configure:3904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3876 | rm -rf conftest* | 3904 | rm -rf conftest* |
| 3877 | emacs_cv_x11_toolkit_version_6=yes | 3905 | emacs_cv_x11_toolkit_version_6=yes |
| 3878 | else | 3906 | else |
| @@ -3902,7 +3930,7 @@ EOF | |||
| 3902 | LIBS="-lXt $LIBS" | 3930 | LIBS="-lXt $LIBS" |
| 3903 | fi | 3931 | fi |
| 3904 | echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 3932 | echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
| 3905 | echo "configure:3906: checking for XmuConvertStandardSelection in -lXmu" >&5 | 3933 | echo "configure:3934: checking for XmuConvertStandardSelection in -lXmu" >&5 |
| 3906 | ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 3934 | ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
| 3907 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3935 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 3908 | echo $ac_n "(cached) $ac_c" 1>&6 | 3936 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -3910,7 +3938,7 @@ else | |||
| 3910 | ac_save_LIBS="$LIBS" | 3938 | ac_save_LIBS="$LIBS" |
| 3911 | LIBS="-lXmu $LIBS" | 3939 | LIBS="-lXmu $LIBS" |
| 3912 | cat > conftest.$ac_ext <<EOF | 3940 | cat > conftest.$ac_ext <<EOF |
| 3913 | #line 3914 "configure" | 3941 | #line 3942 "configure" |
| 3914 | #include "confdefs.h" | 3942 | #include "confdefs.h" |
| 3915 | /* Override any gcc2 internal prototype to avoid an error. */ | 3943 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 3916 | /* We use char because int might match the return type of a gcc2 | 3944 | /* We use char because int might match the return type of a gcc2 |
| @@ -3921,7 +3949,7 @@ int main() { | |||
| 3921 | XmuConvertStandardSelection() | 3949 | XmuConvertStandardSelection() |
| 3922 | ; return 0; } | 3950 | ; return 0; } |
| 3923 | EOF | 3951 | EOF |
| 3924 | if { (eval echo configure:3925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3952 | if { (eval echo configure:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 3925 | rm -rf conftest* | 3953 | rm -rf conftest* |
| 3926 | eval "ac_cv_lib_$ac_lib_var=yes" | 3954 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 3927 | else | 3955 | else |
| @@ -3953,12 +3981,12 @@ fi | |||
| 3953 | 3981 | ||
| 3954 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 3982 | if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
| 3955 | echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 | 3983 | echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 |
| 3956 | echo "configure:3957: checking for Motif version 2.1" >&5 | 3984 | echo "configure:3985: checking for Motif version 2.1" >&5 |
| 3957 | if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then | 3985 | if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then |
| 3958 | echo $ac_n "(cached) $ac_c" 1>&6 | 3986 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 3959 | else | 3987 | else |
| 3960 | cat > conftest.$ac_ext <<EOF | 3988 | cat > conftest.$ac_ext <<EOF |
| 3961 | #line 3962 "configure" | 3989 | #line 3990 "configure" |
| 3962 | #include "confdefs.h" | 3990 | #include "confdefs.h" |
| 3963 | #include <Xm/Xm.h> | 3991 | #include <Xm/Xm.h> |
| 3964 | int main() { | 3992 | int main() { |
| @@ -3969,7 +3997,7 @@ Motif version prior to 2.1. | |||
| 3969 | #endif | 3997 | #endif |
| 3970 | ; return 0; } | 3998 | ; return 0; } |
| 3971 | EOF | 3999 | EOF |
| 3972 | if { (eval echo configure:3973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4000 | if { (eval echo configure:4001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 3973 | rm -rf conftest* | 4001 | rm -rf conftest* |
| 3974 | emacs_cv_motif_version_2_1=yes | 4002 | emacs_cv_motif_version_2_1=yes |
| 3975 | else | 4003 | else |
| @@ -3989,7 +4017,7 @@ echo "$ac_t""$emacs_cv_motif_version_2_1" 1>&6 | |||
| 3989 | EOF | 4017 | EOF |
| 3990 | 4018 | ||
| 3991 | echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 | 4019 | echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 |
| 3992 | echo "configure:3993: checking for XpCreateContext in -lXp" >&5 | 4020 | echo "configure:4021: checking for XpCreateContext in -lXp" >&5 |
| 3993 | ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` | 4021 | ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` |
| 3994 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4022 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 3995 | echo $ac_n "(cached) $ac_c" 1>&6 | 4023 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -3997,7 +4025,7 @@ else | |||
| 3997 | ac_save_LIBS="$LIBS" | 4025 | ac_save_LIBS="$LIBS" |
| 3998 | LIBS="-lXp $LIBS" | 4026 | LIBS="-lXp $LIBS" |
| 3999 | cat > conftest.$ac_ext <<EOF | 4027 | cat > conftest.$ac_ext <<EOF |
| 4000 | #line 4001 "configure" | 4028 | #line 4029 "configure" |
| 4001 | #include "confdefs.h" | 4029 | #include "confdefs.h" |
| 4002 | /* Override any gcc2 internal prototype to avoid an error. */ | 4030 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4003 | /* We use char because int might match the return type of a gcc2 | 4031 | /* We use char because int might match the return type of a gcc2 |
| @@ -4008,7 +4036,7 @@ int main() { | |||
| 4008 | XpCreateContext() | 4036 | XpCreateContext() |
| 4009 | ; return 0; } | 4037 | ; return 0; } |
| 4010 | EOF | 4038 | EOF |
| 4011 | if { (eval echo configure:4012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4039 | if { (eval echo configure:4040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4012 | rm -rf conftest* | 4040 | rm -rf conftest* |
| 4013 | eval "ac_cv_lib_$ac_lib_var=yes" | 4041 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4014 | else | 4042 | else |
| @@ -4046,17 +4074,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4046 | CFLAGS="${LD_SWITCH_X_SITE}" | 4074 | CFLAGS="${LD_SWITCH_X_SITE}" |
| 4047 | ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` | 4075 | ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` |
| 4048 | echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 | 4076 | echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 |
| 4049 | echo "configure:4050: checking for X11/Xaw3d/Scrollbar.h" >&5 | 4077 | echo "configure:4078: checking for X11/Xaw3d/Scrollbar.h" >&5 |
| 4050 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4078 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4051 | echo $ac_n "(cached) $ac_c" 1>&6 | 4079 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4052 | else | 4080 | else |
| 4053 | cat > conftest.$ac_ext <<EOF | 4081 | cat > conftest.$ac_ext <<EOF |
| 4054 | #line 4055 "configure" | 4082 | #line 4083 "configure" |
| 4055 | #include "confdefs.h" | 4083 | #include "confdefs.h" |
| 4056 | #include <X11/Xaw3d/Scrollbar.h> | 4084 | #include <X11/Xaw3d/Scrollbar.h> |
| 4057 | EOF | 4085 | EOF |
| 4058 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4086 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4059 | { (eval echo configure:4060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4087 | { (eval echo configure:4088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4060 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4088 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4061 | if test -z "$ac_err"; then | 4089 | if test -z "$ac_err"; then |
| 4062 | rm -rf conftest* | 4090 | rm -rf conftest* |
| @@ -4073,7 +4101,7 @@ fi | |||
| 4073 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4101 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 4074 | echo "$ac_t""yes" 1>&6 | 4102 | echo "$ac_t""yes" 1>&6 |
| 4075 | echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | 4103 | echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 |
| 4076 | echo "configure:4077: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 4104 | echo "configure:4105: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
| 4077 | ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 4105 | ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
| 4078 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4106 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4079 | echo $ac_n "(cached) $ac_c" 1>&6 | 4107 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4081,7 +4109,7 @@ else | |||
| 4081 | ac_save_LIBS="$LIBS" | 4109 | ac_save_LIBS="$LIBS" |
| 4082 | LIBS="-lXaw3d -lX11 $LIBS" | 4110 | LIBS="-lXaw3d -lX11 $LIBS" |
| 4083 | cat > conftest.$ac_ext <<EOF | 4111 | cat > conftest.$ac_ext <<EOF |
| 4084 | #line 4085 "configure" | 4112 | #line 4113 "configure" |
| 4085 | #include "confdefs.h" | 4113 | #include "confdefs.h" |
| 4086 | /* Override any gcc2 internal prototype to avoid an error. */ | 4114 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4087 | /* We use char because int might match the return type of a gcc2 | 4115 | /* We use char because int might match the return type of a gcc2 |
| @@ -4092,7 +4120,7 @@ int main() { | |||
| 4092 | XawScrollbarSetThumb() | 4120 | XawScrollbarSetThumb() |
| 4093 | ; return 0; } | 4121 | ; return 0; } |
| 4094 | EOF | 4122 | EOF |
| 4095 | if { (eval echo configure:4096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4123 | if { (eval echo configure:4124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4096 | rm -rf conftest* | 4124 | rm -rf conftest* |
| 4097 | eval "ac_cv_lib_$ac_lib_var=yes" | 4125 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4098 | else | 4126 | else |
| @@ -4156,17 +4184,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4156 | CFLAGS="${LD_SWITCH_X_SITE}" | 4184 | CFLAGS="${LD_SWITCH_X_SITE}" |
| 4157 | ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` | 4185 | ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` |
| 4158 | echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 | 4186 | echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 |
| 4159 | echo "configure:4160: checking for X11/xpm.h" >&5 | 4187 | echo "configure:4188: checking for X11/xpm.h" >&5 |
| 4160 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4188 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4161 | echo $ac_n "(cached) $ac_c" 1>&6 | 4189 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4162 | else | 4190 | else |
| 4163 | cat > conftest.$ac_ext <<EOF | 4191 | cat > conftest.$ac_ext <<EOF |
| 4164 | #line 4165 "configure" | 4192 | #line 4193 "configure" |
| 4165 | #include "confdefs.h" | 4193 | #include "confdefs.h" |
| 4166 | #include <X11/xpm.h> | 4194 | #include <X11/xpm.h> |
| 4167 | EOF | 4195 | EOF |
| 4168 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4196 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4169 | { (eval echo configure:4170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4197 | { (eval echo configure:4198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4170 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4198 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4171 | if test -z "$ac_err"; then | 4199 | if test -z "$ac_err"; then |
| 4172 | rm -rf conftest* | 4200 | rm -rf conftest* |
| @@ -4183,7 +4211,7 @@ fi | |||
| 4183 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4211 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 4184 | echo "$ac_t""yes" 1>&6 | 4212 | echo "$ac_t""yes" 1>&6 |
| 4185 | echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 | 4213 | echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 |
| 4186 | echo "configure:4187: checking for XpmReadFileToPixmap in -lXpm" >&5 | 4214 | echo "configure:4215: checking for XpmReadFileToPixmap in -lXpm" >&5 |
| 4187 | ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` | 4215 | ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` |
| 4188 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4216 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4189 | echo $ac_n "(cached) $ac_c" 1>&6 | 4217 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4191,7 +4219,7 @@ else | |||
| 4191 | ac_save_LIBS="$LIBS" | 4219 | ac_save_LIBS="$LIBS" |
| 4192 | LIBS="-lXpm -lX11 $LIBS" | 4220 | LIBS="-lXpm -lX11 $LIBS" |
| 4193 | cat > conftest.$ac_ext <<EOF | 4221 | cat > conftest.$ac_ext <<EOF |
| 4194 | #line 4195 "configure" | 4222 | #line 4223 "configure" |
| 4195 | #include "confdefs.h" | 4223 | #include "confdefs.h" |
| 4196 | /* Override any gcc2 internal prototype to avoid an error. */ | 4224 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4197 | /* We use char because int might match the return type of a gcc2 | 4225 | /* We use char because int might match the return type of a gcc2 |
| @@ -4202,7 +4230,7 @@ int main() { | |||
| 4202 | XpmReadFileToPixmap() | 4230 | XpmReadFileToPixmap() |
| 4203 | ; return 0; } | 4231 | ; return 0; } |
| 4204 | EOF | 4232 | EOF |
| 4205 | if { (eval echo configure:4206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4233 | if { (eval echo configure:4234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4206 | rm -rf conftest* | 4234 | rm -rf conftest* |
| 4207 | eval "ac_cv_lib_$ac_lib_var=yes" | 4235 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4208 | else | 4236 | else |
| @@ -4244,7 +4272,7 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4244 | old_c_flags="${CFLAGS}" | 4272 | old_c_flags="${CFLAGS}" |
| 4245 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4273 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 4246 | echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 4274 | echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
| 4247 | echo "configure:4248: checking for jpeg_destroy_compress in -ljpeg" >&5 | 4275 | echo "configure:4276: checking for jpeg_destroy_compress in -ljpeg" >&5 |
| 4248 | ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 4276 | ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
| 4249 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4277 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4250 | echo $ac_n "(cached) $ac_c" 1>&6 | 4278 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4252,7 +4280,7 @@ else | |||
| 4252 | ac_save_LIBS="$LIBS" | 4280 | ac_save_LIBS="$LIBS" |
| 4253 | LIBS="-ljpeg -lX11 $LIBS" | 4281 | LIBS="-ljpeg -lX11 $LIBS" |
| 4254 | cat > conftest.$ac_ext <<EOF | 4282 | cat > conftest.$ac_ext <<EOF |
| 4255 | #line 4256 "configure" | 4283 | #line 4284 "configure" |
| 4256 | #include "confdefs.h" | 4284 | #include "confdefs.h" |
| 4257 | /* Override any gcc2 internal prototype to avoid an error. */ | 4285 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4258 | /* We use char because int might match the return type of a gcc2 | 4286 | /* We use char because int might match the return type of a gcc2 |
| @@ -4263,7 +4291,7 @@ int main() { | |||
| 4263 | jpeg_destroy_compress() | 4291 | jpeg_destroy_compress() |
| 4264 | ; return 0; } | 4292 | ; return 0; } |
| 4265 | EOF | 4293 | EOF |
| 4266 | if { (eval echo configure:4267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4294 | if { (eval echo configure:4295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4267 | rm -rf conftest* | 4295 | rm -rf conftest* |
| 4268 | eval "ac_cv_lib_$ac_lib_var=yes" | 4296 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4269 | else | 4297 | else |
| @@ -4302,17 +4330,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4302 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4330 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 4303 | ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 4331 | ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
| 4304 | echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 4332 | echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
| 4305 | echo "configure:4306: checking for png.h" >&5 | 4333 | echo "configure:4334: checking for png.h" >&5 |
| 4306 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4334 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4307 | echo $ac_n "(cached) $ac_c" 1>&6 | 4335 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4308 | else | 4336 | else |
| 4309 | cat > conftest.$ac_ext <<EOF | 4337 | cat > conftest.$ac_ext <<EOF |
| 4310 | #line 4311 "configure" | 4338 | #line 4339 "configure" |
| 4311 | #include "confdefs.h" | 4339 | #include "confdefs.h" |
| 4312 | #include <png.h> | 4340 | #include <png.h> |
| 4313 | EOF | 4341 | EOF |
| 4314 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4342 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4315 | { (eval echo configure:4316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4343 | { (eval echo configure:4344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4316 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4344 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4317 | if test -z "$ac_err"; then | 4345 | if test -z "$ac_err"; then |
| 4318 | rm -rf conftest* | 4346 | rm -rf conftest* |
| @@ -4329,7 +4357,7 @@ fi | |||
| 4329 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4357 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 4330 | echo "$ac_t""yes" 1>&6 | 4358 | echo "$ac_t""yes" 1>&6 |
| 4331 | echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 4359 | echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
| 4332 | echo "configure:4333: checking for png_set_expand in -lpng" >&5 | 4360 | echo "configure:4361: checking for png_set_expand in -lpng" >&5 |
| 4333 | ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 4361 | ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
| 4334 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4362 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4335 | echo $ac_n "(cached) $ac_c" 1>&6 | 4363 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4337,7 +4365,7 @@ else | |||
| 4337 | ac_save_LIBS="$LIBS" | 4365 | ac_save_LIBS="$LIBS" |
| 4338 | LIBS="-lpng -lX11 -lz -lm $LIBS" | 4366 | LIBS="-lpng -lX11 -lz -lm $LIBS" |
| 4339 | cat > conftest.$ac_ext <<EOF | 4367 | cat > conftest.$ac_ext <<EOF |
| 4340 | #line 4341 "configure" | 4368 | #line 4369 "configure" |
| 4341 | #include "confdefs.h" | 4369 | #include "confdefs.h" |
| 4342 | /* Override any gcc2 internal prototype to avoid an error. */ | 4370 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4343 | /* We use char because int might match the return type of a gcc2 | 4371 | /* We use char because int might match the return type of a gcc2 |
| @@ -4348,7 +4376,7 @@ int main() { | |||
| 4348 | png_set_expand() | 4376 | png_set_expand() |
| 4349 | ; return 0; } | 4377 | ; return 0; } |
| 4350 | EOF | 4378 | EOF |
| 4351 | if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4379 | if { (eval echo configure:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4352 | rm -rf conftest* | 4380 | rm -rf conftest* |
| 4353 | eval "ac_cv_lib_$ac_lib_var=yes" | 4381 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4354 | else | 4382 | else |
| @@ -4391,17 +4419,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4391 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4419 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 4392 | ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 4420 | ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
| 4393 | echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 4421 | echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
| 4394 | echo "configure:4395: checking for tiffio.h" >&5 | 4422 | echo "configure:4423: checking for tiffio.h" >&5 |
| 4395 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4423 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4396 | echo $ac_n "(cached) $ac_c" 1>&6 | 4424 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4397 | else | 4425 | else |
| 4398 | cat > conftest.$ac_ext <<EOF | 4426 | cat > conftest.$ac_ext <<EOF |
| 4399 | #line 4400 "configure" | 4427 | #line 4428 "configure" |
| 4400 | #include "confdefs.h" | 4428 | #include "confdefs.h" |
| 4401 | #include <tiffio.h> | 4429 | #include <tiffio.h> |
| 4402 | EOF | 4430 | EOF |
| 4403 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4431 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4404 | { (eval echo configure:4405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4432 | { (eval echo configure:4433: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4405 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4433 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4406 | if test -z "$ac_err"; then | 4434 | if test -z "$ac_err"; then |
| 4407 | rm -rf conftest* | 4435 | rm -rf conftest* |
| @@ -4418,7 +4446,7 @@ fi | |||
| 4418 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4446 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 4419 | echo "$ac_t""yes" 1>&6 | 4447 | echo "$ac_t""yes" 1>&6 |
| 4420 | echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 4448 | echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
| 4421 | echo "configure:4422: checking for TIFFGetVersion in -ltiff" >&5 | 4449 | echo "configure:4450: checking for TIFFGetVersion in -ltiff" >&5 |
| 4422 | ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 4450 | ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
| 4423 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4451 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4424 | echo $ac_n "(cached) $ac_c" 1>&6 | 4452 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4426,7 +4454,7 @@ else | |||
| 4426 | ac_save_LIBS="$LIBS" | 4454 | ac_save_LIBS="$LIBS" |
| 4427 | LIBS="-ltiff -lX11 -lm $LIBS" | 4455 | LIBS="-ltiff -lX11 -lm $LIBS" |
| 4428 | cat > conftest.$ac_ext <<EOF | 4456 | cat > conftest.$ac_ext <<EOF |
| 4429 | #line 4430 "configure" | 4457 | #line 4458 "configure" |
| 4430 | #include "confdefs.h" | 4458 | #include "confdefs.h" |
| 4431 | /* Override any gcc2 internal prototype to avoid an error. */ | 4459 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4432 | /* We use char because int might match the return type of a gcc2 | 4460 | /* We use char because int might match the return type of a gcc2 |
| @@ -4437,7 +4465,7 @@ int main() { | |||
| 4437 | TIFFGetVersion() | 4465 | TIFFGetVersion() |
| 4438 | ; return 0; } | 4466 | ; return 0; } |
| 4439 | EOF | 4467 | EOF |
| 4440 | if { (eval echo configure:4441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4468 | if { (eval echo configure:4469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4441 | rm -rf conftest* | 4469 | rm -rf conftest* |
| 4442 | eval "ac_cv_lib_$ac_lib_var=yes" | 4470 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4443 | else | 4471 | else |
| @@ -4480,17 +4508,17 @@ if test "${HAVE_X11}" = "yes"; then | |||
| 4480 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4508 | CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
| 4481 | ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 4509 | ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
| 4482 | echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 4510 | echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
| 4483 | echo "configure:4484: checking for gif_lib.h" >&5 | 4511 | echo "configure:4512: checking for gif_lib.h" >&5 |
| 4484 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4512 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 4485 | echo $ac_n "(cached) $ac_c" 1>&6 | 4513 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4486 | else | 4514 | else |
| 4487 | cat > conftest.$ac_ext <<EOF | 4515 | cat > conftest.$ac_ext <<EOF |
| 4488 | #line 4489 "configure" | 4516 | #line 4517 "configure" |
| 4489 | #include "confdefs.h" | 4517 | #include "confdefs.h" |
| 4490 | #include <gif_lib.h> | 4518 | #include <gif_lib.h> |
| 4491 | EOF | 4519 | EOF |
| 4492 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4520 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 4493 | { (eval echo configure:4494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4521 | { (eval echo configure:4522: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 4494 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4522 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 4495 | if test -z "$ac_err"; then | 4523 | if test -z "$ac_err"; then |
| 4496 | rm -rf conftest* | 4524 | rm -rf conftest* |
| @@ -4507,7 +4535,7 @@ fi | |||
| 4507 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4535 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
| 4508 | echo "$ac_t""yes" 1>&6 | 4536 | echo "$ac_t""yes" 1>&6 |
| 4509 | echo $ac_n "checking for DGifOpenFileName in -lungif""... $ac_c" 1>&6 | 4537 | echo $ac_n "checking for DGifOpenFileName in -lungif""... $ac_c" 1>&6 |
| 4510 | echo "configure:4511: checking for DGifOpenFileName in -lungif" >&5 | 4538 | echo "configure:4539: checking for DGifOpenFileName in -lungif" >&5 |
| 4511 | ac_lib_var=`echo ungif'_'DGifOpenFileName | sed 'y%./+-%__p_%'` | 4539 | ac_lib_var=`echo ungif'_'DGifOpenFileName | sed 'y%./+-%__p_%'` |
| 4512 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4540 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4513 | echo $ac_n "(cached) $ac_c" 1>&6 | 4541 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4515,7 +4543,7 @@ else | |||
| 4515 | ac_save_LIBS="$LIBS" | 4543 | ac_save_LIBS="$LIBS" |
| 4516 | LIBS="-lungif -lX11 $LIBS" | 4544 | LIBS="-lungif -lX11 $LIBS" |
| 4517 | cat > conftest.$ac_ext <<EOF | 4545 | cat > conftest.$ac_ext <<EOF |
| 4518 | #line 4519 "configure" | 4546 | #line 4547 "configure" |
| 4519 | #include "confdefs.h" | 4547 | #include "confdefs.h" |
| 4520 | /* Override any gcc2 internal prototype to avoid an error. */ | 4548 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4521 | /* We use char because int might match the return type of a gcc2 | 4549 | /* We use char because int might match the return type of a gcc2 |
| @@ -4526,7 +4554,7 @@ int main() { | |||
| 4526 | DGifOpenFileName() | 4554 | DGifOpenFileName() |
| 4527 | ; return 0; } | 4555 | ; return 0; } |
| 4528 | EOF | 4556 | EOF |
| 4529 | if { (eval echo configure:4530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4557 | if { (eval echo configure:4558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4530 | rm -rf conftest* | 4558 | rm -rf conftest* |
| 4531 | eval "ac_cv_lib_$ac_lib_var=yes" | 4559 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4532 | else | 4560 | else |
| @@ -4563,19 +4591,19 @@ fi | |||
| 4563 | 4591 | ||
| 4564 | # If netdb.h doesn't declare h_errno, we must declare it by hand. | 4592 | # If netdb.h doesn't declare h_errno, we must declare it by hand. |
| 4565 | echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 4593 | echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
| 4566 | echo "configure:4567: checking whether netdb declares h_errno" >&5 | 4594 | echo "configure:4595: checking whether netdb declares h_errno" >&5 |
| 4567 | if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 4595 | if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
| 4568 | echo $ac_n "(cached) $ac_c" 1>&6 | 4596 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4569 | else | 4597 | else |
| 4570 | cat > conftest.$ac_ext <<EOF | 4598 | cat > conftest.$ac_ext <<EOF |
| 4571 | #line 4572 "configure" | 4599 | #line 4600 "configure" |
| 4572 | #include "confdefs.h" | 4600 | #include "confdefs.h" |
| 4573 | #include <netdb.h> | 4601 | #include <netdb.h> |
| 4574 | int main() { | 4602 | int main() { |
| 4575 | return h_errno; | 4603 | return h_errno; |
| 4576 | ; return 0; } | 4604 | ; return 0; } |
| 4577 | EOF | 4605 | EOF |
| 4578 | if { (eval echo configure:4579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4606 | if { (eval echo configure:4607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4579 | rm -rf conftest* | 4607 | rm -rf conftest* |
| 4580 | emacs_cv_netdb_declares_h_errno=yes | 4608 | emacs_cv_netdb_declares_h_errno=yes |
| 4581 | else | 4609 | else |
| @@ -4598,19 +4626,19 @@ fi | |||
| 4598 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 4626 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
| 4599 | # for constant arguments. Useless! | 4627 | # for constant arguments. Useless! |
| 4600 | echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 4628 | echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
| 4601 | echo "configure:4602: checking for working alloca.h" >&5 | 4629 | echo "configure:4630: checking for working alloca.h" >&5 |
| 4602 | if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 4630 | if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
| 4603 | echo $ac_n "(cached) $ac_c" 1>&6 | 4631 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4604 | else | 4632 | else |
| 4605 | cat > conftest.$ac_ext <<EOF | 4633 | cat > conftest.$ac_ext <<EOF |
| 4606 | #line 4607 "configure" | 4634 | #line 4635 "configure" |
| 4607 | #include "confdefs.h" | 4635 | #include "confdefs.h" |
| 4608 | #include <alloca.h> | 4636 | #include <alloca.h> |
| 4609 | int main() { | 4637 | int main() { |
| 4610 | char *p = alloca(2 * sizeof(int)); | 4638 | char *p = alloca(2 * sizeof(int)); |
| 4611 | ; return 0; } | 4639 | ; return 0; } |
| 4612 | EOF | 4640 | EOF |
| 4613 | if { (eval echo configure:4614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4641 | if { (eval echo configure:4642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4614 | rm -rf conftest* | 4642 | rm -rf conftest* |
| 4615 | ac_cv_header_alloca_h=yes | 4643 | ac_cv_header_alloca_h=yes |
| 4616 | else | 4644 | else |
| @@ -4631,12 +4659,12 @@ EOF | |||
| 4631 | fi | 4659 | fi |
| 4632 | 4660 | ||
| 4633 | echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 4661 | echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
| 4634 | echo "configure:4635: checking for alloca" >&5 | 4662 | echo "configure:4663: checking for alloca" >&5 |
| 4635 | if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 4663 | if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
| 4636 | echo $ac_n "(cached) $ac_c" 1>&6 | 4664 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4637 | else | 4665 | else |
| 4638 | cat > conftest.$ac_ext <<EOF | 4666 | cat > conftest.$ac_ext <<EOF |
| 4639 | #line 4640 "configure" | 4667 | #line 4668 "configure" |
| 4640 | #include "confdefs.h" | 4668 | #include "confdefs.h" |
| 4641 | 4669 | ||
| 4642 | #ifdef __GNUC__ | 4670 | #ifdef __GNUC__ |
| @@ -4664,7 +4692,7 @@ int main() { | |||
| 4664 | char *p = (char *) alloca(1); | 4692 | char *p = (char *) alloca(1); |
| 4665 | ; return 0; } | 4693 | ; return 0; } |
| 4666 | EOF | 4694 | EOF |
| 4667 | if { (eval echo configure:4668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4695 | if { (eval echo configure:4696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4668 | rm -rf conftest* | 4696 | rm -rf conftest* |
| 4669 | ac_cv_func_alloca_works=yes | 4697 | ac_cv_func_alloca_works=yes |
| 4670 | else | 4698 | else |
| @@ -4696,12 +4724,12 @@ EOF | |||
| 4696 | 4724 | ||
| 4697 | 4725 | ||
| 4698 | echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 4726 | echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
| 4699 | echo "configure:4700: checking whether alloca needs Cray hooks" >&5 | 4727 | echo "configure:4728: checking whether alloca needs Cray hooks" >&5 |
| 4700 | if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 4728 | if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
| 4701 | echo $ac_n "(cached) $ac_c" 1>&6 | 4729 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4702 | else | 4730 | else |
| 4703 | cat > conftest.$ac_ext <<EOF | 4731 | cat > conftest.$ac_ext <<EOF |
| 4704 | #line 4705 "configure" | 4732 | #line 4733 "configure" |
| 4705 | #include "confdefs.h" | 4733 | #include "confdefs.h" |
| 4706 | #if defined(CRAY) && ! defined(CRAY2) | 4734 | #if defined(CRAY) && ! defined(CRAY2) |
| 4707 | webecray | 4735 | webecray |
| @@ -4726,12 +4754,12 @@ echo "$ac_t""$ac_cv_os_cray" 1>&6 | |||
| 4726 | if test $ac_cv_os_cray = yes; then | 4754 | if test $ac_cv_os_cray = yes; then |
| 4727 | for ac_func in _getb67 GETB67 getb67; do | 4755 | for ac_func in _getb67 GETB67 getb67; do |
| 4728 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4756 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 4729 | echo "configure:4730: checking for $ac_func" >&5 | 4757 | echo "configure:4758: checking for $ac_func" >&5 |
| 4730 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 4758 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 4731 | echo $ac_n "(cached) $ac_c" 1>&6 | 4759 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4732 | else | 4760 | else |
| 4733 | cat > conftest.$ac_ext <<EOF | 4761 | cat > conftest.$ac_ext <<EOF |
| 4734 | #line 4735 "configure" | 4762 | #line 4763 "configure" |
| 4735 | #include "confdefs.h" | 4763 | #include "confdefs.h" |
| 4736 | /* System header to define __stub macros and hopefully few prototypes, | 4764 | /* System header to define __stub macros and hopefully few prototypes, |
| 4737 | which can conflict with char $ac_func(); below. */ | 4765 | which can conflict with char $ac_func(); below. */ |
| @@ -4740,7 +4768,6 @@ else | |||
| 4740 | /* We use char because int might match the return type of a gcc2 | 4768 | /* We use char because int might match the return type of a gcc2 |
| 4741 | builtin and then its argument prototype would still apply. */ | 4769 | builtin and then its argument prototype would still apply. */ |
| 4742 | char $ac_func(); | 4770 | char $ac_func(); |
| 4743 | char (*f)(); | ||
| 4744 | 4771 | ||
| 4745 | int main() { | 4772 | int main() { |
| 4746 | 4773 | ||
| @@ -4750,12 +4777,12 @@ int main() { | |||
| 4750 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 4777 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 4751 | choke me | 4778 | choke me |
| 4752 | #else | 4779 | #else |
| 4753 | f = $ac_func; | 4780 | $ac_func(); |
| 4754 | #endif | 4781 | #endif |
| 4755 | 4782 | ||
| 4756 | ; return 0; } | 4783 | ; return 0; } |
| 4757 | EOF | 4784 | EOF |
| 4758 | if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4785 | if { (eval echo configure:4786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4759 | rm -rf conftest* | 4786 | rm -rf conftest* |
| 4760 | eval "ac_cv_func_$ac_func=yes" | 4787 | eval "ac_cv_func_$ac_func=yes" |
| 4761 | else | 4788 | else |
| @@ -4782,7 +4809,7 @@ done | |||
| 4782 | fi | 4809 | fi |
| 4783 | 4810 | ||
| 4784 | echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 4811 | echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
| 4785 | echo "configure:4786: checking stack direction for C alloca" >&5 | 4812 | echo "configure:4813: checking stack direction for C alloca" >&5 |
| 4786 | if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 4813 | if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
| 4787 | echo $ac_n "(cached) $ac_c" 1>&6 | 4814 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4788 | else | 4815 | else |
| @@ -4790,7 +4817,7 @@ else | |||
| 4790 | ac_cv_c_stack_direction=0 | 4817 | ac_cv_c_stack_direction=0 |
| 4791 | else | 4818 | else |
| 4792 | cat > conftest.$ac_ext <<EOF | 4819 | cat > conftest.$ac_ext <<EOF |
| 4793 | #line 4794 "configure" | 4820 | #line 4821 "configure" |
| 4794 | #include "confdefs.h" | 4821 | #include "confdefs.h" |
| 4795 | find_stack_direction () | 4822 | find_stack_direction () |
| 4796 | { | 4823 | { |
| @@ -4809,7 +4836,7 @@ main () | |||
| 4809 | exit (find_stack_direction() < 0); | 4836 | exit (find_stack_direction() < 0); |
| 4810 | } | 4837 | } |
| 4811 | EOF | 4838 | EOF |
| 4812 | if { (eval echo configure:4813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4839 | if { (eval echo configure:4840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 4813 | then | 4840 | then |
| 4814 | ac_cv_c_stack_direction=1 | 4841 | ac_cv_c_stack_direction=1 |
| 4815 | else | 4842 | else |
| @@ -4834,7 +4861,7 @@ fi | |||
| 4834 | # fmod, logb, and frexp are found in -lm on most systems. | 4861 | # fmod, logb, and frexp are found in -lm on most systems. |
| 4835 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 4862 | # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
| 4836 | echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 4863 | echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
| 4837 | echo "configure:4838: checking for sqrt in -lm" >&5 | 4864 | echo "configure:4865: checking for sqrt in -lm" >&5 |
| 4838 | ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 4865 | ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
| 4839 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4866 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4840 | echo $ac_n "(cached) $ac_c" 1>&6 | 4867 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4842,7 +4869,7 @@ else | |||
| 4842 | ac_save_LIBS="$LIBS" | 4869 | ac_save_LIBS="$LIBS" |
| 4843 | LIBS="-lm $LIBS" | 4870 | LIBS="-lm $LIBS" |
| 4844 | cat > conftest.$ac_ext <<EOF | 4871 | cat > conftest.$ac_ext <<EOF |
| 4845 | #line 4846 "configure" | 4872 | #line 4873 "configure" |
| 4846 | #include "confdefs.h" | 4873 | #include "confdefs.h" |
| 4847 | /* Override any gcc2 internal prototype to avoid an error. */ | 4874 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4848 | /* We use char because int might match the return type of a gcc2 | 4875 | /* We use char because int might match the return type of a gcc2 |
| @@ -4853,7 +4880,7 @@ int main() { | |||
| 4853 | sqrt() | 4880 | sqrt() |
| 4854 | ; return 0; } | 4881 | ; return 0; } |
| 4855 | EOF | 4882 | EOF |
| 4856 | if { (eval echo configure:4857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4883 | if { (eval echo configure:4884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4857 | rm -rf conftest* | 4884 | rm -rf conftest* |
| 4858 | eval "ac_cv_lib_$ac_lib_var=yes" | 4885 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4859 | else | 4886 | else |
| @@ -4883,7 +4910,7 @@ fi | |||
| 4883 | 4910 | ||
| 4884 | # Check for mail-locking functions in a "mail" library | 4911 | # Check for mail-locking functions in a "mail" library |
| 4885 | echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 4912 | echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
| 4886 | echo "configure:4887: checking for maillock in -lmail" >&5 | 4913 | echo "configure:4914: checking for maillock in -lmail" >&5 |
| 4887 | ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 4914 | ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
| 4888 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4915 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4889 | echo $ac_n "(cached) $ac_c" 1>&6 | 4916 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4891,7 +4918,7 @@ else | |||
| 4891 | ac_save_LIBS="$LIBS" | 4918 | ac_save_LIBS="$LIBS" |
| 4892 | LIBS="-lmail $LIBS" | 4919 | LIBS="-lmail $LIBS" |
| 4893 | cat > conftest.$ac_ext <<EOF | 4920 | cat > conftest.$ac_ext <<EOF |
| 4894 | #line 4895 "configure" | 4921 | #line 4922 "configure" |
| 4895 | #include "confdefs.h" | 4922 | #include "confdefs.h" |
| 4896 | /* Override any gcc2 internal prototype to avoid an error. */ | 4923 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4897 | /* We use char because int might match the return type of a gcc2 | 4924 | /* We use char because int might match the return type of a gcc2 |
| @@ -4902,7 +4929,7 @@ int main() { | |||
| 4902 | maillock() | 4929 | maillock() |
| 4903 | ; return 0; } | 4930 | ; return 0; } |
| 4904 | EOF | 4931 | EOF |
| 4905 | if { (eval echo configure:4906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4932 | if { (eval echo configure:4933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4906 | rm -rf conftest* | 4933 | rm -rf conftest* |
| 4907 | eval "ac_cv_lib_$ac_lib_var=yes" | 4934 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4908 | else | 4935 | else |
| @@ -4930,7 +4957,7 @@ else | |||
| 4930 | fi | 4957 | fi |
| 4931 | 4958 | ||
| 4932 | echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 4959 | echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
| 4933 | echo "configure:4934: checking for maillock in -llockfile" >&5 | 4960 | echo "configure:4961: checking for maillock in -llockfile" >&5 |
| 4934 | ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 4961 | ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
| 4935 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4962 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 4936 | echo $ac_n "(cached) $ac_c" 1>&6 | 4963 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -4938,7 +4965,7 @@ else | |||
| 4938 | ac_save_LIBS="$LIBS" | 4965 | ac_save_LIBS="$LIBS" |
| 4939 | LIBS="-llockfile $LIBS" | 4966 | LIBS="-llockfile $LIBS" |
| 4940 | cat > conftest.$ac_ext <<EOF | 4967 | cat > conftest.$ac_ext <<EOF |
| 4941 | #line 4942 "configure" | 4968 | #line 4969 "configure" |
| 4942 | #include "confdefs.h" | 4969 | #include "confdefs.h" |
| 4943 | /* Override any gcc2 internal prototype to avoid an error. */ | 4970 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 4944 | /* We use char because int might match the return type of a gcc2 | 4971 | /* We use char because int might match the return type of a gcc2 |
| @@ -4949,7 +4976,7 @@ int main() { | |||
| 4949 | maillock() | 4976 | maillock() |
| 4950 | ; return 0; } | 4977 | ; return 0; } |
| 4951 | EOF | 4978 | EOF |
| 4952 | if { (eval echo configure:4953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4979 | if { (eval echo configure:4980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 4953 | rm -rf conftest* | 4980 | rm -rf conftest* |
| 4954 | eval "ac_cv_lib_$ac_lib_var=yes" | 4981 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 4955 | else | 4982 | else |
| @@ -4983,7 +5010,7 @@ if test "$ac_cv_lib_lockfile_maillock" = no; then | |||
| 4983 | # Extract the first word of "liblockfile.so", so it can be a program name with args. | 5010 | # Extract the first word of "liblockfile.so", so it can be a program name with args. |
| 4984 | set dummy liblockfile.so; ac_word=$2 | 5011 | set dummy liblockfile.so; ac_word=$2 |
| 4985 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5012 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 4986 | echo "configure:4987: checking for $ac_word" >&5 | 5013 | echo "configure:5014: checking for $ac_word" >&5 |
| 4987 | if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 5014 | if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
| 4988 | echo $ac_n "(cached) $ac_c" 1>&6 | 5015 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 4989 | else | 5016 | else |
| @@ -5024,12 +5051,12 @@ fi | |||
| 5024 | for ac_func in touchlock | 5051 | for ac_func in touchlock |
| 5025 | do | 5052 | do |
| 5026 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5053 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5027 | echo "configure:5028: checking for $ac_func" >&5 | 5054 | echo "configure:5055: checking for $ac_func" >&5 |
| 5028 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5055 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 5029 | echo $ac_n "(cached) $ac_c" 1>&6 | 5056 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5030 | else | 5057 | else |
| 5031 | cat > conftest.$ac_ext <<EOF | 5058 | cat > conftest.$ac_ext <<EOF |
| 5032 | #line 5033 "configure" | 5059 | #line 5060 "configure" |
| 5033 | #include "confdefs.h" | 5060 | #include "confdefs.h" |
| 5034 | /* System header to define __stub macros and hopefully few prototypes, | 5061 | /* System header to define __stub macros and hopefully few prototypes, |
| 5035 | which can conflict with char $ac_func(); below. */ | 5062 | which can conflict with char $ac_func(); below. */ |
| @@ -5038,7 +5065,6 @@ else | |||
| 5038 | /* We use char because int might match the return type of a gcc2 | 5065 | /* We use char because int might match the return type of a gcc2 |
| 5039 | builtin and then its argument prototype would still apply. */ | 5066 | builtin and then its argument prototype would still apply. */ |
| 5040 | char $ac_func(); | 5067 | char $ac_func(); |
| 5041 | char (*f)(); | ||
| 5042 | 5068 | ||
| 5043 | int main() { | 5069 | int main() { |
| 5044 | 5070 | ||
| @@ -5048,12 +5074,12 @@ int main() { | |||
| 5048 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 5074 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 5049 | choke me | 5075 | choke me |
| 5050 | #else | 5076 | #else |
| 5051 | f = $ac_func; | 5077 | $ac_func(); |
| 5052 | #endif | 5078 | #endif |
| 5053 | 5079 | ||
| 5054 | ; return 0; } | 5080 | ; return 0; } |
| 5055 | EOF | 5081 | EOF |
| 5056 | if { (eval echo configure:5057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5082 | if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5057 | rm -rf conftest* | 5083 | rm -rf conftest* |
| 5058 | eval "ac_cv_func_$ac_func=yes" | 5084 | eval "ac_cv_func_$ac_func=yes" |
| 5059 | else | 5085 | else |
| @@ -5081,17 +5107,17 @@ for ac_hdr in maillock.h | |||
| 5081 | do | 5107 | do |
| 5082 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5108 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| 5083 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5109 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| 5084 | echo "configure:5085: checking for $ac_hdr" >&5 | 5110 | echo "configure:5111: checking for $ac_hdr" >&5 |
| 5085 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5111 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5086 | echo $ac_n "(cached) $ac_c" 1>&6 | 5112 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5087 | else | 5113 | else |
| 5088 | cat > conftest.$ac_ext <<EOF | 5114 | cat > conftest.$ac_ext <<EOF |
| 5089 | #line 5090 "configure" | 5115 | #line 5116 "configure" |
| 5090 | #include "confdefs.h" | 5116 | #include "confdefs.h" |
| 5091 | #include <$ac_hdr> | 5117 | #include <$ac_hdr> |
| 5092 | EOF | 5118 | EOF |
| 5093 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5119 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5094 | { (eval echo configure:5095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5120 | { (eval echo configure:5121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5095 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5121 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5096 | if test -z "$ac_err"; then | 5122 | if test -z "$ac_err"; then |
| 5097 | rm -rf conftest* | 5123 | rm -rf conftest* |
| @@ -5126,12 +5152,12 @@ utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ | |||
| 5126 | __fpending ftello getloadavg mblen mbrlen strsignal | 5152 | __fpending ftello getloadavg mblen mbrlen strsignal |
| 5127 | do | 5153 | do |
| 5128 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5154 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
| 5129 | echo "configure:5130: checking for $ac_func" >&5 | 5155 | echo "configure:5156: checking for $ac_func" >&5 |
| 5130 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5156 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
| 5131 | echo $ac_n "(cached) $ac_c" 1>&6 | 5157 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5132 | else | 5158 | else |
| 5133 | cat > conftest.$ac_ext <<EOF | 5159 | cat > conftest.$ac_ext <<EOF |
| 5134 | #line 5135 "configure" | 5160 | #line 5161 "configure" |
| 5135 | #include "confdefs.h" | 5161 | #include "confdefs.h" |
| 5136 | /* System header to define __stub macros and hopefully few prototypes, | 5162 | /* System header to define __stub macros and hopefully few prototypes, |
| 5137 | which can conflict with char $ac_func(); below. */ | 5163 | which can conflict with char $ac_func(); below. */ |
| @@ -5140,7 +5166,6 @@ else | |||
| 5140 | /* We use char because int might match the return type of a gcc2 | 5166 | /* We use char because int might match the return type of a gcc2 |
| 5141 | builtin and then its argument prototype would still apply. */ | 5167 | builtin and then its argument prototype would still apply. */ |
| 5142 | char $ac_func(); | 5168 | char $ac_func(); |
| 5143 | char (*f)(); | ||
| 5144 | 5169 | ||
| 5145 | int main() { | 5170 | int main() { |
| 5146 | 5171 | ||
| @@ -5150,12 +5175,12 @@ int main() { | |||
| 5150 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 5175 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
| 5151 | choke me | 5176 | choke me |
| 5152 | #else | 5177 | #else |
| 5153 | f = $ac_func; | 5178 | $ac_func(); |
| 5154 | #endif | 5179 | #endif |
| 5155 | 5180 | ||
| 5156 | ; return 0; } | 5181 | ; return 0; } |
| 5157 | EOF | 5182 | EOF |
| 5158 | if { (eval echo configure:5159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5183 | if { (eval echo configure:5184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5159 | rm -rf conftest* | 5184 | rm -rf conftest* |
| 5160 | eval "ac_cv_func_$ac_func=yes" | 5185 | eval "ac_cv_func_$ac_func=yes" |
| 5161 | else | 5186 | else |
| @@ -5185,7 +5210,7 @@ done | |||
| 5185 | # It's better to believe a function is not available | 5210 | # It's better to believe a function is not available |
| 5186 | # than to expect to find it in ncurses. | 5211 | # than to expect to find it in ncurses. |
| 5187 | echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 5212 | echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
| 5188 | echo "configure:5189: checking for tparm in -lncurses" >&5 | 5213 | echo "configure:5214: checking for tparm in -lncurses" >&5 |
| 5189 | ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 5214 | ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
| 5190 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5215 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5191 | echo $ac_n "(cached) $ac_c" 1>&6 | 5216 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5193,7 +5218,7 @@ else | |||
| 5193 | ac_save_LIBS="$LIBS" | 5218 | ac_save_LIBS="$LIBS" |
| 5194 | LIBS="-lncurses $LIBS" | 5219 | LIBS="-lncurses $LIBS" |
| 5195 | cat > conftest.$ac_ext <<EOF | 5220 | cat > conftest.$ac_ext <<EOF |
| 5196 | #line 5197 "configure" | 5221 | #line 5222 "configure" |
| 5197 | #include "confdefs.h" | 5222 | #include "confdefs.h" |
| 5198 | /* Override any gcc2 internal prototype to avoid an error. */ | 5223 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5199 | /* We use char because int might match the return type of a gcc2 | 5224 | /* We use char because int might match the return type of a gcc2 |
| @@ -5204,7 +5229,7 @@ int main() { | |||
| 5204 | tparm() | 5229 | tparm() |
| 5205 | ; return 0; } | 5230 | ; return 0; } |
| 5206 | EOF | 5231 | EOF |
| 5207 | if { (eval echo configure:5208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5232 | if { (eval echo configure:5233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5208 | rm -rf conftest* | 5233 | rm -rf conftest* |
| 5209 | eval "ac_cv_lib_$ac_lib_var=yes" | 5234 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5210 | else | 5235 | else |
| @@ -5232,10 +5257,716 @@ else | |||
| 5232 | fi | 5257 | fi |
| 5233 | 5258 | ||
| 5234 | 5259 | ||
| 5260 | # These tell us which Kerberos-related libraries to use. | ||
| 5261 | if test "${with_kerberos+set}" = set; then | ||
| 5262 | echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | ||
| 5263 | echo "configure:5264: checking for com_err in -lcom_err" >&5 | ||
| 5264 | ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | ||
| 5265 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 5266 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5267 | else | ||
| 5268 | ac_save_LIBS="$LIBS" | ||
| 5269 | LIBS="-lcom_err $LIBS" | ||
| 5270 | cat > conftest.$ac_ext <<EOF | ||
| 5271 | #line 5272 "configure" | ||
| 5272 | #include "confdefs.h" | ||
| 5273 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 5274 | /* We use char because int might match the return type of a gcc2 | ||
| 5275 | builtin and then its argument prototype would still apply. */ | ||
| 5276 | char com_err(); | ||
| 5277 | |||
| 5278 | int main() { | ||
| 5279 | com_err() | ||
| 5280 | ; return 0; } | ||
| 5281 | EOF | ||
| 5282 | if { (eval echo configure:5283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||
| 5283 | rm -rf conftest* | ||
| 5284 | eval "ac_cv_lib_$ac_lib_var=yes" | ||
| 5285 | else | ||
| 5286 | echo "configure: failed program was:" >&5 | ||
| 5287 | cat conftest.$ac_ext >&5 | ||
| 5288 | rm -rf conftest* | ||
| 5289 | eval "ac_cv_lib_$ac_lib_var=no" | ||
| 5290 | fi | ||
| 5291 | rm -f conftest* | ||
| 5292 | LIBS="$ac_save_LIBS" | ||
| 5293 | |||
| 5294 | fi | ||
| 5295 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
| 5296 | echo "$ac_t""yes" 1>&6 | ||
| 5297 | ac_tr_lib=HAVE_LIB`echo com_err | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | ||
| 5298 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | ||
| 5299 | cat >> confdefs.h <<EOF | ||
| 5300 | #define $ac_tr_lib 1 | ||
| 5301 | EOF | ||
| 5302 | |||
| 5303 | LIBS="-lcom_err $LIBS" | ||
| 5304 | |||
| 5305 | else | ||
| 5306 | echo "$ac_t""no" 1>&6 | ||
| 5307 | fi | ||
| 5308 | |||
| 5309 | echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | ||
| 5310 | echo "configure:5311: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | ||
| 5311 | ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | ||
| 5312 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 5313 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5314 | else | ||
| 5315 | ac_save_LIBS="$LIBS" | ||
| 5316 | LIBS="-lk5crypto $LIBS" | ||
| 5317 | cat > conftest.$ac_ext <<EOF | ||
| 5318 | #line 5319 "configure" | ||
| 5319 | #include "confdefs.h" | ||
| 5320 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 5321 | /* We use char because int might match the return type of a gcc2 | ||
| 5322 | builtin and then its argument prototype would still apply. */ | ||
| 5323 | char mit_des_cbc_encrypt(); | ||
| 5324 | |||
| 5325 | int main() { | ||
| 5326 | mit_des_cbc_encrypt() | ||
| 5327 | ; return 0; } | ||
| 5328 | EOF | ||
| 5329 | if { (eval echo configure:5330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||
| 5330 | rm -rf conftest* | ||
| 5331 | eval "ac_cv_lib_$ac_lib_var=yes" | ||
| 5332 | else | ||
| 5333 | echo "configure: failed program was:" >&5 | ||
| 5334 | cat conftest.$ac_ext >&5 | ||
| 5335 | rm -rf conftest* | ||
| 5336 | eval "ac_cv_lib_$ac_lib_var=no" | ||
| 5337 | fi | ||
| 5338 | rm -f conftest* | ||
| 5339 | LIBS="$ac_save_LIBS" | ||
| 5340 | |||
| 5341 | fi | ||
| 5342 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
| 5343 | echo "$ac_t""yes" 1>&6 | ||
| 5344 | ac_tr_lib=HAVE_LIB`echo k5crypto | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | ||
| 5345 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | ||
| 5346 | cat >> confdefs.h <<EOF | ||
| 5347 | #define $ac_tr_lib 1 | ||
| 5348 | EOF | ||
| 5349 | |||
| 5350 | LIBS="-lk5crypto $LIBS" | ||
| 5351 | |||
| 5352 | else | ||
| 5353 | echo "$ac_t""no" 1>&6 | ||
| 5354 | fi | ||
| 5355 | |||
| 5356 | echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | ||
| 5357 | echo "configure:5358: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | ||
| 5358 | ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | ||
| 5359 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 5360 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5361 | else | ||
| 5362 | ac_save_LIBS="$LIBS" | ||
| 5363 | LIBS="-lcrypto $LIBS" | ||
| 5364 | cat > conftest.$ac_ext <<EOF | ||
| 5365 | #line 5366 "configure" | ||
| 5366 | #include "confdefs.h" | ||
| 5367 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 5368 | /* We use char because int might match the return type of a gcc2 | ||
| 5369 | builtin and then its argument prototype would still apply. */ | ||
| 5370 | char mit_des_cbc_encrypt(); | ||
| 5371 | |||
| 5372 | int main() { | ||
| 5373 | mit_des_cbc_encrypt() | ||
| 5374 | ; return 0; } | ||
| 5375 | EOF | ||
| 5376 | if { (eval echo configure:5377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||
| 5377 | rm -rf conftest* | ||
| 5378 | eval "ac_cv_lib_$ac_lib_var=yes" | ||
| 5379 | else | ||
| 5380 | echo "configure: failed program was:" >&5 | ||
| 5381 | cat conftest.$ac_ext >&5 | ||
| 5382 | rm -rf conftest* | ||
| 5383 | eval "ac_cv_lib_$ac_lib_var=no" | ||
| 5384 | fi | ||
| 5385 | rm -f conftest* | ||
| 5386 | LIBS="$ac_save_LIBS" | ||
| 5387 | |||
| 5388 | fi | ||
| 5389 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
| 5390 | echo "$ac_t""yes" 1>&6 | ||
| 5391 | ac_tr_lib=HAVE_LIB`echo crypto | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | ||
| 5392 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | ||
| 5393 | cat >> confdefs.h <<EOF | ||
| 5394 | #define $ac_tr_lib 1 | ||
| 5395 | EOF | ||
| 5396 | |||
| 5397 | LIBS="-lcrypto $LIBS" | ||
| 5398 | |||
| 5399 | else | ||
| 5400 | echo "$ac_t""no" 1>&6 | ||
| 5401 | fi | ||
| 5402 | |||
| 5403 | echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | ||
| 5404 | echo "configure:5405: checking for krb5_init_context in -lkrb5" >&5 | ||
| 5405 | ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | ||
| 5406 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 5407 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5408 | else | ||
| 5409 | ac_save_LIBS="$LIBS" | ||
| 5410 | LIBS="-lkrb5 $LIBS" | ||
| 5411 | cat > conftest.$ac_ext <<EOF | ||
| 5412 | #line 5413 "configure" | ||
| 5413 | #include "confdefs.h" | ||
| 5414 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 5415 | /* We use char because int might match the return type of a gcc2 | ||
| 5416 | builtin and then its argument prototype would still apply. */ | ||
| 5417 | char krb5_init_context(); | ||
| 5418 | |||
| 5419 | int main() { | ||
| 5420 | krb5_init_context() | ||
| 5421 | ; return 0; } | ||
| 5422 | EOF | ||
| 5423 | if { (eval echo configure:5424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||
| 5424 | rm -rf conftest* | ||
| 5425 | eval "ac_cv_lib_$ac_lib_var=yes" | ||
| 5426 | else | ||
| 5427 | echo "configure: failed program was:" >&5 | ||
| 5428 | cat conftest.$ac_ext >&5 | ||
| 5429 | rm -rf conftest* | ||
| 5430 | eval "ac_cv_lib_$ac_lib_var=no" | ||
| 5431 | fi | ||
| 5432 | rm -f conftest* | ||
| 5433 | LIBS="$ac_save_LIBS" | ||
| 5434 | |||
| 5435 | fi | ||
| 5436 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
| 5437 | echo "$ac_t""yes" 1>&6 | ||
| 5438 | ac_tr_lib=HAVE_LIB`echo krb5 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | ||
| 5439 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | ||
| 5440 | cat >> confdefs.h <<EOF | ||
| 5441 | #define $ac_tr_lib 1 | ||
| 5442 | EOF | ||
| 5443 | |||
| 5444 | LIBS="-lkrb5 $LIBS" | ||
| 5445 | |||
| 5446 | else | ||
| 5447 | echo "$ac_t""no" 1>&6 | ||
| 5448 | fi | ||
| 5449 | |||
| 5450 | if test "${with_kerberos5+set}" != set; then | ||
| 5451 | echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | ||
| 5452 | echo "configure:5453: checking for des_cbc_encrypt in -ldes425" >&5 | ||
| 5453 | ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | ||
| 5454 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 5455 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5456 | else | ||
| 5457 | ac_save_LIBS="$LIBS" | ||
| 5458 | LIBS="-ldes425 $LIBS" | ||
| 5459 | cat > conftest.$ac_ext <<EOF | ||
| 5460 | #line 5461 "configure" | ||
| 5461 | #include "confdefs.h" | ||
| 5462 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 5463 | /* We use char because int might match the return type of a gcc2 | ||
| 5464 | builtin and then its argument prototype would still apply. */ | ||
| 5465 | char des_cbc_encrypt(); | ||
| 5466 | |||
| 5467 | int main() { | ||
| 5468 | des_cbc_encrypt() | ||
| 5469 | ; return 0; } | ||
| 5470 | EOF | ||
| 5471 | if { (eval echo configure:5472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||
| 5472 | rm -rf conftest* | ||
| 5473 | eval "ac_cv_lib_$ac_lib_var=yes" | ||
| 5474 | else | ||
| 5475 | echo "configure: failed program was:" >&5 | ||
| 5476 | cat conftest.$ac_ext >&5 | ||
| 5477 | rm -rf conftest* | ||
| 5478 | eval "ac_cv_lib_$ac_lib_var=no" | ||
| 5479 | fi | ||
| 5480 | rm -f conftest* | ||
| 5481 | LIBS="$ac_save_LIBS" | ||
| 5482 | |||
| 5483 | fi | ||
| 5484 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
| 5485 | echo "$ac_t""yes" 1>&6 | ||
| 5486 | ac_tr_lib=HAVE_LIB`echo des425 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | ||
| 5487 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | ||
| 5488 | cat >> confdefs.h <<EOF | ||
| 5489 | #define $ac_tr_lib 1 | ||
| 5490 | EOF | ||
| 5491 | |||
| 5492 | LIBS="-ldes425 $LIBS" | ||
| 5493 | |||
| 5494 | else | ||
| 5495 | echo "$ac_t""no" 1>&6 | ||
| 5496 | echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | ||
| 5497 | echo "configure:5498: checking for des_cbc_encrypt in -ldes" >&5 | ||
| 5498 | ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | ||
| 5499 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 5500 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5501 | else | ||
| 5502 | ac_save_LIBS="$LIBS" | ||
| 5503 | LIBS="-ldes $LIBS" | ||
| 5504 | cat > conftest.$ac_ext <<EOF | ||
| 5505 | #line 5506 "configure" | ||
| 5506 | #include "confdefs.h" | ||
| 5507 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 5508 | /* We use char because int might match the return type of a gcc2 | ||
| 5509 | builtin and then its argument prototype would still apply. */ | ||
| 5510 | char des_cbc_encrypt(); | ||
| 5511 | |||
| 5512 | int main() { | ||
| 5513 | des_cbc_encrypt() | ||
| 5514 | ; return 0; } | ||
| 5515 | EOF | ||
| 5516 | if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||
| 5517 | rm -rf conftest* | ||
| 5518 | eval "ac_cv_lib_$ac_lib_var=yes" | ||
| 5519 | else | ||
| 5520 | echo "configure: failed program was:" >&5 | ||
| 5521 | cat conftest.$ac_ext >&5 | ||
| 5522 | rm -rf conftest* | ||
| 5523 | eval "ac_cv_lib_$ac_lib_var=no" | ||
| 5524 | fi | ||
| 5525 | rm -f conftest* | ||
| 5526 | LIBS="$ac_save_LIBS" | ||
| 5527 | |||
| 5528 | fi | ||
| 5529 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
| 5530 | echo "$ac_t""yes" 1>&6 | ||
| 5531 | ac_tr_lib=HAVE_LIB`echo des | sed -e 's/^a-zA-Z0-9_/_/g' \ | ||
| 5532 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | ||
| 5533 | cat >> confdefs.h <<EOF | ||
| 5534 | #define $ac_tr_lib 1 | ||
| 5535 | EOF | ||
| 5536 | |||
| 5537 | LIBS="-ldes $LIBS" | ||
| 5538 | |||
| 5539 | else | ||
| 5540 | echo "$ac_t""no" 1>&6 | ||
| 5541 | fi | ||
| 5542 | |||
| 5543 | fi | ||
| 5544 | |||
| 5545 | echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | ||
| 5546 | echo "configure:5547: checking for krb_get_cred in -lkrb4" >&5 | ||
| 5547 | ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | ||
| 5548 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 5549 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5550 | else | ||
| 5551 | ac_save_LIBS="$LIBS" | ||
| 5552 | LIBS="-lkrb4 $LIBS" | ||
| 5553 | cat > conftest.$ac_ext <<EOF | ||
| 5554 | #line 5555 "configure" | ||
| 5555 | #include "confdefs.h" | ||
| 5556 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 5557 | /* We use char because int might match the return type of a gcc2 | ||
| 5558 | builtin and then its argument prototype would still apply. */ | ||
| 5559 | char krb_get_cred(); | ||
| 5560 | |||
| 5561 | int main() { | ||
| 5562 | krb_get_cred() | ||
| 5563 | ; return 0; } | ||
| 5564 | EOF | ||
| 5565 | if { (eval echo configure:5566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||
| 5566 | rm -rf conftest* | ||
| 5567 | eval "ac_cv_lib_$ac_lib_var=yes" | ||
| 5568 | else | ||
| 5569 | echo "configure: failed program was:" >&5 | ||
| 5570 | cat conftest.$ac_ext >&5 | ||
| 5571 | rm -rf conftest* | ||
| 5572 | eval "ac_cv_lib_$ac_lib_var=no" | ||
| 5573 | fi | ||
| 5574 | rm -f conftest* | ||
| 5575 | LIBS="$ac_save_LIBS" | ||
| 5576 | |||
| 5577 | fi | ||
| 5578 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
| 5579 | echo "$ac_t""yes" 1>&6 | ||
| 5580 | ac_tr_lib=HAVE_LIB`echo krb4 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ | ||
| 5581 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | ||
| 5582 | cat >> confdefs.h <<EOF | ||
| 5583 | #define $ac_tr_lib 1 | ||
| 5584 | EOF | ||
| 5585 | |||
| 5586 | LIBS="-lkrb4 $LIBS" | ||
| 5587 | |||
| 5588 | else | ||
| 5589 | echo "$ac_t""no" 1>&6 | ||
| 5590 | echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | ||
| 5591 | echo "configure:5592: checking for krb_get_cred in -lkrb" >&5 | ||
| 5592 | ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | ||
| 5593 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | ||
| 5594 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5595 | else | ||
| 5596 | ac_save_LIBS="$LIBS" | ||
| 5597 | LIBS="-lkrb $LIBS" | ||
| 5598 | cat > conftest.$ac_ext <<EOF | ||
| 5599 | #line 5600 "configure" | ||
| 5600 | #include "confdefs.h" | ||
| 5601 | /* Override any gcc2 internal prototype to avoid an error. */ | ||
| 5602 | /* We use char because int might match the return type of a gcc2 | ||
| 5603 | builtin and then its argument prototype would still apply. */ | ||
| 5604 | char krb_get_cred(); | ||
| 5605 | |||
| 5606 | int main() { | ||
| 5607 | krb_get_cred() | ||
| 5608 | ; return 0; } | ||
| 5609 | EOF | ||
| 5610 | if { (eval echo configure:5611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | ||
| 5611 | rm -rf conftest* | ||
| 5612 | eval "ac_cv_lib_$ac_lib_var=yes" | ||
| 5613 | else | ||
| 5614 | echo "configure: failed program was:" >&5 | ||
| 5615 | cat conftest.$ac_ext >&5 | ||
| 5616 | rm -rf conftest* | ||
| 5617 | eval "ac_cv_lib_$ac_lib_var=no" | ||
| 5618 | fi | ||
| 5619 | rm -f conftest* | ||
| 5620 | LIBS="$ac_save_LIBS" | ||
| 5621 | |||
| 5622 | fi | ||
| 5623 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
| 5624 | echo "$ac_t""yes" 1>&6 | ||
| 5625 | ac_tr_lib=HAVE_LIB`echo krb | sed -e 's/^a-zA-Z0-9_/_/g' \ | ||
| 5626 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` | ||
| 5627 | cat >> confdefs.h <<EOF | ||
| 5628 | #define $ac_tr_lib 1 | ||
| 5629 | EOF | ||
| 5630 | |||
| 5631 | LIBS="-lkrb $LIBS" | ||
| 5632 | |||
| 5633 | else | ||
| 5634 | echo "$ac_t""no" 1>&6 | ||
| 5635 | fi | ||
| 5636 | |||
| 5637 | fi | ||
| 5638 | |||
| 5639 | fi | ||
| 5640 | |||
| 5641 | if test "${with_kerberos5+set}" = set; then | ||
| 5642 | for ac_hdr in krb5.h | ||
| 5643 | do | ||
| 5644 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ||
| 5645 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | ||
| 5646 | echo "configure:5647: checking for $ac_hdr" >&5 | ||
| 5647 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 5648 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5649 | else | ||
| 5650 | cat > conftest.$ac_ext <<EOF | ||
| 5651 | #line 5652 "configure" | ||
| 5652 | #include "confdefs.h" | ||
| 5653 | #include <$ac_hdr> | ||
| 5654 | EOF | ||
| 5655 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||
| 5656 | { (eval echo configure:5657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||
| 5657 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 5658 | if test -z "$ac_err"; then | ||
| 5659 | rm -rf conftest* | ||
| 5660 | eval "ac_cv_header_$ac_safe=yes" | ||
| 5661 | else | ||
| 5662 | echo "$ac_err" >&5 | ||
| 5663 | echo "configure: failed program was:" >&5 | ||
| 5664 | cat conftest.$ac_ext >&5 | ||
| 5665 | rm -rf conftest* | ||
| 5666 | eval "ac_cv_header_$ac_safe=no" | ||
| 5667 | fi | ||
| 5668 | rm -f conftest* | ||
| 5669 | fi | ||
| 5670 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | ||
| 5671 | echo "$ac_t""yes" 1>&6 | ||
| 5672 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | ||
| 5673 | cat >> confdefs.h <<EOF | ||
| 5674 | #define $ac_tr_hdr 1 | ||
| 5675 | EOF | ||
| 5676 | |||
| 5677 | else | ||
| 5678 | echo "$ac_t""no" 1>&6 | ||
| 5679 | fi | ||
| 5680 | done | ||
| 5681 | |||
| 5682 | else | ||
| 5683 | for ac_hdr in des.h | ||
| 5684 | do | ||
| 5685 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ||
| 5686 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | ||
| 5687 | echo "configure:5688: checking for $ac_hdr" >&5 | ||
| 5688 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 5689 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5690 | else | ||
| 5691 | cat > conftest.$ac_ext <<EOF | ||
| 5692 | #line 5693 "configure" | ||
| 5693 | #include "confdefs.h" | ||
| 5694 | #include <$ac_hdr> | ||
| 5695 | EOF | ||
| 5696 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||
| 5697 | { (eval echo configure:5698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||
| 5698 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 5699 | if test -z "$ac_err"; then | ||
| 5700 | rm -rf conftest* | ||
| 5701 | eval "ac_cv_header_$ac_safe=yes" | ||
| 5702 | else | ||
| 5703 | echo "$ac_err" >&5 | ||
| 5704 | echo "configure: failed program was:" >&5 | ||
| 5705 | cat conftest.$ac_ext >&5 | ||
| 5706 | rm -rf conftest* | ||
| 5707 | eval "ac_cv_header_$ac_safe=no" | ||
| 5708 | fi | ||
| 5709 | rm -f conftest* | ||
| 5710 | fi | ||
| 5711 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | ||
| 5712 | echo "$ac_t""yes" 1>&6 | ||
| 5713 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | ||
| 5714 | cat >> confdefs.h <<EOF | ||
| 5715 | #define $ac_tr_hdr 1 | ||
| 5716 | EOF | ||
| 5717 | |||
| 5718 | else | ||
| 5719 | echo "$ac_t""no" 1>&6 | ||
| 5720 | for ac_hdr in kerberosIV/des.h | ||
| 5721 | do | ||
| 5722 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ||
| 5723 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | ||
| 5724 | echo "configure:5725: checking for $ac_hdr" >&5 | ||
| 5725 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 5726 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5727 | else | ||
| 5728 | cat > conftest.$ac_ext <<EOF | ||
| 5729 | #line 5730 "configure" | ||
| 5730 | #include "confdefs.h" | ||
| 5731 | #include <$ac_hdr> | ||
| 5732 | EOF | ||
| 5733 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||
| 5734 | { (eval echo configure:5735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||
| 5735 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 5736 | if test -z "$ac_err"; then | ||
| 5737 | rm -rf conftest* | ||
| 5738 | eval "ac_cv_header_$ac_safe=yes" | ||
| 5739 | else | ||
| 5740 | echo "$ac_err" >&5 | ||
| 5741 | echo "configure: failed program was:" >&5 | ||
| 5742 | cat conftest.$ac_ext >&5 | ||
| 5743 | rm -rf conftest* | ||
| 5744 | eval "ac_cv_header_$ac_safe=no" | ||
| 5745 | fi | ||
| 5746 | rm -f conftest* | ||
| 5747 | fi | ||
| 5748 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | ||
| 5749 | echo "$ac_t""yes" 1>&6 | ||
| 5750 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | ||
| 5751 | cat >> confdefs.h <<EOF | ||
| 5752 | #define $ac_tr_hdr 1 | ||
| 5753 | EOF | ||
| 5754 | |||
| 5755 | else | ||
| 5756 | echo "$ac_t""no" 1>&6 | ||
| 5757 | for ac_hdr in kerberos/des.h | ||
| 5758 | do | ||
| 5759 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ||
| 5760 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | ||
| 5761 | echo "configure:5762: checking for $ac_hdr" >&5 | ||
| 5762 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 5763 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5764 | else | ||
| 5765 | cat > conftest.$ac_ext <<EOF | ||
| 5766 | #line 5767 "configure" | ||
| 5767 | #include "confdefs.h" | ||
| 5768 | #include <$ac_hdr> | ||
| 5769 | EOF | ||
| 5770 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||
| 5771 | { (eval echo configure:5772: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||
| 5772 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 5773 | if test -z "$ac_err"; then | ||
| 5774 | rm -rf conftest* | ||
| 5775 | eval "ac_cv_header_$ac_safe=yes" | ||
| 5776 | else | ||
| 5777 | echo "$ac_err" >&5 | ||
| 5778 | echo "configure: failed program was:" >&5 | ||
| 5779 | cat conftest.$ac_ext >&5 | ||
| 5780 | rm -rf conftest* | ||
| 5781 | eval "ac_cv_header_$ac_safe=no" | ||
| 5782 | fi | ||
| 5783 | rm -f conftest* | ||
| 5784 | fi | ||
| 5785 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | ||
| 5786 | echo "$ac_t""yes" 1>&6 | ||
| 5787 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | ||
| 5788 | cat >> confdefs.h <<EOF | ||
| 5789 | #define $ac_tr_hdr 1 | ||
| 5790 | EOF | ||
| 5791 | |||
| 5792 | else | ||
| 5793 | echo "$ac_t""no" 1>&6 | ||
| 5794 | fi | ||
| 5795 | done | ||
| 5796 | |||
| 5797 | fi | ||
| 5798 | done | ||
| 5799 | |||
| 5800 | fi | ||
| 5801 | done | ||
| 5802 | |||
| 5803 | for ac_hdr in krb.h | ||
| 5804 | do | ||
| 5805 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ||
| 5806 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | ||
| 5807 | echo "configure:5808: checking for $ac_hdr" >&5 | ||
| 5808 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 5809 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5810 | else | ||
| 5811 | cat > conftest.$ac_ext <<EOF | ||
| 5812 | #line 5813 "configure" | ||
| 5813 | #include "confdefs.h" | ||
| 5814 | #include <$ac_hdr> | ||
| 5815 | EOF | ||
| 5816 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||
| 5817 | { (eval echo configure:5818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||
| 5818 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 5819 | if test -z "$ac_err"; then | ||
| 5820 | rm -rf conftest* | ||
| 5821 | eval "ac_cv_header_$ac_safe=yes" | ||
| 5822 | else | ||
| 5823 | echo "$ac_err" >&5 | ||
| 5824 | echo "configure: failed program was:" >&5 | ||
| 5825 | cat conftest.$ac_ext >&5 | ||
| 5826 | rm -rf conftest* | ||
| 5827 | eval "ac_cv_header_$ac_safe=no" | ||
| 5828 | fi | ||
| 5829 | rm -f conftest* | ||
| 5830 | fi | ||
| 5831 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | ||
| 5832 | echo "$ac_t""yes" 1>&6 | ||
| 5833 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | ||
| 5834 | cat >> confdefs.h <<EOF | ||
| 5835 | #define $ac_tr_hdr 1 | ||
| 5836 | EOF | ||
| 5837 | |||
| 5838 | else | ||
| 5839 | echo "$ac_t""no" 1>&6 | ||
| 5840 | for ac_hdr in kerberosIV/krb.h | ||
| 5841 | do | ||
| 5842 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ||
| 5843 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | ||
| 5844 | echo "configure:5845: checking for $ac_hdr" >&5 | ||
| 5845 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 5846 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5847 | else | ||
| 5848 | cat > conftest.$ac_ext <<EOF | ||
| 5849 | #line 5850 "configure" | ||
| 5850 | #include "confdefs.h" | ||
| 5851 | #include <$ac_hdr> | ||
| 5852 | EOF | ||
| 5853 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||
| 5854 | { (eval echo configure:5855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||
| 5855 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 5856 | if test -z "$ac_err"; then | ||
| 5857 | rm -rf conftest* | ||
| 5858 | eval "ac_cv_header_$ac_safe=yes" | ||
| 5859 | else | ||
| 5860 | echo "$ac_err" >&5 | ||
| 5861 | echo "configure: failed program was:" >&5 | ||
| 5862 | cat conftest.$ac_ext >&5 | ||
| 5863 | rm -rf conftest* | ||
| 5864 | eval "ac_cv_header_$ac_safe=no" | ||
| 5865 | fi | ||
| 5866 | rm -f conftest* | ||
| 5867 | fi | ||
| 5868 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | ||
| 5869 | echo "$ac_t""yes" 1>&6 | ||
| 5870 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | ||
| 5871 | cat >> confdefs.h <<EOF | ||
| 5872 | #define $ac_tr_hdr 1 | ||
| 5873 | EOF | ||
| 5874 | |||
| 5875 | else | ||
| 5876 | echo "$ac_t""no" 1>&6 | ||
| 5877 | for ac_hdr in kerberos/krb.h | ||
| 5878 | do | ||
| 5879 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ||
| 5880 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | ||
| 5881 | echo "configure:5882: checking for $ac_hdr" >&5 | ||
| 5882 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 5883 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5884 | else | ||
| 5885 | cat > conftest.$ac_ext <<EOF | ||
| 5886 | #line 5887 "configure" | ||
| 5887 | #include "confdefs.h" | ||
| 5888 | #include <$ac_hdr> | ||
| 5889 | EOF | ||
| 5890 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||
| 5891 | { (eval echo configure:5892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||
| 5892 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 5893 | if test -z "$ac_err"; then | ||
| 5894 | rm -rf conftest* | ||
| 5895 | eval "ac_cv_header_$ac_safe=yes" | ||
| 5896 | else | ||
| 5897 | echo "$ac_err" >&5 | ||
| 5898 | echo "configure: failed program was:" >&5 | ||
| 5899 | cat conftest.$ac_ext >&5 | ||
| 5900 | rm -rf conftest* | ||
| 5901 | eval "ac_cv_header_$ac_safe=no" | ||
| 5902 | fi | ||
| 5903 | rm -f conftest* | ||
| 5904 | fi | ||
| 5905 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | ||
| 5906 | echo "$ac_t""yes" 1>&6 | ||
| 5907 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | ||
| 5908 | cat >> confdefs.h <<EOF | ||
| 5909 | #define $ac_tr_hdr 1 | ||
| 5910 | EOF | ||
| 5911 | |||
| 5912 | else | ||
| 5913 | echo "$ac_t""no" 1>&6 | ||
| 5914 | fi | ||
| 5915 | done | ||
| 5916 | |||
| 5917 | fi | ||
| 5918 | done | ||
| 5919 | |||
| 5920 | fi | ||
| 5921 | done | ||
| 5922 | |||
| 5923 | fi | ||
| 5924 | for ac_hdr in com_err.h | ||
| 5925 | do | ||
| 5926 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ||
| 5927 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | ||
| 5928 | echo "configure:5929: checking for $ac_hdr" >&5 | ||
| 5929 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | ||
| 5930 | echo $ac_n "(cached) $ac_c" 1>&6 | ||
| 5931 | else | ||
| 5932 | cat > conftest.$ac_ext <<EOF | ||
| 5933 | #line 5934 "configure" | ||
| 5934 | #include "confdefs.h" | ||
| 5935 | #include <$ac_hdr> | ||
| 5936 | EOF | ||
| 5937 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ||
| 5938 | { (eval echo configure:5939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | ||
| 5939 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ||
| 5940 | if test -z "$ac_err"; then | ||
| 5941 | rm -rf conftest* | ||
| 5942 | eval "ac_cv_header_$ac_safe=yes" | ||
| 5943 | else | ||
| 5944 | echo "$ac_err" >&5 | ||
| 5945 | echo "configure: failed program was:" >&5 | ||
| 5946 | cat conftest.$ac_ext >&5 | ||
| 5947 | rm -rf conftest* | ||
| 5948 | eval "ac_cv_header_$ac_safe=no" | ||
| 5949 | fi | ||
| 5950 | rm -f conftest* | ||
| 5951 | fi | ||
| 5952 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | ||
| 5953 | echo "$ac_t""yes" 1>&6 | ||
| 5954 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` | ||
| 5955 | cat >> confdefs.h <<EOF | ||
| 5956 | #define $ac_tr_hdr 1 | ||
| 5957 | EOF | ||
| 5958 | |||
| 5959 | else | ||
| 5960 | echo "$ac_t""no" 1>&6 | ||
| 5961 | fi | ||
| 5962 | done | ||
| 5963 | |||
| 5964 | fi | ||
| 5965 | |||
| 5235 | # Solaris requires -lintl if you want strerror (which calls dgettext) | 5966 | # Solaris requires -lintl if you want strerror (which calls dgettext) |
| 5236 | # to return localized messages. | 5967 | # to return localized messages. |
| 5237 | echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 5968 | echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
| 5238 | echo "configure:5239: checking for dgettext in -lintl" >&5 | 5969 | echo "configure:5970: checking for dgettext in -lintl" >&5 |
| 5239 | ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 5970 | ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
| 5240 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5971 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
| 5241 | echo $ac_n "(cached) $ac_c" 1>&6 | 5972 | echo $ac_n "(cached) $ac_c" 1>&6 |
| @@ -5243,7 +5974,7 @@ else | |||
| 5243 | ac_save_LIBS="$LIBS" | 5974 | ac_save_LIBS="$LIBS" |
| 5244 | LIBS="-lintl $LIBS" | 5975 | LIBS="-lintl $LIBS" |
| 5245 | cat > conftest.$ac_ext <<EOF | 5976 | cat > conftest.$ac_ext <<EOF |
| 5246 | #line 5247 "configure" | 5977 | #line 5978 "configure" |
| 5247 | #include "confdefs.h" | 5978 | #include "confdefs.h" |
| 5248 | /* Override any gcc2 internal prototype to avoid an error. */ | 5979 | /* Override any gcc2 internal prototype to avoid an error. */ |
| 5249 | /* We use char because int might match the return type of a gcc2 | 5980 | /* We use char because int might match the return type of a gcc2 |
| @@ -5254,7 +5985,7 @@ int main() { | |||
| 5254 | dgettext() | 5985 | dgettext() |
| 5255 | ; return 0; } | 5986 | ; return 0; } |
| 5256 | EOF | 5987 | EOF |
| 5257 | if { (eval echo configure:5258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5988 | if { (eval echo configure:5989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5258 | rm -rf conftest* | 5989 | rm -rf conftest* |
| 5259 | eval "ac_cv_lib_$ac_lib_var=yes" | 5990 | eval "ac_cv_lib_$ac_lib_var=yes" |
| 5260 | else | 5991 | else |
| @@ -5283,7 +6014,7 @@ fi | |||
| 5283 | 6014 | ||
| 5284 | 6015 | ||
| 5285 | echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 6016 | echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
| 5286 | echo "configure:5287: checking whether localtime caches TZ" >&5 | 6017 | echo "configure:6018: checking whether localtime caches TZ" >&5 |
| 5287 | if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 6018 | if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
| 5288 | echo $ac_n "(cached) $ac_c" 1>&6 | 6019 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5289 | else | 6020 | else |
| @@ -5293,7 +6024,7 @@ if test "$cross_compiling" = yes; then | |||
| 5293 | emacs_cv_localtime_cache=yes | 6024 | emacs_cv_localtime_cache=yes |
| 5294 | else | 6025 | else |
| 5295 | cat > conftest.$ac_ext <<EOF | 6026 | cat > conftest.$ac_ext <<EOF |
| 5296 | #line 5297 "configure" | 6027 | #line 6028 "configure" |
| 5297 | #include "confdefs.h" | 6028 | #include "confdefs.h" |
| 5298 | #include <time.h> | 6029 | #include <time.h> |
| 5299 | extern char **environ; | 6030 | extern char **environ; |
| @@ -5325,7 +6056,7 @@ main() | |||
| 5325 | exit (0); | 6056 | exit (0); |
| 5326 | } | 6057 | } |
| 5327 | EOF | 6058 | EOF |
| 5328 | if { (eval echo configure:5329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6059 | if { (eval echo configure:6060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| 5329 | then | 6060 | then |
| 5330 | emacs_cv_localtime_cache=no | 6061 | emacs_cv_localtime_cache=no |
| 5331 | else | 6062 | else |
| @@ -5353,12 +6084,12 @@ fi | |||
| 5353 | 6084 | ||
| 5354 | if test "x$HAVE_TIMEVAL" = xyes; then | 6085 | if test "x$HAVE_TIMEVAL" = xyes; then |
| 5355 | echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 6086 | echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
| 5356 | echo "configure:5357: checking whether gettimeofday can accept two arguments" >&5 | 6087 | echo "configure:6088: checking whether gettimeofday can accept two arguments" >&5 |
| 5357 | if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 6088 | if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
| 5358 | echo $ac_n "(cached) $ac_c" 1>&6 | 6089 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5359 | else | 6090 | else |
| 5360 | cat > conftest.$ac_ext <<EOF | 6091 | cat > conftest.$ac_ext <<EOF |
| 5361 | #line 5362 "configure" | 6092 | #line 6093 "configure" |
| 5362 | #include "confdefs.h" | 6093 | #include "confdefs.h" |
| 5363 | 6094 | ||
| 5364 | #ifdef TIME_WITH_SYS_TIME | 6095 | #ifdef TIME_WITH_SYS_TIME |
| @@ -5380,7 +6111,7 @@ int main() { | |||
| 5380 | 6111 | ||
| 5381 | ; return 0; } | 6112 | ; return 0; } |
| 5382 | EOF | 6113 | EOF |
| 5383 | if { (eval echo configure:5384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6114 | if { (eval echo configure:6115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5384 | rm -rf conftest* | 6115 | rm -rf conftest* |
| 5385 | emacs_cv_gettimeofday_two_arguments=yes | 6116 | emacs_cv_gettimeofday_two_arguments=yes |
| 5386 | else | 6117 | else |
| @@ -5403,12 +6134,12 @@ fi | |||
| 5403 | 6134 | ||
| 5404 | ok_so_far=yes | 6135 | ok_so_far=yes |
| 5405 | echo $ac_n "checking for socket""... $ac_c" 1>&6 | 6136 | echo $ac_n "checking for socket""... $ac_c" 1>&6 |
| 5406 | echo "configure:5407: checking for socket" >&5 | 6137 | echo "configure:6138: checking for socket" >&5 |
| 5407 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 6138 | if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
| 5408 | echo $ac_n "(cached) $ac_c" 1>&6 | 6139 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5409 | else | 6140 | else |
| 5410 | cat > conftest.$ac_ext <<EOF | 6141 | cat > conftest.$ac_ext <<EOF |
| 5411 | #line 5412 "configure" | 6142 | #line 6143 "configure" |
| 5412 | #include "confdefs.h" | 6143 | #include "confdefs.h" |
| 5413 | /* System header to define __stub macros and hopefully few prototypes, | 6144 | /* System header to define __stub macros and hopefully few prototypes, |
| 5414 | which can conflict with char socket(); below. */ | 6145 | which can conflict with char socket(); below. */ |
| @@ -5417,7 +6148,6 @@ else | |||
| 5417 | /* We use char because int might match the return type of a gcc2 | 6148 | /* We use char because int might match the return type of a gcc2 |
| 5418 | builtin and then its argument prototype would still apply. */ | 6149 | builtin and then its argument prototype would still apply. */ |
| 5419 | char socket(); | 6150 | char socket(); |
| 5420 | char (*f)(); | ||
| 5421 | 6151 | ||
| 5422 | int main() { | 6152 | int main() { |
| 5423 | 6153 | ||
| @@ -5427,12 +6157,12 @@ int main() { | |||
| 5427 | #if defined (__stub_socket) || defined (__stub___socket) | 6157 | #if defined (__stub_socket) || defined (__stub___socket) |
| 5428 | choke me | 6158 | choke me |
| 5429 | #else | 6159 | #else |
| 5430 | f = socket; | 6160 | socket(); |
| 5431 | #endif | 6161 | #endif |
| 5432 | 6162 | ||
| 5433 | ; return 0; } | 6163 | ; return 0; } |
| 5434 | EOF | 6164 | EOF |
| 5435 | if { (eval echo configure:5436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6165 | if { (eval echo configure:6166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 5436 | rm -rf conftest* | 6166 | rm -rf conftest* |
| 5437 | eval "ac_cv_func_socket=yes" | 6167 | eval "ac_cv_func_socket=yes" |
| 5438 | else | 6168 | else |
| @@ -5455,17 +6185,17 @@ fi | |||
| 5455 | if test $ok_so_far = yes; then | 6185 | if test $ok_so_far = yes; then |
| 5456 | ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 6186 | ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
| 5457 | echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 6187 | echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
| 5458 | echo "configure:5459: checking for netinet/in.h" >&5 | 6188 | echo "configure:6189: checking for netinet/in.h" >&5 |
| 5459 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6189 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5460 | echo $ac_n "(cached) $ac_c" 1>&6 | 6190 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5461 | else | 6191 | else |
| 5462 | cat > conftest.$ac_ext <<EOF | 6192 | cat > conftest.$ac_ext <<EOF |
| 5463 | #line 5464 "configure" | 6193 | #line 6194 "configure" |
| 5464 | #include "confdefs.h" | 6194 | #include "confdefs.h" |
| 5465 | #include <netinet/in.h> | 6195 | #include <netinet/in.h> |
| 5466 | EOF | 6196 | EOF |
| 5467 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6197 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5468 | { (eval echo configure:5469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6198 | { (eval echo configure:6199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5469 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6199 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5470 | if test -z "$ac_err"; then | 6200 | if test -z "$ac_err"; then |
| 5471 | rm -rf conftest* | 6201 | rm -rf conftest* |
| @@ -5491,17 +6221,17 @@ fi | |||
| 5491 | if test $ok_so_far = yes; then | 6221 | if test $ok_so_far = yes; then |
| 5492 | ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 6222 | ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
| 5493 | echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 6223 | echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
| 5494 | echo "configure:5495: checking for arpa/inet.h" >&5 | 6224 | echo "configure:6225: checking for arpa/inet.h" >&5 |
| 5495 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6225 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| 5496 | echo $ac_n "(cached) $ac_c" 1>&6 | 6226 | echo $ac_n "(cached) $ac_c" 1>&6 |
| 5497 | else | 6227 | else |
| 5498 | cat > conftest.$ac_ext <<EOF | 6228 | cat > conftest.$ac_ext <<EOF |
| 5499 | #line 5500 "configure" | 6229 | #line 6230 "configure" |
| 5500 | #include "confdefs.h" | 6230 | #include "confdefs.h" |
| 5501 | #include <arpa/inet.h> | 6231 | #include <arpa/inet.h> |
| 5502 | EOF | 6232 | EOF |
| 5503 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6233 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| 5504 | { (eval echo configure:5505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6234 | { (eval echo configure:6235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| 5505 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6235 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| 5506 | if test -z "$ac_err"; then | 6236 | if test -z "$ac_err"; then |
| 5507 | rm -rf conftest* | 6237 | rm -rf conftest* |
| @@ -5539,7 +6269,7 @@ EOF | |||
| 5539 | fi | 6269 | fi |
| 5540 | 6270 | ||
| 5541 | echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 6271 | echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
| 5542 | echo "configure:5543: checking whether system supports dynamic ptys" >&5 | 6272 | echo "configure:6273: checking whether system supports dynamic ptys" >&5 |
| 5543 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 6273 | if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
| 5544 | echo "$ac_t""yes" 1>&6 | 6274 | echo "$ac_t""yes" 1>&6 |
| 5545 | cat >> confdefs.h <<\EOF | 6275 | cat >> confdefs.h <<\EOF |
diff --git a/configure.in b/configure.in index 826c8d50272..7fce1785bf1 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -43,6 +43,18 @@ AC_ARG_WITH(pop, | |||
| 43 | else : | 43 | else : |
| 44 | fi], | 44 | fi], |
| 45 | AC_DEFINE(MAIL_USE_POP)) | 45 | AC_DEFINE(MAIL_USE_POP)) |
| 46 | AC_ARG_WITH(kerberos, | ||
| 47 | [ --with-kerberos support Kerberos-authenticated POP], | ||
| 48 | [AC_DEFINE(KERBEROS)]) | ||
| 49 | AC_ARG_WITH(kerberos5, | ||
| 50 | [ --with-kerberos5 support Kerberos version 5 authenticated POP], | ||
| 51 | [if test "${with_kerberos5+set}" = set; then | ||
| 52 | if test "${with_kerberos+set}" != set; then | ||
| 53 | with_kerberos=yes | ||
| 54 | AC_DEFINE(KERBEROS) | ||
| 55 | fi | ||
| 56 | fi | ||
| 57 | AC_DEFINE(KERBEROS5)]) | ||
| 46 | AC_ARG_WITH(hesiod, | 58 | AC_ARG_WITH(hesiod, |
| 47 | [ --with-hesiod support Hesiod to get the POP server host], | 59 | [ --with-hesiod support Hesiod to get the POP server host], |
| 48 | [AC_DEFINE(HESIOD)]) | 60 | [AC_DEFINE(HESIOD)]) |
| @@ -1797,6 +1809,32 @@ __fpending ftello getloadavg mblen mbrlen strsignal) | |||
| 1797 | # than to expect to find it in ncurses. | 1809 | # than to expect to find it in ncurses. |
| 1798 | AC_CHECK_LIB(ncurses, tparm) | 1810 | AC_CHECK_LIB(ncurses, tparm) |
| 1799 | 1811 | ||
| 1812 | # These tell us which Kerberos-related libraries to use. | ||
| 1813 | if test "${with_kerberos+set}" = set; then | ||
| 1814 | AC_CHECK_LIB(com_err, com_err) | ||
| 1815 | AC_CHECK_LIB(k5crypto, mit_des_cbc_encrypt) | ||
| 1816 | AC_CHECK_LIB(crypto, mit_des_cbc_encrypt) | ||
| 1817 | AC_CHECK_LIB(krb5, krb5_init_context) | ||
| 1818 | if test "${with_kerberos5+set}" != set; then | ||
| 1819 | AC_CHECK_LIB(des425, des_cbc_encrypt,, | ||
| 1820 | AC_CHECK_LIB(des, des_cbc_encrypt)) | ||
| 1821 | AC_CHECK_LIB(krb4, krb_get_cred,, | ||
| 1822 | AC_CHECK_LIB(krb, krb_get_cred)) | ||
| 1823 | fi | ||
| 1824 | |||
| 1825 | if test "${with_kerberos5+set}" = set; then | ||
| 1826 | AC_CHECK_HEADERS(krb5.h) | ||
| 1827 | else | ||
| 1828 | AC_CHECK_HEADERS(des.h,, | ||
| 1829 | AC_CHECK_HEADERS(kerberosIV/des.h,, | ||
| 1830 | AC_CHECK_HEADERS(kerberos/des.h))) | ||
| 1831 | AC_CHECK_HEADERS(krb.h,, | ||
| 1832 | AC_CHECK_HEADERS(kerberosIV/krb.h,, | ||
| 1833 | AC_CHECK_HEADERS(kerberos/krb.h))) | ||
| 1834 | fi | ||
| 1835 | AC_CHECK_HEADERS(com_err.h) | ||
| 1836 | fi | ||
| 1837 | |||
| 1800 | # Solaris requires -lintl if you want strerror (which calls dgettext) | 1838 | # Solaris requires -lintl if you want strerror (which calls dgettext) |
| 1801 | # to return localized messages. | 1839 | # to return localized messages. |
| 1802 | AC_CHECK_LIB(intl, dgettext) | 1840 | AC_CHECK_LIB(intl, dgettext) |