Mercurial > emacs
comparison configure @ 28748:6d96f2643b05
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 27 Apr 2000 19:12:09 +0000 |
parents | 33b9dd030d3b |
children | 91115e6a0f53 |
comparison
equal
deleted
inserted
replaced
28747:6f90293e6ccb | 28748:6d96f2643b05 |
---|---|
1269 ## Intel 860 | 1269 ## Intel 860 |
1270 i860-*-sysv4* ) | 1270 i860-*-sysv4* ) |
1271 machine=i860 opsys=usg5-4 | 1271 machine=i860 opsys=usg5-4 |
1272 NON_GNU_CC="/bin/cc" # Ie, not the one in /usr/ucb/cc. | 1272 NON_GNU_CC="/bin/cc" # Ie, not the one in /usr/ucb/cc. |
1273 NON_GNU_CPP="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion. | 1273 NON_GNU_CPP="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion. |
1274 ;; | |
1275 | |
1276 ## Macintosh PowerPC | |
1277 powerpc*-*-linux-gnu* ) | |
1278 machine=macppc opsys=gnu-linux | |
1274 ;; | 1279 ;; |
1275 | 1280 |
1276 ## Masscomp machines | 1281 ## Masscomp machines |
1277 m68*-masscomp-rtu* ) | 1282 m68*-masscomp-rtu* ) |
1278 machine=masscomp opsys=rtu | 1283 machine=masscomp opsys=rtu |
1703 "yes" ) CC="gcc" GCC=yes ;; | 1708 "yes" ) CC="gcc" GCC=yes ;; |
1704 "no" ) : ${CC=cc} ;; | 1709 "no" ) : ${CC=cc} ;; |
1705 * ) # Extract the first word of "gcc", so it can be a program name with args. | 1710 * ) # Extract the first word of "gcc", so it can be a program name with args. |
1706 set dummy gcc; ac_word=$2 | 1711 set dummy gcc; ac_word=$2 |
1707 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1712 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1708 echo "configure:1709: checking for $ac_word" >&5 | 1713 echo "configure:1714: checking for $ac_word" >&5 |
1709 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1714 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1710 echo $ac_n "(cached) $ac_c" 1>&6 | 1715 echo $ac_n "(cached) $ac_c" 1>&6 |
1711 else | 1716 else |
1712 if test -n "$CC"; then | 1717 if test -n "$CC"; then |
1713 ac_cv_prog_CC="$CC" # Let the user override the test. | 1718 ac_cv_prog_CC="$CC" # Let the user override the test. |
1733 | 1738 |
1734 if test -z "$CC"; then | 1739 if test -z "$CC"; then |
1735 # Extract the first word of "cc", so it can be a program name with args. | 1740 # Extract the first word of "cc", so it can be a program name with args. |
1736 set dummy cc; ac_word=$2 | 1741 set dummy cc; ac_word=$2 |
1737 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1742 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1738 echo "configure:1739: checking for $ac_word" >&5 | 1743 echo "configure:1744: checking for $ac_word" >&5 |
1739 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1744 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1740 echo $ac_n "(cached) $ac_c" 1>&6 | 1745 echo $ac_n "(cached) $ac_c" 1>&6 |
1741 else | 1746 else |
1742 if test -n "$CC"; then | 1747 if test -n "$CC"; then |
1743 ac_cv_prog_CC="$CC" # Let the user override the test. | 1748 ac_cv_prog_CC="$CC" # Let the user override the test. |
1784 case "`uname -s`" in | 1789 case "`uname -s`" in |
1785 *win32* | *WIN32*) | 1790 *win32* | *WIN32*) |
1786 # Extract the first word of "cl", so it can be a program name with args. | 1791 # Extract the first word of "cl", so it can be a program name with args. |
1787 set dummy cl; ac_word=$2 | 1792 set dummy cl; ac_word=$2 |
1788 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1793 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1789 echo "configure:1790: checking for $ac_word" >&5 | 1794 echo "configure:1795: checking for $ac_word" >&5 |
1790 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1795 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
1791 echo $ac_n "(cached) $ac_c" 1>&6 | 1796 echo $ac_n "(cached) $ac_c" 1>&6 |
1792 else | 1797 else |
1793 if test -n "$CC"; then | 1798 if test -n "$CC"; then |
1794 ac_cv_prog_CC="$CC" # Let the user override the test. | 1799 ac_cv_prog_CC="$CC" # Let the user override the test. |
1816 fi | 1821 fi |
1817 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1822 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
1818 fi | 1823 fi |
1819 | 1824 |
1820 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1825 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1821 echo "configure:1822: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1826 echo "configure:1827: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1822 | 1827 |
1823 ac_ext=c | 1828 ac_ext=c |
1824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1829 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
1825 ac_cpp='$CPP $CPPFLAGS' | 1830 ac_cpp='$CPP $CPPFLAGS' |
1826 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1831 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
1827 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1832 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
1828 cross_compiling=$ac_cv_prog_cc_cross | 1833 cross_compiling=$ac_cv_prog_cc_cross |
1829 | 1834 |
1830 cat > conftest.$ac_ext << EOF | 1835 cat > conftest.$ac_ext << EOF |
1831 | 1836 |
1832 #line 1833 "configure" | 1837 #line 1838 "configure" |
1833 #include "confdefs.h" | 1838 #include "confdefs.h" |
1834 | 1839 |
1835 main(){return(0);} | 1840 main(){return(0);} |
1836 EOF | 1841 EOF |
1837 if { (eval echo configure:1838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1842 if { (eval echo configure:1843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1838 ac_cv_prog_cc_works=yes | 1843 ac_cv_prog_cc_works=yes |
1839 # If we can't run a trivial program, we are probably using a cross compiler. | 1844 # If we can't run a trivial program, we are probably using a cross compiler. |
1840 if (./conftest; exit) 2>/dev/null; then | 1845 if (./conftest; exit) 2>/dev/null; then |
1841 ac_cv_prog_cc_cross=no | 1846 ac_cv_prog_cc_cross=no |
1842 else | 1847 else |
1858 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1863 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
1859 if test $ac_cv_prog_cc_works = no; then | 1864 if test $ac_cv_prog_cc_works = no; then |
1860 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1865 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
1861 fi | 1866 fi |
1862 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1867 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
1863 echo "configure:1864: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1868 echo "configure:1869: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
1864 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1869 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
1865 cross_compiling=$ac_cv_prog_cc_cross | 1870 cross_compiling=$ac_cv_prog_cc_cross |
1866 | 1871 |
1867 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1872 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1868 echo "configure:1869: checking whether we are using GNU C" >&5 | 1873 echo "configure:1874: checking whether we are using GNU C" >&5 |
1869 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 1874 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
1870 echo $ac_n "(cached) $ac_c" 1>&6 | 1875 echo $ac_n "(cached) $ac_c" 1>&6 |
1871 else | 1876 else |
1872 cat > conftest.c <<EOF | 1877 cat > conftest.c <<EOF |
1873 #ifdef __GNUC__ | 1878 #ifdef __GNUC__ |
1874 yes; | 1879 yes; |
1875 #endif | 1880 #endif |
1876 EOF | 1881 EOF |
1877 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1882 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1878 ac_cv_prog_gcc=yes | 1883 ac_cv_prog_gcc=yes |
1879 else | 1884 else |
1880 ac_cv_prog_gcc=no | 1885 ac_cv_prog_gcc=no |
1881 fi | 1886 fi |
1882 fi | 1887 fi |
1891 | 1896 |
1892 ac_test_CFLAGS="${CFLAGS+set}" | 1897 ac_test_CFLAGS="${CFLAGS+set}" |
1893 ac_save_CFLAGS="$CFLAGS" | 1898 ac_save_CFLAGS="$CFLAGS" |
1894 CFLAGS= | 1899 CFLAGS= |
1895 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1900 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1896 echo "configure:1897: checking whether ${CC-cc} accepts -g" >&5 | 1901 echo "configure:1902: checking whether ${CC-cc} accepts -g" >&5 |
1897 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1902 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
1898 echo $ac_n "(cached) $ac_c" 1>&6 | 1903 echo $ac_n "(cached) $ac_c" 1>&6 |
1899 else | 1904 else |
1900 echo 'void f(){}' > conftest.c | 1905 echo 'void f(){}' > conftest.c |
1901 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1906 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
1971 #### Some other nice autoconf tests. If you add a test here which | 1976 #### Some other nice autoconf tests. If you add a test here which |
1972 #### should make an entry in src/config.h, don't forget to add an | 1977 #### should make an entry in src/config.h, don't forget to add an |
1973 #### #undef clause to src/config.h.in for autoconf to modify. | 1978 #### #undef clause to src/config.h.in for autoconf to modify. |
1974 | 1979 |
1975 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 1980 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
1976 echo "configure:1977: checking whether ln -s works" >&5 | 1981 echo "configure:1982: checking whether ln -s works" >&5 |
1977 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 1982 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
1978 echo $ac_n "(cached) $ac_c" 1>&6 | 1983 echo $ac_n "(cached) $ac_c" 1>&6 |
1979 else | 1984 else |
1980 rm -f conftestdata | 1985 rm -f conftestdata |
1981 if ln -s X conftestdata 2>/dev/null | 1986 if ln -s X conftestdata 2>/dev/null |
1992 else | 1997 else |
1993 echo "$ac_t""no" 1>&6 | 1998 echo "$ac_t""no" 1>&6 |
1994 fi | 1999 fi |
1995 | 2000 |
1996 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2001 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1997 echo "configure:1998: checking how to run the C preprocessor" >&5 | 2002 echo "configure:2003: checking how to run the C preprocessor" >&5 |
1998 # On Suns, sometimes $CPP names a directory. | 2003 # On Suns, sometimes $CPP names a directory. |
1999 if test -n "$CPP" && test -d "$CPP"; then | 2004 if test -n "$CPP" && test -d "$CPP"; then |
2000 CPP= | 2005 CPP= |
2001 fi | 2006 fi |
2002 if test -z "$CPP"; then | 2007 if test -z "$CPP"; then |
2007 # substituted into the Makefile and "${CC-cc}" will confuse make. | 2012 # substituted into the Makefile and "${CC-cc}" will confuse make. |
2008 CPP="${CC-cc} -E" | 2013 CPP="${CC-cc} -E" |
2009 # On the NeXT, cc -E runs the code through the compiler's parser, | 2014 # On the NeXT, cc -E runs the code through the compiler's parser, |
2010 # not just through cpp. | 2015 # not just through cpp. |
2011 cat > conftest.$ac_ext <<EOF | 2016 cat > conftest.$ac_ext <<EOF |
2012 #line 2013 "configure" | 2017 #line 2018 "configure" |
2013 #include "confdefs.h" | 2018 #include "confdefs.h" |
2014 #include <assert.h> | 2019 #include <assert.h> |
2015 Syntax Error | 2020 Syntax Error |
2016 EOF | 2021 EOF |
2017 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2018 { (eval echo configure:2019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2023 { (eval echo configure:2024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2019 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2020 if test -z "$ac_err"; then | 2025 if test -z "$ac_err"; then |
2021 : | 2026 : |
2022 else | 2027 else |
2023 echo "$ac_err" >&5 | 2028 echo "$ac_err" >&5 |
2024 echo "configure: failed program was:" >&5 | 2029 echo "configure: failed program was:" >&5 |
2025 cat conftest.$ac_ext >&5 | 2030 cat conftest.$ac_ext >&5 |
2026 rm -rf conftest* | 2031 rm -rf conftest* |
2027 CPP="${CC-cc} -E -traditional-cpp" | 2032 CPP="${CC-cc} -E -traditional-cpp" |
2028 cat > conftest.$ac_ext <<EOF | 2033 cat > conftest.$ac_ext <<EOF |
2029 #line 2030 "configure" | 2034 #line 2035 "configure" |
2030 #include "confdefs.h" | 2035 #include "confdefs.h" |
2031 #include <assert.h> | 2036 #include <assert.h> |
2032 Syntax Error | 2037 Syntax Error |
2033 EOF | 2038 EOF |
2034 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2039 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2035 { (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2040 { (eval echo configure:2041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2036 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2037 if test -z "$ac_err"; then | 2042 if test -z "$ac_err"; then |
2038 : | 2043 : |
2039 else | 2044 else |
2040 echo "$ac_err" >&5 | 2045 echo "$ac_err" >&5 |
2041 echo "configure: failed program was:" >&5 | 2046 echo "configure: failed program was:" >&5 |
2042 cat conftest.$ac_ext >&5 | 2047 cat conftest.$ac_ext >&5 |
2043 rm -rf conftest* | 2048 rm -rf conftest* |
2044 CPP="${CC-cc} -nologo -E" | 2049 CPP="${CC-cc} -nologo -E" |
2045 cat > conftest.$ac_ext <<EOF | 2050 cat > conftest.$ac_ext <<EOF |
2046 #line 2047 "configure" | 2051 #line 2052 "configure" |
2047 #include "confdefs.h" | 2052 #include "confdefs.h" |
2048 #include <assert.h> | 2053 #include <assert.h> |
2049 Syntax Error | 2054 Syntax Error |
2050 EOF | 2055 EOF |
2051 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2056 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2052 { (eval echo configure:2053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2057 { (eval echo configure:2058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2053 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2054 if test -z "$ac_err"; then | 2059 if test -z "$ac_err"; then |
2055 : | 2060 : |
2056 else | 2061 else |
2057 echo "$ac_err" >&5 | 2062 echo "$ac_err" >&5 |
2083 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 2088 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2084 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2089 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2085 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2090 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2086 # ./install, which can be erroneously created by make from ./install.sh. | 2091 # ./install, which can be erroneously created by make from ./install.sh. |
2087 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 2092 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
2088 echo "configure:2089: checking for a BSD compatible install" >&5 | 2093 echo "configure:2094: checking for a BSD compatible install" >&5 |
2089 if test -z "$INSTALL"; then | 2094 if test -z "$INSTALL"; then |
2090 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 2095 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
2091 echo $ac_n "(cached) $ac_c" 1>&6 | 2096 echo $ac_n "(cached) $ac_c" 1>&6 |
2092 else | 2097 else |
2093 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 2098 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
2140 for ac_prog in 'bison -y' byacc | 2145 for ac_prog in 'bison -y' byacc |
2141 do | 2146 do |
2142 # Extract the first word of "$ac_prog", so it can be a program name with args. | 2147 # Extract the first word of "$ac_prog", so it can be a program name with args. |
2143 set dummy $ac_prog; ac_word=$2 | 2148 set dummy $ac_prog; ac_word=$2 |
2144 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2149 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2145 echo "configure:2146: checking for $ac_word" >&5 | 2150 echo "configure:2151: checking for $ac_word" >&5 |
2146 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then | 2151 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
2147 echo $ac_n "(cached) $ac_c" 1>&6 | 2152 echo $ac_n "(cached) $ac_c" 1>&6 |
2148 else | 2153 else |
2149 if test -n "$YACC"; then | 2154 if test -n "$YACC"; then |
2150 ac_cv_prog_YACC="$YACC" # Let the user override the test. | 2155 ac_cv_prog_YACC="$YACC" # Let the user override the test. |
2174 | 2179 |
2175 if test "x$RANLIB" = x; then | 2180 if test "x$RANLIB" = x; then |
2176 # Extract the first word of "ranlib", so it can be a program name with args. | 2181 # Extract the first word of "ranlib", so it can be a program name with args. |
2177 set dummy ranlib; ac_word=$2 | 2182 set dummy ranlib; ac_word=$2 |
2178 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2183 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2179 echo "configure:2180: checking for $ac_word" >&5 | 2184 echo "configure:2185: checking for $ac_word" >&5 |
2180 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 2185 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
2181 echo $ac_n "(cached) $ac_c" 1>&6 | 2186 echo $ac_n "(cached) $ac_c" 1>&6 |
2182 else | 2187 else |
2183 if test -n "$RANLIB"; then | 2188 if test -n "$RANLIB"; then |
2184 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 2189 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2204 fi | 2209 fi |
2205 | 2210 |
2206 fi | 2211 fi |
2207 | 2212 |
2208 echo $ac_n "checking for AIX""... $ac_c" 1>&6 | 2213 echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
2209 echo "configure:2210: checking for AIX" >&5 | 2214 echo "configure:2215: checking for AIX" >&5 |
2210 cat > conftest.$ac_ext <<EOF | 2215 cat > conftest.$ac_ext <<EOF |
2211 #line 2212 "configure" | 2216 #line 2217 "configure" |
2212 #include "confdefs.h" | 2217 #include "confdefs.h" |
2213 #ifdef _AIX | 2218 #ifdef _AIX |
2214 yes | 2219 yes |
2215 #endif | 2220 #endif |
2216 | 2221 |
2233 # Sound support for GNU/Linux and the free BSDs. | 2238 # Sound support for GNU/Linux and the free BSDs. |
2234 for ac_hdr in machine/soundcard.h sys/soundcard.h | 2239 for ac_hdr in machine/soundcard.h sys/soundcard.h |
2235 do | 2240 do |
2236 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2241 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2237 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2242 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2238 echo "configure:2239: checking for $ac_hdr" >&5 | 2243 echo "configure:2244: checking for $ac_hdr" >&5 |
2239 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2244 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2240 echo $ac_n "(cached) $ac_c" 1>&6 | 2245 echo $ac_n "(cached) $ac_c" 1>&6 |
2241 else | 2246 else |
2242 cat > conftest.$ac_ext <<EOF | 2247 cat > conftest.$ac_ext <<EOF |
2243 #line 2244 "configure" | 2248 #line 2249 "configure" |
2244 #include "confdefs.h" | 2249 #include "confdefs.h" |
2245 #include <$ac_hdr> | 2250 #include <$ac_hdr> |
2246 EOF | 2251 EOF |
2247 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2252 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2248 { (eval echo configure:2249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2253 { (eval echo configure:2254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2249 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2254 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2250 if test -z "$ac_err"; then | 2255 if test -z "$ac_err"; then |
2251 rm -rf conftest* | 2256 rm -rf conftest* |
2252 eval "ac_cv_header_$ac_safe=yes" | 2257 eval "ac_cv_header_$ac_safe=yes" |
2253 else | 2258 else |
2276 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ | 2281 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ |
2277 termcap.h stdio_ext.h | 2282 termcap.h stdio_ext.h |
2278 do | 2283 do |
2279 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 2284 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2280 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2285 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2281 echo "configure:2282: checking for $ac_hdr" >&5 | 2286 echo "configure:2287: checking for $ac_hdr" >&5 |
2282 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 2287 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2283 echo $ac_n "(cached) $ac_c" 1>&6 | 2288 echo $ac_n "(cached) $ac_c" 1>&6 |
2284 else | 2289 else |
2285 cat > conftest.$ac_ext <<EOF | 2290 cat > conftest.$ac_ext <<EOF |
2286 #line 2287 "configure" | 2291 #line 2292 "configure" |
2287 #include "confdefs.h" | 2292 #include "confdefs.h" |
2288 #include <$ac_hdr> | 2293 #include <$ac_hdr> |
2289 EOF | 2294 EOF |
2290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2291 { (eval echo configure:2292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2296 { (eval echo configure:2297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2293 if test -z "$ac_err"; then | 2298 if test -z "$ac_err"; then |
2294 rm -rf conftest* | 2299 rm -rf conftest* |
2295 eval "ac_cv_header_$ac_safe=yes" | 2300 eval "ac_cv_header_$ac_safe=yes" |
2296 else | 2301 else |
2313 echo "$ac_t""no" 1>&6 | 2318 echo "$ac_t""no" 1>&6 |
2314 fi | 2319 fi |
2315 done | 2320 done |
2316 | 2321 |
2317 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2322 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2318 echo "configure:2319: checking for ANSI C header files" >&5 | 2323 echo "configure:2324: checking for ANSI C header files" >&5 |
2319 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 2324 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
2320 echo $ac_n "(cached) $ac_c" 1>&6 | 2325 echo $ac_n "(cached) $ac_c" 1>&6 |
2321 else | 2326 else |
2322 cat > conftest.$ac_ext <<EOF | 2327 cat > conftest.$ac_ext <<EOF |
2323 #line 2324 "configure" | 2328 #line 2329 "configure" |
2324 #include "confdefs.h" | 2329 #include "confdefs.h" |
2325 #include <stdlib.h> | 2330 #include <stdlib.h> |
2326 #include <stdarg.h> | 2331 #include <stdarg.h> |
2327 #include <string.h> | 2332 #include <string.h> |
2328 #include <float.h> | 2333 #include <float.h> |
2329 EOF | 2334 EOF |
2330 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2335 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2331 { (eval echo configure:2332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2336 { (eval echo configure:2337: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2332 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2337 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2333 if test -z "$ac_err"; then | 2338 if test -z "$ac_err"; then |
2334 rm -rf conftest* | 2339 rm -rf conftest* |
2335 ac_cv_header_stdc=yes | 2340 ac_cv_header_stdc=yes |
2336 else | 2341 else |
2343 rm -f conftest* | 2348 rm -f conftest* |
2344 | 2349 |
2345 if test $ac_cv_header_stdc = yes; then | 2350 if test $ac_cv_header_stdc = yes; then |
2346 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 2351 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2347 cat > conftest.$ac_ext <<EOF | 2352 cat > conftest.$ac_ext <<EOF |
2348 #line 2349 "configure" | 2353 #line 2354 "configure" |
2349 #include "confdefs.h" | 2354 #include "confdefs.h" |
2350 #include <string.h> | 2355 #include <string.h> |
2351 EOF | 2356 EOF |
2352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2353 egrep "memchr" >/dev/null 2>&1; then | 2358 egrep "memchr" >/dev/null 2>&1; then |
2361 fi | 2366 fi |
2362 | 2367 |
2363 if test $ac_cv_header_stdc = yes; then | 2368 if test $ac_cv_header_stdc = yes; then |
2364 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 2369 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2365 cat > conftest.$ac_ext <<EOF | 2370 cat > conftest.$ac_ext <<EOF |
2366 #line 2367 "configure" | 2371 #line 2372 "configure" |
2367 #include "confdefs.h" | 2372 #include "confdefs.h" |
2368 #include <stdlib.h> | 2373 #include <stdlib.h> |
2369 EOF | 2374 EOF |
2370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 2375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2371 egrep "free" >/dev/null 2>&1; then | 2376 egrep "free" >/dev/null 2>&1; then |
2382 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 2387 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2383 if test "$cross_compiling" = yes; then | 2388 if test "$cross_compiling" = yes; then |
2384 : | 2389 : |
2385 else | 2390 else |
2386 cat > conftest.$ac_ext <<EOF | 2391 cat > conftest.$ac_ext <<EOF |
2387 #line 2388 "configure" | 2392 #line 2393 "configure" |
2388 #include "confdefs.h" | 2393 #include "confdefs.h" |
2389 #include <ctype.h> | 2394 #include <ctype.h> |
2390 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 2395 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2391 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 2396 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2392 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 2397 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2393 int main () { int i; for (i = 0; i < 256; i++) | 2398 int main () { int i; for (i = 0; i < 256; i++) |
2394 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 2399 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
2395 exit (0); } | 2400 exit (0); } |
2396 | 2401 |
2397 EOF | 2402 EOF |
2398 if { (eval echo configure:2399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2403 if { (eval echo configure:2404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2399 then | 2404 then |
2400 : | 2405 : |
2401 else | 2406 else |
2402 echo "configure: failed program was:" >&5 | 2407 echo "configure: failed program was:" >&5 |
2403 cat conftest.$ac_ext >&5 | 2408 cat conftest.$ac_ext >&5 |
2417 EOF | 2422 EOF |
2418 | 2423 |
2419 fi | 2424 fi |
2420 | 2425 |
2421 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 2426 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
2422 echo "configure:2423: checking whether time.h and sys/time.h may both be included" >&5 | 2427 echo "configure:2428: checking whether time.h and sys/time.h may both be included" >&5 |
2423 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 2428 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
2424 echo $ac_n "(cached) $ac_c" 1>&6 | 2429 echo $ac_n "(cached) $ac_c" 1>&6 |
2425 else | 2430 else |
2426 cat > conftest.$ac_ext <<EOF | 2431 cat > conftest.$ac_ext <<EOF |
2427 #line 2428 "configure" | 2432 #line 2433 "configure" |
2428 #include "confdefs.h" | 2433 #include "confdefs.h" |
2429 #include <sys/types.h> | 2434 #include <sys/types.h> |
2430 #include <sys/time.h> | 2435 #include <sys/time.h> |
2431 #include <time.h> | 2436 #include <time.h> |
2432 int main() { | 2437 int main() { |
2433 struct tm *tp; | 2438 struct tm *tp; |
2434 ; return 0; } | 2439 ; return 0; } |
2435 EOF | 2440 EOF |
2436 if { (eval echo configure:2437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2441 if { (eval echo configure:2442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2437 rm -rf conftest* | 2442 rm -rf conftest* |
2438 ac_cv_header_time=yes | 2443 ac_cv_header_time=yes |
2439 else | 2444 else |
2440 echo "configure: failed program was:" >&5 | 2445 echo "configure: failed program was:" >&5 |
2441 cat conftest.$ac_ext >&5 | 2446 cat conftest.$ac_ext >&5 |
2452 EOF | 2457 EOF |
2453 | 2458 |
2454 fi | 2459 fi |
2455 | 2460 |
2456 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 | 2461 echo $ac_n "checking for sys_siglist declaration in signal.h or unistd.h""... $ac_c" 1>&6 |
2457 echo "configure:2458: checking for sys_siglist declaration in signal.h or unistd.h" >&5 | 2462 echo "configure:2463: checking for sys_siglist declaration in signal.h or unistd.h" >&5 |
2458 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then | 2463 if eval "test \"`echo '$''{'ac_cv_decl_sys_siglist'+set}'`\" = set"; then |
2459 echo $ac_n "(cached) $ac_c" 1>&6 | 2464 echo $ac_n "(cached) $ac_c" 1>&6 |
2460 else | 2465 else |
2461 cat > conftest.$ac_ext <<EOF | 2466 cat > conftest.$ac_ext <<EOF |
2462 #line 2463 "configure" | 2467 #line 2468 "configure" |
2463 #include "confdefs.h" | 2468 #include "confdefs.h" |
2464 #include <sys/types.h> | 2469 #include <sys/types.h> |
2465 #include <signal.h> | 2470 #include <signal.h> |
2466 /* NetBSD declares sys_siglist in unistd.h. */ | 2471 /* NetBSD declares sys_siglist in unistd.h. */ |
2467 #ifdef HAVE_UNISTD_H | 2472 #ifdef HAVE_UNISTD_H |
2469 #endif | 2474 #endif |
2470 int main() { | 2475 int main() { |
2471 char *msg = *(sys_siglist + 1); | 2476 char *msg = *(sys_siglist + 1); |
2472 ; return 0; } | 2477 ; return 0; } |
2473 EOF | 2478 EOF |
2474 if { (eval echo configure:2475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2479 if { (eval echo configure:2480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2475 rm -rf conftest* | 2480 rm -rf conftest* |
2476 ac_cv_decl_sys_siglist=yes | 2481 ac_cv_decl_sys_siglist=yes |
2477 else | 2482 else |
2478 echo "configure: failed program was:" >&5 | 2483 echo "configure: failed program was:" >&5 |
2479 cat conftest.$ac_ext >&5 | 2484 cat conftest.$ac_ext >&5 |
2491 | 2496 |
2492 fi | 2497 fi |
2493 | 2498 |
2494 | 2499 |
2495 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 | 2500 echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6 |
2496 echo "configure:2497: checking for struct utimbuf" >&5 | 2501 echo "configure:2502: checking for struct utimbuf" >&5 |
2497 if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then | 2502 if eval "test \"`echo '$''{'emacs_cv_struct_utimbuf'+set}'`\" = set"; then |
2498 echo $ac_n "(cached) $ac_c" 1>&6 | 2503 echo $ac_n "(cached) $ac_c" 1>&6 |
2499 else | 2504 else |
2500 cat > conftest.$ac_ext <<EOF | 2505 cat > conftest.$ac_ext <<EOF |
2501 #line 2502 "configure" | 2506 #line 2507 "configure" |
2502 #include "confdefs.h" | 2507 #include "confdefs.h" |
2503 #ifdef TIME_WITH_SYS_TIME | 2508 #ifdef TIME_WITH_SYS_TIME |
2504 #include <sys/time.h> | 2509 #include <sys/time.h> |
2505 #include <time.h> | 2510 #include <time.h> |
2506 #else | 2511 #else |
2515 #endif | 2520 #endif |
2516 int main() { | 2521 int main() { |
2517 static struct utimbuf x; x.actime = x.modtime; | 2522 static struct utimbuf x; x.actime = x.modtime; |
2518 ; return 0; } | 2523 ; return 0; } |
2519 EOF | 2524 EOF |
2520 if { (eval echo configure:2521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2525 if { (eval echo configure:2526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2521 rm -rf conftest* | 2526 rm -rf conftest* |
2522 emacs_cv_struct_utimbuf=yes | 2527 emacs_cv_struct_utimbuf=yes |
2523 else | 2528 else |
2524 echo "configure: failed program was:" >&5 | 2529 echo "configure: failed program was:" >&5 |
2525 cat conftest.$ac_ext >&5 | 2530 cat conftest.$ac_ext >&5 |
2536 EOF | 2541 EOF |
2537 | 2542 |
2538 fi | 2543 fi |
2539 | 2544 |
2540 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 2545 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
2541 echo "configure:2542: checking return type of signal handlers" >&5 | 2546 echo "configure:2547: checking return type of signal handlers" >&5 |
2542 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 2547 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
2543 echo $ac_n "(cached) $ac_c" 1>&6 | 2548 echo $ac_n "(cached) $ac_c" 1>&6 |
2544 else | 2549 else |
2545 cat > conftest.$ac_ext <<EOF | 2550 cat > conftest.$ac_ext <<EOF |
2546 #line 2547 "configure" | 2551 #line 2552 "configure" |
2547 #include "confdefs.h" | 2552 #include "confdefs.h" |
2548 #include <sys/types.h> | 2553 #include <sys/types.h> |
2549 #include <signal.h> | 2554 #include <signal.h> |
2550 #ifdef signal | 2555 #ifdef signal |
2551 #undef signal | 2556 #undef signal |
2558 | 2563 |
2559 int main() { | 2564 int main() { |
2560 int i; | 2565 int i; |
2561 ; return 0; } | 2566 ; return 0; } |
2562 EOF | 2567 EOF |
2563 if { (eval echo configure:2564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2568 if { (eval echo configure:2569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2564 rm -rf conftest* | 2569 rm -rf conftest* |
2565 ac_cv_type_signal=void | 2570 ac_cv_type_signal=void |
2566 else | 2571 else |
2567 echo "configure: failed program was:" >&5 | 2572 echo "configure: failed program was:" >&5 |
2568 cat conftest.$ac_ext >&5 | 2573 cat conftest.$ac_ext >&5 |
2578 EOF | 2583 EOF |
2579 | 2584 |
2580 | 2585 |
2581 | 2586 |
2582 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 | 2587 echo $ac_n "checking for struct timeval""... $ac_c" 1>&6 |
2583 echo "configure:2584: checking for struct timeval" >&5 | 2588 echo "configure:2589: checking for struct timeval" >&5 |
2584 if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then | 2589 if eval "test \"`echo '$''{'emacs_cv_struct_timeval'+set}'`\" = set"; then |
2585 echo $ac_n "(cached) $ac_c" 1>&6 | 2590 echo $ac_n "(cached) $ac_c" 1>&6 |
2586 else | 2591 else |
2587 cat > conftest.$ac_ext <<EOF | 2592 cat > conftest.$ac_ext <<EOF |
2588 #line 2589 "configure" | 2593 #line 2594 "configure" |
2589 #include "confdefs.h" | 2594 #include "confdefs.h" |
2590 #ifdef TIME_WITH_SYS_TIME | 2595 #ifdef TIME_WITH_SYS_TIME |
2591 #include <sys/time.h> | 2596 #include <sys/time.h> |
2592 #include <time.h> | 2597 #include <time.h> |
2593 #else | 2598 #else |
2599 #endif | 2604 #endif |
2600 int main() { | 2605 int main() { |
2601 static struct timeval x; x.tv_sec = x.tv_usec; | 2606 static struct timeval x; x.tv_sec = x.tv_usec; |
2602 ; return 0; } | 2607 ; return 0; } |
2603 EOF | 2608 EOF |
2604 if { (eval echo configure:2605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2609 if { (eval echo configure:2610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2605 rm -rf conftest* | 2610 rm -rf conftest* |
2606 emacs_cv_struct_timeval=yes | 2611 emacs_cv_struct_timeval=yes |
2607 else | 2612 else |
2608 echo "configure: failed program was:" >&5 | 2613 echo "configure: failed program was:" >&5 |
2609 cat conftest.$ac_ext >&5 | 2614 cat conftest.$ac_ext >&5 |
2621 EOF | 2626 EOF |
2622 | 2627 |
2623 fi | 2628 fi |
2624 | 2629 |
2625 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 | 2630 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
2626 echo "configure:2627: checking whether struct tm is in sys/time.h or time.h" >&5 | 2631 echo "configure:2632: checking whether struct tm is in sys/time.h or time.h" >&5 |
2627 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then | 2632 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
2628 echo $ac_n "(cached) $ac_c" 1>&6 | 2633 echo $ac_n "(cached) $ac_c" 1>&6 |
2629 else | 2634 else |
2630 cat > conftest.$ac_ext <<EOF | 2635 cat > conftest.$ac_ext <<EOF |
2631 #line 2632 "configure" | 2636 #line 2637 "configure" |
2632 #include "confdefs.h" | 2637 #include "confdefs.h" |
2633 #include <sys/types.h> | 2638 #include <sys/types.h> |
2634 #include <time.h> | 2639 #include <time.h> |
2635 int main() { | 2640 int main() { |
2636 struct tm *tp; tp->tm_sec; | 2641 struct tm *tp; tp->tm_sec; |
2637 ; return 0; } | 2642 ; return 0; } |
2638 EOF | 2643 EOF |
2639 if { (eval echo configure:2640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2644 if { (eval echo configure:2645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2640 rm -rf conftest* | 2645 rm -rf conftest* |
2641 ac_cv_struct_tm=time.h | 2646 ac_cv_struct_tm=time.h |
2642 else | 2647 else |
2643 echo "configure: failed program was:" >&5 | 2648 echo "configure: failed program was:" >&5 |
2644 cat conftest.$ac_ext >&5 | 2649 cat conftest.$ac_ext >&5 |
2655 EOF | 2660 EOF |
2656 | 2661 |
2657 fi | 2662 fi |
2658 | 2663 |
2659 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 | 2664 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
2660 echo "configure:2661: checking for tm_zone in struct tm" >&5 | 2665 echo "configure:2666: checking for tm_zone in struct tm" >&5 |
2661 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then | 2666 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then |
2662 echo $ac_n "(cached) $ac_c" 1>&6 | 2667 echo $ac_n "(cached) $ac_c" 1>&6 |
2663 else | 2668 else |
2664 cat > conftest.$ac_ext <<EOF | 2669 cat > conftest.$ac_ext <<EOF |
2665 #line 2666 "configure" | 2670 #line 2671 "configure" |
2666 #include "confdefs.h" | 2671 #include "confdefs.h" |
2667 #include <sys/types.h> | 2672 #include <sys/types.h> |
2668 #include <$ac_cv_struct_tm> | 2673 #include <$ac_cv_struct_tm> |
2669 int main() { | 2674 int main() { |
2670 struct tm tm; tm.tm_zone; | 2675 struct tm tm; tm.tm_zone; |
2671 ; return 0; } | 2676 ; return 0; } |
2672 EOF | 2677 EOF |
2673 if { (eval echo configure:2674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2678 if { (eval echo configure:2679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2674 rm -rf conftest* | 2679 rm -rf conftest* |
2675 ac_cv_struct_tm_zone=yes | 2680 ac_cv_struct_tm_zone=yes |
2676 else | 2681 else |
2677 echo "configure: failed program was:" >&5 | 2682 echo "configure: failed program was:" >&5 |
2678 cat conftest.$ac_ext >&5 | 2683 cat conftest.$ac_ext >&5 |
2688 #define HAVE_TM_ZONE 1 | 2693 #define HAVE_TM_ZONE 1 |
2689 EOF | 2694 EOF |
2690 | 2695 |
2691 else | 2696 else |
2692 echo $ac_n "checking for tzname""... $ac_c" 1>&6 | 2697 echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
2693 echo "configure:2694: checking for tzname" >&5 | 2698 echo "configure:2699: checking for tzname" >&5 |
2694 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then | 2699 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then |
2695 echo $ac_n "(cached) $ac_c" 1>&6 | 2700 echo $ac_n "(cached) $ac_c" 1>&6 |
2696 else | 2701 else |
2697 cat > conftest.$ac_ext <<EOF | 2702 cat > conftest.$ac_ext <<EOF |
2698 #line 2699 "configure" | 2703 #line 2704 "configure" |
2699 #include "confdefs.h" | 2704 #include "confdefs.h" |
2700 #include <time.h> | 2705 #include <time.h> |
2701 #ifndef tzname /* For SGI. */ | 2706 #ifndef tzname /* For SGI. */ |
2702 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ | 2707 extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
2703 #endif | 2708 #endif |
2704 int main() { | 2709 int main() { |
2705 atoi(*tzname); | 2710 atoi(*tzname); |
2706 ; return 0; } | 2711 ; return 0; } |
2707 EOF | 2712 EOF |
2708 if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2713 if { (eval echo configure:2714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2709 rm -rf conftest* | 2714 rm -rf conftest* |
2710 ac_cv_var_tzname=yes | 2715 ac_cv_var_tzname=yes |
2711 else | 2716 else |
2712 echo "configure: failed program was:" >&5 | 2717 echo "configure: failed program was:" >&5 |
2713 cat conftest.$ac_ext >&5 | 2718 cat conftest.$ac_ext >&5 |
2725 | 2730 |
2726 fi | 2731 fi |
2727 fi | 2732 fi |
2728 | 2733 |
2729 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 | 2734 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6 |
2730 echo "configure:2731: checking for tm_gmtoff in struct tm" >&5 | 2735 echo "configure:2736: checking for tm_gmtoff in struct tm" >&5 |
2731 if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then | 2736 if eval "test \"`echo '$''{'emacs_cv_tm_gmtoff'+set}'`\" = set"; then |
2732 echo $ac_n "(cached) $ac_c" 1>&6 | 2737 echo $ac_n "(cached) $ac_c" 1>&6 |
2733 else | 2738 else |
2734 cat > conftest.$ac_ext <<EOF | 2739 cat > conftest.$ac_ext <<EOF |
2735 #line 2736 "configure" | 2740 #line 2741 "configure" |
2736 #include "confdefs.h" | 2741 #include "confdefs.h" |
2737 #include <time.h> | 2742 #include <time.h> |
2738 int main() { | 2743 int main() { |
2739 struct tm t; t.tm_gmtoff = 0 | 2744 struct tm t; t.tm_gmtoff = 0 |
2740 ; return 0; } | 2745 ; return 0; } |
2741 EOF | 2746 EOF |
2742 if { (eval echo configure:2743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2747 if { (eval echo configure:2748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2743 rm -rf conftest* | 2748 rm -rf conftest* |
2744 emacs_cv_tm_gmtoff=yes | 2749 emacs_cv_tm_gmtoff=yes |
2745 else | 2750 else |
2746 echo "configure: failed program was:" >&5 | 2751 echo "configure: failed program was:" >&5 |
2747 cat conftest.$ac_ext >&5 | 2752 cat conftest.$ac_ext >&5 |
2759 | 2764 |
2760 fi | 2765 fi |
2761 | 2766 |
2762 | 2767 |
2763 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 | 2768 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6 |
2764 echo "configure:2765: checking for ${CC-cc} option to accept ANSI C" >&5 | 2769 echo "configure:2770: checking for ${CC-cc} option to accept ANSI C" >&5 |
2765 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then | 2770 if eval "test \"`echo '$''{'ac_cv_prog_cc_stdc'+set}'`\" = set"; then |
2766 echo $ac_n "(cached) $ac_c" 1>&6 | 2771 echo $ac_n "(cached) $ac_c" 1>&6 |
2767 else | 2772 else |
2768 ac_cv_prog_cc_stdc=no | 2773 ac_cv_prog_cc_stdc=no |
2769 ac_save_CC="$CC" | 2774 ac_save_CC="$CC" |
2776 # SVR4 -Xc -D__EXTENSIONS__ | 2781 # SVR4 -Xc -D__EXTENSIONS__ |
2777 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 2782 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2778 do | 2783 do |
2779 CC="$ac_save_CC $ac_arg" | 2784 CC="$ac_save_CC $ac_arg" |
2780 cat > conftest.$ac_ext <<EOF | 2785 cat > conftest.$ac_ext <<EOF |
2781 #line 2782 "configure" | 2786 #line 2787 "configure" |
2782 #include "confdefs.h" | 2787 #include "confdefs.h" |
2783 #include <stdarg.h> | 2788 #include <stdarg.h> |
2784 #include <stdio.h> | 2789 #include <stdio.h> |
2785 #include <sys/types.h> | 2790 #include <sys/types.h> |
2786 #include <sys/stat.h> | 2791 #include <sys/stat.h> |
2810 char **argv; | 2815 char **argv; |
2811 int main() { | 2816 int main() { |
2812 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 2817 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2813 ; return 0; } | 2818 ; return 0; } |
2814 EOF | 2819 EOF |
2815 if { (eval echo configure:2816: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2820 if { (eval echo configure:2821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2816 rm -rf conftest* | 2821 rm -rf conftest* |
2817 ac_cv_prog_cc_stdc="$ac_arg"; break | 2822 ac_cv_prog_cc_stdc="$ac_arg"; break |
2818 else | 2823 else |
2819 echo "configure: failed program was:" >&5 | 2824 echo "configure: failed program was:" >&5 |
2820 cat conftest.$ac_ext >&5 | 2825 cat conftest.$ac_ext >&5 |
2832 echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 | 2837 echo "$ac_t""$ac_cv_prog_cc_stdc" 1>&6 |
2833 CC="$CC $ac_cv_prog_cc_stdc" ;; | 2838 CC="$CC $ac_cv_prog_cc_stdc" ;; |
2834 esac | 2839 esac |
2835 | 2840 |
2836 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 | 2841 echo $ac_n "checking for function prototypes""... $ac_c" 1>&6 |
2837 echo "configure:2838: checking for function prototypes" >&5 | 2842 echo "configure:2843: checking for function prototypes" >&5 |
2838 if test "$ac_cv_prog_cc_stdc" != no; then | 2843 if test "$ac_cv_prog_cc_stdc" != no; then |
2839 echo "$ac_t""yes" 1>&6 | 2844 echo "$ac_t""yes" 1>&6 |
2840 cat >> confdefs.h <<\EOF | 2845 cat >> confdefs.h <<\EOF |
2841 #define PROTOTYPES 1 | 2846 #define PROTOTYPES 1 |
2842 EOF | 2847 EOF |
2844 else | 2849 else |
2845 echo "$ac_t""no" 1>&6 | 2850 echo "$ac_t""no" 1>&6 |
2846 fi | 2851 fi |
2847 | 2852 |
2848 echo $ac_n "checking for working volatile""... $ac_c" 1>&6 | 2853 echo $ac_n "checking for working volatile""... $ac_c" 1>&6 |
2849 echo "configure:2850: checking for working volatile" >&5 | 2854 echo "configure:2855: checking for working volatile" >&5 |
2850 if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then | 2855 if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then |
2851 echo $ac_n "(cached) $ac_c" 1>&6 | 2856 echo $ac_n "(cached) $ac_c" 1>&6 |
2852 else | 2857 else |
2853 cat > conftest.$ac_ext <<EOF | 2858 cat > conftest.$ac_ext <<EOF |
2854 #line 2855 "configure" | 2859 #line 2860 "configure" |
2855 #include "confdefs.h" | 2860 #include "confdefs.h" |
2856 | 2861 |
2857 int main() { | 2862 int main() { |
2858 | 2863 |
2859 volatile int x; | 2864 volatile int x; |
2860 int * volatile y; | 2865 int * volatile y; |
2861 ; return 0; } | 2866 ; return 0; } |
2862 EOF | 2867 EOF |
2863 if { (eval echo configure:2864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2868 if { (eval echo configure:2869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2864 rm -rf conftest* | 2869 rm -rf conftest* |
2865 ac_cv_c_volatile=yes | 2870 ac_cv_c_volatile=yes |
2866 else | 2871 else |
2867 echo "configure: failed program was:" >&5 | 2872 echo "configure: failed program was:" >&5 |
2868 cat conftest.$ac_ext >&5 | 2873 cat conftest.$ac_ext >&5 |
2879 EOF | 2884 EOF |
2880 | 2885 |
2881 fi | 2886 fi |
2882 | 2887 |
2883 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 2888 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
2884 echo "configure:2885: checking for working const" >&5 | 2889 echo "configure:2890: checking for working const" >&5 |
2885 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 2890 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
2886 echo $ac_n "(cached) $ac_c" 1>&6 | 2891 echo $ac_n "(cached) $ac_c" 1>&6 |
2887 else | 2892 else |
2888 cat > conftest.$ac_ext <<EOF | 2893 cat > conftest.$ac_ext <<EOF |
2889 #line 2890 "configure" | 2894 #line 2895 "configure" |
2890 #include "confdefs.h" | 2895 #include "confdefs.h" |
2891 | 2896 |
2892 int main() { | 2897 int main() { |
2893 | 2898 |
2894 /* Ultrix mips cc rejects this. */ | 2899 /* Ultrix mips cc rejects this. */ |
2933 const int foo = 10; | 2938 const int foo = 10; |
2934 } | 2939 } |
2935 | 2940 |
2936 ; return 0; } | 2941 ; return 0; } |
2937 EOF | 2942 EOF |
2938 if { (eval echo configure:2939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2943 if { (eval echo configure:2944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2939 rm -rf conftest* | 2944 rm -rf conftest* |
2940 ac_cv_c_const=yes | 2945 ac_cv_c_const=yes |
2941 else | 2946 else |
2942 echo "configure: failed program was:" >&5 | 2947 echo "configure: failed program was:" >&5 |
2943 cat conftest.$ac_ext >&5 | 2948 cat conftest.$ac_ext >&5 |
2954 EOF | 2959 EOF |
2955 | 2960 |
2956 fi | 2961 fi |
2957 | 2962 |
2958 echo $ac_n "checking for void * support""... $ac_c" 1>&6 | 2963 echo $ac_n "checking for void * support""... $ac_c" 1>&6 |
2959 echo "configure:2960: checking for void * support" >&5 | 2964 echo "configure:2965: checking for void * support" >&5 |
2960 if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then | 2965 if eval "test \"`echo '$''{'emacs_cv_void_star'+set}'`\" = set"; then |
2961 echo $ac_n "(cached) $ac_c" 1>&6 | 2966 echo $ac_n "(cached) $ac_c" 1>&6 |
2962 else | 2967 else |
2963 cat > conftest.$ac_ext <<EOF | 2968 cat > conftest.$ac_ext <<EOF |
2964 #line 2965 "configure" | 2969 #line 2970 "configure" |
2965 #include "confdefs.h" | 2970 #include "confdefs.h" |
2966 | 2971 |
2967 int main() { | 2972 int main() { |
2968 void * foo; | 2973 void * foo; |
2969 ; return 0; } | 2974 ; return 0; } |
2970 EOF | 2975 EOF |
2971 if { (eval echo configure:2972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2976 if { (eval echo configure:2977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2972 rm -rf conftest* | 2977 rm -rf conftest* |
2973 emacs_cv_void_star=yes | 2978 emacs_cv_void_star=yes |
2974 else | 2979 else |
2975 echo "configure: failed program was:" >&5 | 2980 echo "configure: failed program was:" >&5 |
2976 cat conftest.$ac_ext >&5 | 2981 cat conftest.$ac_ext >&5 |
2992 EOF | 2997 EOF |
2993 | 2998 |
2994 fi | 2999 fi |
2995 | 3000 |
2996 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 3001 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
2997 echo "configure:2998: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 3002 echo "configure:3003: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
2998 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 3003 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
2999 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 3004 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
3000 echo $ac_n "(cached) $ac_c" 1>&6 | 3005 echo $ac_n "(cached) $ac_c" 1>&6 |
3001 else | 3006 else |
3002 cat > conftestmake <<\EOF | 3007 cat > conftestmake <<\EOF |
3020 SET_MAKE="MAKE=${MAKE-make}" | 3025 SET_MAKE="MAKE=${MAKE-make}" |
3021 fi | 3026 fi |
3022 | 3027 |
3023 | 3028 |
3024 echo $ac_n "checking for long file names""... $ac_c" 1>&6 | 3029 echo $ac_n "checking for long file names""... $ac_c" 1>&6 |
3025 echo "configure:3026: checking for long file names" >&5 | 3030 echo "configure:3031: checking for long file names" >&5 |
3026 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then | 3031 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then |
3027 echo $ac_n "(cached) $ac_c" 1>&6 | 3032 echo $ac_n "(cached) $ac_c" 1>&6 |
3028 else | 3033 else |
3029 ac_cv_sys_long_file_names=yes | 3034 ac_cv_sys_long_file_names=yes |
3030 # Test for long file names in all the places we know might matter: | 3035 # Test for long file names in all the places we know might matter: |
3071 # If we find X, set shell vars x_includes and x_libraries to the | 3076 # If we find X, set shell vars x_includes and x_libraries to the |
3072 # paths, otherwise set no_x=yes. | 3077 # paths, otherwise set no_x=yes. |
3073 # Uses ac_ vars as temps to allow command line to override cache and checks. | 3078 # Uses ac_ vars as temps to allow command line to override cache and checks. |
3074 # --without-x overrides everything else, but does not touch the cache. | 3079 # --without-x overrides everything else, but does not touch the cache. |
3075 echo $ac_n "checking for X""... $ac_c" 1>&6 | 3080 echo $ac_n "checking for X""... $ac_c" 1>&6 |
3076 echo "configure:3077: checking for X" >&5 | 3081 echo "configure:3082: checking for X" >&5 |
3077 | 3082 |
3078 # Check whether --with-x or --without-x was given. | 3083 # Check whether --with-x or --without-x was given. |
3079 if test "${with_x+set}" = set; then | 3084 if test "${with_x+set}" = set; then |
3080 withval="$with_x" | 3085 withval="$with_x" |
3081 : | 3086 : |
3133 # Guess where to find include files, by looking for this one X11 .h file. | 3138 # Guess where to find include files, by looking for this one X11 .h file. |
3134 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 3139 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
3135 | 3140 |
3136 # First, try using that file with no special directory specified. | 3141 # First, try using that file with no special directory specified. |
3137 cat > conftest.$ac_ext <<EOF | 3142 cat > conftest.$ac_ext <<EOF |
3138 #line 3139 "configure" | 3143 #line 3144 "configure" |
3139 #include "confdefs.h" | 3144 #include "confdefs.h" |
3140 #include <$x_direct_test_include> | 3145 #include <$x_direct_test_include> |
3141 EOF | 3146 EOF |
3142 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3147 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3143 { (eval echo configure:3144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3148 { (eval echo configure:3149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 3149 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3145 if test -z "$ac_err"; then | 3150 if test -z "$ac_err"; then |
3146 rm -rf conftest* | 3151 rm -rf conftest* |
3147 # We can compile using X headers with no special include directory. | 3152 # We can compile using X headers with no special include directory. |
3148 ac_x_includes= | 3153 ac_x_includes= |
3207 # See if we find them without any special options. | 3212 # See if we find them without any special options. |
3208 # Don't add to $LIBS permanently. | 3213 # Don't add to $LIBS permanently. |
3209 ac_save_LIBS="$LIBS" | 3214 ac_save_LIBS="$LIBS" |
3210 LIBS="-l$x_direct_test_library $LIBS" | 3215 LIBS="-l$x_direct_test_library $LIBS" |
3211 cat > conftest.$ac_ext <<EOF | 3216 cat > conftest.$ac_ext <<EOF |
3212 #line 3213 "configure" | 3217 #line 3218 "configure" |
3213 #include "confdefs.h" | 3218 #include "confdefs.h" |
3214 | 3219 |
3215 int main() { | 3220 int main() { |
3216 ${x_direct_test_function}() | 3221 ${x_direct_test_function}() |
3217 ; return 0; } | 3222 ; return 0; } |
3218 EOF | 3223 EOF |
3219 if { (eval echo configure:3220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3224 if { (eval echo configure:3225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3220 rm -rf conftest* | 3225 rm -rf conftest* |
3221 LIBS="$ac_save_LIBS" | 3226 LIBS="$ac_save_LIBS" |
3222 # We can link X programs with no special library path. | 3227 # We can link X programs with no special library path. |
3223 ac_x_libraries= | 3228 ac_x_libraries= |
3224 else | 3229 else |
3389 #### Extract some information from the operating system and machine files. | 3394 #### Extract some information from the operating system and machine files. |
3390 | 3395 |
3391 echo "checking the machine- and system-dependent files to find out | 3396 echo "checking the machine- and system-dependent files to find out |
3392 - which libraries the lib-src programs will want, and | 3397 - which libraries the lib-src programs will want, and |
3393 - whether the GNU malloc routines are usable" 1>&6 | 3398 - whether the GNU malloc routines are usable" 1>&6 |
3394 echo "configure:3395: checking the machine- and system-dependent files to find out | 3399 echo "configure:3400: checking the machine- and system-dependent files to find out |
3395 - which libraries the lib-src programs will want, and | 3400 - which libraries the lib-src programs will want, and |
3396 - whether the GNU malloc routines are usable" >&5 | 3401 - whether the GNU malloc routines are usable" >&5 |
3397 | 3402 |
3398 ### First figure out CFLAGS (which we use for running the compiler here) | 3403 ### First figure out CFLAGS (which we use for running the compiler here) |
3399 ### and REAL_CFLAGS (which we use for real compilation). | 3404 ### and REAL_CFLAGS (which we use for real compilation). |
3523 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 3528 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
3524 # Assume not, until told otherwise. | 3529 # Assume not, until told otherwise. |
3525 GNU_MALLOC=yes | 3530 GNU_MALLOC=yes |
3526 doug_lea_malloc=yes | 3531 doug_lea_malloc=yes |
3527 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 | 3532 echo $ac_n "checking for malloc_get_state""... $ac_c" 1>&6 |
3528 echo "configure:3529: checking for malloc_get_state" >&5 | 3533 echo "configure:3534: checking for malloc_get_state" >&5 |
3529 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then | 3534 if eval "test \"`echo '$''{'ac_cv_func_malloc_get_state'+set}'`\" = set"; then |
3530 echo $ac_n "(cached) $ac_c" 1>&6 | 3535 echo $ac_n "(cached) $ac_c" 1>&6 |
3531 else | 3536 else |
3532 cat > conftest.$ac_ext <<EOF | 3537 cat > conftest.$ac_ext <<EOF |
3533 #line 3534 "configure" | 3538 #line 3539 "configure" |
3534 #include "confdefs.h" | 3539 #include "confdefs.h" |
3535 /* System header to define __stub macros and hopefully few prototypes, | 3540 /* System header to define __stub macros and hopefully few prototypes, |
3536 which can conflict with char malloc_get_state(); below. */ | 3541 which can conflict with char malloc_get_state(); below. */ |
3537 #include <assert.h> | 3542 #include <assert.h> |
3538 /* Override any gcc2 internal prototype to avoid an error. */ | 3543 /* Override any gcc2 internal prototype to avoid an error. */ |
3551 malloc_get_state(); | 3556 malloc_get_state(); |
3552 #endif | 3557 #endif |
3553 | 3558 |
3554 ; return 0; } | 3559 ; return 0; } |
3555 EOF | 3560 EOF |
3556 if { (eval echo configure:3557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3561 if { (eval echo configure:3562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3557 rm -rf conftest* | 3562 rm -rf conftest* |
3558 eval "ac_cv_func_malloc_get_state=yes" | 3563 eval "ac_cv_func_malloc_get_state=yes" |
3559 else | 3564 else |
3560 echo "configure: failed program was:" >&5 | 3565 echo "configure: failed program was:" >&5 |
3561 cat conftest.$ac_ext >&5 | 3566 cat conftest.$ac_ext >&5 |
3572 echo "$ac_t""no" 1>&6 | 3577 echo "$ac_t""no" 1>&6 |
3573 doug_lea_malloc=no | 3578 doug_lea_malloc=no |
3574 fi | 3579 fi |
3575 | 3580 |
3576 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 | 3581 echo $ac_n "checking for malloc_set_state""... $ac_c" 1>&6 |
3577 echo "configure:3578: checking for malloc_set_state" >&5 | 3582 echo "configure:3583: checking for malloc_set_state" >&5 |
3578 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then | 3583 if eval "test \"`echo '$''{'ac_cv_func_malloc_set_state'+set}'`\" = set"; then |
3579 echo $ac_n "(cached) $ac_c" 1>&6 | 3584 echo $ac_n "(cached) $ac_c" 1>&6 |
3580 else | 3585 else |
3581 cat > conftest.$ac_ext <<EOF | 3586 cat > conftest.$ac_ext <<EOF |
3582 #line 3583 "configure" | 3587 #line 3588 "configure" |
3583 #include "confdefs.h" | 3588 #include "confdefs.h" |
3584 /* System header to define __stub macros and hopefully few prototypes, | 3589 /* System header to define __stub macros and hopefully few prototypes, |
3585 which can conflict with char malloc_set_state(); below. */ | 3590 which can conflict with char malloc_set_state(); below. */ |
3586 #include <assert.h> | 3591 #include <assert.h> |
3587 /* Override any gcc2 internal prototype to avoid an error. */ | 3592 /* Override any gcc2 internal prototype to avoid an error. */ |
3600 malloc_set_state(); | 3605 malloc_set_state(); |
3601 #endif | 3606 #endif |
3602 | 3607 |
3603 ; return 0; } | 3608 ; return 0; } |
3604 EOF | 3609 EOF |
3605 if { (eval echo configure:3606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3610 if { (eval echo configure:3611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3606 rm -rf conftest* | 3611 rm -rf conftest* |
3607 eval "ac_cv_func_malloc_set_state=yes" | 3612 eval "ac_cv_func_malloc_set_state=yes" |
3608 else | 3613 else |
3609 echo "configure: failed program was:" >&5 | 3614 echo "configure: failed program was:" >&5 |
3610 cat conftest.$ac_ext >&5 | 3615 cat conftest.$ac_ext >&5 |
3621 echo "$ac_t""no" 1>&6 | 3626 echo "$ac_t""no" 1>&6 |
3622 doug_lea_malloc=no | 3627 doug_lea_malloc=no |
3623 fi | 3628 fi |
3624 | 3629 |
3625 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 | 3630 echo $ac_n "checking whether __after_morecore_hook exists""... $ac_c" 1>&6 |
3626 echo "configure:3627: checking whether __after_morecore_hook exists" >&5 | 3631 echo "configure:3632: checking whether __after_morecore_hook exists" >&5 |
3627 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then | 3632 if eval "test \"`echo '$''{'emacs_cv_var___after_morecore_hook'+set}'`\" = set"; then |
3628 echo $ac_n "(cached) $ac_c" 1>&6 | 3633 echo $ac_n "(cached) $ac_c" 1>&6 |
3629 else | 3634 else |
3630 cat > conftest.$ac_ext <<EOF | 3635 cat > conftest.$ac_ext <<EOF |
3631 #line 3632 "configure" | 3636 #line 3637 "configure" |
3632 #include "confdefs.h" | 3637 #include "confdefs.h" |
3633 extern void (* __after_morecore_hook)(); | 3638 extern void (* __after_morecore_hook)(); |
3634 int main() { | 3639 int main() { |
3635 __after_morecore_hook = 0 | 3640 __after_morecore_hook = 0 |
3636 ; return 0; } | 3641 ; return 0; } |
3637 EOF | 3642 EOF |
3638 if { (eval echo configure:3639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3643 if { (eval echo configure:3644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3639 rm -rf conftest* | 3644 rm -rf conftest* |
3640 emacs_cv_var___after_morecore_hook=yes | 3645 emacs_cv_var___after_morecore_hook=yes |
3641 else | 3646 else |
3642 echo "configure: failed program was:" >&5 | 3647 echo "configure: failed program was:" >&5 |
3643 cat conftest.$ac_ext >&5 | 3648 cat conftest.$ac_ext >&5 |
3680 fi | 3685 fi |
3681 | 3686 |
3682 LIBS="$libsrc_libs $LIBS" | 3687 LIBS="$libsrc_libs $LIBS" |
3683 | 3688 |
3684 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 3689 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
3685 echo "configure:3686: checking for dnet_ntoa in -ldnet" >&5 | 3690 echo "configure:3691: checking for dnet_ntoa in -ldnet" >&5 |
3686 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3691 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
3687 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3692 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3688 echo $ac_n "(cached) $ac_c" 1>&6 | 3693 echo $ac_n "(cached) $ac_c" 1>&6 |
3689 else | 3694 else |
3690 ac_save_LIBS="$LIBS" | 3695 ac_save_LIBS="$LIBS" |
3691 LIBS="-ldnet $LIBS" | 3696 LIBS="-ldnet $LIBS" |
3692 cat > conftest.$ac_ext <<EOF | 3697 cat > conftest.$ac_ext <<EOF |
3693 #line 3694 "configure" | 3698 #line 3699 "configure" |
3694 #include "confdefs.h" | 3699 #include "confdefs.h" |
3695 /* Override any gcc2 internal prototype to avoid an error. */ | 3700 /* Override any gcc2 internal prototype to avoid an error. */ |
3696 /* We use char because int might match the return type of a gcc2 | 3701 /* We use char because int might match the return type of a gcc2 |
3697 builtin and then its argument prototype would still apply. */ | 3702 builtin and then its argument prototype would still apply. */ |
3698 char dnet_ntoa(); | 3703 char dnet_ntoa(); |
3699 | 3704 |
3700 int main() { | 3705 int main() { |
3701 dnet_ntoa() | 3706 dnet_ntoa() |
3702 ; return 0; } | 3707 ; return 0; } |
3703 EOF | 3708 EOF |
3704 if { (eval echo configure:3705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3709 if { (eval echo configure:3710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3705 rm -rf conftest* | 3710 rm -rf conftest* |
3706 eval "ac_cv_lib_$ac_lib_var=yes" | 3711 eval "ac_cv_lib_$ac_lib_var=yes" |
3707 else | 3712 else |
3708 echo "configure: failed program was:" >&5 | 3713 echo "configure: failed program was:" >&5 |
3709 cat conftest.$ac_ext >&5 | 3714 cat conftest.$ac_ext >&5 |
3728 echo "$ac_t""no" 1>&6 | 3733 echo "$ac_t""no" 1>&6 |
3729 fi | 3734 fi |
3730 | 3735 |
3731 | 3736 |
3732 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 | 3737 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6 |
3733 echo "configure:3734: checking for main in -lXbsd" >&5 | 3738 echo "configure:3739: checking for main in -lXbsd" >&5 |
3734 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` | 3739 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'` |
3735 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3740 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3736 echo $ac_n "(cached) $ac_c" 1>&6 | 3741 echo $ac_n "(cached) $ac_c" 1>&6 |
3737 else | 3742 else |
3738 ac_save_LIBS="$LIBS" | 3743 ac_save_LIBS="$LIBS" |
3739 LIBS="-lXbsd $LIBS" | 3744 LIBS="-lXbsd $LIBS" |
3740 cat > conftest.$ac_ext <<EOF | 3745 cat > conftest.$ac_ext <<EOF |
3741 #line 3742 "configure" | 3746 #line 3747 "configure" |
3742 #include "confdefs.h" | 3747 #include "confdefs.h" |
3743 | 3748 |
3744 int main() { | 3749 int main() { |
3745 main() | 3750 main() |
3746 ; return 0; } | 3751 ; return 0; } |
3747 EOF | 3752 EOF |
3748 if { (eval echo configure:3749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3753 if { (eval echo configure:3754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3749 rm -rf conftest* | 3754 rm -rf conftest* |
3750 eval "ac_cv_lib_$ac_lib_var=yes" | 3755 eval "ac_cv_lib_$ac_lib_var=yes" |
3751 else | 3756 else |
3752 echo "configure: failed program was:" >&5 | 3757 echo "configure: failed program was:" >&5 |
3753 cat conftest.$ac_ext >&5 | 3758 cat conftest.$ac_ext >&5 |
3765 echo "$ac_t""no" 1>&6 | 3770 echo "$ac_t""no" 1>&6 |
3766 fi | 3771 fi |
3767 | 3772 |
3768 | 3773 |
3769 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 | 3774 echo $ac_n "checking for cma_open in -lpthreads""... $ac_c" 1>&6 |
3770 echo "configure:3771: checking for cma_open in -lpthreads" >&5 | 3775 echo "configure:3776: checking for cma_open in -lpthreads" >&5 |
3771 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` | 3776 ac_lib_var=`echo pthreads'_'cma_open | sed 'y%./+-%__p_%'` |
3772 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3777 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3773 echo $ac_n "(cached) $ac_c" 1>&6 | 3778 echo $ac_n "(cached) $ac_c" 1>&6 |
3774 else | 3779 else |
3775 ac_save_LIBS="$LIBS" | 3780 ac_save_LIBS="$LIBS" |
3776 LIBS="-lpthreads $LIBS" | 3781 LIBS="-lpthreads $LIBS" |
3777 cat > conftest.$ac_ext <<EOF | 3782 cat > conftest.$ac_ext <<EOF |
3778 #line 3779 "configure" | 3783 #line 3784 "configure" |
3779 #include "confdefs.h" | 3784 #include "confdefs.h" |
3780 /* Override any gcc2 internal prototype to avoid an error. */ | 3785 /* Override any gcc2 internal prototype to avoid an error. */ |
3781 /* We use char because int might match the return type of a gcc2 | 3786 /* We use char because int might match the return type of a gcc2 |
3782 builtin and then its argument prototype would still apply. */ | 3787 builtin and then its argument prototype would still apply. */ |
3783 char cma_open(); | 3788 char cma_open(); |
3784 | 3789 |
3785 int main() { | 3790 int main() { |
3786 cma_open() | 3791 cma_open() |
3787 ; return 0; } | 3792 ; return 0; } |
3788 EOF | 3793 EOF |
3789 if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3794 if { (eval echo configure:3795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3790 rm -rf conftest* | 3795 rm -rf conftest* |
3791 eval "ac_cv_lib_$ac_lib_var=yes" | 3796 eval "ac_cv_lib_$ac_lib_var=yes" |
3792 else | 3797 else |
3793 echo "configure: failed program was:" >&5 | 3798 echo "configure: failed program was:" >&5 |
3794 cat conftest.$ac_ext >&5 | 3799 cat conftest.$ac_ext >&5 |
3813 echo "$ac_t""no" 1>&6 | 3818 echo "$ac_t""no" 1>&6 |
3814 fi | 3819 fi |
3815 | 3820 |
3816 | 3821 |
3817 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 | 3822 echo $ac_n "checking for XFree86 in /usr/X386""... $ac_c" 1>&6 |
3818 echo "configure:3819: checking for XFree86 in /usr/X386" >&5 | 3823 echo "configure:3824: checking for XFree86 in /usr/X386" >&5 |
3819 if test -d /usr/X386/include; then | 3824 if test -d /usr/X386/include; then |
3820 HAVE_XFREE386=yes | 3825 HAVE_XFREE386=yes |
3821 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} | 3826 : ${C_SWITCH_X_SITE="-I/usr/X386/include"} |
3822 else | 3827 else |
3823 HAVE_XFREE386=no | 3828 HAVE_XFREE386=no |
3842 export LD_RUN_PATH | 3847 export LD_RUN_PATH |
3843 fi | 3848 fi |
3844 | 3849 |
3845 if test "${opsys}" = "gnu-linux"; then | 3850 if test "${opsys}" = "gnu-linux"; then |
3846 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 | 3851 echo $ac_n "checking whether X on GNU/Linux needs -b to link""... $ac_c" 1>&6 |
3847 echo "configure:3848: checking whether X on GNU/Linux needs -b to link" >&5 | 3852 echo "configure:3853: checking whether X on GNU/Linux needs -b to link" >&5 |
3848 cat > conftest.$ac_ext <<EOF | 3853 cat > conftest.$ac_ext <<EOF |
3849 #line 3850 "configure" | 3854 #line 3855 "configure" |
3850 #include "confdefs.h" | 3855 #include "confdefs.h" |
3851 | 3856 |
3852 int main() { | 3857 int main() { |
3853 XOpenDisplay ("foo"); | 3858 XOpenDisplay ("foo"); |
3854 ; return 0; } | 3859 ; return 0; } |
3855 EOF | 3860 EOF |
3856 if { (eval echo configure:3857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3861 if { (eval echo configure:3862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3857 rm -rf conftest* | 3862 rm -rf conftest* |
3858 xlinux_first_failure=no | 3863 xlinux_first_failure=no |
3859 else | 3864 else |
3860 echo "configure: failed program was:" >&5 | 3865 echo "configure: failed program was:" >&5 |
3861 cat conftest.$ac_ext >&5 | 3866 cat conftest.$ac_ext >&5 |
3871 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" | 3876 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout" |
3872 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" | 3877 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout" |
3873 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" | 3878 CPPFLAGS="$CPPFLAGS -b i486-linuxaout" |
3874 LIBS="$LIBS -b i486-linuxaout" | 3879 LIBS="$LIBS -b i486-linuxaout" |
3875 cat > conftest.$ac_ext <<EOF | 3880 cat > conftest.$ac_ext <<EOF |
3876 #line 3877 "configure" | 3881 #line 3882 "configure" |
3877 #include "confdefs.h" | 3882 #include "confdefs.h" |
3878 | 3883 |
3879 int main() { | 3884 int main() { |
3880 XOpenDisplay ("foo"); | 3885 XOpenDisplay ("foo"); |
3881 ; return 0; } | 3886 ; return 0; } |
3882 EOF | 3887 EOF |
3883 if { (eval echo configure:3884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3888 if { (eval echo configure:3889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3884 rm -rf conftest* | 3889 rm -rf conftest* |
3885 xlinux_second_failure=no | 3890 xlinux_second_failure=no |
3886 else | 3891 else |
3887 echo "configure: failed program was:" >&5 | 3892 echo "configure: failed program was:" >&5 |
3888 cat conftest.$ac_ext >&5 | 3893 cat conftest.$ac_ext >&5 |
3908 | 3913 |
3909 for ac_func in XrmSetDatabase XScreenResourceString \ | 3914 for ac_func in XrmSetDatabase XScreenResourceString \ |
3910 XScreenNumberOfScreen XSetWMProtocols | 3915 XScreenNumberOfScreen XSetWMProtocols |
3911 do | 3916 do |
3912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3917 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3913 echo "configure:3914: checking for $ac_func" >&5 | 3918 echo "configure:3919: checking for $ac_func" >&5 |
3914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 3919 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3915 echo $ac_n "(cached) $ac_c" 1>&6 | 3920 echo $ac_n "(cached) $ac_c" 1>&6 |
3916 else | 3921 else |
3917 cat > conftest.$ac_ext <<EOF | 3922 cat > conftest.$ac_ext <<EOF |
3918 #line 3919 "configure" | 3923 #line 3924 "configure" |
3919 #include "confdefs.h" | 3924 #include "confdefs.h" |
3920 /* System header to define __stub macros and hopefully few prototypes, | 3925 /* System header to define __stub macros and hopefully few prototypes, |
3921 which can conflict with char $ac_func(); below. */ | 3926 which can conflict with char $ac_func(); below. */ |
3922 #include <assert.h> | 3927 #include <assert.h> |
3923 /* Override any gcc2 internal prototype to avoid an error. */ | 3928 /* Override any gcc2 internal prototype to avoid an error. */ |
3936 $ac_func(); | 3941 $ac_func(); |
3937 #endif | 3942 #endif |
3938 | 3943 |
3939 ; return 0; } | 3944 ; return 0; } |
3940 EOF | 3945 EOF |
3941 if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3946 if { (eval echo configure:3947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3942 rm -rf conftest* | 3947 rm -rf conftest* |
3943 eval "ac_cv_func_$ac_func=yes" | 3948 eval "ac_cv_func_$ac_func=yes" |
3944 else | 3949 else |
3945 echo "configure: failed program was:" >&5 | 3950 echo "configure: failed program was:" >&5 |
3946 cat conftest.$ac_ext >&5 | 3951 cat conftest.$ac_ext >&5 |
3964 | 3969 |
3965 fi | 3970 fi |
3966 | 3971 |
3967 if test "${window_system}" = "x11"; then | 3972 if test "${window_system}" = "x11"; then |
3968 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 | 3973 echo $ac_n "checking X11 version 6""... $ac_c" 1>&6 |
3969 echo "configure:3970: checking X11 version 6" >&5 | 3974 echo "configure:3975: checking X11 version 6" >&5 |
3970 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then | 3975 if eval "test \"`echo '$''{'emacs_cv_x11_version_6'+set}'`\" = set"; then |
3971 echo $ac_n "(cached) $ac_c" 1>&6 | 3976 echo $ac_n "(cached) $ac_c" 1>&6 |
3972 else | 3977 else |
3973 cat > conftest.$ac_ext <<EOF | 3978 cat > conftest.$ac_ext <<EOF |
3974 #line 3975 "configure" | 3979 #line 3980 "configure" |
3975 #include "confdefs.h" | 3980 #include "confdefs.h" |
3976 #include <X11/Xlib.h> | 3981 #include <X11/Xlib.h> |
3977 int main() { | 3982 int main() { |
3978 #if XlibSpecificationRelease < 6 | 3983 #if XlibSpecificationRelease < 6 |
3979 fail; | 3984 fail; |
3980 #endif | 3985 #endif |
3981 | 3986 |
3982 ; return 0; } | 3987 ; return 0; } |
3983 EOF | 3988 EOF |
3984 if { (eval echo configure:3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3989 if { (eval echo configure:3990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3985 rm -rf conftest* | 3990 rm -rf conftest* |
3986 emacs_cv_x11_version_6=yes | 3991 emacs_cv_x11_version_6=yes |
3987 else | 3992 else |
3988 echo "configure: failed program was:" >&5 | 3993 echo "configure: failed program was:" >&5 |
3989 cat conftest.$ac_ext >&5 | 3994 cat conftest.$ac_ext >&5 |
4004 fi | 4009 fi |
4005 fi | 4010 fi |
4006 | 4011 |
4007 if test "${window_system}" = "x11"; then | 4012 if test "${window_system}" = "x11"; then |
4008 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 | 4013 echo $ac_n "checking X11 version 5""... $ac_c" 1>&6 |
4009 echo "configure:4010: checking X11 version 5" >&5 | 4014 echo "configure:4015: checking X11 version 5" >&5 |
4010 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then | 4015 if eval "test \"`echo '$''{'emacs_cv_x11_version_5'+set}'`\" = set"; then |
4011 echo $ac_n "(cached) $ac_c" 1>&6 | 4016 echo $ac_n "(cached) $ac_c" 1>&6 |
4012 else | 4017 else |
4013 cat > conftest.$ac_ext <<EOF | 4018 cat > conftest.$ac_ext <<EOF |
4014 #line 4015 "configure" | 4019 #line 4020 "configure" |
4015 #include "confdefs.h" | 4020 #include "confdefs.h" |
4016 #include <X11/Xlib.h> | 4021 #include <X11/Xlib.h> |
4017 int main() { | 4022 int main() { |
4018 #if XlibSpecificationRelease < 5 | 4023 #if XlibSpecificationRelease < 5 |
4019 fail; | 4024 fail; |
4020 #endif | 4025 #endif |
4021 | 4026 |
4022 ; return 0; } | 4027 ; return 0; } |
4023 EOF | 4028 EOF |
4024 if { (eval echo configure:4025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4029 if { (eval echo configure:4030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4025 rm -rf conftest* | 4030 rm -rf conftest* |
4026 emacs_cv_x11_version_5=yes | 4031 emacs_cv_x11_version_5=yes |
4027 else | 4032 else |
4028 echo "configure: failed program was:" >&5 | 4033 echo "configure: failed program was:" >&5 |
4029 cat conftest.$ac_ext >&5 | 4034 cat conftest.$ac_ext >&5 |
4047 fi | 4052 fi |
4048 | 4053 |
4049 if test x"${USE_X_TOOLKIT}" = xmaybe; then | 4054 if test x"${USE_X_TOOLKIT}" = xmaybe; then |
4050 if test x"${HAVE_X11R5}" = xyes; then | 4055 if test x"${HAVE_X11R5}" = xyes; then |
4051 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 | 4056 echo $ac_n "checking X11 version 5 with Xaw""... $ac_c" 1>&6 |
4052 echo "configure:4053: checking X11 version 5 with Xaw" >&5 | 4057 echo "configure:4058: checking X11 version 5 with Xaw" >&5 |
4053 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then | 4058 if eval "test \"`echo '$''{'emacs_cv_x11_version_5_with_xaw'+set}'`\" = set"; then |
4054 echo $ac_n "(cached) $ac_c" 1>&6 | 4059 echo $ac_n "(cached) $ac_c" 1>&6 |
4055 else | 4060 else |
4056 cat > conftest.$ac_ext <<EOF | 4061 cat > conftest.$ac_ext <<EOF |
4057 #line 4058 "configure" | 4062 #line 4063 "configure" |
4058 #include "confdefs.h" | 4063 #include "confdefs.h" |
4059 | 4064 |
4060 #include <X11/Intrinsic.h> | 4065 #include <X11/Intrinsic.h> |
4061 #include <X11/Xaw/Simple.h> | 4066 #include <X11/Xaw/Simple.h> |
4062 int main() { | 4067 int main() { |
4063 | 4068 |
4064 ; return 0; } | 4069 ; return 0; } |
4065 EOF | 4070 EOF |
4066 if { (eval echo configure:4067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4071 if { (eval echo configure:4072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4067 rm -rf conftest* | 4072 rm -rf conftest* |
4068 emacs_cv_x11_version_5_with_xaw=yes | 4073 emacs_cv_x11_version_5_with_xaw=yes |
4069 else | 4074 else |
4070 echo "configure: failed program was:" >&5 | 4075 echo "configure: failed program was:" >&5 |
4071 cat conftest.$ac_ext >&5 | 4076 cat conftest.$ac_ext >&5 |
4089 | 4094 |
4090 X_TOOLKIT_TYPE=$USE_X_TOOLKIT | 4095 X_TOOLKIT_TYPE=$USE_X_TOOLKIT |
4091 | 4096 |
4092 if test "${USE_X_TOOLKIT}" != "none"; then | 4097 if test "${USE_X_TOOLKIT}" != "none"; then |
4093 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 | 4098 echo $ac_n "checking X11 toolkit version""... $ac_c" 1>&6 |
4094 echo "configure:4095: checking X11 toolkit version" >&5 | 4099 echo "configure:4100: checking X11 toolkit version" >&5 |
4095 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then | 4100 if eval "test \"`echo '$''{'emacs_cv_x11_toolkit_version_6'+set}'`\" = set"; then |
4096 echo $ac_n "(cached) $ac_c" 1>&6 | 4101 echo $ac_n "(cached) $ac_c" 1>&6 |
4097 else | 4102 else |
4098 cat > conftest.$ac_ext <<EOF | 4103 cat > conftest.$ac_ext <<EOF |
4099 #line 4100 "configure" | 4104 #line 4105 "configure" |
4100 #include "confdefs.h" | 4105 #include "confdefs.h" |
4101 #include <X11/Intrinsic.h> | 4106 #include <X11/Intrinsic.h> |
4102 int main() { | 4107 int main() { |
4103 #if XtSpecificationRelease < 6 | 4108 #if XtSpecificationRelease < 6 |
4104 fail; | 4109 fail; |
4105 #endif | 4110 #endif |
4106 | 4111 |
4107 ; return 0; } | 4112 ; return 0; } |
4108 EOF | 4113 EOF |
4109 if { (eval echo configure:4110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4114 if { (eval echo configure:4115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4110 rm -rf conftest* | 4115 rm -rf conftest* |
4111 emacs_cv_x11_toolkit_version_6=yes | 4116 emacs_cv_x11_toolkit_version_6=yes |
4112 else | 4117 else |
4113 echo "configure: failed program was:" >&5 | 4118 echo "configure: failed program was:" >&5 |
4114 cat conftest.$ac_ext >&5 | 4119 cat conftest.$ac_ext >&5 |
4134 LIBS="-lXt -lSM -lICE $LIBS" | 4139 LIBS="-lXt -lSM -lICE $LIBS" |
4135 else | 4140 else |
4136 LIBS="-lXt $LIBS" | 4141 LIBS="-lXt $LIBS" |
4137 fi | 4142 fi |
4138 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 | 4143 echo $ac_n "checking for XmuConvertStandardSelection in -lXmu""... $ac_c" 1>&6 |
4139 echo "configure:4140: checking for XmuConvertStandardSelection in -lXmu" >&5 | 4144 echo "configure:4145: checking for XmuConvertStandardSelection in -lXmu" >&5 |
4140 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` | 4145 ac_lib_var=`echo Xmu'_'XmuConvertStandardSelection | sed 'y%./+-%__p_%'` |
4141 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4146 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4142 echo $ac_n "(cached) $ac_c" 1>&6 | 4147 echo $ac_n "(cached) $ac_c" 1>&6 |
4143 else | 4148 else |
4144 ac_save_LIBS="$LIBS" | 4149 ac_save_LIBS="$LIBS" |
4145 LIBS="-lXmu $LIBS" | 4150 LIBS="-lXmu $LIBS" |
4146 cat > conftest.$ac_ext <<EOF | 4151 cat > conftest.$ac_ext <<EOF |
4147 #line 4148 "configure" | 4152 #line 4153 "configure" |
4148 #include "confdefs.h" | 4153 #include "confdefs.h" |
4149 /* Override any gcc2 internal prototype to avoid an error. */ | 4154 /* Override any gcc2 internal prototype to avoid an error. */ |
4150 /* We use char because int might match the return type of a gcc2 | 4155 /* We use char because int might match the return type of a gcc2 |
4151 builtin and then its argument prototype would still apply. */ | 4156 builtin and then its argument prototype would still apply. */ |
4152 char XmuConvertStandardSelection(); | 4157 char XmuConvertStandardSelection(); |
4153 | 4158 |
4154 int main() { | 4159 int main() { |
4155 XmuConvertStandardSelection() | 4160 XmuConvertStandardSelection() |
4156 ; return 0; } | 4161 ; return 0; } |
4157 EOF | 4162 EOF |
4158 if { (eval echo configure:4159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4163 if { (eval echo configure:4164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4159 rm -rf conftest* | 4164 rm -rf conftest* |
4160 eval "ac_cv_lib_$ac_lib_var=yes" | 4165 eval "ac_cv_lib_$ac_lib_var=yes" |
4161 else | 4166 else |
4162 echo "configure: failed program was:" >&5 | 4167 echo "configure: failed program was:" >&5 |
4163 cat conftest.$ac_ext >&5 | 4168 cat conftest.$ac_ext >&5 |
4185 LIBS="$OLDLIBS" | 4190 LIBS="$OLDLIBS" |
4186 fi | 4191 fi |
4187 | 4192 |
4188 if test "${USE_X_TOOLKIT}" = "MOTIF"; then | 4193 if test "${USE_X_TOOLKIT}" = "MOTIF"; then |
4189 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 | 4194 echo $ac_n "checking for Motif version 2.1""... $ac_c" 1>&6 |
4190 echo "configure:4191: checking for Motif version 2.1" >&5 | 4195 echo "configure:4196: checking for Motif version 2.1" >&5 |
4191 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then | 4196 if eval "test \"`echo '$''{'emacs_cv_motif_version_2_1'+set}'`\" = set"; then |
4192 echo $ac_n "(cached) $ac_c" 1>&6 | 4197 echo $ac_n "(cached) $ac_c" 1>&6 |
4193 else | 4198 else |
4194 cat > conftest.$ac_ext <<EOF | 4199 cat > conftest.$ac_ext <<EOF |
4195 #line 4196 "configure" | 4200 #line 4201 "configure" |
4196 #include "confdefs.h" | 4201 #include "confdefs.h" |
4197 #include <Xm/Xm.h> | 4202 #include <Xm/Xm.h> |
4198 int main() { | 4203 int main() { |
4199 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) | 4204 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1) |
4200 int x = 5; | 4205 int x = 5; |
4201 #else | 4206 #else |
4202 Motif version prior to 2.1. | 4207 Motif version prior to 2.1. |
4203 #endif | 4208 #endif |
4204 ; return 0; } | 4209 ; return 0; } |
4205 EOF | 4210 EOF |
4206 if { (eval echo configure:4207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4211 if { (eval echo configure:4212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4207 rm -rf conftest* | 4212 rm -rf conftest* |
4208 emacs_cv_motif_version_2_1=yes | 4213 emacs_cv_motif_version_2_1=yes |
4209 else | 4214 else |
4210 echo "configure: failed program was:" >&5 | 4215 echo "configure: failed program was:" >&5 |
4211 cat conftest.$ac_ext >&5 | 4216 cat conftest.$ac_ext >&5 |
4221 cat >> confdefs.h <<\EOF | 4226 cat >> confdefs.h <<\EOF |
4222 #define HAVE_MOTIF_2_1 1 | 4227 #define HAVE_MOTIF_2_1 1 |
4223 EOF | 4228 EOF |
4224 | 4229 |
4225 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 | 4230 echo $ac_n "checking for XpCreateContext in -lXp""... $ac_c" 1>&6 |
4226 echo "configure:4227: checking for XpCreateContext in -lXp" >&5 | 4231 echo "configure:4232: checking for XpCreateContext in -lXp" >&5 |
4227 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` | 4232 ac_lib_var=`echo Xp'_'XpCreateContext | sed 'y%./+-%__p_%'` |
4228 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4233 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4229 echo $ac_n "(cached) $ac_c" 1>&6 | 4234 echo $ac_n "(cached) $ac_c" 1>&6 |
4230 else | 4235 else |
4231 ac_save_LIBS="$LIBS" | 4236 ac_save_LIBS="$LIBS" |
4232 LIBS="-lXp $LIBS" | 4237 LIBS="-lXp $LIBS" |
4233 cat > conftest.$ac_ext <<EOF | 4238 cat > conftest.$ac_ext <<EOF |
4234 #line 4235 "configure" | 4239 #line 4240 "configure" |
4235 #include "confdefs.h" | 4240 #include "confdefs.h" |
4236 /* Override any gcc2 internal prototype to avoid an error. */ | 4241 /* Override any gcc2 internal prototype to avoid an error. */ |
4237 /* We use char because int might match the return type of a gcc2 | 4242 /* We use char because int might match the return type of a gcc2 |
4238 builtin and then its argument prototype would still apply. */ | 4243 builtin and then its argument prototype would still apply. */ |
4239 char XpCreateContext(); | 4244 char XpCreateContext(); |
4240 | 4245 |
4241 int main() { | 4246 int main() { |
4242 XpCreateContext() | 4247 XpCreateContext() |
4243 ; return 0; } | 4248 ; return 0; } |
4244 EOF | 4249 EOF |
4245 if { (eval echo configure:4246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4250 if { (eval echo configure:4251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4246 rm -rf conftest* | 4251 rm -rf conftest* |
4247 eval "ac_cv_lib_$ac_lib_var=yes" | 4252 eval "ac_cv_lib_$ac_lib_var=yes" |
4248 else | 4253 else |
4249 echo "configure: failed program was:" >&5 | 4254 echo "configure: failed program was:" >&5 |
4250 cat conftest.$ac_ext >&5 | 4255 cat conftest.$ac_ext >&5 |
4278 if test "${USE_X_TOOLKIT}" != "none"; then | 4283 if test "${USE_X_TOOLKIT}" != "none"; then |
4279 old_c_flags="${CFLAGS}" | 4284 old_c_flags="${CFLAGS}" |
4280 CFLAGS="${LD_SWITCH_X_SITE}" | 4285 CFLAGS="${LD_SWITCH_X_SITE}" |
4281 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` | 4286 ac_safe=`echo "X11/Xaw3d/Scrollbar.h" | sed 'y%./+-%__p_%'` |
4282 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 | 4287 echo $ac_n "checking for X11/Xaw3d/Scrollbar.h""... $ac_c" 1>&6 |
4283 echo "configure:4284: checking for X11/Xaw3d/Scrollbar.h" >&5 | 4288 echo "configure:4289: checking for X11/Xaw3d/Scrollbar.h" >&5 |
4284 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4289 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4285 echo $ac_n "(cached) $ac_c" 1>&6 | 4290 echo $ac_n "(cached) $ac_c" 1>&6 |
4286 else | 4291 else |
4287 cat > conftest.$ac_ext <<EOF | 4292 cat > conftest.$ac_ext <<EOF |
4288 #line 4289 "configure" | 4293 #line 4294 "configure" |
4289 #include "confdefs.h" | 4294 #include "confdefs.h" |
4290 #include <X11/Xaw3d/Scrollbar.h> | 4295 #include <X11/Xaw3d/Scrollbar.h> |
4291 EOF | 4296 EOF |
4292 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4297 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4293 { (eval echo configure:4294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4298 { (eval echo configure:4299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4294 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4299 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4295 if test -z "$ac_err"; then | 4300 if test -z "$ac_err"; then |
4296 rm -rf conftest* | 4301 rm -rf conftest* |
4297 eval "ac_cv_header_$ac_safe=yes" | 4302 eval "ac_cv_header_$ac_safe=yes" |
4298 else | 4303 else |
4305 rm -f conftest* | 4310 rm -f conftest* |
4306 fi | 4311 fi |
4307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4312 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4308 echo "$ac_t""yes" 1>&6 | 4313 echo "$ac_t""yes" 1>&6 |
4309 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 | 4314 echo $ac_n "checking for XawScrollbarSetThumb in -lXaw3d""... $ac_c" 1>&6 |
4310 echo "configure:4311: checking for XawScrollbarSetThumb in -lXaw3d" >&5 | 4315 echo "configure:4316: checking for XawScrollbarSetThumb in -lXaw3d" >&5 |
4311 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` | 4316 ac_lib_var=`echo Xaw3d'_'XawScrollbarSetThumb | sed 'y%./+-%__p_%'` |
4312 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4317 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4313 echo $ac_n "(cached) $ac_c" 1>&6 | 4318 echo $ac_n "(cached) $ac_c" 1>&6 |
4314 else | 4319 else |
4315 ac_save_LIBS="$LIBS" | 4320 ac_save_LIBS="$LIBS" |
4316 LIBS="-lXaw3d -lX11 $LIBS" | 4321 LIBS="-lXaw3d -lX11 $LIBS" |
4317 cat > conftest.$ac_ext <<EOF | 4322 cat > conftest.$ac_ext <<EOF |
4318 #line 4319 "configure" | 4323 #line 4324 "configure" |
4319 #include "confdefs.h" | 4324 #include "confdefs.h" |
4320 /* Override any gcc2 internal prototype to avoid an error. */ | 4325 /* Override any gcc2 internal prototype to avoid an error. */ |
4321 /* We use char because int might match the return type of a gcc2 | 4326 /* We use char because int might match the return type of a gcc2 |
4322 builtin and then its argument prototype would still apply. */ | 4327 builtin and then its argument prototype would still apply. */ |
4323 char XawScrollbarSetThumb(); | 4328 char XawScrollbarSetThumb(); |
4324 | 4329 |
4325 int main() { | 4330 int main() { |
4326 XawScrollbarSetThumb() | 4331 XawScrollbarSetThumb() |
4327 ; return 0; } | 4332 ; return 0; } |
4328 EOF | 4333 EOF |
4329 if { (eval echo configure:4330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4334 if { (eval echo configure:4335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4330 rm -rf conftest* | 4335 rm -rf conftest* |
4331 eval "ac_cv_lib_$ac_lib_var=yes" | 4336 eval "ac_cv_lib_$ac_lib_var=yes" |
4332 else | 4337 else |
4333 echo "configure: failed program was:" >&5 | 4338 echo "configure: failed program was:" >&5 |
4334 cat conftest.$ac_ext >&5 | 4339 cat conftest.$ac_ext >&5 |
4388 if test "${with_xpm}" != "no"; then | 4393 if test "${with_xpm}" != "no"; then |
4389 old_c_flags="${CFLAGS}" | 4394 old_c_flags="${CFLAGS}" |
4390 CFLAGS="${LD_SWITCH_X_SITE}" | 4395 CFLAGS="${LD_SWITCH_X_SITE}" |
4391 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` | 4396 ac_safe=`echo "X11/xpm.h" | sed 'y%./+-%__p_%'` |
4392 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 | 4397 echo $ac_n "checking for X11/xpm.h""... $ac_c" 1>&6 |
4393 echo "configure:4394: checking for X11/xpm.h" >&5 | 4398 echo "configure:4399: checking for X11/xpm.h" >&5 |
4394 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4399 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4395 echo $ac_n "(cached) $ac_c" 1>&6 | 4400 echo $ac_n "(cached) $ac_c" 1>&6 |
4396 else | 4401 else |
4397 cat > conftest.$ac_ext <<EOF | 4402 cat > conftest.$ac_ext <<EOF |
4398 #line 4399 "configure" | 4403 #line 4404 "configure" |
4399 #include "confdefs.h" | 4404 #include "confdefs.h" |
4400 #include <X11/xpm.h> | 4405 #include <X11/xpm.h> |
4401 EOF | 4406 EOF |
4402 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4407 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4403 { (eval echo configure:4404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4408 { (eval echo configure:4409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4404 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4409 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4405 if test -z "$ac_err"; then | 4410 if test -z "$ac_err"; then |
4406 rm -rf conftest* | 4411 rm -rf conftest* |
4407 eval "ac_cv_header_$ac_safe=yes" | 4412 eval "ac_cv_header_$ac_safe=yes" |
4408 else | 4413 else |
4415 rm -f conftest* | 4420 rm -f conftest* |
4416 fi | 4421 fi |
4417 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4422 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4418 echo "$ac_t""yes" 1>&6 | 4423 echo "$ac_t""yes" 1>&6 |
4419 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 | 4424 echo $ac_n "checking for XpmReadFileToPixmap in -lXpm""... $ac_c" 1>&6 |
4420 echo "configure:4421: checking for XpmReadFileToPixmap in -lXpm" >&5 | 4425 echo "configure:4426: checking for XpmReadFileToPixmap in -lXpm" >&5 |
4421 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` | 4426 ac_lib_var=`echo Xpm'_'XpmReadFileToPixmap | sed 'y%./+-%__p_%'` |
4422 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4427 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4423 echo $ac_n "(cached) $ac_c" 1>&6 | 4428 echo $ac_n "(cached) $ac_c" 1>&6 |
4424 else | 4429 else |
4425 ac_save_LIBS="$LIBS" | 4430 ac_save_LIBS="$LIBS" |
4426 LIBS="-lXpm -lX11 $LIBS" | 4431 LIBS="-lXpm -lX11 $LIBS" |
4427 cat > conftest.$ac_ext <<EOF | 4432 cat > conftest.$ac_ext <<EOF |
4428 #line 4429 "configure" | 4433 #line 4434 "configure" |
4429 #include "confdefs.h" | 4434 #include "confdefs.h" |
4430 /* Override any gcc2 internal prototype to avoid an error. */ | 4435 /* Override any gcc2 internal prototype to avoid an error. */ |
4431 /* We use char because int might match the return type of a gcc2 | 4436 /* We use char because int might match the return type of a gcc2 |
4432 builtin and then its argument prototype would still apply. */ | 4437 builtin and then its argument prototype would still apply. */ |
4433 char XpmReadFileToPixmap(); | 4438 char XpmReadFileToPixmap(); |
4434 | 4439 |
4435 int main() { | 4440 int main() { |
4436 XpmReadFileToPixmap() | 4441 XpmReadFileToPixmap() |
4437 ; return 0; } | 4442 ; return 0; } |
4438 EOF | 4443 EOF |
4439 if { (eval echo configure:4440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4444 if { (eval echo configure:4445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4440 rm -rf conftest* | 4445 rm -rf conftest* |
4441 eval "ac_cv_lib_$ac_lib_var=yes" | 4446 eval "ac_cv_lib_$ac_lib_var=yes" |
4442 else | 4447 else |
4443 echo "configure: failed program was:" >&5 | 4448 echo "configure: failed program was:" >&5 |
4444 cat conftest.$ac_ext >&5 | 4449 cat conftest.$ac_ext >&5 |
4477 if test "${with_jpeg}" != "no"; then | 4482 if test "${with_jpeg}" != "no"; then |
4478 old_c_flags="${CFLAGS}" | 4483 old_c_flags="${CFLAGS}" |
4479 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4484 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4480 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` | 4485 ac_safe=`echo "jerror.h" | sed 'y%./+-%__p_%'` |
4481 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 | 4486 echo $ac_n "checking for jerror.h""... $ac_c" 1>&6 |
4482 echo "configure:4483: checking for jerror.h" >&5 | 4487 echo "configure:4488: checking for jerror.h" >&5 |
4483 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4488 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4484 echo $ac_n "(cached) $ac_c" 1>&6 | 4489 echo $ac_n "(cached) $ac_c" 1>&6 |
4485 else | 4490 else |
4486 cat > conftest.$ac_ext <<EOF | 4491 cat > conftest.$ac_ext <<EOF |
4487 #line 4488 "configure" | 4492 #line 4493 "configure" |
4488 #include "confdefs.h" | 4493 #include "confdefs.h" |
4489 #include <jerror.h> | 4494 #include <jerror.h> |
4490 EOF | 4495 EOF |
4491 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4496 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4492 { (eval echo configure:4493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4497 { (eval echo configure:4498: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4493 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4498 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4494 if test -z "$ac_err"; then | 4499 if test -z "$ac_err"; then |
4495 rm -rf conftest* | 4500 rm -rf conftest* |
4496 eval "ac_cv_header_$ac_safe=yes" | 4501 eval "ac_cv_header_$ac_safe=yes" |
4497 else | 4502 else |
4504 rm -f conftest* | 4509 rm -f conftest* |
4505 fi | 4510 fi |
4506 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4511 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4507 echo "$ac_t""yes" 1>&6 | 4512 echo "$ac_t""yes" 1>&6 |
4508 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 | 4513 echo $ac_n "checking for jpeg_destroy_compress in -ljpeg""... $ac_c" 1>&6 |
4509 echo "configure:4510: checking for jpeg_destroy_compress in -ljpeg" >&5 | 4514 echo "configure:4515: checking for jpeg_destroy_compress in -ljpeg" >&5 |
4510 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` | 4515 ac_lib_var=`echo jpeg'_'jpeg_destroy_compress | sed 'y%./+-%__p_%'` |
4511 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4516 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4512 echo $ac_n "(cached) $ac_c" 1>&6 | 4517 echo $ac_n "(cached) $ac_c" 1>&6 |
4513 else | 4518 else |
4514 ac_save_LIBS="$LIBS" | 4519 ac_save_LIBS="$LIBS" |
4515 LIBS="-ljpeg -lX11 $LIBS" | 4520 LIBS="-ljpeg -lX11 $LIBS" |
4516 cat > conftest.$ac_ext <<EOF | 4521 cat > conftest.$ac_ext <<EOF |
4517 #line 4518 "configure" | 4522 #line 4523 "configure" |
4518 #include "confdefs.h" | 4523 #include "confdefs.h" |
4519 /* Override any gcc2 internal prototype to avoid an error. */ | 4524 /* Override any gcc2 internal prototype to avoid an error. */ |
4520 /* We use char because int might match the return type of a gcc2 | 4525 /* We use char because int might match the return type of a gcc2 |
4521 builtin and then its argument prototype would still apply. */ | 4526 builtin and then its argument prototype would still apply. */ |
4522 char jpeg_destroy_compress(); | 4527 char jpeg_destroy_compress(); |
4523 | 4528 |
4524 int main() { | 4529 int main() { |
4525 jpeg_destroy_compress() | 4530 jpeg_destroy_compress() |
4526 ; return 0; } | 4531 ; return 0; } |
4527 EOF | 4532 EOF |
4528 if { (eval echo configure:4529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4533 if { (eval echo configure:4534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4529 rm -rf conftest* | 4534 rm -rf conftest* |
4530 eval "ac_cv_lib_$ac_lib_var=yes" | 4535 eval "ac_cv_lib_$ac_lib_var=yes" |
4531 else | 4536 else |
4532 echo "configure: failed program was:" >&5 | 4537 echo "configure: failed program was:" >&5 |
4533 cat conftest.$ac_ext >&5 | 4538 cat conftest.$ac_ext >&5 |
4566 if test "${with_png}" != "no"; then | 4571 if test "${with_png}" != "no"; then |
4567 old_c_flags="${CFLAGS}" | 4572 old_c_flags="${CFLAGS}" |
4568 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4573 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4569 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` | 4574 ac_safe=`echo "png.h" | sed 'y%./+-%__p_%'` |
4570 echo $ac_n "checking for png.h""... $ac_c" 1>&6 | 4575 echo $ac_n "checking for png.h""... $ac_c" 1>&6 |
4571 echo "configure:4572: checking for png.h" >&5 | 4576 echo "configure:4577: checking for png.h" >&5 |
4572 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4577 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4573 echo $ac_n "(cached) $ac_c" 1>&6 | 4578 echo $ac_n "(cached) $ac_c" 1>&6 |
4574 else | 4579 else |
4575 cat > conftest.$ac_ext <<EOF | 4580 cat > conftest.$ac_ext <<EOF |
4576 #line 4577 "configure" | 4581 #line 4582 "configure" |
4577 #include "confdefs.h" | 4582 #include "confdefs.h" |
4578 #include <png.h> | 4583 #include <png.h> |
4579 EOF | 4584 EOF |
4580 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4585 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4581 { (eval echo configure:4582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4586 { (eval echo configure:4587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4582 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4587 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4583 if test -z "$ac_err"; then | 4588 if test -z "$ac_err"; then |
4584 rm -rf conftest* | 4589 rm -rf conftest* |
4585 eval "ac_cv_header_$ac_safe=yes" | 4590 eval "ac_cv_header_$ac_safe=yes" |
4586 else | 4591 else |
4593 rm -f conftest* | 4598 rm -f conftest* |
4594 fi | 4599 fi |
4595 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4600 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4596 echo "$ac_t""yes" 1>&6 | 4601 echo "$ac_t""yes" 1>&6 |
4597 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 | 4602 echo $ac_n "checking for png_set_expand in -lpng""... $ac_c" 1>&6 |
4598 echo "configure:4599: checking for png_set_expand in -lpng" >&5 | 4603 echo "configure:4604: checking for png_set_expand in -lpng" >&5 |
4599 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` | 4604 ac_lib_var=`echo png'_'png_set_expand | sed 'y%./+-%__p_%'` |
4600 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4605 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4601 echo $ac_n "(cached) $ac_c" 1>&6 | 4606 echo $ac_n "(cached) $ac_c" 1>&6 |
4602 else | 4607 else |
4603 ac_save_LIBS="$LIBS" | 4608 ac_save_LIBS="$LIBS" |
4604 LIBS="-lpng -lX11 -lz -lm $LIBS" | 4609 LIBS="-lpng -lX11 -lz -lm $LIBS" |
4605 cat > conftest.$ac_ext <<EOF | 4610 cat > conftest.$ac_ext <<EOF |
4606 #line 4607 "configure" | 4611 #line 4612 "configure" |
4607 #include "confdefs.h" | 4612 #include "confdefs.h" |
4608 /* Override any gcc2 internal prototype to avoid an error. */ | 4613 /* Override any gcc2 internal prototype to avoid an error. */ |
4609 /* We use char because int might match the return type of a gcc2 | 4614 /* We use char because int might match the return type of a gcc2 |
4610 builtin and then its argument prototype would still apply. */ | 4615 builtin and then its argument prototype would still apply. */ |
4611 char png_set_expand(); | 4616 char png_set_expand(); |
4612 | 4617 |
4613 int main() { | 4618 int main() { |
4614 png_set_expand() | 4619 png_set_expand() |
4615 ; return 0; } | 4620 ; return 0; } |
4616 EOF | 4621 EOF |
4617 if { (eval echo configure:4618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4622 if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4618 rm -rf conftest* | 4623 rm -rf conftest* |
4619 eval "ac_cv_lib_$ac_lib_var=yes" | 4624 eval "ac_cv_lib_$ac_lib_var=yes" |
4620 else | 4625 else |
4621 echo "configure: failed program was:" >&5 | 4626 echo "configure: failed program was:" >&5 |
4622 cat conftest.$ac_ext >&5 | 4627 cat conftest.$ac_ext >&5 |
4655 if test "${with_tiff}" != "no"; then | 4660 if test "${with_tiff}" != "no"; then |
4656 old_c_flags="${CFLAGS}" | 4661 old_c_flags="${CFLAGS}" |
4657 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4662 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4658 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` | 4663 ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` |
4659 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 | 4664 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 |
4660 echo "configure:4661: checking for tiffio.h" >&5 | 4665 echo "configure:4666: checking for tiffio.h" >&5 |
4661 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4666 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4662 echo $ac_n "(cached) $ac_c" 1>&6 | 4667 echo $ac_n "(cached) $ac_c" 1>&6 |
4663 else | 4668 else |
4664 cat > conftest.$ac_ext <<EOF | 4669 cat > conftest.$ac_ext <<EOF |
4665 #line 4666 "configure" | 4670 #line 4671 "configure" |
4666 #include "confdefs.h" | 4671 #include "confdefs.h" |
4667 #include <tiffio.h> | 4672 #include <tiffio.h> |
4668 EOF | 4673 EOF |
4669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4674 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4670 { (eval echo configure:4671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4675 { (eval echo configure:4676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4676 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4672 if test -z "$ac_err"; then | 4677 if test -z "$ac_err"; then |
4673 rm -rf conftest* | 4678 rm -rf conftest* |
4674 eval "ac_cv_header_$ac_safe=yes" | 4679 eval "ac_cv_header_$ac_safe=yes" |
4675 else | 4680 else |
4685 echo "$ac_t""yes" 1>&6 | 4690 echo "$ac_t""yes" 1>&6 |
4686 tifflibs="-lX11 -lz -lm" | 4691 tifflibs="-lX11 -lz -lm" |
4687 # At least one tiff package requires the jpeg library. | 4692 # At least one tiff package requires the jpeg library. |
4688 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi | 4693 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi |
4689 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 | 4694 echo $ac_n "checking for TIFFGetVersion in -ltiff""... $ac_c" 1>&6 |
4690 echo "configure:4691: checking for TIFFGetVersion in -ltiff" >&5 | 4695 echo "configure:4696: checking for TIFFGetVersion in -ltiff" >&5 |
4691 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` | 4696 ac_lib_var=`echo tiff'_'TIFFGetVersion | sed 'y%./+-%__p_%'` |
4692 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4697 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4693 echo $ac_n "(cached) $ac_c" 1>&6 | 4698 echo $ac_n "(cached) $ac_c" 1>&6 |
4694 else | 4699 else |
4695 ac_save_LIBS="$LIBS" | 4700 ac_save_LIBS="$LIBS" |
4696 LIBS="-ltiff $tifflibs $LIBS" | 4701 LIBS="-ltiff $tifflibs $LIBS" |
4697 cat > conftest.$ac_ext <<EOF | 4702 cat > conftest.$ac_ext <<EOF |
4698 #line 4699 "configure" | 4703 #line 4704 "configure" |
4699 #include "confdefs.h" | 4704 #include "confdefs.h" |
4700 /* Override any gcc2 internal prototype to avoid an error. */ | 4705 /* Override any gcc2 internal prototype to avoid an error. */ |
4701 /* We use char because int might match the return type of a gcc2 | 4706 /* We use char because int might match the return type of a gcc2 |
4702 builtin and then its argument prototype would still apply. */ | 4707 builtin and then its argument prototype would still apply. */ |
4703 char TIFFGetVersion(); | 4708 char TIFFGetVersion(); |
4704 | 4709 |
4705 int main() { | 4710 int main() { |
4706 TIFFGetVersion() | 4711 TIFFGetVersion() |
4707 ; return 0; } | 4712 ; return 0; } |
4708 EOF | 4713 EOF |
4709 if { (eval echo configure:4710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4714 if { (eval echo configure:4715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4710 rm -rf conftest* | 4715 rm -rf conftest* |
4711 eval "ac_cv_lib_$ac_lib_var=yes" | 4716 eval "ac_cv_lib_$ac_lib_var=yes" |
4712 else | 4717 else |
4713 echo "configure: failed program was:" >&5 | 4718 echo "configure: failed program was:" >&5 |
4714 cat conftest.$ac_ext >&5 | 4719 cat conftest.$ac_ext >&5 |
4747 if test "${with_gif}" != "no"; then | 4752 if test "${with_gif}" != "no"; then |
4748 old_c_flags="${CFLAGS}" | 4753 old_c_flags="${CFLAGS}" |
4749 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" | 4754 CFLAGS="${LD_SWITCH_X_SITE} ${CFLAGS}" |
4750 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` | 4755 ac_safe=`echo "gif_lib.h" | sed 'y%./+-%__p_%'` |
4751 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 | 4756 echo $ac_n "checking for gif_lib.h""... $ac_c" 1>&6 |
4752 echo "configure:4753: checking for gif_lib.h" >&5 | 4757 echo "configure:4758: checking for gif_lib.h" >&5 |
4753 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 4758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4754 echo $ac_n "(cached) $ac_c" 1>&6 | 4759 echo $ac_n "(cached) $ac_c" 1>&6 |
4755 else | 4760 else |
4756 cat > conftest.$ac_ext <<EOF | 4761 cat > conftest.$ac_ext <<EOF |
4757 #line 4758 "configure" | 4762 #line 4763 "configure" |
4758 #include "confdefs.h" | 4763 #include "confdefs.h" |
4759 #include <gif_lib.h> | 4764 #include <gif_lib.h> |
4760 EOF | 4765 EOF |
4761 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4766 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4762 { (eval echo configure:4763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4767 { (eval echo configure:4768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 4768 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4764 if test -z "$ac_err"; then | 4769 if test -z "$ac_err"; then |
4765 rm -rf conftest* | 4770 rm -rf conftest* |
4766 eval "ac_cv_header_$ac_safe=yes" | 4771 eval "ac_cv_header_$ac_safe=yes" |
4767 else | 4772 else |
4774 rm -f conftest* | 4779 rm -f conftest* |
4775 fi | 4780 fi |
4776 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 4781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4777 echo "$ac_t""yes" 1>&6 | 4782 echo "$ac_t""yes" 1>&6 |
4778 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 | 4783 echo $ac_n "checking for DGifOpen in -lungif""... $ac_c" 1>&6 |
4779 echo "configure:4780: checking for DGifOpen in -lungif" >&5 | 4784 echo "configure:4785: checking for DGifOpen in -lungif" >&5 |
4780 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` | 4785 ac_lib_var=`echo ungif'_'DGifOpen | sed 'y%./+-%__p_%'` |
4781 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 4786 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4782 echo $ac_n "(cached) $ac_c" 1>&6 | 4787 echo $ac_n "(cached) $ac_c" 1>&6 |
4783 else | 4788 else |
4784 ac_save_LIBS="$LIBS" | 4789 ac_save_LIBS="$LIBS" |
4785 LIBS="-lungif -lX11 $LIBS" | 4790 LIBS="-lungif -lX11 $LIBS" |
4786 cat > conftest.$ac_ext <<EOF | 4791 cat > conftest.$ac_ext <<EOF |
4787 #line 4788 "configure" | 4792 #line 4793 "configure" |
4788 #include "confdefs.h" | 4793 #include "confdefs.h" |
4789 /* Override any gcc2 internal prototype to avoid an error. */ | 4794 /* Override any gcc2 internal prototype to avoid an error. */ |
4790 /* We use char because int might match the return type of a gcc2 | 4795 /* We use char because int might match the return type of a gcc2 |
4791 builtin and then its argument prototype would still apply. */ | 4796 builtin and then its argument prototype would still apply. */ |
4792 char DGifOpen(); | 4797 char DGifOpen(); |
4793 | 4798 |
4794 int main() { | 4799 int main() { |
4795 DGifOpen() | 4800 DGifOpen() |
4796 ; return 0; } | 4801 ; return 0; } |
4797 EOF | 4802 EOF |
4798 if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4803 if { (eval echo configure:4804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4799 rm -rf conftest* | 4804 rm -rf conftest* |
4800 eval "ac_cv_lib_$ac_lib_var=yes" | 4805 eval "ac_cv_lib_$ac_lib_var=yes" |
4801 else | 4806 else |
4802 echo "configure: failed program was:" >&5 | 4807 echo "configure: failed program was:" >&5 |
4803 cat conftest.$ac_ext >&5 | 4808 cat conftest.$ac_ext >&5 |
4830 fi | 4835 fi |
4831 fi | 4836 fi |
4832 | 4837 |
4833 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 4838 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
4834 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 | 4839 echo $ac_n "checking whether netdb declares h_errno""... $ac_c" 1>&6 |
4835 echo "configure:4836: checking whether netdb declares h_errno" >&5 | 4840 echo "configure:4841: checking whether netdb declares h_errno" >&5 |
4836 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then | 4841 if eval "test \"`echo '$''{'emacs_cv_netdb_declares_h_errno'+set}'`\" = set"; then |
4837 echo $ac_n "(cached) $ac_c" 1>&6 | 4842 echo $ac_n "(cached) $ac_c" 1>&6 |
4838 else | 4843 else |
4839 cat > conftest.$ac_ext <<EOF | 4844 cat > conftest.$ac_ext <<EOF |
4840 #line 4841 "configure" | 4845 #line 4846 "configure" |
4841 #include "confdefs.h" | 4846 #include "confdefs.h" |
4842 #include <netdb.h> | 4847 #include <netdb.h> |
4843 int main() { | 4848 int main() { |
4844 return h_errno; | 4849 return h_errno; |
4845 ; return 0; } | 4850 ; return 0; } |
4846 EOF | 4851 EOF |
4847 if { (eval echo configure:4848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4852 if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4848 rm -rf conftest* | 4853 rm -rf conftest* |
4849 emacs_cv_netdb_declares_h_errno=yes | 4854 emacs_cv_netdb_declares_h_errno=yes |
4850 else | 4855 else |
4851 echo "configure: failed program was:" >&5 | 4856 echo "configure: failed program was:" >&5 |
4852 cat conftest.$ac_ext >&5 | 4857 cat conftest.$ac_ext >&5 |
4865 fi | 4870 fi |
4866 | 4871 |
4867 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 4872 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
4868 # for constant arguments. Useless! | 4873 # for constant arguments. Useless! |
4869 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 4874 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
4870 echo "configure:4871: checking for working alloca.h" >&5 | 4875 echo "configure:4876: checking for working alloca.h" >&5 |
4871 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then | 4876 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
4872 echo $ac_n "(cached) $ac_c" 1>&6 | 4877 echo $ac_n "(cached) $ac_c" 1>&6 |
4873 else | 4878 else |
4874 cat > conftest.$ac_ext <<EOF | 4879 cat > conftest.$ac_ext <<EOF |
4875 #line 4876 "configure" | 4880 #line 4881 "configure" |
4876 #include "confdefs.h" | 4881 #include "confdefs.h" |
4877 #include <alloca.h> | 4882 #include <alloca.h> |
4878 int main() { | 4883 int main() { |
4879 char *p = alloca(2 * sizeof(int)); | 4884 char *p = alloca(2 * sizeof(int)); |
4880 ; return 0; } | 4885 ; return 0; } |
4881 EOF | 4886 EOF |
4882 if { (eval echo configure:4883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4887 if { (eval echo configure:4888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4883 rm -rf conftest* | 4888 rm -rf conftest* |
4884 ac_cv_header_alloca_h=yes | 4889 ac_cv_header_alloca_h=yes |
4885 else | 4890 else |
4886 echo "configure: failed program was:" >&5 | 4891 echo "configure: failed program was:" >&5 |
4887 cat conftest.$ac_ext >&5 | 4892 cat conftest.$ac_ext >&5 |
4898 EOF | 4903 EOF |
4899 | 4904 |
4900 fi | 4905 fi |
4901 | 4906 |
4902 echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 4907 echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
4903 echo "configure:4904: checking for alloca" >&5 | 4908 echo "configure:4909: checking for alloca" >&5 |
4904 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then | 4909 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
4905 echo $ac_n "(cached) $ac_c" 1>&6 | 4910 echo $ac_n "(cached) $ac_c" 1>&6 |
4906 else | 4911 else |
4907 cat > conftest.$ac_ext <<EOF | 4912 cat > conftest.$ac_ext <<EOF |
4908 #line 4909 "configure" | 4913 #line 4914 "configure" |
4909 #include "confdefs.h" | 4914 #include "confdefs.h" |
4910 | 4915 |
4911 #ifdef __GNUC__ | 4916 #ifdef __GNUC__ |
4912 # define alloca __builtin_alloca | 4917 # define alloca __builtin_alloca |
4913 #else | 4918 #else |
4931 | 4936 |
4932 int main() { | 4937 int main() { |
4933 char *p = (char *) alloca(1); | 4938 char *p = (char *) alloca(1); |
4934 ; return 0; } | 4939 ; return 0; } |
4935 EOF | 4940 EOF |
4936 if { (eval echo configure:4937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4941 if { (eval echo configure:4942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4937 rm -rf conftest* | 4942 rm -rf conftest* |
4938 ac_cv_func_alloca_works=yes | 4943 ac_cv_func_alloca_works=yes |
4939 else | 4944 else |
4940 echo "configure: failed program was:" >&5 | 4945 echo "configure: failed program was:" >&5 |
4941 cat conftest.$ac_ext >&5 | 4946 cat conftest.$ac_ext >&5 |
4963 #define C_ALLOCA 1 | 4968 #define C_ALLOCA 1 |
4964 EOF | 4969 EOF |
4965 | 4970 |
4966 | 4971 |
4967 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 4972 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
4968 echo "configure:4969: checking whether alloca needs Cray hooks" >&5 | 4973 echo "configure:4974: checking whether alloca needs Cray hooks" >&5 |
4969 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then | 4974 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
4970 echo $ac_n "(cached) $ac_c" 1>&6 | 4975 echo $ac_n "(cached) $ac_c" 1>&6 |
4971 else | 4976 else |
4972 cat > conftest.$ac_ext <<EOF | 4977 cat > conftest.$ac_ext <<EOF |
4973 #line 4974 "configure" | 4978 #line 4979 "configure" |
4974 #include "confdefs.h" | 4979 #include "confdefs.h" |
4975 #if defined(CRAY) && ! defined(CRAY2) | 4980 #if defined(CRAY) && ! defined(CRAY2) |
4976 webecray | 4981 webecray |
4977 #else | 4982 #else |
4978 wenotbecray | 4983 wenotbecray |
4993 | 4998 |
4994 echo "$ac_t""$ac_cv_os_cray" 1>&6 | 4999 echo "$ac_t""$ac_cv_os_cray" 1>&6 |
4995 if test $ac_cv_os_cray = yes; then | 5000 if test $ac_cv_os_cray = yes; then |
4996 for ac_func in _getb67 GETB67 getb67; do | 5001 for ac_func in _getb67 GETB67 getb67; do |
4997 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4998 echo "configure:4999: checking for $ac_func" >&5 | 5003 echo "configure:5004: checking for $ac_func" >&5 |
4999 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5000 echo $ac_n "(cached) $ac_c" 1>&6 | 5005 echo $ac_n "(cached) $ac_c" 1>&6 |
5001 else | 5006 else |
5002 cat > conftest.$ac_ext <<EOF | 5007 cat > conftest.$ac_ext <<EOF |
5003 #line 5004 "configure" | 5008 #line 5009 "configure" |
5004 #include "confdefs.h" | 5009 #include "confdefs.h" |
5005 /* System header to define __stub macros and hopefully few prototypes, | 5010 /* System header to define __stub macros and hopefully few prototypes, |
5006 which can conflict with char $ac_func(); below. */ | 5011 which can conflict with char $ac_func(); below. */ |
5007 #include <assert.h> | 5012 #include <assert.h> |
5008 /* Override any gcc2 internal prototype to avoid an error. */ | 5013 /* Override any gcc2 internal prototype to avoid an error. */ |
5021 $ac_func(); | 5026 $ac_func(); |
5022 #endif | 5027 #endif |
5023 | 5028 |
5024 ; return 0; } | 5029 ; return 0; } |
5025 EOF | 5030 EOF |
5026 if { (eval echo configure:5027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5031 if { (eval echo configure:5032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5027 rm -rf conftest* | 5032 rm -rf conftest* |
5028 eval "ac_cv_func_$ac_func=yes" | 5033 eval "ac_cv_func_$ac_func=yes" |
5029 else | 5034 else |
5030 echo "configure: failed program was:" >&5 | 5035 echo "configure: failed program was:" >&5 |
5031 cat conftest.$ac_ext >&5 | 5036 cat conftest.$ac_ext >&5 |
5048 | 5053 |
5049 done | 5054 done |
5050 fi | 5055 fi |
5051 | 5056 |
5052 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 5057 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
5053 echo "configure:5054: checking stack direction for C alloca" >&5 | 5058 echo "configure:5059: checking stack direction for C alloca" >&5 |
5054 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then | 5059 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
5055 echo $ac_n "(cached) $ac_c" 1>&6 | 5060 echo $ac_n "(cached) $ac_c" 1>&6 |
5056 else | 5061 else |
5057 if test "$cross_compiling" = yes; then | 5062 if test "$cross_compiling" = yes; then |
5058 ac_cv_c_stack_direction=0 | 5063 ac_cv_c_stack_direction=0 |
5059 else | 5064 else |
5060 cat > conftest.$ac_ext <<EOF | 5065 cat > conftest.$ac_ext <<EOF |
5061 #line 5062 "configure" | 5066 #line 5067 "configure" |
5062 #include "confdefs.h" | 5067 #include "confdefs.h" |
5063 find_stack_direction () | 5068 find_stack_direction () |
5064 { | 5069 { |
5065 static char *addr = 0; | 5070 static char *addr = 0; |
5066 auto char dummy; | 5071 auto char dummy; |
5075 main () | 5080 main () |
5076 { | 5081 { |
5077 exit (find_stack_direction() < 0); | 5082 exit (find_stack_direction() < 0); |
5078 } | 5083 } |
5079 EOF | 5084 EOF |
5080 if { (eval echo configure:5081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5085 if { (eval echo configure:5086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5081 then | 5086 then |
5082 ac_cv_c_stack_direction=1 | 5087 ac_cv_c_stack_direction=1 |
5083 else | 5088 else |
5084 echo "configure: failed program was:" >&5 | 5089 echo "configure: failed program was:" >&5 |
5085 cat conftest.$ac_ext >&5 | 5090 cat conftest.$ac_ext >&5 |
5100 | 5105 |
5101 | 5106 |
5102 # fmod, logb, and frexp are found in -lm on most systems. | 5107 # fmod, logb, and frexp are found in -lm on most systems. |
5103 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 5108 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
5104 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 | 5109 echo $ac_n "checking for sqrt in -lm""... $ac_c" 1>&6 |
5105 echo "configure:5106: checking for sqrt in -lm" >&5 | 5110 echo "configure:5111: checking for sqrt in -lm" >&5 |
5106 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` | 5111 ac_lib_var=`echo m'_'sqrt | sed 'y%./+-%__p_%'` |
5107 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5112 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5108 echo $ac_n "(cached) $ac_c" 1>&6 | 5113 echo $ac_n "(cached) $ac_c" 1>&6 |
5109 else | 5114 else |
5110 ac_save_LIBS="$LIBS" | 5115 ac_save_LIBS="$LIBS" |
5111 LIBS="-lm $LIBS" | 5116 LIBS="-lm $LIBS" |
5112 cat > conftest.$ac_ext <<EOF | 5117 cat > conftest.$ac_ext <<EOF |
5113 #line 5114 "configure" | 5118 #line 5119 "configure" |
5114 #include "confdefs.h" | 5119 #include "confdefs.h" |
5115 /* Override any gcc2 internal prototype to avoid an error. */ | 5120 /* Override any gcc2 internal prototype to avoid an error. */ |
5116 /* We use char because int might match the return type of a gcc2 | 5121 /* We use char because int might match the return type of a gcc2 |
5117 builtin and then its argument prototype would still apply. */ | 5122 builtin and then its argument prototype would still apply. */ |
5118 char sqrt(); | 5123 char sqrt(); |
5119 | 5124 |
5120 int main() { | 5125 int main() { |
5121 sqrt() | 5126 sqrt() |
5122 ; return 0; } | 5127 ; return 0; } |
5123 EOF | 5128 EOF |
5124 if { (eval echo configure:5125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5129 if { (eval echo configure:5130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5125 rm -rf conftest* | 5130 rm -rf conftest* |
5126 eval "ac_cv_lib_$ac_lib_var=yes" | 5131 eval "ac_cv_lib_$ac_lib_var=yes" |
5127 else | 5132 else |
5128 echo "configure: failed program was:" >&5 | 5133 echo "configure: failed program was:" >&5 |
5129 cat conftest.$ac_ext >&5 | 5134 cat conftest.$ac_ext >&5 |
5149 fi | 5154 fi |
5150 | 5155 |
5151 | 5156 |
5152 # Check for mail-locking functions in a "mail" library | 5157 # Check for mail-locking functions in a "mail" library |
5153 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 | 5158 echo $ac_n "checking for maillock in -lmail""... $ac_c" 1>&6 |
5154 echo "configure:5155: checking for maillock in -lmail" >&5 | 5159 echo "configure:5160: checking for maillock in -lmail" >&5 |
5155 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` | 5160 ac_lib_var=`echo mail'_'maillock | sed 'y%./+-%__p_%'` |
5156 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5161 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5157 echo $ac_n "(cached) $ac_c" 1>&6 | 5162 echo $ac_n "(cached) $ac_c" 1>&6 |
5158 else | 5163 else |
5159 ac_save_LIBS="$LIBS" | 5164 ac_save_LIBS="$LIBS" |
5160 LIBS="-lmail $LIBS" | 5165 LIBS="-lmail $LIBS" |
5161 cat > conftest.$ac_ext <<EOF | 5166 cat > conftest.$ac_ext <<EOF |
5162 #line 5163 "configure" | 5167 #line 5168 "configure" |
5163 #include "confdefs.h" | 5168 #include "confdefs.h" |
5164 /* Override any gcc2 internal prototype to avoid an error. */ | 5169 /* Override any gcc2 internal prototype to avoid an error. */ |
5165 /* We use char because int might match the return type of a gcc2 | 5170 /* We use char because int might match the return type of a gcc2 |
5166 builtin and then its argument prototype would still apply. */ | 5171 builtin and then its argument prototype would still apply. */ |
5167 char maillock(); | 5172 char maillock(); |
5168 | 5173 |
5169 int main() { | 5174 int main() { |
5170 maillock() | 5175 maillock() |
5171 ; return 0; } | 5176 ; return 0; } |
5172 EOF | 5177 EOF |
5173 if { (eval echo configure:5174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5178 if { (eval echo configure:5179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5174 rm -rf conftest* | 5179 rm -rf conftest* |
5175 eval "ac_cv_lib_$ac_lib_var=yes" | 5180 eval "ac_cv_lib_$ac_lib_var=yes" |
5176 else | 5181 else |
5177 echo "configure: failed program was:" >&5 | 5182 echo "configure: failed program was:" >&5 |
5178 cat conftest.$ac_ext >&5 | 5183 cat conftest.$ac_ext >&5 |
5196 else | 5201 else |
5197 echo "$ac_t""no" 1>&6 | 5202 echo "$ac_t""no" 1>&6 |
5198 fi | 5203 fi |
5199 | 5204 |
5200 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 | 5205 echo $ac_n "checking for maillock in -llockfile""... $ac_c" 1>&6 |
5201 echo "configure:5202: checking for maillock in -llockfile" >&5 | 5206 echo "configure:5207: checking for maillock in -llockfile" >&5 |
5202 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` | 5207 ac_lib_var=`echo lockfile'_'maillock | sed 'y%./+-%__p_%'` |
5203 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5208 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5204 echo $ac_n "(cached) $ac_c" 1>&6 | 5209 echo $ac_n "(cached) $ac_c" 1>&6 |
5205 else | 5210 else |
5206 ac_save_LIBS="$LIBS" | 5211 ac_save_LIBS="$LIBS" |
5207 LIBS="-llockfile $LIBS" | 5212 LIBS="-llockfile $LIBS" |
5208 cat > conftest.$ac_ext <<EOF | 5213 cat > conftest.$ac_ext <<EOF |
5209 #line 5210 "configure" | 5214 #line 5215 "configure" |
5210 #include "confdefs.h" | 5215 #include "confdefs.h" |
5211 /* Override any gcc2 internal prototype to avoid an error. */ | 5216 /* Override any gcc2 internal prototype to avoid an error. */ |
5212 /* We use char because int might match the return type of a gcc2 | 5217 /* We use char because int might match the return type of a gcc2 |
5213 builtin and then its argument prototype would still apply. */ | 5218 builtin and then its argument prototype would still apply. */ |
5214 char maillock(); | 5219 char maillock(); |
5215 | 5220 |
5216 int main() { | 5221 int main() { |
5217 maillock() | 5222 maillock() |
5218 ; return 0; } | 5223 ; return 0; } |
5219 EOF | 5224 EOF |
5220 if { (eval echo configure:5221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5225 if { (eval echo configure:5226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5221 rm -rf conftest* | 5226 rm -rf conftest* |
5222 eval "ac_cv_lib_$ac_lib_var=yes" | 5227 eval "ac_cv_lib_$ac_lib_var=yes" |
5223 else | 5228 else |
5224 echo "configure: failed program was:" >&5 | 5229 echo "configure: failed program was:" >&5 |
5225 cat conftest.$ac_ext >&5 | 5230 cat conftest.$ac_ext >&5 |
5249 # (no liblockfile.a installed), ensure that we don't need to. | 5254 # (no liblockfile.a installed), ensure that we don't need to. |
5250 if test "$ac_cv_lib_lockfile_maillock" = no; then | 5255 if test "$ac_cv_lib_lockfile_maillock" = no; then |
5251 # Extract the first word of "liblockfile.so", so it can be a program name with args. | 5256 # Extract the first word of "liblockfile.so", so it can be a program name with args. |
5252 set dummy liblockfile.so; ac_word=$2 | 5257 set dummy liblockfile.so; ac_word=$2 |
5253 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5258 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
5254 echo "configure:5255: checking for $ac_word" >&5 | 5259 echo "configure:5260: checking for $ac_word" >&5 |
5255 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then | 5260 if eval "test \"`echo '$''{'ac_cv_prog_liblockfile'+set}'`\" = set"; then |
5256 echo $ac_n "(cached) $ac_c" 1>&6 | 5261 echo $ac_n "(cached) $ac_c" 1>&6 |
5257 else | 5262 else |
5258 if test -n "$liblockfile"; then | 5263 if test -n "$liblockfile"; then |
5259 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. | 5264 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test. |
5290 else : | 5295 else : |
5291 fi | 5296 fi |
5292 for ac_func in touchlock | 5297 for ac_func in touchlock |
5293 do | 5298 do |
5294 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5295 echo "configure:5296: checking for $ac_func" >&5 | 5300 echo "configure:5301: checking for $ac_func" >&5 |
5296 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5297 echo $ac_n "(cached) $ac_c" 1>&6 | 5302 echo $ac_n "(cached) $ac_c" 1>&6 |
5298 else | 5303 else |
5299 cat > conftest.$ac_ext <<EOF | 5304 cat > conftest.$ac_ext <<EOF |
5300 #line 5301 "configure" | 5305 #line 5306 "configure" |
5301 #include "confdefs.h" | 5306 #include "confdefs.h" |
5302 /* System header to define __stub macros and hopefully few prototypes, | 5307 /* System header to define __stub macros and hopefully few prototypes, |
5303 which can conflict with char $ac_func(); below. */ | 5308 which can conflict with char $ac_func(); below. */ |
5304 #include <assert.h> | 5309 #include <assert.h> |
5305 /* Override any gcc2 internal prototype to avoid an error. */ | 5310 /* Override any gcc2 internal prototype to avoid an error. */ |
5318 $ac_func(); | 5323 $ac_func(); |
5319 #endif | 5324 #endif |
5320 | 5325 |
5321 ; return 0; } | 5326 ; return 0; } |
5322 EOF | 5327 EOF |
5323 if { (eval echo configure:5324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5328 if { (eval echo configure:5329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5324 rm -rf conftest* | 5329 rm -rf conftest* |
5325 eval "ac_cv_func_$ac_func=yes" | 5330 eval "ac_cv_func_$ac_func=yes" |
5326 else | 5331 else |
5327 echo "configure: failed program was:" >&5 | 5332 echo "configure: failed program was:" >&5 |
5328 cat conftest.$ac_ext >&5 | 5333 cat conftest.$ac_ext >&5 |
5346 | 5351 |
5347 for ac_hdr in maillock.h | 5352 for ac_hdr in maillock.h |
5348 do | 5353 do |
5349 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5354 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5350 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5355 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5351 echo "configure:5352: checking for $ac_hdr" >&5 | 5356 echo "configure:5357: checking for $ac_hdr" >&5 |
5352 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5357 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5353 echo $ac_n "(cached) $ac_c" 1>&6 | 5358 echo $ac_n "(cached) $ac_c" 1>&6 |
5354 else | 5359 else |
5355 cat > conftest.$ac_ext <<EOF | 5360 cat > conftest.$ac_ext <<EOF |
5356 #line 5357 "configure" | 5361 #line 5362 "configure" |
5357 #include "confdefs.h" | 5362 #include "confdefs.h" |
5358 #include <$ac_hdr> | 5363 #include <$ac_hdr> |
5359 EOF | 5364 EOF |
5360 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5365 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5361 { (eval echo configure:5362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5366 { (eval echo configure:5367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5362 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5363 if test -z "$ac_err"; then | 5368 if test -z "$ac_err"; then |
5364 rm -rf conftest* | 5369 rm -rf conftest* |
5365 eval "ac_cv_header_$ac_safe=yes" | 5370 eval "ac_cv_header_$ac_safe=yes" |
5366 else | 5371 else |
5391 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ | 5396 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \ |
5392 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ | 5397 utimes setrlimit setpgid getcwd shutdown strftime getaddrinfo \ |
5393 __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm | 5398 __fpending ftello getloadavg mblen mbrlen strsignal setitimer ualarm |
5394 do | 5399 do |
5395 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5396 echo "configure:5397: checking for $ac_func" >&5 | 5401 echo "configure:5402: checking for $ac_func" >&5 |
5397 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5398 echo $ac_n "(cached) $ac_c" 1>&6 | 5403 echo $ac_n "(cached) $ac_c" 1>&6 |
5399 else | 5404 else |
5400 cat > conftest.$ac_ext <<EOF | 5405 cat > conftest.$ac_ext <<EOF |
5401 #line 5402 "configure" | 5406 #line 5407 "configure" |
5402 #include "confdefs.h" | 5407 #include "confdefs.h" |
5403 /* System header to define __stub macros and hopefully few prototypes, | 5408 /* System header to define __stub macros and hopefully few prototypes, |
5404 which can conflict with char $ac_func(); below. */ | 5409 which can conflict with char $ac_func(); below. */ |
5405 #include <assert.h> | 5410 #include <assert.h> |
5406 /* Override any gcc2 internal prototype to avoid an error. */ | 5411 /* Override any gcc2 internal prototype to avoid an error. */ |
5419 $ac_func(); | 5424 $ac_func(); |
5420 #endif | 5425 #endif |
5421 | 5426 |
5422 ; return 0; } | 5427 ; return 0; } |
5423 EOF | 5428 EOF |
5424 if { (eval echo configure:5425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5425 rm -rf conftest* | 5430 rm -rf conftest* |
5426 eval "ac_cv_func_$ac_func=yes" | 5431 eval "ac_cv_func_$ac_func=yes" |
5427 else | 5432 else |
5428 echo "configure: failed program was:" >&5 | 5433 echo "configure: failed program was:" >&5 |
5429 cat conftest.$ac_ext >&5 | 5434 cat conftest.$ac_ext >&5 |
5448 | 5453 |
5449 for ac_hdr in sys/time.h unistd.h | 5454 for ac_hdr in sys/time.h unistd.h |
5450 do | 5455 do |
5451 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5456 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5452 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5457 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5453 echo "configure:5454: checking for $ac_hdr" >&5 | 5458 echo "configure:5459: checking for $ac_hdr" >&5 |
5454 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5459 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5455 echo $ac_n "(cached) $ac_c" 1>&6 | 5460 echo $ac_n "(cached) $ac_c" 1>&6 |
5456 else | 5461 else |
5457 cat > conftest.$ac_ext <<EOF | 5462 cat > conftest.$ac_ext <<EOF |
5458 #line 5459 "configure" | 5463 #line 5464 "configure" |
5459 #include "confdefs.h" | 5464 #include "confdefs.h" |
5460 #include <$ac_hdr> | 5465 #include <$ac_hdr> |
5461 EOF | 5466 EOF |
5462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5467 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5463 { (eval echo configure:5464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5468 { (eval echo configure:5469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5465 if test -z "$ac_err"; then | 5470 if test -z "$ac_err"; then |
5466 rm -rf conftest* | 5471 rm -rf conftest* |
5467 eval "ac_cv_header_$ac_safe=yes" | 5472 eval "ac_cv_header_$ac_safe=yes" |
5468 else | 5473 else |
5487 done | 5492 done |
5488 | 5493 |
5489 for ac_func in alarm | 5494 for ac_func in alarm |
5490 do | 5495 do |
5491 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5496 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5492 echo "configure:5493: checking for $ac_func" >&5 | 5497 echo "configure:5498: checking for $ac_func" >&5 |
5493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 5498 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5494 echo $ac_n "(cached) $ac_c" 1>&6 | 5499 echo $ac_n "(cached) $ac_c" 1>&6 |
5495 else | 5500 else |
5496 cat > conftest.$ac_ext <<EOF | 5501 cat > conftest.$ac_ext <<EOF |
5497 #line 5498 "configure" | 5502 #line 5503 "configure" |
5498 #include "confdefs.h" | 5503 #include "confdefs.h" |
5499 /* System header to define __stub macros and hopefully few prototypes, | 5504 /* System header to define __stub macros and hopefully few prototypes, |
5500 which can conflict with char $ac_func(); below. */ | 5505 which can conflict with char $ac_func(); below. */ |
5501 #include <assert.h> | 5506 #include <assert.h> |
5502 /* Override any gcc2 internal prototype to avoid an error. */ | 5507 /* Override any gcc2 internal prototype to avoid an error. */ |
5515 $ac_func(); | 5520 $ac_func(); |
5516 #endif | 5521 #endif |
5517 | 5522 |
5518 ; return 0; } | 5523 ; return 0; } |
5519 EOF | 5524 EOF |
5520 if { (eval echo configure:5521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5525 if { (eval echo configure:5526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5521 rm -rf conftest* | 5526 rm -rf conftest* |
5522 eval "ac_cv_func_$ac_func=yes" | 5527 eval "ac_cv_func_$ac_func=yes" |
5523 else | 5528 else |
5524 echo "configure: failed program was:" >&5 | 5529 echo "configure: failed program was:" >&5 |
5525 cat conftest.$ac_ext >&5 | 5530 cat conftest.$ac_ext >&5 |
5540 echo "$ac_t""no" 1>&6 | 5545 echo "$ac_t""no" 1>&6 |
5541 fi | 5546 fi |
5542 done | 5547 done |
5543 | 5548 |
5544 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 | 5549 echo $ac_n "checking for working mktime""... $ac_c" 1>&6 |
5545 echo "configure:5546: checking for working mktime" >&5 | 5550 echo "configure:5551: checking for working mktime" >&5 |
5546 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then | 5551 if eval "test \"`echo '$''{'ac_cv_func_working_mktime'+set}'`\" = set"; then |
5547 echo $ac_n "(cached) $ac_c" 1>&6 | 5552 echo $ac_n "(cached) $ac_c" 1>&6 |
5548 else | 5553 else |
5549 if test "$cross_compiling" = yes; then | 5554 if test "$cross_compiling" = yes; then |
5550 ac_cv_func_working_mktime=no | 5555 ac_cv_func_working_mktime=no |
5551 else | 5556 else |
5552 cat > conftest.$ac_ext <<EOF | 5557 cat > conftest.$ac_ext <<EOF |
5553 #line 5554 "configure" | 5558 #line 5559 "configure" |
5554 #include "confdefs.h" | 5559 #include "confdefs.h" |
5555 /* Test program from Paul Eggert (eggert@twinsun.com) | 5560 /* Test program from Paul Eggert (eggert@twinsun.com) |
5556 and Tony Leneis (tony@plaza.ds.adp.com). */ | 5561 and Tony Leneis (tony@plaza.ds.adp.com). */ |
5557 #if TIME_WITH_SYS_TIME | 5562 #if TIME_WITH_SYS_TIME |
5558 # include <sys/time.h> | 5563 # include <sys/time.h> |
5697 irix_6_4_bug (); | 5702 irix_6_4_bug (); |
5698 spring_forward_gap (); | 5703 spring_forward_gap (); |
5699 exit (0); | 5704 exit (0); |
5700 } | 5705 } |
5701 EOF | 5706 EOF |
5702 if { (eval echo configure:5703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5707 if { (eval echo configure:5708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5703 then | 5708 then |
5704 ac_cv_func_working_mktime=yes | 5709 ac_cv_func_working_mktime=yes |
5705 else | 5710 else |
5706 echo "configure: failed program was:" >&5 | 5711 echo "configure: failed program was:" >&5 |
5707 cat conftest.$ac_ext >&5 | 5712 cat conftest.$ac_ext >&5 |
5728 # Check this now, so that we will NOT find the above functions in ncurses. | 5733 # Check this now, so that we will NOT find the above functions in ncurses. |
5729 # That is because we have not set up to link ncurses in lib-src. | 5734 # That is because we have not set up to link ncurses in lib-src. |
5730 # It's better to believe a function is not available | 5735 # It's better to believe a function is not available |
5731 # than to expect to find it in ncurses. | 5736 # than to expect to find it in ncurses. |
5732 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 | 5737 echo $ac_n "checking for tparm in -lncurses""... $ac_c" 1>&6 |
5733 echo "configure:5734: checking for tparm in -lncurses" >&5 | 5738 echo "configure:5739: checking for tparm in -lncurses" >&5 |
5734 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` | 5739 ac_lib_var=`echo ncurses'_'tparm | sed 'y%./+-%__p_%'` |
5735 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5740 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5736 echo $ac_n "(cached) $ac_c" 1>&6 | 5741 echo $ac_n "(cached) $ac_c" 1>&6 |
5737 else | 5742 else |
5738 ac_save_LIBS="$LIBS" | 5743 ac_save_LIBS="$LIBS" |
5739 LIBS="-lncurses $LIBS" | 5744 LIBS="-lncurses $LIBS" |
5740 cat > conftest.$ac_ext <<EOF | 5745 cat > conftest.$ac_ext <<EOF |
5741 #line 5742 "configure" | 5746 #line 5747 "configure" |
5742 #include "confdefs.h" | 5747 #include "confdefs.h" |
5743 /* Override any gcc2 internal prototype to avoid an error. */ | 5748 /* Override any gcc2 internal prototype to avoid an error. */ |
5744 /* We use char because int might match the return type of a gcc2 | 5749 /* We use char because int might match the return type of a gcc2 |
5745 builtin and then its argument prototype would still apply. */ | 5750 builtin and then its argument prototype would still apply. */ |
5746 char tparm(); | 5751 char tparm(); |
5747 | 5752 |
5748 int main() { | 5753 int main() { |
5749 tparm() | 5754 tparm() |
5750 ; return 0; } | 5755 ; return 0; } |
5751 EOF | 5756 EOF |
5752 if { (eval echo configure:5753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5757 if { (eval echo configure:5758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5753 rm -rf conftest* | 5758 rm -rf conftest* |
5754 eval "ac_cv_lib_$ac_lib_var=yes" | 5759 eval "ac_cv_lib_$ac_lib_var=yes" |
5755 else | 5760 else |
5756 echo "configure: failed program was:" >&5 | 5761 echo "configure: failed program was:" >&5 |
5757 cat conftest.$ac_ext >&5 | 5762 cat conftest.$ac_ext >&5 |
5778 | 5783 |
5779 | 5784 |
5780 # These tell us which Kerberos-related libraries to use. | 5785 # These tell us which Kerberos-related libraries to use. |
5781 if test "${with_kerberos+set}" = set; then | 5786 if test "${with_kerberos+set}" = set; then |
5782 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 | 5787 echo $ac_n "checking for com_err in -lcom_err""... $ac_c" 1>&6 |
5783 echo "configure:5784: checking for com_err in -lcom_err" >&5 | 5788 echo "configure:5789: checking for com_err in -lcom_err" >&5 |
5784 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` | 5789 ac_lib_var=`echo com_err'_'com_err | sed 'y%./+-%__p_%'` |
5785 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5790 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5786 echo $ac_n "(cached) $ac_c" 1>&6 | 5791 echo $ac_n "(cached) $ac_c" 1>&6 |
5787 else | 5792 else |
5788 ac_save_LIBS="$LIBS" | 5793 ac_save_LIBS="$LIBS" |
5789 LIBS="-lcom_err $LIBS" | 5794 LIBS="-lcom_err $LIBS" |
5790 cat > conftest.$ac_ext <<EOF | 5795 cat > conftest.$ac_ext <<EOF |
5791 #line 5792 "configure" | 5796 #line 5797 "configure" |
5792 #include "confdefs.h" | 5797 #include "confdefs.h" |
5793 /* Override any gcc2 internal prototype to avoid an error. */ | 5798 /* Override any gcc2 internal prototype to avoid an error. */ |
5794 /* We use char because int might match the return type of a gcc2 | 5799 /* We use char because int might match the return type of a gcc2 |
5795 builtin and then its argument prototype would still apply. */ | 5800 builtin and then its argument prototype would still apply. */ |
5796 char com_err(); | 5801 char com_err(); |
5797 | 5802 |
5798 int main() { | 5803 int main() { |
5799 com_err() | 5804 com_err() |
5800 ; return 0; } | 5805 ; return 0; } |
5801 EOF | 5806 EOF |
5802 if { (eval echo configure:5803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5807 if { (eval echo configure:5808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5803 rm -rf conftest* | 5808 rm -rf conftest* |
5804 eval "ac_cv_lib_$ac_lib_var=yes" | 5809 eval "ac_cv_lib_$ac_lib_var=yes" |
5805 else | 5810 else |
5806 echo "configure: failed program was:" >&5 | 5811 echo "configure: failed program was:" >&5 |
5807 cat conftest.$ac_ext >&5 | 5812 cat conftest.$ac_ext >&5 |
5825 else | 5830 else |
5826 echo "$ac_t""no" 1>&6 | 5831 echo "$ac_t""no" 1>&6 |
5827 fi | 5832 fi |
5828 | 5833 |
5829 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 | 5834 echo $ac_n "checking for mit_des_cbc_encrypt in -lk5crypto""... $ac_c" 1>&6 |
5830 echo "configure:5831: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 | 5835 echo "configure:5836: checking for mit_des_cbc_encrypt in -lk5crypto" >&5 |
5831 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5836 ac_lib_var=`echo k5crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5832 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5837 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5833 echo $ac_n "(cached) $ac_c" 1>&6 | 5838 echo $ac_n "(cached) $ac_c" 1>&6 |
5834 else | 5839 else |
5835 ac_save_LIBS="$LIBS" | 5840 ac_save_LIBS="$LIBS" |
5836 LIBS="-lk5crypto $LIBS" | 5841 LIBS="-lk5crypto $LIBS" |
5837 cat > conftest.$ac_ext <<EOF | 5842 cat > conftest.$ac_ext <<EOF |
5838 #line 5839 "configure" | 5843 #line 5844 "configure" |
5839 #include "confdefs.h" | 5844 #include "confdefs.h" |
5840 /* Override any gcc2 internal prototype to avoid an error. */ | 5845 /* Override any gcc2 internal prototype to avoid an error. */ |
5841 /* We use char because int might match the return type of a gcc2 | 5846 /* We use char because int might match the return type of a gcc2 |
5842 builtin and then its argument prototype would still apply. */ | 5847 builtin and then its argument prototype would still apply. */ |
5843 char mit_des_cbc_encrypt(); | 5848 char mit_des_cbc_encrypt(); |
5844 | 5849 |
5845 int main() { | 5850 int main() { |
5846 mit_des_cbc_encrypt() | 5851 mit_des_cbc_encrypt() |
5847 ; return 0; } | 5852 ; return 0; } |
5848 EOF | 5853 EOF |
5849 if { (eval echo configure:5850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5854 if { (eval echo configure:5855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5850 rm -rf conftest* | 5855 rm -rf conftest* |
5851 eval "ac_cv_lib_$ac_lib_var=yes" | 5856 eval "ac_cv_lib_$ac_lib_var=yes" |
5852 else | 5857 else |
5853 echo "configure: failed program was:" >&5 | 5858 echo "configure: failed program was:" >&5 |
5854 cat conftest.$ac_ext >&5 | 5859 cat conftest.$ac_ext >&5 |
5872 else | 5877 else |
5873 echo "$ac_t""no" 1>&6 | 5878 echo "$ac_t""no" 1>&6 |
5874 fi | 5879 fi |
5875 | 5880 |
5876 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 | 5881 echo $ac_n "checking for mit_des_cbc_encrypt in -lcrypto""... $ac_c" 1>&6 |
5877 echo "configure:5878: checking for mit_des_cbc_encrypt in -lcrypto" >&5 | 5882 echo "configure:5883: checking for mit_des_cbc_encrypt in -lcrypto" >&5 |
5878 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5883 ac_lib_var=`echo crypto'_'mit_des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5879 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5884 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5880 echo $ac_n "(cached) $ac_c" 1>&6 | 5885 echo $ac_n "(cached) $ac_c" 1>&6 |
5881 else | 5886 else |
5882 ac_save_LIBS="$LIBS" | 5887 ac_save_LIBS="$LIBS" |
5883 LIBS="-lcrypto $LIBS" | 5888 LIBS="-lcrypto $LIBS" |
5884 cat > conftest.$ac_ext <<EOF | 5889 cat > conftest.$ac_ext <<EOF |
5885 #line 5886 "configure" | 5890 #line 5891 "configure" |
5886 #include "confdefs.h" | 5891 #include "confdefs.h" |
5887 /* Override any gcc2 internal prototype to avoid an error. */ | 5892 /* Override any gcc2 internal prototype to avoid an error. */ |
5888 /* We use char because int might match the return type of a gcc2 | 5893 /* We use char because int might match the return type of a gcc2 |
5889 builtin and then its argument prototype would still apply. */ | 5894 builtin and then its argument prototype would still apply. */ |
5890 char mit_des_cbc_encrypt(); | 5895 char mit_des_cbc_encrypt(); |
5891 | 5896 |
5892 int main() { | 5897 int main() { |
5893 mit_des_cbc_encrypt() | 5898 mit_des_cbc_encrypt() |
5894 ; return 0; } | 5899 ; return 0; } |
5895 EOF | 5900 EOF |
5896 if { (eval echo configure:5897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5901 if { (eval echo configure:5902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5897 rm -rf conftest* | 5902 rm -rf conftest* |
5898 eval "ac_cv_lib_$ac_lib_var=yes" | 5903 eval "ac_cv_lib_$ac_lib_var=yes" |
5899 else | 5904 else |
5900 echo "configure: failed program was:" >&5 | 5905 echo "configure: failed program was:" >&5 |
5901 cat conftest.$ac_ext >&5 | 5906 cat conftest.$ac_ext >&5 |
5919 else | 5924 else |
5920 echo "$ac_t""no" 1>&6 | 5925 echo "$ac_t""no" 1>&6 |
5921 fi | 5926 fi |
5922 | 5927 |
5923 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 | 5928 echo $ac_n "checking for krb5_init_context in -lkrb5""... $ac_c" 1>&6 |
5924 echo "configure:5925: checking for krb5_init_context in -lkrb5" >&5 | 5929 echo "configure:5930: checking for krb5_init_context in -lkrb5" >&5 |
5925 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` | 5930 ac_lib_var=`echo krb5'_'krb5_init_context | sed 'y%./+-%__p_%'` |
5926 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5931 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5927 echo $ac_n "(cached) $ac_c" 1>&6 | 5932 echo $ac_n "(cached) $ac_c" 1>&6 |
5928 else | 5933 else |
5929 ac_save_LIBS="$LIBS" | 5934 ac_save_LIBS="$LIBS" |
5930 LIBS="-lkrb5 $LIBS" | 5935 LIBS="-lkrb5 $LIBS" |
5931 cat > conftest.$ac_ext <<EOF | 5936 cat > conftest.$ac_ext <<EOF |
5932 #line 5933 "configure" | 5937 #line 5938 "configure" |
5933 #include "confdefs.h" | 5938 #include "confdefs.h" |
5934 /* Override any gcc2 internal prototype to avoid an error. */ | 5939 /* Override any gcc2 internal prototype to avoid an error. */ |
5935 /* We use char because int might match the return type of a gcc2 | 5940 /* We use char because int might match the return type of a gcc2 |
5936 builtin and then its argument prototype would still apply. */ | 5941 builtin and then its argument prototype would still apply. */ |
5937 char krb5_init_context(); | 5942 char krb5_init_context(); |
5938 | 5943 |
5939 int main() { | 5944 int main() { |
5940 krb5_init_context() | 5945 krb5_init_context() |
5941 ; return 0; } | 5946 ; return 0; } |
5942 EOF | 5947 EOF |
5943 if { (eval echo configure:5944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5948 if { (eval echo configure:5949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5944 rm -rf conftest* | 5949 rm -rf conftest* |
5945 eval "ac_cv_lib_$ac_lib_var=yes" | 5950 eval "ac_cv_lib_$ac_lib_var=yes" |
5946 else | 5951 else |
5947 echo "configure: failed program was:" >&5 | 5952 echo "configure: failed program was:" >&5 |
5948 cat conftest.$ac_ext >&5 | 5953 cat conftest.$ac_ext >&5 |
5967 echo "$ac_t""no" 1>&6 | 5972 echo "$ac_t""no" 1>&6 |
5968 fi | 5973 fi |
5969 | 5974 |
5970 if test "${with_kerberos5+set}" != set; then | 5975 if test "${with_kerberos5+set}" != set; then |
5971 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 | 5976 echo $ac_n "checking for des_cbc_encrypt in -ldes425""... $ac_c" 1>&6 |
5972 echo "configure:5973: checking for des_cbc_encrypt in -ldes425" >&5 | 5977 echo "configure:5978: checking for des_cbc_encrypt in -ldes425" >&5 |
5973 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 5978 ac_lib_var=`echo des425'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
5974 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5979 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5975 echo $ac_n "(cached) $ac_c" 1>&6 | 5980 echo $ac_n "(cached) $ac_c" 1>&6 |
5976 else | 5981 else |
5977 ac_save_LIBS="$LIBS" | 5982 ac_save_LIBS="$LIBS" |
5978 LIBS="-ldes425 $LIBS" | 5983 LIBS="-ldes425 $LIBS" |
5979 cat > conftest.$ac_ext <<EOF | 5984 cat > conftest.$ac_ext <<EOF |
5980 #line 5981 "configure" | 5985 #line 5986 "configure" |
5981 #include "confdefs.h" | 5986 #include "confdefs.h" |
5982 /* Override any gcc2 internal prototype to avoid an error. */ | 5987 /* Override any gcc2 internal prototype to avoid an error. */ |
5983 /* We use char because int might match the return type of a gcc2 | 5988 /* We use char because int might match the return type of a gcc2 |
5984 builtin and then its argument prototype would still apply. */ | 5989 builtin and then its argument prototype would still apply. */ |
5985 char des_cbc_encrypt(); | 5990 char des_cbc_encrypt(); |
5986 | 5991 |
5987 int main() { | 5992 int main() { |
5988 des_cbc_encrypt() | 5993 des_cbc_encrypt() |
5989 ; return 0; } | 5994 ; return 0; } |
5990 EOF | 5995 EOF |
5991 if { (eval echo configure:5992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5996 if { (eval echo configure:5997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5992 rm -rf conftest* | 5997 rm -rf conftest* |
5993 eval "ac_cv_lib_$ac_lib_var=yes" | 5998 eval "ac_cv_lib_$ac_lib_var=yes" |
5994 else | 5999 else |
5995 echo "configure: failed program was:" >&5 | 6000 echo "configure: failed program was:" >&5 |
5996 cat conftest.$ac_ext >&5 | 6001 cat conftest.$ac_ext >&5 |
6012 LIBS="-ldes425 $LIBS" | 6017 LIBS="-ldes425 $LIBS" |
6013 | 6018 |
6014 else | 6019 else |
6015 echo "$ac_t""no" 1>&6 | 6020 echo "$ac_t""no" 1>&6 |
6016 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 | 6021 echo $ac_n "checking for des_cbc_encrypt in -ldes""... $ac_c" 1>&6 |
6017 echo "configure:6018: checking for des_cbc_encrypt in -ldes" >&5 | 6022 echo "configure:6023: checking for des_cbc_encrypt in -ldes" >&5 |
6018 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` | 6023 ac_lib_var=`echo des'_'des_cbc_encrypt | sed 'y%./+-%__p_%'` |
6019 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6024 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6020 echo $ac_n "(cached) $ac_c" 1>&6 | 6025 echo $ac_n "(cached) $ac_c" 1>&6 |
6021 else | 6026 else |
6022 ac_save_LIBS="$LIBS" | 6027 ac_save_LIBS="$LIBS" |
6023 LIBS="-ldes $LIBS" | 6028 LIBS="-ldes $LIBS" |
6024 cat > conftest.$ac_ext <<EOF | 6029 cat > conftest.$ac_ext <<EOF |
6025 #line 6026 "configure" | 6030 #line 6031 "configure" |
6026 #include "confdefs.h" | 6031 #include "confdefs.h" |
6027 /* Override any gcc2 internal prototype to avoid an error. */ | 6032 /* Override any gcc2 internal prototype to avoid an error. */ |
6028 /* We use char because int might match the return type of a gcc2 | 6033 /* We use char because int might match the return type of a gcc2 |
6029 builtin and then its argument prototype would still apply. */ | 6034 builtin and then its argument prototype would still apply. */ |
6030 char des_cbc_encrypt(); | 6035 char des_cbc_encrypt(); |
6031 | 6036 |
6032 int main() { | 6037 int main() { |
6033 des_cbc_encrypt() | 6038 des_cbc_encrypt() |
6034 ; return 0; } | 6039 ; return 0; } |
6035 EOF | 6040 EOF |
6036 if { (eval echo configure:6037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6041 if { (eval echo configure:6042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6037 rm -rf conftest* | 6042 rm -rf conftest* |
6038 eval "ac_cv_lib_$ac_lib_var=yes" | 6043 eval "ac_cv_lib_$ac_lib_var=yes" |
6039 else | 6044 else |
6040 echo "configure: failed program was:" >&5 | 6045 echo "configure: failed program was:" >&5 |
6041 cat conftest.$ac_ext >&5 | 6046 cat conftest.$ac_ext >&5 |
6061 fi | 6066 fi |
6062 | 6067 |
6063 fi | 6068 fi |
6064 | 6069 |
6065 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 | 6070 echo $ac_n "checking for krb_get_cred in -lkrb4""... $ac_c" 1>&6 |
6066 echo "configure:6067: checking for krb_get_cred in -lkrb4" >&5 | 6071 echo "configure:6072: checking for krb_get_cred in -lkrb4" >&5 |
6067 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` | 6072 ac_lib_var=`echo krb4'_'krb_get_cred | sed 'y%./+-%__p_%'` |
6068 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6073 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6069 echo $ac_n "(cached) $ac_c" 1>&6 | 6074 echo $ac_n "(cached) $ac_c" 1>&6 |
6070 else | 6075 else |
6071 ac_save_LIBS="$LIBS" | 6076 ac_save_LIBS="$LIBS" |
6072 LIBS="-lkrb4 $LIBS" | 6077 LIBS="-lkrb4 $LIBS" |
6073 cat > conftest.$ac_ext <<EOF | 6078 cat > conftest.$ac_ext <<EOF |
6074 #line 6075 "configure" | 6079 #line 6080 "configure" |
6075 #include "confdefs.h" | 6080 #include "confdefs.h" |
6076 /* Override any gcc2 internal prototype to avoid an error. */ | 6081 /* Override any gcc2 internal prototype to avoid an error. */ |
6077 /* We use char because int might match the return type of a gcc2 | 6082 /* We use char because int might match the return type of a gcc2 |
6078 builtin and then its argument prototype would still apply. */ | 6083 builtin and then its argument prototype would still apply. */ |
6079 char krb_get_cred(); | 6084 char krb_get_cred(); |
6080 | 6085 |
6081 int main() { | 6086 int main() { |
6082 krb_get_cred() | 6087 krb_get_cred() |
6083 ; return 0; } | 6088 ; return 0; } |
6084 EOF | 6089 EOF |
6085 if { (eval echo configure:6086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6090 if { (eval echo configure:6091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6086 rm -rf conftest* | 6091 rm -rf conftest* |
6087 eval "ac_cv_lib_$ac_lib_var=yes" | 6092 eval "ac_cv_lib_$ac_lib_var=yes" |
6088 else | 6093 else |
6089 echo "configure: failed program was:" >&5 | 6094 echo "configure: failed program was:" >&5 |
6090 cat conftest.$ac_ext >&5 | 6095 cat conftest.$ac_ext >&5 |
6106 LIBS="-lkrb4 $LIBS" | 6111 LIBS="-lkrb4 $LIBS" |
6107 | 6112 |
6108 else | 6113 else |
6109 echo "$ac_t""no" 1>&6 | 6114 echo "$ac_t""no" 1>&6 |
6110 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 | 6115 echo $ac_n "checking for krb_get_cred in -lkrb""... $ac_c" 1>&6 |
6111 echo "configure:6112: checking for krb_get_cred in -lkrb" >&5 | 6116 echo "configure:6117: checking for krb_get_cred in -lkrb" >&5 |
6112 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` | 6117 ac_lib_var=`echo krb'_'krb_get_cred | sed 'y%./+-%__p_%'` |
6113 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6118 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6114 echo $ac_n "(cached) $ac_c" 1>&6 | 6119 echo $ac_n "(cached) $ac_c" 1>&6 |
6115 else | 6120 else |
6116 ac_save_LIBS="$LIBS" | 6121 ac_save_LIBS="$LIBS" |
6117 LIBS="-lkrb $LIBS" | 6122 LIBS="-lkrb $LIBS" |
6118 cat > conftest.$ac_ext <<EOF | 6123 cat > conftest.$ac_ext <<EOF |
6119 #line 6120 "configure" | 6124 #line 6125 "configure" |
6120 #include "confdefs.h" | 6125 #include "confdefs.h" |
6121 /* Override any gcc2 internal prototype to avoid an error. */ | 6126 /* Override any gcc2 internal prototype to avoid an error. */ |
6122 /* We use char because int might match the return type of a gcc2 | 6127 /* We use char because int might match the return type of a gcc2 |
6123 builtin and then its argument prototype would still apply. */ | 6128 builtin and then its argument prototype would still apply. */ |
6124 char krb_get_cred(); | 6129 char krb_get_cred(); |
6125 | 6130 |
6126 int main() { | 6131 int main() { |
6127 krb_get_cred() | 6132 krb_get_cred() |
6128 ; return 0; } | 6133 ; return 0; } |
6129 EOF | 6134 EOF |
6130 if { (eval echo configure:6131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6135 if { (eval echo configure:6136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6131 rm -rf conftest* | 6136 rm -rf conftest* |
6132 eval "ac_cv_lib_$ac_lib_var=yes" | 6137 eval "ac_cv_lib_$ac_lib_var=yes" |
6133 else | 6138 else |
6134 echo "configure: failed program was:" >&5 | 6139 echo "configure: failed program was:" >&5 |
6135 cat conftest.$ac_ext >&5 | 6140 cat conftest.$ac_ext >&5 |
6161 if test "${with_kerberos5+set}" = set; then | 6166 if test "${with_kerberos5+set}" = set; then |
6162 for ac_hdr in krb5.h | 6167 for ac_hdr in krb5.h |
6163 do | 6168 do |
6164 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6169 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6165 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6170 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6166 echo "configure:6167: checking for $ac_hdr" >&5 | 6171 echo "configure:6172: checking for $ac_hdr" >&5 |
6167 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6172 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6168 echo $ac_n "(cached) $ac_c" 1>&6 | 6173 echo $ac_n "(cached) $ac_c" 1>&6 |
6169 else | 6174 else |
6170 cat > conftest.$ac_ext <<EOF | 6175 cat > conftest.$ac_ext <<EOF |
6171 #line 6172 "configure" | 6176 #line 6177 "configure" |
6172 #include "confdefs.h" | 6177 #include "confdefs.h" |
6173 #include <$ac_hdr> | 6178 #include <$ac_hdr> |
6174 EOF | 6179 EOF |
6175 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6180 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6176 { (eval echo configure:6177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6181 { (eval echo configure:6182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6177 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6182 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6178 if test -z "$ac_err"; then | 6183 if test -z "$ac_err"; then |
6179 rm -rf conftest* | 6184 rm -rf conftest* |
6180 eval "ac_cv_header_$ac_safe=yes" | 6185 eval "ac_cv_header_$ac_safe=yes" |
6181 else | 6186 else |
6202 else | 6207 else |
6203 for ac_hdr in des.h | 6208 for ac_hdr in des.h |
6204 do | 6209 do |
6205 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6210 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6206 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6211 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6207 echo "configure:6208: checking for $ac_hdr" >&5 | 6212 echo "configure:6213: checking for $ac_hdr" >&5 |
6208 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6213 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6209 echo $ac_n "(cached) $ac_c" 1>&6 | 6214 echo $ac_n "(cached) $ac_c" 1>&6 |
6210 else | 6215 else |
6211 cat > conftest.$ac_ext <<EOF | 6216 cat > conftest.$ac_ext <<EOF |
6212 #line 6213 "configure" | 6217 #line 6218 "configure" |
6213 #include "confdefs.h" | 6218 #include "confdefs.h" |
6214 #include <$ac_hdr> | 6219 #include <$ac_hdr> |
6215 EOF | 6220 EOF |
6216 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6217 { (eval echo configure:6218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6222 { (eval echo configure:6223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6218 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6219 if test -z "$ac_err"; then | 6224 if test -z "$ac_err"; then |
6220 rm -rf conftest* | 6225 rm -rf conftest* |
6221 eval "ac_cv_header_$ac_safe=yes" | 6226 eval "ac_cv_header_$ac_safe=yes" |
6222 else | 6227 else |
6239 echo "$ac_t""no" 1>&6 | 6244 echo "$ac_t""no" 1>&6 |
6240 for ac_hdr in kerberosIV/des.h | 6245 for ac_hdr in kerberosIV/des.h |
6241 do | 6246 do |
6242 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6247 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6243 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6248 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6244 echo "configure:6245: checking for $ac_hdr" >&5 | 6249 echo "configure:6250: checking for $ac_hdr" >&5 |
6245 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6250 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6246 echo $ac_n "(cached) $ac_c" 1>&6 | 6251 echo $ac_n "(cached) $ac_c" 1>&6 |
6247 else | 6252 else |
6248 cat > conftest.$ac_ext <<EOF | 6253 cat > conftest.$ac_ext <<EOF |
6249 #line 6250 "configure" | 6254 #line 6255 "configure" |
6250 #include "confdefs.h" | 6255 #include "confdefs.h" |
6251 #include <$ac_hdr> | 6256 #include <$ac_hdr> |
6252 EOF | 6257 EOF |
6253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6258 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6254 { (eval echo configure:6255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6259 { (eval echo configure:6260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6260 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6256 if test -z "$ac_err"; then | 6261 if test -z "$ac_err"; then |
6257 rm -rf conftest* | 6262 rm -rf conftest* |
6258 eval "ac_cv_header_$ac_safe=yes" | 6263 eval "ac_cv_header_$ac_safe=yes" |
6259 else | 6264 else |
6276 echo "$ac_t""no" 1>&6 | 6281 echo "$ac_t""no" 1>&6 |
6277 for ac_hdr in kerberos/des.h | 6282 for ac_hdr in kerberos/des.h |
6278 do | 6283 do |
6279 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6284 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6280 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6285 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6281 echo "configure:6282: checking for $ac_hdr" >&5 | 6286 echo "configure:6287: checking for $ac_hdr" >&5 |
6282 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6287 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6283 echo $ac_n "(cached) $ac_c" 1>&6 | 6288 echo $ac_n "(cached) $ac_c" 1>&6 |
6284 else | 6289 else |
6285 cat > conftest.$ac_ext <<EOF | 6290 cat > conftest.$ac_ext <<EOF |
6286 #line 6287 "configure" | 6291 #line 6292 "configure" |
6287 #include "confdefs.h" | 6292 #include "confdefs.h" |
6288 #include <$ac_hdr> | 6293 #include <$ac_hdr> |
6289 EOF | 6294 EOF |
6290 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6295 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6291 { (eval echo configure:6292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6296 { (eval echo configure:6297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6297 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6293 if test -z "$ac_err"; then | 6298 if test -z "$ac_err"; then |
6294 rm -rf conftest* | 6299 rm -rf conftest* |
6295 eval "ac_cv_header_$ac_safe=yes" | 6300 eval "ac_cv_header_$ac_safe=yes" |
6296 else | 6301 else |
6322 | 6327 |
6323 for ac_hdr in krb.h | 6328 for ac_hdr in krb.h |
6324 do | 6329 do |
6325 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6330 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6326 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6331 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6327 echo "configure:6328: checking for $ac_hdr" >&5 | 6332 echo "configure:6333: checking for $ac_hdr" >&5 |
6328 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6333 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6329 echo $ac_n "(cached) $ac_c" 1>&6 | 6334 echo $ac_n "(cached) $ac_c" 1>&6 |
6330 else | 6335 else |
6331 cat > conftest.$ac_ext <<EOF | 6336 cat > conftest.$ac_ext <<EOF |
6332 #line 6333 "configure" | 6337 #line 6338 "configure" |
6333 #include "confdefs.h" | 6338 #include "confdefs.h" |
6334 #include <$ac_hdr> | 6339 #include <$ac_hdr> |
6335 EOF | 6340 EOF |
6336 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6341 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6337 { (eval echo configure:6338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6342 { (eval echo configure:6343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6338 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6343 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6339 if test -z "$ac_err"; then | 6344 if test -z "$ac_err"; then |
6340 rm -rf conftest* | 6345 rm -rf conftest* |
6341 eval "ac_cv_header_$ac_safe=yes" | 6346 eval "ac_cv_header_$ac_safe=yes" |
6342 else | 6347 else |
6359 echo "$ac_t""no" 1>&6 | 6364 echo "$ac_t""no" 1>&6 |
6360 for ac_hdr in kerberosIV/krb.h | 6365 for ac_hdr in kerberosIV/krb.h |
6361 do | 6366 do |
6362 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6367 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6363 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6368 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6364 echo "configure:6365: checking for $ac_hdr" >&5 | 6369 echo "configure:6370: checking for $ac_hdr" >&5 |
6365 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6370 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6366 echo $ac_n "(cached) $ac_c" 1>&6 | 6371 echo $ac_n "(cached) $ac_c" 1>&6 |
6367 else | 6372 else |
6368 cat > conftest.$ac_ext <<EOF | 6373 cat > conftest.$ac_ext <<EOF |
6369 #line 6370 "configure" | 6374 #line 6375 "configure" |
6370 #include "confdefs.h" | 6375 #include "confdefs.h" |
6371 #include <$ac_hdr> | 6376 #include <$ac_hdr> |
6372 EOF | 6377 EOF |
6373 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6378 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6374 { (eval echo configure:6375: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6379 { (eval echo configure:6380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6375 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6380 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6376 if test -z "$ac_err"; then | 6381 if test -z "$ac_err"; then |
6377 rm -rf conftest* | 6382 rm -rf conftest* |
6378 eval "ac_cv_header_$ac_safe=yes" | 6383 eval "ac_cv_header_$ac_safe=yes" |
6379 else | 6384 else |
6396 echo "$ac_t""no" 1>&6 | 6401 echo "$ac_t""no" 1>&6 |
6397 for ac_hdr in kerberos/krb.h | 6402 for ac_hdr in kerberos/krb.h |
6398 do | 6403 do |
6399 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6404 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6400 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6405 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6401 echo "configure:6402: checking for $ac_hdr" >&5 | 6406 echo "configure:6407: checking for $ac_hdr" >&5 |
6402 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6407 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6403 echo $ac_n "(cached) $ac_c" 1>&6 | 6408 echo $ac_n "(cached) $ac_c" 1>&6 |
6404 else | 6409 else |
6405 cat > conftest.$ac_ext <<EOF | 6410 cat > conftest.$ac_ext <<EOF |
6406 #line 6407 "configure" | 6411 #line 6412 "configure" |
6407 #include "confdefs.h" | 6412 #include "confdefs.h" |
6408 #include <$ac_hdr> | 6413 #include <$ac_hdr> |
6409 EOF | 6414 EOF |
6410 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6415 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6411 { (eval echo configure:6412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6416 { (eval echo configure:6417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6412 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6417 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6413 if test -z "$ac_err"; then | 6418 if test -z "$ac_err"; then |
6414 rm -rf conftest* | 6419 rm -rf conftest* |
6415 eval "ac_cv_header_$ac_safe=yes" | 6420 eval "ac_cv_header_$ac_safe=yes" |
6416 else | 6421 else |
6443 fi | 6448 fi |
6444 for ac_hdr in com_err.h | 6449 for ac_hdr in com_err.h |
6445 do | 6450 do |
6446 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6451 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6447 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6452 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6448 echo "configure:6449: checking for $ac_hdr" >&5 | 6453 echo "configure:6454: checking for $ac_hdr" >&5 |
6449 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6454 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6450 echo $ac_n "(cached) $ac_c" 1>&6 | 6455 echo $ac_n "(cached) $ac_c" 1>&6 |
6451 else | 6456 else |
6452 cat > conftest.$ac_ext <<EOF | 6457 cat > conftest.$ac_ext <<EOF |
6453 #line 6454 "configure" | 6458 #line 6459 "configure" |
6454 #include "confdefs.h" | 6459 #include "confdefs.h" |
6455 #include <$ac_hdr> | 6460 #include <$ac_hdr> |
6456 EOF | 6461 EOF |
6457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6462 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6458 { (eval echo configure:6459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6463 { (eval echo configure:6464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6464 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6460 if test -z "$ac_err"; then | 6465 if test -z "$ac_err"; then |
6461 rm -rf conftest* | 6466 rm -rf conftest* |
6462 eval "ac_cv_header_$ac_safe=yes" | 6467 eval "ac_cv_header_$ac_safe=yes" |
6463 else | 6468 else |
6484 fi | 6489 fi |
6485 | 6490 |
6486 # Solaris requires -lintl if you want strerror (which calls dgettext) | 6491 # Solaris requires -lintl if you want strerror (which calls dgettext) |
6487 # to return localized messages. | 6492 # to return localized messages. |
6488 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 | 6493 echo $ac_n "checking for dgettext in -lintl""... $ac_c" 1>&6 |
6489 echo "configure:6490: checking for dgettext in -lintl" >&5 | 6494 echo "configure:6495: checking for dgettext in -lintl" >&5 |
6490 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` | 6495 ac_lib_var=`echo intl'_'dgettext | sed 'y%./+-%__p_%'` |
6491 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6496 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6492 echo $ac_n "(cached) $ac_c" 1>&6 | 6497 echo $ac_n "(cached) $ac_c" 1>&6 |
6493 else | 6498 else |
6494 ac_save_LIBS="$LIBS" | 6499 ac_save_LIBS="$LIBS" |
6495 LIBS="-lintl $LIBS" | 6500 LIBS="-lintl $LIBS" |
6496 cat > conftest.$ac_ext <<EOF | 6501 cat > conftest.$ac_ext <<EOF |
6497 #line 6498 "configure" | 6502 #line 6503 "configure" |
6498 #include "confdefs.h" | 6503 #include "confdefs.h" |
6499 /* Override any gcc2 internal prototype to avoid an error. */ | 6504 /* Override any gcc2 internal prototype to avoid an error. */ |
6500 /* We use char because int might match the return type of a gcc2 | 6505 /* We use char because int might match the return type of a gcc2 |
6501 builtin and then its argument prototype would still apply. */ | 6506 builtin and then its argument prototype would still apply. */ |
6502 char dgettext(); | 6507 char dgettext(); |
6503 | 6508 |
6504 int main() { | 6509 int main() { |
6505 dgettext() | 6510 dgettext() |
6506 ; return 0; } | 6511 ; return 0; } |
6507 EOF | 6512 EOF |
6508 if { (eval echo configure:6509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6513 if { (eval echo configure:6514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6509 rm -rf conftest* | 6514 rm -rf conftest* |
6510 eval "ac_cv_lib_$ac_lib_var=yes" | 6515 eval "ac_cv_lib_$ac_lib_var=yes" |
6511 else | 6516 else |
6512 echo "configure: failed program was:" >&5 | 6517 echo "configure: failed program was:" >&5 |
6513 cat conftest.$ac_ext >&5 | 6518 cat conftest.$ac_ext >&5 |
6532 echo "$ac_t""no" 1>&6 | 6537 echo "$ac_t""no" 1>&6 |
6533 fi | 6538 fi |
6534 | 6539 |
6535 | 6540 |
6536 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 | 6541 echo $ac_n "checking whether localtime caches TZ""... $ac_c" 1>&6 |
6537 echo "configure:6538: checking whether localtime caches TZ" >&5 | 6542 echo "configure:6543: checking whether localtime caches TZ" >&5 |
6538 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then | 6543 if eval "test \"`echo '$''{'emacs_cv_localtime_cache'+set}'`\" = set"; then |
6539 echo $ac_n "(cached) $ac_c" 1>&6 | 6544 echo $ac_n "(cached) $ac_c" 1>&6 |
6540 else | 6545 else |
6541 if test x$ac_cv_func_tzset = xyes; then | 6546 if test x$ac_cv_func_tzset = xyes; then |
6542 if test "$cross_compiling" = yes; then | 6547 if test "$cross_compiling" = yes; then |
6543 # If we have tzset, assume the worst when cross-compiling. | 6548 # If we have tzset, assume the worst when cross-compiling. |
6544 emacs_cv_localtime_cache=yes | 6549 emacs_cv_localtime_cache=yes |
6545 else | 6550 else |
6546 cat > conftest.$ac_ext <<EOF | 6551 cat > conftest.$ac_ext <<EOF |
6547 #line 6548 "configure" | 6552 #line 6553 "configure" |
6548 #include "confdefs.h" | 6553 #include "confdefs.h" |
6549 #include <time.h> | 6554 #include <time.h> |
6550 extern char **environ; | 6555 extern char **environ; |
6551 unset_TZ () | 6556 unset_TZ () |
6552 { | 6557 { |
6574 if (localtime (&now)->tm_hour != hour_unset) | 6579 if (localtime (&now)->tm_hour != hour_unset) |
6575 exit (1); | 6580 exit (1); |
6576 exit (0); | 6581 exit (0); |
6577 } | 6582 } |
6578 EOF | 6583 EOF |
6579 if { (eval echo configure:6580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6584 if { (eval echo configure:6585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6580 then | 6585 then |
6581 emacs_cv_localtime_cache=no | 6586 emacs_cv_localtime_cache=no |
6582 else | 6587 else |
6583 echo "configure: failed program was:" >&5 | 6588 echo "configure: failed program was:" >&5 |
6584 cat conftest.$ac_ext >&5 | 6589 cat conftest.$ac_ext >&5 |
6602 | 6607 |
6603 fi | 6608 fi |
6604 | 6609 |
6605 if test "x$HAVE_TIMEVAL" = xyes; then | 6610 if test "x$HAVE_TIMEVAL" = xyes; then |
6606 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 | 6611 echo $ac_n "checking whether gettimeofday can accept two arguments""... $ac_c" 1>&6 |
6607 echo "configure:6608: checking whether gettimeofday can accept two arguments" >&5 | 6612 echo "configure:6613: checking whether gettimeofday can accept two arguments" >&5 |
6608 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then | 6613 if eval "test \"`echo '$''{'emacs_cv_gettimeofday_two_arguments'+set}'`\" = set"; then |
6609 echo $ac_n "(cached) $ac_c" 1>&6 | 6614 echo $ac_n "(cached) $ac_c" 1>&6 |
6610 else | 6615 else |
6611 cat > conftest.$ac_ext <<EOF | 6616 cat > conftest.$ac_ext <<EOF |
6612 #line 6613 "configure" | 6617 #line 6618 "configure" |
6613 #include "confdefs.h" | 6618 #include "confdefs.h" |
6614 | 6619 |
6615 #ifdef TIME_WITH_SYS_TIME | 6620 #ifdef TIME_WITH_SYS_TIME |
6616 #include <sys/time.h> | 6621 #include <sys/time.h> |
6617 #include <time.h> | 6622 #include <time.h> |
6629 struct timezone dummy; | 6634 struct timezone dummy; |
6630 gettimeofday (&time, &dummy); | 6635 gettimeofday (&time, &dummy); |
6631 | 6636 |
6632 ; return 0; } | 6637 ; return 0; } |
6633 EOF | 6638 EOF |
6634 if { (eval echo configure:6635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6639 if { (eval echo configure:6640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6635 rm -rf conftest* | 6640 rm -rf conftest* |
6636 emacs_cv_gettimeofday_two_arguments=yes | 6641 emacs_cv_gettimeofday_two_arguments=yes |
6637 else | 6642 else |
6638 echo "configure: failed program was:" >&5 | 6643 echo "configure: failed program was:" >&5 |
6639 cat conftest.$ac_ext >&5 | 6644 cat conftest.$ac_ext >&5 |
6652 fi | 6657 fi |
6653 fi | 6658 fi |
6654 | 6659 |
6655 ok_so_far=yes | 6660 ok_so_far=yes |
6656 echo $ac_n "checking for socket""... $ac_c" 1>&6 | 6661 echo $ac_n "checking for socket""... $ac_c" 1>&6 |
6657 echo "configure:6658: checking for socket" >&5 | 6662 echo "configure:6663: checking for socket" >&5 |
6658 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then | 6663 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then |
6659 echo $ac_n "(cached) $ac_c" 1>&6 | 6664 echo $ac_n "(cached) $ac_c" 1>&6 |
6660 else | 6665 else |
6661 cat > conftest.$ac_ext <<EOF | 6666 cat > conftest.$ac_ext <<EOF |
6662 #line 6663 "configure" | 6667 #line 6668 "configure" |
6663 #include "confdefs.h" | 6668 #include "confdefs.h" |
6664 /* System header to define __stub macros and hopefully few prototypes, | 6669 /* System header to define __stub macros and hopefully few prototypes, |
6665 which can conflict with char socket(); below. */ | 6670 which can conflict with char socket(); below. */ |
6666 #include <assert.h> | 6671 #include <assert.h> |
6667 /* Override any gcc2 internal prototype to avoid an error. */ | 6672 /* Override any gcc2 internal prototype to avoid an error. */ |
6680 socket(); | 6685 socket(); |
6681 #endif | 6686 #endif |
6682 | 6687 |
6683 ; return 0; } | 6688 ; return 0; } |
6684 EOF | 6689 EOF |
6685 if { (eval echo configure:6686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6690 if { (eval echo configure:6691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6686 rm -rf conftest* | 6691 rm -rf conftest* |
6687 eval "ac_cv_func_socket=yes" | 6692 eval "ac_cv_func_socket=yes" |
6688 else | 6693 else |
6689 echo "configure: failed program was:" >&5 | 6694 echo "configure: failed program was:" >&5 |
6690 cat conftest.$ac_ext >&5 | 6695 cat conftest.$ac_ext >&5 |
6703 fi | 6708 fi |
6704 | 6709 |
6705 if test $ok_so_far = yes; then | 6710 if test $ok_so_far = yes; then |
6706 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` | 6711 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` |
6707 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 | 6712 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 |
6708 echo "configure:6709: checking for netinet/in.h" >&5 | 6713 echo "configure:6714: checking for netinet/in.h" >&5 |
6709 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6714 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6710 echo $ac_n "(cached) $ac_c" 1>&6 | 6715 echo $ac_n "(cached) $ac_c" 1>&6 |
6711 else | 6716 else |
6712 cat > conftest.$ac_ext <<EOF | 6717 cat > conftest.$ac_ext <<EOF |
6713 #line 6714 "configure" | 6718 #line 6719 "configure" |
6714 #include "confdefs.h" | 6719 #include "confdefs.h" |
6715 #include <netinet/in.h> | 6720 #include <netinet/in.h> |
6716 EOF | 6721 EOF |
6717 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6722 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6718 { (eval echo configure:6719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6723 { (eval echo configure:6724: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6719 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6724 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6720 if test -z "$ac_err"; then | 6725 if test -z "$ac_err"; then |
6721 rm -rf conftest* | 6726 rm -rf conftest* |
6722 eval "ac_cv_header_$ac_safe=yes" | 6727 eval "ac_cv_header_$ac_safe=yes" |
6723 else | 6728 else |
6739 | 6744 |
6740 fi | 6745 fi |
6741 if test $ok_so_far = yes; then | 6746 if test $ok_so_far = yes; then |
6742 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` | 6747 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` |
6743 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 | 6748 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 |
6744 echo "configure:6745: checking for arpa/inet.h" >&5 | 6749 echo "configure:6750: checking for arpa/inet.h" >&5 |
6745 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6750 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6746 echo $ac_n "(cached) $ac_c" 1>&6 | 6751 echo $ac_n "(cached) $ac_c" 1>&6 |
6747 else | 6752 else |
6748 cat > conftest.$ac_ext <<EOF | 6753 cat > conftest.$ac_ext <<EOF |
6749 #line 6750 "configure" | 6754 #line 6755 "configure" |
6750 #include "confdefs.h" | 6755 #include "confdefs.h" |
6751 #include <arpa/inet.h> | 6756 #include <arpa/inet.h> |
6752 EOF | 6757 EOF |
6753 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6754 { (eval echo configure:6755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6759 { (eval echo configure:6760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6755 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6756 if test -z "$ac_err"; then | 6761 if test -z "$ac_err"; then |
6757 rm -rf conftest* | 6762 rm -rf conftest* |
6758 eval "ac_cv_header_$ac_safe=yes" | 6763 eval "ac_cv_header_$ac_safe=yes" |
6759 else | 6764 else |
6787 EOF | 6792 EOF |
6788 | 6793 |
6789 fi | 6794 fi |
6790 | 6795 |
6791 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 | 6796 echo $ac_n "checking whether system supports dynamic ptys""... $ac_c" 1>&6 |
6792 echo "configure:6793: checking whether system supports dynamic ptys" >&5 | 6797 echo "configure:6798: checking whether system supports dynamic ptys" >&5 |
6793 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then | 6798 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then |
6794 echo "$ac_t""yes" 1>&6 | 6799 echo "$ac_t""yes" 1>&6 |
6795 cat >> confdefs.h <<\EOF | 6800 cat >> confdefs.h <<\EOF |
6796 #define HAVE_DEV_PTMX 1 | 6801 #define HAVE_DEV_PTMX 1 |
6797 EOF | 6802 EOF |
6799 else | 6804 else |
6800 echo "$ac_t""no" 1>&6 | 6805 echo "$ac_t""no" 1>&6 |
6801 fi | 6806 fi |
6802 | 6807 |
6803 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 6808 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
6804 echo "configure:6805: checking for pid_t" >&5 | 6809 echo "configure:6810: checking for pid_t" >&5 |
6805 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 6810 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
6806 echo $ac_n "(cached) $ac_c" 1>&6 | 6811 echo $ac_n "(cached) $ac_c" 1>&6 |
6807 else | 6812 else |
6808 cat > conftest.$ac_ext <<EOF | 6813 cat > conftest.$ac_ext <<EOF |
6809 #line 6810 "configure" | 6814 #line 6815 "configure" |
6810 #include "confdefs.h" | 6815 #include "confdefs.h" |
6811 #include <sys/types.h> | 6816 #include <sys/types.h> |
6812 #if STDC_HEADERS | 6817 #if STDC_HEADERS |
6813 #include <stdlib.h> | 6818 #include <stdlib.h> |
6814 #include <stddef.h> | 6819 #include <stddef.h> |
6833 | 6838 |
6834 fi | 6839 fi |
6835 | 6840 |
6836 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` | 6841 ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'` |
6837 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 | 6842 echo $ac_n "checking for vfork.h""... $ac_c" 1>&6 |
6838 echo "configure:6839: checking for vfork.h" >&5 | 6843 echo "configure:6844: checking for vfork.h" >&5 |
6839 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6844 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6840 echo $ac_n "(cached) $ac_c" 1>&6 | 6845 echo $ac_n "(cached) $ac_c" 1>&6 |
6841 else | 6846 else |
6842 cat > conftest.$ac_ext <<EOF | 6847 cat > conftest.$ac_ext <<EOF |
6843 #line 6844 "configure" | 6848 #line 6849 "configure" |
6844 #include "confdefs.h" | 6849 #include "confdefs.h" |
6845 #include <vfork.h> | 6850 #include <vfork.h> |
6846 EOF | 6851 EOF |
6847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6852 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6848 { (eval echo configure:6849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6853 { (eval echo configure:6854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6849 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6854 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6850 if test -z "$ac_err"; then | 6855 if test -z "$ac_err"; then |
6851 rm -rf conftest* | 6856 rm -rf conftest* |
6852 eval "ac_cv_header_$ac_safe=yes" | 6857 eval "ac_cv_header_$ac_safe=yes" |
6853 else | 6858 else |
6868 else | 6873 else |
6869 echo "$ac_t""no" 1>&6 | 6874 echo "$ac_t""no" 1>&6 |
6870 fi | 6875 fi |
6871 | 6876 |
6872 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 | 6877 echo $ac_n "checking for working vfork""... $ac_c" 1>&6 |
6873 echo "configure:6874: checking for working vfork" >&5 | 6878 echo "configure:6879: checking for working vfork" >&5 |
6874 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then | 6879 if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then |
6875 echo $ac_n "(cached) $ac_c" 1>&6 | 6880 echo $ac_n "(cached) $ac_c" 1>&6 |
6876 else | 6881 else |
6877 if test "$cross_compiling" = yes; then | 6882 if test "$cross_compiling" = yes; then |
6878 echo $ac_n "checking for vfork""... $ac_c" 1>&6 | 6883 echo $ac_n "checking for vfork""... $ac_c" 1>&6 |
6879 echo "configure:6880: checking for vfork" >&5 | 6884 echo "configure:6885: checking for vfork" >&5 |
6880 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then | 6885 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then |
6881 echo $ac_n "(cached) $ac_c" 1>&6 | 6886 echo $ac_n "(cached) $ac_c" 1>&6 |
6882 else | 6887 else |
6883 cat > conftest.$ac_ext <<EOF | 6888 cat > conftest.$ac_ext <<EOF |
6884 #line 6885 "configure" | 6889 #line 6890 "configure" |
6885 #include "confdefs.h" | 6890 #include "confdefs.h" |
6886 /* System header to define __stub macros and hopefully few prototypes, | 6891 /* System header to define __stub macros and hopefully few prototypes, |
6887 which can conflict with char vfork(); below. */ | 6892 which can conflict with char vfork(); below. */ |
6888 #include <assert.h> | 6893 #include <assert.h> |
6889 /* Override any gcc2 internal prototype to avoid an error. */ | 6894 /* Override any gcc2 internal prototype to avoid an error. */ |
6902 vfork(); | 6907 vfork(); |
6903 #endif | 6908 #endif |
6904 | 6909 |
6905 ; return 0; } | 6910 ; return 0; } |
6906 EOF | 6911 EOF |
6907 if { (eval echo configure:6908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6912 if { (eval echo configure:6913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6908 rm -rf conftest* | 6913 rm -rf conftest* |
6909 eval "ac_cv_func_vfork=yes" | 6914 eval "ac_cv_func_vfork=yes" |
6910 else | 6915 else |
6911 echo "configure: failed program was:" >&5 | 6916 echo "configure: failed program was:" >&5 |
6912 cat conftest.$ac_ext >&5 | 6917 cat conftest.$ac_ext >&5 |
6924 fi | 6929 fi |
6925 | 6930 |
6926 ac_cv_func_vfork_works=$ac_cv_func_vfork | 6931 ac_cv_func_vfork_works=$ac_cv_func_vfork |
6927 else | 6932 else |
6928 cat > conftest.$ac_ext <<EOF | 6933 cat > conftest.$ac_ext <<EOF |
6929 #line 6930 "configure" | 6934 #line 6935 "configure" |
6930 #include "confdefs.h" | 6935 #include "confdefs.h" |
6931 /* Thanks to Paul Eggert for this test. */ | 6936 /* Thanks to Paul Eggert for this test. */ |
6932 #include <stdio.h> | 6937 #include <stdio.h> |
6933 #include <sys/types.h> | 6938 #include <sys/types.h> |
6934 #include <sys/stat.h> | 6939 #include <sys/stat.h> |
7019 || fstat(fileno(stdout), &st) != 0 | 7024 || fstat(fileno(stdout), &st) != 0 |
7020 ); | 7025 ); |
7021 } | 7026 } |
7022 } | 7027 } |
7023 EOF | 7028 EOF |
7024 if { (eval echo configure:7025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7029 if { (eval echo configure:7030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7025 then | 7030 then |
7026 ac_cv_func_vfork_works=yes | 7031 ac_cv_func_vfork_works=yes |
7027 else | 7032 else |
7028 echo "configure: failed program was:" >&5 | 7033 echo "configure: failed program was:" >&5 |
7029 cat conftest.$ac_ext >&5 | 7034 cat conftest.$ac_ext >&5 |